@aws-sdk/client-voice-id 3.51.0 → 3.54.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 "./VoiceIDClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { VoiceIDServiceException } from "./models/VoiceIDServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var VoiceIDServiceException = (function (_super) {
4
+ __extends(VoiceIDServiceException, _super);
5
+ function VoiceIDServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, VoiceIDServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return VoiceIDServiceException;
11
+ }(__ServiceException));
12
+ export { VoiceIDServiceException };
@@ -1,5 +1,19 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { VoiceIDServiceException as __BaseException } from "./VoiceIDServiceException";
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
+ _this.Message = opts.Message;
12
+ return _this;
13
+ }
14
+ return AccessDeniedException;
15
+ }(__BaseException));
16
+ export { AccessDeniedException };
3
17
  export var AuthenticationConfiguration;
4
18
  (function (AuthenticationConfiguration) {
5
19
  AuthenticationConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -27,6 +41,20 @@ export var ConflictType;
27
41
  ConflictType["SPEAKER_NOT_SET"] = "SPEAKER_NOT_SET";
28
42
  ConflictType["SPEAKER_OPTED_OUT"] = "SPEAKER_OPTED_OUT";
29
43
  })(ConflictType || (ConflictType = {}));
44
+ var ConflictException = (function (_super) {
45
+ __extends(ConflictException, _super);
46
+ function ConflictException(opts) {
47
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
48
+ _this.name = "ConflictException";
49
+ _this.$fault = "client";
50
+ Object.setPrototypeOf(_this, ConflictException.prototype);
51
+ _this.Message = opts.Message;
52
+ _this.ConflictType = opts.ConflictType;
53
+ return _this;
54
+ }
55
+ return ConflictException;
56
+ }(__BaseException));
57
+ export { ConflictException };
30
58
  export var ServerSideEncryptionConfiguration;
31
59
  (function (ServerSideEncryptionConfiguration) {
32
60
  ServerSideEncryptionConfiguration.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -53,6 +81,19 @@ export var CreateDomainResponse;
53
81
  (function (CreateDomainResponse) {
54
82
  CreateDomainResponse.filterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.Domain && { Domain: Domain.filterSensitiveLog(obj.Domain) }))); };
55
83
  })(CreateDomainResponse || (CreateDomainResponse = {}));
84
+ var InternalServerException = (function (_super) {
85
+ __extends(InternalServerException, _super);
86
+ function InternalServerException(opts) {
87
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
88
+ _this.name = "InternalServerException";
89
+ _this.$fault = "server";
90
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
91
+ _this.Message = opts.Message;
92
+ return _this;
93
+ }
94
+ return InternalServerException;
95
+ }(__BaseException));
96
+ export { InternalServerException };
56
97
  export var ResourceType;
57
98
  (function (ResourceType) {
58
99
  ResourceType["BATCH_JOB"] = "BATCH_JOB";
@@ -62,6 +103,59 @@ export var ResourceType;
62
103
  ResourceType["SESSION"] = "SESSION";
63
104
  ResourceType["SPEAKER"] = "SPEAKER";
64
105
  })(ResourceType || (ResourceType = {}));
106
+ var ResourceNotFoundException = (function (_super) {
107
+ __extends(ResourceNotFoundException, _super);
108
+ function ResourceNotFoundException(opts) {
109
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
110
+ _this.name = "ResourceNotFoundException";
111
+ _this.$fault = "client";
112
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
113
+ _this.Message = opts.Message;
114
+ _this.ResourceType = opts.ResourceType;
115
+ return _this;
116
+ }
117
+ return ResourceNotFoundException;
118
+ }(__BaseException));
119
+ export { ResourceNotFoundException };
120
+ var ServiceQuotaExceededException = (function (_super) {
121
+ __extends(ServiceQuotaExceededException, _super);
122
+ function ServiceQuotaExceededException(opts) {
123
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
124
+ _this.name = "ServiceQuotaExceededException";
125
+ _this.$fault = "client";
126
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
127
+ _this.Message = opts.Message;
128
+ return _this;
129
+ }
130
+ return ServiceQuotaExceededException;
131
+ }(__BaseException));
132
+ export { ServiceQuotaExceededException };
133
+ var ThrottlingException = (function (_super) {
134
+ __extends(ThrottlingException, _super);
135
+ function ThrottlingException(opts) {
136
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
137
+ _this.name = "ThrottlingException";
138
+ _this.$fault = "client";
139
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
140
+ _this.Message = opts.Message;
141
+ return _this;
142
+ }
143
+ return ThrottlingException;
144
+ }(__BaseException));
145
+ export { ThrottlingException };
146
+ var ValidationException = (function (_super) {
147
+ __extends(ValidationException, _super);
148
+ function ValidationException(opts) {
149
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
150
+ _this.name = "ValidationException";
151
+ _this.$fault = "client";
152
+ Object.setPrototypeOf(_this, ValidationException.prototype);
153
+ _this.Message = opts.Message;
154
+ return _this;
155
+ }
156
+ return ValidationException;
157
+ }(__BaseException));
158
+ export { ValidationException };
65
159
  export var DeleteDomainRequest;
66
160
  (function (DeleteDomainRequest) {
67
161
  DeleteDomainRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };