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