Options
All
  • Public
  • Public/Protected
  • All
Menu

Class CreateUserCommand

Creates a new IAM user for your Amazon Web Services account.

For information about quotas for the number of IAM users you can create, see IAM and STS quotas in the IAM User Guide.

example

Use a bare-bones client and the command you need to make an API call.

import { IAMClient, CreateUserCommand } from "@aws-sdk/client-iam"; // ES Modules import
// const { IAMClient, CreateUserCommand } = require("@aws-sdk/client-iam"); // CommonJS import
const client = new IAMClient(config);
const command = new CreateUserCommand(input);
const response = await client.send(command);
see

CreateUserCommandInput for command's input shape.

see

CreateUserCommandOutput for command's response shape.

see

config for IAMClient's config shape.

Hierarchy

Implements

Index

Constructors

constructor

Properties

Readonly input

input: CreateUserCommandInput

Readonly middlewareStack

middlewareStack: IMiddlewareStack<CreateUserCommandInput, CreateUserCommandOutput>

Methods

Static getEndpointParameterInstructions