The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

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

DESCRIPTION

This class represents the parameters used for calling the method CreateUser on the Amazon WorkDocs 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 $workdocs = Paws->service('WorkDocs');
    my $CreateUserResponse = $workdocs->CreateUser(
      GivenName           => 'MyUserAttributeValueType',
      Password            => 'MyPasswordType',
      Surname             => 'MyUserAttributeValueType',
      Username            => 'MyUsernameType',
      AuthenticationToken => 'MyAuthenticationHeaderType',    # OPTIONAL
      EmailAddress        => 'MyEmailAddressType',            # OPTIONAL
      OrganizationId      => 'MyIdType',                      # OPTIONAL
      StorageRule         => {
        StorageAllocatedInBytes => 1,                         # OPTIONAL
        StorageType => 'UNLIMITED',    # values: UNLIMITED, QUOTA; OPTIONAL
      },    # OPTIONAL
      TimeZoneId => 'MyTimeZoneIdType',    # OPTIONAL
    );

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

    # Returns a L<Paws::WorkDocs::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/workdocs/CreateUser

ATTRIBUTES

AuthenticationToken => Str

Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.

EmailAddress => Str

The email address of the user.

REQUIRED GivenName => Str

The given name of the user.

OrganizationId => Str

The ID of the organization.

REQUIRED Password => Str

The password of the user.

StorageRule => Paws::WorkDocs::StorageRuleType

The amount of storage for the user.

REQUIRED Surname => Str

The surname of the user.

TimeZoneId => Str

The time zone ID of the user.

REQUIRED Username => Str

The login name of the user.

SEE ALSO

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

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