{-# 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 #-}
module Amazonka.StorageGateway.Types.CachediSCSIVolume where
import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import qualified Amazonka.Prelude as Prelude
import Amazonka.StorageGateway.Types.VolumeiSCSIAttributes
data CachediSCSIVolume = CachediSCSIVolume'
{
CachediSCSIVolume -> Maybe POSIX
createdDate :: Prelude.Maybe Data.POSIX,
CachediSCSIVolume -> Maybe Text
kmsKey :: Prelude.Maybe Prelude.Text,
CachediSCSIVolume -> Maybe Text
sourceSnapshotId :: Prelude.Maybe Prelude.Text,
CachediSCSIVolume -> Maybe Text
targetName :: Prelude.Maybe Prelude.Text,
CachediSCSIVolume -> Maybe Text
volumeARN :: Prelude.Maybe Prelude.Text,
CachediSCSIVolume -> Maybe Text
volumeAttachmentStatus :: Prelude.Maybe Prelude.Text,
CachediSCSIVolume -> Maybe Text
volumeId :: Prelude.Maybe Prelude.Text,
CachediSCSIVolume -> Maybe Double
volumeProgress :: Prelude.Maybe Prelude.Double,
CachediSCSIVolume -> Maybe Integer
volumeSizeInBytes :: Prelude.Maybe Prelude.Integer,
CachediSCSIVolume -> Maybe Text
volumeStatus :: Prelude.Maybe Prelude.Text,
CachediSCSIVolume -> Maybe Text
volumeType :: Prelude.Maybe Prelude.Text,
CachediSCSIVolume -> Maybe Integer
volumeUsedInBytes :: Prelude.Maybe Prelude.Integer,
CachediSCSIVolume -> Maybe VolumeiSCSIAttributes
volumeiSCSIAttributes :: Prelude.Maybe VolumeiSCSIAttributes
}
deriving (CachediSCSIVolume -> CachediSCSIVolume -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: CachediSCSIVolume -> CachediSCSIVolume -> Bool
$c/= :: CachediSCSIVolume -> CachediSCSIVolume -> Bool
== :: CachediSCSIVolume -> CachediSCSIVolume -> Bool
$c== :: CachediSCSIVolume -> CachediSCSIVolume -> Bool
Prelude.Eq, ReadPrec [CachediSCSIVolume]
ReadPrec CachediSCSIVolume
Int -> ReadS CachediSCSIVolume
ReadS [CachediSCSIVolume]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [CachediSCSIVolume]
$creadListPrec :: ReadPrec [CachediSCSIVolume]
readPrec :: ReadPrec CachediSCSIVolume
$creadPrec :: ReadPrec CachediSCSIVolume
readList :: ReadS [CachediSCSIVolume]
$creadList :: ReadS [CachediSCSIVolume]
readsPrec :: Int -> ReadS CachediSCSIVolume
$creadsPrec :: Int -> ReadS CachediSCSIVolume
Prelude.Read, Int -> CachediSCSIVolume -> ShowS
[CachediSCSIVolume] -> ShowS
CachediSCSIVolume -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [CachediSCSIVolume] -> ShowS
$cshowList :: [CachediSCSIVolume] -> ShowS
show :: CachediSCSIVolume -> String
$cshow :: CachediSCSIVolume -> String
showsPrec :: Int -> CachediSCSIVolume -> ShowS
$cshowsPrec :: Int -> CachediSCSIVolume -> ShowS
Prelude.Show, forall x. Rep CachediSCSIVolume x -> CachediSCSIVolume
forall x. CachediSCSIVolume -> Rep CachediSCSIVolume x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep CachediSCSIVolume x -> CachediSCSIVolume
$cfrom :: forall x. CachediSCSIVolume -> Rep CachediSCSIVolume x
Prelude.Generic)
newCachediSCSIVolume ::
CachediSCSIVolume
newCachediSCSIVolume :: CachediSCSIVolume
newCachediSCSIVolume =
CachediSCSIVolume'
{ $sel:createdDate:CachediSCSIVolume' :: Maybe POSIX
createdDate = forall a. Maybe a
Prelude.Nothing,
$sel:kmsKey:CachediSCSIVolume' :: Maybe Text
kmsKey = forall a. Maybe a
Prelude.Nothing,
$sel:sourceSnapshotId:CachediSCSIVolume' :: Maybe Text
sourceSnapshotId = forall a. Maybe a
Prelude.Nothing,
$sel:targetName:CachediSCSIVolume' :: Maybe Text
targetName = forall a. Maybe a
Prelude.Nothing,
$sel:volumeARN:CachediSCSIVolume' :: Maybe Text
volumeARN = forall a. Maybe a
Prelude.Nothing,
$sel:volumeAttachmentStatus:CachediSCSIVolume' :: Maybe Text
volumeAttachmentStatus = forall a. Maybe a
Prelude.Nothing,
$sel:volumeId:CachediSCSIVolume' :: Maybe Text
volumeId = forall a. Maybe a
Prelude.Nothing,
$sel:volumeProgress:CachediSCSIVolume' :: Maybe Double
volumeProgress = forall a. Maybe a
Prelude.Nothing,
$sel:volumeSizeInBytes:CachediSCSIVolume' :: Maybe Integer
volumeSizeInBytes = forall a. Maybe a
Prelude.Nothing,
$sel:volumeStatus:CachediSCSIVolume' :: Maybe Text
volumeStatus = forall a. Maybe a
Prelude.Nothing,
$sel:volumeType:CachediSCSIVolume' :: Maybe Text
volumeType = forall a. Maybe a
Prelude.Nothing,
$sel:volumeUsedInBytes:CachediSCSIVolume' :: Maybe Integer
volumeUsedInBytes = forall a. Maybe a
Prelude.Nothing,
$sel:volumeiSCSIAttributes:CachediSCSIVolume' :: Maybe VolumeiSCSIAttributes
volumeiSCSIAttributes = forall a. Maybe a
Prelude.Nothing
}
cachediSCSIVolume_createdDate :: Lens.Lens' CachediSCSIVolume (Prelude.Maybe Prelude.UTCTime)
cachediSCSIVolume_createdDate :: Lens' CachediSCSIVolume (Maybe UTCTime)
cachediSCSIVolume_createdDate = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CachediSCSIVolume' {Maybe POSIX
createdDate :: Maybe POSIX
$sel:createdDate:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe POSIX
createdDate} -> Maybe POSIX
createdDate) (\s :: CachediSCSIVolume
s@CachediSCSIVolume' {} Maybe POSIX
a -> CachediSCSIVolume
s {$sel:createdDate:CachediSCSIVolume' :: Maybe POSIX
createdDate = Maybe POSIX
a} :: CachediSCSIVolume) forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. forall (f :: * -> *) (g :: * -> *) s t a b.
(Functor f, Functor g) =>
AnIso s t a b -> Iso (f s) (g t) (f a) (g b)
Lens.mapping forall (a :: Format). Iso' (Time a) UTCTime
Data._Time
cachediSCSIVolume_kmsKey :: Lens.Lens' CachediSCSIVolume (Prelude.Maybe Prelude.Text)
cachediSCSIVolume_kmsKey :: Lens' CachediSCSIVolume (Maybe Text)
cachediSCSIVolume_kmsKey = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CachediSCSIVolume' {Maybe Text
kmsKey :: Maybe Text
$sel:kmsKey:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
kmsKey} -> Maybe Text
kmsKey) (\s :: CachediSCSIVolume
s@CachediSCSIVolume' {} Maybe Text
a -> CachediSCSIVolume
s {$sel:kmsKey:CachediSCSIVolume' :: Maybe Text
kmsKey = Maybe Text
a} :: CachediSCSIVolume)
cachediSCSIVolume_sourceSnapshotId :: Lens.Lens' CachediSCSIVolume (Prelude.Maybe Prelude.Text)
cachediSCSIVolume_sourceSnapshotId :: Lens' CachediSCSIVolume (Maybe Text)
cachediSCSIVolume_sourceSnapshotId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CachediSCSIVolume' {Maybe Text
sourceSnapshotId :: Maybe Text
$sel:sourceSnapshotId:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
sourceSnapshotId} -> Maybe Text
sourceSnapshotId) (\s :: CachediSCSIVolume
s@CachediSCSIVolume' {} Maybe Text
a -> CachediSCSIVolume
s {$sel:sourceSnapshotId:CachediSCSIVolume' :: Maybe Text
sourceSnapshotId = Maybe Text
a} :: CachediSCSIVolume)
cachediSCSIVolume_targetName :: Lens.Lens' CachediSCSIVolume (Prelude.Maybe Prelude.Text)
cachediSCSIVolume_targetName :: Lens' CachediSCSIVolume (Maybe Text)
cachediSCSIVolume_targetName = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CachediSCSIVolume' {Maybe Text
targetName :: Maybe Text
$sel:targetName:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
targetName} -> Maybe Text
targetName) (\s :: CachediSCSIVolume
s@CachediSCSIVolume' {} Maybe Text
a -> CachediSCSIVolume
s {$sel:targetName:CachediSCSIVolume' :: Maybe Text
targetName = Maybe Text
a} :: CachediSCSIVolume)
cachediSCSIVolume_volumeARN :: Lens.Lens' CachediSCSIVolume (Prelude.Maybe Prelude.Text)
cachediSCSIVolume_volumeARN :: Lens' CachediSCSIVolume (Maybe Text)
cachediSCSIVolume_volumeARN = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CachediSCSIVolume' {Maybe Text
volumeARN :: Maybe Text
$sel:volumeARN:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
volumeARN} -> Maybe Text
volumeARN) (\s :: CachediSCSIVolume
s@CachediSCSIVolume' {} Maybe Text
a -> CachediSCSIVolume
s {$sel:volumeARN:CachediSCSIVolume' :: Maybe Text
volumeARN = Maybe Text
a} :: CachediSCSIVolume)
cachediSCSIVolume_volumeAttachmentStatus :: Lens.Lens' CachediSCSIVolume (Prelude.Maybe Prelude.Text)
cachediSCSIVolume_volumeAttachmentStatus :: Lens' CachediSCSIVolume (Maybe Text)
cachediSCSIVolume_volumeAttachmentStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CachediSCSIVolume' {Maybe Text
volumeAttachmentStatus :: Maybe Text
$sel:volumeAttachmentStatus:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
volumeAttachmentStatus} -> Maybe Text
volumeAttachmentStatus) (\s :: CachediSCSIVolume
s@CachediSCSIVolume' {} Maybe Text
a -> CachediSCSIVolume
s {$sel:volumeAttachmentStatus:CachediSCSIVolume' :: Maybe Text
volumeAttachmentStatus = Maybe Text
a} :: CachediSCSIVolume)
cachediSCSIVolume_volumeId :: Lens.Lens' CachediSCSIVolume (Prelude.Maybe Prelude.Text)
cachediSCSIVolume_volumeId :: Lens' CachediSCSIVolume (Maybe Text)
cachediSCSIVolume_volumeId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CachediSCSIVolume' {Maybe Text
volumeId :: Maybe Text
$sel:volumeId:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
volumeId} -> Maybe Text
volumeId) (\s :: CachediSCSIVolume
s@CachediSCSIVolume' {} Maybe Text
a -> CachediSCSIVolume
s {$sel:volumeId:CachediSCSIVolume' :: Maybe Text
volumeId = Maybe Text
a} :: CachediSCSIVolume)
cachediSCSIVolume_volumeProgress :: Lens.Lens' CachediSCSIVolume (Prelude.Maybe Prelude.Double)
cachediSCSIVolume_volumeProgress :: Lens' CachediSCSIVolume (Maybe Double)
cachediSCSIVolume_volumeProgress = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CachediSCSIVolume' {Maybe Double
volumeProgress :: Maybe Double
$sel:volumeProgress:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Double
volumeProgress} -> Maybe Double
volumeProgress) (\s :: CachediSCSIVolume
s@CachediSCSIVolume' {} Maybe Double
a -> CachediSCSIVolume
s {$sel:volumeProgress:CachediSCSIVolume' :: Maybe Double
volumeProgress = Maybe Double
a} :: CachediSCSIVolume)
cachediSCSIVolume_volumeSizeInBytes :: Lens.Lens' CachediSCSIVolume (Prelude.Maybe Prelude.Integer)
cachediSCSIVolume_volumeSizeInBytes :: Lens' CachediSCSIVolume (Maybe Integer)
cachediSCSIVolume_volumeSizeInBytes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CachediSCSIVolume' {Maybe Integer
volumeSizeInBytes :: Maybe Integer
$sel:volumeSizeInBytes:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Integer
volumeSizeInBytes} -> Maybe Integer
volumeSizeInBytes) (\s :: CachediSCSIVolume
s@CachediSCSIVolume' {} Maybe Integer
a -> CachediSCSIVolume
s {$sel:volumeSizeInBytes:CachediSCSIVolume' :: Maybe Integer
volumeSizeInBytes = Maybe Integer
a} :: CachediSCSIVolume)
cachediSCSIVolume_volumeStatus :: Lens.Lens' CachediSCSIVolume (Prelude.Maybe Prelude.Text)
cachediSCSIVolume_volumeStatus :: Lens' CachediSCSIVolume (Maybe Text)
cachediSCSIVolume_volumeStatus = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CachediSCSIVolume' {Maybe Text
volumeStatus :: Maybe Text
$sel:volumeStatus:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
volumeStatus} -> Maybe Text
volumeStatus) (\s :: CachediSCSIVolume
s@CachediSCSIVolume' {} Maybe Text
a -> CachediSCSIVolume
s {$sel:volumeStatus:CachediSCSIVolume' :: Maybe Text
volumeStatus = Maybe Text
a} :: CachediSCSIVolume)
cachediSCSIVolume_volumeType :: Lens.Lens' CachediSCSIVolume (Prelude.Maybe Prelude.Text)
cachediSCSIVolume_volumeType :: Lens' CachediSCSIVolume (Maybe Text)
cachediSCSIVolume_volumeType = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CachediSCSIVolume' {Maybe Text
volumeType :: Maybe Text
$sel:volumeType:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
volumeType} -> Maybe Text
volumeType) (\s :: CachediSCSIVolume
s@CachediSCSIVolume' {} Maybe Text
a -> CachediSCSIVolume
s {$sel:volumeType:CachediSCSIVolume' :: Maybe Text
volumeType = Maybe Text
a} :: CachediSCSIVolume)
cachediSCSIVolume_volumeUsedInBytes :: Lens.Lens' CachediSCSIVolume (Prelude.Maybe Prelude.Integer)
cachediSCSIVolume_volumeUsedInBytes :: Lens' CachediSCSIVolume (Maybe Integer)
cachediSCSIVolume_volumeUsedInBytes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CachediSCSIVolume' {Maybe Integer
volumeUsedInBytes :: Maybe Integer
$sel:volumeUsedInBytes:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Integer
volumeUsedInBytes} -> Maybe Integer
volumeUsedInBytes) (\s :: CachediSCSIVolume
s@CachediSCSIVolume' {} Maybe Integer
a -> CachediSCSIVolume
s {$sel:volumeUsedInBytes:CachediSCSIVolume' :: Maybe Integer
volumeUsedInBytes = Maybe Integer
a} :: CachediSCSIVolume)
cachediSCSIVolume_volumeiSCSIAttributes :: Lens.Lens' CachediSCSIVolume (Prelude.Maybe VolumeiSCSIAttributes)
cachediSCSIVolume_volumeiSCSIAttributes :: Lens' CachediSCSIVolume (Maybe VolumeiSCSIAttributes)
cachediSCSIVolume_volumeiSCSIAttributes = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\CachediSCSIVolume' {Maybe VolumeiSCSIAttributes
volumeiSCSIAttributes :: Maybe VolumeiSCSIAttributes
$sel:volumeiSCSIAttributes:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe VolumeiSCSIAttributes
volumeiSCSIAttributes} -> Maybe VolumeiSCSIAttributes
volumeiSCSIAttributes) (\s :: CachediSCSIVolume
s@CachediSCSIVolume' {} Maybe VolumeiSCSIAttributes
a -> CachediSCSIVolume
s {$sel:volumeiSCSIAttributes:CachediSCSIVolume' :: Maybe VolumeiSCSIAttributes
volumeiSCSIAttributes = Maybe VolumeiSCSIAttributes
a} :: CachediSCSIVolume)
instance Data.FromJSON CachediSCSIVolume where
parseJSON :: Value -> Parser CachediSCSIVolume
parseJSON =
forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
String
"CachediSCSIVolume"
( \Object
x ->
Maybe POSIX
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe Double
-> Maybe Integer
-> Maybe Text
-> Maybe Text
-> Maybe Integer
-> Maybe VolumeiSCSIAttributes
-> CachediSCSIVolume
CachediSCSIVolume'
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"CreatedDate")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"KMSKey")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"SourceSnapshotId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"TargetName")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"VolumeARN")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"VolumeAttachmentStatus")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"VolumeId")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"VolumeProgress")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"VolumeSizeInBytes")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"VolumeStatus")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"VolumeType")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"VolumeUsedInBytes")
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x forall a. FromJSON a => Object -> Key -> Parser (Maybe a)
Data..:? Key
"VolumeiSCSIAttributes")
)
instance Prelude.Hashable CachediSCSIVolume where
hashWithSalt :: Int -> CachediSCSIVolume -> Int
hashWithSalt Int
_salt CachediSCSIVolume' {Maybe Double
Maybe Integer
Maybe Text
Maybe POSIX
Maybe VolumeiSCSIAttributes
volumeiSCSIAttributes :: Maybe VolumeiSCSIAttributes
volumeUsedInBytes :: Maybe Integer
volumeType :: Maybe Text
volumeStatus :: Maybe Text
volumeSizeInBytes :: Maybe Integer
volumeProgress :: Maybe Double
volumeId :: Maybe Text
volumeAttachmentStatus :: Maybe Text
volumeARN :: Maybe Text
targetName :: Maybe Text
sourceSnapshotId :: Maybe Text
kmsKey :: Maybe Text
createdDate :: Maybe POSIX
$sel:volumeiSCSIAttributes:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe VolumeiSCSIAttributes
$sel:volumeUsedInBytes:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Integer
$sel:volumeType:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
$sel:volumeStatus:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
$sel:volumeSizeInBytes:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Integer
$sel:volumeProgress:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Double
$sel:volumeId:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
$sel:volumeAttachmentStatus:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
$sel:volumeARN:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
$sel:targetName:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
$sel:sourceSnapshotId:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
$sel:kmsKey:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
$sel:createdDate:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe POSIX
..} =
Int
_salt
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe POSIX
createdDate
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
kmsKey
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
sourceSnapshotId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
targetName
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
volumeARN
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
volumeAttachmentStatus
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
volumeId
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Double
volumeProgress
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Integer
volumeSizeInBytes
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
volumeStatus
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
volumeType
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Integer
volumeUsedInBytes
forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe VolumeiSCSIAttributes
volumeiSCSIAttributes
instance Prelude.NFData CachediSCSIVolume where
rnf :: CachediSCSIVolume -> ()
rnf CachediSCSIVolume' {Maybe Double
Maybe Integer
Maybe Text
Maybe POSIX
Maybe VolumeiSCSIAttributes
volumeiSCSIAttributes :: Maybe VolumeiSCSIAttributes
volumeUsedInBytes :: Maybe Integer
volumeType :: Maybe Text
volumeStatus :: Maybe Text
volumeSizeInBytes :: Maybe Integer
volumeProgress :: Maybe Double
volumeId :: Maybe Text
volumeAttachmentStatus :: Maybe Text
volumeARN :: Maybe Text
targetName :: Maybe Text
sourceSnapshotId :: Maybe Text
kmsKey :: Maybe Text
createdDate :: Maybe POSIX
$sel:volumeiSCSIAttributes:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe VolumeiSCSIAttributes
$sel:volumeUsedInBytes:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Integer
$sel:volumeType:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
$sel:volumeStatus:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
$sel:volumeSizeInBytes:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Integer
$sel:volumeProgress:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Double
$sel:volumeId:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
$sel:volumeAttachmentStatus:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
$sel:volumeARN:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
$sel:targetName:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
$sel:sourceSnapshotId:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
$sel:kmsKey:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe Text
$sel:createdDate:CachediSCSIVolume' :: CachediSCSIVolume -> Maybe POSIX
..} =
forall a. NFData a => a -> ()
Prelude.rnf Maybe POSIX
createdDate
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
kmsKey
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
sourceSnapshotId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
targetName
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
volumeARN
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
volumeAttachmentStatus
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
volumeId
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Double
volumeProgress
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Integer
volumeSizeInBytes
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
volumeStatus
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
volumeType
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Integer
volumeUsedInBytes
seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe VolumeiSCSIAttributes
volumeiSCSIAttributes