{-# 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.Nimble.Types.StreamingSessionBackup
-- 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.Nimble.Types.StreamingSessionBackup where

import qualified Amazonka.Core as Core
import qualified Amazonka.Core.Lens.Internal as Lens
import qualified Amazonka.Data as Data
import Amazonka.Nimble.Types.StreamingSessionState
import Amazonka.Nimble.Types.StreamingSessionStatusCode
import qualified Amazonka.Prelude as Prelude

-- | Information about the streaming session backup.
--
-- /See:/ 'newStreamingSessionBackup' smart constructor.
data StreamingSessionBackup = StreamingSessionBackup'
  { -- | The Amazon Resource Name (ARN) that is assigned to a studio resource and
    -- uniquely identifies it. ARNs are unique across all Regions.
    StreamingSessionBackup -> Maybe Text
arn :: Prelude.Maybe Prelude.Text,
    -- | The ID of the backup.
    StreamingSessionBackup -> Maybe Text
backupId :: Prelude.Maybe Prelude.Text,
    -- | The ISO timestamp in for when the resource was created.
    StreamingSessionBackup -> Maybe ISO8601
createdAt :: Prelude.Maybe Data.ISO8601,
    -- | The ID of the launch profile which allowed the backups for the streaming
    -- session.
    StreamingSessionBackup -> Maybe Text
launchProfileId :: Prelude.Maybe Prelude.Text,
    -- | The user ID of the user that owns the streaming session.
    StreamingSessionBackup -> Maybe Text
ownedBy :: Prelude.Maybe Prelude.Text,
    -- | The streaming session ID for the @StreamingSessionBackup@.
    StreamingSessionBackup -> Maybe Text
sessionId :: Prelude.Maybe Prelude.Text,
    StreamingSessionBackup -> Maybe StreamingSessionState
state :: Prelude.Maybe StreamingSessionState,
    -- | The status code.
    StreamingSessionBackup -> Maybe StreamingSessionStatusCode
statusCode :: Prelude.Maybe StreamingSessionStatusCode,
    -- | The status message for the streaming session backup.
    StreamingSessionBackup -> Maybe Text
statusMessage :: Prelude.Maybe Prelude.Text,
    -- | A collection of labels, in the form of key-value pairs, that apply to
    -- this resource.
    StreamingSessionBackup -> Maybe (HashMap Text Text)
tags :: Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text)
  }
  deriving (StreamingSessionBackup -> StreamingSessionBackup -> Bool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: StreamingSessionBackup -> StreamingSessionBackup -> Bool
$c/= :: StreamingSessionBackup -> StreamingSessionBackup -> Bool
== :: StreamingSessionBackup -> StreamingSessionBackup -> Bool
$c== :: StreamingSessionBackup -> StreamingSessionBackup -> Bool
Prelude.Eq, ReadPrec [StreamingSessionBackup]
ReadPrec StreamingSessionBackup
Int -> ReadS StreamingSessionBackup
ReadS [StreamingSessionBackup]
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [StreamingSessionBackup]
$creadListPrec :: ReadPrec [StreamingSessionBackup]
readPrec :: ReadPrec StreamingSessionBackup
$creadPrec :: ReadPrec StreamingSessionBackup
readList :: ReadS [StreamingSessionBackup]
$creadList :: ReadS [StreamingSessionBackup]
readsPrec :: Int -> ReadS StreamingSessionBackup
$creadsPrec :: Int -> ReadS StreamingSessionBackup
Prelude.Read, Int -> StreamingSessionBackup -> ShowS
[StreamingSessionBackup] -> ShowS
StreamingSessionBackup -> String
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [StreamingSessionBackup] -> ShowS
$cshowList :: [StreamingSessionBackup] -> ShowS
show :: StreamingSessionBackup -> String
$cshow :: StreamingSessionBackup -> String
showsPrec :: Int -> StreamingSessionBackup -> ShowS
$cshowsPrec :: Int -> StreamingSessionBackup -> ShowS
Prelude.Show, forall x. Rep StreamingSessionBackup x -> StreamingSessionBackup
forall x. StreamingSessionBackup -> Rep StreamingSessionBackup x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep StreamingSessionBackup x -> StreamingSessionBackup
$cfrom :: forall x. StreamingSessionBackup -> Rep StreamingSessionBackup x
Prelude.Generic)

-- |
-- Create a value of 'StreamingSessionBackup' 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:
--
-- 'arn', 'streamingSessionBackup_arn' - The Amazon Resource Name (ARN) that is assigned to a studio resource and
-- uniquely identifies it. ARNs are unique across all Regions.
--
-- 'backupId', 'streamingSessionBackup_backupId' - The ID of the backup.
--
-- 'createdAt', 'streamingSessionBackup_createdAt' - The ISO timestamp in for when the resource was created.
--
-- 'launchProfileId', 'streamingSessionBackup_launchProfileId' - The ID of the launch profile which allowed the backups for the streaming
-- session.
--
-- 'ownedBy', 'streamingSessionBackup_ownedBy' - The user ID of the user that owns the streaming session.
--
-- 'sessionId', 'streamingSessionBackup_sessionId' - The streaming session ID for the @StreamingSessionBackup@.
--
-- 'state', 'streamingSessionBackup_state' - Undocumented member.
--
-- 'statusCode', 'streamingSessionBackup_statusCode' - The status code.
--
-- 'statusMessage', 'streamingSessionBackup_statusMessage' - The status message for the streaming session backup.
--
-- 'tags', 'streamingSessionBackup_tags' - A collection of labels, in the form of key-value pairs, that apply to
-- this resource.
newStreamingSessionBackup ::
  StreamingSessionBackup
newStreamingSessionBackup :: StreamingSessionBackup
newStreamingSessionBackup =
  StreamingSessionBackup'
    { $sel:arn:StreamingSessionBackup' :: Maybe Text
arn = forall a. Maybe a
Prelude.Nothing,
      $sel:backupId:StreamingSessionBackup' :: Maybe Text
backupId = forall a. Maybe a
Prelude.Nothing,
      $sel:createdAt:StreamingSessionBackup' :: Maybe ISO8601
createdAt = forall a. Maybe a
Prelude.Nothing,
      $sel:launchProfileId:StreamingSessionBackup' :: Maybe Text
launchProfileId = forall a. Maybe a
Prelude.Nothing,
      $sel:ownedBy:StreamingSessionBackup' :: Maybe Text
ownedBy = forall a. Maybe a
Prelude.Nothing,
      $sel:sessionId:StreamingSessionBackup' :: Maybe Text
sessionId = forall a. Maybe a
Prelude.Nothing,
      $sel:state:StreamingSessionBackup' :: Maybe StreamingSessionState
state = forall a. Maybe a
Prelude.Nothing,
      $sel:statusCode:StreamingSessionBackup' :: Maybe StreamingSessionStatusCode
statusCode = forall a. Maybe a
Prelude.Nothing,
      $sel:statusMessage:StreamingSessionBackup' :: Maybe Text
statusMessage = forall a. Maybe a
Prelude.Nothing,
      $sel:tags:StreamingSessionBackup' :: Maybe (HashMap Text Text)
tags = forall a. Maybe a
Prelude.Nothing
    }

-- | The Amazon Resource Name (ARN) that is assigned to a studio resource and
-- uniquely identifies it. ARNs are unique across all Regions.
streamingSessionBackup_arn :: Lens.Lens' StreamingSessionBackup (Prelude.Maybe Prelude.Text)
streamingSessionBackup_arn :: Lens' StreamingSessionBackup (Maybe Text)
streamingSessionBackup_arn = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StreamingSessionBackup' {Maybe Text
arn :: Maybe Text
$sel:arn:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe Text
arn} -> Maybe Text
arn) (\s :: StreamingSessionBackup
s@StreamingSessionBackup' {} Maybe Text
a -> StreamingSessionBackup
s {$sel:arn:StreamingSessionBackup' :: Maybe Text
arn = Maybe Text
a} :: StreamingSessionBackup)

-- | The ID of the backup.
streamingSessionBackup_backupId :: Lens.Lens' StreamingSessionBackup (Prelude.Maybe Prelude.Text)
streamingSessionBackup_backupId :: Lens' StreamingSessionBackup (Maybe Text)
streamingSessionBackup_backupId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StreamingSessionBackup' {Maybe Text
backupId :: Maybe Text
$sel:backupId:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe Text
backupId} -> Maybe Text
backupId) (\s :: StreamingSessionBackup
s@StreamingSessionBackup' {} Maybe Text
a -> StreamingSessionBackup
s {$sel:backupId:StreamingSessionBackup' :: Maybe Text
backupId = Maybe Text
a} :: StreamingSessionBackup)

-- | The ISO timestamp in for when the resource was created.
streamingSessionBackup_createdAt :: Lens.Lens' StreamingSessionBackup (Prelude.Maybe Prelude.UTCTime)
streamingSessionBackup_createdAt :: Lens' StreamingSessionBackup (Maybe UTCTime)
streamingSessionBackup_createdAt = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StreamingSessionBackup' {Maybe ISO8601
createdAt :: Maybe ISO8601
$sel:createdAt:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe ISO8601
createdAt} -> Maybe ISO8601
createdAt) (\s :: StreamingSessionBackup
s@StreamingSessionBackup' {} Maybe ISO8601
a -> StreamingSessionBackup
s {$sel:createdAt:StreamingSessionBackup' :: Maybe ISO8601
createdAt = Maybe ISO8601
a} :: StreamingSessionBackup) 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

-- | The ID of the launch profile which allowed the backups for the streaming
-- session.
streamingSessionBackup_launchProfileId :: Lens.Lens' StreamingSessionBackup (Prelude.Maybe Prelude.Text)
streamingSessionBackup_launchProfileId :: Lens' StreamingSessionBackup (Maybe Text)
streamingSessionBackup_launchProfileId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StreamingSessionBackup' {Maybe Text
launchProfileId :: Maybe Text
$sel:launchProfileId:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe Text
launchProfileId} -> Maybe Text
launchProfileId) (\s :: StreamingSessionBackup
s@StreamingSessionBackup' {} Maybe Text
a -> StreamingSessionBackup
s {$sel:launchProfileId:StreamingSessionBackup' :: Maybe Text
launchProfileId = Maybe Text
a} :: StreamingSessionBackup)

-- | The user ID of the user that owns the streaming session.
streamingSessionBackup_ownedBy :: Lens.Lens' StreamingSessionBackup (Prelude.Maybe Prelude.Text)
streamingSessionBackup_ownedBy :: Lens' StreamingSessionBackup (Maybe Text)
streamingSessionBackup_ownedBy = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StreamingSessionBackup' {Maybe Text
ownedBy :: Maybe Text
$sel:ownedBy:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe Text
ownedBy} -> Maybe Text
ownedBy) (\s :: StreamingSessionBackup
s@StreamingSessionBackup' {} Maybe Text
a -> StreamingSessionBackup
s {$sel:ownedBy:StreamingSessionBackup' :: Maybe Text
ownedBy = Maybe Text
a} :: StreamingSessionBackup)

-- | The streaming session ID for the @StreamingSessionBackup@.
streamingSessionBackup_sessionId :: Lens.Lens' StreamingSessionBackup (Prelude.Maybe Prelude.Text)
streamingSessionBackup_sessionId :: Lens' StreamingSessionBackup (Maybe Text)
streamingSessionBackup_sessionId = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StreamingSessionBackup' {Maybe Text
sessionId :: Maybe Text
$sel:sessionId:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe Text
sessionId} -> Maybe Text
sessionId) (\s :: StreamingSessionBackup
s@StreamingSessionBackup' {} Maybe Text
a -> StreamingSessionBackup
s {$sel:sessionId:StreamingSessionBackup' :: Maybe Text
sessionId = Maybe Text
a} :: StreamingSessionBackup)

-- | Undocumented member.
streamingSessionBackup_state :: Lens.Lens' StreamingSessionBackup (Prelude.Maybe StreamingSessionState)
streamingSessionBackup_state :: Lens' StreamingSessionBackup (Maybe StreamingSessionState)
streamingSessionBackup_state = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StreamingSessionBackup' {Maybe StreamingSessionState
state :: Maybe StreamingSessionState
$sel:state:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe StreamingSessionState
state} -> Maybe StreamingSessionState
state) (\s :: StreamingSessionBackup
s@StreamingSessionBackup' {} Maybe StreamingSessionState
a -> StreamingSessionBackup
s {$sel:state:StreamingSessionBackup' :: Maybe StreamingSessionState
state = Maybe StreamingSessionState
a} :: StreamingSessionBackup)

-- | The status code.
streamingSessionBackup_statusCode :: Lens.Lens' StreamingSessionBackup (Prelude.Maybe StreamingSessionStatusCode)
streamingSessionBackup_statusCode :: Lens' StreamingSessionBackup (Maybe StreamingSessionStatusCode)
streamingSessionBackup_statusCode = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StreamingSessionBackup' {Maybe StreamingSessionStatusCode
statusCode :: Maybe StreamingSessionStatusCode
$sel:statusCode:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe StreamingSessionStatusCode
statusCode} -> Maybe StreamingSessionStatusCode
statusCode) (\s :: StreamingSessionBackup
s@StreamingSessionBackup' {} Maybe StreamingSessionStatusCode
a -> StreamingSessionBackup
s {$sel:statusCode:StreamingSessionBackup' :: Maybe StreamingSessionStatusCode
statusCode = Maybe StreamingSessionStatusCode
a} :: StreamingSessionBackup)

-- | The status message for the streaming session backup.
streamingSessionBackup_statusMessage :: Lens.Lens' StreamingSessionBackup (Prelude.Maybe Prelude.Text)
streamingSessionBackup_statusMessage :: Lens' StreamingSessionBackup (Maybe Text)
streamingSessionBackup_statusMessage = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StreamingSessionBackup' {Maybe Text
statusMessage :: Maybe Text
$sel:statusMessage:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe Text
statusMessage} -> Maybe Text
statusMessage) (\s :: StreamingSessionBackup
s@StreamingSessionBackup' {} Maybe Text
a -> StreamingSessionBackup
s {$sel:statusMessage:StreamingSessionBackup' :: Maybe Text
statusMessage = Maybe Text
a} :: StreamingSessionBackup)

-- | A collection of labels, in the form of key-value pairs, that apply to
-- this resource.
streamingSessionBackup_tags :: Lens.Lens' StreamingSessionBackup (Prelude.Maybe (Prelude.HashMap Prelude.Text Prelude.Text))
streamingSessionBackup_tags :: Lens' StreamingSessionBackup (Maybe (HashMap Text Text))
streamingSessionBackup_tags = forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\StreamingSessionBackup' {Maybe (HashMap Text Text)
tags :: Maybe (HashMap Text Text)
$sel:tags:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe (HashMap Text Text)
tags} -> Maybe (HashMap Text Text)
tags) (\s :: StreamingSessionBackup
s@StreamingSessionBackup' {} Maybe (HashMap Text Text)
a -> StreamingSessionBackup
s {$sel:tags:StreamingSessionBackup' :: Maybe (HashMap Text Text)
tags = Maybe (HashMap Text Text)
a} :: StreamingSessionBackup) 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 s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

instance Data.FromJSON StreamingSessionBackup where
  parseJSON :: Value -> Parser StreamingSessionBackup
parseJSON =
    forall a. String -> (Object -> Parser a) -> Value -> Parser a
Data.withObject
      String
"StreamingSessionBackup"
      ( \Object
x ->
          Maybe Text
-> Maybe Text
-> Maybe ISO8601
-> Maybe Text
-> Maybe Text
-> Maybe Text
-> Maybe StreamingSessionState
-> Maybe StreamingSessionStatusCode
-> Maybe Text
-> Maybe (HashMap Text Text)
-> StreamingSessionBackup
StreamingSessionBackup'
            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
"arn")
            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
"backupId")
            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
"createdAt")
            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
"launchProfileId")
            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
"ownedBy")
            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
"sessionId")
            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
"state")
            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
"statusCode")
            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
"statusMessage")
            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
"tags" forall a. Parser (Maybe a) -> a -> Parser a
Data..!= forall a. Monoid a => a
Prelude.mempty)
      )

instance Prelude.Hashable StreamingSessionBackup where
  hashWithSalt :: Int -> StreamingSessionBackup -> Int
hashWithSalt Int
_salt StreamingSessionBackup' {Maybe Text
Maybe (HashMap Text Text)
Maybe ISO8601
Maybe StreamingSessionState
Maybe StreamingSessionStatusCode
tags :: Maybe (HashMap Text Text)
statusMessage :: Maybe Text
statusCode :: Maybe StreamingSessionStatusCode
state :: Maybe StreamingSessionState
sessionId :: Maybe Text
ownedBy :: Maybe Text
launchProfileId :: Maybe Text
createdAt :: Maybe ISO8601
backupId :: Maybe Text
arn :: Maybe Text
$sel:tags:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe (HashMap Text Text)
$sel:statusMessage:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe Text
$sel:statusCode:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe StreamingSessionStatusCode
$sel:state:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe StreamingSessionState
$sel:sessionId:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe Text
$sel:ownedBy:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe Text
$sel:launchProfileId:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe Text
$sel:createdAt:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe ISO8601
$sel:backupId:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe Text
$sel:arn:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe Text
..} =
    Int
_salt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
arn
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
backupId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe ISO8601
createdAt
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
launchProfileId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
ownedBy
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
sessionId
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe StreamingSessionState
state
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe StreamingSessionStatusCode
statusCode
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe Text
statusMessage
      forall a. Hashable a => Int -> a -> Int
`Prelude.hashWithSalt` Maybe (HashMap Text Text)
tags

instance Prelude.NFData StreamingSessionBackup where
  rnf :: StreamingSessionBackup -> ()
rnf StreamingSessionBackup' {Maybe Text
Maybe (HashMap Text Text)
Maybe ISO8601
Maybe StreamingSessionState
Maybe StreamingSessionStatusCode
tags :: Maybe (HashMap Text Text)
statusMessage :: Maybe Text
statusCode :: Maybe StreamingSessionStatusCode
state :: Maybe StreamingSessionState
sessionId :: Maybe Text
ownedBy :: Maybe Text
launchProfileId :: Maybe Text
createdAt :: Maybe ISO8601
backupId :: Maybe Text
arn :: Maybe Text
$sel:tags:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe (HashMap Text Text)
$sel:statusMessage:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe Text
$sel:statusCode:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe StreamingSessionStatusCode
$sel:state:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe StreamingSessionState
$sel:sessionId:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe Text
$sel:ownedBy:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe Text
$sel:launchProfileId:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe Text
$sel:createdAt:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe ISO8601
$sel:backupId:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe Text
$sel:arn:StreamingSessionBackup' :: StreamingSessionBackup -> Maybe Text
..} =
    forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
arn
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
backupId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe ISO8601
createdAt
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
launchProfileId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
ownedBy
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
sessionId
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe StreamingSessionState
state
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe StreamingSessionStatusCode
statusCode
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe Text
statusMessage
      seq :: forall a b. a -> b -> b
`Prelude.seq` forall a. NFData a => a -> ()
Prelude.rnf Maybe (HashMap Text Text)
tags