Struct aws_sdk_cloudformation::model::Export
source · #[non_exhaustive]pub struct Export { /* private fields */ }Expand description
The Export structure describes the exported output values for a stack.
Implementations§
source§impl Export
impl Export
sourcepub fn exporting_stack_id(&self) -> Option<&str>
pub fn exporting_stack_id(&self) -> Option<&str>
The stack that contains the exported output name and value.
source§impl Export
impl Export
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture Export.
Examples found in repository?
src/xml_deser.rs (line 8402)
8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448
pub fn deser_structure_crate_model_export(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::Export, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::Export::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("ExportingStackId") /* ExportingStackId com.amazonaws.cloudformation#Export$ExportingStackId */ => {
let var_369 =
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_exporting_stack_id(var_369);
}
,
s if s.matches("Name") /* Name com.amazonaws.cloudformation#Export$Name */ => {
let var_370 =
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_name(var_370);
}
,
s if s.matches("Value") /* Value com.amazonaws.cloudformation#Export$Value */ => {
let var_371 =
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_value(var_371);
}
,
_ => {}
}
}
Ok(builder.build())
}