Skip to content

IAM  >  Operations  >  get_account_properties

get_account_properties

Operation

get_account_properties async

get_account_properties(request: GetAccountPropertiesInput | GetAccountPropertiesInputDict, /, *, plugins: list[Plugin] | None = None) -> GetAccountPropertiesOutput
get_account_properties(*, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetAccountPropertiesInputDict]) -> GetAccountPropertiesOutput

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.

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
GetAccountPropertiesOutput

An instance of GetAccountPropertiesOutput.

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

GetAccountPropertiesInput dataclass

Bases: _SerdeShape

Dataclass for GetAccountPropertiesInput structure.

Dictionaries

GetAccountPropertiesInputDict

Bases: TypedDict

Dictionary form of GetAccountPropertiesInput.

Output

GetAccountPropertiesOutput dataclass

Bases: _SerdeShape

Dataclass for GetAccountPropertiesOutput structure.

Attributes

properties class-attribute instance-attribute
properties: dict[str, str] | None = ...

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

response_metadata class-attribute instance-attribute
response_metadata: ResponseMetadata = ...

Metadata about the response that produced this output. Use this to recover the request identifiers a service's support team needs in order to investigate a call. Members of the metadata are individually optional.