amazonka-ebs-2.0: Amazon Elastic Block Store 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.EBS.Types

Description

 
Synopsis

Service Configuration

defaultService :: Service Source #

API version 2019-11-02 of the Amazon Elastic Block Store SDK configuration.

Errors

_AccessDeniedException :: AsError a => Fold a ServiceError Source #

You do not have sufficient access to perform this action.

_ConcurrentLimitExceededException :: AsError a => Fold a ServiceError Source #

You have reached the limit for concurrent API requests. For more information, see Optimizing performance of the EBS direct APIs in the Amazon Elastic Compute Cloud User Guide.

_ConflictException :: AsError a => Fold a ServiceError Source #

The request uses the same client token as a previous, but non-identical request.

_InternalServerException :: AsError a => Fold a ServiceError Source #

An internal error has occurred.

_RequestThrottledException :: AsError a => Fold a ServiceError Source #

The number of API requests has exceed the maximum allowed API request throttling limit.

_ResourceNotFoundException :: AsError a => Fold a ServiceError Source #

The specified resource does not exist.

_ServiceQuotaExceededException :: AsError a => Fold a ServiceError Source #

Your current service quotas do not allow you to perform this action.

_ValidationException :: AsError a => Fold a ServiceError Source #

The input fails to satisfy the constraints of the EBS direct APIs.

ChecksumAggregationMethod

newtype ChecksumAggregationMethod Source #

Instances

Instances details
FromJSON ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

FromJSONKey ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

ToJSON ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

ToJSONKey ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

ToByteString ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

ToHeader ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

ToLog ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

ToQuery ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

FromText ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

ToText ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

FromXML ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

ToXML ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

Generic ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

Associated Types

type Rep ChecksumAggregationMethod :: Type -> Type #

Read ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

Show ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

NFData ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

Eq ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

Ord ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

Hashable ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

type Rep ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

type Rep ChecksumAggregationMethod = D1 ('MetaData "ChecksumAggregationMethod" "Amazonka.EBS.Types.ChecksumAggregationMethod" "amazonka-ebs-2.0-64shgDr10jT2ab25iSOcZ1" 'True) (C1 ('MetaCons "ChecksumAggregationMethod'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromChecksumAggregationMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

ChecksumAlgorithm

newtype ChecksumAlgorithm Source #

Bundled Patterns

pattern ChecksumAlgorithm_SHA256 :: ChecksumAlgorithm 

Instances

Instances details
FromJSON ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

FromJSONKey ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

ToJSON ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

ToJSONKey ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

ToByteString ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

ToHeader ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

ToLog ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

ToQuery ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

FromText ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

ToText ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

FromXML ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

ToXML ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

Generic ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

Associated Types

type Rep ChecksumAlgorithm :: Type -> Type #

Read ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

Show ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

NFData ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

Methods

rnf :: ChecksumAlgorithm -> () #

Eq ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

Ord ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

Hashable ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

type Rep ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

type Rep ChecksumAlgorithm = D1 ('MetaData "ChecksumAlgorithm" "Amazonka.EBS.Types.ChecksumAlgorithm" "amazonka-ebs-2.0-64shgDr10jT2ab25iSOcZ1" 'True) (C1 ('MetaCons "ChecksumAlgorithm'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromChecksumAlgorithm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Status

newtype Status Source #

Constructors

Status' 

Fields

Bundled Patterns

pattern Status_Completed :: Status 
pattern Status_Error :: Status 
pattern Status_Pending :: Status 

Instances

Instances details
FromJSON Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

FromJSONKey Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

ToJSON Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

ToJSONKey Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

ToByteString Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

Methods

toBS :: Status -> ByteString #

ToHeader Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

Methods

toHeader :: HeaderName -> Status -> [Header] #

ToLog Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

ToQuery Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

FromText Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

ToText Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

Methods

toText :: Status -> Text #

FromXML Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

ToXML Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

Methods

toXML :: Status -> XML #

Generic Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

Associated Types

type Rep Status :: Type -> Type #

Methods

from :: Status -> Rep Status x #

to :: Rep Status x -> Status #

Read Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

Show Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

NFData Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

Methods

rnf :: Status -> () #

Eq Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

Methods

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

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

Ord Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

Hashable Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

Methods

hashWithSalt :: Int -> Status -> Int #

hash :: Status -> Int #

type Rep Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

type Rep Status = D1 ('MetaData "Status" "Amazonka.EBS.Types.Status" "amazonka-ebs-2.0-64shgDr10jT2ab25iSOcZ1" 'True) (C1 ('MetaCons "Status'" 'PrefixI 'True) (S1 ('MetaSel ('Just "fromStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedLazy) (Rec0 Text)))

Block

data Block Source #

A block of data in an Amazon Elastic Block Store snapshot.

See: newBlock smart constructor.

Constructors

Block' 

Fields

Instances

Instances details
FromJSON Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

Generic Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

Associated Types

type Rep Block :: Type -> Type #

Methods

from :: Block -> Rep Block x #

to :: Rep Block x -> Block #

Read Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

Show Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

Methods

showsPrec :: Int -> Block -> ShowS #

show :: Block -> String #

showList :: [Block] -> ShowS #

NFData Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

Methods

rnf :: Block -> () #

Eq Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

Methods

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

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

Hashable Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

Methods

hashWithSalt :: Int -> Block -> Int #

hash :: Block -> Int #

type Rep Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

type Rep Block = D1 ('MetaData "Block" "Amazonka.EBS.Types.Block" "amazonka-ebs-2.0-64shgDr10jT2ab25iSOcZ1" 'False) (C1 ('MetaCons "Block'" 'PrefixI 'True) (S1 ('MetaSel ('Just "blockIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "blockToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newBlock :: Block Source #

Create a value of Block 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:blockIndex:Block', block_blockIndex - The block index.

$sel:blockToken:Block', block_blockToken - The block token for the block index.

block_blockToken :: Lens' Block (Maybe Text) Source #

The block token for the block index.

ChangedBlock

data ChangedBlock Source #

A block of data in an Amazon Elastic Block Store snapshot that is different from another snapshot of the same volume/snapshot lineage.

See: newChangedBlock smart constructor.

Constructors

ChangedBlock' 

Fields

  • blockIndex :: Maybe Natural

    The block index.

  • firstBlockToken :: Maybe Text

    The block token for the block index of the FirstSnapshotId specified in the ListChangedBlocks operation. This value is absent if the first snapshot does not have the changed block that is on the second snapshot.

  • secondBlockToken :: Maybe Text

    The block token for the block index of the SecondSnapshotId specified in the ListChangedBlocks operation.

Instances

Instances details
FromJSON ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

Generic ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

Associated Types

type Rep ChangedBlock :: Type -> Type #

Show ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

NFData ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

Methods

rnf :: ChangedBlock -> () #

Eq ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

Hashable ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

type Rep ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

type Rep ChangedBlock = D1 ('MetaData "ChangedBlock" "Amazonka.EBS.Types.ChangedBlock" "amazonka-ebs-2.0-64shgDr10jT2ab25iSOcZ1" 'False) (C1 ('MetaCons "ChangedBlock'" 'PrefixI 'True) (S1 ('MetaSel ('Just "blockIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "firstBlockToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "secondBlockToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))))

newChangedBlock :: ChangedBlock Source #

Create a value of ChangedBlock 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:blockIndex:ChangedBlock', changedBlock_blockIndex - The block index.

$sel:firstBlockToken:ChangedBlock', changedBlock_firstBlockToken - The block token for the block index of the FirstSnapshotId specified in the ListChangedBlocks operation. This value is absent if the first snapshot does not have the changed block that is on the second snapshot.

$sel:secondBlockToken:ChangedBlock', changedBlock_secondBlockToken - The block token for the block index of the SecondSnapshotId specified in the ListChangedBlocks operation.

changedBlock_firstBlockToken :: Lens' ChangedBlock (Maybe Text) Source #

The block token for the block index of the FirstSnapshotId specified in the ListChangedBlocks operation. This value is absent if the first snapshot does not have the changed block that is on the second snapshot.

changedBlock_secondBlockToken :: Lens' ChangedBlock (Maybe Text) Source #

The block token for the block index of the SecondSnapshotId specified in the ListChangedBlocks operation.

Tag

data Tag Source #

Describes a tag.

See: newTag smart constructor.

Constructors

Tag' 

Fields

Instances

Instances details
FromJSON Tag Source # 
Instance details

Defined in Amazonka.EBS.Types.Tag

ToJSON Tag Source # 
Instance details

Defined in Amazonka.EBS.Types.Tag

Generic Tag Source # 
Instance details

Defined in Amazonka.EBS.Types.Tag

Associated Types

type Rep Tag :: Type -> Type #

Methods

from :: Tag -> Rep Tag x #

to :: Rep Tag x -> Tag #

Read Tag Source # 
Instance details

Defined in Amazonka.EBS.Types.Tag

Show Tag Source # 
Instance details

Defined in Amazonka.EBS.Types.Tag

Methods

showsPrec :: Int -> Tag -> ShowS #

show :: Tag -> String #

showList :: [Tag] -> ShowS #

NFData Tag Source # 
Instance details

Defined in Amazonka.EBS.Types.Tag

Methods

rnf :: Tag -> () #

Eq Tag Source # 
Instance details

Defined in Amazonka.EBS.Types.Tag

Methods

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

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

Hashable Tag Source # 
Instance details

Defined in Amazonka.EBS.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

type Rep Tag Source # 
Instance details

Defined in Amazonka.EBS.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.EBS.Types.Tag" "amazonka-ebs-2.0-64shgDr10jT2ab25iSOcZ1" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "key") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))))

newTag :: Tag Source #

Create a value of Tag 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:key:Tag', tag_key - The key of the tag.

$sel:value:Tag', tag_value - The value of the tag.

tag_key :: Lens' Tag (Maybe Text) Source #

The key of the tag.

tag_value :: Lens' Tag (Maybe Text) Source #

The value of the tag.