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

Description

Creates a subscription to forward real-time Directory Service domain controller security logs to the specified Amazon CloudWatch log group in your Amazon Web Services account.

Synopsis

Creating a Request

data CreateLogSubscription Source #

See: newCreateLogSubscription smart constructor.

Constructors

CreateLogSubscription' 

Fields

  • directoryId :: Text

    Identifier of the directory to which you want to subscribe and receive real-time logs to your specified CloudWatch log group.

  • logGroupName :: Text

    The name of the CloudWatch log group where the real-time domain controller logs are forwarded.

Instances

Instances details
Eq CreateLogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

Read CreateLogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

Show CreateLogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

Generic CreateLogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

Associated Types

type Rep CreateLogSubscription :: Type -> Type #

NFData CreateLogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

Methods

rnf :: CreateLogSubscription -> () #

Hashable CreateLogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

ToJSON CreateLogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

AWSRequest CreateLogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

Associated Types

type AWSResponse CreateLogSubscription #

ToHeaders CreateLogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

ToPath CreateLogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

ToQuery CreateLogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

type Rep CreateLogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

type Rep CreateLogSubscription = D1 ('MetaData "CreateLogSubscription" "Amazonka.DirectoryService.CreateLogSubscription" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "CreateLogSubscription'" 'PrefixI 'True) (S1 ('MetaSel ('Just "directoryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "logGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))
type AWSResponse CreateLogSubscription Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

newCreateLogSubscription Source #

Create a value of CreateLogSubscription 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:CreateLogSubscription', createLogSubscription_directoryId - Identifier of the directory to which you want to subscribe and receive real-time logs to your specified CloudWatch log group.

$sel:logGroupName:CreateLogSubscription', createLogSubscription_logGroupName - The name of the CloudWatch log group where the real-time domain controller logs are forwarded.

Request Lenses

createLogSubscription_directoryId :: Lens' CreateLogSubscription Text Source #

Identifier of the directory to which you want to subscribe and receive real-time logs to your specified CloudWatch log group.

createLogSubscription_logGroupName :: Lens' CreateLogSubscription Text Source #

The name of the CloudWatch log group where the real-time domain controller logs are forwarded.

Destructuring the Response

data CreateLogSubscriptionResponse Source #

See: newCreateLogSubscriptionResponse smart constructor.

Constructors

CreateLogSubscriptionResponse' 

Fields

Instances

Instances details
Eq CreateLogSubscriptionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

Read CreateLogSubscriptionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

Show CreateLogSubscriptionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

Generic CreateLogSubscriptionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

Associated Types

type Rep CreateLogSubscriptionResponse :: Type -> Type #

NFData CreateLogSubscriptionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

type Rep CreateLogSubscriptionResponse Source # 
Instance details

Defined in Amazonka.DirectoryService.CreateLogSubscription

type Rep CreateLogSubscriptionResponse = D1 ('MetaData "CreateLogSubscriptionResponse" "Amazonka.DirectoryService.CreateLogSubscription" "libZSservicesZSamazonka-dsZSamazonka-ds" 'False) (C1 ('MetaCons "CreateLogSubscriptionResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateLogSubscriptionResponse Source #

Create a value of CreateLogSubscriptionResponse 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:httpStatus:CreateLogSubscriptionResponse', createLogSubscriptionResponse_httpStatus - The response's http status code.

Response Lenses