amazonka-cloudwatch-logs-1.4.5: Amazon CloudWatch Logs SDK.

Copyright(c) 2013-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.AWS.CloudWatchLogs

Contents

Description

You can use Amazon CloudWatch Logs to monitor, store, and access your log files from EC2 instances, Amazon CloudTrail, or other sources. You can then retrieve the associated log data from CloudWatch Logs using the Amazon CloudWatch console, the CloudWatch Logs commands in the AWS CLI, the CloudWatch Logs API, or the CloudWatch Logs SDK.

You can use CloudWatch Logs to:

  • Monitor Logs from Amazon EC2 Instances in Real-time : You can use CloudWatch Logs to monitor applications and systems using log data. For example, CloudWatch Logs can track the number of errors that occur in your application logs and send you a notification whenever the rate of errors exceeds a threshold you specify. CloudWatch Logs uses your log data for monitoring; so, no code changes are required. For example, you can monitor application logs for specific literal terms (such as NullReferenceException) or count the number of occurrences of a literal term at a particular position in log data (such as "404" status codes in an Apache access log). When the term you are searching for is found, CloudWatch Logs reports the data to a Amazon CloudWatch metric that you specify.
  • Monitor Amazon CloudTrail Logged Events : You can create alarms in Amazon CloudWatch and receive notifications of particular API activity as captured by CloudTrail and use the notification to perform troubleshooting.
  • Archive Log Data : You can use CloudWatch Logs to store your log data in highly durable storage. You can change the log retention setting so that any log events older than this setting are automatically deleted. The CloudWatch Logs agent makes it easy to quickly send both rotated and non-rotated log data off of a host and into the log service. You can then access the raw log data when you need it.

Synopsis

Service Configuration

cloudWatchLogs :: Service #

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

Errors

Error matchers are designed for use with the functions provided by Control.Exception.Lens. This allows catching (and rethrowing) service specific errors returned by CloudWatchLogs.

InvalidParameterException

_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError #

A parameter is specified incorrectly.

InvalidSequenceTokenException

_InvalidSequenceTokenException :: AsError a => Getting (First ServiceError) a ServiceError #

The sequence token is not valid.

ResourceAlreadyExistsException

_ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError #

The specified resource already exists.

OperationAbortedException

_OperationAbortedException :: AsError a => Getting (First ServiceError) a ServiceError #

Multiple requests to update the same resource were in conflict.

ServiceUnavailableException

_ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError #

The service cannot complete the request.

DataAlreadyAcceptedException

InvalidOperationException

_InvalidOperationException :: AsError a => Getting (First ServiceError) a ServiceError #

The operation is not valid on the specified resource.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError #

The specified resource does not exist.

LimitExceededException

_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError #

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

Waiters

Waiters poll by repeatedly sending a request until some remote success condition configured by the Wait specification is fulfilled. The Wait specification determines how many attempts should be made, in addition to delay and retry strategies.

Operations

Some AWS operations return results that are incomplete and require subsequent requests in order to obtain the entire result set. The process of sending subsequent requests to continue where a previous request left off is called pagination. For example, the ListObjects operation of Amazon S3 returns up to 1000 objects at a time, and you must send subsequent requests with the appropriate Marker in order to retrieve the next page of results.

Operations that have an AWSPager instance can transparently perform subsequent requests, correctly setting Markers and other request facets to iterate through the entire result set of a truncated API operation. Operations which support this have an additional note in the documentation.

Many operations have the ability to filter results on the server side. See the individual operation parameters for details.

DescribeDestinations (Paginated)

CreateExportTask

PutDestination

DescribeSubscriptionFilters (Paginated)

GetLogEvents

DescribeLogGroups (Paginated)

DeleteDestination

FilterLogEvents (Paginated)

DeleteLogStream

CreateLogStream

CreateLogGroup

DescribeExportTasks

CancelExportTask

PutSubscriptionFilter

DeleteLogGroup

DeleteSubscriptionFilter

PutLogEvents

DescribeMetricFilters (Paginated)

TestMetricFilter

PutDestinationPolicy

PutMetricFilter

DeleteRetentionPolicy

DeleteMetricFilter

PutRetentionPolicy

DescribeLogStreams (Paginated)

Types

ExportTaskStatusCode

data ExportTaskStatusCode #

Instances

Bounded ExportTaskStatusCode # 
Enum ExportTaskStatusCode # 
Eq ExportTaskStatusCode # 
Data ExportTaskStatusCode # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ExportTaskStatusCode -> c ExportTaskStatusCode #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExportTaskStatusCode #

toConstr :: ExportTaskStatusCode -> Constr #

dataTypeOf :: ExportTaskStatusCode -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ExportTaskStatusCode) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExportTaskStatusCode) #

gmapT :: (forall b. Data b => b -> b) -> ExportTaskStatusCode -> ExportTaskStatusCode #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExportTaskStatusCode -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExportTaskStatusCode -> r #

gmapQ :: (forall d. Data d => d -> u) -> ExportTaskStatusCode -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ExportTaskStatusCode -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExportTaskStatusCode -> m ExportTaskStatusCode #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExportTaskStatusCode -> m ExportTaskStatusCode #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExportTaskStatusCode -> m ExportTaskStatusCode #

Ord ExportTaskStatusCode # 
Read ExportTaskStatusCode # 
Show ExportTaskStatusCode # 
Generic ExportTaskStatusCode # 
Hashable ExportTaskStatusCode # 
ToJSON ExportTaskStatusCode # 
FromJSON ExportTaskStatusCode # 
NFData ExportTaskStatusCode # 

Methods

rnf :: ExportTaskStatusCode -> () #

ToQuery ExportTaskStatusCode # 
ToHeader ExportTaskStatusCode # 
ToByteString ExportTaskStatusCode # 
FromText ExportTaskStatusCode # 
ToText ExportTaskStatusCode # 
type Rep ExportTaskStatusCode # 
type Rep ExportTaskStatusCode = D1 (MetaData "ExportTaskStatusCode" "Network.AWS.CloudWatchLogs.Types.Sum" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" False) ((:+:) ((:+:) (C1 (MetaCons "Cancelled" PrefixI False) U1) ((:+:) (C1 (MetaCons "Completed" PrefixI False) U1) (C1 (MetaCons "Failed" PrefixI False) U1))) ((:+:) (C1 (MetaCons "Pending" PrefixI False) U1) ((:+:) (C1 (MetaCons "PendingCancel" PrefixI False) U1) (C1 (MetaCons "Running" PrefixI False) U1))))

OrderBy

data OrderBy #

Instances

Bounded OrderBy # 
Enum OrderBy # 
Eq OrderBy # 

Methods

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

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

Data OrderBy # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OrderBy -> c OrderBy #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OrderBy #

toConstr :: OrderBy -> Constr #

dataTypeOf :: OrderBy -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c OrderBy) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OrderBy) #

gmapT :: (forall b. Data b => b -> b) -> OrderBy -> OrderBy #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OrderBy -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OrderBy -> r #

gmapQ :: (forall d. Data d => d -> u) -> OrderBy -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OrderBy -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OrderBy -> m OrderBy #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderBy -> m OrderBy #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OrderBy -> m OrderBy #

Ord OrderBy # 
Read OrderBy # 
Show OrderBy # 
Generic OrderBy # 

Associated Types

type Rep OrderBy :: * -> * #

Methods

from :: OrderBy -> Rep OrderBy x #

to :: Rep OrderBy x -> OrderBy #

Hashable OrderBy # 

Methods

hashWithSalt :: Int -> OrderBy -> Int #

hash :: OrderBy -> Int #

ToJSON OrderBy # 
NFData OrderBy # 

Methods

rnf :: OrderBy -> () #

ToQuery OrderBy # 
ToHeader OrderBy # 

Methods

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

ToByteString OrderBy # 

Methods

toBS :: OrderBy -> ByteString #

FromText OrderBy # 
ToText OrderBy # 

Methods

toText :: OrderBy -> Text #

type Rep OrderBy # 
type Rep OrderBy = D1 (MetaData "OrderBy" "Network.AWS.CloudWatchLogs.Types.Sum" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" False) ((:+:) (C1 (MetaCons "LastEventTime" PrefixI False) U1) (C1 (MetaCons "LogStreamName" PrefixI False) U1))

Destination

data Destination #

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

See: destination smart constructor.

Instances

Eq Destination # 
Data Destination # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> Destination -> c Destination #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c Destination #

toConstr :: Destination -> Constr #

dataTypeOf :: Destination -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c Destination) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c Destination) #

gmapT :: (forall b. Data b => b -> b) -> Destination -> Destination #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> Destination -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> Destination -> r #

gmapQ :: (forall d. Data d => d -> u) -> Destination -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> Destination -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> Destination -> m Destination #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> Destination -> m Destination #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> Destination -> m Destination #

Read Destination # 
Show Destination # 
Generic Destination # 

Associated Types

type Rep Destination :: * -> * #

Hashable Destination # 
FromJSON Destination # 
NFData Destination # 

Methods

rnf :: Destination -> () #

type Rep Destination # 
type Rep Destination = D1 (MetaData "Destination" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" False) (C1 (MetaCons "Destination'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_dTargetARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_dArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_dAccessPolicy") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_dDestinationName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_dRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

destination :: Destination #

Creates a value of Destination with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • dTargetARN - The Amazon Resource Name (ARN) of the physical target where the log events will be delivered (for example, a Kinesis stream).
  • dCreationTime - The creation time of the destination.
  • dArn - The ARN of this destination.
  • dAccessPolicy - An IAM policy document that governs which AWS accounts can create subscription filters against this destination.
  • dDestinationName - The name of the destination.
  • dRoleARN - A role for impersonation, used when delivering log events to the target.

dTargetARN :: Lens' Destination (Maybe Text) #

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

dCreationTime :: Lens' Destination (Maybe Natural) #

The creation time of the destination.

dArn :: Lens' Destination (Maybe Text) #

The ARN of this destination.

dAccessPolicy :: Lens' Destination (Maybe Text) #

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

dDestinationName :: Lens' Destination (Maybe Text) #

The name of the destination.

dRoleARN :: Lens' Destination (Maybe Text) #

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

ExportTask

data ExportTask #

Represents an export task.

See: exportTask smart constructor.

Instances

Eq ExportTask # 
Data ExportTask # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ExportTask -> c ExportTask #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExportTask #

toConstr :: ExportTask -> Constr #

dataTypeOf :: ExportTask -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ExportTask) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExportTask) #

gmapT :: (forall b. Data b => b -> b) -> ExportTask -> ExportTask #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExportTask -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExportTask -> r #

gmapQ :: (forall d. Data d => d -> u) -> ExportTask -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ExportTask -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExportTask -> m ExportTask #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExportTask -> m ExportTask #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExportTask -> m ExportTask #

Read ExportTask # 
Show ExportTask # 
Generic ExportTask # 

Associated Types

type Rep ExportTask :: * -> * #

Hashable ExportTask # 
FromJSON ExportTask # 
NFData ExportTask # 

Methods

rnf :: ExportTask -> () #

type Rep ExportTask # 

exportTask :: ExportTask #

Creates a value of ExportTask with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • etDestinationPrefix - The prefix that was used as the start of Amazon S3 key for every object exported.
  • etDestination - The name of Amazon S3 bucket to which the log data was exported.
  • etStatus - The status of the export task.
  • etTaskName - The name of the export task.
  • etTaskId - The ID of the export task.
  • etTo - The end time. Events with a timestamp later than this time are not exported.
  • etFrom - The start time. Events with a timestamp prior to this time are not exported.
  • etLogGroupName - The name of the log group from which logs data was exported.
  • etExecutionInfo - Execution info about the export task.

etDestinationPrefix :: Lens' ExportTask (Maybe Text) #

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

etDestination :: Lens' ExportTask (Maybe Text) #

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

etStatus :: Lens' ExportTask (Maybe ExportTaskStatus) #

The status of the export task.

etTaskName :: Lens' ExportTask (Maybe Text) #

The name of the export task.

etTaskId :: Lens' ExportTask (Maybe Text) #

The ID of the export task.

etTo :: Lens' ExportTask (Maybe Natural) #

The end time. Events with a timestamp later than this time are not exported.

etFrom :: Lens' ExportTask (Maybe Natural) #

The start time. Events with a timestamp prior to this time are not exported.

etLogGroupName :: Lens' ExportTask (Maybe Text) #

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

etExecutionInfo :: Lens' ExportTask (Maybe ExportTaskExecutionInfo) #

Execution info about the export task.

ExportTaskExecutionInfo

data ExportTaskExecutionInfo #

Represents the status of an export task.

See: exportTaskExecutionInfo smart constructor.

Instances

Eq ExportTaskExecutionInfo # 
Data ExportTaskExecutionInfo # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ExportTaskExecutionInfo -> c ExportTaskExecutionInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExportTaskExecutionInfo #

toConstr :: ExportTaskExecutionInfo -> Constr #

dataTypeOf :: ExportTaskExecutionInfo -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ExportTaskExecutionInfo) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExportTaskExecutionInfo) #

gmapT :: (forall b. Data b => b -> b) -> ExportTaskExecutionInfo -> ExportTaskExecutionInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExportTaskExecutionInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExportTaskExecutionInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> ExportTaskExecutionInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ExportTaskExecutionInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExportTaskExecutionInfo -> m ExportTaskExecutionInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExportTaskExecutionInfo -> m ExportTaskExecutionInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExportTaskExecutionInfo -> m ExportTaskExecutionInfo #

Read ExportTaskExecutionInfo # 
Show ExportTaskExecutionInfo # 
Generic ExportTaskExecutionInfo # 
Hashable ExportTaskExecutionInfo # 
FromJSON ExportTaskExecutionInfo # 
NFData ExportTaskExecutionInfo # 

Methods

rnf :: ExportTaskExecutionInfo -> () #

type Rep ExportTaskExecutionInfo # 
type Rep ExportTaskExecutionInfo = D1 (MetaData "ExportTaskExecutionInfo" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" False) (C1 (MetaCons "ExportTaskExecutionInfo'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_eteiCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_eteiCompletionTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))

exportTaskExecutionInfo :: ExportTaskExecutionInfo #

Creates a value of ExportTaskExecutionInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

eteiCreationTime :: Lens' ExportTaskExecutionInfo (Maybe Natural) #

The creation time of the export task.

eteiCompletionTime :: Lens' ExportTaskExecutionInfo (Maybe Natural) #

The completion time of the export task.

ExportTaskStatus

data ExportTaskStatus #

Represents the status of an export task.

See: exportTaskStatus smart constructor.

Instances

Eq ExportTaskStatus # 
Data ExportTaskStatus # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ExportTaskStatus -> c ExportTaskStatus #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ExportTaskStatus #

toConstr :: ExportTaskStatus -> Constr #

dataTypeOf :: ExportTaskStatus -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c ExportTaskStatus) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ExportTaskStatus) #

gmapT :: (forall b. Data b => b -> b) -> ExportTaskStatus -> ExportTaskStatus #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ExportTaskStatus -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ExportTaskStatus -> r #

gmapQ :: (forall d. Data d => d -> u) -> ExportTaskStatus -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ExportTaskStatus -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ExportTaskStatus -> m ExportTaskStatus #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ExportTaskStatus -> m ExportTaskStatus #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ExportTaskStatus -> m ExportTaskStatus #

Read ExportTaskStatus # 
Show ExportTaskStatus # 
Generic ExportTaskStatus # 
Hashable ExportTaskStatus # 
FromJSON ExportTaskStatus # 
NFData ExportTaskStatus # 

Methods

rnf :: ExportTaskStatus -> () #

type Rep ExportTaskStatus # 
type Rep ExportTaskStatus = D1 (MetaData "ExportTaskStatus" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" False) (C1 (MetaCons "ExportTaskStatus'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_etsCode") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe ExportTaskStatusCode))) (S1 (MetaSel (Just Symbol "_etsMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))

exportTaskStatus :: ExportTaskStatus #

Creates a value of ExportTaskStatus with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • etsCode - The status code of the export task.
  • etsMessage - The status message related to the status code.

etsCode :: Lens' ExportTaskStatus (Maybe ExportTaskStatusCode) #

The status code of the export task.

etsMessage :: Lens' ExportTaskStatus (Maybe Text) #

The status message related to the status code.

FilteredLogEvent

data FilteredLogEvent #

Represents a matched event.

See: filteredLogEvent smart constructor.

Instances

Eq FilteredLogEvent # 
Data FilteredLogEvent # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> FilteredLogEvent -> c FilteredLogEvent #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c FilteredLogEvent #

toConstr :: FilteredLogEvent -> Constr #

dataTypeOf :: FilteredLogEvent -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c FilteredLogEvent) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c FilteredLogEvent) #

gmapT :: (forall b. Data b => b -> b) -> FilteredLogEvent -> FilteredLogEvent #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> FilteredLogEvent -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> FilteredLogEvent -> r #

gmapQ :: (forall d. Data d => d -> u) -> FilteredLogEvent -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> FilteredLogEvent -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> FilteredLogEvent -> m FilteredLogEvent #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> FilteredLogEvent -> m FilteredLogEvent #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> FilteredLogEvent -> m FilteredLogEvent #

Read FilteredLogEvent # 
Show FilteredLogEvent # 
Generic FilteredLogEvent # 
Hashable FilteredLogEvent # 
FromJSON FilteredLogEvent # 
NFData FilteredLogEvent # 

Methods

rnf :: FilteredLogEvent -> () #

type Rep FilteredLogEvent # 
type Rep FilteredLogEvent = D1 (MetaData "FilteredLogEvent" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" False) (C1 (MetaCons "FilteredLogEvent'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_fleIngestionTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_fleLogStreamName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_fleMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_fleTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_fleEventId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

filteredLogEvent :: FilteredLogEvent #

Creates a value of FilteredLogEvent with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

fleIngestionTime :: Lens' FilteredLogEvent (Maybe Natural) #

The time the event was ingested.

fleLogStreamName :: Lens' FilteredLogEvent (Maybe Text) #

The name of the log stream this event belongs to.

fleMessage :: Lens' FilteredLogEvent (Maybe Text) #

The data contained in the log event.

fleTimestamp :: Lens' FilteredLogEvent (Maybe Natural) #

The time the event occurred.

fleEventId :: Lens' FilteredLogEvent (Maybe Text) #

The ID of the event.

InputLogEvent

data InputLogEvent #

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

See: inputLogEvent smart constructor.

Instances

Eq InputLogEvent # 
Data InputLogEvent # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> InputLogEvent -> c InputLogEvent #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c InputLogEvent #

toConstr :: InputLogEvent -> Constr #

dataTypeOf :: InputLogEvent -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c InputLogEvent) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c InputLogEvent) #

gmapT :: (forall b. Data b => b -> b) -> InputLogEvent -> InputLogEvent #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> InputLogEvent -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> InputLogEvent -> r #

gmapQ :: (forall d. Data d => d -> u) -> InputLogEvent -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> InputLogEvent -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> InputLogEvent -> m InputLogEvent #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> InputLogEvent -> m InputLogEvent #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> InputLogEvent -> m InputLogEvent #

Read InputLogEvent # 
Show InputLogEvent # 
Generic InputLogEvent # 

Associated Types

type Rep InputLogEvent :: * -> * #

Hashable InputLogEvent # 
ToJSON InputLogEvent # 
NFData InputLogEvent # 

Methods

rnf :: InputLogEvent -> () #

type Rep InputLogEvent # 
type Rep InputLogEvent = D1 (MetaData "InputLogEvent" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" False) (C1 (MetaCons "InputLogEvent'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_ileTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Nat)) (S1 (MetaSel (Just Symbol "_ileMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))))

inputLogEvent #

Creates a value of InputLogEvent with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

ileTimestamp :: Lens' InputLogEvent Natural #

The time the event occurred.

ileMessage :: Lens' InputLogEvent Text #

The raw event message.

LogGroup

data LogGroup #

Represents a log group.

See: logGroup smart constructor.

Instances

Eq LogGroup # 
Data LogGroup # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LogGroup -> c LogGroup #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LogGroup #

toConstr :: LogGroup -> Constr #

dataTypeOf :: LogGroup -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LogGroup) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LogGroup) #

gmapT :: (forall b. Data b => b -> b) -> LogGroup -> LogGroup #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LogGroup -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LogGroup -> r #

gmapQ :: (forall d. Data d => d -> u) -> LogGroup -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LogGroup -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LogGroup -> m LogGroup #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LogGroup -> m LogGroup #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LogGroup -> m LogGroup #

Read LogGroup # 
Show LogGroup # 
Generic LogGroup # 

Associated Types

type Rep LogGroup :: * -> * #

Methods

from :: LogGroup -> Rep LogGroup x #

to :: Rep LogGroup x -> LogGroup #

Hashable LogGroup # 

Methods

hashWithSalt :: Int -> LogGroup -> Int #

hash :: LogGroup -> Int #

FromJSON LogGroup # 
NFData LogGroup # 

Methods

rnf :: LogGroup -> () #

type Rep LogGroup # 
type Rep LogGroup = D1 (MetaData "LogGroup" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" False) (C1 (MetaCons "LogGroup'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lgCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) ((:*:) (S1 (MetaSel (Just Symbol "_lgMetricFilterCount") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_lgArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_lgLogGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_lgRetentionInDays") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_lgStoredBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))))

logGroup :: LogGroup #

Creates a value of LogGroup with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lgCreationTime :: Lens' LogGroup (Maybe Natural) #

The creation time of the log group.

lgMetricFilterCount :: Lens' LogGroup (Maybe Int) #

The number of metric filters.

lgArn :: Lens' LogGroup (Maybe Text) #

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

lgLogGroupName :: Lens' LogGroup (Maybe Text) #

The name of the log group.

lgRetentionInDays :: Lens' LogGroup (Maybe Int) #

Undocumented member.

lgStoredBytes :: Lens' LogGroup (Maybe Natural) #

The number of bytes stored.

LogStream

data LogStream #

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

See: logStream smart constructor.

Instances

Eq LogStream # 
Data LogStream # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> LogStream -> c LogStream #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c LogStream #

toConstr :: LogStream -> Constr #

dataTypeOf :: LogStream -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c LogStream) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c LogStream) #

gmapT :: (forall b. Data b => b -> b) -> LogStream -> LogStream #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> LogStream -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> LogStream -> r #

gmapQ :: (forall d. Data d => d -> u) -> LogStream -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> LogStream -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> LogStream -> m LogStream #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> LogStream -> m LogStream #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> LogStream -> m LogStream #

Read LogStream # 
Show LogStream # 
Generic LogStream # 

Associated Types

type Rep LogStream :: * -> * #

Hashable LogStream # 
FromJSON LogStream # 
NFData LogStream # 

Methods

rnf :: LogStream -> () #

type Rep LogStream # 
type Rep LogStream = D1 (MetaData "LogStream" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" False) (C1 (MetaCons "LogStream'" PrefixI True) ((:*:) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lsCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_lsUploadSequenceToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_lsArn") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lsFirstEventTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_lsLogStreamName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_lsStoredBytes") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))) ((:*:) (S1 (MetaSel (Just Symbol "_lsLastIngestionTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_lsLastEventTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat)))))))

logStream :: LogStream #

Creates a value of LogStream with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

lsCreationTime :: Lens' LogStream (Maybe Natural) #

The creation time of the stream.

lsArn :: Lens' LogStream (Maybe Text) #

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

lsFirstEventTimestamp :: Lens' LogStream (Maybe Natural) #

The time of the first event.

lsLogStreamName :: Lens' LogStream (Maybe Text) #

The name of the log stream.

lsStoredBytes :: Lens' LogStream (Maybe Natural) #

The number of bytes stored.

lsLastEventTimestamp :: Lens' LogStream (Maybe Natural) #

The time of the last event.

MetricFilter

data MetricFilter #

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: metricFilter smart constructor.

Instances

Eq MetricFilter # 
Data MetricFilter # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MetricFilter -> c MetricFilter #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MetricFilter #

toConstr :: MetricFilter -> Constr #

dataTypeOf :: MetricFilter -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MetricFilter) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MetricFilter) #

gmapT :: (forall b. Data b => b -> b) -> MetricFilter -> MetricFilter #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MetricFilter -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MetricFilter -> r #

gmapQ :: (forall d. Data d => d -> u) -> MetricFilter -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MetricFilter -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MetricFilter -> m MetricFilter #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricFilter -> m MetricFilter #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricFilter -> m MetricFilter #

Read MetricFilter # 
Show MetricFilter # 
Generic MetricFilter # 

Associated Types

type Rep MetricFilter :: * -> * #

Hashable MetricFilter # 
FromJSON MetricFilter # 
NFData MetricFilter # 

Methods

rnf :: MetricFilter -> () #

type Rep MetricFilter # 
type Rep MetricFilter = D1 (MetaData "MetricFilter" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" False) (C1 (MetaCons "MetricFilter'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_mfCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) (S1 (MetaSel (Just Symbol "_mfFilterName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_mfLogGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_mfFilterPattern") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mfMetricTransformations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 MetricTransformation))))))))

metricFilter :: MetricFilter #

Creates a value of MetricFilter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mfCreationTime :: Lens' MetricFilter (Maybe Natural) #

The creation time of the metric filter.

mfFilterName :: Lens' MetricFilter (Maybe Text) #

The name of the metric filter.

mfLogGroupName :: Lens' MetricFilter (Maybe Text) #

The name of the log group.

mfFilterPattern :: Lens' MetricFilter (Maybe Text) #

Undocumented member.

MetricFilterMatchRecord

data MetricFilterMatchRecord #

Represents a matched event.

See: metricFilterMatchRecord smart constructor.

Instances

Eq MetricFilterMatchRecord # 
Data MetricFilterMatchRecord # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MetricFilterMatchRecord -> c MetricFilterMatchRecord #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MetricFilterMatchRecord #

toConstr :: MetricFilterMatchRecord -> Constr #

dataTypeOf :: MetricFilterMatchRecord -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MetricFilterMatchRecord) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MetricFilterMatchRecord) #

gmapT :: (forall b. Data b => b -> b) -> MetricFilterMatchRecord -> MetricFilterMatchRecord #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MetricFilterMatchRecord -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MetricFilterMatchRecord -> r #

gmapQ :: (forall d. Data d => d -> u) -> MetricFilterMatchRecord -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MetricFilterMatchRecord -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MetricFilterMatchRecord -> m MetricFilterMatchRecord #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricFilterMatchRecord -> m MetricFilterMatchRecord #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricFilterMatchRecord -> m MetricFilterMatchRecord #

Read MetricFilterMatchRecord # 
Show MetricFilterMatchRecord # 
Generic MetricFilterMatchRecord # 
Hashable MetricFilterMatchRecord # 
FromJSON MetricFilterMatchRecord # 
NFData MetricFilterMatchRecord # 

Methods

rnf :: MetricFilterMatchRecord -> () #

type Rep MetricFilterMatchRecord # 
type Rep MetricFilterMatchRecord = D1 (MetaData "MetricFilterMatchRecord" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" False) (C1 (MetaCons "MetricFilterMatchRecord'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_mfmrExtractedValues") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (Map Text Text)))) ((:*:) (S1 (MetaSel (Just Symbol "_mfmrEventNumber") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Integer))) (S1 (MetaSel (Just Symbol "_mfmrEventMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))

metricFilterMatchRecord :: MetricFilterMatchRecord #

Creates a value of MetricFilterMatchRecord with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

mfmrExtractedValues :: Lens' MetricFilterMatchRecord (HashMap Text Text) #

The values extracted from the event data by the filter.

MetricTransformation

data MetricTransformation #

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

See: metricTransformation smart constructor.

Instances

Eq MetricTransformation # 
Data MetricTransformation # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> MetricTransformation -> c MetricTransformation #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c MetricTransformation #

toConstr :: MetricTransformation -> Constr #

dataTypeOf :: MetricTransformation -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c MetricTransformation) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c MetricTransformation) #

gmapT :: (forall b. Data b => b -> b) -> MetricTransformation -> MetricTransformation #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> MetricTransformation -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> MetricTransformation -> r #

gmapQ :: (forall d. Data d => d -> u) -> MetricTransformation -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> MetricTransformation -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> MetricTransformation -> m MetricTransformation #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricTransformation -> m MetricTransformation #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> MetricTransformation -> m MetricTransformation #

Read MetricTransformation # 
Show MetricTransformation # 
Generic MetricTransformation # 
Hashable MetricTransformation # 
ToJSON MetricTransformation # 
FromJSON MetricTransformation # 
NFData MetricTransformation # 

Methods

rnf :: MetricTransformation -> () #

type Rep MetricTransformation # 
type Rep MetricTransformation = D1 (MetaData "MetricTransformation" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" False) (C1 (MetaCons "MetricTransformation'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_mtDefaultValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Double))) (S1 (MetaSel (Just Symbol "_mtMetricName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text))) ((:*:) (S1 (MetaSel (Just Symbol "_mtMetricNamespace") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)) (S1 (MetaSel (Just Symbol "_mtMetricValue") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text)))))

metricTransformation #

Creates a value of MetricTransformation with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

  • mtDefaultValue - (Optional) The value to emit when a filter pattern does not match a log event. This value can be null.
  • mtMetricName - The name of the CloudWatch metric.
  • mtMetricNamespace - The namespace of the CloudWatch metric.
  • mtMetricValue - The value to publish to the CloudWatch metric when a filter pattern matches a log event.

mtDefaultValue :: Lens' MetricTransformation (Maybe Double) #

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

mtMetricName :: Lens' MetricTransformation Text #

The name of the CloudWatch metric.

mtMetricNamespace :: Lens' MetricTransformation Text #

The namespace of the CloudWatch metric.

mtMetricValue :: Lens' MetricTransformation Text #

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

OutputLogEvent

data OutputLogEvent #

Represents a log event.

See: outputLogEvent smart constructor.

Instances

Eq OutputLogEvent # 
Data OutputLogEvent # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> OutputLogEvent -> c OutputLogEvent #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c OutputLogEvent #

toConstr :: OutputLogEvent -> Constr #

dataTypeOf :: OutputLogEvent -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c OutputLogEvent) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c OutputLogEvent) #

gmapT :: (forall b. Data b => b -> b) -> OutputLogEvent -> OutputLogEvent #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> OutputLogEvent -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> OutputLogEvent -> r #

gmapQ :: (forall d. Data d => d -> u) -> OutputLogEvent -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> OutputLogEvent -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> OutputLogEvent -> m OutputLogEvent #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> OutputLogEvent -> m OutputLogEvent #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> OutputLogEvent -> m OutputLogEvent #

Read OutputLogEvent # 
Show OutputLogEvent # 
Generic OutputLogEvent # 

Associated Types

type Rep OutputLogEvent :: * -> * #

Hashable OutputLogEvent # 
FromJSON OutputLogEvent # 
NFData OutputLogEvent # 

Methods

rnf :: OutputLogEvent -> () #

type Rep OutputLogEvent # 
type Rep OutputLogEvent = D1 (MetaData "OutputLogEvent" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" False) (C1 (MetaCons "OutputLogEvent'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_oleIngestionTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) ((:*:) (S1 (MetaSel (Just Symbol "_oleMessage") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_oleTimestamp") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))))

outputLogEvent :: OutputLogEvent #

Creates a value of OutputLogEvent with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

oleIngestionTime :: Lens' OutputLogEvent (Maybe Natural) #

The time the event was ingested.

oleMessage :: Lens' OutputLogEvent (Maybe Text) #

The data contained in the log event.

oleTimestamp :: Lens' OutputLogEvent (Maybe Natural) #

The time the event occurred.

RejectedLogEventsInfo

data RejectedLogEventsInfo #

Represents the rejected events.

See: rejectedLogEventsInfo smart constructor.

Instances

Eq RejectedLogEventsInfo # 
Data RejectedLogEventsInfo # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> RejectedLogEventsInfo -> c RejectedLogEventsInfo #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c RejectedLogEventsInfo #

toConstr :: RejectedLogEventsInfo -> Constr #

dataTypeOf :: RejectedLogEventsInfo -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c RejectedLogEventsInfo) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c RejectedLogEventsInfo) #

gmapT :: (forall b. Data b => b -> b) -> RejectedLogEventsInfo -> RejectedLogEventsInfo #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> RejectedLogEventsInfo -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> RejectedLogEventsInfo -> r #

gmapQ :: (forall d. Data d => d -> u) -> RejectedLogEventsInfo -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> RejectedLogEventsInfo -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> RejectedLogEventsInfo -> m RejectedLogEventsInfo #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> RejectedLogEventsInfo -> m RejectedLogEventsInfo #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> RejectedLogEventsInfo -> m RejectedLogEventsInfo #

Read RejectedLogEventsInfo # 
Show RejectedLogEventsInfo # 
Generic RejectedLogEventsInfo # 
Hashable RejectedLogEventsInfo # 
FromJSON RejectedLogEventsInfo # 
NFData RejectedLogEventsInfo # 

Methods

rnf :: RejectedLogEventsInfo -> () #

type Rep RejectedLogEventsInfo # 
type Rep RejectedLogEventsInfo = D1 (MetaData "RejectedLogEventsInfo" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" False) (C1 (MetaCons "RejectedLogEventsInfo'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rleiTooOldLogEventEndIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) ((:*:) (S1 (MetaSel (Just Symbol "_rleiTooNewLogEventStartIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))) (S1 (MetaSel (Just Symbol "_rleiExpiredLogEventEndIndex") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Int))))))

rejectedLogEventsInfo :: RejectedLogEventsInfo #

Creates a value of RejectedLogEventsInfo with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

rleiTooOldLogEventEndIndex :: Lens' RejectedLogEventsInfo (Maybe Int) #

The log events that are too old.

rleiTooNewLogEventStartIndex :: Lens' RejectedLogEventsInfo (Maybe Int) #

The log events that are too new.

SearchedLogStream

data SearchedLogStream #

Represents the search status of a log stream.

See: searchedLogStream smart constructor.

Instances

Eq SearchedLogStream # 
Data SearchedLogStream # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SearchedLogStream -> c SearchedLogStream #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SearchedLogStream #

toConstr :: SearchedLogStream -> Constr #

dataTypeOf :: SearchedLogStream -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SearchedLogStream) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SearchedLogStream) #

gmapT :: (forall b. Data b => b -> b) -> SearchedLogStream -> SearchedLogStream #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SearchedLogStream -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SearchedLogStream -> r #

gmapQ :: (forall d. Data d => d -> u) -> SearchedLogStream -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SearchedLogStream -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SearchedLogStream -> m SearchedLogStream #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchedLogStream -> m SearchedLogStream #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SearchedLogStream -> m SearchedLogStream #

Read SearchedLogStream # 
Show SearchedLogStream # 
Generic SearchedLogStream # 
Hashable SearchedLogStream # 
FromJSON SearchedLogStream # 
NFData SearchedLogStream # 

Methods

rnf :: SearchedLogStream -> () #

type Rep SearchedLogStream # 
type Rep SearchedLogStream = D1 (MetaData "SearchedLogStream" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" False) (C1 (MetaCons "SearchedLogStream'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_slsLogStreamName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_slsSearchedCompletely") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Bool)))))

searchedLogStream :: SearchedLogStream #

Creates a value of SearchedLogStream with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

slsLogStreamName :: Lens' SearchedLogStream (Maybe Text) #

The name of the log stream.

slsSearchedCompletely :: Lens' SearchedLogStream (Maybe Bool) #

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

SubscriptionFilter

data SubscriptionFilter #

Represents a subscription filter.

See: subscriptionFilter smart constructor.

Instances

Eq SubscriptionFilter # 
Data SubscriptionFilter # 

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> SubscriptionFilter -> c SubscriptionFilter #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c SubscriptionFilter #

toConstr :: SubscriptionFilter -> Constr #

dataTypeOf :: SubscriptionFilter -> DataType #

dataCast1 :: Typeable (* -> *) t => (forall d. Data d => c (t d)) -> Maybe (c SubscriptionFilter) #

dataCast2 :: Typeable (* -> * -> *) t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c SubscriptionFilter) #

gmapT :: (forall b. Data b => b -> b) -> SubscriptionFilter -> SubscriptionFilter #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> SubscriptionFilter -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> SubscriptionFilter -> r #

gmapQ :: (forall d. Data d => d -> u) -> SubscriptionFilter -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> SubscriptionFilter -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> SubscriptionFilter -> m SubscriptionFilter #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> SubscriptionFilter -> m SubscriptionFilter #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> SubscriptionFilter -> m SubscriptionFilter #

Read SubscriptionFilter # 
Show SubscriptionFilter # 
Generic SubscriptionFilter # 
Hashable SubscriptionFilter # 
FromJSON SubscriptionFilter # 
NFData SubscriptionFilter # 

Methods

rnf :: SubscriptionFilter -> () #

type Rep SubscriptionFilter # 
type Rep SubscriptionFilter = D1 (MetaData "SubscriptionFilter" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.5-9QRzQX2AFAcp9HWg8eJiT" False) (C1 (MetaCons "SubscriptionFilter'" PrefixI True) ((:*:) ((:*:) (S1 (MetaSel (Just Symbol "_sfCreationTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))) ((:*:) (S1 (MetaSel (Just Symbol "_sfFilterName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sfDestinationARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))) ((:*:) (S1 (MetaSel (Just Symbol "_sfLogGroupName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_sfFilterPattern") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_sfRoleARN") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))))))

subscriptionFilter :: SubscriptionFilter #

Creates a value of SubscriptionFilter with the minimum fields required to make a request.

Use one of the following lenses to modify other fields as desired:

sfCreationTime :: Lens' SubscriptionFilter (Maybe Natural) #

The creation time of the subscription filter.

sfFilterName :: Lens' SubscriptionFilter (Maybe Text) #

The name of the subscription filter.

sfDestinationARN :: Lens' SubscriptionFilter (Maybe Text) #

The Amazon Resource Name (ARN) of the destination.

sfLogGroupName :: Lens' SubscriptionFilter (Maybe Text) #

The name of the log group.