aws_sdk_proton/client/
get_template_sync_status.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 [`GetTemplateSyncStatus`](crate::operation::get_template_sync_status::builders::GetTemplateSyncStatusFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`template_name(impl Into<String>)`](crate::operation::get_template_sync_status::builders::GetTemplateSyncStatusFluentBuilder::template_name) / [`set_template_name(Option<String>)`](crate::operation::get_template_sync_status::builders::GetTemplateSyncStatusFluentBuilder::set_template_name):<br>required: **true**<br><p>The template name.</p><br>
7    ///   - [`template_type(TemplateType)`](crate::operation::get_template_sync_status::builders::GetTemplateSyncStatusFluentBuilder::template_type) / [`set_template_type(Option<TemplateType>)`](crate::operation::get_template_sync_status::builders::GetTemplateSyncStatusFluentBuilder::set_template_type):<br>required: **true**<br><p>The template type.</p><br>
8    ///   - [`template_version(impl Into<String>)`](crate::operation::get_template_sync_status::builders::GetTemplateSyncStatusFluentBuilder::template_version) / [`set_template_version(Option<String>)`](crate::operation::get_template_sync_status::builders::GetTemplateSyncStatusFluentBuilder::set_template_version):<br>required: **true**<br><p>The template major version.</p><br>
9    /// - On success, responds with [`GetTemplateSyncStatusOutput`](crate::operation::get_template_sync_status::GetTemplateSyncStatusOutput) with field(s):
10    ///   - [`latest_sync(Option<ResourceSyncAttempt>)`](crate::operation::get_template_sync_status::GetTemplateSyncStatusOutput::latest_sync): <p>The details of the last sync that's returned by Proton.</p>
11    ///   - [`latest_successful_sync(Option<ResourceSyncAttempt>)`](crate::operation::get_template_sync_status::GetTemplateSyncStatusOutput::latest_successful_sync): <p>The details of the last successful sync that's returned by Proton.</p>
12    ///   - [`desired_state(Option<Revision>)`](crate::operation::get_template_sync_status::GetTemplateSyncStatusOutput::desired_state): <p>The template sync desired state that's returned by Proton.</p>
13    /// - On failure, responds with [`SdkError<GetTemplateSyncStatusError>`](crate::operation::get_template_sync_status::GetTemplateSyncStatusError)
14    pub fn get_template_sync_status(&self) -> crate::operation::get_template_sync_status::builders::GetTemplateSyncStatusFluentBuilder {
15        crate::operation::get_template_sync_status::builders::GetTemplateSyncStatusFluentBuilder::new(self.handle.clone())
16    }
17}