aws_sdk_proton/client/get_service_instance_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 [`GetServiceInstanceSyncStatus`](crate::operation::get_service_instance_sync_status::builders::GetServiceInstanceSyncStatusFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`service_name(impl Into<String>)`](crate::operation::get_service_instance_sync_status::builders::GetServiceInstanceSyncStatusFluentBuilder::service_name) / [`set_service_name(Option<String>)`](crate::operation::get_service_instance_sync_status::builders::GetServiceInstanceSyncStatusFluentBuilder::set_service_name):<br>required: **true**<br><p>The name of the service that the service instance belongs to.</p><br>
7 /// - [`service_instance_name(impl Into<String>)`](crate::operation::get_service_instance_sync_status::builders::GetServiceInstanceSyncStatusFluentBuilder::service_instance_name) / [`set_service_instance_name(Option<String>)`](crate::operation::get_service_instance_sync_status::builders::GetServiceInstanceSyncStatusFluentBuilder::set_service_instance_name):<br>required: **true**<br><p>The name of the service instance that you want the sync status input for.</p><br>
8 /// - On success, responds with [`GetServiceInstanceSyncStatusOutput`](crate::operation::get_service_instance_sync_status::GetServiceInstanceSyncStatusOutput) with field(s):
9 /// - [`latest_sync(Option<ResourceSyncAttempt>)`](crate::operation::get_service_instance_sync_status::GetServiceInstanceSyncStatusOutput::latest_sync): <p>The detailed data of the latest sync with the service instance.</p>
10 /// - [`latest_successful_sync(Option<ResourceSyncAttempt>)`](crate::operation::get_service_instance_sync_status::GetServiceInstanceSyncStatusOutput::latest_successful_sync): <p>The detailed data of the latest successful sync with the service instance.</p>
11 /// - [`desired_state(Option<Revision>)`](crate::operation::get_service_instance_sync_status::GetServiceInstanceSyncStatusOutput::desired_state): <p>The service instance sync desired state that's returned by Proton</p>
12 /// - On failure, responds with [`SdkError<GetServiceInstanceSyncStatusError>`](crate::operation::get_service_instance_sync_status::GetServiceInstanceSyncStatusError)
13 pub fn get_service_instance_sync_status(
14 &self,
15 ) -> crate::operation::get_service_instance_sync_status::builders::GetServiceInstanceSyncStatusFluentBuilder {
16 crate::operation::get_service_instance_sync_status::builders::GetServiceInstanceSyncStatusFluentBuilder::new(self.handle.clone())
17 }
18}