stopEarthObservationJob method

Future<void> stopEarthObservationJob({
  1. required String arn,
})

Use this operation to stop an existing earth observation job.

May throw AccessDeniedException. May throw ConflictException. May throw InternalServerException. May throw ResourceNotFoundException. May throw ThrottlingException. May throw ValidationException.

Parameter arn : The Amazon Resource Name (ARN) of the Earth Observation job being stopped.

Implementation

Future<void> stopEarthObservationJob({
  required String arn,
}) async {
  final $payload = <String, dynamic>{
    'Arn': arn,
  };
  final response = await _protocol.send(
    payload: $payload,
    method: 'POST',
    requestUri: '/earth-observation-jobs/stop',
    exceptionFnMap: _exceptionFns,
  );
}