{-# 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.ServiceCatalog.DeleteProvisionedProductPlan
-- 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 specified plan.
module Amazonka.ServiceCatalog.DeleteProvisionedProductPlan
  ( -- * Creating a Request
    DeleteProvisionedProductPlan (..),
    newDeleteProvisionedProductPlan,

    -- * Request Lenses
    deleteProvisionedProductPlan_acceptLanguage,
    deleteProvisionedProductPlan_ignoreErrors,
    deleteProvisionedProductPlan_planId,

    -- * Destructuring the Response
    DeleteProvisionedProductPlanResponse (..),
    newDeleteProvisionedProductPlanResponse,

    -- * Response Lenses
    deleteProvisionedProductPlanResponse_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.ServiceCatalog.Types

-- | /See:/ 'newDeleteProvisionedProductPlan' smart constructor.
data DeleteProvisionedProductPlan = DeleteProvisionedProductPlan'
  { -- | The language code.
    --
    -- -   @en@ - English (default)
    --
    -- -   @jp@ - Japanese
    --
    -- -   @zh@ - Chinese
    DeleteProvisionedProductPlan -> Maybe Text
acceptLanguage :: Prelude.Maybe Prelude.Text,
    -- | If set to true, AWS Service Catalog stops managing the specified
    -- provisioned product even if it cannot delete the underlying resources.
    DeleteProvisionedProductPlan -> Maybe Bool
ignoreErrors :: Prelude.Maybe Prelude.Bool,
    -- | The plan identifier.
    DeleteProvisionedProductPlan -> Text
planId :: Prelude.Text
  }
  deriving (DeleteProvisionedProductPlan
-> DeleteProvisionedProductPlan -> Bool
(DeleteProvisionedProductPlan
 -> DeleteProvisionedProductPlan -> Bool)
-> (DeleteProvisionedProductPlan
    -> DeleteProvisionedProductPlan -> Bool)
-> Eq DeleteProvisionedProductPlan
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DeleteProvisionedProductPlan
-> DeleteProvisionedProductPlan -> Bool
$c/= :: DeleteProvisionedProductPlan
-> DeleteProvisionedProductPlan -> Bool
== :: DeleteProvisionedProductPlan
-> DeleteProvisionedProductPlan -> Bool
$c== :: DeleteProvisionedProductPlan
-> DeleteProvisionedProductPlan -> Bool
Prelude.Eq, ReadPrec [DeleteProvisionedProductPlan]
ReadPrec DeleteProvisionedProductPlan
Int -> ReadS DeleteProvisionedProductPlan
ReadS [DeleteProvisionedProductPlan]
(Int -> ReadS DeleteProvisionedProductPlan)
-> ReadS [DeleteProvisionedProductPlan]
-> ReadPrec DeleteProvisionedProductPlan
-> ReadPrec [DeleteProvisionedProductPlan]
-> Read DeleteProvisionedProductPlan
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DeleteProvisionedProductPlan]
$creadListPrec :: ReadPrec [DeleteProvisionedProductPlan]
readPrec :: ReadPrec DeleteProvisionedProductPlan
$creadPrec :: ReadPrec DeleteProvisionedProductPlan
readList :: ReadS [DeleteProvisionedProductPlan]
$creadList :: ReadS [DeleteProvisionedProductPlan]
readsPrec :: Int -> ReadS DeleteProvisionedProductPlan
$creadsPrec :: Int -> ReadS DeleteProvisionedProductPlan
Prelude.Read, Int -> DeleteProvisionedProductPlan -> ShowS
[DeleteProvisionedProductPlan] -> ShowS
DeleteProvisionedProductPlan -> String
(Int -> DeleteProvisionedProductPlan -> ShowS)
-> (DeleteProvisionedProductPlan -> String)
-> ([DeleteProvisionedProductPlan] -> ShowS)
-> Show DeleteProvisionedProductPlan
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DeleteProvisionedProductPlan] -> ShowS
$cshowList :: [DeleteProvisionedProductPlan] -> ShowS
show :: DeleteProvisionedProductPlan -> String
$cshow :: DeleteProvisionedProductPlan -> String
showsPrec :: Int -> DeleteProvisionedProductPlan -> ShowS
$cshowsPrec :: Int -> DeleteProvisionedProductPlan -> ShowS
Prelude.Show, (forall x.
 DeleteProvisionedProductPlan -> Rep DeleteProvisionedProductPlan x)
-> (forall x.
    Rep DeleteProvisionedProductPlan x -> DeleteProvisionedProductPlan)
-> Generic DeleteProvisionedProductPlan
forall x.
Rep DeleteProvisionedProductPlan x -> DeleteProvisionedProductPlan
forall x.
DeleteProvisionedProductPlan -> Rep DeleteProvisionedProductPlan x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DeleteProvisionedProductPlan x -> DeleteProvisionedProductPlan
$cfrom :: forall x.
DeleteProvisionedProductPlan -> Rep DeleteProvisionedProductPlan x
Prelude.Generic)

-- |
-- Create a value of 'DeleteProvisionedProductPlan' 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:
--
-- 'acceptLanguage', 'deleteProvisionedProductPlan_acceptLanguage' - The language code.
--
-- -   @en@ - English (default)
--
-- -   @jp@ - Japanese
--
-- -   @zh@ - Chinese
--
-- 'ignoreErrors', 'deleteProvisionedProductPlan_ignoreErrors' - If set to true, AWS Service Catalog stops managing the specified
-- provisioned product even if it cannot delete the underlying resources.
--
-- 'planId', 'deleteProvisionedProductPlan_planId' - The plan identifier.
newDeleteProvisionedProductPlan ::
  -- | 'planId'
  Prelude.Text ->
  DeleteProvisionedProductPlan
newDeleteProvisionedProductPlan :: Text -> DeleteProvisionedProductPlan
newDeleteProvisionedProductPlan Text
pPlanId_ =
  DeleteProvisionedProductPlan' :: Maybe Text -> Maybe Bool -> Text -> DeleteProvisionedProductPlan
DeleteProvisionedProductPlan'
    { $sel:acceptLanguage:DeleteProvisionedProductPlan' :: Maybe Text
acceptLanguage =
        Maybe Text
forall a. Maybe a
Prelude.Nothing,
      $sel:ignoreErrors:DeleteProvisionedProductPlan' :: Maybe Bool
ignoreErrors = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
      $sel:planId:DeleteProvisionedProductPlan' :: Text
planId = Text
pPlanId_
    }

-- | The language code.
--
-- -   @en@ - English (default)
--
-- -   @jp@ - Japanese
--
-- -   @zh@ - Chinese
deleteProvisionedProductPlan_acceptLanguage :: Lens.Lens' DeleteProvisionedProductPlan (Prelude.Maybe Prelude.Text)
deleteProvisionedProductPlan_acceptLanguage :: (Maybe Text -> f (Maybe Text))
-> DeleteProvisionedProductPlan -> f DeleteProvisionedProductPlan
deleteProvisionedProductPlan_acceptLanguage = (DeleteProvisionedProductPlan -> Maybe Text)
-> (DeleteProvisionedProductPlan
    -> Maybe Text -> DeleteProvisionedProductPlan)
-> Lens
     DeleteProvisionedProductPlan
     DeleteProvisionedProductPlan
     (Maybe Text)
     (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteProvisionedProductPlan' {Maybe Text
acceptLanguage :: Maybe Text
$sel:acceptLanguage:DeleteProvisionedProductPlan' :: DeleteProvisionedProductPlan -> Maybe Text
acceptLanguage} -> Maybe Text
acceptLanguage) (\s :: DeleteProvisionedProductPlan
s@DeleteProvisionedProductPlan' {} Maybe Text
a -> DeleteProvisionedProductPlan
s {$sel:acceptLanguage:DeleteProvisionedProductPlan' :: Maybe Text
acceptLanguage = Maybe Text
a} :: DeleteProvisionedProductPlan)

-- | If set to true, AWS Service Catalog stops managing the specified
-- provisioned product even if it cannot delete the underlying resources.
deleteProvisionedProductPlan_ignoreErrors :: Lens.Lens' DeleteProvisionedProductPlan (Prelude.Maybe Prelude.Bool)
deleteProvisionedProductPlan_ignoreErrors :: (Maybe Bool -> f (Maybe Bool))
-> DeleteProvisionedProductPlan -> f DeleteProvisionedProductPlan
deleteProvisionedProductPlan_ignoreErrors = (DeleteProvisionedProductPlan -> Maybe Bool)
-> (DeleteProvisionedProductPlan
    -> Maybe Bool -> DeleteProvisionedProductPlan)
-> Lens
     DeleteProvisionedProductPlan
     DeleteProvisionedProductPlan
     (Maybe Bool)
     (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteProvisionedProductPlan' {Maybe Bool
ignoreErrors :: Maybe Bool
$sel:ignoreErrors:DeleteProvisionedProductPlan' :: DeleteProvisionedProductPlan -> Maybe Bool
ignoreErrors} -> Maybe Bool
ignoreErrors) (\s :: DeleteProvisionedProductPlan
s@DeleteProvisionedProductPlan' {} Maybe Bool
a -> DeleteProvisionedProductPlan
s {$sel:ignoreErrors:DeleteProvisionedProductPlan' :: Maybe Bool
ignoreErrors = Maybe Bool
a} :: DeleteProvisionedProductPlan)

-- | The plan identifier.
deleteProvisionedProductPlan_planId :: Lens.Lens' DeleteProvisionedProductPlan Prelude.Text
deleteProvisionedProductPlan_planId :: (Text -> f Text)
-> DeleteProvisionedProductPlan -> f DeleteProvisionedProductPlan
deleteProvisionedProductPlan_planId = (DeleteProvisionedProductPlan -> Text)
-> (DeleteProvisionedProductPlan
    -> Text -> DeleteProvisionedProductPlan)
-> Lens
     DeleteProvisionedProductPlan DeleteProvisionedProductPlan Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DeleteProvisionedProductPlan' {Text
planId :: Text
$sel:planId:DeleteProvisionedProductPlan' :: DeleteProvisionedProductPlan -> Text
planId} -> Text
planId) (\s :: DeleteProvisionedProductPlan
s@DeleteProvisionedProductPlan' {} Text
a -> DeleteProvisionedProductPlan
s {$sel:planId:DeleteProvisionedProductPlan' :: Text
planId = Text
a} :: DeleteProvisionedProductPlan)

instance Core.AWSRequest DeleteProvisionedProductPlan where
  type
    AWSResponse DeleteProvisionedProductPlan =
      DeleteProvisionedProductPlanResponse
  request :: DeleteProvisionedProductPlan
-> Request DeleteProvisionedProductPlan
request = Service
-> DeleteProvisionedProductPlan
-> Request DeleteProvisionedProductPlan
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy DeleteProvisionedProductPlan
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DeleteProvisionedProductPlan)))
response =
    (Int
 -> ResponseHeaders
 -> ()
 -> Either String (AWSResponse DeleteProvisionedProductPlan))
-> Logger
-> Service
-> Proxy DeleteProvisionedProductPlan
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse DeleteProvisionedProductPlan)))
forall (m :: * -> *) a.
MonadResource m =>
(Int -> ResponseHeaders -> () -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveEmpty
      ( \Int
s ResponseHeaders
h ()
x ->
          Int -> DeleteProvisionedProductPlanResponse
DeleteProvisionedProductPlanResponse'
            (Int -> DeleteProvisionedProductPlanResponse)
-> Either String Int
-> Either String DeleteProvisionedProductPlanResponse
forall (f :: * -> *) a b. Functor 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
    DeleteProvisionedProductPlan

instance Prelude.NFData DeleteProvisionedProductPlan

instance Core.ToHeaders DeleteProvisionedProductPlan where
  toHeaders :: DeleteProvisionedProductPlan -> ResponseHeaders
toHeaders =
    ResponseHeaders -> DeleteProvisionedProductPlan -> 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
"AWS242ServiceCatalogService.DeleteProvisionedProductPlan" ::
                          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 DeleteProvisionedProductPlan where
  toJSON :: DeleteProvisionedProductPlan -> Value
toJSON DeleteProvisionedProductPlan' {Maybe Bool
Maybe Text
Text
planId :: Text
ignoreErrors :: Maybe Bool
acceptLanguage :: Maybe Text
$sel:planId:DeleteProvisionedProductPlan' :: DeleteProvisionedProductPlan -> Text
$sel:ignoreErrors:DeleteProvisionedProductPlan' :: DeleteProvisionedProductPlan -> Maybe Bool
$sel:acceptLanguage:DeleteProvisionedProductPlan' :: DeleteProvisionedProductPlan -> Maybe Text
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ (Text
"AcceptLanguage" 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
acceptLanguage,
            (Text
"IgnoreErrors" 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
ignoreErrors,
            Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just (Text
"PlanId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
planId)
          ]
      )

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

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

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

-- |
-- Create a value of 'DeleteProvisionedProductPlanResponse' 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:
--
-- 'httpStatus', 'deleteProvisionedProductPlanResponse_httpStatus' - The response's http status code.
newDeleteProvisionedProductPlanResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  DeleteProvisionedProductPlanResponse
newDeleteProvisionedProductPlanResponse :: Int -> DeleteProvisionedProductPlanResponse
newDeleteProvisionedProductPlanResponse Int
pHttpStatus_ =
  DeleteProvisionedProductPlanResponse' :: Int -> DeleteProvisionedProductPlanResponse
DeleteProvisionedProductPlanResponse'
    { $sel:httpStatus:DeleteProvisionedProductPlanResponse' :: Int
httpStatus =
        Int
pHttpStatus_
    }

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

instance
  Prelude.NFData
    DeleteProvisionedProductPlanResponse