Struct aws_sdk_s3control::input::PutPublicAccessBlockInput [−][src]
#[non_exhaustive]pub struct PutPublicAccessBlockInput {
pub account_id: Option<String>,
pub public_access_block_configuration: Option<PublicAccessBlockConfiguration>,
}
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.account_id: Option<String>
The account ID for the Amazon Web Services account whose PublicAccessBlock
configuration you want
to set.
public_access_block_configuration: Option<PublicAccessBlockConfiguration>
The PublicAccessBlock
configuration that you want to apply to the specified Amazon Web Services account.
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 account ID for the Amazon Web Services account whose PublicAccessBlock
configuration you want
to set.
The PublicAccessBlock
configuration that you want to apply to the specified Amazon Web Services account.
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