Copyright | (c) 2013-2015 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Lists all the subscription descriptions for a customer account. The description for a subscription includes SubscriptionName, SNSTopicARN, CustomerID, SourceType, SourceID, CreationTime, and Status.
If you specify a SubscriptionName, lists the description for that subscription.
See: AWS API Reference for DescribeEventSubscriptions.
This operation returns paginated results.
- describeEventSubscriptions :: DescribeEventSubscriptions
- data DescribeEventSubscriptions
- dSubscriptionName :: Lens' DescribeEventSubscriptions (Maybe Text)
- dFilters :: Lens' DescribeEventSubscriptions [Filter]
- dMarker :: Lens' DescribeEventSubscriptions (Maybe Text)
- dMaxRecords :: Lens' DescribeEventSubscriptions (Maybe Int)
- describeEventSubscriptionsResponse :: Int -> DescribeEventSubscriptionsResponse
- data DescribeEventSubscriptionsResponse
- desrsEventSubscriptionsList :: Lens' DescribeEventSubscriptionsResponse [EventSubscription]
- desrsMarker :: Lens' DescribeEventSubscriptionsResponse (Maybe Text)
- desrsResponseStatus :: Lens' DescribeEventSubscriptionsResponse Int
Creating a Request
describeEventSubscriptions :: DescribeEventSubscriptions Source
Creates a value of DescribeEventSubscriptions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeEventSubscriptions Source
See: describeEventSubscriptions
smart constructor.
Request Lenses
dSubscriptionName :: Lens' DescribeEventSubscriptions (Maybe Text) Source
The name of the RDS event notification subscription you want to describe.
dFilters :: Lens' DescribeEventSubscriptions [Filter] Source
This parameter is not currently supported.
dMarker :: Lens' DescribeEventSubscriptions (Maybe Text) Source
An optional pagination token provided by a previous
DescribeOrderableDBInstanceOptions request. If this parameter is
specified, the response includes only records beyond the marker, up to
the value specified by MaxRecords
.
dMaxRecords :: Lens' DescribeEventSubscriptions (Maybe Int) Source
The maximum number of records to include in the response. If more
records exist than the specified MaxRecords
value, a pagination token
called a marker is included in the response so that the remaining
results can be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
Destructuring the Response
describeEventSubscriptionsResponse Source
Creates a value of DescribeEventSubscriptionsResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data DescribeEventSubscriptionsResponse Source
Data returned by the DescribeEventSubscriptions action.
See: describeEventSubscriptionsResponse
smart constructor.
Response Lenses
desrsEventSubscriptionsList :: Lens' DescribeEventSubscriptionsResponse [EventSubscription] Source
A list of EventSubscriptions data types.
desrsMarker :: Lens' DescribeEventSubscriptionsResponse (Maybe Text) Source
An optional pagination token provided by a previous
DescribeOrderableDBInstanceOptions request. If this parameter is
specified, the response includes only records beyond the marker, up to
the value specified by MaxRecords
.
desrsResponseStatus :: Lens' DescribeEventSubscriptionsResponse Int Source
The response status code.