| 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.Types.UploadMetadata
Description
Documentation
data UploadMetadata Source #
Fields to be used while uploading the attachment.
See: newUploadMetadata smart constructor.
Constructors
| UploadMetadata' | |
Fields
| |
Instances
newUploadMetadata :: UploadMetadata Source #
Create a value of UploadMetadata 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:headersToInclude:UploadMetadata', uploadMetadata_headersToInclude - The headers to be provided while uploading the file to the URL.
$sel:url:UploadMetadata', uploadMetadata_url - This is the pre-signed URL that can be used for uploading the file to
Amazon S3 when used in response to
StartAttachmentUpload.
$sel:urlExpiry:UploadMetadata', uploadMetadata_urlExpiry - The expiration time of the URL in ISO timestamp. It's specified in ISO
8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example,
2019-11-08T02:41:28.172Z.
uploadMetadata_headersToInclude :: Lens' UploadMetadata (Maybe (HashMap Text Text)) Source #
The headers to be provided while uploading the file to the URL.
uploadMetadata_url :: Lens' UploadMetadata (Maybe Text) Source #
This is the pre-signed URL that can be used for uploading the file to Amazon S3 when used in response to StartAttachmentUpload.
uploadMetadata_urlExpiry :: Lens' UploadMetadata (Maybe Text) Source #
The expiration time of the URL in ISO timestamp. It's specified in ISO 8601 format: yyyy-MM-ddThh:mm:ss.SSSZ. For example, 2019-11-08T02:41:28.172Z.