Class: Aws::Pinpoint::Types::InAppTemplateRequest

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-pinpoint/types.rb

Overview

In-App Template Request.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contentArray<Types::InAppMessageContent>

The content of the message, can include up to 5 modals. Each modal must contain a message, a header, and background color. ImageUrl and buttons are optional.

Returns:



8111
8112
8113
8114
8115
8116
8117
8118
8119
# File 'lib/aws-sdk-pinpoint/types.rb', line 8111

class InAppTemplateRequest < Struct.new(
  :content,
  :custom_config,
  :layout,
  :tags,
  :template_description)
  SENSITIVE = []
  include Aws::Structure
end

#custom_configHash<String,String>

Custom config to be sent to client.

Returns:

  • (Hash<String,String>)


8111
8112
8113
8114
8115
8116
8117
8118
8119
# File 'lib/aws-sdk-pinpoint/types.rb', line 8111

class InAppTemplateRequest < Struct.new(
  :content,
  :custom_config,
  :layout,
  :tags,
  :template_description)
  SENSITIVE = []
  include Aws::Structure
end

#layoutString

The layout of the message.

Returns:

  • (String)


8111
8112
8113
8114
8115
8116
8117
8118
8119
# File 'lib/aws-sdk-pinpoint/types.rb', line 8111

class InAppTemplateRequest < Struct.new(
  :content,
  :custom_config,
  :layout,
  :tags,
  :template_description)
  SENSITIVE = []
  include Aws::Structure
end

#tagsHash<String,String>

<note markdown=“1”>As of 22-05-2023 tags has been deprecated for update operations. After this date any value in tags is not processed and an error code is not returned. To manage tags we recommend using either [Tags] in the *API Reference for Amazon Pinpoint*,

resourcegroupstaggingapi][2

commands in the *AWS Command Line

Interface Documentation* or [resourcegroupstaggingapi] in the *AWS SDK*.

</note>

(Deprecated) A string-to-string map of key-value pairs that defines the tags to associate with the message template. Each tag consists of a required tag key and an associated tag value.

[1]: docs.aws.amazon.com/pinpoint/latest/apireference/tags-resource-arn.html [2]: docs.aws.amazon.com/cli/latest/reference/resourcegroupstaggingapi/index.html [3]: sdk.amazonaws.com/java/api/latest/software/amazon/awssdk/services/resourcegroupstaggingapi/package-summary.html

Returns:

  • (Hash<String,String>)


8111
8112
8113
8114
8115
8116
8117
8118
8119
# File 'lib/aws-sdk-pinpoint/types.rb', line 8111

class InAppTemplateRequest < Struct.new(
  :content,
  :custom_config,
  :layout,
  :tags,
  :template_description)
  SENSITIVE = []
  include Aws::Structure
end

#template_descriptionString

The description of the template.

Returns:

  • (String)


8111
8112
8113
8114
8115
8116
8117
8118
8119
# File 'lib/aws-sdk-pinpoint/types.rb', line 8111

class InAppTemplateRequest < Struct.new(
  :content,
  :custom_config,
  :layout,
  :tags,
  :template_description)
  SENSITIVE = []
  include Aws::Structure
end