aws_sdk_pinpoint/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    ///   - [`application_id(impl Into<String>)`](crate::operation::get_endpoint::builders::GetEndpointFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_endpoint::builders::GetEndpointFluentBuilder::set_application_id):<br>required: **true**<br><p>The unique identifier for the application. This identifier is displayed as the <b>Project ID</b> on the Amazon Pinpoint console.</p><br>
7    ///   - [`endpoint_id(impl Into<String>)`](crate::operation::get_endpoint::builders::GetEndpointFluentBuilder::endpoint_id) / [`set_endpoint_id(Option<String>)`](crate::operation::get_endpoint::builders::GetEndpointFluentBuilder::set_endpoint_id):<br>required: **true**<br><p>The case insensitive unique identifier for the endpoint. The identifier can't contain <code>$</code>, <code>{</code> or <code>}</code>.</p><br>
8    /// - On success, responds with [`GetEndpointOutput`](crate::operation::get_endpoint::GetEndpointOutput) with field(s):
9    ///   - [`endpoint_response(Option<EndpointResponse>)`](crate::operation::get_endpoint::GetEndpointOutput::endpoint_response): <p>Provides information about the channel type and other settings for an endpoint.</p>
10    /// - On failure, responds with [`SdkError<GetEndpointError>`](crate::operation::get_endpoint::GetEndpointError)
11    pub fn get_endpoint(&self) -> crate::operation::get_endpoint::builders::GetEndpointFluentBuilder {
12        crate::operation::get_endpoint::builders::GetEndpointFluentBuilder::new(self.handle.clone())
13    }
14}