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 |
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
- newtype DataChecksumAlgorithm where
- newtype SummaryChecksumAlgorithm where
- data BackupObject = BackupObject' {}
- newBackupObject :: Text -> Text -> SummaryChecksumAlgorithm -> Text -> BackupObject
- backupObject_chunksCount :: Lens' BackupObject (Maybe Integer)
- backupObject_metadataString :: Lens' BackupObject (Maybe Text)
- backupObject_name :: Lens' BackupObject Text
- backupObject_objectChecksum :: Lens' BackupObject Text
- backupObject_objectChecksumAlgorithm :: Lens' BackupObject SummaryChecksumAlgorithm
- backupObject_objectToken :: Lens' BackupObject Text
- data Chunk = Chunk' {}
- newChunk :: Integer -> Integer -> Text -> DataChecksumAlgorithm -> Text -> Chunk
- chunk_index :: Lens' Chunk Integer
- chunk_length :: Lens' Chunk Integer
- chunk_checksum :: Lens' Chunk Text
- chunk_checksumAlgorithm :: Lens' Chunk DataChecksumAlgorithm
- chunk_chunkToken :: Lens' Chunk Text
Service Configuration
defaultService :: Service Source #
API version 2018-04-10
of the Amazon Backup Storage SDK configuration.
Errors
_AccessDeniedException :: AsError a => Fold a ServiceError Source #
Prism for AccessDeniedException' errors.
_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 :: AsError a => Fold a ServiceError Source #
Non-retryable exception, indicates client error (wrong argument passed to API). See exception message for details.
_KMSInvalidKeyUsageException :: AsError a => Fold a ServiceError Source #
Non-retryable exception. Indicates the KMS key usage is incorrect. See exception message for details.
_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 :: AsError a => Fold a ServiceError Source #
Non-retryable exception. Attempted to make an operation on non-existing or expired resource.
_RetryableException :: AsError a => Fold a ServiceError Source #
Retryable exception. In general indicates internal failure that can be fixed by retry.
_ServiceInternalException :: AsError a => Fold a ServiceError Source #
Deprecated. To be removed from the model.
_ServiceUnavailableException :: AsError a => Fold a ServiceError Source #
Retryable exception, indicates internal server error.
_ThrottlingException :: AsError a => Fold a ServiceError Source #
Increased rate over throttling limits. Can be retried with exponential backoff.
DataChecksumAlgorithm
newtype DataChecksumAlgorithm Source #
Instances
SummaryChecksumAlgorithm
newtype SummaryChecksumAlgorithm Source #
Instances
BackupObject
data BackupObject Source #
Object
See: newBackupObject
smart constructor.
BackupObject' | |
|
Instances
:: 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
backupObject_chunksCount :: Lens' BackupObject (Maybe Integer) Source #
Number of chunks in object
backupObject_metadataString :: Lens' BackupObject (Maybe Text) Source #
Metadata string associated with the Object
backupObject_name :: Lens' BackupObject Text Source #
Object name
backupObject_objectChecksum :: Lens' BackupObject Text Source #
Object checksum
backupObject_objectChecksumAlgorithm :: Lens' BackupObject SummaryChecksumAlgorithm Source #
Checksum algorithm
backupObject_objectToken :: Lens' BackupObject Text Source #
Object token
Chunk
Chunk
See: newChunk
smart constructor.
Chunk' | |
|
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
chunk_checksumAlgorithm :: Lens' Chunk DataChecksumAlgorithm Source #
Checksum algorithm