Class: Aws::WorkDocs::Types::SharePrincipal
- Inherits:
-
Struct
- Object
- Struct
- Aws::WorkDocs::Types::SharePrincipal
- Defined in:
- gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb
Overview
Note:
When making an API call, you may pass SharePrincipal data as a hash:
{
id: "IdType", # required
type: "USER", # required, accepts USER, GROUP, INVITE, ANONYMOUS, ORGANIZATION
role: "VIEWER", # required, accepts VIEWER, CONTRIBUTOR, OWNER, COOWNER
}
Describes the recipient type and ID, if available.
Constant Summary collapse
- SENSITIVE =
[]
Instance Attribute Summary collapse
-
#id ⇒ String
The ID of the recipient.
-
#role ⇒ String
The role of the recipient.
-
#type ⇒ String
The type of the recipient.
Instance Attribute Details
#id ⇒ String
The ID of the recipient.
2740 2741 2742 2743 2744 2745 2746 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2740 class SharePrincipal < Struct.new( :id, :type, :role) SENSITIVE = [] include Aws::Structure end |
#role ⇒ String
The role of the recipient.
2740 2741 2742 2743 2744 2745 2746 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2740 class SharePrincipal < Struct.new( :id, :type, :role) SENSITIVE = [] include Aws::Structure end |
#type ⇒ String
The type of the recipient.
2740 2741 2742 2743 2744 2745 2746 |
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2740 class SharePrincipal < Struct.new( :id, :type, :role) SENSITIVE = [] include Aws::Structure end |