update_job_shipment_state
async
¶
update_job_shipment_state(
job_id: JobId,
shipment_state: ShipmentState,
*,
config_overrides: Optional[AsyncSnowballClientConfig] = None,
) -> UpdateJobShipmentStateResult
Updates the state when a shipment state changes to a different state.
Parameters:
-
job_id(JobId) –The job ID of the job whose shipment date you want to update, for example
JID123e4567-e89b-12d3-a456-426655440000. -
shipment_state(ShipmentState) –The state of a device when it is being shipped.
Set to
RECEIVEDwhen the device arrives at your location.Set to
RETURNEDwhen you have returned the device to Amazon Web Services.
Raises:
-
InvalidJobStateException–The action can't be performed because the job's current state doesn't allow that action to be performed.
-
InvalidResourceException–The specified resource can't be found. Check the information you provided in your last request, and try again.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_snowball/_services/async_snowball.py
2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 | |