aws_sdk_pinpoint/client/
update_endpoints_batch.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 [`UpdateEndpointsBatch`](crate::operation::update_endpoints_batch::builders::UpdateEndpointsBatchFluentBuilder) operation.
4    ///
5    /// - The fluent builder is configurable:
6    ///   - [`application_id(impl Into<String>)`](crate::operation::update_endpoints_batch::builders::UpdateEndpointsBatchFluentBuilder::application_id) / [`set_application_id(Option<String>)`](crate::operation::update_endpoints_batch::builders::UpdateEndpointsBatchFluentBuilder::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_batch_request(EndpointBatchRequest)`](crate::operation::update_endpoints_batch::builders::UpdateEndpointsBatchFluentBuilder::endpoint_batch_request) / [`set_endpoint_batch_request(Option<EndpointBatchRequest>)`](crate::operation::update_endpoints_batch::builders::UpdateEndpointsBatchFluentBuilder::set_endpoint_batch_request):<br>required: **true**<br><p>Specifies a batch of endpoints to create or update and the settings and attributes to set or change for each endpoint.</p><br>
8    /// - On success, responds with [`UpdateEndpointsBatchOutput`](crate::operation::update_endpoints_batch::UpdateEndpointsBatchOutput) with field(s):
9    ///   - [`message_body(Option<MessageBody>)`](crate::operation::update_endpoints_batch::UpdateEndpointsBatchOutput::message_body): <p>Provides information about an API request or response.</p>
10    /// - On failure, responds with [`SdkError<UpdateEndpointsBatchError>`](crate::operation::update_endpoints_batch::UpdateEndpointsBatchError)
11    pub fn update_endpoints_batch(&self) -> crate::operation::update_endpoints_batch::builders::UpdateEndpointsBatchFluentBuilder {
12        crate::operation::update_endpoints_batch::builders::UpdateEndpointsBatchFluentBuilder::new(self.handle.clone())
13    }
14}