Class: Aws::MailManager::Types::BounceAction

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

Overview

The action to send a bounce response for the email. When executed, this action generates a non-delivery report (bounce) back to the sender.

Constant Summary collapse

SENSITIVE =
[:sender, :diagnostic_message, :message]

Instance Attribute Summary collapse

Instance Attribute Details

#action_failure_policyString

A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the caller does not have the permissions to call the SendBounce API.

Returns:

  • (String)


441
442
443
444
445
446
447
448
449
450
451
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 441

class BounceAction < Struct.new(
  :action_failure_policy,
  :role_arn,
  :sender,
  :status_code,
  :smtp_reply_code,
  :diagnostic_message,
  :message)
  SENSITIVE = [:sender, :diagnostic_message, :message]
  include Aws::Structure
end

#diagnostic_messageString

The diagnostic message included in the Diagnostic-Code header of the bounce.

Returns:

  • (String)


441
442
443
444
445
446
447
448
449
450
451
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 441

class BounceAction < Struct.new(
  :action_failure_policy,
  :role_arn,
  :sender,
  :status_code,
  :smtp_reply_code,
  :diagnostic_message,
  :message)
  SENSITIVE = [:sender, :diagnostic_message, :message]
  include Aws::Structure
end

#messageString

The human-readable text to include in the bounce message.

Returns:

  • (String)


441
442
443
444
445
446
447
448
449
450
451
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 441

class BounceAction < Struct.new(
  :action_failure_policy,
  :role_arn,
  :sender,
  :status_code,
  :smtp_reply_code,
  :diagnostic_message,
  :message)
  SENSITIVE = [:sender, :diagnostic_message, :message]
  include Aws::Structure
end

#role_arnString

The Amazon Resource Name (ARN) of the IAM role to use to send the bounce message.

Returns:

  • (String)


441
442
443
444
445
446
447
448
449
450
451
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 441

class BounceAction < Struct.new(
  :action_failure_policy,
  :role_arn,
  :sender,
  :status_code,
  :smtp_reply_code,
  :diagnostic_message,
  :message)
  SENSITIVE = [:sender, :diagnostic_message, :message]
  include Aws::Structure
end

#senderString

The sender email address of the bounce message.

Returns:

  • (String)


441
442
443
444
445
446
447
448
449
450
451
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 441

class BounceAction < Struct.new(
  :action_failure_policy,
  :role_arn,
  :sender,
  :status_code,
  :smtp_reply_code,
  :diagnostic_message,
  :message)
  SENSITIVE = [:sender, :diagnostic_message, :message]
  include Aws::Structure
end

#smtp_reply_codeString

The SMTP reply code for the bounce, as defined by RFC 5321.

Returns:

  • (String)


441
442
443
444
445
446
447
448
449
450
451
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 441

class BounceAction < Struct.new(
  :action_failure_policy,
  :role_arn,
  :sender,
  :status_code,
  :smtp_reply_code,
  :diagnostic_message,
  :message)
  SENSITIVE = [:sender, :diagnostic_message, :message]
  include Aws::Structure
end

#status_codeString

The enhanced status code for the bounce, in the format of x.y.z (e.g. 5.1.1).

Returns:

  • (String)


441
442
443
444
445
446
447
448
449
450
451
# File 'gems/aws-sdk-mailmanager/lib/aws-sdk-mailmanager/types.rb', line 441

class BounceAction < Struct.new(
  :action_failure_policy,
  :role_arn,
  :sender,
  :status_code,
  :smtp_reply_code,
  :diagnostic_message,
  :message)
  SENSITIVE = [:sender, :diagnostic_message, :message]
  include Aws::Structure
end