Class: Aws::WorkDocs::Types::RemoveResourcePermissionRequest

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

Overview

Note:

When making an API call, you may pass RemoveResourcePermissionRequest data as a hash:

{
  authentication_token: "AuthenticationHeaderType",
  resource_id: "ResourceIdType", # required
  principal_id: "IdType", # required
  principal_type: "USER", # accepts USER, GROUP, INVITE, ANONYMOUS, ORGANIZATION
}

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_tokenString

Amazon WorkDocs authentication token. Do not set this field when using administrative API actions, as in accessing the API using AWS credentials.

Returns:

  • (String)


2337
2338
2339
2340
2341
2342
2343
# File 'lib/aws-sdk-workdocs/types.rb', line 2337

class RemoveResourcePermissionRequest < Struct.new(
  :authentication_token,
  :resource_id,
  :principal_id,
  :principal_type)
  include Aws::Structure
end

#principal_idString

The principal ID of the resource.

Returns:

  • (String)


2337
2338
2339
2340
2341
2342
2343
# File 'lib/aws-sdk-workdocs/types.rb', line 2337

class RemoveResourcePermissionRequest < Struct.new(
  :authentication_token,
  :resource_id,
  :principal_id,
  :principal_type)
  include Aws::Structure
end

#principal_typeString

The principal type of the resource.

Returns:

  • (String)


2337
2338
2339
2340
2341
2342
2343
# File 'lib/aws-sdk-workdocs/types.rb', line 2337

class RemoveResourcePermissionRequest < Struct.new(
  :authentication_token,
  :resource_id,
  :principal_id,
  :principal_type)
  include Aws::Structure
end

#resource_idString

The ID of the resource.

Returns:

  • (String)


2337
2338
2339
2340
2341
2342
2343
# File 'lib/aws-sdk-workdocs/types.rb', line 2337

class RemoveResourcePermissionRequest < Struct.new(
  :authentication_token,
  :resource_id,
  :principal_id,
  :principal_type)
  include Aws::Structure
end