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

Class: Aws::Pinpoint::Types::TagsModel

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

Overview

Note:

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

{
  tags: { # required
    "__string" => "__string",
  },
}

Specifies the tags (keys and values) for an application, campaign, message template, or segment.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

#tagsHash<String,String>

A string-to-string map of key-value pairs that defines the tags for an application, campaign, message template, or segment. Each of these resources can have a maximum of 50 tags.

Each tag consists of a required tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.

Returns:

  • (Hash<String,String>)

    A string-to-string map of key-value pairs that defines the tags for an application, campaign, message template, or segment.