aws_sdk_vpclattice/client/
get_service.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetService`](crate::operation::get_service::builders::GetServiceFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`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 Amazon Resource Name (ARN) of the service.</p><br>
    /// - On success, responds with [`GetServiceOutput`](crate::operation::get_service::GetServiceOutput) with field(s):
    ///   - [`id(Option<String>)`](crate::operation::get_service::GetServiceOutput::id): <p>The ID of the service.</p>
    ///   - [`name(Option<String>)`](crate::operation::get_service::GetServiceOutput::name): <p>The name of the service.</p>
    ///   - [`arn(Option<String>)`](crate::operation::get_service::GetServiceOutput::arn): <p>The Amazon Resource Name (ARN) of the service.</p>
    ///   - [`created_at(Option<DateTime>)`](crate::operation::get_service::GetServiceOutput::created_at): <p>The date and time that the service was created, specified in ISO-8601 format.</p>
    ///   - [`last_updated_at(Option<DateTime>)`](crate::operation::get_service::GetServiceOutput::last_updated_at): <p>The date and time that the service was last updated, specified in ISO-8601 format.</p>
    ///   - [`dns_entry(Option<DnsEntry>)`](crate::operation::get_service::GetServiceOutput::dns_entry): <p>The DNS name of the service.</p>
    ///   - [`custom_domain_name(Option<String>)`](crate::operation::get_service::GetServiceOutput::custom_domain_name): <p>The custom domain name of the service.</p>
    ///   - [`certificate_arn(Option<String>)`](crate::operation::get_service::GetServiceOutput::certificate_arn): <p>The Amazon Resource Name (ARN) of the certificate.</p>
    ///   - [`status(Option<ServiceStatus>)`](crate::operation::get_service::GetServiceOutput::status): <p>The status of the service.</p>
    ///   - [`auth_type(Option<AuthType>)`](crate::operation::get_service::GetServiceOutput::auth_type): <p>The type of IAM policy.</p>
    ///   - [`failure_code(Option<String>)`](crate::operation::get_service::GetServiceOutput::failure_code): <p>The failure code.</p>
    ///   - [`failure_message(Option<String>)`](crate::operation::get_service::GetServiceOutput::failure_message): <p>The failure message.</p>
    /// - On failure, responds with [`SdkError<GetServiceError>`](crate::operation::get_service::GetServiceError)
    pub fn get_service(&self) -> crate::operation::get_service::builders::GetServiceFluentBuilder {
        crate::operation::get_service::builders::GetServiceFluentBuilder::new(self.handle.clone())
    }
}