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

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

-- |
-- Module      : Amazonka.AppStream.UpdateStack
-- Copyright   : (c) 2013-2021 Brendan Hay
-- License     : Mozilla Public License, v. 2.0.
-- Maintainer  : Brendan Hay <brendan.g.hay+amazonka@gmail.com>
-- Stability   : auto-generated
-- Portability : non-portable (GHC extensions)
--
-- Updates the specified fields for the specified stack.
module Amazonka.AppStream.UpdateStack
  ( -- * Creating a Request
    UpdateStack (..),
    newUpdateStack,

    -- * Request Lenses
    updateStack_userSettings,
    updateStack_applicationSettings,
    updateStack_feedbackURL,
    updateStack_attributesToDelete,
    updateStack_deleteStorageConnectors,
    updateStack_storageConnectors,
    updateStack_accessEndpoints,
    updateStack_displayName,
    updateStack_embedHostDomains,
    updateStack_description,
    updateStack_redirectURL,
    updateStack_name,

    -- * Destructuring the Response
    UpdateStackResponse (..),
    newUpdateStackResponse,

    -- * Response Lenses
    updateStackResponse_stack,
    updateStackResponse_httpStatus,
  )
where

import Amazonka.AppStream.Types
import qualified Amazonka.Core as Core
import qualified Amazonka.Lens as Lens
import qualified Amazonka.Prelude as Prelude
import qualified Amazonka.Request as Request
import qualified Amazonka.Response as Response

-- | /See:/ 'newUpdateStack' smart constructor.
data UpdateStack = UpdateStack'
  { -- | The actions that are enabled or disabled for users during their
    -- streaming sessions. By default, these actions are enabled.
    UpdateStack -> Maybe (NonEmpty UserSetting)
userSettings :: Prelude.Maybe (Prelude.NonEmpty UserSetting),
    -- | The persistent application settings for users of a stack. When these
    -- settings are enabled, changes that users make to applications and
    -- Windows settings are automatically saved after each session and applied
    -- to the next session.
    UpdateStack -> Maybe ApplicationSettings
applicationSettings :: Prelude.Maybe ApplicationSettings,
    -- | The URL that users are redirected to after they choose the Send Feedback
    -- link. If no URL is specified, no Send Feedback link is displayed.
    UpdateStack -> Maybe Text
feedbackURL :: Prelude.Maybe Prelude.Text,
    -- | The stack attributes to delete.
    UpdateStack -> Maybe [StackAttribute]
attributesToDelete :: Prelude.Maybe [StackAttribute],
    -- | Deletes the storage connectors currently enabled for the stack.
    UpdateStack -> Maybe Bool
deleteStorageConnectors :: Prelude.Maybe Prelude.Bool,
    -- | The storage connectors to enable.
    UpdateStack -> Maybe [StorageConnector]
storageConnectors :: Prelude.Maybe [StorageConnector],
    -- | The list of interface VPC endpoint (interface endpoint) objects. Users
    -- of the stack can connect to AppStream 2.0 only through the specified
    -- endpoints.
    UpdateStack -> Maybe (NonEmpty AccessEndpoint)
accessEndpoints :: Prelude.Maybe (Prelude.NonEmpty AccessEndpoint),
    -- | The stack name to display.
    UpdateStack -> Maybe Text
displayName :: Prelude.Maybe Prelude.Text,
    -- | The domains where AppStream 2.0 streaming sessions can be embedded in an
    -- iframe. You must approve the domains that you want to host embedded
    -- AppStream 2.0 streaming sessions.
    UpdateStack -> Maybe (NonEmpty Text)
embedHostDomains :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),
    -- | The description to display.
    UpdateStack -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
    -- | The URL that users are redirected to after their streaming session ends.
    UpdateStack -> Maybe Text
redirectURL :: Prelude.Maybe Prelude.Text,
    -- | The name of the stack.
    UpdateStack -> Text
name :: Prelude.Text
  }
  deriving (UpdateStack -> UpdateStack -> Bool
(UpdateStack -> UpdateStack -> Bool)
-> (UpdateStack -> UpdateStack -> Bool) -> Eq UpdateStack
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateStack -> UpdateStack -> Bool
$c/= :: UpdateStack -> UpdateStack -> Bool
== :: UpdateStack -> UpdateStack -> Bool
$c== :: UpdateStack -> UpdateStack -> Bool
Prelude.Eq, ReadPrec [UpdateStack]
ReadPrec UpdateStack
Int -> ReadS UpdateStack
ReadS [UpdateStack]
(Int -> ReadS UpdateStack)
-> ReadS [UpdateStack]
-> ReadPrec UpdateStack
-> ReadPrec [UpdateStack]
-> Read UpdateStack
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateStack]
$creadListPrec :: ReadPrec [UpdateStack]
readPrec :: ReadPrec UpdateStack
$creadPrec :: ReadPrec UpdateStack
readList :: ReadS [UpdateStack]
$creadList :: ReadS [UpdateStack]
readsPrec :: Int -> ReadS UpdateStack
$creadsPrec :: Int -> ReadS UpdateStack
Prelude.Read, Int -> UpdateStack -> ShowS
[UpdateStack] -> ShowS
UpdateStack -> String
(Int -> UpdateStack -> ShowS)
-> (UpdateStack -> String)
-> ([UpdateStack] -> ShowS)
-> Show UpdateStack
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateStack] -> ShowS
$cshowList :: [UpdateStack] -> ShowS
show :: UpdateStack -> String
$cshow :: UpdateStack -> String
showsPrec :: Int -> UpdateStack -> ShowS
$cshowsPrec :: Int -> UpdateStack -> ShowS
Prelude.Show, (forall x. UpdateStack -> Rep UpdateStack x)
-> (forall x. Rep UpdateStack x -> UpdateStack)
-> Generic UpdateStack
forall x. Rep UpdateStack x -> UpdateStack
forall x. UpdateStack -> Rep UpdateStack x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UpdateStack x -> UpdateStack
$cfrom :: forall x. UpdateStack -> Rep UpdateStack x
Prelude.Generic)

-- |
-- Create a value of 'UpdateStack' 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:
--
-- 'userSettings', 'updateStack_userSettings' - The actions that are enabled or disabled for users during their
-- streaming sessions. By default, these actions are enabled.
--
-- 'applicationSettings', 'updateStack_applicationSettings' - The persistent application settings for users of a stack. When these
-- settings are enabled, changes that users make to applications and
-- Windows settings are automatically saved after each session and applied
-- to the next session.
--
-- 'feedbackURL', 'updateStack_feedbackURL' - The URL that users are redirected to after they choose the Send Feedback
-- link. If no URL is specified, no Send Feedback link is displayed.
--
-- 'attributesToDelete', 'updateStack_attributesToDelete' - The stack attributes to delete.
--
-- 'deleteStorageConnectors', 'updateStack_deleteStorageConnectors' - Deletes the storage connectors currently enabled for the stack.
--
-- 'storageConnectors', 'updateStack_storageConnectors' - The storage connectors to enable.
--
-- 'accessEndpoints', 'updateStack_accessEndpoints' - The list of interface VPC endpoint (interface endpoint) objects. Users
-- of the stack can connect to AppStream 2.0 only through the specified
-- endpoints.
--
-- 'displayName', 'updateStack_displayName' - The stack name to display.
--
-- 'embedHostDomains', 'updateStack_embedHostDomains' - The domains where AppStream 2.0 streaming sessions can be embedded in an
-- iframe. You must approve the domains that you want to host embedded
-- AppStream 2.0 streaming sessions.
--
-- 'description', 'updateStack_description' - The description to display.
--
-- 'redirectURL', 'updateStack_redirectURL' - The URL that users are redirected to after their streaming session ends.
--
-- 'name', 'updateStack_name' - The name of the stack.
newUpdateStack ::
  -- | 'name'
  Prelude.Text ->
  UpdateStack
newUpdateStack :: Text -> UpdateStack
newUpdateStack Text
pName_ =
  UpdateStack' :: Maybe (NonEmpty UserSetting)
-> Maybe ApplicationSettings
-> Maybe Text
-> Maybe [StackAttribute]
-> Maybe Bool
-> Maybe [StorageConnector]
-> Maybe (NonEmpty AccessEndpoint)
-> Maybe Text
-> Maybe (NonEmpty Text)
-> Maybe Text
-> Maybe Text
-> Text
-> UpdateStack
UpdateStack'
    { $sel:userSettings:UpdateStack' :: Maybe (NonEmpty UserSetting)
userSettings = Maybe (NonEmpty UserSetting)
forall a. Maybe a
Prelude.Nothing,
      $sel:applicationSettings:UpdateStack' :: Maybe ApplicationSettings
applicationSettings = Maybe ApplicationSettings
forall a. Maybe a
Prelude.Nothing,
      $sel:feedbackURL:UpdateStack' :: Maybe Text
feedbackURL = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:attributesToDelete:UpdateStack' :: Maybe [StackAttribute]
attributesToDelete = Maybe [StackAttribute]
forall a. Maybe a
Prelude.Nothing,
      $sel:deleteStorageConnectors:UpdateStack' :: Maybe Bool
deleteStorageConnectors = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:storageConnectors:UpdateStack' :: Maybe [StorageConnector]
storageConnectors = Maybe [StorageConnector]
forall a. Maybe a
Prelude.Nothing,
      $sel:accessEndpoints:UpdateStack' :: Maybe (NonEmpty AccessEndpoint)
accessEndpoints = Maybe (NonEmpty AccessEndpoint)
forall a. Maybe a
Prelude.Nothing,
      $sel:displayName:UpdateStack' :: Maybe Text
displayName = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:embedHostDomains:UpdateStack' :: Maybe (NonEmpty Text)
embedHostDomains = Maybe (NonEmpty Text)
forall a. Maybe a
Prelude.Nothing,
      $sel:description:UpdateStack' :: Maybe Text
description = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:redirectURL:UpdateStack' :: Maybe Text
redirectURL = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:name:UpdateStack' :: Text
name = Text
pName_
    }

-- | The actions that are enabled or disabled for users during their
-- streaming sessions. By default, these actions are enabled.
updateStack_userSettings :: Lens.Lens' UpdateStack (Prelude.Maybe (Prelude.NonEmpty UserSetting))
updateStack_userSettings :: (Maybe (NonEmpty UserSetting) -> f (Maybe (NonEmpty UserSetting)))
-> UpdateStack -> f UpdateStack
updateStack_userSettings = (UpdateStack -> Maybe (NonEmpty UserSetting))
-> (UpdateStack -> Maybe (NonEmpty UserSetting) -> UpdateStack)
-> Lens
     UpdateStack
     UpdateStack
     (Maybe (NonEmpty UserSetting))
     (Maybe (NonEmpty UserSetting))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateStack' {Maybe (NonEmpty UserSetting)
userSettings :: Maybe (NonEmpty UserSetting)
$sel:userSettings:UpdateStack' :: UpdateStack -> Maybe (NonEmpty UserSetting)
userSettings} -> Maybe (NonEmpty UserSetting)
userSettings) (\s :: UpdateStack
s@UpdateStack' {} Maybe (NonEmpty UserSetting)
a -> UpdateStack
s {$sel:userSettings:UpdateStack' :: Maybe (NonEmpty UserSetting)
userSettings = Maybe (NonEmpty UserSetting)
a} :: UpdateStack) ((Maybe (NonEmpty UserSetting) -> f (Maybe (NonEmpty UserSetting)))
 -> UpdateStack -> f UpdateStack)
-> ((Maybe (NonEmpty UserSetting)
     -> f (Maybe (NonEmpty UserSetting)))
    -> Maybe (NonEmpty UserSetting)
    -> f (Maybe (NonEmpty UserSetting)))
-> (Maybe (NonEmpty UserSetting)
    -> f (Maybe (NonEmpty UserSetting)))
-> UpdateStack
-> f UpdateStack
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  (NonEmpty UserSetting)
  (NonEmpty UserSetting)
  (NonEmpty UserSetting)
  (NonEmpty UserSetting)
-> Iso
     (Maybe (NonEmpty UserSetting))
     (Maybe (NonEmpty UserSetting))
     (Maybe (NonEmpty UserSetting))
     (Maybe (NonEmpty UserSetting))
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 AnIso
  (NonEmpty UserSetting)
  (NonEmpty UserSetting)
  (NonEmpty UserSetting)
  (NonEmpty UserSetting)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The persistent application settings for users of a stack. When these
-- settings are enabled, changes that users make to applications and
-- Windows settings are automatically saved after each session and applied
-- to the next session.
updateStack_applicationSettings :: Lens.Lens' UpdateStack (Prelude.Maybe ApplicationSettings)
updateStack_applicationSettings :: (Maybe ApplicationSettings -> f (Maybe ApplicationSettings))
-> UpdateStack -> f UpdateStack
updateStack_applicationSettings = (UpdateStack -> Maybe ApplicationSettings)
-> (UpdateStack -> Maybe ApplicationSettings -> UpdateStack)
-> Lens
     UpdateStack
     UpdateStack
     (Maybe ApplicationSettings)
     (Maybe ApplicationSettings)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateStack' {Maybe ApplicationSettings
applicationSettings :: Maybe ApplicationSettings
$sel:applicationSettings:UpdateStack' :: UpdateStack -> Maybe ApplicationSettings
applicationSettings} -> Maybe ApplicationSettings
applicationSettings) (\s :: UpdateStack
s@UpdateStack' {} Maybe ApplicationSettings
a -> UpdateStack
s {$sel:applicationSettings:UpdateStack' :: Maybe ApplicationSettings
applicationSettings = Maybe ApplicationSettings
a} :: UpdateStack)

-- | The URL that users are redirected to after they choose the Send Feedback
-- link. If no URL is specified, no Send Feedback link is displayed.
updateStack_feedbackURL :: Lens.Lens' UpdateStack (Prelude.Maybe Prelude.Text)
updateStack_feedbackURL :: (Maybe Text -> f (Maybe Text)) -> UpdateStack -> f UpdateStack
updateStack_feedbackURL = (UpdateStack -> Maybe Text)
-> (UpdateStack -> Maybe Text -> UpdateStack)
-> Lens UpdateStack UpdateStack (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateStack' {Maybe Text
feedbackURL :: Maybe Text
$sel:feedbackURL:UpdateStack' :: UpdateStack -> Maybe Text
feedbackURL} -> Maybe Text
feedbackURL) (\s :: UpdateStack
s@UpdateStack' {} Maybe Text
a -> UpdateStack
s {$sel:feedbackURL:UpdateStack' :: Maybe Text
feedbackURL = Maybe Text
a} :: UpdateStack)

-- | The stack attributes to delete.
updateStack_attributesToDelete :: Lens.Lens' UpdateStack (Prelude.Maybe [StackAttribute])
updateStack_attributesToDelete :: (Maybe [StackAttribute] -> f (Maybe [StackAttribute]))
-> UpdateStack -> f UpdateStack
updateStack_attributesToDelete = (UpdateStack -> Maybe [StackAttribute])
-> (UpdateStack -> Maybe [StackAttribute] -> UpdateStack)
-> Lens
     UpdateStack
     UpdateStack
     (Maybe [StackAttribute])
     (Maybe [StackAttribute])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateStack' {Maybe [StackAttribute]
attributesToDelete :: Maybe [StackAttribute]
$sel:attributesToDelete:UpdateStack' :: UpdateStack -> Maybe [StackAttribute]
attributesToDelete} -> Maybe [StackAttribute]
attributesToDelete) (\s :: UpdateStack
s@UpdateStack' {} Maybe [StackAttribute]
a -> UpdateStack
s {$sel:attributesToDelete:UpdateStack' :: Maybe [StackAttribute]
attributesToDelete = Maybe [StackAttribute]
a} :: UpdateStack) ((Maybe [StackAttribute] -> f (Maybe [StackAttribute]))
 -> UpdateStack -> f UpdateStack)
-> ((Maybe [StackAttribute] -> f (Maybe [StackAttribute]))
    -> Maybe [StackAttribute] -> f (Maybe [StackAttribute]))
-> (Maybe [StackAttribute] -> f (Maybe [StackAttribute]))
-> UpdateStack
-> f UpdateStack
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [StackAttribute] [StackAttribute] [StackAttribute] [StackAttribute]
-> Iso
     (Maybe [StackAttribute])
     (Maybe [StackAttribute])
     (Maybe [StackAttribute])
     (Maybe [StackAttribute])
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 AnIso
  [StackAttribute] [StackAttribute] [StackAttribute] [StackAttribute]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | Deletes the storage connectors currently enabled for the stack.
updateStack_deleteStorageConnectors :: Lens.Lens' UpdateStack (Prelude.Maybe Prelude.Bool)
updateStack_deleteStorageConnectors :: (Maybe Bool -> f (Maybe Bool)) -> UpdateStack -> f UpdateStack
updateStack_deleteStorageConnectors = (UpdateStack -> Maybe Bool)
-> (UpdateStack -> Maybe Bool -> UpdateStack)
-> Lens UpdateStack UpdateStack (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateStack' {Maybe Bool
deleteStorageConnectors :: Maybe Bool
$sel:deleteStorageConnectors:UpdateStack' :: UpdateStack -> Maybe Bool
deleteStorageConnectors} -> Maybe Bool
deleteStorageConnectors) (\s :: UpdateStack
s@UpdateStack' {} Maybe Bool
a -> UpdateStack
s {$sel:deleteStorageConnectors:UpdateStack' :: Maybe Bool
deleteStorageConnectors = Maybe Bool
a} :: UpdateStack)

-- | The storage connectors to enable.
updateStack_storageConnectors :: Lens.Lens' UpdateStack (Prelude.Maybe [StorageConnector])
updateStack_storageConnectors :: (Maybe [StorageConnector] -> f (Maybe [StorageConnector]))
-> UpdateStack -> f UpdateStack
updateStack_storageConnectors = (UpdateStack -> Maybe [StorageConnector])
-> (UpdateStack -> Maybe [StorageConnector] -> UpdateStack)
-> Lens
     UpdateStack
     UpdateStack
     (Maybe [StorageConnector])
     (Maybe [StorageConnector])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateStack' {Maybe [StorageConnector]
storageConnectors :: Maybe [StorageConnector]
$sel:storageConnectors:UpdateStack' :: UpdateStack -> Maybe [StorageConnector]
storageConnectors} -> Maybe [StorageConnector]
storageConnectors) (\s :: UpdateStack
s@UpdateStack' {} Maybe [StorageConnector]
a -> UpdateStack
s {$sel:storageConnectors:UpdateStack' :: Maybe [StorageConnector]
storageConnectors = Maybe [StorageConnector]
a} :: UpdateStack) ((Maybe [StorageConnector] -> f (Maybe [StorageConnector]))
 -> UpdateStack -> f UpdateStack)
-> ((Maybe [StorageConnector] -> f (Maybe [StorageConnector]))
    -> Maybe [StorageConnector] -> f (Maybe [StorageConnector]))
-> (Maybe [StorageConnector] -> f (Maybe [StorageConnector]))
-> UpdateStack
-> f UpdateStack
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [StorageConnector]
  [StorageConnector]
  [StorageConnector]
  [StorageConnector]
-> Iso
     (Maybe [StorageConnector])
     (Maybe [StorageConnector])
     (Maybe [StorageConnector])
     (Maybe [StorageConnector])
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 AnIso
  [StorageConnector]
  [StorageConnector]
  [StorageConnector]
  [StorageConnector]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The list of interface VPC endpoint (interface endpoint) objects. Users
-- of the stack can connect to AppStream 2.0 only through the specified
-- endpoints.
updateStack_accessEndpoints :: Lens.Lens' UpdateStack (Prelude.Maybe (Prelude.NonEmpty AccessEndpoint))
updateStack_accessEndpoints :: (Maybe (NonEmpty AccessEndpoint)
 -> f (Maybe (NonEmpty AccessEndpoint)))
-> UpdateStack -> f UpdateStack
updateStack_accessEndpoints = (UpdateStack -> Maybe (NonEmpty AccessEndpoint))
-> (UpdateStack -> Maybe (NonEmpty AccessEndpoint) -> UpdateStack)
-> Lens
     UpdateStack
     UpdateStack
     (Maybe (NonEmpty AccessEndpoint))
     (Maybe (NonEmpty AccessEndpoint))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateStack' {Maybe (NonEmpty AccessEndpoint)
accessEndpoints :: Maybe (NonEmpty AccessEndpoint)
$sel:accessEndpoints:UpdateStack' :: UpdateStack -> Maybe (NonEmpty AccessEndpoint)
accessEndpoints} -> Maybe (NonEmpty AccessEndpoint)
accessEndpoints) (\s :: UpdateStack
s@UpdateStack' {} Maybe (NonEmpty AccessEndpoint)
a -> UpdateStack
s {$sel:accessEndpoints:UpdateStack' :: Maybe (NonEmpty AccessEndpoint)
accessEndpoints = Maybe (NonEmpty AccessEndpoint)
a} :: UpdateStack) ((Maybe (NonEmpty AccessEndpoint)
  -> f (Maybe (NonEmpty AccessEndpoint)))
 -> UpdateStack -> f UpdateStack)
-> ((Maybe (NonEmpty AccessEndpoint)
     -> f (Maybe (NonEmpty AccessEndpoint)))
    -> Maybe (NonEmpty AccessEndpoint)
    -> f (Maybe (NonEmpty AccessEndpoint)))
-> (Maybe (NonEmpty AccessEndpoint)
    -> f (Maybe (NonEmpty AccessEndpoint)))
-> UpdateStack
-> f UpdateStack
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  (NonEmpty AccessEndpoint)
  (NonEmpty AccessEndpoint)
  (NonEmpty AccessEndpoint)
  (NonEmpty AccessEndpoint)
-> Iso
     (Maybe (NonEmpty AccessEndpoint))
     (Maybe (NonEmpty AccessEndpoint))
     (Maybe (NonEmpty AccessEndpoint))
     (Maybe (NonEmpty AccessEndpoint))
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 AnIso
  (NonEmpty AccessEndpoint)
  (NonEmpty AccessEndpoint)
  (NonEmpty AccessEndpoint)
  (NonEmpty AccessEndpoint)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The stack name to display.
updateStack_displayName :: Lens.Lens' UpdateStack (Prelude.Maybe Prelude.Text)
updateStack_displayName :: (Maybe Text -> f (Maybe Text)) -> UpdateStack -> f UpdateStack
updateStack_displayName = (UpdateStack -> Maybe Text)
-> (UpdateStack -> Maybe Text -> UpdateStack)
-> Lens UpdateStack UpdateStack (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateStack' {Maybe Text
displayName :: Maybe Text
$sel:displayName:UpdateStack' :: UpdateStack -> Maybe Text
displayName} -> Maybe Text
displayName) (\s :: UpdateStack
s@UpdateStack' {} Maybe Text
a -> UpdateStack
s {$sel:displayName:UpdateStack' :: Maybe Text
displayName = Maybe Text
a} :: UpdateStack)

-- | The domains where AppStream 2.0 streaming sessions can be embedded in an
-- iframe. You must approve the domains that you want to host embedded
-- AppStream 2.0 streaming sessions.
updateStack_embedHostDomains :: Lens.Lens' UpdateStack (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))
updateStack_embedHostDomains :: (Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> UpdateStack -> f UpdateStack
updateStack_embedHostDomains = (UpdateStack -> Maybe (NonEmpty Text))
-> (UpdateStack -> Maybe (NonEmpty Text) -> UpdateStack)
-> Lens
     UpdateStack
     UpdateStack
     (Maybe (NonEmpty Text))
     (Maybe (NonEmpty Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateStack' {Maybe (NonEmpty Text)
embedHostDomains :: Maybe (NonEmpty Text)
$sel:embedHostDomains:UpdateStack' :: UpdateStack -> Maybe (NonEmpty Text)
embedHostDomains} -> Maybe (NonEmpty Text)
embedHostDomains) (\s :: UpdateStack
s@UpdateStack' {} Maybe (NonEmpty Text)
a -> UpdateStack
s {$sel:embedHostDomains:UpdateStack' :: Maybe (NonEmpty Text)
embedHostDomains = Maybe (NonEmpty Text)
a} :: UpdateStack) ((Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
 -> UpdateStack -> f UpdateStack)
-> ((Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
    -> Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> (Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> UpdateStack
-> f UpdateStack
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  (NonEmpty Text) (NonEmpty Text) (NonEmpty Text) (NonEmpty Text)
-> Iso
     (Maybe (NonEmpty Text))
     (Maybe (NonEmpty Text))
     (Maybe (NonEmpty Text))
     (Maybe (NonEmpty Text))
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 AnIso
  (NonEmpty Text) (NonEmpty Text) (NonEmpty Text) (NonEmpty Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

-- | The description to display.
updateStack_description :: Lens.Lens' UpdateStack (Prelude.Maybe Prelude.Text)
updateStack_description :: (Maybe Text -> f (Maybe Text)) -> UpdateStack -> f UpdateStack
updateStack_description = (UpdateStack -> Maybe Text)
-> (UpdateStack -> Maybe Text -> UpdateStack)
-> Lens UpdateStack UpdateStack (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateStack' {Maybe Text
description :: Maybe Text
$sel:description:UpdateStack' :: UpdateStack -> Maybe Text
description} -> Maybe Text
description) (\s :: UpdateStack
s@UpdateStack' {} Maybe Text
a -> UpdateStack
s {$sel:description:UpdateStack' :: Maybe Text
description = Maybe Text
a} :: UpdateStack)

-- | The URL that users are redirected to after their streaming session ends.
updateStack_redirectURL :: Lens.Lens' UpdateStack (Prelude.Maybe Prelude.Text)
updateStack_redirectURL :: (Maybe Text -> f (Maybe Text)) -> UpdateStack -> f UpdateStack
updateStack_redirectURL = (UpdateStack -> Maybe Text)
-> (UpdateStack -> Maybe Text -> UpdateStack)
-> Lens UpdateStack UpdateStack (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateStack' {Maybe Text
redirectURL :: Maybe Text
$sel:redirectURL:UpdateStack' :: UpdateStack -> Maybe Text
redirectURL} -> Maybe Text
redirectURL) (\s :: UpdateStack
s@UpdateStack' {} Maybe Text
a -> UpdateStack
s {$sel:redirectURL:UpdateStack' :: Maybe Text
redirectURL = Maybe Text
a} :: UpdateStack)

-- | The name of the stack.
updateStack_name :: Lens.Lens' UpdateStack Prelude.Text
updateStack_name :: (Text -> f Text) -> UpdateStack -> f UpdateStack
updateStack_name = (UpdateStack -> Text)
-> (UpdateStack -> Text -> UpdateStack)
-> Lens UpdateStack UpdateStack Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateStack' {Text
name :: Text
$sel:name:UpdateStack' :: UpdateStack -> Text
name} -> Text
name) (\s :: UpdateStack
s@UpdateStack' {} Text
a -> UpdateStack
s {$sel:name:UpdateStack' :: Text
name = Text
a} :: UpdateStack)

instance Core.AWSRequest UpdateStack where
  type AWSResponse UpdateStack = UpdateStackResponse
  request :: UpdateStack -> Request UpdateStack
request = Service -> UpdateStack -> Request UpdateStack
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy UpdateStack
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse UpdateStack)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse UpdateStack))
-> Logger
-> Service
-> Proxy UpdateStack
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse UpdateStack)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> Object -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveJSON
      ( \Int
s ResponseHeaders
h Object
x ->
          Maybe Stack -> Int -> UpdateStackResponse
UpdateStackResponse'
            (Maybe Stack -> Int -> UpdateStackResponse)
-> Either String (Maybe Stack)
-> Either String (Int -> UpdateStackResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Stack)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"Stack")
            Either String (Int -> UpdateStackResponse)
-> Either String Int -> Either String UpdateStackResponse
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Int -> Either String Int
forall (f :: * -> *) a. Applicative f => a -> f a
Prelude.pure (Int -> Int
forall a. Enum a => a -> Int
Prelude.fromEnum Int
s))
      )

instance Prelude.Hashable UpdateStack

instance Prelude.NFData UpdateStack

instance Core.ToHeaders UpdateStack where
  toHeaders :: UpdateStack -> ResponseHeaders
toHeaders =
    ResponseHeaders -> UpdateStack -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
      ( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
          [ HeaderName
"X-Amz-Target"
              HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"PhotonAdminProxyService.UpdateStack" ::
                          Prelude.ByteString
                      ),
            HeaderName
"Content-Type"
              HeaderName -> ByteString -> ResponseHeaders
forall a. ToHeader a => HeaderName -> a -> ResponseHeaders
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
                          Prelude.ByteString
                      )
          ]
      )

instance Core.ToJSON UpdateStack where
  toJSON :: UpdateStack -> Value
toJSON UpdateStack' {Maybe Bool
Maybe [StackAttribute]
Maybe [StorageConnector]
Maybe (NonEmpty Text)
Maybe (NonEmpty AccessEndpoint)
Maybe (NonEmpty UserSetting)
Maybe Text
Maybe ApplicationSettings
Text
name :: Text
redirectURL :: Maybe Text
description :: Maybe Text
embedHostDomains :: Maybe (NonEmpty Text)
displayName :: Maybe Text
accessEndpoints :: Maybe (NonEmpty AccessEndpoint)
storageConnectors :: Maybe [StorageConnector]
deleteStorageConnectors :: Maybe Bool
attributesToDelete :: Maybe [StackAttribute]
feedbackURL :: Maybe Text
applicationSettings :: Maybe ApplicationSettings
userSettings :: Maybe (NonEmpty UserSetting)
$sel:name:UpdateStack' :: UpdateStack -> Text
$sel:redirectURL:UpdateStack' :: UpdateStack -> Maybe Text
$sel:description:UpdateStack' :: UpdateStack -> Maybe Text
$sel:embedHostDomains:UpdateStack' :: UpdateStack -> Maybe (NonEmpty Text)
$sel:displayName:UpdateStack' :: UpdateStack -> Maybe Text
$sel:accessEndpoints:UpdateStack' :: UpdateStack -> Maybe (NonEmpty AccessEndpoint)
$sel:storageConnectors:UpdateStack' :: UpdateStack -> Maybe [StorageConnector]
$sel:deleteStorageConnectors:UpdateStack' :: UpdateStack -> Maybe Bool
$sel:attributesToDelete:UpdateStack' :: UpdateStack -> Maybe [StackAttribute]
$sel:feedbackURL:UpdateStack' :: UpdateStack -> Maybe Text
$sel:applicationSettings:UpdateStack' :: UpdateStack -> Maybe ApplicationSettings
$sel:userSettings:UpdateStack' :: UpdateStack -> Maybe (NonEmpty UserSetting)
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Text
"UserSettings" Text -> NonEmpty UserSetting -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (NonEmpty UserSetting -> Pair)
-> Maybe (NonEmpty UserSetting) -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (NonEmpty UserSetting)
userSettings,
            (Text
"ApplicationSettings" Text -> ApplicationSettings -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
              (ApplicationSettings -> Pair)
-> Maybe ApplicationSettings -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe ApplicationSettings
applicationSettings,
            (Text
"FeedbackURL" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
feedbackURL,
            (Text
"AttributesToDelete" Text -> [StackAttribute] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
              ([StackAttribute] -> Pair) -> Maybe [StackAttribute] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [StackAttribute]
attributesToDelete,
            (Text
"DeleteStorageConnectors" Text -> Bool -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
              (Bool -> Pair) -> Maybe Bool -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Bool
deleteStorageConnectors,
            (Text
"StorageConnectors" Text -> [StorageConnector] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
              ([StorageConnector] -> Pair)
-> Maybe [StorageConnector] -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe [StorageConnector]
storageConnectors,
            (Text
"AccessEndpoints" Text -> NonEmpty AccessEndpoint -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
              (NonEmpty AccessEndpoint -> Pair)
-> Maybe (NonEmpty AccessEndpoint) -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (NonEmpty AccessEndpoint)
accessEndpoints,
            (Text
"DisplayName" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
displayName,
            (Text
"EmbedHostDomains" Text -> NonEmpty Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=)
              (NonEmpty Text -> Pair) -> Maybe (NonEmpty Text) -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe (NonEmpty Text)
embedHostDomains,
            (Text
"Description" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
description,
            (Text
"RedirectURL" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Text -> Pair) -> Maybe Text -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Text
redirectURL,
            Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"Name" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
name)
          ]
      )

instance Core.ToPath UpdateStack where
  toPath :: UpdateStack -> ByteString
toPath = ByteString -> UpdateStack -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"

instance Core.ToQuery UpdateStack where
  toQuery :: UpdateStack -> QueryString
toQuery = QueryString -> UpdateStack -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty

-- | /See:/ 'newUpdateStackResponse' smart constructor.
data UpdateStackResponse = UpdateStackResponse'
  { -- | Information about the stack.
    UpdateStackResponse -> Maybe Stack
stack :: Prelude.Maybe Stack,
    -- | The response's http status code.
    UpdateStackResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (UpdateStackResponse -> UpdateStackResponse -> Bool
(UpdateStackResponse -> UpdateStackResponse -> Bool)
-> (UpdateStackResponse -> UpdateStackResponse -> Bool)
-> Eq UpdateStackResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateStackResponse -> UpdateStackResponse -> Bool
$c/= :: UpdateStackResponse -> UpdateStackResponse -> Bool
== :: UpdateStackResponse -> UpdateStackResponse -> Bool
$c== :: UpdateStackResponse -> UpdateStackResponse -> Bool
Prelude.Eq, ReadPrec [UpdateStackResponse]
ReadPrec UpdateStackResponse
Int -> ReadS UpdateStackResponse
ReadS [UpdateStackResponse]
(Int -> ReadS UpdateStackResponse)
-> ReadS [UpdateStackResponse]
-> ReadPrec UpdateStackResponse
-> ReadPrec [UpdateStackResponse]
-> Read UpdateStackResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateStackResponse]
$creadListPrec :: ReadPrec [UpdateStackResponse]
readPrec :: ReadPrec UpdateStackResponse
$creadPrec :: ReadPrec UpdateStackResponse
readList :: ReadS [UpdateStackResponse]
$creadList :: ReadS [UpdateStackResponse]
readsPrec :: Int -> ReadS UpdateStackResponse
$creadsPrec :: Int -> ReadS UpdateStackResponse
Prelude.Read, Int -> UpdateStackResponse -> ShowS
[UpdateStackResponse] -> ShowS
UpdateStackResponse -> String
(Int -> UpdateStackResponse -> ShowS)
-> (UpdateStackResponse -> String)
-> ([UpdateStackResponse] -> ShowS)
-> Show UpdateStackResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateStackResponse] -> ShowS
$cshowList :: [UpdateStackResponse] -> ShowS
show :: UpdateStackResponse -> String
$cshow :: UpdateStackResponse -> String
showsPrec :: Int -> UpdateStackResponse -> ShowS
$cshowsPrec :: Int -> UpdateStackResponse -> ShowS
Prelude.Show, (forall x. UpdateStackResponse -> Rep UpdateStackResponse x)
-> (forall x. Rep UpdateStackResponse x -> UpdateStackResponse)
-> Generic UpdateStackResponse
forall x. Rep UpdateStackResponse x -> UpdateStackResponse
forall x. UpdateStackResponse -> Rep UpdateStackResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UpdateStackResponse x -> UpdateStackResponse
$cfrom :: forall x. UpdateStackResponse -> Rep UpdateStackResponse x
Prelude.Generic)

-- |
-- Create a value of 'UpdateStackResponse' 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:
--
-- 'stack', 'updateStackResponse_stack' - Information about the stack.
--
-- 'httpStatus', 'updateStackResponse_httpStatus' - The response's http status code.
newUpdateStackResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  UpdateStackResponse
newUpdateStackResponse :: Int -> UpdateStackResponse
newUpdateStackResponse Int
pHttpStatus_ =
  UpdateStackResponse' :: Maybe Stack -> Int -> UpdateStackResponse
UpdateStackResponse'
    { $sel:stack:UpdateStackResponse' :: Maybe Stack
stack = Maybe Stack
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:UpdateStackResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | Information about the stack.
updateStackResponse_stack :: Lens.Lens' UpdateStackResponse (Prelude.Maybe Stack)
updateStackResponse_stack :: (Maybe Stack -> f (Maybe Stack))
-> UpdateStackResponse -> f UpdateStackResponse
updateStackResponse_stack = (UpdateStackResponse -> Maybe Stack)
-> (UpdateStackResponse -> Maybe Stack -> UpdateStackResponse)
-> Lens
     UpdateStackResponse UpdateStackResponse (Maybe Stack) (Maybe Stack)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateStackResponse' {Maybe Stack
stack :: Maybe Stack
$sel:stack:UpdateStackResponse' :: UpdateStackResponse -> Maybe Stack
stack} -> Maybe Stack
stack) (\s :: UpdateStackResponse
s@UpdateStackResponse' {} Maybe Stack
a -> UpdateStackResponse
s {$sel:stack:UpdateStackResponse' :: Maybe Stack
stack = Maybe Stack
a} :: UpdateStackResponse)

-- | The response's http status code.
updateStackResponse_httpStatus :: Lens.Lens' UpdateStackResponse Prelude.Int
updateStackResponse_httpStatus :: (Int -> f Int) -> UpdateStackResponse -> f UpdateStackResponse
updateStackResponse_httpStatus = (UpdateStackResponse -> Int)
-> (UpdateStackResponse -> Int -> UpdateStackResponse)
-> Lens UpdateStackResponse UpdateStackResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateStackResponse' {Int
httpStatus :: Int
$sel:httpStatus:UpdateStackResponse' :: UpdateStackResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: UpdateStackResponse
s@UpdateStackResponse' {} Int
a -> UpdateStackResponse
s {$sel:httpStatus:UpdateStackResponse' :: Int
httpStatus = Int
a} :: UpdateStackResponse)

instance Prelude.NFData UpdateStackResponse