aws_sdk_pinpoint/client/
get_user_endpoints.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 [`GetUserEndpoints`](crate::operation::get_user_endpoints::builders::GetUserEndpointsFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_id(impl Into<String>)`](crate::operation::get_user_endpoints::builders::GetUserEndpointsFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::get_user_endpoints::builders::GetUserEndpointsFluentBuilder::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    ///   - [`user_id(impl Into<String>)`](crate::operation::get_user_endpoints::builders::GetUserEndpointsFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::get_user_endpoints::builders::GetUserEndpointsFluentBuilder::set_user_id):<br>required: **true**<br><p>The unique identifier for the user.</p><br>
8    /// - On success, responds with [`GetUserEndpointsOutput`](crate::operation::get_user_endpoints::GetUserEndpointsOutput) with field(s):
9    ///   - [`endpoints_response(Option<EndpointsResponse>)`](crate::operation::get_user_endpoints::GetUserEndpointsOutput::endpoints_response): <p>Provides information about all the endpoints that are associated with a user ID.</p>
10    /// - On failure, responds with [`SdkError<GetUserEndpointsError>`](crate::operation::get_user_endpoints::GetUserEndpointsError)
11    pub fn get_user_endpoints(&self) -> crate::operation::get_user_endpoints::builders::GetUserEndpointsFluentBuilder {
12        crate::operation::get_user_endpoints::builders::GetUserEndpointsFluentBuilder::new(self.handle.clone())
13    }
14}