Class: Aws::WorkSpacesWeb::Types::TagResourceRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[:tags]

Instance Attribute Summary collapse

Instance Attribute Details

#client_tokenString

A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully, subsequent retries with the same client token returns the result from the original successful request.

If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.

A suitable default value is auto-generated. You should normally not need to pass this option.

Returns:

  • (String)


2684
2685
2686
2687
2688
2689
2690
# File 'gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/types.rb', line 2684

class TagResourceRequest < Struct.new(
  :client_token,
  :resource_arn,
  :tags)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#resource_arnString

The ARN of the resource.

Returns:

  • (String)


2684
2685
2686
2687
2688
2689
2690
# File 'gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/types.rb', line 2684

class TagResourceRequest < Struct.new(
  :client_token,
  :resource_arn,
  :tags)
  SENSITIVE = [:tags]
  include Aws::Structure
end

#tagsArray<Types::Tag>

The tags of the resource.

Returns:



2684
2685
2686
2687
2688
2689
2690
# File 'gems/aws-sdk-workspacesweb/lib/aws-sdk-workspacesweb/types.rb', line 2684

class TagResourceRequest < Struct.new(
  :client_token,
  :resource_arn,
  :tags)
  SENSITIVE = [:tags]
  include Aws::Structure
end