delete_account_setting¶
Operation¶
delete_account_setting
async
¶
delete_account_setting(request: DeleteAccountSettingInput | DeleteAccountSettingInputDict, /, *, plugins: list[Plugin] | None = None) -> DeleteAccountSettingOutput
delete_account_setting(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[DeleteAccountSettingInputDict]) -> DeleteAccountSettingOutput
Disables an account setting for a specified user, role, or the root user for an account.
Parameters:
| Name | Type | Description | Default |
|---|---|---|---|
plugins
|
list[Plugin] | None
|
A list of callables that modify the configuration dynamically. Changes made by these plugins only apply for the duration of the operation execution and will not affect any other operation invocations. |
None
|
Returns:
| Type | Description |
|---|---|
DeleteAccountSettingOutput
|
An instance of |
Input¶
Pass the input fields as keyword arguments, or pass a model or dictionary as the first positional argument. Pass plugins separately as a keyword argument.
Model¶
DeleteAccountSettingInput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteAccountSettingInput structure.
Attributes¶
name
class-attribute
instance-attribute
¶
name: str | None = ...
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.
principal_arn
class-attribute
instance-attribute
¶
principal_arn: str | None = ...
The Amazon Resource Name (ARN) of the principal. It can be a user, role, or the root user. If you specify the root user, it disables the account setting for all users, roles, and the root user of the account unless a user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.
In order to use this parameter, you must be the root user, or the principal.
Dictionaries¶
DeleteAccountSettingInputDict
¶
Bases: TypedDict
Dictionary form of DeleteAccountSettingInput.
Attributes¶
name
instance-attribute
¶
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.
principal_arn
instance-attribute
¶
principal_arn: str | None
The Amazon Resource Name (ARN) of the principal. It can be a user, role, or the root user. If you specify the root user, it disables the account setting for all users, roles, and the root user of the account unless a user or role explicitly overrides these settings. If this field is omitted, the setting is changed only for the authenticated user.
In order to use this parameter, you must be the root user, or the principal.
Output¶
DeleteAccountSettingOutput
dataclass
¶
Bases: _SerdeShape
Dataclass for DeleteAccountSettingOutput structure.