#[non_exhaustive]pub struct ProvisionedProductAttribute {Show 19 fields
pub name: Option<String>,
pub arn: Option<String>,
pub type: Option<String>,
pub id: Option<String>,
pub status: Option<ProvisionedProductStatus>,
pub status_message: Option<String>,
pub created_time: Option<DateTime>,
pub idempotency_token: Option<String>,
pub last_record_id: Option<String>,
pub last_provisioning_record_id: Option<String>,
pub last_successful_provisioning_record_id: Option<String>,
pub tags: Option<Vec<Tag>>,
pub physical_id: Option<String>,
pub product_id: Option<String>,
pub product_name: Option<String>,
pub provisioning_artifact_id: Option<String>,
pub provisioning_artifact_name: Option<String>,
pub user_arn: Option<String>,
pub user_arn_session: Option<String>,
}
Expand description
Information about a provisioned product.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.name: Option<String>
The user-friendly name of the provisioned product.
arn: Option<String>
The ARN of the provisioned product.
type: Option<String>
The type of provisioned product. The supported values are CFN_STACK
, CFN_STACKSET
, TERRAFORM_OPEN_SOURCE
, TERRAFORM_CLOUD
, and EXTERNAL
.
id: Option<String>
The identifier of the provisioned product.
status: Option<ProvisionedProductStatus>
The current status of the provisioned product.
-
AVAILABLE
- Stable state, ready to perform any operation. The most recent operation succeeded and completed. -
UNDER_CHANGE
- Transitive state. Operations performed might not have valid results. Wait for anAVAILABLE
status before performing operations. -
TAINTED
- Stable state, ready to perform any operation. The stack has completed the requested operation but is not exactly what was requested. For example, a request to update to a new version failed and the stack rolled back to the current version. -
ERROR
- An unexpected error occurred. The provisioned product exists but the stack is not running. For example, CloudFormation received a parameter value that was not valid and could not launch the stack. -
PLAN_IN_PROGRESS
- Transitive state. The plan operations were performed to provision a new product, but resources have not yet been created. After reviewing the list of resources to be created, execute the plan. Wait for anAVAILABLE
status before performing operations.
status_message: Option<String>
The current status message of the provisioned product.
created_time: Option<DateTime>
The UTC time stamp of the creation time.
idempotency_token: Option<String>
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
last_record_id: Option<String>
The record identifier of the last request performed on this provisioned product.
last_provisioning_record_id: Option<String>
The record identifier of the last request performed on this provisioned product of the following types:
-
ProvisionProduct
-
UpdateProvisionedProduct
-
ExecuteProvisionedProductPlan
-
TerminateProvisionedProduct
last_successful_provisioning_record_id: Option<String>
The record identifier of the last successful request performed on this provisioned product of the following types:
-
ProvisionProduct
-
UpdateProvisionedProduct
-
ExecuteProvisionedProductPlan
-
TerminateProvisionedProduct
One or more tags.
physical_id: Option<String>
The assigned identifier for the resource, such as an EC2 instance ID or an S3 bucket name.
product_id: Option<String>
The product identifier.
product_name: Option<String>
The name of the product.
provisioning_artifact_id: Option<String>
The identifier of the provisioning artifact.
provisioning_artifact_name: Option<String>
The name of the provisioning artifact.
user_arn: Option<String>
The Amazon Resource Name (ARN) of the user.
user_arn_session: Option<String>
The ARN of the user in the session. This ARN might contain a session ID.
Implementations§
source§impl ProvisionedProductAttribute
impl ProvisionedProductAttribute
sourcepub fn type(&self) -> Option<&str>
pub fn type(&self) -> Option<&str>
The type of provisioned product. The supported values are CFN_STACK
, CFN_STACKSET
, TERRAFORM_OPEN_SOURCE
, TERRAFORM_CLOUD
, and EXTERNAL
.
sourcepub fn status(&self) -> Option<&ProvisionedProductStatus>
pub fn status(&self) -> Option<&ProvisionedProductStatus>
The current status of the provisioned product.
-
AVAILABLE
- Stable state, ready to perform any operation. The most recent operation succeeded and completed. -
UNDER_CHANGE
- Transitive state. Operations performed might not have valid results. Wait for anAVAILABLE
status before performing operations. -
TAINTED
- Stable state, ready to perform any operation. The stack has completed the requested operation but is not exactly what was requested. For example, a request to update to a new version failed and the stack rolled back to the current version. -
ERROR
- An unexpected error occurred. The provisioned product exists but the stack is not running. For example, CloudFormation received a parameter value that was not valid and could not launch the stack. -
PLAN_IN_PROGRESS
- Transitive state. The plan operations were performed to provision a new product, but resources have not yet been created. After reviewing the list of resources to be created, execute the plan. Wait for anAVAILABLE
status before performing operations.
sourcepub fn status_message(&self) -> Option<&str>
pub fn status_message(&self) -> Option<&str>
The current status message of the provisioned product.
sourcepub fn created_time(&self) -> Option<&DateTime>
pub fn created_time(&self) -> Option<&DateTime>
The UTC time stamp of the creation time.
sourcepub fn idempotency_token(&self) -> Option<&str>
pub fn idempotency_token(&self) -> Option<&str>
A unique identifier that you provide to ensure idempotency. If multiple requests differ only by the idempotency token, the same response is returned for each repeated request.
sourcepub fn last_record_id(&self) -> Option<&str>
pub fn last_record_id(&self) -> Option<&str>
The record identifier of the last request performed on this provisioned product.
sourcepub fn last_provisioning_record_id(&self) -> Option<&str>
pub fn last_provisioning_record_id(&self) -> Option<&str>
The record identifier of the last request performed on this provisioned product of the following types:
-
ProvisionProduct
-
UpdateProvisionedProduct
-
ExecuteProvisionedProductPlan
-
TerminateProvisionedProduct
sourcepub fn last_successful_provisioning_record_id(&self) -> Option<&str>
pub fn last_successful_provisioning_record_id(&self) -> Option<&str>
The record identifier of the last successful request performed on this provisioned product of the following types:
-
ProvisionProduct
-
UpdateProvisionedProduct
-
ExecuteProvisionedProductPlan
-
TerminateProvisionedProduct
One or more tags.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none()
.
sourcepub fn physical_id(&self) -> Option<&str>
pub fn physical_id(&self) -> Option<&str>
The assigned identifier for the resource, such as an EC2 instance ID or an S3 bucket name.
sourcepub fn product_id(&self) -> Option<&str>
pub fn product_id(&self) -> Option<&str>
The product identifier.
sourcepub fn product_name(&self) -> Option<&str>
pub fn product_name(&self) -> Option<&str>
The name of the product.
sourcepub fn provisioning_artifact_id(&self) -> Option<&str>
pub fn provisioning_artifact_id(&self) -> Option<&str>
The identifier of the provisioning artifact.
sourcepub fn provisioning_artifact_name(&self) -> Option<&str>
pub fn provisioning_artifact_name(&self) -> Option<&str>
The name of the provisioning artifact.
sourcepub fn user_arn_session(&self) -> Option<&str>
pub fn user_arn_session(&self) -> Option<&str>
The ARN of the user in the session. This ARN might contain a session ID.
source§impl ProvisionedProductAttribute
impl ProvisionedProductAttribute
sourcepub fn builder() -> ProvisionedProductAttributeBuilder
pub fn builder() -> ProvisionedProductAttributeBuilder
Creates a new builder-style object to manufacture ProvisionedProductAttribute
.
Trait Implementations§
source§impl Clone for ProvisionedProductAttribute
impl Clone for ProvisionedProductAttribute
source§fn clone(&self) -> ProvisionedProductAttribute
fn clone(&self) -> ProvisionedProductAttribute
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProvisionedProductAttribute
impl Debug for ProvisionedProductAttribute
source§impl PartialEq for ProvisionedProductAttribute
impl PartialEq for ProvisionedProductAttribute
source§fn eq(&self, other: &ProvisionedProductAttribute) -> bool
fn eq(&self, other: &ProvisionedProductAttribute) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProvisionedProductAttribute
Auto Trait Implementations§
impl Freeze for ProvisionedProductAttribute
impl RefUnwindSafe for ProvisionedProductAttribute
impl Send for ProvisionedProductAttribute
impl Sync for ProvisionedProductAttribute
impl Unpin for ProvisionedProductAttribute
impl UnwindSafe for ProvisionedProductAttribute
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more