libZSservicesZSamazonka-workdocsZSamazonka-workdocs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.WorkDocs.Types.NotificationOptions

Description

 
Synopsis

Documentation

data NotificationOptions Source #

Set of options which defines notification preferences of given action.

See: newNotificationOptions smart constructor.

Constructors

NotificationOptions' 

Fields

Instances

Instances details
Eq NotificationOptions Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.NotificationOptions

Show NotificationOptions Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.NotificationOptions

Generic NotificationOptions Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.NotificationOptions

Associated Types

type Rep NotificationOptions :: Type -> Type #

NFData NotificationOptions Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.NotificationOptions

Methods

rnf :: NotificationOptions -> () #

Hashable NotificationOptions Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.NotificationOptions

ToJSON NotificationOptions Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.NotificationOptions

type Rep NotificationOptions Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.NotificationOptions

type Rep NotificationOptions = D1 ('MetaData "NotificationOptions" "Amazonka.WorkDocs.Types.NotificationOptions" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "NotificationOptions'" 'PrefixI 'True) (S1 ('MetaSel ('Just "emailMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive Text))) :*: S1 ('MetaSel ('Just "sendEmail") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newNotificationOptions :: NotificationOptions Source #

Create a value of NotificationOptions with all optional fields omitted.

Use generic-lens or optics to modify other optional fields.

The following record fields are available, with the corresponding lenses provided for backwards compatibility:

$sel:emailMessage:NotificationOptions', notificationOptions_emailMessage - Text value to be included in the email body.

$sel:sendEmail:NotificationOptions', notificationOptions_sendEmail - Boolean value to indicate an email notification should be sent to the receipients.

notificationOptions_emailMessage :: Lens' NotificationOptions (Maybe Text) Source #

Text value to be included in the email body.

notificationOptions_sendEmail :: Lens' NotificationOptions (Maybe Bool) Source #

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