listConfigurationSets method
List all of the configuration sets associated with your Amazon Pinpoint account in the current region.
May throw TooManyRequestsException. May throw BadRequestException. May throw InternalServiceErrorException.
Parameter nextToken
:
A token returned from a previous call to the API that indicates the
position in the list of results.
Parameter pageSize
:
Used to specify the number of items that should be returned in the
response.
Implementation
Future<ListConfigurationSetsResponse> listConfigurationSets({
String? nextToken,
String? pageSize,
}) async {
final $query = <String, List<String>>{
if (nextToken != null) 'NextToken': [nextToken],
if (pageSize != null) 'PageSize': [pageSize],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/v1/sms-voice/configuration-sets',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListConfigurationSetsResponse.fromJson(response);
}