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

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

Network.AWS.CloudWatchLogs.Types

Contents

Description

 

Synopsis

Service Configuration

cloudWatchLogs :: Service Source

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

Errors

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

Returned if a parameter of the request is incorrectly specified.

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

Prism for InvalidSequenceTokenException' errors.

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

Returned if the specified resource already exists.

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

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

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

Returned if the service cannot complete the request.

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

Prism for DataAlreadyAcceptedException' errors.

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

Returned if the operation is not valid on the specified resource

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

Returned if the specified resource does not exist.

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

Returned if you have reached the maximum number of resources that can be created.

ExportTaskStatusCode

OrderBy

Destination

data Destination Source

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

See: destination smart constructor.

destination :: Destination Source

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

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

dTargetARN :: Lens' Destination (Maybe Text) Source

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

dCreationTime :: Lens' Destination (Maybe Natural) Source

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

dArn :: Lens' Destination (Maybe Text) Source

ARN of this destination.

dAccessPolicy :: Lens' Destination (Maybe Text) Source

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

dDestinationName :: Lens' Destination (Maybe Text) Source

Name of the destination.

dRoleARN :: Lens' Destination (Maybe Text) Source

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

ExportTask

exportTask :: ExportTask Source

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

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

etDestinationPrefix :: Lens' ExportTask (Maybe Text) Source

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

etDestination :: Lens' ExportTask (Maybe Text) Source

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

etStatus :: Lens' ExportTask (Maybe ExportTaskStatus) Source

Status of the export task.

etTaskName :: Lens' ExportTask (Maybe Text) Source

The name of the export task.

etTaskId :: Lens' ExportTask (Maybe Text) Source

Id of the export task.

etTo :: Lens' ExportTask (Maybe Natural) Source

A unix timestamp indicating the end time of the range for the request. Events with a timestamp later than this time were not exported.

etFrom :: Lens' ExportTask (Maybe Natural) Source

A unix timestamp indicating the start time of the range for the request. Events with a timestamp prior to this time were 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

exportTaskExecutionInfo :: ExportTaskExecutionInfo Source

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

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

eteiCreationTime :: Lens' ExportTaskExecutionInfo (Maybe Natural) Source

A point in time when the export task got created.

eteiCompletionTime :: Lens' ExportTaskExecutionInfo (Maybe Natural) Source

A point in time when the export task got completed.

ExportTaskStatus

exportTaskStatus :: ExportTaskStatus Source

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

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

etsCode :: Lens' ExportTaskStatus (Maybe ExportTaskStatusCode) Source

Status code of the export task.

etsMessage :: Lens' ExportTaskStatus (Maybe Text) Source

Status message related to the code.

FilteredLogEvent

filteredLogEvent :: FilteredLogEvent Source

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

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

fleLogStreamName :: Lens' FilteredLogEvent (Maybe Text) Source

The name of the log stream this event belongs to.

fleMessage :: Lens' FilteredLogEvent (Maybe Text) Source

The data contained in the log event.

fleEventId :: Lens' FilteredLogEvent (Maybe Text) Source

A unique identifier for this event.

InputLogEvent

data InputLogEvent Source

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

See: inputLogEvent smart constructor.

inputLogEvent Source

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

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

ileMessage :: Lens' InputLogEvent Text Source

Undocumented member.

LogGroup

logGroup :: LogGroup Source

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

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

lgCreationTime :: Lens' LogGroup (Maybe Natural) Source

Undocumented member.

lgArn :: Lens' LogGroup (Maybe Text) Source

Undocumented member.

lgLogGroupName :: Lens' LogGroup (Maybe Text) Source

Undocumented member.

lgRetentionInDays :: Lens' LogGroup (Maybe Int) Source

Undocumented member.

lgStoredBytes :: Lens' LogGroup (Maybe Natural) Source

Undocumented member.

LogStream

data LogStream Source

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

See: logStream smart constructor.

logStream :: LogStream Source

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

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

lsArn :: Lens' LogStream (Maybe Text) Source

Undocumented member.

lsLogStreamName :: Lens' LogStream (Maybe Text) Source

Undocumented member.

lsStoredBytes :: Lens' LogStream (Maybe Natural) Source

Undocumented member.

MetricFilter

data MetricFilter Source

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

See: metricFilter smart constructor.

metricFilter :: MetricFilter Source

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

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

mfFilterName :: Lens' MetricFilter (Maybe Text) Source

Undocumented member.

MetricFilterMatchRecord

metricFilterMatchRecord :: MetricFilterMatchRecord Source

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

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

MetricTransformation

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:

OutputLogEvent

outputLogEvent :: OutputLogEvent Source

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

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

oleMessage :: Lens' OutputLogEvent (Maybe Text) Source

Undocumented member.

RejectedLogEventsInfo

rejectedLogEventsInfo :: RejectedLogEventsInfo Source

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

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

SearchedLogStream

data SearchedLogStream Source

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

See: searchedLogStream smart constructor.

searchedLogStream :: SearchedLogStream Source

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

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

slsLogStreamName :: Lens' SearchedLogStream (Maybe Text) Source

The name of the log stream.

slsSearchedCompletely :: Lens' SearchedLogStream (Maybe Bool) Source

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

SubscriptionFilter

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: