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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-workmail/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)


3987
3988
3989
3990
3991
3992
3993
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 3987

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)


3987
3988
3989
3990
3991
3992
3993
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 3987

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


3987
3988
3989
3990
3991
3992
3993
# File 'gems/aws-sdk-workmail/lib/aws-sdk-workmail/types.rb', line 3987

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