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 [`GetSoftwareUpdates`](crate::operation::get_software_updates::builders::GetSoftwareUpdatesFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`job_id(impl Into<String>)`](crate::operation::get_software_updates::builders::GetSoftwareUpdatesFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::get_software_updates::builders::GetSoftwareUpdatesFluentBuilder::set_job_id):<br>required: **true**<br><p>The ID for a job that you want to get the software update file for, for example <code>JID123e4567-e89b-12d3-a456-426655440000</code>.</p><br>
    /// - On success, responds with [`GetSoftwareUpdatesOutput`](crate::operation::get_software_updates::GetSoftwareUpdatesOutput) with field(s):
    ///   - [`updates_uri(Option<String>)`](crate::operation::get_software_updates::GetSoftwareUpdatesOutput::updates_uri): <p>The Amazon S3 presigned URL for the update file associated with the specified <code>JobId</code> value. The software update will be available for 2 days after this request is made. To access an update after the 2 days have passed, you'll have to make another call to <code>GetSoftwareUpdates</code>.</p>
    /// - On failure, responds with [`SdkError<GetSoftwareUpdatesError>`](crate::operation::get_software_updates::GetSoftwareUpdatesError)
    pub fn get_software_updates(&self) -> crate::operation::get_software_updates::builders::GetSoftwareUpdatesFluentBuilder {
        crate::operation::get_software_updates::builders::GetSoftwareUpdatesFluentBuilder::new(self.handle.clone())
    }
}