You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

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

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing RemoveResourcePermissionRequest as input to an Aws::Client method, you can use a vanilla 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. Not required when using AWS administrator credentials to access the API.

Returns:

  • (String)

    Amazon WorkDocs authentication token.

#principal_idString

The principal ID of the resource.

Returns:

  • (String)

    The principal ID of the resource.

#principal_typeString

The principal type of the resource.

Possible values:

  • USER
  • GROUP
  • INVITE
  • ANONYMOUS
  • ORGANIZATION

Returns:

  • (String)

    The principal type of the resource.

#resource_idString

The ID of the resource.

Returns:

  • (String)

    The ID of the resource.