aws_sdk_iot/client/get_job_document.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 [`GetJobDocument`](crate::operation::get_job_document::builders::GetJobDocumentFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`job_id(impl Into<String>)`](crate::operation::get_job_document::builders::GetJobDocumentFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::get_job_document::builders::GetJobDocumentFluentBuilder::set_job_id):<br>required: **true**<br><p>The unique identifier you assigned to this job when it was created.</p><br>
7 /// - [`before_substitution(bool)`](crate::operation::get_job_document::builders::GetJobDocumentFluentBuilder::before_substitution) / [`set_before_substitution(Option<bool>)`](crate::operation::get_job_document::builders::GetJobDocumentFluentBuilder::set_before_substitution):<br>required: **false**<br><p>Provides a view of the job document before and after the substitution parameters have been resolved with their exact values.</p><br>
8 /// - On success, responds with [`GetJobDocumentOutput`](crate::operation::get_job_document::GetJobDocumentOutput) with field(s):
9 /// - [`document(Option<String>)`](crate::operation::get_job_document::GetJobDocumentOutput::document): <p>The job document content.</p>
10 /// - On failure, responds with [`SdkError<GetJobDocumentError>`](crate::operation::get_job_document::GetJobDocumentError)
11 pub fn get_job_document(&self) -> crate::operation::get_job_document::builders::GetJobDocumentFluentBuilder {
12 crate::operation::get_job_document::builders::GetJobDocumentFluentBuilder::new(self.handle.clone())
13 }
14}