Struct aws_sdk_ecs::operation::delete_account_setting::builders::DeleteAccountSettingFluentBuilder
source · pub struct DeleteAccountSettingFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to DeleteAccountSetting.
Disables an account setting for a specified user, role, or the root user for an account.
Implementations§
source§impl DeleteAccountSettingFluentBuilder
impl DeleteAccountSettingFluentBuilder
sourcepub async fn send(
self
) -> Result<DeleteAccountSettingOutput, SdkError<DeleteAccountSettingError>>
pub async fn send( self ) -> Result<DeleteAccountSettingOutput, SdkError<DeleteAccountSettingError>>
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.
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<DeleteAccountSetting, AwsResponseRetryClassifier>, SdkError<DeleteAccountSettingError>>
pub async fn customize( self ) -> Result<CustomizableOperation<DeleteAccountSetting, AwsResponseRetryClassifier>, SdkError<DeleteAccountSettingError>>
Consumes this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub fn name(self, input: SettingName) -> Self
pub fn name(self, input: SettingName) -> Self
The resource name to disable the account setting for. 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.
sourcepub fn set_name(self, input: Option<SettingName>) -> Self
pub fn set_name(self, input: Option<SettingName>) -> Self
The resource name to disable the account setting for. 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.
sourcepub fn principal_arn(self, input: impl Into<String>) -> Self
pub fn principal_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the principal. It can be an user, role, or the root user. If you specify the root user, it disables the account setting for all users, roles, and the root user of the account unless a user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.
sourcepub fn set_principal_arn(self, input: Option<String>) -> Self
pub fn set_principal_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the principal. It can be an user, role, or the root user. If you specify the root user, it disables the account setting for all users, roles, and the root user of the account unless a user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.
Trait Implementations§
source§impl Clone for DeleteAccountSettingFluentBuilder
impl Clone for DeleteAccountSettingFluentBuilder
source§fn clone(&self) -> DeleteAccountSettingFluentBuilder
fn clone(&self) -> DeleteAccountSettingFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more