Struct aws_sdk_s3control::input::PutPublicAccessBlockInput
source · [−]#[non_exhaustive]pub struct PutPublicAccessBlockInput {
pub public_access_block_configuration: Option<PublicAccessBlockConfiguration>,
pub account_id: Option<String>,
}Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.public_access_block_configuration: Option<PublicAccessBlockConfiguration>The PublicAccessBlock configuration that you want to apply to the specified Amazon Web Services account.
account_id: Option<String>The account ID for the Amazon Web Services account whose PublicAccessBlock configuration you want to set.
Implementations
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutPublicAccessBlock, AwsErrorRetryPolicy>, BuildError>
pub async fn make_operation(
&self,
_config: &Config
) -> Result<Operation<PutPublicAccessBlock, AwsErrorRetryPolicy>, BuildError>
Consumes the builder and constructs an Operation<PutPublicAccessBlock>
Creates a new builder-style object to manufacture PutPublicAccessBlockInput
The PublicAccessBlock configuration that you want to apply to the specified Amazon Web Services account.
The account ID for the Amazon Web Services account whose PublicAccessBlock configuration you want to set.
Trait Implementations
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for PutPublicAccessBlockInput
impl Send for PutPublicAccessBlockInput
impl Sync for PutPublicAccessBlockInput
impl Unpin for PutPublicAccessBlockInput
impl UnwindSafe for PutPublicAccessBlockInput
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more