getProviderService method
Returns the ProviderService of a given name.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter providerName :
The name of the provider. This name is typically the company name.
Parameter providerServiceName :
The ARN (Amazon Resource Name) of the product that the provider service
provides.
Implementation
Future<GetProviderServiceOutput> getProviderService({
required String providerName,
required String providerServiceName,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/providerservices/${Uri.encodeComponent(providerName)}/${Uri.encodeComponent(providerServiceName)}',
exceptionFnMap: _exceptionFns,
);
return GetProviderServiceOutput.fromJson(response);
}