getDeployment method
Gets a deployment. Deployments define the components that run on Greengrass core devices.
May throw AccessDeniedException.
May throw InternalServerException.
May throw ResourceNotFoundException.
May throw ThrottlingException.
May throw ValidationException.
Parameter deploymentId :
The ID of the deployment.
Implementation
Future<GetDeploymentResponse> getDeployment({
required String deploymentId,
}) async {
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/greengrass/v2/deployments/${Uri.encodeComponent(deploymentId)}',
exceptionFnMap: _exceptionFns,
);
return GetDeploymentResponse.fromJson(response);
}