Class: Aws::WorkDocs::Types::AddResourcePermissionsRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:authentication_token]

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_tokenString

Amazon WorkDocs authentication token. Not required when using Amazon Web Services administrator credentials to access the API.

Returns:

  • (String)


148
149
150
151
152
153
154
155
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 148

class AddResourcePermissionsRequest < Struct.new(
  :authentication_token,
  :resource_id,
  :principals,
  :notification_options)
  SENSITIVE = [:authentication_token]
  include Aws::Structure
end

#notification_optionsTypes::NotificationOptions

The notification options.



148
149
150
151
152
153
154
155
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 148

class AddResourcePermissionsRequest < Struct.new(
  :authentication_token,
  :resource_id,
  :principals,
  :notification_options)
  SENSITIVE = [:authentication_token]
  include Aws::Structure
end

#principalsArray<Types::SharePrincipal>

The users, groups, or organization being granted permission.

Returns:



148
149
150
151
152
153
154
155
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 148

class AddResourcePermissionsRequest < Struct.new(
  :authentication_token,
  :resource_id,
  :principals,
  :notification_options)
  SENSITIVE = [:authentication_token]
  include Aws::Structure
end

#resource_idString

The ID of the resource.

Returns:

  • (String)


148
149
150
151
152
153
154
155
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 148

class AddResourcePermissionsRequest < Struct.new(
  :authentication_token,
  :resource_id,
  :principals,
  :notification_options)
  SENSITIVE = [:authentication_token]
  include Aws::Structure
end