aws_sdk_ecs/client/delete_account_setting.rs
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`DeleteAccountSetting`](crate::operation::delete_account_setting::builders::DeleteAccountSettingFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`name(SettingName)`](crate::operation::delete_account_setting::builders::DeleteAccountSettingFluentBuilder::name) / [`set_name(Option<SettingName>)`](crate::operation::delete_account_setting::builders::DeleteAccountSettingFluentBuilder::set_name):<br>required: **true**<br><p>The resource name to disable the account setting for. If <code>serviceLongArnFormat</code> is specified, the ARN for your Amazon ECS services is affected. If <code>taskLongArnFormat</code> is specified, the ARN and resource ID for your Amazon ECS tasks is affected. If <code>containerInstanceLongArnFormat</code> is specified, the ARN and resource ID for your Amazon ECS container instances is affected. If <code>awsvpcTrunking</code> is specified, the ENI limit for your Amazon ECS container instances is affected.</p><br>
/// - [`principal_arn(impl Into<String>)`](crate::operation::delete_account_setting::builders::DeleteAccountSettingFluentBuilder::principal_arn) / [`set_principal_arn(Option<String>)`](crate::operation::delete_account_setting::builders::DeleteAccountSettingFluentBuilder::set_principal_arn):<br>required: **false**<br><p>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.</p><br>
/// - On success, responds with [`DeleteAccountSettingOutput`](crate::operation::delete_account_setting::DeleteAccountSettingOutput) with field(s):
/// - [`setting(Option<Setting>)`](crate::operation::delete_account_setting::DeleteAccountSettingOutput::setting): <p>The account setting for the specified principal ARN.</p>
/// - On failure, responds with [`SdkError<DeleteAccountSettingError>`](crate::operation::delete_account_setting::DeleteAccountSettingError)
pub fn delete_account_setting(&self) -> crate::operation::delete_account_setting::builders::DeleteAccountSettingFluentBuilder {
crate::operation::delete_account_setting::builders::DeleteAccountSettingFluentBuilder::new(self.handle.clone())
}
}