IAM / Client / put_account_properties
put_account_properties¶
- IAM.Client.put_account_properties(**kwargs)¶
Sets 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.
Specify properties as key-value pairs in
Namespace/PropertyNameformat. All properties in a single request must belong to the same namespace. Use GetAccountProperties to view the current properties.See also: AWS API Documentation
Request Syntax
response = client.put_account_properties( Properties={ 'string': 'string' } )
- Parameters:
Properties (dict) –
[REQUIRED]
A map of property key-value pairs to set. All keys must belong to the same namespace.
Each key uses the format
Namespace/PropertyName. The key must contain exactly one/separating the namespace from the property name, and cannot start or end with/.The service validates each value based on the property key’s expected type. For example, boolean properties expect
trueorfalse.(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”.
- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions
IAM.Client.exceptions.InvalidInputExceptionIAM.Client.exceptions.ConcurrentModificationExceptionIAM.Client.exceptions.ServiceFailureException