1
2
3
4
5
6
7
8
9
10
11
12
13
14
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateReturnShippingLabel`](crate::operation::create_return_shipping_label::builders::CreateReturnShippingLabelFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`job_id(impl Into<String>)`](crate::operation::create_return_shipping_label::builders::CreateReturnShippingLabelFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::create_return_shipping_label::builders::CreateReturnShippingLabelFluentBuilder::set_job_id):<br>required: **true**<br><p>The ID for a job that you want to create the return shipping label for; for example, <code>JID123e4567-e89b-12d3-a456-426655440000</code>.</p><br>
    ///   - [`shipping_option(ShippingOption)`](crate::operation::create_return_shipping_label::builders::CreateReturnShippingLabelFluentBuilder::shipping_option) / [`set_shipping_option(Option<ShippingOption>)`](crate::operation::create_return_shipping_label::builders::CreateReturnShippingLabelFluentBuilder::set_shipping_option):<br>required: **false**<br><p>The shipping speed for a particular job. This speed doesn't dictate how soon the device is returned to Amazon Web Services. This speed represents how quickly it moves to its destination while in transit. Regional shipping speeds are as follows:</p><br>
    /// - On success, responds with [`CreateReturnShippingLabelOutput`](crate::operation::create_return_shipping_label::CreateReturnShippingLabelOutput) with field(s):
    ///   - [`status(Option<ShippingLabelStatus>)`](crate::operation::create_return_shipping_label::CreateReturnShippingLabelOutput::status): <p>The status information of the task on a Snow device that is being returned to Amazon Web Services.</p>
    /// - On failure, responds with [`SdkError<CreateReturnShippingLabelError>`](crate::operation::create_return_shipping_label::CreateReturnShippingLabelError)
    pub fn create_return_shipping_label(&self) -> crate::operation::create_return_shipping_label::builders::CreateReturnShippingLabelFluentBuilder {
        crate::operation::create_return_shipping_label::builders::CreateReturnShippingLabelFluentBuilder::new(self.handle.clone())
    }
}