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.ConnectParticipant.CompleteAttachmentUpload
Description
Allows you to confirm that the attachment has been uploaded using the pre-signed URL provided in StartAttachmentUpload API.
ConnectionToken
is used for invoking this API instead of
ParticipantToken
.
The Amazon Connect Participant Service APIs do not use Signature Version 4 authentication.
Synopsis
- data CompleteAttachmentUpload = CompleteAttachmentUpload' {}
- newCompleteAttachmentUpload :: NonEmpty Text -> Text -> Text -> CompleteAttachmentUpload
- completeAttachmentUpload_attachmentIds :: Lens' CompleteAttachmentUpload (NonEmpty Text)
- completeAttachmentUpload_clientToken :: Lens' CompleteAttachmentUpload Text
- completeAttachmentUpload_connectionToken :: Lens' CompleteAttachmentUpload Text
- data CompleteAttachmentUploadResponse = CompleteAttachmentUploadResponse' {
- httpStatus :: Int
- newCompleteAttachmentUploadResponse :: Int -> CompleteAttachmentUploadResponse
- completeAttachmentUploadResponse_httpStatus :: Lens' CompleteAttachmentUploadResponse Int
Creating a Request
data CompleteAttachmentUpload Source #
See: newCompleteAttachmentUpload
smart constructor.
Constructors
CompleteAttachmentUpload' | |
Fields
|
Instances
newCompleteAttachmentUpload Source #
Arguments
:: NonEmpty Text | |
-> Text | |
-> Text | |
-> CompleteAttachmentUpload |
Create a value of CompleteAttachmentUpload
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:attachmentIds:CompleteAttachmentUpload'
, completeAttachmentUpload_attachmentIds
- A list of unique identifiers for the attachments.
$sel:clientToken:CompleteAttachmentUpload'
, completeAttachmentUpload_clientToken
- A unique, case-sensitive identifier that you provide to ensure the
idempotency of the request. If not provided, the Amazon Web Services SDK
populates this field. For more information about idempotency, see
Making retries safe with idempotent APIs.
CompleteAttachmentUpload
, completeAttachmentUpload_connectionToken
- The authentication token associated with the participant's connection.
Request Lenses
completeAttachmentUpload_attachmentIds :: Lens' CompleteAttachmentUpload (NonEmpty Text) Source #
A list of unique identifiers for the attachments.
completeAttachmentUpload_clientToken :: Lens' CompleteAttachmentUpload Text Source #
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If not provided, the Amazon Web Services SDK populates this field. For more information about idempotency, see Making retries safe with idempotent APIs.
completeAttachmentUpload_connectionToken :: Lens' CompleteAttachmentUpload Text Source #
The authentication token associated with the participant's connection.
Destructuring the Response
data CompleteAttachmentUploadResponse Source #
See: newCompleteAttachmentUploadResponse
smart constructor.
Constructors
CompleteAttachmentUploadResponse' | |
Fields
|
Instances
newCompleteAttachmentUploadResponse Source #
Create a value of CompleteAttachmentUploadResponse
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:CompleteAttachmentUploadResponse'
, completeAttachmentUploadResponse_httpStatus
- The response's http status code.
Response Lenses
completeAttachmentUploadResponse_httpStatus :: Lens' CompleteAttachmentUploadResponse Int Source #
The response's http status code.