IAM / Client / get_account_properties

get_account_properties

IAM.Client.get_account_properties()

Retrieves the account-level properties for the caller’s Amazon Web Services account. Account properties are configuration settings that control account-wide IAM features such as Role Manager.

The service returns properties as key-value pairs in Namespace/PropertyName format. Each namespace groups related configuration settings. Use PutAccountProperties to modify these properties.

See also: AWS API Documentation

Request Syntax

response = client.get_account_properties()
Return type:

dict

Returns:

Response Syntax

{
    'Properties': {
        'string': 'string'
    }
}

Response Structure

  • (dict) –

    • Properties (dict) –

      A map of account property key-value pairs. Keys are in the format Namespace/PropertyName.

      • (string) –

        • (string) – String representation of the property value. The service will validate and coerce the value based on the property key’s expected type. For example, integer properties expect numeric strings, and boolean properties expect “true” or “false”.

Exceptions

  • IAM.Client.exceptions.InvalidInputException

  • IAM.Client.exceptions.ServiceFailureException