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