Class: Aws::Pinpoint::Types::InAppMessageButton

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

Overview

Note:

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

{
  android: {
    button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
    link: "__string",
  },
  default_config: {
    background_color: "__string",
    border_radius: 1,
    button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
    link: "__string",
    text: "__string", # required
    text_color: "__string",
  },
  ios: {
    button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
    link: "__string",
  },
  web: {
    button_action: "LINK", # required, accepts LINK, DEEP_LINK, CLOSE
    link: "__string",
  },
}

Button Config for an in-app message.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#androidTypes::OverrideButtonConfiguration

Default button content.



11176
11177
11178
11179
11180
11181
11182
11183
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 11176

class InAppMessageButton < Struct.new(
  :android,
  :default_config,
  :ios,
  :web)
  SENSITIVE = []
  include Aws::Structure
end

#default_configTypes::DefaultButtonConfiguration

Default button content.



11176
11177
11178
11179
11180
11181
11182
11183
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 11176

class InAppMessageButton < Struct.new(
  :android,
  :default_config,
  :ios,
  :web)
  SENSITIVE = []
  include Aws::Structure
end

#iosTypes::OverrideButtonConfiguration

Default button content.



11176
11177
11178
11179
11180
11181
11182
11183
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 11176

class InAppMessageButton < Struct.new(
  :android,
  :default_config,
  :ios,
  :web)
  SENSITIVE = []
  include Aws::Structure
end

#webTypes::OverrideButtonConfiguration

Default button content.



11176
11177
11178
11179
11180
11181
11182
11183
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 11176

class InAppMessageButton < Struct.new(
  :android,
  :default_config,
  :ios,
  :web)
  SENSITIVE = []
  include Aws::Structure
end