You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::WorkMail::Types::PutMailboxPermissionsRequest

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing PutMailboxPermissionsRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  organization_id: "OrganizationId", # required
  entity_id: "WorkMailIdentifier", # required
  grantee_id: "WorkMailIdentifier", # required
  permission_values: ["FULL_ACCESS"], # required, accepts FULL_ACCESS, SEND_AS, SEND_ON_BEHALF
}

Instance Attribute Summary collapse

Instance Attribute Details

#entity_idString

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

Returns:

  • (String)

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

#grantee_idString

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

Returns:

  • (String)

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

#organization_idString

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

Returns:

  • (String)

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

#permission_valuesArray<String>

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.

Returns:

  • (Array<String>)

    The permissions granted to the grantee.