amazonka-sns 0.0.4 → 0.0.5
raw patch · 29 files changed
+65/−9 lines, 29 filesdep ~amazonka-corePVP ok
version bump matches the API change (PVP)
Dependency ranges changed: amazonka-core
API changes (from Hackage documentation)
Files
- README.md +2/−0
- amazonka-sns.cabal +2/−2
- gen/Network/AWS/SNS.hs +2/−0
- gen/Network/AWS/SNS/AddPermission.hs +4/−2
- gen/Network/AWS/SNS/ConfirmSubscription.hs +2/−0
- gen/Network/AWS/SNS/CreatePlatformApplication.hs +2/−0
- gen/Network/AWS/SNS/CreatePlatformEndpoint.hs +2/−0
- gen/Network/AWS/SNS/CreateTopic.hs +2/−0
- gen/Network/AWS/SNS/DeleteEndpoint.hs +2/−0
- gen/Network/AWS/SNS/DeletePlatformApplication.hs +2/−0
- gen/Network/AWS/SNS/DeleteTopic.hs +2/−0
- gen/Network/AWS/SNS/GetEndpointAttributes.hs +2/−0
- gen/Network/AWS/SNS/GetPlatformApplicationAttributes.hs +2/−0
- gen/Network/AWS/SNS/GetSubscriptionAttributes.hs +2/−0
- gen/Network/AWS/SNS/GetTopicAttributes.hs +2/−0
- gen/Network/AWS/SNS/ListEndpointsByPlatformApplication.hs +3/−1
- gen/Network/AWS/SNS/ListPlatformApplications.hs +3/−1
- gen/Network/AWS/SNS/ListSubscriptions.hs +3/−1
- gen/Network/AWS/SNS/ListSubscriptionsByTopic.hs +3/−1
- gen/Network/AWS/SNS/ListTopics.hs +3/−1
- gen/Network/AWS/SNS/Publish.hs +2/−0
- gen/Network/AWS/SNS/RemovePermission.hs +2/−0
- gen/Network/AWS/SNS/SetEndpointAttributes.hs +2/−0
- gen/Network/AWS/SNS/SetPlatformApplicationAttributes.hs +2/−0
- gen/Network/AWS/SNS/SetSubscriptionAttributes.hs +2/−0
- gen/Network/AWS/SNS/SetTopicAttributes.hs +2/−0
- gen/Network/AWS/SNS/Subscribe.hs +2/−0
- gen/Network/AWS/SNS/Types.hs +2/−0
- gen/Network/AWS/SNS/Unsubscribe.hs +2/−0
README.md view
@@ -33,3 +33,5 @@ ## Licence `amazonka-sns` is released under the [Mozilla Public License Version 2.0](http://www.mozilla.org/MPL/).++Parts of the code are derived from AWS service descriptions, licensed under Apache 2.0.
amazonka-sns.cabal view
@@ -1,5 +1,5 @@ name: amazonka-sns-version: 0.0.4+version: 0.0.5 synopsis: Amazon Simple Notification Service SDK. homepage: https://github.com/brendanhay/amazonka license: OtherLicense@@ -72,5 +72,5 @@ other-modules: build-depends:- amazonka-core == 0.0.4.*+ amazonka-core == 0.0.5.* , base >= 4.7 && < 5
gen/Network/AWS/SNS.hs view
@@ -7,6 +7,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Amazon Simple Notification Service (Amazon SNS) is a fast, flexible, fully -- managed push messaging service. Amazon SNS makes it simple and cost-effective
gen/Network/AWS/SNS/AddPermission.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Adds a statement to a topic's access control policy, granting access for the -- specified AWS accounts to the specified actions.@@ -48,8 +50,8 @@ import qualified GHC.Exts data AddPermission = AddPermission- { _apAWSAccountId :: List "AWSAccountId" Text- , _apActionName :: List "ActionName" Text+ { _apAWSAccountId :: List "member" Text+ , _apActionName :: List "member" Text , _apLabel :: Text , _apTopicArn :: Text } deriving (Eq, Ord, Show)
gen/Network/AWS/SNS/ConfirmSubscription.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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
gen/Network/AWS/SNS/CreatePlatformApplication.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Creates a platform application object for one of the supported push -- notification services, such as APNS and GCM, to which devices and mobile apps
gen/Network/AWS/SNS/CreatePlatformEndpoint.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Creates an endpoint for a device and mobile app on one of the supported push -- notification services, such as GCM and APNS. 'CreatePlatformEndpoint' requires
gen/Network/AWS/SNS/CreateTopic.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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
gen/Network/AWS/SNS/DeleteEndpoint.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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>.
gen/Network/AWS/SNS/DeletePlatformApplication.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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 UsingAmazon SNS Mobile Push Notifications>.
gen/Network/AWS/SNS/DeleteTopic.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Deletes a topic and all its subscriptions. Deleting a topic might prevent -- some messages previously sent to the topic from being delivered to
gen/Network/AWS/SNS/GetEndpointAttributes.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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 UsingAmazon SNS Mobile Push Notifications>.
gen/Network/AWS/SNS/GetPlatformApplicationAttributes.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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>.
gen/Network/AWS/SNS/GetSubscriptionAttributes.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Returns all of the properties of a subscription. --
gen/Network/AWS/SNS/GetTopicAttributes.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Returns all of the properties of a topic. Topic properties returned might -- differ based on the authorization of the user.
gen/Network/AWS/SNS/ListEndpointsByPlatformApplication.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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@@ -85,7 +87,7 @@ (\s a -> s { _lebpaPlatformApplicationArn = a }) data ListEndpointsByPlatformApplicationResponse = ListEndpointsByPlatformApplicationResponse- { _lebparEndpoints :: List "Endpoints" Endpoint+ { _lebparEndpoints :: List "member" Endpoint , _lebparNextToken :: Maybe Text } deriving (Eq, Show)
gen/Network/AWS/SNS/ListPlatformApplications.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Lists the platform application objects for the supported push notification -- services, such as APNS and GCM. The results for 'ListPlatformApplications' are@@ -74,7 +76,7 @@ data ListPlatformApplicationsResponse = ListPlatformApplicationsResponse { _lparNextToken :: Maybe Text- , _lparPlatformApplications :: List "PlatformApplications" PlatformApplication+ , _lparPlatformApplications :: List "member" PlatformApplication } deriving (Eq, Show) -- | 'ListPlatformApplicationsResponse' constructor.
gen/Network/AWS/SNS/ListSubscriptions.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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'@@ -70,7 +72,7 @@ data ListSubscriptionsResponse = ListSubscriptionsResponse { _lsrNextToken :: Maybe Text- , _lsrSubscriptions :: List "Subscriptions" Subscription+ , _lsrSubscriptions :: List "member" Subscription } deriving (Eq, Show) -- | 'ListSubscriptionsResponse' constructor.
gen/Network/AWS/SNS/ListSubscriptionsByTopic.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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.@@ -78,7 +80,7 @@ data ListSubscriptionsByTopicResponse = ListSubscriptionsByTopicResponse { _lsbtrNextToken :: Maybe Text- , _lsbtrSubscriptions :: List "Subscriptions" Subscription+ , _lsbtrSubscriptions :: List "member" Subscription } deriving (Eq, Show) -- | 'ListSubscriptionsByTopicResponse' constructor.
gen/Network/AWS/SNS/ListTopics.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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.@@ -69,7 +71,7 @@ data ListTopicsResponse = ListTopicsResponse { _ltrNextToken :: Maybe Text- , _ltrTopics :: List "Topics" Topic+ , _ltrTopics :: List "member" Topic } deriving (Eq, Show) -- | 'ListTopicsResponse' constructor.
gen/Network/AWS/SNS/Publish.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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
gen/Network/AWS/SNS/RemovePermission.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Removes a statement from a topic's access control policy. --
gen/Network/AWS/SNS/SetEndpointAttributes.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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>.
gen/Network/AWS/SNS/SetPlatformApplicationAttributes.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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>.
gen/Network/AWS/SNS/SetSubscriptionAttributes.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Allows a subscription owner to set an attribute of the topic to a new value. --
gen/Network/AWS/SNS/SetTopicAttributes.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Allows a topic owner to set an attribute of the topic to a new value. --
gen/Network/AWS/SNS/Subscribe.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | 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
gen/Network/AWS/SNS/Types.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. module Network.AWS.SNS.Types (
gen/Network/AWS/SNS/Unsubscribe.hs view
@@ -19,6 +19,8 @@ -- Maintainer : Brendan Hay <brendan.g.hay@gmail.com> -- Stability : experimental -- Portability : non-portable (GHC extensions)+--+-- Derived from AWS service descriptions, licensed under Apache 2.0. -- | Deletes a subscription. If the subscription requires authentication for -- deletion, only the owner of the subscription or the topic's owner can