1
2
3
4
5
6
7
8
9
10
11
12
13
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateJobShipmentState`](crate::operation::update_job_shipment_state::builders::UpdateJobShipmentStateFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`job_id(impl Into<String>)`](crate::operation::update_job_shipment_state::builders::UpdateJobShipmentStateFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::update_job_shipment_state::builders::UpdateJobShipmentStateFluentBuilder::set_job_id):<br>required: **true**<br><p>The job ID of the job whose shipment date you want to update, for example <code>JID123e4567-e89b-12d3-a456-426655440000</code>.</p><br>
    ///   - [`shipment_state(ShipmentState)`](crate::operation::update_job_shipment_state::builders::UpdateJobShipmentStateFluentBuilder::shipment_state) / [`set_shipment_state(Option<ShipmentState>)`](crate::operation::update_job_shipment_state::builders::UpdateJobShipmentStateFluentBuilder::set_shipment_state):<br>required: **true**<br><p>The state of a device when it is being shipped.</p> <p>Set to <code>RECEIVED</code> when the device arrives at your location.</p> <p>Set to <code>RETURNED</code> when you have returned the device to Amazon Web Services.</p><br>
    /// - On success, responds with [`UpdateJobShipmentStateOutput`](crate::operation::update_job_shipment_state::UpdateJobShipmentStateOutput)
    /// - On failure, responds with [`SdkError<UpdateJobShipmentStateError>`](crate::operation::update_job_shipment_state::UpdateJobShipmentStateError)
    pub fn update_job_shipment_state(&self) -> crate::operation::update_job_shipment_state::builders::UpdateJobShipmentStateFluentBuilder {
        crate::operation::update_job_shipment_state::builders::UpdateJobShipmentStateFluentBuilder::new(self.handle.clone())
    }
}