| 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
Description
Derived from API version 2018-04-10 of the AWS service descriptions, licensed under Apache 2.0.
The frontend service for Cryo Storage.
Synopsis
- defaultService :: Service
 - _AccessDeniedException :: AsError a => Fold a ServiceError
 - _DataAlreadyExistsException :: AsError a => Fold a ServiceError
 - _IllegalArgumentException :: AsError a => Fold a ServiceError
 - _KMSInvalidKeyUsageException :: AsError a => Fold a ServiceError
 - _NotReadableInputStreamException :: AsError a => Fold a ServiceError
 - _ResourceNotFoundException :: AsError a => Fold a ServiceError
 - _RetryableException :: AsError a => Fold a ServiceError
 - _ServiceInternalException :: AsError a => Fold a ServiceError
 - _ServiceUnavailableException :: AsError a => Fold a ServiceError
 - _ThrottlingException :: AsError a => Fold a ServiceError
 - data DeleteObject = DeleteObject' Text Text
 - newDeleteObject :: Text -> Text -> DeleteObject
 - data DeleteObjectResponse = DeleteObjectResponse' {
 - newDeleteObjectResponse :: DeleteObjectResponse
 - data GetChunk = GetChunk' Text Text
 - newGetChunk :: Text -> Text -> GetChunk
 - data GetChunkResponse = GetChunkResponse' Int Integer Text DataChecksumAlgorithm ResponseBody
 - newGetChunkResponse :: Int -> Integer -> Text -> DataChecksumAlgorithm -> ResponseBody -> GetChunkResponse
 - data GetObjectMetadata = GetObjectMetadata' Text Text
 - newGetObjectMetadata :: Text -> Text -> GetObjectMetadata
 - data GetObjectMetadataResponse = GetObjectMetadataResponse' (Maybe Text) (Maybe DataChecksumAlgorithm) (Maybe Integer) (Maybe Text) Int ResponseBody
 - newGetObjectMetadataResponse :: Int -> ResponseBody -> GetObjectMetadataResponse
 - data ListChunks = ListChunks' (Maybe Natural) (Maybe Text) Text Text
 - newListChunks :: Text -> Text -> ListChunks
 - data ListChunksResponse = ListChunksResponse' (Maybe Text) Int [Chunk]
 - newListChunksResponse :: Int -> ListChunksResponse
 - data ListObjects = ListObjects' (Maybe POSIX) (Maybe POSIX) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) Text
 - newListObjects :: Text -> ListObjects
 - data ListObjectsResponse = ListObjectsResponse' (Maybe Text) Int [BackupObject]
 - newListObjectsResponse :: Int -> ListObjectsResponse
 - data NotifyObjectComplete = NotifyObjectComplete' (Maybe Text) (Maybe DataChecksumAlgorithm) (Maybe Integer) (Maybe Text) Text Text Text SummaryChecksumAlgorithm HashedBody
 - newNotifyObjectComplete :: Text -> Text -> Text -> SummaryChecksumAlgorithm -> HashedBody -> NotifyObjectComplete
 - data NotifyObjectCompleteResponse = NotifyObjectCompleteResponse' Int Text SummaryChecksumAlgorithm
 - newNotifyObjectCompleteResponse :: Int -> Text -> SummaryChecksumAlgorithm -> NotifyObjectCompleteResponse
 - data PutChunk = PutChunk' Text Text Integer Integer Text DataChecksumAlgorithm HashedBody
 - newPutChunk :: Text -> Text -> Integer -> Integer -> Text -> DataChecksumAlgorithm -> HashedBody -> PutChunk
 - data PutChunkResponse = PutChunkResponse' Int Text DataChecksumAlgorithm
 - newPutChunkResponse :: Int -> Text -> DataChecksumAlgorithm -> PutChunkResponse
 - data PutObject = PutObject' (Maybe Text) (Maybe Text) (Maybe Integer) (Maybe Text) (Maybe Text) (Maybe SummaryChecksumAlgorithm) (Maybe Bool) Text Text HashedBody
 - newPutObject :: Text -> Text -> HashedBody -> PutObject
 - data PutObjectResponse = PutObjectResponse' Int Text DataChecksumAlgorithm Text SummaryChecksumAlgorithm
 - newPutObjectResponse :: Int -> Text -> DataChecksumAlgorithm -> Text -> SummaryChecksumAlgorithm -> PutObjectResponse
 - data StartObject = StartObject' (Maybe Bool) Text Text
 - newStartObject :: Text -> Text -> StartObject
 - data StartObjectResponse = StartObjectResponse' Int Text
 - newStartObjectResponse :: Int -> Text -> StartObjectResponse
 - newtype DataChecksumAlgorithm where
 - newtype SummaryChecksumAlgorithm where
 - data BackupObject = BackupObject' (Maybe Integer) (Maybe Text) Text Text SummaryChecksumAlgorithm Text
 - newBackupObject :: Text -> Text -> SummaryChecksumAlgorithm -> Text -> BackupObject
 - data Chunk = Chunk' Integer Integer Text DataChecksumAlgorithm Text
 - newChunk :: Integer -> Integer -> Text -> DataChecksumAlgorithm -> Text -> Chunk
 
Service Configuration
defaultService :: Service Source #
API version 2018-04-10 of the Amazon Backup Storage SDK configuration.
Errors
Error matchers are designed for use with the functions provided by
 Control.Exception.Lens.
 This allows catching (and rethrowing) service specific errors returned
 by BackupStorage.
AccessDeniedException
_AccessDeniedException :: AsError a => Fold a ServiceError Source #
Prism for AccessDeniedException' errors.
DataAlreadyExistsException
_DataAlreadyExistsException :: AsError a => Fold a ServiceError Source #
Non-retryable exception. Attempted to create already existing object or chunk. This message contains a checksum of already presented data.
IllegalArgumentException
_IllegalArgumentException :: AsError a => Fold a ServiceError Source #
Non-retryable exception, indicates client error (wrong argument passed to API). See exception message for details.
KMSInvalidKeyUsageException
_KMSInvalidKeyUsageException :: AsError a => Fold a ServiceError Source #
Non-retryable exception. Indicates the KMS key usage is incorrect. See exception message for details.
NotReadableInputStreamException
_NotReadableInputStreamException :: AsError a => Fold a ServiceError Source #
Retryalble exception. Indicated issues while reading an input stream due to the networking issues or connection drop on the client side.
ResourceNotFoundException
_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #
Non-retryable exception. Attempted to make an operation on non-existing or expired resource.
RetryableException
_RetryableException :: AsError a => Fold a ServiceError Source #
Retryable exception. In general indicates internal failure that can be fixed by retry.
ServiceInternalException
_ServiceInternalException :: AsError a => Fold a ServiceError Source #
Deprecated. To be removed from the model.
ServiceUnavailableException
_ServiceUnavailableException :: AsError a => Fold a ServiceError Source #
Retryable exception, indicates internal server error.
ThrottlingException
_ThrottlingException :: AsError a => Fold a ServiceError Source #
Increased rate over throttling limits. Can be retried with exponential backoff.
Waiters
Waiters poll by repeatedly sending a request until some remote success condition
 configured by the Wait specification is fulfilled. The Wait specification
 determines how many attempts should be made, in addition to delay and retry strategies.
Operations
Some AWS operations return results that are incomplete and require subsequent
 requests in order to obtain the entire result set. The process of sending
 subsequent requests to continue where a previous request left off is called
 pagination. For example, the ListObjects operation of Amazon S3 returns up to
 1000 objects at a time, and you must send subsequent requests with the
 appropriate Marker in order to retrieve the next page of results.
Operations that have an AWSPager instance can transparently perform subsequent
 requests, correctly setting Markers and other request facets to iterate through
 the entire result set of a truncated API operation. Operations which support
 this have an additional note in the documentation.
Many operations have the ability to filter results on the server side. See the individual operation parameters for details.
DeleteObject
data DeleteObject Source #
See: newDeleteObject smart constructor.
Constructors
| DeleteObject' Text Text | 
Instances
Create a value of DeleteObject 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:backupJobId:DeleteObject', deleteObject_backupJobId - Backup job Id for the in-progress backup.
$sel:objectName:DeleteObject', deleteObject_objectName - The name of the Object.
data DeleteObjectResponse Source #
See: newDeleteObjectResponse smart constructor.
Constructors
| DeleteObjectResponse' | |
Instances
newDeleteObjectResponse :: DeleteObjectResponse Source #
Create a value of DeleteObjectResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
GetChunk
See: newGetChunk smart constructor.
Instances
Create a value of GetChunk 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:GetChunk', getChunk_storageJobId - Storage job id
GetChunk, getChunk_chunkToken - Chunk token
data GetChunkResponse Source #
See: newGetChunkResponse smart constructor.
Constructors
| GetChunkResponse' Int Integer Text DataChecksumAlgorithm ResponseBody | 
Instances
Arguments
| :: Int | |
| -> Integer | |
| -> Text | |
| -> DataChecksumAlgorithm | |
| -> ResponseBody | |
| -> GetChunkResponse | 
Create a value of GetChunkResponse 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:GetChunkResponse', getChunkResponse_httpStatus - The response's http status code.
GetChunkResponse, getChunkResponse_length - Data length
GetChunkResponse, getChunkResponse_checksum - Data checksum
GetChunkResponse, getChunkResponse_checksumAlgorithm - Checksum algorithm
$sel:data':GetChunkResponse', getChunkResponse_data - Chunk data
GetObjectMetadata
data GetObjectMetadata Source #
See: newGetObjectMetadata smart constructor.
Constructors
| GetObjectMetadata' Text Text | 
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.
data GetObjectMetadataResponse Source #
See: newGetObjectMetadataResponse smart constructor.
Constructors
| GetObjectMetadataResponse' (Maybe Text) (Maybe DataChecksumAlgorithm) (Maybe Integer) (Maybe Text) Int ResponseBody | 
Instances
newGetObjectMetadataResponse Source #
Arguments
| :: Int | |
| -> ResponseBody | |
| -> GetObjectMetadataResponse | 
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.
ListChunks
data ListChunks Source #
See: newListChunks smart constructor.
Instances
Arguments
| :: Text | |
| -> Text | |
| -> ListChunks | 
Create a value of ListChunks 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:maxResults:ListChunks', listChunks_maxResults - Maximum number of chunks
ListChunks, listChunks_nextToken - Pagination token
$sel:storageJobId:ListChunks', listChunks_storageJobId - Storage job id
ListChunks, listChunks_objectToken - Object token
data ListChunksResponse Source #
See: newListChunksResponse smart constructor.
Constructors
| ListChunksResponse' (Maybe Text) Int [Chunk] | 
Instances
newListChunksResponse Source #
Arguments
| :: Int | |
| -> ListChunksResponse | 
Create a value of ListChunksResponse 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:
ListChunks, listChunksResponse_nextToken - Pagination token
$sel:httpStatus:ListChunksResponse', listChunksResponse_httpStatus - The response's http status code.
$sel:chunkList:ListChunksResponse', listChunksResponse_chunkList - List of chunks
ListObjects
data ListObjects Source #
See: newListObjects smart constructor.
Constructors
| ListObjects' (Maybe POSIX) (Maybe POSIX) (Maybe Natural) (Maybe Text) (Maybe Text) (Maybe Text) Text | 
Instances
Arguments
| :: Text | |
| -> ListObjects | 
Create a value of ListObjects 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:createdAfter:ListObjects', listObjects_createdAfter - (Optional) Created after filter
$sel:createdBefore:ListObjects', listObjects_createdBefore - (Optional) Created before filter
$sel:maxResults:ListObjects', listObjects_maxResults - Maximum objects count
ListObjects, listObjects_nextToken - Pagination token
$sel:startingObjectName:ListObjects', listObjects_startingObjectName - Optional, specifies the starting Object name to list from. Ignored if
 NextToken is not NULL
$sel:startingObjectPrefix:ListObjects', listObjects_startingObjectPrefix - Optional, specifies the starting Object prefix to list from. Ignored if
 NextToken is not NULL
$sel:storageJobId:ListObjects', listObjects_storageJobId - Storage job id
data ListObjectsResponse Source #
See: newListObjectsResponse smart constructor.
Constructors
| ListObjectsResponse' (Maybe Text) Int [BackupObject] | 
Instances
newListObjectsResponse Source #
Arguments
| :: Int | |
| -> ListObjectsResponse | 
Create a value of ListObjectsResponse 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:
ListObjects, listObjectsResponse_nextToken - Pagination token
$sel:httpStatus:ListObjectsResponse', listObjectsResponse_httpStatus - The response's http status code.
$sel:objectList:ListObjectsResponse', listObjectsResponse_objectList - Object list
NotifyObjectComplete
data NotifyObjectComplete Source #
See: newNotifyObjectComplete smart constructor.
Constructors
| NotifyObjectComplete' (Maybe Text) (Maybe DataChecksumAlgorithm) (Maybe Integer) (Maybe Text) Text Text Text SummaryChecksumAlgorithm HashedBody | 
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.
data NotifyObjectCompleteResponse Source #
See: newNotifyObjectCompleteResponse smart constructor.
Constructors
| NotifyObjectCompleteResponse' Int Text SummaryChecksumAlgorithm | 
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
PutChunk
See: newPutChunk smart constructor.
Constructors
| PutChunk' Text Text Integer Integer Text DataChecksumAlgorithm HashedBody | 
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Integer | |
| -> Integer | |
| -> Text | |
| -> DataChecksumAlgorithm | |
| -> HashedBody | |
| -> PutChunk | 
Create a value of PutChunk 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:backupJobId:PutChunk', putChunk_backupJobId - Backup job Id for the in-progress backup.
$sel:uploadId:PutChunk', putChunk_uploadId - Upload Id for the in-progress upload.
$sel:chunkIndex:PutChunk', putChunk_chunkIndex - Describes this chunk's position relative to the other chunks
PutChunk, putChunk_length - Data length
PutChunk, putChunk_checksum - Data checksum
PutChunk, putChunk_checksumAlgorithm - Checksum algorithm
$sel:data':PutChunk', putChunk_data - Data to be uploaded
data PutChunkResponse Source #
See: newPutChunkResponse smart constructor.
Constructors
| PutChunkResponse' Int Text DataChecksumAlgorithm | 
Instances
Arguments
| :: Int | |
| -> Text | |
| -> DataChecksumAlgorithm | |
| -> PutChunkResponse | 
Create a value of PutChunkResponse 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:PutChunkResponse', putChunkResponse_httpStatus - The response's http status code.
$sel:chunkChecksum:PutChunkResponse', putChunkResponse_chunkChecksum - Chunk checksum
$sel:chunkChecksumAlgorithm:PutChunkResponse', putChunkResponse_chunkChecksumAlgorithm - Checksum algorithm
PutObject
See: newPutObject smart constructor.
Constructors
| PutObject' (Maybe Text) (Maybe Text) (Maybe Integer) (Maybe Text) (Maybe Text) (Maybe SummaryChecksumAlgorithm) (Maybe Bool) Text Text HashedBody | 
Instances
Arguments
| :: Text | |
| -> Text | |
| -> HashedBody | |
| -> PutObject | 
Create a value of PutObject 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:
PutObject, putObject_inlineChunkChecksum - Inline chunk checksum
PutObject, putObject_inlineChunkChecksumAlgorithm - Inline chunk checksum algorithm
$sel:inlineChunkLength:PutObject', putObject_inlineChunkLength - Length of the inline chunk data.
PutObject, putObject_metadataString - Store user defined metadata like backup checksum, disk ids, restore
 metadata etc.
PutObject, putObject_objectChecksum - object checksum
PutObject, putObject_objectChecksumAlgorithm - object checksum algorithm
$sel:throwOnDuplicate:PutObject', putObject_throwOnDuplicate - Throw an exception if Object name is already exist.
$sel:backupJobId:PutObject', putObject_backupJobId - Backup job Id for the in-progress backup.
$sel:objectName:PutObject', putObject_objectName - The name of the Object to be uploaded.
$sel:inlineChunk:PutObject', putObject_inlineChunk - Inline chunk data to be uploaded.
data PutObjectResponse Source #
See: newPutObjectResponse smart constructor.
Instances
Arguments
| :: Int | |
| -> Text | |
| -> DataChecksumAlgorithm | |
| -> Text | |
| -> SummaryChecksumAlgorithm | |
| -> PutObjectResponse | 
Create a value of PutObjectResponse 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:PutObjectResponse', putObjectResponse_httpStatus - The response's http status code.
PutObject, putObjectResponse_inlineChunkChecksum - Inline chunk checksum
PutObject, putObjectResponse_inlineChunkChecksumAlgorithm - Inline chunk checksum algorithm
PutObject, putObjectResponse_objectChecksum - object checksum
PutObject, putObjectResponse_objectChecksumAlgorithm - object checksum algorithm
StartObject
data StartObject Source #
See: newStartObject smart constructor.
Constructors
| StartObject' (Maybe Bool) Text Text | 
Instances
Create a value of StartObject 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:throwOnDuplicate:StartObject', startObject_throwOnDuplicate - Throw an exception if Object name is already exist.
$sel:backupJobId:StartObject', startObject_backupJobId - Backup job Id for the in-progress backup
$sel:objectName:StartObject', startObject_objectName - Name for the object.
data StartObjectResponse Source #
See: newStartObjectResponse smart constructor.
Constructors
| StartObjectResponse' Int Text | 
Instances
newStartObjectResponse Source #
Arguments
| :: Int | |
| -> Text | |
| -> StartObjectResponse | 
Create a value of StartObjectResponse 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:StartObjectResponse', startObjectResponse_httpStatus - The response's http status code.
$sel:uploadId:StartObjectResponse', startObjectResponse_uploadId - Upload Id for a given upload.
Types
DataChecksumAlgorithm
newtype DataChecksumAlgorithm Source #
Constructors
| DataChecksumAlgorithm' | |
Fields  | |
Bundled Patterns
| pattern DataChecksumAlgorithm_SHA256 :: DataChecksumAlgorithm | 
Instances
SummaryChecksumAlgorithm
newtype SummaryChecksumAlgorithm Source #
Constructors
| SummaryChecksumAlgorithm' | |
Fields  | |
Bundled Patterns
| pattern SummaryChecksumAlgorithm_SUMMARY :: SummaryChecksumAlgorithm | 
Instances
BackupObject
data BackupObject Source #
Object
See: newBackupObject smart constructor.
Constructors
| BackupObject' (Maybe Integer) (Maybe Text) Text Text SummaryChecksumAlgorithm Text | 
Instances
Arguments
| :: Text | |
| -> Text | |
| -> SummaryChecksumAlgorithm | |
| -> Text | |
| -> BackupObject | 
Create a value of BackupObject 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:chunksCount:BackupObject', backupObject_chunksCount - Number of chunks in object
$sel:metadataString:BackupObject', backupObject_metadataString - Metadata string associated with the Object
$sel:name:BackupObject', backupObject_name - Object name
$sel:objectChecksum:BackupObject', backupObject_objectChecksum - Object checksum
$sel:objectChecksumAlgorithm:BackupObject', backupObject_objectChecksumAlgorithm - Checksum algorithm
$sel:objectToken:BackupObject', backupObject_objectToken - Object token
Chunk
Chunk
See: newChunk smart constructor.
Instances
Create a value of Chunk 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:index:Chunk', chunk_index - Chunk index
$sel:length:Chunk', chunk_length - Chunk length
$sel:checksum:Chunk', chunk_checksum - Chunk checksum
$sel:checksumAlgorithm:Chunk', chunk_checksumAlgorithm - Checksum algorithm
$sel:chunkToken:Chunk', chunk_chunkToken - Chunk token