pub struct Builder { /* private fields */ }Expand description
A builder for StackInstanceComprehensiveStatus.
Implementations§
source§impl Builder
impl Builder
sourcepub fn detailed_status(self, input: StackInstanceDetailedStatus) -> Self
pub fn detailed_status(self, input: StackInstanceDetailedStatus) -> Self
-
CANCELLED: The operation in the specified account and Region has been canceled. This is either because a user has stopped the stack set operation, or because the failure tolerance of the stack set operation has been exceeded. -
FAILED: The operation in the specified account and Region failed. If the stack set operation fails in enough accounts within a Region, the failure tolerance for the stack set operation as a whole might be exceeded. -
INOPERABLE: ADeleteStackInstancesoperation has failed and left the stack in an unstable state. Stacks in this state are excluded from furtherUpdateStackSetoperations. You might need to perform aDeleteStackInstancesoperation, withRetainStacksset totrue, to delete the stack instance, and then delete the stack manually. -
PENDING: The operation in the specified account and Region has yet to start. -
RUNNING: The operation in the specified account and Region is currently in progress. -
SUCCEEDED: The operation in the specified account and Region completed successfully.
sourcepub fn set_detailed_status(
self,
input: Option<StackInstanceDetailedStatus>
) -> Self
pub fn set_detailed_status(
self,
input: Option<StackInstanceDetailedStatus>
) -> Self
-
CANCELLED: The operation in the specified account and Region has been canceled. This is either because a user has stopped the stack set operation, or because the failure tolerance of the stack set operation has been exceeded. -
FAILED: The operation in the specified account and Region failed. If the stack set operation fails in enough accounts within a Region, the failure tolerance for the stack set operation as a whole might be exceeded. -
INOPERABLE: ADeleteStackInstancesoperation has failed and left the stack in an unstable state. Stacks in this state are excluded from furtherUpdateStackSetoperations. You might need to perform aDeleteStackInstancesoperation, withRetainStacksset totrue, to delete the stack instance, and then delete the stack manually. -
PENDING: The operation in the specified account and Region has yet to start. -
RUNNING: The operation in the specified account and Region is currently in progress. -
SUCCEEDED: The operation in the specified account and Region completed successfully.
Examples found in repository?
7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082
pub fn deser_structure_crate_model_stack_instance_comprehensive_status(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::StackInstanceComprehensiveStatus, aws_smithy_xml::decode::XmlDecodeError>
{
#[allow(unused_mut)]
let mut builder = crate::model::StackInstanceComprehensiveStatus::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("DetailedStatus") /* DetailedStatus com.amazonaws.cloudformation#StackInstanceComprehensiveStatus$DetailedStatus */ => {
let var_285 =
Some(
Result::<crate::model::StackInstanceDetailedStatus, aws_smithy_xml::decode::XmlDecodeError>::Ok(
crate::model::StackInstanceDetailedStatus::from(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
)
?
)
;
builder = builder.set_detailed_status(var_285);
}
,
_ => {}
}
}
Ok(builder.build())
}sourcepub fn build(self) -> StackInstanceComprehensiveStatus
pub fn build(self) -> StackInstanceComprehensiveStatus
Consumes the builder and constructs a StackInstanceComprehensiveStatus.
Examples found in repository?
7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082
pub fn deser_structure_crate_model_stack_instance_comprehensive_status(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::StackInstanceComprehensiveStatus, aws_smithy_xml::decode::XmlDecodeError>
{
#[allow(unused_mut)]
let mut builder = crate::model::StackInstanceComprehensiveStatus::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("DetailedStatus") /* DetailedStatus com.amazonaws.cloudformation#StackInstanceComprehensiveStatus$DetailedStatus */ => {
let var_285 =
Some(
Result::<crate::model::StackInstanceDetailedStatus, aws_smithy_xml::decode::XmlDecodeError>::Ok(
crate::model::StackInstanceDetailedStatus::from(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
)
?
)
;
builder = builder.set_detailed_status(var_285);
}
,
_ => {}
}
}
Ok(builder.build())
}