| 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.BackupStorage.NotifyObjectComplete
Description
Complete upload
Synopsis
- data NotifyObjectComplete = NotifyObjectComplete' {}
- newNotifyObjectComplete :: Text -> Text -> Text -> SummaryChecksumAlgorithm -> HashedBody -> NotifyObjectComplete
- notifyObjectComplete_metadataBlobChecksum :: Lens' NotifyObjectComplete (Maybe Text)
- notifyObjectComplete_metadataBlobChecksumAlgorithm :: Lens' NotifyObjectComplete (Maybe DataChecksumAlgorithm)
- notifyObjectComplete_metadataBlobLength :: Lens' NotifyObjectComplete (Maybe Integer)
- notifyObjectComplete_metadataString :: Lens' NotifyObjectComplete (Maybe Text)
- notifyObjectComplete_backupJobId :: Lens' NotifyObjectComplete Text
- notifyObjectComplete_uploadId :: Lens' NotifyObjectComplete Text
- notifyObjectComplete_objectChecksum :: Lens' NotifyObjectComplete Text
- notifyObjectComplete_objectChecksumAlgorithm :: Lens' NotifyObjectComplete SummaryChecksumAlgorithm
- notifyObjectComplete_metadataBlob :: Lens' NotifyObjectComplete HashedBody
- data NotifyObjectCompleteResponse = NotifyObjectCompleteResponse' {}
- newNotifyObjectCompleteResponse :: Int -> Text -> SummaryChecksumAlgorithm -> NotifyObjectCompleteResponse
- notifyObjectCompleteResponse_httpStatus :: Lens' NotifyObjectCompleteResponse Int
- notifyObjectCompleteResponse_objectChecksum :: Lens' NotifyObjectCompleteResponse Text
- notifyObjectCompleteResponse_objectChecksumAlgorithm :: Lens' NotifyObjectCompleteResponse SummaryChecksumAlgorithm
Creating a Request
data NotifyObjectComplete Source #
See: newNotifyObjectComplete smart constructor.
Constructors
| NotifyObjectComplete' | |
Fields
| |
Instances
newNotifyObjectComplete Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> SummaryChecksumAlgorithm | |
| -> HashedBody | |
| -> NotifyObjectComplete |
Create a value of NotifyObjectComplete 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:metadataBlobChecksum:NotifyObjectComplete', notifyObjectComplete_metadataBlobChecksum - Checksum of MetadataBlob.
$sel:metadataBlobChecksumAlgorithm:NotifyObjectComplete', notifyObjectComplete_metadataBlobChecksumAlgorithm - Checksum algorithm.
$sel:metadataBlobLength:NotifyObjectComplete', notifyObjectComplete_metadataBlobLength - The size of MetadataBlob.
NotifyObjectComplete, notifyObjectComplete_metadataString - Optional metadata associated with an Object. Maximum string length is
256 bytes.
$sel:backupJobId:NotifyObjectComplete', notifyObjectComplete_backupJobId - Backup job Id for the in-progress backup
$sel:uploadId:NotifyObjectComplete', notifyObjectComplete_uploadId - Upload Id for the in-progress upload
NotifyObjectComplete, notifyObjectComplete_objectChecksum - Object checksum
NotifyObjectComplete, notifyObjectComplete_objectChecksumAlgorithm - Checksum algorithm
$sel:metadataBlob:NotifyObjectComplete', notifyObjectComplete_metadataBlob - Optional metadata associated with an Object. Maximum length is 4MB.
Request Lenses
notifyObjectComplete_metadataBlobChecksum :: Lens' NotifyObjectComplete (Maybe Text) Source #
Checksum of MetadataBlob.
notifyObjectComplete_metadataBlobChecksumAlgorithm :: Lens' NotifyObjectComplete (Maybe DataChecksumAlgorithm) Source #
Checksum algorithm.
notifyObjectComplete_metadataBlobLength :: Lens' NotifyObjectComplete (Maybe Integer) Source #
The size of MetadataBlob.
notifyObjectComplete_metadataString :: Lens' NotifyObjectComplete (Maybe Text) Source #
Optional metadata associated with an Object. Maximum string length is 256 bytes.
notifyObjectComplete_backupJobId :: Lens' NotifyObjectComplete Text Source #
Backup job Id for the in-progress backup
notifyObjectComplete_uploadId :: Lens' NotifyObjectComplete Text Source #
Upload Id for the in-progress upload
notifyObjectComplete_objectChecksum :: Lens' NotifyObjectComplete Text Source #
Object checksum
notifyObjectComplete_objectChecksumAlgorithm :: Lens' NotifyObjectComplete SummaryChecksumAlgorithm Source #
Checksum algorithm
notifyObjectComplete_metadataBlob :: Lens' NotifyObjectComplete HashedBody Source #
Optional metadata associated with an Object. Maximum length is 4MB.
Destructuring the Response
data NotifyObjectCompleteResponse Source #
See: newNotifyObjectCompleteResponse smart constructor.
Constructors
| NotifyObjectCompleteResponse' | |
Fields
| |
Instances
newNotifyObjectCompleteResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> SummaryChecksumAlgorithm | |
| -> NotifyObjectCompleteResponse |
Create a value of NotifyObjectCompleteResponse 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:NotifyObjectCompleteResponse', notifyObjectCompleteResponse_httpStatus - The response's http status code.
NotifyObjectComplete, notifyObjectCompleteResponse_objectChecksum - Object checksum
NotifyObjectComplete, notifyObjectCompleteResponse_objectChecksumAlgorithm - Checksum algorithm
Response Lenses
notifyObjectCompleteResponse_httpStatus :: Lens' NotifyObjectCompleteResponse Int Source #
The response's http status code.
notifyObjectCompleteResponse_objectChecksum :: Lens' NotifyObjectCompleteResponse Text Source #
Object checksum