{-# 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.StorageGateway.AssignTapePool
-- 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)
--
-- Assigns a tape to a tape pool for archiving. The tape assigned to a pool
-- is archived in the S3 storage class that is associated with the pool.
-- When you use your backup application to eject the tape, the tape is
-- archived directly into the S3 storage class (S3 Glacier or S3 Glacier
-- Deep Archive) that corresponds to the pool.
--
-- Valid Values: @GLACIER@ | @DEEP_ARCHIVE@
module Amazonka.StorageGateway.AssignTapePool
  ( -- * Creating a Request
    AssignTapePool (..),
    newAssignTapePool,

    -- * Request Lenses
    assignTapePool_bypassGovernanceRetention,
    assignTapePool_tapeARN,
    assignTapePool_poolId,

    -- * Destructuring the Response
    AssignTapePoolResponse (..),
    newAssignTapePoolResponse,

    -- * Response Lenses
    assignTapePoolResponse_tapeARN,
    assignTapePoolResponse_httpStatus,
  )
where

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
import Amazonka.StorageGateway.Types

-- | /See:/ 'newAssignTapePool' smart constructor.
data AssignTapePool = AssignTapePool'
  { -- | Set permissions to bypass governance retention. If the lock type of the
    -- archived tape is @Governance@, the tape\'s archived age is not older
    -- than @RetentionLockInDays@, and the user does not already have
    -- @BypassGovernanceRetention@, setting this to TRUE enables the user to
    -- bypass the retention lock. This parameter is set to true by default for
    -- calls from the console.
    --
    -- Valid values: @TRUE@ | @FALSE@
    AssignTapePool -> Maybe Bool
bypassGovernanceRetention :: Prelude.Maybe Prelude.Bool,
    -- | The unique Amazon Resource Name (ARN) of the virtual tape that you want
    -- to add to the tape pool.
    AssignTapePool -> Text
tapeARN :: Prelude.Text,
    -- | The ID of the pool that you want to add your tape to for archiving. The
    -- tape in this pool is archived in the S3 storage class that is associated
    -- with the pool. When you use your backup application to eject the tape,
    -- the tape is archived directly into the storage class (S3 Glacier or S3
    -- Glacier Deep Archive) that corresponds to the pool.
    --
    -- Valid Values: @GLACIER@ | @DEEP_ARCHIVE@
    AssignTapePool -> Text
poolId :: Prelude.Text
  }
  deriving (AssignTapePool -> AssignTapePool -> Bool
(AssignTapePool -> AssignTapePool -> Bool)
-> (AssignTapePool -> AssignTapePool -> Bool) -> Eq AssignTapePool
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AssignTapePool -> AssignTapePool -> Bool
$c/= :: AssignTapePool -> AssignTapePool -> Bool
== :: AssignTapePool -> AssignTapePool -> Bool
$c== :: AssignTapePool -> AssignTapePool -> Bool
Prelude.Eq, ReadPrec [AssignTapePool]
ReadPrec AssignTapePool
Int -> ReadS AssignTapePool
ReadS [AssignTapePool]
(Int -> ReadS AssignTapePool)
-> ReadS [AssignTapePool]
-> ReadPrec AssignTapePool
-> ReadPrec [AssignTapePool]
-> Read AssignTapePool
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AssignTapePool]
$creadListPrec :: ReadPrec [AssignTapePool]
readPrec :: ReadPrec AssignTapePool
$creadPrec :: ReadPrec AssignTapePool
readList :: ReadS [AssignTapePool]
$creadList :: ReadS [AssignTapePool]
readsPrec :: Int -> ReadS AssignTapePool
$creadsPrec :: Int -> ReadS AssignTapePool
Prelude.Read, Int -> AssignTapePool -> ShowS
[AssignTapePool] -> ShowS
AssignTapePool -> String
(Int -> AssignTapePool -> ShowS)
-> (AssignTapePool -> String)
-> ([AssignTapePool] -> ShowS)
-> Show AssignTapePool
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AssignTapePool] -> ShowS
$cshowList :: [AssignTapePool] -> ShowS
show :: AssignTapePool -> String
$cshow :: AssignTapePool -> String
showsPrec :: Int -> AssignTapePool -> ShowS
$cshowsPrec :: Int -> AssignTapePool -> ShowS
Prelude.Show, (forall x. AssignTapePool -> Rep AssignTapePool x)
-> (forall x. Rep AssignTapePool x -> AssignTapePool)
-> Generic AssignTapePool
forall x. Rep AssignTapePool x -> AssignTapePool
forall x. AssignTapePool -> Rep AssignTapePool x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AssignTapePool x -> AssignTapePool
$cfrom :: forall x. AssignTapePool -> Rep AssignTapePool x
Prelude.Generic)

-- |
-- Create a value of 'AssignTapePool' 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:
--
-- 'bypassGovernanceRetention', 'assignTapePool_bypassGovernanceRetention' - Set permissions to bypass governance retention. If the lock type of the
-- archived tape is @Governance@, the tape\'s archived age is not older
-- than @RetentionLockInDays@, and the user does not already have
-- @BypassGovernanceRetention@, setting this to TRUE enables the user to
-- bypass the retention lock. This parameter is set to true by default for
-- calls from the console.
--
-- Valid values: @TRUE@ | @FALSE@
--
-- 'tapeARN', 'assignTapePool_tapeARN' - The unique Amazon Resource Name (ARN) of the virtual tape that you want
-- to add to the tape pool.
--
-- 'poolId', 'assignTapePool_poolId' - The ID of the pool that you want to add your tape to for archiving. The
-- tape in this pool is archived in the S3 storage class that is associated
-- with the pool. When you use your backup application to eject the tape,
-- the tape is archived directly into the storage class (S3 Glacier or S3
-- Glacier Deep Archive) that corresponds to the pool.
--
-- Valid Values: @GLACIER@ | @DEEP_ARCHIVE@
newAssignTapePool ::
  -- | 'tapeARN'
  Prelude.Text ->
  -- | 'poolId'
  Prelude.Text ->
  AssignTapePool
newAssignTapePool :: Text -> Text -> AssignTapePool
newAssignTapePool Text
pTapeARN_ Text
pPoolId_ =
  AssignTapePool' :: Maybe Bool -> Text -> Text -> AssignTapePool
AssignTapePool'
    { $sel:bypassGovernanceRetention:AssignTapePool' :: Maybe Bool
bypassGovernanceRetention =
        Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:tapeARN:AssignTapePool' :: Text
tapeARN = Text
pTapeARN_,
      $sel:poolId:AssignTapePool' :: Text
poolId = Text
pPoolId_
    }

-- | Set permissions to bypass governance retention. If the lock type of the
-- archived tape is @Governance@, the tape\'s archived age is not older
-- than @RetentionLockInDays@, and the user does not already have
-- @BypassGovernanceRetention@, setting this to TRUE enables the user to
-- bypass the retention lock. This parameter is set to true by default for
-- calls from the console.
--
-- Valid values: @TRUE@ | @FALSE@
assignTapePool_bypassGovernanceRetention :: Lens.Lens' AssignTapePool (Prelude.Maybe Prelude.Bool)
assignTapePool_bypassGovernanceRetention :: (Maybe Bool -> f (Maybe Bool))
-> AssignTapePool -> f AssignTapePool
assignTapePool_bypassGovernanceRetention = (AssignTapePool -> Maybe Bool)
-> (AssignTapePool -> Maybe Bool -> AssignTapePool)
-> Lens AssignTapePool AssignTapePool (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssignTapePool' {Maybe Bool
bypassGovernanceRetention :: Maybe Bool
$sel:bypassGovernanceRetention:AssignTapePool' :: AssignTapePool -> Maybe Bool
bypassGovernanceRetention} -> Maybe Bool
bypassGovernanceRetention) (\s :: AssignTapePool
s@AssignTapePool' {} Maybe Bool
a -> AssignTapePool
s {$sel:bypassGovernanceRetention:AssignTapePool' :: Maybe Bool
bypassGovernanceRetention = Maybe Bool
a} :: AssignTapePool)

-- | The unique Amazon Resource Name (ARN) of the virtual tape that you want
-- to add to the tape pool.
assignTapePool_tapeARN :: Lens.Lens' AssignTapePool Prelude.Text
assignTapePool_tapeARN :: (Text -> f Text) -> AssignTapePool -> f AssignTapePool
assignTapePool_tapeARN = (AssignTapePool -> Text)
-> (AssignTapePool -> Text -> AssignTapePool)
-> Lens AssignTapePool AssignTapePool Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssignTapePool' {Text
tapeARN :: Text
$sel:tapeARN:AssignTapePool' :: AssignTapePool -> Text
tapeARN} -> Text
tapeARN) (\s :: AssignTapePool
s@AssignTapePool' {} Text
a -> AssignTapePool
s {$sel:tapeARN:AssignTapePool' :: Text
tapeARN = Text
a} :: AssignTapePool)

-- | The ID of the pool that you want to add your tape to for archiving. The
-- tape in this pool is archived in the S3 storage class that is associated
-- with the pool. When you use your backup application to eject the tape,
-- the tape is archived directly into the storage class (S3 Glacier or S3
-- Glacier Deep Archive) that corresponds to the pool.
--
-- Valid Values: @GLACIER@ | @DEEP_ARCHIVE@
assignTapePool_poolId :: Lens.Lens' AssignTapePool Prelude.Text
assignTapePool_poolId :: (Text -> f Text) -> AssignTapePool -> f AssignTapePool
assignTapePool_poolId = (AssignTapePool -> Text)
-> (AssignTapePool -> Text -> AssignTapePool)
-> Lens AssignTapePool AssignTapePool Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssignTapePool' {Text
poolId :: Text
$sel:poolId:AssignTapePool' :: AssignTapePool -> Text
poolId} -> Text
poolId) (\s :: AssignTapePool
s@AssignTapePool' {} Text
a -> AssignTapePool
s {$sel:poolId:AssignTapePool' :: Text
poolId = Text
a} :: AssignTapePool)

instance Core.AWSRequest AssignTapePool where
  type
    AWSResponse AssignTapePool =
      AssignTapePoolResponse
  request :: AssignTapePool -> Request AssignTapePool
request = Service -> AssignTapePool -> Request AssignTapePool
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy AssignTapePool
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse AssignTapePool)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse AssignTapePool))
-> Logger
-> Service
-> Proxy AssignTapePool
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse AssignTapePool)))
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 Text -> Int -> AssignTapePoolResponse
AssignTapePoolResponse'
            (Maybe Text -> Int -> AssignTapePoolResponse)
-> Either String (Maybe Text)
-> Either String (Int -> AssignTapePoolResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object -> Text -> Either String (Maybe Text)
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"TapeARN")
            Either String (Int -> AssignTapePoolResponse)
-> Either String Int -> Either String AssignTapePoolResponse
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 AssignTapePool

instance Prelude.NFData AssignTapePool

instance Core.ToHeaders AssignTapePool where
  toHeaders :: AssignTapePool -> ResponseHeaders
toHeaders =
    ResponseHeaders -> AssignTapePool -> 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
"StorageGateway_20130630.AssignTapePool" ::
                          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 AssignTapePool where
  toJSON :: AssignTapePool -> Value
toJSON AssignTapePool' {Maybe Bool
Text
poolId :: Text
tapeARN :: Text
bypassGovernanceRetention :: Maybe Bool
$sel:poolId:AssignTapePool' :: AssignTapePool -> Text
$sel:tapeARN:AssignTapePool' :: AssignTapePool -> Text
$sel:bypassGovernanceRetention:AssignTapePool' :: AssignTapePool -> Maybe Bool
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Text
"BypassGovernanceRetention" 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
bypassGovernanceRetention,
            Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"TapeARN" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
tapeARN),
            Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"PoolId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
poolId)
          ]
      )

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

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

-- | /See:/ 'newAssignTapePoolResponse' smart constructor.
data AssignTapePoolResponse = AssignTapePoolResponse'
  { -- | The unique Amazon Resource Names (ARN) of the virtual tape that was
    -- added to the tape pool.
    AssignTapePoolResponse -> Maybe Text
tapeARN :: Prelude.Maybe Prelude.Text,
    -- | The response's http status code.
    AssignTapePoolResponse -> Int
httpStatus :: Prelude.Int
  }
  deriving (AssignTapePoolResponse -> AssignTapePoolResponse -> Bool
(AssignTapePoolResponse -> AssignTapePoolResponse -> Bool)
-> (AssignTapePoolResponse -> AssignTapePoolResponse -> Bool)
-> Eq AssignTapePoolResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: AssignTapePoolResponse -> AssignTapePoolResponse -> Bool
$c/= :: AssignTapePoolResponse -> AssignTapePoolResponse -> Bool
== :: AssignTapePoolResponse -> AssignTapePoolResponse -> Bool
$c== :: AssignTapePoolResponse -> AssignTapePoolResponse -> Bool
Prelude.Eq, ReadPrec [AssignTapePoolResponse]
ReadPrec AssignTapePoolResponse
Int -> ReadS AssignTapePoolResponse
ReadS [AssignTapePoolResponse]
(Int -> ReadS AssignTapePoolResponse)
-> ReadS [AssignTapePoolResponse]
-> ReadPrec AssignTapePoolResponse
-> ReadPrec [AssignTapePoolResponse]
-> Read AssignTapePoolResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [AssignTapePoolResponse]
$creadListPrec :: ReadPrec [AssignTapePoolResponse]
readPrec :: ReadPrec AssignTapePoolResponse
$creadPrec :: ReadPrec AssignTapePoolResponse
readList :: ReadS [AssignTapePoolResponse]
$creadList :: ReadS [AssignTapePoolResponse]
readsPrec :: Int -> ReadS AssignTapePoolResponse
$creadsPrec :: Int -> ReadS AssignTapePoolResponse
Prelude.Read, Int -> AssignTapePoolResponse -> ShowS
[AssignTapePoolResponse] -> ShowS
AssignTapePoolResponse -> String
(Int -> AssignTapePoolResponse -> ShowS)
-> (AssignTapePoolResponse -> String)
-> ([AssignTapePoolResponse] -> ShowS)
-> Show AssignTapePoolResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [AssignTapePoolResponse] -> ShowS
$cshowList :: [AssignTapePoolResponse] -> ShowS
show :: AssignTapePoolResponse -> String
$cshow :: AssignTapePoolResponse -> String
showsPrec :: Int -> AssignTapePoolResponse -> ShowS
$cshowsPrec :: Int -> AssignTapePoolResponse -> ShowS
Prelude.Show, (forall x. AssignTapePoolResponse -> Rep AssignTapePoolResponse x)
-> (forall x.
    Rep AssignTapePoolResponse x -> AssignTapePoolResponse)
-> Generic AssignTapePoolResponse
forall x. Rep AssignTapePoolResponse x -> AssignTapePoolResponse
forall x. AssignTapePoolResponse -> Rep AssignTapePoolResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep AssignTapePoolResponse x -> AssignTapePoolResponse
$cfrom :: forall x. AssignTapePoolResponse -> Rep AssignTapePoolResponse x
Prelude.Generic)

-- |
-- Create a value of 'AssignTapePoolResponse' 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:
--
-- 'tapeARN', 'assignTapePoolResponse_tapeARN' - The unique Amazon Resource Names (ARN) of the virtual tape that was
-- added to the tape pool.
--
-- 'httpStatus', 'assignTapePoolResponse_httpStatus' - The response's http status code.
newAssignTapePoolResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  AssignTapePoolResponse
newAssignTapePoolResponse :: Int -> AssignTapePoolResponse
newAssignTapePoolResponse Int
pHttpStatus_ =
  AssignTapePoolResponse' :: Maybe Text -> Int -> AssignTapePoolResponse
AssignTapePoolResponse'
    { $sel:tapeARN:AssignTapePoolResponse' :: Maybe Text
tapeARN = Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:AssignTapePoolResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | The unique Amazon Resource Names (ARN) of the virtual tape that was
-- added to the tape pool.
assignTapePoolResponse_tapeARN :: Lens.Lens' AssignTapePoolResponse (Prelude.Maybe Prelude.Text)
assignTapePoolResponse_tapeARN :: (Maybe Text -> f (Maybe Text))
-> AssignTapePoolResponse -> f AssignTapePoolResponse
assignTapePoolResponse_tapeARN = (AssignTapePoolResponse -> Maybe Text)
-> (AssignTapePoolResponse -> Maybe Text -> AssignTapePoolResponse)
-> Lens
     AssignTapePoolResponse
     AssignTapePoolResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\AssignTapePoolResponse' {Maybe Text
tapeARN :: Maybe Text
$sel:tapeARN:AssignTapePoolResponse' :: AssignTapePoolResponse -> Maybe Text
tapeARN} -> Maybe Text
tapeARN) (\s :: AssignTapePoolResponse
s@AssignTapePoolResponse' {} Maybe Text
a -> AssignTapePoolResponse
s {$sel:tapeARN:AssignTapePoolResponse' :: Maybe Text
tapeARN = Maybe Text
a} :: AssignTapePoolResponse)

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

instance Prelude.NFData AssignTapePoolResponse