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) |
Safe Haskell | None |
This API is in preview release for Amazon Connect and is subject to change.
Updates agent status.
Synopsis
- data UpdateAgentStatus = UpdateAgentStatus' {}
- newUpdateAgentStatus :: Text -> Text -> UpdateAgentStatus
- updateAgentStatus_displayOrder :: Lens' UpdateAgentStatus (Maybe Natural)
- updateAgentStatus_state :: Lens' UpdateAgentStatus (Maybe AgentStatusState)
- updateAgentStatus_name :: Lens' UpdateAgentStatus (Maybe Text)
- updateAgentStatus_resetOrderNumber :: Lens' UpdateAgentStatus (Maybe Bool)
- updateAgentStatus_description :: Lens' UpdateAgentStatus (Maybe Text)
- updateAgentStatus_instanceId :: Lens' UpdateAgentStatus Text
- updateAgentStatus_agentStatusId :: Lens' UpdateAgentStatus Text
- data UpdateAgentStatusResponse = UpdateAgentStatusResponse' {
- newUpdateAgentStatusResponse :: UpdateAgentStatusResponse
Creating a Request
data UpdateAgentStatus Source #
See: newUpdateAgentStatus
smart constructor.
UpdateAgentStatus' | |
|
Instances
:: Text | |
-> Text | |
-> UpdateAgentStatus |
Create a value of UpdateAgentStatus
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:displayOrder:UpdateAgentStatus'
, updateAgentStatus_displayOrder
- The display order of the agent status.
$sel:state:UpdateAgentStatus'
, updateAgentStatus_state
- The state of the agent status.
$sel:name:UpdateAgentStatus'
, updateAgentStatus_name
- The name of the agent status.
$sel:resetOrderNumber:UpdateAgentStatus'
, updateAgentStatus_resetOrderNumber
- A number indicating the reset order of the agent status.
$sel:description:UpdateAgentStatus'
, updateAgentStatus_description
- The description of the agent status.
$sel:instanceId:UpdateAgentStatus'
, updateAgentStatus_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:agentStatusId:UpdateAgentStatus'
, updateAgentStatus_agentStatusId
- The identifier of the agent status.
Request Lenses
updateAgentStatus_displayOrder :: Lens' UpdateAgentStatus (Maybe Natural) Source #
The display order of the agent status.
updateAgentStatus_state :: Lens' UpdateAgentStatus (Maybe AgentStatusState) Source #
The state of the agent status.
updateAgentStatus_name :: Lens' UpdateAgentStatus (Maybe Text) Source #
The name of the agent status.
updateAgentStatus_resetOrderNumber :: Lens' UpdateAgentStatus (Maybe Bool) Source #
A number indicating the reset order of the agent status.
updateAgentStatus_description :: Lens' UpdateAgentStatus (Maybe Text) Source #
The description of the agent status.
updateAgentStatus_instanceId :: Lens' UpdateAgentStatus Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
updateAgentStatus_agentStatusId :: Lens' UpdateAgentStatus Text Source #
The identifier of the agent status.
Destructuring the Response
data UpdateAgentStatusResponse Source #
See: newUpdateAgentStatusResponse
smart constructor.
Instances
Eq UpdateAgentStatusResponse Source # | |
Defined in Amazonka.Connect.UpdateAgentStatus | |
Read UpdateAgentStatusResponse Source # | |
Show UpdateAgentStatusResponse Source # | |
Defined in Amazonka.Connect.UpdateAgentStatus showsPrec :: Int -> UpdateAgentStatusResponse -> ShowS # show :: UpdateAgentStatusResponse -> String # showList :: [UpdateAgentStatusResponse] -> ShowS # | |
Generic UpdateAgentStatusResponse Source # | |
Defined in Amazonka.Connect.UpdateAgentStatus type Rep UpdateAgentStatusResponse :: Type -> Type # | |
NFData UpdateAgentStatusResponse Source # | |
Defined in Amazonka.Connect.UpdateAgentStatus rnf :: UpdateAgentStatusResponse -> () # | |
type Rep UpdateAgentStatusResponse Source # | |
Defined in Amazonka.Connect.UpdateAgentStatus |
newUpdateAgentStatusResponse :: UpdateAgentStatusResponse Source #
Create a value of UpdateAgentStatusResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.