|
1149 | 1149 | ],
|
1150 | 1150 | "documentation":"<p>Gets the real-time metric data from the specified Amazon Connect instance.</p> <p>For a description of each metric, see <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/real-time-metrics-definitions.html\">Real-time Metrics Definitions</a> in the <i>Amazon Connect Administrator Guide</i>.</p>"
|
1151 | 1151 | },
|
| 1152 | + "GetCurrentUserData":{ |
| 1153 | + "name":"GetCurrentUserData", |
| 1154 | + "http":{ |
| 1155 | + "method":"POST", |
| 1156 | + "requestUri":"/metrics/userdata/{InstanceId}" |
| 1157 | + }, |
| 1158 | + "input":{"shape":"GetCurrentUserDataRequest"}, |
| 1159 | + "output":{"shape":"GetCurrentUserDataResponse"}, |
| 1160 | + "errors":[ |
| 1161 | + {"shape":"InvalidRequestException"}, |
| 1162 | + {"shape":"InvalidParameterException"}, |
| 1163 | + {"shape":"InternalServiceException"}, |
| 1164 | + {"shape":"ThrottlingException"}, |
| 1165 | + {"shape":"ResourceNotFoundException"} |
| 1166 | + ], |
| 1167 | + "documentation":"<p>Gets the real-time active user data from the specified Amazon Connect instance. </p>" |
| 1168 | + }, |
1152 | 1169 | "GetFederationToken":{
|
1153 | 1170 | "name":"GetFederationToken",
|
1154 | 1171 | "http":{
|
|
2573 | 2590 | "type":"integer",
|
2574 | 2591 | "min":0
|
2575 | 2592 | },
|
| 2593 | + "AgentContactReference":{ |
| 2594 | + "type":"structure", |
| 2595 | + "members":{ |
| 2596 | + "ContactId":{ |
| 2597 | + "shape":"ContactId", |
| 2598 | + "documentation":"<p>The identifier of the contact in this instance of Amazon Connect. </p>" |
| 2599 | + }, |
| 2600 | + "Channel":{ |
| 2601 | + "shape":"Channel", |
| 2602 | + "documentation":"<p>The channel of the contact.</p>" |
| 2603 | + }, |
| 2604 | + "InitiationMethod":{ |
| 2605 | + "shape":"ContactInitiationMethod", |
| 2606 | + "documentation":"<p>How the contact was initiated.</p>" |
| 2607 | + }, |
| 2608 | + "AgentContactState":{ |
| 2609 | + "shape":"ContactState", |
| 2610 | + "documentation":"<p>The <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html\">state of the contact</a>.</p>" |
| 2611 | + }, |
| 2612 | + "StateStartTimestamp":{ |
| 2613 | + "shape":"Timestamp", |
| 2614 | + "documentation":"<p>The epoch timestamp when the contact state started.</p>" |
| 2615 | + }, |
| 2616 | + "ConnectedToAgentTimestamp":{ |
| 2617 | + "shape":"Timestamp", |
| 2618 | + "documentation":"<p>The time at which the contact was connected to an agent.</p>" |
| 2619 | + }, |
| 2620 | + "Queue":{"shape":"QueueReference"} |
| 2621 | + }, |
| 2622 | + "documentation":"<p>Information about the <a href=\"https://docs.aws.amazon.com/connect/latest/APIReference/API_Contact.html\">contact</a> associated to the user.</p>" |
| 2623 | + }, |
| 2624 | + "AgentContactReferenceList":{ |
| 2625 | + "type":"list", |
| 2626 | + "member":{"shape":"AgentContactReference"} |
| 2627 | + }, |
2576 | 2628 | "AgentFirstName":{
|
2577 | 2629 | "type":"string",
|
2578 | 2630 | "max":100,
|
|
2656 | 2708 | "max":50,
|
2657 | 2709 | "min":1
|
2658 | 2710 | },
|
| 2711 | + "AgentStatusReference":{ |
| 2712 | + "type":"structure", |
| 2713 | + "members":{ |
| 2714 | + "StatusStartTimestamp":{ |
| 2715 | + "shape":"Timestamp", |
| 2716 | + "documentation":"<p>The start timestamp of the agent's status.</p>" |
| 2717 | + }, |
| 2718 | + "StatusArn":{ |
| 2719 | + "shape":"ARN", |
| 2720 | + "documentation":"<p>The Amazon Resource Name (ARN) of the agent's status.</p>" |
| 2721 | + } |
| 2722 | + }, |
| 2723 | + "documentation":"<p>Information about the agent's status.</p>" |
| 2724 | + }, |
2659 | 2725 | "AgentStatusState":{
|
2660 | 2726 | "type":"string",
|
2661 | 2727 | "enum":[
|
|
3070 | 3136 | "TASK"
|
3071 | 3137 | ]
|
3072 | 3138 | },
|
| 3139 | + "ChannelToCountMap":{ |
| 3140 | + "type":"map", |
| 3141 | + "key":{"shape":"Channel"}, |
| 3142 | + "value":{"shape":"IntegerCount"} |
| 3143 | + }, |
3073 | 3144 | "Channels":{
|
3074 | 3145 | "type":"list",
|
3075 | 3146 | "member":{"shape":"Channel"},
|
|
3289 | 3360 | },
|
3290 | 3361 | "documentation":"<p>Contains information about a contact.</p>"
|
3291 | 3362 | },
|
| 3363 | + "ContactFilter":{ |
| 3364 | + "type":"structure", |
| 3365 | + "members":{ |
| 3366 | + "ContactStates":{ |
| 3367 | + "shape":"ContactStates", |
| 3368 | + "documentation":"<p>A list of up to 9 <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html\">contact states</a>.</p>" |
| 3369 | + } |
| 3370 | + }, |
| 3371 | + "documentation":"<p>Filters user data based on the contact information that is associated to the users. It contains a list of <a href=\"https://docs.aws.amazon.com/connect/latest/adminguide/about-contact-states.html\">contact states</a>.</p>" |
| 3372 | + }, |
3292 | 3373 | "ContactFlow":{
|
3293 | 3374 | "type":"structure",
|
3294 | 3375 | "members":{
|
|
3535 | 3616 | "key":{"shape":"ReferenceKey"},
|
3536 | 3617 | "value":{"shape":"Reference"}
|
3537 | 3618 | },
|
| 3619 | + "ContactState":{ |
| 3620 | + "type":"string", |
| 3621 | + "enum":[ |
| 3622 | + "INCOMING", |
| 3623 | + "PENDING", |
| 3624 | + "CONNECTING", |
| 3625 | + "CONNECTED", |
| 3626 | + "CONNECTED_ONHOLD", |
| 3627 | + "MISSED", |
| 3628 | + "ERROR", |
| 3629 | + "ENDED", |
| 3630 | + "REJECTED" |
| 3631 | + ] |
| 3632 | + }, |
| 3633 | + "ContactStates":{ |
| 3634 | + "type":"list", |
| 3635 | + "member":{"shape":"ContactState"}, |
| 3636 | + "max":9 |
| 3637 | + }, |
3538 | 3638 | "ControlPlaneTagFilter":{
|
3539 | 3639 | "type":"structure",
|
3540 | 3640 | "members":{
|
|
5671 | 5771 | }
|
5672 | 5772 | }
|
5673 | 5773 | },
|
| 5774 | + "GetCurrentUserDataRequest":{ |
| 5775 | + "type":"structure", |
| 5776 | + "required":[ |
| 5777 | + "InstanceId", |
| 5778 | + "Filters" |
| 5779 | + ], |
| 5780 | + "members":{ |
| 5781 | + "InstanceId":{ |
| 5782 | + "shape":"InstanceId", |
| 5783 | + "documentation":"<p>The identifier of the Amazon Connect instance. You can find the instanceId in the ARN of the instance.</p>", |
| 5784 | + "location":"uri", |
| 5785 | + "locationName":"InstanceId" |
| 5786 | + }, |
| 5787 | + "Filters":{ |
| 5788 | + "shape":"UserDataFilters", |
| 5789 | + "documentation":"<p>Filters up to 100 <code>Queues</code>, or up to 9 <code>ContactStates</code>. The user data is retrieved only for those users who are associated with the queues and have contacts that are in the specified <code>ContactState</code>. </p>" |
| 5790 | + }, |
| 5791 | + "NextToken":{ |
| 5792 | + "shape":"NextToken", |
| 5793 | + "documentation":"<p>The token for the next set of results. Use the value returned in the previous response in the next request to retrieve the next set of results.</p>" |
| 5794 | + }, |
| 5795 | + "MaxResults":{ |
| 5796 | + "shape":"MaxResult100", |
| 5797 | + "documentation":"<p>The maximum number of results to return per page.</p>", |
| 5798 | + "box":true |
| 5799 | + } |
| 5800 | + } |
| 5801 | + }, |
| 5802 | + "GetCurrentUserDataResponse":{ |
| 5803 | + "type":"structure", |
| 5804 | + "members":{ |
| 5805 | + "NextToken":{ |
| 5806 | + "shape":"NextToken", |
| 5807 | + "documentation":"<p>If there are additional results, this is the token for the next set of results.</p>" |
| 5808 | + }, |
| 5809 | + "UserDataList":{ |
| 5810 | + "shape":"UserDataList", |
| 5811 | + "documentation":"<p>A list of the user data that is returned.</p>" |
| 5812 | + } |
| 5813 | + } |
| 5814 | + }, |
5674 | 5815 | "GetFederationTokenRequest":{
|
5675 | 5816 | "type":"structure",
|
5676 | 5817 | "required":["InstanceId"],
|
|
5928 | 6069 | "type":"list",
|
5929 | 6070 | "member":{"shape":"HierarchyGroupSummary"}
|
5930 | 6071 | },
|
| 6072 | + "HierarchyGroupSummaryReference":{ |
| 6073 | + "type":"structure", |
| 6074 | + "members":{ |
| 6075 | + "Id":{ |
| 6076 | + "shape":"HierarchyGroupId", |
| 6077 | + "documentation":"<p>The unique identifier for the hierarchy group.</p>" |
| 6078 | + }, |
| 6079 | + "Arn":{ |
| 6080 | + "shape":"ARN", |
| 6081 | + "documentation":"<p>The Amazon Resource Name (ARN) for the hierarchy group. </p>" |
| 6082 | + } |
| 6083 | + }, |
| 6084 | + "documentation":"<p>Information about the hierarchy group.</p>" |
| 6085 | + }, |
5931 | 6086 | "HierarchyLevel":{
|
5932 | 6087 | "type":"structure",
|
5933 | 6088 | "members":{
|
|
5985 | 6140 | },
|
5986 | 6141 | "documentation":"<p>Contains information about the levels of a hierarchy group.</p>"
|
5987 | 6142 | },
|
| 6143 | + "HierarchyPathReference":{ |
| 6144 | + "type":"structure", |
| 6145 | + "members":{ |
| 6146 | + "LevelOne":{ |
| 6147 | + "shape":"HierarchyGroupSummaryReference", |
| 6148 | + "documentation":"<p>Information about level one.</p>" |
| 6149 | + }, |
| 6150 | + "LevelTwo":{ |
| 6151 | + "shape":"HierarchyGroupSummaryReference", |
| 6152 | + "documentation":"<p>Information about level two.</p>" |
| 6153 | + }, |
| 6154 | + "LevelThree":{ |
| 6155 | + "shape":"HierarchyGroupSummaryReference", |
| 6156 | + "documentation":"<p>Information about level three.</p>" |
| 6157 | + }, |
| 6158 | + "LevelFour":{ |
| 6159 | + "shape":"HierarchyGroupSummaryReference", |
| 6160 | + "documentation":"<p>Information about level four.</p>" |
| 6161 | + }, |
| 6162 | + "LevelFive":{ |
| 6163 | + "shape":"HierarchyGroupSummaryReference", |
| 6164 | + "documentation":"<p>Information about level five.</p>" |
| 6165 | + } |
| 6166 | + }, |
| 6167 | + "documentation":"<p>Information about the levels in the hierarchy group.</p>" |
| 6168 | + }, |
5988 | 6169 | "HierarchyStructure":{
|
5989 | 6170 | "type":"structure",
|
5990 | 6171 | "members":{
|
|
6456 | 6637 | "type":"list",
|
6457 | 6638 | "member":{"shape":"InstanceSummary"}
|
6458 | 6639 | },
|
| 6640 | + "IntegerCount":{ |
| 6641 | + "type":"integer", |
| 6642 | + "min":0 |
| 6643 | + }, |
6459 | 6644 | "IntegrationAssociationId":{
|
6460 | 6645 | "type":"string",
|
6461 | 6646 | "max":200,
|
|
9253 | 9438 | "type":"list",
|
9254 | 9439 | "member":{"shape":"RoutingProfileQueueReference"}
|
9255 | 9440 | },
|
| 9441 | + "RoutingProfileReference":{ |
| 9442 | + "type":"structure", |
| 9443 | + "members":{ |
| 9444 | + "Id":{ |
| 9445 | + "shape":"RoutingProfileId", |
| 9446 | + "documentation":"<p>The identifier of the routing profile.</p>" |
| 9447 | + }, |
| 9448 | + "Arn":{ |
| 9449 | + "shape":"ARN", |
| 9450 | + "documentation":"<p>The Amazon Resource Name (ARN) of the routing profile.</p>" |
| 9451 | + } |
| 9452 | + }, |
| 9453 | + "documentation":"<p>Information about the routing profile assigned to the user.</p>" |
| 9454 | + }, |
9256 | 9455 | "RoutingProfileSummary":{
|
9257 | 9456 | "type":"structure",
|
9258 | 9457 | "members":{
|
|
10277 | 10476 | },
|
10278 | 10477 | "ContactId":{
|
10279 | 10478 | "shape":"ContactId",
|
10280 |
| - "documentation":"<p>The identifier of the contact in this instance of Amazon Connect </p>" |
| 10479 | + "documentation":"<p>The identifier of the contact in this instance of Amazon Connect. </p>" |
10281 | 10480 | },
|
10282 | 10481 | "QueueId":{
|
10283 | 10482 | "shape":"QueueId",
|
|
10303 | 10502 | "members":{
|
10304 | 10503 | "ContactId":{
|
10305 | 10504 | "shape":"ContactId",
|
10306 |
| - "documentation":"<p>The identifier of the contact in this instance of Amazon Connect </p>" |
| 10505 | + "documentation":"<p>The identifier of the contact in this instance of Amazon Connect. </p>" |
10307 | 10506 | },
|
10308 | 10507 | "ContactArn":{
|
10309 | 10508 | "shape":"ARN",
|
|
11475 | 11674 | },
|
11476 | 11675 | "documentation":"<p>Contains information about a user account for a Amazon Connect instance.</p>"
|
11477 | 11676 | },
|
| 11677 | + "UserData":{ |
| 11678 | + "type":"structure", |
| 11679 | + "members":{ |
| 11680 | + "User":{ |
| 11681 | + "shape":"UserReference", |
| 11682 | + "documentation":"<p>Information about the user for the data that is returned. It contains resourceId and ARN of the user. </p>" |
| 11683 | + }, |
| 11684 | + "RoutingProfile":{ |
| 11685 | + "shape":"RoutingProfileReference", |
| 11686 | + "documentation":"<p>Information about the routing profile that is assigned to the user.</p>" |
| 11687 | + }, |
| 11688 | + "HierarchyPath":{ |
| 11689 | + "shape":"HierarchyPathReference", |
| 11690 | + "documentation":"<p>Contains information about the levels of a hierarchy group assigned to a user.</p>" |
| 11691 | + }, |
| 11692 | + "Status":{ |
| 11693 | + "shape":"AgentStatusReference", |
| 11694 | + "documentation":"<p>The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor manually changes in the real-time metrics report.</p>" |
| 11695 | + }, |
| 11696 | + "AvailableSlotsByChannel":{ |
| 11697 | + "shape":"ChannelToCountMap", |
| 11698 | + "documentation":"<p>A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots. </p>" |
| 11699 | + }, |
| 11700 | + "MaxSlotsByChannel":{ |
| 11701 | + "shape":"ChannelToCountMap", |
| 11702 | + "documentation":"<p>A map of maximum slots by channel. The key is a channel name. The value is an integer: the maximum number of slots. This is calculated from <a href=\"https://docs.aws.amazon.com/connect/latest/APIReference/API_MediaConcurrency.html\">MediaConcurrency</a> of the RoutingProfile assigned to the agent. </p>" |
| 11703 | + }, |
| 11704 | + "ActiveSlotsByChannel":{ |
| 11705 | + "shape":"ChannelToCountMap", |
| 11706 | + "documentation":"<p> A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots. </p>" |
| 11707 | + }, |
| 11708 | + "Contacts":{ |
| 11709 | + "shape":"AgentContactReferenceList", |
| 11710 | + "documentation":"<p>A list of contact reference information.</p>" |
| 11711 | + } |
| 11712 | + }, |
| 11713 | + "documentation":"<p>Data for a user.</p>" |
| 11714 | + }, |
| 11715 | + "UserDataFilters":{ |
| 11716 | + "type":"structure", |
| 11717 | + "members":{ |
| 11718 | + "Queues":{ |
| 11719 | + "shape":"Queues", |
| 11720 | + "documentation":"<p>Contains information about a queue resource for which metrics are returned.</p>" |
| 11721 | + }, |
| 11722 | + "ContactFilter":{ |
| 11723 | + "shape":"ContactFilter", |
| 11724 | + "documentation":"<p>A filter for the user data based on the contact information that is associated to the user. It contains a list of contact states. </p>" |
| 11725 | + } |
| 11726 | + }, |
| 11727 | + "documentation":"<p>A filter for the user data.</p>" |
| 11728 | + }, |
| 11729 | + "UserDataList":{ |
| 11730 | + "type":"list", |
| 11731 | + "member":{"shape":"UserData"} |
| 11732 | + }, |
11478 | 11733 | "UserId":{"type":"string"},
|
11479 | 11734 | "UserIdentityInfo":{
|
11480 | 11735 | "type":"structure",
|
|
11558 | 11813 | },
|
11559 | 11814 | "documentation":"<p>Contains information about the quick connect configuration settings for a user. The contact flow must be of type Transfer to Agent.</p>"
|
11560 | 11815 | },
|
| 11816 | + "UserReference":{ |
| 11817 | + "type":"structure", |
| 11818 | + "members":{ |
| 11819 | + "Id":{ |
| 11820 | + "shape":"UserId", |
| 11821 | + "documentation":"<p>The unique identifier for the user.</p>" |
| 11822 | + }, |
| 11823 | + "Arn":{ |
| 11824 | + "shape":"ARN", |
| 11825 | + "documentation":"<p>The Amazon Resource Name (ARN) for the user.</p>" |
| 11826 | + } |
| 11827 | + }, |
| 11828 | + "documentation":"<p>Information about the user.</p>" |
| 11829 | + }, |
11561 | 11830 | "UserSearchConditionList":{
|
11562 | 11831 | "type":"list",
|
11563 | 11832 | "member":{"shape":"UserSearchCriteria"}
|
|
0 commit comments