libZSservicesZSamazonka-opensearchZSamazonka-opensearch
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.OpenSearch.Types.LogPublishingOption

Description

 
Synopsis

Documentation

data LogPublishingOption Source #

Log Publishing option that is set for a given domain. Attributes and their details:

  • CloudWatchLogsLogGroupArn: ARN of the Cloudwatch log group to publish logs to.
  • Enabled: Whether the log publishing for a given log type is enabled or not.

See: newLogPublishingOption smart constructor.

Constructors

LogPublishingOption' 

Fields

Instances

Instances details
Eq LogPublishingOption Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.LogPublishingOption

Read LogPublishingOption Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.LogPublishingOption

Show LogPublishingOption Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.LogPublishingOption

Generic LogPublishingOption Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.LogPublishingOption

Associated Types

type Rep LogPublishingOption :: Type -> Type #

NFData LogPublishingOption Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.LogPublishingOption

Methods

rnf :: LogPublishingOption -> () #

Hashable LogPublishingOption Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.LogPublishingOption

ToJSON LogPublishingOption Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.LogPublishingOption

FromJSON LogPublishingOption Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.LogPublishingOption

type Rep LogPublishingOption Source # 
Instance details

Defined in Amazonka.OpenSearch.Types.LogPublishingOption

type Rep LogPublishingOption = D1 ('MetaData "LogPublishingOption" "Amazonka.OpenSearch.Types.LogPublishingOption" "libZSservicesZSamazonka-opensearchZSamazonka-opensearch" 'False) (C1 ('MetaCons "LogPublishingOption'" 'PrefixI 'True) (S1 ('MetaSel ('Just "enabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "cloudWatchLogsLogGroupArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newLogPublishingOption :: LogPublishingOption Source #

Create a value of LogPublishingOption 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:enabled:LogPublishingOption', logPublishingOption_enabled - Whether the given log publishing option is enabled or not.

$sel:cloudWatchLogsLogGroupArn:LogPublishingOption', logPublishingOption_cloudWatchLogsLogGroupArn - Undocumented member.

logPublishingOption_enabled :: Lens' LogPublishingOption (Maybe Bool) Source #

Whether the given log publishing option is enabled or not.