{-# 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.Connect.UpdateAgentStatus
(
UpdateAgentStatus (..),
newUpdateAgentStatus,
updateAgentStatus_displayOrder,
updateAgentStatus_state,
updateAgentStatus_name,
updateAgentStatus_resetOrderNumber,
updateAgentStatus_description,
updateAgentStatus_instanceId,
updateAgentStatus_agentStatusId,
UpdateAgentStatusResponse (..),
newUpdateAgentStatusResponse,
)
where
import Amazonka.Connect.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 UpdateAgentStatus = UpdateAgentStatus'
{
UpdateAgentStatus -> Maybe Natural
displayOrder :: Prelude.Maybe Prelude.Natural,
UpdateAgentStatus -> Maybe AgentStatusState
state :: Prelude.Maybe AgentStatusState,
UpdateAgentStatus -> Maybe Text
name :: Prelude.Maybe Prelude.Text,
UpdateAgentStatus -> Maybe Bool
resetOrderNumber :: Prelude.Maybe Prelude.Bool,
UpdateAgentStatus -> Maybe Text
description :: Prelude.Maybe Prelude.Text,
UpdateAgentStatus -> Text
instanceId :: Prelude.Text,
UpdateAgentStatus -> Text
agentStatusId :: Prelude.Text
}
deriving (UpdateAgentStatus -> UpdateAgentStatus -> Bool
(UpdateAgentStatus -> UpdateAgentStatus -> Bool)
-> (UpdateAgentStatus -> UpdateAgentStatus -> Bool)
-> Eq UpdateAgentStatus
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateAgentStatus -> UpdateAgentStatus -> Bool
$c/= :: UpdateAgentStatus -> UpdateAgentStatus -> Bool
== :: UpdateAgentStatus -> UpdateAgentStatus -> Bool
$c== :: UpdateAgentStatus -> UpdateAgentStatus -> Bool
Prelude.Eq, ReadPrec [UpdateAgentStatus]
ReadPrec UpdateAgentStatus
Int -> ReadS UpdateAgentStatus
ReadS [UpdateAgentStatus]
(Int -> ReadS UpdateAgentStatus)
-> ReadS [UpdateAgentStatus]
-> ReadPrec UpdateAgentStatus
-> ReadPrec [UpdateAgentStatus]
-> Read UpdateAgentStatus
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateAgentStatus]
$creadListPrec :: ReadPrec [UpdateAgentStatus]
readPrec :: ReadPrec UpdateAgentStatus
$creadPrec :: ReadPrec UpdateAgentStatus
readList :: ReadS [UpdateAgentStatus]
$creadList :: ReadS [UpdateAgentStatus]
readsPrec :: Int -> ReadS UpdateAgentStatus
$creadsPrec :: Int -> ReadS UpdateAgentStatus
Prelude.Read, Int -> UpdateAgentStatus -> ShowS
[UpdateAgentStatus] -> ShowS
UpdateAgentStatus -> String
(Int -> UpdateAgentStatus -> ShowS)
-> (UpdateAgentStatus -> String)
-> ([UpdateAgentStatus] -> ShowS)
-> Show UpdateAgentStatus
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateAgentStatus] -> ShowS
$cshowList :: [UpdateAgentStatus] -> ShowS
show :: UpdateAgentStatus -> String
$cshow :: UpdateAgentStatus -> String
showsPrec :: Int -> UpdateAgentStatus -> ShowS
$cshowsPrec :: Int -> UpdateAgentStatus -> ShowS
Prelude.Show, (forall x. UpdateAgentStatus -> Rep UpdateAgentStatus x)
-> (forall x. Rep UpdateAgentStatus x -> UpdateAgentStatus)
-> Generic UpdateAgentStatus
forall x. Rep UpdateAgentStatus x -> UpdateAgentStatus
forall x. UpdateAgentStatus -> Rep UpdateAgentStatus x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x. Rep UpdateAgentStatus x -> UpdateAgentStatus
$cfrom :: forall x. UpdateAgentStatus -> Rep UpdateAgentStatus x
Prelude.Generic)
newUpdateAgentStatus ::
Prelude.Text ->
Prelude.Text ->
UpdateAgentStatus
newUpdateAgentStatus :: Text -> Text -> UpdateAgentStatus
newUpdateAgentStatus Text
pInstanceId_ Text
pAgentStatusId_ =
UpdateAgentStatus' :: Maybe Natural
-> Maybe AgentStatusState
-> Maybe Text
-> Maybe Bool
-> Maybe Text
-> Text
-> Text
-> UpdateAgentStatus
UpdateAgentStatus'
{ $sel:displayOrder:UpdateAgentStatus' :: Maybe Natural
displayOrder = Maybe Natural
forall a. Maybe a
Prelude.Nothing,
$sel:state:UpdateAgentStatus' :: Maybe AgentStatusState
state = Maybe AgentStatusState
forall a. Maybe a
Prelude.Nothing,
$sel:name:UpdateAgentStatus' :: Maybe Text
name = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:resetOrderNumber:UpdateAgentStatus' :: Maybe Bool
resetOrderNumber = Maybe Bool
forall a. Maybe a
Prelude.Nothing,
$sel:description:UpdateAgentStatus' :: Maybe Text
description = Maybe Text
forall a. Maybe a
Prelude.Nothing,
$sel:instanceId:UpdateAgentStatus' :: Text
instanceId = Text
pInstanceId_,
$sel:agentStatusId:UpdateAgentStatus' :: Text
agentStatusId = Text
pAgentStatusId_
}
updateAgentStatus_displayOrder :: Lens.Lens' UpdateAgentStatus (Prelude.Maybe Prelude.Natural)
updateAgentStatus_displayOrder :: (Maybe Natural -> f (Maybe Natural))
-> UpdateAgentStatus -> f UpdateAgentStatus
updateAgentStatus_displayOrder = (UpdateAgentStatus -> Maybe Natural)
-> (UpdateAgentStatus -> Maybe Natural -> UpdateAgentStatus)
-> Lens
UpdateAgentStatus UpdateAgentStatus (Maybe Natural) (Maybe Natural)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAgentStatus' {Maybe Natural
displayOrder :: Maybe Natural
$sel:displayOrder:UpdateAgentStatus' :: UpdateAgentStatus -> Maybe Natural
displayOrder} -> Maybe Natural
displayOrder) (\s :: UpdateAgentStatus
s@UpdateAgentStatus' {} Maybe Natural
a -> UpdateAgentStatus
s {$sel:displayOrder:UpdateAgentStatus' :: Maybe Natural
displayOrder = Maybe Natural
a} :: UpdateAgentStatus)
updateAgentStatus_state :: Lens.Lens' UpdateAgentStatus (Prelude.Maybe AgentStatusState)
updateAgentStatus_state :: (Maybe AgentStatusState -> f (Maybe AgentStatusState))
-> UpdateAgentStatus -> f UpdateAgentStatus
updateAgentStatus_state = (UpdateAgentStatus -> Maybe AgentStatusState)
-> (UpdateAgentStatus
-> Maybe AgentStatusState -> UpdateAgentStatus)
-> Lens
UpdateAgentStatus
UpdateAgentStatus
(Maybe AgentStatusState)
(Maybe AgentStatusState)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAgentStatus' {Maybe AgentStatusState
state :: Maybe AgentStatusState
$sel:state:UpdateAgentStatus' :: UpdateAgentStatus -> Maybe AgentStatusState
state} -> Maybe AgentStatusState
state) (\s :: UpdateAgentStatus
s@UpdateAgentStatus' {} Maybe AgentStatusState
a -> UpdateAgentStatus
s {$sel:state:UpdateAgentStatus' :: Maybe AgentStatusState
state = Maybe AgentStatusState
a} :: UpdateAgentStatus)
updateAgentStatus_name :: Lens.Lens' UpdateAgentStatus (Prelude.Maybe Prelude.Text)
updateAgentStatus_name :: (Maybe Text -> f (Maybe Text))
-> UpdateAgentStatus -> f UpdateAgentStatus
updateAgentStatus_name = (UpdateAgentStatus -> Maybe Text)
-> (UpdateAgentStatus -> Maybe Text -> UpdateAgentStatus)
-> Lens
UpdateAgentStatus UpdateAgentStatus (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAgentStatus' {Maybe Text
name :: Maybe Text
$sel:name:UpdateAgentStatus' :: UpdateAgentStatus -> Maybe Text
name} -> Maybe Text
name) (\s :: UpdateAgentStatus
s@UpdateAgentStatus' {} Maybe Text
a -> UpdateAgentStatus
s {$sel:name:UpdateAgentStatus' :: Maybe Text
name = Maybe Text
a} :: UpdateAgentStatus)
updateAgentStatus_resetOrderNumber :: Lens.Lens' UpdateAgentStatus (Prelude.Maybe Prelude.Bool)
updateAgentStatus_resetOrderNumber :: (Maybe Bool -> f (Maybe Bool))
-> UpdateAgentStatus -> f UpdateAgentStatus
updateAgentStatus_resetOrderNumber = (UpdateAgentStatus -> Maybe Bool)
-> (UpdateAgentStatus -> Maybe Bool -> UpdateAgentStatus)
-> Lens
UpdateAgentStatus UpdateAgentStatus (Maybe Bool) (Maybe Bool)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAgentStatus' {Maybe Bool
resetOrderNumber :: Maybe Bool
$sel:resetOrderNumber:UpdateAgentStatus' :: UpdateAgentStatus -> Maybe Bool
resetOrderNumber} -> Maybe Bool
resetOrderNumber) (\s :: UpdateAgentStatus
s@UpdateAgentStatus' {} Maybe Bool
a -> UpdateAgentStatus
s {$sel:resetOrderNumber:UpdateAgentStatus' :: Maybe Bool
resetOrderNumber = Maybe Bool
a} :: UpdateAgentStatus)
updateAgentStatus_description :: Lens.Lens' UpdateAgentStatus (Prelude.Maybe Prelude.Text)
updateAgentStatus_description :: (Maybe Text -> f (Maybe Text))
-> UpdateAgentStatus -> f UpdateAgentStatus
updateAgentStatus_description = (UpdateAgentStatus -> Maybe Text)
-> (UpdateAgentStatus -> Maybe Text -> UpdateAgentStatus)
-> Lens
UpdateAgentStatus UpdateAgentStatus (Maybe Text) (Maybe Text)
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAgentStatus' {Maybe Text
description :: Maybe Text
$sel:description:UpdateAgentStatus' :: UpdateAgentStatus -> Maybe Text
description} -> Maybe Text
description) (\s :: UpdateAgentStatus
s@UpdateAgentStatus' {} Maybe Text
a -> UpdateAgentStatus
s {$sel:description:UpdateAgentStatus' :: Maybe Text
description = Maybe Text
a} :: UpdateAgentStatus)
updateAgentStatus_instanceId :: Lens.Lens' UpdateAgentStatus Prelude.Text
updateAgentStatus_instanceId :: (Text -> f Text) -> UpdateAgentStatus -> f UpdateAgentStatus
updateAgentStatus_instanceId = (UpdateAgentStatus -> Text)
-> (UpdateAgentStatus -> Text -> UpdateAgentStatus)
-> Lens UpdateAgentStatus UpdateAgentStatus Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAgentStatus' {Text
instanceId :: Text
$sel:instanceId:UpdateAgentStatus' :: UpdateAgentStatus -> Text
instanceId} -> Text
instanceId) (\s :: UpdateAgentStatus
s@UpdateAgentStatus' {} Text
a -> UpdateAgentStatus
s {$sel:instanceId:UpdateAgentStatus' :: Text
instanceId = Text
a} :: UpdateAgentStatus)
updateAgentStatus_agentStatusId :: Lens.Lens' UpdateAgentStatus Prelude.Text
updateAgentStatus_agentStatusId :: (Text -> f Text) -> UpdateAgentStatus -> f UpdateAgentStatus
updateAgentStatus_agentStatusId = (UpdateAgentStatus -> Text)
-> (UpdateAgentStatus -> Text -> UpdateAgentStatus)
-> Lens UpdateAgentStatus UpdateAgentStatus Text Text
forall s a b t. (s -> a) -> (s -> b -> t) -> Lens s t a b
Lens.lens (\UpdateAgentStatus' {Text
agentStatusId :: Text
$sel:agentStatusId:UpdateAgentStatus' :: UpdateAgentStatus -> Text
agentStatusId} -> Text
agentStatusId) (\s :: UpdateAgentStatus
s@UpdateAgentStatus' {} Text
a -> UpdateAgentStatus
s {$sel:agentStatusId:UpdateAgentStatus' :: Text
agentStatusId = Text
a} :: UpdateAgentStatus)
instance Core.AWSRequest UpdateAgentStatus where
type
AWSResponse UpdateAgentStatus =
UpdateAgentStatusResponse
request :: UpdateAgentStatus -> Request UpdateAgentStatus
request = Service -> UpdateAgentStatus -> Request UpdateAgentStatus
forall a. (ToRequest a, ToJSON a) => Service -> a -> Request a
Request.postJSON Service
defaultService
response :: Logger
-> Service
-> Proxy UpdateAgentStatus
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpdateAgentStatus)))
response =
AWSResponse UpdateAgentStatus
-> Logger
-> Service
-> Proxy UpdateAgentStatus
-> ClientResponse ClientBody
-> m (Either
Error (ClientResponse (AWSResponse UpdateAgentStatus)))
forall (m :: * -> *) a.
MonadResource m =>
AWSResponse a
-> Logger
-> Service
-> Proxy a
-> ClientResponse ClientBody
-> m (Either Error (ClientResponse (AWSResponse a)))
Response.receiveNull AWSResponse UpdateAgentStatus
UpdateAgentStatusResponse
UpdateAgentStatusResponse'
instance Prelude.Hashable UpdateAgentStatus
instance Prelude.NFData UpdateAgentStatus
instance Core.ToHeaders UpdateAgentStatus where
toHeaders :: UpdateAgentStatus -> [Header]
toHeaders =
[Header] -> UpdateAgentStatus -> [Header]
forall a b. a -> b -> a
Prelude.const
( [[Header]] -> [Header]
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ HeaderName
"Content-Type"
HeaderName -> ByteString -> [Header]
forall a. ToHeader a => HeaderName -> a -> [Header]
Core.=# ( ByteString
"application/x-amz-json-1.1" ::
Prelude.ByteString
)
]
)
instance Core.ToJSON UpdateAgentStatus where
toJSON :: UpdateAgentStatus -> Value
toJSON UpdateAgentStatus' {Maybe Bool
Maybe Natural
Maybe Text
Maybe AgentStatusState
Text
agentStatusId :: Text
instanceId :: Text
description :: Maybe Text
resetOrderNumber :: Maybe Bool
name :: Maybe Text
state :: Maybe AgentStatusState
displayOrder :: Maybe Natural
$sel:agentStatusId:UpdateAgentStatus' :: UpdateAgentStatus -> Text
$sel:instanceId:UpdateAgentStatus' :: UpdateAgentStatus -> Text
$sel:description:UpdateAgentStatus' :: UpdateAgentStatus -> Maybe Text
$sel:resetOrderNumber:UpdateAgentStatus' :: UpdateAgentStatus -> Maybe Bool
$sel:name:UpdateAgentStatus' :: UpdateAgentStatus -> Maybe Text
$sel:state:UpdateAgentStatus' :: UpdateAgentStatus -> Maybe AgentStatusState
$sel:displayOrder:UpdateAgentStatus' :: UpdateAgentStatus -> Maybe Natural
..} =
[Pair] -> Value
Core.object
( [Maybe Pair] -> [Pair]
forall a. [Maybe a] -> [a]
Prelude.catMaybes
[ (Text
"DisplayOrder" Text -> Natural -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (Natural -> Pair) -> Maybe Natural -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe Natural
displayOrder,
(Text
"State" Text -> AgentStatusState -> Pair
forall kv v. (KeyValue kv, ToJSON v) => Text -> v -> kv
Core..=) (AgentStatusState -> Pair) -> Maybe AgentStatusState -> Maybe Pair
forall (f :: * -> *) a b. Functor f => (a -> b) -> f a -> f b
Prelude.<$> Maybe AgentStatusState
state,
(Text
"Name" 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
name,
(Text
"ResetOrderNumber" 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
resetOrderNumber,
(Text
"Description" 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
description
]
)
instance Core.ToPath UpdateAgentStatus where
toPath :: UpdateAgentStatus -> ByteString
toPath UpdateAgentStatus' {Maybe Bool
Maybe Natural
Maybe Text
Maybe AgentStatusState
Text
agentStatusId :: Text
instanceId :: Text
description :: Maybe Text
resetOrderNumber :: Maybe Bool
name :: Maybe Text
state :: Maybe AgentStatusState
displayOrder :: Maybe Natural
$sel:agentStatusId:UpdateAgentStatus' :: UpdateAgentStatus -> Text
$sel:instanceId:UpdateAgentStatus' :: UpdateAgentStatus -> Text
$sel:description:UpdateAgentStatus' :: UpdateAgentStatus -> Maybe Text
$sel:resetOrderNumber:UpdateAgentStatus' :: UpdateAgentStatus -> Maybe Bool
$sel:name:UpdateAgentStatus' :: UpdateAgentStatus -> Maybe Text
$sel:state:UpdateAgentStatus' :: UpdateAgentStatus -> Maybe AgentStatusState
$sel:displayOrder:UpdateAgentStatus' :: UpdateAgentStatus -> Maybe Natural
..} =
[ByteString] -> ByteString
forall a. Monoid a => [a] -> a
Prelude.mconcat
[ ByteString
"/agent-status/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
instanceId,
ByteString
"/",
Text -> ByteString
forall a. ToByteString a => a -> ByteString
Core.toBS Text
agentStatusId
]
instance Core.ToQuery UpdateAgentStatus where
toQuery :: UpdateAgentStatus -> QueryString
toQuery = QueryString -> UpdateAgentStatus -> QueryString
forall a b. a -> b -> a
Prelude.const QueryString
forall a. Monoid a => a
Prelude.mempty
data UpdateAgentStatusResponse = UpdateAgentStatusResponse'
{
}
deriving (UpdateAgentStatusResponse -> UpdateAgentStatusResponse -> Bool
(UpdateAgentStatusResponse -> UpdateAgentStatusResponse -> Bool)
-> (UpdateAgentStatusResponse -> UpdateAgentStatusResponse -> Bool)
-> Eq UpdateAgentStatusResponse
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
/= :: UpdateAgentStatusResponse -> UpdateAgentStatusResponse -> Bool
$c/= :: UpdateAgentStatusResponse -> UpdateAgentStatusResponse -> Bool
== :: UpdateAgentStatusResponse -> UpdateAgentStatusResponse -> Bool
$c== :: UpdateAgentStatusResponse -> UpdateAgentStatusResponse -> Bool
Prelude.Eq, ReadPrec [UpdateAgentStatusResponse]
ReadPrec UpdateAgentStatusResponse
Int -> ReadS UpdateAgentStatusResponse
ReadS [UpdateAgentStatusResponse]
(Int -> ReadS UpdateAgentStatusResponse)
-> ReadS [UpdateAgentStatusResponse]
-> ReadPrec UpdateAgentStatusResponse
-> ReadPrec [UpdateAgentStatusResponse]
-> Read UpdateAgentStatusResponse
forall a.
(Int -> ReadS a)
-> ReadS [a] -> ReadPrec a -> ReadPrec [a] -> Read a
readListPrec :: ReadPrec [UpdateAgentStatusResponse]
$creadListPrec :: ReadPrec [UpdateAgentStatusResponse]
readPrec :: ReadPrec UpdateAgentStatusResponse
$creadPrec :: ReadPrec UpdateAgentStatusResponse
readList :: ReadS [UpdateAgentStatusResponse]
$creadList :: ReadS [UpdateAgentStatusResponse]
readsPrec :: Int -> ReadS UpdateAgentStatusResponse
$creadsPrec :: Int -> ReadS UpdateAgentStatusResponse
Prelude.Read, Int -> UpdateAgentStatusResponse -> ShowS
[UpdateAgentStatusResponse] -> ShowS
UpdateAgentStatusResponse -> String
(Int -> UpdateAgentStatusResponse -> ShowS)
-> (UpdateAgentStatusResponse -> String)
-> ([UpdateAgentStatusResponse] -> ShowS)
-> Show UpdateAgentStatusResponse
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
showList :: [UpdateAgentStatusResponse] -> ShowS
$cshowList :: [UpdateAgentStatusResponse] -> ShowS
show :: UpdateAgentStatusResponse -> String
$cshow :: UpdateAgentStatusResponse -> String
showsPrec :: Int -> UpdateAgentStatusResponse -> ShowS
$cshowsPrec :: Int -> UpdateAgentStatusResponse -> ShowS
Prelude.Show, (forall x.
UpdateAgentStatusResponse -> Rep UpdateAgentStatusResponse x)
-> (forall x.
Rep UpdateAgentStatusResponse x -> UpdateAgentStatusResponse)
-> Generic UpdateAgentStatusResponse
forall x.
Rep UpdateAgentStatusResponse x -> UpdateAgentStatusResponse
forall x.
UpdateAgentStatusResponse -> Rep UpdateAgentStatusResponse x
forall a.
(forall x. a -> Rep a x) -> (forall x. Rep a x -> a) -> Generic a
$cto :: forall x.
Rep UpdateAgentStatusResponse x -> UpdateAgentStatusResponse
$cfrom :: forall x.
UpdateAgentStatusResponse -> Rep UpdateAgentStatusResponse x
Prelude.Generic)
newUpdateAgentStatusResponse ::
UpdateAgentStatusResponse
newUpdateAgentStatusResponse :: UpdateAgentStatusResponse
newUpdateAgentStatusResponse =
UpdateAgentStatusResponse
UpdateAgentStatusResponse'
instance Prelude.NFData UpdateAgentStatusResponse