Skip to content

Sns  >  Operations  >  get_sms_attributes

get_sms_attributes

Operation

get_sms_attributes async

get_sms_attributes(input: GetSMSAttributesInput, plugins: list[Plugin] | None = None) -> 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
input GetSMSAttributesInput

An instance of GetSMSAttributesInput.

required
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
GetSMSAttributesOutput

An instance of GetSMSAttributesOutput.

Input

GetSMSAttributesInput dataclass

The input for the GetSMSAttributes request.

Attributes

attributes class-attribute instance-attribute
attributes: list[str] | None = 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

The response from the GetSMSAttributes request.

Attributes

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

The SMS attribute names and their values.