{-# 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.AutoScaling.BatchDeleteScheduledAction
(
BatchDeleteScheduledAction (..),
newBatchDeleteScheduledAction,
batchDeleteScheduledAction_autoScalingGroupName,
batchDeleteScheduledAction_scheduledActionNames,
BatchDeleteScheduledActionResponse (..),
newBatchDeleteScheduledActionResponse,
batchDeleteScheduledActionResponse_failedScheduledActions,
batchDeleteScheduledActionResponse_httpStatus,
)
where
import Amazonka.AutoScaling.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 BatchDeleteScheduledAction = BatchDeleteScheduledAction'
{
BatchDeleteScheduledAction -> Text
autoScalingGroupName :: Prelude.Text,
BatchDeleteScheduledAction -> [Text]
scheduledActionNames :: [Prelude.Text]
}
deriving (BatchDeleteScheduledAction -> BatchDeleteScheduledAction -> Bool
(BatchDeleteScheduledAction -> BatchDeleteScheduledAction -> Bool)
-> (BatchDeleteScheduledAction
-> BatchDeleteScheduledAction -> Bool)
-> Eq BatchDeleteScheduledAction
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BatchDeleteScheduledAction -> BatchDeleteScheduledAction -> Bool
$c/= :: BatchDeleteScheduledAction -> BatchDeleteScheduledAction -> Bool
== :: BatchDeleteScheduledAction -> BatchDeleteScheduledAction -> Bool
$c== :: BatchDeleteScheduledAction -> BatchDeleteScheduledAction -> Bool
Prelude.Eq, ReadPrec [BatchDeleteScheduledAction]
ReadPrec BatchDeleteScheduledAction
Int -> ReadS BatchDeleteScheduledAction
ReadS [BatchDeleteScheduledAction]
(Int -> ReadS BatchDeleteScheduledAction)
-> ReadS [BatchDeleteScheduledAction]
-> ReadPrec BatchDeleteScheduledAction
-> ReadPrec [BatchDeleteScheduledAction]
-> Read BatchDeleteScheduledAction
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BatchDeleteScheduledAction]
$creadListPrec :: ReadPrec [BatchDeleteScheduledAction]
readPrec :: ReadPrec BatchDeleteScheduledAction
$creadPrec :: ReadPrec BatchDeleteScheduledAction
readList :: ReadS [BatchDeleteScheduledAction]
$creadList :: ReadS [BatchDeleteScheduledAction]
readsPrec :: Int -> ReadS BatchDeleteScheduledAction
$creadsPrec :: Int -> ReadS BatchDeleteScheduledAction
Prelude.Read, Int -> BatchDeleteScheduledAction -> ShowS
[BatchDeleteScheduledAction] -> ShowS
BatchDeleteScheduledAction -> String
(Int -> BatchDeleteScheduledAction -> ShowS)
-> (BatchDeleteScheduledAction -> String)
-> ([BatchDeleteScheduledAction] -> ShowS)
-> Show BatchDeleteScheduledAction
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BatchDeleteScheduledAction] -> ShowS
$cshowList :: [BatchDeleteScheduledAction] -> ShowS
show :: BatchDeleteScheduledAction -> String
$cshow :: BatchDeleteScheduledAction -> String
showsPrec :: Int -> BatchDeleteScheduledAction -> ShowS
$cshowsPrec :: Int -> BatchDeleteScheduledAction -> ShowS
Prelude.Show, (forall x.
BatchDeleteScheduledAction -> Rep BatchDeleteScheduledAction x)
-> (forall x.
Rep BatchDeleteScheduledAction x -> BatchDeleteScheduledAction)
-> Generic BatchDeleteScheduledAction
forall x.
Rep BatchDeleteScheduledAction x -> BatchDeleteScheduledAction
forall x.
BatchDeleteScheduledAction -> Rep BatchDeleteScheduledAction x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep BatchDeleteScheduledAction x -> BatchDeleteScheduledAction
$cfrom :: forall x.
BatchDeleteScheduledAction -> Rep BatchDeleteScheduledAction x
Prelude.Generic)
newBatchDeleteScheduledAction ::
Prelude.Text ->
BatchDeleteScheduledAction
newBatchDeleteScheduledAction :: Text -> BatchDeleteScheduledAction
newBatchDeleteScheduledAction Text
pAutoScalingGroupName_ =
BatchDeleteScheduledAction' :: Text -> [Text] -> BatchDeleteScheduledAction
BatchDeleteScheduledAction'
{ $sel:autoScalingGroupName:BatchDeleteScheduledAction' :: Text
autoScalingGroupName =
Text
pAutoScalingGroupName_,
$sel:scheduledActionNames:BatchDeleteScheduledAction' :: [Text]
scheduledActionNames = [Text]
forall a. Monoid a => a
Prelude.mempty
}
batchDeleteScheduledAction_autoScalingGroupName :: Lens.Lens' BatchDeleteScheduledAction Prelude.Text
batchDeleteScheduledAction_autoScalingGroupName :: (Text -> f Text)
-> BatchDeleteScheduledAction -> f BatchDeleteScheduledAction
batchDeleteScheduledAction_autoScalingGroupName = (BatchDeleteScheduledAction -> Text)
-> (BatchDeleteScheduledAction
-> Text -> BatchDeleteScheduledAction)
-> Lens
BatchDeleteScheduledAction BatchDeleteScheduledAction Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchDeleteScheduledAction' {Text
autoScalingGroupName :: Text
$sel:autoScalingGroupName:BatchDeleteScheduledAction' :: BatchDeleteScheduledAction -> Text
autoScalingGroupName} -> Text
autoScalingGroupName) (\s :: BatchDeleteScheduledAction
s@BatchDeleteScheduledAction' {} Text
a -> BatchDeleteScheduledAction
s {$sel:autoScalingGroupName:BatchDeleteScheduledAction' :: Text
autoScalingGroupName = Text
a} :: BatchDeleteScheduledAction)
batchDeleteScheduledAction_scheduledActionNames :: Lens.Lens' BatchDeleteScheduledAction [Prelude.Text]
batchDeleteScheduledAction_scheduledActionNames :: ([Text] -> f [Text])
-> BatchDeleteScheduledAction -> f BatchDeleteScheduledAction
batchDeleteScheduledAction_scheduledActionNames = (BatchDeleteScheduledAction -> [Text])
-> (BatchDeleteScheduledAction
-> [Text] -> BatchDeleteScheduledAction)
-> Lens
BatchDeleteScheduledAction BatchDeleteScheduledAction [Text] [Text]
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchDeleteScheduledAction' {[Text]
scheduledActionNames :: [Text]
$sel:scheduledActionNames:BatchDeleteScheduledAction' :: BatchDeleteScheduledAction -> [Text]
scheduledActionNames} -> [Text]
scheduledActionNames) (\s :: BatchDeleteScheduledAction
s@BatchDeleteScheduledAction' {} [Text]
a -> BatchDeleteScheduledAction
s {$sel:scheduledActionNames:BatchDeleteScheduledAction' :: [Text]
scheduledActionNames = [Text]
a} :: BatchDeleteScheduledAction) (([Text] -> f [Text])
-> BatchDeleteScheduledAction -> f BatchDeleteScheduledAction)
-> (([Text] -> f [Text]) -> [Text] -> f [Text])
-> ([Text] -> f [Text])
-> BatchDeleteScheduledAction
-> f BatchDeleteScheduledAction
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. ([Text] -> f [Text]) -> [Text] -> f [Text]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
instance Core.AWSRequest BatchDeleteScheduledAction where
type
AWSResponse BatchDeleteScheduledAction =
BatchDeleteScheduledActionResponse
request :: BatchDeleteScheduledAction -> Request BatchDeleteScheduledAction
request = Service
-> BatchDeleteScheduledAction -> Request BatchDeleteScheduledAction
forall a. ToRequest a => Service -> a -> Request a
Request.postQuery Service
defaultService
response :: Logger
-> Service
-> Proxy BatchDeleteScheduledAction
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse BatchDeleteScheduledAction)))
response =
Text
-> (Int
-> ResponseHeaders
-> [Node]
-> Either String (AWSResponse BatchDeleteScheduledAction))
-> Logger
-> Service
-> Proxy BatchDeleteScheduledAction
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse BatchDeleteScheduledAction)))
forall (m :: * -> *) a.
MonadResource m =>
Text
-> (Int
-> ResponseHeaders -> [Node] -> Either String (AWSResponse a))
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveXMLWrapper
Text
"BatchDeleteScheduledActionResult"
( \Int
s ResponseHeaders
h [Node]
x ->
Maybe [FailedScheduledUpdateGroupActionRequest]
-> Int -> BatchDeleteScheduledActionResponse
BatchDeleteScheduledActionResponse'
(Maybe [FailedScheduledUpdateGroupActionRequest]
-> Int -> BatchDeleteScheduledActionResponse)
-> Either String (Maybe [FailedScheduledUpdateGroupActionRequest])
-> Either String (Int -> BatchDeleteScheduledActionResponse)
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> ( [Node]
x [Node] -> Text -> Either String (Maybe [Node])
forall a. FromXML a => [Node] -> Text -> Either String (Maybe a)
Core..@? Text
"FailedScheduledActions"
Either String (Maybe [Node]) -> [Node] -> Either String [Node]
forall (f :: * -> *) a. Functor f => f (Maybe a) -> a -> f a
Core..!@ [Node]
forall a. Monoid a => a
Prelude.mempty
Either String [Node]
-> ([Node]
-> Either String (Maybe [FailedScheduledUpdateGroupActionRequest]))
-> Either String (Maybe [FailedScheduledUpdateGroupActionRequest])
forall (m :: * -> *) a b. Monad m => m a -> (a -> m b) -> m b
Prelude.>>= ([Node] -> Either String [FailedScheduledUpdateGroupActionRequest])
-> [Node]
-> Either String (Maybe [FailedScheduledUpdateGroupActionRequest])
forall (f :: * -> *) a b.
Applicative f =>
([a] -> f b) -> [a] -> f (Maybe b)
Core.may (Text
-> [Node]
-> Either String [FailedScheduledUpdateGroupActionRequest]
forall a. FromXML a => Text -> [Node] -> Either String [a]
Core.parseXMLList Text
"member")
)
Either String (Int -> BatchDeleteScheduledActionResponse)
-> Either String Int
-> Either String BatchDeleteScheduledActionResponse
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 BatchDeleteScheduledAction
instance Prelude.NFData BatchDeleteScheduledAction
instance Core.ToHeaders BatchDeleteScheduledAction where
toHeaders :: BatchDeleteScheduledAction -> ResponseHeaders
toHeaders = ResponseHeaders -> BatchDeleteScheduledAction -> ResponseHeaders
forall a b. a -> b -> a
Prelude.const ResponseHeaders
forall a. Monoid a => a
Prelude.mempty
instance Core.ToPath BatchDeleteScheduledAction where
toPath :: BatchDeleteScheduledAction -> ByteString
toPath = ByteString -> BatchDeleteScheduledAction -> ByteString
forall a b. a -> b -> a
Prelude.const ByteString
"/"
instance Core.ToQuery BatchDeleteScheduledAction where
toQuery :: BatchDeleteScheduledAction -> QueryString
toQuery BatchDeleteScheduledAction' {[Text]
Text
scheduledActionNames :: [Text]
autoScalingGroupName :: Text
$sel:scheduledActionNames:BatchDeleteScheduledAction' :: BatchDeleteScheduledAction -> [Text]
$sel:autoScalingGroupName:BatchDeleteScheduledAction' :: BatchDeleteScheduledAction -> Text
..} =
[QueryString] -> QueryString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"Action"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"BatchDeleteScheduledAction" :: Prelude.ByteString),
ByteString
"Version"
ByteString -> ByteString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: (ByteString
"2011-01-01" :: Prelude.ByteString),
ByteString
"AutoScalingGroupName" ByteString -> Text -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: Text
autoScalingGroupName,
ByteString
"ScheduledActionNames"
ByteString -> QueryString -> QueryString
forall a. ToQuery a => ByteString -> a -> QueryString
Core.=: ByteString -> [Text] -> QueryString
forall a.
(IsList a, ToQuery (Item a)) =>
ByteString -> a -> QueryString
Core.toQueryList ByteString
"member" [Text]
scheduledActionNames
]
data BatchDeleteScheduledActionResponse = BatchDeleteScheduledActionResponse'
{
BatchDeleteScheduledActionResponse
-> Maybe [FailedScheduledUpdateGroupActionRequest]
failedScheduledActions :: Prelude.Maybe [FailedScheduledUpdateGroupActionRequest],
BatchDeleteScheduledActionResponse -> Int
httpStatus :: Prelude.Int
}
deriving (BatchDeleteScheduledActionResponse
-> BatchDeleteScheduledActionResponse -> Bool
(BatchDeleteScheduledActionResponse
-> BatchDeleteScheduledActionResponse -> Bool)
-> (BatchDeleteScheduledActionResponse
-> BatchDeleteScheduledActionResponse -> Bool)
-> Eq BatchDeleteScheduledActionResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: BatchDeleteScheduledActionResponse
-> BatchDeleteScheduledActionResponse -> Bool
$c/= :: BatchDeleteScheduledActionResponse
-> BatchDeleteScheduledActionResponse -> Bool
== :: BatchDeleteScheduledActionResponse
-> BatchDeleteScheduledActionResponse -> Bool
$c== :: BatchDeleteScheduledActionResponse
-> BatchDeleteScheduledActionResponse -> Bool
Prelude.Eq, ReadPrec [BatchDeleteScheduledActionResponse]
ReadPrec BatchDeleteScheduledActionResponse
Int -> ReadS BatchDeleteScheduledActionResponse
ReadS [BatchDeleteScheduledActionResponse]
(Int -> ReadS BatchDeleteScheduledActionResponse)
-> ReadS [BatchDeleteScheduledActionResponse]
-> ReadPrec BatchDeleteScheduledActionResponse
-> ReadPrec [BatchDeleteScheduledActionResponse]
-> Read BatchDeleteScheduledActionResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [BatchDeleteScheduledActionResponse]
$creadListPrec :: ReadPrec [BatchDeleteScheduledActionResponse]
readPrec :: ReadPrec BatchDeleteScheduledActionResponse
$creadPrec :: ReadPrec BatchDeleteScheduledActionResponse
readList :: ReadS [BatchDeleteScheduledActionResponse]
$creadList :: ReadS [BatchDeleteScheduledActionResponse]
readsPrec :: Int -> ReadS BatchDeleteScheduledActionResponse
$creadsPrec :: Int -> ReadS BatchDeleteScheduledActionResponse
Prelude.Read, Int -> BatchDeleteScheduledActionResponse -> ShowS
[BatchDeleteScheduledActionResponse] -> ShowS
BatchDeleteScheduledActionResponse -> String
(Int -> BatchDeleteScheduledActionResponse -> ShowS)
-> (BatchDeleteScheduledActionResponse -> String)
-> ([BatchDeleteScheduledActionResponse] -> ShowS)
-> Show BatchDeleteScheduledActionResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [BatchDeleteScheduledActionResponse] -> ShowS
$cshowList :: [BatchDeleteScheduledActionResponse] -> ShowS
show :: BatchDeleteScheduledActionResponse -> String
$cshow :: BatchDeleteScheduledActionResponse -> String
showsPrec :: Int -> BatchDeleteScheduledActionResponse -> ShowS
$cshowsPrec :: Int -> BatchDeleteScheduledActionResponse -> ShowS
Prelude.Show, (forall x.
BatchDeleteScheduledActionResponse
-> Rep BatchDeleteScheduledActionResponse x)
-> (forall x.
Rep BatchDeleteScheduledActionResponse x
-> BatchDeleteScheduledActionResponse)
-> Generic BatchDeleteScheduledActionResponse
forall x.
Rep BatchDeleteScheduledActionResponse x
-> BatchDeleteScheduledActionResponse
forall x.
BatchDeleteScheduledActionResponse
-> Rep BatchDeleteScheduledActionResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep BatchDeleteScheduledActionResponse x
-> BatchDeleteScheduledActionResponse
$cfrom :: forall x.
BatchDeleteScheduledActionResponse
-> Rep BatchDeleteScheduledActionResponse x
Prelude.Generic)
newBatchDeleteScheduledActionResponse ::
Prelude.Int ->
BatchDeleteScheduledActionResponse
newBatchDeleteScheduledActionResponse :: Int -> BatchDeleteScheduledActionResponse
newBatchDeleteScheduledActionResponse Int
pHttpStatus_ =
BatchDeleteScheduledActionResponse' :: Maybe [FailedScheduledUpdateGroupActionRequest]
-> Int -> BatchDeleteScheduledActionResponse
BatchDeleteScheduledActionResponse'
{ $sel:failedScheduledActions:BatchDeleteScheduledActionResponse' :: Maybe [FailedScheduledUpdateGroupActionRequest]
failedScheduledActions =
Maybe [FailedScheduledUpdateGroupActionRequest]
forall a. Maybe a
Prelude.Nothing,
$sel:httpStatus:BatchDeleteScheduledActionResponse' :: Int
httpStatus = Int
pHttpStatus_
}
batchDeleteScheduledActionResponse_failedScheduledActions :: Lens.Lens' BatchDeleteScheduledActionResponse (Prelude.Maybe [FailedScheduledUpdateGroupActionRequest])
batchDeleteScheduledActionResponse_failedScheduledActions :: (Maybe [FailedScheduledUpdateGroupActionRequest]
-> f (Maybe [FailedScheduledUpdateGroupActionRequest]))
-> BatchDeleteScheduledActionResponse
-> f BatchDeleteScheduledActionResponse
batchDeleteScheduledActionResponse_failedScheduledActions = (BatchDeleteScheduledActionResponse
-> Maybe [FailedScheduledUpdateGroupActionRequest])
-> (BatchDeleteScheduledActionResponse
-> Maybe [FailedScheduledUpdateGroupActionRequest]
-> BatchDeleteScheduledActionResponse)
-> Lens
BatchDeleteScheduledActionResponse
BatchDeleteScheduledActionResponse
(Maybe [FailedScheduledUpdateGroupActionRequest])
(Maybe [FailedScheduledUpdateGroupActionRequest])
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchDeleteScheduledActionResponse' {Maybe [FailedScheduledUpdateGroupActionRequest]
failedScheduledActions :: Maybe [FailedScheduledUpdateGroupActionRequest]
$sel:failedScheduledActions:BatchDeleteScheduledActionResponse' :: BatchDeleteScheduledActionResponse
-> Maybe [FailedScheduledUpdateGroupActionRequest]
failedScheduledActions} -> Maybe [FailedScheduledUpdateGroupActionRequest]
failedScheduledActions) (\s :: BatchDeleteScheduledActionResponse
s@BatchDeleteScheduledActionResponse' {} Maybe [FailedScheduledUpdateGroupActionRequest]
a -> BatchDeleteScheduledActionResponse
s {$sel:failedScheduledActions:BatchDeleteScheduledActionResponse' :: Maybe [FailedScheduledUpdateGroupActionRequest]
failedScheduledActions = Maybe [FailedScheduledUpdateGroupActionRequest]
a} :: BatchDeleteScheduledActionResponse) ((Maybe [FailedScheduledUpdateGroupActionRequest]
-> f (Maybe [FailedScheduledUpdateGroupActionRequest]))
-> BatchDeleteScheduledActionResponse
-> f BatchDeleteScheduledActionResponse)
-> ((Maybe [FailedScheduledUpdateGroupActionRequest]
-> f (Maybe [FailedScheduledUpdateGroupActionRequest]))
-> Maybe [FailedScheduledUpdateGroupActionRequest]
-> f (Maybe [FailedScheduledUpdateGroupActionRequest]))
-> (Maybe [FailedScheduledUpdateGroupActionRequest]
-> f (Maybe [FailedScheduledUpdateGroupActionRequest]))
-> BatchDeleteScheduledActionResponse
-> f BatchDeleteScheduledActionResponse
forall b c a. (b -> c) -> (a -> b) -> a -> c
Prelude.. AnIso
[FailedScheduledUpdateGroupActionRequest]
[FailedScheduledUpdateGroupActionRequest]
[FailedScheduledUpdateGroupActionRequest]
[FailedScheduledUpdateGroupActionRequest]
-> Iso
(Maybe [FailedScheduledUpdateGroupActionRequest])
(Maybe [FailedScheduledUpdateGroupActionRequest])
(Maybe [FailedScheduledUpdateGroupActionRequest])
(Maybe [FailedScheduledUpdateGroupActionRequest])
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
[FailedScheduledUpdateGroupActionRequest]
[FailedScheduledUpdateGroupActionRequest]
[FailedScheduledUpdateGroupActionRequest]
[FailedScheduledUpdateGroupActionRequest]
forall s t a b. (Coercible s a, Coercible t b) => Iso s t a b
Lens.coerced
batchDeleteScheduledActionResponse_httpStatus :: Lens.Lens' BatchDeleteScheduledActionResponse Prelude.Int
batchDeleteScheduledActionResponse_httpStatus :: (Int -> f Int)
-> BatchDeleteScheduledActionResponse
-> f BatchDeleteScheduledActionResponse
batchDeleteScheduledActionResponse_httpStatus = (BatchDeleteScheduledActionResponse -> Int)
-> (BatchDeleteScheduledActionResponse
-> Int -> BatchDeleteScheduledActionResponse)
-> Lens
BatchDeleteScheduledActionResponse
BatchDeleteScheduledActionResponse
Int
Int
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\BatchDeleteScheduledActionResponse' {Int
httpStatus :: Int
$sel:httpStatus:BatchDeleteScheduledActionResponse' :: BatchDeleteScheduledActionResponse -> Int
httpStatus} -> Int
httpStatus) (\s :: BatchDeleteScheduledActionResponse
s@BatchDeleteScheduledActionResponse' {} Int
a -> BatchDeleteScheduledActionResponse
s {$sel:httpStatus:BatchDeleteScheduledActionResponse' :: Int
httpStatus = Int
a} :: BatchDeleteScheduledActionResponse)
instance
Prelude.NFData
BatchDeleteScheduledActionResponse