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 |
Gets information about the Amazon SNS notifications that are configured for one or more Auto Scaling groups.
This operation returns paginated results.
Synopsis
- data DescribeNotificationConfigurations = DescribeNotificationConfigurations' {
- autoScalingGroupNames :: Maybe [Text]
- nextToken :: Maybe Text
- maxRecords :: Maybe Int
- newDescribeNotificationConfigurations :: DescribeNotificationConfigurations
- describeNotificationConfigurations_autoScalingGroupNames :: Lens' DescribeNotificationConfigurations (Maybe [Text])
- describeNotificationConfigurations_nextToken :: Lens' DescribeNotificationConfigurations (Maybe Text)
- describeNotificationConfigurations_maxRecords :: Lens' DescribeNotificationConfigurations (Maybe Int)
- data DescribeNotificationConfigurationsResponse = DescribeNotificationConfigurationsResponse' {}
- newDescribeNotificationConfigurationsResponse :: Int -> DescribeNotificationConfigurationsResponse
- describeNotificationConfigurationsResponse_nextToken :: Lens' DescribeNotificationConfigurationsResponse (Maybe Text)
- describeNotificationConfigurationsResponse_httpStatus :: Lens' DescribeNotificationConfigurationsResponse Int
- describeNotificationConfigurationsResponse_notificationConfigurations :: Lens' DescribeNotificationConfigurationsResponse [NotificationConfiguration]
Creating a Request
data DescribeNotificationConfigurations Source #
See: newDescribeNotificationConfigurations
smart constructor.
DescribeNotificationConfigurations' | |
|
Instances
newDescribeNotificationConfigurations :: DescribeNotificationConfigurations Source #
Create a value of DescribeNotificationConfigurations
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:autoScalingGroupNames:DescribeNotificationConfigurations'
, describeNotificationConfigurations_autoScalingGroupNames
- The name of the Auto Scaling group.
$sel:nextToken:DescribeNotificationConfigurations'
, describeNotificationConfigurations_nextToken
- The token for the next set of items to return. (You received this token
from a previous call.)
$sel:maxRecords:DescribeNotificationConfigurations'
, describeNotificationConfigurations_maxRecords
- The maximum number of items to return with this call. The default value
is 50
and the maximum value is 100
.
Request Lenses
describeNotificationConfigurations_autoScalingGroupNames :: Lens' DescribeNotificationConfigurations (Maybe [Text]) Source #
The name of the Auto Scaling group.
describeNotificationConfigurations_nextToken :: Lens' DescribeNotificationConfigurations (Maybe Text) Source #
The token for the next set of items to return. (You received this token from a previous call.)
describeNotificationConfigurations_maxRecords :: Lens' DescribeNotificationConfigurations (Maybe Int) Source #
The maximum number of items to return with this call. The default value
is 50
and the maximum value is 100
.
Destructuring the Response
data DescribeNotificationConfigurationsResponse Source #
See: newDescribeNotificationConfigurationsResponse
smart constructor.
DescribeNotificationConfigurationsResponse' | |
|
Instances
newDescribeNotificationConfigurationsResponse Source #
Create a value of DescribeNotificationConfigurationsResponse
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:nextToken:DescribeNotificationConfigurations'
, describeNotificationConfigurationsResponse_nextToken
- A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
$sel:httpStatus:DescribeNotificationConfigurationsResponse'
, describeNotificationConfigurationsResponse_httpStatus
- The response's http status code.
$sel:notificationConfigurations:DescribeNotificationConfigurationsResponse'
, describeNotificationConfigurationsResponse_notificationConfigurations
- The notification configurations.
Response Lenses
describeNotificationConfigurationsResponse_nextToken :: Lens' DescribeNotificationConfigurationsResponse (Maybe Text) Source #
A string that indicates that the response contains more items than can
be returned in a single response. To receive additional items, specify
this string for the NextToken
value when requesting the next set of
items. This value is null when there are no more items to return.
describeNotificationConfigurationsResponse_httpStatus :: Lens' DescribeNotificationConfigurationsResponse Int Source #
The response's http status code.
describeNotificationConfigurationsResponse_notificationConfigurations :: Lens' DescribeNotificationConfigurationsResponse [NotificationConfiguration] Source #
The notification configurations.