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

Class: Aws::CognitoIdentityProvider::Types::TagResourceRequest

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

Overview

Note:

When making an API call, you may pass TagResourceRequest data as a hash:

{
  resource_arn: "ArnType", # required
  tags: {
    "TagKeysType" => "TagValueType",
  },
}

Instance Attribute Summary collapse

Instance Attribute Details

#resource_arnString

The Amazon Resource Name (ARN) of the user pool to assign the tags to.

Returns:

  • (String)


7012
7013
7014
7015
7016
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 7012

class TagResourceRequest < Struct.new(
  :resource_arn,
  :tags)
  include Aws::Structure
end

#tagsHash<String,String>

The tags to assign to the user pool.

Returns:

  • (Hash<String,String>)


7012
7013
7014
7015
7016
# File 'gems/aws-sdk-cognitoidentityprovider/lib/aws-sdk-cognitoidentityprovider/types.rb', line 7012

class TagResourceRequest < Struct.new(
  :resource_arn,
  :tags)
  include Aws::Structure
end