describeNotificationConfigurations method
Describes the notification actions associated with the specified Auto Scaling group.
May throw InvalidNextToken. May throw ResourceContentionFault.
Parameter autoScalingGroupNames
:
The name of the Auto Scaling group.
Parameter maxRecords
:
The maximum number of items to return with this call. The default value is
50
and the maximum value is 100
.
Parameter nextToken
:
The token for the next set of items to return. (You received this token
from a previous call.)
Implementation
Future<DescribeNotificationConfigurationsAnswer>
describeNotificationConfigurations({
List<String>? autoScalingGroupNames,
int? maxRecords,
String? nextToken,
}) async {
final $request = <String, dynamic>{};
autoScalingGroupNames
?.also((arg) => $request['AutoScalingGroupNames'] = arg);
maxRecords?.also((arg) => $request['MaxRecords'] = arg);
nextToken?.also((arg) => $request['NextToken'] = arg);
final $result = await _protocol.send(
$request,
action: 'DescribeNotificationConfigurations',
version: '2011-01-01',
method: 'POST',
requestUri: '/',
exceptionFnMap: _exceptionFns,
shape: shapes['DescribeNotificationConfigurationsType'],
shapes: shapes,
resultWrapper: 'DescribeNotificationConfigurationsResult',
);
return DescribeNotificationConfigurationsAnswer.fromXml($result);
}