AWS SDK for Go (PILOT)
API Reference

PREVIEW DOCUMENTATION - This is a preview of a new format for the AWS SDK for Go API Reference documentation. For the current AWS SDK for Go API Reference, see https://docs.aws.amazon.com/sdk-for-go/api/.

We welcome your feedback on this new version of the documentation. Send your comments to aws-sdkdocs-feedback@amazon.com.

PutMailboxPermissionsInput

import "github.com/aws/aws-sdk-go/service/workmail"

type PutMailboxPermissionsInput struct { EntityId *string `min:"12" type:"string" required:"true"` GranteeId *string `min:"12" type:"string" required:"true"` OrganizationId *string `type:"string" required:"true"` PermissionValues []*string `type:"list" required:"true"` }

EntityId

Type: *string

The identifier of the entity (user or group) for which to update mailbox permissions.

EntityId is a required field

GranteeId

Type: *string

The identifier of the entity (user or group) to which to grant the permissions.

GranteeId is a required field

OrganizationId

Type: *string

The identifier of the organization under which the entity (user or group) exists.

OrganizationId is a required field

PermissionValues

Type: []*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.

PermissionValues is a required field

Method

GoString

func (s PutMailboxPermissionsInput) GoString() string

GoString returns the string representation

SetEntityId

func (s *PutMailboxPermissionsInput) SetEntityId(v string) *PutMailboxPermissionsInput

SetEntityId sets the EntityId field's value.

SetGranteeId

func (s *PutMailboxPermissionsInput) SetGranteeId(v string) *PutMailboxPermissionsInput

SetGranteeId sets the GranteeId field's value.

SetOrganizationId

func (s *PutMailboxPermissionsInput) SetOrganizationId(v string) *PutMailboxPermissionsInput

SetOrganizationId sets the OrganizationId field's value.

SetPermissionValues

func (s *PutMailboxPermissionsInput) SetPermissionValues(v []*string) *PutMailboxPermissionsInput

SetPermissionValues sets the PermissionValues field's value.

String

func (s PutMailboxPermissionsInput) String() string

String returns the string representation

Validate

func (s *PutMailboxPermissionsInput) Validate() error

Validate inspects the fields of the type to determine if they are valid.

On this page: