{-# 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 #-}
module Amazonka.CodeBuild.BatchDeleteBuilds
(
BatchDeleteBuilds (..),
newBatchDeleteBuilds,
batchDeleteBuilds_ids,
BatchDeleteBuildsResponse (..),
newBatchDeleteBuildsResponse,
batchDeleteBuildsResponse_buildsNotDeleted,
batchDeleteBuildsResponse_buildsDeleted,
batchDeleteBuildsResponse_httpStatus,
)
where
import Amazonka.CodeBuild.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
data BatchDeleteBuilds = BatchDeleteBuilds'
{
BatchDeleteBuilds -> NonEmpty Text
ids :: Prelude.NonEmpty Prelude.Text
}
deriving (BatchDeleteBuilds -> BatchDeleteBuilds -> Bool
(BatchDeleteBuilds -> BatchDeleteBuilds -> Bool)
-> (BatchDeleteBuilds -> BatchDeleteBuilds -> Bool)
-> Eq BatchDeleteBuilds
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BatchDeleteBuilds -> BatchDeleteBuilds -> Bool
$c/= :: BatchDeleteBuilds -> BatchDeleteBuilds -> Bool
== :: BatchDeleteBuilds -> BatchDeleteBuilds -> Bool
$c== :: BatchDeleteBuilds -> BatchDeleteBuilds -> Bool
Prelude.Eq, ReadPrec [BatchDeleteBuilds]
ReadPrec BatchDeleteBuilds
Int -> ReadS BatchDeleteBuilds
ReadS [BatchDeleteBuilds]
(Int -> ReadS BatchDeleteBuilds)
-> ReadS [BatchDeleteBuilds]
-> ReadPrec BatchDeleteBuilds
-> ReadPrec [BatchDeleteBuilds]
-> Read BatchDeleteBuilds
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BatchDeleteBuilds]
$creadListPrec :: ReadPrec [BatchDeleteBuilds]
readPrec :: ReadPrec BatchDeleteBuilds
$creadPrec :: ReadPrec BatchDeleteBuilds
readList :: ReadS [BatchDeleteBuilds]
$creadList :: ReadS [BatchDeleteBuilds]
readsPrec :: Int -> ReadS BatchDeleteBuilds
$creadsPrec :: Int -> ReadS BatchDeleteBuilds
Prelude.Read, Int -> BatchDeleteBuilds -> ShowS
[BatchDeleteBuilds] -> ShowS
BatchDeleteBuilds -> String
(Int -> BatchDeleteBuilds -> ShowS)
-> (BatchDeleteBuilds -> String)
-> ([BatchDeleteBuilds] -> ShowS)
-> Show BatchDeleteBuilds
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BatchDeleteBuilds] -> ShowS
$cshowList :: [BatchDeleteBuilds] -> ShowS
show :: BatchDeleteBuilds -> String
$cshow :: BatchDeleteBuilds -> String
showsPrec :: Int -> BatchDeleteBuilds -> ShowS
$cshowsPrec :: Int -> BatchDeleteBuilds -> ShowS
Prelude.Show, (forall x. BatchDeleteBuilds -> Rep BatchDeleteBuilds x)
-> (forall x. Rep BatchDeleteBuilds x -> BatchDeleteBuilds)
-> Generic BatchDeleteBuilds
forall x. Rep BatchDeleteBuilds x -> BatchDeleteBuilds
forall x. BatchDeleteBuilds -> Rep BatchDeleteBuilds x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep BatchDeleteBuilds x -> BatchDeleteBuilds
$cfrom :: forall x. BatchDeleteBuilds -> Rep BatchDeleteBuilds x
Prelude.Generic)
newBatchDeleteBuilds ::
Prelude.NonEmpty Prelude.Text ->
BatchDeleteBuilds
newBatchDeleteBuilds :: NonEmpty Text -> BatchDeleteBuilds
newBatchDeleteBuilds NonEmpty Text
pIds_ =
BatchDeleteBuilds' :: NonEmpty Text -> BatchDeleteBuilds
BatchDeleteBuilds' {$sel:ids:BatchDeleteBuilds' :: NonEmpty Text
ids = Tagged (NonEmpty Text) (Identity (NonEmpty Text))
-> Tagged (NonEmpty Text) (Identity (NonEmpty Text))
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced (Tagged (NonEmpty Text) (Identity (NonEmpty Text))
-> Tagged (NonEmpty Text) (Identity (NonEmpty Text)))
-> NonEmpty Text -> NonEmpty Text
forall t b. AReview t b -> b -> t
Lens.# NonEmpty Text
pIds_}
batchDeleteBuilds_ids :: Lens.Lens' BatchDeleteBuilds (Prelude.NonEmpty Prelude.Text)
batchDeleteBuilds_ids :: (NonEmpty Text -> f (NonEmpty Text))
-> BatchDeleteBuilds -> f BatchDeleteBuilds
batchDeleteBuilds_ids = (BatchDeleteBuilds -> NonEmpty Text)
-> (BatchDeleteBuilds -> NonEmpty Text -> BatchDeleteBuilds)
-> Lens
BatchDeleteBuilds BatchDeleteBuilds (NonEmpty Text) (NonEmpty Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchDeleteBuilds' {NonEmpty Text
ids :: NonEmpty Text
$sel:ids:BatchDeleteBuilds' :: BatchDeleteBuilds -> NonEmpty Text
ids} -> NonEmpty Text
ids) (\s :: BatchDeleteBuilds
s@BatchDeleteBuilds' {} NonEmpty Text
a -> BatchDeleteBuilds
s {$sel:ids:BatchDeleteBuilds' :: NonEmpty Text
ids = NonEmpty Text
a} :: BatchDeleteBuilds) ((NonEmpty Text -> f (NonEmpty Text))
-> BatchDeleteBuilds -> f BatchDeleteBuilds)
-> ((NonEmpty Text -> f (NonEmpty Text))
-> NonEmpty Text -> f (NonEmpty Text))
-> (NonEmpty Text -> f (NonEmpty Text))
-> BatchDeleteBuilds
-> f BatchDeleteBuilds
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. (NonEmpty Text -> f (NonEmpty Text))
-> NonEmpty Text -> f (NonEmpty Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Core.AWSRequest BatchDeleteBuilds where
type
AWSResponse BatchDeleteBuilds =
BatchDeleteBuildsResponse
request :: BatchDeleteBuilds -> Request BatchDeleteBuilds
request = Service -> BatchDeleteBuilds -> Request BatchDeleteBuilds
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy BatchDeleteBuilds
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse BatchDeleteBuilds)))
response =
(Int
-> ResponseHeaders
-> Object
-> Either String (AWSResponse BatchDeleteBuilds))
-> Logger
-> Service
-> Proxy BatchDeleteBuilds
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse BatchDeleteBuilds)))
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 [BuildNotDeleted]
-> Maybe (NonEmpty Text) -> Int -> BatchDeleteBuildsResponse
BatchDeleteBuildsResponse'
(Maybe [BuildNotDeleted]
-> Maybe (NonEmpty Text) -> Int -> BatchDeleteBuildsResponse)
-> Either String (Maybe [BuildNotDeleted])
-> Either
String (Maybe (NonEmpty Text) -> Int -> BatchDeleteBuildsResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( Object
x Object -> Text -> Either String (Maybe (Maybe [BuildNotDeleted]))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"buildsNotDeleted"
Either String (Maybe (Maybe [BuildNotDeleted]))
-> Maybe [BuildNotDeleted]
-> Either String (Maybe [BuildNotDeleted])
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ Maybe [BuildNotDeleted]
forall a. Monoid a => a
Prelude.mempty
)
Either
String (Maybe (NonEmpty Text) -> Int -> BatchDeleteBuildsResponse)
-> Either String (Maybe (NonEmpty Text))
-> Either String (Int -> BatchDeleteBuildsResponse)
forall (f :: * -> *) a b. Applicative f => f (a -> b) -> f a -> f b
Prelude.<*> (Object
x Object -> Text -> Either String (Maybe (NonEmpty Text))
forall a. FromJSON a => Object -> Text -> Either String (Maybe a)
Core..?> Text
"buildsDeleted")
Either String (Int -> BatchDeleteBuildsResponse)
-> Either String Int -> Either String BatchDeleteBuildsResponse
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 BatchDeleteBuilds
instance Prelude.NFData BatchDeleteBuilds
instance Core.ToHeaders BatchDeleteBuilds where
toHeaders :: BatchDeleteBuilds -> ResponseHeaders
toHeaders =
ResponseHeaders -> BatchDeleteBuilds -> 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
"CodeBuild_20161006.BatchDeleteBuilds" ::
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 BatchDeleteBuilds where
toJSON :: BatchDeleteBuilds -> Value
toJSON BatchDeleteBuilds' {NonEmpty Text
ids :: NonEmpty Text
$sel:ids:BatchDeleteBuilds' :: BatchDeleteBuilds -> NonEmpty 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
"ids" Text -> NonEmpty Text -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..= NonEmpty Text
ids)]
)
instance Core.ToPath BatchDeleteBuilds where
toPath :: BatchDeleteBuilds -> ByteString
toPath = ByteString -> BatchDeleteBuilds -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery BatchDeleteBuilds where
toQuery :: BatchDeleteBuilds -> QueryString
toQuery = QueryString -> BatchDeleteBuilds -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data BatchDeleteBuildsResponse = BatchDeleteBuildsResponse'
{
BatchDeleteBuildsResponse -> Maybe [BuildNotDeleted]
buildsNotDeleted :: Prelude.Maybe [BuildNotDeleted],
BatchDeleteBuildsResponse -> Maybe (NonEmpty Text)
buildsDeleted :: Prelude.Maybe (Prelude.NonEmpty Prelude.Text),
BatchDeleteBuildsResponse -> Int
httpStatus :: Prelude.Int
}
deriving (BatchDeleteBuildsResponse -> BatchDeleteBuildsResponse -> Bool
(BatchDeleteBuildsResponse -> BatchDeleteBuildsResponse -> Bool)
-> (BatchDeleteBuildsResponse -> BatchDeleteBuildsResponse -> Bool)
-> Eq BatchDeleteBuildsResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BatchDeleteBuildsResponse -> BatchDeleteBuildsResponse -> Bool
$c/= :: BatchDeleteBuildsResponse -> BatchDeleteBuildsResponse -> Bool
== :: BatchDeleteBuildsResponse -> BatchDeleteBuildsResponse -> Bool
$c== :: BatchDeleteBuildsResponse -> BatchDeleteBuildsResponse -> Bool
Prelude.Eq, ReadPrec [BatchDeleteBuildsResponse]
ReadPrec BatchDeleteBuildsResponse
Int -> ReadS BatchDeleteBuildsResponse
ReadS [BatchDeleteBuildsResponse]
(Int -> ReadS BatchDeleteBuildsResponse)
-> ReadS [BatchDeleteBuildsResponse]
-> ReadPrec BatchDeleteBuildsResponse
-> ReadPrec [BatchDeleteBuildsResponse]
-> Read BatchDeleteBuildsResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BatchDeleteBuildsResponse]
$creadListPrec :: ReadPrec [BatchDeleteBuildsResponse]
readPrec :: ReadPrec BatchDeleteBuildsResponse
$creadPrec :: ReadPrec BatchDeleteBuildsResponse
readList :: ReadS [BatchDeleteBuildsResponse]
$creadList :: ReadS [BatchDeleteBuildsResponse]
readsPrec :: Int -> ReadS BatchDeleteBuildsResponse
$creadsPrec :: Int -> ReadS BatchDeleteBuildsResponse
Prelude.Read, Int -> BatchDeleteBuildsResponse -> ShowS
[BatchDeleteBuildsResponse] -> ShowS
BatchDeleteBuildsResponse -> String
(Int -> BatchDeleteBuildsResponse -> ShowS)
-> (BatchDeleteBuildsResponse -> String)
-> ([BatchDeleteBuildsResponse] -> ShowS)
-> Show BatchDeleteBuildsResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BatchDeleteBuildsResponse] -> ShowS
$cshowList :: [BatchDeleteBuildsResponse] -> ShowS
show :: BatchDeleteBuildsResponse -> String
$cshow :: BatchDeleteBuildsResponse -> String
showsPrec :: Int -> BatchDeleteBuildsResponse -> ShowS
$cshowsPrec :: Int -> BatchDeleteBuildsResponse -> ShowS
Prelude.Show, (forall x.
BatchDeleteBuildsResponse -> Rep BatchDeleteBuildsResponse x)
-> (forall x.
Rep BatchDeleteBuildsResponse x -> BatchDeleteBuildsResponse)
-> Generic BatchDeleteBuildsResponse
forall x.
Rep BatchDeleteBuildsResponse x -> BatchDeleteBuildsResponse
forall x.
BatchDeleteBuildsResponse -> Rep BatchDeleteBuildsResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep BatchDeleteBuildsResponse x -> BatchDeleteBuildsResponse
$cfrom :: forall x.
BatchDeleteBuildsResponse -> Rep BatchDeleteBuildsResponse x
Prelude.Generic)
newBatchDeleteBuildsResponse ::
Prelude.Int ->
BatchDeleteBuildsResponse
newBatchDeleteBuildsResponse :: Int -> BatchDeleteBuildsResponse
newBatchDeleteBuildsResponse Int
pHttpStatus_ =
BatchDeleteBuildsResponse' :: Maybe [BuildNotDeleted]
-> Maybe (NonEmpty Text) -> Int -> BatchDeleteBuildsResponse
BatchDeleteBuildsResponse'
{ $sel:buildsNotDeleted:BatchDeleteBuildsResponse' :: Maybe [BuildNotDeleted]
buildsNotDeleted =
Maybe [BuildNotDeleted]
forall a. Maybe a
Prelude.Nothing,
$sel:buildsDeleted:BatchDeleteBuildsResponse' :: Maybe (NonEmpty Text)
buildsDeleted = Maybe (NonEmpty Text)
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:BatchDeleteBuildsResponse' :: Int
httpStatus = Int
pHttpStatus_
}
batchDeleteBuildsResponse_buildsNotDeleted :: Lens.Lens' BatchDeleteBuildsResponse (Prelude.Maybe [BuildNotDeleted])
batchDeleteBuildsResponse_buildsNotDeleted :: (Maybe [BuildNotDeleted] -> f (Maybe [BuildNotDeleted]))
-> BatchDeleteBuildsResponse -> f BatchDeleteBuildsResponse
batchDeleteBuildsResponse_buildsNotDeleted = (BatchDeleteBuildsResponse -> Maybe [BuildNotDeleted])
-> (BatchDeleteBuildsResponse
-> Maybe [BuildNotDeleted] -> BatchDeleteBuildsResponse)
-> Lens
BatchDeleteBuildsResponse
BatchDeleteBuildsResponse
(Maybe [BuildNotDeleted])
(Maybe [BuildNotDeleted])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchDeleteBuildsResponse' {Maybe [BuildNotDeleted]
buildsNotDeleted :: Maybe [BuildNotDeleted]
$sel:buildsNotDeleted:BatchDeleteBuildsResponse' :: BatchDeleteBuildsResponse -> Maybe [BuildNotDeleted]
buildsNotDeleted} -> Maybe [BuildNotDeleted]
buildsNotDeleted) (\s :: BatchDeleteBuildsResponse
s@BatchDeleteBuildsResponse' {} Maybe [BuildNotDeleted]
a -> BatchDeleteBuildsResponse
s {$sel:buildsNotDeleted:BatchDeleteBuildsResponse' :: Maybe [BuildNotDeleted]
buildsNotDeleted = Maybe [BuildNotDeleted]
a} :: BatchDeleteBuildsResponse) ((Maybe [BuildNotDeleted] -> f (Maybe [BuildNotDeleted]))
-> BatchDeleteBuildsResponse -> f BatchDeleteBuildsResponse)
-> ((Maybe [BuildNotDeleted] -> f (Maybe [BuildNotDeleted]))
-> Maybe [BuildNotDeleted] -> f (Maybe [BuildNotDeleted]))
-> (Maybe [BuildNotDeleted] -> f (Maybe [BuildNotDeleted]))
-> BatchDeleteBuildsResponse
-> f BatchDeleteBuildsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[BuildNotDeleted]
[BuildNotDeleted]
[BuildNotDeleted]
[BuildNotDeleted]
-> Iso
(Maybe [BuildNotDeleted])
(Maybe [BuildNotDeleted])
(Maybe [BuildNotDeleted])
(Maybe [BuildNotDeleted])
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
[BuildNotDeleted]
[BuildNotDeleted]
[BuildNotDeleted]
[BuildNotDeleted]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
batchDeleteBuildsResponse_buildsDeleted :: Lens.Lens' BatchDeleteBuildsResponse (Prelude.Maybe (Prelude.NonEmpty Prelude.Text))
batchDeleteBuildsResponse_buildsDeleted :: (Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> BatchDeleteBuildsResponse -> f BatchDeleteBuildsResponse
batchDeleteBuildsResponse_buildsDeleted = (BatchDeleteBuildsResponse -> Maybe (NonEmpty Text))
-> (BatchDeleteBuildsResponse
-> Maybe (NonEmpty Text) -> BatchDeleteBuildsResponse)
-> Lens
BatchDeleteBuildsResponse
BatchDeleteBuildsResponse
(Maybe (NonEmpty Text))
(Maybe (NonEmpty Text))
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchDeleteBuildsResponse' {Maybe (NonEmpty Text)
buildsDeleted :: Maybe (NonEmpty Text)
$sel:buildsDeleted:BatchDeleteBuildsResponse' :: BatchDeleteBuildsResponse -> Maybe (NonEmpty Text)
buildsDeleted} -> Maybe (NonEmpty Text)
buildsDeleted) (\s :: BatchDeleteBuildsResponse
s@BatchDeleteBuildsResponse' {} Maybe (NonEmpty Text)
a -> BatchDeleteBuildsResponse
s {$sel:buildsDeleted:BatchDeleteBuildsResponse' :: Maybe (NonEmpty Text)
buildsDeleted = Maybe (NonEmpty Text)
a} :: BatchDeleteBuildsResponse) ((Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> BatchDeleteBuildsResponse -> f BatchDeleteBuildsResponse)
-> ((Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> (Maybe (NonEmpty Text) -> f (Maybe (NonEmpty Text)))
-> BatchDeleteBuildsResponse
-> f BatchDeleteBuildsResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
(NonEmpty Text) (NonEmpty Text) (NonEmpty Text) (NonEmpty Text)
-> Iso
(Maybe (NonEmpty Text))
(Maybe (NonEmpty Text))
(Maybe (NonEmpty Text))
(Maybe (NonEmpty Text))
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
(NonEmpty Text) (NonEmpty Text) (NonEmpty Text) (NonEmpty Text)
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
batchDeleteBuildsResponse_httpStatus :: Lens.Lens' BatchDeleteBuildsResponse Prelude.Int
batchDeleteBuildsResponse_httpStatus :: (Int -> f Int)
-> BatchDeleteBuildsResponse -> f BatchDeleteBuildsResponse
batchDeleteBuildsResponse_httpStatus = (BatchDeleteBuildsResponse -> Int)
-> (BatchDeleteBuildsResponse -> Int -> BatchDeleteBuildsResponse)
-> Lens BatchDeleteBuildsResponse BatchDeleteBuildsResponse Int Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchDeleteBuildsResponse' {Int
httpStatus :: Int
$sel:httpStatus:BatchDeleteBuildsResponse' :: BatchDeleteBuildsResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: BatchDeleteBuildsResponse
s@BatchDeleteBuildsResponse' {} Int
a -> BatchDeleteBuildsResponse
s {$sel:httpStatus:BatchDeleteBuildsResponse' :: Int
httpStatus = Int
a} :: BatchDeleteBuildsResponse)
instance Prelude.NFData BatchDeleteBuildsResponse