Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > dd7204292d310452063d09b5de9c13b7 > files > 922

aws-cli-docs-1.16.163-1.mga7.noarch.rpm

**To modify the account settings for an IAM user or IAM role**

The following ``put-account-setting`` example modifies the account settings for the specified IAM user or IAM role. ::

    aws ecs put-account-setting \
        --name serviceLongArnFormat \
        --value enabled \
        --principal-arn arn:aws:iam::123456789012:user/MyUser

Output::

    {
        "setting": {
            "name": "serviceLongArnFormat",
            "value": "enabled",
            "principalArn": "arn:aws:iam::123456789012:user/MyUser"
        }
    }