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.PutAccountSettingDefault

Description

Modifies an account setting for all IAM users on an account for whom no individual account setting has been specified. Account settings are set on a per-Region basis.

Synopsis

Creating a Request

data PutAccountSettingDefault Source #

See: newPutAccountSettingDefault smart constructor.

Constructors

PutAccountSettingDefault' 

Fields

  • name :: SettingName

    The resource name for which to modify 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. If containerInsights is specified, the default setting for CloudWatch Container Insights for your clusters is affected.

  • value :: Text

    The account setting value for the specified principal ARN. Accepted values are enabled and disabled.

Instances

Instances details
Eq PutAccountSettingDefault Source # 
Instance details

Defined in Amazonka.ECS.PutAccountSettingDefault

Read PutAccountSettingDefault Source # 
Instance details

Defined in Amazonka.ECS.PutAccountSettingDefault

Show PutAccountSettingDefault Source # 
Instance details

Defined in Amazonka.ECS.PutAccountSettingDefault

Generic PutAccountSettingDefault Source # 
Instance details

Defined in Amazonka.ECS.PutAccountSettingDefault

Associated Types

type Rep PutAccountSettingDefault :: Type -> Type #

NFData PutAccountSettingDefault Source # 
Instance details

Defined in Amazonka.ECS.PutAccountSettingDefault

Hashable PutAccountSettingDefault Source # 
Instance details

Defined in Amazonka.ECS.PutAccountSettingDefault

ToJSON PutAccountSettingDefault Source # 
Instance details

Defined in Amazonka.ECS.PutAccountSettingDefault

AWSRequest PutAccountSettingDefault Source # 
Instance details

Defined in Amazonka.ECS.PutAccountSettingDefault

ToHeaders PutAccountSettingDefault Source # 
Instance details

Defined in Amazonka.ECS.PutAccountSettingDefault

ToPath PutAccountSettingDefault Source # 
Instance details

Defined in Amazonka.ECS.PutAccountSettingDefault

ToQuery PutAccountSettingDefault Source # 
Instance details

Defined in Amazonka.ECS.PutAccountSettingDefault

type Rep PutAccountSettingDefault Source # 
Instance details

Defined in Amazonka.ECS.PutAccountSettingDefault

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

Defined in Amazonka.ECS.PutAccountSettingDefault

newPutAccountSettingDefault Source #

Create a value of PutAccountSettingDefault 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:name:PutAccountSettingDefault', putAccountSettingDefault_name - The resource name for which to modify 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. If containerInsights is specified, the default setting for CloudWatch Container Insights for your clusters is affected.

$sel:value:PutAccountSettingDefault', putAccountSettingDefault_value - The account setting value for the specified principal ARN. Accepted values are enabled and disabled.

Request Lenses

putAccountSettingDefault_name :: Lens' PutAccountSettingDefault SettingName Source #

The resource name for which to modify 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. If containerInsights is specified, the default setting for CloudWatch Container Insights for your clusters is affected.

putAccountSettingDefault_value :: Lens' PutAccountSettingDefault Text Source #

The account setting value for the specified principal ARN. Accepted values are enabled and disabled.

Destructuring the Response

data PutAccountSettingDefaultResponse Source #

See: newPutAccountSettingDefaultResponse smart constructor.

Constructors

PutAccountSettingDefaultResponse' 

Fields

Instances

Instances details
Eq PutAccountSettingDefaultResponse Source # 
Instance details

Defined in Amazonka.ECS.PutAccountSettingDefault

Read PutAccountSettingDefaultResponse Source # 
Instance details

Defined in Amazonka.ECS.PutAccountSettingDefault

Show PutAccountSettingDefaultResponse Source # 
Instance details

Defined in Amazonka.ECS.PutAccountSettingDefault

Generic PutAccountSettingDefaultResponse Source # 
Instance details

Defined in Amazonka.ECS.PutAccountSettingDefault

Associated Types

type Rep PutAccountSettingDefaultResponse :: Type -> Type #

NFData PutAccountSettingDefaultResponse Source # 
Instance details

Defined in Amazonka.ECS.PutAccountSettingDefault

type Rep PutAccountSettingDefaultResponse Source # 
Instance details

Defined in Amazonka.ECS.PutAccountSettingDefault

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

newPutAccountSettingDefaultResponse Source #

Create a value of PutAccountSettingDefaultResponse 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:PutAccountSettingDefaultResponse', putAccountSettingDefaultResponse_setting - The current setting for a resource.

$sel:httpStatus:PutAccountSettingDefaultResponse', putAccountSettingDefaultResponse_httpStatus - The response's http status code.

Response Lenses