| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Pinpoint.UpdateEndpointsBatch
Description
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.
Synopsis
- data UpdateEndpointsBatch = UpdateEndpointsBatch' {}
- newUpdateEndpointsBatch :: Text -> EndpointBatchRequest -> UpdateEndpointsBatch
- updateEndpointsBatch_applicationId :: Lens' UpdateEndpointsBatch Text
- updateEndpointsBatch_endpointBatchRequest :: Lens' UpdateEndpointsBatch EndpointBatchRequest
- data UpdateEndpointsBatchResponse = UpdateEndpointsBatchResponse' {}
- newUpdateEndpointsBatchResponse :: Int -> MessageBody -> UpdateEndpointsBatchResponse
- updateEndpointsBatchResponse_httpStatus :: Lens' UpdateEndpointsBatchResponse Int
- updateEndpointsBatchResponse_messageBody :: Lens' UpdateEndpointsBatchResponse MessageBody
Creating a Request
data UpdateEndpointsBatch Source #
See: newUpdateEndpointsBatch smart constructor.
Constructors
| UpdateEndpointsBatch' | |
Fields
| |
Instances
newUpdateEndpointsBatch Source #
Arguments
| :: Text | |
| -> EndpointBatchRequest | |
| -> UpdateEndpointsBatch |
Create a value of UpdateEndpointsBatch with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateEndpointsBatch, updateEndpointsBatch_applicationId - The unique identifier for the application. This identifier is displayed
as the Project ID on the Amazon Pinpoint console.
$sel:endpointBatchRequest:UpdateEndpointsBatch', updateEndpointsBatch_endpointBatchRequest - Undocumented member.
Request Lenses
updateEndpointsBatch_applicationId :: Lens' UpdateEndpointsBatch Text Source #
The unique identifier for the application. This identifier is displayed as the Project ID on the Amazon Pinpoint console.
updateEndpointsBatch_endpointBatchRequest :: Lens' UpdateEndpointsBatch EndpointBatchRequest Source #
Undocumented member.
Destructuring the Response
data UpdateEndpointsBatchResponse Source #
See: newUpdateEndpointsBatchResponse smart constructor.
Constructors
| UpdateEndpointsBatchResponse' | |
Fields
| |
Instances
newUpdateEndpointsBatchResponse Source #
Arguments
| :: Int | |
| -> MessageBody | |
| -> UpdateEndpointsBatchResponse |
Create a value of UpdateEndpointsBatchResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:httpStatus:UpdateEndpointsBatchResponse', updateEndpointsBatchResponse_httpStatus - The response's http status code.
$sel:messageBody:UpdateEndpointsBatchResponse', updateEndpointsBatchResponse_messageBody - Undocumented member.
Response Lenses
updateEndpointsBatchResponse_httpStatus :: Lens' UpdateEndpointsBatchResponse Int Source #
The response's http status code.
updateEndpointsBatchResponse_messageBody :: Lens' UpdateEndpointsBatchResponse MessageBody Source #
Undocumented member.