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 |
Disables an account setting for a specified IAM user, IAM role, or the root user for an account.
Synopsis
- data DeleteAccountSetting = DeleteAccountSetting' {
- principalArn :: Maybe Text
- name :: SettingName
- newDeleteAccountSetting :: SettingName -> DeleteAccountSetting
- deleteAccountSetting_principalArn :: Lens' DeleteAccountSetting (Maybe Text)
- deleteAccountSetting_name :: Lens' DeleteAccountSetting SettingName
- data DeleteAccountSettingResponse = DeleteAccountSettingResponse' {
- setting :: Maybe Setting
- httpStatus :: Int
- newDeleteAccountSettingResponse :: Int -> DeleteAccountSettingResponse
- deleteAccountSettingResponse_setting :: Lens' DeleteAccountSettingResponse (Maybe Setting)
- deleteAccountSettingResponse_httpStatus :: Lens' DeleteAccountSettingResponse Int
Creating a Request
data DeleteAccountSetting Source #
See: newDeleteAccountSetting
smart constructor.
DeleteAccountSetting' | |
|
Instances
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.
DeleteAccountSettingResponse' | |
|
Instances
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.
deleteAccountSettingResponse_httpStatus :: Lens' DeleteAccountSettingResponse Int Source #
The response's http status code.