pub struct UpdateEndpointsBatch<C = DynConnector, M = DefaultMiddleware, R = Standard> { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateEndpointsBatch
.
Creates a new batch of endpoints for an application or updates the settings and attributes of a batch of existing endpoints for an application. You can also use this operation to define custom attributes for a batch of endpoints. If an update includes one or more values for a custom attribute, Amazon Pinpoint replaces (overwrites) any existing values with the new values.
Implementations
impl<C, M, R> UpdateEndpointsBatch<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
impl<C, M, R> UpdateEndpointsBatch<C, M, R> where
C: SmithyConnector,
M: SmithyMiddleware<C>,
R: NewRequestPolicy,
pub async fn send(
self
) -> Result<UpdateEndpointsBatchOutput, SdkError<UpdateEndpointsBatchError>> where
R::Policy: SmithyRetryPolicy<UpdateEndpointsBatchInputOperationOutputAlias, UpdateEndpointsBatchOutput, UpdateEndpointsBatchError, UpdateEndpointsBatchInputOperationRetryAlias>,
pub async fn send(
self
) -> Result<UpdateEndpointsBatchOutput, SdkError<UpdateEndpointsBatchError>> where
R::Policy: SmithyRetryPolicy<UpdateEndpointsBatchInputOperationOutputAlias, UpdateEndpointsBatchOutput, UpdateEndpointsBatchError, UpdateEndpointsBatchInputOperationRetryAlias>,
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
Specifies a batch of endpoints to create or update and the settings and attributes to set or change for each endpoint.
Specifies a batch of endpoints to create or update and the settings and attributes to set or change for each endpoint.
Trait Implementations
Auto Trait Implementations
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !RefUnwindSafe for UpdateEndpointsBatch<C, M, R>
impl<C, M, R> Send for UpdateEndpointsBatch<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Sync for UpdateEndpointsBatch<C, M, R> where
C: Send + Sync,
M: Send + Sync,
R: Send + Sync,
impl<C, M, R> Unpin for UpdateEndpointsBatch<C, M, R>
impl<C = DynConnector, M = DefaultMiddleware, R = Standard> !UnwindSafe for UpdateEndpointsBatch<C, M, R>
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more