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 fn as_input(&self) -> &DeleteAccountSettingInputBuilder
pub fn as_input(&self) -> &DeleteAccountSettingInputBuilder
Access the DeleteAccountSetting as a reference.
sourcepub async fn send(
self
) -> Result<DeleteAccountSettingOutput, SdkError<DeleteAccountSettingError, HttpResponse>>
pub async fn send( self ) -> Result<DeleteAccountSettingOutput, SdkError<DeleteAccountSettingError, HttpResponse>>
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 fn customize(
self
) -> CustomizableOperation<DeleteAccountSettingOutput, DeleteAccountSettingError, Self>
pub fn customize( self ) -> CustomizableOperation<DeleteAccountSettingOutput, DeleteAccountSettingError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
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 get_name(&self) -> &Option<SettingName>
pub fn get_name(&self) -> &Option<SettingName>
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.
sourcepub fn get_principal_arn(&self) -> &Option<String>
pub fn get_principal_arn(&self) -> &Option<String>
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