Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
This operation returns paginated results.
Synopsis
- data DescribeEventSubscriptions = DescribeEventSubscriptions' {}
- newDescribeEventSubscriptions :: DescribeEventSubscriptions
- describeEventSubscriptions_subscriptionName :: Lens' DescribeEventSubscriptions (Maybe Text)
- describeEventSubscriptions_filters :: Lens' DescribeEventSubscriptions (Maybe [Filter])
- describeEventSubscriptions_marker :: Lens' DescribeEventSubscriptions (Maybe Text)
- describeEventSubscriptions_maxRecords :: Lens' DescribeEventSubscriptions (Maybe Int)
- data DescribeEventSubscriptionsResponse = DescribeEventSubscriptionsResponse' {}
- newDescribeEventSubscriptionsResponse :: Int -> DescribeEventSubscriptionsResponse
- describeEventSubscriptionsResponse_eventSubscriptionsList :: Lens' DescribeEventSubscriptionsResponse (Maybe [EventSubscription])
- describeEventSubscriptionsResponse_marker :: Lens' DescribeEventSubscriptionsResponse (Maybe Text)
- describeEventSubscriptionsResponse_httpStatus :: Lens' DescribeEventSubscriptionsResponse Int
Creating a Request
data DescribeEventSubscriptions Source #
Represents the input to DescribeEventSubscriptions.
See: newDescribeEventSubscriptions
smart constructor.
DescribeEventSubscriptions' | |
|
Instances
newDescribeEventSubscriptions :: DescribeEventSubscriptions Source #
Create a value of DescribeEventSubscriptions
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:subscriptionName:DescribeEventSubscriptions'
, describeEventSubscriptions_subscriptionName
- The name of the Amazon DocumentDB event notification subscription that
you want to describe.
$sel:filters:DescribeEventSubscriptions'
, describeEventSubscriptions_filters
- This parameter is not currently supported.
$sel:marker:DescribeEventSubscriptions'
, describeEventSubscriptions_marker
- An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
$sel:maxRecords:DescribeEventSubscriptions'
, describeEventSubscriptions_maxRecords
- The maximum number of records to include in the response. If more
records exist than the specified MaxRecords
value, a pagination token
(marker) is included in the response so that the remaining results can
be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
Request Lenses
describeEventSubscriptions_subscriptionName :: Lens' DescribeEventSubscriptions (Maybe Text) Source #
The name of the Amazon DocumentDB event notification subscription that you want to describe.
describeEventSubscriptions_filters :: Lens' DescribeEventSubscriptions (Maybe [Filter]) Source #
This parameter is not currently supported.
describeEventSubscriptions_marker :: Lens' DescribeEventSubscriptions (Maybe Text) Source #
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
describeEventSubscriptions_maxRecords :: 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
(marker) is included in the response so that the remaining results can
be retrieved.
Default: 100
Constraints: Minimum 20, maximum 100.
Destructuring the Response
data DescribeEventSubscriptionsResponse Source #
Represents the output of DescribeEventSubscriptions.
See: newDescribeEventSubscriptionsResponse
smart constructor.
DescribeEventSubscriptionsResponse' | |
|
Instances
newDescribeEventSubscriptionsResponse Source #
Create a value of DescribeEventSubscriptionsResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:eventSubscriptionsList:DescribeEventSubscriptionsResponse'
, describeEventSubscriptionsResponse_eventSubscriptionsList
- A list of event subscriptions.
$sel:marker:DescribeEventSubscriptions'
, describeEventSubscriptionsResponse_marker
- An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
$sel:httpStatus:DescribeEventSubscriptionsResponse'
, describeEventSubscriptionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeEventSubscriptionsResponse_eventSubscriptionsList :: Lens' DescribeEventSubscriptionsResponse (Maybe [EventSubscription]) Source #
A list of event subscriptions.
describeEventSubscriptionsResponse_marker :: Lens' DescribeEventSubscriptionsResponse (Maybe Text) Source #
An optional pagination token provided by a previous request. If this
parameter is specified, the response includes only records beyond the
marker, up to the value specified by MaxRecords
.
describeEventSubscriptionsResponse_httpStatus :: Lens' DescribeEventSubscriptionsResponse Int Source #
The response's http status code.