Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateAccountAliasCommand

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.

example

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);
see

CreateAccountAliasCommandInput for command's input shape.

see

CreateAccountAliasCommandOutput for command's response shape.

see

config for IAMClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateAccountAliasCommandInput

Readonly middlewareStack

Methods

Static getEndpointParameterInstructions