packages feed

amazonka-sns 0.0.1 → 0.0.2

raw patch · 27 files changed

+288/−290 lines, 27 filesdep ~amazonka-corePVP ok

version bump matches the API change (PVP)

Dependency ranges changed: amazonka-core

API changes (from Hackage documentation)

Files

README.md view
@@ -8,7 +8,16 @@  ## Description -Amazon Simple Notification Service (Amazon SNS) is a fast, flexible, fully managed push messaging service. Amazon SNS makes it simple and cost-effective to push notifications to Apple, Google, Fire OS, and Windows devices, as well as Android devices in China with Baidu Cloud Push. You can also use SNS to push notifications to internet connected smart devices, as well as other distributed services. Besides pushing cloud notifications directly to mobile devices, Amazon SNS can also deliver notifications by SMS text message or email, to Amazon Simple Queue Service (SQS) queues, or to any HTTP endpoint. To prevent messages from being lost, all messages published to Amazon SNS are stored redundantly across multiple availability zones.+    Amazon Simple Notification Service (Amazon SNS) is a fast, flexible, fully+    managed push messaging service. Amazon SNS makes it simple and cost-effective+    to push notifications to Apple, Google, Fire OS, and Windows devices, as well+    as Android devices in China with Baidu Cloud Push. You can also use SNS to+    push notifications to internet connected smart devices, as well as other+    distributed services. Besides pushing cloud notifications directly to mobile+    devices, Amazon SNS can also deliver notifications by SMS text message or+    email, to Amazon Simple Queue Service (SQS) queues, or to any HTTP endpoint.+    To prevent messages from being lost, all messages published to Amazon SNS are+    stored redundantly across multiple availability zones.  Documentation is available via [Hackage](http://hackage.haskell.org/package/amazonka-sns) and [AWS API Reference](http://docs.aws.amazon.com/sns/latest/api/Welcome.html).
amazonka-sns.cabal view
@@ -1,5 +1,5 @@ name:                  amazonka-sns-version:               0.0.1+version:               0.0.2 synopsis:              Amazon Simple Notification Service SDK. homepage:              https://github.com/brendanhay/amazonka license:               OtherLicense@@ -13,16 +13,15 @@ cabal-version:         >= 1.10  description:-    Amazon Simple Notification Service (Amazon SNS) is a fast, flexible,-    fully managed push messaging service. Amazon SNS makes it simple and-    cost-effective to push notifications to Apple, Google, Fire OS, and-    Windows devices, as well as Android devices in China with Baidu Cloud-    Push. You can also use SNS to push notifications to internet connected-    smart devices, as well as other distributed services. Besides pushing-    cloud notifications directly to mobile devices, Amazon SNS can also-    deliver notifications by SMS text message or email, to Amazon Simple-    Queue Service (SQS) queues, or to any HTTP endpoint. To prevent-    messages from being lost, all messages published to Amazon SNS are+    Amazon Simple Notification Service (Amazon SNS) is a fast, flexible, fully+    managed push messaging service. Amazon SNS makes it simple and cost-effective+    to push notifications to Apple, Google, Fire OS, and Windows devices, as well+    as Android devices in China with Baidu Cloud Push. You can also use SNS to+    push notifications to internet connected smart devices, as well as other+    distributed services. Besides pushing cloud notifications directly to mobile+    devices, Amazon SNS can also deliver notifications by SMS text message or+    email, to Amazon Simple Queue Service (SQS) queues, or to any HTTP endpoint.+    To prevent messages from being lost, all messages published to Amazon SNS are     stored redundantly across multiple availability zones.     .     /See:/ <http://docs.aws.amazon.com/sns/latest/api/Welcome.html AWS API Reference>@@ -72,5 +71,5 @@     other-modules:      build-depends:-          amazonka-core == 0.0.1.*+          amazonka-core == 0.0.2.*         , base          >= 4.7     && < 5
gen/Network/AWS/SNS.hs view
@@ -9,16 +9,15 @@ -- Portability : non-portable (GHC extensions)  -- | Amazon Simple Notification Service (Amazon SNS) is a fast, flexible, fully--- managed push messaging service. Amazon SNS makes it simple and--- cost-effective to push notifications to Apple, Google, Fire OS, and Windows--- devices, as well as Android devices in China with Baidu Cloud Push. You can--- also use SNS to push notifications to internet connected smart devices, as--- well as other distributed services. Besides pushing cloud notifications--- directly to mobile devices, Amazon SNS can also deliver notifications by--- SMS text message or email, to Amazon Simple Queue Service (SQS) queues, or--- to any HTTP endpoint. To prevent messages from being lost, all messages--- published to Amazon SNS are stored redundantly across multiple availability--- zones.+-- managed push messaging service. Amazon SNS makes it simple and cost-effective+-- to push notifications to Apple, Google, Fire OS, and Windows devices, as well+-- as Android devices in China with Baidu Cloud Push. You can also use SNS to+-- push notifications to internet connected smart devices, as well as other+-- distributed services. Besides pushing cloud notifications directly to mobile+-- devices, Amazon SNS can also deliver notifications by SMS text message or+-- email, to Amazon Simple Queue Service (SQS) queues, or to any HTTP endpoint.+-- To prevent messages from being lost, all messages published to Amazon SNS are+-- stored redundantly across multiple availability zones. module Network.AWS.SNS     ( module Network.AWS.SNS.AddPermission     , module Network.AWS.SNS.ConfirmSubscription
gen/Network/AWS/SNS/AddPermission.hs view
@@ -20,8 +20,8 @@ -- Stability   : experimental -- 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. -- -- <http://docs.aws.amazon.com/sns/latest/api/API_AddPermission.html> module Network.AWS.SNS.AddPermission@@ -76,14 +76,15 @@     , _apActionName   = mempty     } --- | 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 }) . _List --- | The action you want to allow for the specified principal(s). Valid--- values: any Amazon SNS action name.+-- | The action you want to allow for the specified principal(s).+--+-- Valid values: any Amazon SNS action name. apActionName :: Lens' AddPermission [Text] apActionName = lens _apActionName (\s a -> s { _apActionName = a }) . _List 
gen/Network/AWS/SNS/ConfirmSubscription.hs view
@@ -21,10 +21,9 @@ -- 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".+-- 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". -- -- <http://docs.aws.amazon.com/sns/latest/api/API_ConfirmSubscription.html> module Network.AWS.SNS.ConfirmSubscription@@ -76,16 +75,16 @@     , _csAuthenticateOnUnsubscribe = Nothing     } --- | 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 }) --- | Short-lived token sent to an endpoint during the Subscribe action.+-- | Short-lived token sent to an endpoint during the 'Subscribe' action. csToken :: Lens' ConfirmSubscription Text csToken = lens _csToken (\s a -> s { _csToken = a }) 
gen/Network/AWS/SNS/CreatePlatformApplication.hs view
@@ -21,19 +21,17 @@ -- 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,+-- 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 Using Amazon SNS--- Mobile Push Notifications.+-- 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>. -- -- <http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformApplication.html> module Network.AWS.SNS.CreatePlatformApplication@@ -85,19 +83,19 @@     , _cpaAttributes = mempty     } --- | For a list of attributes, see 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 }) . _EMap  -- | 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.+-- 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 }) 
gen/Network/AWS/SNS/CreatePlatformEndpoint.hs view
@@ -20,20 +20,21 @@ -- Stability   : experimental -- 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 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 Creating an Amazon SNS Endpoint for Baidu.+-- | 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>+-- .+-- -- <http://docs.aws.amazon.com/sns/latest/api/API_CreatePlatformEndpoint.html> module Network.AWS.SNS.CreatePlatformEndpoint     (@@ -89,12 +90,12 @@     , _cpeAttributes             = mempty     } --- | For a list of attributes, see 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 }) . _EMap --- | 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 })@@ -106,12 +107,11 @@     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
@@ -20,11 +20,10 @@ -- Stability   : experimental -- 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.--- 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. -- -- <http://docs.aws.amazon.com/sns/latest/api/API_CreateTopic.html> module Network.AWS.SNS.CreateTopic@@ -65,9 +64,11 @@     { _ctName = p1     } --- | 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.+-- | 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. ctName :: Lens' CreateTopic Text ctName = lens _ctName (\s a -> s { _ctName = a }) 
gen/Network/AWS/SNS/DeleteEndpoint.hs view
@@ -21,7 +21,7 @@ -- Portability : non-portable (GHC extensions)  -- | Deletes the endpoint from Amazon SNS. This action is idempotent. For more--- information, see Using Amazon SNS Mobile Push Notifications.+-- information, see <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html Using Amazon SNS Mobile Push Notifications>. -- -- <http://docs.aws.amazon.com/sns/latest/api/API_DeleteEndpoint.html> module Network.AWS.SNS.DeleteEndpoint
gen/Network/AWS/SNS/DeletePlatformApplication.hs view
@@ -21,8 +21,7 @@ -- 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--- Using Amazon SNS Mobile Push Notifications.+-- notification services, such as APNS and GCM. For more information, see <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html UsingAmazon SNS Mobile Push Notifications>. -- -- <http://docs.aws.amazon.com/sns/latest/api/API_DeletePlatformApplication.html> module Network.AWS.SNS.DeletePlatformApplication
gen/Network/AWS/SNS/GetEndpointAttributes.hs view
@@ -21,8 +21,7 @@ -- 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--- Using Amazon SNS Mobile Push Notifications.+-- notification services, such as GCM and APNS. For more information, see <http://docs.aws.amazon.com/sns/latest/dg/SNSMobilePush.html UsingAmazon SNS Mobile Push Notifications>. -- -- <http://docs.aws.amazon.com/sns/latest/api/API_GetEndpointAttributes.html> module Network.AWS.SNS.GetEndpointAttributes@@ -82,15 +81,16 @@     { _gearAttributes = mempty     } --- | 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+-- | 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. gearAttributes :: Lens' GetEndpointAttributesResponse (HashMap Text Text) gearAttributes = lens _gearAttributes (\s a -> s { _gearAttributes = a }) . _EMap
gen/Network/AWS/SNS/GetPlatformApplicationAttributes.hs view
@@ -20,9 +20,8 @@ -- Stability   : experimental -- 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 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>. -- -- <http://docs.aws.amazon.com/sns/latest/api/API_GetPlatformApplicationAttributes.html> module Network.AWS.SNS.GetPlatformApplicationAttributes@@ -84,14 +83,14 @@     { _gpaarAttributes = mempty     } --- | 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.+-- | 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. gpaarAttributes :: Lens' GetPlatformApplicationAttributesResponse (HashMap Text Text) gpaarAttributes = lens _gpaarAttributes (\s a -> s { _gpaarAttributes = a }) . _EMap 
gen/Network/AWS/SNS/GetSubscriptionAttributes.hs view
@@ -81,15 +81,15 @@     { _gsarAttributes = mempty     } --- | 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.+-- | 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 gsarAttributes :: Lens' GetSubscriptionAttributesResponse (HashMap Text Text) gsarAttributes = lens _gsarAttributes (\s a -> s { _gsarAttributes = a }) . _EMap 
gen/Network/AWS/SNS/GetTopicAttributes.hs view
@@ -81,18 +81,16 @@     { _gtarAttributes = mempty     } --- | 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.+-- | 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 gtarAttributes :: Lens' GetTopicAttributesResponse (HashMap Text Text) gtarAttributes = lens _gtarAttributes (\s a -> s { _gtarAttributes = a }) . _EMap 
gen/Network/AWS/SNS/ListEndpointsByPlatformApplication.hs view
@@ -21,14 +21,11 @@ -- 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 Using--- Amazon SNS Mobile Push Notifications.+-- 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>. -- -- <http://docs.aws.amazon.com/sns/latest/api/API_ListEndpointsByPlatformApplication.html> module Network.AWS.SNS.ListEndpointsByPlatformApplication@@ -76,13 +73,12 @@     }  -- | NextToken string is used when calling ListEndpointsByPlatformApplication--- action to retrieve additional records that are available after the first--- page results.+-- 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@@ -111,9 +107,8 @@ lebparEndpoints :: Lens' ListEndpointsByPlatformApplicationResponse [Endpoint] lebparEndpoints = lens _lebparEndpoints (\s a -> s { _lebparEndpoints = a }) . _List --- | 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. lebparNextToken :: Lens' ListEndpointsByPlatformApplicationResponse (Maybe Text) lebparNextToken = lens _lebparNextToken (\s a -> s { _lebparNextToken = a }) 
gen/Network/AWS/SNS/ListPlatformApplications.hs view
@@ -21,13 +21,12 @@ -- 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 Using Amazon SNS Mobile Push Notifications.+-- 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>. -- -- <http://docs.aws.amazon.com/sns/latest/api/API_ListPlatformApplications.html> module Network.AWS.SNS.ListPlatformApplications@@ -69,8 +68,7 @@     }  -- | NextToken string is used when calling ListPlatformApplications action to--- retrieve additional records that are available after the first page--- results.+-- retrieve additional records that are available after the first page results. lpaNextToken :: Lens' ListPlatformApplications (Maybe Text) lpaNextToken = lens _lpaNextToken (\s a -> s { _lpaNextToken = a }) @@ -93,13 +91,12 @@     , _lparNextToken            = Nothing     } --- | 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. lparNextToken :: Lens' ListPlatformApplicationsResponse (Maybe Text) lparNextToken = lens _lparNextToken (\s a -> s { _lparNextToken = a }) --- | Platform applications returned when calling ListPlatformApplications--- action.+-- | Platform applications returned when calling ListPlatformApplications action. lparPlatformApplications :: Lens' ListPlatformApplicationsResponse [PlatformApplication] lparPlatformApplications =     lens _lparPlatformApplications
gen/Network/AWS/SNS/ListSubscriptions.hs view
@@ -20,10 +20,10 @@ -- Stability   : experimental -- 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. -- -- <http://docs.aws.amazon.com/sns/latest/api/API_ListSubscriptions.html> module Network.AWS.SNS.ListSubscriptions@@ -64,7 +64,7 @@     { _lsNextToken = Nothing     } --- | Token returned by the previous ListSubscriptions request.+-- | Token returned by the previous 'ListSubscriptions' request. lsNextToken :: Lens' ListSubscriptions (Maybe Text) lsNextToken = lens _lsNextToken (\s a -> s { _lsNextToken = a }) @@ -87,8 +87,8 @@     , _lsrNextToken     = Nothing     } --- | 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. lsrNextToken :: Lens' ListSubscriptionsResponse (Maybe Text) lsrNextToken = lens _lsrNextToken (\s a -> s { _lsrNextToken = a }) 
gen/Network/AWS/SNS/ListSubscriptionsByTopic.hs view
@@ -20,10 +20,8 @@ -- Stability   : experimental -- 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. -- -- <http://docs.aws.amazon.com/sns/latest/api/API_ListSubscriptionsByTopic.html> module Network.AWS.SNS.ListSubscriptionsByTopic@@ -70,7 +68,7 @@     , _lsbtNextToken = Nothing     } --- | Token returned by the previous ListSubscriptionsByTopic request.+-- | Token returned by the previous 'ListSubscriptionsByTopic' request. lsbtNextToken :: Lens' ListSubscriptionsByTopic (Maybe Text) lsbtNextToken = lens _lsbtNextToken (\s a -> s { _lsbtNextToken = a }) @@ -97,7 +95,7 @@     , _lsbtrNextToken     = Nothing     } --- | Token to pass along to the next ListSubscriptionsByTopic request. This+-- | Token to pass along to the next 'ListSubscriptionsByTopic' request. This -- element is returned if there are more subscriptions to retrieve. lsbtrNextToken :: Lens' ListSubscriptionsByTopicResponse (Maybe Text) lsbtrNextToken = lens _lsbtrNextToken (\s a -> s { _lsbtrNextToken = a })
gen/Network/AWS/SNS/ListTopics.hs view
@@ -20,10 +20,9 @@ -- Stability   : experimental -- 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. -- -- <http://docs.aws.amazon.com/sns/latest/api/API_ListTopics.html> module Network.AWS.SNS.ListTopics@@ -64,7 +63,7 @@     { _ltNextToken = Nothing     } --- | Token returned by the previous ListTopics request.+-- | Token returned by the previous 'ListTopics' request. ltNextToken :: Lens' ListTopics (Maybe Text) ltNextToken = lens _ltNextToken (\s a -> s { _ltNextToken = a }) @@ -87,8 +86,8 @@     , _ltrNextToken = Nothing     } --- | 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. ltrNextToken :: Lens' ListTopicsResponse (Maybe Text) ltrNextToken = lens _ltrNextToken (\s a -> s { _ltrNextToken = a }) 
gen/Network/AWS/SNS/Publish.hs view
@@ -20,16 +20,16 @@ -- Stability   : experimental -- 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. 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.+-- | 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.+-- -- <http://docs.aws.amazon.com/sns/latest/api/API_Publish.html> module Network.AWS.SNS.Publish     (@@ -94,25 +94,28 @@     , _pMessageAttributes = mempty     } --- | 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 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).--- 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). Non-string values will cause the key to be 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).+-- | 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 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).+--+-- 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). Non-string values will cause the+-- key to be 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). pMessage :: Lens' Publish Text pMessage = lens _pMessage (\s a -> s { _pMessage = a }) @@ -122,28 +125,32 @@     lens _pMessageAttributes (\s a -> s { _pMessageAttributes = a })         . _EMap --- | 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.--- 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 Create Different Messages for Each Protocol in--- the Amazon Simple Notification Service Getting Started Guide. Valid--- value: json.+-- | 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.   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/.+--+-- Valid value: 'json' pMessageStructure :: Lens' Publish (Maybe Text) pMessageStructure =     lens _pMessageStructure (\s a -> s { _pMessageStructure = a })  -- | 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.+-- 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. pSubject :: Lens' Publish (Maybe Text) pSubject = lens _pSubject (\s a -> s { _pSubject = a }) @@ -170,8 +177,9 @@     { _prMessageId = Nothing     } --- | Unique identifier assigned to the published message. Length Constraint:--- Maximum 100 characters.+-- | Unique identifier assigned to the published message.+--+-- Length Constraint: Maximum 100 characters prMessageId :: Lens' PublishResponse (Maybe Text) prMessageId = lens _prMessageId (\s a -> s { _prMessageId = a }) 
gen/Network/AWS/SNS/SetEndpointAttributes.hs view
@@ -20,9 +20,8 @@ -- Stability   : experimental -- 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--- 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 UsingAmazon SNS Mobile Push Notifications>. -- -- <http://docs.aws.amazon.com/sns/latest/api/API_SetEndpointAttributes.html> module Network.AWS.SNS.SetEndpointAttributes@@ -67,15 +66,17 @@     }  -- | 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.+-- 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. seaAttributes :: Lens' SetEndpointAttributes (HashMap Text Text) seaAttributes = lens _seaAttributes (\s a -> s { _seaAttributes = a }) . _EMap 
gen/Network/AWS/SNS/SetPlatformApplicationAttributes.hs view
@@ -20,9 +20,8 @@ -- Stability   : experimental -- 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--- 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 UsingAmazon SNS Mobile Push Notifications>. -- -- <http://docs.aws.amazon.com/sns/latest/api/API_SetPlatformApplicationAttributes.html> module Network.AWS.SNS.SetPlatformApplicationAttributes@@ -66,21 +65,20 @@     , _spaaAttributes             = mempty     } --- | 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.+-- | 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. spaaAttributes :: Lens' SetPlatformApplicationAttributes (HashMap Text Text) spaaAttributes = lens _spaaAttributes (\s a -> s { _spaaAttributes = a }) . _EMap 
gen/Network/AWS/SNS/SetSubscriptionAttributes.hs view
@@ -20,8 +20,7 @@ -- Stability   : experimental -- 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. -- -- <http://docs.aws.amazon.com/sns/latest/api/API_SetSubscriptionAttributes.html> module Network.AWS.SNS.SetSubscriptionAttributes@@ -71,9 +70,10 @@     , _ssaAttributeValue  = Nothing     } --- | The name of the attribute you want to set. Only a subset of the--- subscriptions attributes are mutable. Valid values: DeliveryPolicy |--- RawMessageDelivery.+-- | 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 ssaAttributeName = lens _ssaAttributeName (\s a -> s { _ssaAttributeName = a }) 
gen/Network/AWS/SNS/SetTopicAttributes.hs view
@@ -71,8 +71,9 @@     }  -- | The name of the attribute you want to set. Only a subset of the topic's--- attributes are mutable. Valid values: Policy | DisplayName |--- DeliveryPolicy.+-- attributes are mutable.+--+-- Valid values: 'Policy' | 'DisplayName' | 'DeliveryPolicy' staAttributeName :: Lens' SetTopicAttributes Text staAttributeName = lens _staAttributeName (\s a -> s { _staAttributeName = a }) 
gen/Network/AWS/SNS/Subscribe.hs view
@@ -21,9 +21,8 @@ -- 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.+-- 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. -- -- <http://docs.aws.amazon.com/sns/latest/api/API_Subscribe.html> module Network.AWS.SNS.Subscribe@@ -76,24 +75,25 @@     }  -- | 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 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.+-- 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 '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. sEndpoint :: Lens' Subscribe (Maybe Text) sEndpoint = lens _sEndpoint (\s a -> s { _sEndpoint = a }) --- | The protocol you want to use. Supported protocols include: http ----- delivery of JSON-encoded message via HTTP POST https -- delivery of--- JSON-encoded message via HTTPS POST email -- delivery of message via SMTP--- 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.+-- | The protocol you want to use. Supported protocols include:+--+-- 'http' -- delivery of JSON-encoded message via HTTP POST  'https' -- delivery+-- of JSON-encoded message via HTTPS POST  'email' -- delivery of message via SMTP+-- '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. sProtocol :: Lens' Subscribe Text sProtocol = lens _sProtocol (\s a -> s { _sProtocol = a }) @@ -116,8 +116,8 @@     { _srSubscriptionArn = Nothing     } --- | 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). srSubscriptionArn :: Lens' SubscribeResponse (Maybe Text) srSubscriptionArn =     lens _srSubscriptionArn (\s a -> s { _srSubscriptionArn = a })
gen/Network/AWS/SNS/Types.hs view
@@ -147,12 +147,11 @@ mavBinaryValue = lens _mavBinaryValue (\s a -> s { _mavBinaryValue = a })  -- | Amazon SNS supports the following logical data types: String, Number, and--- Binary. For more information, see Message Attribute Data Types.+-- 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 }) --- | 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 http://en.wikipedia.org/wiki/ASCII#ASCII_printable_characters>. mavStringValue :: Lens' MessageAttributeValue (Maybe Text) mavStringValue = lens _mavStringValue (\s a -> s { _mavStringValue = a }) 
gen/Network/AWS/SNS/Unsubscribe.hs view
@@ -22,11 +22,11 @@  -- | 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.+-- 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. -- -- <http://docs.aws.amazon.com/sns/latest/api/API_Unsubscribe.html> module Network.AWS.SNS.Unsubscribe