class Aws::WorkDocs::Types::AddResourcePermissionsRequest
@note When making an API call, you may pass AddResourcePermissionsRequest
data as a 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", }, }
@!attribute [rw] authentication_token
Amazon WorkDocs authentication token. Not required when using AWS administrator credentials to access the API. @return [String]
@!attribute [rw] resource_id
The ID of the resource. @return [String]
@!attribute [rw] principals
The users, groups, or organization being granted permission. @return [Array<Types::SharePrincipal>]
@!attribute [rw] notification_options
The notification options. @return [Types::NotificationOptions]
@see docs.aws.amazon.com/goto/WebAPI/workdocs-2016-05-01/AddResourcePermissionsRequest AWS API Documentation
Constants
- SENSITIVE