#[non_exhaustive]pub struct StreamingDistributionList { /* private fields */ }
Expand description
A streaming distribution list.
Implementations§
source§impl StreamingDistributionList
impl StreamingDistributionList
sourcepub fn next_marker(&self) -> Option<&str>
pub fn next_marker(&self) -> Option<&str>
If IsTruncated
is true
, this element is present and contains the value you can use for the Marker
request parameter to continue listing your RTMP distributions where they left off.
sourcepub fn max_items(&self) -> Option<i32>
pub fn max_items(&self) -> Option<i32>
The value you provided for the MaxItems
request parameter.
sourcepub fn is_truncated(&self) -> Option<bool>
pub fn is_truncated(&self) -> Option<bool>
A flag that indicates whether more streaming distributions remain to be listed. If your results were truncated, you can make a follow-up pagination request using the Marker
request parameter to retrieve more distributions in the list.
sourcepub fn quantity(&self) -> Option<i32>
pub fn quantity(&self) -> Option<i32>
The number of streaming distributions that were created by the current Amazon Web Services account.
sourcepub fn items(&self) -> Option<&[StreamingDistributionSummary]>
pub fn items(&self) -> Option<&[StreamingDistributionSummary]>
A complex type that contains one StreamingDistributionSummary
element for each distribution that was created by the current Amazon Web Services account.
source§impl StreamingDistributionList
impl StreamingDistributionList
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture StreamingDistributionList
.
Examples found in repository?
9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109
pub fn deser_structure_crate_model_streaming_distribution_list(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::StreamingDistributionList, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::StreamingDistributionList::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("Marker") /* Marker com.amazonaws.cloudfront#StreamingDistributionList$Marker */ => {
let var_334 =
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_marker(var_334);
}
,
s if s.matches("NextMarker") /* NextMarker com.amazonaws.cloudfront#StreamingDistributionList$NextMarker */ => {
let var_335 =
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_335);
}
,
s if s.matches("MaxItems") /* MaxItems com.amazonaws.cloudfront#StreamingDistributionList$MaxItems */ => {
let var_336 =
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_336);
}
,
s if s.matches("IsTruncated") /* IsTruncated com.amazonaws.cloudfront#StreamingDistributionList$IsTruncated */ => {
let var_337 =
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.cloudfront#boolean`)"))
}
?
)
;
builder = builder.set_is_truncated(var_337);
}
,
s if s.matches("Quantity") /* Quantity com.amazonaws.cloudfront#StreamingDistributionList$Quantity */ => {
let var_338 =
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_338);
}
,
s if s.matches("Items") /* Items com.amazonaws.cloudfront#StreamingDistributionList$Items */ => {
let var_339 =
Some(
crate::xml_deser::deser_list_com_amazonaws_cloudfront_streaming_distribution_summary_list(&mut tag)
?
)
;
builder = builder.set_items(var_339);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for StreamingDistributionList
impl Clone for StreamingDistributionList
source§fn clone(&self) -> StreamingDistributionList
fn clone(&self) -> StreamingDistributionList
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more