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

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-workdocs/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
}

Constant Summary collapse

SENSITIVE =
[:authentication_token]

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_tokenString

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

Returns:

  • (String)


2588
2589
2590
2591
2592
2593
2594
2595
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2588

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

#principal_idString

The principal ID of the resource.

Returns:

  • (String)


2588
2589
2590
2591
2592
2593
2594
2595
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2588

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

#principal_typeString

The principal type of the resource.

Returns:

  • (String)


2588
2589
2590
2591
2592
2593
2594
2595
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2588

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

#resource_idString

The ID of the resource.

Returns:

  • (String)


2588
2589
2590
2591
2592
2593
2594
2595
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2588

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