#[non_exhaustive]pub struct ResourceIdentifierSummary { /* private fields */ }Expand description
Describes the target resources of a specific type in your import template (for example, all AWS::S3::Bucket resources) and the properties you can provide during the import to identify resources of that type.
Implementations§
source§impl ResourceIdentifierSummary
impl ResourceIdentifierSummary
sourcepub fn resource_type(&self) -> Option<&str>
pub fn resource_type(&self) -> Option<&str>
The template resource type of the target resources, such as AWS::S3::Bucket.
sourcepub fn logical_resource_ids(&self) -> Option<&[String]>
pub fn logical_resource_ids(&self) -> Option<&[String]>
The logical IDs of the target resources of the specified ResourceType, as defined in the import template.
sourcepub fn resource_identifiers(&self) -> Option<&[String]>
pub fn resource_identifiers(&self) -> Option<&[String]>
The resource properties you can provide during the import to identify your target resources. For example, BucketName is a possible identifier property for AWS::S3::Bucket resources.
source§impl ResourceIdentifierSummary
impl ResourceIdentifierSummary
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ResourceIdentifierSummary.
Examples found in repository?
src/xml_deser.rs (line 8182)
8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222
pub fn deser_structure_crate_model_resource_identifier_summary(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::ResourceIdentifierSummary, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::ResourceIdentifierSummary::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("ResourceType") /* ResourceType com.amazonaws.cloudformation#ResourceIdentifierSummary$ResourceType */ => {
let var_354 =
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_resource_type(var_354);
}
,
s if s.matches("LogicalResourceIds") /* LogicalResourceIds com.amazonaws.cloudformation#ResourceIdentifierSummary$LogicalResourceIds */ => {
let var_355 =
Some(
crate::xml_deser::deser_list_com_amazonaws_cloudformation_logical_resource_ids(&mut tag)
?
)
;
builder = builder.set_logical_resource_ids(var_355);
}
,
s if s.matches("ResourceIdentifiers") /* ResourceIdentifiers com.amazonaws.cloudformation#ResourceIdentifierSummary$ResourceIdentifiers */ => {
let var_356 =
Some(
crate::xml_deser::deser_list_com_amazonaws_cloudformation_resource_identifiers(&mut tag)
?
)
;
builder = builder.set_resource_identifiers(var_356);
}
,
_ => {}
}
}
Ok(builder.build())
}Trait Implementations§
source§impl Clone for ResourceIdentifierSummary
impl Clone for ResourceIdentifierSummary
source§fn clone(&self) -> ResourceIdentifierSummary
fn clone(&self) -> ResourceIdentifierSummary
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read more