aws-sdk-ecs 1.128.0

AWS SDK for Amazon EC2 Container Service
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
// 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 a 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> <p>In order to use this parameter, you must be the root user, or the principal.</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())
    }
}