You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::WorkDocs::Types::SharePrincipal
- Inherits:
-
Struct
- Object
- Struct
- Aws::WorkDocs::Types::SharePrincipal
- Defined in:
- (unknown)
Overview
Note:
When passing SharePrincipal as input to an Aws::Client method, you can use a vanilla 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.
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.
#role ⇒ String
The role of the recipient.
Possible values:
- VIEWER
- CONTRIBUTOR
- OWNER
- COOWNER
#type ⇒ String
The type of the recipient.
Possible values:
- USER
- GROUP
- INVITE
- ANONYMOUS
- ORGANIZATION