amazonka-ec2-2.0: Amazon Elastic Compute Cloud 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.EC2.Types.Volume

Description

 
Synopsis

Documentation

data Volume Source #

Describes a volume.

See: newVolume smart constructor.

Constructors

Volume' 

Fields

Instances

Instances details
FromXML Volume Source # 
Instance details

Defined in Amazonka.EC2.Types.Volume

Generic Volume Source # 
Instance details

Defined in Amazonka.EC2.Types.Volume

Associated Types

type Rep Volume :: Type -> Type #

Methods

from :: Volume -> Rep Volume x #

to :: Rep Volume x -> Volume #

Read Volume Source # 
Instance details

Defined in Amazonka.EC2.Types.Volume

Show Volume Source # 
Instance details

Defined in Amazonka.EC2.Types.Volume

NFData Volume Source # 
Instance details

Defined in Amazonka.EC2.Types.Volume

Methods

rnf :: Volume -> () #

Eq Volume Source # 
Instance details

Defined in Amazonka.EC2.Types.Volume

Methods

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

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

Hashable Volume Source # 
Instance details

Defined in Amazonka.EC2.Types.Volume

Methods

hashWithSalt :: Int -> Volume -> Int #

hash :: Volume -> Int #

type Rep Volume Source # 
Instance details

Defined in Amazonka.EC2.Types.Volume

type Rep Volume = D1 ('MetaData "Volume" "Amazonka.EC2.Types.Volume" "amazonka-ec2-2.0-48L9RAJvmvzAdBkRegqWCL" 'False) (C1 ('MetaCons "Volume'" 'PrefixI 'True) ((((S1 ('MetaSel ('Just "attachments") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [VolumeAttachment])) :*: S1 ('MetaSel ('Just "fastRestored") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool))) :*: (S1 ('MetaSel ('Just "iops") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int)) :*: S1 ('MetaSel ('Just "kmsKeyId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 ('MetaSel ('Just "multiAttachEnabled") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "outpostArn") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 ('MetaSel ('Just "tags") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe [Tag])) :*: S1 ('MetaSel ('Just "throughput") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Int))))) :*: (((S1 ('MetaSel ('Just "availabilityZone") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "createTime") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 ISO8601)) :*: (S1 ('MetaSel ('Just "encrypted") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool) :*: S1 ('MetaSel ('Just "size") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) :*: ((S1 ('MetaSel ('Just "snapshotId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "state") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VolumeState)) :*: (S1 ('MetaSel ('Just "volumeId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "volumeType") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 VolumeType))))))

newVolume Source #

Create a value of Volume 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:attachments:Volume', volume_attachments - Information about the volume attachments.

$sel:fastRestored:Volume', volume_fastRestored - Indicates whether the volume was created using fast snapshot restore.

$sel:iops:Volume', volume_iops - The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

$sel:kmsKeyId:Volume', volume_kmsKeyId - The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the volume encryption key for the volume.

$sel:multiAttachEnabled:Volume', volume_multiAttachEnabled - Indicates whether Amazon EBS Multi-Attach is enabled.

$sel:outpostArn:Volume', volume_outpostArn - The Amazon Resource Name (ARN) of the Outpost.

$sel:tags:Volume', volume_tags - Any tags assigned to the volume.

$sel:throughput:Volume', volume_throughput - The throughput that the volume supports, in MiB/s.

$sel:availabilityZone:Volume', volume_availabilityZone - The Availability Zone for the volume.

$sel:createTime:Volume', volume_createTime - The time stamp when volume creation was initiated.

$sel:encrypted:Volume', volume_encrypted - Indicates whether the volume is encrypted.

$sel:size:Volume', volume_size - The size of the volume, in GiBs.

$sel:snapshotId:Volume', volume_snapshotId - The snapshot from which the volume was created, if applicable.

Volume, volume_state - The volume state.

Volume, volume_volumeId - The ID of the volume.

$sel:volumeType:Volume', volume_volumeType - The volume type.

volume_attachments :: Lens' Volume (Maybe [VolumeAttachment]) Source #

Information about the volume attachments.

volume_fastRestored :: Lens' Volume (Maybe Bool) Source #

Indicates whether the volume was created using fast snapshot restore.

volume_iops :: Lens' Volume (Maybe Int) Source #

The number of I/O operations per second (IOPS). For gp3, io1, and io2 volumes, this represents the number of IOPS that are provisioned for the volume. For gp2 volumes, this represents the baseline performance of the volume and the rate at which the volume accumulates I/O credits for bursting.

volume_kmsKeyId :: Lens' Volume (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Key Management Service (KMS) KMS key that was used to protect the volume encryption key for the volume.

volume_multiAttachEnabled :: Lens' Volume (Maybe Bool) Source #

Indicates whether Amazon EBS Multi-Attach is enabled.

volume_outpostArn :: Lens' Volume (Maybe Text) Source #

The Amazon Resource Name (ARN) of the Outpost.

volume_tags :: Lens' Volume (Maybe [Tag]) Source #

Any tags assigned to the volume.

volume_throughput :: Lens' Volume (Maybe Int) Source #

The throughput that the volume supports, in MiB/s.

volume_availabilityZone :: Lens' Volume Text Source #

The Availability Zone for the volume.

volume_createTime :: Lens' Volume UTCTime Source #

The time stamp when volume creation was initiated.

volume_encrypted :: Lens' Volume Bool Source #

Indicates whether the volume is encrypted.

volume_size :: Lens' Volume Int Source #

The size of the volume, in GiBs.

volume_snapshotId :: Lens' Volume Text Source #

The snapshot from which the volume was created, if applicable.

volume_volumeId :: Lens' Volume Text Source #

The ID of the volume.