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

Copyright(c) 2013-2018 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 #

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

Errors

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

InvalidParameterException

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

A parameter is specified incorrectly.

InvalidSequenceTokenException

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

The sequence token is not valid.

ResourceAlreadyExistsException

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

The specified resource already exists.

OperationAbortedException

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

Multiple requests to update the same resource were in conflict.

ServiceUnavailableException

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

The service cannot complete the request.

DataAlreadyAcceptedException

InvalidOperationException

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

The operation is not valid on the specified resource.

ResourceNotFoundException

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

The specified resource does not exist.

LimitExceededException

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

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

Waiters

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

Operations

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

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

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

DescribeDestinations (Paginated)

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 #

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Enum Distribution # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Eq Distribution # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Data Distribution # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Read Distribution # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Show Distribution # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Generic Distribution # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Associated Types

type Rep Distribution :: * -> * #

Hashable Distribution # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToJSON Distribution # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

FromJSON Distribution # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToHeader Distribution # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToQuery Distribution # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToByteString Distribution # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

FromText Distribution # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToText Distribution # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Methods

toText :: Distribution -> Text #

NFData Distribution # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Methods

rnf :: Distribution -> () #

type Rep Distribution # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

type Rep Distribution = D1 (MetaData "Distribution" "Network.AWS.CloudWatchLogs.Types.Sum" "amazonka-cloudwatch-logs-1.6.0-mHmnntmnjuIE2O1Ut9psX" False) (C1 (MetaCons "ByLogStream" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Random" PrefixI False) (U1 :: * -> *))

ExportTaskStatusCode

data ExportTaskStatusCode #

Instances
Bounded ExportTaskStatusCode # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Enum ExportTaskStatusCode # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Eq ExportTaskStatusCode # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Data ExportTaskStatusCode # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Read ExportTaskStatusCode # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Show ExportTaskStatusCode # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Generic ExportTaskStatusCode # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Associated Types

type Rep ExportTaskStatusCode :: * -> * #

Hashable ExportTaskStatusCode # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToJSON ExportTaskStatusCode # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

FromJSON ExportTaskStatusCode # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToHeader ExportTaskStatusCode # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToQuery ExportTaskStatusCode # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToByteString ExportTaskStatusCode # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

FromText ExportTaskStatusCode # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToText ExportTaskStatusCode # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

NFData ExportTaskStatusCode # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Methods

rnf :: ExportTaskStatusCode -> () #

type Rep ExportTaskStatusCode # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

type Rep ExportTaskStatusCode = D1 (MetaData "ExportTaskStatusCode" "Network.AWS.CloudWatchLogs.Types.Sum" "amazonka-cloudwatch-logs-1.6.0-mHmnntmnjuIE2O1Ut9psX" False) ((C1 (MetaCons "Cancelled" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "Completed" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Failed" PrefixI False) (U1 :: * -> *))) :+: (C1 (MetaCons "Pending" PrefixI False) (U1 :: * -> *) :+: (C1 (MetaCons "PendingCancel" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "Running" PrefixI False) (U1 :: * -> *))))

OrderBy

data OrderBy #

Instances
Bounded OrderBy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Enum OrderBy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Eq OrderBy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Methods

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

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

Data OrderBy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Read OrderBy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Show OrderBy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Generic OrderBy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Associated Types

type Rep OrderBy :: * -> * #

Methods

from :: OrderBy -> Rep OrderBy x #

to :: Rep OrderBy x -> OrderBy #

Hashable OrderBy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Methods

hashWithSalt :: Int -> OrderBy -> Int #

hash :: OrderBy -> Int #

ToJSON OrderBy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToHeader OrderBy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Methods

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

ToQuery OrderBy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToByteString OrderBy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Methods

toBS :: OrderBy -> ByteString #

FromText OrderBy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToText OrderBy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Methods

toText :: OrderBy -> Text #

NFData OrderBy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Methods

rnf :: OrderBy -> () #

type Rep OrderBy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

type Rep OrderBy = D1 (MetaData "OrderBy" "Network.AWS.CloudWatchLogs.Types.Sum" "amazonka-cloudwatch-logs-1.6.0-mHmnntmnjuIE2O1Ut9psX" False) (C1 (MetaCons "LastEventTime" PrefixI False) (U1 :: * -> *) :+: C1 (MetaCons "LogStreamName" PrefixI False) (U1 :: * -> *))

Destination

data Destination #

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

See: destination smart constructor.

Instances
Eq Destination # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data Destination # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show Destination # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic Destination # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep Destination :: * -> * #

Hashable Destination # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON Destination # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData Destination # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: Destination -> () #

type Rep Destination # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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

destination :: Destination #

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

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

  • dTargetARN - The Amazon Resource Name (ARN) of the physical target 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) #

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

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

The ARN of this destination.

dAccessPolicy :: Lens' Destination (Maybe Text) #

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

dDestinationName :: Lens' Destination (Maybe Text) #

The name of the destination.

dRoleARN :: Lens' Destination (Maybe Text) #

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

ExportTask

data ExportTask #

Represents an export task.

See: exportTask smart constructor.

Instances
Eq ExportTask # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data ExportTask # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show ExportTask # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic ExportTask # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep ExportTask :: * -> * #

Hashable ExportTask # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON ExportTask # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData ExportTask # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: ExportTask -> () #

type Rep ExportTask # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

exportTask :: ExportTask #

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

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

  • etDestinationPrefix - The prefix that was used as the start of Amazon S3 key for every object exported.
  • etDestination - The name of Amazon S3 bucket to which the log data was exported.
  • etStatus - The status of the export task.
  • etTaskName - The name of the export task.
  • etTaskId - The ID of the export task.
  • etTo - The end time, 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) #

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

etDestination :: Lens' ExportTask (Maybe Text) #

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

etStatus :: Lens' ExportTask (Maybe ExportTaskStatus) #

The status of the export task.

etTaskName :: Lens' ExportTask (Maybe Text) #

The name of the export task.

etTaskId :: Lens' ExportTask (Maybe Text) #

The ID of the export task.

etTo :: Lens' ExportTask (Maybe Natural) #

The end time, 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) #

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

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

etExecutionInfo :: Lens' ExportTask (Maybe ExportTaskExecutionInfo) #

Execution info about the export task.

ExportTaskExecutionInfo

data ExportTaskExecutionInfo #

Represents the status of an export task.

See: exportTaskExecutionInfo smart constructor.

Instances
Eq ExportTaskExecutionInfo # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data ExportTaskExecutionInfo # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show ExportTaskExecutionInfo # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic ExportTaskExecutionInfo # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep ExportTaskExecutionInfo :: * -> * #

Hashable ExportTaskExecutionInfo # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON ExportTaskExecutionInfo # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData ExportTaskExecutionInfo # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: ExportTaskExecutionInfo -> () #

type Rep ExportTaskExecutionInfo # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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

exportTaskExecutionInfo :: ExportTaskExecutionInfo #

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

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

  • eteiCreationTime - 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) #

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

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

ExportTaskStatus

data ExportTaskStatus #

Represents the status of an export task.

See: exportTaskStatus smart constructor.

Instances
Eq ExportTaskStatus # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data ExportTaskStatus # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show ExportTaskStatus # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic ExportTaskStatus # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep ExportTaskStatus :: * -> * #

Hashable ExportTaskStatus # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON ExportTaskStatus # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData ExportTaskStatus # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: ExportTaskStatus -> () #

type Rep ExportTaskStatus # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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

exportTaskStatus :: ExportTaskStatus #

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

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

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

etsCode :: Lens' ExportTaskStatus (Maybe ExportTaskStatusCode) #

The status code of the export task.

etsMessage :: Lens' ExportTaskStatus (Maybe Text) #

The status message related to the status code.

FilteredLogEvent

data FilteredLogEvent #

Represents a matched event.

See: filteredLogEvent smart constructor.

Instances
Eq FilteredLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data FilteredLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show FilteredLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic FilteredLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep FilteredLogEvent :: * -> * #

Hashable FilteredLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON FilteredLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData FilteredLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: FilteredLogEvent -> () #

type Rep FilteredLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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

filteredLogEvent :: FilteredLogEvent #

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

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

  • fleIngestionTime - 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) #

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

The name of the log stream this event belongs to.

fleMessage :: Lens' FilteredLogEvent (Maybe Text) #

The data contained in the log event.

fleTimestamp :: Lens' FilteredLogEvent (Maybe Natural) #

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

fleEventId :: Lens' FilteredLogEvent (Maybe Text) #

The ID of the event.

InputLogEvent

data InputLogEvent #

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

See: inputLogEvent smart constructor.

Instances
Eq InputLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data InputLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show InputLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic InputLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep InputLogEvent :: * -> * #

Hashable InputLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

ToJSON InputLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData InputLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: InputLogEvent -> () #

type Rep InputLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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

inputLogEvent #

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

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

  • ileTimestamp - 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 #

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

ileMessage :: Lens' InputLogEvent Text #

The raw event message.

LogGroup

data LogGroup #

Represents a log group.

See: logGroup smart constructor.

Instances
Eq LogGroup # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data LogGroup # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show LogGroup # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic LogGroup # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep LogGroup :: * -> * #

Methods

from :: LogGroup -> Rep LogGroup x #

to :: Rep LogGroup x -> LogGroup #

Hashable LogGroup # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

hashWithSalt :: Int -> LogGroup -> Int #

hash :: LogGroup -> Int #

FromJSON LogGroup # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData LogGroup # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: LogGroup -> () #

type Rep LogGroup # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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

logGroup :: LogGroup #

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

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

lgCreationTime :: Lens' LogGroup (Maybe Natural) #

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

lgMetricFilterCount :: Lens' LogGroup (Maybe Int) #

The number of metric filters.

lgArn :: Lens' LogGroup (Maybe Text) #

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

lgLogGroupName :: Lens' LogGroup (Maybe Text) #

The name of the log group.

lgRetentionInDays :: Lens' LogGroup (Maybe Int) #

Undocumented member.

lgKmsKeyId :: Lens' LogGroup (Maybe Text) #

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

lgStoredBytes :: Lens' LogGroup (Maybe Natural) #

The number of bytes stored.

LogStream

data LogStream #

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

See: logStream smart constructor.

Instances
Eq LogStream # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data LogStream # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show LogStream # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic LogStream # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep LogStream :: * -> * #

Hashable LogStream # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON LogStream # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData LogStream # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: LogStream -> () #

type Rep LogStream # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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

logStream :: LogStream #

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

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

  • lsCreationTime - 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) #

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

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

lsFirstEventTimestamp :: Lens' LogStream (Maybe Natural) #

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

The name of the log stream.

lsStoredBytes :: Lens' LogStream (Maybe Natural) #

The number of bytes stored.

lsLastIngestionTime :: Lens' LogStream (Maybe Natural) #

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

lsLastEventTimestamp :: Lens' LogStream (Maybe Natural) #

the time of the most recent log event in the log stream in CloudWatch Logs. This number is expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC. 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 #

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data MetricFilter # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show MetricFilter # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic MetricFilter # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep MetricFilter :: * -> * #

Hashable MetricFilter # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON MetricFilter # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData MetricFilter # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: MetricFilter -> () #

type Rep MetricFilter # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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

metricFilter :: MetricFilter #

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

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

mfCreationTime :: Lens' MetricFilter (Maybe Natural) #

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

mfFilterName :: Lens' MetricFilter (Maybe Text) #

The name of the metric filter.

mfLogGroupName :: Lens' MetricFilter (Maybe Text) #

The name of the log group.

mfFilterPattern :: Lens' MetricFilter (Maybe Text) #

Undocumented member.

MetricFilterMatchRecord

data MetricFilterMatchRecord #

Represents a matched event.

See: metricFilterMatchRecord smart constructor.

Instances
Eq MetricFilterMatchRecord # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data MetricFilterMatchRecord # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show MetricFilterMatchRecord # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic MetricFilterMatchRecord # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep MetricFilterMatchRecord :: * -> * #

Hashable MetricFilterMatchRecord # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON MetricFilterMatchRecord # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData MetricFilterMatchRecord # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: MetricFilterMatchRecord -> () #

type Rep MetricFilterMatchRecord # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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

metricFilterMatchRecord :: MetricFilterMatchRecord #

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

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

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

The values extracted from the event data by the filter.

MetricTransformation

data MetricTransformation #

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

See: metricTransformation smart constructor.

Instances
Eq MetricTransformation # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data MetricTransformation # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show MetricTransformation # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic MetricTransformation # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep MetricTransformation :: * -> * #

Hashable MetricTransformation # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

ToJSON MetricTransformation # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON MetricTransformation # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData MetricTransformation # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: MetricTransformation -> () #

type Rep MetricTransformation # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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

metricTransformation #

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

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

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

mtDefaultValue :: Lens' MetricTransformation (Maybe Double) #

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

mtMetricName :: Lens' MetricTransformation Text #

The name of the CloudWatch metric.

mtMetricNamespace :: Lens' MetricTransformation Text #

The namespace of the CloudWatch metric.

mtMetricValue :: Lens' MetricTransformation Text #

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

OutputLogEvent

data OutputLogEvent #

Represents a log event.

See: outputLogEvent smart constructor.

Instances
Eq OutputLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data OutputLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show OutputLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic OutputLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep OutputLogEvent :: * -> * #

Hashable OutputLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON OutputLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData OutputLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: OutputLogEvent -> () #

type Rep OutputLogEvent # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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

outputLogEvent :: OutputLogEvent #

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

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

  • oleIngestionTime - 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) #

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

The data contained in the log event.

oleTimestamp :: Lens' OutputLogEvent (Maybe Natural) #

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

RejectedLogEventsInfo

data RejectedLogEventsInfo #

Represents the rejected events.

See: rejectedLogEventsInfo smart constructor.

Instances
Eq RejectedLogEventsInfo # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data RejectedLogEventsInfo # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show RejectedLogEventsInfo # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic RejectedLogEventsInfo # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep RejectedLogEventsInfo :: * -> * #

Hashable RejectedLogEventsInfo # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON RejectedLogEventsInfo # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData RejectedLogEventsInfo # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: RejectedLogEventsInfo -> () #

type Rep RejectedLogEventsInfo # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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

rejectedLogEventsInfo :: RejectedLogEventsInfo #

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

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

rleiTooOldLogEventEndIndex :: Lens' RejectedLogEventsInfo (Maybe Int) #

The log events that are too old.

rleiTooNewLogEventStartIndex :: Lens' RejectedLogEventsInfo (Maybe Int) #

The log events that are too new.

ResourcePolicy

data ResourcePolicy #

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

See: resourcePolicy smart constructor.

Instances
Eq ResourcePolicy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data ResourcePolicy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show ResourcePolicy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic ResourcePolicy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep ResourcePolicy :: * -> * #

Hashable ResourcePolicy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON ResourcePolicy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData ResourcePolicy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: ResourcePolicy -> () #

type Rep ResourcePolicy # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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

resourcePolicy :: ResourcePolicy #

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

The name of the resource policy.

rpPolicyDocument :: Lens' ResourcePolicy (Maybe Text) #

The details of the policy.

rpLastUpdatedTime :: Lens' ResourcePolicy (Maybe Natural) #

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 #

Represents the search status of a log stream.

See: searchedLogStream smart constructor.

Instances
Eq SearchedLogStream # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data SearchedLogStream # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show SearchedLogStream # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic SearchedLogStream # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep SearchedLogStream :: * -> * #

Hashable SearchedLogStream # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON SearchedLogStream # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData SearchedLogStream # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: SearchedLogStream -> () #

type Rep SearchedLogStream # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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

searchedLogStream :: SearchedLogStream #

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

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

slsLogStreamName :: Lens' SearchedLogStream (Maybe Text) #

The name of the log stream.

slsSearchedCompletely :: Lens' SearchedLogStream (Maybe Bool) #

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

SubscriptionFilter

data SubscriptionFilter #

Represents a subscription filter.

See: subscriptionFilter smart constructor.

Instances
Eq SubscriptionFilter # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data SubscriptionFilter # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show SubscriptionFilter # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic SubscriptionFilter # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep SubscriptionFilter :: * -> * #

Hashable SubscriptionFilter # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON SubscriptionFilter # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData SubscriptionFilter # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: SubscriptionFilter -> () #

type Rep SubscriptionFilter # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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

subscriptionFilter :: SubscriptionFilter #

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

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

sfCreationTime :: Lens' SubscriptionFilter (Maybe Natural) #

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

sfFilterName :: Lens' SubscriptionFilter (Maybe Text) #

The name of the subscription filter.

sfDestinationARN :: Lens' SubscriptionFilter (Maybe Text) #

The Amazon Resource Name (ARN) of the destination.

sfLogGroupName :: Lens' SubscriptionFilter (Maybe Text) #

The name of the log group.