amazonka-cloudwatch-logs 1.4.2 → 1.4.3
raw patch · 30 files changed
+275/−559 lines, 30 filesdep ~amazonka-cloudwatch-logsdep ~amazonka-coredep ~amazonka-testPVP: major bump suggested
API removals or changes: PVP suggests a major version bump
Dependency ranges changed: amazonka-cloudwatch-logs, amazonka-core, amazonka-test
API changes (from Hackage documentation)
- Network.AWS.CloudWatchLogs.CancelExportTask: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.CancelExportTask.CancelExportTask
- Network.AWS.CloudWatchLogs.CreateExportTask: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.CreateExportTask.CreateExportTask
- Network.AWS.CloudWatchLogs.CreateLogGroup: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.CreateLogGroup.CreateLogGroup
- Network.AWS.CloudWatchLogs.CreateLogStream: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.CreateLogStream.CreateLogStream
- Network.AWS.CloudWatchLogs.DeleteDestination: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.DeleteDestination.DeleteDestination
- Network.AWS.CloudWatchLogs.DeleteLogGroup: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.DeleteLogGroup.DeleteLogGroup
- Network.AWS.CloudWatchLogs.DeleteLogStream: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.DeleteLogStream.DeleteLogStream
- Network.AWS.CloudWatchLogs.DeleteMetricFilter: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.DeleteMetricFilter.DeleteMetricFilter
- Network.AWS.CloudWatchLogs.DeleteRetentionPolicy: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.DeleteRetentionPolicy.DeleteRetentionPolicy
- Network.AWS.CloudWatchLogs.DeleteSubscriptionFilter: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.DeleteSubscriptionFilter.DeleteSubscriptionFilter
- Network.AWS.CloudWatchLogs.DescribeDestinations: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.DescribeDestinations.DescribeDestinations
- Network.AWS.CloudWatchLogs.DescribeExportTasks: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.DescribeExportTasks.DescribeExportTasks
- Network.AWS.CloudWatchLogs.DescribeLogGroups: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.DescribeLogGroups.DescribeLogGroups
- Network.AWS.CloudWatchLogs.DescribeLogStreams: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.DescribeLogStreams.DescribeLogStreams
- Network.AWS.CloudWatchLogs.DescribeMetricFilters: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.DescribeMetricFilters.DescribeMetricFilters
- Network.AWS.CloudWatchLogs.DescribeSubscriptionFilters: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.DescribeSubscriptionFilters.DescribeSubscriptionFilters
- Network.AWS.CloudWatchLogs.FilterLogEvents: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.FilterLogEvents.FilterLogEvents
- Network.AWS.CloudWatchLogs.GetLogEvents: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.GetLogEvents.GetLogEvents
- Network.AWS.CloudWatchLogs.PutDestination: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.PutDestination.PutDestination
- Network.AWS.CloudWatchLogs.PutDestinationPolicy: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.PutDestinationPolicy.PutDestinationPolicy
- Network.AWS.CloudWatchLogs.PutLogEvents: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.PutLogEvents.PutLogEvents
- Network.AWS.CloudWatchLogs.PutMetricFilter: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.PutMetricFilter.PutMetricFilter
- Network.AWS.CloudWatchLogs.PutRetentionPolicy: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.PutRetentionPolicy.PutRetentionPolicy
- Network.AWS.CloudWatchLogs.PutSubscriptionFilter: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.PutSubscriptionFilter.PutSubscriptionFilter
- Network.AWS.CloudWatchLogs.TestMetricFilter: instance Data.Aeson.Types.Class.ToJSON Network.AWS.CloudWatchLogs.TestMetricFilter.TestMetricFilter
+ Network.AWS.CloudWatchLogs.CancelExportTask: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.CancelExportTask.CancelExportTask
+ Network.AWS.CloudWatchLogs.CreateExportTask: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.CreateExportTask.CreateExportTask
+ Network.AWS.CloudWatchLogs.CreateLogGroup: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.CreateLogGroup.CreateLogGroup
+ Network.AWS.CloudWatchLogs.CreateLogStream: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.CreateLogStream.CreateLogStream
+ Network.AWS.CloudWatchLogs.DeleteDestination: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.DeleteDestination.DeleteDestination
+ Network.AWS.CloudWatchLogs.DeleteLogGroup: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.DeleteLogGroup.DeleteLogGroup
+ Network.AWS.CloudWatchLogs.DeleteLogStream: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.DeleteLogStream.DeleteLogStream
+ Network.AWS.CloudWatchLogs.DeleteMetricFilter: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.DeleteMetricFilter.DeleteMetricFilter
+ Network.AWS.CloudWatchLogs.DeleteRetentionPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.DeleteRetentionPolicy.DeleteRetentionPolicy
+ Network.AWS.CloudWatchLogs.DeleteSubscriptionFilter: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.DeleteSubscriptionFilter.DeleteSubscriptionFilter
+ Network.AWS.CloudWatchLogs.DescribeDestinations: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.DescribeDestinations.DescribeDestinations
+ Network.AWS.CloudWatchLogs.DescribeExportTasks: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.DescribeExportTasks.DescribeExportTasks
+ Network.AWS.CloudWatchLogs.DescribeLogGroups: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.DescribeLogGroups.DescribeLogGroups
+ Network.AWS.CloudWatchLogs.DescribeLogStreams: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.DescribeLogStreams.DescribeLogStreams
+ Network.AWS.CloudWatchLogs.DescribeMetricFilters: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.DescribeMetricFilters.DescribeMetricFilters
+ Network.AWS.CloudWatchLogs.DescribeSubscriptionFilters: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.DescribeSubscriptionFilters.DescribeSubscriptionFilters
+ Network.AWS.CloudWatchLogs.FilterLogEvents: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.FilterLogEvents.FilterLogEvents
+ Network.AWS.CloudWatchLogs.GetLogEvents: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.GetLogEvents.GetLogEvents
+ Network.AWS.CloudWatchLogs.PutDestination: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.PutDestination.PutDestination
+ Network.AWS.CloudWatchLogs.PutDestinationPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.PutDestinationPolicy.PutDestinationPolicy
+ Network.AWS.CloudWatchLogs.PutLogEvents: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.PutLogEvents.PutLogEvents
+ Network.AWS.CloudWatchLogs.PutMetricFilter: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.PutMetricFilter.PutMetricFilter
+ Network.AWS.CloudWatchLogs.PutRetentionPolicy: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.PutRetentionPolicy.PutRetentionPolicy
+ Network.AWS.CloudWatchLogs.PutSubscriptionFilter: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.PutSubscriptionFilter.PutSubscriptionFilter
+ Network.AWS.CloudWatchLogs.TestMetricFilter: instance Data.Aeson.Types.ToJSON.ToJSON Network.AWS.CloudWatchLogs.TestMetricFilter.TestMetricFilter
Files
- README.md +5/−30
- amazonka-cloudwatch-logs.cabal +9/−34
- gen/Network/AWS/CloudWatchLogs.hs +4/−29
- gen/Network/AWS/CloudWatchLogs/CreateExportTask.hs +7/−24
- gen/Network/AWS/CloudWatchLogs/CreateLogGroup.hs +2/−5
- gen/Network/AWS/CloudWatchLogs/CreateLogStream.hs +1/−3
- gen/Network/AWS/CloudWatchLogs/DeleteDestination.hs +1/−3
- gen/Network/AWS/CloudWatchLogs/DeleteLogGroup.hs +1/−2
- gen/Network/AWS/CloudWatchLogs/DeleteLogStream.hs +1/−2
- gen/Network/AWS/CloudWatchLogs/DeleteMetricFilter.hs +1/−2
- gen/Network/AWS/CloudWatchLogs/DeleteRetentionPolicy.hs +2/−5
- gen/Network/AWS/CloudWatchLogs/DeleteSubscriptionFilter.hs +1/−2
- gen/Network/AWS/CloudWatchLogs/DescribeDestinations.hs +3/−11
- gen/Network/AWS/CloudWatchLogs/DescribeExportTasks.hs +6/−17
- gen/Network/AWS/CloudWatchLogs/DescribeLogGroups.hs +5/−15
- gen/Network/AWS/CloudWatchLogs/DescribeLogStreams.hs +7/−24
- gen/Network/AWS/CloudWatchLogs/DescribeMetricFilters.hs +5/−15
- gen/Network/AWS/CloudWatchLogs/DescribeSubscriptionFilters.hs +3/−10
- gen/Network/AWS/CloudWatchLogs/FilterLogEvents.hs +12/−44
- gen/Network/AWS/CloudWatchLogs/GetLogEvents.hs +5/−18
- gen/Network/AWS/CloudWatchLogs/PutDestination.hs +3/−14
- gen/Network/AWS/CloudWatchLogs/PutDestinationPolicy.hs +2/−7
- gen/Network/AWS/CloudWatchLogs/PutLogEvents.hs +7/−16
- gen/Network/AWS/CloudWatchLogs/PutMetricFilter.hs +4/−9
- gen/Network/AWS/CloudWatchLogs/PutRetentionPolicy.hs +1/−3
- gen/Network/AWS/CloudWatchLogs/PutSubscriptionFilter.hs +13/−31
- gen/Network/AWS/CloudWatchLogs/TestMetricFilter.hs +1/−3
- gen/Network/AWS/CloudWatchLogs/Types.hs +2/−4
- gen/Network/AWS/CloudWatchLogs/Types/Product.hs +11/−27
- test/Test/AWS/Gen/CloudWatchLogs.hs +150/−150
README.md view
@@ -8,47 +8,22 @@ ## Version -`1.4.2`+`1.4.3` ## Description Amazon CloudWatch Logs API Reference -You can use Amazon CloudWatch Logs to monitor, store, and access your-log files from Amazon Elastic Compute Cloud (Amazon EC2) instances,-Amazon CloudTrail, or other sources. You can then retrieve the-associated log data from CloudWatch Logs using the Amazon CloudWatch-console, the CloudWatch Logs commands in the AWS CLI, the CloudWatch-Logs API, or the CloudWatch Logs SDK.+You can use Amazon CloudWatch Logs to monitor, store, and access your log files from Amazon Elastic Compute Cloud (Amazon EC2) instances, Amazon CloudTrail, or other sources. You can then retrieve the associated log data from CloudWatch Logs using the Amazon CloudWatch console, the CloudWatch Logs commands in the AWS CLI, the CloudWatch Logs API, or the CloudWatch Logs SDK. You can use CloudWatch Logs to: -- __Monitor Logs from Amazon 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 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 Amazon CloudWatch metric that you specify.+- __Monitor Logs from Amazon 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 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 Amazon CloudWatch metric that you specify. -- __Monitor Amazon CloudTrail Logged Events__: You can create alarms- in Amazon CloudWatch and receive notifications of particular API- activity as captured by CloudTrail and use the notification to- perform troubleshooting.+- __Monitor Amazon CloudTrail Logged Events__: You can create alarms in Amazon 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.+- __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. Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-cloudwatch-logs) and the [AWS API Reference](https://aws.amazon.com/documentation/).
amazonka-cloudwatch-logs.cabal view
@@ -1,5 +1,5 @@ name: amazonka-cloudwatch-logs-version: 1.4.2+version: 1.4.3 synopsis: Amazon CloudWatch Logs SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -15,40 +15,15 @@ description: Amazon CloudWatch Logs API Reference - You can use Amazon CloudWatch Logs to monitor, store, and access your- log files from Amazon Elastic Compute Cloud (Amazon EC2) instances,- Amazon CloudTrail, or other sources. You can then retrieve the- associated log data from CloudWatch Logs using the Amazon CloudWatch- console, the CloudWatch Logs commands in the AWS CLI, the CloudWatch- Logs API, or the CloudWatch Logs SDK.+ You can use Amazon CloudWatch Logs to monitor, store, and access your log files from Amazon Elastic Compute Cloud (Amazon EC2) instances, Amazon CloudTrail, or other sources. You can then retrieve the associated log data from CloudWatch Logs using the Amazon CloudWatch console, the CloudWatch Logs commands in the AWS CLI, the CloudWatch Logs API, or the CloudWatch Logs SDK. You can use CloudWatch Logs to: - - __Monitor Logs from Amazon 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 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 Amazon CloudWatch metric that you specify.+ - __Monitor Logs from Amazon 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 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 Amazon CloudWatch metric that you specify. - - __Monitor Amazon CloudTrail Logged Events__: You can create alarms- in Amazon CloudWatch and receive notifications of particular API- activity as captured by CloudTrail and use the notification to- perform troubleshooting.+ - __Monitor Amazon CloudTrail Logged Events__: You can create alarms in Amazon 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.+ - __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. . The types from this library are intended to be used with <http://hackage.haskell.org/package/amazonka amazonka>, which provides@@ -109,7 +84,7 @@ , Network.AWS.CloudWatchLogs.Types.Sum build-depends:- amazonka-core == 1.4.2.*+ amazonka-core == 1.4.3.* , base >= 4.7 && < 5 test-suite amazonka-cloudwatch-logs-test@@ -129,9 +104,9 @@ , Test.AWS.CloudWatchLogs.Internal build-depends:- amazonka-core == 1.4.2.*- , amazonka-test == 1.4.2.*- , amazonka-cloudwatch-logs == 1.4.2.*+ amazonka-core == 1.4.3.*+ , amazonka-test == 1.4.3.*+ , amazonka-cloudwatch-logs == 1.4.3.* , base , bytestring , tasty
gen/Network/AWS/CloudWatchLogs.hs view
@@ -13,40 +13,15 @@ -- -- Amazon CloudWatch Logs API Reference ----- You can use Amazon CloudWatch Logs to monitor, store, and access your--- log files from Amazon Elastic Compute Cloud (Amazon EC2) instances,--- Amazon CloudTrail, or other sources. You can then retrieve the--- associated log data from CloudWatch Logs using the Amazon CloudWatch--- console, the CloudWatch Logs commands in the AWS CLI, the CloudWatch--- Logs API, or the CloudWatch Logs SDK.+-- You can use Amazon CloudWatch Logs to monitor, store, and access your log files from Amazon Elastic Compute Cloud (Amazon EC2) instances, Amazon CloudTrail, or other sources. You can then retrieve the associated log data from CloudWatch Logs using the Amazon CloudWatch console, the CloudWatch Logs commands in the AWS CLI, the CloudWatch Logs API, or the CloudWatch Logs SDK. -- -- You can use CloudWatch Logs to: ----- - __Monitor Logs from Amazon 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 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 Amazon CloudWatch metric that you specify.+-- - __Monitor Logs from Amazon 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 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 Amazon CloudWatch metric that you specify. ----- - __Monitor Amazon CloudTrail Logged Events__: You can create alarms--- in Amazon CloudWatch and receive notifications of particular API--- activity as captured by CloudTrail and use the notification to--- perform troubleshooting.+-- - __Monitor Amazon CloudTrail Logged Events__: You can create alarms in Amazon 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.+-- - __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. -- module Network.AWS.CloudWatchLogs (
gen/Network/AWS/CloudWatchLogs/CreateExportTask.hs view
@@ -18,19 +18,11 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates an 'ExportTask' which allows you to efficiently export data from--- a Log Group to your Amazon S3 bucket.+-- Creates an 'ExportTask' which allows you to efficiently export data from a Log Group to your Amazon S3 bucket. ----- This is an asynchronous call. If all the required information is--- provided, this API will initiate an export task and respond with the--- task Id. Once started, 'DescribeExportTasks' can be used to get the--- status of an export task. You can only have one active ('RUNNING' or--- 'PENDING') export task at a time, per account.+-- This is an asynchronous call. If all the required information is provided, this API will initiate an export task and respond with the task Id. Once started, 'DescribeExportTasks' can be used to get the status of an export task. You can only have one active ('RUNNING' or 'PENDING') export task at a time, per account. ----- You can export logs from multiple log groups or multiple time ranges to--- the same Amazon S3 bucket. To separate out log data for each export--- task, you can specify a prefix that will be used as the Amazon S3 key--- prefix for all exported objects.+-- You can export logs from multiple log groups or multiple time ranges to the same Amazon S3 bucket. To separate out log data for each export task, you can specify a prefix that will be used as the Amazon S3 key prefix for all exported objects. module Network.AWS.CloudWatchLogs.CreateExportTask ( -- * Creating a Request@@ -105,8 +97,7 @@ , _cetDestination = pDestination_ } --- | Prefix that will be used as the start of Amazon S3 key for every object--- exported. If not specified, this defaults to \'exportedlogs\'.+-- | Prefix that will be used as the start of Amazon S3 key for every object exported. If not specified, this defaults to \'exportedlogs\'. cetDestinationPrefix :: Lens' CreateExportTask (Maybe Text) cetDestinationPrefix = lens _cetDestinationPrefix (\ s a -> s{_cetDestinationPrefix = a}); @@ -114,9 +105,7 @@ cetTaskName :: Lens' CreateExportTask (Maybe Text) cetTaskName = lens _cetTaskName (\ s a -> s{_cetTaskName = a}); --- | Will only export log streams that match the provided--- logStreamNamePrefix. If you don\'t specify a value, no prefix filter is--- applied.+-- | Will only export log streams that match the provided logStreamNamePrefix. If you don\'t specify a value, no prefix filter is applied. cetLogStreamNamePrefix :: Lens' CreateExportTask (Maybe Text) cetLogStreamNamePrefix = lens _cetLogStreamNamePrefix (\ s a -> s{_cetLogStreamNamePrefix = a}); @@ -124,17 +113,11 @@ cetLogGroupName :: Lens' CreateExportTask Text cetLogGroupName = lens _cetLogGroupName (\ s a -> s{_cetLogGroupName = a}); --- | A point in time expressed as the number of milliseconds since Jan 1,--- 1970 00:00:00 UTC. It indicates the start time of the range for the--- request. Events with a timestamp prior to this time will not be--- exported.+-- | A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. It indicates the start time of the range for the request. Events with a timestamp prior to this time will not be exported. cetFrom :: Lens' CreateExportTask Natural cetFrom = lens _cetFrom (\ s a -> s{_cetFrom = a}) . _Nat; --- | A point in time expressed as the number of milliseconds since Jan 1,--- 1970 00:00:00 UTC. It indicates the end time of the range for the--- request. Events with a timestamp later than this time will not be--- exported.+-- | A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. It indicates the end time of the range for the request. Events with a timestamp later than this time will not be exported. cetTo :: Lens' CreateExportTask Natural cetTo = lens _cetTo (\ s a -> s{_cetTo = a}) . _Nat;
gen/Network/AWS/CloudWatchLogs/CreateLogGroup.hs view
@@ -18,15 +18,12 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a new log group with the specified name. The name of the log--- group must be unique within a region for an AWS account. You can create--- up to 500 log groups per account.+-- Creates a new log group with the specified name. The name of the log group must be unique within a region for an AWS account. You can create up to 500 log groups per account. -- -- You must use the following guidelines when naming a log group: -- -- - Log group names can be between 1 and 512 characters long.--- - Allowed characters are a-z, A-Z, 0-9, \'_\' (underscore), \'-\'--- (hyphen), \'\/\' (forward slash), and \'.\' (period).+-- - Allowed characters are a-z, A-Z, 0-9, \'_\' (underscore), \'-\' (hyphen), \'\/\' (forward slash), and \'.\' (period). module Network.AWS.CloudWatchLogs.CreateLogGroup ( -- * Creating a Request
gen/Network/AWS/CloudWatchLogs/CreateLogStream.hs view
@@ -18,9 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a new log stream in the specified log group. The name of the log--- stream must be unique within the log group. There is no limit on the--- number of log streams that can exist in a log group.+-- Creates a new log stream in the specified log group. The name of the log stream must be unique within the log group. There is no limit on the number of log streams that can exist in a log group. -- -- You must use the following guidelines when naming a log stream: --
gen/Network/AWS/CloudWatchLogs/DeleteDestination.hs view
@@ -18,9 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the destination with the specified name and eventually disables--- all the subscription filters that publish to it. This will not delete--- the physical resource encapsulated by the destination.+-- Deletes the destination with the specified name and eventually disables all the subscription filters that publish to it. This will not delete the physical resource encapsulated by the destination. module Network.AWS.CloudWatchLogs.DeleteDestination ( -- * Creating a Request
gen/Network/AWS/CloudWatchLogs/DeleteLogGroup.hs view
@@ -18,8 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the log group with the specified name and permanently deletes--- all the archived log events associated with it.+-- Deletes the log group with the specified name and permanently deletes all the archived log events associated with it. module Network.AWS.CloudWatchLogs.DeleteLogGroup ( -- * Creating a Request
gen/Network/AWS/CloudWatchLogs/DeleteLogStream.hs view
@@ -18,8 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes a log stream and permanently deletes all the archived log events--- associated with it.+-- Deletes a log stream and permanently deletes all the archived log events associated with it. module Network.AWS.CloudWatchLogs.DeleteLogStream ( -- * Creating a Request
gen/Network/AWS/CloudWatchLogs/DeleteMetricFilter.hs view
@@ -63,8 +63,7 @@ , _delFilterName = pFilterName_ } --- | The name of the log group that is associated with the metric filter to--- delete.+-- | The name of the log group that is associated with the metric filter to delete. delLogGroupName :: Lens' DeleteMetricFilter Text delLogGroupName = lens _delLogGroupName (\ s a -> s{_delLogGroupName = a});
gen/Network/AWS/CloudWatchLogs/DeleteRetentionPolicy.hs view
@@ -18,9 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the retention policy of the specified log group. Log events--- would not expire if they belong to log groups without a retention--- policy.+-- Deletes the retention policy of the specified log group. Log events would not expire if they belong to log groups without a retention policy. module Network.AWS.CloudWatchLogs.DeleteRetentionPolicy ( -- * Creating a Request@@ -59,8 +57,7 @@ { _drpLogGroupName = pLogGroupName_ } --- | The name of the log group that is associated with the retention policy--- to delete.+-- | The name of the log group that is associated with the retention policy to delete. drpLogGroupName :: Lens' DeleteRetentionPolicy Text drpLogGroupName = lens _drpLogGroupName (\ s a -> s{_drpLogGroupName = a});
gen/Network/AWS/CloudWatchLogs/DeleteSubscriptionFilter.hs view
@@ -63,8 +63,7 @@ , _dFilterName = pFilterName_ } --- | The name of the log group that is associated with the subscription--- filter to delete.+-- | The name of the log group that is associated with the subscription filter to delete. dLogGroupName :: Lens' DeleteSubscriptionFilter Text dLogGroupName = lens _dLogGroupName (\ s a -> s{_dLogGroupName = a});
gen/Network/AWS/CloudWatchLogs/DescribeDestinations.hs view
@@ -18,15 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns all the destinations that are associated with the AWS account--- making the request. The list returned in the response is ASCII-sorted by--- destination name.+-- Returns all the destinations that are associated with the AWS account making the request. The list returned in the response is ASCII-sorted by destination name. ----- By default, this operation returns up to 50 destinations. If there are--- more destinations to list, the response would contain a 'nextToken'--- value in the response body. You can also limit the number of--- destinations returned in the response by specifying the 'limit'--- parameter in the request.+-- By default, this operation returns up to 50 destinations. If there are more destinations to list, the response would contain a 'nextToken' value in the response body. You can also limit the number of destinations returned in the response by specifying the 'limit' parameter in the request. -- -- This operation returns paginated results. module Network.AWS.CloudWatchLogs.DescribeDestinations@@ -89,9 +83,7 @@ ddLimit :: Lens' DescribeDestinations (Maybe Natural) ddLimit = lens _ddLimit (\ s a -> s{_ddLimit = a}) . mapping _Nat; --- | Will only return destinations that match the provided--- destinationNamePrefix. If you don\'t specify a value, no prefix is--- applied.+-- | Will only return destinations that match the provided destinationNamePrefix. If you don\'t specify a value, no prefix is applied. ddDestinationNamePrefix :: Lens' DescribeDestinations (Maybe Text) ddDestinationNamePrefix = lens _ddDestinationNamePrefix (\ s a -> s{_ddDestinationNamePrefix = a});
gen/Network/AWS/CloudWatchLogs/DescribeExportTasks.hs view
@@ -18,15 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns all the export tasks that are associated with the AWS account--- making the request. The export tasks can be filtered based on 'TaskId'--- or 'TaskStatus'.+-- Returns all the export tasks that are associated with the AWS account making the request. The export tasks can be filtered based on 'TaskId' or 'TaskStatus'. ----- By default, this operation returns up to 50 export tasks that satisfy--- the specified filters. If there are more export tasks to list, the--- response would contain a 'nextToken' value in the response body. You can--- also limit the number of export tasks returned in the response by--- specifying the 'limit' parameter in the request.+-- By default, this operation returns up to 50 export tasks that satisfy the specified filters. If there are more export tasks to list, the response would contain a 'nextToken' value in the response body. You can also limit the number of export tasks returned in the response by specifying the 'limit' parameter in the request. module Network.AWS.CloudWatchLogs.DescribeExportTasks ( -- * Creating a Request@@ -83,24 +77,19 @@ , _detStatusCode = Nothing } --- | Export task that matches the specified task Id will be returned. This--- can result in zero or one export task.+-- | Export task that matches the specified task Id will be returned. This can result in zero or one export task. detTaskId :: Lens' DescribeExportTasks (Maybe Text) detTaskId = lens _detTaskId (\ s a -> s{_detTaskId = a}); --- | A string token used for pagination that points to the next page of--- results. It must be a value obtained from the response of the previous--- 'DescribeExportTasks' request.+-- | A string token used for pagination that points to the next page of results. It must be a value obtained from the response of the previous 'DescribeExportTasks' request. detNextToken :: Lens' DescribeExportTasks (Maybe Text) detNextToken = lens _detNextToken (\ s a -> s{_detNextToken = a}); --- | The maximum number of items returned in the response. If you don\'t--- specify a value, the request would return up to 50 items.+-- | The maximum number of items returned in the response. If you don\'t specify a value, the request would return up to 50 items. detLimit :: Lens' DescribeExportTasks (Maybe Natural) detLimit = lens _detLimit (\ s a -> s{_detLimit = a}) . mapping _Nat; --- | All export tasks that matches the specified status code will be--- returned. This can return zero or more export tasks.+-- | All export tasks that matches the specified status code will be returned. This can return zero or more export tasks. detStatusCode :: Lens' DescribeExportTasks (Maybe ExportTaskStatusCode) detStatusCode = lens _detStatusCode (\ s a -> s{_detStatusCode = a});
gen/Network/AWS/CloudWatchLogs/DescribeLogGroups.hs view
@@ -18,15 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns all the log groups that are associated with the AWS account--- making the request. The list returned in the response is ASCII-sorted by--- log group name.+-- Returns all the log groups that are associated with the AWS account making the request. The list returned in the response is ASCII-sorted by log group name. ----- By default, this operation returns up to 50 log groups. If there are--- more log groups to list, the response would contain a 'nextToken' value--- in the response body. You can also limit the number of log groups--- returned in the response by specifying the 'limit' parameter in the--- request.+-- By default, this operation returns up to 50 log groups. If there are more log groups to list, the response would contain a 'nextToken' value in the response body. You can also limit the number of log groups returned in the response by specifying the 'limit' parameter in the request. -- -- This operation returns paginated results. module Network.AWS.CloudWatchLogs.DescribeLogGroups@@ -81,19 +75,15 @@ , _dlgLimit = Nothing } --- | Will only return log groups that match the provided logGroupNamePrefix.--- If you don\'t specify a value, no prefix filter is applied.+-- | Will only return log groups that match the provided logGroupNamePrefix. If you don\'t specify a value, no prefix filter is applied. dlgLogGroupNamePrefix :: Lens' DescribeLogGroups (Maybe Text) dlgLogGroupNamePrefix = lens _dlgLogGroupNamePrefix (\ s a -> s{_dlgLogGroupNamePrefix = a}); --- | A string token used for pagination that points to the next page of--- results. It must be a value obtained from the response of the previous--- 'DescribeLogGroups' request.+-- | A string token used for pagination that points to the next page of results. It must be a value obtained from the response of the previous 'DescribeLogGroups' request. dlgNextToken :: Lens' DescribeLogGroups (Maybe Text) dlgNextToken = lens _dlgNextToken (\ s a -> s{_dlgNextToken = a}); --- | The maximum number of items returned in the response. If you don\'t--- specify a value, the request would return up to 50 items.+-- | The maximum number of items returned in the response. If you don\'t specify a value, the request would return up to 50 items. dlgLimit :: Lens' DescribeLogGroups (Maybe Natural) dlgLimit = lens _dlgLimit (\ s a -> s{_dlgLimit = a}) . mapping _Nat;
gen/Network/AWS/CloudWatchLogs/DescribeLogStreams.hs view
@@ -18,16 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns all the log streams that are associated with the specified log--- group. The list returned in the response is ASCII-sorted by log stream--- name.+-- Returns all the log streams that are associated with the specified log group. The list returned in the response is ASCII-sorted by log stream name. ----- By default, this operation returns up to 50 log streams. If there are--- more log streams to list, the response would contain a 'nextToken' value--- in the response body. You can also limit the number of log streams--- returned in the response by specifying the 'limit' parameter in the--- request. This operation has a limit of five transactions per second,--- after which transactions are throttled.+-- By default, this operation returns up to 50 log streams. If there are more log streams to list, the response would contain a 'nextToken' value in the response body. You can also limit the number of log streams returned in the response by specifying the 'limit' parameter in the request. This operation has a limit of five transactions per second, after which transactions are throttled. -- -- This operation returns paginated results. module Network.AWS.CloudWatchLogs.DescribeLogStreams@@ -98,33 +91,23 @@ , _dlssLogGroupName = pLogGroupName_ } --- | Specifies what to order the returned log streams by. Valid arguments are--- \'LogStreamName\' or \'LastEventTime\'. If you don\'t specify a value,--- results are ordered by LogStreamName. If \'LastEventTime\' is chosen,--- the request cannot also contain a logStreamNamePrefix.+-- | Specifies what to order the returned log streams by. Valid arguments are \'LogStreamName\' or \'LastEventTime\'. If you don\'t specify a value, results are ordered by LogStreamName. If \'LastEventTime\' is chosen, the request cannot also contain a logStreamNamePrefix. dlssOrderBy :: Lens' DescribeLogStreams (Maybe OrderBy) dlssOrderBy = lens _dlssOrderBy (\ s a -> s{_dlssOrderBy = a}); --- | If set to true, results are returned in descending order. If you don\'t--- specify a value or set it to false, results are returned in ascending--- order.+-- | If set to true, results are returned in descending order. If you don\'t specify a value or set it to false, results are returned in ascending order. dlssDescending :: Lens' DescribeLogStreams (Maybe Bool) dlssDescending = lens _dlssDescending (\ s a -> s{_dlssDescending = a}); --- | A string token used for pagination that points to the next page of--- results. It must be a value obtained from the response of the previous--- 'DescribeLogStreams' request.+-- | A string token used for pagination that points to the next page of results. It must be a value obtained from the response of the previous 'DescribeLogStreams' request. dlssNextToken :: Lens' DescribeLogStreams (Maybe Text) dlssNextToken = lens _dlssNextToken (\ s a -> s{_dlssNextToken = a}); --- | Will only return log streams that match the provided--- logStreamNamePrefix. If you don\'t specify a value, no prefix filter is--- applied.+-- | Will only return log streams that match the provided logStreamNamePrefix. If you don\'t specify a value, no prefix filter is applied. dlssLogStreamNamePrefix :: Lens' DescribeLogStreams (Maybe Text) dlssLogStreamNamePrefix = lens _dlssLogStreamNamePrefix (\ s a -> s{_dlssLogStreamNamePrefix = a}); --- | The maximum number of items returned in the response. If you don\'t--- specify a value, the request would return up to 50 items.+-- | The maximum number of items returned in the response. If you don\'t specify a value, the request would return up to 50 items. dlssLimit :: Lens' DescribeLogStreams (Maybe Natural) dlssLimit = lens _dlssLimit (\ s a -> s{_dlssLimit = a}) . mapping _Nat;
gen/Network/AWS/CloudWatchLogs/DescribeMetricFilters.hs view
@@ -18,14 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns all the metrics filters associated with the specified log group.--- The list returned in the response is ASCII-sorted by filter name.+-- Returns all the metrics filters associated with the specified log group. The list returned in the response is ASCII-sorted by filter name. ----- By default, this operation returns up to 50 metric filters. If there are--- more metric filters to list, the response would contain a 'nextToken'--- value in the response body. You can also limit the number of metric--- filters returned in the response by specifying the 'limit' parameter in--- the request.+-- By default, this operation returns up to 50 metric filters. If there are more metric filters to list, the response would contain a 'nextToken' value in the response body. You can also limit the number of metric filters returned in the response by specifying the 'limit' parameter in the request. -- -- This operation returns paginated results. module Network.AWS.CloudWatchLogs.DescribeMetricFilters@@ -86,20 +81,15 @@ , _dmfLogGroupName = pLogGroupName_ } --- | Will only return metric filters that match the provided--- filterNamePrefix. If you don\'t specify a value, no prefix filter is--- applied.+-- | Will only return metric filters that match the provided filterNamePrefix. If you don\'t specify a value, no prefix filter is applied. dmfFilterNamePrefix :: Lens' DescribeMetricFilters (Maybe Text) dmfFilterNamePrefix = lens _dmfFilterNamePrefix (\ s a -> s{_dmfFilterNamePrefix = a}); --- | A string token used for pagination that points to the next page of--- results. It must be a value obtained from the response of the previous--- 'DescribeMetricFilters' request.+-- | A string token used for pagination that points to the next page of results. It must be a value obtained from the response of the previous 'DescribeMetricFilters' request. dmfNextToken :: Lens' DescribeMetricFilters (Maybe Text) dmfNextToken = lens _dmfNextToken (\ s a -> s{_dmfNextToken = a}); --- | The maximum number of items returned in the response. If you don\'t--- specify a value, the request would return up to 50 items.+-- | The maximum number of items returned in the response. If you don\'t specify a value, the request would return up to 50 items. dmfLimit :: Lens' DescribeMetricFilters (Maybe Natural) dmfLimit = lens _dmfLimit (\ s a -> s{_dmfLimit = a}) . mapping _Nat;
gen/Network/AWS/CloudWatchLogs/DescribeSubscriptionFilters.hs view
@@ -18,14 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns all the subscription filters associated with the specified log--- group. The list returned in the response is ASCII-sorted by filter name.+-- Returns all the subscription filters associated with the specified log group. The list returned in the response is ASCII-sorted by filter name. ----- By default, this operation returns up to 50 subscription filters. If--- there are more subscription filters to list, the response would contain--- a 'nextToken' value in the response body. You can also limit the number--- of subscription filters returned in the response by specifying the--- 'limit' parameter in the request.+-- By default, this operation returns up to 50 subscription filters. If there are more subscription filters to list, the response would contain a 'nextToken' value in the response body. You can also limit the number of subscription filters returned in the response by specifying the 'limit' parameter in the request. -- -- This operation returns paginated results. module Network.AWS.CloudWatchLogs.DescribeSubscriptionFilters@@ -86,9 +81,7 @@ , _dsfLogGroupName = pLogGroupName_ } --- | Will only return subscription filters that match the provided--- filterNamePrefix. If you don\'t specify a value, no prefix filter is--- applied.+-- | Will only return subscription filters that match the provided filterNamePrefix. If you don\'t specify a value, no prefix filter is applied. dsfFilterNamePrefix :: Lens' DescribeSubscriptionFilters (Maybe Text) dsfFilterNamePrefix = lens _dsfFilterNamePrefix (\ s a -> s{_dsfFilterNamePrefix = a});
gen/Network/AWS/CloudWatchLogs/FilterLogEvents.hs view
@@ -18,21 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Retrieves log events, optionally filtered by a filter pattern from the--- specified log group. You can provide an optional time range to filter--- the results on the event 'timestamp'. You can limit the streams searched--- to an explicit list of 'logStreamNames'.+-- Retrieves log events, optionally filtered by a filter pattern from the specified log group. You can provide an optional time range to filter the results on the event 'timestamp'. You can limit the streams searched to an explicit list of 'logStreamNames'. ----- By default, this operation returns as much matching log events as can--- fit in a response size of 1MB, up to 10,000 log events, or all the--- events found within a time-bounded scan window. If the response includes--- a 'nextToken', then there is more data to search, and the search can be--- resumed with a new request providing the nextToken. The response will--- contain a list of 'searchedLogStreams' that contains information about--- which streams were searched in the request and whether they have been--- searched completely or require further pagination. The 'limit' parameter--- in the request. can be used to specify the maximum number of events to--- return in a page.+-- By default, this operation returns as much matching log events as can fit in a response size of 1MB, up to 10,000 log events, or all the events found within a time-bounded scan window. If the response includes a 'nextToken', then there is more data to search, and the search can be resumed with a new request providing the nextToken. The response will contain a list of 'searchedLogStreams' that contains information about which streams were searched in the request and whether they have been searched completely or require further pagination. The 'limit' parameter in the request. can be used to specify the maximum number of events to return in a page. -- -- This operation returns paginated results. module Network.AWS.CloudWatchLogs.FilterLogEvents@@ -114,44 +102,31 @@ , _fleLogGroupName = pLogGroupName_ } --- | A point in time expressed as the number of milliseconds since Jan 1,--- 1970 00:00:00 UTC. If provided, events with a timestamp prior to this--- time are not returned.+-- | A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. If provided, events with a timestamp prior to this time are not returned. fleStartTime :: Lens' FilterLogEvents (Maybe Natural) fleStartTime = lens _fleStartTime (\ s a -> s{_fleStartTime = a}) . mapping _Nat; --- | A pagination token obtained from a 'FilterLogEvents' response to--- continue paginating the FilterLogEvents results. This token is omitted--- from the response when there are no other events to display.+-- | A pagination token obtained from a 'FilterLogEvents' response to continue paginating the FilterLogEvents results. This token is omitted from the response when there are no other events to display. fleNextToken :: Lens' FilterLogEvents (Maybe Text) fleNextToken = lens _fleNextToken (\ s a -> s{_fleNextToken = a}); --- | Optional list of log stream names within the specified log group to--- search. Defaults to all the log streams in the log group.+-- | Optional list of log stream names within the specified log group to search. Defaults to all the log streams in the log group. fleLogStreamNames :: Lens' FilterLogEvents (Maybe (NonEmpty Text)) fleLogStreamNames = lens _fleLogStreamNames (\ s a -> s{_fleLogStreamNames = a}) . mapping _List1; --- | A point in time expressed as the number of milliseconds since Jan 1,--- 1970 00:00:00 UTC. If provided, events with a timestamp later than this--- time are not returned.+-- | A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. If provided, events with a timestamp later than this time are not returned. fleEndTime :: Lens' FilterLogEvents (Maybe Natural) fleEndTime = lens _fleEndTime (\ s a -> s{_fleEndTime = a}) . mapping _Nat; --- | The maximum number of events to return in a page of results. Default is--- 10,000 events.+-- | The maximum number of events to return in a page of results. Default is 10,000 events. fleLimit :: Lens' FilterLogEvents (Maybe Natural) fleLimit = lens _fleLimit (\ s a -> s{_fleLimit = a}) . mapping _Nat; --- | A valid CloudWatch Logs filter pattern to use for filtering the--- response. If not provided, all the events are matched.+-- | A valid CloudWatch Logs filter pattern to use for filtering the response. If not provided, all the events are matched. fleFilterPattern :: Lens' FilterLogEvents (Maybe Text) fleFilterPattern = lens _fleFilterPattern (\ s a -> s{_fleFilterPattern = a}); --- | If provided, the API will make a best effort to provide responses that--- contain events from multiple log streams within the log group--- interleaved in a single response. If not provided, all the matched log--- events in the first log stream will be searched first, then those in the--- next log stream, etc.+-- | If provided, the API will make a best effort to provide responses that contain events from multiple log streams within the log group interleaved in a single response. If not provided, all the matched log events in the first log stream will be searched first, then those in the next log stream, etc. fleInterleaved :: Lens' FilterLogEvents (Maybe Bool) fleInterleaved = lens _fleInterleaved (\ s a -> s{_fleInterleaved = a}); @@ -162,8 +137,6 @@ instance AWSPager FilterLogEvents where page rq rs | stop (rs ^. flersNextToken) = Nothing- | stop (rs ^. flersEvents) = Nothing- | stop (rs ^. flersSearchedLogStreams) = Nothing | otherwise = Just $ rq & fleNextToken .~ rs ^. flersNextToken @@ -241,20 +214,15 @@ , _flersResponseStatus = pResponseStatus_ } --- | A list of 'SearchedLogStream' objects indicating which log streams have--- been searched in this request and whether each has been searched--- completely or still has more to be paginated.+-- | A list of 'SearchedLogStream' objects indicating which log streams have been searched in this request and whether each has been searched completely or still has more to be paginated. flersSearchedLogStreams :: Lens' FilterLogEventsResponse [SearchedLogStream] flersSearchedLogStreams = lens _flersSearchedLogStreams (\ s a -> s{_flersSearchedLogStreams = a}) . _Default . _Coerce; --- | A pagination token obtained from a 'FilterLogEvents' response to--- continue paginating the FilterLogEvents results. This token is omitted--- from the response when there are no other events to display.+-- | A pagination token obtained from a 'FilterLogEvents' response to continue paginating the FilterLogEvents results. This token is omitted from the response when there are no other events to display. flersNextToken :: Lens' FilterLogEventsResponse (Maybe Text) flersNextToken = lens _flersNextToken (\ s a -> s{_flersNextToken = a}); --- | A list of 'FilteredLogEvent' objects representing the matched events--- from the request.+-- | A list of 'FilteredLogEvent' objects representing the matched events from the request. flersEvents :: Lens' FilterLogEventsResponse [FilteredLogEvent] flersEvents = lens _flersEvents (\ s a -> s{_flersEvents = a}) . _Default . _Coerce;
gen/Network/AWS/CloudWatchLogs/GetLogEvents.hs view
@@ -18,16 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Retrieves log events from the specified log stream. You can provide an--- optional time range to filter the results on the event 'timestamp'.+-- Retrieves log events from the specified log stream. You can provide an optional time range to filter the results on the event 'timestamp'. ----- By default, this operation returns as much log events as can fit in a--- response size of 1MB, up to 10,000 log events. The response will always--- include a 'nextForwardToken' and a 'nextBackwardToken' in the response--- body. You can use any of these tokens in subsequent 'GetLogEvents'--- requests to paginate through events in either forward or backward--- direction. You can also limit the number of log events returned in the--- response by specifying the 'limit' parameter in the request.+-- By default, this operation returns as much log events as can fit in a response size of 1MB, up to 10,000 log events. The response will always include a 'nextForwardToken' and a 'nextBackwardToken' in the response body. You can use any of these tokens in subsequent 'GetLogEvents' requests to paginate through events in either forward or backward direction. You can also limit the number of log events returned in the response by specifying the 'limit' parameter in the request. module Network.AWS.CloudWatchLogs.GetLogEvents ( -- * Creating a Request@@ -106,15 +99,11 @@ gleStartTime :: Lens' GetLogEvents (Maybe Natural) gleStartTime = lens _gleStartTime (\ s a -> s{_gleStartTime = a}) . mapping _Nat; --- | If set to true, the earliest log events would be returned first. The--- default is false (the latest log events are returned first).+-- | If set to true, the earliest log events would be returned first. The default is false (the latest log events are returned first). gleStartFromHead :: Lens' GetLogEvents (Maybe Bool) gleStartFromHead = lens _gleStartFromHead (\ s a -> s{_gleStartFromHead = a}); --- | A string token used for pagination that points to the next page of--- results. It must be a value obtained from the 'nextForwardToken' or--- 'nextBackwardToken' fields in the response of the previous--- 'GetLogEvents' request.+-- | A string token used for pagination that points to the next page of results. It must be a value obtained from the 'nextForwardToken' or 'nextBackwardToken' fields in the response of the previous 'GetLogEvents' request. gleNextToken :: Lens' GetLogEvents (Maybe Text) gleNextToken = lens _gleNextToken (\ s a -> s{_gleNextToken = a}); @@ -122,9 +111,7 @@ gleEndTime :: Lens' GetLogEvents (Maybe Natural) gleEndTime = lens _gleEndTime (\ s a -> s{_gleEndTime = a}) . mapping _Nat; --- | The maximum number of log events returned in the response. If you don\'t--- specify a value, the request would return as many log events as can fit--- in a response size of 1MB, up to 10,000 log events.+-- | The maximum number of log events returned in the response. If you don\'t specify a value, the request would return as many log events as can fit in a response size of 1MB, up to 10,000 log events. gleLimit :: Lens' GetLogEvents (Maybe Natural) gleLimit = lens _gleLimit (\ s a -> s{_gleLimit = a}) . mapping _Nat;
gen/Network/AWS/CloudWatchLogs/PutDestination.hs view
@@ -18,19 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates or updates a 'Destination'. A destination encapsulates a--- physical resource (such as a Kinesis stream) and allows you to subscribe--- to a real-time stream of log events of a different account, ingested--- through 'PutLogEvents' requests. Currently, the only supported physical--- resource is a Amazon Kinesis stream belonging to the same account as the--- destination.+-- Creates or updates a 'Destination'. A destination encapsulates a physical resource (such as a Kinesis stream) and allows you to subscribe to a real-time stream of log events of a different account, ingested through 'PutLogEvents' requests. Currently, the only supported physical resource is a Amazon Kinesis stream belonging to the same account as the destination. ----- A destination controls what is written to its Amazon Kinesis stream--- through an access policy. By default, PutDestination does not set any--- access policy with the destination, which means a cross-account user--- will not be able to call 'PutSubscriptionFilter' against this--- destination. To enable that, the destination owner must call--- 'PutDestinationPolicy' after PutDestination.+-- A destination controls what is written to its Amazon Kinesis stream through an access policy. By default, PutDestination does not set any access policy with the destination, which means a cross-account user will not be able to call 'PutSubscriptionFilter' against this destination. To enable that, the destination owner must call 'PutDestinationPolicy' after PutDestination. module Network.AWS.CloudWatchLogs.PutDestination ( -- * Creating a Request@@ -92,8 +82,7 @@ pdTargetARN :: Lens' PutDestination Text pdTargetARN = lens _pdTargetARN (\ s a -> s{_pdTargetARN = a}); --- | The ARN of an IAM role that grants CloudWatch Logs permissions to do--- Amazon Kinesis PutRecord requests on the desitnation stream.+-- | The ARN of an IAM role that grants CloudWatch Logs permissions to do Amazon Kinesis PutRecord requests on the desitnation stream. pdRoleARN :: Lens' PutDestination Text pdRoleARN = lens _pdRoleARN (\ s a -> s{_pdRoleARN = a});
gen/Network/AWS/CloudWatchLogs/PutDestinationPolicy.hs view
@@ -18,11 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates or updates an access policy associated with an existing--- 'Destination'. An access policy is an--- <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies_overview.html IAM policy document>--- that is used to authorize claims to register a subscription filter--- against a given destination.+-- Creates or updates an access policy associated with an existing 'Destination'. An access policy is an <http://docs.aws.amazon.com/IAM/latest/UserGuide/policies_overview.html IAM policy document> that is used to authorize claims to register a subscription filter against a given destination. module Network.AWS.CloudWatchLogs.PutDestinationPolicy ( -- * Creating a Request@@ -71,8 +67,7 @@ pdpDestinationName :: Lens' PutDestinationPolicy Text pdpDestinationName = lens _pdpDestinationName (\ s a -> s{_pdpDestinationName = a}); --- | An IAM policy document that authorizes cross-account users to deliver--- their log events to associated destination.+-- | An IAM policy document that authorizes cross-account users to deliver their log events to associated destination. pdpAccessPolicy :: Lens' PutDestinationPolicy Text pdpAccessPolicy = lens _pdpAccessPolicy (\ s a -> s{_pdpAccessPolicy = a});
gen/Network/AWS/CloudWatchLogs/PutLogEvents.hs view
@@ -20,24 +20,16 @@ -- -- Uploads a batch of log events to the specified log stream. ----- Every PutLogEvents request must include the 'sequenceToken' obtained--- from the response of the previous request. An upload in a newly created--- log stream does not require a 'sequenceToken'.+-- Every PutLogEvents request must include the 'sequenceToken' obtained from the response of the previous request. An upload in a newly created log stream does not require a 'sequenceToken'. -- -- The batch of events must satisfy the following constraints: ----- - The maximum batch size is 1,048,576 bytes, and this size is--- calculated as the sum of all event messages in UTF-8, plus 26 bytes--- for each log event.--- - None of the log events in the batch can be more than 2 hours in the--- future.--- - None of the log events in the batch can be older than 14 days or the--- retention period of the log group.--- - The log events in the batch must be in chronological ordered by--- their 'timestamp'.+-- - The maximum batch size is 1,048,576 bytes, and this size is calculated as the sum of all event messages in UTF-8, plus 26 bytes for each log event.+-- - None of the log events in the batch can be more than 2 hours in the future.+-- - None of the log events in the batch can be older than 14 days or the retention period of the log group.+-- - The log events in the batch must be in chronological ordered by their 'timestamp'. -- - The maximum number of log events in a batch is 10,000.--- - A batch of log events in a single PutLogEvents request cannot span--- more than 24 hours. Otherwise, the PutLogEvents operation will fail.+-- - A batch of log events in a single PutLogEvents request cannot span more than 24 hours. Otherwise, the PutLogEvents operation will fail. module Network.AWS.CloudWatchLogs.PutLogEvents ( -- * Creating a Request@@ -97,8 +89,7 @@ , _pleLogEvents = _List1 # pLogEvents_ } --- | A string token that must be obtained from the response of the previous--- 'PutLogEvents' request.+-- | A string token that must be obtained from the response of the previous 'PutLogEvents' request. pleSequenceToken :: Lens' PutLogEvents (Maybe Text) pleSequenceToken = lens _pleSequenceToken (\ s a -> s{_pleSequenceToken = a});
gen/Network/AWS/CloudWatchLogs/PutMetricFilter.hs view
@@ -18,12 +18,9 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates or updates a metric filter and associates it with the specified--- log group. Metric filters allow you to configure rules to extract metric--- data from log events ingested through 'PutLogEvents' requests.+-- Creates or updates a metric filter and associates it with the specified log group. Metric filters allow you to configure rules to extract metric data from log events ingested through 'PutLogEvents' requests. ----- The maximum number of metric filters that can be associated with a log--- group is 100.+-- The maximum number of metric filters that can be associated with a log group is 100. module Network.AWS.CloudWatchLogs.PutMetricFilter ( -- * Creating a Request@@ -88,13 +85,11 @@ pmfFilterName :: Lens' PutMetricFilter Text pmfFilterName = lens _pmfFilterName (\ s a -> s{_pmfFilterName = a}); --- | A valid CloudWatch Logs filter pattern for extracting metric data out of--- ingested log events.+-- | A valid CloudWatch Logs filter pattern for extracting metric data out of ingested log events. pmfFilterPattern :: Lens' PutMetricFilter Text pmfFilterPattern = lens _pmfFilterPattern (\ s a -> s{_pmfFilterPattern = a}); --- | A collection of information needed to define how metric data gets--- emitted.+-- | A collection of information needed to define how metric data gets emitted. pmfMetricTransformations :: Lens' PutMetricFilter (NonEmpty MetricTransformation) pmfMetricTransformations = lens _pmfMetricTransformations (\ s a -> s{_pmfMetricTransformations = a}) . _List1;
gen/Network/AWS/CloudWatchLogs/PutRetentionPolicy.hs view
@@ -18,9 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Sets the retention of the specified log group. A retention policy allows--- you to configure the number of days you want to retain log events in the--- specified log group.+-- Sets the retention of the specified log group. A retention policy allows you to configure the number of days you want to retain log events in the specified log group. module Network.AWS.CloudWatchLogs.PutRetentionPolicy ( -- * Creating a Request
gen/Network/AWS/CloudWatchLogs/PutSubscriptionFilter.hs view
@@ -18,23 +18,14 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates or updates a subscription filter and associates it with the--- specified log group. Subscription filters allow you to subscribe to a--- real-time stream of log events ingested through 'PutLogEvents' requests--- and have them delivered to a specific destination. Currently, the--- supported destinations are:+-- Creates or updates a subscription filter and associates it with the specified log group. Subscription filters allow you to subscribe to a real-time stream of log events ingested through 'PutLogEvents' requests and have them delivered to a specific destination. Currently, the supported destinations are: ----- - An Amazon Kinesis stream belonging to the same account as the--- subscription filter, for same-account delivery.--- - A logical destination (used via an ARN of 'Destination') belonging--- to a different account, for cross-account delivery.--- - An Amazon Kinesis Firehose stream belonging to the same account as--- the subscription filter, for same-account delivery.--- - An AWS Lambda function belonging to the same account as the--- subscription filter, for same-account delivery.+-- - An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery.+-- - A logical destination (used via an ARN of 'Destination') belonging to a different account, for cross-account delivery.+-- - An Amazon Kinesis Firehose stream belonging to the same account as the subscription filter, for same-account delivery.+-- - An AWS Lambda function belonging to the same account as the subscription filter, for same-account delivery. ----- Currently there can only be one subscription filter associated with a--- log group.+-- Currently there can only be one subscription filter associated with a log group. module Network.AWS.CloudWatchLogs.PutSubscriptionFilter ( -- * Creating a Request@@ -96,10 +87,7 @@ , _psfDestinationARN = pDestinationARN_ } --- | The ARN of an IAM role that grants CloudWatch Logs permissions to--- deliver ingested log events to the destination stream. You don\'t need--- to provide the ARN when you are working with a logical destination (used--- via an ARN of 'Destination') for cross-account delivery.+-- | The ARN of an IAM role that grants CloudWatch Logs permissions to deliver ingested log events to the destination stream. You don\'t need to provide the ARN when you are working with a logical destination (used via an ARN of 'Destination') for cross-account delivery. psfRoleARN :: Lens' PutSubscriptionFilter (Maybe Text) psfRoleARN = lens _psfRoleARN (\ s a -> s{_psfRoleARN = a}); @@ -111,22 +99,16 @@ psfFilterName :: Lens' PutSubscriptionFilter Text psfFilterName = lens _psfFilterName (\ s a -> s{_psfFilterName = a}); --- | A valid CloudWatch Logs filter pattern for subscribing to a filtered--- stream of log events.+-- | A valid CloudWatch Logs filter pattern for subscribing to a filtered stream of log events. psfFilterPattern :: Lens' PutSubscriptionFilter Text psfFilterPattern = lens _psfFilterPattern (\ s a -> s{_psfFilterPattern = a}); --- | The ARN of the destination to deliver matching log events to. Currently,--- the supported destinations are:+-- | The ARN of the destination to deliver matching log events to. Currently, the supported destinations are: ----- - An Amazon Kinesis stream belonging to the same account as the--- subscription filter, for same-account delivery.--- - A logical destination (used via an ARN of 'Destination') belonging--- to a different account, for cross-account delivery.--- - An Amazon Kinesis Firehose stream belonging to the same account as--- the subscription filter, for same-account delivery.--- - An AWS Lambda function belonging to the same account as the--- subscription filter, for same-account delivery.+-- - An Amazon Kinesis stream belonging to the same account as the subscription filter, for same-account delivery.+-- - A logical destination (used via an ARN of 'Destination') belonging to a different account, for cross-account delivery.+-- - An Amazon Kinesis Firehose stream belonging to the same account as the subscription filter, for same-account delivery.+-- - An AWS Lambda function belonging to the same account as the subscription filter, for same-account delivery. psfDestinationARN :: Lens' PutSubscriptionFilter Text psfDestinationARN = lens _psfDestinationARN (\ s a -> s{_psfDestinationARN = a});
gen/Network/AWS/CloudWatchLogs/TestMetricFilter.hs view
@@ -18,9 +18,7 @@ -- Stability : auto-generated -- Portability : non-portable (GHC extensions) ----- Tests the filter pattern of a metric filter against a sample of log--- event messages. You can use this operation to validate the correctness--- of a metric filter pattern.+-- Tests the filter pattern of a metric filter against a sample of log event messages. You can use this operation to validate the correctness of a metric filter pattern. module Network.AWS.CloudWatchLogs.TestMetricFilter ( -- * Creating a Request
gen/Network/AWS/CloudWatchLogs/Types.hs view
@@ -212,8 +212,7 @@ _ResourceAlreadyExistsException = _ServiceError . hasCode "ResourceAlreadyExistsException" --- | Returned if multiple requests to update the same resource were in--- conflict.+-- | Returned if multiple requests to update the same resource were in conflict. _OperationAbortedException :: AsError a => Getting (First ServiceError) a ServiceError _OperationAbortedException = _ServiceError . hasCode "OperationAbortedException"@@ -238,7 +237,6 @@ _ResourceNotFoundException = _ServiceError . hasCode "ResourceNotFoundException" --- | Returned if you have reached the maximum number of resources that can be--- created.+-- | Returned if you have reached the maximum number of resources that can be created. _LimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError _LimitExceededException = _ServiceError . hasCode "LimitExceededException"
gen/Network/AWS/CloudWatchLogs/Types/Product.hs view
@@ -21,8 +21,7 @@ import Network.AWS.Lens import Network.AWS.Prelude --- | A cross account destination that is the recipient of subscription log--- events.+-- | A cross account destination that is the recipient of subscription log events. -- -- /See:/ 'destination' smart constructor. data Destination = Destination'@@ -61,13 +60,11 @@ , _dRoleARN = Nothing } --- | ARN of the physical target where the log events will be delivered (eg.--- ARN of a Kinesis stream).+-- | ARN of the physical target where the log events will be delivered (eg. ARN of a Kinesis stream). dTargetARN :: Lens' Destination (Maybe Text) dTargetARN = lens _dTargetARN (\ s a -> s{_dTargetARN = a}); --- | A point in time expressed as the number of milliseconds since Jan 1,--- 1970 00:00:00 UTC specifying when this destination was created.+-- | A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC specifying when this destination was created. dCreationTime :: Lens' Destination (Maybe Natural) dCreationTime = lens _dCreationTime (\ s a -> s{_dCreationTime = a}) . mapping _Nat; @@ -75,8 +72,7 @@ dArn :: Lens' Destination (Maybe Text) dArn = lens _dArn (\ s a -> s{_dArn = a}); --- | An IAM policy document that governs which AWS accounts can create--- subscription filters against this destination.+-- | An IAM policy document that governs which AWS accounts can create subscription filters against this destination. dAccessPolicy :: Lens' Destination (Maybe Text) dAccessPolicy = lens _dAccessPolicy (\ s a -> s{_dAccessPolicy = a}); @@ -154,8 +150,7 @@ , _etExecutionInfo = Nothing } --- | Prefix that was used as the start of Amazon S3 key for every object--- exported.+-- | Prefix that was used as the start of Amazon S3 key for every object exported. etDestinationPrefix :: Lens' ExportTask (Maybe Text) etDestinationPrefix = lens _etDestinationPrefix (\ s a -> s{_etDestinationPrefix = a}); @@ -175,15 +170,11 @@ etTaskId :: Lens' ExportTask (Maybe Text) etTaskId = lens _etTaskId (\ s a -> s{_etTaskId = a}); --- | A point in time expressed as the number of milliseconds since Jan 1,--- 1970 00:00:00 UTC. Events with a timestamp later than this time are not--- exported.+-- | A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp later than this time are not exported. etTo :: Lens' ExportTask (Maybe Natural) etTo = lens _etTo (\ s a -> s{_etTo = a}) . mapping _Nat; --- | A point in time expressed as the number of milliseconds since Jan 1,--- 1970 00:00:00 UTC. Events with a timestamp prior to this time are not--- exported.+-- | A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. Events with a timestamp prior to this time are not exported. etFrom :: Lens' ExportTask (Maybe Natural) etFrom = lens _etFrom (\ s a -> s{_etFrom = a}) . mapping _Nat; @@ -366,10 +357,7 @@ instance NFData FilteredLogEvent --- | A log event is a record of some activity that was recorded by the--- application or resource being monitored. The log event record that--- CloudWatch Logs understands contains two properties: the timestamp of--- when the event occurred, and the raw event message.+-- | A log event is a record of some activity that was recorded by the application or resource being monitored. The log event record that CloudWatch Logs understands contains two properties: the timestamp of when the event occurred, and the raw event message. -- -- /See:/ 'inputLogEvent' smart constructor. data InputLogEvent = InputLogEvent'@@ -587,9 +575,7 @@ instance NFData LogStream --- | Metric filters can be used to express how CloudWatch Logs would extract--- metric observations from ingested log events and transform them to--- metric data in a CloudWatch metric.+-- | Metric filters can be used to express how CloudWatch Logs would extract metric observations from ingested log events and transform them to metric data in a CloudWatch metric. -- -- /See:/ 'metricFilter' smart constructor. data MetricFilter = MetricFilter'@@ -858,8 +844,7 @@ instance NFData RejectedLogEventsInfo --- | An object indicating the search status of a log stream in a--- 'FilterLogEvents' request.+-- | An object indicating the search status of a log stream in a 'FilterLogEvents' request. -- -- /See:/ 'searchedLogStream' smart constructor. data SearchedLogStream = SearchedLogStream'@@ -886,8 +871,7 @@ slsLogStreamName :: Lens' SearchedLogStream (Maybe Text) slsLogStreamName = lens _slsLogStreamName (\ s a -> s{_slsLogStreamName = a}); --- | Indicates whether all the events in this log stream were searched or--- more data exists to search by paginating further.+-- | Indicates whether all the events in this log stream were searched or more data exists to search by paginating further. slsSearchedCompletely :: Lens' SearchedLogStream (Maybe Bool) slsSearchedCompletely = lens _slsSearchedCompletely (\ s a -> s{_slsSearchedCompletely = a});
test/Test/AWS/Gen/CloudWatchLogs.hs view
@@ -28,157 +28,157 @@ -- fixtures :: TestTree -- fixtures = -- [ testGroup "request"--- [ testDescribeDestinations $+-- [ requestDescribeDestinations $ -- describeDestinations ----- , testCreateExportTask $+-- , requestCreateExportTask $ -- createExportTask ----- , testPutDestination $+-- , requestPutDestination $ -- putDestination ----- , testDescribeSubscriptionFilters $+-- , requestDescribeSubscriptionFilters $ -- describeSubscriptionFilters ----- , testGetLogEvents $+-- , requestGetLogEvents $ -- getLogEvents ----- , testDescribeLogGroups $+-- , requestDescribeLogGroups $ -- describeLogGroups ----- , testDeleteDestination $+-- , requestDeleteDestination $ -- deleteDestination ----- , testFilterLogEvents $+-- , requestFilterLogEvents $ -- filterLogEvents ----- , testDeleteLogStream $+-- , requestDeleteLogStream $ -- deleteLogStream ----- , testCreateLogStream $+-- , requestCreateLogStream $ -- createLogStream ----- , testCreateLogGroup $+-- , requestCreateLogGroup $ -- createLogGroup ----- , testDescribeExportTasks $+-- , requestDescribeExportTasks $ -- describeExportTasks ----- , testCancelExportTask $+-- , requestCancelExportTask $ -- cancelExportTask ----- , testPutSubscriptionFilter $+-- , requestPutSubscriptionFilter $ -- putSubscriptionFilter ----- , testDeleteLogGroup $+-- , requestDeleteLogGroup $ -- deleteLogGroup ----- , testDeleteSubscriptionFilter $+-- , requestDeleteSubscriptionFilter $ -- deleteSubscriptionFilter ----- , testPutLogEvents $+-- , requestPutLogEvents $ -- putLogEvents ----- , testDescribeMetricFilters $+-- , requestDescribeMetricFilters $ -- describeMetricFilters ----- , testTestMetricFilter $+-- , requestTestMetricFilter $ -- testMetricFilter ----- , testPutDestinationPolicy $+-- , requestPutDestinationPolicy $ -- putDestinationPolicy ----- , testPutMetricFilter $+-- , requestPutMetricFilter $ -- putMetricFilter ----- , testDeleteRetentionPolicy $+-- , requestDeleteRetentionPolicy $ -- deleteRetentionPolicy ----- , testDeleteMetricFilter $+-- , requestDeleteMetricFilter $ -- deleteMetricFilter ----- , testPutRetentionPolicy $+-- , requestPutRetentionPolicy $ -- putRetentionPolicy ----- , testDescribeLogStreams $+-- , requestDescribeLogStreams $ -- describeLogStreams -- -- ] -- , testGroup "response"--- [ testDescribeDestinationsResponse $+-- [ responseDescribeDestinations $ -- describeDestinationsResponse ----- , testCreateExportTaskResponse $+-- , responseCreateExportTask $ -- createExportTaskResponse ----- , testPutDestinationResponse $+-- , responsePutDestination $ -- putDestinationResponse ----- , testDescribeSubscriptionFiltersResponse $+-- , responseDescribeSubscriptionFilters $ -- describeSubscriptionFiltersResponse ----- , testGetLogEventsResponse $+-- , responseGetLogEvents $ -- getLogEventsResponse ----- , testDescribeLogGroupsResponse $+-- , responseDescribeLogGroups $ -- describeLogGroupsResponse ----- , testDeleteDestinationResponse $+-- , responseDeleteDestination $ -- deleteDestinationResponse ----- , testFilterLogEventsResponse $+-- , responseFilterLogEvents $ -- filterLogEventsResponse ----- , testDeleteLogStreamResponse $+-- , responseDeleteLogStream $ -- deleteLogStreamResponse ----- , testCreateLogStreamResponse $+-- , responseCreateLogStream $ -- createLogStreamResponse ----- , testCreateLogGroupResponse $+-- , responseCreateLogGroup $ -- createLogGroupResponse ----- , testDescribeExportTasksResponse $+-- , responseDescribeExportTasks $ -- describeExportTasksResponse ----- , testCancelExportTaskResponse $+-- , responseCancelExportTask $ -- cancelExportTaskResponse ----- , testPutSubscriptionFilterResponse $+-- , responsePutSubscriptionFilter $ -- putSubscriptionFilterResponse ----- , testDeleteLogGroupResponse $+-- , responseDeleteLogGroup $ -- deleteLogGroupResponse ----- , testDeleteSubscriptionFilterResponse $+-- , responseDeleteSubscriptionFilter $ -- deleteSubscriptionFilterResponse ----- , testPutLogEventsResponse $+-- , responsePutLogEvents $ -- putLogEventsResponse ----- , testDescribeMetricFiltersResponse $+-- , responseDescribeMetricFilters $ -- describeMetricFiltersResponse ----- , testTestMetricFilterResponse $+-- , responseTestMetricFilter $ -- testMetricFilterResponse ----- , testPutDestinationPolicyResponse $+-- , responsePutDestinationPolicy $ -- putDestinationPolicyResponse ----- , testPutMetricFilterResponse $+-- , responsePutMetricFilter $ -- putMetricFilterResponse ----- , testDeleteRetentionPolicyResponse $+-- , responseDeleteRetentionPolicy $ -- deleteRetentionPolicyResponse ----- , testDeleteMetricFilterResponse $+-- , responseDeleteMetricFilter $ -- deleteMetricFilterResponse ----- , testPutRetentionPolicyResponse $+-- , responsePutRetentionPolicy $ -- putRetentionPolicyResponse ----- , testDescribeLogStreamsResponse $+-- , responseDescribeLogStreams $ -- describeLogStreamsResponse -- -- ]@@ -186,303 +186,303 @@ -- Requests -testDescribeDestinations :: DescribeDestinations -> TestTree-testDescribeDestinations = req+requestDescribeDestinations :: DescribeDestinations -> TestTree+requestDescribeDestinations = req "DescribeDestinations" "fixture/DescribeDestinations.yaml" -testCreateExportTask :: CreateExportTask -> TestTree-testCreateExportTask = req+requestCreateExportTask :: CreateExportTask -> TestTree+requestCreateExportTask = req "CreateExportTask" "fixture/CreateExportTask.yaml" -testPutDestination :: PutDestination -> TestTree-testPutDestination = req+requestPutDestination :: PutDestination -> TestTree+requestPutDestination = req "PutDestination" "fixture/PutDestination.yaml" -testDescribeSubscriptionFilters :: DescribeSubscriptionFilters -> TestTree-testDescribeSubscriptionFilters = req+requestDescribeSubscriptionFilters :: DescribeSubscriptionFilters -> TestTree+requestDescribeSubscriptionFilters = req "DescribeSubscriptionFilters" "fixture/DescribeSubscriptionFilters.yaml" -testGetLogEvents :: GetLogEvents -> TestTree-testGetLogEvents = req+requestGetLogEvents :: GetLogEvents -> TestTree+requestGetLogEvents = req "GetLogEvents" "fixture/GetLogEvents.yaml" -testDescribeLogGroups :: DescribeLogGroups -> TestTree-testDescribeLogGroups = req+requestDescribeLogGroups :: DescribeLogGroups -> TestTree+requestDescribeLogGroups = req "DescribeLogGroups" "fixture/DescribeLogGroups.yaml" -testDeleteDestination :: DeleteDestination -> TestTree-testDeleteDestination = req+requestDeleteDestination :: DeleteDestination -> TestTree+requestDeleteDestination = req "DeleteDestination" "fixture/DeleteDestination.yaml" -testFilterLogEvents :: FilterLogEvents -> TestTree-testFilterLogEvents = req+requestFilterLogEvents :: FilterLogEvents -> TestTree+requestFilterLogEvents = req "FilterLogEvents" "fixture/FilterLogEvents.yaml" -testDeleteLogStream :: DeleteLogStream -> TestTree-testDeleteLogStream = req+requestDeleteLogStream :: DeleteLogStream -> TestTree+requestDeleteLogStream = req "DeleteLogStream" "fixture/DeleteLogStream.yaml" -testCreateLogStream :: CreateLogStream -> TestTree-testCreateLogStream = req+requestCreateLogStream :: CreateLogStream -> TestTree+requestCreateLogStream = req "CreateLogStream" "fixture/CreateLogStream.yaml" -testCreateLogGroup :: CreateLogGroup -> TestTree-testCreateLogGroup = req+requestCreateLogGroup :: CreateLogGroup -> TestTree+requestCreateLogGroup = req "CreateLogGroup" "fixture/CreateLogGroup.yaml" -testDescribeExportTasks :: DescribeExportTasks -> TestTree-testDescribeExportTasks = req+requestDescribeExportTasks :: DescribeExportTasks -> TestTree+requestDescribeExportTasks = req "DescribeExportTasks" "fixture/DescribeExportTasks.yaml" -testCancelExportTask :: CancelExportTask -> TestTree-testCancelExportTask = req+requestCancelExportTask :: CancelExportTask -> TestTree+requestCancelExportTask = req "CancelExportTask" "fixture/CancelExportTask.yaml" -testPutSubscriptionFilter :: PutSubscriptionFilter -> TestTree-testPutSubscriptionFilter = req+requestPutSubscriptionFilter :: PutSubscriptionFilter -> TestTree+requestPutSubscriptionFilter = req "PutSubscriptionFilter" "fixture/PutSubscriptionFilter.yaml" -testDeleteLogGroup :: DeleteLogGroup -> TestTree-testDeleteLogGroup = req+requestDeleteLogGroup :: DeleteLogGroup -> TestTree+requestDeleteLogGroup = req "DeleteLogGroup" "fixture/DeleteLogGroup.yaml" -testDeleteSubscriptionFilter :: DeleteSubscriptionFilter -> TestTree-testDeleteSubscriptionFilter = req+requestDeleteSubscriptionFilter :: DeleteSubscriptionFilter -> TestTree+requestDeleteSubscriptionFilter = req "DeleteSubscriptionFilter" "fixture/DeleteSubscriptionFilter.yaml" -testPutLogEvents :: PutLogEvents -> TestTree-testPutLogEvents = req+requestPutLogEvents :: PutLogEvents -> TestTree+requestPutLogEvents = req "PutLogEvents" "fixture/PutLogEvents.yaml" -testDescribeMetricFilters :: DescribeMetricFilters -> TestTree-testDescribeMetricFilters = req+requestDescribeMetricFilters :: DescribeMetricFilters -> TestTree+requestDescribeMetricFilters = req "DescribeMetricFilters" "fixture/DescribeMetricFilters.yaml" -testTestMetricFilter :: TestMetricFilter -> TestTree-testTestMetricFilter = req+requestTestMetricFilter :: TestMetricFilter -> TestTree+requestTestMetricFilter = req "TestMetricFilter" "fixture/TestMetricFilter.yaml" -testPutDestinationPolicy :: PutDestinationPolicy -> TestTree-testPutDestinationPolicy = req+requestPutDestinationPolicy :: PutDestinationPolicy -> TestTree+requestPutDestinationPolicy = req "PutDestinationPolicy" "fixture/PutDestinationPolicy.yaml" -testPutMetricFilter :: PutMetricFilter -> TestTree-testPutMetricFilter = req+requestPutMetricFilter :: PutMetricFilter -> TestTree+requestPutMetricFilter = req "PutMetricFilter" "fixture/PutMetricFilter.yaml" -testDeleteRetentionPolicy :: DeleteRetentionPolicy -> TestTree-testDeleteRetentionPolicy = req+requestDeleteRetentionPolicy :: DeleteRetentionPolicy -> TestTree+requestDeleteRetentionPolicy = req "DeleteRetentionPolicy" "fixture/DeleteRetentionPolicy.yaml" -testDeleteMetricFilter :: DeleteMetricFilter -> TestTree-testDeleteMetricFilter = req+requestDeleteMetricFilter :: DeleteMetricFilter -> TestTree+requestDeleteMetricFilter = req "DeleteMetricFilter" "fixture/DeleteMetricFilter.yaml" -testPutRetentionPolicy :: PutRetentionPolicy -> TestTree-testPutRetentionPolicy = req+requestPutRetentionPolicy :: PutRetentionPolicy -> TestTree+requestPutRetentionPolicy = req "PutRetentionPolicy" "fixture/PutRetentionPolicy.yaml" -testDescribeLogStreams :: DescribeLogStreams -> TestTree-testDescribeLogStreams = req+requestDescribeLogStreams :: DescribeLogStreams -> TestTree+requestDescribeLogStreams = req "DescribeLogStreams" "fixture/DescribeLogStreams.yaml" -- Responses -testDescribeDestinationsResponse :: DescribeDestinationsResponse -> TestTree-testDescribeDestinationsResponse = res+responseDescribeDestinations :: DescribeDestinationsResponse -> TestTree+responseDescribeDestinations = res "DescribeDestinationsResponse" "fixture/DescribeDestinationsResponse.proto" cloudWatchLogs (Proxy :: Proxy DescribeDestinations) -testCreateExportTaskResponse :: CreateExportTaskResponse -> TestTree-testCreateExportTaskResponse = res+responseCreateExportTask :: CreateExportTaskResponse -> TestTree+responseCreateExportTask = res "CreateExportTaskResponse" "fixture/CreateExportTaskResponse.proto" cloudWatchLogs (Proxy :: Proxy CreateExportTask) -testPutDestinationResponse :: PutDestinationResponse -> TestTree-testPutDestinationResponse = res+responsePutDestination :: PutDestinationResponse -> TestTree+responsePutDestination = res "PutDestinationResponse" "fixture/PutDestinationResponse.proto" cloudWatchLogs (Proxy :: Proxy PutDestination) -testDescribeSubscriptionFiltersResponse :: DescribeSubscriptionFiltersResponse -> TestTree-testDescribeSubscriptionFiltersResponse = res+responseDescribeSubscriptionFilters :: DescribeSubscriptionFiltersResponse -> TestTree+responseDescribeSubscriptionFilters = res "DescribeSubscriptionFiltersResponse" "fixture/DescribeSubscriptionFiltersResponse.proto" cloudWatchLogs (Proxy :: Proxy DescribeSubscriptionFilters) -testGetLogEventsResponse :: GetLogEventsResponse -> TestTree-testGetLogEventsResponse = res+responseGetLogEvents :: GetLogEventsResponse -> TestTree+responseGetLogEvents = res "GetLogEventsResponse" "fixture/GetLogEventsResponse.proto" cloudWatchLogs (Proxy :: Proxy GetLogEvents) -testDescribeLogGroupsResponse :: DescribeLogGroupsResponse -> TestTree-testDescribeLogGroupsResponse = res+responseDescribeLogGroups :: DescribeLogGroupsResponse -> TestTree+responseDescribeLogGroups = res "DescribeLogGroupsResponse" "fixture/DescribeLogGroupsResponse.proto" cloudWatchLogs (Proxy :: Proxy DescribeLogGroups) -testDeleteDestinationResponse :: DeleteDestinationResponse -> TestTree-testDeleteDestinationResponse = res+responseDeleteDestination :: DeleteDestinationResponse -> TestTree+responseDeleteDestination = res "DeleteDestinationResponse" "fixture/DeleteDestinationResponse.proto" cloudWatchLogs (Proxy :: Proxy DeleteDestination) -testFilterLogEventsResponse :: FilterLogEventsResponse -> TestTree-testFilterLogEventsResponse = res+responseFilterLogEvents :: FilterLogEventsResponse -> TestTree+responseFilterLogEvents = res "FilterLogEventsResponse" "fixture/FilterLogEventsResponse.proto" cloudWatchLogs (Proxy :: Proxy FilterLogEvents) -testDeleteLogStreamResponse :: DeleteLogStreamResponse -> TestTree-testDeleteLogStreamResponse = res+responseDeleteLogStream :: DeleteLogStreamResponse -> TestTree+responseDeleteLogStream = res "DeleteLogStreamResponse" "fixture/DeleteLogStreamResponse.proto" cloudWatchLogs (Proxy :: Proxy DeleteLogStream) -testCreateLogStreamResponse :: CreateLogStreamResponse -> TestTree-testCreateLogStreamResponse = res+responseCreateLogStream :: CreateLogStreamResponse -> TestTree+responseCreateLogStream = res "CreateLogStreamResponse" "fixture/CreateLogStreamResponse.proto" cloudWatchLogs (Proxy :: Proxy CreateLogStream) -testCreateLogGroupResponse :: CreateLogGroupResponse -> TestTree-testCreateLogGroupResponse = res+responseCreateLogGroup :: CreateLogGroupResponse -> TestTree+responseCreateLogGroup = res "CreateLogGroupResponse" "fixture/CreateLogGroupResponse.proto" cloudWatchLogs (Proxy :: Proxy CreateLogGroup) -testDescribeExportTasksResponse :: DescribeExportTasksResponse -> TestTree-testDescribeExportTasksResponse = res+responseDescribeExportTasks :: DescribeExportTasksResponse -> TestTree+responseDescribeExportTasks = res "DescribeExportTasksResponse" "fixture/DescribeExportTasksResponse.proto" cloudWatchLogs (Proxy :: Proxy DescribeExportTasks) -testCancelExportTaskResponse :: CancelExportTaskResponse -> TestTree-testCancelExportTaskResponse = res+responseCancelExportTask :: CancelExportTaskResponse -> TestTree+responseCancelExportTask = res "CancelExportTaskResponse" "fixture/CancelExportTaskResponse.proto" cloudWatchLogs (Proxy :: Proxy CancelExportTask) -testPutSubscriptionFilterResponse :: PutSubscriptionFilterResponse -> TestTree-testPutSubscriptionFilterResponse = res+responsePutSubscriptionFilter :: PutSubscriptionFilterResponse -> TestTree+responsePutSubscriptionFilter = res "PutSubscriptionFilterResponse" "fixture/PutSubscriptionFilterResponse.proto" cloudWatchLogs (Proxy :: Proxy PutSubscriptionFilter) -testDeleteLogGroupResponse :: DeleteLogGroupResponse -> TestTree-testDeleteLogGroupResponse = res+responseDeleteLogGroup :: DeleteLogGroupResponse -> TestTree+responseDeleteLogGroup = res "DeleteLogGroupResponse" "fixture/DeleteLogGroupResponse.proto" cloudWatchLogs (Proxy :: Proxy DeleteLogGroup) -testDeleteSubscriptionFilterResponse :: DeleteSubscriptionFilterResponse -> TestTree-testDeleteSubscriptionFilterResponse = res+responseDeleteSubscriptionFilter :: DeleteSubscriptionFilterResponse -> TestTree+responseDeleteSubscriptionFilter = res "DeleteSubscriptionFilterResponse" "fixture/DeleteSubscriptionFilterResponse.proto" cloudWatchLogs (Proxy :: Proxy DeleteSubscriptionFilter) -testPutLogEventsResponse :: PutLogEventsResponse -> TestTree-testPutLogEventsResponse = res+responsePutLogEvents :: PutLogEventsResponse -> TestTree+responsePutLogEvents = res "PutLogEventsResponse" "fixture/PutLogEventsResponse.proto" cloudWatchLogs (Proxy :: Proxy PutLogEvents) -testDescribeMetricFiltersResponse :: DescribeMetricFiltersResponse -> TestTree-testDescribeMetricFiltersResponse = res+responseDescribeMetricFilters :: DescribeMetricFiltersResponse -> TestTree+responseDescribeMetricFilters = res "DescribeMetricFiltersResponse" "fixture/DescribeMetricFiltersResponse.proto" cloudWatchLogs (Proxy :: Proxy DescribeMetricFilters) -testTestMetricFilterResponse :: TestMetricFilterResponse -> TestTree-testTestMetricFilterResponse = res+responseTestMetricFilter :: TestMetricFilterResponse -> TestTree+responseTestMetricFilter = res "TestMetricFilterResponse" "fixture/TestMetricFilterResponse.proto" cloudWatchLogs (Proxy :: Proxy TestMetricFilter) -testPutDestinationPolicyResponse :: PutDestinationPolicyResponse -> TestTree-testPutDestinationPolicyResponse = res+responsePutDestinationPolicy :: PutDestinationPolicyResponse -> TestTree+responsePutDestinationPolicy = res "PutDestinationPolicyResponse" "fixture/PutDestinationPolicyResponse.proto" cloudWatchLogs (Proxy :: Proxy PutDestinationPolicy) -testPutMetricFilterResponse :: PutMetricFilterResponse -> TestTree-testPutMetricFilterResponse = res+responsePutMetricFilter :: PutMetricFilterResponse -> TestTree+responsePutMetricFilter = res "PutMetricFilterResponse" "fixture/PutMetricFilterResponse.proto" cloudWatchLogs (Proxy :: Proxy PutMetricFilter) -testDeleteRetentionPolicyResponse :: DeleteRetentionPolicyResponse -> TestTree-testDeleteRetentionPolicyResponse = res+responseDeleteRetentionPolicy :: DeleteRetentionPolicyResponse -> TestTree+responseDeleteRetentionPolicy = res "DeleteRetentionPolicyResponse" "fixture/DeleteRetentionPolicyResponse.proto" cloudWatchLogs (Proxy :: Proxy DeleteRetentionPolicy) -testDeleteMetricFilterResponse :: DeleteMetricFilterResponse -> TestTree-testDeleteMetricFilterResponse = res+responseDeleteMetricFilter :: DeleteMetricFilterResponse -> TestTree+responseDeleteMetricFilter = res "DeleteMetricFilterResponse" "fixture/DeleteMetricFilterResponse.proto" cloudWatchLogs (Proxy :: Proxy DeleteMetricFilter) -testPutRetentionPolicyResponse :: PutRetentionPolicyResponse -> TestTree-testPutRetentionPolicyResponse = res+responsePutRetentionPolicy :: PutRetentionPolicyResponse -> TestTree+responsePutRetentionPolicy = res "PutRetentionPolicyResponse" "fixture/PutRetentionPolicyResponse.proto" cloudWatchLogs (Proxy :: Proxy PutRetentionPolicy) -testDescribeLogStreamsResponse :: DescribeLogStreamsResponse -> TestTree-testDescribeLogStreamsResponse = res+responseDescribeLogStreams :: DescribeLogStreamsResponse -> TestTree+responseDescribeLogStreams = res "DescribeLogStreamsResponse" "fixture/DescribeLogStreamsResponse.proto" cloudWatchLogs