{-# 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.DeleteAutomaticTapeCreationPolicy
-- 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)
--
-- Deletes the automatic tape creation policy of a gateway. If you delete
-- this policy, new virtual tapes must be created manually. Use the Amazon
-- Resource Name (ARN) of the gateway in your request to remove the policy.
module Amazonka.StorageGateway.DeleteAutomaticTapeCreationPolicy
  ( -- * Creating a Request
    DeleteAutomaticTapeCreationPolicy (..),
    newDeleteAutomaticTapeCreationPolicy,

    -- * Request Lenses
    deleteAutomaticTapeCreationPolicy_gatewayARN,

    -- * Destructuring the Response
    DeleteAutomaticTapeCreationPolicyResponse (..),
    newDeleteAutomaticTapeCreationPolicyResponse,

    -- * Response Lenses
    deleteAutomaticTapeCreationPolicyResponse_gatewayARN,
    deleteAutomaticTapeCreationPolicyResponse_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:/ 'newDeleteAutomaticTapeCreationPolicy' smart constructor.
data DeleteAutomaticTapeCreationPolicy = DeleteAutomaticTapeCreationPolicy'
  { DeleteAutomaticTapeCreationPolicy -> Text
gatewayARN :: Prelude.Text
  }
  deriving (DeleteAutomaticTapeCreationPolicy
-> DeleteAutomaticTapeCreationPolicy -> Bool
(DeleteAutomaticTapeCreationPolicy
 -> DeleteAutomaticTapeCreationPolicy -> Bool)
-> (DeleteAutomaticTapeCreationPolicy
    -> DeleteAutomaticTapeCreationPolicy -> Bool)
-> Eq DeleteAutomaticTapeCreationPolicy
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteAutomaticTapeCreationPolicy
-> DeleteAutomaticTapeCreationPolicy -> Bool
$c/= :: DeleteAutomaticTapeCreationPolicy
-> DeleteAutomaticTapeCreationPolicy -> Bool
== :: DeleteAutomaticTapeCreationPolicy
-> DeleteAutomaticTapeCreationPolicy -> Bool
$c== :: DeleteAutomaticTapeCreationPolicy
-> DeleteAutomaticTapeCreationPolicy -> Bool
Prelude.Eq, ReadPrec [DeleteAutomaticTapeCreationPolicy]
ReadPrec DeleteAutomaticTapeCreationPolicy
Int -> ReadS DeleteAutomaticTapeCreationPolicy
ReadS [DeleteAutomaticTapeCreationPolicy]
(Int -> ReadS DeleteAutomaticTapeCreationPolicy)
-> ReadS [DeleteAutomaticTapeCreationPolicy]
-> ReadPrec DeleteAutomaticTapeCreationPolicy
-> ReadPrec [DeleteAutomaticTapeCreationPolicy]
-> Read DeleteAutomaticTapeCreationPolicy
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteAutomaticTapeCreationPolicy]
$creadListPrec :: ReadPrec [DeleteAutomaticTapeCreationPolicy]
readPrec :: ReadPrec DeleteAutomaticTapeCreationPolicy
$creadPrec :: ReadPrec DeleteAutomaticTapeCreationPolicy
readList :: ReadS [DeleteAutomaticTapeCreationPolicy]
$creadList :: ReadS [DeleteAutomaticTapeCreationPolicy]
readsPrec :: Int -> ReadS DeleteAutomaticTapeCreationPolicy
$creadsPrec :: Int -> ReadS DeleteAutomaticTapeCreationPolicy
Prelude.Read, Int -> DeleteAutomaticTapeCreationPolicy -> ShowS
[DeleteAutomaticTapeCreationPolicy] -> ShowS
DeleteAutomaticTapeCreationPolicy -> String
(Int -> DeleteAutomaticTapeCreationPolicy -> ShowS)
-> (DeleteAutomaticTapeCreationPolicy -> String)
-> ([DeleteAutomaticTapeCreationPolicy] -> ShowS)
-> Show DeleteAutomaticTapeCreationPolicy
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteAutomaticTapeCreationPolicy] -> ShowS
$cshowList :: [DeleteAutomaticTapeCreationPolicy] -> ShowS
show :: DeleteAutomaticTapeCreationPolicy -> String
$cshow :: DeleteAutomaticTapeCreationPolicy -> String
showsPrec :: Int -> DeleteAutomaticTapeCreationPolicy -> ShowS
$cshowsPrec :: Int -> DeleteAutomaticTapeCreationPolicy -> ShowS
Prelude.Show, (forall x.
 DeleteAutomaticTapeCreationPolicy
 -> Rep DeleteAutomaticTapeCreationPolicy x)
-> (forall x.
    Rep DeleteAutomaticTapeCreationPolicy x
    -> DeleteAutomaticTapeCreationPolicy)
-> Generic DeleteAutomaticTapeCreationPolicy
forall x.
Rep DeleteAutomaticTapeCreationPolicy x
-> DeleteAutomaticTapeCreationPolicy
forall x.
DeleteAutomaticTapeCreationPolicy
-> Rep DeleteAutomaticTapeCreationPolicy x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteAutomaticTapeCreationPolicy x
-> DeleteAutomaticTapeCreationPolicy
$cfrom :: forall x.
DeleteAutomaticTapeCreationPolicy
-> Rep DeleteAutomaticTapeCreationPolicy x
Prelude.Generic)

-- |
-- Create a value of 'DeleteAutomaticTapeCreationPolicy' 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:
--
-- 'gatewayARN', 'deleteAutomaticTapeCreationPolicy_gatewayARN' - Undocumented member.
newDeleteAutomaticTapeCreationPolicy ::
  -- | 'gatewayARN'
  Prelude.Text ->
  DeleteAutomaticTapeCreationPolicy
newDeleteAutomaticTapeCreationPolicy :: Text -> DeleteAutomaticTapeCreationPolicy
newDeleteAutomaticTapeCreationPolicy Text
pGatewayARN_ =
  DeleteAutomaticTapeCreationPolicy' :: Text -> DeleteAutomaticTapeCreationPolicy
DeleteAutomaticTapeCreationPolicy'
    { $sel:gatewayARN:DeleteAutomaticTapeCreationPolicy' :: Text
gatewayARN =
        Text
pGatewayARN_
    }

-- | Undocumented member.
deleteAutomaticTapeCreationPolicy_gatewayARN :: Lens.Lens' DeleteAutomaticTapeCreationPolicy Prelude.Text
deleteAutomaticTapeCreationPolicy_gatewayARN :: (Text -> f Text)
-> DeleteAutomaticTapeCreationPolicy
-> f DeleteAutomaticTapeCreationPolicy
deleteAutomaticTapeCreationPolicy_gatewayARN = (DeleteAutomaticTapeCreationPolicy -> Text)
-> (DeleteAutomaticTapeCreationPolicy
    -> Text -> DeleteAutomaticTapeCreationPolicy)
-> Lens
     DeleteAutomaticTapeCreationPolicy
     DeleteAutomaticTapeCreationPolicy
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteAutomaticTapeCreationPolicy' {Text
gatewayARN :: Text
$sel:gatewayARN:DeleteAutomaticTapeCreationPolicy' :: DeleteAutomaticTapeCreationPolicy -> Text
gatewayARN} -> Text
gatewayARN) (\s :: DeleteAutomaticTapeCreationPolicy
s@DeleteAutomaticTapeCreationPolicy' {} Text
a -> DeleteAutomaticTapeCreationPolicy
s {$sel:gatewayARN:DeleteAutomaticTapeCreationPolicy' :: Text
gatewayARN = Text
a} :: DeleteAutomaticTapeCreationPolicy)

instance
  Core.AWSRequest
    DeleteAutomaticTapeCreationPolicy
  where
  type
    AWSResponse DeleteAutomaticTapeCreationPolicy =
      DeleteAutomaticTapeCreationPolicyResponse
  request :: DeleteAutomaticTapeCreationPolicy
-> Request DeleteAutomaticTapeCreationPolicy
request = Service
-> DeleteAutomaticTapeCreationPolicy
-> Request DeleteAutomaticTapeCreationPolicy
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy DeleteAutomaticTapeCreationPolicy
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse (AWSResponse DeleteAutomaticTapeCreationPolicy)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse DeleteAutomaticTapeCreationPolicy))
-> Logger
-> Service
-> Proxy DeleteAutomaticTapeCreationPolicy
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse (AWSResponse DeleteAutomaticTapeCreationPolicy)))
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 -> DeleteAutomaticTapeCreationPolicyResponse
DeleteAutomaticTapeCreationPolicyResponse'
            (Maybe Text -> Int -> DeleteAutomaticTapeCreationPolicyResponse)
-> Either String (Maybe Text)
-> Either String (Int -> DeleteAutomaticTapeCreationPolicyResponse)
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
"GatewayARN")
              Either String (Int -> DeleteAutomaticTapeCreationPolicyResponse)
-> Either String Int
-> Either String DeleteAutomaticTapeCreationPolicyResponse
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
    DeleteAutomaticTapeCreationPolicy

instance
  Prelude.NFData
    DeleteAutomaticTapeCreationPolicy

instance
  Core.ToHeaders
    DeleteAutomaticTapeCreationPolicy
  where
  toHeaders :: DeleteAutomaticTapeCreationPolicy -> ResponseHeaders
toHeaders =
    ResponseHeaders
-> DeleteAutomaticTapeCreationPolicy -> 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.DeleteAutomaticTapeCreationPolicy" ::
                          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
    DeleteAutomaticTapeCreationPolicy
  where
  toJSON :: DeleteAutomaticTapeCreationPolicy -> Value
toJSON DeleteAutomaticTapeCreationPolicy' {Text
gatewayARN :: Text
$sel:gatewayARN:DeleteAutomaticTapeCreationPolicy' :: DeleteAutomaticTapeCreationPolicy -> 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
"GatewayARN" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
gatewayARN)]
      )

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

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

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

-- |
-- Create a value of 'DeleteAutomaticTapeCreationPolicyResponse' 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:
--
-- 'gatewayARN', 'deleteAutomaticTapeCreationPolicyResponse_gatewayARN' - Undocumented member.
--
-- 'httpStatus', 'deleteAutomaticTapeCreationPolicyResponse_httpStatus' - The response's http status code.
newDeleteAutomaticTapeCreationPolicyResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  DeleteAutomaticTapeCreationPolicyResponse
newDeleteAutomaticTapeCreationPolicyResponse :: Int -> DeleteAutomaticTapeCreationPolicyResponse
newDeleteAutomaticTapeCreationPolicyResponse
  Int
pHttpStatus_ =
    DeleteAutomaticTapeCreationPolicyResponse' :: Maybe Text -> Int -> DeleteAutomaticTapeCreationPolicyResponse
DeleteAutomaticTapeCreationPolicyResponse'
      { $sel:gatewayARN:DeleteAutomaticTapeCreationPolicyResponse' :: Maybe Text
gatewayARN =
          Maybe Text
forall a. Maybe a
Prelude.Nothing,
        $sel:httpStatus:DeleteAutomaticTapeCreationPolicyResponse' :: Int
httpStatus = Int
pHttpStatus_
      }

-- | Undocumented member.
deleteAutomaticTapeCreationPolicyResponse_gatewayARN :: Lens.Lens' DeleteAutomaticTapeCreationPolicyResponse (Prelude.Maybe Prelude.Text)
deleteAutomaticTapeCreationPolicyResponse_gatewayARN :: (Maybe Text -> f (Maybe Text))
-> DeleteAutomaticTapeCreationPolicyResponse
-> f DeleteAutomaticTapeCreationPolicyResponse
deleteAutomaticTapeCreationPolicyResponse_gatewayARN = (DeleteAutomaticTapeCreationPolicyResponse -> Maybe Text)
-> (DeleteAutomaticTapeCreationPolicyResponse
    -> Maybe Text -> DeleteAutomaticTapeCreationPolicyResponse)
-> Lens
     DeleteAutomaticTapeCreationPolicyResponse
     DeleteAutomaticTapeCreationPolicyResponse
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteAutomaticTapeCreationPolicyResponse' {Maybe Text
gatewayARN :: Maybe Text
$sel:gatewayARN:DeleteAutomaticTapeCreationPolicyResponse' :: DeleteAutomaticTapeCreationPolicyResponse -> Maybe Text
gatewayARN} -> Maybe Text
gatewayARN) (\s :: DeleteAutomaticTapeCreationPolicyResponse
s@DeleteAutomaticTapeCreationPolicyResponse' {} Maybe Text
a -> DeleteAutomaticTapeCreationPolicyResponse
s {$sel:gatewayARN:DeleteAutomaticTapeCreationPolicyResponse' :: Maybe Text
gatewayARN = Maybe Text
a} :: DeleteAutomaticTapeCreationPolicyResponse)

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

instance
  Prelude.NFData
    DeleteAutomaticTapeCreationPolicyResponse