#[non_exhaustive]pub struct ProposedMultiRegionAccessPointPolicy { /* private fields */ }
Expand description
The proposed access control policy for the Multi-Region Access Point.
When you update the policy, the update is first listed as the proposed policy. After the update is finished and all Regions have been updated, the proposed policy is listed as the established policy. If both policies have the same version number, the proposed policy is the established policy.
Implementations§
source§impl ProposedMultiRegionAccessPointPolicy
impl ProposedMultiRegionAccessPointPolicy
sourcepub fn builder() -> Builder
pub fn builder() -> Builder
Creates a new builder-style object to manufacture ProposedMultiRegionAccessPointPolicy
.
Examples found in repository?
src/xml_deser.rs (line 3808)
3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828
pub fn deser_structure_crate_model_proposed_multi_region_access_point_policy(
decoder: &mut aws_smithy_xml::decode::ScopedDecoder,
) -> Result<
crate::model::ProposedMultiRegionAccessPointPolicy,
aws_smithy_xml::decode::XmlDecodeError,
> {
#[allow(unused_mut)]
let mut builder = crate::model::ProposedMultiRegionAccessPointPolicy::builder();
while let Some(mut tag) = decoder.next_tag() {
match tag.start_el() {
s if s.matches("Policy") /* Policy com.amazonaws.s3control#ProposedMultiRegionAccessPointPolicy$Policy */ => {
let var_164 =
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_policy(var_164);
}
,
_ => {}
}
}
Ok(builder.build())
}
Trait Implementations§
source§impl Clone for ProposedMultiRegionAccessPointPolicy
impl Clone for ProposedMultiRegionAccessPointPolicy
source§fn clone(&self) -> ProposedMultiRegionAccessPointPolicy
fn clone(&self) -> ProposedMultiRegionAccessPointPolicy
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