This action creates an alias for your AWS account. For information about using an
AWS account alias, see Using an Alias for Your AWS Account ID in Using AWS Identity
and Access Management.
Declaration Syntax
C# |
CreateAccountAliasResponse CreateAccountAlias( CreateAccountAliasRequest request )
Parameters
- request (CreateAccountAliasRequest)
- Container for the necessary parameters to execute the CreateAccountAlias service method.
Return Value
The response from the CreateAccountAlias service method, as returned by IdentityManagementService.
Exceptions
Exception | Condition |
---|---|
EntityAlreadyExistsException |
The request was rejected because it attempted to create a resource that already exists.
|
LimitExceededException |
The request was rejected because it attempted to create resources beyond the current
AWS account limits. The error message describes the limit exceeded.
|