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.
Describes an agent status.
Synopsis
- data DescribeAgentStatus = DescribeAgentStatus' {
- instanceId :: Text
- agentStatusId :: Text
- newDescribeAgentStatus :: Text -> Text -> DescribeAgentStatus
- describeAgentStatus_instanceId :: Lens' DescribeAgentStatus Text
- describeAgentStatus_agentStatusId :: Lens' DescribeAgentStatus Text
- data DescribeAgentStatusResponse = DescribeAgentStatusResponse' {}
- newDescribeAgentStatusResponse :: Int -> DescribeAgentStatusResponse
- describeAgentStatusResponse_agentStatus :: Lens' DescribeAgentStatusResponse (Maybe AgentStatus)
- describeAgentStatusResponse_httpStatus :: Lens' DescribeAgentStatusResponse Int
Creating a Request
data DescribeAgentStatus Source #
See: newDescribeAgentStatus
smart constructor.
DescribeAgentStatus' | |
|
Instances
newDescribeAgentStatus Source #
:: Text | |
-> Text | |
-> DescribeAgentStatus |
Create a value of DescribeAgentStatus
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:instanceId:DescribeAgentStatus'
, describeAgentStatus_instanceId
- The identifier of the Amazon Connect instance. You can find the
instanceId in the ARN of the instance.
$sel:agentStatusId:DescribeAgentStatus'
, describeAgentStatus_agentStatusId
- The identifier for the agent status.
Request Lenses
describeAgentStatus_instanceId :: Lens' DescribeAgentStatus Text Source #
The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.
describeAgentStatus_agentStatusId :: Lens' DescribeAgentStatus Text Source #
The identifier for the agent status.
Destructuring the Response
data DescribeAgentStatusResponse Source #
See: newDescribeAgentStatusResponse
smart constructor.
DescribeAgentStatusResponse' | |
|
Instances
newDescribeAgentStatusResponse Source #
Create a value of DescribeAgentStatusResponse
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:agentStatus:DescribeAgentStatusResponse'
, describeAgentStatusResponse_agentStatus
- The agent status.
$sel:httpStatus:DescribeAgentStatusResponse'
, describeAgentStatusResponse_httpStatus
- The response's http status code.
Response Lenses
describeAgentStatusResponse_agentStatus :: Lens' DescribeAgentStatusResponse (Maybe AgentStatus) Source #
The agent status.
describeAgentStatusResponse_httpStatus :: Lens' DescribeAgentStatusResponse Int Source #
The response's http status code.