Class: Aws::CognitoIdentityProvider::Types::NotifyEmailType

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

Overview

The template for email messages that advanced security features sends to a user when your threat protection automated response has a Notify action.

This data type is a request parameter of [SetRiskConfiguration] and a response parameter of [DescribeRiskConfiguration].

[1]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_SetRiskConfiguration.html [2]: docs.aws.amazon.com/cognito-user-identity-pools/latest/APIReference/API_DescribeRiskConfiguration.html

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#html_bodyString

The body of an email notification formatted in HTML. Choose an ‘HtmlBody` or a `TextBody` to send an HTML-formatted or plaintext message, respectively.

Returns:

  • (String)


8579
8580
8581
8582
8583
8584
8585
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 8579

class NotifyEmailType < Struct.new(
  :subject,
  :html_body,
  :text_body)
  SENSITIVE = []
  include Aws::Structure
end

#subjectString

The subject of the threat protection email notification.

Returns:

  • (String)


8579
8580
8581
8582
8583
8584
8585
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 8579

class NotifyEmailType < Struct.new(
  :subject,
  :html_body,
  :text_body)
  SENSITIVE = []
  include Aws::Structure
end

#text_bodyString

The body of an email notification formatted in plaintext. Choose an ‘HtmlBody` or a `TextBody` to send an HTML-formatted or plaintext message, respectively.

Returns:

  • (String)


8579
8580
8581
8582
8583
8584
8585
# File 'lib/aws-sdk-cognitoidentityprovider/types.rb', line 8579

class NotifyEmailType < Struct.new(
  :subject,
  :html_body,
  :text_body)
  SENSITIVE = []
  include Aws::Structure
end