@aws-sdk/client-bedrock-data-automation-runtime 3.926.0 → 3.928.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 +290 -283
- package/dist-cjs/runtimeConfig.shared.js +7 -0
- package/dist-es/BedrockDataAutomationRuntimeClient.js +2 -0
- package/dist-es/commands/GetDataAutomationStatusCommand.js +3 -9
- package/dist-es/commands/InvokeDataAutomationAsyncCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/runtimeConfig.shared.js +7 -0
- package/dist-es/schemas/schemas_0.js +263 -0
- package/dist-types/BedrockDataAutomationRuntimeClient.d.ts +10 -1
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +40 -0
- package/dist-types/ts3.4/BedrockDataAutomationRuntimeClient.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +45 -0
- package/package.json +5 -6
- package/dist-es/protocols/Aws_json1_1.js +0 -234
- package/dist-types/protocols/Aws_json1_1.d.ts +0 -47
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -65
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
|
-
var uuid = require('@smithy/uuid');
|
|
20
18
|
|
|
21
19
|
const resolveClientEndpointParameters = (options) => {
|
|
22
20
|
return Object.assign(options, {
|
|
@@ -92,6 +90,7 @@ class BedrockDataAutomationRuntimeClient extends smithyClient.Client {
|
|
|
92
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
95
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -111,14 +110,14 @@ class BedrockDataAutomationRuntimeClient extends smithyClient.Client {
|
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
112
|
|
|
114
|
-
class BedrockDataAutomationRuntimeServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let BedrockDataAutomationRuntimeServiceException$1 = class BedrockDataAutomationRuntimeServiceException extends smithyClient.ServiceException {
|
|
115
114
|
constructor(options) {
|
|
116
115
|
super(options);
|
|
117
116
|
Object.setPrototypeOf(this, BedrockDataAutomationRuntimeServiceException.prototype);
|
|
118
117
|
}
|
|
119
|
-
}
|
|
118
|
+
};
|
|
120
119
|
|
|
121
|
-
class AccessDeniedException extends BedrockDataAutomationRuntimeServiceException {
|
|
120
|
+
let AccessDeniedException$1 = class AccessDeniedException extends BedrockDataAutomationRuntimeServiceException$1 {
|
|
122
121
|
name = "AccessDeniedException";
|
|
123
122
|
$fault = "client";
|
|
124
123
|
constructor(opts) {
|
|
@@ -129,7 +128,7 @@ class AccessDeniedException extends BedrockDataAutomationRuntimeServiceException
|
|
|
129
128
|
});
|
|
130
129
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
130
|
}
|
|
132
|
-
}
|
|
131
|
+
};
|
|
133
132
|
const AutomationJobStatus = {
|
|
134
133
|
CLIENT_ERROR: "ClientError",
|
|
135
134
|
CREATED: "Created",
|
|
@@ -137,7 +136,7 @@ const AutomationJobStatus = {
|
|
|
137
136
|
SERVICE_ERROR: "ServiceError",
|
|
138
137
|
SUCCESS: "Success",
|
|
139
138
|
};
|
|
140
|
-
class InternalServerException extends BedrockDataAutomationRuntimeServiceException {
|
|
139
|
+
let InternalServerException$1 = class InternalServerException extends BedrockDataAutomationRuntimeServiceException$1 {
|
|
141
140
|
name = "InternalServerException";
|
|
142
141
|
$fault = "server";
|
|
143
142
|
constructor(opts) {
|
|
@@ -148,8 +147,8 @@ class InternalServerException extends BedrockDataAutomationRuntimeServiceExcepti
|
|
|
148
147
|
});
|
|
149
148
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
150
149
|
}
|
|
151
|
-
}
|
|
152
|
-
class ResourceNotFoundException extends BedrockDataAutomationRuntimeServiceException {
|
|
150
|
+
};
|
|
151
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends BedrockDataAutomationRuntimeServiceException$1 {
|
|
153
152
|
name = "ResourceNotFoundException";
|
|
154
153
|
$fault = "client";
|
|
155
154
|
constructor(opts) {
|
|
@@ -160,8 +159,8 @@ class ResourceNotFoundException extends BedrockDataAutomationRuntimeServiceExcep
|
|
|
160
159
|
});
|
|
161
160
|
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
162
161
|
}
|
|
163
|
-
}
|
|
164
|
-
class ThrottlingException extends BedrockDataAutomationRuntimeServiceException {
|
|
162
|
+
};
|
|
163
|
+
let ThrottlingException$1 = class ThrottlingException extends BedrockDataAutomationRuntimeServiceException$1 {
|
|
165
164
|
name = "ThrottlingException";
|
|
166
165
|
$fault = "client";
|
|
167
166
|
constructor(opts) {
|
|
@@ -172,8 +171,8 @@ class ThrottlingException extends BedrockDataAutomationRuntimeServiceException {
|
|
|
172
171
|
});
|
|
173
172
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
174
173
|
}
|
|
175
|
-
}
|
|
176
|
-
class ValidationException extends BedrockDataAutomationRuntimeServiceException {
|
|
174
|
+
};
|
|
175
|
+
let ValidationException$1 = class ValidationException extends BedrockDataAutomationRuntimeServiceException$1 {
|
|
177
176
|
name = "ValidationException";
|
|
178
177
|
$fault = "client";
|
|
179
178
|
constructor(opts) {
|
|
@@ -184,7 +183,7 @@ class ValidationException extends BedrockDataAutomationRuntimeServiceException {
|
|
|
184
183
|
});
|
|
185
184
|
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
186
185
|
}
|
|
187
|
-
}
|
|
186
|
+
};
|
|
188
187
|
const BlueprintStage = {
|
|
189
188
|
DEVELOPMENT: "DEVELOPMENT",
|
|
190
189
|
LIVE: "LIVE",
|
|
@@ -201,7 +200,7 @@ exports.VideoSegmentConfiguration = void 0;
|
|
|
201
200
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
202
201
|
};
|
|
203
202
|
})(exports.VideoSegmentConfiguration || (exports.VideoSegmentConfiguration = {}));
|
|
204
|
-
class ServiceQuotaExceededException extends BedrockDataAutomationRuntimeServiceException {
|
|
203
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends BedrockDataAutomationRuntimeServiceException$1 {
|
|
205
204
|
name = "ServiceQuotaExceededException";
|
|
206
205
|
$fault = "client";
|
|
207
206
|
constructor(opts) {
|
|
@@ -212,247 +211,275 @@ class ServiceQuotaExceededException extends BedrockDataAutomationRuntimeServiceE
|
|
|
212
211
|
});
|
|
213
212
|
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
214
213
|
}
|
|
215
|
-
}
|
|
216
|
-
|
|
217
|
-
const se_GetDataAutomationStatusCommand = async (input, context) => {
|
|
218
|
-
const headers = sharedHeaders("GetDataAutomationStatus");
|
|
219
|
-
let body;
|
|
220
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
221
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
222
|
-
};
|
|
223
|
-
const se_InvokeDataAutomationAsyncCommand = async (input, context) => {
|
|
224
|
-
const headers = sharedHeaders("InvokeDataAutomationAsync");
|
|
225
|
-
let body;
|
|
226
|
-
body = JSON.stringify(se_InvokeDataAutomationAsyncRequest(input));
|
|
227
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
228
|
-
};
|
|
229
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
230
|
-
const headers = sharedHeaders("ListTagsForResource");
|
|
231
|
-
let body;
|
|
232
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
233
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
234
|
-
};
|
|
235
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
236
|
-
const headers = sharedHeaders("TagResource");
|
|
237
|
-
let body;
|
|
238
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
239
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
240
|
-
};
|
|
241
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
242
|
-
const headers = sharedHeaders("UntagResource");
|
|
243
|
-
let body;
|
|
244
|
-
body = JSON.stringify(smithyClient._json(input));
|
|
245
|
-
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
246
|
-
};
|
|
247
|
-
const de_GetDataAutomationStatusCommand = async (output, context) => {
|
|
248
|
-
if (output.statusCode >= 300) {
|
|
249
|
-
return de_CommandError(output, context);
|
|
250
|
-
}
|
|
251
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
252
|
-
let contents = {};
|
|
253
|
-
contents = smithyClient._json(data);
|
|
254
|
-
const response = {
|
|
255
|
-
$metadata: deserializeMetadata(output),
|
|
256
|
-
...contents,
|
|
257
|
-
};
|
|
258
|
-
return response;
|
|
259
|
-
};
|
|
260
|
-
const de_InvokeDataAutomationAsyncCommand = async (output, context) => {
|
|
261
|
-
if (output.statusCode >= 300) {
|
|
262
|
-
return de_CommandError(output, context);
|
|
263
|
-
}
|
|
264
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
265
|
-
let contents = {};
|
|
266
|
-
contents = smithyClient._json(data);
|
|
267
|
-
const response = {
|
|
268
|
-
$metadata: deserializeMetadata(output),
|
|
269
|
-
...contents,
|
|
270
|
-
};
|
|
271
|
-
return response;
|
|
272
|
-
};
|
|
273
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
274
|
-
if (output.statusCode >= 300) {
|
|
275
|
-
return de_CommandError(output, context);
|
|
276
|
-
}
|
|
277
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
278
|
-
let contents = {};
|
|
279
|
-
contents = smithyClient._json(data);
|
|
280
|
-
const response = {
|
|
281
|
-
$metadata: deserializeMetadata(output),
|
|
282
|
-
...contents,
|
|
283
|
-
};
|
|
284
|
-
return response;
|
|
285
|
-
};
|
|
286
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
287
|
-
if (output.statusCode >= 300) {
|
|
288
|
-
return de_CommandError(output, context);
|
|
289
|
-
}
|
|
290
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
291
|
-
let contents = {};
|
|
292
|
-
contents = smithyClient._json(data);
|
|
293
|
-
const response = {
|
|
294
|
-
$metadata: deserializeMetadata(output),
|
|
295
|
-
...contents,
|
|
296
|
-
};
|
|
297
|
-
return response;
|
|
298
|
-
};
|
|
299
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
300
|
-
if (output.statusCode >= 300) {
|
|
301
|
-
return de_CommandError(output, context);
|
|
302
|
-
}
|
|
303
|
-
const data = await core$1.parseJsonBody(output.body, context);
|
|
304
|
-
let contents = {};
|
|
305
|
-
contents = smithyClient._json(data);
|
|
306
|
-
const response = {
|
|
307
|
-
$metadata: deserializeMetadata(output),
|
|
308
|
-
...contents,
|
|
309
|
-
};
|
|
310
|
-
return response;
|
|
311
|
-
};
|
|
312
|
-
const de_CommandError = async (output, context) => {
|
|
313
|
-
const parsedOutput = {
|
|
314
|
-
...output,
|
|
315
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
316
|
-
};
|
|
317
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
318
|
-
switch (errorCode) {
|
|
319
|
-
case "AccessDeniedException":
|
|
320
|
-
case "com.amazonaws.bedrockdataautomationruntime#AccessDeniedException":
|
|
321
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
322
|
-
case "InternalServerException":
|
|
323
|
-
case "com.amazonaws.bedrockdataautomationruntime#InternalServerException":
|
|
324
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
325
|
-
case "ResourceNotFoundException":
|
|
326
|
-
case "com.amazonaws.bedrockdataautomationruntime#ResourceNotFoundException":
|
|
327
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
328
|
-
case "ThrottlingException":
|
|
329
|
-
case "com.amazonaws.bedrockdataautomationruntime#ThrottlingException":
|
|
330
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
331
|
-
case "ValidationException":
|
|
332
|
-
case "com.amazonaws.bedrockdataautomationruntime#ValidationException":
|
|
333
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
334
|
-
case "ServiceQuotaExceededException":
|
|
335
|
-
case "com.amazonaws.bedrockdataautomationruntime#ServiceQuotaExceededException":
|
|
336
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
337
|
-
default:
|
|
338
|
-
const parsedBody = parsedOutput.body;
|
|
339
|
-
return throwDefaultError({
|
|
340
|
-
output,
|
|
341
|
-
parsedBody,
|
|
342
|
-
errorCode,
|
|
343
|
-
});
|
|
344
|
-
}
|
|
345
|
-
};
|
|
346
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
347
|
-
const body = parsedOutput.body;
|
|
348
|
-
const deserialized = smithyClient._json(body);
|
|
349
|
-
const exception = new AccessDeniedException({
|
|
350
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
351
|
-
...deserialized,
|
|
352
|
-
});
|
|
353
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
354
|
-
};
|
|
355
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
356
|
-
const body = parsedOutput.body;
|
|
357
|
-
const deserialized = smithyClient._json(body);
|
|
358
|
-
const exception = new InternalServerException({
|
|
359
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
360
|
-
...deserialized,
|
|
361
|
-
});
|
|
362
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
363
|
-
};
|
|
364
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
365
|
-
const body = parsedOutput.body;
|
|
366
|
-
const deserialized = smithyClient._json(body);
|
|
367
|
-
const exception = new ResourceNotFoundException({
|
|
368
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
369
|
-
...deserialized,
|
|
370
|
-
});
|
|
371
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
372
|
-
};
|
|
373
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
374
|
-
const body = parsedOutput.body;
|
|
375
|
-
const deserialized = smithyClient._json(body);
|
|
376
|
-
const exception = new ServiceQuotaExceededException({
|
|
377
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
378
|
-
...deserialized,
|
|
379
|
-
});
|
|
380
|
-
return smithyClient.decorateServiceException(exception, body);
|
|
381
214
|
};
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
const
|
|
392
|
-
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
const
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
const
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
const
|
|
420
|
-
const
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
215
|
+
|
|
216
|
+
const _ADE = "AccessDeniedException";
|
|
217
|
+
const _APC = "AssetProcessingConfiguration";
|
|
218
|
+
const _B = "Blueprint";
|
|
219
|
+
const _BL = "BlueprintList";
|
|
220
|
+
const _DAC = "DataAutomationConfiguration";
|
|
221
|
+
const _EBC = "EventBridgeConfiguration";
|
|
222
|
+
const _EC = "EncryptionConfiguration";
|
|
223
|
+
const _GDAS = "GetDataAutomationStatus";
|
|
224
|
+
const _GDASR = "GetDataAutomationStatusRequest";
|
|
225
|
+
const _GDASRe = "GetDataAutomationStatusResponse";
|
|
226
|
+
const _IC = "InputConfiguration";
|
|
227
|
+
const _IDAA = "InvokeDataAutomationAsync";
|
|
228
|
+
const _IDAAR = "InvokeDataAutomationAsyncRequest";
|
|
229
|
+
const _IDAARn = "InvokeDataAutomationAsyncResponse";
|
|
230
|
+
const _ISE = "InternalServerException";
|
|
231
|
+
const _LTFR = "ListTagsForResource";
|
|
232
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
233
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
234
|
+
const _NC = "NotificationConfiguration";
|
|
235
|
+
const _OC = "OutputConfiguration";
|
|
236
|
+
const _RNFE = "ResourceNotFoundException";
|
|
237
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
238
|
+
const _T = "Tag";
|
|
239
|
+
const _TE = "ThrottlingException";
|
|
240
|
+
const _TL = "TagList";
|
|
241
|
+
const _TR = "TagResource";
|
|
242
|
+
const _TRR = "TagResourceRequest";
|
|
243
|
+
const _TRRa = "TagResourceResponse";
|
|
244
|
+
const _TS = "TimestampSegment";
|
|
245
|
+
const _UR = "UntagResource";
|
|
246
|
+
const _URR = "UntagResourceRequest";
|
|
247
|
+
const _URRn = "UntagResourceResponse";
|
|
248
|
+
const _VAPC = "VideoAssetProcessingConfiguration";
|
|
249
|
+
const _VE = "ValidationException";
|
|
250
|
+
const _VSC = "VideoSegmentConfiguration";
|
|
251
|
+
const _aPC = "assetProcessingConfiguration";
|
|
252
|
+
const _b = "blueprints";
|
|
253
|
+
const _bA = "blueprintArn";
|
|
254
|
+
const _c = "client";
|
|
255
|
+
const _cT = "clientToken";
|
|
256
|
+
const _dAC = "dataAutomationConfiguration";
|
|
257
|
+
const _dAPA = "dataAutomationProjectArn";
|
|
258
|
+
const _dAPAa = "dataAutomationProfileArn";
|
|
259
|
+
const _e = "error";
|
|
260
|
+
const _eBC = "eventBridgeConfiguration";
|
|
261
|
+
const _eBE = "eventBridgeEnabled";
|
|
262
|
+
const _eC = "encryptionConfiguration";
|
|
263
|
+
const _eM = "errorMessage";
|
|
264
|
+
const _eT = "errorType";
|
|
265
|
+
const _eTM = "endTimeMillis";
|
|
266
|
+
const _hE = "httpError";
|
|
267
|
+
const _iA = "invocationArn";
|
|
268
|
+
const _iC = "inputConfiguration";
|
|
269
|
+
const _k = "key";
|
|
270
|
+
const _kEC = "kmsEncryptionContext";
|
|
271
|
+
const _kKI = "kmsKeyId";
|
|
272
|
+
const _m = "message";
|
|
273
|
+
const _nC = "notificationConfiguration";
|
|
274
|
+
const _oC = "outputConfiguration";
|
|
275
|
+
const _rARN = "resourceARN";
|
|
276
|
+
const _s = "stage";
|
|
277
|
+
const _sC = "segmentConfiguration";
|
|
278
|
+
const _sTM = "startTimeMillis";
|
|
279
|
+
const _sU = "s3Uri";
|
|
280
|
+
const _se = "server";
|
|
281
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.bedrockdataautomationruntime";
|
|
282
|
+
const _st = "status";
|
|
283
|
+
const _t = "tags";
|
|
284
|
+
const _tK = "tagKeys";
|
|
285
|
+
const _tS = "timestampSegment";
|
|
286
|
+
const _v = "video";
|
|
287
|
+
const _va = "value";
|
|
288
|
+
const _ve = "version";
|
|
289
|
+
const n0 = "com.amazonaws.bedrockdataautomationruntime";
|
|
290
|
+
var AccessDeniedException = [
|
|
291
|
+
-3,
|
|
292
|
+
n0,
|
|
293
|
+
_ADE,
|
|
294
|
+
{
|
|
295
|
+
[_e]: _c,
|
|
296
|
+
[_hE]: 403,
|
|
297
|
+
},
|
|
298
|
+
[_m],
|
|
299
|
+
[0],
|
|
300
|
+
];
|
|
301
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
302
|
+
var AssetProcessingConfiguration = [
|
|
303
|
+
3,
|
|
304
|
+
n0,
|
|
305
|
+
_APC,
|
|
306
|
+
0,
|
|
307
|
+
[_v],
|
|
308
|
+
[() => VideoAssetProcessingConfiguration],
|
|
309
|
+
];
|
|
310
|
+
var Blueprint = [3, n0, _B, 0, [_bA, _ve, _s], [0, 0, 0]];
|
|
311
|
+
var DataAutomationConfiguration = [3, n0, _DAC, 0, [_dAPA, _s], [0, 0]];
|
|
312
|
+
var EncryptionConfiguration = [3, n0, _EC, 0, [_kKI, _kEC], [0, 128 | 0]];
|
|
313
|
+
var EventBridgeConfiguration = [3, n0, _EBC, 0, [_eBE], [2]];
|
|
314
|
+
var GetDataAutomationStatusRequest = [3, n0, _GDASR, 0, [_iA], [[0, 1]]];
|
|
315
|
+
var GetDataAutomationStatusResponse = [
|
|
316
|
+
3,
|
|
317
|
+
n0,
|
|
318
|
+
_GDASRe,
|
|
319
|
+
0,
|
|
320
|
+
[_st, _eT, _eM, _oC],
|
|
321
|
+
[0, 0, 0, () => OutputConfiguration],
|
|
322
|
+
];
|
|
323
|
+
var InputConfiguration = [
|
|
324
|
+
3,
|
|
325
|
+
n0,
|
|
326
|
+
_IC,
|
|
327
|
+
0,
|
|
328
|
+
[_sU, _aPC],
|
|
329
|
+
[0, () => AssetProcessingConfiguration],
|
|
330
|
+
];
|
|
331
|
+
var InternalServerException = [
|
|
332
|
+
-3,
|
|
333
|
+
n0,
|
|
334
|
+
_ISE,
|
|
335
|
+
{
|
|
336
|
+
[_e]: _se,
|
|
337
|
+
[_hE]: 500,
|
|
338
|
+
},
|
|
339
|
+
[_m],
|
|
340
|
+
[0],
|
|
341
|
+
];
|
|
342
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
343
|
+
var InvokeDataAutomationAsyncRequest = [
|
|
344
|
+
3,
|
|
345
|
+
n0,
|
|
346
|
+
_IDAAR,
|
|
347
|
+
0,
|
|
348
|
+
[_cT, _iC, _oC, _dAC, _eC, _nC, _b, _dAPAa, _t],
|
|
349
|
+
[
|
|
350
|
+
[0, 4],
|
|
351
|
+
() => InputConfiguration,
|
|
352
|
+
() => OutputConfiguration,
|
|
353
|
+
() => DataAutomationConfiguration,
|
|
354
|
+
() => EncryptionConfiguration,
|
|
355
|
+
() => NotificationConfiguration,
|
|
356
|
+
() => BlueprintList,
|
|
357
|
+
0,
|
|
358
|
+
() => TagList,
|
|
359
|
+
],
|
|
360
|
+
];
|
|
361
|
+
var InvokeDataAutomationAsyncResponse = [3, n0, _IDAARn, 0, [_iA], [0]];
|
|
362
|
+
var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rARN], [0]];
|
|
363
|
+
var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_t], [() => TagList]];
|
|
364
|
+
var NotificationConfiguration = [3, n0, _NC, 0, [_eBC], [() => EventBridgeConfiguration]];
|
|
365
|
+
var OutputConfiguration = [3, n0, _OC, 0, [_sU], [0]];
|
|
366
|
+
var ResourceNotFoundException = [
|
|
367
|
+
-3,
|
|
368
|
+
n0,
|
|
369
|
+
_RNFE,
|
|
370
|
+
{
|
|
371
|
+
[_e]: _c,
|
|
372
|
+
[_hE]: 404,
|
|
373
|
+
},
|
|
374
|
+
[_m],
|
|
375
|
+
[0],
|
|
376
|
+
];
|
|
377
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
378
|
+
var ServiceQuotaExceededException = [
|
|
379
|
+
-3,
|
|
380
|
+
n0,
|
|
381
|
+
_SQEE,
|
|
382
|
+
{
|
|
383
|
+
[_e]: _c,
|
|
384
|
+
[_hE]: 402,
|
|
385
|
+
},
|
|
386
|
+
[_m],
|
|
387
|
+
[0],
|
|
388
|
+
];
|
|
389
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
390
|
+
var Tag = [3, n0, _T, 0, [_k, _va], [0, 0]];
|
|
391
|
+
var TagResourceRequest = [3, n0, _TRR, 0, [_rARN, _t], [0, () => TagList]];
|
|
392
|
+
var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
393
|
+
var ThrottlingException = [
|
|
394
|
+
-3,
|
|
395
|
+
n0,
|
|
396
|
+
_TE,
|
|
397
|
+
{
|
|
398
|
+
[_e]: _c,
|
|
399
|
+
[_hE]: 429,
|
|
400
|
+
},
|
|
401
|
+
[_m],
|
|
402
|
+
[0],
|
|
403
|
+
];
|
|
404
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
405
|
+
var TimestampSegment = [3, n0, _TS, 0, [_sTM, _eTM], [1, 1]];
|
|
406
|
+
var UntagResourceRequest = [3, n0, _URR, 0, [_rARN, _tK], [0, 64 | 0]];
|
|
407
|
+
var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
408
|
+
var ValidationException = [
|
|
409
|
+
-3,
|
|
410
|
+
n0,
|
|
411
|
+
_VE,
|
|
412
|
+
{
|
|
413
|
+
[_e]: _c,
|
|
414
|
+
[_hE]: 400,
|
|
415
|
+
},
|
|
416
|
+
[_m],
|
|
417
|
+
[0],
|
|
418
|
+
];
|
|
419
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
420
|
+
var VideoAssetProcessingConfiguration = [
|
|
421
|
+
3,
|
|
422
|
+
n0,
|
|
423
|
+
_VAPC,
|
|
424
|
+
0,
|
|
425
|
+
[_sC],
|
|
426
|
+
[() => VideoSegmentConfiguration],
|
|
427
|
+
];
|
|
428
|
+
var BedrockDataAutomationRuntimeServiceException = [
|
|
429
|
+
-3,
|
|
430
|
+
_sm,
|
|
431
|
+
"BedrockDataAutomationRuntimeServiceException",
|
|
432
|
+
0,
|
|
433
|
+
[],
|
|
434
|
+
[],
|
|
435
|
+
];
|
|
436
|
+
schema.TypeRegistry.for(_sm).registerError(BedrockDataAutomationRuntimeServiceException, BedrockDataAutomationRuntimeServiceException$1);
|
|
437
|
+
var BlueprintList = [1, n0, _BL, 0, () => Blueprint];
|
|
438
|
+
var TagList = [1, n0, _TL, 0, () => Tag];
|
|
439
|
+
var VideoSegmentConfiguration = [3, n0, _VSC, 0, [_tS], [() => TimestampSegment]];
|
|
440
|
+
var GetDataAutomationStatus = [
|
|
441
|
+
9,
|
|
442
|
+
n0,
|
|
443
|
+
_GDAS,
|
|
444
|
+
0,
|
|
445
|
+
() => GetDataAutomationStatusRequest,
|
|
446
|
+
() => GetDataAutomationStatusResponse,
|
|
447
|
+
];
|
|
448
|
+
var InvokeDataAutomationAsync = [
|
|
449
|
+
9,
|
|
450
|
+
n0,
|
|
451
|
+
_IDAA,
|
|
452
|
+
2,
|
|
453
|
+
() => InvokeDataAutomationAsyncRequest,
|
|
454
|
+
() => InvokeDataAutomationAsyncResponse,
|
|
455
|
+
];
|
|
456
|
+
var ListTagsForResource = [
|
|
457
|
+
9,
|
|
458
|
+
n0,
|
|
459
|
+
_LTFR,
|
|
460
|
+
0,
|
|
461
|
+
() => ListTagsForResourceRequest,
|
|
462
|
+
() => ListTagsForResourceResponse,
|
|
463
|
+
];
|
|
464
|
+
var TagResource = [9, n0, _TR, 0, () => TagResourceRequest, () => TagResourceResponse];
|
|
465
|
+
var UntagResource = [
|
|
466
|
+
9,
|
|
467
|
+
n0,
|
|
468
|
+
_UR,
|
|
469
|
+
0,
|
|
470
|
+
() => UntagResourceRequest,
|
|
471
|
+
() => UntagResourceResponse,
|
|
472
|
+
];
|
|
441
473
|
|
|
442
474
|
class GetDataAutomationStatusCommand extends smithyClient.Command
|
|
443
475
|
.classBuilder()
|
|
444
476
|
.ep(commonParams)
|
|
445
477
|
.m(function (Command, cs, config, o) {
|
|
446
|
-
return [
|
|
447
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
448
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
449
|
-
];
|
|
478
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
450
479
|
})
|
|
451
480
|
.s("AmazonBedrockKeystoneRuntimeService", "GetDataAutomationStatus", {})
|
|
452
481
|
.n("BedrockDataAutomationRuntimeClient", "GetDataAutomationStatusCommand")
|
|
453
|
-
.
|
|
454
|
-
.ser(se_GetDataAutomationStatusCommand)
|
|
455
|
-
.de(de_GetDataAutomationStatusCommand)
|
|
482
|
+
.sc(GetDataAutomationStatus)
|
|
456
483
|
.build() {
|
|
457
484
|
}
|
|
458
485
|
|
|
@@ -460,16 +487,11 @@ class InvokeDataAutomationAsyncCommand extends smithyClient.Command
|
|
|
460
487
|
.classBuilder()
|
|
461
488
|
.ep(commonParams)
|
|
462
489
|
.m(function (Command, cs, config, o) {
|
|
463
|
-
return [
|
|
464
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
465
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
466
|
-
];
|
|
490
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
467
491
|
})
|
|
468
492
|
.s("AmazonBedrockKeystoneRuntimeService", "InvokeDataAutomationAsync", {})
|
|
469
493
|
.n("BedrockDataAutomationRuntimeClient", "InvokeDataAutomationAsyncCommand")
|
|
470
|
-
.
|
|
471
|
-
.ser(se_InvokeDataAutomationAsyncCommand)
|
|
472
|
-
.de(de_InvokeDataAutomationAsyncCommand)
|
|
494
|
+
.sc(InvokeDataAutomationAsync)
|
|
473
495
|
.build() {
|
|
474
496
|
}
|
|
475
497
|
|
|
@@ -477,16 +499,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
477
499
|
.classBuilder()
|
|
478
500
|
.ep(commonParams)
|
|
479
501
|
.m(function (Command, cs, config, o) {
|
|
480
|
-
return [
|
|
481
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
482
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
483
|
-
];
|
|
502
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
484
503
|
})
|
|
485
504
|
.s("AmazonBedrockKeystoneRuntimeService", "ListTagsForResource", {})
|
|
486
505
|
.n("BedrockDataAutomationRuntimeClient", "ListTagsForResourceCommand")
|
|
487
|
-
.
|
|
488
|
-
.ser(se_ListTagsForResourceCommand)
|
|
489
|
-
.de(de_ListTagsForResourceCommand)
|
|
506
|
+
.sc(ListTagsForResource)
|
|
490
507
|
.build() {
|
|
491
508
|
}
|
|
492
509
|
|
|
@@ -494,16 +511,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
494
511
|
.classBuilder()
|
|
495
512
|
.ep(commonParams)
|
|
496
513
|
.m(function (Command, cs, config, o) {
|
|
497
|
-
return [
|
|
498
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
499
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
500
|
-
];
|
|
514
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
501
515
|
})
|
|
502
516
|
.s("AmazonBedrockKeystoneRuntimeService", "TagResource", {})
|
|
503
517
|
.n("BedrockDataAutomationRuntimeClient", "TagResourceCommand")
|
|
504
|
-
.
|
|
505
|
-
.ser(se_TagResourceCommand)
|
|
506
|
-
.de(de_TagResourceCommand)
|
|
518
|
+
.sc(TagResource)
|
|
507
519
|
.build() {
|
|
508
520
|
}
|
|
509
521
|
|
|
@@ -511,16 +523,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
511
523
|
.classBuilder()
|
|
512
524
|
.ep(commonParams)
|
|
513
525
|
.m(function (Command, cs, config, o) {
|
|
514
|
-
return [
|
|
515
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
516
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
517
|
-
];
|
|
526
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
518
527
|
})
|
|
519
528
|
.s("AmazonBedrockKeystoneRuntimeService", "UntagResource", {})
|
|
520
529
|
.n("BedrockDataAutomationRuntimeClient", "UntagResourceCommand")
|
|
521
|
-
.
|
|
522
|
-
.ser(se_UntagResourceCommand)
|
|
523
|
-
.de(de_UntagResourceCommand)
|
|
530
|
+
.sc(UntagResource)
|
|
524
531
|
.build() {
|
|
525
532
|
}
|
|
526
533
|
|
|
@@ -543,20 +550,20 @@ Object.defineProperty(exports, "__Client", {
|
|
|
543
550
|
enumerable: true,
|
|
544
551
|
get: function () { return smithyClient.Client; }
|
|
545
552
|
});
|
|
546
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
553
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
547
554
|
exports.AutomationJobStatus = AutomationJobStatus;
|
|
548
555
|
exports.BedrockDataAutomationRuntime = BedrockDataAutomationRuntime;
|
|
549
556
|
exports.BedrockDataAutomationRuntimeClient = BedrockDataAutomationRuntimeClient;
|
|
550
|
-
exports.BedrockDataAutomationRuntimeServiceException = BedrockDataAutomationRuntimeServiceException;
|
|
557
|
+
exports.BedrockDataAutomationRuntimeServiceException = BedrockDataAutomationRuntimeServiceException$1;
|
|
551
558
|
exports.BlueprintStage = BlueprintStage;
|
|
552
559
|
exports.DataAutomationStage = DataAutomationStage;
|
|
553
560
|
exports.GetDataAutomationStatusCommand = GetDataAutomationStatusCommand;
|
|
554
|
-
exports.InternalServerException = InternalServerException;
|
|
561
|
+
exports.InternalServerException = InternalServerException$1;
|
|
555
562
|
exports.InvokeDataAutomationAsyncCommand = InvokeDataAutomationAsyncCommand;
|
|
556
563
|
exports.ListTagsForResourceCommand = ListTagsForResourceCommand;
|
|
557
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
558
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
564
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
565
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
559
566
|
exports.TagResourceCommand = TagResourceCommand;
|
|
560
|
-
exports.ThrottlingException = ThrottlingException;
|
|
567
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
561
568
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
562
|
-
exports.ValidationException = ValidationException;
|
|
569
|
+
exports.ValidationException = ValidationException$1;
|