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

Class: Aws::Pinpoint::Types::AddressConfiguration

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

Overview

Note:

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

{
  body_override: "__string",
  channel_type: "GCM", # accepts GCM, APNS, APNS_SANDBOX, APNS_VOIP, APNS_VOIP_SANDBOX, ADM, SMS, EMAIL, BAIDU
  context: {
    "__string" => "__string",
  },
  raw_content: "__string",
  substitutions: {
    "__string" => ["__string"],
  },
  title_override: "__string",
}

Address configuration.

Instance Attribute Summary collapse

Instance Attribute Details

#body_overrideString

Body override. If specified will override default body.

Returns:

  • (String)

    Body override.

#channel_typeString

The channel type. Valid values: GCM | APNS | SMS | EMAIL

Possible values:

  • GCM
  • APNS
  • APNS_SANDBOX
  • APNS_VOIP
  • APNS_VOIP_SANDBOX
  • ADM
  • SMS
  • EMAIL
  • BAIDU

Returns:

  • (String)

    The channel type.

#contextHash<String,String>

Returns:

  • (Hash<String,String>)

#raw_contentString

The Raw JSON formatted string to be used as the payload. This value overrides the message.

Returns:

  • (String)

    The Raw JSON formatted string to be used as the payload.

#substitutionsHash<String,Array<String>>

Returns:

  • (Hash<String,Array<String>>)

#title_overrideString

Title override. If specified will override default title if applicable.

Returns:

  • (String)

    Title override.