amazonka-ecs-2.0: Amazon EC2 Container Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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 Amazon Resource Name (ARN) of the principal. It 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 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.

Instances

Instances details
ToJSON DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.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

AWSRequest DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

Associated Types

type AWSResponse DeleteAccountSetting #

Generic DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

Associated Types

type Rep DeleteAccountSetting :: Type -> Type #

Read DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

Show DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

NFData DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

Methods

rnf :: DeleteAccountSetting -> () #

Eq DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

Hashable DeleteAccountSetting Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

type AWSResponse 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" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" '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)))

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:

DeleteAccountSetting, deleteAccountSetting_principalArn - The Amazon Resource Name (ARN) of the principal. It 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, deleteAccountSetting_name - 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.

Request Lenses

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

The Amazon Resource Name (ARN) of the principal. It 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 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.

Destructuring the Response

data DeleteAccountSettingResponse Source #

See: newDeleteAccountSettingResponse smart constructor.

Constructors

DeleteAccountSettingResponse' 

Fields

Instances

Instances details
Generic DeleteAccountSettingResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

Associated Types

type Rep DeleteAccountSettingResponse :: Type -> Type #

Read DeleteAccountSettingResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

Show DeleteAccountSettingResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

NFData DeleteAccountSettingResponse Source # 
Instance details

Defined in Amazonka.ECS.DeleteAccountSetting

Eq 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" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" '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.