{-# 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.Config.PutRemediationConfigurations
-- 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)
--
-- Adds or updates the remediation configuration with a specific Config
-- rule with the selected target or action. The API creates the
-- @RemediationConfiguration@ object for the Config rule. The Config rule
-- must already exist for you to add a remediation configuration. The
-- target (SSM document) must exist and have permissions to use the target.
--
-- If you make backward incompatible changes to the SSM document, you must
-- call this again to ensure the remediations can run.
--
-- This API does not support adding remediation configurations for
-- service-linked Config Rules such as Organization Config rules, the rules
-- deployed by conformance packs, and rules deployed by Amazon Web Services
-- Security Hub.
module Amazonka.Config.PutRemediationConfigurations
  ( -- * Creating a Request
    PutRemediationConfigurations (..),
    newPutRemediationConfigurations,

    -- * Request Lenses
    putRemediationConfigurations_remediationConfigurations,

    -- * Destructuring the Response
    PutRemediationConfigurationsResponse (..),
    newPutRemediationConfigurationsResponse,

    -- * Response Lenses
    putRemediationConfigurationsResponse_failedBatches,
    putRemediationConfigurationsResponse_httpStatus,
  )
where

import Amazonka.Config.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:/ 'newPutRemediationConfigurations' smart constructor.
data PutRemediationConfigurations = PutRemediationConfigurations'
  { -- | A list of remediation configuration objects.
    PutRemediationConfigurations -> [RemediationConfiguration]
remediationConfigurations :: [RemediationConfiguration]
  }
  deriving (PutRemediationConfigurations
-> PutRemediationConfigurations -> Bool
(PutRemediationConfigurations
 -> PutRemediationConfigurations -> Bool)
-> (PutRemediationConfigurations
    -> PutRemediationConfigurations -> Bool)
-> Eq PutRemediationConfigurations
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: PutRemediationConfigurations
-> PutRemediationConfigurations -> Bool
$c/= :: PutRemediationConfigurations
-> PutRemediationConfigurations -> Bool
== :: PutRemediationConfigurations
-> PutRemediationConfigurations -> Bool
$c== :: PutRemediationConfigurations
-> PutRemediationConfigurations -> Bool
Prelude.Eq, ReadPrec [PutRemediationConfigurations]
ReadPrec PutRemediationConfigurations
Int -> ReadS PutRemediationConfigurations
ReadS [PutRemediationConfigurations]
(Int -> ReadS PutRemediationConfigurations)
-> ReadS [PutRemediationConfigurations]
-> ReadPrec PutRemediationConfigurations
-> ReadPrec [PutRemediationConfigurations]
-> Read PutRemediationConfigurations
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [PutRemediationConfigurations]
$creadListPrec :: ReadPrec [PutRemediationConfigurations]
readPrec :: ReadPrec PutRemediationConfigurations
$creadPrec :: ReadPrec PutRemediationConfigurations
readList :: ReadS [PutRemediationConfigurations]
$creadList :: ReadS [PutRemediationConfigurations]
readsPrec :: Int -> ReadS PutRemediationConfigurations
$creadsPrec :: Int -> ReadS PutRemediationConfigurations
Prelude.Read, Int -> PutRemediationConfigurations -> ShowS
[PutRemediationConfigurations] -> ShowS
PutRemediationConfigurations -> String
(Int -> PutRemediationConfigurations -> ShowS)
-> (PutRemediationConfigurations -> String)
-> ([PutRemediationConfigurations] -> ShowS)
-> Show PutRemediationConfigurations
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [PutRemediationConfigurations] -> ShowS
$cshowList :: [PutRemediationConfigurations] -> ShowS
show :: PutRemediationConfigurations -> String
$cshow :: PutRemediationConfigurations -> String
showsPrec :: Int -> PutRemediationConfigurations -> ShowS
$cshowsPrec :: Int -> PutRemediationConfigurations -> ShowS
Prelude.Show, (forall x.
 PutRemediationConfigurations -> Rep PutRemediationConfigurations x)
-> (forall x.
    Rep PutRemediationConfigurations x -> PutRemediationConfigurations)
-> Generic PutRemediationConfigurations
forall x.
Rep PutRemediationConfigurations x -> PutRemediationConfigurations
forall x.
PutRemediationConfigurations -> Rep PutRemediationConfigurations x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep PutRemediationConfigurations x -> PutRemediationConfigurations
$cfrom :: forall x.
PutRemediationConfigurations -> Rep PutRemediationConfigurations x
Prelude.Generic)

-- |
-- Create a value of 'PutRemediationConfigurations' 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:
--
-- 'remediationConfigurations', 'putRemediationConfigurations_remediationConfigurations' - A list of remediation configuration objects.
newPutRemediationConfigurations ::
  PutRemediationConfigurations
newPutRemediationConfigurations :: PutRemediationConfigurations
newPutRemediationConfigurations =
  PutRemediationConfigurations' :: [RemediationConfiguration] -> PutRemediationConfigurations
PutRemediationConfigurations'
    { $sel:remediationConfigurations:PutRemediationConfigurations' :: [RemediationConfiguration]
remediationConfigurations =
        [RemediationConfiguration]
forall a. Monoid a => a
Prelude.mempty
    }

-- | A list of remediation configuration objects.
putRemediationConfigurations_remediationConfigurations :: Lens.Lens' PutRemediationConfigurations [RemediationConfiguration]
putRemediationConfigurations_remediationConfigurations :: ([RemediationConfiguration] -> f [RemediationConfiguration])
-> PutRemediationConfigurations -> f PutRemediationConfigurations
putRemediationConfigurations_remediationConfigurations = (PutRemediationConfigurations -> [RemediationConfiguration])
-> (PutRemediationConfigurations
    -> [RemediationConfiguration] -> PutRemediationConfigurations)
-> Lens
     PutRemediationConfigurations
     PutRemediationConfigurations
     [RemediationConfiguration]
     [RemediationConfiguration]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutRemediationConfigurations' {[RemediationConfiguration]
remediationConfigurations :: [RemediationConfiguration]
$sel:remediationConfigurations:PutRemediationConfigurations' :: PutRemediationConfigurations -> [RemediationConfiguration]
remediationConfigurations} -> [RemediationConfiguration]
remediationConfigurations) (\s :: PutRemediationConfigurations
s@PutRemediationConfigurations' {} [RemediationConfiguration]
a -> PutRemediationConfigurations
s {$sel:remediationConfigurations:PutRemediationConfigurations' :: [RemediationConfiguration]
remediationConfigurations = [RemediationConfiguration]
a} :: PutRemediationConfigurations) (([RemediationConfiguration] -> f [RemediationConfiguration])
 -> PutRemediationConfigurations -> f PutRemediationConfigurations)
-> (([RemediationConfiguration] -> f [RemediationConfiguration])
    -> [RemediationConfiguration] -> f [RemediationConfiguration])
-> ([RemediationConfiguration] -> f [RemediationConfiguration])
-> PutRemediationConfigurations
-> f PutRemediationConfigurations
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([RemediationConfiguration] -> f [RemediationConfiguration])
-> [RemediationConfiguration] -> f [RemediationConfiguration]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

instance Core.AWSRequest PutRemediationConfigurations where
  type
    AWSResponse PutRemediationConfigurations =
      PutRemediationConfigurationsResponse
  request :: PutRemediationConfigurations
-> Request PutRemediationConfigurations
request = Service
-> PutRemediationConfigurations
-> Request PutRemediationConfigurations
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy PutRemediationConfigurations
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse PutRemediationConfigurations)))
response =
    (Int
 -> ResponseHeaders
 -> Object
 -> Either String (AWSResponse PutRemediationConfigurations))
-> Logger
-> Service
-> Proxy PutRemediationConfigurations
-> ClientResponse ClientBody
-> m (Either
        Error (ClientResponse (AWSResponse PutRemediationConfigurations)))
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 [FailedRemediationBatch]
-> Int -> PutRemediationConfigurationsResponse
PutRemediationConfigurationsResponse'
            (Maybe [FailedRemediationBatch]
 -> Int -> PutRemediationConfigurationsResponse)
-> Either String (Maybe [FailedRemediationBatch])
-> Either String (Int -> PutRemediationConfigurationsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> (Object
x Object
-> Key -> Either String (Maybe (Maybe [FailedRemediationBatch]))
forall a. FromJSON a => Object -> Key -> Either String (Maybe a)
Core..?> Key
"FailedBatches" Either String (Maybe (Maybe [FailedRemediationBatch]))
-> Maybe [FailedRemediationBatch]
-> Either String (Maybe [FailedRemediationBatch])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [FailedRemediationBatch]
forall a. Monoid a => a
Prelude.mempty)
            Either String (Int -> PutRemediationConfigurationsResponse)
-> Either String Int
-> Either String PutRemediationConfigurationsResponse
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
    PutRemediationConfigurations

instance Prelude.NFData PutRemediationConfigurations

instance Core.ToHeaders PutRemediationConfigurations where
  toHeaders :: PutRemediationConfigurations -> ResponseHeaders
toHeaders =
    ResponseHeaders -> PutRemediationConfigurations -> 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
"StarlingDoveService.PutRemediationConfigurations" ::
                          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 PutRemediationConfigurations where
  toJSON :: PutRemediationConfigurations -> Value
toJSON PutRemediationConfigurations' {[RemediationConfiguration]
remediationConfigurations :: [RemediationConfiguration]
$sel:remediationConfigurations:PutRemediationConfigurations' :: PutRemediationConfigurations -> [RemediationConfiguration]
..} =
    [Pair] -> Value
Core.object
      ( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
          [ Pair -> Maybe Pair
forall a. a -> Maybe a
Prelude.Just
              ( Key
"RemediationConfigurations"
                  Key -> [RemediationConfiguration] -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Key -> v -> kv
Core..= [RemediationConfiguration]
remediationConfigurations
              )
          ]
      )

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

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

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

-- |
-- Create a value of 'PutRemediationConfigurationsResponse' 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:
--
-- 'failedBatches', 'putRemediationConfigurationsResponse_failedBatches' - Returns a list of failed remediation batch objects.
--
-- 'httpStatus', 'putRemediationConfigurationsResponse_httpStatus' - The response's http status code.
newPutRemediationConfigurationsResponse ::
  -- | 'httpStatus'
  Prelude.Int ->
  PutRemediationConfigurationsResponse
newPutRemediationConfigurationsResponse :: Int -> PutRemediationConfigurationsResponse
newPutRemediationConfigurationsResponse Int
pHttpStatus_ =
  PutRemediationConfigurationsResponse' :: Maybe [FailedRemediationBatch]
-> Int -> PutRemediationConfigurationsResponse
PutRemediationConfigurationsResponse'
    { $sel:failedBatches:PutRemediationConfigurationsResponse' :: Maybe [FailedRemediationBatch]
failedBatches =
        Maybe [FailedRemediationBatch]
forall a. Maybe a
Prelude.Nothing,
      $sel:httpStatus:PutRemediationConfigurationsResponse' :: Int
httpStatus = Int
pHttpStatus_
    }

-- | Returns a list of failed remediation batch objects.
putRemediationConfigurationsResponse_failedBatches :: Lens.Lens' PutRemediationConfigurationsResponse (Prelude.Maybe [FailedRemediationBatch])
putRemediationConfigurationsResponse_failedBatches :: (Maybe [FailedRemediationBatch]
 -> f (Maybe [FailedRemediationBatch]))
-> PutRemediationConfigurationsResponse
-> f PutRemediationConfigurationsResponse
putRemediationConfigurationsResponse_failedBatches = (PutRemediationConfigurationsResponse
 -> Maybe [FailedRemediationBatch])
-> (PutRemediationConfigurationsResponse
    -> Maybe [FailedRemediationBatch]
    -> PutRemediationConfigurationsResponse)
-> Lens
     PutRemediationConfigurationsResponse
     PutRemediationConfigurationsResponse
     (Maybe [FailedRemediationBatch])
     (Maybe [FailedRemediationBatch])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\PutRemediationConfigurationsResponse' {Maybe [FailedRemediationBatch]
failedBatches :: Maybe [FailedRemediationBatch]
$sel:failedBatches:PutRemediationConfigurationsResponse' :: PutRemediationConfigurationsResponse
-> Maybe [FailedRemediationBatch]
failedBatches} -> Maybe [FailedRemediationBatch]
failedBatches) (\s :: PutRemediationConfigurationsResponse
s@PutRemediationConfigurationsResponse' {} Maybe [FailedRemediationBatch]
a -> PutRemediationConfigurationsResponse
s {$sel:failedBatches:PutRemediationConfigurationsResponse' :: Maybe [FailedRemediationBatch]
failedBatches = Maybe [FailedRemediationBatch]
a} :: PutRemediationConfigurationsResponse) ((Maybe [FailedRemediationBatch]
  -> f (Maybe [FailedRemediationBatch]))
 -> PutRemediationConfigurationsResponse
 -> f PutRemediationConfigurationsResponse)
-> ((Maybe [FailedRemediationBatch]
     -> f (Maybe [FailedRemediationBatch]))
    -> Maybe [FailedRemediationBatch]
    -> f (Maybe [FailedRemediationBatch]))
-> (Maybe [FailedRemediationBatch]
    -> f (Maybe [FailedRemediationBatch]))
-> PutRemediationConfigurationsResponse
-> f PutRemediationConfigurationsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
  [FailedRemediationBatch]
  [FailedRemediationBatch]
  [FailedRemediationBatch]
  [FailedRemediationBatch]
-> Iso
     (Maybe [FailedRemediationBatch])
     (Maybe [FailedRemediationBatch])
     (Maybe [FailedRemediationBatch])
     (Maybe [FailedRemediationBatch])
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
  [FailedRemediationBatch]
  [FailedRemediationBatch]
  [FailedRemediationBatch]
  [FailedRemediationBatch]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced

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

instance
  Prelude.NFData
    PutRemediationConfigurationsResponse