@aws-sdk/client-connect 3.478.0 → 3.479.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 (121) hide show
  1. package/README.md +96 -0
  2. package/dist-cjs/Connect.js +24 -0
  3. package/dist-cjs/commands/AssociateUserProficienciesCommand.js +51 -0
  4. package/dist-cjs/commands/CreatePredefinedAttributeCommand.js +51 -0
  5. package/dist-cjs/commands/DeletePredefinedAttributeCommand.js +51 -0
  6. package/dist-cjs/commands/DescribePredefinedAttributeCommand.js +51 -0
  7. package/dist-cjs/commands/DisassociateUserProficienciesCommand.js +51 -0
  8. package/dist-cjs/commands/ListPredefinedAttributesCommand.js +51 -0
  9. package/dist-cjs/commands/ListUserProficienciesCommand.js +51 -0
  10. package/dist-cjs/commands/SearchContactsCommand.js +52 -0
  11. package/dist-cjs/commands/SearchPredefinedAttributesCommand.js +51 -0
  12. package/dist-cjs/commands/UpdateContactRoutingDataCommand.js +51 -0
  13. package/dist-cjs/commands/UpdatePredefinedAttributeCommand.js +51 -0
  14. package/dist-cjs/commands/UpdateUserProficienciesCommand.js +51 -0
  15. package/dist-cjs/commands/index.js +12 -0
  16. package/dist-cjs/models/models_0.js +10 -16
  17. package/dist-cjs/models/models_1.js +62 -25
  18. package/dist-cjs/models/models_2.js +39 -1
  19. package/dist-cjs/pagination/ListPredefinedAttributesPaginator.js +7 -0
  20. package/dist-cjs/pagination/ListUserProficienciesPaginator.js +7 -0
  21. package/dist-cjs/pagination/SearchContactsPaginator.js +7 -0
  22. package/dist-cjs/pagination/SearchPredefinedAttributesPaginator.js +7 -0
  23. package/dist-cjs/pagination/index.js +4 -0
  24. package/dist-cjs/protocols/Aws_restJson1.js +878 -32
  25. package/dist-es/Connect.js +24 -0
  26. package/dist-es/commands/AssociateUserProficienciesCommand.js +47 -0
  27. package/dist-es/commands/CreatePredefinedAttributeCommand.js +47 -0
  28. package/dist-es/commands/DeletePredefinedAttributeCommand.js +47 -0
  29. package/dist-es/commands/DescribePredefinedAttributeCommand.js +47 -0
  30. package/dist-es/commands/DisassociateUserProficienciesCommand.js +47 -0
  31. package/dist-es/commands/ListPredefinedAttributesCommand.js +47 -0
  32. package/dist-es/commands/ListUserProficienciesCommand.js +47 -0
  33. package/dist-es/commands/SearchContactsCommand.js +48 -0
  34. package/dist-es/commands/SearchPredefinedAttributesCommand.js +47 -0
  35. package/dist-es/commands/UpdateContactRoutingDataCommand.js +47 -0
  36. package/dist-es/commands/UpdatePredefinedAttributeCommand.js +47 -0
  37. package/dist-es/commands/UpdateUserProficienciesCommand.js +47 -0
  38. package/dist-es/commands/index.js +12 -0
  39. package/dist-es/models/models_0.js +8 -14
  40. package/dist-es/models/models_1.js +55 -23
  41. package/dist-es/models/models_2.js +36 -0
  42. package/dist-es/pagination/ListPredefinedAttributesPaginator.js +4 -0
  43. package/dist-es/pagination/ListUserProficienciesPaginator.js +4 -0
  44. package/dist-es/pagination/SearchContactsPaginator.js +4 -0
  45. package/dist-es/pagination/SearchPredefinedAttributesPaginator.js +4 -0
  46. package/dist-es/pagination/index.js +4 -0
  47. package/dist-es/protocols/Aws_restJson1.js +846 -24
  48. package/dist-types/Connect.d.ts +84 -0
  49. package/dist-types/ConnectClient.d.ts +14 -2
  50. package/dist-types/commands/AssociateUserProficienciesCommand.d.ts +94 -0
  51. package/dist-types/commands/CreatePredefinedAttributeCommand.d.ts +98 -0
  52. package/dist-types/commands/DeletePredefinedAttributeCommand.d.ts +90 -0
  53. package/dist-types/commands/DescribeContactCommand.d.ts +2 -0
  54. package/dist-types/commands/DescribePhoneNumberCommand.d.ts +2 -1
  55. package/dist-types/commands/DescribePredefinedAttributeCommand.d.ts +98 -0
  56. package/dist-types/commands/DescribePromptCommand.d.ts +1 -2
  57. package/dist-types/commands/DisassociateUserProficienciesCommand.d.ts +93 -0
  58. package/dist-types/commands/GetCurrentMetricDataCommand.d.ts +5 -1
  59. package/dist-types/commands/GetMetricDataCommand.d.ts +5 -1
  60. package/dist-types/commands/ListPredefinedAttributesCommand.d.ts +97 -0
  61. package/dist-types/commands/ListUserProficienciesCommand.d.ts +100 -0
  62. package/dist-types/commands/PauseContactCommand.d.ts +2 -1
  63. package/dist-types/commands/ResumeContactCommand.d.ts +2 -1
  64. package/dist-types/commands/SearchContactsCommand.d.ts +177 -0
  65. package/dist-types/commands/SearchHoursOfOperationsCommand.d.ts +1 -2
  66. package/dist-types/commands/SearchPredefinedAttributesCommand.d.ts +128 -0
  67. package/dist-types/commands/SearchPromptsCommand.d.ts +1 -2
  68. package/dist-types/commands/SearchQueuesCommand.d.ts +1 -2
  69. package/dist-types/commands/SearchQuickConnectsCommand.d.ts +1 -2
  70. package/dist-types/commands/SearchResourceTagsCommand.d.ts +1 -1
  71. package/dist-types/commands/SearchRoutingProfilesCommand.d.ts +1 -2
  72. package/dist-types/commands/SearchSecurityProfilesCommand.d.ts +1 -2
  73. package/dist-types/commands/TagContactCommand.d.ts +3 -3
  74. package/dist-types/commands/UntagContactCommand.d.ts +3 -2
  75. package/dist-types/commands/UpdateContactRoutingDataCommand.d.ts +101 -0
  76. package/dist-types/commands/UpdatePredefinedAttributeCommand.d.ts +92 -0
  77. package/dist-types/commands/UpdateUserProficienciesCommand.d.ts +94 -0
  78. package/dist-types/commands/index.d.ts +12 -0
  79. package/dist-types/models/models_0.d.ts +159 -185
  80. package/dist-types/models/models_1.d.ts +495 -423
  81. package/dist-types/models/models_2.d.ts +875 -12
  82. package/dist-types/pagination/ListPredefinedAttributesPaginator.d.ts +7 -0
  83. package/dist-types/pagination/ListUserProficienciesPaginator.d.ts +7 -0
  84. package/dist-types/pagination/SearchContactsPaginator.d.ts +7 -0
  85. package/dist-types/pagination/SearchPredefinedAttributesPaginator.d.ts +7 -0
  86. package/dist-types/pagination/index.d.ts +4 -0
  87. package/dist-types/protocols/Aws_restJson1.d.ts +108 -0
  88. package/dist-types/ts3.4/Connect.d.ts +204 -0
  89. package/dist-types/ts3.4/ConnectClient.d.ts +72 -0
  90. package/dist-types/ts3.4/commands/AssociateUserProficienciesCommand.d.ts +38 -0
  91. package/dist-types/ts3.4/commands/CreatePredefinedAttributeCommand.d.ts +38 -0
  92. package/dist-types/ts3.4/commands/DeletePredefinedAttributeCommand.d.ts +38 -0
  93. package/dist-types/ts3.4/commands/DescribePhoneNumberCommand.d.ts +2 -4
  94. package/dist-types/ts3.4/commands/DescribePredefinedAttributeCommand.d.ts +42 -0
  95. package/dist-types/ts3.4/commands/DescribePromptCommand.d.ts +4 -2
  96. package/dist-types/ts3.4/commands/DisassociateUserProficienciesCommand.d.ts +38 -0
  97. package/dist-types/ts3.4/commands/ListPredefinedAttributesCommand.d.ts +42 -0
  98. package/dist-types/ts3.4/commands/ListUserProficienciesCommand.d.ts +42 -0
  99. package/dist-types/ts3.4/commands/SearchContactsCommand.d.ts +38 -0
  100. package/dist-types/ts3.4/commands/SearchHoursOfOperationsCommand.d.ts +4 -2
  101. package/dist-types/ts3.4/commands/SearchPredefinedAttributesCommand.d.ts +42 -0
  102. package/dist-types/ts3.4/commands/SearchPromptsCommand.d.ts +4 -2
  103. package/dist-types/ts3.4/commands/SearchQueuesCommand.d.ts +1 -2
  104. package/dist-types/ts3.4/commands/SearchQuickConnectsCommand.d.ts +4 -2
  105. package/dist-types/ts3.4/commands/SearchResourceTagsCommand.d.ts +1 -1
  106. package/dist-types/ts3.4/commands/SearchRoutingProfilesCommand.d.ts +4 -2
  107. package/dist-types/ts3.4/commands/SearchSecurityProfilesCommand.d.ts +4 -2
  108. package/dist-types/ts3.4/commands/UpdateContactRoutingDataCommand.d.ts +42 -0
  109. package/dist-types/ts3.4/commands/UpdatePredefinedAttributeCommand.d.ts +38 -0
  110. package/dist-types/ts3.4/commands/UpdateUserProficienciesCommand.d.ts +38 -0
  111. package/dist-types/ts3.4/commands/index.d.ts +12 -0
  112. package/dist-types/ts3.4/models/models_0.d.ts +46 -42
  113. package/dist-types/ts3.4/models/models_1.d.ts +153 -113
  114. package/dist-types/ts3.4/models/models_2.d.ts +215 -10
  115. package/dist-types/ts3.4/pagination/ListPredefinedAttributesPaginator.d.ts +11 -0
  116. package/dist-types/ts3.4/pagination/ListUserProficienciesPaginator.d.ts +11 -0
  117. package/dist-types/ts3.4/pagination/SearchContactsPaginator.d.ts +11 -0
  118. package/dist-types/ts3.4/pagination/SearchPredefinedAttributesPaginator.d.ts +11 -0
  119. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  120. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +144 -0
  121. package/package.json +1 -1
@@ -0,0 +1,177 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
+ import { SearchContactsRequest, SearchContactsResponse } from "../models/models_2";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link SearchContactsCommand}.
14
+ */
15
+ export interface SearchContactsCommandInput extends SearchContactsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link SearchContactsCommand}.
21
+ */
22
+ export interface SearchContactsCommandOutput extends SearchContactsResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Searches contacts in an Amazon Connect instance.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ConnectClient, SearchContactsCommand } from "@aws-sdk/client-connect"; // ES Modules import
31
+ * // const { ConnectClient, SearchContactsCommand } = require("@aws-sdk/client-connect"); // CommonJS import
32
+ * const client = new ConnectClient(config);
33
+ * const input = { // SearchContactsRequest
34
+ * InstanceId: "STRING_VALUE", // required
35
+ * TimeRange: { // SearchContactsTimeRange
36
+ * Type: "INITIATION_TIMESTAMP" || "SCHEDULED_TIMESTAMP" || "CONNECTED_TO_AGENT_TIMESTAMP" || "DISCONNECT_TIMESTAMP", // required
37
+ * StartTime: new Date("TIMESTAMP"), // required
38
+ * EndTime: new Date("TIMESTAMP"), // required
39
+ * },
40
+ * SearchCriteria: { // SearchCriteria
41
+ * AgentIds: [ // AgentResourceIdList
42
+ * "STRING_VALUE",
43
+ * ],
44
+ * AgentHierarchyGroups: { // AgentHierarchyGroups
45
+ * L1Ids: [ // HierarchyGroupIdList
46
+ * "STRING_VALUE",
47
+ * ],
48
+ * L2Ids: [
49
+ * "STRING_VALUE",
50
+ * ],
51
+ * L3Ids: [
52
+ * "STRING_VALUE",
53
+ * ],
54
+ * L4Ids: [
55
+ * "STRING_VALUE",
56
+ * ],
57
+ * L5Ids: [
58
+ * "STRING_VALUE",
59
+ * ],
60
+ * },
61
+ * Channels: [ // ChannelList
62
+ * "VOICE" || "CHAT" || "TASK",
63
+ * ],
64
+ * ContactAnalysis: { // ContactAnalysis
65
+ * Transcript: { // Transcript
66
+ * Criteria: [ // TranscriptCriteriaList // required
67
+ * { // TranscriptCriteria
68
+ * ParticipantRole: "AGENT" || "CUSTOMER" || "SYSTEM" || "CUSTOM_BOT", // required
69
+ * SearchText: [ // SearchTextList // required
70
+ * "STRING_VALUE",
71
+ * ],
72
+ * MatchType: "MATCH_ALL" || "MATCH_ANY", // required
73
+ * },
74
+ * ],
75
+ * MatchType: "MATCH_ALL" || "MATCH_ANY",
76
+ * },
77
+ * },
78
+ * InitiationMethods: [ // InitiationMethodList
79
+ * "INBOUND" || "OUTBOUND" || "TRANSFER" || "QUEUE_TRANSFER" || "CALLBACK" || "API" || "DISCONNECT" || "MONITOR" || "EXTERNAL_OUTBOUND",
80
+ * ],
81
+ * QueueIds: [ // QueueIdList
82
+ * "STRING_VALUE",
83
+ * ],
84
+ * SearchableContactAttributes: { // SearchableContactAttributes
85
+ * Criteria: [ // SearchableContactAttributesCriteriaList // required
86
+ * { // SearchableContactAttributesCriteria
87
+ * Key: "STRING_VALUE", // required
88
+ * Values: [ // SearchableContactAttributeValueList // required
89
+ * "STRING_VALUE",
90
+ * ],
91
+ * },
92
+ * ],
93
+ * MatchType: "MATCH_ALL" || "MATCH_ANY",
94
+ * },
95
+ * },
96
+ * MaxResults: Number("int"),
97
+ * NextToken: "STRING_VALUE",
98
+ * Sort: { // Sort
99
+ * FieldName: "INITIATION_TIMESTAMP" || "SCHEDULED_TIMESTAMP" || "CONNECTED_TO_AGENT_TIMESTAMP" || "DISCONNECT_TIMESTAMP" || "INITIATION_METHOD" || "CHANNEL", // required
100
+ * Order: "ASCENDING" || "DESCENDING", // required
101
+ * },
102
+ * };
103
+ * const command = new SearchContactsCommand(input);
104
+ * const response = await client.send(command);
105
+ * // { // SearchContactsResponse
106
+ * // Contacts: [ // Contacts // required
107
+ * // { // ContactSearchSummary
108
+ * // Arn: "STRING_VALUE",
109
+ * // Id: "STRING_VALUE",
110
+ * // InitialContactId: "STRING_VALUE",
111
+ * // PreviousContactId: "STRING_VALUE",
112
+ * // InitiationMethod: "INBOUND" || "OUTBOUND" || "TRANSFER" || "QUEUE_TRANSFER" || "CALLBACK" || "API" || "DISCONNECT" || "MONITOR" || "EXTERNAL_OUTBOUND",
113
+ * // Channel: "VOICE" || "CHAT" || "TASK",
114
+ * // QueueInfo: { // ContactSearchSummaryQueueInfo
115
+ * // Id: "STRING_VALUE",
116
+ * // EnqueueTimestamp: new Date("TIMESTAMP"),
117
+ * // },
118
+ * // AgentInfo: { // ContactSearchSummaryAgentInfo
119
+ * // Id: "STRING_VALUE",
120
+ * // ConnectedToAgentTimestamp: new Date("TIMESTAMP"),
121
+ * // },
122
+ * // InitiationTimestamp: new Date("TIMESTAMP"),
123
+ * // DisconnectTimestamp: new Date("TIMESTAMP"),
124
+ * // ScheduledTimestamp: new Date("TIMESTAMP"),
125
+ * // },
126
+ * // ],
127
+ * // NextToken: "STRING_VALUE",
128
+ * // TotalCount: Number("long"),
129
+ * // };
130
+ *
131
+ * ```
132
+ *
133
+ * @param SearchContactsCommandInput - {@link SearchContactsCommandInput}
134
+ * @returns {@link SearchContactsCommandOutput}
135
+ * @see {@link SearchContactsCommandInput} for command's `input` shape.
136
+ * @see {@link SearchContactsCommandOutput} for command's `response` shape.
137
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
138
+ *
139
+ * @throws {@link InternalServiceException} (server fault)
140
+ * <p>Request processing failed because of an error or failure with the service.</p>
141
+ *
142
+ * @throws {@link InvalidParameterException} (client fault)
143
+ * <p>One or more of the specified parameters are not valid.</p>
144
+ *
145
+ * @throws {@link InvalidRequestException} (client fault)
146
+ * <p>The request is not valid.</p>
147
+ *
148
+ * @throws {@link ResourceNotFoundException} (client fault)
149
+ * <p>The specified resource was not found.</p>
150
+ *
151
+ * @throws {@link ThrottlingException} (client fault)
152
+ * <p>The throttling limit has been exceeded.</p>
153
+ *
154
+ * @throws {@link ConnectServiceException}
155
+ * <p>Base exception class for all service exceptions from Connect service.</p>
156
+ *
157
+ */
158
+ export declare class SearchContactsCommand extends $Command<SearchContactsCommandInput, SearchContactsCommandOutput, ConnectClientResolvedConfig> {
159
+ readonly input: SearchContactsCommandInput;
160
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
161
+ /**
162
+ * @public
163
+ */
164
+ constructor(input: SearchContactsCommandInput);
165
+ /**
166
+ * @internal
167
+ */
168
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchContactsCommandInput, SearchContactsCommandOutput>;
169
+ /**
170
+ * @internal
171
+ */
172
+ private serialize;
173
+ /**
174
+ * @internal
175
+ */
176
+ private deserialize;
177
+ }
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { SearchHoursOfOperationsResponse } from "../models/models_1";
6
- import { SearchHoursOfOperationsRequest } from "../models/models_2";
5
+ import { SearchHoursOfOperationsRequest, SearchHoursOfOperationsResponse } from "../models/models_2";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -0,0 +1,128 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
+ import { SearchPredefinedAttributesRequest, SearchPredefinedAttributesResponse } from "../models/models_2";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link SearchPredefinedAttributesCommand}.
14
+ */
15
+ export interface SearchPredefinedAttributesCommandInput extends SearchPredefinedAttributesRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link SearchPredefinedAttributesCommand}.
21
+ */
22
+ export interface SearchPredefinedAttributesCommandOutput extends SearchPredefinedAttributesResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Predefined attributes that meet certain criteria.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ConnectClient, SearchPredefinedAttributesCommand } from "@aws-sdk/client-connect"; // ES Modules import
31
+ * // const { ConnectClient, SearchPredefinedAttributesCommand } = require("@aws-sdk/client-connect"); // CommonJS import
32
+ * const client = new ConnectClient(config);
33
+ * const input = { // SearchPredefinedAttributesRequest
34
+ * InstanceId: "STRING_VALUE", // required
35
+ * NextToken: "STRING_VALUE",
36
+ * MaxResults: Number("int"),
37
+ * SearchCriteria: { // PredefinedAttributeSearchCriteria
38
+ * OrConditions: [ // PredefinedAttributeSearchConditionList
39
+ * {
40
+ * OrConditions: [
41
+ * "<PredefinedAttributeSearchCriteria>",
42
+ * ],
43
+ * AndConditions: [
44
+ * "<PredefinedAttributeSearchCriteria>",
45
+ * ],
46
+ * StringCondition: { // StringCondition
47
+ * FieldName: "STRING_VALUE",
48
+ * Value: "STRING_VALUE",
49
+ * ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
50
+ * },
51
+ * },
52
+ * ],
53
+ * AndConditions: [
54
+ * "<PredefinedAttributeSearchCriteria>",
55
+ * ],
56
+ * StringCondition: {
57
+ * FieldName: "STRING_VALUE",
58
+ * Value: "STRING_VALUE",
59
+ * ComparisonType: "STARTS_WITH" || "CONTAINS" || "EXACT",
60
+ * },
61
+ * },
62
+ * };
63
+ * const command = new SearchPredefinedAttributesCommand(input);
64
+ * const response = await client.send(command);
65
+ * // { // SearchPredefinedAttributesResponse
66
+ * // PredefinedAttributes: [ // PredefinedAttributeSearchSummaryList
67
+ * // { // PredefinedAttribute
68
+ * // Name: "STRING_VALUE",
69
+ * // Values: { // PredefinedAttributeValues Union: only one key present
70
+ * // StringList: [ // PredefinedAttributeStringValuesList
71
+ * // "STRING_VALUE",
72
+ * // ],
73
+ * // },
74
+ * // LastModifiedTime: new Date("TIMESTAMP"),
75
+ * // LastModifiedRegion: "STRING_VALUE",
76
+ * // },
77
+ * // ],
78
+ * // NextToken: "STRING_VALUE",
79
+ * // ApproximateTotalCount: Number("long"),
80
+ * // };
81
+ *
82
+ * ```
83
+ *
84
+ * @param SearchPredefinedAttributesCommandInput - {@link SearchPredefinedAttributesCommandInput}
85
+ * @returns {@link SearchPredefinedAttributesCommandOutput}
86
+ * @see {@link SearchPredefinedAttributesCommandInput} for command's `input` shape.
87
+ * @see {@link SearchPredefinedAttributesCommandOutput} for command's `response` shape.
88
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
89
+ *
90
+ * @throws {@link InternalServiceException} (server fault)
91
+ * <p>Request processing failed because of an error or failure with the service.</p>
92
+ *
93
+ * @throws {@link InvalidParameterException} (client fault)
94
+ * <p>One or more of the specified parameters are not valid.</p>
95
+ *
96
+ * @throws {@link InvalidRequestException} (client fault)
97
+ * <p>The request is not valid.</p>
98
+ *
99
+ * @throws {@link ResourceNotFoundException} (client fault)
100
+ * <p>The specified resource was not found.</p>
101
+ *
102
+ * @throws {@link ThrottlingException} (client fault)
103
+ * <p>The throttling limit has been exceeded.</p>
104
+ *
105
+ * @throws {@link ConnectServiceException}
106
+ * <p>Base exception class for all service exceptions from Connect service.</p>
107
+ *
108
+ */
109
+ export declare class SearchPredefinedAttributesCommand extends $Command<SearchPredefinedAttributesCommandInput, SearchPredefinedAttributesCommandOutput, ConnectClientResolvedConfig> {
110
+ readonly input: SearchPredefinedAttributesCommandInput;
111
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
112
+ /**
113
+ * @public
114
+ */
115
+ constructor(input: SearchPredefinedAttributesCommandInput);
116
+ /**
117
+ * @internal
118
+ */
119
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<SearchPredefinedAttributesCommandInput, SearchPredefinedAttributesCommandOutput>;
120
+ /**
121
+ * @internal
122
+ */
123
+ private serialize;
124
+ /**
125
+ * @internal
126
+ */
127
+ private deserialize;
128
+ }
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { SearchPromptsResponse } from "../models/models_1";
6
- import { SearchPromptsRequest } from "../models/models_2";
5
+ import { SearchPromptsRequest, SearchPromptsResponse } from "../models/models_2";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { SearchQueuesResponse } from "../models/models_1";
6
- import { SearchQueuesRequest } from "../models/models_2";
5
+ import { SearchQueuesRequest, SearchQueuesResponse } from "../models/models_2";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { SearchQuickConnectsResponse } from "../models/models_1";
6
- import { SearchQuickConnectsRequest } from "../models/models_2";
5
+ import { SearchQuickConnectsRequest, SearchQuickConnectsResponse } from "../models/models_2";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -2,7 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { SearchResourceTagsRequest, SearchResourceTagsResponse } from "../models/models_1";
5
+ import { SearchResourceTagsRequest, SearchResourceTagsResponse } from "../models/models_2";
6
6
  /**
7
7
  * @public
8
8
  */
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { SearchRoutingProfilesResponse } from "../models/models_1";
6
- import { SearchRoutingProfilesRequest } from "../models/models_2";
5
+ import { SearchRoutingProfilesRequest, SearchRoutingProfilesResponse } from "../models/models_2";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -2,8 +2,7 @@ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
2
  import { Command as $Command } from "@smithy/smithy-client";
3
3
  import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
4
  import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
- import { SearchSecurityProfilesResponse } from "../models/models_1";
6
- import { SearchSecurityProfilesRequest } from "../models/models_2";
5
+ import { SearchSecurityProfilesRequest, SearchSecurityProfilesResponse } from "../models/models_2";
7
6
  /**
8
7
  * @public
9
8
  */
@@ -23,9 +23,9 @@ export interface TagContactCommandOutput extends TagContactResponse, __MetadataB
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Adds the specified tags to the contact resource. For more information about this API is used, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/granular-billing.html">Set up granular billing for a detailed
27
- * view of your Amazon Connect usage</a>.
28
- * </p>
26
+ * <p>Adds the specified tags to the contact resource. For more information about this API is
27
+ * used, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/granular-billing.html">Set
28
+ * up granular billing for a detailed view of your Amazon Connect usage</a>. </p>
29
29
  * @example
30
30
  * Use a bare-bones client and the command you need to make an API call.
31
31
  * ```javascript
@@ -23,8 +23,9 @@ export interface UntagContactCommandOutput extends UntagContactResponse, __Metad
23
23
  }
24
24
  /**
25
25
  * @public
26
- * <p>Removes the specified tags from the contact resource. For more information about this API is used, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/granular-billing.html">Set up granular billing for a detailed
27
- * view of your Amazon Connect usage</a>.</p>
26
+ * <p>Removes the specified tags from the contact resource. For more information about this API is
27
+ * used, see <a href="https://docs.aws.amazon.com/connect/latest/adminguide/granular-billing.html">Set
28
+ * up granular billing for a detailed view of your Amazon Connect usage</a>.</p>
28
29
  * @example
29
30
  * Use a bare-bones client and the command you need to make an API call.
30
31
  * ```javascript
@@ -0,0 +1,101 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
+ import { UpdateContactRoutingDataRequest, UpdateContactRoutingDataResponse } from "../models/models_2";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdateContactRoutingDataCommand}.
14
+ */
15
+ export interface UpdateContactRoutingDataCommandInput extends UpdateContactRoutingDataRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdateContactRoutingDataCommand}.
21
+ */
22
+ export interface UpdateContactRoutingDataCommandOutput extends UpdateContactRoutingDataResponse, __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>This API is in preview release for Amazon Connect and is subject to change.</p>
27
+ * <p>Updates routing priority and age on the contact (<b>QueuePriority</b> and <b>QueueTimeAdjustmentInSeconds</b>).
28
+ * These properties can be used to change a customer's position in the queue. For example, you can
29
+ * move a contact to the back of the queue by setting a lower routing priority relative to other
30
+ * contacts in queue; or you can move a contact to the front of the queue by increasing the routing
31
+ * age which will make the contact look artificially older and therefore higher up in the
32
+ * first-in-first-out routing order. Note that adjusting the routing age of a contact affects only
33
+ * its position in queue, and not its actual queue wait time as reported through metrics. These
34
+ * properties can also be updated by using <a href="https://docs.aws.amazon.com/connect/latest/adminguide/change-routing-priority.html">the Set routing priority / age flow
35
+ * block</a>.</p>
36
+ * @example
37
+ * Use a bare-bones client and the command you need to make an API call.
38
+ * ```javascript
39
+ * import { ConnectClient, UpdateContactRoutingDataCommand } from "@aws-sdk/client-connect"; // ES Modules import
40
+ * // const { ConnectClient, UpdateContactRoutingDataCommand } = require("@aws-sdk/client-connect"); // CommonJS import
41
+ * const client = new ConnectClient(config);
42
+ * const input = { // UpdateContactRoutingDataRequest
43
+ * InstanceId: "STRING_VALUE", // required
44
+ * ContactId: "STRING_VALUE", // required
45
+ * QueueTimeAdjustmentSeconds: Number("int"),
46
+ * QueuePriority: Number("long"),
47
+ * };
48
+ * const command = new UpdateContactRoutingDataCommand(input);
49
+ * const response = await client.send(command);
50
+ * // {};
51
+ *
52
+ * ```
53
+ *
54
+ * @param UpdateContactRoutingDataCommandInput - {@link UpdateContactRoutingDataCommandInput}
55
+ * @returns {@link UpdateContactRoutingDataCommandOutput}
56
+ * @see {@link UpdateContactRoutingDataCommandInput} for command's `input` shape.
57
+ * @see {@link UpdateContactRoutingDataCommandOutput} for command's `response` shape.
58
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
59
+ *
60
+ * @throws {@link AccessDeniedException} (client fault)
61
+ * <p>You do not have sufficient permissions to perform this action.</p>
62
+ *
63
+ * @throws {@link InternalServiceException} (server fault)
64
+ * <p>Request processing failed because of an error or failure with the service.</p>
65
+ *
66
+ * @throws {@link InvalidParameterException} (client fault)
67
+ * <p>One or more of the specified parameters are not valid.</p>
68
+ *
69
+ * @throws {@link ResourceConflictException} (client fault)
70
+ * <p>A resource already has that name.</p>
71
+ *
72
+ * @throws {@link ResourceNotFoundException} (client fault)
73
+ * <p>The specified resource was not found.</p>
74
+ *
75
+ * @throws {@link ThrottlingException} (client fault)
76
+ * <p>The throttling limit has been exceeded.</p>
77
+ *
78
+ * @throws {@link ConnectServiceException}
79
+ * <p>Base exception class for all service exceptions from Connect service.</p>
80
+ *
81
+ */
82
+ export declare class UpdateContactRoutingDataCommand extends $Command<UpdateContactRoutingDataCommandInput, UpdateContactRoutingDataCommandOutput, ConnectClientResolvedConfig> {
83
+ readonly input: UpdateContactRoutingDataCommandInput;
84
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
85
+ /**
86
+ * @public
87
+ */
88
+ constructor(input: UpdateContactRoutingDataCommandInput);
89
+ /**
90
+ * @internal
91
+ */
92
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateContactRoutingDataCommandInput, UpdateContactRoutingDataCommandOutput>;
93
+ /**
94
+ * @internal
95
+ */
96
+ private serialize;
97
+ /**
98
+ * @internal
99
+ */
100
+ private deserialize;
101
+ }
@@ -0,0 +1,92 @@
1
+ import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
+ import { Command as $Command } from "@smithy/smithy-client";
3
+ import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
4
+ import { ConnectClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../ConnectClient";
5
+ import { UpdatePredefinedAttributeRequest } from "../models/models_2";
6
+ /**
7
+ * @public
8
+ */
9
+ export { __MetadataBearer, $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link UpdatePredefinedAttributeCommand}.
14
+ */
15
+ export interface UpdatePredefinedAttributeCommandInput extends UpdatePredefinedAttributeRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link UpdatePredefinedAttributeCommand}.
21
+ */
22
+ export interface UpdatePredefinedAttributeCommandOutput extends __MetadataBearer {
23
+ }
24
+ /**
25
+ * @public
26
+ * <p>Updates a predefined attribute for the specified Amazon Connect instance.</p>
27
+ * @example
28
+ * Use a bare-bones client and the command you need to make an API call.
29
+ * ```javascript
30
+ * import { ConnectClient, UpdatePredefinedAttributeCommand } from "@aws-sdk/client-connect"; // ES Modules import
31
+ * // const { ConnectClient, UpdatePredefinedAttributeCommand } = require("@aws-sdk/client-connect"); // CommonJS import
32
+ * const client = new ConnectClient(config);
33
+ * const input = { // UpdatePredefinedAttributeRequest
34
+ * InstanceId: "STRING_VALUE", // required
35
+ * Name: "STRING_VALUE", // required
36
+ * Values: { // PredefinedAttributeValues Union: only one key present
37
+ * StringList: [ // PredefinedAttributeStringValuesList
38
+ * "STRING_VALUE",
39
+ * ],
40
+ * },
41
+ * };
42
+ * const command = new UpdatePredefinedAttributeCommand(input);
43
+ * const response = await client.send(command);
44
+ * // {};
45
+ *
46
+ * ```
47
+ *
48
+ * @param UpdatePredefinedAttributeCommandInput - {@link UpdatePredefinedAttributeCommandInput}
49
+ * @returns {@link UpdatePredefinedAttributeCommandOutput}
50
+ * @see {@link UpdatePredefinedAttributeCommandInput} for command's `input` shape.
51
+ * @see {@link UpdatePredefinedAttributeCommandOutput} for command's `response` shape.
52
+ * @see {@link ConnectClientResolvedConfig | config} for ConnectClient's `config` shape.
53
+ *
54
+ * @throws {@link InternalServiceException} (server fault)
55
+ * <p>Request processing failed because of an error or failure with the service.</p>
56
+ *
57
+ * @throws {@link InvalidParameterException} (client fault)
58
+ * <p>One or more of the specified parameters are not valid.</p>
59
+ *
60
+ * @throws {@link InvalidRequestException} (client fault)
61
+ * <p>The request is not valid.</p>
62
+ *
63
+ * @throws {@link ResourceNotFoundException} (client fault)
64
+ * <p>The specified resource was not found.</p>
65
+ *
66
+ * @throws {@link ThrottlingException} (client fault)
67
+ * <p>The throttling limit has been exceeded.</p>
68
+ *
69
+ * @throws {@link ConnectServiceException}
70
+ * <p>Base exception class for all service exceptions from Connect service.</p>
71
+ *
72
+ */
73
+ export declare class UpdatePredefinedAttributeCommand extends $Command<UpdatePredefinedAttributeCommandInput, UpdatePredefinedAttributeCommandOutput, ConnectClientResolvedConfig> {
74
+ readonly input: UpdatePredefinedAttributeCommandInput;
75
+ static getEndpointParameterInstructions(): EndpointParameterInstructions;
76
+ /**
77
+ * @public
78
+ */
79
+ constructor(input: UpdatePredefinedAttributeCommandInput);
80
+ /**
81
+ * @internal
82
+ */
83
+ resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: ConnectClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdatePredefinedAttributeCommandInput, UpdatePredefinedAttributeCommandOutput>;
84
+ /**
85
+ * @internal
86
+ */
87
+ private serialize;
88
+ /**
89
+ * @internal
90
+ */
91
+ private deserialize;
92
+ }