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

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 CreateLabelsRequest data as a hash:

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

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)


515
516
517
518
519
520
521
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 515

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>)


515
516
517
518
519
520
521
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 515

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)


515
516
517
518
519
520
521
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 515

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