/AWS1/CL_SNS=>GETSMSATTRIBUTES()
¶
About GetSMSAttributes¶
Returns the settings for sending SMS messages from your Amazon Web Services account.
These settings are set with the SetSMSAttributes
action.
Method Signature¶
IMPORTING¶
Optional arguments:¶
it_attributes
TYPE /AWS1/CL_SNSLISTSTRING_W=>TT_LISTSTRING
TT_LISTSTRING
¶
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.
RETURNING¶
oo_output
TYPE REF TO /aws1/cl_snsgetsmsattrsrsp
/AWS1/CL_SNSGETSMSATTRSRSP
¶
Domain /AWS1/RT_ACCOUNT_ID Primitive Type NUMC
Examples¶
Syntax Example¶
This is an example of the syntax for calling the method. It includes every possible argument and initializes every possible value. The data provided is not necessarily semantically accurate (for example the value "string" may be provided for something that is intended to be an instance ID, or in some cases two arguments may be mutually exclusive). The syntax shows the ABAP syntax for creating the various data structures.
DATA(lo_result) = lo_client->/aws1/if_sns~getsmsattributes(
it_attributes = VALUE /aws1/cl_snsliststring_w=>tt_liststring(
( new /aws1/cl_snsliststring_w( |string| ) )
)
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
LOOP AT lo_result->get_attributes( ) into ls_row.
lv_key = ls_row-key.
lo_value = ls_row-value.
IF lo_value IS NOT INITIAL.
lv_string = lo_value->get_value( ).
ENDIF.
ENDLOOP.
ENDIF.