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