aws_sdk_dsql/client/
get_vpc_endpoint_service_name.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 [`GetVpcEndpointServiceName`](crate::operation::get_vpc_endpoint_service_name::builders::GetVpcEndpointServiceNameFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`identifier(impl Into<String>)`](crate::operation::get_vpc_endpoint_service_name::builders::GetVpcEndpointServiceNameFluentBuilder::identifier) / [`set_identifier(Option<String>)`](crate::operation::get_vpc_endpoint_service_name::builders::GetVpcEndpointServiceNameFluentBuilder::set_identifier):<br>required: **true**<br><p>The ID of the cluster to retrieve.</p><br>
7    /// - On success, responds with [`GetVpcEndpointServiceNameOutput`](crate::operation::get_vpc_endpoint_service_name::GetVpcEndpointServiceNameOutput) with field(s):
8    ///   - [`service_name(String)`](crate::operation::get_vpc_endpoint_service_name::GetVpcEndpointServiceNameOutput::service_name): <p>The VPC endpoint service name.</p>
9    /// - On failure, responds with [`SdkError<GetVpcEndpointServiceNameError>`](crate::operation::get_vpc_endpoint_service_name::GetVpcEndpointServiceNameError)
10    pub fn get_vpc_endpoint_service_name(&self) -> crate::operation::get_vpc_endpoint_service_name::builders::GetVpcEndpointServiceNameFluentBuilder {
11        crate::operation::get_vpc_endpoint_service_name::builders::GetVpcEndpointServiceNameFluentBuilder::new(self.handle.clone())
12    }
13}