aws_sdk_customerprofiles/client/get_upload_job_path.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 [`GetUploadJobPath`](crate::operation::get_upload_job_path::builders::GetUploadJobPathFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`domain_name(impl Into<String>)`](crate::operation::get_upload_job_path::builders::GetUploadJobPathFluentBuilder::domain_name) / [`set_domain_name(Option<String>)`](crate::operation::get_upload_job_path::builders::GetUploadJobPathFluentBuilder::set_domain_name):<br>required: **true**<br><p>The unique name of the domain containing the upload job.</p><br>
7 /// - [`job_id(impl Into<String>)`](crate::operation::get_upload_job_path::builders::GetUploadJobPathFluentBuilder::job_id) / [`set_job_id(Option<String>)`](crate::operation::get_upload_job_path::builders::GetUploadJobPathFluentBuilder::set_job_id):<br>required: **true**<br><p>The unique identifier of the upload job to retrieve the upload path for. This is generated from the CreateUploadJob API.</p><br>
8 /// - On success, responds with [`GetUploadJobPathOutput`](crate::operation::get_upload_job_path::GetUploadJobPathOutput) with field(s):
9 /// - [`url(String)`](crate::operation::get_upload_job_path::GetUploadJobPathOutput::url): <p>The pre-signed S3 URL for uploading the CSV file associated with the upload job.</p>
10 /// - [`client_token(Option<String>)`](crate::operation::get_upload_job_path::GetUploadJobPathOutput::client_token): <p>The plaintext data key used to encrypt the upload file.</p> <p>To persist to the pre-signed url, use the client token and MD5 client token as header. The required headers are as follows:</p> <ul> <li> <p>x-amz-server-side-encryption-customer-key: Client Token</p></li> <li> <p>x-amz-server-side-encryption-customer-key-MD5: MD5 Client Token</p></li> <li> <p>x-amz-server-side-encryption-customer-algorithm: AES256</p></li> </ul>
11 /// - [`valid_until(Option<DateTime>)`](crate::operation::get_upload_job_path::GetUploadJobPathOutput::valid_until): <p>The expiry timestamp for the pre-signed URL, after which the URL will no longer be valid.</p>
12 /// - On failure, responds with [`SdkError<GetUploadJobPathError>`](crate::operation::get_upload_job_path::GetUploadJobPathError)
13 pub fn get_upload_job_path(&self) -> crate::operation::get_upload_job_path::builders::GetUploadJobPathFluentBuilder {
14 crate::operation::get_upload_job_path::builders::GetUploadJobPathFluentBuilder::new(self.handle.clone())
15 }
16}