| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Connect.UpdateAgentStatus
Description
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_description :: Lens' UpdateAgentStatus (Maybe Text)
- updateAgentStatus_displayOrder :: Lens' UpdateAgentStatus (Maybe Natural)
- updateAgentStatus_name :: Lens' UpdateAgentStatus (Maybe Text)
- updateAgentStatus_resetOrderNumber :: Lens' UpdateAgentStatus (Maybe Bool)
- updateAgentStatus_state :: Lens' UpdateAgentStatus (Maybe AgentStatusState)
- 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.
Constructors
| UpdateAgentStatus' | |
Fields
| |
Instances
Arguments
| :: 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:
UpdateAgentStatus, updateAgentStatus_description - The description of the agent status.
UpdateAgentStatus, updateAgentStatus_displayOrder - The display order of the agent status.
UpdateAgentStatus, updateAgentStatus_name - The name of the agent status.
$sel:resetOrderNumber:UpdateAgentStatus', updateAgentStatus_resetOrderNumber - A number indicating the reset order of the agent status.
UpdateAgentStatus, updateAgentStatus_state - The state of the agent status.
UpdateAgentStatus, updateAgentStatus_instanceId - The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
UpdateAgentStatus, updateAgentStatus_agentStatusId - The identifier of the agent status.
Request Lenses
updateAgentStatus_description :: Lens' UpdateAgentStatus (Maybe Text) Source #
The description of the agent status.
updateAgentStatus_displayOrder :: Lens' UpdateAgentStatus (Maybe Natural) Source #
The display order 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_state :: Lens' UpdateAgentStatus (Maybe AgentStatusState) Source #
The state 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.
Constructors
| UpdateAgentStatusResponse' | |
Instances
newUpdateAgentStatusResponse :: UpdateAgentStatusResponse Source #
Create a value of UpdateAgentStatusResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.