Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
- Service Configuration
- Errors
- Distribution
- ExportTaskStatusCode
- OrderBy
- QueryStatus
- StandardUnit
- Destination
- ExportTask
- ExportTaskExecutionInfo
- ExportTaskStatus
- FilteredLogEvent
- InputLogEvent
- LogGroup
- LogGroupField
- LogStream
- MetricFilter
- MetricFilterMatchRecord
- MetricTransformation
- OutputLogEvent
- QueryDefinition
- QueryInfo
- QueryStatistics
- RejectedLogEventsInfo
- ResourcePolicy
- ResultField
- SearchedLogStream
- SubscriptionFilter
Synopsis
- defaultService :: Service
- _InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidSequenceTokenException :: AsError a => Getting (First ServiceError) a ServiceError
- _UnrecognizedClientException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError
- _OperationAbortedException :: AsError a => Getting (First ServiceError) a ServiceError
- _MalformedQueryException :: AsError a => Getting (First ServiceError) a ServiceError
- _ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError
- _DataAlreadyAcceptedException :: AsError a => Getting (First ServiceError) a ServiceError
- _InvalidOperationException :: AsError a => Getting (First ServiceError) a ServiceError
- _ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError
- _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError
- newtype Distribution where
- Distribution' { }
- pattern Distribution_ByLogStream :: Distribution
- pattern Distribution_Random :: Distribution
- newtype ExportTaskStatusCode where
- ExportTaskStatusCode' { }
- pattern ExportTaskStatusCode_CANCELLED :: ExportTaskStatusCode
- pattern ExportTaskStatusCode_COMPLETED :: ExportTaskStatusCode
- pattern ExportTaskStatusCode_FAILED :: ExportTaskStatusCode
- pattern ExportTaskStatusCode_PENDING :: ExportTaskStatusCode
- pattern ExportTaskStatusCode_PENDING_CANCEL :: ExportTaskStatusCode
- pattern ExportTaskStatusCode_RUNNING :: ExportTaskStatusCode
- newtype OrderBy where
- OrderBy' {
- fromOrderBy :: Text
- pattern OrderBy_LastEventTime :: OrderBy
- pattern OrderBy_LogStreamName :: OrderBy
- OrderBy' {
- newtype QueryStatus where
- QueryStatus' { }
- pattern QueryStatus_Cancelled :: QueryStatus
- pattern QueryStatus_Complete :: QueryStatus
- pattern QueryStatus_Failed :: QueryStatus
- pattern QueryStatus_Running :: QueryStatus
- pattern QueryStatus_Scheduled :: QueryStatus
- pattern QueryStatus_Timeout :: QueryStatus
- pattern QueryStatus_Unknown :: QueryStatus
- newtype StandardUnit where
- StandardUnit' { }
- pattern StandardUnit_Bits :: StandardUnit
- pattern StandardUnit_Bits_Second :: StandardUnit
- pattern StandardUnit_Bytes :: StandardUnit
- pattern StandardUnit_Bytes_Second :: StandardUnit
- pattern StandardUnit_Count :: StandardUnit
- pattern StandardUnit_Count_Second :: StandardUnit
- pattern StandardUnit_Gigabits :: StandardUnit
- pattern StandardUnit_Gigabits_Second :: StandardUnit
- pattern StandardUnit_Gigabytes :: StandardUnit
- pattern StandardUnit_Gigabytes_Second :: StandardUnit
- pattern StandardUnit_Kilobits :: StandardUnit
- pattern StandardUnit_Kilobits_Second :: StandardUnit
- pattern StandardUnit_Kilobytes :: StandardUnit
- pattern StandardUnit_Kilobytes_Second :: StandardUnit
- pattern StandardUnit_Megabits :: StandardUnit
- pattern StandardUnit_Megabits_Second :: StandardUnit
- pattern StandardUnit_Megabytes :: StandardUnit
- pattern StandardUnit_Megabytes_Second :: StandardUnit
- pattern StandardUnit_Microseconds :: StandardUnit
- pattern StandardUnit_Milliseconds :: StandardUnit
- pattern StandardUnit_None :: StandardUnit
- pattern StandardUnit_Percent :: StandardUnit
- pattern StandardUnit_Seconds :: StandardUnit
- pattern StandardUnit_Terabits :: StandardUnit
- pattern StandardUnit_Terabits_Second :: StandardUnit
- pattern StandardUnit_Terabytes :: StandardUnit
- pattern StandardUnit_Terabytes_Second :: StandardUnit
- data Destination = Destination' {}
- newDestination :: Destination
- destination_targetArn :: Lens' Destination (Maybe Text)
- destination_creationTime :: Lens' Destination (Maybe Natural)
- destination_arn :: Lens' Destination (Maybe Text)
- destination_accessPolicy :: Lens' Destination (Maybe Text)
- destination_destinationName :: Lens' Destination (Maybe Text)
- destination_roleArn :: Lens' Destination (Maybe Text)
- data ExportTask = ExportTask' {}
- newExportTask :: ExportTask
- exportTask_destinationPrefix :: Lens' ExportTask (Maybe Text)
- exportTask_destination :: Lens' ExportTask (Maybe Text)
- exportTask_status :: Lens' ExportTask (Maybe ExportTaskStatus)
- exportTask_taskName :: Lens' ExportTask (Maybe Text)
- exportTask_taskId :: Lens' ExportTask (Maybe Text)
- exportTask_to :: Lens' ExportTask (Maybe Natural)
- exportTask_from :: Lens' ExportTask (Maybe Natural)
- exportTask_logGroupName :: Lens' ExportTask (Maybe Text)
- exportTask_executionInfo :: Lens' ExportTask (Maybe ExportTaskExecutionInfo)
- data ExportTaskExecutionInfo = ExportTaskExecutionInfo' {}
- newExportTaskExecutionInfo :: ExportTaskExecutionInfo
- exportTaskExecutionInfo_creationTime :: Lens' ExportTaskExecutionInfo (Maybe Natural)
- exportTaskExecutionInfo_completionTime :: Lens' ExportTaskExecutionInfo (Maybe Natural)
- data ExportTaskStatus = ExportTaskStatus' {}
- newExportTaskStatus :: ExportTaskStatus
- exportTaskStatus_code :: Lens' ExportTaskStatus (Maybe ExportTaskStatusCode)
- exportTaskStatus_message :: Lens' ExportTaskStatus (Maybe Text)
- data FilteredLogEvent = FilteredLogEvent' {}
- newFilteredLogEvent :: FilteredLogEvent
- filteredLogEvent_ingestionTime :: Lens' FilteredLogEvent (Maybe Natural)
- filteredLogEvent_logStreamName :: Lens' FilteredLogEvent (Maybe Text)
- filteredLogEvent_message :: Lens' FilteredLogEvent (Maybe Text)
- filteredLogEvent_timestamp :: Lens' FilteredLogEvent (Maybe Natural)
- filteredLogEvent_eventId :: Lens' FilteredLogEvent (Maybe Text)
- data InputLogEvent = InputLogEvent' {}
- newInputLogEvent :: Natural -> Text -> InputLogEvent
- inputLogEvent_timestamp :: Lens' InputLogEvent Natural
- inputLogEvent_message :: Lens' InputLogEvent Text
- data LogGroup = LogGroup' {}
- newLogGroup :: LogGroup
- logGroup_creationTime :: Lens' LogGroup (Maybe Natural)
- logGroup_metricFilterCount :: Lens' LogGroup (Maybe Int)
- logGroup_arn :: Lens' LogGroup (Maybe Text)
- logGroup_logGroupName :: Lens' LogGroup (Maybe Text)
- logGroup_retentionInDays :: Lens' LogGroup (Maybe Int)
- logGroup_kmsKeyId :: Lens' LogGroup (Maybe Text)
- logGroup_storedBytes :: Lens' LogGroup (Maybe Natural)
- data LogGroupField = LogGroupField' {}
- newLogGroupField :: LogGroupField
- logGroupField_percent :: Lens' LogGroupField (Maybe Natural)
- logGroupField_name :: Lens' LogGroupField (Maybe Text)
- data LogStream = LogStream' {}
- newLogStream :: LogStream
- logStream_creationTime :: Lens' LogStream (Maybe Natural)
- logStream_uploadSequenceToken :: Lens' LogStream (Maybe Text)
- logStream_arn :: Lens' LogStream (Maybe Text)
- logStream_firstEventTimestamp :: Lens' LogStream (Maybe Natural)
- logStream_logStreamName :: Lens' LogStream (Maybe Text)
- logStream_storedBytes :: Lens' LogStream (Maybe Natural)
- logStream_lastIngestionTime :: Lens' LogStream (Maybe Natural)
- logStream_lastEventTimestamp :: Lens' LogStream (Maybe Natural)
- data MetricFilter = MetricFilter' {}
- newMetricFilter :: MetricFilter
- metricFilter_creationTime :: Lens' MetricFilter (Maybe Natural)
- metricFilter_filterName :: Lens' MetricFilter (Maybe Text)
- metricFilter_logGroupName :: Lens' MetricFilter (Maybe Text)
- metricFilter_filterPattern :: Lens' MetricFilter (Maybe Text)
- metricFilter_metricTransformations :: Lens' MetricFilter (Maybe (NonEmpty MetricTransformation))
- data MetricFilterMatchRecord = MetricFilterMatchRecord' {}
- newMetricFilterMatchRecord :: MetricFilterMatchRecord
- metricFilterMatchRecord_extractedValues :: Lens' MetricFilterMatchRecord (Maybe (HashMap Text Text))
- metricFilterMatchRecord_eventNumber :: Lens' MetricFilterMatchRecord (Maybe Integer)
- metricFilterMatchRecord_eventMessage :: Lens' MetricFilterMatchRecord (Maybe Text)
- data MetricTransformation = MetricTransformation' {
- defaultValue :: Maybe Double
- dimensions :: Maybe (HashMap Text Text)
- unit :: Maybe StandardUnit
- metricName :: Text
- metricNamespace :: Text
- metricValue :: Text
- newMetricTransformation :: Text -> Text -> Text -> MetricTransformation
- metricTransformation_defaultValue :: Lens' MetricTransformation (Maybe Double)
- metricTransformation_dimensions :: Lens' MetricTransformation (Maybe (HashMap Text Text))
- metricTransformation_unit :: Lens' MetricTransformation (Maybe StandardUnit)
- metricTransformation_metricName :: Lens' MetricTransformation Text
- metricTransformation_metricNamespace :: Lens' MetricTransformation Text
- metricTransformation_metricValue :: Lens' MetricTransformation Text
- data OutputLogEvent = OutputLogEvent' {}
- newOutputLogEvent :: OutputLogEvent
- outputLogEvent_ingestionTime :: Lens' OutputLogEvent (Maybe Natural)
- outputLogEvent_message :: Lens' OutputLogEvent (Maybe Text)
- outputLogEvent_timestamp :: Lens' OutputLogEvent (Maybe Natural)
- data QueryDefinition = QueryDefinition' {
- logGroupNames :: Maybe [Text]
- queryDefinitionId :: Maybe Text
- name :: Maybe Text
- queryString :: Maybe Text
- lastModified :: Maybe Natural
- newQueryDefinition :: QueryDefinition
- queryDefinition_logGroupNames :: Lens' QueryDefinition (Maybe [Text])
- queryDefinition_queryDefinitionId :: Lens' QueryDefinition (Maybe Text)
- queryDefinition_name :: Lens' QueryDefinition (Maybe Text)
- queryDefinition_queryString :: Lens' QueryDefinition (Maybe Text)
- queryDefinition_lastModified :: Lens' QueryDefinition (Maybe Natural)
- data QueryInfo = QueryInfo' {}
- newQueryInfo :: QueryInfo
- queryInfo_status :: Lens' QueryInfo (Maybe QueryStatus)
- queryInfo_queryId :: Lens' QueryInfo (Maybe Text)
- queryInfo_logGroupName :: Lens' QueryInfo (Maybe Text)
- queryInfo_queryString :: Lens' QueryInfo (Maybe Text)
- queryInfo_createTime :: Lens' QueryInfo (Maybe Natural)
- data QueryStatistics = QueryStatistics' {}
- newQueryStatistics :: QueryStatistics
- queryStatistics_recordsScanned :: Lens' QueryStatistics (Maybe Double)
- queryStatistics_bytesScanned :: Lens' QueryStatistics (Maybe Double)
- queryStatistics_recordsMatched :: Lens' QueryStatistics (Maybe Double)
- data RejectedLogEventsInfo = RejectedLogEventsInfo' {}
- newRejectedLogEventsInfo :: RejectedLogEventsInfo
- rejectedLogEventsInfo_tooOldLogEventEndIndex :: Lens' RejectedLogEventsInfo (Maybe Int)
- rejectedLogEventsInfo_tooNewLogEventStartIndex :: Lens' RejectedLogEventsInfo (Maybe Int)
- rejectedLogEventsInfo_expiredLogEventEndIndex :: Lens' RejectedLogEventsInfo (Maybe Int)
- data ResourcePolicy = ResourcePolicy' {}
- newResourcePolicy :: ResourcePolicy
- resourcePolicy_policyName :: Lens' ResourcePolicy (Maybe Text)
- resourcePolicy_policyDocument :: Lens' ResourcePolicy (Maybe Text)
- resourcePolicy_lastUpdatedTime :: Lens' ResourcePolicy (Maybe Natural)
- data ResultField = ResultField' {}
- newResultField :: ResultField
- resultField_field :: Lens' ResultField (Maybe Text)
- resultField_value :: Lens' ResultField (Maybe Text)
- data SearchedLogStream = SearchedLogStream' {}
- newSearchedLogStream :: SearchedLogStream
- searchedLogStream_logStreamName :: Lens' SearchedLogStream (Maybe Text)
- searchedLogStream_searchedCompletely :: Lens' SearchedLogStream (Maybe Bool)
- data SubscriptionFilter = SubscriptionFilter' {}
- newSubscriptionFilter :: SubscriptionFilter
- subscriptionFilter_creationTime :: Lens' SubscriptionFilter (Maybe Natural)
- subscriptionFilter_filterName :: Lens' SubscriptionFilter (Maybe Text)
- subscriptionFilter_distribution :: Lens' SubscriptionFilter (Maybe Distribution)
- subscriptionFilter_destinationArn :: Lens' SubscriptionFilter (Maybe Text)
- subscriptionFilter_logGroupName :: Lens' SubscriptionFilter (Maybe Text)
- subscriptionFilter_filterPattern :: Lens' SubscriptionFilter (Maybe Text)
- subscriptionFilter_roleArn :: Lens' SubscriptionFilter (Maybe Text)
Service Configuration
defaultService :: Service Source #
API version 2014-03-28
of the Amazon CloudWatch Logs SDK configuration.
Errors
_InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError Source #
A parameter is specified incorrectly.
_InvalidSequenceTokenException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The sequence token is not valid. You can get the correct sequence token
in the expectedSequenceToken
field in the
InvalidSequenceTokenException
message.
_UnrecognizedClientException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The most likely cause is an invalid Amazon Web Services access key ID or secret key.
_ResourceAlreadyExistsException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified resource already exists.
_OperationAbortedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
Multiple requests to update the same resource were in conflict.
_MalformedQueryException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The query string is not valid. Details about this error are displayed in
a QueryCompileError
object. For more information, see
QueryCompileError.
For more information about valid query syntax, see CloudWatch Logs Insights Query Syntax.
_ServiceUnavailableException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The service cannot complete the request.
_DataAlreadyAcceptedException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The event was already logged.
_InvalidOperationException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The operation is not valid on the specified resource.
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #
The specified resource does not exist.
_LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #
You have reached the maximum number of resources that can be created.
Distribution
newtype Distribution Source #
The method used to distribute log data to the destination, which can be either random or grouped by log stream.
pattern Distribution_ByLogStream :: Distribution | |
pattern Distribution_Random :: Distribution |
Instances
ExportTaskStatusCode
newtype ExportTaskStatusCode Source #
pattern ExportTaskStatusCode_CANCELLED :: ExportTaskStatusCode | |
pattern ExportTaskStatusCode_COMPLETED :: ExportTaskStatusCode | |
pattern ExportTaskStatusCode_FAILED :: ExportTaskStatusCode | |
pattern ExportTaskStatusCode_PENDING :: ExportTaskStatusCode | |
pattern ExportTaskStatusCode_PENDING_CANCEL :: ExportTaskStatusCode | |
pattern ExportTaskStatusCode_RUNNING :: ExportTaskStatusCode |
Instances
OrderBy
pattern OrderBy_LastEventTime :: OrderBy | |
pattern OrderBy_LogStreamName :: OrderBy |
Instances
QueryStatus
newtype QueryStatus Source #
pattern QueryStatus_Cancelled :: QueryStatus | |
pattern QueryStatus_Complete :: QueryStatus | |
pattern QueryStatus_Failed :: QueryStatus | |
pattern QueryStatus_Running :: QueryStatus | |
pattern QueryStatus_Scheduled :: QueryStatus | |
pattern QueryStatus_Timeout :: QueryStatus | |
pattern QueryStatus_Unknown :: QueryStatus |
Instances
StandardUnit
newtype StandardUnit Source #
Instances
Destination
data Destination Source #
Represents a cross-account destination that receives subscription log events.
See: newDestination
smart constructor.
Destination' | |
|
Instances
newDestination :: Destination Source #
Create a value of Destination
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:targetArn:Destination'
, destination_targetArn
- The Amazon Resource Name (ARN) of the physical target where the log
events are delivered (for example, a Kinesis stream).
$sel:creationTime:Destination'
, destination_creationTime
- The creation time of the destination, expressed as the number of
milliseconds after Jan 1, 1970 00:00:00 UTC.
$sel:arn:Destination'
, destination_arn
- The ARN of this destination.
$sel:accessPolicy:Destination'
, destination_accessPolicy
- An IAM policy document that governs which Amazon Web Services accounts
can create subscription filters against this destination.
$sel:destinationName:Destination'
, destination_destinationName
- The name of the destination.
$sel:roleArn:Destination'
, destination_roleArn
- A role for impersonation, used when delivering log events to the target.
destination_targetArn :: Lens' Destination (Maybe Text) Source #
The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).
destination_creationTime :: 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.
destination_arn :: Lens' Destination (Maybe Text) Source #
The ARN of this destination.
destination_accessPolicy :: Lens' Destination (Maybe Text) Source #
An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.
destination_destinationName :: Lens' Destination (Maybe Text) Source #
The name of the destination.
destination_roleArn :: 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: newExportTask
smart constructor.
ExportTask' | |
|
Instances
newExportTask :: ExportTask Source #
Create a value of ExportTask
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:destinationPrefix:ExportTask'
, exportTask_destinationPrefix
- The prefix that was used as the start of Amazon S3 key for every object
exported.
$sel:destination:ExportTask'
, exportTask_destination
- The name of the S3 bucket to which the log data was exported.
$sel:status:ExportTask'
, exportTask_status
- The status of the export task.
$sel:taskName:ExportTask'
, exportTask_taskName
- The name of the export task.
$sel:taskId:ExportTask'
, exportTask_taskId
- The ID of the export task.
$sel:to:ExportTask'
, exportTask_to
- The end time, expressed as the number of milliseconds after Jan 1, 1970
00:00:00 UTC. Events with a timestamp later than this time are not
exported.
$sel:from:ExportTask'
, exportTask_from
- The start time, expressed as the number of milliseconds after Jan 1,
1970 00:00:00 UTC. Events with a timestamp before this time are not
exported.
$sel:logGroupName:ExportTask'
, exportTask_logGroupName
- The name of the log group from which logs data was exported.
$sel:executionInfo:ExportTask'
, exportTask_executionInfo
- Execution information about the export task.
exportTask_destinationPrefix :: Lens' ExportTask (Maybe Text) Source #
The prefix that was used as the start of Amazon S3 key for every object exported.
exportTask_destination :: Lens' ExportTask (Maybe Text) Source #
The name of the S3 bucket to which the log data was exported.
exportTask_status :: Lens' ExportTask (Maybe ExportTaskStatus) Source #
The status of the export task.
exportTask_taskName :: Lens' ExportTask (Maybe Text) Source #
The name of the export task.
exportTask_taskId :: Lens' ExportTask (Maybe Text) Source #
The ID of the export task.
exportTask_to :: 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 timestamp later than this time are not exported.
exportTask_from :: 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 timestamp before this time are not exported.
exportTask_logGroupName :: Lens' ExportTask (Maybe Text) Source #
The name of the log group from which logs data was exported.
exportTask_executionInfo :: Lens' ExportTask (Maybe ExportTaskExecutionInfo) Source #
Execution information about the export task.
ExportTaskExecutionInfo
data ExportTaskExecutionInfo Source #
Represents the status of an export task.
See: newExportTaskExecutionInfo
smart constructor.
ExportTaskExecutionInfo' | |
|
Instances
newExportTaskExecutionInfo :: ExportTaskExecutionInfo Source #
Create a value of ExportTaskExecutionInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationTime:ExportTaskExecutionInfo'
, exportTaskExecutionInfo_creationTime
- The creation time of the export task, expressed as the number of
milliseconds after Jan 1, 1970 00:00:00 UTC.
$sel:completionTime:ExportTaskExecutionInfo'
, exportTaskExecutionInfo_completionTime
- The completion time of the export task, expressed as the number of
milliseconds after Jan 1, 1970 00:00:00 UTC.
exportTaskExecutionInfo_creationTime :: 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.
exportTaskExecutionInfo_completionTime :: 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: newExportTaskStatus
smart constructor.
Instances
newExportTaskStatus :: ExportTaskStatus Source #
Create a value of ExportTaskStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:code:ExportTaskStatus'
, exportTaskStatus_code
- The status code of the export task.
$sel:message:ExportTaskStatus'
, exportTaskStatus_message
- The status message related to the status code.
exportTaskStatus_code :: Lens' ExportTaskStatus (Maybe ExportTaskStatusCode) Source #
The status code of the export task.
exportTaskStatus_message :: Lens' ExportTaskStatus (Maybe Text) Source #
The status message related to the status code.
FilteredLogEvent
data FilteredLogEvent Source #
Represents a matched event.
See: newFilteredLogEvent
smart constructor.
FilteredLogEvent' | |
|
Instances
newFilteredLogEvent :: FilteredLogEvent Source #
Create a value of FilteredLogEvent
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ingestionTime:FilteredLogEvent'
, filteredLogEvent_ingestionTime
- The time the event was ingested, expressed as the number of milliseconds
after Jan 1, 1970 00:00:00 UTC.
$sel:logStreamName:FilteredLogEvent'
, filteredLogEvent_logStreamName
- The name of the log stream to which this event belongs.
$sel:message:FilteredLogEvent'
, filteredLogEvent_message
- The data contained in the log event.
$sel:timestamp:FilteredLogEvent'
, filteredLogEvent_timestamp
- The time the event occurred, expressed as the number of milliseconds
after Jan 1, 1970 00:00:00 UTC.
$sel:eventId:FilteredLogEvent'
, filteredLogEvent_eventId
- The ID of the event.
filteredLogEvent_ingestionTime :: 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.
filteredLogEvent_logStreamName :: Lens' FilteredLogEvent (Maybe Text) Source #
The name of the log stream to which this event belongs.
filteredLogEvent_message :: Lens' FilteredLogEvent (Maybe Text) Source #
The data contained in the log event.
filteredLogEvent_timestamp :: Lens' FilteredLogEvent (Maybe Natural) Source #
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
filteredLogEvent_eventId :: Lens' FilteredLogEvent (Maybe Text) Source #
The ID of the event.
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: newInputLogEvent
smart constructor.
Instances
Create a value of InputLogEvent
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:timestamp:InputLogEvent'
, inputLogEvent_timestamp
- The time the event occurred, expressed as the number of milliseconds
after Jan 1, 1970 00:00:00 UTC.
$sel:message:InputLogEvent'
, inputLogEvent_message
- The raw event message.
inputLogEvent_timestamp :: Lens' InputLogEvent Natural Source #
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
inputLogEvent_message :: Lens' InputLogEvent Text Source #
The raw event message.
LogGroup
Represents a log group.
See: newLogGroup
smart constructor.
LogGroup' | |
|
Instances
newLogGroup :: LogGroup Source #
Create a value of LogGroup
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationTime:LogGroup'
, logGroup_creationTime
- The creation time of the log group, expressed as the number of
milliseconds after Jan 1, 1970 00:00:00 UTC.
$sel:metricFilterCount:LogGroup'
, logGroup_metricFilterCount
- The number of metric filters.
$sel:arn:LogGroup'
, logGroup_arn
- The Amazon Resource Name (ARN) of the log group.
$sel:logGroupName:LogGroup'
, logGroup_logGroupName
- The name of the log group.
$sel:retentionInDays:LogGroup'
, logGroup_retentionInDays
- Undocumented member.
$sel:kmsKeyId:LogGroup'
, logGroup_kmsKeyId
- The Amazon Resource Name (ARN) of the CMK to use when encrypting log
data.
$sel:storedBytes:LogGroup'
, logGroup_storedBytes
- The number of bytes stored.
logGroup_creationTime :: 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.
logGroup_arn :: Lens' LogGroup (Maybe Text) Source #
The Amazon Resource Name (ARN) of the log group.
logGroup_kmsKeyId :: Lens' LogGroup (Maybe Text) Source #
The Amazon Resource Name (ARN) of the CMK to use when encrypting log data.
LogGroupField
data LogGroupField Source #
The fields contained in log events found by a GetLogGroupFields
operation, along with the percentage of queried log events in which each
field appears.
See: newLogGroupField
smart constructor.
Instances
newLogGroupField :: LogGroupField Source #
Create a value of LogGroupField
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:percent:LogGroupField'
, logGroupField_percent
- The percentage of log events queried that contained the field.
$sel:name:LogGroupField'
, logGroupField_name
- The name of a log field.
logGroupField_percent :: Lens' LogGroupField (Maybe Natural) Source #
The percentage of log events queried that contained the field.
logGroupField_name :: Lens' LogGroupField (Maybe Text) Source #
The name of a log field.
LogStream
Represents a log stream, which is a sequence of log events from a single emitter of logs.
See: newLogStream
smart constructor.
LogStream' | |
|
Instances
newLogStream :: LogStream Source #
Create a value of LogStream
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationTime:LogStream'
, logStream_creationTime
- The creation time of the stream, expressed as the number of milliseconds
after Jan 1, 1970 00:00:00 UTC.
$sel:uploadSequenceToken:LogStream'
, logStream_uploadSequenceToken
- The sequence token.
$sel:arn:LogStream'
, logStream_arn
- The Amazon Resource Name (ARN) of the log stream.
$sel:firstEventTimestamp:LogStream'
, logStream_firstEventTimestamp
- The time of the first event, expressed as the number of milliseconds
after Jan 1, 1970 00:00:00 UTC.
$sel:logStreamName:LogStream'
, logStream_logStreamName
- The name of the log stream.
$sel:storedBytes:LogStream'
, logStream_storedBytes
- The number of bytes stored.
Important: On June 17, 2019, this parameter was deprecated for log
streams, and is always reported as zero. This change applies only to log
streams. The storedBytes
parameter for log groups is not affected.
$sel:lastIngestionTime:LogStream'
, logStream_lastIngestionTime
- The ingestion time, expressed as the number of milliseconds after Jan 1,
1970 00:00:00 UTC.
$sel:lastEventTimestamp:LogStream'
, logStream_lastEventTimestamp
- 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. The lastEventTime
value updates on an eventual
consistency basis. It typically updates in less than an hour from
ingestion, but in rare situations might take longer.
logStream_creationTime :: 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.
logStream_arn :: Lens' LogStream (Maybe Text) Source #
The Amazon Resource Name (ARN) of the log stream.
logStream_firstEventTimestamp :: 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.
logStream_storedBytes :: Lens' LogStream (Maybe Natural) Source #
The number of bytes stored.
Important: On June 17, 2019, this parameter was deprecated for log
streams, and is always reported as zero. This change applies only to log
streams. The storedBytes
parameter for log groups is not affected.
logStream_lastIngestionTime :: Lens' LogStream (Maybe Natural) Source #
The ingestion time, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
logStream_lastEventTimestamp :: 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. The lastEventTime
value updates on an eventual
consistency basis. It typically updates in less than an hour from
ingestion, but in rare situations might take longer.
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: newMetricFilter
smart constructor.
MetricFilter' | |
|
Instances
newMetricFilter :: MetricFilter Source #
Create a value of MetricFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationTime:MetricFilter'
, metricFilter_creationTime
- The creation time of the metric filter, expressed as the number of
milliseconds after Jan 1, 1970 00:00:00 UTC.
$sel:filterName:MetricFilter'
, metricFilter_filterName
- The name of the metric filter.
$sel:logGroupName:MetricFilter'
, metricFilter_logGroupName
- The name of the log group.
$sel:filterPattern:MetricFilter'
, metricFilter_filterPattern
- Undocumented member.
$sel:metricTransformations:MetricFilter'
, metricFilter_metricTransformations
- The metric transformations.
metricFilter_creationTime :: 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.
metricFilter_filterName :: Lens' MetricFilter (Maybe Text) Source #
The name of the metric filter.
metricFilter_logGroupName :: Lens' MetricFilter (Maybe Text) Source #
The name of the log group.
metricFilter_filterPattern :: Lens' MetricFilter (Maybe Text) Source #
Undocumented member.
metricFilter_metricTransformations :: Lens' MetricFilter (Maybe (NonEmpty MetricTransformation)) Source #
The metric transformations.
MetricFilterMatchRecord
data MetricFilterMatchRecord Source #
Represents a matched event.
See: newMetricFilterMatchRecord
smart constructor.
MetricFilterMatchRecord' | |
|
Instances
newMetricFilterMatchRecord :: MetricFilterMatchRecord Source #
Create a value of MetricFilterMatchRecord
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:extractedValues:MetricFilterMatchRecord'
, metricFilterMatchRecord_extractedValues
- The values extracted from the event data by the filter.
$sel:eventNumber:MetricFilterMatchRecord'
, metricFilterMatchRecord_eventNumber
- The event number.
$sel:eventMessage:MetricFilterMatchRecord'
, metricFilterMatchRecord_eventMessage
- The raw event data.
metricFilterMatchRecord_extractedValues :: Lens' MetricFilterMatchRecord (Maybe (HashMap Text Text)) Source #
The values extracted from the event data by the filter.
metricFilterMatchRecord_eventNumber :: Lens' MetricFilterMatchRecord (Maybe Integer) Source #
The event number.
metricFilterMatchRecord_eventMessage :: Lens' MetricFilterMatchRecord (Maybe Text) Source #
The raw event data.
MetricTransformation
data MetricTransformation Source #
Indicates how to transform ingested log events to metric data in a CloudWatch metric.
See: newMetricTransformation
smart constructor.
MetricTransformation' | |
|
Instances
newMetricTransformation Source #
:: Text | |
-> Text | |
-> Text | |
-> MetricTransformation |
Create a value of MetricTransformation
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:defaultValue:MetricTransformation'
, metricTransformation_defaultValue
- (Optional) The value to emit when a filter pattern does not match a log
event. This value can be null.
$sel:dimensions:MetricTransformation'
, metricTransformation_dimensions
- The fields to use as dimensions for the metric. One metric filter can
include as many as three dimensions.
Metrics extracted from log events are charged as custom metrics. To
prevent unexpected high charges, do not specify high-cardinality fields
such as IPAddress
or requestID
as dimensions. Each different value
found for a dimension is treated as a separate metric and accrues
charges as a separate custom metric.
To help prevent accidental high charges, Amazon disables a metric filter if it generates 1000 different name/value pairs for the dimensions that you have specified within a certain amount of time.
You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges.
$sel:unit:MetricTransformation'
, metricTransformation_unit
- The unit to assign to the metric. If you omit this, the unit is set as
None
.
$sel:metricName:MetricTransformation'
, metricTransformation_metricName
- The name of the CloudWatch metric.
$sel:metricNamespace:MetricTransformation'
, metricTransformation_metricNamespace
- A custom namespace to contain your metric in CloudWatch. Use namespaces
to group together metrics that are similar. For more information, see
Namespaces.
$sel:metricValue:MetricTransformation'
, metricTransformation_metricValue
- The value to publish to the CloudWatch metric when a filter pattern
matches a log event.
metricTransformation_defaultValue :: 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.
metricTransformation_dimensions :: Lens' MetricTransformation (Maybe (HashMap Text Text)) Source #
The fields to use as dimensions for the metric. One metric filter can include as many as three dimensions.
Metrics extracted from log events are charged as custom metrics. To
prevent unexpected high charges, do not specify high-cardinality fields
such as IPAddress
or requestID
as dimensions. Each different value
found for a dimension is treated as a separate metric and accrues
charges as a separate custom metric.
To help prevent accidental high charges, Amazon disables a metric filter if it generates 1000 different name/value pairs for the dimensions that you have specified within a certain amount of time.
You can also set up a billing alarm to alert you if your charges are higher than expected. For more information, see Creating a Billing Alarm to Monitor Your Estimated Amazon Web Services Charges.
metricTransformation_unit :: Lens' MetricTransformation (Maybe StandardUnit) Source #
The unit to assign to the metric. If you omit this, the unit is set as
None
.
metricTransformation_metricName :: Lens' MetricTransformation Text Source #
The name of the CloudWatch metric.
metricTransformation_metricNamespace :: Lens' MetricTransformation Text Source #
A custom namespace to contain your metric in CloudWatch. Use namespaces to group together metrics that are similar. For more information, see Namespaces.
metricTransformation_metricValue :: 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: newOutputLogEvent
smart constructor.
OutputLogEvent' | |
|
Instances
newOutputLogEvent :: OutputLogEvent Source #
Create a value of OutputLogEvent
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:ingestionTime:OutputLogEvent'
, outputLogEvent_ingestionTime
- The time the event was ingested, expressed as the number of milliseconds
after Jan 1, 1970 00:00:00 UTC.
$sel:message:OutputLogEvent'
, outputLogEvent_message
- The data contained in the log event.
$sel:timestamp:OutputLogEvent'
, outputLogEvent_timestamp
- The time the event occurred, expressed as the number of milliseconds
after Jan 1, 1970 00:00:00 UTC.
outputLogEvent_ingestionTime :: 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.
outputLogEvent_message :: Lens' OutputLogEvent (Maybe Text) Source #
The data contained in the log event.
outputLogEvent_timestamp :: Lens' OutputLogEvent (Maybe Natural) Source #
The time the event occurred, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
QueryDefinition
data QueryDefinition Source #
This structure contains details about a saved CloudWatch Logs Insights query definition.
See: newQueryDefinition
smart constructor.
QueryDefinition' | |
|
Instances
newQueryDefinition :: QueryDefinition Source #
Create a value of QueryDefinition
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:logGroupNames:QueryDefinition'
, queryDefinition_logGroupNames
- If this query definition contains a list of log groups that it is
limited to, that list appears here.
$sel:queryDefinitionId:QueryDefinition'
, queryDefinition_queryDefinitionId
- The unique ID of the query definition.
$sel:name:QueryDefinition'
, queryDefinition_name
- The name of the query definition.
$sel:queryString:QueryDefinition'
, queryDefinition_queryString
- The query string to use for this definition. For more information, see
CloudWatch Logs Insights Query Syntax.
$sel:lastModified:QueryDefinition'
, queryDefinition_lastModified
- The date that the query definition was most recently modified.
queryDefinition_logGroupNames :: Lens' QueryDefinition (Maybe [Text]) Source #
If this query definition contains a list of log groups that it is limited to, that list appears here.
queryDefinition_queryDefinitionId :: Lens' QueryDefinition (Maybe Text) Source #
The unique ID of the query definition.
queryDefinition_name :: Lens' QueryDefinition (Maybe Text) Source #
The name of the query definition.
queryDefinition_queryString :: Lens' QueryDefinition (Maybe Text) Source #
The query string to use for this definition. For more information, see CloudWatch Logs Insights Query Syntax.
queryDefinition_lastModified :: Lens' QueryDefinition (Maybe Natural) Source #
The date that the query definition was most recently modified.
QueryInfo
Information about one CloudWatch Logs Insights query that matches the
request in a DescribeQueries
operation.
See: newQueryInfo
smart constructor.
QueryInfo' | |
|
Instances
newQueryInfo :: QueryInfo Source #
Create a value of QueryInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:status:QueryInfo'
, queryInfo_status
- The status of this query. Possible values are Cancelled
, Complete
,
Failed
, Running
, Scheduled
, and Unknown
.
$sel:queryId:QueryInfo'
, queryInfo_queryId
- The unique ID number of this query.
$sel:logGroupName:QueryInfo'
, queryInfo_logGroupName
- The name of the log group scanned by this query.
$sel:queryString:QueryInfo'
, queryInfo_queryString
- The query string used in this query.
$sel:createTime:QueryInfo'
, queryInfo_createTime
- The date and time that this query was created.
queryInfo_status :: Lens' QueryInfo (Maybe QueryStatus) Source #
The status of this query. Possible values are Cancelled
, Complete
,
Failed
, Running
, Scheduled
, and Unknown
.
queryInfo_logGroupName :: Lens' QueryInfo (Maybe Text) Source #
The name of the log group scanned by this query.
queryInfo_createTime :: Lens' QueryInfo (Maybe Natural) Source #
The date and time that this query was created.
QueryStatistics
data QueryStatistics Source #
Contains the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the log events that were scanned.
See: newQueryStatistics
smart constructor.
QueryStatistics' | |
|
Instances
newQueryStatistics :: QueryStatistics Source #
Create a value of QueryStatistics
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:recordsScanned:QueryStatistics'
, queryStatistics_recordsScanned
- The total number of log events scanned during the query.
$sel:bytesScanned:QueryStatistics'
, queryStatistics_bytesScanned
- The total number of bytes in the log events scanned during the query.
$sel:recordsMatched:QueryStatistics'
, queryStatistics_recordsMatched
- The number of log events that matched the query string.
queryStatistics_recordsScanned :: Lens' QueryStatistics (Maybe Double) Source #
The total number of log events scanned during the query.
queryStatistics_bytesScanned :: Lens' QueryStatistics (Maybe Double) Source #
The total number of bytes in the log events scanned during the query.
queryStatistics_recordsMatched :: Lens' QueryStatistics (Maybe Double) Source #
The number of log events that matched the query string.
RejectedLogEventsInfo
data RejectedLogEventsInfo Source #
Represents the rejected events.
See: newRejectedLogEventsInfo
smart constructor.
RejectedLogEventsInfo' | |
|
Instances
newRejectedLogEventsInfo :: RejectedLogEventsInfo Source #
Create a value of RejectedLogEventsInfo
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:tooOldLogEventEndIndex:RejectedLogEventsInfo'
, rejectedLogEventsInfo_tooOldLogEventEndIndex
- The log events that are too old.
$sel:tooNewLogEventStartIndex:RejectedLogEventsInfo'
, rejectedLogEventsInfo_tooNewLogEventStartIndex
- The log events that are too new.
$sel:expiredLogEventEndIndex:RejectedLogEventsInfo'
, rejectedLogEventsInfo_expiredLogEventEndIndex
- The expired log events.
rejectedLogEventsInfo_tooOldLogEventEndIndex :: Lens' RejectedLogEventsInfo (Maybe Int) Source #
The log events that are too old.
rejectedLogEventsInfo_tooNewLogEventStartIndex :: Lens' RejectedLogEventsInfo (Maybe Int) Source #
The log events that are too new.
rejectedLogEventsInfo_expiredLogEventEndIndex :: Lens' RejectedLogEventsInfo (Maybe Int) Source #
The expired log events.
ResourcePolicy
data ResourcePolicy Source #
A policy enabling one or more entities to put logs to a log group in this account.
See: newResourcePolicy
smart constructor.
ResourcePolicy' | |
|
Instances
newResourcePolicy :: ResourcePolicy Source #
Create a value of ResourcePolicy
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:policyName:ResourcePolicy'
, resourcePolicy_policyName
- The name of the resource policy.
$sel:policyDocument:ResourcePolicy'
, resourcePolicy_policyDocument
- The details of the policy.
$sel:lastUpdatedTime:ResourcePolicy'
, resourcePolicy_lastUpdatedTime
- Timestamp showing when this policy was last updated, expressed as the
number of milliseconds after Jan 1, 1970 00:00:00 UTC.
resourcePolicy_policyName :: Lens' ResourcePolicy (Maybe Text) Source #
The name of the resource policy.
resourcePolicy_policyDocument :: Lens' ResourcePolicy (Maybe Text) Source #
The details of the policy.
resourcePolicy_lastUpdatedTime :: Lens' ResourcePolicy (Maybe Natural) Source #
Timestamp showing when this policy was last updated, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
ResultField
data ResultField Source #
Contains one field from one log event returned by a CloudWatch Logs Insights query, along with the value of that field.
For more information about the fields that are generated by CloudWatch logs, see Supported Logs and Discovered Fields.
See: newResultField
smart constructor.
Instances
newResultField :: ResultField Source #
Create a value of ResultField
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:field:ResultField'
, resultField_field
- The log event field.
$sel:value:ResultField'
, resultField_value
- The value of this field.
resultField_field :: Lens' ResultField (Maybe Text) Source #
The log event field.
resultField_value :: Lens' ResultField (Maybe Text) Source #
The value of this field.
SearchedLogStream
data SearchedLogStream Source #
Represents the search status of a log stream.
See: newSearchedLogStream
smart constructor.
SearchedLogStream' | |
|
Instances
newSearchedLogStream :: SearchedLogStream Source #
Create a value of SearchedLogStream
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:logStreamName:SearchedLogStream'
, searchedLogStream_logStreamName
- The name of the log stream.
$sel:searchedCompletely:SearchedLogStream'
, searchedLogStream_searchedCompletely
- Indicates whether all the events in this log stream were searched.
searchedLogStream_logStreamName :: Lens' SearchedLogStream (Maybe Text) Source #
The name of the log stream.
searchedLogStream_searchedCompletely :: 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: newSubscriptionFilter
smart constructor.
SubscriptionFilter' | |
|
Instances
newSubscriptionFilter :: SubscriptionFilter Source #
Create a value of SubscriptionFilter
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:creationTime:SubscriptionFilter'
, subscriptionFilter_creationTime
- The creation time of the subscription filter, expressed as the number of
milliseconds after Jan 1, 1970 00:00:00 UTC.
$sel:filterName:SubscriptionFilter'
, subscriptionFilter_filterName
- The name of the subscription filter.
$sel:distribution:SubscriptionFilter'
, subscriptionFilter_distribution
- Undocumented member.
$sel:destinationArn:SubscriptionFilter'
, subscriptionFilter_destinationArn
- The Amazon Resource Name (ARN) of the destination.
$sel:logGroupName:SubscriptionFilter'
, subscriptionFilter_logGroupName
- The name of the log group.
$sel:filterPattern:SubscriptionFilter'
, subscriptionFilter_filterPattern
- Undocumented member.
$sel:roleArn:SubscriptionFilter'
, subscriptionFilter_roleArn
-
subscriptionFilter_creationTime :: 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.
subscriptionFilter_filterName :: Lens' SubscriptionFilter (Maybe Text) Source #
The name of the subscription filter.
subscriptionFilter_distribution :: Lens' SubscriptionFilter (Maybe Distribution) Source #
Undocumented member.
subscriptionFilter_destinationArn :: Lens' SubscriptionFilter (Maybe Text) Source #
The Amazon Resource Name (ARN) of the destination.
subscriptionFilter_logGroupName :: Lens' SubscriptionFilter (Maybe Text) Source #
The name of the log group.
subscriptionFilter_filterPattern :: Lens' SubscriptionFilter (Maybe Text) Source #
Undocumented member.