Skip to content

Commit 95af54b

Browse files
author
AWS
committed
Amazon Connect Service Update: This release introduces an API for changing the current agent status of a user in Connect.
1 parent 4897326 commit 95af54b

File tree

2 files changed

+55
-0
lines changed

2 files changed

+55
-0
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"type": "feature",
3+
"category": "Amazon Connect Service",
4+
"contributor": "",
5+
"description": "This release introduces an API for changing the current agent status of a user in Connect."
6+
}

services/connect/src/main/resources/codegen-resources/service-2.json

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1636,6 +1636,24 @@
16361636
],
16371637
"documentation":"<p>Provides summary information about the users for the specified Amazon Connect instance.</p>"
16381638
},
1639+
"PutUserStatus":{
1640+
"name":"PutUserStatus",
1641+
"http":{
1642+
"method":"PUT",
1643+
"requestUri":"/users/{InstanceId}/{UserId}/status"
1644+
},
1645+
"input":{"shape":"PutUserStatusRequest"},
1646+
"output":{"shape":"PutUserStatusResponse"},
1647+
"errors":[
1648+
{"shape":"InvalidRequestException"},
1649+
{"shape":"InvalidParameterException"},
1650+
{"shape":"ResourceNotFoundException"},
1651+
{"shape":"ThrottlingException"},
1652+
{"shape":"AccessDeniedException"},
1653+
{"shape":"InternalServiceException"}
1654+
],
1655+
"documentation":"<p>Changes the current status of a user or agent in Amazon Connect. If the agent is currently handling a contact, this sets the agent's next status.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/metrics-agent-status.html\">Agent status</a> and <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/set-next-status.html\">Set your next status</a> in the <i>Amazon Connect Administrator Guide</i>.</p>"
1656+
},
16391657
"ReleasePhoneNumber":{
16401658
"name":"ReleasePhoneNumber",
16411659
"http":{
@@ -8144,6 +8162,37 @@
81448162
"type":"list",
81458163
"member":{"shape":"PromptSummary"}
81468164
},
8165+
"PutUserStatusRequest":{
8166+
"type":"structure",
8167+
"required":[
8168+
"UserId",
8169+
"InstanceId",
8170+
"AgentStatusId"
8171+
],
8172+
"members":{
8173+
"UserId":{
8174+
"shape":"UserId",
8175+
"documentation":"<p>The identifier of the user.</p>",
8176+
"location":"uri",
8177+
"locationName":"UserId"
8178+
},
8179+
"InstanceId":{
8180+
"shape":"InstanceId",
8181+
"documentation":"<p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>",
8182+
"location":"uri",
8183+
"locationName":"InstanceId"
8184+
},
8185+
"AgentStatusId":{
8186+
"shape":"AgentStatusId",
8187+
"documentation":"<p>The identifier of the agent status.</p>"
8188+
}
8189+
}
8190+
},
8191+
"PutUserStatusResponse":{
8192+
"type":"structure",
8193+
"members":{
8194+
}
8195+
},
81478196
"Queue":{
81488197
"type":"structure",
81498198
"members":{

0 commit comments

Comments
 (0)