Skip to content

/AWS1/CL_ECS=>DELETEACCOUNTSETTING()

About DeleteAccountSetting

Disables an account setting for a specified user, role, or the root user for an account.

Method Signature

IMPORTING

Required arguments:

IV_NAME TYPE /AWS1/ECSSETTINGNAME /AWS1/ECSSETTINGNAME

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.

Optional arguments:

IV_PRINCIPALARN TYPE /AWS1/ECSSTRING /AWS1/ECSSTRING

The Amazon Resource Name (ARN) of the principal. It can be an 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.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_ECSDELACCTSETTINGRSP /AWS1/CL_ECSDELACCTSETTINGRSP