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 |
Documentation
data UploadMetadata Source #
Fields to be used while uploading the attachment.
See: newUploadMetadata
smart constructor.
UploadMetadata' | |
|
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: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.
$sel:headersToInclude:UploadMetadata'
, uploadMetadata_headersToInclude
- The headers to be provided while uploading the file to the URL.
$sel:url:UploadMetadata'
, uploadMetadata_url
- The pre-signed URL using which file would be downloaded from Amazon S3
by the API caller.
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.
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 #
The pre-signed URL using which file would be downloaded from Amazon S3 by the API caller.