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.

Samples


fun main() { 
   //sampleStart 
   // The following command associates the alias examplecorp to your AWS account.
iamClient.createAccountAlias {
    accountAlias = "examplecorp"
} 
   //sampleEnd
}