aws_sdk_amplifybackend/client/
update_backend_job.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`UpdateBackendJob`](crate::operation::update_backend_job::builders::UpdateBackendJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`app_id(impl Into<String>)`](crate::operation::update_backend_job::builders::UpdateBackendJobFluentBuilder::app_id) / [`set_app_id(Option<String>)`](crate::operation::update_backend_job::builders::UpdateBackendJobFluentBuilder::set_app_id):<br>required: **true**<br><p>The app ID.</p><br>
    ///   - [`backend_environment_name(impl Into<String>)`](crate::operation::update_backend_job::builders::UpdateBackendJobFluentBuilder::backend_environment_name) / [`set_backend_environment_name(Option<String>)`](crate::operation::update_backend_job::builders::UpdateBackendJobFluentBuilder::set_backend_environment_name):<br>required: **true**<br><p>The name of the backend environment.</p><br>
    ///   - [`job_id(impl Into<String>)`](crate::operation::update_backend_job::builders::UpdateBackendJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::update_backend_job::builders::UpdateBackendJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The ID for the job.</p><br>
    ///   - [`operation(impl Into<String>)`](crate::operation::update_backend_job::builders::UpdateBackendJobFluentBuilder::operation) / [`set_operation(Option<String>)`](crate::operation::update_backend_job::builders::UpdateBackendJobFluentBuilder::set_operation):<br>required: **false**<br><p>Filters the list of response objects to include only those with the specified operation name.</p><br>
    ///   - [`status(impl Into<String>)`](crate::operation::update_backend_job::builders::UpdateBackendJobFluentBuilder::status) / [`set_status(Option<String>)`](crate::operation::update_backend_job::builders::UpdateBackendJobFluentBuilder::set_status):<br>required: **false**<br><p>Filters the list of response objects to include only those with the specified status.</p><br>
    /// - On success, responds with [`UpdateBackendJobOutput`](crate::operation::update_backend_job::UpdateBackendJobOutput) with field(s):
    ///   - [`app_id(Option<String>)`](crate::operation::update_backend_job::UpdateBackendJobOutput::app_id): <p>The app ID.</p>
    ///   - [`backend_environment_name(Option<String>)`](crate::operation::update_backend_job::UpdateBackendJobOutput::backend_environment_name): <p>The name of the backend environment.</p>
    ///   - [`create_time(Option<String>)`](crate::operation::update_backend_job::UpdateBackendJobOutput::create_time): <p>The time when the job was created.</p>
    ///   - [`error(Option<String>)`](crate::operation::update_backend_job::UpdateBackendJobOutput::error): <p>If the request fails, this error is returned.</p>
    ///   - [`job_id(Option<String>)`](crate::operation::update_backend_job::UpdateBackendJobOutput::job_id): <p>The ID for the job.</p>
    ///   - [`operation(Option<String>)`](crate::operation::update_backend_job::UpdateBackendJobOutput::operation): <p>The name of the operation.</p>
    ///   - [`status(Option<String>)`](crate::operation::update_backend_job::UpdateBackendJobOutput::status): <p>The current status of the request.</p>
    ///   - [`update_time(Option<String>)`](crate::operation::update_backend_job::UpdateBackendJobOutput::update_time): <p>The time when the job was last updated.</p>
    /// - On failure, responds with [`SdkError<UpdateBackendJobError>`](crate::operation::update_backend_job::UpdateBackendJobError)
    pub fn update_backend_job(&self) -> crate::operation::update_backend_job::builders::UpdateBackendJobFluentBuilder {
        crate::operation::update_backend_job::builders::UpdateBackendJobFluentBuilder::new(self.handle.clone())
    }
}