#[non_exhaustive]pub struct StackSetOperationResultSummary { /* private fields */ }Expand description
The structure that contains information about a specified operation's results for a given account in a given Region.
Implementations§
source§impl StackSetOperationResultSummary
impl StackSetOperationResultSummary
sourcepub fn account(&self) -> Option<&str>
pub fn account(&self) -> Option<&str>
[Self-managed permissions] The name of the Amazon Web Services account for this operation result.
sourcepub fn region(&self) -> Option<&str>
pub fn region(&self) -> Option<&str>
The name of the Amazon Web Services Region for this operation result.
sourcepub fn status(&self) -> Option<&StackSetOperationResultStatus>
pub fn status(&self) -> Option<&StackSetOperationResultStatus>
The result status of the stack set operation for the given account in the given Region.
-
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.
-
RUNNING: The operation in the specified account and Region is currently in progress. -
PENDING: The operation in the specified account and Region has yet to start. -
SUCCEEDED: The operation in the specified account and Region completed successfully.
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
The reason for the assigned result status.
sourcepub fn account_gate_result(&self) -> Option<&AccountGateResult>
pub fn account_gate_result(&self) -> Option<&AccountGateResult>
The results of the account gate function CloudFormation invokes, if present, before proceeding with stack set operations in an account.
sourcepub fn organizational_unit_id(&self) -> Option<&str>
pub fn organizational_unit_id(&self) -> Option<&str>
[Service-managed permissions] The organization root ID or organizational unit (OU) IDs that you specified for DeploymentTargets.
source§impl StackSetOperationResultSummary
impl StackSetOperationResultSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StackSetOperationResultSummary.
Examples found in repository?
8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950
pub fn deser_structure_crate_model_stack_set_operation_result_summary(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::StackSetOperationResultSummary, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::StackSetOperationResultSummary::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("Account") /* Account com.amazonaws.cloudformation#StackSetOperationResultSummary$Account */ => {
let var_401 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_account(var_401);
}
,
s if s.matches("Region") /* Region com.amazonaws.cloudformation#StackSetOperationResultSummary$Region */ => {
let var_402 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_region(var_402);
}
,
s if s.matches("Status") /* Status com.amazonaws.cloudformation#StackSetOperationResultSummary$Status */ => {
let var_403 =
Some(
Result::<crate::model::StackSetOperationResultStatus, aws_smithy_xml::decode::XmlDecodeError>::Ok(
crate::model::StackSetOperationResultStatus::from(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
)
?
)
;
builder = builder.set_status(var_403);
}
,
s if s.matches("StatusReason") /* StatusReason com.amazonaws.cloudformation#StackSetOperationResultSummary$StatusReason */ => {
let var_404 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_status_reason(var_404);
}
,
s if s.matches("AccountGateResult") /* AccountGateResult com.amazonaws.cloudformation#StackSetOperationResultSummary$AccountGateResult */ => {
let var_405 =
Some(
crate::xml_deser::deser_structure_crate_model_account_gate_result(&mut tag)
?
)
;
builder = builder.set_account_gate_result(var_405);
}
,
s if s.matches("OrganizationalUnitId") /* OrganizationalUnitId com.amazonaws.cloudformation#StackSetOperationResultSummary$OrganizationalUnitId */ => {
let var_406 =
Some(
Result::<std::string::String, aws_smithy_xml::decode::XmlDecodeError>::Ok(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
.into()
)
?
)
;
builder = builder.set_organizational_unit_id(var_406);
}
,
_ => {}
}
}
Ok(builder.build())
}Trait Implementations§
source§impl Clone for StackSetOperationResultSummary
impl Clone for StackSetOperationResultSummary
source§fn clone(&self) -> StackSetOperationResultSummary
fn clone(&self) -> StackSetOperationResultSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more