/AWS1/IF_IAM=>PUTACCOUNTPROPERTIES()¶
About PutAccountProperties¶
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.
Method Signature¶
METHODS /AWS1/IF_IAM~PUTACCOUNTPROPERTIES
IMPORTING
!IT_PROPERTIES TYPE /AWS1/CL_IAMACCTPROPSMAPTYPE_W=>TT_ACCOUNTPROPERTIESMAPTYPE OPTIONAL
RETURNING
VALUE(OO_OUTPUT) TYPE REF TO /aws1/cl_iamputaccountpropsrsp
RAISING
/AWS1/CX_IAMCONCURRENTMODEX
/AWS1/CX_IAMINVALIDINPUTEX
/AWS1/CX_IAMSERVICEFAILUREEX
/AWS1/CX_IAMCLIENTEXC
/AWS1/CX_IAMSERVEREXC
/AWS1/CX_RT_TECHNICAL_GENERIC
/AWS1/CX_RT_SERVICE_GENERIC.
IMPORTING¶
Required arguments:¶
it_properties TYPE /AWS1/CL_IAMACCTPROPSMAPTYPE_W=>TT_ACCOUNTPROPERTIESMAPTYPE TT_ACCOUNTPROPERTIESMAPTYPE¶
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
trueorfalse.
RETURNING¶
oo_output TYPE REF TO /aws1/cl_iamputaccountpropsrsp /AWS1/CL_IAMPUTACCOUNTPROPSRSP¶
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->putaccountproperties(
it_properties = VALUE /aws1/cl_iamacctpropsmaptype_w=>tt_accountpropertiesmaptype(
(
VALUE /aws1/cl_iamacctpropsmaptype_w=>ts_accountpropsmaptype_maprow(
key = |string|
value = new /aws1/cl_iamacctpropsmaptype_w( |string| )
)
)
)
).
This is an example of reading all possible response values
lo_result = lo_result.
IF lo_result IS NOT INITIAL.
ENDIF.