aws-sdk-customerprofiles 1.118.0

AWS SDK for Amazon Connect Customer Profiles
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetUploadJobPath`](crate::operation::get_upload_job_path::builders::GetUploadJobPathFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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>
    ///   - [`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>
    /// - On success, responds with [`GetUploadJobPathOutput`](crate::operation::get_upload_job_path::GetUploadJobPathOutput) with field(s):
    ///   - [`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>
    ///   - [`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>
    ///   - [`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>
    /// - On failure, responds with [`SdkError<GetUploadJobPathError>`](crate::operation::get_upload_job_path::GetUploadJobPathError)
    pub fn get_upload_job_path(&self) -> crate::operation::get_upload_job_path::builders::GetUploadJobPathFluentBuilder {
        crate::operation::get_upload_job_path::builders::GetUploadJobPathFluentBuilder::new(self.handle.clone())
    }
}