You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.
Class: Aws::WorkDocs::Types::AddResourcePermissionsRequest
- Inherits:
-
Struct
- Object
- Struct
- Aws::WorkDocs::Types::AddResourcePermissionsRequest
- Defined in:
- (unknown)
Overview
Note:
When passing AddResourcePermissionsRequest as input to an Aws::Client method, you can use a vanilla Hash:
{
authentication_token: "AuthenticationHeaderType",
resource_id: "ResourceIdType", # required
principals: [ # required
{
id: "IdType", # required
type: "USER", # required, accepts USER, GROUP, INVITE, ANONYMOUS, ORGANIZATION
role: "VIEWER", # required, accepts VIEWER, CONTRIBUTOR, OWNER, COOWNER
},
],
notification_options: {
send_email: false,
email_message: "MessageType",
},
}
Instance Attribute Summary collapse
-
#authentication_token ⇒ String
Amazon WorkDocs authentication token.
-
#notification_options ⇒ Types::NotificationOptions
The notification options.
-
#principals ⇒ Array<Types::SharePrincipal>
The users, groups, or organization being granted permission.
-
#resource_id ⇒ String
The ID of the resource.
Instance Attribute Details
#authentication_token ⇒ String
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API.
#notification_options ⇒ Types::NotificationOptions
The notification options.
#principals ⇒ Array<Types::SharePrincipal>
The users, groups, or organization being granted permission.
#resource_id ⇒ String
The ID of the resource.