amazonka-cloudwatch-logs-1.4.4: 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 Amazon Elastic Compute Cloud (Amazon 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 Source #

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 Source #

Returned if a parameter of the request is incorrectly specified.

InvalidSequenceTokenException

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

Prism for InvalidSequenceTokenException' errors.

ResourceAlreadyExistsException

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

Returned if the specified resource already exists.

OperationAbortedException

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

Returned if multiple requests to update the same resource were in conflict.

ServiceUnavailableException

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

Returned if the service cannot complete the request.

DataAlreadyAcceptedException

_DataAlreadyAcceptedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

Prism for DataAlreadyAcceptedException' errors.

InvalidOperationException

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

Returned if the operation is not valid on the specified resource

ResourceNotFoundException

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

Returned if the specified resource does not exist.

LimitExceededException

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

Returned if 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 Source #

Instances

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

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 Source # 
Read ExportTaskStatusCode Source # 
Show ExportTaskStatusCode Source # 
Generic ExportTaskStatusCode Source # 
Hashable ExportTaskStatusCode Source # 
NFData ExportTaskStatusCode Source # 

Methods

rnf :: ExportTaskStatusCode -> () #

ToHeader ExportTaskStatusCode Source # 
ToQuery ExportTaskStatusCode Source # 
ToByteString ExportTaskStatusCode Source # 
FromJSON ExportTaskStatusCode Source # 
ToJSON ExportTaskStatusCode Source # 
FromText ExportTaskStatusCode Source # 

Methods

parser :: Parser ExportTaskStatusCode #

ToText ExportTaskStatusCode Source # 
type Rep ExportTaskStatusCode Source # 
type Rep ExportTaskStatusCode = D1 (MetaData "ExportTaskStatusCode" "Network.AWS.CloudWatchLogs.Types.Sum" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" 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 Source #

Instances

Bounded OrderBy Source # 
Enum OrderBy Source # 
Eq OrderBy Source # 

Methods

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

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

Data OrderBy Source # 

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 Source # 
Read OrderBy Source # 
Show OrderBy Source # 
Generic OrderBy Source # 

Associated Types

type Rep OrderBy :: * -> * #

Methods

from :: OrderBy -> Rep OrderBy x #

to :: Rep OrderBy x -> OrderBy #

Hashable OrderBy Source # 

Methods

hashWithSalt :: Int -> OrderBy -> Int #

hash :: OrderBy -> Int #

NFData OrderBy Source # 

Methods

rnf :: OrderBy -> () #

ToHeader OrderBy Source # 

Methods

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

ToQuery OrderBy Source # 
ToByteString OrderBy Source # 

Methods

toBS :: OrderBy -> ByteString #

ToJSON OrderBy Source # 

Methods

toJSON :: OrderBy -> Value #

toEncoding :: OrderBy -> Encoding #

FromText OrderBy Source # 

Methods

parser :: Parser OrderBy #

ToText OrderBy Source # 

Methods

toText :: OrderBy -> Text #

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

Destination

data Destination Source #

A cross account destination that is the recipient of subscription log events.

See: destination smart constructor.

Instances

Eq Destination Source # 
Data Destination Source # 

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 Source # 
Show Destination Source # 
Generic Destination Source # 

Associated Types

type Rep Destination :: * -> * #

Hashable Destination Source # 
NFData Destination Source # 

Methods

rnf :: Destination -> () #

FromJSON Destination Source # 

Methods

parseJSON :: Value -> Parser Destination #

type Rep Destination Source # 
type Rep Destination = D1 (MetaData "Destination" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" 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 Source #

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 :: Lens' Destination (Maybe Text) Source #

ARN of the physical target where the log events will be delivered (eg. ARN of a Kinesis stream).

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

A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC specifying when this destination was created.

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

ARN of this destination.

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

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

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

Name of the destination.

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

A role for impersonation for delivering log events to the target.

ExportTask

data ExportTask Source #

Represents an export task.

See: exportTask smart constructor.

Instances

Eq ExportTask Source # 
Data ExportTask Source # 

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 Source # 
Show ExportTask Source # 
Generic ExportTask Source # 

Associated Types

type Rep ExportTask :: * -> * #

Hashable ExportTask Source # 
NFData ExportTask Source # 

Methods

rnf :: ExportTask -> () #

FromJSON ExportTask Source # 

Methods

parseJSON :: Value -> Parser ExportTask #

type Rep ExportTask Source # 

exportTask :: ExportTask Source #

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 :: Lens' ExportTask (Maybe Text) Source #

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

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

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

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

Status of the export task.

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

The name of the export task.

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

Id of the export task.

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

A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported.

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

A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp prior to this time are not exported.

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

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

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

Execution info about the export task.

ExportTaskExecutionInfo

data ExportTaskExecutionInfo Source #

Represents the status of an export task.

See: exportTaskExecutionInfo smart constructor.

Instances

Eq ExportTaskExecutionInfo Source # 
Data ExportTaskExecutionInfo Source # 

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 Source # 
Show ExportTaskExecutionInfo Source # 
Generic ExportTaskExecutionInfo Source # 
Hashable ExportTaskExecutionInfo Source # 
NFData ExportTaskExecutionInfo Source # 

Methods

rnf :: ExportTaskExecutionInfo -> () #

FromJSON ExportTaskExecutionInfo Source # 
type Rep ExportTaskExecutionInfo Source # 
type Rep ExportTaskExecutionInfo = D1 (MetaData "ExportTaskExecutionInfo" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" 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 Source #

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) Source #

A point in time when the export task got created.

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

A point in time when the export task got completed.

ExportTaskStatus

data ExportTaskStatus Source #

Represents the status of an export task.

See: exportTaskStatus smart constructor.

Instances

Eq ExportTaskStatus Source # 
Data ExportTaskStatus Source # 

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 Source # 
Show ExportTaskStatus Source # 
Generic ExportTaskStatus Source # 
Hashable ExportTaskStatus Source # 
NFData ExportTaskStatus Source # 

Methods

rnf :: ExportTaskStatus -> () #

FromJSON ExportTaskStatus Source # 

Methods

parseJSON :: Value -> Parser ExportTaskStatus #

type Rep ExportTaskStatus Source # 
type Rep ExportTaskStatus = D1 (MetaData "ExportTaskStatus" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" 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 Source #

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 :: Lens' ExportTaskStatus (Maybe ExportTaskStatusCode) Source #

Status code of the export task.

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

Status message related to the code.

FilteredLogEvent

data FilteredLogEvent Source #

Represents a matched event from a FilterLogEvents request.

See: filteredLogEvent smart constructor.

Instances

Eq FilteredLogEvent Source # 
Data FilteredLogEvent Source # 

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 Source # 
Show FilteredLogEvent Source # 
Generic FilteredLogEvent Source # 
Hashable FilteredLogEvent Source # 
NFData FilteredLogEvent Source # 

Methods

rnf :: FilteredLogEvent -> () #

FromJSON FilteredLogEvent Source # 

Methods

parseJSON :: Value -> Parser FilteredLogEvent #

type Rep FilteredLogEvent Source # 
type Rep FilteredLogEvent = D1 (MetaData "FilteredLogEvent" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" 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 Source #

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:

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

The name of the log stream this event belongs to.

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

The data contained in the log event.

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

A unique identifier for this event.

InputLogEvent

data InputLogEvent Source #

A log event is a record of some activity that was recorded by the application or resource being monitored. The log event record that CloudWatch Logs understands contains two properties: the timestamp of when the event occurred, and the raw event message.

See: inputLogEvent smart constructor.

Instances

Eq InputLogEvent Source # 
Data InputLogEvent Source # 

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 Source # 
Show InputLogEvent Source # 
Generic InputLogEvent Source # 

Associated Types

type Rep InputLogEvent :: * -> * #

Hashable InputLogEvent Source # 
NFData InputLogEvent Source # 

Methods

rnf :: InputLogEvent -> () #

ToJSON InputLogEvent Source # 

Methods

toJSON :: InputLogEvent -> Value #

toEncoding :: InputLogEvent -> Encoding #

type Rep InputLogEvent Source # 
type Rep InputLogEvent = D1 (MetaData "InputLogEvent" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" 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 Source #

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:

ileMessage :: Lens' InputLogEvent Text Source #

Undocumented member.

LogGroup

data LogGroup Source #

See: logGroup smart constructor.

Instances

Eq LogGroup Source # 
Data LogGroup Source # 

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 Source # 
Show LogGroup Source # 
Generic LogGroup Source # 

Associated Types

type Rep LogGroup :: * -> * #

Methods

from :: LogGroup -> Rep LogGroup x #

to :: Rep LogGroup x -> LogGroup #

Hashable LogGroup Source # 

Methods

hashWithSalt :: Int -> LogGroup -> Int #

hash :: LogGroup -> Int #

NFData LogGroup Source # 

Methods

rnf :: LogGroup -> () #

FromJSON LogGroup Source # 

Methods

parseJSON :: Value -> Parser LogGroup #

type Rep LogGroup Source # 
type Rep LogGroup = D1 (MetaData "LogGroup" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" 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 Source #

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) Source #

Undocumented member.

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

Undocumented member.

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

Undocumented member.

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

Undocumented member.

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

Undocumented member.

LogStream

data LogStream Source #

A log stream is sequence of log events from a single emitter of logs.

See: logStream smart constructor.

Instances

Eq LogStream Source # 
Data LogStream Source # 

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 Source # 
Show LogStream Source # 
Generic LogStream Source # 

Associated Types

type Rep LogStream :: * -> * #

Hashable LogStream Source # 
NFData LogStream Source # 

Methods

rnf :: LogStream -> () #

FromJSON LogStream Source # 

Methods

parseJSON :: Value -> Parser LogStream #

type Rep LogStream Source # 
type Rep LogStream = D1 (MetaData "LogStream" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" 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 Source #

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:

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

Undocumented member.

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

Undocumented member.

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

Undocumented member.

MetricFilter

data MetricFilter Source #

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

See: metricFilter smart constructor.

Instances

Eq MetricFilter Source # 
Data MetricFilter Source # 

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 Source # 
Show MetricFilter Source # 
Generic MetricFilter Source # 

Associated Types

type Rep MetricFilter :: * -> * #

Hashable MetricFilter Source # 
NFData MetricFilter Source # 

Methods

rnf :: MetricFilter -> () #

FromJSON MetricFilter Source # 

Methods

parseJSON :: Value -> Parser MetricFilter #

type Rep MetricFilter Source # 
type Rep MetricFilter = D1 (MetaData "MetricFilter" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" 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 "_mfFilterPattern") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_mfMetricTransformations") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe (List1 MetricTransformation)))))))

metricFilter :: MetricFilter Source #

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:

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

Undocumented member.

MetricFilterMatchRecord

data MetricFilterMatchRecord Source #

See: metricFilterMatchRecord smart constructor.

Instances

Eq MetricFilterMatchRecord Source # 
Data MetricFilterMatchRecord Source # 

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 Source # 
Show MetricFilterMatchRecord Source # 
Generic MetricFilterMatchRecord Source # 
Hashable MetricFilterMatchRecord Source # 
NFData MetricFilterMatchRecord Source # 

Methods

rnf :: MetricFilterMatchRecord -> () #

FromJSON MetricFilterMatchRecord Source # 
type Rep MetricFilterMatchRecord Source # 
type Rep MetricFilterMatchRecord = D1 (MetaData "MetricFilterMatchRecord" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" 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 Source #

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:

MetricTransformation

data MetricTransformation Source #

See: metricTransformation smart constructor.

Instances

Eq MetricTransformation Source # 
Data MetricTransformation Source # 

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 Source # 
Show MetricTransformation Source # 
Generic MetricTransformation Source # 
Hashable MetricTransformation Source # 
NFData MetricTransformation Source # 

Methods

rnf :: MetricTransformation -> () #

FromJSON MetricTransformation Source # 
ToJSON MetricTransformation Source # 
type Rep MetricTransformation Source # 
type Rep MetricTransformation = D1 (MetaData "MetricTransformation" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" 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 Source #

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 :: Lens' MetricTransformation (Maybe Double) Source #

(Optional) A default value to emit when a filter pattern does not match a log event. Can be null.

mtMetricNamespace :: Lens' MetricTransformation Text Source #

Namespace to which the metric belongs.

mtMetricValue :: Lens' MetricTransformation Text Source #

A string representing a value to publish to this metric when a filter pattern matches a log event.

OutputLogEvent

data OutputLogEvent Source #

See: outputLogEvent smart constructor.

Instances

Eq OutputLogEvent Source # 
Data OutputLogEvent Source # 

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 Source # 
Show OutputLogEvent Source # 
Generic OutputLogEvent Source # 

Associated Types

type Rep OutputLogEvent :: * -> * #

Hashable OutputLogEvent Source # 
NFData OutputLogEvent Source # 

Methods

rnf :: OutputLogEvent -> () #

FromJSON OutputLogEvent Source # 

Methods

parseJSON :: Value -> Parser OutputLogEvent #

type Rep OutputLogEvent Source # 
type Rep OutputLogEvent = D1 (MetaData "OutputLogEvent" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" 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 Source #

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:

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

Undocumented member.

RejectedLogEventsInfo

data RejectedLogEventsInfo Source #

See: rejectedLogEventsInfo smart constructor.

Instances

Eq RejectedLogEventsInfo Source # 
Data RejectedLogEventsInfo Source # 

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 Source # 
Show RejectedLogEventsInfo Source # 
Generic RejectedLogEventsInfo Source # 
Hashable RejectedLogEventsInfo Source # 
NFData RejectedLogEventsInfo Source # 

Methods

rnf :: RejectedLogEventsInfo -> () #

FromJSON RejectedLogEventsInfo Source # 
type Rep RejectedLogEventsInfo Source # 
type Rep RejectedLogEventsInfo = D1 (MetaData "RejectedLogEventsInfo" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" 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 Source #

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:

SearchedLogStream

data SearchedLogStream Source #

An object indicating the search status of a log stream in a FilterLogEvents request.

See: searchedLogStream smart constructor.

Instances

Eq SearchedLogStream Source # 
Data SearchedLogStream Source # 

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 Source # 
Show SearchedLogStream Source # 
Generic SearchedLogStream Source # 
Hashable SearchedLogStream Source # 
NFData SearchedLogStream Source # 

Methods

rnf :: SearchedLogStream -> () #

FromJSON SearchedLogStream Source # 

Methods

parseJSON :: Value -> Parser SearchedLogStream #

type Rep SearchedLogStream Source # 
type Rep SearchedLogStream = D1 (MetaData "SearchedLogStream" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" 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 Source #

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) Source #

The name of the log stream.

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

Indicates whether all the events in this log stream were searched or more data exists to search by paginating further.

SubscriptionFilter

data SubscriptionFilter Source #

See: subscriptionFilter smart constructor.

Instances

Eq SubscriptionFilter Source # 
Data SubscriptionFilter Source # 

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 Source # 
Show SubscriptionFilter Source # 
Generic SubscriptionFilter Source # 
Hashable SubscriptionFilter Source # 
NFData SubscriptionFilter Source # 

Methods

rnf :: SubscriptionFilter -> () #

FromJSON SubscriptionFilter Source # 

Methods

parseJSON :: Value -> Parser SubscriptionFilter #

type Rep SubscriptionFilter Source # 
type Rep SubscriptionFilter = D1 (MetaData "SubscriptionFilter" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.4.4-EgOzOYKUQiWBkTjIo71Lcv" 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 Source #

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: