1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
    /// Constructs a fluent builder for the [`GetServiceEndpoint`](crate::operation::get_service_endpoint::builders::GetServiceEndpointFluentBuilder) operation.
    ///
    /// - The fluent builder is configurable:
    ///   - [`service_type(WirelessGatewayServiceType)`](crate::operation::get_service_endpoint::builders::GetServiceEndpointFluentBuilder::service_type) / [`set_service_type(Option<WirelessGatewayServiceType>)`](crate::operation::get_service_endpoint::builders::GetServiceEndpointFluentBuilder::set_service_type):<br>required: **false**<br><p>The service type for which to get endpoint information about. Can be <code>CUPS</code> for the Configuration and Update Server endpoint, or <code>LNS</code> for the LoRaWAN Network Server endpoint or <code>CLAIM</code> for the global endpoint.</p><br>
    /// - On success, responds with [`GetServiceEndpointOutput`](crate::operation::get_service_endpoint::GetServiceEndpointOutput) with field(s):
    ///   - [`service_type(Option<WirelessGatewayServiceType>)`](crate::operation::get_service_endpoint::GetServiceEndpointOutput::service_type): <p>The endpoint's service type.</p>
    ///   - [`service_endpoint(Option<String>)`](crate::operation::get_service_endpoint::GetServiceEndpointOutput::service_endpoint): <p>The service endpoint value.</p>
    ///   - [`server_trust(Option<String>)`](crate::operation::get_service_endpoint::GetServiceEndpointOutput::server_trust): <p>The Root CA of the server trust certificate.</p>
    /// - On failure, responds with [`SdkError<GetServiceEndpointError>`](crate::operation::get_service_endpoint::GetServiceEndpointError)
    pub fn get_service_endpoint(&self) -> crate::operation::get_service_endpoint::builders::GetServiceEndpointFluentBuilder {
        crate::operation::get_service_endpoint::builders::GetServiceEndpointFluentBuilder::new(self.handle.clone())
    }
}