1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetSyncJob`](crate::operation::get_sync_job::builders::GetSyncJobFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`sync_source(impl Into<String>)`](crate::operation::get_sync_job::builders::GetSyncJobFluentBuilder::sync_source) / [`set_sync_source(Option<String>)`](crate::operation::get_sync_job::builders::GetSyncJobFluentBuilder::set_sync_source): <p>The sync source.</p> <note>   <p>Currently the only supported syncSource is <code>SITEWISE </code>.</p>  </note>
    ///   - [`workspace_id(impl Into<String>)`](crate::operation::get_sync_job::builders::GetSyncJobFluentBuilder::workspace_id) / [`set_workspace_id(Option<String>)`](crate::operation::get_sync_job::builders::GetSyncJobFluentBuilder::set_workspace_id): <p>The workspace ID.</p>
    /// - On success, responds with [`GetSyncJobOutput`](crate::operation::get_sync_job::GetSyncJobOutput) with field(s):
    ///   - [`arn(Option<String>)`](crate::operation::get_sync_job::GetSyncJobOutput::arn): <p>The sync job ARN.</p>
    ///   - [`workspace_id(Option<String>)`](crate::operation::get_sync_job::GetSyncJobOutput::workspace_id): <p>The ID of the workspace that contains the sync job.</p>
    ///   - [`sync_source(Option<String>)`](crate::operation::get_sync_job::GetSyncJobOutput::sync_source): <p>The sync soucre.</p> <note>   <p>Currently the only supported syncSource is <code>SITEWISE </code>.</p>  </note>
    ///   - [`sync_role(Option<String>)`](crate::operation::get_sync_job::GetSyncJobOutput::sync_role): <p>The sync IAM role.</p>
    ///   - [`status(Option<SyncJobStatus>)`](crate::operation::get_sync_job::GetSyncJobOutput::status): <p>The SyncJob response status.</p>
    ///   - [`creation_date_time(Option<DateTime>)`](crate::operation::get_sync_job::GetSyncJobOutput::creation_date_time): <p>The creation date and time.</p>
    ///   - [`update_date_time(Option<DateTime>)`](crate::operation::get_sync_job::GetSyncJobOutput::update_date_time): <p>The update date and time.</p>
    /// - On failure, responds with [`SdkError<GetSyncJobError>`](crate::operation::get_sync_job::GetSyncJobError)
    pub fn get_sync_job(
        &self,
    ) -> crate::operation::get_sync_job::builders::GetSyncJobFluentBuilder {
        crate::operation::get_sync_job::builders::GetSyncJobFluentBuilder::new(self.handle.clone())
    }
}