@aws-sdk/client-connect 3.50.0 → 3.53.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 (196) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/ConnectServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +247 -6
  5. package/dist-cjs/models/models_1.js +31 -2
  6. package/dist-cjs/protocols/Aws_restJson1.js +1432 -5764
  7. package/dist-es/index.js +1 -0
  8. package/dist-es/models/ConnectServiceException.js +12 -0
  9. package/dist-es/models/models_0.js +225 -1
  10. package/dist-es/models/models_1.js +28 -1
  11. package/dist-es/protocols/Aws_restJson1.js +3180 -6324
  12. package/dist-types/index.d.ts +1 -0
  13. package/dist-types/models/ConnectServiceException.d.ts +10 -0
  14. package/dist-types/models/models_0.d.ts +121 -52
  15. package/dist-types/models/models_1.d.ts +16 -7
  16. package/dist-types/ts3.4/Connect.d.ts +675 -0
  17. package/dist-types/ts3.4/ConnectClient.d.ts +207 -0
  18. package/dist-types/ts3.4/commands/AssociateApprovedOriginCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/AssociateBotCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/AssociateDefaultVocabularyCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/AssociateInstanceStorageConfigCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/AssociateLambdaFunctionCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/AssociateLexBotCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/AssociateQueueQuickConnectsCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/AssociateRoutingProfileQueuesCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/AssociateSecurityKeyCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/CreateAgentStatusCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/CreateContactFlowCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/CreateContactFlowModuleCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/CreateHoursOfOperationCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/CreateInstanceCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/CreateIntegrationAssociationCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/CreateQueueCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/CreateQuickConnectCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/CreateRoutingProfileCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/CreateSecurityProfileCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/CreateUseCaseCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/CreateUserCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/CreateUserHierarchyGroupCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/CreateVocabularyCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/DeleteContactFlowCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/DeleteContactFlowModuleCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/DeleteHoursOfOperationCommand.d.ts +17 -0
  44. package/dist-types/ts3.4/commands/DeleteInstanceCommand.d.ts +17 -0
  45. package/dist-types/ts3.4/commands/DeleteIntegrationAssociationCommand.d.ts +17 -0
  46. package/dist-types/ts3.4/commands/DeleteQuickConnectCommand.d.ts +17 -0
  47. package/dist-types/ts3.4/commands/DeleteSecurityProfileCommand.d.ts +17 -0
  48. package/dist-types/ts3.4/commands/DeleteUseCaseCommand.d.ts +17 -0
  49. package/dist-types/ts3.4/commands/DeleteUserCommand.d.ts +17 -0
  50. package/dist-types/ts3.4/commands/DeleteUserHierarchyGroupCommand.d.ts +17 -0
  51. package/dist-types/ts3.4/commands/DeleteVocabularyCommand.d.ts +17 -0
  52. package/dist-types/ts3.4/commands/DescribeAgentStatusCommand.d.ts +17 -0
  53. package/dist-types/ts3.4/commands/DescribeContactCommand.d.ts +17 -0
  54. package/dist-types/ts3.4/commands/DescribeContactFlowCommand.d.ts +17 -0
  55. package/dist-types/ts3.4/commands/DescribeContactFlowModuleCommand.d.ts +17 -0
  56. package/dist-types/ts3.4/commands/DescribeHoursOfOperationCommand.d.ts +17 -0
  57. package/dist-types/ts3.4/commands/DescribeInstanceAttributeCommand.d.ts +17 -0
  58. package/dist-types/ts3.4/commands/DescribeInstanceCommand.d.ts +17 -0
  59. package/dist-types/ts3.4/commands/DescribeInstanceStorageConfigCommand.d.ts +17 -0
  60. package/dist-types/ts3.4/commands/DescribeQueueCommand.d.ts +17 -0
  61. package/dist-types/ts3.4/commands/DescribeQuickConnectCommand.d.ts +17 -0
  62. package/dist-types/ts3.4/commands/DescribeRoutingProfileCommand.d.ts +17 -0
  63. package/dist-types/ts3.4/commands/DescribeSecurityProfileCommand.d.ts +17 -0
  64. package/dist-types/ts3.4/commands/DescribeUserCommand.d.ts +17 -0
  65. package/dist-types/ts3.4/commands/DescribeUserHierarchyGroupCommand.d.ts +17 -0
  66. package/dist-types/ts3.4/commands/DescribeUserHierarchyStructureCommand.d.ts +17 -0
  67. package/dist-types/ts3.4/commands/DescribeVocabularyCommand.d.ts +17 -0
  68. package/dist-types/ts3.4/commands/DisassociateApprovedOriginCommand.d.ts +17 -0
  69. package/dist-types/ts3.4/commands/DisassociateBotCommand.d.ts +17 -0
  70. package/dist-types/ts3.4/commands/DisassociateInstanceStorageConfigCommand.d.ts +17 -0
  71. package/dist-types/ts3.4/commands/DisassociateLambdaFunctionCommand.d.ts +17 -0
  72. package/dist-types/ts3.4/commands/DisassociateLexBotCommand.d.ts +17 -0
  73. package/dist-types/ts3.4/commands/DisassociateQueueQuickConnectsCommand.d.ts +17 -0
  74. package/dist-types/ts3.4/commands/DisassociateRoutingProfileQueuesCommand.d.ts +17 -0
  75. package/dist-types/ts3.4/commands/DisassociateSecurityKeyCommand.d.ts +17 -0
  76. package/dist-types/ts3.4/commands/GetContactAttributesCommand.d.ts +17 -0
  77. package/dist-types/ts3.4/commands/GetCurrentMetricDataCommand.d.ts +17 -0
  78. package/dist-types/ts3.4/commands/GetFederationTokenCommand.d.ts +17 -0
  79. package/dist-types/ts3.4/commands/GetMetricDataCommand.d.ts +17 -0
  80. package/dist-types/ts3.4/commands/ListAgentStatusesCommand.d.ts +17 -0
  81. package/dist-types/ts3.4/commands/ListApprovedOriginsCommand.d.ts +17 -0
  82. package/dist-types/ts3.4/commands/ListBotsCommand.d.ts +17 -0
  83. package/dist-types/ts3.4/commands/ListContactFlowModulesCommand.d.ts +17 -0
  84. package/dist-types/ts3.4/commands/ListContactFlowsCommand.d.ts +17 -0
  85. package/dist-types/ts3.4/commands/ListContactReferencesCommand.d.ts +17 -0
  86. package/dist-types/ts3.4/commands/ListDefaultVocabulariesCommand.d.ts +17 -0
  87. package/dist-types/ts3.4/commands/ListHoursOfOperationsCommand.d.ts +17 -0
  88. package/dist-types/ts3.4/commands/ListInstanceAttributesCommand.d.ts +17 -0
  89. package/dist-types/ts3.4/commands/ListInstanceStorageConfigsCommand.d.ts +17 -0
  90. package/dist-types/ts3.4/commands/ListInstancesCommand.d.ts +17 -0
  91. package/dist-types/ts3.4/commands/ListIntegrationAssociationsCommand.d.ts +17 -0
  92. package/dist-types/ts3.4/commands/ListLambdaFunctionsCommand.d.ts +17 -0
  93. package/dist-types/ts3.4/commands/ListLexBotsCommand.d.ts +17 -0
  94. package/dist-types/ts3.4/commands/ListPhoneNumbersCommand.d.ts +17 -0
  95. package/dist-types/ts3.4/commands/ListPromptsCommand.d.ts +17 -0
  96. package/dist-types/ts3.4/commands/ListQueueQuickConnectsCommand.d.ts +17 -0
  97. package/dist-types/ts3.4/commands/ListQueuesCommand.d.ts +17 -0
  98. package/dist-types/ts3.4/commands/ListQuickConnectsCommand.d.ts +17 -0
  99. package/dist-types/ts3.4/commands/ListRoutingProfileQueuesCommand.d.ts +17 -0
  100. package/dist-types/ts3.4/commands/ListRoutingProfilesCommand.d.ts +17 -0
  101. package/dist-types/ts3.4/commands/ListSecurityKeysCommand.d.ts +17 -0
  102. package/dist-types/ts3.4/commands/ListSecurityProfilePermissionsCommand.d.ts +17 -0
  103. package/dist-types/ts3.4/commands/ListSecurityProfilesCommand.d.ts +17 -0
  104. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  105. package/dist-types/ts3.4/commands/ListUseCasesCommand.d.ts +17 -0
  106. package/dist-types/ts3.4/commands/ListUserHierarchyGroupsCommand.d.ts +17 -0
  107. package/dist-types/ts3.4/commands/ListUsersCommand.d.ts +17 -0
  108. package/dist-types/ts3.4/commands/ResumeContactRecordingCommand.d.ts +17 -0
  109. package/dist-types/ts3.4/commands/SearchVocabulariesCommand.d.ts +17 -0
  110. package/dist-types/ts3.4/commands/StartChatContactCommand.d.ts +17 -0
  111. package/dist-types/ts3.4/commands/StartContactRecordingCommand.d.ts +17 -0
  112. package/dist-types/ts3.4/commands/StartContactStreamingCommand.d.ts +17 -0
  113. package/dist-types/ts3.4/commands/StartOutboundVoiceContactCommand.d.ts +17 -0
  114. package/dist-types/ts3.4/commands/StartTaskContactCommand.d.ts +17 -0
  115. package/dist-types/ts3.4/commands/StopContactCommand.d.ts +17 -0
  116. package/dist-types/ts3.4/commands/StopContactRecordingCommand.d.ts +17 -0
  117. package/dist-types/ts3.4/commands/StopContactStreamingCommand.d.ts +17 -0
  118. package/dist-types/ts3.4/commands/SuspendContactRecordingCommand.d.ts +17 -0
  119. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  120. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  121. package/dist-types/ts3.4/commands/UpdateAgentStatusCommand.d.ts +17 -0
  122. package/dist-types/ts3.4/commands/UpdateContactAttributesCommand.d.ts +17 -0
  123. package/dist-types/ts3.4/commands/UpdateContactCommand.d.ts +17 -0
  124. package/dist-types/ts3.4/commands/UpdateContactFlowContentCommand.d.ts +17 -0
  125. package/dist-types/ts3.4/commands/UpdateContactFlowMetadataCommand.d.ts +17 -0
  126. package/dist-types/ts3.4/commands/UpdateContactFlowModuleContentCommand.d.ts +17 -0
  127. package/dist-types/ts3.4/commands/UpdateContactFlowModuleMetadataCommand.d.ts +17 -0
  128. package/dist-types/ts3.4/commands/UpdateContactFlowNameCommand.d.ts +17 -0
  129. package/dist-types/ts3.4/commands/UpdateContactScheduleCommand.d.ts +17 -0
  130. package/dist-types/ts3.4/commands/UpdateHoursOfOperationCommand.d.ts +17 -0
  131. package/dist-types/ts3.4/commands/UpdateInstanceAttributeCommand.d.ts +17 -0
  132. package/dist-types/ts3.4/commands/UpdateInstanceStorageConfigCommand.d.ts +17 -0
  133. package/dist-types/ts3.4/commands/UpdateQueueHoursOfOperationCommand.d.ts +17 -0
  134. package/dist-types/ts3.4/commands/UpdateQueueMaxContactsCommand.d.ts +17 -0
  135. package/dist-types/ts3.4/commands/UpdateQueueNameCommand.d.ts +17 -0
  136. package/dist-types/ts3.4/commands/UpdateQueueOutboundCallerConfigCommand.d.ts +17 -0
  137. package/dist-types/ts3.4/commands/UpdateQueueStatusCommand.d.ts +17 -0
  138. package/dist-types/ts3.4/commands/UpdateQuickConnectConfigCommand.d.ts +17 -0
  139. package/dist-types/ts3.4/commands/UpdateQuickConnectNameCommand.d.ts +17 -0
  140. package/dist-types/ts3.4/commands/UpdateRoutingProfileConcurrencyCommand.d.ts +17 -0
  141. package/dist-types/ts3.4/commands/UpdateRoutingProfileDefaultOutboundQueueCommand.d.ts +17 -0
  142. package/dist-types/ts3.4/commands/UpdateRoutingProfileNameCommand.d.ts +17 -0
  143. package/dist-types/ts3.4/commands/UpdateRoutingProfileQueuesCommand.d.ts +17 -0
  144. package/dist-types/ts3.4/commands/UpdateSecurityProfileCommand.d.ts +17 -0
  145. package/dist-types/ts3.4/commands/UpdateUserHierarchyCommand.d.ts +17 -0
  146. package/dist-types/ts3.4/commands/UpdateUserHierarchyGroupNameCommand.d.ts +17 -0
  147. package/dist-types/ts3.4/commands/UpdateUserHierarchyStructureCommand.d.ts +17 -0
  148. package/dist-types/ts3.4/commands/UpdateUserIdentityInfoCommand.d.ts +17 -0
  149. package/dist-types/ts3.4/commands/UpdateUserPhoneConfigCommand.d.ts +17 -0
  150. package/dist-types/ts3.4/commands/UpdateUserRoutingProfileCommand.d.ts +17 -0
  151. package/dist-types/ts3.4/commands/UpdateUserSecurityProfilesCommand.d.ts +17 -0
  152. package/dist-types/ts3.4/commands/index.d.ts +134 -0
  153. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  154. package/dist-types/ts3.4/index.d.ts +6 -0
  155. package/dist-types/ts3.4/models/ConnectServiceException.d.ts +6 -0
  156. package/dist-types/ts3.4/models/index.d.ts +2 -0
  157. package/dist-types/ts3.4/models/models_0.d.ts +3745 -0
  158. package/dist-types/ts3.4/models/models_1.d.ts +679 -0
  159. package/dist-types/ts3.4/pagination/GetCurrentMetricDataPaginator.d.ts +4 -0
  160. package/dist-types/ts3.4/pagination/GetMetricDataPaginator.d.ts +4 -0
  161. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  162. package/dist-types/ts3.4/pagination/ListAgentStatusesPaginator.d.ts +4 -0
  163. package/dist-types/ts3.4/pagination/ListApprovedOriginsPaginator.d.ts +4 -0
  164. package/dist-types/ts3.4/pagination/ListBotsPaginator.d.ts +4 -0
  165. package/dist-types/ts3.4/pagination/ListContactFlowModulesPaginator.d.ts +4 -0
  166. package/dist-types/ts3.4/pagination/ListContactFlowsPaginator.d.ts +4 -0
  167. package/dist-types/ts3.4/pagination/ListContactReferencesPaginator.d.ts +4 -0
  168. package/dist-types/ts3.4/pagination/ListDefaultVocabulariesPaginator.d.ts +4 -0
  169. package/dist-types/ts3.4/pagination/ListHoursOfOperationsPaginator.d.ts +4 -0
  170. package/dist-types/ts3.4/pagination/ListInstanceAttributesPaginator.d.ts +4 -0
  171. package/dist-types/ts3.4/pagination/ListInstanceStorageConfigsPaginator.d.ts +4 -0
  172. package/dist-types/ts3.4/pagination/ListInstancesPaginator.d.ts +4 -0
  173. package/dist-types/ts3.4/pagination/ListIntegrationAssociationsPaginator.d.ts +4 -0
  174. package/dist-types/ts3.4/pagination/ListLambdaFunctionsPaginator.d.ts +4 -0
  175. package/dist-types/ts3.4/pagination/ListLexBotsPaginator.d.ts +4 -0
  176. package/dist-types/ts3.4/pagination/ListPhoneNumbersPaginator.d.ts +4 -0
  177. package/dist-types/ts3.4/pagination/ListPromptsPaginator.d.ts +4 -0
  178. package/dist-types/ts3.4/pagination/ListQueueQuickConnectsPaginator.d.ts +4 -0
  179. package/dist-types/ts3.4/pagination/ListQueuesPaginator.d.ts +4 -0
  180. package/dist-types/ts3.4/pagination/ListQuickConnectsPaginator.d.ts +4 -0
  181. package/dist-types/ts3.4/pagination/ListRoutingProfileQueuesPaginator.d.ts +4 -0
  182. package/dist-types/ts3.4/pagination/ListRoutingProfilesPaginator.d.ts +4 -0
  183. package/dist-types/ts3.4/pagination/ListSecurityKeysPaginator.d.ts +4 -0
  184. package/dist-types/ts3.4/pagination/ListSecurityProfilePermissionsPaginator.d.ts +4 -0
  185. package/dist-types/ts3.4/pagination/ListSecurityProfilesPaginator.d.ts +4 -0
  186. package/dist-types/ts3.4/pagination/ListUseCasesPaginator.d.ts +4 -0
  187. package/dist-types/ts3.4/pagination/ListUserHierarchyGroupsPaginator.d.ts +4 -0
  188. package/dist-types/ts3.4/pagination/ListUsersPaginator.d.ts +4 -0
  189. package/dist-types/ts3.4/pagination/SearchVocabulariesPaginator.d.ts +4 -0
  190. package/dist-types/ts3.4/pagination/index.d.ts +31 -0
  191. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +404 -0
  192. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  193. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  194. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  195. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  196. package/package.json +33 -33
@@ -3,3 +3,4 @@ export * from "./ConnectClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { ConnectServiceException } from "./models/ConnectServiceException";
@@ -0,0 +1,10 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@aws-sdk/smithy-client";
2
+ /**
3
+ * Base exception class for all service exceptions from Connect service.
4
+ */
5
+ export declare class ConnectServiceException extends __ServiceException {
6
+ /**
7
+ * @internal
8
+ */
9
+ constructor(options: __ServiceExceptionOptions);
10
+ }
@@ -1,11 +1,16 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
2
3
  /**
3
4
  * <p>You do not have sufficient permissions to perform this action.</p>
4
5
  */
5
- export interface AccessDeniedException extends __SmithyException, $MetadataBearer {
6
- name: "AccessDeniedException";
7
- $fault: "client";
6
+ export declare class AccessDeniedException extends __BaseException {
7
+ readonly name: "AccessDeniedException";
8
+ readonly $fault: "client";
8
9
  Message?: string;
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
9
14
  }
10
15
  /**
11
16
  * <p>Information about the agent who accepted the contact.</p>
@@ -126,70 +131,98 @@ export declare namespace AssociateApprovedOriginRequest {
126
131
  /**
127
132
  * <p>Request processing failed because of an error or failure with the service.</p>
128
133
  */
129
- export interface InternalServiceException extends __SmithyException, $MetadataBearer {
130
- name: "InternalServiceException";
131
- $fault: "server";
134
+ export declare class InternalServiceException extends __BaseException {
135
+ readonly name: "InternalServiceException";
136
+ readonly $fault: "server";
132
137
  /**
133
138
  * <p>The message.</p>
134
139
  */
135
140
  Message?: string;
141
+ /**
142
+ * @internal
143
+ */
144
+ constructor(opts: __ExceptionOptionType<InternalServiceException, __BaseException>);
136
145
  }
137
146
  /**
138
147
  * <p>One or more of the specified parameters are not valid.</p>
139
148
  */
140
- export interface InvalidParameterException extends __SmithyException, $MetadataBearer {
141
- name: "InvalidParameterException";
142
- $fault: "client";
149
+ export declare class InvalidParameterException extends __BaseException {
150
+ readonly name: "InvalidParameterException";
151
+ readonly $fault: "client";
143
152
  /**
144
153
  * <p>The message about the parameters.</p>
145
154
  */
146
155
  Message?: string;
156
+ /**
157
+ * @internal
158
+ */
159
+ constructor(opts: __ExceptionOptionType<InvalidParameterException, __BaseException>);
147
160
  }
148
161
  /**
149
162
  * <p>The request is not valid.</p>
150
163
  */
151
- export interface InvalidRequestException extends __SmithyException, $MetadataBearer {
152
- name: "InvalidRequestException";
153
- $fault: "client";
164
+ export declare class InvalidRequestException extends __BaseException {
165
+ readonly name: "InvalidRequestException";
166
+ readonly $fault: "client";
154
167
  /**
155
168
  * <p>The message about the request.</p>
156
169
  */
157
170
  Message?: string;
171
+ /**
172
+ * @internal
173
+ */
174
+ constructor(opts: __ExceptionOptionType<InvalidRequestException, __BaseException>);
158
175
  }
159
176
  /**
160
177
  * <p>A resource already has that name.</p>
161
178
  */
162
- export interface ResourceConflictException extends __SmithyException, $MetadataBearer {
163
- name: "ResourceConflictException";
164
- $fault: "client";
179
+ export declare class ResourceConflictException extends __BaseException {
180
+ readonly name: "ResourceConflictException";
181
+ readonly $fault: "client";
165
182
  Message?: string;
183
+ /**
184
+ * @internal
185
+ */
186
+ constructor(opts: __ExceptionOptionType<ResourceConflictException, __BaseException>);
166
187
  }
167
188
  /**
168
189
  * <p>The specified resource was not found.</p>
169
190
  */
170
- export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
171
- name: "ResourceNotFoundException";
172
- $fault: "client";
191
+ export declare class ResourceNotFoundException extends __BaseException {
192
+ readonly name: "ResourceNotFoundException";
193
+ readonly $fault: "client";
173
194
  /**
174
195
  * <p>The message about the resource.</p>
175
196
  */
176
197
  Message?: string;
198
+ /**
199
+ * @internal
200
+ */
201
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
177
202
  }
178
203
  /**
179
204
  * <p>The service quota has been exceeded.</p>
180
205
  */
181
- export interface ServiceQuotaExceededException extends __SmithyException, $MetadataBearer {
182
- name: "ServiceQuotaExceededException";
183
- $fault: "client";
206
+ export declare class ServiceQuotaExceededException extends __BaseException {
207
+ readonly name: "ServiceQuotaExceededException";
208
+ readonly $fault: "client";
184
209
  Message?: string;
210
+ /**
211
+ * @internal
212
+ */
213
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
185
214
  }
186
215
  /**
187
216
  * <p>The throttling limit has been exceeded.</p>
188
217
  */
189
- export interface ThrottlingException extends __SmithyException, $MetadataBearer {
190
- name: "ThrottlingException";
191
- $fault: "client";
218
+ export declare class ThrottlingException extends __BaseException {
219
+ readonly name: "ThrottlingException";
220
+ readonly $fault: "client";
192
221
  Message?: string;
222
+ /**
223
+ * @internal
224
+ */
225
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
193
226
  }
194
227
  /**
195
228
  * <p>Configuration information of an Amazon Lex bot.</p>
@@ -248,13 +281,17 @@ export declare namespace AssociateBotRequest {
248
281
  /**
249
282
  * <p>The allowed limit for the resource has been exceeded.</p>
250
283
  */
251
- export interface LimitExceededException extends __SmithyException, $MetadataBearer {
252
- name: "LimitExceededException";
253
- $fault: "client";
284
+ export declare class LimitExceededException extends __BaseException {
285
+ readonly name: "LimitExceededException";
286
+ readonly $fault: "client";
254
287
  /**
255
288
  * <p>The message about the limit.</p>
256
289
  */
257
290
  Message?: string;
291
+ /**
292
+ * @internal
293
+ */
294
+ constructor(opts: __ExceptionOptionType<LimitExceededException, __BaseException>);
258
295
  }
259
296
  export declare enum VocabularyLanguageCode {
260
297
  AR_AE = "ar-AE",
@@ -701,10 +738,14 @@ export declare namespace CreateAgentStatusResponse {
701
738
  /**
702
739
  * <p>A resource with the specified name already exists.</p>
703
740
  */
704
- export interface DuplicateResourceException extends __SmithyException, $MetadataBearer {
705
- name: "DuplicateResourceException";
706
- $fault: "client";
741
+ export declare class DuplicateResourceException extends __BaseException {
742
+ readonly name: "DuplicateResourceException";
743
+ readonly $fault: "client";
707
744
  Message?: string;
745
+ /**
746
+ * @internal
747
+ */
748
+ constructor(opts: __ExceptionOptionType<DuplicateResourceException, __BaseException>);
708
749
  }
709
750
  export declare enum ContactFlowType {
710
751
  AGENT_HOLD = "AGENT_HOLD",
@@ -786,13 +827,17 @@ export declare namespace ProblemDetail {
786
827
  /**
787
828
  * <p>The contact flow is not valid.</p>
788
829
  */
789
- export interface InvalidContactFlowException extends __SmithyException, $MetadataBearer {
790
- name: "InvalidContactFlowException";
791
- $fault: "client";
830
+ export declare class InvalidContactFlowException extends __BaseException {
831
+ readonly name: "InvalidContactFlowException";
832
+ readonly $fault: "client";
792
833
  /**
793
834
  * <p>The problems with the contact flow. Please fix before trying again.</p>
794
835
  */
795
836
  problems?: ProblemDetail[];
837
+ /**
838
+ * @internal
839
+ */
840
+ constructor(opts: __ExceptionOptionType<InvalidContactFlowException, __BaseException>);
796
841
  }
797
842
  export interface CreateContactFlowModuleRequest {
798
843
  /**
@@ -848,18 +893,26 @@ export declare namespace CreateContactFlowModuleResponse {
848
893
  /**
849
894
  * <p>An entity with the same name already exists.</p>
850
895
  */
851
- export interface IdempotencyException extends __SmithyException, $MetadataBearer {
852
- name: "IdempotencyException";
853
- $fault: "client";
896
+ export declare class IdempotencyException extends __BaseException {
897
+ readonly name: "IdempotencyException";
898
+ readonly $fault: "client";
854
899
  Message?: string;
900
+ /**
901
+ * @internal
902
+ */
903
+ constructor(opts: __ExceptionOptionType<IdempotencyException, __BaseException>);
855
904
  }
856
905
  /**
857
906
  * <p>The problems with the module. Please fix before trying again.</p>
858
907
  */
859
- export interface InvalidContactFlowModuleException extends __SmithyException, $MetadataBearer {
860
- name: "InvalidContactFlowModuleException";
861
- $fault: "client";
908
+ export declare class InvalidContactFlowModuleException extends __BaseException {
909
+ readonly name: "InvalidContactFlowModuleException";
910
+ readonly $fault: "client";
862
911
  Problems?: ProblemDetail[];
912
+ /**
913
+ * @internal
914
+ */
915
+ constructor(opts: __ExceptionOptionType<InvalidContactFlowModuleException, __BaseException>);
863
916
  }
864
917
  export declare enum HoursOfOperationDays {
865
918
  FRIDAY = "FRIDAY",
@@ -1838,9 +1891,9 @@ export declare enum ResourceType {
1838
1891
  /**
1839
1892
  * <p>That resource is already in use. Please try another.</p>
1840
1893
  */
1841
- export interface ResourceInUseException extends __SmithyException, $MetadataBearer {
1842
- name: "ResourceInUseException";
1843
- $fault: "client";
1894
+ export declare class ResourceInUseException extends __BaseException {
1895
+ readonly name: "ResourceInUseException";
1896
+ readonly $fault: "client";
1844
1897
  Message?: string;
1845
1898
  /**
1846
1899
  * <p>The type of resource.</p>
@@ -1850,6 +1903,10 @@ export interface ResourceInUseException extends __SmithyException, $MetadataBear
1850
1903
  * <p>The identifier for the resource.</p>
1851
1904
  */
1852
1905
  ResourceId?: string;
1906
+ /**
1907
+ * @internal
1908
+ */
1909
+ constructor(opts: __ExceptionOptionType<ResourceInUseException, __BaseException>);
1853
1910
  }
1854
1911
  export interface DeleteUseCaseRequest {
1855
1912
  /**
@@ -2097,10 +2154,14 @@ export declare namespace DescribeContactResponse {
2097
2154
  /**
2098
2155
  * <p>The contact flow has not been published.</p>
2099
2156
  */
2100
- export interface ContactFlowNotPublishedException extends __SmithyException, $MetadataBearer {
2101
- name: "ContactFlowNotPublishedException";
2102
- $fault: "client";
2157
+ export declare class ContactFlowNotPublishedException extends __BaseException {
2158
+ readonly name: "ContactFlowNotPublishedException";
2159
+ readonly $fault: "client";
2103
2160
  Message?: string;
2161
+ /**
2162
+ * @internal
2163
+ */
2164
+ constructor(opts: __ExceptionOptionType<ContactFlowNotPublishedException, __BaseException>);
2104
2165
  }
2105
2166
  export interface DescribeContactFlowRequest {
2106
2167
  /**
@@ -3698,10 +3759,14 @@ export declare namespace GetFederationTokenResponse {
3698
3759
  /**
3699
3760
  * <p>No user with the specified credentials was found in the Amazon Connect instance.</p>
3700
3761
  */
3701
- export interface UserNotFoundException extends __SmithyException, $MetadataBearer {
3702
- name: "UserNotFoundException";
3703
- $fault: "client";
3762
+ export declare class UserNotFoundException extends __BaseException {
3763
+ readonly name: "UserNotFoundException";
3764
+ readonly $fault: "client";
3704
3765
  Message?: string;
3766
+ /**
3767
+ * @internal
3768
+ */
3769
+ constructor(opts: __ExceptionOptionType<UserNotFoundException, __BaseException>);
3705
3770
  }
3706
3771
  export declare enum HistoricalMetricName {
3707
3772
  ABANDON_TIME = "ABANDON_TIME",
@@ -6304,11 +6369,15 @@ export declare namespace StartContactStreamingResponse {
6304
6369
  /**
6305
6370
  * <p>Outbound calls to the destination number are not allowed.</p>
6306
6371
  */
6307
- export interface DestinationNotAllowedException extends __SmithyException, $MetadataBearer {
6308
- name: "DestinationNotAllowedException";
6309
- $fault: "client";
6372
+ export declare class DestinationNotAllowedException extends __BaseException {
6373
+ readonly name: "DestinationNotAllowedException";
6374
+ readonly $fault: "client";
6310
6375
  /**
6311
6376
  * <p>The message about the outbound calls.</p>
6312
6377
  */
6313
6378
  Message?: string;
6379
+ /**
6380
+ * @internal
6381
+ */
6382
+ constructor(opts: __ExceptionOptionType<DestinationNotAllowedException, __BaseException>);
6314
6383
  }
@@ -1,15 +1,20 @@
1
- import { MetadataBearer as $MetadataBearer, SmithyException as __SmithyException } from "@aws-sdk/types";
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@aws-sdk/smithy-client";
2
+ import { ConnectServiceException as __BaseException } from "./ConnectServiceException";
2
3
  import { AgentStatusState, ContactFlowModuleState, ContactFlowState, HoursOfOperationConfig, InstanceAttributeType, InstanceStorageConfig, InstanceStorageResourceType, MediaConcurrency, OutboundCallerConfig, QueueStatus, QuickConnectConfig, ReferenceType, RoutingProfileQueueConfig, UserIdentityInfo, UserPhoneConfig } from "./models_0";
3
4
  /**
4
5
  * <p>The contact is not permitted.</p>
5
6
  */
6
- export interface OutboundContactNotPermittedException extends __SmithyException, $MetadataBearer {
7
- name: "OutboundContactNotPermittedException";
8
- $fault: "client";
7
+ export declare class OutboundContactNotPermittedException extends __BaseException {
8
+ readonly name: "OutboundContactNotPermittedException";
9
+ readonly $fault: "client";
9
10
  /**
10
11
  * <p>The message about the contact.</p>
11
12
  */
12
13
  Message?: string;
14
+ /**
15
+ * @internal
16
+ */
17
+ constructor(opts: __ExceptionOptionType<OutboundContactNotPermittedException, __BaseException>);
13
18
  }
14
19
  /**
15
20
  * <p>Configuration of the answering machine detection.</p>
@@ -214,13 +219,17 @@ export declare namespace StartTaskContactResponse {
214
219
  /**
215
220
  * <p>The contact with the specified ID is not active or does not exist.</p>
216
221
  */
217
- export interface ContactNotFoundException extends __SmithyException, $MetadataBearer {
218
- name: "ContactNotFoundException";
219
- $fault: "client";
222
+ export declare class ContactNotFoundException extends __BaseException {
223
+ readonly name: "ContactNotFoundException";
224
+ readonly $fault: "client";
220
225
  /**
221
226
  * <p>The message.</p>
222
227
  */
223
228
  Message?: string;
229
+ /**
230
+ * @internal
231
+ */
232
+ constructor(opts: __ExceptionOptionType<ContactNotFoundException, __BaseException>);
224
233
  }
225
234
  export interface StopContactRequest {
226
235
  /**