libZSservicesZSamazonka-ecsZSamazonka-ecs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.ECS.DeleteAccountSetting

Description

Disables an account setting for a specified IAM user, IAM role, or the root user for an account.

Synopsis

Creating a Request

data DeleteAccountSetting Source #

See: newDeleteAccountSetting smart constructor.

Constructors

DeleteAccountSetting' 

Fields

  • principalArn :: Maybe Text

    The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you specify the root user, it disables the account setting for all IAM users, IAM roles, and the root user of the account unless an IAM user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.

  • name :: SettingName

    The resource name for which to disable 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.

Instances

Instances details
Eq DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

Read DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

Show DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

Generic DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

Associated Types

type Rep DeleteAccountSetting :: Type -> Type #

NFData DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

Methods

rnf :: DeleteAccountSetting -> () #

Hashable DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

ToJSON DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

AWSRequest DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

Associated Types

type AWSResponse DeleteAccountSetting #

ToHeaders DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

ToPath DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

ToQuery DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

type Rep DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

type Rep DeleteAccountSetting = D1 ('MetaData "DeleteAccountSetting" "Amazonka.ECS.DeleteAccountSetting" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "DeleteAccountSetting'" 'PrefixI 'True) (S1 ('MetaSel ('Just "principalArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SettingName)))
type AWSResponse DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

newDeleteAccountSetting Source #

Create a value of DeleteAccountSetting with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:principalArn:DeleteAccountSetting', deleteAccountSetting_principalArn - The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you specify the root user, it disables the account setting for all IAM users, IAM roles, and the root user of the account unless an IAM user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.

$sel:name:DeleteAccountSetting', deleteAccountSetting_name - The resource name for which to disable 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.

Request Lenses

deleteAccountSetting_principalArn :: Lens' DeleteAccountSetting (Maybe Text) Source #

The ARN of the principal, which can be an IAM user, IAM role, or the root user. If you specify the root user, it disables the account setting for all IAM users, IAM roles, and the root user of the account unless an IAM user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.

deleteAccountSetting_name :: Lens' DeleteAccountSetting SettingName Source #

The resource name for which to disable 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.

Destructuring the Response

data DeleteAccountSettingResponse Source #

See: newDeleteAccountSettingResponse smart constructor.

Constructors

DeleteAccountSettingResponse' 

Fields

Instances

Instances details
Eq DeleteAccountSettingResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

Read DeleteAccountSettingResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

Show DeleteAccountSettingResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

Generic DeleteAccountSettingResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

Associated Types

type Rep DeleteAccountSettingResponse :: Type -> Type #

NFData DeleteAccountSettingResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

type Rep DeleteAccountSettingResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

type Rep DeleteAccountSettingResponse = D1 ('MetaData "DeleteAccountSettingResponse" "Amazonka.ECS.DeleteAccountSetting" "libZSservicesZSamazonka-ecsZSamazonka-ecs" 'False) (C1 ('MetaCons "DeleteAccountSettingResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "setting") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Setting)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newDeleteAccountSettingResponse Source #

Create a value of DeleteAccountSettingResponse with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:setting:DeleteAccountSettingResponse', deleteAccountSettingResponse_setting - The account setting for the specified principal ARN.

$sel:httpStatus:DeleteAccountSettingResponse', deleteAccountSettingResponse_httpStatus - The response's http status code.

Response Lenses

deleteAccountSettingResponse_setting :: Lens' DeleteAccountSettingResponse (Maybe Setting) Source #

The account setting for the specified principal ARN.