@aws-sdk/client-ram 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.
- package/dist-cjs/index.js +54 -1579
- package/dist-cjs/models/RAMServiceException.js +12 -0
- package/dist-cjs/models/errors.js +368 -0
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-cjs/schemas/schemas_0.js +1039 -0
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +188 -182
- package/dist-types/schemas/schemas_0.d.ts +36 -29
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +31 -29
- package/package.json +13 -13
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RAMServiceException = 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 RAMServiceException extends smithy_client_1.ServiceException {
|
|
7
|
+
constructor(options) {
|
|
8
|
+
super(options);
|
|
9
|
+
Object.setPrototypeOf(this, RAMServiceException.prototype);
|
|
10
|
+
}
|
|
11
|
+
}
|
|
12
|
+
exports.RAMServiceException = RAMServiceException;
|
|
@@ -0,0 +1,368 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UnmatchedPolicyPermissionException = exports.InvalidResourceTypeException = exports.MissingRequiredParameterException = exports.InvalidMaxResultsException = exports.ResourceArnNotFoundException = exports.InvalidNextTokenException = exports.TagPolicyViolationException = exports.TagLimitExceededException = exports.PermissionVersionsLimitExceededException = exports.PermissionLimitExceededException = exports.PermissionAlreadyExistsException = exports.MalformedPolicyTemplateException = exports.InvalidPolicyException = exports.UnknownResourceException = exports.ThrottlingException = exports.ResourceShareLimitExceededException = exports.InvalidStateTransitionException = exports.InvalidParameterException = exports.ServiceUnavailableException = exports.ServerInternalException = exports.ResourceShareInvitationExpiredException = exports.ResourceShareInvitationArnNotFoundException = exports.ResourceShareInvitationAlreadyRejectedException = exports.ResourceShareInvitationAlreadyAcceptedException = exports.OperationNotPermittedException = exports.MalformedArnException = exports.InvalidClientTokenException = exports.IdempotentParameterMismatchException = void 0;
|
|
4
|
+
const RAMServiceException_1 = require("./RAMServiceException");
|
|
5
|
+
class IdempotentParameterMismatchException extends RAMServiceException_1.RAMServiceException {
|
|
6
|
+
name = "IdempotentParameterMismatchException";
|
|
7
|
+
$fault = "client";
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "IdempotentParameterMismatchException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
Object.setPrototypeOf(this, IdempotentParameterMismatchException.prototype);
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
exports.IdempotentParameterMismatchException = IdempotentParameterMismatchException;
|
|
18
|
+
class InvalidClientTokenException extends RAMServiceException_1.RAMServiceException {
|
|
19
|
+
name = "InvalidClientTokenException";
|
|
20
|
+
$fault = "client";
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "InvalidClientTokenException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
Object.setPrototypeOf(this, InvalidClientTokenException.prototype);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.InvalidClientTokenException = InvalidClientTokenException;
|
|
31
|
+
class MalformedArnException extends RAMServiceException_1.RAMServiceException {
|
|
32
|
+
name = "MalformedArnException";
|
|
33
|
+
$fault = "client";
|
|
34
|
+
constructor(opts) {
|
|
35
|
+
super({
|
|
36
|
+
name: "MalformedArnException",
|
|
37
|
+
$fault: "client",
|
|
38
|
+
...opts,
|
|
39
|
+
});
|
|
40
|
+
Object.setPrototypeOf(this, MalformedArnException.prototype);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
exports.MalformedArnException = MalformedArnException;
|
|
44
|
+
class OperationNotPermittedException extends RAMServiceException_1.RAMServiceException {
|
|
45
|
+
name = "OperationNotPermittedException";
|
|
46
|
+
$fault = "client";
|
|
47
|
+
constructor(opts) {
|
|
48
|
+
super({
|
|
49
|
+
name: "OperationNotPermittedException",
|
|
50
|
+
$fault: "client",
|
|
51
|
+
...opts,
|
|
52
|
+
});
|
|
53
|
+
Object.setPrototypeOf(this, OperationNotPermittedException.prototype);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
exports.OperationNotPermittedException = OperationNotPermittedException;
|
|
57
|
+
class ResourceShareInvitationAlreadyAcceptedException extends RAMServiceException_1.RAMServiceException {
|
|
58
|
+
name = "ResourceShareInvitationAlreadyAcceptedException";
|
|
59
|
+
$fault = "client";
|
|
60
|
+
constructor(opts) {
|
|
61
|
+
super({
|
|
62
|
+
name: "ResourceShareInvitationAlreadyAcceptedException",
|
|
63
|
+
$fault: "client",
|
|
64
|
+
...opts,
|
|
65
|
+
});
|
|
66
|
+
Object.setPrototypeOf(this, ResourceShareInvitationAlreadyAcceptedException.prototype);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
exports.ResourceShareInvitationAlreadyAcceptedException = ResourceShareInvitationAlreadyAcceptedException;
|
|
70
|
+
class ResourceShareInvitationAlreadyRejectedException extends RAMServiceException_1.RAMServiceException {
|
|
71
|
+
name = "ResourceShareInvitationAlreadyRejectedException";
|
|
72
|
+
$fault = "client";
|
|
73
|
+
constructor(opts) {
|
|
74
|
+
super({
|
|
75
|
+
name: "ResourceShareInvitationAlreadyRejectedException",
|
|
76
|
+
$fault: "client",
|
|
77
|
+
...opts,
|
|
78
|
+
});
|
|
79
|
+
Object.setPrototypeOf(this, ResourceShareInvitationAlreadyRejectedException.prototype);
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
exports.ResourceShareInvitationAlreadyRejectedException = ResourceShareInvitationAlreadyRejectedException;
|
|
83
|
+
class ResourceShareInvitationArnNotFoundException extends RAMServiceException_1.RAMServiceException {
|
|
84
|
+
name = "ResourceShareInvitationArnNotFoundException";
|
|
85
|
+
$fault = "client";
|
|
86
|
+
constructor(opts) {
|
|
87
|
+
super({
|
|
88
|
+
name: "ResourceShareInvitationArnNotFoundException",
|
|
89
|
+
$fault: "client",
|
|
90
|
+
...opts,
|
|
91
|
+
});
|
|
92
|
+
Object.setPrototypeOf(this, ResourceShareInvitationArnNotFoundException.prototype);
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
exports.ResourceShareInvitationArnNotFoundException = ResourceShareInvitationArnNotFoundException;
|
|
96
|
+
class ResourceShareInvitationExpiredException extends RAMServiceException_1.RAMServiceException {
|
|
97
|
+
name = "ResourceShareInvitationExpiredException";
|
|
98
|
+
$fault = "client";
|
|
99
|
+
constructor(opts) {
|
|
100
|
+
super({
|
|
101
|
+
name: "ResourceShareInvitationExpiredException",
|
|
102
|
+
$fault: "client",
|
|
103
|
+
...opts,
|
|
104
|
+
});
|
|
105
|
+
Object.setPrototypeOf(this, ResourceShareInvitationExpiredException.prototype);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.ResourceShareInvitationExpiredException = ResourceShareInvitationExpiredException;
|
|
109
|
+
class ServerInternalException extends RAMServiceException_1.RAMServiceException {
|
|
110
|
+
name = "ServerInternalException";
|
|
111
|
+
$fault = "server";
|
|
112
|
+
constructor(opts) {
|
|
113
|
+
super({
|
|
114
|
+
name: "ServerInternalException",
|
|
115
|
+
$fault: "server",
|
|
116
|
+
...opts,
|
|
117
|
+
});
|
|
118
|
+
Object.setPrototypeOf(this, ServerInternalException.prototype);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.ServerInternalException = ServerInternalException;
|
|
122
|
+
class ServiceUnavailableException extends RAMServiceException_1.RAMServiceException {
|
|
123
|
+
name = "ServiceUnavailableException";
|
|
124
|
+
$fault = "server";
|
|
125
|
+
constructor(opts) {
|
|
126
|
+
super({
|
|
127
|
+
name: "ServiceUnavailableException",
|
|
128
|
+
$fault: "server",
|
|
129
|
+
...opts,
|
|
130
|
+
});
|
|
131
|
+
Object.setPrototypeOf(this, ServiceUnavailableException.prototype);
|
|
132
|
+
}
|
|
133
|
+
}
|
|
134
|
+
exports.ServiceUnavailableException = ServiceUnavailableException;
|
|
135
|
+
class InvalidParameterException extends RAMServiceException_1.RAMServiceException {
|
|
136
|
+
name = "InvalidParameterException";
|
|
137
|
+
$fault = "client";
|
|
138
|
+
constructor(opts) {
|
|
139
|
+
super({
|
|
140
|
+
name: "InvalidParameterException",
|
|
141
|
+
$fault: "client",
|
|
142
|
+
...opts,
|
|
143
|
+
});
|
|
144
|
+
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
exports.InvalidParameterException = InvalidParameterException;
|
|
148
|
+
class InvalidStateTransitionException extends RAMServiceException_1.RAMServiceException {
|
|
149
|
+
name = "InvalidStateTransitionException";
|
|
150
|
+
$fault = "client";
|
|
151
|
+
constructor(opts) {
|
|
152
|
+
super({
|
|
153
|
+
name: "InvalidStateTransitionException",
|
|
154
|
+
$fault: "client",
|
|
155
|
+
...opts,
|
|
156
|
+
});
|
|
157
|
+
Object.setPrototypeOf(this, InvalidStateTransitionException.prototype);
|
|
158
|
+
}
|
|
159
|
+
}
|
|
160
|
+
exports.InvalidStateTransitionException = InvalidStateTransitionException;
|
|
161
|
+
class ResourceShareLimitExceededException extends RAMServiceException_1.RAMServiceException {
|
|
162
|
+
name = "ResourceShareLimitExceededException";
|
|
163
|
+
$fault = "client";
|
|
164
|
+
constructor(opts) {
|
|
165
|
+
super({
|
|
166
|
+
name: "ResourceShareLimitExceededException",
|
|
167
|
+
$fault: "client",
|
|
168
|
+
...opts,
|
|
169
|
+
});
|
|
170
|
+
Object.setPrototypeOf(this, ResourceShareLimitExceededException.prototype);
|
|
171
|
+
}
|
|
172
|
+
}
|
|
173
|
+
exports.ResourceShareLimitExceededException = ResourceShareLimitExceededException;
|
|
174
|
+
class ThrottlingException extends RAMServiceException_1.RAMServiceException {
|
|
175
|
+
name = "ThrottlingException";
|
|
176
|
+
$fault = "client";
|
|
177
|
+
constructor(opts) {
|
|
178
|
+
super({
|
|
179
|
+
name: "ThrottlingException",
|
|
180
|
+
$fault: "client",
|
|
181
|
+
...opts,
|
|
182
|
+
});
|
|
183
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
exports.ThrottlingException = ThrottlingException;
|
|
187
|
+
class UnknownResourceException extends RAMServiceException_1.RAMServiceException {
|
|
188
|
+
name = "UnknownResourceException";
|
|
189
|
+
$fault = "client";
|
|
190
|
+
constructor(opts) {
|
|
191
|
+
super({
|
|
192
|
+
name: "UnknownResourceException",
|
|
193
|
+
$fault: "client",
|
|
194
|
+
...opts,
|
|
195
|
+
});
|
|
196
|
+
Object.setPrototypeOf(this, UnknownResourceException.prototype);
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
exports.UnknownResourceException = UnknownResourceException;
|
|
200
|
+
class InvalidPolicyException extends RAMServiceException_1.RAMServiceException {
|
|
201
|
+
name = "InvalidPolicyException";
|
|
202
|
+
$fault = "client";
|
|
203
|
+
constructor(opts) {
|
|
204
|
+
super({
|
|
205
|
+
name: "InvalidPolicyException",
|
|
206
|
+
$fault: "client",
|
|
207
|
+
...opts,
|
|
208
|
+
});
|
|
209
|
+
Object.setPrototypeOf(this, InvalidPolicyException.prototype);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
exports.InvalidPolicyException = InvalidPolicyException;
|
|
213
|
+
class MalformedPolicyTemplateException extends RAMServiceException_1.RAMServiceException {
|
|
214
|
+
name = "MalformedPolicyTemplateException";
|
|
215
|
+
$fault = "client";
|
|
216
|
+
constructor(opts) {
|
|
217
|
+
super({
|
|
218
|
+
name: "MalformedPolicyTemplateException",
|
|
219
|
+
$fault: "client",
|
|
220
|
+
...opts,
|
|
221
|
+
});
|
|
222
|
+
Object.setPrototypeOf(this, MalformedPolicyTemplateException.prototype);
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
exports.MalformedPolicyTemplateException = MalformedPolicyTemplateException;
|
|
226
|
+
class PermissionAlreadyExistsException extends RAMServiceException_1.RAMServiceException {
|
|
227
|
+
name = "PermissionAlreadyExistsException";
|
|
228
|
+
$fault = "client";
|
|
229
|
+
constructor(opts) {
|
|
230
|
+
super({
|
|
231
|
+
name: "PermissionAlreadyExistsException",
|
|
232
|
+
$fault: "client",
|
|
233
|
+
...opts,
|
|
234
|
+
});
|
|
235
|
+
Object.setPrototypeOf(this, PermissionAlreadyExistsException.prototype);
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
exports.PermissionAlreadyExistsException = PermissionAlreadyExistsException;
|
|
239
|
+
class PermissionLimitExceededException extends RAMServiceException_1.RAMServiceException {
|
|
240
|
+
name = "PermissionLimitExceededException";
|
|
241
|
+
$fault = "client";
|
|
242
|
+
constructor(opts) {
|
|
243
|
+
super({
|
|
244
|
+
name: "PermissionLimitExceededException",
|
|
245
|
+
$fault: "client",
|
|
246
|
+
...opts,
|
|
247
|
+
});
|
|
248
|
+
Object.setPrototypeOf(this, PermissionLimitExceededException.prototype);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
exports.PermissionLimitExceededException = PermissionLimitExceededException;
|
|
252
|
+
class PermissionVersionsLimitExceededException extends RAMServiceException_1.RAMServiceException {
|
|
253
|
+
name = "PermissionVersionsLimitExceededException";
|
|
254
|
+
$fault = "client";
|
|
255
|
+
constructor(opts) {
|
|
256
|
+
super({
|
|
257
|
+
name: "PermissionVersionsLimitExceededException",
|
|
258
|
+
$fault: "client",
|
|
259
|
+
...opts,
|
|
260
|
+
});
|
|
261
|
+
Object.setPrototypeOf(this, PermissionVersionsLimitExceededException.prototype);
|
|
262
|
+
}
|
|
263
|
+
}
|
|
264
|
+
exports.PermissionVersionsLimitExceededException = PermissionVersionsLimitExceededException;
|
|
265
|
+
class TagLimitExceededException extends RAMServiceException_1.RAMServiceException {
|
|
266
|
+
name = "TagLimitExceededException";
|
|
267
|
+
$fault = "client";
|
|
268
|
+
constructor(opts) {
|
|
269
|
+
super({
|
|
270
|
+
name: "TagLimitExceededException",
|
|
271
|
+
$fault: "client",
|
|
272
|
+
...opts,
|
|
273
|
+
});
|
|
274
|
+
Object.setPrototypeOf(this, TagLimitExceededException.prototype);
|
|
275
|
+
}
|
|
276
|
+
}
|
|
277
|
+
exports.TagLimitExceededException = TagLimitExceededException;
|
|
278
|
+
class TagPolicyViolationException extends RAMServiceException_1.RAMServiceException {
|
|
279
|
+
name = "TagPolicyViolationException";
|
|
280
|
+
$fault = "client";
|
|
281
|
+
constructor(opts) {
|
|
282
|
+
super({
|
|
283
|
+
name: "TagPolicyViolationException",
|
|
284
|
+
$fault: "client",
|
|
285
|
+
...opts,
|
|
286
|
+
});
|
|
287
|
+
Object.setPrototypeOf(this, TagPolicyViolationException.prototype);
|
|
288
|
+
}
|
|
289
|
+
}
|
|
290
|
+
exports.TagPolicyViolationException = TagPolicyViolationException;
|
|
291
|
+
class InvalidNextTokenException extends RAMServiceException_1.RAMServiceException {
|
|
292
|
+
name = "InvalidNextTokenException";
|
|
293
|
+
$fault = "client";
|
|
294
|
+
constructor(opts) {
|
|
295
|
+
super({
|
|
296
|
+
name: "InvalidNextTokenException",
|
|
297
|
+
$fault: "client",
|
|
298
|
+
...opts,
|
|
299
|
+
});
|
|
300
|
+
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
303
|
+
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
304
|
+
class ResourceArnNotFoundException extends RAMServiceException_1.RAMServiceException {
|
|
305
|
+
name = "ResourceArnNotFoundException";
|
|
306
|
+
$fault = "client";
|
|
307
|
+
constructor(opts) {
|
|
308
|
+
super({
|
|
309
|
+
name: "ResourceArnNotFoundException",
|
|
310
|
+
$fault: "client",
|
|
311
|
+
...opts,
|
|
312
|
+
});
|
|
313
|
+
Object.setPrototypeOf(this, ResourceArnNotFoundException.prototype);
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
exports.ResourceArnNotFoundException = ResourceArnNotFoundException;
|
|
317
|
+
class InvalidMaxResultsException extends RAMServiceException_1.RAMServiceException {
|
|
318
|
+
name = "InvalidMaxResultsException";
|
|
319
|
+
$fault = "client";
|
|
320
|
+
constructor(opts) {
|
|
321
|
+
super({
|
|
322
|
+
name: "InvalidMaxResultsException",
|
|
323
|
+
$fault: "client",
|
|
324
|
+
...opts,
|
|
325
|
+
});
|
|
326
|
+
Object.setPrototypeOf(this, InvalidMaxResultsException.prototype);
|
|
327
|
+
}
|
|
328
|
+
}
|
|
329
|
+
exports.InvalidMaxResultsException = InvalidMaxResultsException;
|
|
330
|
+
class MissingRequiredParameterException extends RAMServiceException_1.RAMServiceException {
|
|
331
|
+
name = "MissingRequiredParameterException";
|
|
332
|
+
$fault = "client";
|
|
333
|
+
constructor(opts) {
|
|
334
|
+
super({
|
|
335
|
+
name: "MissingRequiredParameterException",
|
|
336
|
+
$fault: "client",
|
|
337
|
+
...opts,
|
|
338
|
+
});
|
|
339
|
+
Object.setPrototypeOf(this, MissingRequiredParameterException.prototype);
|
|
340
|
+
}
|
|
341
|
+
}
|
|
342
|
+
exports.MissingRequiredParameterException = MissingRequiredParameterException;
|
|
343
|
+
class InvalidResourceTypeException extends RAMServiceException_1.RAMServiceException {
|
|
344
|
+
name = "InvalidResourceTypeException";
|
|
345
|
+
$fault = "client";
|
|
346
|
+
constructor(opts) {
|
|
347
|
+
super({
|
|
348
|
+
name: "InvalidResourceTypeException",
|
|
349
|
+
$fault: "client",
|
|
350
|
+
...opts,
|
|
351
|
+
});
|
|
352
|
+
Object.setPrototypeOf(this, InvalidResourceTypeException.prototype);
|
|
353
|
+
}
|
|
354
|
+
}
|
|
355
|
+
exports.InvalidResourceTypeException = InvalidResourceTypeException;
|
|
356
|
+
class UnmatchedPolicyPermissionException extends RAMServiceException_1.RAMServiceException {
|
|
357
|
+
name = "UnmatchedPolicyPermissionException";
|
|
358
|
+
$fault = "client";
|
|
359
|
+
constructor(opts) {
|
|
360
|
+
super({
|
|
361
|
+
name: "UnmatchedPolicyPermissionException",
|
|
362
|
+
$fault: "client",
|
|
363
|
+
...opts,
|
|
364
|
+
});
|
|
365
|
+
Object.setPrototypeOf(this, UnmatchedPolicyPermissionException.prototype);
|
|
366
|
+
}
|
|
367
|
+
}
|
|
368
|
+
exports.UnmatchedPolicyPermissionException = UnmatchedPolicyPermissionException;
|
|
@@ -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-01-04",
|
|
@@ -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.ram",
|
|
33
|
+
errorTypeRegistries: schemas_0_1.errorTypeRegistries,
|
|
32
34
|
version: "2018-01-04",
|
|
33
35
|
serviceTarget: "AmazonResourceSharing",
|
|
34
36
|
},
|