aws_sdk_dataexchange/client/
create_job.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`CreateJob`](crate::operation::create_job::builders::CreateJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`details(RequestDetails)`](crate::operation::create_job::builders::CreateJobFluentBuilder::details) / [`set_details(Option<RequestDetails>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::set_details):<br>required: **true**<br><p>The details for the CreateJob request.</p><br>
    ///   - [`r#type(Type)`](crate::operation::create_job::builders::CreateJobFluentBuilder::type) / [`set_type(Option<Type>)`](crate::operation::create_job::builders::CreateJobFluentBuilder::set_type):<br>required: **true**<br><p>The type of job to be created.</p><br>
    /// - On success, responds with [`CreateJobOutput`](crate::operation::create_job::CreateJobOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::create_job::CreateJobOutput::arn): <p>The ARN for the job.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::create_job::CreateJobOutput::created_at): <p>The date and time that the job was created, in ISO 8601 format.</p>
    ///   - [`details(Option<ResponseDetails>)`](crate::operation::create_job::CreateJobOutput::details): <p>Details about the job.</p>
    ///   - [`errors(Option<Vec::<JobError>>)`](crate::operation::create_job::CreateJobOutput::errors): <p>The errors associated with jobs.</p>
    ///   - [`id(Option<String>)`](crate::operation::create_job::CreateJobOutput::id): <p>The unique identifier for the job.</p>
    ///   - [`state(Option<State>)`](crate::operation::create_job::CreateJobOutput::state): <p>The state of the job.</p>
    ///   - [`r#type(Option<Type>)`](crate::operation::create_job::CreateJobOutput::type): <p>The job type.</p>
    ///   - [`updated_at(Option<DateTime>)`](crate::operation::create_job::CreateJobOutput::updated_at): <p>The date and time that the job was last updated, in ISO 8601 format.</p>
    /// - On failure, responds with [`SdkError<CreateJobError>`](crate::operation::create_job::CreateJobError)
    pub fn create_job(&self) -> crate::operation::create_job::builders::CreateJobFluentBuilder {
        crate::operation::create_job::builders::CreateJobFluentBuilder::new(self.handle.clone())
    }
}