#[non_exhaustive]pub struct MultiRegionAccessPointReport { /* private fields */ }
Expand description
A collection of statuses for a Multi-Region Access Point in the various Regions it supports.
Implementations§
source§impl MultiRegionAccessPointReport
impl MultiRegionAccessPointReport
sourcepub fn alias(&self) -> Option<&str>
pub fn alias(&self) -> Option<&str>
The alias for the Multi-Region Access Point. For more information about the distinction between the name and the alias of an Multi-Region Access Point, see Managing Multi-Region Access Points.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
When the Multi-Region Access Point create request was received.
sourcepub fn public_access_block(&self) -> Option<&PublicAccessBlockConfiguration>
pub fn public_access_block(&self) -> Option<&PublicAccessBlockConfiguration>
The PublicAccessBlock
configuration that you want to apply to this Amazon S3 account. You can enable the configuration options in any combination. For more information about when Amazon S3 considers a bucket or object public, see The Meaning of "Public" in the Amazon S3 User Guide.
This is not supported for Amazon S3 on Outposts.
sourcepub fn status(&self) -> Option<&MultiRegionAccessPointStatus>
pub fn status(&self) -> Option<&MultiRegionAccessPointStatus>
The current status of the Multi-Region Access Point.
CREATING
and DELETING
are temporary states that exist while the request is propagating and being completed. If a Multi-Region Access Point has a status of PARTIALLY_CREATED
, you can retry creation or send a request to delete the Multi-Region Access Point. If a Multi-Region Access Point has a status of PARTIALLY_DELETED
, you can retry a delete request to finish the deletion of the Multi-Region Access Point.
sourcepub fn regions(&self) -> Option<&[RegionReport]>
pub fn regions(&self) -> Option<&[RegionReport]>
A collection of the Regions and buckets associated with the Multi-Region Access Point.
source§impl MultiRegionAccessPointReport
impl MultiRegionAccessPointReport
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture MultiRegionAccessPointReport
.
Examples found in repository?
2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756
pub fn deser_structure_crate_model_multi_region_access_point_report(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<crate::model::MultiRegionAccessPointReport, aws_smithy_xml::decode::XmlDecodeError> {
#[allow(unused_mut)]
let mut builder = crate::model::MultiRegionAccessPointReport::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("Name") /* Name com.amazonaws.s3control#MultiRegionAccessPointReport$Name */ => {
let var_106 =
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_106);
}
,
s if s.matches("Alias") /* Alias com.amazonaws.s3control#MultiRegionAccessPointReport$Alias */ => {
let var_107 =
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_alias(var_107);
}
,
s if s.matches("CreatedAt") /* CreatedAt com.amazonaws.s3control#MultiRegionAccessPointReport$CreatedAt */ => {
let var_108 =
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.s3control#CreationTimestamp`)"))
?
)
;
builder = builder.set_created_at(var_108);
}
,
s if s.matches("PublicAccessBlock") /* PublicAccessBlock com.amazonaws.s3control#MultiRegionAccessPointReport$PublicAccessBlock */ => {
let var_109 =
Some(
crate::xml_deser::deser_structure_crate_model_public_access_block_configuration(&mut tag)
?
)
;
builder = builder.set_public_access_block(var_109);
}
,
s if s.matches("Status") /* Status com.amazonaws.s3control#MultiRegionAccessPointReport$Status */ => {
let var_110 =
Some(
Result::<crate::model::MultiRegionAccessPointStatus, aws_smithy_xml::decode::XmlDecodeError>::Ok(
crate::model::MultiRegionAccessPointStatus::from(
aws_smithy_xml::decode::try_data(&mut tag)?.as_ref()
)
)
?
)
;
builder = builder.set_status(var_110);
}
,
s if s.matches("Regions") /* Regions com.amazonaws.s3control#MultiRegionAccessPointReport$Regions */ => {
let var_111 =
Some(
crate::xml_deser::deser_list_com_amazonaws_s3control_region_report_list(&mut tag)
?
)
;
builder = builder.set_regions(var_111);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for MultiRegionAccessPointReport
impl Clone for MultiRegionAccessPointReport
source§fn clone(&self) -> MultiRegionAccessPointReport
fn clone(&self) -> MultiRegionAccessPointReport
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more