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

Class: Aws::WorkDocs::Types::NotificationOptions

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

Overview

Note:

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

{
  send_email: false,
  email_message: "MessageType",
}

Set of options which defines notification preferences of given action.

Instance Attribute Summary collapse

Instance Attribute Details

#email_messageString

Text value to be included in the email body.

Returns:

  • (String)


2117
2118
2119
2120
2121
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2117

class NotificationOptions < Struct.new(
  :send_email,
  :email_message)
  include Aws::Structure
end

#send_emailBoolean

Boolean value to indicate an email notification should be sent to the receipients.

Returns:

  • (Boolean)


2117
2118
2119
2120
2121
# File 'gems/aws-sdk-workdocs/lib/aws-sdk-workdocs/types.rb', line 2117

class NotificationOptions < Struct.new(
  :send_email,
  :email_message)
  include Aws::Structure
end