aws_sdk_vpclattice/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 /// - [`service_identifier(impl Into<String>)`](crate::operation::get_service::builders::GetServiceFluentBuilder::service_identifier) / [`set_service_identifier(Option<String>)`](crate::operation::get_service::builders::GetServiceFluentBuilder::set_service_identifier):<br>required: **true**<br><p>The ID or ARN of the service.</p><br>
7 /// - On success, responds with [`GetServiceOutput`](crate::operation::get_service::GetServiceOutput) with field(s):
8 /// - [`id(Option<String>)`](crate::operation::get_service::GetServiceOutput::id): <p>The ID of the service.</p>
9 /// - [`name(Option<String>)`](crate::operation::get_service::GetServiceOutput::name): <p>The name of the service.</p>
10 /// - [`arn(Option<String>)`](crate::operation::get_service::GetServiceOutput::arn): <p>The Amazon Resource Name (ARN) of the service.</p>
11 /// - [`created_at(Option<DateTime>)`](crate::operation::get_service::GetServiceOutput::created_at): <p>The date and time that the service was created, in ISO-8601 format.</p>
12 /// - [`last_updated_at(Option<DateTime>)`](crate::operation::get_service::GetServiceOutput::last_updated_at): <p>The date and time that the service was last updated, in ISO-8601 format.</p>
13 /// - [`dns_entry(Option<DnsEntry>)`](crate::operation::get_service::GetServiceOutput::dns_entry): <p>The DNS name of the service.</p>
14 /// - [`custom_domain_name(Option<String>)`](crate::operation::get_service::GetServiceOutput::custom_domain_name): <p>The custom domain name of the service.</p>
15 /// - [`certificate_arn(Option<String>)`](crate::operation::get_service::GetServiceOutput::certificate_arn): <p>The Amazon Resource Name (ARN) of the certificate.</p>
16 /// - [`status(Option<ServiceStatus>)`](crate::operation::get_service::GetServiceOutput::status): <p>The status of the service.</p>
17 /// - [`auth_type(Option<AuthType>)`](crate::operation::get_service::GetServiceOutput::auth_type): <p>The type of IAM policy.</p>
18 /// - [`failure_code(Option<String>)`](crate::operation::get_service::GetServiceOutput::failure_code): <p>The failure code.</p>
19 /// - [`failure_message(Option<String>)`](crate::operation::get_service::GetServiceOutput::failure_message): <p>The failure message.</p>
20 /// - On failure, responds with [`SdkError<GetServiceError>`](crate::operation::get_service::GetServiceError)
21 pub fn get_service(&self) -> crate::operation::get_service::builders::GetServiceFluentBuilder {
22 crate::operation::get_service::builders::GetServiceFluentBuilder::new(self.handle.clone())
23 }
24}