Class: Aws::WorkMail::Types::Permission

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-workmail/types.rb

Overview

Permission granted to a user, group, or resource to access a certain aspect of another user, group, or resource mailbox.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#grantee_idString

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

Returns:

  • (String)


4270
4271
4272
4273
4274
4275
4276
# File 'lib/aws-sdk-workmail/types.rb', line 4270

class Permission < Struct.new(
  :grantee_id,
  :grantee_type,
  :permission_values)
  SENSITIVE = []
  include Aws::Structure
end

#grantee_typeString

The type of user, group, or resource referred to in GranteeId.

Returns:

  • (String)


4270
4271
4272
4273
4274
4275
4276
# File 'lib/aws-sdk-workmail/types.rb', line 4270

class Permission < Struct.new(
  :grantee_id,
  :grantee_type,
  :permission_values)
  SENSITIVE = []
  include Aws::Structure
end

#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>)


4270
4271
4272
4273
4274
4275
4276
# File 'lib/aws-sdk-workmail/types.rb', line 4270

class Permission < Struct.new(
  :grantee_id,
  :grantee_type,
  :permission_values)
  SENSITIVE = []
  include Aws::Structure
end