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 the specified notification subscriptions.
This operation returns paginated results.
Synopsis
- data DescribeNotificationSubscriptions = DescribeNotificationSubscriptions' {}
- newDescribeNotificationSubscriptions :: Text -> DescribeNotificationSubscriptions
- describeNotificationSubscriptions_marker :: Lens' DescribeNotificationSubscriptions (Maybe Text)
- describeNotificationSubscriptions_limit :: Lens' DescribeNotificationSubscriptions (Maybe Natural)
- describeNotificationSubscriptions_organizationId :: Lens' DescribeNotificationSubscriptions Text
- data DescribeNotificationSubscriptionsResponse = DescribeNotificationSubscriptionsResponse' {
- marker :: Maybe Text
- subscriptions :: Maybe [Subscription]
- httpStatus :: Int
- newDescribeNotificationSubscriptionsResponse :: Int -> DescribeNotificationSubscriptionsResponse
- describeNotificationSubscriptionsResponse_marker :: Lens' DescribeNotificationSubscriptionsResponse (Maybe Text)
- describeNotificationSubscriptionsResponse_subscriptions :: Lens' DescribeNotificationSubscriptionsResponse (Maybe [Subscription])
- describeNotificationSubscriptionsResponse_httpStatus :: Lens' DescribeNotificationSubscriptionsResponse Int
Creating a Request
data DescribeNotificationSubscriptions Source #
See: newDescribeNotificationSubscriptions
smart constructor.
Instances
newDescribeNotificationSubscriptions Source #
Create a value of DescribeNotificationSubscriptions
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:marker:DescribeNotificationSubscriptions'
, describeNotificationSubscriptions_marker
- The marker for the next set of results. (You received this marker from a
previous call.)
$sel:limit:DescribeNotificationSubscriptions'
, describeNotificationSubscriptions_limit
- The maximum number of items to return with this call.
$sel:organizationId:DescribeNotificationSubscriptions'
, describeNotificationSubscriptions_organizationId
- The ID of the organization.
Request Lenses
describeNotificationSubscriptions_marker :: Lens' DescribeNotificationSubscriptions (Maybe Text) Source #
The marker for the next set of results. (You received this marker from a previous call.)
describeNotificationSubscriptions_limit :: Lens' DescribeNotificationSubscriptions (Maybe Natural) Source #
The maximum number of items to return with this call.
describeNotificationSubscriptions_organizationId :: Lens' DescribeNotificationSubscriptions Text Source #
The ID of the organization.
Destructuring the Response
data DescribeNotificationSubscriptionsResponse Source #
See: newDescribeNotificationSubscriptionsResponse
smart constructor.
DescribeNotificationSubscriptionsResponse' | |
|
Instances
newDescribeNotificationSubscriptionsResponse Source #
Create a value of DescribeNotificationSubscriptionsResponse
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:marker:DescribeNotificationSubscriptions'
, describeNotificationSubscriptionsResponse_marker
- The marker to use when requesting the next set of results. If there are
no additional results, the string is empty.
$sel:subscriptions:DescribeNotificationSubscriptionsResponse'
, describeNotificationSubscriptionsResponse_subscriptions
- The subscriptions.
$sel:httpStatus:DescribeNotificationSubscriptionsResponse'
, describeNotificationSubscriptionsResponse_httpStatus
- The response's http status code.
Response Lenses
describeNotificationSubscriptionsResponse_marker :: Lens' DescribeNotificationSubscriptionsResponse (Maybe Text) Source #
The marker to use when requesting the next set of results. If there are no additional results, the string is empty.
describeNotificationSubscriptionsResponse_subscriptions :: Lens' DescribeNotificationSubscriptionsResponse (Maybe [Subscription]) Source #
The subscriptions.
describeNotificationSubscriptionsResponse_httpStatus :: Lens' DescribeNotificationSubscriptionsResponse Int Source #
The response's http status code.