@aws-sdk/client-chime 3.987.0 → 3.988.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-cjs/index.js +81 -1919
- package/dist-cjs/models/ChimeServiceException.js +12 -0
- package/dist-cjs/models/errors.js +191 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1461 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +79 -73
- package/dist-types/schemas/schemas_0.d.ts +18 -11
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +13 -11
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ChimeServiceException = 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 ChimeServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, ChimeServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.ChimeServiceException = ChimeServiceException;
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UnprocessableEntityException = exports.ResourceLimitExceededException = exports.ConflictException = exports.UnauthorizedClientException = exports.ThrottledClientException = exports.ServiceUnavailableException = exports.ServiceFailureException = exports.NotFoundException = exports.ForbiddenException = exports.BadRequestException = exports.AccessDeniedException = void 0;
|
|
4
|
+
const ChimeServiceException_1 = require("./ChimeServiceException");
|
|
5
|
+
class AccessDeniedException extends ChimeServiceException_1.ChimeServiceException {
|
|
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 ChimeServiceException_1.ChimeServiceException {
|
|
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 ChimeServiceException_1.ChimeServiceException {
|
|
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 ChimeServiceException_1.ChimeServiceException {
|
|
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 ChimeServiceException_1.ChimeServiceException {
|
|
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 ChimeServiceException_1.ChimeServiceException {
|
|
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 ChimeServiceException_1.ChimeServiceException {
|
|
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 ChimeServiceException_1.ChimeServiceException {
|
|
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 ConflictException extends ChimeServiceException_1.ChimeServiceException {
|
|
142
|
+
name = "ConflictException";
|
|
143
|
+
$fault = "client";
|
|
144
|
+
Code;
|
|
145
|
+
Message;
|
|
146
|
+
constructor(opts) {
|
|
147
|
+
super({
|
|
148
|
+
name: "ConflictException",
|
|
149
|
+
$fault: "client",
|
|
150
|
+
...opts,
|
|
151
|
+
});
|
|
152
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
153
|
+
this.Code = opts.Code;
|
|
154
|
+
this.Message = opts.Message;
|
|
155
|
+
}
|
|
156
|
+
}
|
|
157
|
+
exports.ConflictException = ConflictException;
|
|
158
|
+
class ResourceLimitExceededException extends ChimeServiceException_1.ChimeServiceException {
|
|
159
|
+
name = "ResourceLimitExceededException";
|
|
160
|
+
$fault = "client";
|
|
161
|
+
Code;
|
|
162
|
+
Message;
|
|
163
|
+
constructor(opts) {
|
|
164
|
+
super({
|
|
165
|
+
name: "ResourceLimitExceededException",
|
|
166
|
+
$fault: "client",
|
|
167
|
+
...opts,
|
|
168
|
+
});
|
|
169
|
+
Object.setPrototypeOf(this, ResourceLimitExceededException.prototype);
|
|
170
|
+
this.Code = opts.Code;
|
|
171
|
+
this.Message = opts.Message;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
exports.ResourceLimitExceededException = ResourceLimitExceededException;
|
|
175
|
+
class UnprocessableEntityException extends ChimeServiceException_1.ChimeServiceException {
|
|
176
|
+
name = "UnprocessableEntityException";
|
|
177
|
+
$fault = "client";
|
|
178
|
+
Code;
|
|
179
|
+
Message;
|
|
180
|
+
constructor(opts) {
|
|
181
|
+
super({
|
|
182
|
+
name: "UnprocessableEntityException",
|
|
183
|
+
$fault: "client",
|
|
184
|
+
...opts,
|
|
185
|
+
});
|
|
186
|
+
Object.setPrototypeOf(this, UnprocessableEntityException.prototype);
|
|
187
|
+
this.Code = opts.Code;
|
|
188
|
+
this.Message = opts.Message;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
191
|
+
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: "2018-05-01",
|
|
@@ -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.chime",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2018-05-01",
|
|
33
35
|
serviceTarget: "UCBuzzConsoleService",
|
|
34
36
|
},
|