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

Class: Aws::WorkDocs::Types::CreateLabelsRequest

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

Overview

Note:

When passing CreateLabelsRequest as input to an Aws::Client method, you can use a vanilla Hash:

{
  resource_id: "ResourceIdType", # required
  labels: ["Label"], # required
  authentication_token: "AuthenticationHeaderType",
}

Instance Attribute Summary collapse

Instance Attribute Details

#authentication_tokenString

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

Returns:

  • (String)

    Amazon WorkDocs authentication token.

#labelsArray<String>

List of labels to add to the resource.

Returns:

  • (Array<String>)

    List of labels to add to the resource.

#resource_idString

The ID of the resource.

Returns:

  • (String)

    The ID of the resource.