Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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.
UpdateEndpointsBatch' | |
|
Instances
newUpdateEndpointsBatch Source #
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:
$sel:applicationId: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.
UpdateEndpointsBatchResponse' | |
|
Instances
newUpdateEndpointsBatchResponse Source #
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.