pub struct PutAccountSettingDefault<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to PutAccountSettingDefault
.
Modifies an account setting for all IAM users on an account for whom no individual account setting has been specified. Account settings are set on a per-Region basis.
Implementations
impl<C, M, R> PutAccountSettingDefault<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> PutAccountSettingDefault<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<PutAccountSettingDefaultOutput, SdkError<PutAccountSettingDefaultError>> where
R::Policy: SmithyRetryPolicy<PutAccountSettingDefaultInputOperationOutputAlias, PutAccountSettingDefaultOutput, PutAccountSettingDefaultError, PutAccountSettingDefaultInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<PutAccountSettingDefaultOutput, SdkError<PutAccountSettingDefaultError>> where
R::Policy: SmithyRetryPolicy<PutAccountSettingDefaultInputOperationOutputAlias, PutAccountSettingDefaultOutput, PutAccountSettingDefaultError, PutAccountSettingDefaultInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The resource name for which to modify the account setting. If serviceLongArnFormat
is specified, the ARN for your Amazon ECS services is affected. If taskLongArnFormat
is specified, the ARN and resource ID for your Amazon ECS tasks is affected. If containerInstanceLongArnFormat
is specified, the ARN and resource ID for your Amazon ECS container instances is affected. If awsvpcTrunking
is specified, the ENI limit for your Amazon ECS container instances is affected. If containerInsights
is specified, the default setting for CloudWatch Container Insights for your clusters is affected.
The resource name for which to modify the account setting. If serviceLongArnFormat
is specified, the ARN for your Amazon ECS services is affected. If taskLongArnFormat
is specified, the ARN and resource ID for your Amazon ECS tasks is affected. If containerInstanceLongArnFormat
is specified, the ARN and resource ID for your Amazon ECS container instances is affected. If awsvpcTrunking
is specified, the ENI limit for your Amazon ECS container instances is affected. If containerInsights
is specified, the default setting for CloudWatch Container Insights for your clusters is affected.
The account setting value for the specified principal ARN. Accepted values are enabled
and disabled
.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for PutAccountSettingDefault<C, M, R>
impl<C, M, R> Send for PutAccountSettingDefault<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for PutAccountSettingDefault<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for PutAccountSettingDefault<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for PutAccountSettingDefault<C, M, R>
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