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

NAME

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

DESCRIPTION

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

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

SYNOPSIS

    my $workmail = Paws->service('WorkMail');
    my $PutMailboxPermissionsResponse = $workmail->PutMailboxPermissions(
      EntityId         => 'MyWorkMailIdentifier',
      GranteeId        => 'MyWorkMailIdentifier',
      OrganizationId   => 'MyOrganizationId',
      PermissionValues => [
        'FULL_ACCESS', ...    # values: FULL_ACCESS, SEND_AS, SEND_ON_BEHALF
      ],

    );

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/PutMailboxPermissions

ATTRIBUTES

REQUIRED EntityId => Str

The identifier of the user, group, or resource for which to update mailbox permissions.

REQUIRED GranteeId => Str

The identifier of the user, group, or resource to which to grant the permissions.

REQUIRED OrganizationId => Str

The identifier of the organization under which the user, group, or resource exists.

REQUIRED PermissionValues => ArrayRef[Str|Undef]

The permissions granted to the grantee. SEND_AS allows the grantee to send email as the owner of the mailbox (the grantee is not mentioned on these emails). SEND_ON_BEHALF allows the grantee to send email on behalf of the owner of the mailbox (the grantee is not mentioned as the physical sender of these emails). FULL_ACCESS allows the grantee full access to the mailbox, irrespective of other folder-level permissions set on the mailbox.

SEE ALSO

This class forms part of Paws, documenting arguments for method PutMailboxPermissions 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