aws_sdk_proton/client/get_service_instance.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 [`GetServiceInstance`](crate::operation::get_service_instance::builders::GetServiceInstanceFluentBuilder) operation.
4 ///
5 /// - The fluent builder is configurable:
6 /// - [`name(impl Into<String>)`](crate::operation::get_service_instance::builders::GetServiceInstanceFluentBuilder::name) / [`set_name(Option<String>)`](crate::operation::get_service_instance::builders::GetServiceInstanceFluentBuilder::set_name):<br>required: **true**<br><p>The name of a service instance that you want to get the detailed data for.</p><br>
7 /// - [`service_name(impl Into<String>)`](crate::operation::get_service_instance::builders::GetServiceInstanceFluentBuilder::service_name) / [`set_service_name(Option<String>)`](crate::operation::get_service_instance::builders::GetServiceInstanceFluentBuilder::set_service_name):<br>required: **true**<br><p>The name of the service that you want the service instance input for.</p><br>
8 /// - On success, responds with [`GetServiceInstanceOutput`](crate::operation::get_service_instance::GetServiceInstanceOutput) with field(s):
9 /// - [`service_instance(Option<ServiceInstance>)`](crate::operation::get_service_instance::GetServiceInstanceOutput::service_instance): <p>The detailed data of the requested service instance.</p>
10 /// - On failure, responds with [`SdkError<GetServiceInstanceError>`](crate::operation::get_service_instance::GetServiceInstanceError)
11 pub fn get_service_instance(&self) -> crate::operation::get_service_instance::builders::GetServiceInstanceFluentBuilder {
12 crate::operation::get_service_instance::builders::GetServiceInstanceFluentBuilder::new(self.handle.clone())
13 }
14}