Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
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
- data PutAccountSettingDefault = PutAccountSettingDefault' {
- name :: SettingName
- value :: Text
- newPutAccountSettingDefault :: SettingName -> Text -> PutAccountSettingDefault
- putAccountSettingDefault_name :: Lens' PutAccountSettingDefault SettingName
- putAccountSettingDefault_value :: Lens' PutAccountSettingDefault Text
- data PutAccountSettingDefaultResponse = PutAccountSettingDefaultResponse' {
- setting :: Maybe Setting
- httpStatus :: Int
- newPutAccountSettingDefaultResponse :: Int -> PutAccountSettingDefaultResponse
- putAccountSettingDefaultResponse_setting :: Lens' PutAccountSettingDefaultResponse (Maybe Setting)
- putAccountSettingDefaultResponse_httpStatus :: Lens' PutAccountSettingDefaultResponse Int
Creating a Request
data PutAccountSettingDefault Source #
See: newPutAccountSettingDefault
smart constructor.
PutAccountSettingDefault' | |
|
Instances
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:
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.
Fargate is transitioning from task count-based quotas to vCPU-based
quotas. You can set the name to fargateVCPULimit
to opt in or opt out
of the vCPU-based quotas. For information about the opt in timeline, see
Fargate vCPU-based quotas timeline
in the Amazon ECS Developer Guide.
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.
Fargate is transitioning from task count-based quotas to vCPU-based
quotas. You can set the name to fargateVCPULimit
to opt in or opt out
of the vCPU-based quotas. For information about the opt in timeline, see
Fargate vCPU-based quotas timeline
in the Amazon ECS Developer Guide.
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.
PutAccountSettingDefaultResponse' | |
|
Instances
Generic PutAccountSettingDefaultResponse Source # | |
Read PutAccountSettingDefaultResponse Source # | |
Show PutAccountSettingDefaultResponse Source # | |
Defined in Amazonka.ECS.PutAccountSettingDefault | |
NFData PutAccountSettingDefaultResponse Source # | |
Defined in Amazonka.ECS.PutAccountSettingDefault rnf :: PutAccountSettingDefaultResponse -> () # | |
Eq PutAccountSettingDefaultResponse Source # | |
type Rep PutAccountSettingDefaultResponse Source # | |
Defined in Amazonka.ECS.PutAccountSettingDefault type Rep PutAccountSettingDefaultResponse = D1 ('MetaData "PutAccountSettingDefaultResponse" "Amazonka.ECS.PutAccountSettingDefault" "amazonka-ecs-2.0-3xFxVqi9x5nBZ44jBEC5G8" '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
putAccountSettingDefaultResponse_setting :: Lens' PutAccountSettingDefaultResponse (Maybe Setting) Source #
The current setting for a resource.
putAccountSettingDefaultResponse_httpStatus :: Lens' PutAccountSettingDefaultResponse Int Source #
The response's http status code.