NAME

Paws::WorkMail::CreateUser - Arguments for method CreateUser on Paws::WorkMail

DESCRIPTION

This class represents the parameters used for calling the method CreateUser on the Amazon WorkMail service. Use the attributes of this class as arguments to method CreateUser.

You shouldn't make instances of this class. Each attribute should be used as a named argument in the call to CreateUser.

SYNOPSIS

my $workmail = Paws->service('WorkMail');
my $CreateUserResponse = $workmail->CreateUser(
  DisplayName    => 'MyString',
  Name           => 'MyUserName',
  OrganizationId => 'MyOrganizationId',
  Password       => 'MyPassword',

);

# Results:
my $UserId = $CreateUserResponse->UserId;

# Returns a L<Paws::WorkMail::CreateUserResponse> object.

Values for attributes that are native types (Int, String, Float, etc) can passed as-is (scalar values). Values for complex Types (objects) can be passed as a HashRef. The keys and values of the hashref will be used to instance the underlying object. For the AWS API documentation, see https://docs.aws.amazon.com/goto/WebAPI/workmail/CreateUser

ATTRIBUTES

REQUIRED DisplayName => Str

The display name for the new user.

REQUIRED Name => Str

The name for the new user. WorkMail directory user names have a maximum length of 64. All others have a maximum length of 20.

REQUIRED OrganizationId => Str

The identifier of the organization for which the user is created.

REQUIRED Password => Str

The password for the new user.

SEE ALSO

This class forms part of Paws, documenting arguments for method CreateUser in Paws::WorkMail

BUGS and CONTRIBUTIONS

The source code is located here: https://github.com/pplu/aws-sdk-perl

Please report bugs to: https://github.com/pplu/aws-sdk-perl/issues