Struct aws_sdk_cloudformation::model::ChangeSetSummary
source · #[non_exhaustive]pub struct ChangeSetSummary { /* private fields */ }Expand description
The ChangeSetSummary structure describes a change set, its status, and the stack with which it's associated.
Implementations§
source§impl ChangeSetSummary
impl ChangeSetSummary
sourcepub fn stack_id(&self) -> Option<&str>
pub fn stack_id(&self) -> Option<&str>
The ID of the stack with which the change set is associated.
sourcepub fn stack_name(&self) -> Option<&str>
pub fn stack_name(&self) -> Option<&str>
The name of the stack with which the change set is associated.
sourcepub fn change_set_id(&self) -> Option<&str>
pub fn change_set_id(&self) -> Option<&str>
The ID of the change set.
sourcepub fn change_set_name(&self) -> Option<&str>
pub fn change_set_name(&self) -> Option<&str>
The name of the change set.
sourcepub fn execution_status(&self) -> Option<&ExecutionStatus>
pub fn execution_status(&self) -> Option<&ExecutionStatus>
If the change set execution status is AVAILABLE, you can execute the change set. If you can't execute the change set, the status indicates why. For example, a change set might be in an UNAVAILABLE state because CloudFormation is still creating it or in an OBSOLETE state because the stack was already updated.
sourcepub fn status(&self) -> Option<&ChangeSetStatus>
pub fn status(&self) -> Option<&ChangeSetStatus>
The state of the change set, such as CREATE_IN_PROGRESS, CREATE_COMPLETE, or FAILED.
sourcepub fn status_reason(&self) -> Option<&str>
pub fn status_reason(&self) -> Option<&str>
A description of the change set's status. For example, if your change set is in the FAILED state, CloudFormation shows the error message.
sourcepub fn creation_time(&self) -> Option<&DateTime>
pub fn creation_time(&self) -> Option<&DateTime>
The start time when the change set was created, in UTC.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
Descriptive information about the change set.
sourcepub fn include_nested_stacks(&self) -> Option<bool>
pub fn include_nested_stacks(&self) -> Option<bool>
Specifies the current setting of IncludeNestedStacks for the change set.
sourcepub fn parent_change_set_id(&self) -> Option<&str>
pub fn parent_change_set_id(&self) -> Option<&str>
The parent change set ID.
sourcepub fn root_change_set_id(&self) -> Option<&str>
pub fn root_change_set_id(&self) -> Option<&str>
The root change set ID.
source§impl ChangeSetSummary
impl ChangeSetSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ChangeSetSummary.
Examples found in repository?
8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396
pub fn deser_structure_crate_model_change_set_summary(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::ChangeSetSummary, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::ChangeSetSummary::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("StackId") /* StackId com.amazonaws.cloudformation#ChangeSetSummary$StackId */ => {
let var_357 =
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_stack_id(var_357);
}
,
s if s.matches("StackName") /* StackName com.amazonaws.cloudformation#ChangeSetSummary$StackName */ => {
let var_358 =
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_stack_name(var_358);
}
,
s if s.matches("ChangeSetId") /* ChangeSetId com.amazonaws.cloudformation#ChangeSetSummary$ChangeSetId */ => {
let var_359 =
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_change_set_id(var_359);
}
,
s if s.matches("ChangeSetName") /* ChangeSetName com.amazonaws.cloudformation#ChangeSetSummary$ChangeSetName */ => {
let var_360 =
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_change_set_name(var_360);
}
,
s if s.matches("ExecutionStatus") /* ExecutionStatus com.amazonaws.cloudformation#ChangeSetSummary$ExecutionStatus */ => {
let var_361 =
Some(
Result::<crate::model::ExecutionStatus, aws_smithy_xml::decode::XmlDecodeError>::Ok(
crate::model::ExecutionStatus::from(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
)
?
)
;
builder = builder.set_execution_status(var_361);
}
,
s if s.matches("Status") /* Status com.amazonaws.cloudformation#ChangeSetSummary$Status */ => {
let var_362 =
Some(
Result::<crate::model::ChangeSetStatus, aws_smithy_xml::decode::XmlDecodeError>::Ok(
crate::model::ChangeSetStatus::from(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
)
?
)
;
builder = builder.set_status(var_362);
}
,
s if s.matches("StatusReason") /* StatusReason com.amazonaws.cloudformation#ChangeSetSummary$StatusReason */ => {
let var_363 =
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_363);
}
,
s if s.matches("CreationTime") /* CreationTime com.amazonaws.cloudformation#ChangeSetSummary$CreationTime */ => {
let var_364 =
Some(
aws_smithy_types::DateTime::from_str(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
, aws_smithy_types::date_time::Format::DateTime
)
.map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (timestamp: `com.amazonaws.cloudformation#CreationTime`)"))
?
)
;
builder = builder.set_creation_time(var_364);
}
,
s if s.matches("Description") /* Description com.amazonaws.cloudformation#ChangeSetSummary$Description */ => {
let var_365 =
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_description(var_365);
}
,
s if s.matches("IncludeNestedStacks") /* IncludeNestedStacks com.amazonaws.cloudformation#ChangeSetSummary$IncludeNestedStacks */ => {
let var_366 =
Some(
{
<bool as aws_smithy_types::primitive::Parse>::parse_smithy_primitive(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
.map_err(|_|aws_smithy_xml::decode::XmlDecodeError::custom("expected (boolean: `com.amazonaws.cloudformation#IncludeNestedStacks`)"))
}
?
)
;
builder = builder.set_include_nested_stacks(var_366);
}
,
s if s.matches("ParentChangeSetId") /* ParentChangeSetId com.amazonaws.cloudformation#ChangeSetSummary$ParentChangeSetId */ => {
let var_367 =
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_parent_change_set_id(var_367);
}
,
s if s.matches("RootChangeSetId") /* RootChangeSetId com.amazonaws.cloudformation#ChangeSetSummary$RootChangeSetId */ => {
let var_368 =
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_root_change_set_id(var_368);
}
,
_ => {}
}
}
Ok(builder.build())
}Trait Implementations§
source§impl Clone for ChangeSetSummary
impl Clone for ChangeSetSummary
source§fn clone(&self) -> ChangeSetSummary
fn clone(&self) -> ChangeSetSummary
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more