Class: Aws::Pinpoint::Types::DefaultButtonConfiguration

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 DefaultButtonConfiguration data as a hash:

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

Default button configuration.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#background_colorString

The background color of the button.

Returns:

  • (String)


5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 5434

class DefaultButtonConfiguration < Struct.new(
  :background_color,
  :border_radius,
  :button_action,
  :link,
  :text,
  :text_color)
  SENSITIVE = []
  include Aws::Structure
end

#border_radiusInteger

The border radius of the button.

Returns:

  • (Integer)


5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 5434

class DefaultButtonConfiguration < Struct.new(
  :background_color,
  :border_radius,
  :button_action,
  :link,
  :text,
  :text_color)
  SENSITIVE = []
  include Aws::Structure
end

#button_actionString

Action triggered by the button.

Returns:

  • (String)


5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 5434

class DefaultButtonConfiguration < Struct.new(
  :background_color,
  :border_radius,
  :button_action,
  :link,
  :text,
  :text_color)
  SENSITIVE = []
  include Aws::Structure
end

Button destination.

Returns:

  • (String)


5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 5434

class DefaultButtonConfiguration < Struct.new(
  :background_color,
  :border_radius,
  :button_action,
  :link,
  :text,
  :text_color)
  SENSITIVE = []
  include Aws::Structure
end

#textString

Button text.

Returns:

  • (String)


5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 5434

class DefaultButtonConfiguration < Struct.new(
  :background_color,
  :border_radius,
  :button_action,
  :link,
  :text,
  :text_color)
  SENSITIVE = []
  include Aws::Structure
end

#text_colorString

The text color of the button.

Returns:

  • (String)


5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
# File 'gems/aws-sdk-pinpoint/lib/aws-sdk-pinpoint/types.rb', line 5434

class DefaultButtonConfiguration < Struct.new(
  :background_color,
  :border_radius,
  :button_action,
  :link,
  :text,
  :text_color)
  SENSITIVE = []
  include Aws::Structure
end