amazonka-cloudwatch-logs 1.3.7 → 1.4.0
raw patch · 36 files changed
+237/−211 lines, 36 filesdep ~amazonka-cloudwatch-logsdep ~amazonka-coredep ~amazonka-testPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-cloudwatch-logs, amazonka-core, amazonka-test
API changes (from Hackage documentation)
+ Network.AWS.CloudWatchLogs.CancelExportTask: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.CancelExportTask.CancelExportTask
+ Network.AWS.CloudWatchLogs.CreateExportTask: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.CreateExportTask.CreateExportTask
+ Network.AWS.CloudWatchLogs.CreateLogGroup: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.CreateLogGroup.CreateLogGroup
+ Network.AWS.CloudWatchLogs.CreateLogStream: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.CreateLogStream.CreateLogStream
+ Network.AWS.CloudWatchLogs.DeleteDestination: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.DeleteDestination.DeleteDestination
+ Network.AWS.CloudWatchLogs.DeleteLogGroup: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.DeleteLogGroup.DeleteLogGroup
+ Network.AWS.CloudWatchLogs.DeleteLogStream: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.DeleteLogStream.DeleteLogStream
+ Network.AWS.CloudWatchLogs.DeleteMetricFilter: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.DeleteMetricFilter.DeleteMetricFilter
+ Network.AWS.CloudWatchLogs.DeleteRetentionPolicy: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.DeleteRetentionPolicy.DeleteRetentionPolicy
+ Network.AWS.CloudWatchLogs.DeleteSubscriptionFilter: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.DeleteSubscriptionFilter.DeleteSubscriptionFilter
+ Network.AWS.CloudWatchLogs.DescribeDestinations: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.DescribeDestinations.DescribeDestinations
+ Network.AWS.CloudWatchLogs.DescribeExportTasks: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.DescribeExportTasks.DescribeExportTasks
+ Network.AWS.CloudWatchLogs.DescribeLogGroups: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.DescribeLogGroups.DescribeLogGroups
+ Network.AWS.CloudWatchLogs.DescribeLogStreams: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.DescribeLogStreams.DescribeLogStreams
+ Network.AWS.CloudWatchLogs.DescribeMetricFilters: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.DescribeMetricFilters.DescribeMetricFilters
+ Network.AWS.CloudWatchLogs.DescribeSubscriptionFilters: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.DescribeSubscriptionFilters.DescribeSubscriptionFilters
+ Network.AWS.CloudWatchLogs.FilterLogEvents: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.FilterLogEvents.FilterLogEvents
+ Network.AWS.CloudWatchLogs.GetLogEvents: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.GetLogEvents.GetLogEvents
+ Network.AWS.CloudWatchLogs.PutDestination: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.PutDestination.PutDestination
+ Network.AWS.CloudWatchLogs.PutDestinationPolicy: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.PutDestinationPolicy.PutDestinationPolicy
+ Network.AWS.CloudWatchLogs.PutLogEvents: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.PutLogEvents.PutLogEvents
+ Network.AWS.CloudWatchLogs.PutMetricFilter: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.PutMetricFilter.PutMetricFilter
+ Network.AWS.CloudWatchLogs.PutRetentionPolicy: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.PutRetentionPolicy.PutRetentionPolicy
+ Network.AWS.CloudWatchLogs.PutSubscriptionFilter: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.PutSubscriptionFilter.PutSubscriptionFilter
+ Network.AWS.CloudWatchLogs.TestMetricFilter: instance Data.Hashable.Class.Hashable Network.AWS.CloudWatchLogs.TestMetricFilter.TestMetricFilter
Files
- README.md +32/−37
- amazonka-cloudwatch-logs.cabal +37/−42
- gen/Network/AWS/CloudWatchLogs.hs +31/−37
- gen/Network/AWS/CloudWatchLogs/CancelExportTask.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/CreateExportTask.hs +6/−5
- gen/Network/AWS/CloudWatchLogs/CreateLogGroup.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/CreateLogStream.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/DeleteDestination.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/DeleteLogGroup.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/DeleteLogStream.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/DeleteMetricFilter.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/DeleteRetentionPolicy.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/DeleteSubscriptionFilter.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/DescribeDestinations.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/DescribeExportTasks.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/DescribeLogGroups.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/DescribeLogStreams.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/DescribeMetricFilters.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/DescribeSubscriptionFilters.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/FilterLogEvents.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/GetLogEvents.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/PutDestination.hs +5/−5
- gen/Network/AWS/CloudWatchLogs/PutDestinationPolicy.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/PutLogEvents.hs +5/−3
- gen/Network/AWS/CloudWatchLogs/PutMetricFilter.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/PutRetentionPolicy.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/PutSubscriptionFilter.hs +14/−6
- gen/Network/AWS/CloudWatchLogs/TestMetricFilter.hs +3/−3
- gen/Network/AWS/CloudWatchLogs/Types.hs +2/−1
- gen/Network/AWS/CloudWatchLogs/Types/Product.hs +36/−6
- gen/Network/AWS/CloudWatchLogs/Types/Sum.hs +1/−1
- gen/Network/AWS/CloudWatchLogs/Waiters.hs +1/−1
- test/Main.hs +1/−1
- test/Test/AWS/CloudWatchLogs.hs +1/−1
- test/Test/AWS/CloudWatchLogs/Internal.hs +1/−1
- test/Test/AWS/Gen/CloudWatchLogs.hs +1/−1
README.md view
@@ -8,55 +8,50 @@ ## Version -`1.3.7`+`1.4.0` ## Description Amazon CloudWatch Logs API Reference -This is the /Amazon CloudWatch Logs API Reference/. Amazon CloudWatch-Logs enables you to monitor, store, and access your system, application,-and custom log files. This guide provides detailed information about-Amazon CloudWatch Logs actions, data types, parameters, and errors. For-detailed information about Amazon CloudWatch Logs features and their-associated API calls, go to the-<http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide Amazon CloudWatch Developer Guide>.--Use the following links to get started using the /Amazon CloudWatch Logs-API Reference/:--- <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_Operations.html Actions>:- An alphabetical list of all Amazon CloudWatch Logs actions.-- <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_Types.html Data Types>:- An alphabetical list of all Amazon CloudWatch Logs data types.-- <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/CommonParameters.html Common Parameters>:- Parameters that all Query actions can use.-- <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/CommonErrors.html Common Errors>:- Client and server errors that all actions can return.-- <http://docs.aws.amazon.com/general/latest/gr/index.html?rande.html Regions and Endpoints>:- Itemized regions and endpoints for all AWS products.+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. -In addition to using the Amazon CloudWatch Logs API, you can also use-the following SDKs and third-party libraries to access Amazon CloudWatch-Logs programmatically.+You can use CloudWatch Logs to: -- <http://aws.amazon.com/documentation/sdkforjava/ AWS SDK for Java Documentation>-- <http://aws.amazon.com/documentation/sdkfornet/ AWS SDK for .NET Documentation>-- <http://aws.amazon.com/documentation/sdkforphp/ AWS SDK for PHP Documentation>-- <http://aws.amazon.com/documentation/sdkforruby/ AWS SDK for Ruby Documentation>+- __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. -Developers in the AWS developer community also provide their own-libraries, which you can find at the following AWS developer centers:+- __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. -- <http://aws.amazon.com/java/ AWS Java Developer Center>-- <http://aws.amazon.com/php/ AWS PHP Developer Center>-- <http://aws.amazon.com/python/ AWS Python Developer Center>-- <http://aws.amazon.com/ruby/ AWS Ruby Developer Center>-- <http://aws.amazon.com/net/ AWS Windows and .NET Developer Center>+- __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](http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/Welcome.html).+and the [AWS API Reference](https://aws.amazon.com/documentation/). The types from this library are intended to be used with [amazonka](http://hackage.haskell.org/package/amazonka), which provides mechanisms for specifying AuthN/AuthZ information and sending requests.
amazonka-cloudwatch-logs.cabal view
@@ -1,5 +1,5 @@ name: amazonka-cloudwatch-logs-version: 1.3.7+version: 1.4.0 synopsis: Amazon CloudWatch Logs SDK. homepage: https://github.com/brendanhay/amazonka bug-reports: https://github.com/brendanhay/amazonka/issues@@ -7,7 +7,7 @@ license-file: LICENSE author: Brendan Hay maintainer: Brendan Hay <brendan.g.hay@gmail.com>-copyright: Copyright (c) 2013-2015 Brendan Hay+copyright: Copyright (c) 2013-2016 Brendan Hay category: Network, AWS, Cloud, Distributed Computing build-type: Simple cabal-version: >= 1.10@@ -15,45 +15,40 @@ description: Amazon CloudWatch Logs API Reference - This is the /Amazon CloudWatch Logs API Reference/. Amazon CloudWatch- Logs enables you to monitor, store, and access your system, application,- and custom log files. This guide provides detailed information about- Amazon CloudWatch Logs actions, data types, parameters, and errors. For- detailed information about Amazon CloudWatch Logs features and their- associated API calls, go to the- <http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide Amazon CloudWatch Developer Guide>.-- Use the following links to get started using the /Amazon CloudWatch Logs- API Reference/:-- - <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_Operations.html Actions>:- An alphabetical list of all Amazon CloudWatch Logs actions.- - <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_Types.html Data Types>:- An alphabetical list of all Amazon CloudWatch Logs data types.- - <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/CommonParameters.html Common Parameters>:- Parameters that all Query actions can use.- - <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/CommonErrors.html Common Errors>:- Client and server errors that all actions can return.- - <http://docs.aws.amazon.com/general/latest/gr/index.html?rande.html Regions and Endpoints>:- Itemized regions and endpoints for all AWS products.+ 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. - In addition to using the Amazon CloudWatch Logs API, you can also use- the following SDKs and third-party libraries to access Amazon CloudWatch- Logs programmatically.+ You can use CloudWatch Logs to: - - <http://aws.amazon.com/documentation/sdkforjava/ AWS SDK for Java Documentation>- - <http://aws.amazon.com/documentation/sdkfornet/ AWS SDK for .NET Documentation>- - <http://aws.amazon.com/documentation/sdkforphp/ AWS SDK for PHP Documentation>- - <http://aws.amazon.com/documentation/sdkforruby/ AWS SDK for Ruby Documentation>+ - __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. - Developers in the AWS developer community also provide their own- libraries, which you can find at the following AWS developer centers:+ - __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. - - <http://aws.amazon.com/java/ AWS Java Developer Center>- - <http://aws.amazon.com/php/ AWS PHP Developer Center>- - <http://aws.amazon.com/python/ AWS Python Developer Center>- - <http://aws.amazon.com/ruby/ AWS Ruby Developer Center>- - <http://aws.amazon.com/net/ AWS Windows and .NET Developer Center>+ - __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@@ -66,7 +61,7 @@ such as <http://hackage.haskell.org/package/lens lens> or <http://hackage.haskell.org/package/lens-family-core lens-family-core>. .- See "Network.AWS.CloudWatchLogs" and the <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/Welcome.html AWS API Reference>+ See "Network.AWS.CloudWatchLogs" or <https://aws.amazon.com/documentation/ the AWS Documentation> to get started. source-repository head@@ -114,7 +109,7 @@ , Network.AWS.CloudWatchLogs.Types.Sum build-depends:- amazonka-core == 1.3.7.*+ amazonka-core == 1.4.0.* , base >= 4.7 && < 5 test-suite amazonka-cloudwatch-logs-test@@ -134,9 +129,9 @@ , Test.AWS.CloudWatchLogs.Internal build-depends:- amazonka-core == 1.3.7.*- , amazonka-test == 1.3.7.*- , amazonka-cloudwatch-logs == 1.3.7.*+ amazonka-core == 1.4.0.*+ , amazonka-test == 1.4.0.*+ , amazonka-cloudwatch-logs == 1.4.0.* , base , bytestring , tasty
gen/Network/AWS/CloudWatchLogs.hs view
@@ -5,7 +5,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -13,47 +13,41 @@ -- -- Amazon CloudWatch Logs API Reference ----- This is the /Amazon CloudWatch Logs API Reference/. Amazon CloudWatch--- Logs enables you to monitor, store, and access your system, application,--- and custom log files. This guide provides detailed information about--- Amazon CloudWatch Logs actions, data types, parameters, and errors. For--- detailed information about Amazon CloudWatch Logs features and their--- associated API calls, go to the--- <http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide Amazon CloudWatch Developer Guide>.------ Use the following links to get started using the /Amazon CloudWatch Logs--- API Reference/:------ - <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_Operations.html Actions>:--- An alphabetical list of all Amazon CloudWatch Logs actions.--- - <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_Types.html Data Types>:--- An alphabetical list of all Amazon CloudWatch Logs data types.--- - <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/CommonParameters.html Common Parameters>:--- Parameters that all Query actions can use.--- - <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/CommonErrors.html Common Errors>:--- Client and server errors that all actions can return.--- - <http://docs.aws.amazon.com/general/latest/gr/index.html?rande.html Regions and Endpoints>:--- Itemized regions and endpoints for all AWS products.+-- 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. ----- In addition to using the Amazon CloudWatch Logs API, you can also use--- the following SDKs and third-party libraries to access Amazon CloudWatch--- Logs programmatically.+-- You can use CloudWatch Logs to: ----- - <http://aws.amazon.com/documentation/sdkforjava/ AWS SDK for Java Documentation>--- - <http://aws.amazon.com/documentation/sdkfornet/ AWS SDK for .NET Documentation>--- - <http://aws.amazon.com/documentation/sdkforphp/ AWS SDK for PHP Documentation>--- - <http://aws.amazon.com/documentation/sdkforruby/ AWS SDK for Ruby Documentation>+-- - __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. ----- Developers in the AWS developer community also provide their own--- libraries, which you can find at the following AWS developer centers:+-- - __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. ----- - <http://aws.amazon.com/java/ AWS Java Developer Center>--- - <http://aws.amazon.com/php/ AWS PHP Developer Center>--- - <http://aws.amazon.com/python/ AWS Python Developer Center>--- - <http://aws.amazon.com/ruby/ AWS Ruby Developer Center>--- - <http://aws.amazon.com/net/ AWS Windows and .NET Developer Center>+-- - __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. ----- /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/Welcome.html AWS API Reference> module Network.AWS.CloudWatchLogs ( -- * Service Configuration
gen/Network/AWS/CloudWatchLogs/CancelExportTask.hs view
@@ -12,15 +12,13 @@ -- | -- Module : Network.AWS.CloudWatchLogs.CancelExportTask--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Cancels an export task if it is in 'PENDING' or 'RUNNING' state.------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CancelExportTask.html AWS API Reference> for CancelExportTask. module Network.AWS.CloudWatchLogs.CancelExportTask ( -- * Creating a Request@@ -67,6 +65,8 @@ type Rs CancelExportTask = CancelExportTaskResponse request = postJSON cloudWatchLogs response = receiveNull CancelExportTaskResponse'++instance Hashable CancelExportTask instance ToHeaders CancelExportTask where toHeaders
gen/Network/AWS/CloudWatchLogs/CreateExportTask.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.CreateExportTask--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -24,14 +24,13 @@ -- 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.+-- 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.------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateExportTask.html AWS API Reference> for CreateExportTask. module Network.AWS.CloudWatchLogs.CreateExportTask ( -- * Creating a Request@@ -141,7 +140,7 @@ -- | Name of Amazon S3 bucket to which the log data will be exported. ----- __NOTE: Only buckets in the same AWS region are supported__+-- __Note:__ Only buckets in the same AWS region are supported. cetDestination :: Lens' CreateExportTask Text cetDestination = lens _cetDestination (\ s a -> s{_cetDestination = a}); @@ -153,6 +152,8 @@ (\ s h x -> CreateExportTaskResponse' <$> (x .?> "taskId") <*> (pure (fromEnum s)))++instance Hashable CreateExportTask instance ToHeaders CreateExportTask where toHeaders
gen/Network/AWS/CloudWatchLogs/CreateLogGroup.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.CreateLogGroup--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -27,8 +27,6 @@ -- - 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).------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateLogGroup.html AWS API Reference> for CreateLogGroup. module Network.AWS.CloudWatchLogs.CreateLogGroup ( -- * Creating a Request@@ -75,6 +73,8 @@ type Rs CreateLogGroup = CreateLogGroupResponse request = postJSON cloudWatchLogs response = receiveNull CreateLogGroupResponse'++instance Hashable CreateLogGroup instance ToHeaders CreateLogGroup where toHeaders
gen/Network/AWS/CloudWatchLogs/CreateLogStream.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.CreateLogStream--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -26,8 +26,6 @@ -- -- - Log stream names can be between 1 and 512 characters long. -- - The \':\' colon character is not allowed.------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_CreateLogStream.html AWS API Reference> for CreateLogStream. module Network.AWS.CloudWatchLogs.CreateLogStream ( -- * Creating a Request@@ -84,6 +82,8 @@ type Rs CreateLogStream = CreateLogStreamResponse request = postJSON cloudWatchLogs response = receiveNull CreateLogStreamResponse'++instance Hashable CreateLogStream instance ToHeaders CreateLogStream where toHeaders
gen/Network/AWS/CloudWatchLogs/DeleteDestination.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.DeleteDestination--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -21,8 +21,6 @@ -- 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.------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteDestination.html AWS API Reference> for DeleteDestination. module Network.AWS.CloudWatchLogs.DeleteDestination ( -- * Creating a Request@@ -69,6 +67,8 @@ type Rs DeleteDestination = DeleteDestinationResponse request = postJSON cloudWatchLogs response = receiveNull DeleteDestinationResponse'++instance Hashable DeleteDestination instance ToHeaders DeleteDestination where toHeaders
gen/Network/AWS/CloudWatchLogs/DeleteLogGroup.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.DeleteLogGroup--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,6 @@ -- -- Deletes the log group with the specified name and permanently deletes -- all the archived log events associated with it.------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteLogGroup.html AWS API Reference> for DeleteLogGroup. module Network.AWS.CloudWatchLogs.DeleteLogGroup ( -- * Creating a Request@@ -68,6 +66,8 @@ type Rs DeleteLogGroup = DeleteLogGroupResponse request = postJSON cloudWatchLogs response = receiveNull DeleteLogGroupResponse'++instance Hashable DeleteLogGroup instance ToHeaders DeleteLogGroup where toHeaders
gen/Network/AWS/CloudWatchLogs/DeleteLogStream.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.DeleteLogStream--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -20,8 +20,6 @@ -- -- Deletes a log stream and permanently deletes all the archived log events -- associated with it.------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteLogStream.html AWS API Reference> for DeleteLogStream. module Network.AWS.CloudWatchLogs.DeleteLogStream ( -- * Creating a Request@@ -78,6 +76,8 @@ type Rs DeleteLogStream = DeleteLogStreamResponse request = postJSON cloudWatchLogs response = receiveNull DeleteLogStreamResponse'++instance Hashable DeleteLogStream instance ToHeaders DeleteLogStream where toHeaders
gen/Network/AWS/CloudWatchLogs/DeleteMetricFilter.hs view
@@ -12,15 +12,13 @@ -- | -- Module : Network.AWS.CloudWatchLogs.DeleteMetricFilter--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Deletes a metric filter associated with the specified log group.------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteMetricFilter.html AWS API Reference> for DeleteMetricFilter. module Network.AWS.CloudWatchLogs.DeleteMetricFilter ( -- * Creating a Request@@ -79,6 +77,8 @@ DeleteMetricFilterResponse request = postJSON cloudWatchLogs response = receiveNull DeleteMetricFilterResponse'++instance Hashable DeleteMetricFilter instance ToHeaders DeleteMetricFilter where toHeaders
gen/Network/AWS/CloudWatchLogs/DeleteRetentionPolicy.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.DeleteRetentionPolicy--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -21,8 +21,6 @@ -- Deletes the retention policy of the specified log group. Log events -- would not expire if they belong to log groups without a retention -- policy.------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteRetentionPolicy.html AWS API Reference> for DeleteRetentionPolicy. module Network.AWS.CloudWatchLogs.DeleteRetentionPolicy ( -- * Creating a Request@@ -71,6 +69,8 @@ DeleteRetentionPolicyResponse request = postJSON cloudWatchLogs response = receiveNull DeleteRetentionPolicyResponse'++instance Hashable DeleteRetentionPolicy instance ToHeaders DeleteRetentionPolicy where toHeaders
gen/Network/AWS/CloudWatchLogs/DeleteSubscriptionFilter.hs view
@@ -12,15 +12,13 @@ -- | -- Module : Network.AWS.CloudWatchLogs.DeleteSubscriptionFilter--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated -- Portability : non-portable (GHC extensions) -- -- Deletes a subscription filter associated with the specified log group.------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DeleteSubscriptionFilter.html AWS API Reference> for DeleteSubscriptionFilter. module Network.AWS.CloudWatchLogs.DeleteSubscriptionFilter ( -- * Creating a Request@@ -80,6 +78,8 @@ request = postJSON cloudWatchLogs response = receiveNull DeleteSubscriptionFilterResponse'++instance Hashable DeleteSubscriptionFilter instance ToHeaders DeleteSubscriptionFilter where toHeaders
gen/Network/AWS/CloudWatchLogs/DescribeDestinations.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.DescribeDestinations--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -28,8 +28,6 @@ -- destinations returned in the response by specifying the 'limit' -- parameter in the request. ----- /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeDestinations.html AWS API Reference> for DescribeDestinations.--- -- This operation returns paginated results. module Network.AWS.CloudWatchLogs.DescribeDestinations (@@ -115,6 +113,8 @@ (x .?> "nextToken") <*> (x .?> "destinations" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable DescribeDestinations instance ToHeaders DescribeDestinations where toHeaders
gen/Network/AWS/CloudWatchLogs/DescribeExportTasks.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.DescribeExportTasks--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -27,8 +27,6 @@ -- 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.------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeExportTasks.html AWS API Reference> for DescribeExportTasks. module Network.AWS.CloudWatchLogs.DescribeExportTasks ( -- * Creating a Request@@ -117,6 +115,8 @@ (x .?> "nextToken") <*> (x .?> "exportTasks" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable DescribeExportTasks instance ToHeaders DescribeExportTasks where toHeaders
gen/Network/AWS/CloudWatchLogs/DescribeLogGroups.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.DescribeLogGroups--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -28,8 +28,6 @@ -- returned in the response by specifying the 'limit' parameter in the -- request. ----- /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogGroups.html AWS API Reference> for DescribeLogGroups.--- -- This operation returns paginated results. module Network.AWS.CloudWatchLogs.DescribeLogGroups (@@ -116,6 +114,8 @@ (x .?> "logGroups" .!@ mempty) <*> (x .?> "nextToken") <*> (pure (fromEnum s)))++instance Hashable DescribeLogGroups instance ToHeaders DescribeLogGroups where toHeaders
gen/Network/AWS/CloudWatchLogs/DescribeLogStreams.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.DescribeLogStreams--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -29,8 +29,6 @@ -- request. This operation has a limit of five transactions per second, -- after which transactions are throttled. ----- /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeLogStreams.html AWS API Reference> for DescribeLogStreams.--- -- This operation returns paginated results. module Network.AWS.CloudWatchLogs.DescribeLogStreams (@@ -152,6 +150,8 @@ (x .?> "nextToken") <*> (x .?> "logStreams" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable DescribeLogStreams instance ToHeaders DescribeLogStreams where toHeaders
gen/Network/AWS/CloudWatchLogs/DescribeMetricFilters.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.DescribeMetricFilters--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -27,8 +27,6 @@ -- filters returned in the response by specifying the 'limit' parameter in -- the request. ----- /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeMetricFilters.html AWS API Reference> for DescribeMetricFilters.--- -- This operation returns paginated results. module Network.AWS.CloudWatchLogs.DescribeMetricFilters (@@ -127,6 +125,8 @@ (x .?> "nextToken") <*> (x .?> "metricFilters" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable DescribeMetricFilters instance ToHeaders DescribeMetricFilters where toHeaders
gen/Network/AWS/CloudWatchLogs/DescribeSubscriptionFilters.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.DescribeSubscriptionFilters--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -27,8 +27,6 @@ -- of subscription filters returned in the response by specifying the -- 'limit' parameter in the request. ----- /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_DescribeSubscriptionFilters.html AWS API Reference> for DescribeSubscriptionFilters.--- -- This operation returns paginated results. module Network.AWS.CloudWatchLogs.DescribeSubscriptionFilters (@@ -124,6 +122,8 @@ (x .?> "subscriptionFilters" .!@ mempty) <*> (x .?> "nextToken") <*> (pure (fromEnum s)))++instance Hashable DescribeSubscriptionFilters instance ToHeaders DescribeSubscriptionFilters where toHeaders
gen/Network/AWS/CloudWatchLogs/FilterLogEvents.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.FilterLogEvents--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -34,8 +34,6 @@ -- in the request. can be used to specify the maximum number of events to -- return in a page. ----- /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_FilterLogEvents.html AWS API Reference> for FilterLogEvents.--- -- This operation returns paginated results. module Network.AWS.CloudWatchLogs.FilterLogEvents (@@ -180,6 +178,8 @@ (x .?> "nextToken") <*> (x .?> "events" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable FilterLogEvents instance ToHeaders FilterLogEvents where toHeaders
gen/Network/AWS/CloudWatchLogs/GetLogEvents.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.GetLogEvents--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -28,8 +28,6 @@ -- 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.------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_GetLogEvents.html AWS API Reference> for GetLogEvents. module Network.AWS.CloudWatchLogs.GetLogEvents ( -- * Creating a Request@@ -149,6 +147,8 @@ (x .?> "nextForwardToken") <*> (x .?> "events" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable GetLogEvents instance ToHeaders GetLogEvents where toHeaders
gen/Network/AWS/CloudWatchLogs/PutDestination.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.PutDestination--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -31,8 +31,6 @@ -- will not be able to call 'PutSubscriptionFilter' against this -- destination. To enable that, the destination owner must call -- 'PutDestinationPolicy' after PutDestination.------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestination.html AWS API Reference> for PutDestination. module Network.AWS.CloudWatchLogs.PutDestination ( -- * Creating a Request@@ -94,8 +92,8 @@ pdTargetARN :: Lens' PutDestination Text pdTargetARN = lens _pdTargetARN (\ s a -> s{_pdTargetARN = a}); --- | The ARN of an IAM role that grants Amazon 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}); @@ -107,6 +105,8 @@ (\ s h x -> PutDestinationResponse' <$> (x .?> "destination") <*> (pure (fromEnum s)))++instance Hashable PutDestination instance ToHeaders PutDestination where toHeaders
gen/Network/AWS/CloudWatchLogs/PutDestinationPolicy.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.PutDestinationPolicy--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -23,8 +23,6 @@ -- <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.------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutDestinationPolicy.html AWS API Reference> for PutDestinationPolicy. module Network.AWS.CloudWatchLogs.PutDestinationPolicy ( -- * Creating a Request@@ -83,6 +81,8 @@ PutDestinationPolicyResponse request = postJSON cloudWatchLogs response = receiveNull PutDestinationPolicyResponse'++instance Hashable PutDestinationPolicy instance ToHeaders PutDestinationPolicy where toHeaders
gen/Network/AWS/CloudWatchLogs/PutLogEvents.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.PutLogEvents--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -36,8 +36,8 @@ -- - 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.------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutLogEvents.html AWS API Reference> for PutLogEvents.+-- - 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@@ -124,6 +124,8 @@ (x .?> "rejectedLogEventsInfo") <*> (x .?> "nextSequenceToken") <*> (pure (fromEnum s)))++instance Hashable PutLogEvents instance ToHeaders PutLogEvents where toHeaders
gen/Network/AWS/CloudWatchLogs/PutMetricFilter.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.PutMetricFilter--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -24,8 +24,6 @@ -- -- The maximum number of metric filters that can be associated with a log -- group is 100.------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutMetricFilter.html AWS API Reference> for PutMetricFilter. module Network.AWS.CloudWatchLogs.PutMetricFilter ( -- * Creating a Request@@ -104,6 +102,8 @@ type Rs PutMetricFilter = PutMetricFilterResponse request = postJSON cloudWatchLogs response = receiveNull PutMetricFilterResponse'++instance Hashable PutMetricFilter instance ToHeaders PutMetricFilter where toHeaders
gen/Network/AWS/CloudWatchLogs/PutRetentionPolicy.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.PutRetentionPolicy--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -21,8 +21,6 @@ -- 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.------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutRetentionPolicy.html AWS API Reference> for PutRetentionPolicy. module Network.AWS.CloudWatchLogs.PutRetentionPolicy ( -- * Creating a Request@@ -80,6 +78,8 @@ PutRetentionPolicyResponse request = postJSON cloudWatchLogs response = receiveNull PutRetentionPolicyResponse'++instance Hashable PutRetentionPolicy instance ToHeaders PutRetentionPolicy where toHeaders
gen/Network/AWS/CloudWatchLogs/PutSubscriptionFilter.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.PutSubscriptionFilter--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -24,15 +24,17 @@ -- and have them delivered to a specific destination. Currently, the -- supported destinations are: ----- - A Amazon Kinesis stream belonging to the same account as the+-- - 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.------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_PutSubscriptionFilter.html AWS API Reference> for PutSubscriptionFilter. module Network.AWS.CloudWatchLogs.PutSubscriptionFilter ( -- * Creating a Request@@ -94,7 +96,7 @@ , _psfDestinationARN = pDestinationARN_ } --- | The ARN of an IAM role that grants Amazon CloudWatch Logs permissions to+-- | 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.@@ -117,10 +119,14 @@ -- | The ARN of the destination to deliver matching log events to. Currently, -- the supported destinations are: ----- - A Amazon Kinesis stream belonging to the same account as the+-- - 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}); @@ -129,6 +135,8 @@ PutSubscriptionFilterResponse request = postJSON cloudWatchLogs response = receiveNull PutSubscriptionFilterResponse'++instance Hashable PutSubscriptionFilter instance ToHeaders PutSubscriptionFilter where toHeaders
gen/Network/AWS/CloudWatchLogs/TestMetricFilter.hs view
@@ -12,7 +12,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.TestMetricFilter--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -21,8 +21,6 @@ -- 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.------ /See:/ <http://docs.aws.amazon.com/AmazonCloudWatchLogs/latest/APIReference/API_TestMetricFilter.html AWS API Reference> for TestMetricFilter. module Network.AWS.CloudWatchLogs.TestMetricFilter ( -- * Creating a Request@@ -86,6 +84,8 @@ (\ s h x -> TestMetricFilterResponse' <$> (x .?> "matches" .!@ mempty) <*> (pure (fromEnum s)))++instance Hashable TestMetricFilter instance ToHeaders TestMetricFilter where toHeaders
gen/Network/AWS/CloudWatchLogs/Types.hs view
@@ -4,7 +4,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.Types--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -186,6 +186,7 @@ , _retryCheck = check } check e+ | has (hasStatus 429) e = Just "too_many_requests" | has (hasCode "ThrottlingException" . hasStatus 400) e = Just "throttling_exception" | has (hasCode "Throttling" . hasStatus 400) e = Just "throttling"
gen/Network/AWS/CloudWatchLogs/Types/Product.hs view
@@ -9,7 +9,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.Types.Product--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated@@ -99,6 +99,8 @@ <*> (x .:? "destinationName") <*> (x .:? "roleArn")) +instance Hashable Destination+ -- | Represents an export task. -- -- /See:/ 'exportTask' smart constructor.@@ -205,6 +207,8 @@ <*> (x .:? "logGroupName") <*> (x .:? "executionInfo")) +instance Hashable ExportTask+ -- | Represents the status of an export task. -- -- /See:/ 'exportTaskExecutionInfo' smart constructor.@@ -243,6 +247,8 @@ ExportTaskExecutionInfo' <$> (x .:? "creationTime") <*> (x .:? "completionTime")) +instance Hashable ExportTaskExecutionInfo+ -- | Represents the status of an export task. -- -- /See:/ 'exportTaskStatus' smart constructor.@@ -281,6 +287,8 @@ ExportTaskStatus' <$> (x .:? "code") <*> (x .:? "message")) +instance Hashable ExportTaskStatus+ -- | Represents a matched event from a 'FilterLogEvents' request. -- -- /See:/ 'filteredLogEvent' smart constructor.@@ -346,10 +354,12 @@ <*> (x .:? "timestamp") <*> (x .:? "eventId")) +instance Hashable 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--- Amazon CloudWatch Logs understands contains two properties: the--- timestamp of when the event occurred, and the raw event message.+-- 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'@@ -382,6 +392,8 @@ ileMessage :: Lens' InputLogEvent Text ileMessage = lens _ileMessage (\ s a -> s{_ileMessage = a}); +instance Hashable InputLogEvent+ instance ToJSON InputLogEvent where toJSON InputLogEvent'{..} = object@@ -462,6 +474,8 @@ <*> (x .:? "retentionInDays") <*> (x .:? "storedBytes")) +instance Hashable LogGroup+ -- | A log stream is sequence of log events from a single emitter of logs. -- -- /See:/ 'logStream' smart constructor.@@ -555,9 +569,11 @@ <*> (x .:? "lastIngestionTime") <*> (x .:? "lastEventTimestamp")) --- | Metric filters can be used to express how Amazon CloudWatch Logs would--- extract metric observations from ingested log events and transform them--- to metric data in a CloudWatch metric.+instance Hashable 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. -- -- /See:/ 'metricFilter' smart constructor. data MetricFilter = MetricFilter'@@ -613,6 +629,8 @@ (x .:? "filterPattern") <*> (x .:? "metricTransformations")) +instance Hashable MetricFilter+ -- | /See:/ 'metricFilterMatchRecord' smart constructor. data MetricFilterMatchRecord = MetricFilterMatchRecord' { _mfmrExtractedValues :: !(Maybe (Map Text Text))@@ -659,6 +677,8 @@ (x .:? "eventNumber") <*> (x .:? "eventMessage")) +instance Hashable MetricFilterMatchRecord+ -- | /See:/ 'metricTransformation' smart constructor. data MetricTransformation = MetricTransformation' { _mtMetricName :: !Text@@ -707,6 +727,8 @@ (x .: "metricName") <*> (x .: "metricNamespace") <*> (x .: "metricValue")) +instance Hashable MetricTransformation+ instance ToJSON MetricTransformation where toJSON MetricTransformation'{..} = object@@ -760,6 +782,8 @@ (x .:? "ingestionTime") <*> (x .:? "message") <*> (x .:? "timestamp")) +instance Hashable OutputLogEvent+ -- | /See:/ 'rejectedLogEventsInfo' smart constructor. data RejectedLogEventsInfo = RejectedLogEventsInfo' { _rleiTooOldLogEventEndIndex :: !(Maybe Int)@@ -806,6 +830,8 @@ (x .:? "tooNewLogEventStartIndex") <*> (x .:? "expiredLogEventEndIndex")) +instance Hashable RejectedLogEventsInfo+ -- | An object indicating the search status of a log stream in a -- 'FilterLogEvents' request. --@@ -847,6 +873,8 @@ (x .:? "logStreamName") <*> (x .:? "searchedCompletely")) +instance Hashable SearchedLogStream+ -- | /See:/ 'subscriptionFilter' smart constructor. data SubscriptionFilter = SubscriptionFilter' { _sfCreationTime :: !(Maybe Nat)@@ -918,3 +946,5 @@ <*> (x .:? "logGroupName") <*> (x .:? "filterPattern") <*> (x .:? "roleArn"))++instance Hashable SubscriptionFilter
gen/Network/AWS/CloudWatchLogs/Types/Sum.hs view
@@ -9,7 +9,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.Types.Sum--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated
gen/Network/AWS/CloudWatchLogs/Waiters.hs view
@@ -7,7 +7,7 @@ -- | -- Module : Network.AWS.CloudWatchLogs.Waiters--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated
test/Main.hs view
@@ -2,7 +2,7 @@ -- | -- Module : Main--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated
test/Test/AWS/CloudWatchLogs.hs view
@@ -1,7 +1,7 @@ {-# LANGUAGE OverloadedStrings #-} -- Module : Test.AWS.CloudWatchLogs--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : This Source Code Form is subject to the terms of -- the Mozilla Public License, v. 2.0. -- A copy of the MPL can be found in the LICENSE file or
test/Test/AWS/CloudWatchLogs/Internal.hs view
@@ -2,7 +2,7 @@ {-# OPTIONS_GHC -fno-warn-unused-imports #-} -- Module : Test.AWS.CloudWatchLogs.Internal--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : This Source Code Form is subject to the terms of -- the Mozilla Public License, v. 2.0. -- A copy of the MPL can be found in the LICENSE file or
test/Test/AWS/Gen/CloudWatchLogs.hs view
@@ -5,7 +5,7 @@ -- | -- Module : Test.AWS.Gen.CloudWatchLogs--- Copyright : (c) 2013-2015 Brendan Hay+-- Copyright : (c) 2013-2016 Brendan Hay -- License : Mozilla Public License, v. 2.0. -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : auto-generated