Skip to content

get_sms_attributes

Operation

get_sms_attributes

get_sms_attributes(request: GetSMSAttributesInput | GetSMSAttributesInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetSMSAttributesInputDict]) -> GetSMSAttributesOutput

Returns the settings for sending SMS messages from your Amazon Web Services account.

These settings are set with the SetSMSAttributes action.

Parameters:

Name Type Description Default
request GetSMSAttributesInput | GetSMSAttributesInputDict | 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[GetSMSAttributesInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetSMSAttributesOutput

An instance of GetSMSAttributesOutput.

get_sms_attributes async

get_sms_attributes(request: GetSMSAttributesInput | GetSMSAttributesInputDict | None = None, /, *, plugins: list[Plugin] | None = None, **kwargs: Unpack[GetSMSAttributesInputDict]) -> GetSMSAttributesOutput

Returns the settings for sending SMS messages from your Amazon Web Services account.

These settings are set with the SetSMSAttributes action.

Parameters:

Name Type Description Default
request GetSMSAttributesInput | GetSMSAttributesInputDict | 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[GetSMSAttributesInputDict]

The input fields as keyword arguments.

{}

Returns:

Type Description
GetSMSAttributesOutput

An instance of GetSMSAttributesOutput.

Input

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

GetSMSAttributesInputDict

Bases: TypedDict

Dictionary form of GetSMSAttributesInput.

Attributes

attributes instance-attribute
attributes: Sequence[str] | None

A list of the individual attribute names, such as MonthlySpendLimit, for which you want values.

For all attribute names, see SetSMSAttributes.

If you don't use this parameter, Amazon SNS returns all SMS attributes.

GetSMSAttributesInput dataclass

Bases: _SerdeShape

The input for the GetSMSAttributes request.

Attributes

attributes class-attribute instance-attribute
attributes: list[str] | None = ...

A list of the individual attribute names, such as MonthlySpendLimit, for which you want values.

For all attribute names, see SetSMSAttributes.

If you don't use this parameter, Amazon SNS returns all SMS attributes.

Output

GetSMSAttributesOutput dataclass

Bases: _SerdeShape

The response from the GetSMSAttributes request.

Attributes

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

The SMS attribute names and their values.

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.