Creates an alias for your Amazon Web Services account. For information about using an Amazon Web Services account alias, see Using an alias for your Amazon Web Services account ID in the IAM User Guide.
Use a bare-bones client and the command you need to make an API call.
import { IAMClient, CreateAccountAliasCommand } from "@aws-sdk/client-iam"; // ES Modules import // const { IAMClient, CreateAccountAliasCommand } = require("@aws-sdk/client-iam"); // CommonJS import const client = new IAMClient(config); const command = new CreateAccountAliasCommand(input); const response = await client.send(command);
CreateAccountAliasCommandInput for command's input shape.
input
CreateAccountAliasCommandOutput for command's response shape.
response
config for IAMClient's config shape.
config
Creates an alias for your Amazon Web Services account. For information about using an Amazon Web Services account alias, see Using an alias for your Amazon Web Services account ID in the IAM User Guide.
Use a bare-bones client and the command you need to make an API call.
import { IAMClient, CreateAccountAliasCommand } from "@aws-sdk/client-iam"; // ES Modules import // const { IAMClient, CreateAccountAliasCommand } = require("@aws-sdk/client-iam"); // CommonJS import const client = new IAMClient(config); const command = new CreateAccountAliasCommand(input); const response = await client.send(command);
CreateAccountAliasCommandInput for command's
input
shape.CreateAccountAliasCommandOutput for command's
response
shape.config for IAMClient's
config
shape.