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 #
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 RDS event notification subscription you want to
describe.
$sel:filters:DescribeEventSubscriptions'
, describeEventSubscriptions_filters
- This parameter isn't currently supported.
$sel:marker:DescribeEventSubscriptions'
, describeEventSubscriptions_marker
- 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
.
$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
called a marker is included in the response so that you can retrieve the
remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
Request Lenses
describeEventSubscriptions_subscriptionName :: Lens' DescribeEventSubscriptions (Maybe Text) Source #
The name of the RDS event notification subscription you want to describe.
describeEventSubscriptions_filters :: Lens' DescribeEventSubscriptions (Maybe [Filter]) Source #
This parameter isn't currently supported.
describeEventSubscriptions_marker :: 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
.
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
called a marker is included in the response so that you can retrieve the
remaining results.
Default: 100
Constraints: Minimum 20, maximum 100.
Destructuring the Response
data DescribeEventSubscriptionsResponse Source #
Data returned by the DescribeEventSubscriptions action.
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 EventSubscriptions data types.
$sel:marker:DescribeEventSubscriptions'
, describeEventSubscriptionsResponse_marker
- 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
.
$sel:httpStatus:DescribeEventSubscriptionsResponse'
, describeEventSubscriptionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeEventSubscriptionsResponse_eventSubscriptionsList :: Lens' DescribeEventSubscriptionsResponse (Maybe [EventSubscription]) Source #
A list of EventSubscriptions data types.
describeEventSubscriptionsResponse_marker :: 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
.
describeEventSubscriptionsResponse_httpStatus :: Lens' DescribeEventSubscriptionsResponse Int Source #
The response's http status code.