getDeployment method

Future<GetDeploymentOutput> getDeployment({
  1. required String deploymentId,
})

Returns information about the deployment.

May throw InternalServerException. May throw ResourceNotFoundException. May throw ValidationException.

Parameter deploymentId : The ID of the deployment.

Implementation

Future<GetDeploymentOutput> getDeployment({
  required String deploymentId,
}) async {
  final $payload = <String, dynamic>{
    'deploymentId': deploymentId,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/getDeployment',
    exceptionFnMap: _exceptionFns,
  );
  return GetDeploymentOutput.fromJson(response);
}