Hello community,
here is the log from the commit of package ghc-amazonka-cloudwatch-events for
openSUSE:Factory checked in at 2017-03-24 02:10:24
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/ghc-amazonka-cloudwatch-events (Old)
and /work/SRC/openSUSE:Factory/.ghc-amazonka-cloudwatch-events.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "ghc-amazonka-cloudwatch-events"
Fri Mar 24 02:10:24 2017 rev:2 rq:461544 version:1.4.5
Changes:
--------
---
/work/SRC/openSUSE:Factory/ghc-amazonka-cloudwatch-events/ghc-amazonka-cloudwatch-events.changes
2017-02-03 17:37:57.482519274 +0100
+++
/work/SRC/openSUSE:Factory/.ghc-amazonka-cloudwatch-events.new/ghc-amazonka-cloudwatch-events.changes
2017-03-24 02:10:25.287427386 +0100
@@ -1,0 +2,5 @@
+Sun Feb 12 14:13:46 UTC 2017 - [email protected]
+
+- Update to version 1.4.5 with cabal2obs.
+
+-------------------------------------------------------------------
Old:
----
amazonka-cloudwatch-events-1.4.3.tar.gz
New:
----
amazonka-cloudwatch-events-1.4.5.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ ghc-amazonka-cloudwatch-events.spec ++++++
--- /var/tmp/diff_new_pack.v9YwSy/_old 2017-03-24 02:10:25.735364008 +0100
+++ /var/tmp/diff_new_pack.v9YwSy/_new 2017-03-24 02:10:25.739363442 +0100
@@ -1,7 +1,7 @@
#
# spec file for package ghc-amazonka-cloudwatch-events
#
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -19,7 +19,7 @@
%global pkg_name amazonka-cloudwatch-events
%bcond_with tests
Name: ghc-%{pkg_name}
-Version: 1.4.3
+Version: 1.4.5
Release: 0
Summary: Amazon CloudWatch Events SDK
License: MPL-2.0
@@ -41,33 +41,19 @@
%endif
%description
-Amazon CloudWatch Events helps you to respond to state changes in your AWS
-resources. When your resources change state they automatically send events into
-an event stream. You can create rules that match selected events in the stream
-and route them to targets to take action. You can also use rules to take action
-on a pre-determined schedule. For example, you can configure rules to: -
-Automatically invoke an AWS Lambda function to update DNS entries when an event
-notifies you that Amazon EC2 instance enters the running state. - Direct
-specific API records from CloudTrail to an Amazon Kinesis stream for detailed
-analysis of potential security or availability risks. - Periodically invoke a
-built-in target to create a snapshot of an Amazon EBS volume. For more
-information about Amazon CloudWatch Events features, see the
-<http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide Amazon
-CloudWatch Developer Guide>.
-
The types from this library are intended to be used with
<http://hackage.haskell.org/package/amazonka amazonka>, which provides
-mechanisms for specifying AuthN/AuthZ information and sending requests.
+mechanisms for specifying AuthN/AuthZ information, sending requests, and
+receiving responses.
-Use of lenses is required for constructing and manipulating types.
-This is due to the amount of nesting of AWS types and transparency regarding
-de/serialisation into more palatable Haskell values. The provided lenses should
-be compatible with any of the major lens libraries such as
-<http://hackage.haskell.org/package/lens lens> or
-<http://hackage.haskell.org/package/lens-family-core lens-family-core>.
+Lenses are used for constructing and manipulating types, due to the depth of
+nesting of AWS types and transparency regarding de/serialisation into more
+palatable Haskell values. The provided lenses should be compatible with any of
+the major lens libraries such as <http://hackage.haskell.org/package/lens lens>
+or <http://hackage.haskell.org/package/lens-family-core lens-family-core>.
See "Network.AWS.CloudWatchEvents" or <https://aws.amazon.com/documentation/
-the AWS Documentation> to get started.
+the AWS documentation> to get started.
%package devel
Summary: Haskell %{pkg_name} library development files
++++++ amazonka-cloudwatch-events-1.4.3.tar.gz ->
amazonka-cloudwatch-events-1.4.5.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/amazonka-cloudwatch-events-1.4.3/README.md
new/amazonka-cloudwatch-events-1.4.5/README.md
--- old/amazonka-cloudwatch-events-1.4.3/README.md 2016-06-09
21:31:27.000000000 +0200
+++ new/amazonka-cloudwatch-events-1.4.5/README.md 2016-12-04
16:29:24.000000000 +0100
@@ -8,31 +8,28 @@
## Version
-`1.4.3`
+`1.4.5`
## Description
-Amazon CloudWatch Events helps you to respond to state changes in your AWS
resources. When your resources change state they automatically send events into
an event stream. You can create rules that match selected events in the stream
and route them to targets to take action. You can also use rules to take action
on a pre-determined schedule. For example, you can configure rules to:
-
-- Automatically invoke an AWS Lambda function to update DNS entries when an
event notifies you that Amazon EC2 instance enters the running state.
-- Direct specific API records from CloudTrail to an Amazon Kinesis stream
for detailed analysis of potential security or availability risks.
-- Periodically invoke a built-in target to create a snapshot of an Amazon
EBS volume.
-
-For more information about Amazon CloudWatch Events features, see the
<http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide Amazon
CloudWatch Developer Guide>.
-
Documentation is available via
[Hackage](http://hackage.haskell.org/package/amazonka-cloudwatch-events)
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.
+which provides mechanisms for specifying AuthN/AuthZ information, sending
requests,
+and receiving responses.
-Use of lenses is required for constructing and manipulating types.
-This is due to the amount of nesting of AWS types and transparency regarding
+Lenses are used for constructing and manipulating types,
+due to the depth of nesting of AWS types and transparency regarding
de/serialisation into more palatable Haskell values.
The provided lenses should be compatible with any of the major lens libraries
[lens](http://hackage.haskell.org/package/lens) or
[lens-family-core](http://hackage.haskell.org/package/lens-family-core).
+See
[Network.AWS.CloudWatchEvents](http://hackage.haskell.org/package/amazonka-cloudwatch-events/docs/Network-AWS-CloudWatchEvents.html)
+or [the AWS documentation](https://aws.amazon.com/documentation/) to get
started.
+
+
## Contribute
For any problems, comments, or feedback please create an issue [here on
GitHub](https://github.com/brendanhay/amazonka/issues).
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cloudwatch-events-1.4.3/amazonka-cloudwatch-events.cabal
new/amazonka-cloudwatch-events-1.4.5/amazonka-cloudwatch-events.cabal
--- old/amazonka-cloudwatch-events-1.4.3/amazonka-cloudwatch-events.cabal
2016-06-09 21:31:27.000000000 +0200
+++ new/amazonka-cloudwatch-events-1.4.5/amazonka-cloudwatch-events.cabal
2016-12-04 16:29:24.000000000 +0100
@@ -1,5 +1,5 @@
name: amazonka-cloudwatch-events
-version: 1.4.3
+version: 1.4.5
synopsis: Amazon CloudWatch Events SDK.
homepage: https://github.com/brendanhay/amazonka
bug-reports: https://github.com/brendanhay/amazonka/issues
@@ -11,28 +11,21 @@
category: Network, AWS, Cloud, Distributed Computing
build-type: Simple
cabal-version: >= 1.10
-extra-source-files: README.md fixture/*.yaml fixture/*.proto
+extra-source-files: README.md fixture/*.yaml fixture/*.proto src/.gitkeep
description:
- Amazon CloudWatch Events helps you to respond to state changes in your AWS
resources. When your resources change state they automatically send events into
an event stream. You can create rules that match selected events in the stream
and route them to targets to take action. You can also use rules to take action
on a pre-determined schedule. For example, you can configure rules to:
-
- - Automatically invoke an AWS Lambda function to update DNS entries when
an event notifies you that Amazon EC2 instance enters the running state.
- - Direct specific API records from CloudTrail to an Amazon Kinesis
stream for detailed analysis of potential security or availability risks.
- - Periodically invoke a built-in target to create a snapshot of an
Amazon EBS volume.
-
- For more information about Amazon CloudWatch Events features, see the
<http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide Amazon
CloudWatch Developer Guide>.
- .
The types from this library are intended to be used with
<http://hackage.haskell.org/package/amazonka amazonka>, which provides
- mechanisms for specifying AuthN/AuthZ information and sending requests.
+ mechanisms for specifying AuthN/AuthZ information, sending requests,
+ and receiving responses.
.
- Use of lenses is required for constructing and manipulating types.
- This is due to the amount of nesting of AWS types and transparency
regarding
+ Lenses are used for constructing and manipulating types,
+ due to the depth of nesting of AWS types and transparency regarding
de/serialisation into more palatable Haskell values.
The provided lenses should be compatible with any of the major lens
libraries
such as <http://hackage.haskell.org/package/lens lens> or
<http://hackage.haskell.org/package/lens-family-core lens-family-core>.
.
- See "Network.AWS.CloudWatchEvents" or
<https://aws.amazon.com/documentation/ the AWS Documentation>
+ See "Network.AWS.CloudWatchEvents" or
<https://aws.amazon.com/documentation/ the AWS documentation>
to get started.
source-repository head
@@ -67,7 +60,7 @@
, Network.AWS.CloudWatchEvents.Types.Sum
build-depends:
- amazonka-core == 1.4.3.*
+ amazonka-core == 1.4.5.*
, base >= 4.7 && < 5
test-suite amazonka-cloudwatch-events-test
@@ -87,9 +80,9 @@
, Test.AWS.CloudWatchEvents.Internal
build-depends:
- amazonka-core == 1.4.3.*
- , amazonka-test == 1.4.3.*
- , amazonka-cloudwatch-events == 1.4.3.*
+ amazonka-core == 1.4.5.*
+ , amazonka-test == 1.4.5.*
+ , amazonka-cloudwatch-events == 1.4.5.*
, base
, bytestring
, tasty
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/DeleteRule.hs
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/DeleteRule.hs
---
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/DeleteRule.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/DeleteRule.hs
2016-12-04 16:29:24.000000000 +0100
@@ -18,9 +18,11 @@
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
--
--- Deletes a rule. You must remove all targets from a rule using <
RemoveTargets> before you can delete the rule.
+-- Deletes a rule. You must remove all targets from a rule using
'RemoveTargets' before you can delete the rule.
+--
--
-- __Note:__ When you delete a rule, incoming events might still continue to
match to the deleted rule. Please allow a short period of time for changes to
take effect.
+--
module Network.AWS.CloudWatchEvents.DeleteRule
(
-- * Creating a Request
@@ -41,7 +43,9 @@
import Network.AWS.Request
import Network.AWS.Response
--- | Container for the parameters to the < DeleteRule> operation.
+-- | Container for the parameters to the 'DeleteRule' operation.
+--
+--
--
-- /See:/ 'deleteRule' smart constructor.
newtype DeleteRule = DeleteRule'
@@ -52,7 +56,7 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'drName'
+-- * 'drName' - The name of the rule to be deleted.
deleteRule
:: Text -- ^ 'drName'
-> DeleteRule
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/DescribeRule.hs
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/DescribeRule.hs
---
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/DescribeRule.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/DescribeRule.hs
2016-12-04 16:29:24.000000000 +0100
@@ -19,6 +19,8 @@
-- Portability : non-portable (GHC extensions)
--
-- Describes the details of the specified rule.
+--
+--
module Network.AWS.CloudWatchEvents.DescribeRule
(
-- * Creating a Request
@@ -48,7 +50,9 @@
import Network.AWS.Request
import Network.AWS.Response
--- | Container for the parameters to the < DescribeRule> operation.
+-- | Container for the parameters to the 'DescribeRule' operation.
+--
+--
--
-- /See:/ 'describeRule' smart constructor.
newtype DescribeRule = DescribeRule'
@@ -59,7 +63,7 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'desName'
+-- * 'desName' - The name of the rule you want to describe details for.
describeRule
:: Text -- ^ 'desName'
-> DescribeRule
@@ -110,7 +114,9 @@
instance ToQuery DescribeRule where
toQuery = const mempty
--- | The result of the < DescribeRule> operation.
+-- | The result of the 'DescribeRule' operation.
+--
+--
--
-- /See:/ 'describeRuleResponse' smart constructor.
data DescribeRuleResponse = DescribeRuleResponse'
@@ -128,21 +134,21 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'drrsEventPattern'
+-- * 'drrsEventPattern' - The event pattern.
--
--- * 'drrsState'
+-- * 'drrsState' - Specifies whether the rule is enabled or disabled.
--
--- * 'drrsARN'
+-- * 'drrsARN' - The Amazon Resource Name (ARN) associated with the rule.
--
--- * 'drrsScheduleExpression'
+-- * 'drrsScheduleExpression' - The scheduling expression. For example,
"cron(0 20 * * ? *)", "rate(5 minutes)".
--
--- * 'drrsName'
+-- * 'drrsName' - The rule's name.
--
--- * 'drrsDescription'
+-- * 'drrsDescription' - The rule's description.
--
--- * 'drrsRoleARN'
+-- * 'drrsRoleARN' - The Amazon Resource Name (ARN) of the IAM role associated
with the rule.
--
--- * 'drrsResponseStatus'
+-- * 'drrsResponseStatus' - -- | The response status code.
describeRuleResponse
:: Int -- ^ 'drrsResponseStatus'
-> DescribeRuleResponse
@@ -170,15 +176,15 @@
drrsARN :: Lens' DescribeRuleResponse (Maybe Text)
drrsARN = lens _drrsARN (\ s a -> s{_drrsARN = a});
--- | The scheduling expression. For example, \"cron(0 20 * * ? *)\", \"rate(5
minutes)\".
+-- | The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5
minutes)".
drrsScheduleExpression :: Lens' DescribeRuleResponse (Maybe Text)
drrsScheduleExpression = lens _drrsScheduleExpression (\ s a ->
s{_drrsScheduleExpression = a});
--- | The rule\'s name.
+-- | The rule's name.
drrsName :: Lens' DescribeRuleResponse (Maybe Text)
drrsName = lens _drrsName (\ s a -> s{_drrsName = a});
--- | The rule\'s description.
+-- | The rule's description.
drrsDescription :: Lens' DescribeRuleResponse (Maybe Text)
drrsDescription = lens _drrsDescription (\ s a -> s{_drrsDescription = a});
@@ -186,7 +192,7 @@
drrsRoleARN :: Lens' DescribeRuleResponse (Maybe Text)
drrsRoleARN = lens _drrsRoleARN (\ s a -> s{_drrsRoleARN = a});
--- | The response status code.
+-- | -- | The response status code.
drrsResponseStatus :: Lens' DescribeRuleResponse Int
drrsResponseStatus = lens _drrsResponseStatus (\ s a -> s{_drrsResponseStatus
= a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/DisableRule.hs
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/DisableRule.hs
---
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/DisableRule.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/DisableRule.hs
2016-12-04 16:29:24.000000000 +0100
@@ -18,9 +18,11 @@
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
--
--- Disables a rule. A disabled rule won\'t match any events, and won\'t
self-trigger if it has a schedule expression.
+-- Disables a rule. A disabled rule won't match any events, and won't
self-trigger if it has a schedule expression.
+--
--
-- __Note:__ When you disable a rule, incoming events might still continue to
match to the disabled rule. Please allow a short period of time for changes to
take effect.
+--
module Network.AWS.CloudWatchEvents.DisableRule
(
-- * Creating a Request
@@ -41,7 +43,9 @@
import Network.AWS.Request
import Network.AWS.Response
--- | Container for the parameters to the < DisableRule> operation.
+-- | Container for the parameters to the 'DisableRule' operation.
+--
+--
--
-- /See:/ 'disableRule' smart constructor.
newtype DisableRule = DisableRule'
@@ -52,7 +56,7 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'dName'
+-- * 'dName' - The name of the rule you want to disable.
disableRule
:: Text -- ^ 'dName'
-> DisableRule
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/EnableRule.hs
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/EnableRule.hs
---
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/EnableRule.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/EnableRule.hs
2016-12-04 16:29:24.000000000 +0100
@@ -20,7 +20,9 @@
--
-- Enables a rule. If the rule does not exist, the operation fails.
--
+--
-- __Note:__ When you enable a rule, incoming events might not immediately
start matching to a newly enabled rule. Please allow a short period of time for
changes to take effect.
+--
module Network.AWS.CloudWatchEvents.EnableRule
(
-- * Creating a Request
@@ -41,7 +43,9 @@
import Network.AWS.Request
import Network.AWS.Response
--- | Container for the parameters to the < EnableRule> operation.
+-- | Container for the parameters to the 'EnableRule' operation.
+--
+--
--
-- /See:/ 'enableRule' smart constructor.
newtype EnableRule = EnableRule'
@@ -52,7 +56,7 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'erName'
+-- * 'erName' - The name of the rule that you want to enable.
enableRule
:: Text -- ^ 'erName'
-> EnableRule
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/ListRuleNamesByTarget.hs
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/ListRuleNamesByTarget.hs
---
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/ListRuleNamesByTarget.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/ListRuleNamesByTarget.hs
2016-12-04 16:29:24.000000000 +0100
@@ -19,6 +19,8 @@
-- Portability : non-portable (GHC extensions)
--
-- Lists the names of the rules that the given target is put to. You can see
which of the rules in Amazon CloudWatch Events can invoke a specific target in
your account. If you have more rules in your account than the given limit, the
results will be paginated. In that case, use the next token returned in the
response and repeat ListRulesByTarget until the NextToken in the response is
returned as null.
+--
+--
module Network.AWS.CloudWatchEvents.ListRuleNamesByTarget
(
-- * Creating a Request
@@ -45,7 +47,9 @@
import Network.AWS.Request
import Network.AWS.Response
--- | Container for the parameters to the < ListRuleNamesByTarget> operation.
+-- | Container for the parameters to the 'ListRuleNamesByTarget' operation.
+--
+--
--
-- /See:/ 'listRuleNamesByTarget' smart constructor.
data ListRuleNamesByTarget = ListRuleNamesByTarget'
@@ -58,11 +62,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'lrnbtNextToken'
+-- * 'lrnbtNextToken' - The token returned by a previous call to indicate that
there is more data available.
--
--- * 'lrnbtLimit'
+-- * 'lrnbtLimit' - The maximum number of results to return.
--
--- * 'lrnbtTargetARN'
+-- * 'lrnbtTargetARN' - The Amazon Resource Name (ARN) of the target resource
that you want to list the rules for.
listRuleNamesByTarget
:: Text -- ^ 'lrnbtTargetARN'
-> ListRuleNamesByTarget
@@ -124,7 +128,9 @@
instance ToQuery ListRuleNamesByTarget where
toQuery = const mempty
--- | The result of the < ListRuleNamesByTarget> operation.
+-- | The result of the 'ListRuleNamesByTarget' operation.
+--
+--
--
-- /See:/ 'listRuleNamesByTargetResponse' smart constructor.
data ListRuleNamesByTargetResponse = ListRuleNamesByTargetResponse'
@@ -137,11 +143,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'lrnbtrsRuleNames'
+-- * 'lrnbtrsRuleNames' - List of rules names that can invoke the given target.
--
--- * 'lrnbtrsNextToken'
+-- * 'lrnbtrsNextToken' - Indicates that there are additional results to
retrieve.
--
--- * 'lrnbtrsResponseStatus'
+-- * 'lrnbtrsResponseStatus' - -- | The response status code.
listRuleNamesByTargetResponse
:: Int -- ^ 'lrnbtrsResponseStatus'
-> ListRuleNamesByTargetResponse
@@ -160,7 +166,7 @@
lrnbtrsNextToken :: Lens' ListRuleNamesByTargetResponse (Maybe Text)
lrnbtrsNextToken = lens _lrnbtrsNextToken (\ s a -> s{_lrnbtrsNextToken = a});
--- | The response status code.
+-- | -- | The response status code.
lrnbtrsResponseStatus :: Lens' ListRuleNamesByTargetResponse Int
lrnbtrsResponseStatus = lens _lrnbtrsResponseStatus (\ s a ->
s{_lrnbtrsResponseStatus = a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/ListRules.hs
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/ListRules.hs
---
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/ListRules.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/ListRules.hs
2016-12-04 16:29:24.000000000 +0100
@@ -19,6 +19,8 @@
-- Portability : non-portable (GHC extensions)
--
-- Lists the Amazon CloudWatch Events rules in your account. You can either
list all the rules or you can provide a prefix to match to the rule names. If
you have more rules in your account than the given limit, the results will be
paginated. In that case, use the next token returned in the response and repeat
ListRules until the NextToken in the response is returned as null.
+--
+--
module Network.AWS.CloudWatchEvents.ListRules
(
-- * Creating a Request
@@ -45,7 +47,9 @@
import Network.AWS.Request
import Network.AWS.Response
--- | Container for the parameters to the < ListRules> operation.
+-- | Container for the parameters to the 'ListRules' operation.
+--
+--
--
-- /See:/ 'listRules' smart constructor.
data ListRules = ListRules'
@@ -58,11 +62,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'lrNextToken'
+-- * 'lrNextToken' - The token returned by a previous call to indicate that
there is more data available.
--
--- * 'lrNamePrefix'
+-- * 'lrNamePrefix' - The prefix matching the rule name.
--
--- * 'lrLimit'
+-- * 'lrLimit' - The maximum number of results to return.
listRules
:: ListRules
listRules =
@@ -121,7 +125,9 @@
instance ToQuery ListRules where
toQuery = const mempty
--- | The result of the < ListRules> operation.
+-- | The result of the 'ListRules' operation.
+--
+--
--
-- /See:/ 'listRulesResponse' smart constructor.
data ListRulesResponse = ListRulesResponse'
@@ -134,11 +140,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'lrrsRules'
+-- * 'lrrsRules' - List of rules matching the specified criteria.
--
--- * 'lrrsNextToken'
+-- * 'lrrsNextToken' - Indicates that there are additional results to retrieve.
--
--- * 'lrrsResponseStatus'
+-- * 'lrrsResponseStatus' - -- | The response status code.
listRulesResponse
:: Int -- ^ 'lrrsResponseStatus'
-> ListRulesResponse
@@ -157,7 +163,7 @@
lrrsNextToken :: Lens' ListRulesResponse (Maybe Text)
lrrsNextToken = lens _lrrsNextToken (\ s a -> s{_lrrsNextToken = a});
--- | The response status code.
+-- | -- | The response status code.
lrrsResponseStatus :: Lens' ListRulesResponse Int
lrrsResponseStatus = lens _lrrsResponseStatus (\ s a -> s{_lrrsResponseStatus
= a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/ListTargetsByRule.hs
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/ListTargetsByRule.hs
---
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/ListTargetsByRule.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/ListTargetsByRule.hs
2016-12-04 16:29:24.000000000 +0100
@@ -19,6 +19,8 @@
-- Portability : non-portable (GHC extensions)
--
-- Lists of targets assigned to the rule.
+--
+--
module Network.AWS.CloudWatchEvents.ListTargetsByRule
(
-- * Creating a Request
@@ -45,7 +47,9 @@
import Network.AWS.Request
import Network.AWS.Response
--- | Container for the parameters to the < ListTargetsByRule> operation.
+-- | Container for the parameters to the 'ListTargetsByRule' operation.
+--
+--
--
-- /See:/ 'listTargetsByRule' smart constructor.
data ListTargetsByRule = ListTargetsByRule'
@@ -58,11 +62,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'ltbrNextToken'
+-- * 'ltbrNextToken' - The token returned by a previous call to indicate that
there is more data available.
--
--- * 'ltbrLimit'
+-- * 'ltbrLimit' - The maximum number of results to return.
--
--- * 'ltbrRule'
+-- * 'ltbrRule' - The name of the rule whose targets you want to list.
listTargetsByRule
:: Text -- ^ 'ltbrRule'
-> ListTargetsByRule
@@ -122,7 +126,9 @@
instance ToQuery ListTargetsByRule where
toQuery = const mempty
--- | The result of the < ListTargetsByRule> operation.
+-- | The result of the 'ListTargetsByRule' operation.
+--
+--
--
-- /See:/ 'listTargetsByRuleResponse' smart constructor.
data ListTargetsByRuleResponse = ListTargetsByRuleResponse'
@@ -135,11 +141,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'ltbrrsNextToken'
+-- * 'ltbrrsNextToken' - Indicates that there are additional results to
retrieve.
--
--- * 'ltbrrsTargets'
+-- * 'ltbrrsTargets' - Lists the targets assigned to the rule.
--
--- * 'ltbrrsResponseStatus'
+-- * 'ltbrrsResponseStatus' - -- | The response status code.
listTargetsByRuleResponse
:: Int -- ^ 'ltbrrsResponseStatus'
-> ListTargetsByRuleResponse
@@ -158,7 +164,7 @@
ltbrrsTargets :: Lens' ListTargetsByRuleResponse [Target]
ltbrrsTargets = lens _ltbrrsTargets (\ s a -> s{_ltbrrsTargets = a}) .
_Default . _Coerce;
--- | The response status code.
+-- | -- | The response status code.
ltbrrsResponseStatus :: Lens' ListTargetsByRuleResponse Int
ltbrrsResponseStatus = lens _ltbrrsResponseStatus (\ s a ->
s{_ltbrrsResponseStatus = a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/PutEvents.hs
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/PutEvents.hs
---
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/PutEvents.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/PutEvents.hs
2016-12-04 16:29:24.000000000 +0100
@@ -19,6 +19,8 @@
-- Portability : non-portable (GHC extensions)
--
-- Sends custom events to Amazon CloudWatch Events so that they can be matched
to rules.
+--
+--
module Network.AWS.CloudWatchEvents.PutEvents
(
-- * Creating a Request
@@ -43,7 +45,9 @@
import Network.AWS.Request
import Network.AWS.Response
--- | Container for the parameters to the < PutEvents> operation.
+-- | Container for the parameters to the 'PutEvents' operation.
+--
+--
--
-- /See:/ 'putEvents' smart constructor.
newtype PutEvents = PutEvents'
@@ -54,7 +58,7 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'peEntries'
+-- * 'peEntries' - The entry that defines an event in your system. You can
specify several parameters for the entry such as the source and type of the
event, resources associated with the event, and so on.
putEvents
:: NonEmpty PutEventsRequestEntry -- ^ 'peEntries'
-> PutEvents
@@ -101,7 +105,9 @@
instance ToQuery PutEvents where
toQuery = const mempty
--- | The result of the < PutEvents> operation.
+-- | The result of the 'PutEvents' operation.
+--
+--
--
-- /See:/ 'putEventsResponse' smart constructor.
data PutEventsResponse = PutEventsResponse'
@@ -114,11 +120,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'persFailedEntryCount'
+-- * 'persFailedEntryCount' - The number of failed entries.
--
--- * 'persEntries'
+-- * 'persEntries' - A list of successfully and unsuccessfully ingested events
results. If the ingestion was successful, the entry will have the event ID in
it. If not, then the ErrorCode and ErrorMessage can be used to identify the
problem with the entry.
--
--- * 'persResponseStatus'
+-- * 'persResponseStatus' - -- | The response status code.
putEventsResponse
:: Int -- ^ 'persResponseStatus'
-> PutEventsResponse
@@ -137,7 +143,7 @@
persEntries :: Lens' PutEventsResponse [PutEventsResultEntry]
persEntries = lens _persEntries (\ s a -> s{_persEntries = a}) . _Default .
_Coerce;
--- | The response status code.
+-- | -- | The response status code.
persResponseStatus :: Lens' PutEventsResponse Int
persResponseStatus = lens _persResponseStatus (\ s a -> s{_persResponseStatus
= a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/PutRule.hs
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/PutRule.hs
---
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/PutRule.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/PutRule.hs
2016-12-04 16:29:24.000000000 +0100
@@ -18,13 +18,15 @@
-- Stability : auto-generated
-- Portability : non-portable (GHC extensions)
--
--- Creates or updates a rule. Rules are enabled by default, or based on value
of the State parameter. You can disable a rule using < DisableRule>.
+-- Creates or updates a rule. Rules are enabled by default, or based on value
of the State parameter. You can disable a rule using 'DisableRule' .
+--
--
-- __Note:__ When you create or update a rule, incoming events might not
immediately start matching to new or updated rules. Please allow a short period
of time for changes to take effect.
--
-- A rule must contain at least an EventPattern or ScheduleExpression. Rules
with EventPatterns are triggered when a matching event is observed. Rules with
ScheduleExpressions self-trigger based on the given schedule. A rule can have
both an EventPattern and a ScheduleExpression, in which case the rule will
trigger on matching events as well as on a schedule.
--
--- __Note:__ Most services in AWS treat : or \/ as the same character in
Amazon Resource Names (ARNs). However, CloudWatch Events uses an exact match in
event patterns and rules. Be sure to use the correct ARN characters when
creating event patterns so that they match the ARN syntax in the event you want
to match.
+-- __Note:__ Most services in AWS treat : or / as the same character in Amazon
Resource Names (ARNs). However, CloudWatch Events uses an exact match in event
patterns and rules. Be sure to use the correct ARN characters when creating
event patterns so that they match the ARN syntax in the event you want to match.
+--
module Network.AWS.CloudWatchEvents.PutRule
(
-- * Creating a Request
@@ -53,7 +55,9 @@
import Network.AWS.Request
import Network.AWS.Response
--- | Container for the parameters to the < PutRule> operation.
+-- | Container for the parameters to the 'PutRule' operation.
+--
+--
--
-- /See:/ 'putRule' smart constructor.
data PutRule = PutRule'
@@ -69,17 +73,17 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'prEventPattern'
+-- * 'prEventPattern' - The event pattern.
--
--- * 'prState'
+-- * 'prState' - Indicates whether the rule is enabled or disabled.
--
--- * 'prScheduleExpression'
+-- * 'prScheduleExpression' - The scheduling expression. For example, "cron(0
20 * * ? *)", "rate(5 minutes)".
--
--- * 'prDescription'
+-- * 'prDescription' - A description of the rule.
--
--- * 'prRoleARN'
+-- * 'prRoleARN' - The Amazon Resource Name (ARN) of the IAM role associated
with the rule.
--
--- * 'prName'
+-- * 'prName' - The name of the rule that you are creating or updating.
putRule
:: Text -- ^ 'prName'
-> PutRule
@@ -101,7 +105,7 @@
prState :: Lens' PutRule (Maybe RuleState)
prState = lens _prState (\ s a -> s{_prState = a});
--- | The scheduling expression. For example, \"cron(0 20 * * ? *)\", \"rate(5
minutes)\".
+-- | The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5
minutes)".
prScheduleExpression :: Lens' PutRule (Maybe Text)
prScheduleExpression = lens _prScheduleExpression (\ s a ->
s{_prScheduleExpression = a});
@@ -156,7 +160,9 @@
instance ToQuery PutRule where
toQuery = const mempty
--- | The result of the < PutRule> operation.
+-- | The result of the 'PutRule' operation.
+--
+--
--
-- /See:/ 'putRuleResponse' smart constructor.
data PutRuleResponse = PutRuleResponse'
@@ -168,9 +174,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'prrsRuleARN'
+-- * 'prrsRuleARN' - The Amazon Resource Name (ARN) that identifies the rule.
--
--- * 'prrsResponseStatus'
+-- * 'prrsResponseStatus' - -- | The response status code.
putRuleResponse
:: Int -- ^ 'prrsResponseStatus'
-> PutRuleResponse
@@ -184,7 +190,7 @@
prrsRuleARN :: Lens' PutRuleResponse (Maybe Text)
prrsRuleARN = lens _prrsRuleARN (\ s a -> s{_prrsRuleARN = a});
--- | The response status code.
+-- | -- | The response status code.
prrsResponseStatus :: Lens' PutRuleResponse Int
prrsResponseStatus = lens _prrsResponseStatus (\ s a -> s{_prrsResponseStatus
= a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/PutTargets.hs
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/PutTargets.hs
---
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/PutTargets.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/PutTargets.hs
2016-12-04 16:29:24.000000000 +0100
@@ -20,15 +20,15 @@
--
-- Adds target(s) to a rule. Targets are the resources that can be invoked
when a rule is triggered. For example, AWS Lambda functions, Amazon Kinesis
streams, and built-in targets. Updates the target(s) if they are already
associated with the role. In other words, if there is already a target with the
given target ID, then the target associated with that ID is updated.
--
--- In order to be able to make API calls against the resources you own, Amazon
CloudWatch Events needs the appropriate permissions. For AWS Lambda and Amazon
SNS resources, CloudWatch Events relies on resource-based policies. For Amazon
Kinesis streams, CloudWatch Events relies on IAM roles. For more information,
see
<http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/EventsTargetPermissions.html
Permissions for Sending Events to Targets> in the __/Amazon CloudWatch
Developer Guide/__.
+--
+-- In order to be able to make API calls against the resources you own, Amazon
CloudWatch Events needs the appropriate permissions. For AWS Lambda and Amazon
SNS resources, CloudWatch Events relies on resource-based policies. For Amazon
Kinesis streams, CloudWatch Events relies on IAM roles. For more information,
see
<http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/EventsTargetPermissions.html
Permissions for Sending Events to Targets> in the __/Amazon CloudWatch
Developer Guide/ __ .
--
-- __Input__ and __InputPath__ are mutually-exclusive and optional parameters
of a target. When a rule is triggered due to a matched event, if for a target:
--
--- - Neither __Input__ nor __InputPath__ is specified, then the entire event
is passed to the target in JSON form.
--- - __InputPath__ is specified in the form of JSONPath (e.g. __>.detail__),
then only the part of the event specified in the path is passed to the target
(e.g. only the detail part of the event is passed).
--- - __Input__ is specified in the form of a valid JSON, then the matched
event is overridden with this constant.
+-- * Neither __Input__ nor __InputPath__ is specified, then the entire
event is passed to the target in JSON form. * __InputPath__ is specified in
the form of JSONPath (e.g. __> .detail__ ), then only the part of the event
specified in the path is passed to the target (e.g. only the detail part of the
event is passed). * __Input__ is specified in the form of a valid JSON,
then the matched event is overridden with this constant.
--
-- __Note:__ When you add targets to a rule, when the associated rule
triggers, new or updated targets might not be immediately invoked. Please allow
a short period of time for changes to take effect.
+--
module Network.AWS.CloudWatchEvents.PutTargets
(
-- * Creating a Request
@@ -54,7 +54,9 @@
import Network.AWS.Request
import Network.AWS.Response
--- | Container for the parameters to the < PutTargets> operation.
+-- | Container for the parameters to the 'PutTargets' operation.
+--
+--
--
-- /See:/ 'putTargets' smart constructor.
data PutTargets = PutTargets'
@@ -66,9 +68,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'ptRule'
+-- * 'ptRule' - The name of the rule you want to add targets to.
--
--- * 'ptTargets'
+-- * 'ptTargets' - List of targets you want to update or add to the rule.
putTargets
:: Text -- ^ 'ptRule'
-> PutTargets
@@ -123,7 +125,9 @@
instance ToQuery PutTargets where
toQuery = const mempty
--- | The result of the < PutTargets> operation.
+-- | The result of the 'PutTargets' operation.
+--
+--
--
-- /See:/ 'putTargetsResponse' smart constructor.
data PutTargetsResponse = PutTargetsResponse'
@@ -136,11 +140,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'ptrsFailedEntryCount'
+-- * 'ptrsFailedEntryCount' - The number of failed entries.
--
--- * 'ptrsFailedEntries'
+-- * 'ptrsFailedEntries' - An array of failed target entries.
--
--- * 'ptrsResponseStatus'
+-- * 'ptrsResponseStatus' - -- | The response status code.
putTargetsResponse
:: Int -- ^ 'ptrsResponseStatus'
-> PutTargetsResponse
@@ -159,7 +163,7 @@
ptrsFailedEntries :: Lens' PutTargetsResponse [PutTargetsResultEntry]
ptrsFailedEntries = lens _ptrsFailedEntries (\ s a -> s{_ptrsFailedEntries =
a}) . _Default . _Coerce;
--- | The response status code.
+-- | -- | The response status code.
ptrsResponseStatus :: Lens' PutTargetsResponse Int
ptrsResponseStatus = lens _ptrsResponseStatus (\ s a -> s{_ptrsResponseStatus
= a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/RemoveTargets.hs
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/RemoveTargets.hs
---
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/RemoveTargets.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/RemoveTargets.hs
2016-12-04 16:29:24.000000000 +0100
@@ -20,7 +20,9 @@
--
-- Removes target(s) from a rule so that when the rule is triggered, those
targets will no longer be invoked.
--
+--
-- __Note:__ When you remove a target, when the associated rule triggers,
removed targets might still continue to be invoked. Please allow a short period
of time for changes to take effect.
+--
module Network.AWS.CloudWatchEvents.RemoveTargets
(
-- * Creating a Request
@@ -46,7 +48,9 @@
import Network.AWS.Request
import Network.AWS.Response
--- | Container for the parameters to the < RemoveTargets> operation.
+-- | Container for the parameters to the 'RemoveTargets' operation.
+--
+--
--
-- /See:/ 'removeTargets' smart constructor.
data RemoveTargets = RemoveTargets'
@@ -58,9 +62,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'rtRule'
+-- * 'rtRule' - The name of the rule you want to remove targets from.
--
--- * 'rtIds'
+-- * 'rtIds' - The list of target IDs to remove from the rule.
removeTargets
:: Text -- ^ 'rtRule'
-> NonEmpty Text -- ^ 'rtIds'
@@ -115,7 +119,9 @@
instance ToQuery RemoveTargets where
toQuery = const mempty
--- | The result of the < RemoveTargets> operation.
+-- | The result of the 'RemoveTargets' operation.
+--
+--
--
-- /See:/ 'removeTargetsResponse' smart constructor.
data RemoveTargetsResponse = RemoveTargetsResponse'
@@ -128,11 +134,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'rtrsFailedEntryCount'
+-- * 'rtrsFailedEntryCount' - The number of failed entries.
--
--- * 'rtrsFailedEntries'
+-- * 'rtrsFailedEntries' - An array of failed target entries.
--
--- * 'rtrsResponseStatus'
+-- * 'rtrsResponseStatus' - -- | The response status code.
removeTargetsResponse
:: Int -- ^ 'rtrsResponseStatus'
-> RemoveTargetsResponse
@@ -151,7 +157,7 @@
rtrsFailedEntries :: Lens' RemoveTargetsResponse [RemoveTargetsResultEntry]
rtrsFailedEntries = lens _rtrsFailedEntries (\ s a -> s{_rtrsFailedEntries =
a}) . _Default . _Coerce;
--- | The response status code.
+-- | -- | The response status code.
rtrsResponseStatus :: Lens' RemoveTargetsResponse Int
rtrsResponseStatus = lens _rtrsResponseStatus (\ s a -> s{_rtrsResponseStatus
= a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/TestEventPattern.hs
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/TestEventPattern.hs
---
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/TestEventPattern.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/TestEventPattern.hs
2016-12-04 16:29:24.000000000 +0100
@@ -20,7 +20,9 @@
--
-- Tests whether an event pattern matches the provided event.
--
--- __Note:__ Most services in AWS treat : or \/ as the same character in
Amazon Resource Names (ARNs). However, CloudWatch Events uses an exact match in
event patterns and rules. Be sure to use the correct ARN characters when
creating event patterns so that they match the ARN syntax in the event you want
to match.
+--
+-- __Note:__ Most services in AWS treat : or / as the same character in Amazon
Resource Names (ARNs). However, CloudWatch Events uses an exact match in event
patterns and rules. Be sure to use the correct ARN characters when creating
event patterns so that they match the ARN syntax in the event you want to match.
+--
module Network.AWS.CloudWatchEvents.TestEventPattern
(
-- * Creating a Request
@@ -45,7 +47,9 @@
import Network.AWS.Request
import Network.AWS.Response
--- | Container for the parameters to the < TestEventPattern> operation.
+-- | Container for the parameters to the 'TestEventPattern' operation.
+--
+--
--
-- /See:/ 'testEventPattern' smart constructor.
data TestEventPattern = TestEventPattern'
@@ -57,9 +61,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'tepEventPattern'
+-- * 'tepEventPattern' - The event pattern you want to test.
--
--- * 'tepEvent'
+-- * 'tepEvent' - The event in the JSON format to test against the event
pattern.
testEventPattern
:: Text -- ^ 'tepEventPattern'
-> Text -- ^ 'tepEvent'
@@ -113,7 +117,9 @@
instance ToQuery TestEventPattern where
toQuery = const mempty
--- | The result of the < TestEventPattern> operation.
+-- | The result of the 'TestEventPattern' operation.
+--
+--
--
-- /See:/ 'testEventPatternResponse' smart constructor.
data TestEventPatternResponse = TestEventPatternResponse'
@@ -125,9 +131,9 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'teprsResult'
+-- * 'teprsResult' - Indicates whether the event matches the event pattern.
--
--- * 'teprsResponseStatus'
+-- * 'teprsResponseStatus' - -- | The response status code.
testEventPatternResponse
:: Int -- ^ 'teprsResponseStatus'
-> TestEventPatternResponse
@@ -141,7 +147,7 @@
teprsResult :: Lens' TestEventPatternResponse (Maybe Bool)
teprsResult = lens _teprsResult (\ s a -> s{_teprsResult = a});
--- | The response status code.
+-- | -- | The response status code.
teprsResponseStatus :: Lens' TestEventPatternResponse Int
teprsResponseStatus = lens _teprsResponseStatus (\ s a ->
s{_teprsResponseStatus = a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/Types/Product.hs
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/Types/Product.hs
---
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/Types/Product.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/Types/Product.hs
2016-12-04 16:29:24.000000000 +0100
@@ -23,6 +23,8 @@
-- | Contains information about the event to be used in PutEvents.
--
+--
+--
-- /See:/ 'putEventsRequestEntry' smart constructor.
data PutEventsRequestEntry = PutEventsRequestEntry'
{ _pereTime :: !(Maybe POSIX)
@@ -36,15 +38,15 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'pereTime'
+-- * 'pereTime' - Timestamp of event, per
<https://www.rfc-editor.org/rfc/rfc3339.txt RFC3339> . If no timestamp is
provided, the timestamp of the 'PutEvents' call will be used.
--
--- * 'pereDetailType'
+-- * 'pereDetailType' - Free-form string used to decide what fields to expect
in the event detail.
--
--- * 'pereResources'
+-- * 'pereResources' - AWS resources, identified by Amazon Resource Name
(ARN), which the event primarily concerns. Any number, including zero, may be
present.
--
--- * 'pereSource'
+-- * 'pereSource' - The source of the event.
--
--- * 'pereDetail'
+-- * 'pereDetail' - In the JSON sense, an object containing fields, which may
also contain nested sub-objects. No constraints are imposed on its contents.
putEventsRequestEntry
:: PutEventsRequestEntry
putEventsRequestEntry =
@@ -56,7 +58,7 @@
, _pereDetail = Nothing
}
--- | Timestamp of event, per <https://www.rfc-editor.org/rfc/rfc3339.txt
RFC3339>. If no timestamp is provided, the timestamp of the < PutEvents> call
will be used.
+-- | Timestamp of event, per <https://www.rfc-editor.org/rfc/rfc3339.txt
RFC3339> . If no timestamp is provided, the timestamp of the 'PutEvents' call
will be used.
pereTime :: Lens' PutEventsRequestEntry (Maybe UTCTime)
pereTime = lens _pereTime (\ s a -> s{_pereTime = a}) . mapping _Time;
@@ -92,6 +94,8 @@
-- | A PutEventsResult contains a list of PutEventsResultEntry.
--
+--
+--
-- /See:/ 'putEventsResultEntry' smart constructor.
data PutEventsResultEntry = PutEventsResultEntry'
{ _pereErrorCode :: !(Maybe Text)
@@ -103,11 +107,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'pereErrorCode'
+-- * 'pereErrorCode' - The error code representing why the event submission
failed on this entry.
--
--- * 'pereErrorMessage'
+-- * 'pereErrorMessage' - The error message explaining why the event
submission failed on this entry.
--
--- * 'pereEventId'
+-- * 'pereEventId' - The ID of the event submitted to Amazon CloudWatch Events.
putEventsResultEntry
:: PutEventsResultEntry
putEventsResultEntry =
@@ -143,6 +147,8 @@
-- | A PutTargetsResult contains a list of PutTargetsResultEntry.
--
+--
+--
-- /See:/ 'putTargetsResultEntry' smart constructor.
data PutTargetsResultEntry = PutTargetsResultEntry'
{ _ptreTargetId :: !(Maybe Text)
@@ -154,11 +160,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'ptreTargetId'
+-- * 'ptreTargetId' - The ID of the target submitted to Amazon CloudWatch
Events.
--
--- * 'ptreErrorCode'
+-- * 'ptreErrorCode' - The error code representing why the target submission
failed on this entry.
--
--- * 'ptreErrorMessage'
+-- * 'ptreErrorMessage' - The error message explaining why the target
submission failed on this entry.
putTargetsResultEntry
:: PutTargetsResultEntry
putTargetsResultEntry =
@@ -194,6 +200,8 @@
-- | The ID of the target requested to be removed from the rule by Amazon
CloudWatch Events.
--
+--
+--
-- /See:/ 'removeTargetsResultEntry' smart constructor.
data RemoveTargetsResultEntry = RemoveTargetsResultEntry'
{ _rtreTargetId :: !(Maybe Text)
@@ -205,11 +213,11 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'rtreTargetId'
+-- * 'rtreTargetId' - The ID of the target requested to be removed by Amazon
CloudWatch Events.
--
--- * 'rtreErrorCode'
+-- * 'rtreErrorCode' - The error code representing why the target removal
failed on this entry.
--
--- * 'rtreErrorMessage'
+-- * 'rtreErrorMessage' - The error message explaining why the target removal
failed on this entry.
removeTargetsResultEntry
:: RemoveTargetsResultEntry
removeTargetsResultEntry =
@@ -245,6 +253,8 @@
-- | Contains information about a rule in Amazon CloudWatch Events. A
ListRulesResult contains a list of Rules.
--
+--
+--
-- /See:/ 'rule' smart constructor.
data Rule = Rule'
{ _rEventPattern :: !(Maybe Text)
@@ -260,19 +270,19 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'rEventPattern'
+-- * 'rEventPattern' - The event pattern of the rule.
--
--- * 'rState'
+-- * 'rState' - The rule's state.
--
--- * 'rARN'
+-- * 'rARN' - The Amazon Resource Name (ARN) of the rule.
--
--- * 'rScheduleExpression'
+-- * 'rScheduleExpression' - The scheduling expression. For example, "cron(0
20 * * ? *)", "rate(5 minutes)".
--
--- * 'rName'
+-- * 'rName' - The rule's name.
--
--- * 'rDescription'
+-- * 'rDescription' - The description of the rule.
--
--- * 'rRoleARN'
+-- * 'rRoleARN' - The Amazon Resource Name (ARN) associated with the role that
is used for target invocation.
rule
:: Rule
rule =
@@ -290,7 +300,7 @@
rEventPattern :: Lens' Rule (Maybe Text)
rEventPattern = lens _rEventPattern (\ s a -> s{_rEventPattern = a});
--- | The rule\'s state.
+-- | The rule's state.
rState :: Lens' Rule (Maybe RuleState)
rState = lens _rState (\ s a -> s{_rState = a});
@@ -298,11 +308,11 @@
rARN :: Lens' Rule (Maybe Text)
rARN = lens _rARN (\ s a -> s{_rARN = a});
--- | The scheduling expression. For example, \"cron(0 20 * * ? *)\", \"rate(5
minutes)\".
+-- | The scheduling expression. For example, "cron(0 20 * * ? *)", "rate(5
minutes)".
rScheduleExpression :: Lens' Rule (Maybe Text)
rScheduleExpression = lens _rScheduleExpression (\ s a ->
s{_rScheduleExpression = a});
--- | The rule\'s name.
+-- | The rule's name.
rName :: Lens' Rule (Maybe Text)
rName = lens _rName (\ s a -> s{_rName = a});
@@ -332,11 +342,11 @@
-- | Targets are the resources that can be invoked when a rule is triggered.
For example, AWS Lambda functions, Amazon Kinesis streams, and built-in targets.
--
+--
-- __Input__ and __InputPath__ are mutually-exclusive and optional parameters
of a target. When a rule is triggered due to a matched event, if for a target:
--
--- - Neither __Input__ nor __InputPath__ is specified, then the entire event
is passed to the target in JSON form.
--- - __InputPath__ is specified in the form of JSONPath (e.g. __>.detail__),
then only the part of the event specified in the path is passed to the target
(e.g. only the detail part of the event is passed).
--- - __Input__ is specified in the form of a valid JSON, then the matched
event is overridden with this constant.
+-- * Neither __Input__ nor __InputPath__ is specified, then the entire
event is passed to the target in JSON form. * __InputPath__ is specified in
the form of JSONPath (e.g. __> .detail__ ), then only the part of the event
specified in the path is passed to the target (e.g. only the detail part of the
event is passed). * __Input__ is specified in the form of a valid JSON,
then the matched event is overridden with this constant.
+--
--
-- /See:/ 'target' smart constructor.
data Target = Target'
@@ -350,13 +360,13 @@
--
-- Use one of the following lenses to modify other fields as desired:
--
--- * 'tInput'
+-- * 'tInput' - Valid JSON text passed to the target. For more information
about JSON text, see <http://www.rfc-editor.org/rfc/rfc7159.txt The JavaScript
Object Notation (JSON) Data Interchange Format> .
--
--- * 'tInputPath'
+-- * 'tInputPath' - The value of the JSONPath that is used for extracting part
of the matched event when passing it to the target. For more information about
JSON paths, see <http://goessner.net/articles/JsonPath/ JSONPath> .
--
--- * 'tId'
+-- * 'tId' - The unique target assignment ID.
--
--- * 'tARN'
+-- * 'tARN' - The Amazon Resource Name (ARN) associated of the target.
target
:: Text -- ^ 'tId'
-> Text -- ^ 'tARN'
@@ -369,11 +379,11 @@
, _tARN = pARN_
}
--- | Valid JSON text passed to the target. For more information about JSON
text, see <http://www.rfc-editor.org/rfc/rfc7159.txt The JavaScript Object
Notation (JSON) Data Interchange Format>.
+-- | Valid JSON text passed to the target. For more information about JSON
text, see <http://www.rfc-editor.org/rfc/rfc7159.txt The JavaScript Object
Notation (JSON) Data Interchange Format> .
tInput :: Lens' Target (Maybe Text)
tInput = lens _tInput (\ s a -> s{_tInput = a});
--- | The value of the JSONPath that is used for extracting part of the matched
event when passing it to the target. For more information about JSON paths, see
<http://goessner.net/articles/JsonPath/ JSONPath>.
+-- | The value of the JSONPath that is used for extracting part of the matched
event when passing it to the target. For more information about JSON paths, see
<http://goessner.net/articles/JsonPath/ JSONPath> .
tInputPath :: Lens' Target (Maybe Text)
tInputPath = lens _tInputPath (\ s a -> s{_tInputPath = a});
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/Types/Sum.hs
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/Types/Sum.hs
---
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/Types/Sum.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/Types/Sum.hs
2016-12-04 16:29:24.000000000 +0100
@@ -29,7 +29,7 @@
"disabled" -> pure Disabled
"enabled" -> pure Enabled
e -> fromTextError $ "Failure parsing RuleState from value: '" <> e
- <> "'. Accepted values: DISABLED, ENABLED"
+ <> "'. Accepted values: disabled, enabled"
instance ToText RuleState where
toText = \case
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/Types.hs
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/Types.hs
---
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents/Types.hs
2016-06-09 21:31:27.000000000 +0200
+++
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents/Types.hs
2016-12-04 16:29:24.000000000 +0100
@@ -81,7 +81,7 @@
import Network.AWS.Prelude
import Network.AWS.Sign.V4
--- | API version '2015-10-07' of the Amazon CloudWatch Events SDK
configuration.
+-- | API version @2015-10-07@ of the Amazon CloudWatch Events SDK
configuration.
cloudWatchEvents :: Service
cloudWatchEvents =
Service
@@ -116,24 +116,34 @@
| otherwise = Nothing
-- | This exception occurs if there is concurrent modification on rule or
target.
+--
+--
_ConcurrentModificationException :: AsError a => Getting (First ServiceError)
a ServiceError
_ConcurrentModificationException =
_ServiceError . hasCode "ConcurrentModificationException"
-- | The event pattern is invalid.
+--
+--
_InvalidEventPatternException :: AsError a => Getting (First ServiceError) a
ServiceError
_InvalidEventPatternException =
_ServiceError . hasCode "InvalidEventPatternException"
-- | This exception occurs due to unexpected causes.
+--
+--
_InternalException :: AsError a => Getting (First ServiceError) a ServiceError
_InternalException = _ServiceError . hasCode "InternalException"
-- | The rule does not exist.
+--
+--
_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a
ServiceError
_ResourceNotFoundException =
_ServiceError . hasCode "ResourceNotFoundException"
-- | This exception occurs if you try to create more rules or add more targets
to a rule than allowed by default.
+--
+--
_LimitExceededException :: AsError a => Getting (First ServiceError) a
ServiceError
_LimitExceededException = _ServiceError . hasCode "LimitExceededException"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents.hs
new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents.hs
--- old/amazonka-cloudwatch-events-1.4.3/gen/Network/AWS/CloudWatchEvents.hs
2016-06-09 21:31:27.000000000 +0200
+++ new/amazonka-cloudwatch-events-1.4.5/gen/Network/AWS/CloudWatchEvents.hs
2016-12-04 16:29:24.000000000 +0100
@@ -13,11 +13,11 @@
--
-- Amazon CloudWatch Events helps you to respond to state changes in your AWS
resources. When your resources change state they automatically send events into
an event stream. You can create rules that match selected events in the stream
and route them to targets to take action. You can also use rules to take action
on a pre-determined schedule. For example, you can configure rules to:
--
--- - Automatically invoke an AWS Lambda function to update DNS entries when
an event notifies you that Amazon EC2 instance enters the running state.
--- - Direct specific API records from CloudTrail to an Amazon Kinesis stream
for detailed analysis of potential security or availability risks.
--- - Periodically invoke a built-in target to create a snapshot of an Amazon
EBS volume.
--
--- For more information about Amazon CloudWatch Events features, see the
<http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide Amazon
CloudWatch Developer Guide>.
+-- * Automatically invoke an AWS Lambda function to update DNS entries
when an event notifies you that Amazon EC2 instance enters the running state.
* Direct specific API records from CloudTrail to an Amazon Kinesis stream for
detailed analysis of potential security or availability risks. *
Periodically invoke a built-in target to create a snapshot of an Amazon EBS
volume.
+--
+-- For more information about Amazon CloudWatch Events features, see the
<http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide Amazon
CloudWatch Developer Guide> .
+--
module Network.AWS.CloudWatchEvents
(
-- * Service Configuration