@aws-sdk/client-wisdom 3.52.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.
package/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./WisdomClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { WisdomServiceException } from "./models/WisdomServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var WisdomServiceException = (function (_super) {
4
+ __extends(WisdomServiceException, _super);
5
+ function WisdomServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, WisdomServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return WisdomServiceException;
11
+ }(__ServiceException));
12
+ export { WisdomServiceException };
@@ -1,9 +1,34 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { WisdomServiceException as __BaseException } from "./WisdomServiceException";
4
+ var AccessDeniedException = (function (_super) {
5
+ __extends(AccessDeniedException, _super);
6
+ function AccessDeniedException(opts) {
7
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
8
+ _this.name = "AccessDeniedException";
9
+ _this.$fault = "client";
10
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
11
+ return _this;
12
+ }
13
+ return AccessDeniedException;
14
+ }(__BaseException));
15
+ export { AccessDeniedException };
3
16
  export var AppIntegrationsConfiguration;
4
17
  (function (AppIntegrationsConfiguration) {
5
18
  AppIntegrationsConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
6
19
  })(AppIntegrationsConfiguration || (AppIntegrationsConfiguration = {}));
20
+ var ConflictException = (function (_super) {
21
+ __extends(ConflictException, _super);
22
+ function ConflictException(opts) {
23
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
24
+ _this.name = "ConflictException";
25
+ _this.$fault = "client";
26
+ Object.setPrototypeOf(_this, ConflictException.prototype);
27
+ return _this;
28
+ }
29
+ return ConflictException;
30
+ }(__BaseException));
31
+ export { ConflictException };
7
32
  export var AssistantAssociationInputData;
8
33
  (function (AssistantAssociationInputData) {
9
34
  AssistantAssociationInputData.visit = function (value, visitor) {
@@ -60,6 +85,43 @@ export var CreateAssistantAssociationResponse;
60
85
  assistantAssociation: AssistantAssociationData.filterSensitiveLog(obj.assistantAssociation),
61
86
  }))); };
62
87
  })(CreateAssistantAssociationResponse || (CreateAssistantAssociationResponse = {}));
88
+ var ResourceNotFoundException = (function (_super) {
89
+ __extends(ResourceNotFoundException, _super);
90
+ function ResourceNotFoundException(opts) {
91
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
92
+ _this.name = "ResourceNotFoundException";
93
+ _this.$fault = "client";
94
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
95
+ _this.resourceName = opts.resourceName;
96
+ return _this;
97
+ }
98
+ return ResourceNotFoundException;
99
+ }(__BaseException));
100
+ export { ResourceNotFoundException };
101
+ var ServiceQuotaExceededException = (function (_super) {
102
+ __extends(ServiceQuotaExceededException, _super);
103
+ function ServiceQuotaExceededException(opts) {
104
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
105
+ _this.name = "ServiceQuotaExceededException";
106
+ _this.$fault = "client";
107
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
108
+ return _this;
109
+ }
110
+ return ServiceQuotaExceededException;
111
+ }(__BaseException));
112
+ export { ServiceQuotaExceededException };
113
+ var ValidationException = (function (_super) {
114
+ __extends(ValidationException, _super);
115
+ function ValidationException(opts) {
116
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
117
+ _this.name = "ValidationException";
118
+ _this.$fault = "client";
119
+ Object.setPrototypeOf(_this, ValidationException.prototype);
120
+ return _this;
121
+ }
122
+ return ValidationException;
123
+ }(__BaseException));
124
+ export { ValidationException };
63
125
  export var DeleteAssistantAssociationRequest;
64
126
  (function (DeleteAssistantAssociationRequest) {
65
127
  DeleteAssistantAssociationRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -319,6 +381,18 @@ export var ListContentsResponse;
319
381
  (function (ListContentsResponse) {
320
382
  ListContentsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
321
383
  })(ListContentsResponse || (ListContentsResponse = {}));
384
+ var PreconditionFailedException = (function (_super) {
385
+ __extends(PreconditionFailedException, _super);
386
+ function PreconditionFailedException(opts) {
387
+ var _this = _super.call(this, __assign({ name: "PreconditionFailedException", $fault: "client" }, opts)) || this;
388
+ _this.name = "PreconditionFailedException";
389
+ _this.$fault = "client";
390
+ Object.setPrototypeOf(_this, PreconditionFailedException.prototype);
391
+ return _this;
392
+ }
393
+ return PreconditionFailedException;
394
+ }(__BaseException));
395
+ export { PreconditionFailedException };
322
396
  export var UpdateContentRequest;
323
397
  (function (UpdateContentRequest) {
324
398
  UpdateContentRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -456,6 +530,19 @@ export var TagResourceResponse;
456
530
  (function (TagResourceResponse) {
457
531
  TagResourceResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
458
532
  })(TagResourceResponse || (TagResourceResponse = {}));
533
+ var TooManyTagsException = (function (_super) {
534
+ __extends(TooManyTagsException, _super);
535
+ function TooManyTagsException(opts) {
536
+ var _this = _super.call(this, __assign({ name: "TooManyTagsException", $fault: "client" }, opts)) || this;
537
+ _this.name = "TooManyTagsException";
538
+ _this.$fault = "client";
539
+ Object.setPrototypeOf(_this, TooManyTagsException.prototype);
540
+ _this.resourceName = opts.resourceName;
541
+ return _this;
542
+ }
543
+ return TooManyTagsException;
544
+ }(__BaseException));
545
+ export { TooManyTagsException };
459
546
  export var UntagResourceRequest;
460
547
  (function (UntagResourceRequest) {
461
548
  UntagResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };