#[non_exhaustive]pub struct ProvisionedProductDetail {Show 14 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 product_id: Option<String>,
pub provisioning_artifact_id: Option<String>,
pub launch_role_arn: 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
product_id: Option<String>
The product identifier. For example, prod-abcdzk7xy33qa
.
provisioning_artifact_id: Option<String>
The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne
.
launch_role_arn: Option<String>
The ARN of the launch role associated with the provisioned product.
Implementations§
source§impl ProvisionedProductDetail
impl ProvisionedProductDetail
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
sourcepub fn product_id(&self) -> Option<&str>
pub fn product_id(&self) -> Option<&str>
The product identifier. For example, prod-abcdzk7xy33qa
.
sourcepub fn provisioning_artifact_id(&self) -> Option<&str>
pub fn provisioning_artifact_id(&self) -> Option<&str>
The identifier of the provisioning artifact. For example, pa-4abcdjnxjj6ne
.
sourcepub fn launch_role_arn(&self) -> Option<&str>
pub fn launch_role_arn(&self) -> Option<&str>
The ARN of the launch role associated with the provisioned product.
source§impl ProvisionedProductDetail
impl ProvisionedProductDetail
sourcepub fn builder() -> ProvisionedProductDetailBuilder
pub fn builder() -> ProvisionedProductDetailBuilder
Creates a new builder-style object to manufacture ProvisionedProductDetail
.
Trait Implementations§
source§impl Clone for ProvisionedProductDetail
impl Clone for ProvisionedProductDetail
source§fn clone(&self) -> ProvisionedProductDetail
fn clone(&self) -> ProvisionedProductDetail
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ProvisionedProductDetail
impl Debug for ProvisionedProductDetail
source§impl PartialEq for ProvisionedProductDetail
impl PartialEq for ProvisionedProductDetail
source§fn eq(&self, other: &ProvisionedProductDetail) -> bool
fn eq(&self, other: &ProvisionedProductDetail) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ProvisionedProductDetail
Auto Trait Implementations§
impl Freeze for ProvisionedProductDetail
impl RefUnwindSafe for ProvisionedProductDetail
impl Send for ProvisionedProductDetail
impl Sync for ProvisionedProductDetail
impl Unpin for ProvisionedProductDetail
impl UnwindSafe for ProvisionedProductDetail
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