{-# 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.Connect.UpdateInstanceStorageConfig
-- 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)
--
-- This API is in preview release for Amazon Connect and is subject to
-- change.
--
-- Updates an existing configuration for a resource type. This API is
-- idempotent.
module Amazonka.Connect.UpdateInstanceStorageConfig
  ( -- * Creating a Request
    UpdateInstanceStorageConfig (..),
    newUpdateInstanceStorageConfig,

    -- * Request Lenses
    updateInstanceStorageConfig_instanceId,
    updateInstanceStorageConfig_associationId,
    updateInstanceStorageConfig_resourceType,
    updateInstanceStorageConfig_storageConfig,

    -- * Destructuring the Response
    UpdateInstanceStorageConfigResponse (..),
    newUpdateInstanceStorageConfigResponse,
  )
where

import Amazonka.Connect.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:/ 'newUpdateInstanceStorageConfig' smart constructor.
data UpdateInstanceStorageConfig = UpdateInstanceStorageConfig'
  { -- | The identifier of the Amazon Connect instance. You can find the
    -- instanceId in the ARN of the instance.
    UpdateInstanceStorageConfig -> Text
instanceId :: Prelude.Text,
    -- | The existing association identifier that uniquely identifies the
    -- resource type and storage config for the given instance ID.
    UpdateInstanceStorageConfig -> Text
associationId :: Prelude.Text,
    -- | A valid resource type.
    UpdateInstanceStorageConfig -> InstanceStorageResourceType
resourceType :: InstanceStorageResourceType,
    UpdateInstanceStorageConfig -> InstanceStorageConfig
storageConfig :: InstanceStorageConfig
  }
  deriving (UpdateInstanceStorageConfig -> UpdateInstanceStorageConfig -> Bool
(UpdateInstanceStorageConfig
 -> UpdateInstanceStorageConfig -> Bool)
-> (UpdateInstanceStorageConfig
    -> UpdateInstanceStorageConfig -> Bool)
-> Eq UpdateInstanceStorageConfig
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateInstanceStorageConfig -> UpdateInstanceStorageConfig -> Bool
$c/= :: UpdateInstanceStorageConfig -> UpdateInstanceStorageConfig -> Bool
== :: UpdateInstanceStorageConfig -> UpdateInstanceStorageConfig -> Bool
$c== :: UpdateInstanceStorageConfig -> UpdateInstanceStorageConfig -> Bool
Prelude.Eq, ReadPrec [UpdateInstanceStorageConfig]
ReadPrec UpdateInstanceStorageConfig
Int -> ReadS UpdateInstanceStorageConfig
ReadS [UpdateInstanceStorageConfig]
(Int -> ReadS UpdateInstanceStorageConfig)
-> ReadS [UpdateInstanceStorageConfig]
-> ReadPrec UpdateInstanceStorageConfig
-> ReadPrec [UpdateInstanceStorageConfig]
-> Read UpdateInstanceStorageConfig
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateInstanceStorageConfig]
$creadListPrec :: ReadPrec [UpdateInstanceStorageConfig]
readPrec :: ReadPrec UpdateInstanceStorageConfig
$creadPrec :: ReadPrec UpdateInstanceStorageConfig
readList :: ReadS [UpdateInstanceStorageConfig]
$creadList :: ReadS [UpdateInstanceStorageConfig]
readsPrec :: Int -> ReadS UpdateInstanceStorageConfig
$creadsPrec :: Int -> ReadS UpdateInstanceStorageConfig
Prelude.Read, Int -> UpdateInstanceStorageConfig -> ShowS
[UpdateInstanceStorageConfig] -> ShowS
UpdateInstanceStorageConfig -> String
(Int -> UpdateInstanceStorageConfig -> ShowS)
-> (UpdateInstanceStorageConfig -> String)
-> ([UpdateInstanceStorageConfig] -> ShowS)
-> Show UpdateInstanceStorageConfig
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateInstanceStorageConfig] -> ShowS
$cshowList :: [UpdateInstanceStorageConfig] -> ShowS
show :: UpdateInstanceStorageConfig -> String
$cshow :: UpdateInstanceStorageConfig -> String
showsPrec :: Int -> UpdateInstanceStorageConfig -> ShowS
$cshowsPrec :: Int -> UpdateInstanceStorageConfig -> ShowS
Prelude.Show, (forall x.
 UpdateInstanceStorageConfig -> Rep UpdateInstanceStorageConfig x)
-> (forall x.
    Rep UpdateInstanceStorageConfig x -> UpdateInstanceStorageConfig)
-> Generic UpdateInstanceStorageConfig
forall x.
Rep UpdateInstanceStorageConfig x -> UpdateInstanceStorageConfig
forall x.
UpdateInstanceStorageConfig -> Rep UpdateInstanceStorageConfig x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateInstanceStorageConfig x -> UpdateInstanceStorageConfig
$cfrom :: forall x.
UpdateInstanceStorageConfig -> Rep UpdateInstanceStorageConfig x
Prelude.Generic)

-- |
-- Create a value of 'UpdateInstanceStorageConfig' 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:
--
-- 'instanceId', 'updateInstanceStorageConfig_instanceId' - The identifier of the Amazon Connect instance. You can find the
-- instanceId in the ARN of the instance.
--
-- 'associationId', 'updateInstanceStorageConfig_associationId' - The existing association identifier that uniquely identifies the
-- resource type and storage config for the given instance ID.
--
-- 'resourceType', 'updateInstanceStorageConfig_resourceType' - A valid resource type.
--
-- 'storageConfig', 'updateInstanceStorageConfig_storageConfig' - Undocumented member.
newUpdateInstanceStorageConfig ::
  -- | 'instanceId'
  Prelude.Text ->
  -- | 'associationId'
  Prelude.Text ->
  -- | 'resourceType'
  InstanceStorageResourceType ->
  -- | 'storageConfig'
  InstanceStorageConfig ->
  UpdateInstanceStorageConfig
newUpdateInstanceStorageConfig :: Text
-> Text
-> InstanceStorageResourceType
-> InstanceStorageConfig
-> UpdateInstanceStorageConfig
newUpdateInstanceStorageConfig
  Text
pInstanceId_
  Text
pAssociationId_
  InstanceStorageResourceType
pResourceType_
  InstanceStorageConfig
pStorageConfig_ =
    UpdateInstanceStorageConfig' :: Text
-> Text
-> InstanceStorageResourceType
-> InstanceStorageConfig
-> UpdateInstanceStorageConfig
UpdateInstanceStorageConfig'
      { $sel:instanceId:UpdateInstanceStorageConfig' :: Text
instanceId =
          Text
pInstanceId_,
        $sel:associationId:UpdateInstanceStorageConfig' :: Text
associationId = Text
pAssociationId_,
        $sel:resourceType:UpdateInstanceStorageConfig' :: InstanceStorageResourceType
resourceType = InstanceStorageResourceType
pResourceType_,
        $sel:storageConfig:UpdateInstanceStorageConfig' :: InstanceStorageConfig
storageConfig = InstanceStorageConfig
pStorageConfig_
      }

-- | The identifier of the Amazon Connect instance. You can find the
-- instanceId in the ARN of the instance.
updateInstanceStorageConfig_instanceId :: Lens.Lens' UpdateInstanceStorageConfig Prelude.Text
updateInstanceStorageConfig_instanceId :: (Text -> f Text)
-> UpdateInstanceStorageConfig -> f UpdateInstanceStorageConfig
updateInstanceStorageConfig_instanceId = (UpdateInstanceStorageConfig -> Text)
-> (UpdateInstanceStorageConfig
    -> Text -> UpdateInstanceStorageConfig)
-> Lens
     UpdateInstanceStorageConfig UpdateInstanceStorageConfig Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateInstanceStorageConfig' {Text
instanceId :: Text
$sel:instanceId:UpdateInstanceStorageConfig' :: UpdateInstanceStorageConfig -> Text
instanceId} -> Text
instanceId) (\s :: UpdateInstanceStorageConfig
s@UpdateInstanceStorageConfig' {} Text
a -> UpdateInstanceStorageConfig
s {$sel:instanceId:UpdateInstanceStorageConfig' :: Text
instanceId = Text
a} :: UpdateInstanceStorageConfig)

-- | The existing association identifier that uniquely identifies the
-- resource type and storage config for the given instance ID.
updateInstanceStorageConfig_associationId :: Lens.Lens' UpdateInstanceStorageConfig Prelude.Text
updateInstanceStorageConfig_associationId :: (Text -> f Text)
-> UpdateInstanceStorageConfig -> f UpdateInstanceStorageConfig
updateInstanceStorageConfig_associationId = (UpdateInstanceStorageConfig -> Text)
-> (UpdateInstanceStorageConfig
    -> Text -> UpdateInstanceStorageConfig)
-> Lens
     UpdateInstanceStorageConfig UpdateInstanceStorageConfig Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateInstanceStorageConfig' {Text
associationId :: Text
$sel:associationId:UpdateInstanceStorageConfig' :: UpdateInstanceStorageConfig -> Text
associationId} -> Text
associationId) (\s :: UpdateInstanceStorageConfig
s@UpdateInstanceStorageConfig' {} Text
a -> UpdateInstanceStorageConfig
s {$sel:associationId:UpdateInstanceStorageConfig' :: Text
associationId = Text
a} :: UpdateInstanceStorageConfig)

-- | A valid resource type.
updateInstanceStorageConfig_resourceType :: Lens.Lens' UpdateInstanceStorageConfig InstanceStorageResourceType
updateInstanceStorageConfig_resourceType :: (InstanceStorageResourceType -> f InstanceStorageResourceType)
-> UpdateInstanceStorageConfig -> f UpdateInstanceStorageConfig
updateInstanceStorageConfig_resourceType = (UpdateInstanceStorageConfig -> InstanceStorageResourceType)
-> (UpdateInstanceStorageConfig
    -> InstanceStorageResourceType -> UpdateInstanceStorageConfig)
-> Lens
     UpdateInstanceStorageConfig
     UpdateInstanceStorageConfig
     InstanceStorageResourceType
     InstanceStorageResourceType
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateInstanceStorageConfig' {InstanceStorageResourceType
resourceType :: InstanceStorageResourceType
$sel:resourceType:UpdateInstanceStorageConfig' :: UpdateInstanceStorageConfig -> InstanceStorageResourceType
resourceType} -> InstanceStorageResourceType
resourceType) (\s :: UpdateInstanceStorageConfig
s@UpdateInstanceStorageConfig' {} InstanceStorageResourceType
a -> UpdateInstanceStorageConfig
s {$sel:resourceType:UpdateInstanceStorageConfig' :: InstanceStorageResourceType
resourceType = InstanceStorageResourceType
a} :: UpdateInstanceStorageConfig)

-- | Undocumented member.
updateInstanceStorageConfig_storageConfig :: Lens.Lens' UpdateInstanceStorageConfig InstanceStorageConfig
updateInstanceStorageConfig_storageConfig :: (InstanceStorageConfig -> f InstanceStorageConfig)
-> UpdateInstanceStorageConfig -> f UpdateInstanceStorageConfig
updateInstanceStorageConfig_storageConfig = (UpdateInstanceStorageConfig -> InstanceStorageConfig)
-> (UpdateInstanceStorageConfig
    -> InstanceStorageConfig -> UpdateInstanceStorageConfig)
-> Lens
     UpdateInstanceStorageConfig
     UpdateInstanceStorageConfig
     InstanceStorageConfig
     InstanceStorageConfig
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateInstanceStorageConfig' {InstanceStorageConfig
storageConfig :: InstanceStorageConfig
$sel:storageConfig:UpdateInstanceStorageConfig' :: UpdateInstanceStorageConfig -> InstanceStorageConfig
storageConfig} -> InstanceStorageConfig
storageConfig) (\s :: UpdateInstanceStorageConfig
s@UpdateInstanceStorageConfig' {} InstanceStorageConfig
a -> UpdateInstanceStorageConfig
s {$sel:storageConfig:UpdateInstanceStorageConfig' :: InstanceStorageConfig
storageConfig = InstanceStorageConfig
a} :: UpdateInstanceStorageConfig)

instance Core.AWSRequest UpdateInstanceStorageConfig where
  type
    AWSResponse UpdateInstanceStorageConfig =
      UpdateInstanceStorageConfigResponse
  request :: UpdateInstanceStorageConfig -> Request UpdateInstanceStorageConfig
request = Service
-> UpdateInstanceStorageConfig
-> Request UpdateInstanceStorageConfig
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy UpdateInstanceStorageConfig
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse UpdateInstanceStorageConfig)))
response =
    AWSResponse UpdateInstanceStorageConfig
-> Logger
-> Service
-> Proxy UpdateInstanceStorageConfig
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse UpdateInstanceStorageConfig)))
forall (m :: * -> *) a.
MonadResource m =>
AWSResponse a
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveNull
      AWSResponse UpdateInstanceStorageConfig
UpdateInstanceStorageConfigResponse
UpdateInstanceStorageConfigResponse'

instance Prelude.Hashable UpdateInstanceStorageConfig

instance Prelude.NFData UpdateInstanceStorageConfig

instance Core.ToHeaders UpdateInstanceStorageConfig where
  toHeaders :: UpdateInstanceStorageConfig -> [Header]
toHeaders =
    [Header] -> UpdateInstanceStorageConfig -> [Header]
forall a b. a -> b -> a
Prelude.const
      ( [[Header]] -> [Header]
forall a. Monoid a => [a] -> a
Prelude.mconcat
          [ HeaderName
"Content-Type"
              HeaderName -> ByteString -> [Header]
forall a. ToHeader a => HeaderName -> a -> [Header]
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
                          Prelude.ByteString
                      )
          ]
      )

instance Core.ToJSON UpdateInstanceStorageConfig where
  toJSON :: UpdateInstanceStorageConfig -> Value
toJSON UpdateInstanceStorageConfig' {Text
InstanceStorageResourceType
InstanceStorageConfig
storageConfig :: InstanceStorageConfig
resourceType :: InstanceStorageResourceType
associationId :: Text
instanceId :: Text
$sel:storageConfig:UpdateInstanceStorageConfig' :: UpdateInstanceStorageConfig -> InstanceStorageConfig
$sel:resourceType:UpdateInstanceStorageConfig' :: UpdateInstanceStorageConfig -> InstanceStorageResourceType
$sel:associationId:UpdateInstanceStorageConfig' :: UpdateInstanceStorageConfig -> Text
$sel:instanceId:UpdateInstanceStorageConfig' :: UpdateInstanceStorageConfig -> Text
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
              (Text
"StorageConfig" Text -> InstanceStorageConfig -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= InstanceStorageConfig
storageConfig)
          ]
      )

instance Core.ToPath UpdateInstanceStorageConfig where
  toPath :: UpdateInstanceStorageConfig -> ByteString
toPath UpdateInstanceStorageConfig' {Text
InstanceStorageResourceType
InstanceStorageConfig
storageConfig :: InstanceStorageConfig
resourceType :: InstanceStorageResourceType
associationId :: Text
instanceId :: Text
$sel:storageConfig:UpdateInstanceStorageConfig' :: UpdateInstanceStorageConfig -> InstanceStorageConfig
$sel:resourceType:UpdateInstanceStorageConfig' :: UpdateInstanceStorageConfig -> InstanceStorageResourceType
$sel:associationId:UpdateInstanceStorageConfig' :: UpdateInstanceStorageConfig -> Text
$sel:instanceId:UpdateInstanceStorageConfig' :: UpdateInstanceStorageConfig -> Text
..} =
    [ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ ByteString
"/instance/",
        Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
instanceId,
        ByteString
"/storage-config/",
        Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
associationId
      ]

instance Core.ToQuery UpdateInstanceStorageConfig where
  toQuery :: UpdateInstanceStorageConfig -> QueryString
toQuery UpdateInstanceStorageConfig' {Text
InstanceStorageResourceType
InstanceStorageConfig
storageConfig :: InstanceStorageConfig
resourceType :: InstanceStorageResourceType
associationId :: Text
instanceId :: Text
$sel:storageConfig:UpdateInstanceStorageConfig' :: UpdateInstanceStorageConfig -> InstanceStorageConfig
$sel:resourceType:UpdateInstanceStorageConfig' :: UpdateInstanceStorageConfig -> InstanceStorageResourceType
$sel:associationId:UpdateInstanceStorageConfig' :: UpdateInstanceStorageConfig -> Text
$sel:instanceId:UpdateInstanceStorageConfig' :: UpdateInstanceStorageConfig -> Text
..} =
    [QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
      [ByteString
"resourceType" ByteString -> InstanceStorageResourceType -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: InstanceStorageResourceType
resourceType]

-- | /See:/ 'newUpdateInstanceStorageConfigResponse' smart constructor.
data UpdateInstanceStorageConfigResponse = UpdateInstanceStorageConfigResponse'
  {
  }
  deriving (UpdateInstanceStorageConfigResponse
-> UpdateInstanceStorageConfigResponse -> Bool
(UpdateInstanceStorageConfigResponse
 -> UpdateInstanceStorageConfigResponse -> Bool)
-> (UpdateInstanceStorageConfigResponse
    -> UpdateInstanceStorageConfigResponse -> Bool)
-> Eq UpdateInstanceStorageConfigResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateInstanceStorageConfigResponse
-> UpdateInstanceStorageConfigResponse -> Bool
$c/= :: UpdateInstanceStorageConfigResponse
-> UpdateInstanceStorageConfigResponse -> Bool
== :: UpdateInstanceStorageConfigResponse
-> UpdateInstanceStorageConfigResponse -> Bool
$c== :: UpdateInstanceStorageConfigResponse
-> UpdateInstanceStorageConfigResponse -> Bool
Prelude.Eq, ReadPrec [UpdateInstanceStorageConfigResponse]
ReadPrec UpdateInstanceStorageConfigResponse
Int -> ReadS UpdateInstanceStorageConfigResponse
ReadS [UpdateInstanceStorageConfigResponse]
(Int -> ReadS UpdateInstanceStorageConfigResponse)
-> ReadS [UpdateInstanceStorageConfigResponse]
-> ReadPrec UpdateInstanceStorageConfigResponse
-> ReadPrec [UpdateInstanceStorageConfigResponse]
-> Read UpdateInstanceStorageConfigResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateInstanceStorageConfigResponse]
$creadListPrec :: ReadPrec [UpdateInstanceStorageConfigResponse]
readPrec :: ReadPrec UpdateInstanceStorageConfigResponse
$creadPrec :: ReadPrec UpdateInstanceStorageConfigResponse
readList :: ReadS [UpdateInstanceStorageConfigResponse]
$creadList :: ReadS [UpdateInstanceStorageConfigResponse]
readsPrec :: Int -> ReadS UpdateInstanceStorageConfigResponse
$creadsPrec :: Int -> ReadS UpdateInstanceStorageConfigResponse
Prelude.Read, Int -> UpdateInstanceStorageConfigResponse -> ShowS
[UpdateInstanceStorageConfigResponse] -> ShowS
UpdateInstanceStorageConfigResponse -> String
(Int -> UpdateInstanceStorageConfigResponse -> ShowS)
-> (UpdateInstanceStorageConfigResponse -> String)
-> ([UpdateInstanceStorageConfigResponse] -> ShowS)
-> Show UpdateInstanceStorageConfigResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateInstanceStorageConfigResponse] -> ShowS
$cshowList :: [UpdateInstanceStorageConfigResponse] -> ShowS
show :: UpdateInstanceStorageConfigResponse -> String
$cshow :: UpdateInstanceStorageConfigResponse -> String
showsPrec :: Int -> UpdateInstanceStorageConfigResponse -> ShowS
$cshowsPrec :: Int -> UpdateInstanceStorageConfigResponse -> ShowS
Prelude.Show, (forall x.
 UpdateInstanceStorageConfigResponse
 -> Rep UpdateInstanceStorageConfigResponse x)
-> (forall x.
    Rep UpdateInstanceStorageConfigResponse x
    -> UpdateInstanceStorageConfigResponse)
-> Generic UpdateInstanceStorageConfigResponse
forall x.
Rep UpdateInstanceStorageConfigResponse x
-> UpdateInstanceStorageConfigResponse
forall x.
UpdateInstanceStorageConfigResponse
-> Rep UpdateInstanceStorageConfigResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateInstanceStorageConfigResponse x
-> UpdateInstanceStorageConfigResponse
$cfrom :: forall x.
UpdateInstanceStorageConfigResponse
-> Rep UpdateInstanceStorageConfigResponse x
Prelude.Generic)

-- |
-- Create a value of 'UpdateInstanceStorageConfigResponse' 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.
newUpdateInstanceStorageConfigResponse ::
  UpdateInstanceStorageConfigResponse
newUpdateInstanceStorageConfigResponse :: UpdateInstanceStorageConfigResponse
newUpdateInstanceStorageConfigResponse =
  UpdateInstanceStorageConfigResponse
UpdateInstanceStorageConfigResponse'

instance
  Prelude.NFData
    UpdateInstanceStorageConfigResponse