aws_sdk_entityresolution/client/
get_matching_job.rs

1// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
2impl super::Client {
3    /// Constructs a fluent builder for the [`GetMatchingJob`](crate::operation::get_matching_job::builders::GetMatchingJobFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`workflow_name(impl Into<String>)`](crate::operation::get_matching_job::builders::GetMatchingJobFluentBuilder::workflow_name) / [`set_workflow_name(Option<String>)`](crate::operation::get_matching_job::builders::GetMatchingJobFluentBuilder::set_workflow_name):<br>required: **true**<br><p>The name of the workflow.</p><br>
7    ///   - [`job_id(impl Into<String>)`](crate::operation::get_matching_job::builders::GetMatchingJobFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::get_matching_job::builders::GetMatchingJobFluentBuilder::set_job_id):<br>required: **true**<br><p>The ID of the job.</p><br>
8    /// - On success, responds with [`GetMatchingJobOutput`](crate::operation::get_matching_job::GetMatchingJobOutput) with field(s):
9    ///   - [`job_id(String)`](crate::operation::get_matching_job::GetMatchingJobOutput::job_id): <p>The unique identifier of the matching job.</p>
10    ///   - [`status(JobStatus)`](crate::operation::get_matching_job::GetMatchingJobOutput::status): <p>The current status of the job.</p>
11    ///   - [`start_time(DateTime)`](crate::operation::get_matching_job::GetMatchingJobOutput::start_time): <p>The time at which the job was started.</p>
12    ///   - [`end_time(Option<DateTime>)`](crate::operation::get_matching_job::GetMatchingJobOutput::end_time): <p>The time at which the job has finished.</p>
13    ///   - [`metrics(Option<JobMetrics>)`](crate::operation::get_matching_job::GetMatchingJobOutput::metrics): <p>Metrics associated with the execution, specifically total records processed, unique IDs generated, and records the execution skipped.</p>
14    ///   - [`error_details(Option<ErrorDetails>)`](crate::operation::get_matching_job::GetMatchingJobOutput::error_details): <p>An object containing an error message, if there was an error.</p>
15    ///   - [`output_source_config(Option<Vec::<JobOutputSource>>)`](crate::operation::get_matching_job::GetMatchingJobOutput::output_source_config): <p>A list of <code>OutputSource</code> objects.</p>
16    /// - On failure, responds with [`SdkError<GetMatchingJobError>`](crate::operation::get_matching_job::GetMatchingJobError)
17    pub fn get_matching_job(&self) -> crate::operation::get_matching_job::builders::GetMatchingJobFluentBuilder {
18        crate::operation::get_matching_job::builders::GetMatchingJobFluentBuilder::new(self.handle.clone())
19    }
20}