amazonka-cloudwatch-logs-1.0.0: 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

data CloudWatchLogs Source

Version 2014-03-28 of the Amazon CloudWatch Logs SDK.

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.

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

Prism for DataAlreadyAcceptedException' errors.

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

Returned if the service cannot complete the request.

_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.

OrderBy

Destination

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

Undocumented member.

dArn :: Lens' Destination (Maybe Text) Source

Undocumented member.

dAccessPolicy :: Lens' Destination (Maybe Text) Source

Undocumented member.

dRoleARN :: Lens' Destination (Maybe Text) Source

Undocumented member.

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: