1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateJob`](crate::operation::update_job::builders::UpdateJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`job_id(impl Into<String>)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The job ID of the job that you want to update, for example <code>JID123e4567-e89b-12d3-a456-426655440000</code>.</p><br>
    ///   - [`role_arn(impl Into<String>)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::role_arn) / [`set_role_arn(Option<String>)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::set_role_arn):<br>required: **false**<br><p>The new role Amazon Resource Name (ARN) that you want to associate with this job. To create a role ARN, use the <a href="https://docs.aws.amazon.com/IAM/latest/APIReference/API_CreateRole.html">CreateRole</a>Identity and Access Management (IAM) API action.</p><br>
    ///   - [`notification(Notification)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::notification) / [`set_notification(Option<Notification>)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::set_notification):<br>required: **false**<br><p>The new or updated <code>Notification</code> object.</p><br>
    ///   - [`resources(JobResource)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::resources) / [`set_resources(Option<JobResource>)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::set_resources):<br>required: **false**<br><p>The updated <code>JobResource</code> object, or the updated <code>JobResource</code> object.</p><br>
    ///   - [`on_device_service_configuration(OnDeviceServiceConfiguration)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::on_device_service_configuration) / [`set_on_device_service_configuration(Option<OnDeviceServiceConfiguration>)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::set_on_device_service_configuration):<br>required: **false**<br><p>Specifies the service or services on the Snow Family device that your transferred data will be exported from or imported into. Amazon Web Services Snow Family supports Amazon S3 and NFS (Network File System) and the Amazon Web Services Storage Gateway service Tape Gateway type.</p><br>
    ///   - [`address_id(impl Into<String>)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::address_id) / [`set_address_id(Option<String>)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::set_address_id):<br>required: **false**<br><p>The ID of the updated <code>Address</code> object.</p><br>
    ///   - [`shipping_option(ShippingOption)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::shipping_option) / [`set_shipping_option(Option<ShippingOption>)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::set_shipping_option):<br>required: **false**<br><p>The updated shipping option value of this job's <code>ShippingDetails</code> object.</p><br>
    ///   - [`description(impl Into<String>)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::description) / [`set_description(Option<String>)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::set_description):<br>required: **false**<br><p>The updated description of this job's <code>JobMetadata</code> object.</p><br>
    ///   - [`snowball_capacity_preference(SnowballCapacity)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::snowball_capacity_preference) / [`set_snowball_capacity_preference(Option<SnowballCapacity>)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::set_snowball_capacity_preference):<br>required: **false**<br><p>The updated <code>SnowballCapacityPreference</code> of this job's <code>JobMetadata</code> object. The 50 TB Snowballs are only available in the US regions.</p> <p>For more information, see "https://docs.aws.amazon.com/snowball/latest/snowcone-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the <i>Snowcone User Guide</i> or "https://docs.aws.amazon.com/snowball/latest/developer-guide/snow-device-types.html" (Snow Family Devices and Capacity) in the <i>Snowcone User Guide</i>.</p><br>
    ///   - [`forwarding_address_id(impl Into<String>)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::forwarding_address_id) / [`set_forwarding_address_id(Option<String>)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::set_forwarding_address_id):<br>required: **false**<br><p>The updated ID for the forwarding address for a job. This field is not supported in most regions.</p><br>
    ///   - [`pickup_details(PickupDetails)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::pickup_details) / [`set_pickup_details(Option<PickupDetails>)`](crate::operation::update_job::builders::UpdateJobFluentBuilder::set_pickup_details):<br>required: **false**<br><p>Information identifying the person picking up the device.</p><br>
    /// - On success, responds with [`UpdateJobOutput`](crate::operation::update_job::UpdateJobOutput)
    /// - On failure, responds with [`SdkError<UpdateJobError>`](crate::operation::update_job::UpdateJobError)
    pub fn update_job(&self) -> crate::operation::update_job::builders::UpdateJobFluentBuilder {
        crate::operation::update_job::builders::UpdateJobFluentBuilder::new(self.handle.clone())
    }
}