amazonka-backupstorage-2.0: Amazon Backup Storage SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

Amazonka.BackupStorage.Types

Description

 
Synopsis

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

Instances details
FromJSON DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

FromJSONKey DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

ToJSON DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

ToJSONKey DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

ToByteString DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

ToHeader DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

ToLog DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

ToQuery DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

FromText DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

ToText DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

FromXML DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

ToXML DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

Generic DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

Associated Types

type Rep DataChecksumAlgorithm :: Type -> Type #

Read DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

Show DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

NFData DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

Methods

rnf :: DataChecksumAlgorithm -> () #

Eq DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

Ord DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

Hashable DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

type Rep DataChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.DataChecksumAlgorithm

type Rep DataChecksumAlgorithm = D1 ('MetaData "DataChecksumAlgorithm" "Amazonka.BackupStorage.Types.DataChecksumAlgorithm" "amazonka-backupstorage-2.0-LZ4MZsHhisz8sYMq4uJ5tw" 'True) (C1 ('MetaCons "DataChecksumAlgorithm'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromDataChecksumAlgorithm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

SummaryChecksumAlgorithm

newtype SummaryChecksumAlgorithm Source #

Instances

Instances details
FromJSON SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

FromJSONKey SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

ToJSON SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

ToJSONKey SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

ToByteString SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

ToHeader SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

ToLog SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

ToQuery SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

FromText SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

ToText SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

FromXML SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

ToXML SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

Generic SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

Associated Types

type Rep SummaryChecksumAlgorithm :: Type -> Type #

Read SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

Show SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

NFData SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

Eq SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

Ord SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

Hashable SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

type Rep SummaryChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm

type Rep SummaryChecksumAlgorithm = D1 ('MetaData "SummaryChecksumAlgorithm" "Amazonka.BackupStorage.Types.SummaryChecksumAlgorithm" "amazonka-backupstorage-2.0-LZ4MZsHhisz8sYMq4uJ5tw" 'True) (C1 ('MetaCons "SummaryChecksumAlgorithm'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromSummaryChecksumAlgorithm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

BackupObject

data BackupObject Source #

Object

See: newBackupObject smart constructor.

Constructors

BackupObject' 

Fields

Instances

Instances details
FromJSON BackupObject Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.BackupObject

Generic BackupObject Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.BackupObject

Associated Types

type Rep BackupObject :: Type -> Type #

Read BackupObject Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.BackupObject

Show BackupObject Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.BackupObject

NFData BackupObject Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.BackupObject

Methods

rnf :: BackupObject -> () #

Eq BackupObject Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.BackupObject

Hashable BackupObject Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.BackupObject

type Rep BackupObject Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.BackupObject

type Rep BackupObject = D1 ('MetaData "BackupObject" "Amazonka.BackupStorage.Types.BackupObject" "amazonka-backupstorage-2.0-LZ4MZsHhisz8sYMq4uJ5tw" 'False) (C1 ('MetaCons "BackupObject'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "chunksCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Integer)) :*: (S1 ('MetaSel ('Just "metadataString") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))) :*: (S1 ('MetaSel ('Just "objectChecksum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "objectChecksumAlgorithm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 SummaryChecksumAlgorithm) :*: S1 ('MetaSel ('Just "objectToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newBackupObject Source #

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_metadataString :: Lens' BackupObject (Maybe Text) Source #

Metadata string associated with the Object

Chunk

data Chunk Source #

Chunk

See: newChunk smart constructor.

Constructors

Chunk' 

Fields

Instances

Instances details
FromJSON Chunk Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.Chunk

Generic Chunk Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.Chunk

Associated Types

type Rep Chunk :: Type -> Type #

Methods

from :: Chunk -> Rep Chunk x #

to :: Rep Chunk x -> Chunk #

Read Chunk Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.Chunk

Show Chunk Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.Chunk

Methods

showsPrec :: Int -> Chunk -> ShowS #

show :: Chunk -> String #

showList :: [Chunk] -> ShowS #

NFData Chunk Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.Chunk

Methods

rnf :: Chunk -> () #

Eq Chunk Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.Chunk

Methods

(==) :: Chunk -> Chunk -> Bool #

(/=) :: Chunk -> Chunk -> Bool #

Hashable Chunk Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.Chunk

Methods

hashWithSalt :: Int -> Chunk -> Int #

hash :: Chunk -> Int #

type Rep Chunk Source # 
Instance details

Defined in Amazonka.BackupStorage.Types.Chunk

type Rep Chunk = D1 ('MetaData "Chunk" "Amazonka.BackupStorage.Types.Chunk" "amazonka-backupstorage-2.0-LZ4MZsHhisz8sYMq4uJ5tw" 'False) (C1 ('MetaCons "Chunk'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "index") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer) :*: S1 ('MetaSel ('Just "length") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Integer)) :*: (S1 ('MetaSel ('Just "checksum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "checksumAlgorithm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 DataChecksumAlgorithm) :*: S1 ('MetaSel ('Just "chunkToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))

newChunk Source #

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