Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Synopsis
- data Volume = Volume' {
- attachments :: Maybe [VolumeAttachment]
- fastRestored :: Maybe Bool
- iops :: Maybe Int
- kmsKeyId :: Maybe Text
- multiAttachEnabled :: Maybe Bool
- outpostArn :: Maybe Text
- tags :: Maybe [Tag]
- throughput :: Maybe Int
- availabilityZone :: Text
- createTime :: ISO8601
- encrypted :: Bool
- size :: Int
- snapshotId :: Text
- state :: VolumeState
- volumeId :: Text
- volumeType :: VolumeType
- newVolume :: Text -> UTCTime -> Bool -> Int -> Text -> VolumeState -> Text -> VolumeType -> Volume
- volume_attachments :: Lens' Volume (Maybe [VolumeAttachment])
- volume_fastRestored :: Lens' Volume (Maybe Bool)
- volume_iops :: Lens' Volume (Maybe Int)
- volume_kmsKeyId :: Lens' Volume (Maybe Text)
- volume_multiAttachEnabled :: Lens' Volume (Maybe Bool)
- volume_outpostArn :: Lens' Volume (Maybe Text)
- volume_tags :: Lens' Volume (Maybe [Tag])
- volume_throughput :: Lens' Volume (Maybe Int)
- volume_availabilityZone :: Lens' Volume Text
- volume_createTime :: Lens' Volume UTCTime
- volume_encrypted :: Lens' Volume Bool
- volume_size :: Lens' Volume Int
- volume_snapshotId :: Lens' Volume Text
- volume_state :: Lens' Volume VolumeState
- volume_volumeId :: Lens' Volume Text
- volume_volumeType :: Lens' Volume VolumeType
Documentation
Describes a volume.
See: newVolume
smart constructor.
Volume' | |
|
Instances
:: Text | |
-> UTCTime | |
-> Bool | |
-> Int | |
-> Text | |
-> VolumeState | |
-> Text | |
-> VolumeType | |
-> Volume |
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_throughput :: Lens' Volume (Maybe Int) Source #
The throughput that the volume supports, in MiB/s.
volume_createTime :: Lens' Volume UTCTime Source #
The time stamp when volume creation was initiated.
volume_snapshotId :: Lens' Volume Text Source #
The snapshot from which the volume was created, if applicable.
volume_state :: Lens' Volume VolumeState Source #
The volume state.
volume_volumeType :: Lens' Volume VolumeType Source #
The volume type.