listProviderServices method
Returns a list of all the ProviderServices that are available
in this Amazon Web Services Region.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ThrottlingException.
May throw ValidationException.
Parameter maxResults :
The maximum number of objects returned per page.
Parameter nextToken :
The pagination token from the previous API call.
Parameter providerName :
The name of the provider. This name is typically the company name.
Implementation
Future<ListProviderServicesOutput> listProviderServices({
int? maxResults,
String? nextToken,
String? providerName,
}) async {
final $query = <String, List<String>>{
if (maxResults != null) 'maxResults': [maxResults.toString()],
if (nextToken != null) 'nextToken': [nextToken],
if (providerName != null) 'providerName': [providerName],
};
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri: '/providerservices',
queryParams: $query,
exceptionFnMap: _exceptionFns,
);
return ListProviderServicesOutput.fromJson(response);
}