packages feed

amazonka-sns 1.4.2 → 1.4.3

raw patch · 30 files changed

+272/−547 lines, 30 filesdep ~amazonka-coredep ~amazonka-snsdep ~amazonka-testPVP ok

version bump matches the API change (PVP)

Dependency ranges changed: amazonka-core, amazonka-sns, amazonka-test

API changes (from Hackage documentation)

Files

README.md view
@@ -8,29 +8,16 @@  ## Version -`1.4.2`+`1.4.3`   ## Description  Amazon Simple Notification Service -Amazon Simple Notification Service (Amazon SNS) is a web service that-enables you to build distributed web-enabled applications. Applications-can use Amazon SNS to easily push real-time notification messages to-interested subscribers over multiple delivery protocols. For more-information about this product see-<http://aws.amazon.com/sns/ http:\/\/aws.amazon.com\/sns>. For detailed-information about Amazon SNS features and their associated API calls,-see the-<http://docs.aws.amazon.com/sns/latest/dg/ Amazon SNS Developer Guide>.+Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build distributed web-enabled applications. Applications can use Amazon SNS to easily push real-time notification messages to interested subscribers over multiple delivery protocols. For more information about this product see <http://aws.amazon.com/sns/ http:\/\/aws.amazon.com\/sns>. For detailed information about Amazon SNS features and their associated API calls, see the <http://docs.aws.amazon.com/sns/latest/dg/ Amazon SNS Developer Guide>. -We also provide SDKs that enable you to access Amazon SNS from your-preferred programming language. The SDKs contain functionality that-automatically takes care of tasks such as: cryptographically signing-your service requests, retrying requests, and handling error responses.-For a list of available SDKs, go to-<http://aws.amazon.com/tools/ Tools for Amazon Web Services>.+We also provide SDKs that enable you to access Amazon SNS from your preferred programming language. The SDKs contain functionality that automatically takes care of tasks such as: cryptographically signing your service requests, retrying requests, and handling error responses. For a list of available SDKs, go to <http://aws.amazon.com/tools/ Tools for Amazon Web Services>.  Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-sns) and the [AWS API Reference](https://aws.amazon.com/documentation/).
amazonka-sns.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-sns-version:               1.4.2+version:               1.4.3 synopsis:              Amazon Simple Notification Service SDK. homepage:              https://github.com/brendanhay/amazonka bug-reports:           https://github.com/brendanhay/amazonka/issues@@ -15,22 +15,9 @@ description:     Amazon Simple Notification Service -    Amazon Simple Notification Service (Amazon SNS) is a web service that-    enables you to build distributed web-enabled applications. Applications-    can use Amazon SNS to easily push real-time notification messages to-    interested subscribers over multiple delivery protocols. For more-    information about this product see-    <http://aws.amazon.com/sns/ http:\/\/aws.amazon.com\/sns>. For detailed-    information about Amazon SNS features and their associated API calls,-    see the-    <http://docs.aws.amazon.com/sns/latest/dg/ Amazon SNS Developer Guide>.+    Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build distributed web-enabled applications. Applications can use Amazon SNS to easily push real-time notification messages to interested subscribers over multiple delivery protocols. For more information about this product see <http://aws.amazon.com/sns/ http:\/\/aws.amazon.com\/sns>. For detailed information about Amazon SNS features and their associated API calls, see the <http://docs.aws.amazon.com/sns/latest/dg/ Amazon SNS Developer Guide>. -    We also provide SDKs that enable you to access Amazon SNS from your-    preferred programming language. The SDKs contain functionality that-    automatically takes care of tasks such as: cryptographically signing-    your service requests, retrying requests, and handling error responses.-    For a list of available SDKs, go to-    <http://aws.amazon.com/tools/ Tools for Amazon Web Services>.+    We also provide SDKs that enable you to access Amazon SNS from your preferred programming language. The SDKs contain functionality that automatically takes care of tasks such as: cryptographically signing your service requests, retrying requests, and handling error responses. For a list of available SDKs, go to <http://aws.amazon.com/tools/ Tools for Amazon Web Services>.     .     The types from this library are intended to be used with     <http://hackage.haskell.org/package/amazonka amazonka>, which provides@@ -91,7 +78,7 @@         , Network.AWS.SNS.Types.Sum      build-depends:-          amazonka-core == 1.4.2.*+          amazonka-core == 1.4.3.*         , base          >= 4.7     && < 5  test-suite amazonka-sns-test@@ -111,9 +98,9 @@         , Test.AWS.SNS.Internal      build-depends:-          amazonka-core == 1.4.2.*-        , amazonka-test == 1.4.2.*-        , amazonka-sns == 1.4.2.*+          amazonka-core == 1.4.3.*+        , amazonka-test == 1.4.3.*+        , amazonka-sns == 1.4.3.*         , base         , bytestring         , tasty
gen/Network/AWS/SNS.hs view
@@ -13,22 +13,9 @@ -- -- Amazon Simple Notification Service ----- Amazon Simple Notification Service (Amazon SNS) is a web service that--- enables you to build distributed web-enabled applications. Applications--- can use Amazon SNS to easily push real-time notification messages to--- interested subscribers over multiple delivery protocols. For more--- information about this product see--- <http://aws.amazon.com/sns/ http:\/\/aws.amazon.com\/sns>. For detailed--- information about Amazon SNS features and their associated API calls,--- see the--- <http://docs.aws.amazon.com/sns/latest/dg/ Amazon SNS Developer Guide>.+-- Amazon Simple Notification Service (Amazon SNS) is a web service that enables you to build distributed web-enabled applications. Applications can use Amazon SNS to easily push real-time notification messages to interested subscribers over multiple delivery protocols. For more information about this product see <http://aws.amazon.com/sns/ http:\/\/aws.amazon.com\/sns>. For detailed information about Amazon SNS features and their associated API calls, see the <http://docs.aws.amazon.com/sns/latest/dg/ Amazon SNS Developer Guide>. ----- We also provide SDKs that enable you to access Amazon SNS from your--- preferred programming language. The SDKs contain functionality that--- automatically takes care of tasks such as: cryptographically signing--- your service requests, retrying requests, and handling error responses.--- For a list of available SDKs, go to--- <http://aws.amazon.com/tools/ Tools for Amazon Web Services>.+-- We also provide SDKs that enable you to access Amazon SNS from your preferred programming language. The SDKs contain functionality that automatically takes care of tasks such as: cryptographically signing your service requests, retrying requests, and handling error responses. For a list of available SDKs, go to <http://aws.amazon.com/tools/ Tools for Amazon Web Services>. module Network.AWS.SNS     (     -- * Service Configuration
gen/Network/AWS/SNS/AddPermission.hs view
@@ -18,8 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Adds a statement to a topic\'s access control policy, granting access--- for the specified AWS accounts to the specified actions.+-- Adds a statement to a topic\'s access control policy, granting access for the specified AWS accounts to the specified actions. module Network.AWS.SNS.AddPermission     (     -- * Creating a Request@@ -82,9 +81,7 @@ apLabel :: Lens' AddPermission Text apLabel = lens _apLabel (\ s a -> s{_apLabel = a}); --- | The AWS account IDs of the users (principals) who will be given access--- to the specified actions. The users must have AWS accounts, but do not--- need to be signed up for this service.+-- | The AWS account IDs of the users (principals) who will be given access to the specified actions. The users must have AWS accounts, but do not need to be signed up for this service. apAWSAccountId :: Lens' AddPermission [Text] apAWSAccountId = lens _apAWSAccountId (\ s a -> s{_apAWSAccountId = a}) . _Coerce; 
gen/Network/AWS/SNS/ConfirmSubscription.hs view
@@ -18,11 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Verifies an endpoint owner\'s intent to receive messages by validating--- the token sent to the endpoint by an earlier 'Subscribe' action. If the--- token is valid, the action creates a new subscription and returns its--- Amazon Resource Name (ARN). This call requires an AWS signature only--- when the 'AuthenticateOnUnsubscribe' flag is set to \"true\".+-- Verifies an endpoint owner\'s intent to receive messages by validating the token sent to the endpoint by an earlier 'Subscribe' action. If the token is valid, the action creates a new subscription and returns its Amazon Resource Name (ARN). This call requires an AWS signature only when the 'AuthenticateOnUnsubscribe' flag is set to \"true\". module Network.AWS.SNS.ConfirmSubscription     (     -- * Creating a Request@@ -77,10 +73,7 @@     , _csToken = pToken_     } --- | Disallows unauthenticated unsubscribes of the subscription. If the value--- of this parameter is 'true' and the request has an AWS signature, then--- only the topic owner and the subscription owner can unsubscribe the--- endpoint. The unsubscribe action requires AWS authentication.+-- | Disallows unauthenticated unsubscribes of the subscription. If the value of this parameter is 'true' and the request has an AWS signature, then only the topic owner and the subscription owner can unsubscribe the endpoint. The unsubscribe action requires AWS authentication. csAuthenticateOnUnsubscribe :: Lens' ConfirmSubscription (Maybe Text) csAuthenticateOnUnsubscribe = lens _csAuthenticateOnUnsubscribe (\ s a -> s{_csAuthenticateOnUnsubscribe = a}); 
gen/Network/AWS/SNS/CreatePlatformApplication.hs view
@@ -18,21 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a platform application object for one of the supported push--- notification services, such as APNS and GCM, to which devices and mobile--- apps may register. You must specify PlatformPrincipal and--- PlatformCredential attributes when using the 'CreatePlatformApplication'--- action. The PlatformPrincipal is received from the notification service.--- For APNS\/APNS_SANDBOX, PlatformPrincipal is \"SSL certificate\". For--- GCM, PlatformPrincipal is not applicable. For ADM, PlatformPrincipal is--- \"client id\". The PlatformCredential is also received from the--- notification service. For APNS\/APNS_SANDBOX, PlatformCredential is--- \"private key\". For GCM, PlatformCredential is \"API key\". For ADM,--- PlatformCredential is \"client secret\". The PlatformApplicationArn that--- is returned when using 'CreatePlatformApplication' is then used as an--- attribute for the 'CreatePlatformEndpoint' action. For more information,--- see--- <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>.+-- Creates a platform application object for one of the supported push notification services, such as APNS and GCM, to which devices and mobile apps may register. You must specify PlatformPrincipal and PlatformCredential attributes when using the 'CreatePlatformApplication' action. The PlatformPrincipal is received from the notification service. For APNS\/APNS_SANDBOX, PlatformPrincipal is \"SSL certificate\". For GCM, PlatformPrincipal is not applicable. For ADM, PlatformPrincipal is \"client id\". The PlatformCredential is also received from the notification service. For APNS\/APNS_SANDBOX, PlatformCredential is \"private key\". For GCM, PlatformCredential is \"API key\". For ADM, PlatformCredential is \"client secret\". The PlatformApplicationArn that is returned when using 'CreatePlatformApplication' is then used as an attribute for the 'CreatePlatformEndpoint' action. For more information, see <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>. module Network.AWS.SNS.CreatePlatformApplication     (     -- * Creating a Request@@ -87,20 +73,15 @@     , _cpaAttributes = mempty     } --- | Application names must be made up of only uppercase and lowercase ASCII--- letters, numbers, underscores, hyphens, and periods, and must be between--- 1 and 256 characters long.+-- | Application names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, hyphens, and periods, and must be between 1 and 256 characters long. cpaName :: Lens' CreatePlatformApplication Text cpaName = lens _cpaName (\ s a -> s{_cpaName = a}); --- | The following platforms are supported: ADM (Amazon Device Messaging),--- APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Google--- Cloud Messaging).+-- | The following platforms are supported: ADM (Amazon Device Messaging), APNS (Apple Push Notification Service), APNS_SANDBOX, and GCM (Google Cloud Messaging). cpaPlatform :: Lens' CreatePlatformApplication Text cpaPlatform = lens _cpaPlatform (\ s a -> s{_cpaPlatform = a}); --- | For a list of attributes, see--- <http://docs.aws.amazon.com/sns/latest/api/API_SetPlatformApplicationAttributes.html SetPlatformApplicationAttributes>+-- | For a list of attributes, see <http://docs.aws.amazon.com/sns/latest/api/API_SetPlatformApplicationAttributes.html SetPlatformApplicationAttributes> cpaAttributes :: Lens' CreatePlatformApplication (HashMap Text Text) cpaAttributes = lens _cpaAttributes (\ s a -> s{_cpaAttributes = a}) . _Map; 
gen/Network/AWS/SNS/CreatePlatformEndpoint.hs view
@@ -18,22 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates an endpoint for a device and mobile app on one of the supported--- push notification services, such as GCM and APNS.--- 'CreatePlatformEndpoint' requires the PlatformApplicationArn that is--- returned from 'CreatePlatformApplication'. The EndpointArn that is--- returned when using 'CreatePlatformEndpoint' can then be used by the--- 'Publish' action to send a message to a mobile app or by the 'Subscribe'--- action for subscription to a topic. The 'CreatePlatformEndpoint' action--- is idempotent, so if the requester already owns an endpoint with the--- same device token and attributes, that endpoint\'s ARN is returned--- without creating a new endpoint. For more information, see--- <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>.+-- Creates an endpoint for a device and mobile app on one of the supported push notification services, such as GCM and APNS. 'CreatePlatformEndpoint' requires the PlatformApplicationArn that is returned from 'CreatePlatformApplication'. The EndpointArn that is returned when using 'CreatePlatformEndpoint' can then be used by the 'Publish' action to send a message to a mobile app or by the 'Subscribe' action for subscription to a topic. The 'CreatePlatformEndpoint' action is idempotent, so if the requester already owns an endpoint with the same device token and attributes, that endpoint\'s ARN is returned without creating a new endpoint. For more information, see <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>. ----- When using 'CreatePlatformEndpoint' with Baidu, two attributes must be--- provided: ChannelId and UserId. The token field must also contain the--- ChannelId. For more information, see--- <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePushBaiduEndpoint.html Creating an Amazon SNS Endpoint for Baidu>.+-- When using 'CreatePlatformEndpoint' with Baidu, two attributes must be provided: ChannelId and UserId. The token field must also contain the ChannelId. For more information, see <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePushBaiduEndpoint.html Creating an Amazon SNS Endpoint for Baidu>. module Network.AWS.SNS.CreatePlatformEndpoint     (     -- * Creating a Request@@ -93,27 +80,19 @@     , _cpeToken = pToken_     } --- | Arbitrary user data to associate with the endpoint. Amazon SNS does not--- use this data. The data must be in UTF-8 format and less than 2KB.+-- | Arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB. cpeCustomUserData :: Lens' CreatePlatformEndpoint (Maybe Text) cpeCustomUserData = lens _cpeCustomUserData (\ s a -> s{_cpeCustomUserData = a}); --- | For a list of attributes, see--- <http://docs.aws.amazon.com/sns/latest/api/API_SetEndpointAttributes.html SetEndpointAttributes>.+-- | For a list of attributes, see <http://docs.aws.amazon.com/sns/latest/api/API_SetEndpointAttributes.html SetEndpointAttributes>. cpeAttributes :: Lens' CreatePlatformEndpoint (HashMap Text Text) cpeAttributes = lens _cpeAttributes (\ s a -> s{_cpeAttributes = a}) . _Default . _Map; --- | PlatformApplicationArn returned from CreatePlatformApplication is used--- to create a an endpoint.+-- | PlatformApplicationArn returned from CreatePlatformApplication is used to create a an endpoint. cpePlatformApplicationARN :: Lens' CreatePlatformEndpoint Text cpePlatformApplicationARN = lens _cpePlatformApplicationARN (\ s a -> s{_cpePlatformApplicationARN = a}); --- | Unique identifier created by the notification service for an app on a--- device. The specific name for Token will vary, depending on which--- notification service is being used. For example, when using APNS as the--- notification service, you need the device token. Alternatively, when--- using GCM or ADM, the device token equivalent is called the registration--- ID.+-- | Unique identifier created by the notification service for an app on a device. The specific name for Token will vary, depending on which notification service is being used. For example, when using APNS as the notification service, you need the device token. Alternatively, when using GCM or ADM, the device token equivalent is called the registration ID. cpeToken :: Lens' CreatePlatformEndpoint Text cpeToken = lens _cpeToken (\ s a -> s{_cpeToken = a}); 
gen/Network/AWS/SNS/CreateTopic.hs view
@@ -18,12 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Creates a topic to which notifications can be published. Users can--- create at most 3000 topics. For more information, see--- <http://aws.amazon.com/sns/ http:\/\/aws.amazon.com\/sns>. This action--- is idempotent, so if the requester already owns a topic with the--- specified name, that topic\'s ARN is returned without creating a new--- topic.+-- Creates a topic to which notifications can be published. Users can create at most 3000 topics. For more information, see <http://aws.amazon.com/sns/ http:\/\/aws.amazon.com\/sns>. This action is idempotent, so if the requester already owns a topic with the specified name, that topic\'s ARN is returned without creating a new topic. module Network.AWS.SNS.CreateTopic     (     -- * Creating a Request@@ -69,9 +64,7 @@  -- | The name of the topic you want to create. ----- Constraints: Topic names must be made up of only uppercase and lowercase--- ASCII letters, numbers, underscores, and hyphens, and must be between 1--- and 256 characters long.+-- Constraints: Topic names must be made up of only uppercase and lowercase ASCII letters, numbers, underscores, and hyphens, and must be between 1 and 256 characters long. ctName :: Lens' CreateTopic Text ctName = lens _ctName (\ s a -> s{_ctName = a}); 
gen/Network/AWS/SNS/DeleteEndpoint.hs view
@@ -18,9 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes the endpoint from Amazon SNS. This action is idempotent. For--- more information, see--- <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>.+-- Deletes the endpoint from Amazon SNS. This action is idempotent. For more information, see <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>. module Network.AWS.SNS.DeleteEndpoint     (     -- * Creating a Request
gen/Network/AWS/SNS/DeletePlatformApplication.hs view
@@ -18,9 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes a platform application object for one of the supported push--- notification services, such as APNS and GCM. For more information, see--- <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>.+-- Deletes a platform application object for one of the supported push notification services, such as APNS and GCM. For more information, see <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>. module Network.AWS.SNS.DeletePlatformApplication     (     -- * Creating a Request
gen/Network/AWS/SNS/DeleteTopic.hs view
@@ -18,10 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes a topic and all its subscriptions. Deleting a topic might--- prevent some messages previously sent to the topic from being delivered--- to subscribers. This action is idempotent, so deleting a topic that does--- not exist does not result in an error.+-- Deletes a topic and all its subscriptions. Deleting a topic might prevent some messages previously sent to the topic from being delivered to subscribers. This action is idempotent, so deleting a topic that does not exist does not result in an error. module Network.AWS.SNS.DeleteTopic     (     -- * Creating a Request
gen/Network/AWS/SNS/GetEndpointAttributes.hs view
@@ -18,10 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Retrieves the endpoint attributes for a device on one of the supported--- push notification services, such as GCM and APNS. For more information,--- see--- <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>.+-- Retrieves the endpoint attributes for a device on one of the supported push notification services, such as GCM and APNS. For more information, see <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>. module Network.AWS.SNS.GetEndpointAttributes     (     -- * Creating a Request@@ -124,17 +121,9 @@  -- | Attributes include the following: ----- -   'CustomUserData' -- arbitrary user data to associate with the---     endpoint. Amazon SNS does not use this data. The data must be in---     UTF-8 format and less than 2KB.--- -   'Enabled' -- flag that enables\/disables delivery to the endpoint.---     Amazon SNS will set this to false when a notification service---     indicates to Amazon SNS that the endpoint is invalid. Users can set---     it back to true, typically after updating Token.--- -   'Token' -- device token, also referred to as a registration id, for---     an app and mobile device. This is returned from the notification---     service when an app and mobile device are registered with the---     notification service.+-- -   'CustomUserData' -- arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB.+-- -   'Enabled' -- flag that enables\/disables delivery to the endpoint. Amazon SNS will set this to false when a notification service indicates to Amazon SNS that the endpoint is invalid. Users can set it back to true, typically after updating Token.+-- -   'Token' -- device token, also referred to as a registration id, for an app and mobile device. This is returned from the notification service when an app and mobile device are registered with the notification service. gearsAttributes :: Lens' GetEndpointAttributesResponse (HashMap Text Text) gearsAttributes = lens _gearsAttributes (\ s a -> s{_gearsAttributes = a}) . _Default . _Map; 
gen/Network/AWS/SNS/GetPlatformApplicationAttributes.hs view
@@ -18,10 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Retrieves the attributes of the platform application object for the--- supported push notification services, such as APNS and GCM. For more--- information, see--- <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>.+-- Retrieves the attributes of the platform application object for the supported push notification services, such as APNS and GCM. For more information, see <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>. module Network.AWS.SNS.GetPlatformApplicationAttributes     (     -- * Creating a Request@@ -131,15 +128,10 @@  -- | Attributes include the following: ----- -   'EventEndpointCreated' -- Topic ARN to which EndpointCreated event---     notifications should be sent.--- -   'EventEndpointDeleted' -- Topic ARN to which EndpointDeleted event---     notifications should be sent.--- -   'EventEndpointUpdated' -- Topic ARN to which EndpointUpdate event---     notifications should be sent.--- -   'EventDeliveryFailure' -- Topic ARN to which DeliveryFailure event---     notifications should be sent upon Direct Publish delivery failure---     (permanent) to one of the application\'s endpoints.+-- -   'EventEndpointCreated' -- Topic ARN to which EndpointCreated event notifications should be sent.+-- -   'EventEndpointDeleted' -- Topic ARN to which EndpointDeleted event notifications should be sent.+-- -   'EventEndpointUpdated' -- Topic ARN to which EndpointUpdate event notifications should be sent.+-- -   'EventDeliveryFailure' -- Topic ARN to which DeliveryFailure event notifications should be sent upon Direct Publish delivery failure (permanent) to one of the application\'s endpoints. gpaarsAttributes :: Lens' GetPlatformApplicationAttributesResponse (HashMap Text Text) gpaarsAttributes = lens _gpaarsAttributes (\ s a -> s{_gpaarsAttributes = a}) . _Default . _Map; 
gen/Network/AWS/SNS/GetSubscriptionAttributes.hs view
@@ -120,19 +120,14 @@     , _gsarsResponseStatus = pResponseStatus_     } --- | A map of the subscription\'s attributes. Attributes in this map include--- the following:+-- | A map of the subscription\'s attributes. Attributes in this map include the following: -- -- -   'SubscriptionArn' -- the subscription\'s ARN -- -   'TopicArn' -- the topic ARN that the subscription is associated with -- -   'Owner' -- the AWS account ID of the subscription\'s owner--- -   'ConfirmationWasAuthenticated' -- true if the subscription---     confirmation request was authenticated--- -   'DeliveryPolicy' -- the JSON serialization of the subscription\'s---     delivery policy--- -   'EffectiveDeliveryPolicy' -- the JSON serialization of the effective---     delivery policy that takes into account the topic delivery policy---     and account system defaults+-- -   'ConfirmationWasAuthenticated' -- true if the subscription confirmation request was authenticated+-- -   'DeliveryPolicy' -- the JSON serialization of the subscription\'s delivery policy+-- -   'EffectiveDeliveryPolicy' -- the JSON serialization of the effective delivery policy that takes into account the topic delivery policy and account system defaults gsarsAttributes :: Lens' GetSubscriptionAttributesResponse (HashMap Text Text) gsarsAttributes = lens _gsarsAttributes (\ s a -> s{_gsarsAttributes = a}) . _Default . _Map; 
gen/Network/AWS/SNS/GetTopicAttributes.hs view
@@ -18,8 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns all of the properties of a topic. Topic properties returned--- might differ based on the authorization of the user.+-- Returns all of the properties of a topic. Topic properties returned might differ based on the authorization of the user. module Network.AWS.SNS.GetTopicAttributes     (     -- * Creating a Request@@ -120,25 +119,17 @@     , _gtarsResponseStatus = pResponseStatus_     } --- | A map of the topic\'s attributes. Attributes in this map include the--- following:+-- | A map of the topic\'s attributes. Attributes in this map include the following: -- -- -   'TopicArn' -- the topic\'s ARN -- -   'Owner' -- the AWS account ID of the topic\'s owner--- -   'Policy' -- the JSON serialization of the topic\'s access control---     policy--- -   'DisplayName' -- the human-readable name used in the \"From\" field---     for notifications to email and email-json endpoints--- -   'SubscriptionsPending' -- the number of subscriptions pending---     confirmation on this topic--- -   'SubscriptionsConfirmed' -- the number of confirmed subscriptions on---     this topic--- -   'SubscriptionsDeleted' -- the number of deleted subscriptions on---     this topic--- -   'DeliveryPolicy' -- the JSON serialization of the topic\'s delivery---     policy--- -   'EffectiveDeliveryPolicy' -- the JSON serialization of the effective---     delivery policy that takes into account system defaults+-- -   'Policy' -- the JSON serialization of the topic\'s access control policy+-- -   'DisplayName' -- the human-readable name used in the \"From\" field for notifications to email and email-json endpoints+-- -   'SubscriptionsPending' -- the number of subscriptions pending confirmation on this topic+-- -   'SubscriptionsConfirmed' -- the number of confirmed subscriptions on this topic+-- -   'SubscriptionsDeleted' -- the number of deleted subscriptions on this topic+-- -   'DeliveryPolicy' -- the JSON serialization of the topic\'s delivery policy+-- -   'EffectiveDeliveryPolicy' -- the JSON serialization of the effective delivery policy that takes into account system defaults gtarsAttributes :: Lens' GetTopicAttributesResponse (HashMap Text Text) gtarsAttributes = lens _gtarsAttributes (\ s a -> s{_gtarsAttributes = a}) . _Default . _Map; 
gen/Network/AWS/SNS/ListEndpointsByPlatformApplication.hs view
@@ -18,16 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists the endpoints and endpoint attributes for devices in a supported--- push notification service, such as GCM and APNS. The results for--- 'ListEndpointsByPlatformApplication' are paginated and return a limited--- list of endpoints, up to 100. If additional records are available after--- the first page results, then a NextToken string will be returned. To--- receive the next page, you call 'ListEndpointsByPlatformApplication'--- again using the NextToken string received from the previous call. When--- there are no more records to return, NextToken will be null. For more--- information, see--- <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>.+-- Lists the endpoints and endpoint attributes for devices in a supported push notification service, such as GCM and APNS. The results for 'ListEndpointsByPlatformApplication' are paginated and return a limited list of endpoints, up to 100. If additional records are available after the first page results, then a NextToken string will be returned. To receive the next page, you call 'ListEndpointsByPlatformApplication' again using the NextToken string received from the previous call. When there are no more records to return, NextToken will be null. For more information, see <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>. -- -- This operation returns paginated results. module Network.AWS.SNS.ListEndpointsByPlatformApplication@@ -80,14 +71,11 @@     , _lebpaPlatformApplicationARN = pPlatformApplicationARN_     } --- | NextToken string is used when calling ListEndpointsByPlatformApplication--- action to retrieve additional records that are available after the first--- page results.+-- | NextToken string is used when calling ListEndpointsByPlatformApplication action to retrieve additional records that are available after the first page results. lebpaNextToken :: Lens' ListEndpointsByPlatformApplication (Maybe Text) lebpaNextToken = lens _lebpaNextToken (\ s a -> s{_lebpaNextToken = a}); --- | PlatformApplicationArn for ListEndpointsByPlatformApplicationInput--- action.+-- | PlatformApplicationArn for ListEndpointsByPlatformApplicationInput action. lebpaPlatformApplicationARN :: Lens' ListEndpointsByPlatformApplication Text lebpaPlatformApplicationARN = lens _lebpaPlatformApplicationARN (\ s a -> s{_lebpaPlatformApplicationARN = a}); @@ -165,9 +153,7 @@     , _lebparsResponseStatus = pResponseStatus_     } --- | NextToken string is returned when calling--- ListEndpointsByPlatformApplication action if additional records are--- available after the first page results.+-- | NextToken string is returned when calling ListEndpointsByPlatformApplication action if additional records are available after the first page results. lebparsNextToken :: Lens' ListEndpointsByPlatformApplicationResponse (Maybe Text) lebparsNextToken = lens _lebparsNextToken (\ s a -> s{_lebparsNextToken = a}); 
gen/Network/AWS/SNS/ListPlatformApplications.hs view
@@ -18,15 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Lists the platform application objects for the supported push--- notification services, such as APNS and GCM. The results for--- 'ListPlatformApplications' are paginated and return a limited list of--- applications, up to 100. If additional records are available after the--- first page results, then a NextToken string will be returned. To receive--- the next page, you call 'ListPlatformApplications' using the NextToken--- string received from the previous call. When there are no more records--- to return, NextToken will be null. For more information, see--- <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>.+-- Lists the platform application objects for the supported push notification services, such as APNS and GCM. The results for 'ListPlatformApplications' are paginated and return a limited list of applications, up to 100. If additional records are available after the first page results, then a NextToken string will be returned. To receive the next page, you call 'ListPlatformApplications' using the NextToken string received from the previous call. When there are no more records to return, NextToken will be null. For more information, see <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>. -- -- This operation returns paginated results. module Network.AWS.SNS.ListPlatformApplications@@ -73,9 +65,7 @@     { _lpaNextToken = Nothing     } --- | NextToken string is used when calling ListPlatformApplications action to--- retrieve additional records that are available after the first page--- results.+-- | NextToken string is used when calling ListPlatformApplications action to retrieve additional records that are available after the first page results. lpaNextToken :: Lens' ListPlatformApplications (Maybe Text) lpaNextToken = lens _lpaNextToken (\ s a -> s{_lpaNextToken = a}); @@ -145,13 +135,11 @@     , _lparsResponseStatus = pResponseStatus_     } --- | Platform applications returned when calling ListPlatformApplications--- action.+-- | Platform applications returned when calling ListPlatformApplications action. lparsPlatformApplications :: Lens' ListPlatformApplicationsResponse [PlatformApplication] lparsPlatformApplications = lens _lparsPlatformApplications (\ s a -> s{_lparsPlatformApplications = a}) . _Default . _Coerce; --- | NextToken string is returned when calling ListPlatformApplications--- action if additional records are available after the first page results.+-- | NextToken string is returned when calling ListPlatformApplications action if additional records are available after the first page results. lparsNextToken :: Lens' ListPlatformApplicationsResponse (Maybe Text) lparsNextToken = lens _lparsNextToken (\ s a -> s{_lparsNextToken = a}); 
gen/Network/AWS/SNS/ListSubscriptions.hs view
@@ -18,10 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns a list of the requester\'s subscriptions. Each call returns a--- limited list of subscriptions, up to 100. If there are more--- subscriptions, a 'NextToken' is also returned. Use the 'NextToken'--- parameter in a new 'ListSubscriptions' call to get further results.+-- Returns a list of the requester\'s subscriptions. Each call returns a limited list of subscriptions, up to 100. If there are more subscriptions, a 'NextToken' is also returned. Use the 'NextToken' parameter in a new 'ListSubscriptions' call to get further results. -- -- This operation returns paginated results. module Network.AWS.SNS.ListSubscriptions@@ -136,8 +133,7 @@     , _lsrsResponseStatus = pResponseStatus_     } --- | Token to pass along to the next 'ListSubscriptions' request. This--- element is returned if there are more subscriptions to retrieve.+-- | Token to pass along to the next 'ListSubscriptions' request. This element is returned if there are more subscriptions to retrieve. lsrsNextToken :: Lens' ListSubscriptionsResponse (Maybe Text) lsrsNextToken = lens _lsrsNextToken (\ s a -> s{_lsrsNextToken = a}); 
gen/Network/AWS/SNS/ListSubscriptionsByTopic.hs view
@@ -18,11 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns a list of the subscriptions to a specific topic. Each call--- returns a limited list of subscriptions, up to 100. If there are more--- subscriptions, a 'NextToken' is also returned. Use the 'NextToken'--- parameter in a new 'ListSubscriptionsByTopic' call to get further--- results.+-- Returns a list of the subscriptions to a specific topic. Each call returns a limited list of subscriptions, up to 100. If there are more subscriptions, a 'NextToken' is also returned. Use the 'NextToken' parameter in a new 'ListSubscriptionsByTopic' call to get further results. -- -- This operation returns paginated results. module Network.AWS.SNS.ListSubscriptionsByTopic@@ -150,8 +146,7 @@     , _lsbtrsResponseStatus = pResponseStatus_     } --- | Token to pass along to the next 'ListSubscriptionsByTopic' request. This--- element is returned if there are more subscriptions to retrieve.+-- | Token to pass along to the next 'ListSubscriptionsByTopic' request. This element is returned if there are more subscriptions to retrieve. lsbtrsNextToken :: Lens' ListSubscriptionsByTopicResponse (Maybe Text) lsbtrsNextToken = lens _lsbtrsNextToken (\ s a -> s{_lsbtrsNextToken = a}); 
gen/Network/AWS/SNS/ListTopics.hs view
@@ -18,10 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Returns a list of the requester\'s topics. Each call returns a limited--- list of topics, up to 100. If there are more topics, a 'NextToken' is--- also returned. Use the 'NextToken' parameter in a new 'ListTopics' call--- to get further results.+-- Returns a list of the requester\'s topics. Each call returns a limited list of topics, up to 100. If there are more topics, a 'NextToken' is also returned. Use the 'NextToken' parameter in a new 'ListTopics' call to get further results. -- -- This operation returns paginated results. module Network.AWS.SNS.ListTopics@@ -138,8 +135,7 @@ ltrsTopics :: Lens' ListTopicsResponse [Topic] ltrsTopics = lens _ltrsTopics (\ s a -> s{_ltrsTopics = a}) . _Default . _Coerce; --- | Token to pass along to the next 'ListTopics' request. This element is--- returned if there are additional topics to retrieve.+-- | Token to pass along to the next 'ListTopics' request. This element is returned if there are additional topics to retrieve. ltrsNextToken :: Lens' ListTopicsResponse (Maybe Text) ltrsNextToken = lens _ltrsNextToken (\ s a -> s{_ltrsNextToken = a}); 
gen/Network/AWS/SNS/Publish.hs view
@@ -18,17 +18,9 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Sends a message to all of a topic\'s subscribed endpoints. When a--- 'messageId' is returned, the message has been saved and Amazon SNS will--- attempt to deliver it to the topic\'s subscribers shortly. The format of--- the outgoing message to each subscribed endpoint depends on the--- notification protocol selected.+-- Sends a message to all of a topic\'s subscribed endpoints. When a 'messageId' is returned, the message has been saved and Amazon SNS will attempt to deliver it to the topic\'s subscribers shortly. The format of the outgoing message to each subscribed endpoint depends on the notification protocol selected. ----- To use the 'Publish' action for sending a message to a mobile endpoint,--- such as an app on a Kindle device or mobile phone, you must specify the--- EndpointArn. The EndpointArn is returned when making a call with the--- 'CreatePlatformEndpoint' action. The second example below shows a--- request and response for publishing to a mobile endpoint.+-- To use the 'Publish' action for sending a message to a mobile endpoint, such as an app on a Kindle device or mobile phone, you must specify the EndpointArn. The EndpointArn is returned when making a call with the 'CreatePlatformEndpoint' action. The second example below shows a request and response for publishing to a mobile endpoint. module Network.AWS.SNS.Publish     (     -- * Creating a Request@@ -97,13 +89,9 @@     , _pMessage = pMessage_     } --- | Optional parameter to be used as the \"Subject\" line when the message--- is delivered to email endpoints. This field will also be included, if--- present, in the standard JSON messages delivered to other endpoints.+-- | Optional parameter to be used as the \"Subject\" line when the message is delivered to email endpoints. This field will also be included, if present, in the standard JSON messages delivered to other endpoints. ----- Constraints: Subjects must be ASCII text that begins with a letter,--- number, or punctuation mark; must not include line breaks or control--- characters; and must be less than 100 characters long.+-- Constraints: Subjects must be ASCII text that begins with a letter, number, or punctuation mark; must not include line breaks or control characters; and must be less than 100 characters long. pSubject :: Lens' Publish (Maybe Text) pSubject = lens _pSubject (\ s a -> s{_pSubject = a}); @@ -119,23 +107,14 @@ pTopicARN :: Lens' Publish (Maybe Text) pTopicARN = lens _pTopicARN (\ s a -> s{_pTopicARN = a}); --- | Set 'MessageStructure' to 'json' if you want to send a different message--- for each protocol. For example, using one publish action, you can send a--- short message to your SMS subscribers and a longer message to your email--- subscribers. If you set 'MessageStructure' to 'json', the value of the--- 'Message' parameter must:+-- | Set 'MessageStructure' to 'json' if you want to send a different message for each protocol. For example, using one publish action, you can send a short message to your SMS subscribers and a longer message to your email subscribers. If you set 'MessageStructure' to 'json', the value of the 'Message' parameter must: -- -- -   be a syntactically valid JSON object; and--- -   contain at least a top-level JSON key of \"default\" with a value---     that is a string.+-- -   contain at least a top-level JSON key of \"default\" with a value that is a string. ----- You can define other top-level keys that define the message you want to--- send to a specific transport protocol (e.g., \"http\").+-- You can define other top-level keys that define the message you want to send to a specific transport protocol (e.g., \"http\"). ----- For information about sending different messages for each protocol using--- the AWS Management Console, go to--- <http://docs.aws.amazon.com/sns/latest/gsg/Publish.html#sns-message-formatting-by-protocol Create Different Messages for Each Protocol>--- in the /Amazon Simple Notification Service Getting Started Guide/.+-- For information about sending different messages for each protocol using the AWS Management Console, go to <http://docs.aws.amazon.com/sns/latest/gsg/Publish.html#sns-message-formatting-by-protocol Create Different Messages for Each Protocol> in the /Amazon Simple Notification Service Getting Started Guide/. -- -- Valid value: 'json' pMessageStructure :: Lens' Publish (Maybe Text)@@ -143,35 +122,23 @@  -- | The message you want to send to the topic. ----- If you want to send the same message to all transport protocols, include--- the text of the message as a String value.+-- If you want to send the same message to all transport protocols, include the text of the message as a String value. ----- If you want to send different messages for each transport protocol, set--- the value of the 'MessageStructure' parameter to 'json' and use a JSON--- object for the 'Message' parameter. See the Examples section for the--- format of the JSON object.+-- If you want to send different messages for each transport protocol, set the value of the 'MessageStructure' parameter to 'json' and use a JSON object for the 'Message' parameter. See the Examples section for the format of the JSON object. ----- Constraints: Messages must be UTF-8 encoded strings at most 256 KB in--- size (262144 bytes, not 262144 characters).+-- Constraints: Messages must be UTF-8 encoded strings at most 256 KB in size (262144 bytes, not 262144 characters). -- -- JSON-specific constraints: ----- -   Keys in the JSON object that correspond to supported transport---     protocols must have simple JSON string values.--- -   The values will be parsed (unescaped) before they are used in---     outgoing messages.--- -   Outbound notifications are JSON encoded (meaning that the characters---     will be reescaped for sending).--- -   Values have a minimum length of 0 (the empty string, \"\", is---     allowed).--- -   Values have a maximum length bounded by the overall message size---     (so, including multiple protocols may limit message sizes).+-- -   Keys in the JSON object that correspond to supported transport protocols must have simple JSON string values.+-- -   The values will be parsed (unescaped) before they are used in outgoing messages.+-- -   Outbound notifications are JSON encoded (meaning that the characters will be reescaped for sending).+-- -   Values have a minimum length of 0 (the empty string, \"\", is allowed).+-- -   Values have a maximum length bounded by the overall message size (so, including multiple protocols may limit message sizes). -- -   Non-string values will cause the key to be ignored.--- -   Keys that do not correspond to supported transport protocols are---     ignored.+-- -   Keys that do not correspond to supported transport protocols are ignored. -- -   Duplicate keys are not allowed.--- -   Failure to parse or validate any key or value in the message will---     cause the 'Publish' call to return an error (no partial delivery).+-- -   Failure to parse or validate any key or value in the message will cause the 'Publish' call to return an error (no partial delivery). pMessage :: Lens' Publish Text pMessage = lens _pMessage (\ s a -> s{_pMessage = a}); 
gen/Network/AWS/SNS/SetEndpointAttributes.hs view
@@ -18,10 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Sets the attributes for an endpoint for a device on one of the supported--- push notification services, such as GCM and APNS. For more information,--- see--- <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>.+-- Sets the attributes for an endpoint for a device on one of the supported push notification services, such as GCM and APNS. For more information, see <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>. module Network.AWS.SNS.SetEndpointAttributes     (     -- * Creating a Request@@ -71,20 +68,11 @@ seaEndpointARN :: Lens' SetEndpointAttributes Text seaEndpointARN = lens _seaEndpointARN (\ s a -> s{_seaEndpointARN = a}); --- | A map of the endpoint attributes. Attributes in this map include the--- following:+-- | A map of the endpoint attributes. Attributes in this map include the following: ----- -   'CustomUserData' -- arbitrary user data to associate with the---     endpoint. Amazon SNS does not use this data. The data must be in---     UTF-8 format and less than 2KB.--- -   'Enabled' -- flag that enables\/disables delivery to the endpoint.---     Amazon SNS will set this to false when a notification service---     indicates to Amazon SNS that the endpoint is invalid. Users can set---     it back to true, typically after updating Token.--- -   'Token' -- device token, also referred to as a registration id, for---     an app and mobile device. This is returned from the notification---     service when an app and mobile device are registered with the---     notification service.+-- -   'CustomUserData' -- arbitrary user data to associate with the endpoint. Amazon SNS does not use this data. The data must be in UTF-8 format and less than 2KB.+-- -   'Enabled' -- flag that enables\/disables delivery to the endpoint. Amazon SNS will set this to false when a notification service indicates to Amazon SNS that the endpoint is invalid. Users can set it back to true, typically after updating Token.+-- -   'Token' -- device token, also referred to as a registration id, for an app and mobile device. This is returned from the notification service when an app and mobile device are registered with the notification service. seaAttributes :: Lens' SetEndpointAttributes (HashMap Text Text) seaAttributes = lens _seaAttributes (\ s a -> s{_seaAttributes = a}) . _Map; 
gen/Network/AWS/SNS/SetPlatformApplicationAttributes.hs view
@@ -18,10 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Sets the attributes of the platform application object for the supported--- push notification services, such as APNS and GCM. For more information,--- see--- <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>.+-- Sets the attributes of the platform application object for the supported push notification services, such as APNS and GCM. For more information, see <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>. module Network.AWS.SNS.SetPlatformApplicationAttributes     (     -- * Creating a Request@@ -71,26 +68,14 @@ spaaPlatformApplicationARN :: Lens' SetPlatformApplicationAttributes Text spaaPlatformApplicationARN = lens _spaaPlatformApplicationARN (\ s a -> s{_spaaPlatformApplicationARN = a}); --- | A map of the platform application attributes. Attributes in this map--- include the following:+-- | A map of the platform application attributes. Attributes in this map include the following: ----- -   'PlatformCredential' -- The credential received from the---     notification service. For APNS\/APNS_SANDBOX, PlatformCredential is---     \"private key\". For GCM, PlatformCredential is \"API key\". For---     ADM, PlatformCredential is \"client secret\".--- -   'PlatformPrincipal' -- The principal received from the notification---     service. For APNS\/APNS_SANDBOX, PlatformPrincipal is \"SSL---     certificate\". For GCM, PlatformPrincipal is not applicable. For---     ADM, PlatformPrincipal is \"client id\".--- -   'EventEndpointCreated' -- Topic ARN to which EndpointCreated event---     notifications should be sent.--- -   'EventEndpointDeleted' -- Topic ARN to which EndpointDeleted event---     notifications should be sent.--- -   'EventEndpointUpdated' -- Topic ARN to which EndpointUpdate event---     notifications should be sent.--- -   'EventDeliveryFailure' -- Topic ARN to which DeliveryFailure event---     notifications should be sent upon Direct Publish delivery failure---     (permanent) to one of the application\'s endpoints.+-- -   'PlatformCredential' -- The credential received from the notification service. For APNS\/APNS_SANDBOX, PlatformCredential is \"private key\". For GCM, PlatformCredential is \"API key\". For ADM, PlatformCredential is \"client secret\".+-- -   'PlatformPrincipal' -- The principal received from the notification service. For APNS\/APNS_SANDBOX, PlatformPrincipal is \"SSL certificate\". For GCM, PlatformPrincipal is not applicable. For ADM, PlatformPrincipal is \"client id\".+-- -   'EventEndpointCreated' -- Topic ARN to which EndpointCreated event notifications should be sent.+-- -   'EventEndpointDeleted' -- Topic ARN to which EndpointDeleted event notifications should be sent.+-- -   'EventEndpointUpdated' -- Topic ARN to which EndpointUpdate event notifications should be sent.+-- -   'EventDeliveryFailure' -- Topic ARN to which DeliveryFailure event notifications should be sent upon Direct Publish delivery failure (permanent) to one of the application\'s endpoints. spaaAttributes :: Lens' SetPlatformApplicationAttributes (HashMap Text Text) spaaAttributes = lens _spaaAttributes (\ s a -> s{_spaaAttributes = a}) . _Map; 
gen/Network/AWS/SNS/SetSubscriptionAttributes.hs view
@@ -18,8 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Allows a subscription owner to set an attribute of the topic to a new--- value.+-- Allows a subscription owner to set an attribute of the topic to a new value. module Network.AWS.SNS.SetSubscriptionAttributes     (     -- * Creating a Request@@ -79,8 +78,7 @@ ssaSubscriptionARN :: Lens' SetSubscriptionAttributes Text ssaSubscriptionARN = lens _ssaSubscriptionARN (\ s a -> s{_ssaSubscriptionARN = a}); --- | The name of the attribute you want to set. Only a subset of the--- subscriptions attributes are mutable.+-- | The name of the attribute you want to set. Only a subset of the subscriptions attributes are mutable. -- -- Valid values: 'DeliveryPolicy' | 'RawMessageDelivery' ssaAttributeName :: Lens' SetSubscriptionAttributes Text
gen/Network/AWS/SNS/SetTopicAttributes.hs view
@@ -78,8 +78,7 @@ staTopicARN :: Lens' SetTopicAttributes Text staTopicARN = lens _staTopicARN (\ s a -> s{_staTopicARN = a}); --- | The name of the attribute you want to set. Only a subset of the topic\'s--- attributes are mutable.+-- | The name of the attribute you want to set. Only a subset of the topic\'s attributes are mutable. -- -- Valid values: 'Policy' | 'DisplayName' | 'DeliveryPolicy' staAttributeName :: Lens' SetTopicAttributes Text
gen/Network/AWS/SNS/Subscribe.hs view
@@ -18,10 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Prepares to subscribe an endpoint by sending the endpoint a confirmation--- message. To actually create a subscription, the endpoint owner must call--- the 'ConfirmSubscription' action with the token from the confirmation--- message. Confirmation tokens are valid for three days.+-- Prepares to subscribe an endpoint by sending the endpoint a confirmation message. To actually create a subscription, the endpoint owner must call the 'ConfirmSubscription' action with the token from the confirmation message. Confirmation tokens are valid for three days. module Network.AWS.SNS.Subscribe     (     -- * Creating a Request@@ -76,21 +73,15 @@     , _subProtocol = pProtocol_     } --- | The endpoint that you want to receive notifications. Endpoints vary by--- protocol:+-- | The endpoint that you want to receive notifications. Endpoints vary by protocol: ----- -   For the 'http' protocol, the endpoint is an URL beginning with---     \"http:\/\/\"--- -   For the 'https' protocol, the endpoint is a URL beginning with---     \"https:\/\/\"+-- -   For the 'http' protocol, the endpoint is an URL beginning with \"http:\/\/\"+-- -   For the 'https' protocol, the endpoint is a URL beginning with \"https:\/\/\" -- -   For the 'email' protocol, the endpoint is an email address -- -   For the 'email-json' protocol, the endpoint is an email address--- -   For the 'sms' protocol, the endpoint is a phone number of an---     SMS-enabled device--- -   For the 'sqs' protocol, the endpoint is the ARN of an Amazon SQS---     queue--- -   For the 'application' protocol, the endpoint is the EndpointArn of a---     mobile app and device.+-- -   For the 'sms' protocol, the endpoint is a phone number of an SMS-enabled device+-- -   For the 'sqs' protocol, the endpoint is the ARN of an Amazon SQS queue+-- -   For the 'application' protocol, the endpoint is the EndpointArn of a mobile app and device. subEndpoint :: Lens' Subscribe (Maybe Text) subEndpoint = lens _subEndpoint (\ s a -> s{_subEndpoint = a}); @@ -106,8 +97,7 @@ -- -   'email-json' -- delivery of JSON-encoded message via SMTP -- -   'sms' -- delivery of message via SMS -- -   'sqs' -- delivery of JSON-encoded message to an Amazon SQS queue--- -   'application' -- delivery of JSON-encoded message to an EndpointArn---     for a mobile app and device.+-- -   'application' -- delivery of JSON-encoded message to an EndpointArn for a mobile app and device. subProtocol :: Lens' Subscribe Text subProtocol = lens _subProtocol (\ s a -> s{_subProtocol = a}); @@ -163,9 +153,7 @@     , _srsResponseStatus = pResponseStatus_     } --- | The ARN of the subscription, if the service was able to create a--- subscription immediately (without requiring endpoint owner--- confirmation).+-- | The ARN of the subscription, if the service was able to create a subscription immediately (without requiring endpoint owner confirmation). srsSubscriptionARN :: Lens' SubscribeResponse (Maybe Text) srsSubscriptionARN = lens _srsSubscriptionARN (\ s a -> s{_srsSubscriptionARN = a}); 
gen/Network/AWS/SNS/Types.hs view
@@ -105,20 +105,17 @@ _EndpointDisabledException =     _ServiceError . hasStatus 400 . hasCode "EndpointDisabled" --- | Indicates that the user has been denied access to the requested--- resource.+-- | Indicates that the user has been denied access to the requested resource. _AuthorizationErrorException :: AsError a => Getting (First ServiceError) a ServiceError _AuthorizationErrorException =     _ServiceError . hasStatus 403 . hasCode "AuthorizationError" --- | Indicates that a request parameter does not comply with the associated--- constraints.+-- | Indicates that a request parameter does not comply with the associated constraints. _InvalidParameterException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidParameterException =     _ServiceError . hasStatus 400 . hasCode "InvalidParameter" --- | Indicates that the customer already owns the maximum allowed number of--- subscriptions.+-- | Indicates that the customer already owns the maximum allowed number of subscriptions. _SubscriptionLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError _SubscriptionLimitExceededException =     _ServiceError . hasStatus 403 . hasCode "SubscriptionLimitExceeded"@@ -133,8 +130,7 @@ _InternalErrorException =     _ServiceError . hasStatus 500 . hasCode "InternalError" --- | Indicates that a request parameter does not comply with the associated--- constraints.+-- | Indicates that a request parameter does not comply with the associated constraints. _InvalidParameterValueException :: AsError a => Getting (First ServiceError) a ServiceError _InvalidParameterValueException =     _ServiceError . hasStatus 400 . hasCode "ParameterValueInvalid"@@ -143,8 +139,7 @@ _NotFoundException :: AsError a => Getting (First ServiceError) a ServiceError _NotFoundException = _ServiceError . hasStatus 404 . hasCode "NotFound" --- | Indicates that the customer already owns the maximum allowed number of--- topics.+-- | Indicates that the customer already owns the maximum allowed number of topics. _TopicLimitExceededException :: AsError a => Getting (First ServiceError) a ServiceError _TopicLimitExceededException =     _ServiceError . hasStatus 403 . hasCode "TopicLimitExceeded"
gen/Network/AWS/SNS/Types/Product.hs view
@@ -63,17 +63,9 @@  instance NFData Endpoint --- | The user-specified message attribute value. For string data types, the--- value attribute has the same restrictions on the content as the message--- body. For more information, see--- <http://docs.aws.amazon.com/sns/latest/api/API_Publish.html Publish>.+-- | The user-specified message attribute value. For string data types, the value attribute has the same restrictions on the content as the message body. For more information, see <http://docs.aws.amazon.com/sns/latest/api/API_Publish.html Publish>. ----- Name, type, and value must not be empty or null. In addition, the--- message body should not be empty or null. All parts of the message--- attribute, including name, type, and value, are included in the message--- size restriction, which is currently 256 KB (262,144 bytes). For more--- information, see--- <http://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html Using Amazon SNS Message Attributes>.+-- Name, type, and value must not be empty or null. In addition, the message body should not be empty or null. All parts of the message attribute, including name, type, and value, are included in the message size restriction, which is currently 256 KB (262,144 bytes). For more information, see <http://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html Using Amazon SNS Message Attributes>. -- -- /See:/ 'messageAttributeValue' smart constructor. data MessageAttributeValue = MessageAttributeValue'@@ -101,8 +93,7 @@     , _mavDataType = pDataType_     } --- | Binary type attributes can store any binary data, for example,--- compressed data, encrypted data, or images.+-- | Binary type attributes can store any binary data, for example, compressed data, encrypted data, or images. -- -- /Note:/ This 'Lens' automatically encodes and decodes Base64 data, -- despite what the AWS documentation might say.@@ -112,15 +103,11 @@ mavBinaryValue :: Lens' MessageAttributeValue (Maybe ByteString) mavBinaryValue = lens _mavBinaryValue (\ s a -> s{_mavBinaryValue = a}) . mapping _Base64; --- | Strings are Unicode with UTF8 binary encoding. For a list of code--- values, see--- <http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters>.+-- | Strings are Unicode with UTF8 binary encoding. For a list of code values, see <http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters>. mavStringValue :: Lens' MessageAttributeValue (Maybe Text) mavStringValue = lens _mavStringValue (\ s a -> s{_mavStringValue = a}); --- | Amazon SNS supports the following logical data types: String, Number,--- and Binary. For more information, see--- <http://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html#SNSMessageAttributes.DataTypes Message Attribute Data Types>.+-- | Amazon SNS supports the following logical data types: String, Number, and Binary. For more information, see <http://docs.aws.amazon.com/sns/latest/dg/SNSMessageAttributes.html#SNSMessageAttributes.DataTypes Message Attribute Data Types>. mavDataType :: Lens' MessageAttributeValue Text mavDataType = lens _mavDataType (\ s a -> s{_mavDataType = a}); @@ -244,8 +231,7 @@  instance NFData Subscription --- | A wrapper type for the topic\'s Amazon Resource Name (ARN). To retrieve--- a topic\'s attributes, use 'GetTopicAttributes'.+-- | A wrapper type for the topic\'s Amazon Resource Name (ARN). To retrieve a topic\'s attributes, use 'GetTopicAttributes'. -- -- /See:/ 'topic' smart constructor. newtype Topic = Topic'
gen/Network/AWS/SNS/Unsubscribe.hs view
@@ -18,13 +18,7 @@ -- Stability   : auto-generated -- Portability : non-portable (GHC extensions) ----- Deletes a subscription. If the subscription requires authentication for--- deletion, only the owner of the subscription or the topic\'s owner can--- unsubscribe, and an AWS signature is required. If the 'Unsubscribe' call--- does not require authentication and the requester is not the--- subscription owner, a final cancellation message is delivered to the--- endpoint, so that the endpoint owner can easily resubscribe to the topic--- if the 'Unsubscribe' request was unintended.+-- Deletes a subscription. If the subscription requires authentication for deletion, only the owner of the subscription or the topic\'s owner can unsubscribe, and an AWS signature is required. If the 'Unsubscribe' call does not require authentication and the requester is not the subscription owner, a final cancellation message is delivered to the endpoint, so that the endpoint owner can easily resubscribe to the topic if the 'Unsubscribe' request was unintended. module Network.AWS.SNS.Unsubscribe     (     -- * Creating a Request
test/Test/AWS/Gen/SNS.hs view
@@ -28,157 +28,157 @@ -- fixtures :: TestTree -- fixtures = --     [ testGroup "request"---         [ testDeleteEndpoint $+--         [ requestDeleteEndpoint $ --             deleteEndpoint -----         , testRemovePermission $+--         , requestRemovePermission $ --             removePermission -----         , testDeleteTopic $+--         , requestDeleteTopic $ --             deleteTopic -----         , testListTopics $+--         , requestListTopics $ --             listTopics -----         , testCreatePlatformEndpoint $+--         , requestCreatePlatformEndpoint $ --             createPlatformEndpoint -----         , testSetPlatformApplicationAttributes $+--         , requestSetPlatformApplicationAttributes $ --             setPlatformApplicationAttributes -----         , testListSubscriptionsByTopic $+--         , requestListSubscriptionsByTopic $ --             listSubscriptionsByTopic -----         , testGetTopicAttributes $+--         , requestGetTopicAttributes $ --             getTopicAttributes -----         , testCreatePlatformApplication $+--         , requestCreatePlatformApplication $ --             createPlatformApplication -----         , testGetPlatformApplicationAttributes $+--         , requestGetPlatformApplicationAttributes $ --             getPlatformApplicationAttributes -----         , testListEndpointsByPlatformApplication $+--         , requestListEndpointsByPlatformApplication $ --             listEndpointsByPlatformApplication -----         , testSetTopicAttributes $+--         , requestSetTopicAttributes $ --             setTopicAttributes -----         , testDeletePlatformApplication $+--         , requestDeletePlatformApplication $ --             deletePlatformApplication -----         , testListPlatformApplications $+--         , requestListPlatformApplications $ --             listPlatformApplications -----         , testAddPermission $+--         , requestAddPermission $ --             addPermission -----         , testGetEndpointAttributes $+--         , requestGetEndpointAttributes $ --             getEndpointAttributes -----         , testListSubscriptions $+--         , requestListSubscriptions $ --             listSubscriptions -----         , testGetSubscriptionAttributes $+--         , requestGetSubscriptionAttributes $ --             getSubscriptionAttributes -----         , testCreateTopic $+--         , requestCreateTopic $ --             createTopic -----         , testSubscribe $+--         , requestSubscribe $ --             subscribe -----         , testUnsubscribe $+--         , requestUnsubscribe $ --             unsubscribe -----         , testSetEndpointAttributes $+--         , requestSetEndpointAttributes $ --             setEndpointAttributes -----         , testSetSubscriptionAttributes $+--         , requestSetSubscriptionAttributes $ --             setSubscriptionAttributes -----         , testConfirmSubscription $+--         , requestConfirmSubscription $ --             confirmSubscription -----         , testPublish $+--         , requestPublish $ --             publish -- --           ]  --     , testGroup "response"---         [ testDeleteEndpointResponse $+--         [ responseDeleteEndpoint $ --             deleteEndpointResponse -----         , testRemovePermissionResponse $+--         , responseRemovePermission $ --             removePermissionResponse -----         , testDeleteTopicResponse $+--         , responseDeleteTopic $ --             deleteTopicResponse -----         , testListTopicsResponse $+--         , responseListTopics $ --             listTopicsResponse -----         , testCreatePlatformEndpointResponse $+--         , responseCreatePlatformEndpoint $ --             createPlatformEndpointResponse -----         , testSetPlatformApplicationAttributesResponse $+--         , responseSetPlatformApplicationAttributes $ --             setPlatformApplicationAttributesResponse -----         , testListSubscriptionsByTopicResponse $+--         , responseListSubscriptionsByTopic $ --             listSubscriptionsByTopicResponse -----         , testGetTopicAttributesResponse $+--         , responseGetTopicAttributes $ --             getTopicAttributesResponse -----         , testCreatePlatformApplicationResponse $+--         , responseCreatePlatformApplication $ --             createPlatformApplicationResponse -----         , testGetPlatformApplicationAttributesResponse $+--         , responseGetPlatformApplicationAttributes $ --             getPlatformApplicationAttributesResponse -----         , testListEndpointsByPlatformApplicationResponse $+--         , responseListEndpointsByPlatformApplication $ --             listEndpointsByPlatformApplicationResponse -----         , testSetTopicAttributesResponse $+--         , responseSetTopicAttributes $ --             setTopicAttributesResponse -----         , testDeletePlatformApplicationResponse $+--         , responseDeletePlatformApplication $ --             deletePlatformApplicationResponse -----         , testListPlatformApplicationsResponse $+--         , responseListPlatformApplications $ --             listPlatformApplicationsResponse -----         , testAddPermissionResponse $+--         , responseAddPermission $ --             addPermissionResponse -----         , testGetEndpointAttributesResponse $+--         , responseGetEndpointAttributes $ --             getEndpointAttributesResponse -----         , testListSubscriptionsResponse $+--         , responseListSubscriptions $ --             listSubscriptionsResponse -----         , testGetSubscriptionAttributesResponse $+--         , responseGetSubscriptionAttributes $ --             getSubscriptionAttributesResponse -----         , testCreateTopicResponse $+--         , responseCreateTopic $ --             createTopicResponse -----         , testSubscribeResponse $+--         , responseSubscribe $ --             subscribeResponse -----         , testUnsubscribeResponse $+--         , responseUnsubscribe $ --             unsubscribeResponse -----         , testSetEndpointAttributesResponse $+--         , responseSetEndpointAttributes $ --             setEndpointAttributesResponse -----         , testSetSubscriptionAttributesResponse $+--         , responseSetSubscriptionAttributes $ --             setSubscriptionAttributesResponse -----         , testConfirmSubscriptionResponse $+--         , responseConfirmSubscription $ --             confirmSubscriptionResponse -----         , testPublishResponse $+--         , responsePublish $ --             publishResponse -- --           ]@@ -186,303 +186,303 @@  -- Requests -testDeleteEndpoint :: DeleteEndpoint -> TestTree-testDeleteEndpoint = req+requestDeleteEndpoint :: DeleteEndpoint -> TestTree+requestDeleteEndpoint = req     "DeleteEndpoint"     "fixture/DeleteEndpoint.yaml" -testRemovePermission :: RemovePermission -> TestTree-testRemovePermission = req+requestRemovePermission :: RemovePermission -> TestTree+requestRemovePermission = req     "RemovePermission"     "fixture/RemovePermission.yaml" -testDeleteTopic :: DeleteTopic -> TestTree-testDeleteTopic = req+requestDeleteTopic :: DeleteTopic -> TestTree+requestDeleteTopic = req     "DeleteTopic"     "fixture/DeleteTopic.yaml" -testListTopics :: ListTopics -> TestTree-testListTopics = req+requestListTopics :: ListTopics -> TestTree+requestListTopics = req     "ListTopics"     "fixture/ListTopics.yaml" -testCreatePlatformEndpoint :: CreatePlatformEndpoint -> TestTree-testCreatePlatformEndpoint = req+requestCreatePlatformEndpoint :: CreatePlatformEndpoint -> TestTree+requestCreatePlatformEndpoint = req     "CreatePlatformEndpoint"     "fixture/CreatePlatformEndpoint.yaml" -testSetPlatformApplicationAttributes :: SetPlatformApplicationAttributes -> TestTree-testSetPlatformApplicationAttributes = req+requestSetPlatformApplicationAttributes :: SetPlatformApplicationAttributes -> TestTree+requestSetPlatformApplicationAttributes = req     "SetPlatformApplicationAttributes"     "fixture/SetPlatformApplicationAttributes.yaml" -testListSubscriptionsByTopic :: ListSubscriptionsByTopic -> TestTree-testListSubscriptionsByTopic = req+requestListSubscriptionsByTopic :: ListSubscriptionsByTopic -> TestTree+requestListSubscriptionsByTopic = req     "ListSubscriptionsByTopic"     "fixture/ListSubscriptionsByTopic.yaml" -testGetTopicAttributes :: GetTopicAttributes -> TestTree-testGetTopicAttributes = req+requestGetTopicAttributes :: GetTopicAttributes -> TestTree+requestGetTopicAttributes = req     "GetTopicAttributes"     "fixture/GetTopicAttributes.yaml" -testCreatePlatformApplication :: CreatePlatformApplication -> TestTree-testCreatePlatformApplication = req+requestCreatePlatformApplication :: CreatePlatformApplication -> TestTree+requestCreatePlatformApplication = req     "CreatePlatformApplication"     "fixture/CreatePlatformApplication.yaml" -testGetPlatformApplicationAttributes :: GetPlatformApplicationAttributes -> TestTree-testGetPlatformApplicationAttributes = req+requestGetPlatformApplicationAttributes :: GetPlatformApplicationAttributes -> TestTree+requestGetPlatformApplicationAttributes = req     "GetPlatformApplicationAttributes"     "fixture/GetPlatformApplicationAttributes.yaml" -testListEndpointsByPlatformApplication :: ListEndpointsByPlatformApplication -> TestTree-testListEndpointsByPlatformApplication = req+requestListEndpointsByPlatformApplication :: ListEndpointsByPlatformApplication -> TestTree+requestListEndpointsByPlatformApplication = req     "ListEndpointsByPlatformApplication"     "fixture/ListEndpointsByPlatformApplication.yaml" -testSetTopicAttributes :: SetTopicAttributes -> TestTree-testSetTopicAttributes = req+requestSetTopicAttributes :: SetTopicAttributes -> TestTree+requestSetTopicAttributes = req     "SetTopicAttributes"     "fixture/SetTopicAttributes.yaml" -testDeletePlatformApplication :: DeletePlatformApplication -> TestTree-testDeletePlatformApplication = req+requestDeletePlatformApplication :: DeletePlatformApplication -> TestTree+requestDeletePlatformApplication = req     "DeletePlatformApplication"     "fixture/DeletePlatformApplication.yaml" -testListPlatformApplications :: ListPlatformApplications -> TestTree-testListPlatformApplications = req+requestListPlatformApplications :: ListPlatformApplications -> TestTree+requestListPlatformApplications = req     "ListPlatformApplications"     "fixture/ListPlatformApplications.yaml" -testAddPermission :: AddPermission -> TestTree-testAddPermission = req+requestAddPermission :: AddPermission -> TestTree+requestAddPermission = req     "AddPermission"     "fixture/AddPermission.yaml" -testGetEndpointAttributes :: GetEndpointAttributes -> TestTree-testGetEndpointAttributes = req+requestGetEndpointAttributes :: GetEndpointAttributes -> TestTree+requestGetEndpointAttributes = req     "GetEndpointAttributes"     "fixture/GetEndpointAttributes.yaml" -testListSubscriptions :: ListSubscriptions -> TestTree-testListSubscriptions = req+requestListSubscriptions :: ListSubscriptions -> TestTree+requestListSubscriptions = req     "ListSubscriptions"     "fixture/ListSubscriptions.yaml" -testGetSubscriptionAttributes :: GetSubscriptionAttributes -> TestTree-testGetSubscriptionAttributes = req+requestGetSubscriptionAttributes :: GetSubscriptionAttributes -> TestTree+requestGetSubscriptionAttributes = req     "GetSubscriptionAttributes"     "fixture/GetSubscriptionAttributes.yaml" -testCreateTopic :: CreateTopic -> TestTree-testCreateTopic = req+requestCreateTopic :: CreateTopic -> TestTree+requestCreateTopic = req     "CreateTopic"     "fixture/CreateTopic.yaml" -testSubscribe :: Subscribe -> TestTree-testSubscribe = req+requestSubscribe :: Subscribe -> TestTree+requestSubscribe = req     "Subscribe"     "fixture/Subscribe.yaml" -testUnsubscribe :: Unsubscribe -> TestTree-testUnsubscribe = req+requestUnsubscribe :: Unsubscribe -> TestTree+requestUnsubscribe = req     "Unsubscribe"     "fixture/Unsubscribe.yaml" -testSetEndpointAttributes :: SetEndpointAttributes -> TestTree-testSetEndpointAttributes = req+requestSetEndpointAttributes :: SetEndpointAttributes -> TestTree+requestSetEndpointAttributes = req     "SetEndpointAttributes"     "fixture/SetEndpointAttributes.yaml" -testSetSubscriptionAttributes :: SetSubscriptionAttributes -> TestTree-testSetSubscriptionAttributes = req+requestSetSubscriptionAttributes :: SetSubscriptionAttributes -> TestTree+requestSetSubscriptionAttributes = req     "SetSubscriptionAttributes"     "fixture/SetSubscriptionAttributes.yaml" -testConfirmSubscription :: ConfirmSubscription -> TestTree-testConfirmSubscription = req+requestConfirmSubscription :: ConfirmSubscription -> TestTree+requestConfirmSubscription = req     "ConfirmSubscription"     "fixture/ConfirmSubscription.yaml" -testPublish :: Publish -> TestTree-testPublish = req+requestPublish :: Publish -> TestTree+requestPublish = req     "Publish"     "fixture/Publish.yaml"  -- Responses -testDeleteEndpointResponse :: DeleteEndpointResponse -> TestTree-testDeleteEndpointResponse = res+responseDeleteEndpoint :: DeleteEndpointResponse -> TestTree+responseDeleteEndpoint = res     "DeleteEndpointResponse"     "fixture/DeleteEndpointResponse.proto"     sns     (Proxy :: Proxy DeleteEndpoint) -testRemovePermissionResponse :: RemovePermissionResponse -> TestTree-testRemovePermissionResponse = res+responseRemovePermission :: RemovePermissionResponse -> TestTree+responseRemovePermission = res     "RemovePermissionResponse"     "fixture/RemovePermissionResponse.proto"     sns     (Proxy :: Proxy RemovePermission) -testDeleteTopicResponse :: DeleteTopicResponse -> TestTree-testDeleteTopicResponse = res+responseDeleteTopic :: DeleteTopicResponse -> TestTree+responseDeleteTopic = res     "DeleteTopicResponse"     "fixture/DeleteTopicResponse.proto"     sns     (Proxy :: Proxy DeleteTopic) -testListTopicsResponse :: ListTopicsResponse -> TestTree-testListTopicsResponse = res+responseListTopics :: ListTopicsResponse -> TestTree+responseListTopics = res     "ListTopicsResponse"     "fixture/ListTopicsResponse.proto"     sns     (Proxy :: Proxy ListTopics) -testCreatePlatformEndpointResponse :: CreatePlatformEndpointResponse -> TestTree-testCreatePlatformEndpointResponse = res+responseCreatePlatformEndpoint :: CreatePlatformEndpointResponse -> TestTree+responseCreatePlatformEndpoint = res     "CreatePlatformEndpointResponse"     "fixture/CreatePlatformEndpointResponse.proto"     sns     (Proxy :: Proxy CreatePlatformEndpoint) -testSetPlatformApplicationAttributesResponse :: SetPlatformApplicationAttributesResponse -> TestTree-testSetPlatformApplicationAttributesResponse = res+responseSetPlatformApplicationAttributes :: SetPlatformApplicationAttributesResponse -> TestTree+responseSetPlatformApplicationAttributes = res     "SetPlatformApplicationAttributesResponse"     "fixture/SetPlatformApplicationAttributesResponse.proto"     sns     (Proxy :: Proxy SetPlatformApplicationAttributes) -testListSubscriptionsByTopicResponse :: ListSubscriptionsByTopicResponse -> TestTree-testListSubscriptionsByTopicResponse = res+responseListSubscriptionsByTopic :: ListSubscriptionsByTopicResponse -> TestTree+responseListSubscriptionsByTopic = res     "ListSubscriptionsByTopicResponse"     "fixture/ListSubscriptionsByTopicResponse.proto"     sns     (Proxy :: Proxy ListSubscriptionsByTopic) -testGetTopicAttributesResponse :: GetTopicAttributesResponse -> TestTree-testGetTopicAttributesResponse = res+responseGetTopicAttributes :: GetTopicAttributesResponse -> TestTree+responseGetTopicAttributes = res     "GetTopicAttributesResponse"     "fixture/GetTopicAttributesResponse.proto"     sns     (Proxy :: Proxy GetTopicAttributes) -testCreatePlatformApplicationResponse :: CreatePlatformApplicationResponse -> TestTree-testCreatePlatformApplicationResponse = res+responseCreatePlatformApplication :: CreatePlatformApplicationResponse -> TestTree+responseCreatePlatformApplication = res     "CreatePlatformApplicationResponse"     "fixture/CreatePlatformApplicationResponse.proto"     sns     (Proxy :: Proxy CreatePlatformApplication) -testGetPlatformApplicationAttributesResponse :: GetPlatformApplicationAttributesResponse -> TestTree-testGetPlatformApplicationAttributesResponse = res+responseGetPlatformApplicationAttributes :: GetPlatformApplicationAttributesResponse -> TestTree+responseGetPlatformApplicationAttributes = res     "GetPlatformApplicationAttributesResponse"     "fixture/GetPlatformApplicationAttributesResponse.proto"     sns     (Proxy :: Proxy GetPlatformApplicationAttributes) -testListEndpointsByPlatformApplicationResponse :: ListEndpointsByPlatformApplicationResponse -> TestTree-testListEndpointsByPlatformApplicationResponse = res+responseListEndpointsByPlatformApplication :: ListEndpointsByPlatformApplicationResponse -> TestTree+responseListEndpointsByPlatformApplication = res     "ListEndpointsByPlatformApplicationResponse"     "fixture/ListEndpointsByPlatformApplicationResponse.proto"     sns     (Proxy :: Proxy ListEndpointsByPlatformApplication) -testSetTopicAttributesResponse :: SetTopicAttributesResponse -> TestTree-testSetTopicAttributesResponse = res+responseSetTopicAttributes :: SetTopicAttributesResponse -> TestTree+responseSetTopicAttributes = res     "SetTopicAttributesResponse"     "fixture/SetTopicAttributesResponse.proto"     sns     (Proxy :: Proxy SetTopicAttributes) -testDeletePlatformApplicationResponse :: DeletePlatformApplicationResponse -> TestTree-testDeletePlatformApplicationResponse = res+responseDeletePlatformApplication :: DeletePlatformApplicationResponse -> TestTree+responseDeletePlatformApplication = res     "DeletePlatformApplicationResponse"     "fixture/DeletePlatformApplicationResponse.proto"     sns     (Proxy :: Proxy DeletePlatformApplication) -testListPlatformApplicationsResponse :: ListPlatformApplicationsResponse -> TestTree-testListPlatformApplicationsResponse = res+responseListPlatformApplications :: ListPlatformApplicationsResponse -> TestTree+responseListPlatformApplications = res     "ListPlatformApplicationsResponse"     "fixture/ListPlatformApplicationsResponse.proto"     sns     (Proxy :: Proxy ListPlatformApplications) -testAddPermissionResponse :: AddPermissionResponse -> TestTree-testAddPermissionResponse = res+responseAddPermission :: AddPermissionResponse -> TestTree+responseAddPermission = res     "AddPermissionResponse"     "fixture/AddPermissionResponse.proto"     sns     (Proxy :: Proxy AddPermission) -testGetEndpointAttributesResponse :: GetEndpointAttributesResponse -> TestTree-testGetEndpointAttributesResponse = res+responseGetEndpointAttributes :: GetEndpointAttributesResponse -> TestTree+responseGetEndpointAttributes = res     "GetEndpointAttributesResponse"     "fixture/GetEndpointAttributesResponse.proto"     sns     (Proxy :: Proxy GetEndpointAttributes) -testListSubscriptionsResponse :: ListSubscriptionsResponse -> TestTree-testListSubscriptionsResponse = res+responseListSubscriptions :: ListSubscriptionsResponse -> TestTree+responseListSubscriptions = res     "ListSubscriptionsResponse"     "fixture/ListSubscriptionsResponse.proto"     sns     (Proxy :: Proxy ListSubscriptions) -testGetSubscriptionAttributesResponse :: GetSubscriptionAttributesResponse -> TestTree-testGetSubscriptionAttributesResponse = res+responseGetSubscriptionAttributes :: GetSubscriptionAttributesResponse -> TestTree+responseGetSubscriptionAttributes = res     "GetSubscriptionAttributesResponse"     "fixture/GetSubscriptionAttributesResponse.proto"     sns     (Proxy :: Proxy GetSubscriptionAttributes) -testCreateTopicResponse :: CreateTopicResponse -> TestTree-testCreateTopicResponse = res+responseCreateTopic :: CreateTopicResponse -> TestTree+responseCreateTopic = res     "CreateTopicResponse"     "fixture/CreateTopicResponse.proto"     sns     (Proxy :: Proxy CreateTopic) -testSubscribeResponse :: SubscribeResponse -> TestTree-testSubscribeResponse = res+responseSubscribe :: SubscribeResponse -> TestTree+responseSubscribe = res     "SubscribeResponse"     "fixture/SubscribeResponse.proto"     sns     (Proxy :: Proxy Subscribe) -testUnsubscribeResponse :: UnsubscribeResponse -> TestTree-testUnsubscribeResponse = res+responseUnsubscribe :: UnsubscribeResponse -> TestTree+responseUnsubscribe = res     "UnsubscribeResponse"     "fixture/UnsubscribeResponse.proto"     sns     (Proxy :: Proxy Unsubscribe) -testSetEndpointAttributesResponse :: SetEndpointAttributesResponse -> TestTree-testSetEndpointAttributesResponse = res+responseSetEndpointAttributes :: SetEndpointAttributesResponse -> TestTree+responseSetEndpointAttributes = res     "SetEndpointAttributesResponse"     "fixture/SetEndpointAttributesResponse.proto"     sns     (Proxy :: Proxy SetEndpointAttributes) -testSetSubscriptionAttributesResponse :: SetSubscriptionAttributesResponse -> TestTree-testSetSubscriptionAttributesResponse = res+responseSetSubscriptionAttributes :: SetSubscriptionAttributesResponse -> TestTree+responseSetSubscriptionAttributes = res     "SetSubscriptionAttributesResponse"     "fixture/SetSubscriptionAttributesResponse.proto"     sns     (Proxy :: Proxy SetSubscriptionAttributes) -testConfirmSubscriptionResponse :: ConfirmSubscriptionResponse -> TestTree-testConfirmSubscriptionResponse = res+responseConfirmSubscription :: ConfirmSubscriptionResponse -> TestTree+responseConfirmSubscription = res     "ConfirmSubscriptionResponse"     "fixture/ConfirmSubscriptionResponse.proto"     sns     (Proxy :: Proxy ConfirmSubscription) -testPublishResponse :: PublishResponse -> TestTree-testPublishResponse = res+responsePublish :: PublishResponse -> TestTree+responsePublish = res     "PublishResponse"     "fixture/PublishResponse.proto"     sns