{-# LANGUAGE DeriveGeneric #-}
{-# LANGUAGE DuplicateRecordFields #-}
{-# LANGUAGE NamedFieldPuns #-}
{-# LANGUAGE OverloadedStrings #-}
{-# LANGUAGE RecordWildCards #-}
{-# LANGUAGE StrictData #-}
{-# LANGUAGE NoImplicitPrelude #-}
{-# OPTIONS_GHC -fno-warn-unused-imports #-}
{-# OPTIONS_GHC -fno-warn-unused-matches #-}

-- Derived from AWS service descriptions, licensed under Apache 2.0.

-- |
-- Module      : Amazonka.EC2.Types.LaunchTemplateEbsBlockDevice
-- Copyright   : (c) 2013-2023 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
module Amazonka.EC2.Types.LaunchTemplateEbsBlockDevice where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.EC2.Internal
import Amazonka.EC2.Types.VolumeType
import qualified Amazonka.Prelude as Prelude

-- | Describes a block device for an EBS volume.
--
-- /See:/ 'newLaunchTemplateEbsBlockDevice' smart constructor.
data LaunchTemplateEbsBlockDevice = LaunchTemplateEbsBlockDevice'
  { -- | Indicates whether the EBS volume is deleted on instance termination.
    LaunchTemplateEbsBlockDevice -> Maybe Bool
deleteOnTermination :: Prelude.Maybe Prelude.Bool,
    -- | Indicates whether the EBS volume is encrypted.
    LaunchTemplateEbsBlockDevice -> Maybe Bool
encrypted :: Prelude.Maybe Prelude.Bool,
    -- | The number of I\/O operations per second (IOPS) that the volume
    -- supports.
    LaunchTemplateEbsBlockDevice -> Maybe Int
iops :: Prelude.Maybe Prelude.Int,
    -- | The ARN of the Key Management Service (KMS) CMK used for encryption.
    LaunchTemplateEbsBlockDevice -> Maybe Text
kmsKeyId :: Prelude.Maybe Prelude.Text,
    -- | The ID of the snapshot.
    LaunchTemplateEbsBlockDevice -> Maybe Text
snapshotId :: Prelude.Maybe Prelude.Text,
    -- | The throughput that the volume supports, in MiB\/s.
    LaunchTemplateEbsBlockDevice -> Maybe Int
throughput :: Prelude.Maybe Prelude.Int,
    -- | The size of the volume, in GiB.
    LaunchTemplateEbsBlockDevice -> Maybe Int
volumeSize :: Prelude.Maybe Prelude.Int,
    -- | The volume type.
    LaunchTemplateEbsBlockDevice -> Maybe VolumeType
volumeType :: Prelude.Maybe VolumeType
  }
  deriving (LaunchTemplateEbsBlockDevice
-> LaunchTemplateEbsBlockDevice -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: LaunchTemplateEbsBlockDevice
-> LaunchTemplateEbsBlockDevice -> Bool
$c/= :: LaunchTemplateEbsBlockDevice
-> LaunchTemplateEbsBlockDevice -> Bool
== :: LaunchTemplateEbsBlockDevice
-> LaunchTemplateEbsBlockDevice -> Bool
$c== :: LaunchTemplateEbsBlockDevice
-> LaunchTemplateEbsBlockDevice -> Bool
Prelude.Eq, ReadPrec [LaunchTemplateEbsBlockDevice]
ReadPrec LaunchTemplateEbsBlockDevice
Int -> ReadS LaunchTemplateEbsBlockDevice
ReadS [LaunchTemplateEbsBlockDevice]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [LaunchTemplateEbsBlockDevice]
$creadListPrec :: ReadPrec [LaunchTemplateEbsBlockDevice]
readPrec :: ReadPrec LaunchTemplateEbsBlockDevice
$creadPrec :: ReadPrec LaunchTemplateEbsBlockDevice
readList :: ReadS [LaunchTemplateEbsBlockDevice]
$creadList :: ReadS [LaunchTemplateEbsBlockDevice]
readsPrec :: Int -> ReadS LaunchTemplateEbsBlockDevice
$creadsPrec :: Int -> ReadS LaunchTemplateEbsBlockDevice
Prelude.Read, Int -> LaunchTemplateEbsBlockDevice -> ShowS
[LaunchTemplateEbsBlockDevice] -> ShowS
LaunchTemplateEbsBlockDevice -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [LaunchTemplateEbsBlockDevice] -> ShowS
$cshowList :: [LaunchTemplateEbsBlockDevice] -> ShowS
show :: LaunchTemplateEbsBlockDevice -> String
$cshow :: LaunchTemplateEbsBlockDevice -> String
showsPrec :: Int -> LaunchTemplateEbsBlockDevice -> ShowS
$cshowsPrec :: Int -> LaunchTemplateEbsBlockDevice -> ShowS
Prelude.Show, forall x.
Rep LaunchTemplateEbsBlockDevice x -> LaunchTemplateEbsBlockDevice
forall x.
LaunchTemplateEbsBlockDevice -> Rep LaunchTemplateEbsBlockDevice x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep LaunchTemplateEbsBlockDevice x -> LaunchTemplateEbsBlockDevice
$cfrom :: forall x.
LaunchTemplateEbsBlockDevice -> Rep LaunchTemplateEbsBlockDevice x
Prelude.Generic)

-- |
-- Create a value of 'LaunchTemplateEbsBlockDevice' with all optional fields omitted.
--
-- Use <https://hackage.haskell.org/package/generic-lens generic-lens> or <https://hackage.haskell.org/package/optics optics> to modify other optional fields.
--
-- The following record fields are available, with the corresponding lenses provided
-- for backwards compatibility:
--
-- 'deleteOnTermination', 'launchTemplateEbsBlockDevice_deleteOnTermination' - Indicates whether the EBS volume is deleted on instance termination.
--
-- 'encrypted', 'launchTemplateEbsBlockDevice_encrypted' - Indicates whether the EBS volume is encrypted.
--
-- 'iops', 'launchTemplateEbsBlockDevice_iops' - The number of I\/O operations per second (IOPS) that the volume
-- supports.
--
-- 'kmsKeyId', 'launchTemplateEbsBlockDevice_kmsKeyId' - The ARN of the Key Management Service (KMS) CMK used for encryption.
--
-- 'snapshotId', 'launchTemplateEbsBlockDevice_snapshotId' - The ID of the snapshot.
--
-- 'throughput', 'launchTemplateEbsBlockDevice_throughput' - The throughput that the volume supports, in MiB\/s.
--
-- 'volumeSize', 'launchTemplateEbsBlockDevice_volumeSize' - The size of the volume, in GiB.
--
-- 'volumeType', 'launchTemplateEbsBlockDevice_volumeType' - The volume type.
newLaunchTemplateEbsBlockDevice ::
  LaunchTemplateEbsBlockDevice
newLaunchTemplateEbsBlockDevice :: LaunchTemplateEbsBlockDevice
newLaunchTemplateEbsBlockDevice =
  LaunchTemplateEbsBlockDevice'
    { $sel:deleteOnTermination:LaunchTemplateEbsBlockDevice' :: Maybe Bool
deleteOnTermination =
        forall a. Maybe a
Prelude.Nothing,
      $sel:encrypted:LaunchTemplateEbsBlockDevice' :: Maybe Bool
encrypted = forall a. Maybe a
Prelude.Nothing,
      $sel:iops:LaunchTemplateEbsBlockDevice' :: Maybe Int
iops = forall a. Maybe a
Prelude.Nothing,
      $sel:kmsKeyId:LaunchTemplateEbsBlockDevice' :: Maybe Text
kmsKeyId = forall a. Maybe a
Prelude.Nothing,
      $sel:snapshotId:LaunchTemplateEbsBlockDevice' :: Maybe Text
snapshotId = forall a. Maybe a
Prelude.Nothing,
      $sel:throughput:LaunchTemplateEbsBlockDevice' :: Maybe Int
throughput = forall a. Maybe a
Prelude.Nothing,
      $sel:volumeSize:LaunchTemplateEbsBlockDevice' :: Maybe Int
volumeSize = forall a. Maybe a
Prelude.Nothing,
      $sel:volumeType:LaunchTemplateEbsBlockDevice' :: Maybe VolumeType
volumeType = forall a. Maybe a
Prelude.Nothing
    }

-- | Indicates whether the EBS volume is deleted on instance termination.
launchTemplateEbsBlockDevice_deleteOnTermination :: Lens.Lens' LaunchTemplateEbsBlockDevice (Prelude.Maybe Prelude.Bool)
launchTemplateEbsBlockDevice_deleteOnTermination :: Lens' LaunchTemplateEbsBlockDevice (Maybe Bool)
launchTemplateEbsBlockDevice_deleteOnTermination = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LaunchTemplateEbsBlockDevice' {Maybe Bool
deleteOnTermination :: Maybe Bool
$sel:deleteOnTermination:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Bool
deleteOnTermination} -> Maybe Bool
deleteOnTermination) (\s :: LaunchTemplateEbsBlockDevice
s@LaunchTemplateEbsBlockDevice' {} Maybe Bool
a -> LaunchTemplateEbsBlockDevice
s {$sel:deleteOnTermination:LaunchTemplateEbsBlockDevice' :: Maybe Bool
deleteOnTermination = Maybe Bool
a} :: LaunchTemplateEbsBlockDevice)

-- | Indicates whether the EBS volume is encrypted.
launchTemplateEbsBlockDevice_encrypted :: Lens.Lens' LaunchTemplateEbsBlockDevice (Prelude.Maybe Prelude.Bool)
launchTemplateEbsBlockDevice_encrypted :: Lens' LaunchTemplateEbsBlockDevice (Maybe Bool)
launchTemplateEbsBlockDevice_encrypted = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LaunchTemplateEbsBlockDevice' {Maybe Bool
encrypted :: Maybe Bool
$sel:encrypted:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Bool
encrypted} -> Maybe Bool
encrypted) (\s :: LaunchTemplateEbsBlockDevice
s@LaunchTemplateEbsBlockDevice' {} Maybe Bool
a -> LaunchTemplateEbsBlockDevice
s {$sel:encrypted:LaunchTemplateEbsBlockDevice' :: Maybe Bool
encrypted = Maybe Bool
a} :: LaunchTemplateEbsBlockDevice)

-- | The number of I\/O operations per second (IOPS) that the volume
-- supports.
launchTemplateEbsBlockDevice_iops :: Lens.Lens' LaunchTemplateEbsBlockDevice (Prelude.Maybe Prelude.Int)
launchTemplateEbsBlockDevice_iops :: Lens' LaunchTemplateEbsBlockDevice (Maybe Int)
launchTemplateEbsBlockDevice_iops = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LaunchTemplateEbsBlockDevice' {Maybe Int
iops :: Maybe Int
$sel:iops:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Int
iops} -> Maybe Int
iops) (\s :: LaunchTemplateEbsBlockDevice
s@LaunchTemplateEbsBlockDevice' {} Maybe Int
a -> LaunchTemplateEbsBlockDevice
s {$sel:iops:LaunchTemplateEbsBlockDevice' :: Maybe Int
iops = Maybe Int
a} :: LaunchTemplateEbsBlockDevice)

-- | The ARN of the Key Management Service (KMS) CMK used for encryption.
launchTemplateEbsBlockDevice_kmsKeyId :: Lens.Lens' LaunchTemplateEbsBlockDevice (Prelude.Maybe Prelude.Text)
launchTemplateEbsBlockDevice_kmsKeyId :: Lens' LaunchTemplateEbsBlockDevice (Maybe Text)
launchTemplateEbsBlockDevice_kmsKeyId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LaunchTemplateEbsBlockDevice' {Maybe Text
kmsKeyId :: Maybe Text
$sel:kmsKeyId:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Text
kmsKeyId} -> Maybe Text
kmsKeyId) (\s :: LaunchTemplateEbsBlockDevice
s@LaunchTemplateEbsBlockDevice' {} Maybe Text
a -> LaunchTemplateEbsBlockDevice
s {$sel:kmsKeyId:LaunchTemplateEbsBlockDevice' :: Maybe Text
kmsKeyId = Maybe Text
a} :: LaunchTemplateEbsBlockDevice)

-- | The ID of the snapshot.
launchTemplateEbsBlockDevice_snapshotId :: Lens.Lens' LaunchTemplateEbsBlockDevice (Prelude.Maybe Prelude.Text)
launchTemplateEbsBlockDevice_snapshotId :: Lens' LaunchTemplateEbsBlockDevice (Maybe Text)
launchTemplateEbsBlockDevice_snapshotId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LaunchTemplateEbsBlockDevice' {Maybe Text
snapshotId :: Maybe Text
$sel:snapshotId:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Text
snapshotId} -> Maybe Text
snapshotId) (\s :: LaunchTemplateEbsBlockDevice
s@LaunchTemplateEbsBlockDevice' {} Maybe Text
a -> LaunchTemplateEbsBlockDevice
s {$sel:snapshotId:LaunchTemplateEbsBlockDevice' :: Maybe Text
snapshotId = Maybe Text
a} :: LaunchTemplateEbsBlockDevice)

-- | The throughput that the volume supports, in MiB\/s.
launchTemplateEbsBlockDevice_throughput :: Lens.Lens' LaunchTemplateEbsBlockDevice (Prelude.Maybe Prelude.Int)
launchTemplateEbsBlockDevice_throughput :: Lens' LaunchTemplateEbsBlockDevice (Maybe Int)
launchTemplateEbsBlockDevice_throughput = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LaunchTemplateEbsBlockDevice' {Maybe Int
throughput :: Maybe Int
$sel:throughput:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Int
throughput} -> Maybe Int
throughput) (\s :: LaunchTemplateEbsBlockDevice
s@LaunchTemplateEbsBlockDevice' {} Maybe Int
a -> LaunchTemplateEbsBlockDevice
s {$sel:throughput:LaunchTemplateEbsBlockDevice' :: Maybe Int
throughput = Maybe Int
a} :: LaunchTemplateEbsBlockDevice)

-- | The size of the volume, in GiB.
launchTemplateEbsBlockDevice_volumeSize :: Lens.Lens' LaunchTemplateEbsBlockDevice (Prelude.Maybe Prelude.Int)
launchTemplateEbsBlockDevice_volumeSize :: Lens' LaunchTemplateEbsBlockDevice (Maybe Int)
launchTemplateEbsBlockDevice_volumeSize = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LaunchTemplateEbsBlockDevice' {Maybe Int
volumeSize :: Maybe Int
$sel:volumeSize:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Int
volumeSize} -> Maybe Int
volumeSize) (\s :: LaunchTemplateEbsBlockDevice
s@LaunchTemplateEbsBlockDevice' {} Maybe Int
a -> LaunchTemplateEbsBlockDevice
s {$sel:volumeSize:LaunchTemplateEbsBlockDevice' :: Maybe Int
volumeSize = Maybe Int
a} :: LaunchTemplateEbsBlockDevice)

-- | The volume type.
launchTemplateEbsBlockDevice_volumeType :: Lens.Lens' LaunchTemplateEbsBlockDevice (Prelude.Maybe VolumeType)
launchTemplateEbsBlockDevice_volumeType :: Lens' LaunchTemplateEbsBlockDevice (Maybe VolumeType)
launchTemplateEbsBlockDevice_volumeType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\LaunchTemplateEbsBlockDevice' {Maybe VolumeType
volumeType :: Maybe VolumeType
$sel:volumeType:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe VolumeType
volumeType} -> Maybe VolumeType
volumeType) (\s :: LaunchTemplateEbsBlockDevice
s@LaunchTemplateEbsBlockDevice' {} Maybe VolumeType
a -> LaunchTemplateEbsBlockDevice
s {$sel:volumeType:LaunchTemplateEbsBlockDevice' :: Maybe VolumeType
volumeType = Maybe VolumeType
a} :: LaunchTemplateEbsBlockDevice)

instance Data.FromXML LaunchTemplateEbsBlockDevice where
  parseXML :: [Node] -> Either String LaunchTemplateEbsBlockDevice
parseXML [Node]
x =
    Maybe Bool
-> Maybe Bool
-> Maybe Int
-> Maybe Text
-> Maybe Text
-> Maybe Int
-> Maybe Int
-> Maybe VolumeType
-> LaunchTemplateEbsBlockDevice
LaunchTemplateEbsBlockDevice'
      forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"deleteOnTermination")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"encrypted")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"iops")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"kmsKeyId")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"snapshotId")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"throughput")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"volumeSize")
      forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> ([Node]
x forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Data..@? Text
"volumeType")

instance
  Prelude.Hashable
    LaunchTemplateEbsBlockDevice
  where
  hashWithSalt :: Int -> LaunchTemplateEbsBlockDevice -> Int
hashWithSalt Int
_salt LaunchTemplateEbsBlockDevice' {Maybe Bool
Maybe Int
Maybe Text
Maybe VolumeType
volumeType :: Maybe VolumeType
volumeSize :: Maybe Int
throughput :: Maybe Int
snapshotId :: Maybe Text
kmsKeyId :: Maybe Text
iops :: Maybe Int
encrypted :: Maybe Bool
deleteOnTermination :: Maybe Bool
$sel:volumeType:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe VolumeType
$sel:volumeSize:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Int
$sel:throughput:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Int
$sel:snapshotId:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Text
$sel:kmsKeyId:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Text
$sel:iops:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Int
$sel:encrypted:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Bool
$sel:deleteOnTermination:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Bool
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
deleteOnTermination
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Bool
encrypted
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
iops
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
kmsKeyId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
snapshotId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
throughput
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Int
volumeSize
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe VolumeType
volumeType

instance Prelude.NFData LaunchTemplateEbsBlockDevice where
  rnf :: LaunchTemplateEbsBlockDevice -> ()
rnf LaunchTemplateEbsBlockDevice' {Maybe Bool
Maybe Int
Maybe Text
Maybe VolumeType
volumeType :: Maybe VolumeType
volumeSize :: Maybe Int
throughput :: Maybe Int
snapshotId :: Maybe Text
kmsKeyId :: Maybe Text
iops :: Maybe Int
encrypted :: Maybe Bool
deleteOnTermination :: Maybe Bool
$sel:volumeType:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe VolumeType
$sel:volumeSize:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Int
$sel:throughput:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Int
$sel:snapshotId:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Text
$sel:kmsKeyId:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Text
$sel:iops:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Int
$sel:encrypted:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Bool
$sel:deleteOnTermination:LaunchTemplateEbsBlockDevice' :: LaunchTemplateEbsBlockDevice -> Maybe Bool
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
deleteOnTermination
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Bool
encrypted
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
iops
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
kmsKeyId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
snapshotId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
throughput
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Int
volumeSize
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe VolumeType
volumeType