getService method
Gets an Amazon Web Services Migration Hub Refactor Spaces service.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter applicationIdentifier :
The ID of the application.
Parameter environmentIdentifier :
The ID of the environment.
Parameter serviceIdentifier :
The ID of the service.
Implementation
Future<GetServiceResponse> getService({
required String applicationIdentifier,
required String environmentIdentifier,
required String serviceIdentifier,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/environments/${Uri.encodeComponent(environmentIdentifier)}/applications/${Uri.encodeComponent(applicationIdentifier)}/services/${Uri.encodeComponent(serviceIdentifier)}',
exceptionFnMap: _exceptionFns,
);
return GetServiceResponse.fromJson(response);
}