amazonka-cloudwatch-logs-1.6.1: 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 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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Enum Distribution Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Eq Distribution Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Data Distribution Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Read Distribution Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Show Distribution Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Generic Distribution Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Associated Types

type Rep Distribution :: Type -> Type #

Hashable Distribution Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToJSON Distribution Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

FromJSON Distribution Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToHeader Distribution Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToQuery Distribution Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToByteString Distribution Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

FromText Distribution Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToText Distribution Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Methods

toText :: Distribution -> Text #

NFData Distribution Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Methods

rnf :: Distribution -> () #

type Rep Distribution Source # 
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.1-3MDuvRaDmjeBjiAkGx8qXs" False) (C1 (MetaCons "ByLogStream" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Random" PrefixI False) (U1 :: Type -> Type))

ExportTaskStatusCode

data ExportTaskStatusCode Source #

Instances
Bounded ExportTaskStatusCode Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Enum ExportTaskStatusCode Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Eq ExportTaskStatusCode Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Data ExportTaskStatusCode Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Read ExportTaskStatusCode Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Show ExportTaskStatusCode Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Generic ExportTaskStatusCode Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Associated Types

type Rep ExportTaskStatusCode :: Type -> Type #

Hashable ExportTaskStatusCode Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToJSON ExportTaskStatusCode Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

FromJSON ExportTaskStatusCode Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToHeader ExportTaskStatusCode Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToQuery ExportTaskStatusCode Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToByteString ExportTaskStatusCode Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

FromText ExportTaskStatusCode Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToText ExportTaskStatusCode Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

NFData ExportTaskStatusCode Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Methods

rnf :: ExportTaskStatusCode -> () #

type Rep ExportTaskStatusCode Source # 
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.1-3MDuvRaDmjeBjiAkGx8qXs" False) ((C1 (MetaCons "Cancelled" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "Completed" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Failed" PrefixI False) (U1 :: Type -> Type))) :+: (C1 (MetaCons "Pending" PrefixI False) (U1 :: Type -> Type) :+: (C1 (MetaCons "PendingCancel" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "Running" PrefixI False) (U1 :: Type -> Type))))

OrderBy

data OrderBy Source #

Instances
Bounded OrderBy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Enum OrderBy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Eq OrderBy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Methods

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

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

Data OrderBy Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Read OrderBy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Show OrderBy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Generic OrderBy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Associated Types

type Rep OrderBy :: Type -> Type #

Methods

from :: OrderBy -> Rep OrderBy x #

to :: Rep OrderBy x -> OrderBy #

Hashable OrderBy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Methods

hashWithSalt :: Int -> OrderBy -> Int #

hash :: OrderBy -> Int #

ToJSON OrderBy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToHeader OrderBy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Methods

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

ToQuery OrderBy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToByteString OrderBy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Methods

toBS :: OrderBy -> ByteString #

FromText OrderBy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

ToText OrderBy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Methods

toText :: OrderBy -> Text #

NFData OrderBy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Sum

Methods

rnf :: OrderBy -> () #

type Rep OrderBy Source # 
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.1-3MDuvRaDmjeBjiAkGx8qXs" False) (C1 (MetaCons "LastEventTime" PrefixI False) (U1 :: Type -> Type) :+: C1 (MetaCons "LogStreamName" PrefixI False) (U1 :: Type -> Type))

Destination

data Destination Source #

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

See: destination smart constructor.

Instances
Eq Destination Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data Destination Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show Destination Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic Destination Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep Destination :: Type -> Type #

Hashable Destination Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON Destination Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData Destination Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: Destination -> () #

type Rep Destination Source # 
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.1-3MDuvRaDmjeBjiAkGx8qXs" 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 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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data ExportTask Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show ExportTask Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic ExportTask Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep ExportTask :: Type -> Type #

Hashable ExportTask Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON ExportTask Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData ExportTask Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: ExportTask -> () #

type Rep ExportTask Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

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

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data ExportTaskExecutionInfo Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show ExportTaskExecutionInfo Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic ExportTaskExecutionInfo Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep ExportTaskExecutionInfo :: Type -> Type #

Hashable ExportTaskExecutionInfo Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON ExportTaskExecutionInfo Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData ExportTaskExecutionInfo Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: ExportTaskExecutionInfo -> () #

type Rep ExportTaskExecutionInfo Source # 
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.1-3MDuvRaDmjeBjiAkGx8qXs" 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 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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data ExportTaskStatus Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show ExportTaskStatus Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic ExportTaskStatus Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep ExportTaskStatus :: Type -> Type #

Hashable ExportTaskStatus Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON ExportTaskStatus Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData ExportTaskStatus Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: ExportTaskStatus -> () #

type Rep ExportTaskStatus Source # 
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.1-3MDuvRaDmjeBjiAkGx8qXs" 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 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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data FilteredLogEvent Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show FilteredLogEvent Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic FilteredLogEvent Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep FilteredLogEvent :: Type -> Type #

Hashable FilteredLogEvent Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON FilteredLogEvent Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData FilteredLogEvent Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: FilteredLogEvent -> () #

type Rep FilteredLogEvent Source # 
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.1-3MDuvRaDmjeBjiAkGx8qXs" 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 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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data InputLogEvent Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show InputLogEvent Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic InputLogEvent Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep InputLogEvent :: Type -> Type #

Hashable InputLogEvent Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

ToJSON InputLogEvent Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData InputLogEvent Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: InputLogEvent -> () #

type Rep InputLogEvent Source # 
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.1-3MDuvRaDmjeBjiAkGx8qXs" 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 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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data LogGroup Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show LogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic LogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep LogGroup :: Type -> Type #

Methods

from :: LogGroup -> Rep LogGroup x #

to :: Rep LogGroup x -> LogGroup #

Hashable LogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

hashWithSalt :: Int -> LogGroup -> Int #

hash :: LogGroup -> Int #

FromJSON LogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData LogGroup Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: LogGroup -> () #

type Rep LogGroup Source # 
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.1-3MDuvRaDmjeBjiAkGx8qXs" 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 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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data LogStream Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show LogStream Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic LogStream Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep LogStream :: Type -> Type #

Hashable LogStream Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON LogStream Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData LogStream Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: LogStream -> () #

type Rep LogStream Source # 
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.1-3MDuvRaDmjeBjiAkGx8qXs" 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 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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data MetricFilter Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show MetricFilter Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic MetricFilter Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep MetricFilter :: Type -> Type #

Hashable MetricFilter Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON MetricFilter Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData MetricFilter Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: MetricFilter -> () #

type Rep MetricFilter Source # 
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.1-3MDuvRaDmjeBjiAkGx8qXs" 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 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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data MetricFilterMatchRecord Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show MetricFilterMatchRecord Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic MetricFilterMatchRecord Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep MetricFilterMatchRecord :: Type -> Type #

Hashable MetricFilterMatchRecord Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON MetricFilterMatchRecord Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData MetricFilterMatchRecord Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: MetricFilterMatchRecord -> () #

type Rep MetricFilterMatchRecord Source # 
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.1-3MDuvRaDmjeBjiAkGx8qXs" 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 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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data MetricTransformation Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show MetricTransformation Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic MetricTransformation Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep MetricTransformation :: Type -> Type #

Hashable MetricTransformation Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

ToJSON MetricTransformation Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON MetricTransformation Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData MetricTransformation Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: MetricTransformation -> () #

type Rep MetricTransformation Source # 
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.1-3MDuvRaDmjeBjiAkGx8qXs" 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 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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data OutputLogEvent Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show OutputLogEvent Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic OutputLogEvent Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep OutputLogEvent :: Type -> Type #

Hashable OutputLogEvent Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON OutputLogEvent Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData OutputLogEvent Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: OutputLogEvent -> () #

type Rep OutputLogEvent Source # 
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.1-3MDuvRaDmjeBjiAkGx8qXs" 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 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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data RejectedLogEventsInfo Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show RejectedLogEventsInfo Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic RejectedLogEventsInfo Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep RejectedLogEventsInfo :: Type -> Type #

Hashable RejectedLogEventsInfo Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON RejectedLogEventsInfo Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData RejectedLogEventsInfo Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: RejectedLogEventsInfo -> () #

type Rep RejectedLogEventsInfo Source # 
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.1-3MDuvRaDmjeBjiAkGx8qXs" 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 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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data ResourcePolicy Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show ResourcePolicy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic ResourcePolicy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep ResourcePolicy :: Type -> Type #

Hashable ResourcePolicy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON ResourcePolicy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData ResourcePolicy Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: ResourcePolicy -> () #

type Rep ResourcePolicy Source # 
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.1-3MDuvRaDmjeBjiAkGx8qXs" 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 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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data SearchedLogStream Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show SearchedLogStream Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic SearchedLogStream Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep SearchedLogStream :: Type -> Type #

Hashable SearchedLogStream Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON SearchedLogStream Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData SearchedLogStream Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: SearchedLogStream -> () #

type Rep SearchedLogStream Source # 
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.1-3MDuvRaDmjeBjiAkGx8qXs" 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 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 # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Data SubscriptionFilter Source # 
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 Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Show SubscriptionFilter Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Generic SubscriptionFilter Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Associated Types

type Rep SubscriptionFilter :: Type -> Type #

Hashable SubscriptionFilter Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

FromJSON SubscriptionFilter Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

NFData SubscriptionFilter Source # 
Instance details

Defined in Network.AWS.CloudWatchLogs.Types.Product

Methods

rnf :: SubscriptionFilter -> () #

type Rep SubscriptionFilter Source # 
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.1-3MDuvRaDmjeBjiAkGx8qXs" 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 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.