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 |
Get metadata associated with an Object.
Synopsis
- data GetObjectMetadata = GetObjectMetadata' {
- storageJobId :: Text
- objectToken :: Text
- newGetObjectMetadata :: Text -> Text -> GetObjectMetadata
- getObjectMetadata_storageJobId :: Lens' GetObjectMetadata Text
- getObjectMetadata_objectToken :: Lens' GetObjectMetadata Text
- data GetObjectMetadataResponse = GetObjectMetadataResponse' {}
- newGetObjectMetadataResponse :: Int -> ResponseBody -> GetObjectMetadataResponse
- getObjectMetadataResponse_metadataBlobChecksum :: Lens' GetObjectMetadataResponse (Maybe Text)
- getObjectMetadataResponse_metadataBlobChecksumAlgorithm :: Lens' GetObjectMetadataResponse (Maybe DataChecksumAlgorithm)
- getObjectMetadataResponse_metadataBlobLength :: Lens' GetObjectMetadataResponse (Maybe Integer)
- getObjectMetadataResponse_metadataString :: Lens' GetObjectMetadataResponse (Maybe Text)
- getObjectMetadataResponse_httpStatus :: Lens' GetObjectMetadataResponse Int
- getObjectMetadataResponse_metadataBlob :: Lens' GetObjectMetadataResponse ResponseBody
Creating a Request
data GetObjectMetadata Source #
See: newGetObjectMetadata
smart constructor.
GetObjectMetadata' | |
|
Instances
Create a value of GetObjectMetadata
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:storageJobId:GetObjectMetadata'
, getObjectMetadata_storageJobId
- Backup job id for the in-progress backup.
GetObjectMetadata
, getObjectMetadata_objectToken
- Object token.
Request Lenses
getObjectMetadata_storageJobId :: Lens' GetObjectMetadata Text Source #
Backup job id for the in-progress backup.
getObjectMetadata_objectToken :: Lens' GetObjectMetadata Text Source #
Object token.
Destructuring the Response
data GetObjectMetadataResponse Source #
See: newGetObjectMetadataResponse
smart constructor.
GetObjectMetadataResponse' | |
|
Instances
newGetObjectMetadataResponse Source #
Create a value of GetObjectMetadataResponse
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:GetObjectMetadataResponse'
, getObjectMetadataResponse_metadataBlobChecksum
- MetadataBlob checksum.
$sel:metadataBlobChecksumAlgorithm:GetObjectMetadataResponse'
, getObjectMetadataResponse_metadataBlobChecksumAlgorithm
- Checksum algorithm.
$sel:metadataBlobLength:GetObjectMetadataResponse'
, getObjectMetadataResponse_metadataBlobLength
- The size of MetadataBlob.
GetObjectMetadataResponse
, getObjectMetadataResponse_metadataString
- Metadata string.
$sel:httpStatus:GetObjectMetadataResponse'
, getObjectMetadataResponse_httpStatus
- The response's http status code.
$sel:metadataBlob:GetObjectMetadataResponse'
, getObjectMetadataResponse_metadataBlob
- Metadata blob.
Response Lenses
getObjectMetadataResponse_metadataBlobChecksum :: Lens' GetObjectMetadataResponse (Maybe Text) Source #
MetadataBlob checksum.
getObjectMetadataResponse_metadataBlobChecksumAlgorithm :: Lens' GetObjectMetadataResponse (Maybe DataChecksumAlgorithm) Source #
Checksum algorithm.
getObjectMetadataResponse_metadataBlobLength :: Lens' GetObjectMetadataResponse (Maybe Integer) Source #
The size of MetadataBlob.
getObjectMetadataResponse_metadataString :: Lens' GetObjectMetadataResponse (Maybe Text) Source #
Metadata string.
getObjectMetadataResponse_httpStatus :: Lens' GetObjectMetadataResponse Int Source #
The response's http status code.
getObjectMetadataResponse_metadataBlob :: Lens' GetObjectMetadataResponse ResponseBody Source #
Metadata blob.