libZSservicesZSamazonka-dsZSamazonka-ds
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.DirectoryService.Types.LogSubscription

Description

 
Synopsis

Documentation

data LogSubscription Source #

Represents a log subscription, which tracks real-time data from a chosen log group to a specified destination.

See: newLogSubscription smart constructor.

Constructors

LogSubscription' 

Fields

Instances

Instances details
Eq LogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.LogSubscription

Read LogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.LogSubscription

Show LogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.LogSubscription

Generic LogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.LogSubscription

Associated Types

type Rep LogSubscription :: Type -> Type #

NFData LogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.LogSubscription

Methods

rnf :: LogSubscription -> () #

Hashable LogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.LogSubscription

FromJSON LogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.LogSubscription

type Rep LogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.Types.LogSubscription

type Rep LogSubscription = D1 ('MetaData "LogSubscription" "Amazonka.DirectoryService.Types.LogSubscription" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "LogSubscription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "logGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "subscriptionCreatedDateTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))))

newLogSubscription :: LogSubscription Source #

Create a value of LogSubscription 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:directoryId:LogSubscription', logSubscription_directoryId - Identifier (ID) of the directory that you want to associate with the log subscription.

$sel:logGroupName:LogSubscription', logSubscription_logGroupName - The name of the log group.

$sel:subscriptionCreatedDateTime:LogSubscription', logSubscription_subscriptionCreatedDateTime - The date and time that the log subscription was created.

logSubscription_directoryId :: Lens' LogSubscription (Maybe Text) Source #

Identifier (ID) of the directory that you want to associate with the log subscription.

logSubscription_subscriptionCreatedDateTime :: Lens' LogSubscription (Maybe UTCTime) Source #

The date and time that the log subscription was created.