amazonka-cloudwatch-logs-2.0: Amazon CloudWatch Logs SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.CloudWatchLogs.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2014-03-28 of the Amazon CloudWatch Logs SDK configuration.

Errors

_DataAlreadyAcceptedException :: AsError a => Fold a ServiceError Source #

The event was already logged.

PutLogEvents actions are now always accepted and never return DataAlreadyAcceptedException regardless of whether a given batch of log events has already been accepted.

_InvalidOperationException :: AsError a => Fold a ServiceError Source #

The operation is not valid on the specified resource.

_InvalidParameterException :: AsError a => Fold a ServiceError Source #

A parameter is specified incorrectly.

_InvalidSequenceTokenException :: AsError a => Fold a ServiceError Source #

The sequence token is not valid. You can get the correct sequence token in the expectedSequenceToken field in the InvalidSequenceTokenException message.

PutLogEvents actions are now always accepted and never return InvalidSequenceTokenException regardless of receiving an invalid sequence token.

_LimitExceededException :: AsError a => Fold a ServiceError Source #

You have reached the maximum number of resources that can be created.

_MalformedQueryException :: AsError a => Fold a ServiceError Source #

The query string is not valid. Details about this error are displayed in a QueryCompileError object. For more information, see QueryCompileError.

For more information about valid query syntax, see CloudWatch Logs Insights Query Syntax.

_OperationAbortedException :: AsError a => Fold a ServiceError Source #

Multiple concurrent requests to update the same resource were in conflict.

_ResourceAlreadyExistsException :: AsError a => Fold a ServiceError Source #

The specified resource already exists.

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

The specified resource does not exist.

_ServiceUnavailableException :: AsError a => Fold a ServiceError Source #

The service cannot complete the request.

_TooManyTagsException :: AsError a => Fold a ServiceError Source #

A resource can have no more than 50 tags.

_UnrecognizedClientException :: AsError a => Fold a ServiceError Source #

The most likely cause is an Amazon Web Services access key ID or secret key that's not valid.

DataProtectionStatus

newtype DataProtectionStatus Source #

Instances

Instances details
FromJSON DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

FromJSONKey DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

ToJSON DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

ToJSONKey DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

ToByteString DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

ToHeader DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

ToLog DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

ToQuery DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

FromText DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

ToText DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

FromXML DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

ToXML DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

Generic DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

Associated Types

type Rep DataProtectionStatus :: Type -> Type #

Read DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

Show DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

NFData DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

Methods

rnf :: DataProtectionStatus -> () #

Eq DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

Ord DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

Hashable DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

type Rep DataProtectionStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.DataProtectionStatus

type Rep DataProtectionStatus = D1 ('MetaData "DataProtectionStatus" "Amazonka.CloudWatchLogs.Types.DataProtectionStatus" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'True) (C1 ('MetaCons "DataProtectionStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDataProtectionStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Distribution

newtype Distribution Source #

The method used to distribute log data to the destination, which can be either random or grouped by log stream.

Constructors

Distribution' 

Instances

Instances details
FromJSON Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

FromJSONKey Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

ToJSON Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

ToJSONKey Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

ToByteString Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

ToHeader Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

ToLog Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

ToQuery Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

FromText Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

ToText Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

Methods

toText :: Distribution -> Text #

FromXML Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

ToXML Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

Methods

toXML :: Distribution -> XML #

Generic Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

Associated Types

type Rep Distribution :: Type -> Type #

Read Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

Show Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

NFData Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

Methods

rnf :: Distribution -> () #

Eq Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

Ord Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

Hashable Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

type Rep Distribution Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Distribution

type Rep Distribution = D1 ('MetaData "Distribution" "Amazonka.CloudWatchLogs.Types.Distribution" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'True) (C1 ('MetaCons "Distribution'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDistribution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ExportTaskStatusCode

newtype ExportTaskStatusCode Source #

Instances

Instances details
FromJSON ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

FromJSONKey ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

ToJSON ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

ToJSONKey ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

ToByteString ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

ToHeader ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

ToLog ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

ToQuery ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

FromText ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

ToText ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

FromXML ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

ToXML ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

Generic ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

Associated Types

type Rep ExportTaskStatusCode :: Type -> Type #

Read ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

Show ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

NFData ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

Methods

rnf :: ExportTaskStatusCode -> () #

Eq ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

Ord ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

Hashable ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

type Rep ExportTaskStatusCode Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode

type Rep ExportTaskStatusCode = D1 ('MetaData "ExportTaskStatusCode" "Amazonka.CloudWatchLogs.Types.ExportTaskStatusCode" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'True) (C1 ('MetaCons "ExportTaskStatusCode'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromExportTaskStatusCode") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

OrderBy

newtype OrderBy Source #

Constructors

OrderBy' 

Fields

Bundled Patterns

pattern OrderBy_LastEventTime :: OrderBy 
pattern OrderBy_LogStreamName :: OrderBy 

Instances

Instances details
FromJSON OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

FromJSONKey OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

ToJSON OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

ToJSONKey OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

ToByteString OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

Methods

toBS :: OrderBy -> ByteString #

ToHeader OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

Methods

toHeader :: HeaderName -> OrderBy -> [Header] #

ToLog OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

ToQuery OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

FromText OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

ToText OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

Methods

toText :: OrderBy -> Text #

FromXML OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

ToXML OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

Methods

toXML :: OrderBy -> XML #

Generic OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

Associated Types

type Rep OrderBy :: Type -> Type #

Methods

from :: OrderBy -> Rep OrderBy x #

to :: Rep OrderBy x -> OrderBy #

Read OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

Show OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

NFData OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

Methods

rnf :: OrderBy -> () #

Eq OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

Methods

(==) :: OrderBy -> OrderBy -> Bool #

(/=) :: OrderBy -> OrderBy -> Bool #

Ord OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

Hashable OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

Methods

hashWithSalt :: Int -> OrderBy -> Int #

hash :: OrderBy -> Int #

type Rep OrderBy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OrderBy

type Rep OrderBy = D1 ('MetaData "OrderBy" "Amazonka.CloudWatchLogs.Types.OrderBy" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'True) (C1 ('MetaCons "OrderBy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromOrderBy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

QueryStatus

newtype QueryStatus Source #

Constructors

QueryStatus' 

Instances

Instances details
FromJSON QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

FromJSONKey QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

ToJSON QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

ToJSONKey QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

ToByteString QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

ToHeader QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

ToLog QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

ToQuery QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

FromText QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

ToText QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

Methods

toText :: QueryStatus -> Text #

FromXML QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

ToXML QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

Methods

toXML :: QueryStatus -> XML #

Generic QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

Associated Types

type Rep QueryStatus :: Type -> Type #

Read QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

Show QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

NFData QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

Methods

rnf :: QueryStatus -> () #

Eq QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

Ord QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

Hashable QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

type Rep QueryStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatus

type Rep QueryStatus = D1 ('MetaData "QueryStatus" "Amazonka.CloudWatchLogs.Types.QueryStatus" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'True) (C1 ('MetaCons "QueryStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromQueryStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

StandardUnit

newtype StandardUnit Source #

Constructors

StandardUnit' 

Instances

Instances details
FromJSON StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

FromJSONKey StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

ToJSON StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

ToJSONKey StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

ToByteString StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

ToHeader StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

ToLog StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

ToQuery StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

FromText StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

ToText StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

Methods

toText :: StandardUnit -> Text #

FromXML StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

ToXML StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

Methods

toXML :: StandardUnit -> XML #

Generic StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

Associated Types

type Rep StandardUnit :: Type -> Type #

Read StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

Show StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

NFData StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

Methods

rnf :: StandardUnit -> () #

Eq StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

Ord StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

Hashable StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

type Rep StandardUnit Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.StandardUnit

type Rep StandardUnit = D1 ('MetaData "StandardUnit" "Amazonka.CloudWatchLogs.Types.StandardUnit" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'True) (C1 ('MetaCons "StandardUnit'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStandardUnit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Destination

data Destination Source #

Represents a cross-account destination that receives subscription log events.

See: newDestination smart constructor.

Constructors

Destination' 

Fields

  • accessPolicy :: Maybe Text

    An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.

  • arn :: Maybe Text

    The ARN of this destination.

  • creationTime :: Maybe Natural

    The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

  • destinationName :: Maybe Text

    The name of the destination.

  • roleArn :: Maybe Text

    A role for impersonation, used when delivering log events to the target.

  • targetArn :: Maybe Text

    The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).

Instances

Instances details
FromJSON Destination Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Destination

Generic Destination Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Destination

Associated Types

type Rep Destination :: Type -> Type #

Read Destination Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Destination

Show Destination Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Destination

NFData Destination Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Destination

Methods

rnf :: Destination -> () #

Eq Destination Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Destination

Hashable Destination Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Destination

type Rep Destination Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.Destination

type Rep Destination = D1 ('MetaData "Destination" "Amazonka.CloudWatchLogs.Types.Destination" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "Destination'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "accessPolicy") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: (S1 ('MetaSel ('Just "destinationName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "targetArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newDestination :: Destination Source #

Create a value of Destination 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:accessPolicy:Destination', destination_accessPolicy - An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.

$sel:arn:Destination', destination_arn - The ARN of this destination.

$sel:creationTime:Destination', destination_creationTime - The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

$sel:destinationName:Destination', destination_destinationName - The name of the destination.

$sel:roleArn:Destination', destination_roleArn - A role for impersonation, used when delivering log events to the target.

$sel:targetArn:Destination', destination_targetArn - The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).

destination_accessPolicy :: Lens' Destination (Maybe Text) Source #

An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.

destination_arn :: Lens' Destination (Maybe Text) Source #

The ARN of this destination.

destination_creationTime :: Lens' Destination (Maybe Natural) Source #

The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

destination_roleArn :: Lens' Destination (Maybe Text) Source #

A role for impersonation, used when delivering log events to the target.

destination_targetArn :: Lens' Destination (Maybe Text) Source #

The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).

ExportTask

data ExportTask Source #

Represents an export task.

See: newExportTask smart constructor.

Constructors

ExportTask' 

Fields

Instances

Instances details
FromJSON ExportTask Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTask

Generic ExportTask Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTask

Associated Types

type Rep ExportTask :: Type -> Type #

Read ExportTask Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTask

Show ExportTask Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTask

NFData ExportTask Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTask

Methods

rnf :: ExportTask -> () #

Eq ExportTask Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTask

Hashable ExportTask Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTask

type Rep ExportTask Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTask

newExportTask :: ExportTask Source #

Create a value of ExportTask 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:destination:ExportTask', exportTask_destination - The name of the S3 bucket to which the log data was exported.

$sel:destinationPrefix:ExportTask', exportTask_destinationPrefix - The prefix that was used as the start of Amazon S3 key for every object exported.

$sel:executionInfo:ExportTask', exportTask_executionInfo - Execution information about the export task.

$sel:from:ExportTask', exportTask_from - The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp before this time are not exported.

$sel:logGroupName:ExportTask', exportTask_logGroupName - The name of the log group from which logs data was exported.

$sel:status:ExportTask', exportTask_status - The status of the export task.

$sel:taskId:ExportTask', exportTask_taskId - The ID of the export task.

$sel:taskName:ExportTask', exportTask_taskName - The name of the export task.

$sel:to:ExportTask', exportTask_to - The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.

exportTask_destination :: Lens' ExportTask (Maybe Text) Source #

The name of the S3 bucket to which the log data was exported.

exportTask_destinationPrefix :: Lens' ExportTask (Maybe Text) Source #

The prefix that was used as the start of Amazon S3 key for every object exported.

exportTask_executionInfo :: Lens' ExportTask (Maybe ExportTaskExecutionInfo) Source #

Execution information about the export task.

exportTask_from :: Lens' ExportTask (Maybe Natural) Source #

The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp before this time are not exported.

exportTask_logGroupName :: Lens' ExportTask (Maybe Text) Source #

The name of the log group from which logs data was exported.

exportTask_status :: Lens' ExportTask (Maybe ExportTaskStatus) Source #

The status of the export task.

exportTask_taskId :: Lens' ExportTask (Maybe Text) Source #

The ID of the export task.

exportTask_taskName :: Lens' ExportTask (Maybe Text) Source #

The name of the export task.

exportTask_to :: Lens' ExportTask (Maybe Natural) Source #

The end time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.

ExportTaskExecutionInfo

data ExportTaskExecutionInfo Source #

Represents the status of an export task.

See: newExportTaskExecutionInfo smart constructor.

Constructors

ExportTaskExecutionInfo' 

Fields

  • completionTime :: Maybe Natural

    The completion time of the export task, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

  • creationTime :: Maybe Natural

    The creation time of the export task, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

Instances

Instances details
FromJSON ExportTaskExecutionInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskExecutionInfo

Generic ExportTaskExecutionInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskExecutionInfo

Associated Types

type Rep ExportTaskExecutionInfo :: Type -> Type #

Read ExportTaskExecutionInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskExecutionInfo

Show ExportTaskExecutionInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskExecutionInfo

NFData ExportTaskExecutionInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskExecutionInfo

Methods

rnf :: ExportTaskExecutionInfo -> () #

Eq ExportTaskExecutionInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskExecutionInfo

Hashable ExportTaskExecutionInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskExecutionInfo

type Rep ExportTaskExecutionInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskExecutionInfo

type Rep ExportTaskExecutionInfo = D1 ('MetaData "ExportTaskExecutionInfo" "Amazonka.CloudWatchLogs.Types.ExportTaskExecutionInfo" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "ExportTaskExecutionInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "completionTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newExportTaskExecutionInfo :: ExportTaskExecutionInfo Source #

Create a value of ExportTaskExecutionInfo 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:completionTime:ExportTaskExecutionInfo', exportTaskExecutionInfo_completionTime - The completion time of the export task, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

$sel:creationTime:ExportTaskExecutionInfo', exportTaskExecutionInfo_creationTime - The creation time of the export task, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

exportTaskExecutionInfo_completionTime :: Lens' ExportTaskExecutionInfo (Maybe Natural) Source #

The completion time of the export task, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

exportTaskExecutionInfo_creationTime :: Lens' ExportTaskExecutionInfo (Maybe Natural) Source #

The creation time of the export task, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

ExportTaskStatus

data ExportTaskStatus Source #

Represents the status of an export task.

See: newExportTaskStatus smart constructor.

Constructors

ExportTaskStatus' 

Fields

Instances

Instances details
FromJSON ExportTaskStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatus

Generic ExportTaskStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatus

Associated Types

type Rep ExportTaskStatus :: Type -> Type #

Read ExportTaskStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatus

Show ExportTaskStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatus

NFData ExportTaskStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatus

Methods

rnf :: ExportTaskStatus -> () #

Eq ExportTaskStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatus

Hashable ExportTaskStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatus

type Rep ExportTaskStatus Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ExportTaskStatus

type Rep ExportTaskStatus = D1 ('MetaData "ExportTaskStatus" "Amazonka.CloudWatchLogs.Types.ExportTaskStatus" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "ExportTaskStatus'" 'PrefixI 'True) (S1 ('MetaSel ('Just "code") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ExportTaskStatusCode)) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newExportTaskStatus :: ExportTaskStatus Source #

Create a value of ExportTaskStatus 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:code:ExportTaskStatus', exportTaskStatus_code - The status code of the export task.

$sel:message:ExportTaskStatus', exportTaskStatus_message - The status message related to the status code.

exportTaskStatus_message :: Lens' ExportTaskStatus (Maybe Text) Source #

The status message related to the status code.

FilteredLogEvent

data FilteredLogEvent Source #

Represents a matched event.

See: newFilteredLogEvent smart constructor.

Constructors

FilteredLogEvent' 

Fields

Instances

Instances details
FromJSON FilteredLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.FilteredLogEvent

Generic FilteredLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.FilteredLogEvent

Associated Types

type Rep FilteredLogEvent :: Type -> Type #

Read FilteredLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.FilteredLogEvent

Show FilteredLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.FilteredLogEvent

NFData FilteredLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.FilteredLogEvent

Methods

rnf :: FilteredLogEvent -> () #

Eq FilteredLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.FilteredLogEvent

Hashable FilteredLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.FilteredLogEvent

type Rep FilteredLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.FilteredLogEvent

type Rep FilteredLogEvent = D1 ('MetaData "FilteredLogEvent" "Amazonka.CloudWatchLogs.Types.FilteredLogEvent" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "FilteredLogEvent'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "eventId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "ingestionTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "logStreamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))))

newFilteredLogEvent :: FilteredLogEvent Source #

Create a value of FilteredLogEvent 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:eventId:FilteredLogEvent', filteredLogEvent_eventId - The ID of the event.

$sel:ingestionTime:FilteredLogEvent', filteredLogEvent_ingestionTime - The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

$sel:logStreamName:FilteredLogEvent', filteredLogEvent_logStreamName - The name of the log stream to which this event belongs.

$sel:message:FilteredLogEvent', filteredLogEvent_message - The data contained in the log event.

$sel:timestamp:FilteredLogEvent', filteredLogEvent_timestamp - The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

filteredLogEvent_ingestionTime :: Lens' FilteredLogEvent (Maybe Natural) Source #

The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

filteredLogEvent_logStreamName :: Lens' FilteredLogEvent (Maybe Text) Source #

The name of the log stream to which this event belongs.

filteredLogEvent_message :: Lens' FilteredLogEvent (Maybe Text) Source #

The data contained in the log event.

filteredLogEvent_timestamp :: Lens' FilteredLogEvent (Maybe Natural) Source #

The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

InputLogEvent

data InputLogEvent Source #

Represents a log event, which is a record of activity that was recorded by the application or resource being monitored.

See: newInputLogEvent smart constructor.

Constructors

InputLogEvent' 

Fields

  • timestamp :: Natural

    The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

  • message :: Text

    The raw event message.

Instances

Instances details
ToJSON InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

Generic InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

Associated Types

type Rep InputLogEvent :: Type -> Type #

Read InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

Show InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

NFData InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

Methods

rnf :: InputLogEvent -> () #

Eq InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

Hashable InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

type Rep InputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.InputLogEvent

type Rep InputLogEvent = D1 ('MetaData "InputLogEvent" "Amazonka.CloudWatchLogs.Types.InputLogEvent" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "InputLogEvent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))

newInputLogEvent Source #

Create a value of InputLogEvent 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:timestamp:InputLogEvent', inputLogEvent_timestamp - The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

$sel:message:InputLogEvent', inputLogEvent_message - The raw event message.

inputLogEvent_timestamp :: Lens' InputLogEvent Natural Source #

The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

LogGroup

data LogGroup Source #

Represents a log group.

See: newLogGroup smart constructor.

Constructors

LogGroup' 

Fields

Instances

Instances details
FromJSON LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

Generic LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

Associated Types

type Rep LogGroup :: Type -> Type #

Methods

from :: LogGroup -> Rep LogGroup x #

to :: Rep LogGroup x -> LogGroup #

Read LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

Show LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

NFData LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

Methods

rnf :: LogGroup -> () #

Eq LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

Hashable LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

Methods

hashWithSalt :: Int -> LogGroup -> Int #

hash :: LogGroup -> Int #

type Rep LogGroup Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroup

newLogGroup :: LogGroup Source #

Create a value of LogGroup 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:arn:LogGroup', logGroup_arn - The Amazon Resource Name (ARN) of the log group.

$sel:creationTime:LogGroup', logGroup_creationTime - The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

$sel:dataProtectionStatus:LogGroup', logGroup_dataProtectionStatus - Displays whether this log group has a protection policy, or whether it had one in the past. For more information, see PutDataProtectionPolicy.

$sel:kmsKeyId:LogGroup', logGroup_kmsKeyId - The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data.

$sel:logGroupName:LogGroup', logGroup_logGroupName - The name of the log group.

$sel:metricFilterCount:LogGroup', logGroup_metricFilterCount - The number of metric filters.

$sel:retentionInDays:LogGroup', logGroup_retentionInDays - Undocumented member.

$sel:storedBytes:LogGroup', logGroup_storedBytes - The number of bytes stored.

logGroup_arn :: Lens' LogGroup (Maybe Text) Source #

The Amazon Resource Name (ARN) of the log group.

logGroup_creationTime :: Lens' LogGroup (Maybe Natural) Source #

The creation time of the log group, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

logGroup_dataProtectionStatus :: Lens' LogGroup (Maybe DataProtectionStatus) Source #

Displays whether this log group has a protection policy, or whether it had one in the past. For more information, see PutDataProtectionPolicy.

logGroup_kmsKeyId :: Lens' LogGroup (Maybe Text) Source #

The Amazon Resource Name (ARN) of the KMS key to use when encrypting log data.

logGroup_logGroupName :: Lens' LogGroup (Maybe Text) Source #

The name of the log group.

logGroup_metricFilterCount :: Lens' LogGroup (Maybe Int) Source #

The number of metric filters.

logGroup_storedBytes :: Lens' LogGroup (Maybe Natural) Source #

The number of bytes stored.

LogGroupField

data LogGroupField Source #

The fields contained in log events found by a GetLogGroupFields operation, along with the percentage of queried log events in which each field appears.

See: newLogGroupField smart constructor.

Constructors

LogGroupField' 

Fields

Instances

Instances details
FromJSON LogGroupField Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroupField

Generic LogGroupField Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroupField

Associated Types

type Rep LogGroupField :: Type -> Type #

Read LogGroupField Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroupField

Show LogGroupField Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroupField

NFData LogGroupField Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroupField

Methods

rnf :: LogGroupField -> () #

Eq LogGroupField Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroupField

Hashable LogGroupField Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroupField

type Rep LogGroupField Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogGroupField

type Rep LogGroupField = D1 ('MetaData "LogGroupField" "Amazonka.CloudWatchLogs.Types.LogGroupField" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "LogGroupField'" 'PrefixI 'True) (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "percent") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))))

newLogGroupField :: LogGroupField Source #

Create a value of LogGroupField 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:name:LogGroupField', logGroupField_name - The name of a log field.

$sel:percent:LogGroupField', logGroupField_percent - The percentage of log events queried that contained the field.

logGroupField_name :: Lens' LogGroupField (Maybe Text) Source #

The name of a log field.

logGroupField_percent :: Lens' LogGroupField (Maybe Natural) Source #

The percentage of log events queried that contained the field.

LogStream

data LogStream Source #

Represents a log stream, which is a sequence of log events from a single emitter of logs.

See: newLogStream smart constructor.

Constructors

LogStream' 

Fields

  • arn :: Maybe Text

    The Amazon Resource Name (ARN) of the log stream.

  • creationTime :: Maybe Natural

    The creation time of the stream, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

  • firstEventTimestamp :: Maybe Natural

    The time of the first event, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

  • lastEventTimestamp :: Maybe Natural

    The time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. The lastEventTime value updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but in rare situations might take longer.

  • lastIngestionTime :: Maybe Natural

    The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC The lastIngestionTime value updates on an eventual consistency basis. It typically updates in less than an hour after ingestion, but in rare situations might take longer.

  • logStreamName :: Maybe Text

    The name of the log stream.

  • storedBytes :: Maybe Natural

    The number of bytes stored.

    Important: As of June 17, 2019, this parameter is no longer supported for log streams, and is always reported as zero. This change applies only to log streams. The storedBytes parameter for log groups is not affected.

  • uploadSequenceToken :: Maybe Text

    The sequence token.

    The sequence token is now ignored in PutLogEvents actions. PutLogEvents actions are always accepted regardless of receiving an invalid sequence token. You don't need to obtain uploadSequenceToken to use a PutLogEvents action.

Instances

Instances details
FromJSON LogStream Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogStream

Generic LogStream Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogStream

Associated Types

type Rep LogStream :: Type -> Type #

Read LogStream Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogStream

Show LogStream Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogStream

NFData LogStream Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogStream

Methods

rnf :: LogStream -> () #

Eq LogStream Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogStream

Hashable LogStream Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogStream

type Rep LogStream Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.LogStream

type Rep LogStream = D1 ('MetaData "LogStream" "Amazonka.CloudWatchLogs.Types.LogStream" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "LogStream'" 'PrefixI 'True) (((S1 ('MetaSel ('Just "arn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "firstEventTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "lastEventTimestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: ((S1 ('MetaSel ('Just "lastIngestionTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "logStreamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "storedBytes") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "uploadSequenceToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newLogStream :: LogStream Source #

Create a value of LogStream 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:arn:LogStream', logStream_arn - The Amazon Resource Name (ARN) of the log stream.

$sel:creationTime:LogStream', logStream_creationTime - The creation time of the stream, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

$sel:firstEventTimestamp:LogStream', logStream_firstEventTimestamp - The time of the first event, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

$sel:lastEventTimestamp:LogStream', logStream_lastEventTimestamp - The time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. The lastEventTime value updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but in rare situations might take longer.

$sel:lastIngestionTime:LogStream', logStream_lastIngestionTime - The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC The lastIngestionTime value updates on an eventual consistency basis. It typically updates in less than an hour after ingestion, but in rare situations might take longer.

$sel:logStreamName:LogStream', logStream_logStreamName - The name of the log stream.

$sel:storedBytes:LogStream', logStream_storedBytes - The number of bytes stored.

Important: As of June 17, 2019, this parameter is no longer supported for log streams, and is always reported as zero. This change applies only to log streams. The storedBytes parameter for log groups is not affected.

$sel:uploadSequenceToken:LogStream', logStream_uploadSequenceToken - The sequence token.

The sequence token is now ignored in PutLogEvents actions. PutLogEvents actions are always accepted regardless of receiving an invalid sequence token. You don't need to obtain uploadSequenceToken to use a PutLogEvents action.

logStream_arn :: Lens' LogStream (Maybe Text) Source #

The Amazon Resource Name (ARN) of the log stream.

logStream_creationTime :: Lens' LogStream (Maybe Natural) Source #

The creation time of the stream, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

logStream_firstEventTimestamp :: Lens' LogStream (Maybe Natural) Source #

The time of the first event, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

logStream_lastEventTimestamp :: Lens' LogStream (Maybe Natural) Source #

The time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. The lastEventTime value updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but in rare situations might take longer.

logStream_lastIngestionTime :: Lens' LogStream (Maybe Natural) Source #

The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC The lastIngestionTime value updates on an eventual consistency basis. It typically updates in less than an hour after ingestion, but in rare situations might take longer.

logStream_logStreamName :: Lens' LogStream (Maybe Text) Source #

The name of the log stream.

logStream_storedBytes :: Lens' LogStream (Maybe Natural) Source #

The number of bytes stored.

Important: As of June 17, 2019, this parameter is no longer supported for log streams, and is always reported as zero. This change applies only to log streams. The storedBytes parameter for log groups is not affected.

logStream_uploadSequenceToken :: Lens' LogStream (Maybe Text) Source #

The sequence token.

The sequence token is now ignored in PutLogEvents actions. PutLogEvents actions are always accepted regardless of receiving an invalid sequence token. You don't need to obtain uploadSequenceToken to use a PutLogEvents action.

MetricFilter

data MetricFilter Source #

Metric filters express how CloudWatch Logs would extract metric observations from ingested log events and transform them into metric data in a CloudWatch metric.

See: newMetricFilter smart constructor.

Constructors

MetricFilter' 

Fields

Instances

Instances details
FromJSON MetricFilter Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricFilter

Generic MetricFilter Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricFilter

Associated Types

type Rep MetricFilter :: Type -> Type #

Read MetricFilter Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricFilter

Show MetricFilter Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricFilter

NFData MetricFilter Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricFilter

Methods

rnf :: MetricFilter -> () #

Eq MetricFilter Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricFilter

Hashable MetricFilter Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricFilter

type Rep MetricFilter Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricFilter

type Rep MetricFilter = D1 ('MetaData "MetricFilter" "Amazonka.CloudWatchLogs.Types.MetricFilter" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "MetricFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "filterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "filterPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "logGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "metricTransformations") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (NonEmpty MetricTransformation)))))))

newMetricFilter :: MetricFilter Source #

Create a value of MetricFilter 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:creationTime:MetricFilter', metricFilter_creationTime - The creation time of the metric filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

$sel:filterName:MetricFilter', metricFilter_filterName - The name of the metric filter.

$sel:filterPattern:MetricFilter', metricFilter_filterPattern - Undocumented member.

$sel:logGroupName:MetricFilter', metricFilter_logGroupName - The name of the log group.

$sel:metricTransformations:MetricFilter', metricFilter_metricTransformations - The metric transformations.

metricFilter_creationTime :: Lens' MetricFilter (Maybe Natural) Source #

The creation time of the metric filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

metricFilter_filterName :: Lens' MetricFilter (Maybe Text) Source #

The name of the metric filter.

MetricFilterMatchRecord

data MetricFilterMatchRecord Source #

Represents a matched event.

See: newMetricFilterMatchRecord smart constructor.

Constructors

MetricFilterMatchRecord' 

Fields

Instances

Instances details
FromJSON MetricFilterMatchRecord Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricFilterMatchRecord

Generic MetricFilterMatchRecord Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricFilterMatchRecord

Associated Types

type Rep MetricFilterMatchRecord :: Type -> Type #

Read MetricFilterMatchRecord Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricFilterMatchRecord

Show MetricFilterMatchRecord Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricFilterMatchRecord

NFData MetricFilterMatchRecord Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricFilterMatchRecord

Methods

rnf :: MetricFilterMatchRecord -> () #

Eq MetricFilterMatchRecord Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricFilterMatchRecord

Hashable MetricFilterMatchRecord Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricFilterMatchRecord

type Rep MetricFilterMatchRecord Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricFilterMatchRecord

type Rep MetricFilterMatchRecord = D1 ('MetaData "MetricFilterMatchRecord" "Amazonka.CloudWatchLogs.Types.MetricFilterMatchRecord" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "MetricFilterMatchRecord'" 'PrefixI 'True) (S1 ('MetaSel ('Just "eventMessage") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "eventNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: S1 ('MetaSel ('Just "extractedValues") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))))))

newMetricFilterMatchRecord :: MetricFilterMatchRecord Source #

Create a value of MetricFilterMatchRecord 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:eventMessage:MetricFilterMatchRecord', metricFilterMatchRecord_eventMessage - The raw event data.

$sel:eventNumber:MetricFilterMatchRecord', metricFilterMatchRecord_eventNumber - The event number.

$sel:extractedValues:MetricFilterMatchRecord', metricFilterMatchRecord_extractedValues - The values extracted from the event data by the filter.

metricFilterMatchRecord_extractedValues :: Lens' MetricFilterMatchRecord (Maybe (HashMap Text Text)) Source #

The values extracted from the event data by the filter.

MetricTransformation

data MetricTransformation Source #

Indicates how to transform ingested log events to metric data in a CloudWatch metric.

See: newMetricTransformation smart constructor.

Constructors

MetricTransformation' 

Fields

  • defaultValue :: Maybe Double

    (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.

  • dimensions :: Maybe (HashMap Text Text)

    The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions.

    Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric.

    CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges.

    You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges.

  • unit :: Maybe StandardUnit

    The unit to assign to the metric. If you omit this, the unit is set as None.

  • metricName :: Text

    The name of the CloudWatch metric.

  • metricNamespace :: Text

    A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.

  • metricValue :: Text

    The value to publish to the CloudWatch metric when a filter pattern matches a log event.

Instances

Instances details
FromJSON MetricTransformation Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricTransformation

ToJSON MetricTransformation Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricTransformation

Generic MetricTransformation Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricTransformation

Associated Types

type Rep MetricTransformation :: Type -> Type #

Read MetricTransformation Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricTransformation

Show MetricTransformation Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricTransformation

NFData MetricTransformation Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricTransformation

Methods

rnf :: MetricTransformation -> () #

Eq MetricTransformation Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricTransformation

Hashable MetricTransformation Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricTransformation

type Rep MetricTransformation Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.MetricTransformation

type Rep MetricTransformation = D1 ('MetaData "MetricTransformation" "Amazonka.CloudWatchLogs.Types.MetricTransformation" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "MetricTransformation'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "defaultValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "dimensions") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text Text))) :*: S1 ('MetaSel ('Just "unit") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe StandardUnit)))) :*: (S1 ('MetaSel ('Just "metricName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "metricNamespace") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "metricValue") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newMetricTransformation Source #

Create a value of MetricTransformation 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:defaultValue:MetricTransformation', metricTransformation_defaultValue - (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.

$sel:dimensions:MetricTransformation', metricTransformation_dimensions - The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions.

Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric.

CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges.

You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges.

$sel:unit:MetricTransformation', metricTransformation_unit - The unit to assign to the metric. If you omit this, the unit is set as None.

$sel:metricName:MetricTransformation', metricTransformation_metricName - The name of the CloudWatch metric.

$sel:metricNamespace:MetricTransformation', metricTransformation_metricNamespace - A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.

$sel:metricValue:MetricTransformation', metricTransformation_metricValue - The value to publish to the CloudWatch metric when a filter pattern matches a log event.

metricTransformation_defaultValue :: Lens' MetricTransformation (Maybe Double) Source #

(Optional) The value to emit when a filter pattern does not match a log event. This value can be null.

metricTransformation_dimensions :: Lens' MetricTransformation (Maybe (HashMap Text Text)) Source #

The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions.

Metrics extracted from log events are charged as custom metrics. To prevent unexpected high charges, do not specify high-cardinality fields such as IPAddress or requestID as dimensions. Each different value found for a dimension is treated as a separate metric and accrues charges as a separate custom metric.

CloudWatch Logs disables a metric filter if it generates 1000 different name/value pairs for your specified dimensions within a certain amount of time. This helps to prevent accidental high charges.

You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges.

metricTransformation_unit :: Lens' MetricTransformation (Maybe StandardUnit) Source #

The unit to assign to the metric. If you omit this, the unit is set as None.

metricTransformation_metricNamespace :: Lens' MetricTransformation Text Source #

A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.

metricTransformation_metricValue :: Lens' MetricTransformation Text Source #

The value to publish to the CloudWatch metric when a filter pattern matches a log event.

OutputLogEvent

data OutputLogEvent Source #

Represents a log event.

See: newOutputLogEvent smart constructor.

Constructors

OutputLogEvent' 

Fields

  • ingestionTime :: Maybe Natural

    The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

  • message :: Maybe Text

    The data contained in the log event.

  • timestamp :: Maybe Natural

    The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

Instances

Instances details
FromJSON OutputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OutputLogEvent

Generic OutputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OutputLogEvent

Associated Types

type Rep OutputLogEvent :: Type -> Type #

Read OutputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OutputLogEvent

Show OutputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OutputLogEvent

NFData OutputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OutputLogEvent

Methods

rnf :: OutputLogEvent -> () #

Eq OutputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OutputLogEvent

Hashable OutputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OutputLogEvent

type Rep OutputLogEvent Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.OutputLogEvent

type Rep OutputLogEvent = D1 ('MetaData "OutputLogEvent" "Amazonka.CloudWatchLogs.Types.OutputLogEvent" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "OutputLogEvent'" 'PrefixI 'True) (S1 ('MetaSel ('Just "ingestionTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "message") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "timestamp") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

newOutputLogEvent :: OutputLogEvent Source #

Create a value of OutputLogEvent 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:ingestionTime:OutputLogEvent', outputLogEvent_ingestionTime - The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

$sel:message:OutputLogEvent', outputLogEvent_message - The data contained in the log event.

$sel:timestamp:OutputLogEvent', outputLogEvent_timestamp - The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

outputLogEvent_ingestionTime :: Lens' OutputLogEvent (Maybe Natural) Source #

The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

outputLogEvent_message :: Lens' OutputLogEvent (Maybe Text) Source #

The data contained in the log event.

outputLogEvent_timestamp :: Lens' OutputLogEvent (Maybe Natural) Source #

The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

QueryDefinition

data QueryDefinition Source #

This structure contains details about a saved CloudWatch Logs Insights query definition.

See: newQueryDefinition smart constructor.

Constructors

QueryDefinition' 

Fields

Instances

Instances details
FromJSON QueryDefinition Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryDefinition

Generic QueryDefinition Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryDefinition

Associated Types

type Rep QueryDefinition :: Type -> Type #

Read QueryDefinition Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryDefinition

Show QueryDefinition Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryDefinition

NFData QueryDefinition Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryDefinition

Methods

rnf :: QueryDefinition -> () #

Eq QueryDefinition Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryDefinition

Hashable QueryDefinition Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryDefinition

type Rep QueryDefinition Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryDefinition

type Rep QueryDefinition = D1 ('MetaData "QueryDefinition" "Amazonka.CloudWatchLogs.Types.QueryDefinition" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "QueryDefinition'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "lastModified") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "logGroupNames") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Text]))) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "queryDefinitionId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "queryString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newQueryDefinition :: QueryDefinition Source #

Create a value of QueryDefinition 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:lastModified:QueryDefinition', queryDefinition_lastModified - The date that the query definition was most recently modified.

$sel:logGroupNames:QueryDefinition', queryDefinition_logGroupNames - If this query definition contains a list of log groups that it is limited to, that list appears here.

$sel:name:QueryDefinition', queryDefinition_name - The name of the query definition.

$sel:queryDefinitionId:QueryDefinition', queryDefinition_queryDefinitionId - The unique ID of the query definition.

$sel:queryString:QueryDefinition', queryDefinition_queryString - The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.

queryDefinition_lastModified :: Lens' QueryDefinition (Maybe Natural) Source #

The date that the query definition was most recently modified.

queryDefinition_logGroupNames :: Lens' QueryDefinition (Maybe [Text]) Source #

If this query definition contains a list of log groups that it is limited to, that list appears here.

queryDefinition_name :: Lens' QueryDefinition (Maybe Text) Source #

The name of the query definition.

queryDefinition_queryDefinitionId :: Lens' QueryDefinition (Maybe Text) Source #

The unique ID of the query definition.

queryDefinition_queryString :: Lens' QueryDefinition (Maybe Text) Source #

The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.

QueryInfo

data QueryInfo Source #

Information about one CloudWatch Logs Insights query that matches the request in a DescribeQueries operation.

See: newQueryInfo smart constructor.

Constructors

QueryInfo' 

Fields

Instances

Instances details
FromJSON QueryInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryInfo

Generic QueryInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryInfo

Associated Types

type Rep QueryInfo :: Type -> Type #

Read QueryInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryInfo

Show QueryInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryInfo

NFData QueryInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryInfo

Methods

rnf :: QueryInfo -> () #

Eq QueryInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryInfo

Hashable QueryInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryInfo

type Rep QueryInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryInfo

type Rep QueryInfo = D1 ('MetaData "QueryInfo" "Amazonka.CloudWatchLogs.Types.QueryInfo" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "QueryInfo'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "logGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "queryId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "queryString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe QueryStatus))))))

newQueryInfo :: QueryInfo Source #

Create a value of QueryInfo 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:createTime:QueryInfo', queryInfo_createTime - The date and time that this query was created.

$sel:logGroupName:QueryInfo', queryInfo_logGroupName - The name of the log group scanned by this query.

$sel:queryId:QueryInfo', queryInfo_queryId - The unique ID number of this query.

$sel:queryString:QueryInfo', queryInfo_queryString - The query string used in this query.

$sel:status:QueryInfo', queryInfo_status - The status of this query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, and Unknown.

queryInfo_createTime :: Lens' QueryInfo (Maybe Natural) Source #

The date and time that this query was created.

queryInfo_logGroupName :: Lens' QueryInfo (Maybe Text) Source #

The name of the log group scanned by this query.

queryInfo_queryId :: Lens' QueryInfo (Maybe Text) Source #

The unique ID number of this query.

queryInfo_queryString :: Lens' QueryInfo (Maybe Text) Source #

The query string used in this query.

queryInfo_status :: Lens' QueryInfo (Maybe QueryStatus) Source #

The status of this query. Possible values are Cancelled, Complete, Failed, Running, Scheduled, and Unknown.

QueryStatistics

data QueryStatistics Source #

Contains the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the log events that were scanned.

See: newQueryStatistics smart constructor.

Constructors

QueryStatistics' 

Fields

Instances

Instances details
FromJSON QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatistics

Generic QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatistics

Associated Types

type Rep QueryStatistics :: Type -> Type #

Read QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatistics

Show QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatistics

NFData QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatistics

Methods

rnf :: QueryStatistics -> () #

Eq QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatistics

Hashable QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatistics

type Rep QueryStatistics Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.QueryStatistics

type Rep QueryStatistics = D1 ('MetaData "QueryStatistics" "Amazonka.CloudWatchLogs.Types.QueryStatistics" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "QueryStatistics'" 'PrefixI 'True) (S1 ('MetaSel ('Just "bytesScanned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: (S1 ('MetaSel ('Just "recordsMatched") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)) :*: S1 ('MetaSel ('Just "recordsScanned") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Double)))))

newQueryStatistics :: QueryStatistics Source #

Create a value of QueryStatistics 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:bytesScanned:QueryStatistics', queryStatistics_bytesScanned - The total number of bytes in the log events scanned during the query.

$sel:recordsMatched:QueryStatistics', queryStatistics_recordsMatched - The number of log events that matched the query string.

$sel:recordsScanned:QueryStatistics', queryStatistics_recordsScanned - The total number of log events scanned during the query.

queryStatistics_bytesScanned :: Lens' QueryStatistics (Maybe Double) Source #

The total number of bytes in the log events scanned during the query.

queryStatistics_recordsMatched :: Lens' QueryStatistics (Maybe Double) Source #

The number of log events that matched the query string.

queryStatistics_recordsScanned :: Lens' QueryStatistics (Maybe Double) Source #

The total number of log events scanned during the query.

RejectedLogEventsInfo

data RejectedLogEventsInfo Source #

Represents the rejected events.

See: newRejectedLogEventsInfo smart constructor.

Constructors

RejectedLogEventsInfo' 

Fields

Instances

Instances details
FromJSON RejectedLogEventsInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.RejectedLogEventsInfo

Generic RejectedLogEventsInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.RejectedLogEventsInfo

Associated Types

type Rep RejectedLogEventsInfo :: Type -> Type #

Read RejectedLogEventsInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.RejectedLogEventsInfo

Show RejectedLogEventsInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.RejectedLogEventsInfo

NFData RejectedLogEventsInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.RejectedLogEventsInfo

Methods

rnf :: RejectedLogEventsInfo -> () #

Eq RejectedLogEventsInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.RejectedLogEventsInfo

Hashable RejectedLogEventsInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.RejectedLogEventsInfo

type Rep RejectedLogEventsInfo Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.RejectedLogEventsInfo

type Rep RejectedLogEventsInfo = D1 ('MetaData "RejectedLogEventsInfo" "Amazonka.CloudWatchLogs.Types.RejectedLogEventsInfo" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "RejectedLogEventsInfo'" 'PrefixI 'True) (S1 ('MetaSel ('Just "expiredLogEventEndIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "tooNewLogEventStartIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "tooOldLogEventEndIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)))))

newRejectedLogEventsInfo :: RejectedLogEventsInfo Source #

Create a value of RejectedLogEventsInfo 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:expiredLogEventEndIndex:RejectedLogEventsInfo', rejectedLogEventsInfo_expiredLogEventEndIndex - The expired log events.

$sel:tooNewLogEventStartIndex:RejectedLogEventsInfo', rejectedLogEventsInfo_tooNewLogEventStartIndex - The log events that are too new.

$sel:tooOldLogEventEndIndex:RejectedLogEventsInfo', rejectedLogEventsInfo_tooOldLogEventEndIndex - The log events that are dated too far in the past.

rejectedLogEventsInfo_tooOldLogEventEndIndex :: Lens' RejectedLogEventsInfo (Maybe Int) Source #

The log events that are dated too far in the past.

ResourcePolicy

data ResourcePolicy Source #

A policy enabling one or more entities to put logs to a log group in this account.

See: newResourcePolicy smart constructor.

Constructors

ResourcePolicy' 

Fields

Instances

Instances details
FromJSON ResourcePolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ResourcePolicy

Generic ResourcePolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ResourcePolicy

Associated Types

type Rep ResourcePolicy :: Type -> Type #

Read ResourcePolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ResourcePolicy

Show ResourcePolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ResourcePolicy

NFData ResourcePolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ResourcePolicy

Methods

rnf :: ResourcePolicy -> () #

Eq ResourcePolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ResourcePolicy

Hashable ResourcePolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ResourcePolicy

type Rep ResourcePolicy Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ResourcePolicy

type Rep ResourcePolicy = D1 ('MetaData "ResourcePolicy" "Amazonka.CloudWatchLogs.Types.ResourcePolicy" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "ResourcePolicy'" 'PrefixI 'True) (S1 ('MetaSel ('Just "lastUpdatedTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "policyDocument") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "policyName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newResourcePolicy :: ResourcePolicy Source #

Create a value of ResourcePolicy 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:lastUpdatedTime:ResourcePolicy', resourcePolicy_lastUpdatedTime - Timestamp showing when this policy was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

$sel:policyDocument:ResourcePolicy', resourcePolicy_policyDocument - The details of the policy.

$sel:policyName:ResourcePolicy', resourcePolicy_policyName - The name of the resource policy.

resourcePolicy_lastUpdatedTime :: Lens' ResourcePolicy (Maybe Natural) Source #

Timestamp showing when this policy was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

resourcePolicy_policyName :: Lens' ResourcePolicy (Maybe Text) Source #

The name of the resource policy.

ResultField

data ResultField Source #

Contains one field from one log event returned by a CloudWatch Logs Insights query, along with the value of that field.

For more information about the fields that are generated by CloudWatch logs, see Supported Logs and Discovered Fields.

See: newResultField smart constructor.

Constructors

ResultField' 

Fields

Instances

Instances details
FromJSON ResultField Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ResultField

Generic ResultField Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ResultField

Associated Types

type Rep ResultField :: Type -> Type #

Read ResultField Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ResultField

Show ResultField Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ResultField

NFData ResultField Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ResultField

Methods

rnf :: ResultField -> () #

Eq ResultField Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ResultField

Hashable ResultField Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ResultField

type Rep ResultField Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.ResultField

type Rep ResultField = D1 ('MetaData "ResultField" "Amazonka.CloudWatchLogs.Types.ResultField" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "ResultField'" 'PrefixI 'True) (S1 ('MetaSel ('Just "field") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newResultField :: ResultField Source #

Create a value of ResultField 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:field:ResultField', resultField_field - The log event field.

$sel:value:ResultField', resultField_value - The value of this field.

resultField_value :: Lens' ResultField (Maybe Text) Source #

The value of this field.

SearchedLogStream

data SearchedLogStream Source #

Represents the search status of a log stream.

See: newSearchedLogStream smart constructor.

Constructors

SearchedLogStream' 

Fields

Instances

Instances details
FromJSON SearchedLogStream Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.SearchedLogStream

Generic SearchedLogStream Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.SearchedLogStream

Associated Types

type Rep SearchedLogStream :: Type -> Type #

Read SearchedLogStream Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.SearchedLogStream

Show SearchedLogStream Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.SearchedLogStream

NFData SearchedLogStream Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.SearchedLogStream

Methods

rnf :: SearchedLogStream -> () #

Eq SearchedLogStream Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.SearchedLogStream

Hashable SearchedLogStream Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.SearchedLogStream

type Rep SearchedLogStream Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.SearchedLogStream

type Rep SearchedLogStream = D1 ('MetaData "SearchedLogStream" "Amazonka.CloudWatchLogs.Types.SearchedLogStream" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "SearchedLogStream'" 'PrefixI 'True) (S1 ('MetaSel ('Just "logStreamName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "searchedCompletely") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))))

newSearchedLogStream :: SearchedLogStream Source #

Create a value of SearchedLogStream 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:logStreamName:SearchedLogStream', searchedLogStream_logStreamName - The name of the log stream.

$sel:searchedCompletely:SearchedLogStream', searchedLogStream_searchedCompletely - Indicates whether all the events in this log stream were searched.

searchedLogStream_searchedCompletely :: Lens' SearchedLogStream (Maybe Bool) Source #

Indicates whether all the events in this log stream were searched.

SubscriptionFilter

data SubscriptionFilter Source #

Represents a subscription filter.

See: newSubscriptionFilter smart constructor.

Constructors

SubscriptionFilter' 

Fields

Instances

Instances details
FromJSON SubscriptionFilter Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.SubscriptionFilter

Generic SubscriptionFilter Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.SubscriptionFilter

Associated Types

type Rep SubscriptionFilter :: Type -> Type #

Read SubscriptionFilter Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.SubscriptionFilter

Show SubscriptionFilter Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.SubscriptionFilter

NFData SubscriptionFilter Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.SubscriptionFilter

Methods

rnf :: SubscriptionFilter -> () #

Eq SubscriptionFilter Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.SubscriptionFilter

Hashable SubscriptionFilter Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.SubscriptionFilter

type Rep SubscriptionFilter Source # 
Instance details

Defined in Amazonka.CloudWatchLogs.Types.SubscriptionFilter

type Rep SubscriptionFilter = D1 ('MetaData "SubscriptionFilter" "Amazonka.CloudWatchLogs.Types.SubscriptionFilter" "amazonka-cloudwatch-logs-2.0-6gvDalNFsfE8djZ4aTfA4V" 'False) (C1 ('MetaCons "SubscriptionFilter'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "creationTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "destinationArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "distribution") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Distribution)))) :*: ((S1 ('MetaSel ('Just "filterName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "filterPattern") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "logGroupName") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "roleArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))))

newSubscriptionFilter :: SubscriptionFilter Source #

Create a value of SubscriptionFilter 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:creationTime:SubscriptionFilter', subscriptionFilter_creationTime - The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

$sel:destinationArn:SubscriptionFilter', subscriptionFilter_destinationArn - The Amazon Resource Name (ARN) of the destination.

$sel:distribution:SubscriptionFilter', subscriptionFilter_distribution - Undocumented member.

$sel:filterName:SubscriptionFilter', subscriptionFilter_filterName - The name of the subscription filter.

$sel:filterPattern:SubscriptionFilter', subscriptionFilter_filterPattern - Undocumented member.

$sel:logGroupName:SubscriptionFilter', subscriptionFilter_logGroupName - The name of the log group.

$sel:roleArn:SubscriptionFilter', subscriptionFilter_roleArn -

subscriptionFilter_creationTime :: Lens' SubscriptionFilter (Maybe Natural) Source #

The creation time of the subscription filter, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

subscriptionFilter_destinationArn :: Lens' SubscriptionFilter (Maybe Text) Source #

The Amazon Resource Name (ARN) of the destination.

subscriptionFilter_filterName :: Lens' SubscriptionFilter (Maybe Text) Source #

The name of the subscription filter.