Select your cookie preferences

We use essential cookies and similar tools that are necessary to provide our site and services. We use performance cookies to collect anonymous statistics, so we can understand how customers use our site and make improvements. Essential cookies cannot be deactivated, but you can choose “Customize” or “Decline” to decline performance cookies.

If you agree, AWS and approved third parties will also use cookies to provide useful site features, remember your preferences, and display relevant content, including relevant advertising. To accept or decline all non-essential cookies, choose “Accept” or “Decline.” To make more detailed choices, choose “Customize.”

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

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)

440
441
442
443
444
445
446
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 440

class CreateLabelsRequest < Struct.new(
  :resource_id,
  :labels,
  :authentication_token)
  SENSITIVE = [:authentication_token]
  include Aws::Structure
end

#labelsArray<String>

List of labels to add to the resource.

Returns:

  • (Array<String>)

440
441
442
443
444
445
446
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 440

class CreateLabelsRequest < Struct.new(
  :resource_id,
  :labels,
  :authentication_token)
  SENSITIVE = [:authentication_token]
  include Aws::Structure
end

#resource_idString

The ID of the resource.

Returns:

  • (String)

440
441
442
443
444
445
446
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 440

class CreateLabelsRequest < Struct.new(
  :resource_id,
  :labels,
  :authentication_token)
  SENSITIVE = [:authentication_token]
  include Aws::Structure
end