@aws-sdk/client-connect 3.299.0 → 3.301.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (176) hide show
  1. package/dist-cjs/protocols/Aws_restJson1.js +1 -0
  2. package/dist-es/protocols/Aws_restJson1.js +1 -0
  3. package/dist-types/Connect.d.ts +2 -3
  4. package/dist-types/commands/AssociateApprovedOriginCommand.d.ts +4 -0
  5. package/dist-types/commands/AssociateBotCommand.d.ts +10 -0
  6. package/dist-types/commands/AssociateDefaultVocabularyCommand.d.ts +5 -0
  7. package/dist-types/commands/AssociateInstanceStorageConfigCommand.d.ts +30 -0
  8. package/dist-types/commands/AssociateLambdaFunctionCommand.d.ts +4 -0
  9. package/dist-types/commands/AssociateLexBotCommand.d.ts +7 -0
  10. package/dist-types/commands/AssociatePhoneNumberContactFlowCommand.d.ts +5 -0
  11. package/dist-types/commands/AssociateQueueQuickConnectsCommand.d.ts +7 -0
  12. package/dist-types/commands/AssociateRoutingProfileQueuesCommand.d.ts +14 -0
  13. package/dist-types/commands/AssociateSecurityKeyCommand.d.ts +4 -0
  14. package/dist-types/commands/ClaimPhoneNumberCommand.d.ts +9 -0
  15. package/dist-types/commands/CreateAgentStatusCommand.d.ts +10 -0
  16. package/dist-types/commands/CreateContactFlowCommand.d.ts +10 -0
  17. package/dist-types/commands/CreateContactFlowModuleCommand.d.ts +10 -0
  18. package/dist-types/commands/CreateHoursOfOperationCommand.d.ts +22 -0
  19. package/dist-types/commands/CreateInstanceCommand.d.ts +8 -0
  20. package/dist-types/commands/CreateIntegrationAssociationCommand.d.ts +11 -0
  21. package/dist-types/commands/CreateQueueCommand.d.ts +18 -0
  22. package/dist-types/commands/CreateQuickConnectCommand.d.ts +22 -0
  23. package/dist-types/commands/CreateRoutingProfileCommand.d.ts +25 -0
  24. package/dist-types/commands/CreateRuleCommand.d.ts +45 -0
  25. package/dist-types/commands/CreateSecurityProfileCommand.d.ts +17 -0
  26. package/dist-types/commands/CreateTaskTemplateCommand.d.ts +53 -0
  27. package/dist-types/commands/CreateTrafficDistributionGroupCommand.d.ts +9 -0
  28. package/dist-types/commands/CreateUseCaseCommand.d.ts +8 -0
  29. package/dist-types/commands/CreateUserCommand.d.ts +27 -0
  30. package/dist-types/commands/CreateUserHierarchyGroupCommand.d.ts +8 -0
  31. package/dist-types/commands/CreateVocabularyCommand.d.ts +10 -0
  32. package/dist-types/commands/DeleteContactFlowCommand.d.ts +4 -0
  33. package/dist-types/commands/DeleteContactFlowModuleCommand.d.ts +4 -0
  34. package/dist-types/commands/DeleteHoursOfOperationCommand.d.ts +4 -0
  35. package/dist-types/commands/DeleteInstanceCommand.d.ts +3 -0
  36. package/dist-types/commands/DeleteIntegrationAssociationCommand.d.ts +4 -0
  37. package/dist-types/commands/DeleteQuickConnectCommand.d.ts +4 -0
  38. package/dist-types/commands/DeleteRuleCommand.d.ts +4 -0
  39. package/dist-types/commands/DeleteSecurityProfileCommand.d.ts +4 -0
  40. package/dist-types/commands/DeleteTaskTemplateCommand.d.ts +4 -0
  41. package/dist-types/commands/DeleteTrafficDistributionGroupCommand.d.ts +3 -0
  42. package/dist-types/commands/DeleteUseCaseCommand.d.ts +5 -0
  43. package/dist-types/commands/DeleteUserCommand.d.ts +4 -0
  44. package/dist-types/commands/DeleteUserHierarchyGroupCommand.d.ts +4 -0
  45. package/dist-types/commands/DeleteVocabularyCommand.d.ts +4 -0
  46. package/dist-types/commands/DescribeAgentStatusCommand.d.ts +4 -0
  47. package/dist-types/commands/DescribeContactCommand.d.ts +4 -0
  48. package/dist-types/commands/DescribeContactFlowCommand.d.ts +4 -0
  49. package/dist-types/commands/DescribeContactFlowModuleCommand.d.ts +4 -0
  50. package/dist-types/commands/DescribeHoursOfOperationCommand.d.ts +4 -0
  51. package/dist-types/commands/DescribeInstanceAttributeCommand.d.ts +4 -0
  52. package/dist-types/commands/DescribeInstanceCommand.d.ts +3 -0
  53. package/dist-types/commands/DescribeInstanceStorageConfigCommand.d.ts +5 -0
  54. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +3 -0
  55. package/dist-types/commands/DescribeQueueCommand.d.ts +4 -0
  56. package/dist-types/commands/DescribeQuickConnectCommand.d.ts +4 -0
  57. package/dist-types/commands/DescribeRoutingProfileCommand.d.ts +4 -0
  58. package/dist-types/commands/DescribeRuleCommand.d.ts +4 -0
  59. package/dist-types/commands/DescribeSecurityProfileCommand.d.ts +4 -0
  60. package/dist-types/commands/DescribeTrafficDistributionGroupCommand.d.ts +3 -0
  61. package/dist-types/commands/DescribeUserCommand.d.ts +4 -0
  62. package/dist-types/commands/DescribeUserHierarchyGroupCommand.d.ts +4 -0
  63. package/dist-types/commands/DescribeUserHierarchyStructureCommand.d.ts +3 -0
  64. package/dist-types/commands/DescribeVocabularyCommand.d.ts +4 -0
  65. package/dist-types/commands/DisassociateApprovedOriginCommand.d.ts +4 -0
  66. package/dist-types/commands/DisassociateBotCommand.d.ts +10 -0
  67. package/dist-types/commands/DisassociateInstanceStorageConfigCommand.d.ts +5 -0
  68. package/dist-types/commands/DisassociateLambdaFunctionCommand.d.ts +4 -0
  69. package/dist-types/commands/DisassociateLexBotCommand.d.ts +5 -0
  70. package/dist-types/commands/DisassociatePhoneNumberContactFlowCommand.d.ts +4 -0
  71. package/dist-types/commands/DisassociateQueueQuickConnectsCommand.d.ts +7 -0
  72. package/dist-types/commands/DisassociateRoutingProfileQueuesCommand.d.ts +10 -0
  73. package/dist-types/commands/DisassociateSecurityKeyCommand.d.ts +4 -0
  74. package/dist-types/commands/DismissUserContactCommand.d.ts +5 -0
  75. package/dist-types/commands/GetContactAttributesCommand.d.ts +4 -0
  76. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +31 -0
  77. package/dist-types/commands/GetCurrentUserDataCommand.d.ts +24 -0
  78. package/dist-types/commands/GetFederationTokenCommand.d.ts +3 -0
  79. package/dist-types/commands/GetMetricDataCommand.d.ts +32 -0
  80. package/dist-types/commands/GetMetricDataV2Command.d.ts +39 -3
  81. package/dist-types/commands/GetTaskTemplateCommand.d.ts +5 -0
  82. package/dist-types/commands/GetTrafficDistributionCommand.d.ts +3 -0
  83. package/dist-types/commands/ListAgentStatusesCommand.d.ts +8 -0
  84. package/dist-types/commands/ListApprovedOriginsCommand.d.ts +5 -0
  85. package/dist-types/commands/ListBotsCommand.d.ts +6 -0
  86. package/dist-types/commands/ListContactFlowModulesCommand.d.ts +6 -0
  87. package/dist-types/commands/ListContactFlowsCommand.d.ts +8 -0
  88. package/dist-types/commands/ListContactReferencesCommand.d.ts +8 -0
  89. package/dist-types/commands/ListDefaultVocabulariesCommand.d.ts +6 -0
  90. package/dist-types/commands/ListHoursOfOperationsCommand.d.ts +5 -0
  91. package/dist-types/commands/ListInstanceAttributesCommand.d.ts +5 -0
  92. package/dist-types/commands/ListInstanceStorageConfigsCommand.d.ts +6 -0
  93. package/dist-types/commands/ListInstancesCommand.d.ts +4 -0
  94. package/dist-types/commands/ListIntegrationAssociationsCommand.d.ts +6 -0
  95. package/dist-types/commands/ListLambdaFunctionsCommand.d.ts +5 -0
  96. package/dist-types/commands/ListLexBotsCommand.d.ts +5 -0
  97. package/dist-types/commands/ListPhoneNumbersCommand.d.ts +11 -0
  98. package/dist-types/commands/ListPhoneNumbersV2Command.d.ts +12 -0
  99. package/dist-types/commands/ListPromptsCommand.d.ts +5 -0
  100. package/dist-types/commands/ListQueueQuickConnectsCommand.d.ts +6 -0
  101. package/dist-types/commands/ListQueuesCommand.d.ts +8 -0
  102. package/dist-types/commands/ListQuickConnectsCommand.d.ts +8 -0
  103. package/dist-types/commands/ListRoutingProfileQueuesCommand.d.ts +6 -0
  104. package/dist-types/commands/ListRoutingProfilesCommand.d.ts +5 -0
  105. package/dist-types/commands/ListRulesCommand.d.ts +7 -0
  106. package/dist-types/commands/ListSecurityKeysCommand.d.ts +5 -0
  107. package/dist-types/commands/ListSecurityProfilePermissionsCommand.d.ts +6 -0
  108. package/dist-types/commands/ListSecurityProfilesCommand.d.ts +5 -0
  109. package/dist-types/commands/ListTagsForResourceCommand.d.ts +3 -0
  110. package/dist-types/commands/ListTaskTemplatesCommand.d.ts +7 -0
  111. package/dist-types/commands/ListTrafficDistributionGroupsCommand.d.ts +5 -0
  112. package/dist-types/commands/ListUseCasesCommand.d.ts +6 -0
  113. package/dist-types/commands/ListUserHierarchyGroupsCommand.d.ts +5 -0
  114. package/dist-types/commands/ListUsersCommand.d.ts +5 -0
  115. package/dist-types/commands/MonitorContactCommand.d.ts +9 -0
  116. package/dist-types/commands/PutUserStatusCommand.d.ts +5 -0
  117. package/dist-types/commands/ReleasePhoneNumberCommand.d.ts +4 -0
  118. package/dist-types/commands/ReplicateInstanceCommand.d.ts +6 -0
  119. package/dist-types/commands/ResumeContactRecordingCommand.d.ts +5 -0
  120. package/dist-types/commands/SearchAvailablePhoneNumbersCommand.d.ts +8 -0
  121. package/dist-types/commands/SearchQueuesCommand.d.ts +51 -0
  122. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +49 -0
  123. package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +49 -0
  124. package/dist-types/commands/SearchUsersCommand.d.ts +57 -0
  125. package/dist-types/commands/SearchVocabulariesCommand.d.ts +8 -0
  126. package/dist-types/commands/StartChatContactCommand.d.ts +24 -0
  127. package/dist-types/commands/StartContactRecordingCommand.d.ts +8 -0
  128. package/dist-types/commands/StartContactStreamingCommand.d.ts +8 -0
  129. package/dist-types/commands/StartOutboundVoiceContactCommand.d.ts +17 -0
  130. package/dist-types/commands/StartTaskContactCommand.d.ts +21 -0
  131. package/dist-types/commands/StopContactCommand.d.ts +4 -0
  132. package/dist-types/commands/StopContactRecordingCommand.d.ts +5 -0
  133. package/dist-types/commands/StopContactStreamingCommand.d.ts +5 -0
  134. package/dist-types/commands/SuspendContactRecordingCommand.d.ts +5 -0
  135. package/dist-types/commands/TagResourceCommand.d.ts +6 -0
  136. package/dist-types/commands/TransferContactCommand.d.ts +8 -0
  137. package/dist-types/commands/UntagResourceCommand.d.ts +6 -0
  138. package/dist-types/commands/UpdateAgentStatusCommand.d.ts +9 -0
  139. package/dist-types/commands/UpdateContactAttributesCommand.d.ts +7 -0
  140. package/dist-types/commands/UpdateContactCommand.d.ts +12 -0
  141. package/dist-types/commands/UpdateContactFlowContentCommand.d.ts +5 -0
  142. package/dist-types/commands/UpdateContactFlowMetadataCommand.d.ts +7 -0
  143. package/dist-types/commands/UpdateContactFlowModuleContentCommand.d.ts +5 -0
  144. package/dist-types/commands/UpdateContactFlowModuleMetadataCommand.d.ts +7 -0
  145. package/dist-types/commands/UpdateContactFlowNameCommand.d.ts +6 -0
  146. package/dist-types/commands/UpdateContactScheduleCommand.d.ts +5 -0
  147. package/dist-types/commands/UpdateHoursOfOperationCommand.d.ts +20 -0
  148. package/dist-types/commands/UpdateInstanceAttributeCommand.d.ts +5 -0
  149. package/dist-types/commands/UpdateInstanceStorageConfigCommand.d.ts +31 -0
  150. package/dist-types/commands/UpdateParticipantRoleConfigCommand.d.ts +18 -0
  151. package/dist-types/commands/UpdatePhoneNumberCommand.d.ts +5 -0
  152. package/dist-types/commands/UpdateQueueHoursOfOperationCommand.d.ts +5 -0
  153. package/dist-types/commands/UpdateQueueMaxContactsCommand.d.ts +5 -0
  154. package/dist-types/commands/UpdateQueueNameCommand.d.ts +6 -0
  155. package/dist-types/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +9 -0
  156. package/dist-types/commands/UpdateQueueStatusCommand.d.ts +5 -0
  157. package/dist-types/commands/UpdateQuickConnectConfigCommand.d.ts +18 -0
  158. package/dist-types/commands/UpdateQuickConnectNameCommand.d.ts +6 -0
  159. package/dist-types/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +10 -0
  160. package/dist-types/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +5 -0
  161. package/dist-types/commands/UpdateRoutingProfileNameCommand.d.ts +6 -0
  162. package/dist-types/commands/UpdateRoutingProfileQueuesCommand.d.ts +14 -0
  163. package/dist-types/commands/UpdateRuleCommand.d.ts +41 -0
  164. package/dist-types/commands/UpdateSecurityProfileCommand.d.ts +14 -0
  165. package/dist-types/commands/UpdateTaskTemplateCommand.d.ts +53 -0
  166. package/dist-types/commands/UpdateTrafficDistributionCommand.d.ts +11 -0
  167. package/dist-types/commands/UpdateUserHierarchyCommand.d.ts +5 -0
  168. package/dist-types/commands/UpdateUserHierarchyGroupNameCommand.d.ts +5 -0
  169. package/dist-types/commands/UpdateUserHierarchyStructureCommand.d.ts +20 -0
  170. package/dist-types/commands/UpdateUserIdentityInfoCommand.d.ts +11 -0
  171. package/dist-types/commands/UpdateUserPhoneConfigCommand.d.ts +10 -0
  172. package/dist-types/commands/UpdateUserRoutingProfileCommand.d.ts +5 -0
  173. package/dist-types/commands/UpdateUserSecurityProfilesCommand.d.ts +7 -0
  174. package/dist-types/models/models_1.d.ts +22 -5
  175. package/dist-types/ts3.4/models/models_1.d.ts +1 -0
  176. package/package.json +8 -8
@@ -28,6 +28,37 @@ export interface GetCurrentMetricDataCommandOutput extends GetCurrentMetricDataR
28
28
  * import { ConnectClient, GetCurrentMetricDataCommand } from "@aws-sdk/client-connect"; // ES Modules import
29
29
  * // const { ConnectClient, GetCurrentMetricDataCommand } = require("@aws-sdk/client-connect"); // CommonJS import
30
30
  * const client = new ConnectClient(config);
31
+ * const input = { // GetCurrentMetricDataRequest
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * Filters: { // Filters
34
+ * Queues: [ // Queues
35
+ * "STRING_VALUE",
36
+ * ],
37
+ * Channels: [ // Channels
38
+ * "VOICE" || "CHAT" || "TASK",
39
+ * ],
40
+ * RoutingProfiles: [ // RoutingProfiles
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * },
44
+ * Groupings: [ // Groupings
45
+ * "QUEUE" || "CHANNEL" || "ROUTING_PROFILE",
46
+ * ],
47
+ * CurrentMetrics: [ // CurrentMetrics // required
48
+ * { // CurrentMetric
49
+ * Name: "AGENTS_ONLINE" || "AGENTS_AVAILABLE" || "AGENTS_ON_CALL" || "AGENTS_NON_PRODUCTIVE" || "AGENTS_AFTER_CONTACT_WORK" || "AGENTS_ERROR" || "AGENTS_STAFFED" || "CONTACTS_IN_QUEUE" || "OLDEST_CONTACT_AGE" || "CONTACTS_SCHEDULED" || "AGENTS_ON_CONTACT" || "SLOTS_ACTIVE" || "SLOTS_AVAILABLE",
50
+ * Unit: "SECONDS" || "COUNT" || "PERCENT",
51
+ * },
52
+ * ],
53
+ * NextToken: "STRING_VALUE",
54
+ * MaxResults: Number("int"),
55
+ * SortCriteria: [ // CurrentMetricSortCriteriaMaxOne
56
+ * { // CurrentMetricSortCriteria
57
+ * SortByMetric: "AGENTS_ONLINE" || "AGENTS_AVAILABLE" || "AGENTS_ON_CALL" || "AGENTS_NON_PRODUCTIVE" || "AGENTS_AFTER_CONTACT_WORK" || "AGENTS_ERROR" || "AGENTS_STAFFED" || "CONTACTS_IN_QUEUE" || "OLDEST_CONTACT_AGE" || "CONTACTS_SCHEDULED" || "AGENTS_ON_CONTACT" || "SLOTS_ACTIVE" || "SLOTS_AVAILABLE",
58
+ * SortOrder: "ASCENDING" || "DESCENDING",
59
+ * },
60
+ * ],
61
+ * };
31
62
  * const command = new GetCurrentMetricDataCommand(input);
32
63
  * const response = await client.send(command);
33
64
  * ```
@@ -26,6 +26,30 @@ export interface GetCurrentUserDataCommandOutput extends GetCurrentUserDataRespo
26
26
  * import { ConnectClient, GetCurrentUserDataCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, GetCurrentUserDataCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // GetCurrentUserDataRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * Filters: { // UserDataFilters
32
+ * Queues: [ // Queues
33
+ * "STRING_VALUE",
34
+ * ],
35
+ * ContactFilter: { // ContactFilter
36
+ * ContactStates: [ // ContactStates
37
+ * "INCOMING" || "PENDING" || "CONNECTING" || "CONNECTED" || "CONNECTED_ONHOLD" || "MISSED" || "ERROR" || "ENDED" || "REJECTED",
38
+ * ],
39
+ * },
40
+ * RoutingProfiles: [ // RoutingProfiles
41
+ * "STRING_VALUE",
42
+ * ],
43
+ * Agents: [ // AgentsMinOneMaxHundred
44
+ * "STRING_VALUE",
45
+ * ],
46
+ * UserHierarchyGroups: [ // UserDataHierarchyGroups
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * },
50
+ * NextToken: "STRING_VALUE",
51
+ * MaxResults: Number("int"),
52
+ * };
29
53
  * const command = new GetCurrentUserDataCommand(input);
30
54
  * const response = await client.send(command);
31
55
  * ```
@@ -34,6 +34,9 @@ export interface GetFederationTokenCommandOutput extends GetFederationTokenRespo
34
34
  * import { ConnectClient, GetFederationTokenCommand } from "@aws-sdk/client-connect"; // ES Modules import
35
35
  * // const { ConnectClient, GetFederationTokenCommand } = require("@aws-sdk/client-connect"); // CommonJS import
36
36
  * const client = new ConnectClient(config);
37
+ * const input = { // GetFederationTokenRequest
38
+ * InstanceId: "STRING_VALUE", // required
39
+ * };
37
40
  * const command = new GetFederationTokenCommand(input);
38
41
  * const response = await client.send(command);
39
42
  * ```
@@ -28,6 +28,38 @@ export interface GetMetricDataCommandOutput extends GetMetricDataResponse, __Met
28
28
  * import { ConnectClient, GetMetricDataCommand } from "@aws-sdk/client-connect"; // ES Modules import
29
29
  * // const { ConnectClient, GetMetricDataCommand } = require("@aws-sdk/client-connect"); // CommonJS import
30
30
  * const client = new ConnectClient(config);
31
+ * const input = { // GetMetricDataRequest
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * StartTime: new Date("TIMESTAMP"), // required
34
+ * EndTime: new Date("TIMESTAMP"), // required
35
+ * Filters: { // Filters
36
+ * Queues: [ // Queues
37
+ * "STRING_VALUE",
38
+ * ],
39
+ * Channels: [ // Channels
40
+ * "VOICE" || "CHAT" || "TASK",
41
+ * ],
42
+ * RoutingProfiles: [ // RoutingProfiles
43
+ * "STRING_VALUE",
44
+ * ],
45
+ * },
46
+ * Groupings: [ // Groupings
47
+ * "QUEUE" || "CHANNEL" || "ROUTING_PROFILE",
48
+ * ],
49
+ * HistoricalMetrics: [ // HistoricalMetrics // required
50
+ * { // HistoricalMetric
51
+ * Name: "CONTACTS_QUEUED" || "CONTACTS_HANDLED" || "CONTACTS_ABANDONED" || "CONTACTS_CONSULTED" || "CONTACTS_AGENT_HUNG_UP_FIRST" || "CONTACTS_HANDLED_INCOMING" || "CONTACTS_HANDLED_OUTBOUND" || "CONTACTS_HOLD_ABANDONS" || "CONTACTS_TRANSFERRED_IN" || "CONTACTS_TRANSFERRED_OUT" || "CONTACTS_TRANSFERRED_IN_FROM_QUEUE" || "CONTACTS_TRANSFERRED_OUT_FROM_QUEUE" || "CONTACTS_MISSED" || "CALLBACK_CONTACTS_HANDLED" || "API_CONTACTS_HANDLED" || "OCCUPANCY" || "HANDLE_TIME" || "AFTER_CONTACT_WORK_TIME" || "QUEUED_TIME" || "ABANDON_TIME" || "QUEUE_ANSWER_TIME" || "HOLD_TIME" || "INTERACTION_TIME" || "INTERACTION_AND_HOLD_TIME" || "SERVICE_LEVEL",
52
+ * Threshold: { // Threshold
53
+ * Comparison: "LT",
54
+ * ThresholdValue: Number("double"),
55
+ * },
56
+ * Statistic: "SUM" || "MAX" || "AVG",
57
+ * Unit: "SECONDS" || "COUNT" || "PERCENT",
58
+ * },
59
+ * ],
60
+ * NextToken: "STRING_VALUE",
61
+ * MaxResults: Number("int"),
62
+ * };
31
63
  * const command = new GetMetricDataCommand(input);
32
64
  * const response = await client.send(command);
33
65
  * ```
@@ -24,12 +24,11 @@ export interface GetMetricDataV2CommandOutput extends GetMetricDataV2Response, _
24
24
  * <code>GetMetricDataV2</code> offers more features than <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_GetMetricData.html">GetMetricData</a>, the previous
25
25
  * version of this API. It has new metrics, offers filtering at a metric level, and offers the
26
26
  * ability to filter and group data by channels, queues, routing profiles, agents, and agent
27
- * hierarchy levels. It can retrieve historical data for last the 14 days, in 24-hour
27
+ * hierarchy levels. It can retrieve historical data for the last 14 days, in 24-hour
28
28
  * intervals.</p>
29
29
  * <p>For a description of the historical metrics that are supported by
30
30
  * <code>GetMetricDataV2</code> and <code>GetMetricData</code>, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/historical-metrics-definitions.html">Historical metrics
31
- * definitions</a> in the <i>Amazon Connect Administrator's Guide</i>.
32
- * </p>
31
+ * definitions</a> in the <i>Amazon Connect Administrator's Guide</i>. </p>
33
32
  * <p>This API is not available in the Amazon Web Services GovCloud (US) Regions.</p>
34
33
  * @example
35
34
  * Use a bare-bones client and the command you need to make an API call.
@@ -37,6 +36,43 @@ export interface GetMetricDataV2CommandOutput extends GetMetricDataV2Response, _
37
36
  * import { ConnectClient, GetMetricDataV2Command } from "@aws-sdk/client-connect"; // ES Modules import
38
37
  * // const { ConnectClient, GetMetricDataV2Command } = require("@aws-sdk/client-connect"); // CommonJS import
39
38
  * const client = new ConnectClient(config);
39
+ * const input = { // GetMetricDataV2Request
40
+ * ResourceArn: "STRING_VALUE", // required
41
+ * StartTime: new Date("TIMESTAMP"), // required
42
+ * EndTime: new Date("TIMESTAMP"), // required
43
+ * Filters: [ // FiltersV2List // required
44
+ * { // FilterV2
45
+ * FilterKey: "STRING_VALUE",
46
+ * FilterValues: [ // FilterValueList
47
+ * "STRING_VALUE",
48
+ * ],
49
+ * },
50
+ * ],
51
+ * Groupings: [ // GroupingsV2
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * Metrics: [ // MetricsV2 // required
55
+ * { // MetricV2
56
+ * Name: "STRING_VALUE",
57
+ * Threshold: [ // ThresholdCollections
58
+ * { // ThresholdV2
59
+ * Comparison: "STRING_VALUE",
60
+ * ThresholdValue: Number("double"),
61
+ * },
62
+ * ],
63
+ * MetricFilters: [ // MetricFiltersV2List
64
+ * { // MetricFilterV2
65
+ * MetricFilterKey: "STRING_VALUE",
66
+ * MetricFilterValues: [ // MetricFilterValueList
67
+ * "STRING_VALUE",
68
+ * ],
69
+ * },
70
+ * ],
71
+ * },
72
+ * ],
73
+ * NextToken: "STRING_VALUE",
74
+ * MaxResults: Number("int"),
75
+ * };
40
76
  * const command = new GetMetricDataV2Command(input);
41
77
  * const response = await client.send(command);
42
78
  * ```
@@ -27,6 +27,11 @@ export interface GetTaskTemplateCommandOutput extends GetTaskTemplateResponse, _
27
27
  * import { ConnectClient, GetTaskTemplateCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, GetTaskTemplateCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // GetTaskTemplateRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * TaskTemplateId: "STRING_VALUE", // required
33
+ * SnapshotVersion: "STRING_VALUE",
34
+ * };
30
35
  * const command = new GetTaskTemplateCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -26,6 +26,9 @@ export interface GetTrafficDistributionCommandOutput extends GetTrafficDistribut
26
26
  * import { ConnectClient, GetTrafficDistributionCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, GetTrafficDistributionCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // GetTrafficDistributionRequest
30
+ * Id: "STRING_VALUE", // required
31
+ * };
29
32
  * const command = new GetTrafficDistributionCommand(input);
30
33
  * const response = await client.send(command);
31
34
  * ```
@@ -27,6 +27,14 @@ export interface ListAgentStatusesCommandOutput extends ListAgentStatusResponse,
27
27
  * import { ConnectClient, ListAgentStatusesCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, ListAgentStatusesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // ListAgentStatusRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * AgentStatusTypes: [ // AgentStatusTypes
35
+ * "ROUTABLE" || "CUSTOM" || "OFFLINE",
36
+ * ],
37
+ * };
30
38
  * const command = new ListAgentStatusesCommand(input);
31
39
  * const response = await client.send(command);
32
40
  * ```
@@ -27,6 +27,11 @@ export interface ListApprovedOriginsCommandOutput extends ListApprovedOriginsRes
27
27
  * import { ConnectClient, ListApprovedOriginsCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, ListApprovedOriginsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // ListApprovedOriginsRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * };
30
35
  * const command = new ListApprovedOriginsCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,12 @@ export interface ListBotsCommandOutput extends ListBotsResponse, __MetadataBeare
27
27
  * import { ConnectClient, ListBotsCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, ListBotsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // ListBotsRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * LexVersion: "V1" || "V2", // required
35
+ * };
30
36
  * const command = new ListBotsCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -27,6 +27,12 @@ export interface ListContactFlowModulesCommandOutput extends ListContactFlowModu
27
27
  * import { ConnectClient, ListContactFlowModulesCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, ListContactFlowModulesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // ListContactFlowModulesRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * ContactFlowModuleState: "ACTIVE" || "ARCHIVED",
35
+ * };
30
36
  * const command = new ListContactFlowModulesCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -30,6 +30,14 @@ export interface ListContactFlowsCommandOutput extends ListContactFlowsResponse,
30
30
  * import { ConnectClient, ListContactFlowsCommand } from "@aws-sdk/client-connect"; // ES Modules import
31
31
  * // const { ConnectClient, ListContactFlowsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
32
32
  * const client = new ConnectClient(config);
33
+ * const input = { // ListContactFlowsRequest
34
+ * InstanceId: "STRING_VALUE", // required
35
+ * ContactFlowTypes: [ // ContactFlowTypes
36
+ * "CONTACT_FLOW" || "CUSTOMER_QUEUE" || "CUSTOMER_HOLD" || "CUSTOMER_WHISPER" || "AGENT_HOLD" || "AGENT_WHISPER" || "OUTBOUND_WHISPER" || "AGENT_TRANSFER" || "QUEUE_TRANSFER",
37
+ * ],
38
+ * NextToken: "STRING_VALUE",
39
+ * MaxResults: Number("int"),
40
+ * };
33
41
  * const command = new ListContactFlowsCommand(input);
34
42
  * const response = await client.send(command);
35
43
  * ```
@@ -28,6 +28,14 @@ export interface ListContactReferencesCommandOutput extends ListContactReference
28
28
  * import { ConnectClient, ListContactReferencesCommand } from "@aws-sdk/client-connect"; // ES Modules import
29
29
  * // const { ConnectClient, ListContactReferencesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
30
30
  * const client = new ConnectClient(config);
31
+ * const input = { // ListContactReferencesRequest
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * ContactId: "STRING_VALUE", // required
34
+ * ReferenceTypes: [ // ReferenceTypes // required
35
+ * "URL" || "ATTACHMENT" || "NUMBER" || "STRING" || "DATE" || "EMAIL",
36
+ * ],
37
+ * NextToken: "STRING_VALUE",
38
+ * };
31
39
  * const command = new ListContactReferencesCommand(input);
32
40
  * const response = await client.send(command);
33
41
  * ```
@@ -26,6 +26,12 @@ export interface ListDefaultVocabulariesCommandOutput extends ListDefaultVocabul
26
26
  * import { ConnectClient, ListDefaultVocabulariesCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, ListDefaultVocabulariesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // ListDefaultVocabulariesRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * LanguageCode: "ar-AE" || "de-CH" || "de-DE" || "en-AB" || "en-AU" || "en-GB" || "en-IE" || "en-IN" || "en-US" || "en-WL" || "es-ES" || "es-US" || "fr-CA" || "fr-FR" || "hi-IN" || "it-IT" || "ja-JP" || "ko-KR" || "pt-BR" || "pt-PT" || "zh-CN" || "en-NZ" || "en-ZA",
32
+ * MaxResults: Number("int"),
33
+ * NextToken: "STRING_VALUE",
34
+ * };
29
35
  * const command = new ListDefaultVocabulariesCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -29,6 +29,11 @@ export interface ListHoursOfOperationsCommandOutput extends ListHoursOfOperation
29
29
  * import { ConnectClient, ListHoursOfOperationsCommand } from "@aws-sdk/client-connect"; // ES Modules import
30
30
  * // const { ConnectClient, ListHoursOfOperationsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
31
31
  * const client = new ConnectClient(config);
32
+ * const input = { // ListHoursOfOperationsRequest
33
+ * InstanceId: "STRING_VALUE", // required
34
+ * NextToken: "STRING_VALUE",
35
+ * MaxResults: Number("int"),
36
+ * };
32
37
  * const command = new ListHoursOfOperationsCommand(input);
33
38
  * const response = await client.send(command);
34
39
  * ```
@@ -27,6 +27,11 @@ export interface ListInstanceAttributesCommandOutput extends ListInstanceAttribu
27
27
  * import { ConnectClient, ListInstanceAttributesCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, ListInstanceAttributesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // ListInstanceAttributesRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * };
30
35
  * const command = new ListInstanceAttributesCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -28,6 +28,12 @@ export interface ListInstanceStorageConfigsCommandOutput extends ListInstanceSto
28
28
  * import { ConnectClient, ListInstanceStorageConfigsCommand } from "@aws-sdk/client-connect"; // ES Modules import
29
29
  * // const { ConnectClient, ListInstanceStorageConfigsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
30
30
  * const client = new ConnectClient(config);
31
+ * const input = { // ListInstanceStorageConfigsRequest
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * ResourceType: "CHAT_TRANSCRIPTS" || "CALL_RECORDINGS" || "SCHEDULED_REPORTS" || "MEDIA_STREAMS" || "CONTACT_TRACE_RECORDS" || "AGENT_EVENTS" || "REAL_TIME_CONTACT_ANALYSIS_SEGMENTS" || "ATTACHMENTS" || "CONTACT_EVALUATIONS", // required
34
+ * NextToken: "STRING_VALUE",
35
+ * MaxResults: Number("int"),
36
+ * };
31
37
  * const command = new ListInstanceStorageConfigsCommand(input);
32
38
  * const response = await client.send(command);
33
39
  * ```
@@ -29,6 +29,10 @@ export interface ListInstancesCommandOutput extends ListInstancesResponse, __Met
29
29
  * import { ConnectClient, ListInstancesCommand } from "@aws-sdk/client-connect"; // ES Modules import
30
30
  * // const { ConnectClient, ListInstancesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
31
31
  * const client = new ConnectClient(config);
32
+ * const input = { // ListInstancesRequest
33
+ * NextToken: "STRING_VALUE",
34
+ * MaxResults: Number("int"),
35
+ * };
32
36
  * const command = new ListInstancesCommand(input);
33
37
  * const response = await client.send(command);
34
38
  * ```
@@ -27,6 +27,12 @@ export interface ListIntegrationAssociationsCommandOutput extends ListIntegratio
27
27
  * import { ConnectClient, ListIntegrationAssociationsCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, ListIntegrationAssociationsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // ListIntegrationAssociationsRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * IntegrationType: "EVENT" || "VOICE_ID" || "PINPOINT_APP" || "WISDOM_ASSISTANT" || "WISDOM_KNOWLEDGE_BASE" || "CASES_DOMAIN",
33
+ * NextToken: "STRING_VALUE",
34
+ * MaxResults: Number("int"),
35
+ * };
30
36
  * const command = new ListIntegrationAssociationsCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -28,6 +28,11 @@ export interface ListLambdaFunctionsCommandOutput extends ListLambdaFunctionsRes
28
28
  * import { ConnectClient, ListLambdaFunctionsCommand } from "@aws-sdk/client-connect"; // ES Modules import
29
29
  * // const { ConnectClient, ListLambdaFunctionsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
30
30
  * const client = new ConnectClient(config);
31
+ * const input = { // ListLambdaFunctionsRequest
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * NextToken: "STRING_VALUE",
34
+ * MaxResults: Number("int"),
35
+ * };
31
36
  * const command = new ListLambdaFunctionsCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -29,6 +29,11 @@ export interface ListLexBotsCommandOutput extends ListLexBotsResponse, __Metadat
29
29
  * import { ConnectClient, ListLexBotsCommand } from "@aws-sdk/client-connect"; // ES Modules import
30
30
  * // const { ConnectClient, ListLexBotsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
31
31
  * const client = new ConnectClient(config);
32
+ * const input = { // ListLexBotsRequest
33
+ * InstanceId: "STRING_VALUE", // required
34
+ * NextToken: "STRING_VALUE",
35
+ * MaxResults: Number("int"),
36
+ * };
32
37
  * const command = new ListLexBotsCommand(input);
33
38
  * const response = await client.send(command);
34
39
  * ```
@@ -35,6 +35,17 @@ export interface ListPhoneNumbersCommandOutput extends ListPhoneNumbersResponse,
35
35
  * import { ConnectClient, ListPhoneNumbersCommand } from "@aws-sdk/client-connect"; // ES Modules import
36
36
  * // const { ConnectClient, ListPhoneNumbersCommand } = require("@aws-sdk/client-connect"); // CommonJS import
37
37
  * const client = new ConnectClient(config);
38
+ * const input = { // ListPhoneNumbersRequest
39
+ * InstanceId: "STRING_VALUE", // required
40
+ * PhoneNumberTypes: [ // PhoneNumberTypes
41
+ * "TOLL_FREE" || "DID",
42
+ * ],
43
+ * PhoneNumberCountryCodes: [ // PhoneNumberCountryCodes
44
+ * "AF" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BA" || "BW" || "BR" || "IO" || "VG" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CK" || "CR" || "HR" || "CU" || "CW" || "CY" || "CZ" || "CD" || "DK" || "DJ" || "DM" || "DO" || "TL" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "PF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "CI" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "AN" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "KP" || "MP" || "NO" || "OM" || "PK" || "PW" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "CG" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "KR" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "VI" || "UG" || "UA" || "AE" || "GB" || "US" || "UY" || "UZ" || "VU" || "VA" || "VE" || "VN" || "WF" || "EH" || "YE" || "ZM" || "ZW",
45
+ * ],
46
+ * NextToken: "STRING_VALUE",
47
+ * MaxResults: Number("int"),
48
+ * };
38
49
  * const command = new ListPhoneNumbersCommand(input);
39
50
  * const response = await client.send(command);
40
51
  * ```
@@ -31,6 +31,18 @@ export interface ListPhoneNumbersV2CommandOutput extends ListPhoneNumbersV2Respo
31
31
  * import { ConnectClient, ListPhoneNumbersV2Command } from "@aws-sdk/client-connect"; // ES Modules import
32
32
  * // const { ConnectClient, ListPhoneNumbersV2Command } = require("@aws-sdk/client-connect"); // CommonJS import
33
33
  * const client = new ConnectClient(config);
34
+ * const input = { // ListPhoneNumbersV2Request
35
+ * TargetArn: "STRING_VALUE",
36
+ * MaxResults: Number("int"),
37
+ * NextToken: "STRING_VALUE",
38
+ * PhoneNumberCountryCodes: [ // PhoneNumberCountryCodes
39
+ * "AF" || "AL" || "DZ" || "AS" || "AD" || "AO" || "AI" || "AQ" || "AG" || "AR" || "AM" || "AW" || "AU" || "AT" || "AZ" || "BS" || "BH" || "BD" || "BB" || "BY" || "BE" || "BZ" || "BJ" || "BM" || "BT" || "BO" || "BA" || "BW" || "BR" || "IO" || "VG" || "BN" || "BG" || "BF" || "BI" || "KH" || "CM" || "CA" || "CV" || "KY" || "CF" || "TD" || "CL" || "CN" || "CX" || "CC" || "CO" || "KM" || "CK" || "CR" || "HR" || "CU" || "CW" || "CY" || "CZ" || "CD" || "DK" || "DJ" || "DM" || "DO" || "TL" || "EC" || "EG" || "SV" || "GQ" || "ER" || "EE" || "ET" || "FK" || "FO" || "FJ" || "FI" || "FR" || "PF" || "GA" || "GM" || "GE" || "DE" || "GH" || "GI" || "GR" || "GL" || "GD" || "GU" || "GT" || "GG" || "GN" || "GW" || "GY" || "HT" || "HN" || "HK" || "HU" || "IS" || "IN" || "ID" || "IR" || "IQ" || "IE" || "IM" || "IL" || "IT" || "CI" || "JM" || "JP" || "JE" || "JO" || "KZ" || "KE" || "KI" || "KW" || "KG" || "LA" || "LV" || "LB" || "LS" || "LR" || "LY" || "LI" || "LT" || "LU" || "MO" || "MK" || "MG" || "MW" || "MY" || "MV" || "ML" || "MT" || "MH" || "MR" || "MU" || "YT" || "MX" || "FM" || "MD" || "MC" || "MN" || "ME" || "MS" || "MA" || "MZ" || "MM" || "NA" || "NR" || "NP" || "NL" || "AN" || "NC" || "NZ" || "NI" || "NE" || "NG" || "NU" || "KP" || "MP" || "NO" || "OM" || "PK" || "PW" || "PA" || "PG" || "PY" || "PE" || "PH" || "PN" || "PL" || "PT" || "PR" || "QA" || "CG" || "RE" || "RO" || "RU" || "RW" || "BL" || "SH" || "KN" || "LC" || "MF" || "PM" || "VC" || "WS" || "SM" || "ST" || "SA" || "SN" || "RS" || "SC" || "SL" || "SG" || "SX" || "SK" || "SI" || "SB" || "SO" || "ZA" || "KR" || "ES" || "LK" || "SD" || "SR" || "SJ" || "SZ" || "SE" || "CH" || "SY" || "TW" || "TJ" || "TZ" || "TH" || "TG" || "TK" || "TO" || "TT" || "TN" || "TR" || "TM" || "TC" || "TV" || "VI" || "UG" || "UA" || "AE" || "GB" || "US" || "UY" || "UZ" || "VU" || "VA" || "VE" || "VN" || "WF" || "EH" || "YE" || "ZM" || "ZW",
40
+ * ],
41
+ * PhoneNumberTypes: [ // PhoneNumberTypes
42
+ * "TOLL_FREE" || "DID",
43
+ * ],
44
+ * PhoneNumberPrefix: "STRING_VALUE",
45
+ * };
34
46
  * const command = new ListPhoneNumbersV2Command(input);
35
47
  * const response = await client.send(command);
36
48
  * ```
@@ -26,6 +26,11 @@ export interface ListPromptsCommandOutput extends ListPromptsResponse, __Metadat
26
26
  * import { ConnectClient, ListPromptsCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, ListPromptsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // ListPromptsRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * NextToken: "STRING_VALUE",
32
+ * MaxResults: Number("int"),
33
+ * };
29
34
  * const command = new ListPromptsCommand(input);
30
35
  * const response = await client.send(command);
31
36
  * ```
@@ -27,6 +27,12 @@ export interface ListQueueQuickConnectsCommandOutput extends ListQueueQuickConne
27
27
  * import { ConnectClient, ListQueueQuickConnectsCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, ListQueueQuickConnectsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // ListQueueQuickConnectsRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * QueueId: "STRING_VALUE", // required
33
+ * NextToken: "STRING_VALUE",
34
+ * MaxResults: Number("int"),
35
+ * };
30
36
  * const command = new ListQueueQuickConnectsCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -32,6 +32,14 @@ export interface ListQueuesCommandOutput extends ListQueuesResponse, __MetadataB
32
32
  * import { ConnectClient, ListQueuesCommand } from "@aws-sdk/client-connect"; // ES Modules import
33
33
  * // const { ConnectClient, ListQueuesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
34
34
  * const client = new ConnectClient(config);
35
+ * const input = { // ListQueuesRequest
36
+ * InstanceId: "STRING_VALUE", // required
37
+ * QueueTypes: [ // QueueTypes
38
+ * "STANDARD" || "AGENT",
39
+ * ],
40
+ * NextToken: "STRING_VALUE",
41
+ * MaxResults: Number("int"),
42
+ * };
35
43
  * const command = new ListQueuesCommand(input);
36
44
  * const response = await client.send(command);
37
45
  * ```
@@ -27,6 +27,14 @@ export interface ListQuickConnectsCommandOutput extends ListQuickConnectsRespons
27
27
  * import { ConnectClient, ListQuickConnectsCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, ListQuickConnectsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // ListQuickConnectsRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * QuickConnectTypes: [ // QuickConnectTypes
35
+ * "USER" || "QUEUE" || "PHONE_NUMBER",
36
+ * ],
37
+ * };
30
38
  * const command = new ListQuickConnectsCommand(input);
31
39
  * const response = await client.send(command);
32
40
  * ```
@@ -26,6 +26,12 @@ export interface ListRoutingProfileQueuesCommandOutput extends ListRoutingProfil
26
26
  * import { ConnectClient, ListRoutingProfileQueuesCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, ListRoutingProfileQueuesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // ListRoutingProfileQueuesRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * RoutingProfileId: "STRING_VALUE", // required
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * };
29
35
  * const command = new ListRoutingProfileQueuesCommand(input);
30
36
  * const response = await client.send(command);
31
37
  * ```
@@ -29,6 +29,11 @@ export interface ListRoutingProfilesCommandOutput extends ListRoutingProfilesRes
29
29
  * import { ConnectClient, ListRoutingProfilesCommand } from "@aws-sdk/client-connect"; // ES Modules import
30
30
  * // const { ConnectClient, ListRoutingProfilesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
31
31
  * const client = new ConnectClient(config);
32
+ * const input = { // ListRoutingProfilesRequest
33
+ * InstanceId: "STRING_VALUE", // required
34
+ * NextToken: "STRING_VALUE",
35
+ * MaxResults: Number("int"),
36
+ * };
32
37
  * const command = new ListRoutingProfilesCommand(input);
33
38
  * const response = await client.send(command);
34
39
  * ```
@@ -26,6 +26,13 @@ export interface ListRulesCommandOutput extends ListRulesResponse, __MetadataBea
26
26
  * import { ConnectClient, ListRulesCommand } from "@aws-sdk/client-connect"; // ES Modules import
27
27
  * // const { ConnectClient, ListRulesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
28
28
  * const client = new ConnectClient(config);
29
+ * const input = { // ListRulesRequest
30
+ * InstanceId: "STRING_VALUE", // required
31
+ * PublishStatus: "DRAFT" || "PUBLISHED",
32
+ * EventSourceName: "OnPostCallAnalysisAvailable" || "OnRealTimeCallAnalysisAvailable" || "OnPostChatAnalysisAvailable" || "OnZendeskTicketCreate" || "OnZendeskTicketStatusUpdate" || "OnSalesforceCaseCreate",
33
+ * MaxResults: Number("int"),
34
+ * NextToken: "STRING_VALUE",
35
+ * };
29
36
  * const command = new ListRulesCommand(input);
30
37
  * const response = await client.send(command);
31
38
  * ```
@@ -27,6 +27,11 @@ export interface ListSecurityKeysCommandOutput extends ListSecurityKeysResponse,
27
27
  * import { ConnectClient, ListSecurityKeysCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, ListSecurityKeysCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // ListSecurityKeysRequest
31
+ * InstanceId: "STRING_VALUE", // required
32
+ * NextToken: "STRING_VALUE",
33
+ * MaxResults: Number("int"),
34
+ * };
30
35
  * const command = new ListSecurityKeysCommand(input);
31
36
  * const response = await client.send(command);
32
37
  * ```
@@ -27,6 +27,12 @@ export interface ListSecurityProfilePermissionsCommandOutput extends ListSecurit
27
27
  * import { ConnectClient, ListSecurityProfilePermissionsCommand } from "@aws-sdk/client-connect"; // ES Modules import
28
28
  * // const { ConnectClient, ListSecurityProfilePermissionsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
29
29
  * const client = new ConnectClient(config);
30
+ * const input = { // ListSecurityProfilePermissionsRequest
31
+ * SecurityProfileId: "STRING_VALUE", // required
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * NextToken: "STRING_VALUE",
34
+ * MaxResults: Number("int"),
35
+ * };
30
36
  * const command = new ListSecurityProfilePermissionsCommand(input);
31
37
  * const response = await client.send(command);
32
38
  * ```
@@ -28,6 +28,11 @@ export interface ListSecurityProfilesCommandOutput extends ListSecurityProfilesR
28
28
  * import { ConnectClient, ListSecurityProfilesCommand } from "@aws-sdk/client-connect"; // ES Modules import
29
29
  * // const { ConnectClient, ListSecurityProfilesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
30
30
  * const client = new ConnectClient(config);
31
+ * const input = { // ListSecurityProfilesRequest
32
+ * InstanceId: "STRING_VALUE", // required
33
+ * NextToken: "STRING_VALUE",
34
+ * MaxResults: Number("int"),
35
+ * };
31
36
  * const command = new ListSecurityProfilesCommand(input);
32
37
  * const response = await client.send(command);
33
38
  * ```
@@ -29,6 +29,9 @@ export interface ListTagsForResourceCommandOutput extends ListTagsForResourceRes
29
29
  * import { ConnectClient, ListTagsForResourceCommand } from "@aws-sdk/client-connect"; // ES Modules import
30
30
  * // const { ConnectClient, ListTagsForResourceCommand } = require("@aws-sdk/client-connect"); // CommonJS import
31
31
  * const client = new ConnectClient(config);
32
+ * const input = { // ListTagsForResourceRequest
33
+ * resourceArn: "STRING_VALUE", // required
34
+ * };
32
35
  * const command = new ListTagsForResourceCommand(input);
33
36
  * const response = await client.send(command);
34
37
  * ```