aws_sdk_iotdeviceadvisor/client/
get_endpoint.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 [`GetEndpoint`](crate::operation::get_endpoint::builders::GetEndpointFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`thing_arn(impl Into<String>)`](crate::operation::get_endpoint::builders::GetEndpointFluentBuilder::thing_arn) / [`set_thing_arn(Option<String>)`](crate::operation::get_endpoint::builders::GetEndpointFluentBuilder::set_thing_arn):<br>required: **false**<br><p>The thing ARN of the device. This is an optional parameter.</p><br>
7    ///   - [`certificate_arn(impl Into<String>)`](crate::operation::get_endpoint::builders::GetEndpointFluentBuilder::certificate_arn) / [`set_certificate_arn(Option<String>)`](crate::operation::get_endpoint::builders::GetEndpointFluentBuilder::set_certificate_arn):<br>required: **false**<br><p>The certificate ARN of the device. This is an optional parameter.</p><br>
8    ///   - [`device_role_arn(impl Into<String>)`](crate::operation::get_endpoint::builders::GetEndpointFluentBuilder::device_role_arn) / [`set_device_role_arn(Option<String>)`](crate::operation::get_endpoint::builders::GetEndpointFluentBuilder::set_device_role_arn):<br>required: **false**<br><p>The device role ARN of the device. This is an optional parameter.</p><br>
9    ///   - [`authentication_method(AuthenticationMethod)`](crate::operation::get_endpoint::builders::GetEndpointFluentBuilder::authentication_method) / [`set_authentication_method(Option<AuthenticationMethod>)`](crate::operation::get_endpoint::builders::GetEndpointFluentBuilder::set_authentication_method):<br>required: **false**<br><p>The authentication method used during the device connection.</p><br>
10    /// - On success, responds with [`GetEndpointOutput`](crate::operation::get_endpoint::GetEndpointOutput) with field(s):
11    ///   - [`endpoint(Option<String>)`](crate::operation::get_endpoint::GetEndpointOutput::endpoint): <p>The response of an Device Advisor endpoint.</p>
12    /// - On failure, responds with [`SdkError<GetEndpointError>`](crate::operation::get_endpoint::GetEndpointError)
13    pub fn get_endpoint(&self) -> crate::operation::get_endpoint::builders::GetEndpointFluentBuilder {
14        crate::operation::get_endpoint::builders::GetEndpointFluentBuilder::new(self.handle.clone())
15    }
16}