Skip to content

put_account_properties

Operation

put_account_properties

put_account_properties(request: PutAccountPropertiesInput | PutAccountPropertiesInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[PutAccountPropertiesInputDict]) -> PutAccountPropertiesOutput

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/PropertyName format. All properties in a single request must belong to the same namespace. Use GetAccountProperties to view the current properties.

Parameters:

Name Type Description Default
request PutAccountPropertiesInput | PutAccountPropertiesInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[PutAccountPropertiesInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
PutAccountPropertiesOutput

An instance of PutAccountPropertiesOutput.

put_account_properties async

put_account_properties(request: PutAccountPropertiesInput | PutAccountPropertiesInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[PutAccountPropertiesInputDict]) -> PutAccountPropertiesOutput

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/PropertyName format. All properties in a single request must belong to the same namespace. Use GetAccountProperties to view the current properties.

Parameters:

Name Type Description Default
request PutAccountPropertiesInput | PutAccountPropertiesInputDict | None

The input as a model or dictionary. Pass this or keyword arguments, not both.

None
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
**kwargs Unpack[PutAccountPropertiesInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
PutAccountPropertiesOutput

An instance of PutAccountPropertiesOutput.

Input

Pass the input as keyword arguments, a positional dictionary, or a positional model object. Pass plugins separately as a keyword argument.

PutAccountPropertiesInputDict

Bases: TypedDict

Dictionary form of PutAccountPropertiesInput.

Attributes

properties instance-attribute
properties: Required[Mapping[str, str]]

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 true or false.

PutAccountPropertiesInput dataclass

Bases: _SerdeShape

Dataclass for PutAccountPropertiesInput structure.

Attributes

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

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 true or false.

Output

PutAccountPropertiesOutput dataclass

Bases: _SerdeShape

Dataclass for PutAccountPropertiesOutput structure.

Attributes

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.