aws-sns-0.1: Bindings for AWS SNS Version 2013-03-31

Stabilityexperimental
MaintainerLars Kuhtz <lars@alephcloud.com>
Safe HaskellNone

Aws.Sns.Commands.ListSubscriptionsByTopic

Description

API Version: 2013-03-31

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/2010-03-31/APIReference/API_ListSubscriptionsByTopic.html

Synopsis

Documentation

data Subscription Source

A wrapper type for the attributes of an Amazon SNS subscription.

http://docs.aws.amazon.com/sns/2010-03-31/APIReference/API_Subscription.html

Constructors

Subscription 

Fields

subscriptionEndpoint :: !(Maybe SnsEndpoint)

The subscription's endpoint (format depends on the protocol).

subscriptionOwner :: !(Maybe Text)

The subscription's owner.

subscriptionProtocol :: !(Maybe SnsProtocol)

The subscription's protocol.

subscriptionSubscriptionArn :: !(Maybe Arn)

The subscription's ARN.

subscriptionTopicArn :: !(Maybe Arn)

The ARN of the subscription's topic.

data ListSubscriptionsByTopicErrors Source

Constructors

ListSubscriptionsByTopicAuthorizationError

Indicates that the user has been denied access to the requested resource.

Code 403

ListSubscriptionsByTopicInternalError

Indicates an internal service error.

Code 500

ListSubscriptionsByTopicInvalidParameter

Indicates that a request parameter does not comply with the associated constraints.

Code 400

ListSubscriptionsByTopicNotFound

Indicates that the requested resource does not exist.

Code 404