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 |
Allows you to confirm that the attachment has been uploaded using the pre-signed URL provided in StartAttachmentUpload API.
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.
CompleteAttachmentUpload' | |
|
Instances
newCompleteAttachmentUpload Source #
:: 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.
$sel:connectionToken: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.
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.
CompleteAttachmentUploadResponse' | |
|
Instances
Eq CompleteAttachmentUploadResponse Source # | |
Read CompleteAttachmentUploadResponse Source # | |
Show CompleteAttachmentUploadResponse Source # | |
Generic CompleteAttachmentUploadResponse Source # | |
NFData CompleteAttachmentUploadResponse Source # | |
Defined in Amazonka.ConnectParticipant.CompleteAttachmentUpload rnf :: CompleteAttachmentUploadResponse -> () # | |
type Rep CompleteAttachmentUploadResponse Source # | |
Defined in Amazonka.ConnectParticipant.CompleteAttachmentUpload type Rep CompleteAttachmentUploadResponse = D1 ('MetaData "CompleteAttachmentUploadResponse" "Amazonka.ConnectParticipant.CompleteAttachmentUpload" "libZSservicesZSamazonka-connectparticipantZSamazonka-connectparticipant" 'False) (C1 ('MetaCons "CompleteAttachmentUploadResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
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.