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

Copyright(c) 2013-2017 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@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 EC2 instances, AWS CloudTrail, or other sources. You can then retrieve the associated log data from CloudWatch Logs using the CloudWatch console, CloudWatch Logs commands in the AWS CLI, CloudWatch Logs API, or CloudWatch Logs SDK.

You can use CloudWatch Logs to:

  • Monitor logs from 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 that 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 CloudWatch metric that you specify.
  • Monitor AWS CloudTrail logged events : You can create alarms in 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 #

A parameter is specified incorrectly.

InvalidSequenceTokenException

ResourceAlreadyExistsException

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

The specified resource already exists.

OperationAbortedException

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

Multiple requests to update the same resource were in conflict.

ServiceUnavailableException

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

The service cannot complete the request.

DataAlreadyAcceptedException

InvalidOperationException

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

The operation is not valid on the specified resource.

ResourceNotFoundException

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

The specified resource does not exist.

LimitExceededException

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

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)

UntagLogGroup

CreateExportTask

PutDestination

DescribeSubscriptionFilters (Paginated)

GetLogEvents

DescribeLogGroups (Paginated)

DeleteDestination

DisassociateKMSKey

FilterLogEvents (Paginated)

TagLogGroup

DescribeResourcePolicies

DeleteLogStream

CreateLogStream

CreateLogGroup

DescribeExportTasks

CancelExportTask

PutSubscriptionFilter

DeleteLogGroup

DeleteSubscriptionFilter

PutLogEvents

DescribeMetricFilters (Paginated)

TestMetricFilter

PutDestinationPolicy

PutMetricFilter

DeleteRetentionPolicy

DeleteMetricFilter

PutRetentionPolicy

ListTagsLogGroup

PutResourcePolicy

DeleteResourcePolicy

AssociateKMSKey

DescribeLogStreams (Paginated)

Types

Distribution

data Distribution Source #

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

Constructors

ByLogStream 
Random 

Instances

Bounded Distribution Source # 
Enum Distribution Source # 
Eq Distribution Source # 
Data Distribution Source # 

Methods

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

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

toConstr :: Distribution -> Constr #

dataTypeOf :: Distribution -> DataType #

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

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

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

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

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

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

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

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

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

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

Ord Distribution Source # 
Read Distribution Source # 
Show Distribution Source # 
Generic Distribution Source # 

Associated Types

type Rep Distribution :: * -> * #

Hashable Distribution Source # 
FromJSON Distribution Source # 
ToJSON Distribution Source # 
NFData Distribution Source # 

Methods

rnf :: Distribution -> () #

ToQuery Distribution Source # 
ToHeader Distribution Source # 
ToByteString Distribution Source # 
FromText Distribution Source # 
ToText Distribution Source # 

Methods

toText :: Distribution -> Text #

type Rep Distribution Source # 
type Rep Distribution = D1 (MetaData "Distribution" "Network.AWS.CloudWatchLogs.Types.Sum" "amazonka-cloudwatch-logs-1.5.0-3vuxaAoYUATHD7OLMfoSU1" False) ((:+:) (C1 (MetaCons "ByLogStream" PrefixI False) U1) (C1 (MetaCons "Random" PrefixI False) U1))

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 # 
FromJSON ExportTaskStatusCode Source # 
ToJSON ExportTaskStatusCode Source # 
NFData ExportTaskStatusCode Source # 

Methods

rnf :: ExportTaskStatusCode -> () #

ToQuery ExportTaskStatusCode Source # 
ToHeader ExportTaskStatusCode Source # 
ToByteString ExportTaskStatusCode Source # 
FromText ExportTaskStatusCode Source # 
ToText ExportTaskStatusCode Source # 
type Rep ExportTaskStatusCode Source # 
type Rep ExportTaskStatusCode = D1 (MetaData "ExportTaskStatusCode" "Network.AWS.CloudWatchLogs.Types.Sum" "amazonka-cloudwatch-logs-1.5.0-3vuxaAoYUATHD7OLMfoSU1" 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 #

ToJSON OrderBy Source # 
NFData OrderBy Source # 

Methods

rnf :: OrderBy -> () #

ToQuery OrderBy Source # 
ToHeader OrderBy Source # 

Methods

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

ToByteString OrderBy Source # 

Methods

toBS :: OrderBy -> ByteString #

FromText OrderBy Source # 
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.5.0-3vuxaAoYUATHD7OLMfoSU1" False) ((:+:) (C1 (MetaCons "LastEventTime" PrefixI False) U1) (C1 (MetaCons "LogStreamName" PrefixI False) U1))

Destination

data Destination Source #

Represents a cross-account destination that receives 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 # 
FromJSON Destination Source # 
NFData Destination Source # 

Methods

rnf :: Destination -> () #

type Rep Destination Source # 
type Rep Destination = D1 (MetaData "Destination" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.5.0-3vuxaAoYUATHD7OLMfoSU1" 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 - The Amazon Resource Name (ARN) of the physical target to where the log events are delivered (for example, a Kinesis stream).
  • dCreationTime - The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
  • 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) Source #

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

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

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

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

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

The name of the destination.

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

A role for impersonation, used when 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 # 
FromJSON ExportTask Source # 
NFData ExportTask Source # 

Methods

rnf :: 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 - 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, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp later than this time are not exported.
  • etFrom - The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp before 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) Source #

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

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

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

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

The status of the export task.

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

The name of the export task.

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

The ID of the export task.

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

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

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

The start time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. Events with a time stamp before 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 # 
FromJSON ExportTaskExecutionInfo Source # 
NFData ExportTaskExecutionInfo Source # 

Methods

rnf :: ExportTaskExecutionInfo -> () #

type Rep ExportTaskExecutionInfo Source # 
type Rep ExportTaskExecutionInfo = D1 (MetaData "ExportTaskExecutionInfo" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.5.0-3vuxaAoYUATHD7OLMfoSU1" 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 - The creation time of the export task, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
  • eteiCompletionTime - The completion time of the export task, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

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

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

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

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

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 # 
FromJSON ExportTaskStatus Source # 
NFData ExportTaskStatus Source # 

Methods

rnf :: ExportTaskStatus -> () #

type Rep ExportTaskStatus Source # 
type Rep ExportTaskStatus = D1 (MetaData "ExportTaskStatus" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.5.0-3vuxaAoYUATHD7OLMfoSU1" 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 - The status code of the export task.
  • etsMessage - The status message related to the status code.

etsCode :: Lens' ExportTaskStatus (Maybe ExportTaskStatusCode) Source #

The status code of the export task.

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

The status message related to the status code.

FilteredLogEvent

data FilteredLogEvent Source #

Represents a matched event.

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 # 
FromJSON FilteredLogEvent Source # 
NFData FilteredLogEvent Source # 

Methods

rnf :: FilteredLogEvent -> () #

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

  • fleIngestionTime - The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
  • fleLogStreamName - The name of the log stream this event belongs to.
  • fleMessage - The data contained in the log event.
  • fleTimestamp - The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
  • fleEventId - The ID of the event.

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

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

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.

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

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

InputLogEvent

data InputLogEvent Source #

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

See: 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 # 
ToJSON InputLogEvent Source # 
NFData InputLogEvent Source # 

Methods

rnf :: InputLogEvent -> () #

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

  • ileTimestamp - The time the event occurred, expressed as the number of milliseconds fter Jan 1, 1970 00:00:00 UTC.
  • ileMessage - The raw event message.

ileTimestamp :: Lens' InputLogEvent Natural Source #

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

ileMessage :: Lens' InputLogEvent Text Source #

The raw event message.

LogGroup

data LogGroup Source #

Represents a log group.

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 #

FromJSON LogGroup Source # 
NFData LogGroup Source # 

Methods

rnf :: LogGroup -> () #

type Rep LogGroup Source # 
type Rep LogGroup = D1 (MetaData "LogGroup" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.5.0-3vuxaAoYUATHD7OLMfoSU1" 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 "_lgKmsKeyId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (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 #

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

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

The number of metric filters.

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

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

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

The name of the log group.

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

Undocumented member.

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

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

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

The number of bytes stored.

LogStream

data LogStream Source #

Represents a log stream, which is a 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 # 
FromJSON LogStream Source # 
NFData LogStream Source # 

Methods

rnf :: LogStream -> () #

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

  • lsCreationTime - The creation time of the stream, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
  • lsUploadSequenceToken - The sequence token.
  • lsArn - The Amazon Resource Name (ARN) of the log stream.
  • lsFirstEventTimestamp - The time of the first event, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
  • lsLogStreamName - The name of the log stream.
  • lsStoredBytes - The number of bytes stored.
  • lsLastIngestionTime - The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
  • lsLastEventTimestamp - the time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. lastEventTime updates on an eventual consistency basis. It typically updates in less than an hour from ingestion, but may take longer in some rare situations.

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

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

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

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

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

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

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

The name of the log stream.

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

The number of bytes stored.

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

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

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

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

MetricFilter

data MetricFilter Source #

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

See: 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 # 
FromJSON MetricFilter Source # 
NFData MetricFilter Source # 

Methods

rnf :: MetricFilter -> () #

type Rep MetricFilter Source # 
type Rep MetricFilter = D1 (MetaData "MetricFilter" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.5.0-3vuxaAoYUATHD7OLMfoSU1" 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 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:

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

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

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

The name of the metric filter.

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

The name of the log group.

MetricFilterMatchRecord

data MetricFilterMatchRecord Source #

Represents a matched event.

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 # 
FromJSON MetricFilterMatchRecord Source # 
NFData MetricFilterMatchRecord Source # 

Methods

rnf :: MetricFilterMatchRecord -> () #

type Rep MetricFilterMatchRecord Source # 
type Rep MetricFilterMatchRecord = D1 (MetaData "MetricFilterMatchRecord" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.5.0-3vuxaAoYUATHD7OLMfoSU1" 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:

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

The values extracted from the event data by the filter.

MetricTransformation

data MetricTransformation Source #

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

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 # 
FromJSON MetricTransformation Source # 
ToJSON MetricTransformation Source # 
NFData MetricTransformation Source # 

Methods

rnf :: MetricTransformation -> () #

type Rep MetricTransformation Source # 
type Rep MetricTransformation = D1 (MetaData "MetricTransformation" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.5.0-3vuxaAoYUATHD7OLMfoSU1" 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 - (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) Source #

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

mtMetricName :: Lens' MetricTransformation Text Source #

The name of the CloudWatch metric.

mtMetricNamespace :: Lens' MetricTransformation Text Source #

The namespace of the CloudWatch metric.

mtMetricValue :: Lens' MetricTransformation Text Source #

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

OutputLogEvent

data OutputLogEvent Source #

Represents a log event.

See: 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 # 
FromJSON OutputLogEvent Source # 
NFData OutputLogEvent Source # 

Methods

rnf :: OutputLogEvent -> () #

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

  • oleIngestionTime - The time the event was ingested, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
  • oleMessage - The data contained in the log event.
  • oleTimestamp - The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

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

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

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

The data contained in the log event.

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

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

RejectedLogEventsInfo

data RejectedLogEventsInfo Source #

Represents the rejected events.

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 # 
FromJSON RejectedLogEventsInfo Source # 
NFData RejectedLogEventsInfo Source # 

Methods

rnf :: RejectedLogEventsInfo -> () #

type Rep RejectedLogEventsInfo Source # 
type Rep RejectedLogEventsInfo = D1 (MetaData "RejectedLogEventsInfo" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.5.0-3vuxaAoYUATHD7OLMfoSU1" 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:

ResourcePolicy

data ResourcePolicy Source #

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

See: resourcePolicy smart constructor.

Instances

Eq ResourcePolicy Source # 
Data ResourcePolicy Source # 

Methods

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

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

toConstr :: ResourcePolicy -> Constr #

dataTypeOf :: ResourcePolicy -> DataType #

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

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

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

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

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

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

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

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

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

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

Read ResourcePolicy Source # 
Show ResourcePolicy Source # 
Generic ResourcePolicy Source # 

Associated Types

type Rep ResourcePolicy :: * -> * #

Hashable ResourcePolicy Source # 
FromJSON ResourcePolicy Source # 
NFData ResourcePolicy Source # 

Methods

rnf :: ResourcePolicy -> () #

type Rep ResourcePolicy Source # 
type Rep ResourcePolicy = D1 (MetaData "ResourcePolicy" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.5.0-3vuxaAoYUATHD7OLMfoSU1" False) (C1 (MetaCons "ResourcePolicy'" PrefixI True) ((:*:) (S1 (MetaSel (Just Symbol "_rpPolicyName") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) ((:*:) (S1 (MetaSel (Just Symbol "_rpPolicyDocument") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) (S1 (MetaSel (Just Symbol "_rpLastUpdatedTime") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Nat))))))

resourcePolicy :: ResourcePolicy Source #

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

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

  • rpPolicyName - The name of the resource policy.
  • rpPolicyDocument - The details of the policy.
  • rpLastUpdatedTime - Time stamp showing when this policy was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

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

The name of the resource policy.

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

The details of the policy.

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

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

SearchedLogStream

data SearchedLogStream Source #

Represents the search status of a log stream.

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 # 
FromJSON SearchedLogStream Source # 
NFData SearchedLogStream Source # 

Methods

rnf :: SearchedLogStream -> () #

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

SubscriptionFilter

data SubscriptionFilter Source #

Represents a subscription filter.

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 # 
FromJSON SubscriptionFilter Source # 
NFData SubscriptionFilter Source # 

Methods

rnf :: SubscriptionFilter -> () #

type Rep SubscriptionFilter Source # 
type Rep SubscriptionFilter = D1 (MetaData "SubscriptionFilter" "Network.AWS.CloudWatchLogs.Types.Product" "amazonka-cloudwatch-logs-1.5.0-3vuxaAoYUATHD7OLMfoSU1" 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 "_sfDistribution") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Distribution))))) ((:*:) ((:*:) (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:

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

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

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

The name of the subscription filter.

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

The Amazon Resource Name (ARN) of the destination.

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

The name of the log group.