@aws-sdk/client-chime-sdk-voice 3.987.0 → 3.989.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.
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChimeSDKVoiceServiceException = exports.__ServiceException = void 0;
4
+ const smithy_client_1 = require("@smithy/smithy-client");
5
+ Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
6
+ class ChimeSDKVoiceServiceException extends smithy_client_1.ServiceException {
7
+ constructor(options) {
8
+ super(options);
9
+ Object.setPrototypeOf(this, ChimeSDKVoiceServiceException.prototype);
10
+ }
11
+ }
12
+ exports.ChimeSDKVoiceServiceException = ChimeSDKVoiceServiceException;
@@ -0,0 +1,208 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.UnprocessableEntityException = exports.GoneException = exports.ConflictException = exports.ResourceLimitExceededException = exports.UnauthorizedClientException = exports.ThrottledClientException = exports.ServiceUnavailableException = exports.ServiceFailureException = exports.NotFoundException = exports.ForbiddenException = exports.BadRequestException = exports.AccessDeniedException = void 0;
4
+ const ChimeSDKVoiceServiceException_1 = require("./ChimeSDKVoiceServiceException");
5
+ class AccessDeniedException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceServiceException {
6
+ name = "AccessDeniedException";
7
+ $fault = "client";
8
+ Code;
9
+ Message;
10
+ constructor(opts) {
11
+ super({
12
+ name: "AccessDeniedException",
13
+ $fault: "client",
14
+ ...opts,
15
+ });
16
+ Object.setPrototypeOf(this, AccessDeniedException.prototype);
17
+ this.Code = opts.Code;
18
+ this.Message = opts.Message;
19
+ }
20
+ }
21
+ exports.AccessDeniedException = AccessDeniedException;
22
+ class BadRequestException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceServiceException {
23
+ name = "BadRequestException";
24
+ $fault = "client";
25
+ Code;
26
+ Message;
27
+ constructor(opts) {
28
+ super({
29
+ name: "BadRequestException",
30
+ $fault: "client",
31
+ ...opts,
32
+ });
33
+ Object.setPrototypeOf(this, BadRequestException.prototype);
34
+ this.Code = opts.Code;
35
+ this.Message = opts.Message;
36
+ }
37
+ }
38
+ exports.BadRequestException = BadRequestException;
39
+ class ForbiddenException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceServiceException {
40
+ name = "ForbiddenException";
41
+ $fault = "client";
42
+ Code;
43
+ Message;
44
+ constructor(opts) {
45
+ super({
46
+ name: "ForbiddenException",
47
+ $fault: "client",
48
+ ...opts,
49
+ });
50
+ Object.setPrototypeOf(this, ForbiddenException.prototype);
51
+ this.Code = opts.Code;
52
+ this.Message = opts.Message;
53
+ }
54
+ }
55
+ exports.ForbiddenException = ForbiddenException;
56
+ class NotFoundException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceServiceException {
57
+ name = "NotFoundException";
58
+ $fault = "client";
59
+ Code;
60
+ Message;
61
+ constructor(opts) {
62
+ super({
63
+ name: "NotFoundException",
64
+ $fault: "client",
65
+ ...opts,
66
+ });
67
+ Object.setPrototypeOf(this, NotFoundException.prototype);
68
+ this.Code = opts.Code;
69
+ this.Message = opts.Message;
70
+ }
71
+ }
72
+ exports.NotFoundException = NotFoundException;
73
+ class ServiceFailureException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceServiceException {
74
+ name = "ServiceFailureException";
75
+ $fault = "server";
76
+ Code;
77
+ Message;
78
+ constructor(opts) {
79
+ super({
80
+ name: "ServiceFailureException",
81
+ $fault: "server",
82
+ ...opts,
83
+ });
84
+ Object.setPrototypeOf(this, ServiceFailureException.prototype);
85
+ this.Code = opts.Code;
86
+ this.Message = opts.Message;
87
+ }
88
+ }
89
+ exports.ServiceFailureException = ServiceFailureException;
90
+ class ServiceUnavailableException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceServiceException {
91
+ name = "ServiceUnavailableException";
92
+ $fault = "server";
93
+ Code;
94
+ Message;
95
+ constructor(opts) {
96
+ super({
97
+ name: "ServiceUnavailableException",
98
+ $fault: "server",
99
+ ...opts,
100
+ });
101
+ Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
102
+ this.Code = opts.Code;
103
+ this.Message = opts.Message;
104
+ }
105
+ }
106
+ exports.ServiceUnavailableException = ServiceUnavailableException;
107
+ class ThrottledClientException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceServiceException {
108
+ name = "ThrottledClientException";
109
+ $fault = "client";
110
+ Code;
111
+ Message;
112
+ constructor(opts) {
113
+ super({
114
+ name: "ThrottledClientException",
115
+ $fault: "client",
116
+ ...opts,
117
+ });
118
+ Object.setPrototypeOf(this, ThrottledClientException.prototype);
119
+ this.Code = opts.Code;
120
+ this.Message = opts.Message;
121
+ }
122
+ }
123
+ exports.ThrottledClientException = ThrottledClientException;
124
+ class UnauthorizedClientException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceServiceException {
125
+ name = "UnauthorizedClientException";
126
+ $fault = "client";
127
+ Code;
128
+ Message;
129
+ constructor(opts) {
130
+ super({
131
+ name: "UnauthorizedClientException",
132
+ $fault: "client",
133
+ ...opts,
134
+ });
135
+ Object.setPrototypeOf(this, UnauthorizedClientException.prototype);
136
+ this.Code = opts.Code;
137
+ this.Message = opts.Message;
138
+ }
139
+ }
140
+ exports.UnauthorizedClientException = UnauthorizedClientException;
141
+ class ResourceLimitExceededException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceServiceException {
142
+ name = "ResourceLimitExceededException";
143
+ $fault = "client";
144
+ Code;
145
+ Message;
146
+ constructor(opts) {
147
+ super({
148
+ name: "ResourceLimitExceededException",
149
+ $fault: "client",
150
+ ...opts,
151
+ });
152
+ Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
153
+ this.Code = opts.Code;
154
+ this.Message = opts.Message;
155
+ }
156
+ }
157
+ exports.ResourceLimitExceededException = ResourceLimitExceededException;
158
+ class ConflictException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceServiceException {
159
+ name = "ConflictException";
160
+ $fault = "client";
161
+ Code;
162
+ Message;
163
+ constructor(opts) {
164
+ super({
165
+ name: "ConflictException",
166
+ $fault: "client",
167
+ ...opts,
168
+ });
169
+ Object.setPrototypeOf(this, ConflictException.prototype);
170
+ this.Code = opts.Code;
171
+ this.Message = opts.Message;
172
+ }
173
+ }
174
+ exports.ConflictException = ConflictException;
175
+ class GoneException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceServiceException {
176
+ name = "GoneException";
177
+ $fault = "client";
178
+ Code;
179
+ Message;
180
+ constructor(opts) {
181
+ super({
182
+ name: "GoneException",
183
+ $fault: "client",
184
+ ...opts,
185
+ });
186
+ Object.setPrototypeOf(this, GoneException.prototype);
187
+ this.Code = opts.Code;
188
+ this.Message = opts.Message;
189
+ }
190
+ }
191
+ exports.GoneException = GoneException;
192
+ class UnprocessableEntityException extends ChimeSDKVoiceServiceException_1.ChimeSDKVoiceServiceException {
193
+ name = "UnprocessableEntityException";
194
+ $fault = "client";
195
+ Code;
196
+ Message;
197
+ constructor(opts) {
198
+ super({
199
+ name: "UnprocessableEntityException",
200
+ $fault: "client",
201
+ ...opts,
202
+ });
203
+ Object.setPrototypeOf(this, UnprocessableEntityException.prototype);
204
+ this.Code = opts.Code;
205
+ this.Message = opts.Message;
206
+ }
207
+ }
208
+ exports.UnprocessableEntityException = UnprocessableEntityException;
@@ -9,6 +9,7 @@ const util_base64_1 = require("@smithy/util-base64");
9
9
  const util_utf8_1 = require("@smithy/util-utf8");
10
10
  const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
11
11
  const endpointResolver_1 = require("./endpoint/endpointResolver");
12
+ const schemas_0_1 = require("./schemas/schemas_0");
12
13
  const getRuntimeConfig = (config) => {
13
14
  return {
14
15
  apiVersion: "2022-08-03",
@@ -29,6 +30,7 @@ const getRuntimeConfig = (config) => {
29
30
  protocol: config?.protocol ?? protocols_1.AwsRestJsonProtocol,
30
31
  protocolSettings: config?.protocolSettings ?? {
31
32
  defaultNamespace: "com.amazonaws.chimesdkvoice",
33
+ errorTypeRegistries: schemas_0_1.errorTypeRegistries,
32
34
  version: "2022-08-03",
33
35
  serviceTarget: "ChimeSDKTelephonyService",
34
36
  },