Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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:
$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.
PutAccountSettingDefaultResponse' | |
|
Instances
Eq PutAccountSettingDefaultResponse Source # | |
Read PutAccountSettingDefaultResponse Source # | |
Show PutAccountSettingDefaultResponse Source # | |
Defined in Amazonka.ECS.PutAccountSettingDefault | |
Generic PutAccountSettingDefaultResponse Source # | |
NFData PutAccountSettingDefaultResponse Source # | |
Defined in Amazonka.ECS.PutAccountSettingDefault rnf :: PutAccountSettingDefaultResponse -> () # | |
type Rep PutAccountSettingDefaultResponse Source # | |
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
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.