Struct aws_sdk_cloudfront::model::ConflictingAliasesList
source · #[non_exhaustive]pub struct ConflictingAliasesList { /* private fields */ }
Expand description
A list of aliases (also called CNAMEs) and the CloudFront distributions and Amazon Web Services accounts that they are associated with. In the list, the distribution and account IDs are partially hidden, which allows you to identify the distributions and accounts that you own, but helps to protect the information of ones that you don’t own.
Implementations§
source§impl ConflictingAliasesList
impl ConflictingAliasesList
sourcepub fn next_marker(&self) -> Option<&str>
pub fn next_marker(&self) -> Option<&str>
If there are more items in the list than are in this response, this element is present. It contains the value that you should use in the Marker
field of a subsequent request to continue listing conflicting aliases where you left off.
sourcepub fn quantity(&self) -> Option<i32>
pub fn quantity(&self) -> Option<i32>
The number of conflicting aliases returned in the response.
sourcepub fn items(&self) -> Option<&[ConflictingAlias]>
pub fn items(&self) -> Option<&[ConflictingAlias]>
Contains the conflicting aliases in the list.
source§impl ConflictingAliasesList
impl ConflictingAliasesList
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ConflictingAliasesList
.
Examples found in repository?
8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098
pub fn deser_structure_crate_model_conflicting_aliases_list(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::ConflictingAliasesList, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::ConflictingAliasesList::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("NextMarker") /* NextMarker com.amazonaws.cloudfront#ConflictingAliasesList$NextMarker */ => {
let var_273 =
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_next_marker(var_273);
}
,
s if s.matches("MaxItems") /* MaxItems com.amazonaws.cloudfront#ConflictingAliasesList$MaxItems */ => {
let var_274 =
Some(
{
<i32 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 (integer: `com.amazonaws.cloudfront#integer`)"))
}
?
)
;
builder = builder.set_max_items(var_274);
}
,
s if s.matches("Quantity") /* Quantity com.amazonaws.cloudfront#ConflictingAliasesList$Quantity */ => {
let var_275 =
Some(
{
<i32 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 (integer: `com.amazonaws.cloudfront#integer`)"))
}
?
)
;
builder = builder.set_quantity(var_275);
}
,
s if s.matches("Items") /* Items com.amazonaws.cloudfront#ConflictingAliasesList$Items */ => {
let var_276 =
Some(
crate::xml_deser::deser_list_com_amazonaws_cloudfront_conflicting_aliases(&mut tag)
?
)
;
builder = builder.set_items(var_276);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for ConflictingAliasesList
impl Clone for ConflictingAliasesList
source§fn clone(&self) -> ConflictingAliasesList
fn clone(&self) -> ConflictingAliasesList
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more