Method: Aws::IAM::Client#list_account_aliases
- Defined in:
- lib/aws-sdk-iam/client.rb
#list_account_aliases(params = {}) ⇒ Types::ListAccountAliasesResponse
Lists the account alias associated with the Amazon Web Services account (Note: you can have only one). For information about using an Amazon Web Services account alias, see [Creating, deleting, and listing an Amazon Web Services account alias] in the *IAM User Guide*.
[1]: docs.aws.amazon.com/IAM/latest/UserGuide/console_account-alias.html#CreateAccountAlias
The returned response is a pageable response and is Enumerable. For details on usage see PageableResponse.
6844 6845 6846 6847 |
# File 'lib/aws-sdk-iam/client.rb', line 6844 def list_account_aliases(params = {}, = {}) req = build_request(:list_account_aliases, params) req.send_request() end |