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.Subscription

Description

 
Synopsis

Documentation

data Subscription Source #

Describes a subscription.

See: newSubscription smart constructor.

Constructors

Subscription' 

Fields

Instances

Instances details
Eq Subscription Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.Subscription

Read Subscription Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.Subscription

Show Subscription Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.Subscription

Generic Subscription Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.Subscription

Associated Types

type Rep Subscription :: Type -> Type #

NFData Subscription Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.Subscription

Methods

rnf :: Subscription -> () #

Hashable Subscription Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.Subscription

FromJSON Subscription Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.Subscription

type Rep Subscription Source # 
Instance details

Defined in Amazonka.WorkDocs.Types.Subscription

type Rep Subscription = D1 ('MetaData "Subscription" "Amazonka.WorkDocs.Types.Subscription" "libZSservicesZSamazonka-workdocsZSamazonka-workdocs" 'False) (C1 ('MetaCons "Subscription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "protocol") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SubscriptionProtocolType)) :*: (S1 ('MetaSel ('Just "endPoint") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subscriptionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newSubscription :: Subscription Source #

Create a value of Subscription 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:protocol:Subscription', subscription_protocol - The protocol of the subscription.

$sel:endPoint:Subscription', subscription_endPoint - The endpoint of the subscription.

$sel:subscriptionId:Subscription', subscription_subscriptionId - The ID of the subscription.

subscription_endPoint :: Lens' Subscription (Maybe Text) Source #

The endpoint of the subscription.