/AWS1/CL_IAM=>CREATEACCOUNTALIAS()
¶
About CreateAccountAlias¶
Creates an alias for your Amazon Web Services account. For information about using an Amazon Web Services account alias, see Creating, deleting, and listing an Amazon Web Services account alias in the Amazon Web Services Sign-In User Guide.
Method Signature¶
IMPORTING¶
Required arguments:¶
iv_accountalias
TYPE /AWS1/IAMACCOUNTALIASTYPE
/AWS1/IAMACCOUNTALIASTYPE
¶
The account alias to create.
This parameter allows (through its regex pattern) a string of characters consisting of lowercase letters, digits, and dashes. You cannot start or finish with a dash, nor can you have two dashes in a row.
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.
lo_client->/aws1/if_iam~createaccountalias( |string| ).
To create an account alias¶
The following command associates the alias examplecorp to your AWS account.
lo_client->/aws1/if_iam~createaccountalias( |examplecorp| ).