listCloudWatchAlarmTemplateGroups method
Lists cloudwatch alarm template groups.
May throw BadRequestException.
May throw ForbiddenException.
May throw InternalServerErrorException.
May throw NotFoundException.
May throw TooManyRequestsException.
Parameter nextToken :
A token used to retrieve the next set of results in paginated list
responses.
Parameter scope :
Represents the scope of a resource, with options for all scopes, AWS
provided resources, or local resources.
Parameter signalMapIdentifier :
A signal map's identifier. Can be either be its id or current name.
Implementation
Future<ListCloudWatchAlarmTemplateGroupsResponse>
listCloudWatchAlarmTemplateGroups({
int? maxResults,
String? nextToken,
String? scope,
String? signalMapIdentifier,
}) async {
final $query = <String, List<String>>{
if (maxResults != null) 'maxResults': [maxResults.toString()],
if (nextToken != null) 'nextToken': [nextToken],
if (scope != null) 'scope': [scope],
if (signalMapIdentifier != null)
'signalMapIdentifier': [signalMapIdentifier],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/prod/cloudwatch-alarm-template-groups',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListCloudWatchAlarmTemplateGroupsResponse.fromJson(response);
}