getBulkDeploymentStatus method
Future<GetBulkDeploymentStatusResponse>
getBulkDeploymentStatus({
- required String bulkDeploymentId,
Returns the status of a bulk deployment.
May throw BadRequestException.
Parameter bulkDeploymentId
:
The ID of the bulk deployment.
Implementation
Future<GetBulkDeploymentStatusResponse> getBulkDeploymentStatus({
required String bulkDeploymentId,
}) async {
ArgumentError.checkNotNull(bulkDeploymentId, 'bulkDeploymentId');
final response = await _protocol.send(
payload: null,
method: 'GET',
requestUri:
'/greengrass/bulk/deployments/${Uri.encodeComponent(bulkDeploymentId)}/status',
exceptionFnMap: _exceptionFns,
);
return GetBulkDeploymentStatusResponse.fromJson(response);
}