{-# 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.AuditManager.DisassociateAssessmentReportEvidenceFolder
-- 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)
--
-- Disassociates an evidence folder from the specified assessment report in
-- Audit Manager.
module Amazonka.AuditManager.DisassociateAssessmentReportEvidenceFolder
  ( -- * Creating a Request
    DisassociateAssessmentReportEvidenceFolder (..),
    newDisassociateAssessmentReportEvidenceFolder,

    -- * Request Lenses
    disassociateAssessmentReportEvidenceFolder_assessmentId,
    disassociateAssessmentReportEvidenceFolder_evidenceFolderId,

    -- * Destructuring the Response
    DisassociateAssessmentReportEvidenceFolderResponse (..),
    newDisassociateAssessmentReportEvidenceFolderResponse,

    -- * Response Lenses
    disassociateAssessmentReportEvidenceFolderResponse_httpStatus,
  )
where

import Amazonka.AuditManager.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:/ 'newDisassociateAssessmentReportEvidenceFolder' smart constructor.
data DisassociateAssessmentReportEvidenceFolder = DisassociateAssessmentReportEvidenceFolder'
  { -- | The identifier for the specified assessment.
    DisassociateAssessmentReportEvidenceFolder -> Text
assessmentId :: Prelude.Text,
    -- | The identifier for the folder in which evidence is stored.
    DisassociateAssessmentReportEvidenceFolder -> Text
evidenceFolderId :: Prelude.Text
  }
  deriving (DisassociateAssessmentReportEvidenceFolder
-> DisassociateAssessmentReportEvidenceFolder -> Bool
(DisassociateAssessmentReportEvidenceFolder
 -> DisassociateAssessmentReportEvidenceFolder -> Bool)
-> (DisassociateAssessmentReportEvidenceFolder
    -> DisassociateAssessmentReportEvidenceFolder -> Bool)
-> Eq DisassociateAssessmentReportEvidenceFolder
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: DisassociateAssessmentReportEvidenceFolder
-> DisassociateAssessmentReportEvidenceFolder -> Bool
$c/= :: DisassociateAssessmentReportEvidenceFolder
-> DisassociateAssessmentReportEvidenceFolder -> Bool
== :: DisassociateAssessmentReportEvidenceFolder
-> DisassociateAssessmentReportEvidenceFolder -> Bool
$c== :: DisassociateAssessmentReportEvidenceFolder
-> DisassociateAssessmentReportEvidenceFolder -> Bool
Prelude.Eq, ReadPrec [DisassociateAssessmentReportEvidenceFolder]
ReadPrec DisassociateAssessmentReportEvidenceFolder
Int -> ReadS DisassociateAssessmentReportEvidenceFolder
ReadS [DisassociateAssessmentReportEvidenceFolder]
(Int -> ReadS DisassociateAssessmentReportEvidenceFolder)
-> ReadS [DisassociateAssessmentReportEvidenceFolder]
-> ReadPrec DisassociateAssessmentReportEvidenceFolder
-> ReadPrec [DisassociateAssessmentReportEvidenceFolder]
-> Read DisassociateAssessmentReportEvidenceFolder
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [DisassociateAssessmentReportEvidenceFolder]
$creadListPrec :: ReadPrec [DisassociateAssessmentReportEvidenceFolder]
readPrec :: ReadPrec DisassociateAssessmentReportEvidenceFolder
$creadPrec :: ReadPrec DisassociateAssessmentReportEvidenceFolder
readList :: ReadS [DisassociateAssessmentReportEvidenceFolder]
$creadList :: ReadS [DisassociateAssessmentReportEvidenceFolder]
readsPrec :: Int -> ReadS DisassociateAssessmentReportEvidenceFolder
$creadsPrec :: Int -> ReadS DisassociateAssessmentReportEvidenceFolder
Prelude.Read, Int -> DisassociateAssessmentReportEvidenceFolder -> ShowS
[DisassociateAssessmentReportEvidenceFolder] -> ShowS
DisassociateAssessmentReportEvidenceFolder -> String
(Int -> DisassociateAssessmentReportEvidenceFolder -> ShowS)
-> (DisassociateAssessmentReportEvidenceFolder -> String)
-> ([DisassociateAssessmentReportEvidenceFolder] -> ShowS)
-> Show DisassociateAssessmentReportEvidenceFolder
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [DisassociateAssessmentReportEvidenceFolder] -> ShowS
$cshowList :: [DisassociateAssessmentReportEvidenceFolder] -> ShowS
show :: DisassociateAssessmentReportEvidenceFolder -> String
$cshow :: DisassociateAssessmentReportEvidenceFolder -> String
showsPrec :: Int -> DisassociateAssessmentReportEvidenceFolder -> ShowS
$cshowsPrec :: Int -> DisassociateAssessmentReportEvidenceFolder -> ShowS
Prelude.Show, (forall x.
 DisassociateAssessmentReportEvidenceFolder
 -> Rep DisassociateAssessmentReportEvidenceFolder x)
-> (forall x.
    Rep DisassociateAssessmentReportEvidenceFolder x
    -> DisassociateAssessmentReportEvidenceFolder)
-> Generic DisassociateAssessmentReportEvidenceFolder
forall x.
Rep DisassociateAssessmentReportEvidenceFolder x
-> DisassociateAssessmentReportEvidenceFolder
forall x.
DisassociateAssessmentReportEvidenceFolder
-> Rep DisassociateAssessmentReportEvidenceFolder x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep DisassociateAssessmentReportEvidenceFolder x
-> DisassociateAssessmentReportEvidenceFolder
$cfrom :: forall x.
DisassociateAssessmentReportEvidenceFolder
-> Rep DisassociateAssessmentReportEvidenceFolder x
Prelude.Generic)

-- |
-- Create a value of 'DisassociateAssessmentReportEvidenceFolder' 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:
--
-- 'assessmentId', 'disassociateAssessmentReportEvidenceFolder_assessmentId' - The identifier for the specified assessment.
--
-- 'evidenceFolderId', 'disassociateAssessmentReportEvidenceFolder_evidenceFolderId' - The identifier for the folder in which evidence is stored.
newDisassociateAssessmentReportEvidenceFolder ::
  -- | 'assessmentId'
  Prelude.Text ->
  -- | 'evidenceFolderId'
  Prelude.Text ->
  DisassociateAssessmentReportEvidenceFolder
newDisassociateAssessmentReportEvidenceFolder :: Text -> Text -> DisassociateAssessmentReportEvidenceFolder
newDisassociateAssessmentReportEvidenceFolder
  Text
pAssessmentId_
  Text
pEvidenceFolderId_ =
    DisassociateAssessmentReportEvidenceFolder' :: Text -> Text -> DisassociateAssessmentReportEvidenceFolder
DisassociateAssessmentReportEvidenceFolder'
      { $sel:assessmentId:DisassociateAssessmentReportEvidenceFolder' :: Text
assessmentId =
          Text
pAssessmentId_,
        $sel:evidenceFolderId:DisassociateAssessmentReportEvidenceFolder' :: Text
evidenceFolderId =
          Text
pEvidenceFolderId_
      }

-- | The identifier for the specified assessment.
disassociateAssessmentReportEvidenceFolder_assessmentId :: Lens.Lens' DisassociateAssessmentReportEvidenceFolder Prelude.Text
disassociateAssessmentReportEvidenceFolder_assessmentId :: (Text -> f Text)
-> DisassociateAssessmentReportEvidenceFolder
-> f DisassociateAssessmentReportEvidenceFolder
disassociateAssessmentReportEvidenceFolder_assessmentId = (DisassociateAssessmentReportEvidenceFolder -> Text)
-> (DisassociateAssessmentReportEvidenceFolder
    -> Text -> DisassociateAssessmentReportEvidenceFolder)
-> Lens
     DisassociateAssessmentReportEvidenceFolder
     DisassociateAssessmentReportEvidenceFolder
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DisassociateAssessmentReportEvidenceFolder' {Text
assessmentId :: Text
$sel:assessmentId:DisassociateAssessmentReportEvidenceFolder' :: DisassociateAssessmentReportEvidenceFolder -> Text
assessmentId} -> Text
assessmentId) (\s :: DisassociateAssessmentReportEvidenceFolder
s@DisassociateAssessmentReportEvidenceFolder' {} Text
a -> DisassociateAssessmentReportEvidenceFolder
s {$sel:assessmentId:DisassociateAssessmentReportEvidenceFolder' :: Text
assessmentId = Text
a} :: DisassociateAssessmentReportEvidenceFolder)

-- | The identifier for the folder in which evidence is stored.
disassociateAssessmentReportEvidenceFolder_evidenceFolderId :: Lens.Lens' DisassociateAssessmentReportEvidenceFolder Prelude.Text
disassociateAssessmentReportEvidenceFolder_evidenceFolderId :: (Text -> f Text)
-> DisassociateAssessmentReportEvidenceFolder
-> f DisassociateAssessmentReportEvidenceFolder
disassociateAssessmentReportEvidenceFolder_evidenceFolderId = (DisassociateAssessmentReportEvidenceFolder -> Text)
-> (DisassociateAssessmentReportEvidenceFolder
    -> Text -> DisassociateAssessmentReportEvidenceFolder)
-> Lens
     DisassociateAssessmentReportEvidenceFolder
     DisassociateAssessmentReportEvidenceFolder
     Text
     Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\DisassociateAssessmentReportEvidenceFolder' {Text
evidenceFolderId :: Text
$sel:evidenceFolderId:DisassociateAssessmentReportEvidenceFolder' :: DisassociateAssessmentReportEvidenceFolder -> Text
evidenceFolderId} -> Text
evidenceFolderId) (\s :: DisassociateAssessmentReportEvidenceFolder
s@DisassociateAssessmentReportEvidenceFolder' {} Text
a -> DisassociateAssessmentReportEvidenceFolder
s {$sel:evidenceFolderId:DisassociateAssessmentReportEvidenceFolder' :: Text
evidenceFolderId = Text
a} :: DisassociateAssessmentReportEvidenceFolder)

instance
  Core.AWSRequest
    DisassociateAssessmentReportEvidenceFolder
  where
  type
    AWSResponse
      DisassociateAssessmentReportEvidenceFolder =
      DisassociateAssessmentReportEvidenceFolderResponse
  request :: DisassociateAssessmentReportEvidenceFolder
-> Request DisassociateAssessmentReportEvidenceFolder
request = Service
-> DisassociateAssessmentReportEvidenceFolder
-> Request DisassociateAssessmentReportEvidenceFolder
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.putJSON Service
defaultService
  response :: Logger
-> Service
-> Proxy DisassociateAssessmentReportEvidenceFolder
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse
           (AWSResponse DisassociateAssessmentReportEvidenceFolder)))
response =
    (Int
 -> ResponseHeaders
 -> ()
 -> Either
      String (AWSResponse DisassociateAssessmentReportEvidenceFolder))
-> Logger
-> Service
-> Proxy DisassociateAssessmentReportEvidenceFolder
-> ClientResponse ClientBody
-> m (Either
        Error
        (ClientResponse
           (AWSResponse DisassociateAssessmentReportEvidenceFolder)))
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 -> DisassociateAssessmentReportEvidenceFolderResponse
DisassociateAssessmentReportEvidenceFolderResponse'
            (Int -> DisassociateAssessmentReportEvidenceFolderResponse)
-> Either String Int
-> Either String DisassociateAssessmentReportEvidenceFolderResponse
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
    DisassociateAssessmentReportEvidenceFolder

instance
  Prelude.NFData
    DisassociateAssessmentReportEvidenceFolder

instance
  Core.ToHeaders
    DisassociateAssessmentReportEvidenceFolder
  where
  toHeaders :: DisassociateAssessmentReportEvidenceFolder -> ResponseHeaders
toHeaders =
    ResponseHeaders
-> DisassociateAssessmentReportEvidenceFolder -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const
      ( [ResponseHeaders] -> ResponseHeaders
forall a. Monoid a => [a] -> a
Prelude.mconcat
          [ 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
    DisassociateAssessmentReportEvidenceFolder
  where
  toJSON :: DisassociateAssessmentReportEvidenceFolder -> Value
toJSON
    DisassociateAssessmentReportEvidenceFolder' {Text
evidenceFolderId :: Text
assessmentId :: Text
$sel:evidenceFolderId:DisassociateAssessmentReportEvidenceFolder' :: DisassociateAssessmentReportEvidenceFolder -> Text
$sel:assessmentId:DisassociateAssessmentReportEvidenceFolder' :: DisassociateAssessmentReportEvidenceFolder -> 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
"evidenceFolderId" Text -> Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= Text
evidenceFolderId)
            ]
        )

instance
  Core.ToPath
    DisassociateAssessmentReportEvidenceFolder
  where
  toPath :: DisassociateAssessmentReportEvidenceFolder -> ByteString
toPath
    DisassociateAssessmentReportEvidenceFolder' {Text
evidenceFolderId :: Text
assessmentId :: Text
$sel:evidenceFolderId:DisassociateAssessmentReportEvidenceFolder' :: DisassociateAssessmentReportEvidenceFolder -> Text
$sel:assessmentId:DisassociateAssessmentReportEvidenceFolder' :: DisassociateAssessmentReportEvidenceFolder -> Text
..} =
      [ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
        [ ByteString
"/assessments/",
          Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
assessmentId,
          ByteString
"/disassociateFromAssessmentReport"
        ]

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

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

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

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

instance
  Prelude.NFData
    DisassociateAssessmentReportEvidenceFolderResponse