Learn R Programming

paws.security.identity (version 0.1.12)

iam_create_account_alias: Creates an alias for your AWS account

Description

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 the IAM User Guide.

Usage

iam_create_account_alias(AccountAlias)

Value

An empty list.

Arguments

AccountAlias

[required] 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.

Request syntax

svc$create_account_alias(
  AccountAlias = "string"
)

Examples

Run this code
if (FALSE) {
# The following command associates the alias examplecorp to your AWS
# account.
svc$create_account_alias(
  AccountAlias = "examplecorp"
)
}

Run the code above in your browser using DataLab