libZSservicesZSamazonka-ebsZSamazonka-ebs
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.EBS

Description

Derived from API version 2019-11-02 of the AWS service descriptions, licensed under Apache 2.0.

You can use the Amazon Elastic Block Store (Amazon EBS) direct APIs to create Amazon EBS snapshots, write data directly to your snapshots, read data on your snapshots, and identify the differences or changes between two snapshots. If you’re an independent software vendor (ISV) who offers backup services for Amazon EBS, the EBS direct APIs make it more efficient and cost-effective to track incremental changes on your Amazon EBS volumes through snapshots. This can be done without having to create new volumes from snapshots, and then use Amazon Elastic Compute Cloud (Amazon EC2) instances to compare the differences.

You can create incremental snapshots directly from data on-premises into volumes and the cloud to use for quick disaster recovery. With the ability to write and read snapshots, you can write your on-premises data to an snapshot during a disaster. Then after recovery, you can restore it back to Amazon Web Services or on-premises from the snapshot. You no longer need to build and maintain complex mechanisms to copy data to and from Amazon EBS.

This API reference provides detailed information about the actions, data types, parameters, and errors of the EBS direct APIs. For more information about the elements that make up the EBS direct APIs, and examples of how to use them effectively, see Accessing the Contents of an Amazon EBS Snapshot in the Amazon Elastic Compute Cloud User Guide. For more information about the supported Amazon Web Services Regions, endpoints, and service quotas for the EBS direct APIs, see Amazon Elastic Block Store Endpoints and Quotas in the Amazon Web Services General Reference.

Synopsis

Service Configuration

defaultService :: Service Source #

API version 2019-11-02 of the Amazon Elastic Block Store 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 EBS.

ValidationException

_ValidationException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

AccessDeniedException

_AccessDeniedException :: AsError a => Getting (First ServiceError) a ServiceError Source #

You do not have sufficient access to perform this action.

ConflictException

_ConflictException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

ServiceQuotaExceededException

_ServiceQuotaExceededException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

ConcurrentLimitExceededException

_ConcurrentLimitExceededException :: AsError a => Getting (First ServiceError) 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.

RequestThrottledException

_RequestThrottledException :: AsError a => Getting (First ServiceError) a ServiceError Source #

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

InternalServerException

_InternalServerException :: AsError a => Getting (First ServiceError) a ServiceError Source #

An internal error has occurred.

ResourceNotFoundException

_ResourceNotFoundException :: AsError a => Getting (First ServiceError) a ServiceError Source #

The specified resource does not exist.

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.

StartSnapshot

data StartSnapshot Source #

See: newStartSnapshot smart constructor.

Instances

Instances details
Eq StartSnapshot Source # 
Instance details

Defined in Amazonka.EBS.StartSnapshot

Show StartSnapshot Source # 
Instance details

Defined in Amazonka.EBS.StartSnapshot

Generic StartSnapshot Source # 
Instance details

Defined in Amazonka.EBS.StartSnapshot

Associated Types

type Rep StartSnapshot :: Type -> Type #

NFData StartSnapshot Source # 
Instance details

Defined in Amazonka.EBS.StartSnapshot

Methods

rnf :: StartSnapshot -> () #

Hashable StartSnapshot Source # 
Instance details

Defined in Amazonka.EBS.StartSnapshot

ToJSON StartSnapshot Source # 
Instance details

Defined in Amazonka.EBS.StartSnapshot

AWSRequest StartSnapshot Source # 
Instance details

Defined in Amazonka.EBS.StartSnapshot

Associated Types

type AWSResponse StartSnapshot #

ToHeaders StartSnapshot Source # 
Instance details

Defined in Amazonka.EBS.StartSnapshot

ToPath StartSnapshot Source # 
Instance details

Defined in Amazonka.EBS.StartSnapshot

ToQuery StartSnapshot Source # 
Instance details

Defined in Amazonka.EBS.StartSnapshot

type Rep StartSnapshot Source # 
Instance details

Defined in Amazonka.EBS.StartSnapshot

type AWSResponse StartSnapshot Source # 
Instance details

Defined in Amazonka.EBS.StartSnapshot

newStartSnapshot Source #

Create a value of StartSnapshot 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:kmsKeyArn:StartSnapshot', startSnapshot_kmsKeyArn - The Amazon Resource Name (ARN) of the Key Management Service (KMS) key to be used to encrypt the snapshot. If you do not specify a KMS key, the default Amazon Web Services managed KMS key is used.

If you specify a ParentSnapshotId, omit this parameter; the snapshot will be encrypted using the same KMS key that was used to encrypt the parent snapshot.

If Encrypted is set to true, you must specify a KMS key ARN.

$sel:clientToken:StartSnapshot', startSnapshot_clientToken - A unique, case-sensitive identifier that you provide to ensure the idempotency of the request. Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successfully. The subsequent retries with the same client token return the result from the original successful request and they have no additional effect.

If you do not specify a client token, one is automatically generated by the Amazon Web Services SDK.

For more information, see Idempotency for StartSnapshot API in the Amazon Elastic Compute Cloud User Guide.

$sel:encrypted:StartSnapshot', startSnapshot_encrypted - Indicates whether to encrypt the snapshot. To create an encrypted snapshot, specify true. To create an unencrypted snapshot, omit this parameter.

If you specify a value for ParentSnapshotId, omit this parameter.

If you specify true, the snapshot is encrypted using the KMS key specified using the KmsKeyArn parameter. If no value is specified for KmsKeyArn, the default KMS key for your account is used. If no default KMS key has been specified for your account, the Amazon Web Services managed KMS key is used. To set a default KMS key for your account, use ModifyEbsDefaultKmsKeyId.

If your account is enabled for encryption by default, you cannot set this parameter to false. In this case, you can omit this parameter.

For more information, see Using encryption in the Amazon Elastic Compute Cloud User Guide.

$sel:parentSnapshotId:StartSnapshot', startSnapshot_parentSnapshotId - The ID of the parent snapshot. If there is no parent snapshot, or if you are creating the first snapshot for an on-premises volume, omit this parameter.

If your account is enabled for encryption by default, you cannot use an unencrypted snapshot as a parent snapshot. You must first create an encrypted copy of the parent snapshot using CopySnapshot.

$sel:timeout:StartSnapshot', startSnapshot_timeout - The amount of time (in minutes) after which the snapshot is automatically cancelled if:

  • No blocks are written to the snapshot.
  • The snapshot is not completed after writing the last block of data.

If no value is specified, the timeout defaults to 60 minutes.

$sel:description:StartSnapshot', startSnapshot_description - A description for the snapshot.

$sel:tags:StartSnapshot', startSnapshot_tags - The tags to apply to the snapshot.

$sel:volumeSize:StartSnapshot', startSnapshot_volumeSize - The size of the volume, in GiB. The maximum size is 65536 GiB (64 TiB).

data StartSnapshotResponse Source #

See: newStartSnapshotResponse smart constructor.

Instances

Instances details
Eq StartSnapshotResponse Source # 
Instance details

Defined in Amazonka.EBS.StartSnapshot

Show StartSnapshotResponse Source # 
Instance details

Defined in Amazonka.EBS.StartSnapshot

Generic StartSnapshotResponse Source # 
Instance details

Defined in Amazonka.EBS.StartSnapshot

Associated Types

type Rep StartSnapshotResponse :: Type -> Type #

NFData StartSnapshotResponse Source # 
Instance details

Defined in Amazonka.EBS.StartSnapshot

Methods

rnf :: StartSnapshotResponse -> () #

type Rep StartSnapshotResponse Source # 
Instance details

Defined in Amazonka.EBS.StartSnapshot

newStartSnapshotResponse Source #

Create a value of StartSnapshotResponse 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:blockSize:StartSnapshotResponse', startSnapshotResponse_blockSize - The size of the blocks in the snapshot, in bytes.

$sel:status:StartSnapshotResponse', startSnapshotResponse_status - The status of the snapshot.

$sel:kmsKeyArn:StartSnapshot', startSnapshotResponse_kmsKeyArn - The Amazon Resource Name (ARN) of the Key Management Service (KMS) key used to encrypt the snapshot.

$sel:startTime:StartSnapshotResponse', startSnapshotResponse_startTime - The timestamp when the snapshot was created.

$sel:volumeSize:StartSnapshot', startSnapshotResponse_volumeSize - The size of the volume, in GiB.

$sel:ownerId:StartSnapshotResponse', startSnapshotResponse_ownerId - The Amazon Web Services account ID of the snapshot owner.

$sel:parentSnapshotId:StartSnapshot', startSnapshotResponse_parentSnapshotId - The ID of the parent snapshot.

$sel:description:StartSnapshot', startSnapshotResponse_description - The description of the snapshot.

$sel:tags:StartSnapshot', startSnapshotResponse_tags - The tags applied to the snapshot. You can specify up to 50 tags per snapshot. For more information, see Tagging your Amazon EC2 resources in the Amazon Elastic Compute Cloud User Guide.

$sel:snapshotId:StartSnapshotResponse', startSnapshotResponse_snapshotId - The ID of the snapshot.

$sel:httpStatus:StartSnapshotResponse', startSnapshotResponse_httpStatus - The response's http status code.

ListSnapshotBlocks

data ListSnapshotBlocks Source #

See: newListSnapshotBlocks smart constructor.

Instances

Instances details
Eq ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

Read ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

Show ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

Generic ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

Associated Types

type Rep ListSnapshotBlocks :: Type -> Type #

NFData ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

Methods

rnf :: ListSnapshotBlocks -> () #

Hashable ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

AWSRequest ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

Associated Types

type AWSResponse ListSnapshotBlocks #

ToHeaders ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

ToPath ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

ToQuery ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

type Rep ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

type Rep ListSnapshotBlocks = D1 ('MetaData "ListSnapshotBlocks" "Amazonka.EBS.ListSnapshotBlocks" "libZSservicesZSamazonka-ebsZSamazonka-ebs" 'False) (C1 ('MetaCons "ListSnapshotBlocks'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startingBlockIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "snapshotId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse ListSnapshotBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

newListSnapshotBlocks Source #

Create a value of ListSnapshotBlocks 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:nextToken:ListSnapshotBlocks', listSnapshotBlocks_nextToken - The token to request the next page of results.

$sel:startingBlockIndex:ListSnapshotBlocks', listSnapshotBlocks_startingBlockIndex - The block index from which the list should start. The list in the response will start from this block index or the next valid block index in the snapshot.

$sel:maxResults:ListSnapshotBlocks', listSnapshotBlocks_maxResults - The number of results to return.

$sel:snapshotId:ListSnapshotBlocks', listSnapshotBlocks_snapshotId - The ID of the snapshot from which to get block indexes and block tokens.

data ListSnapshotBlocksResponse Source #

See: newListSnapshotBlocksResponse smart constructor.

Instances

Instances details
Eq ListSnapshotBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

Show ListSnapshotBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

Generic ListSnapshotBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

Associated Types

type Rep ListSnapshotBlocksResponse :: Type -> Type #

NFData ListSnapshotBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

type Rep ListSnapshotBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListSnapshotBlocks

type Rep ListSnapshotBlocksResponse = D1 ('MetaData "ListSnapshotBlocksResponse" "Amazonka.EBS.ListSnapshotBlocks" "libZSservicesZSamazonka-ebsZSamazonka-ebs" 'False) (C1 ('MetaCons "ListSnapshotBlocksResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "blockSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "blocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (Sensitive [Block]))) :*: S1 ('MetaSel ('Just "expiryTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)))) :*: (S1 ('MetaSel ('Just "volumeSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newListSnapshotBlocksResponse Source #

Create a value of ListSnapshotBlocksResponse 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:blockSize:ListSnapshotBlocksResponse', listSnapshotBlocksResponse_blockSize - The size of the blocks in the snapshot, in bytes.

$sel:blocks:ListSnapshotBlocksResponse', listSnapshotBlocksResponse_blocks - An array of objects containing information about the blocks.

$sel:expiryTime:ListSnapshotBlocksResponse', listSnapshotBlocksResponse_expiryTime - The time when the BlockToken expires.

$sel:volumeSize:ListSnapshotBlocksResponse', listSnapshotBlocksResponse_volumeSize - The size of the volume in GB.

$sel:nextToken:ListSnapshotBlocks', listSnapshotBlocksResponse_nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.

$sel:httpStatus:ListSnapshotBlocksResponse', listSnapshotBlocksResponse_httpStatus - The response's http status code.

PutSnapshotBlock

data PutSnapshotBlock Source #

See: newPutSnapshotBlock smart constructor.

Instances

Instances details
Show PutSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.PutSnapshotBlock

Generic PutSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.PutSnapshotBlock

Associated Types

type Rep PutSnapshotBlock :: Type -> Type #

AWSRequest PutSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.PutSnapshotBlock

Associated Types

type AWSResponse PutSnapshotBlock #

ToBody PutSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.PutSnapshotBlock

ToHeaders PutSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.PutSnapshotBlock

ToPath PutSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.PutSnapshotBlock

ToQuery PutSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.PutSnapshotBlock

type Rep PutSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.PutSnapshotBlock

type AWSResponse PutSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.PutSnapshotBlock

newPutSnapshotBlock Source #

Create a value of PutSnapshotBlock 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:progress:PutSnapshotBlock', putSnapshotBlock_progress - The progress of the write process, as a percentage.

$sel:snapshotId:PutSnapshotBlock', putSnapshotBlock_snapshotId - The ID of the snapshot.

$sel:blockIndex:PutSnapshotBlock', putSnapshotBlock_blockIndex - The block index of the block in which to write the data. A block index is a logical index in units of 512 KiB blocks. To identify the block index, divide the logical offset of the data in the logical volume by the block size (logical offset of data/524288). The logical offset of the data must be 512 KiB aligned.

$sel:dataLength:PutSnapshotBlock', putSnapshotBlock_dataLength - The size of the data to write to the block, in bytes. Currently, the only supported size is 524288 bytes.

Valid values: 524288

$sel:checksum:PutSnapshotBlock', putSnapshotBlock_checksum - A Base64-encoded SHA256 checksum of the data. Only SHA256 checksums are supported.

$sel:checksumAlgorithm:PutSnapshotBlock', putSnapshotBlock_checksumAlgorithm - The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.

$sel:blockData:PutSnapshotBlock', putSnapshotBlock_blockData - The data to write to the block.

The block data is not signed as part of the Signature Version 4 signing process. As a result, you must generate and provide a Base64-encoded SHA256 checksum for the block data using the x-amz-Checksum header. Also, you must specify the checksum algorithm using the x-amz-Checksum-Algorithm header. The checksum that you provide is part of the Signature Version 4 signing process. It is validated against a checksum generated by Amazon EBS to ensure the validity and authenticity of the data. If the checksums do not correspond, the request fails. For more information, see Using checksums with the EBS direct APIs in the Amazon Elastic Compute Cloud User Guide.

data PutSnapshotBlockResponse Source #

See: newPutSnapshotBlockResponse smart constructor.

Instances

Instances details
Eq PutSnapshotBlockResponse Source # 
Instance details

Defined in Amazonka.EBS.PutSnapshotBlock

Read PutSnapshotBlockResponse Source # 
Instance details

Defined in Amazonka.EBS.PutSnapshotBlock

Show PutSnapshotBlockResponse Source # 
Instance details

Defined in Amazonka.EBS.PutSnapshotBlock

Generic PutSnapshotBlockResponse Source # 
Instance details

Defined in Amazonka.EBS.PutSnapshotBlock

Associated Types

type Rep PutSnapshotBlockResponse :: Type -> Type #

NFData PutSnapshotBlockResponse Source # 
Instance details

Defined in Amazonka.EBS.PutSnapshotBlock

type Rep PutSnapshotBlockResponse Source # 
Instance details

Defined in Amazonka.EBS.PutSnapshotBlock

type Rep PutSnapshotBlockResponse = D1 ('MetaData "PutSnapshotBlockResponse" "Amazonka.EBS.PutSnapshotBlock" "libZSservicesZSamazonka-ebsZSamazonka-ebs" 'False) (C1 ('MetaCons "PutSnapshotBlockResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "checksumAlgorithm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChecksumAlgorithm)) :*: (S1 ('MetaSel ('Just "checksum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))))

newPutSnapshotBlockResponse Source #

Create a value of PutSnapshotBlockResponse 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:checksumAlgorithm:PutSnapshotBlock', putSnapshotBlockResponse_checksumAlgorithm - The algorithm used by Amazon EBS to generate the checksum.

$sel:checksum:PutSnapshotBlock', putSnapshotBlockResponse_checksum - The SHA256 checksum generated for the block data by Amazon EBS.

$sel:httpStatus:PutSnapshotBlockResponse', putSnapshotBlockResponse_httpStatus - The response's http status code.

ListChangedBlocks

data ListChangedBlocks Source #

See: newListChangedBlocks smart constructor.

Instances

Instances details
Eq ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

Read ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

Show ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

Generic ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

Associated Types

type Rep ListChangedBlocks :: Type -> Type #

NFData ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

Methods

rnf :: ListChangedBlocks -> () #

Hashable ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

AWSRequest ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

Associated Types

type AWSResponse ListChangedBlocks #

ToHeaders ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

ToPath ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

ToQuery ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

type Rep ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

type Rep ListChangedBlocks = D1 ('MetaData "ListChangedBlocks" "Amazonka.EBS.ListChangedBlocks" "libZSservicesZSamazonka-ebsZSamazonka-ebs" 'False) (C1 ('MetaCons "ListChangedBlocks'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "startingBlockIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural))) :*: (S1 ('MetaSel ('Just "firstSnapshotId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "maxResults") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: S1 ('MetaSel ('Just "secondSnapshotId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text)))))
type AWSResponse ListChangedBlocks Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

newListChangedBlocks Source #

Create a value of ListChangedBlocks 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:nextToken:ListChangedBlocks', listChangedBlocks_nextToken - The token to request the next page of results.

$sel:startingBlockIndex:ListChangedBlocks', listChangedBlocks_startingBlockIndex - The block index from which the comparison should start.

The list in the response will start from this block index or the next valid block index in the snapshots.

$sel:firstSnapshotId:ListChangedBlocks', listChangedBlocks_firstSnapshotId - The ID of the first snapshot to use for the comparison.

The FirstSnapshotID parameter must be specified with a SecondSnapshotId parameter; otherwise, an error occurs.

$sel:maxResults:ListChangedBlocks', listChangedBlocks_maxResults - The number of results to return.

$sel:secondSnapshotId:ListChangedBlocks', listChangedBlocks_secondSnapshotId - The ID of the second snapshot to use for the comparison.

The SecondSnapshotId parameter must be specified with a FirstSnapshotID parameter; otherwise, an error occurs.

data ListChangedBlocksResponse Source #

See: newListChangedBlocksResponse smart constructor.

Instances

Instances details
Eq ListChangedBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

Show ListChangedBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

Generic ListChangedBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

Associated Types

type Rep ListChangedBlocksResponse :: Type -> Type #

NFData ListChangedBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

type Rep ListChangedBlocksResponse Source # 
Instance details

Defined in Amazonka.EBS.ListChangedBlocks

type Rep ListChangedBlocksResponse = D1 ('MetaData "ListChangedBlocksResponse" "Amazonka.EBS.ListChangedBlocks" "libZSservicesZSamazonka-ebsZSamazonka-ebs" 'False) (C1 ('MetaCons "ListChangedBlocksResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "blockSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: (S1 ('MetaSel ('Just "expiryTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe POSIX)) :*: S1 ('MetaSel ('Just "volumeSize") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))) :*: (S1 ('MetaSel ('Just "changedBlocks") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Sensitive ChangedBlock])) :*: (S1 ('MetaSel ('Just "nextToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))))

newListChangedBlocksResponse Source #

Create a value of ListChangedBlocksResponse 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:blockSize:ListChangedBlocksResponse', listChangedBlocksResponse_blockSize - The size of the blocks in the snapshot, in bytes.

$sel:expiryTime:ListChangedBlocksResponse', listChangedBlocksResponse_expiryTime - The time when the BlockToken expires.

$sel:volumeSize:ListChangedBlocksResponse', listChangedBlocksResponse_volumeSize - The size of the volume in GB.

$sel:changedBlocks:ListChangedBlocksResponse', listChangedBlocksResponse_changedBlocks - An array of objects containing information about the changed blocks.

$sel:nextToken:ListChangedBlocks', listChangedBlocksResponse_nextToken - The token to use to retrieve the next page of results. This value is null when there are no more results to return.

$sel:httpStatus:ListChangedBlocksResponse', listChangedBlocksResponse_httpStatus - The response's http status code.

CompleteSnapshot

data CompleteSnapshot Source #

See: newCompleteSnapshot smart constructor.

Instances

Instances details
Eq CompleteSnapshot Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

Read CompleteSnapshot Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

Show CompleteSnapshot Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

Generic CompleteSnapshot Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

Associated Types

type Rep CompleteSnapshot :: Type -> Type #

NFData CompleteSnapshot Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

Methods

rnf :: CompleteSnapshot -> () #

Hashable CompleteSnapshot Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

ToJSON CompleteSnapshot Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

AWSRequest CompleteSnapshot Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

Associated Types

type AWSResponse CompleteSnapshot #

ToHeaders CompleteSnapshot Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

ToPath CompleteSnapshot Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

ToQuery CompleteSnapshot Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

type Rep CompleteSnapshot Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

type Rep CompleteSnapshot = D1 ('MetaData "CompleteSnapshot" "Amazonka.EBS.CompleteSnapshot" "libZSservicesZSamazonka-ebsZSamazonka-ebs" 'False) (C1 ('MetaCons "CompleteSnapshot'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "checksumAlgorithm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChecksumAlgorithm)) :*: S1 ('MetaSel ('Just "checksum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "checksumAggregationMethod") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChecksumAggregationMethod)) :*: (S1 ('MetaSel ('Just "snapshotId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "changedBlocksCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural)))))
type AWSResponse CompleteSnapshot Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

newCompleteSnapshot Source #

Create a value of CompleteSnapshot 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:checksumAlgorithm:CompleteSnapshot', completeSnapshot_checksumAlgorithm - The algorithm used to generate the checksum. Currently, the only supported algorithm is SHA256.

$sel:checksum:CompleteSnapshot', completeSnapshot_checksum - An aggregated Base-64 SHA256 checksum based on the checksums of each written block.

To generate the aggregated checksum using the linear aggregation method, arrange the checksums for each written block in ascending order of their block index, concatenate them to form a single string, and then generate the checksum on the entire string using the SHA256 algorithm.

$sel:checksumAggregationMethod:CompleteSnapshot', completeSnapshot_checksumAggregationMethod - The aggregation method used to generate the checksum. Currently, the only supported aggregation method is LINEAR.

$sel:snapshotId:CompleteSnapshot', completeSnapshot_snapshotId - The ID of the snapshot.

$sel:changedBlocksCount:CompleteSnapshot', completeSnapshot_changedBlocksCount - The number of blocks that were written to the snapshot.

data CompleteSnapshotResponse Source #

See: newCompleteSnapshotResponse smart constructor.

Instances

Instances details
Eq CompleteSnapshotResponse Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

Read CompleteSnapshotResponse Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

Show CompleteSnapshotResponse Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

Generic CompleteSnapshotResponse Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

Associated Types

type Rep CompleteSnapshotResponse :: Type -> Type #

NFData CompleteSnapshotResponse Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

type Rep CompleteSnapshotResponse Source # 
Instance details

Defined in Amazonka.EBS.CompleteSnapshot

type Rep CompleteSnapshotResponse = D1 ('MetaData "CompleteSnapshotResponse" "Amazonka.EBS.CompleteSnapshot" "libZSservicesZSamazonka-ebsZSamazonka-ebs" 'False) (C1 ('MetaCons "CompleteSnapshotResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "status") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Status)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCompleteSnapshotResponse Source #

Create a value of CompleteSnapshotResponse 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:status:CompleteSnapshotResponse', completeSnapshotResponse_status - The status of the snapshot.

$sel:httpStatus:CompleteSnapshotResponse', completeSnapshotResponse_httpStatus - The response's http status code.

GetSnapshotBlock

data GetSnapshotBlock Source #

See: newGetSnapshotBlock smart constructor.

Instances

Instances details
Eq GetSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.GetSnapshotBlock

Read GetSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.GetSnapshotBlock

Show GetSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.GetSnapshotBlock

Generic GetSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.GetSnapshotBlock

Associated Types

type Rep GetSnapshotBlock :: Type -> Type #

NFData GetSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.GetSnapshotBlock

Methods

rnf :: GetSnapshotBlock -> () #

Hashable GetSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.GetSnapshotBlock

AWSRequest GetSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.GetSnapshotBlock

Associated Types

type AWSResponse GetSnapshotBlock #

ToHeaders GetSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.GetSnapshotBlock

ToPath GetSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.GetSnapshotBlock

ToQuery GetSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.GetSnapshotBlock

type Rep GetSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.GetSnapshotBlock

type Rep GetSnapshotBlock = D1 ('MetaData "GetSnapshotBlock" "Amazonka.EBS.GetSnapshotBlock" "libZSservicesZSamazonka-ebsZSamazonka-ebs" 'False) (C1 ('MetaCons "GetSnapshotBlock'" 'PrefixI 'True) (S1 ('MetaSel ('Just "snapshotId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: (S1 ('MetaSel ('Just "blockIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Natural) :*: S1 ('MetaSel ('Just "blockToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse GetSnapshotBlock Source # 
Instance details

Defined in Amazonka.EBS.GetSnapshotBlock

newGetSnapshotBlock Source #

Create a value of GetSnapshotBlock 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:snapshotId:GetSnapshotBlock', getSnapshotBlock_snapshotId - The ID of the snapshot containing the block from which to get data.

$sel:blockIndex:GetSnapshotBlock', getSnapshotBlock_blockIndex - The block index of the block from which to get data.

Obtain the BlockIndex by running the ListChangedBlocks or ListSnapshotBlocks operations.

$sel:blockToken:GetSnapshotBlock', getSnapshotBlock_blockToken - The block token of the block from which to get data.

Obtain the BlockToken by running the ListChangedBlocks or ListSnapshotBlocks operations.

data GetSnapshotBlockResponse Source #

See: newGetSnapshotBlockResponse smart constructor.

Instances

Instances details
Show GetSnapshotBlockResponse Source # 
Instance details

Defined in Amazonka.EBS.GetSnapshotBlock

Generic GetSnapshotBlockResponse Source # 
Instance details

Defined in Amazonka.EBS.GetSnapshotBlock

Associated Types

type Rep GetSnapshotBlockResponse :: Type -> Type #

type Rep GetSnapshotBlockResponse Source # 
Instance details

Defined in Amazonka.EBS.GetSnapshotBlock

type Rep GetSnapshotBlockResponse = D1 ('MetaData "GetSnapshotBlockResponse" "Amazonka.EBS.GetSnapshotBlock" "libZSservicesZSamazonka-ebsZSamazonka-ebs" 'False) (C1 ('MetaCons "GetSnapshotBlockResponse'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "dataLength") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "checksumAlgorithm") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe ChecksumAlgorithm))) :*: (S1 ('MetaSel ('Just "checksum") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int) :*: S1 ('MetaSel ('Just "blockData") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ResponseBody)))))

newGetSnapshotBlockResponse Source #

Create a value of GetSnapshotBlockResponse 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:dataLength:GetSnapshotBlockResponse', getSnapshotBlockResponse_dataLength - The size of the data in the block.

$sel:checksumAlgorithm:GetSnapshotBlockResponse', getSnapshotBlockResponse_checksumAlgorithm - The algorithm used to generate the checksum for the block, such as SHA256.

$sel:checksum:GetSnapshotBlockResponse', getSnapshotBlockResponse_checksum - The checksum generated for the block, which is Base64 encoded.

$sel:httpStatus:GetSnapshotBlockResponse', getSnapshotBlockResponse_httpStatus - The response's http status code.

$sel:blockData:GetSnapshotBlockResponse', getSnapshotBlockResponse_blockData - The data content of the block.

Types

ChecksumAggregationMethod

newtype ChecksumAggregationMethod Source #

Instances

Instances details
Eq ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

Ord ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

Read ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

Show 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 #

NFData ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

Hashable 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

FromJSON ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

FromJSONKey ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

ToLog ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

ToHeader ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

ToQuery 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

ToByteString 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

type Rep ChecksumAggregationMethod Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAggregationMethod

type Rep ChecksumAggregationMethod = D1 ('MetaData "ChecksumAggregationMethod" "Amazonka.EBS.Types.ChecksumAggregationMethod" "libZSservicesZSamazonka-ebsZSamazonka-ebs" '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
Eq ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

Ord ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

Read ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

Show 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 #

NFData ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

Methods

rnf :: ChecksumAlgorithm -> () #

Hashable 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

FromJSON ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

FromJSONKey ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

ToLog ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

ToHeader ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

ToQuery 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

ToByteString 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

type Rep ChecksumAlgorithm Source # 
Instance details

Defined in Amazonka.EBS.Types.ChecksumAlgorithm

type Rep ChecksumAlgorithm = D1 ('MetaData "ChecksumAlgorithm" "Amazonka.EBS.Types.ChecksumAlgorithm" "libZSservicesZSamazonka-ebsZSamazonka-ebs" '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
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

Read Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

Show Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

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 #

NFData Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

Methods

rnf :: Status -> () #

Hashable Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

Methods

hashWithSalt :: Int -> Status -> Int #

hash :: Status -> Int #

ToJSON Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

ToJSONKey Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

FromJSON Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

FromJSONKey Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

ToLog Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

ToHeader Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

Methods

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

ToQuery Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

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 #

ToByteString Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

Methods

toBS :: Status -> ByteString #

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 #

type Rep Status Source # 
Instance details

Defined in Amazonka.EBS.Types.Status

type Rep Status = D1 ('MetaData "Status" "Amazonka.EBS.Types.Status" "libZSservicesZSamazonka-ebsZSamazonka-ebs" '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' (Maybe Natural) (Maybe Text) 

Instances

Instances details
Eq Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

Methods

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

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

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 #

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 #

NFData Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

Methods

rnf :: Block -> () #

Hashable Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

Methods

hashWithSalt :: Int -> Block -> Int #

hash :: Block -> Int #

FromJSON Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

type Rep Block Source # 
Instance details

Defined in Amazonka.EBS.Types.Block

type Rep Block = D1 ('MetaData "Block" "Amazonka.EBS.Types.Block" "libZSservicesZSamazonka-ebsZSamazonka-ebs" '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.

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.

Instances

Instances details
Eq ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

Show 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 #

NFData ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

Methods

rnf :: ChangedBlock -> () #

Hashable ChangedBlock Source # 
Instance details

Defined in Amazonka.EBS.Types.ChangedBlock

FromJSON 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" "libZSservicesZSamazonka-ebsZSamazonka-ebs" 'False) (C1 ('MetaCons "ChangedBlock'" 'PrefixI 'True) (S1 ('MetaSel ('Just "blockIndex") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "secondBlockToken") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "firstBlockToken") '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:secondBlockToken:ChangedBlock', changedBlock_secondBlockToken - The block token for the block index of the SecondSnapshotId specified in the ListChangedBlocks operation.

$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.

Tag

data Tag Source #

Describes a tag.

See: newTag smart constructor.

Constructors

Tag' (Maybe Text) (Maybe Text) 

Instances

Instances details
Eq Tag Source # 
Instance details

Defined in Amazonka.EBS.Types.Tag

Methods

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

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

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 #

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 #

NFData Tag Source # 
Instance details

Defined in Amazonka.EBS.Types.Tag

Methods

rnf :: Tag -> () #

Hashable Tag Source # 
Instance details

Defined in Amazonka.EBS.Types.Tag

Methods

hashWithSalt :: Int -> Tag -> Int #

hash :: Tag -> Int #

ToJSON Tag Source # 
Instance details

Defined in Amazonka.EBS.Types.Tag

FromJSON Tag Source # 
Instance details

Defined in Amazonka.EBS.Types.Tag

type Rep Tag Source # 
Instance details

Defined in Amazonka.EBS.Types.Tag

type Rep Tag = D1 ('MetaData "Tag" "Amazonka.EBS.Types.Tag" "libZSservicesZSamazonka-ebsZSamazonka-ebs" 'False) (C1 ('MetaCons "Tag'" 'PrefixI 'True) (S1 ('MetaSel ('Just "value") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)) :*: S1 ('MetaSel ('Just "key") '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:value:Tag', tag_value - The value of the tag.

$sel:key:Tag', tag_key - The key of the tag.