@aws-sdk/client-bedrock-data-automation 3.891.0 → 3.894.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 +1471 -10
- package/package.json +19 -19
- package/dist-cjs/BedrockDataAutomation.js +0 -39
- package/dist-cjs/BedrockDataAutomationClient.js +0 -52
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +0 -43
- package/dist-cjs/commands/CreateBlueprintCommand.js +0 -27
- package/dist-cjs/commands/CreateBlueprintVersionCommand.js +0 -27
- package/dist-cjs/commands/CreateDataAutomationProjectCommand.js +0 -27
- package/dist-cjs/commands/DeleteBlueprintCommand.js +0 -26
- package/dist-cjs/commands/DeleteDataAutomationProjectCommand.js +0 -26
- package/dist-cjs/commands/GetBlueprintCommand.js +0 -27
- package/dist-cjs/commands/GetDataAutomationProjectCommand.js +0 -27
- package/dist-cjs/commands/ListBlueprintsCommand.js +0 -27
- package/dist-cjs/commands/ListDataAutomationProjectsCommand.js +0 -27
- package/dist-cjs/commands/ListTagsForResourceCommand.js +0 -26
- package/dist-cjs/commands/TagResourceCommand.js +0 -26
- package/dist-cjs/commands/UntagResourceCommand.js +0 -26
- package/dist-cjs/commands/UpdateBlueprintCommand.js +0 -27
- package/dist-cjs/commands/UpdateDataAutomationProjectCommand.js +0 -27
- package/dist-cjs/commands/index.js +0 -17
- package/dist-cjs/endpoint/EndpointParameters.js +0 -17
- package/dist-cjs/extensionConfiguration.js +0 -2
- package/dist-cjs/models/BedrockDataAutomationServiceException.js +0 -12
- package/dist-cjs/models/index.js +0 -4
- package/dist-cjs/models/models_0.js +0 -263
- package/dist-cjs/pagination/Interfaces.js +0 -2
- package/dist-cjs/pagination/ListBlueprintsPaginator.js +0 -7
- package/dist-cjs/pagination/ListDataAutomationProjectsPaginator.js +0 -7
- package/dist-cjs/pagination/index.js +0 -6
- package/dist-cjs/protocols/Aws_restJson1.js +0 -645
- package/dist-cjs/runtimeExtensions.js +0 -13
package/dist-cjs/index.js
CHANGED
|
@@ -1,11 +1,1472 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var index_exports = {};
|
|
23
|
+
__export(index_exports, {
|
|
24
|
+
AccessDeniedException: () => AccessDeniedException,
|
|
25
|
+
AudioExtractionCategoryType: () => AudioExtractionCategoryType,
|
|
26
|
+
AudioStandardGenerativeFieldType: () => AudioStandardGenerativeFieldType,
|
|
27
|
+
BedrockDataAutomation: () => BedrockDataAutomation,
|
|
28
|
+
BedrockDataAutomationClient: () => BedrockDataAutomationClient,
|
|
29
|
+
BedrockDataAutomationServiceException: () => BedrockDataAutomationServiceException,
|
|
30
|
+
BlueprintFilterSensitiveLog: () => BlueprintFilterSensitiveLog,
|
|
31
|
+
BlueprintStage: () => BlueprintStage,
|
|
32
|
+
BlueprintStageFilter: () => BlueprintStageFilter,
|
|
33
|
+
BlueprintSummaryFilterSensitiveLog: () => BlueprintSummaryFilterSensitiveLog,
|
|
34
|
+
ConflictException: () => ConflictException,
|
|
35
|
+
CreateBlueprintCommand: () => CreateBlueprintCommand,
|
|
36
|
+
CreateBlueprintRequestFilterSensitiveLog: () => CreateBlueprintRequestFilterSensitiveLog,
|
|
37
|
+
CreateBlueprintResponseFilterSensitiveLog: () => CreateBlueprintResponseFilterSensitiveLog,
|
|
38
|
+
CreateBlueprintVersionCommand: () => CreateBlueprintVersionCommand,
|
|
39
|
+
CreateBlueprintVersionResponseFilterSensitiveLog: () => CreateBlueprintVersionResponseFilterSensitiveLog,
|
|
40
|
+
CreateDataAutomationProjectCommand: () => CreateDataAutomationProjectCommand,
|
|
41
|
+
CreateDataAutomationProjectRequestFilterSensitiveLog: () => CreateDataAutomationProjectRequestFilterSensitiveLog,
|
|
42
|
+
DataAutomationProjectFilterSensitiveLog: () => DataAutomationProjectFilterSensitiveLog,
|
|
43
|
+
DataAutomationProjectStage: () => DataAutomationProjectStage,
|
|
44
|
+
DataAutomationProjectStageFilter: () => DataAutomationProjectStageFilter,
|
|
45
|
+
DataAutomationProjectStatus: () => DataAutomationProjectStatus,
|
|
46
|
+
DataAutomationProjectSummaryFilterSensitiveLog: () => DataAutomationProjectSummaryFilterSensitiveLog,
|
|
47
|
+
DeleteBlueprintCommand: () => DeleteBlueprintCommand,
|
|
48
|
+
DeleteDataAutomationProjectCommand: () => DeleteDataAutomationProjectCommand,
|
|
49
|
+
DesiredModality: () => DesiredModality,
|
|
50
|
+
DocumentExtractionGranularityType: () => DocumentExtractionGranularityType,
|
|
51
|
+
DocumentOutputTextFormatType: () => DocumentOutputTextFormatType,
|
|
52
|
+
GetBlueprintCommand: () => GetBlueprintCommand,
|
|
53
|
+
GetBlueprintResponseFilterSensitiveLog: () => GetBlueprintResponseFilterSensitiveLog,
|
|
54
|
+
GetDataAutomationProjectCommand: () => GetDataAutomationProjectCommand,
|
|
55
|
+
GetDataAutomationProjectResponseFilterSensitiveLog: () => GetDataAutomationProjectResponseFilterSensitiveLog,
|
|
56
|
+
ImageExtractionCategoryType: () => ImageExtractionCategoryType,
|
|
57
|
+
ImageStandardGenerativeFieldType: () => ImageStandardGenerativeFieldType,
|
|
58
|
+
InternalServerException: () => InternalServerException,
|
|
59
|
+
ListBlueprintsCommand: () => ListBlueprintsCommand,
|
|
60
|
+
ListBlueprintsResponseFilterSensitiveLog: () => ListBlueprintsResponseFilterSensitiveLog,
|
|
61
|
+
ListDataAutomationProjectsCommand: () => ListDataAutomationProjectsCommand,
|
|
62
|
+
ListDataAutomationProjectsResponseFilterSensitiveLog: () => ListDataAutomationProjectsResponseFilterSensitiveLog,
|
|
63
|
+
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
64
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
65
|
+
ResourceOwner: () => ResourceOwner,
|
|
66
|
+
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
67
|
+
State: () => State,
|
|
68
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
69
|
+
ThrottlingException: () => ThrottlingException,
|
|
70
|
+
Type: () => Type,
|
|
71
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
72
|
+
UpdateBlueprintCommand: () => UpdateBlueprintCommand,
|
|
73
|
+
UpdateBlueprintRequestFilterSensitiveLog: () => UpdateBlueprintRequestFilterSensitiveLog,
|
|
74
|
+
UpdateBlueprintResponseFilterSensitiveLog: () => UpdateBlueprintResponseFilterSensitiveLog,
|
|
75
|
+
UpdateDataAutomationProjectCommand: () => UpdateDataAutomationProjectCommand,
|
|
76
|
+
UpdateDataAutomationProjectRequestFilterSensitiveLog: () => UpdateDataAutomationProjectRequestFilterSensitiveLog,
|
|
77
|
+
ValidationException: () => ValidationException,
|
|
78
|
+
VideoExtractionCategoryType: () => VideoExtractionCategoryType,
|
|
79
|
+
VideoStandardGenerativeFieldType: () => VideoStandardGenerativeFieldType,
|
|
80
|
+
__Client: () => import_smithy_client.Client,
|
|
81
|
+
paginateListBlueprints: () => paginateListBlueprints,
|
|
82
|
+
paginateListDataAutomationProjects: () => paginateListDataAutomationProjects
|
|
83
|
+
});
|
|
84
|
+
module.exports = __toCommonJS(index_exports);
|
|
85
|
+
|
|
86
|
+
// src/BedrockDataAutomationClient.ts
|
|
87
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
88
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
89
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
90
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
91
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
92
|
+
var import_core = require("@smithy/core");
|
|
93
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
94
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
95
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
96
|
+
|
|
97
|
+
var import_httpAuthSchemeProvider = require("./auth/httpAuthSchemeProvider");
|
|
98
|
+
|
|
99
|
+
// src/endpoint/EndpointParameters.ts
|
|
100
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
101
|
+
return Object.assign(options, {
|
|
102
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
103
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
104
|
+
defaultSigningName: "bedrock"
|
|
105
|
+
});
|
|
106
|
+
}, "resolveClientEndpointParameters");
|
|
107
|
+
var commonParams = {
|
|
108
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
109
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
110
|
+
Region: { type: "builtInParams", name: "region" },
|
|
111
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
112
|
+
};
|
|
113
|
+
|
|
114
|
+
// src/BedrockDataAutomationClient.ts
|
|
115
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
116
|
+
|
|
117
|
+
// src/runtimeExtensions.ts
|
|
118
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
119
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
120
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
121
|
+
|
|
122
|
+
// src/auth/httpAuthExtensionConfiguration.ts
|
|
123
|
+
var getHttpAuthExtensionConfiguration = /* @__PURE__ */ __name((runtimeConfig) => {
|
|
124
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
125
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
126
|
+
let _credentials = runtimeConfig.credentials;
|
|
127
|
+
return {
|
|
128
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
129
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
130
|
+
if (index === -1) {
|
|
131
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
132
|
+
} else {
|
|
133
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
134
|
+
}
|
|
135
|
+
},
|
|
136
|
+
httpAuthSchemes() {
|
|
137
|
+
return _httpAuthSchemes;
|
|
138
|
+
},
|
|
139
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
140
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
141
|
+
},
|
|
142
|
+
httpAuthSchemeProvider() {
|
|
143
|
+
return _httpAuthSchemeProvider;
|
|
144
|
+
},
|
|
145
|
+
setCredentials(credentials) {
|
|
146
|
+
_credentials = credentials;
|
|
147
|
+
},
|
|
148
|
+
credentials() {
|
|
149
|
+
return _credentials;
|
|
150
|
+
}
|
|
151
|
+
};
|
|
152
|
+
}, "getHttpAuthExtensionConfiguration");
|
|
153
|
+
var resolveHttpAuthRuntimeConfig = /* @__PURE__ */ __name((config) => {
|
|
154
|
+
return {
|
|
155
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
156
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
157
|
+
credentials: config.credentials()
|
|
158
|
+
};
|
|
159
|
+
}, "resolveHttpAuthRuntimeConfig");
|
|
160
|
+
|
|
161
|
+
// src/runtimeExtensions.ts
|
|
162
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
163
|
+
const extensionConfiguration = Object.assign(
|
|
164
|
+
(0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig),
|
|
165
|
+
(0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig),
|
|
166
|
+
(0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig),
|
|
167
|
+
getHttpAuthExtensionConfiguration(runtimeConfig)
|
|
168
|
+
);
|
|
169
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
170
|
+
return Object.assign(
|
|
171
|
+
runtimeConfig,
|
|
172
|
+
(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
173
|
+
(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
174
|
+
(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
175
|
+
resolveHttpAuthRuntimeConfig(extensionConfiguration)
|
|
176
|
+
);
|
|
177
|
+
}, "resolveRuntimeExtensions");
|
|
178
|
+
|
|
179
|
+
// src/BedrockDataAutomationClient.ts
|
|
180
|
+
var BedrockDataAutomationClient = class extends import_smithy_client.Client {
|
|
181
|
+
static {
|
|
182
|
+
__name(this, "BedrockDataAutomationClient");
|
|
183
|
+
}
|
|
184
|
+
/**
|
|
185
|
+
* The resolved configuration of BedrockDataAutomationClient class. This is resolved and normalized from the {@link BedrockDataAutomationClientConfig | constructor configuration interface}.
|
|
186
|
+
*/
|
|
187
|
+
config;
|
|
188
|
+
constructor(...[configuration]) {
|
|
189
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
190
|
+
super(_config_0);
|
|
191
|
+
this.initConfig = _config_0;
|
|
192
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
193
|
+
const _config_2 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_1);
|
|
194
|
+
const _config_3 = (0, import_middleware_retry.resolveRetryConfig)(_config_2);
|
|
195
|
+
const _config_4 = (0, import_config_resolver.resolveRegionConfig)(_config_3);
|
|
196
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
197
|
+
const _config_6 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_5);
|
|
198
|
+
const _config_7 = (0, import_httpAuthSchemeProvider.resolveHttpAuthSchemeConfig)(_config_6);
|
|
199
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
200
|
+
this.config = _config_8;
|
|
201
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
202
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
203
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
204
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
205
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
206
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
207
|
+
this.middlewareStack.use(
|
|
208
|
+
(0, import_core.getHttpAuthSchemeEndpointRuleSetPlugin)(this.config, {
|
|
209
|
+
httpAuthSchemeParametersProvider: import_httpAuthSchemeProvider.defaultBedrockDataAutomationHttpAuthSchemeParametersProvider,
|
|
210
|
+
identityProviderConfigProvider: /* @__PURE__ */ __name(async (config) => new import_core.DefaultIdentityProviderConfig({
|
|
211
|
+
"aws.auth#sigv4": config.credentials
|
|
212
|
+
}), "identityProviderConfigProvider")
|
|
213
|
+
})
|
|
214
|
+
);
|
|
215
|
+
this.middlewareStack.use((0, import_core.getHttpSigningPlugin)(this.config));
|
|
216
|
+
}
|
|
217
|
+
/**
|
|
218
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
219
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
220
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
221
|
+
*/
|
|
222
|
+
destroy() {
|
|
223
|
+
super.destroy();
|
|
224
|
+
}
|
|
225
|
+
};
|
|
226
|
+
|
|
227
|
+
// src/BedrockDataAutomation.ts
|
|
228
|
+
|
|
229
|
+
|
|
230
|
+
// src/commands/CreateBlueprintCommand.ts
|
|
231
|
+
|
|
232
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
// src/models/models_0.ts
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
// src/models/BedrockDataAutomationServiceException.ts
|
|
239
|
+
|
|
240
|
+
var BedrockDataAutomationServiceException = class _BedrockDataAutomationServiceException extends import_smithy_client.ServiceException {
|
|
241
|
+
static {
|
|
242
|
+
__name(this, "BedrockDataAutomationServiceException");
|
|
243
|
+
}
|
|
244
|
+
/**
|
|
245
|
+
* @internal
|
|
246
|
+
*/
|
|
247
|
+
constructor(options) {
|
|
248
|
+
super(options);
|
|
249
|
+
Object.setPrototypeOf(this, _BedrockDataAutomationServiceException.prototype);
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
// src/models/models_0.ts
|
|
254
|
+
var AccessDeniedException = class _AccessDeniedException extends BedrockDataAutomationServiceException {
|
|
255
|
+
static {
|
|
256
|
+
__name(this, "AccessDeniedException");
|
|
257
|
+
}
|
|
258
|
+
name = "AccessDeniedException";
|
|
259
|
+
$fault = "client";
|
|
260
|
+
/**
|
|
261
|
+
* @internal
|
|
262
|
+
*/
|
|
263
|
+
constructor(opts) {
|
|
264
|
+
super({
|
|
265
|
+
name: "AccessDeniedException",
|
|
266
|
+
$fault: "client",
|
|
267
|
+
...opts
|
|
268
|
+
});
|
|
269
|
+
Object.setPrototypeOf(this, _AccessDeniedException.prototype);
|
|
270
|
+
}
|
|
271
|
+
};
|
|
272
|
+
var ConflictException = class _ConflictException extends BedrockDataAutomationServiceException {
|
|
273
|
+
static {
|
|
274
|
+
__name(this, "ConflictException");
|
|
275
|
+
}
|
|
276
|
+
name = "ConflictException";
|
|
277
|
+
$fault = "client";
|
|
278
|
+
/**
|
|
279
|
+
* @internal
|
|
280
|
+
*/
|
|
281
|
+
constructor(opts) {
|
|
282
|
+
super({
|
|
283
|
+
name: "ConflictException",
|
|
284
|
+
$fault: "client",
|
|
285
|
+
...opts
|
|
286
|
+
});
|
|
287
|
+
Object.setPrototypeOf(this, _ConflictException.prototype);
|
|
288
|
+
}
|
|
289
|
+
};
|
|
290
|
+
var BlueprintStage = {
|
|
291
|
+
DEVELOPMENT: "DEVELOPMENT",
|
|
292
|
+
LIVE: "LIVE"
|
|
293
|
+
};
|
|
294
|
+
var Type = {
|
|
295
|
+
AUDIO: "AUDIO",
|
|
296
|
+
DOCUMENT: "DOCUMENT",
|
|
297
|
+
IMAGE: "IMAGE",
|
|
298
|
+
VIDEO: "VIDEO"
|
|
299
|
+
};
|
|
300
|
+
var InternalServerException = class _InternalServerException extends BedrockDataAutomationServiceException {
|
|
301
|
+
static {
|
|
302
|
+
__name(this, "InternalServerException");
|
|
303
|
+
}
|
|
304
|
+
name = "InternalServerException";
|
|
305
|
+
$fault = "server";
|
|
306
|
+
/**
|
|
307
|
+
* @internal
|
|
308
|
+
*/
|
|
309
|
+
constructor(opts) {
|
|
310
|
+
super({
|
|
311
|
+
name: "InternalServerException",
|
|
312
|
+
$fault: "server",
|
|
313
|
+
...opts
|
|
314
|
+
});
|
|
315
|
+
Object.setPrototypeOf(this, _InternalServerException.prototype);
|
|
316
|
+
}
|
|
317
|
+
};
|
|
318
|
+
var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends BedrockDataAutomationServiceException {
|
|
319
|
+
static {
|
|
320
|
+
__name(this, "ServiceQuotaExceededException");
|
|
321
|
+
}
|
|
322
|
+
name = "ServiceQuotaExceededException";
|
|
323
|
+
$fault = "client";
|
|
324
|
+
/**
|
|
325
|
+
* @internal
|
|
326
|
+
*/
|
|
327
|
+
constructor(opts) {
|
|
328
|
+
super({
|
|
329
|
+
name: "ServiceQuotaExceededException",
|
|
330
|
+
$fault: "client",
|
|
331
|
+
...opts
|
|
332
|
+
});
|
|
333
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
334
|
+
}
|
|
335
|
+
};
|
|
336
|
+
var ThrottlingException = class _ThrottlingException extends BedrockDataAutomationServiceException {
|
|
337
|
+
static {
|
|
338
|
+
__name(this, "ThrottlingException");
|
|
339
|
+
}
|
|
340
|
+
name = "ThrottlingException";
|
|
341
|
+
$fault = "client";
|
|
342
|
+
/**
|
|
343
|
+
* @internal
|
|
344
|
+
*/
|
|
345
|
+
constructor(opts) {
|
|
346
|
+
super({
|
|
347
|
+
name: "ThrottlingException",
|
|
348
|
+
$fault: "client",
|
|
349
|
+
...opts
|
|
350
|
+
});
|
|
351
|
+
Object.setPrototypeOf(this, _ThrottlingException.prototype);
|
|
352
|
+
}
|
|
353
|
+
};
|
|
354
|
+
var ValidationException = class _ValidationException extends BedrockDataAutomationServiceException {
|
|
355
|
+
static {
|
|
356
|
+
__name(this, "ValidationException");
|
|
357
|
+
}
|
|
358
|
+
name = "ValidationException";
|
|
359
|
+
$fault = "client";
|
|
360
|
+
/**
|
|
361
|
+
* list of ValidationExceptionField
|
|
362
|
+
* @public
|
|
363
|
+
*/
|
|
364
|
+
fieldList;
|
|
365
|
+
/**
|
|
366
|
+
* @internal
|
|
367
|
+
*/
|
|
368
|
+
constructor(opts) {
|
|
369
|
+
super({
|
|
370
|
+
name: "ValidationException",
|
|
371
|
+
$fault: "client",
|
|
372
|
+
...opts
|
|
373
|
+
});
|
|
374
|
+
Object.setPrototypeOf(this, _ValidationException.prototype);
|
|
375
|
+
this.fieldList = opts.fieldList;
|
|
376
|
+
}
|
|
377
|
+
};
|
|
378
|
+
var ResourceNotFoundException = class _ResourceNotFoundException extends BedrockDataAutomationServiceException {
|
|
379
|
+
static {
|
|
380
|
+
__name(this, "ResourceNotFoundException");
|
|
381
|
+
}
|
|
382
|
+
name = "ResourceNotFoundException";
|
|
383
|
+
$fault = "client";
|
|
384
|
+
/**
|
|
385
|
+
* @internal
|
|
386
|
+
*/
|
|
387
|
+
constructor(opts) {
|
|
388
|
+
super({
|
|
389
|
+
name: "ResourceNotFoundException",
|
|
390
|
+
$fault: "client",
|
|
391
|
+
...opts
|
|
392
|
+
});
|
|
393
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
394
|
+
}
|
|
395
|
+
};
|
|
396
|
+
var BlueprintStageFilter = {
|
|
397
|
+
ALL: "ALL",
|
|
398
|
+
DEVELOPMENT: "DEVELOPMENT",
|
|
399
|
+
LIVE: "LIVE"
|
|
400
|
+
};
|
|
401
|
+
var DataAutomationProjectStage = {
|
|
402
|
+
DEVELOPMENT: "DEVELOPMENT",
|
|
403
|
+
LIVE: "LIVE"
|
|
404
|
+
};
|
|
405
|
+
var ResourceOwner = {
|
|
406
|
+
ACCOUNT: "ACCOUNT",
|
|
407
|
+
SERVICE: "SERVICE"
|
|
408
|
+
};
|
|
409
|
+
var State = {
|
|
410
|
+
DISABLED: "DISABLED",
|
|
411
|
+
ENABLED: "ENABLED"
|
|
412
|
+
};
|
|
413
|
+
var DesiredModality = {
|
|
414
|
+
AUDIO: "AUDIO",
|
|
415
|
+
DOCUMENT: "DOCUMENT",
|
|
416
|
+
IMAGE: "IMAGE",
|
|
417
|
+
VIDEO: "VIDEO"
|
|
418
|
+
};
|
|
419
|
+
var AudioExtractionCategoryType = {
|
|
420
|
+
AUDIO_CONTENT_MODERATION: "AUDIO_CONTENT_MODERATION",
|
|
421
|
+
TOPIC_CONTENT_MODERATION: "TOPIC_CONTENT_MODERATION",
|
|
422
|
+
TRANSCRIPT: "TRANSCRIPT"
|
|
423
|
+
};
|
|
424
|
+
var AudioStandardGenerativeFieldType = {
|
|
425
|
+
AUDIO_SUMMARY: "AUDIO_SUMMARY",
|
|
426
|
+
IAB: "IAB",
|
|
427
|
+
TOPIC_SUMMARY: "TOPIC_SUMMARY"
|
|
428
|
+
};
|
|
429
|
+
var DocumentExtractionGranularityType = {
|
|
430
|
+
DOCUMENT: "DOCUMENT",
|
|
431
|
+
ELEMENT: "ELEMENT",
|
|
432
|
+
LINE: "LINE",
|
|
433
|
+
PAGE: "PAGE",
|
|
434
|
+
WORD: "WORD"
|
|
435
|
+
};
|
|
436
|
+
var DocumentOutputTextFormatType = {
|
|
437
|
+
CSV: "CSV",
|
|
438
|
+
HTML: "HTML",
|
|
439
|
+
MARKDOWN: "MARKDOWN",
|
|
440
|
+
PLAIN_TEXT: "PLAIN_TEXT"
|
|
441
|
+
};
|
|
442
|
+
var ImageExtractionCategoryType = {
|
|
443
|
+
CONTENT_MODERATION: "CONTENT_MODERATION",
|
|
444
|
+
LOGOS: "LOGOS",
|
|
445
|
+
TEXT_DETECTION: "TEXT_DETECTION"
|
|
446
|
+
};
|
|
447
|
+
var ImageStandardGenerativeFieldType = {
|
|
448
|
+
IAB: "IAB",
|
|
449
|
+
IMAGE_SUMMARY: "IMAGE_SUMMARY"
|
|
450
|
+
};
|
|
451
|
+
var VideoExtractionCategoryType = {
|
|
452
|
+
CONTENT_MODERATION: "CONTENT_MODERATION",
|
|
453
|
+
LOGOS: "LOGOS",
|
|
454
|
+
TEXT_DETECTION: "TEXT_DETECTION",
|
|
455
|
+
TRANSCRIPT: "TRANSCRIPT"
|
|
456
|
+
};
|
|
457
|
+
var VideoStandardGenerativeFieldType = {
|
|
458
|
+
CHAPTER_SUMMARY: "CHAPTER_SUMMARY",
|
|
459
|
+
IAB: "IAB",
|
|
460
|
+
VIDEO_SUMMARY: "VIDEO_SUMMARY"
|
|
461
|
+
};
|
|
462
|
+
var DataAutomationProjectStatus = {
|
|
463
|
+
COMPLETED: "COMPLETED",
|
|
464
|
+
FAILED: "FAILED",
|
|
465
|
+
IN_PROGRESS: "IN_PROGRESS"
|
|
466
|
+
};
|
|
467
|
+
var DataAutomationProjectStageFilter = {
|
|
468
|
+
ALL: "ALL",
|
|
469
|
+
DEVELOPMENT: "DEVELOPMENT",
|
|
470
|
+
LIVE: "LIVE"
|
|
471
|
+
};
|
|
472
|
+
var CreateBlueprintRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
473
|
+
...obj,
|
|
474
|
+
...obj.blueprintName && { blueprintName: import_smithy_client.SENSITIVE_STRING },
|
|
475
|
+
...obj.schema && { schema: import_smithy_client.SENSITIVE_STRING }
|
|
476
|
+
}), "CreateBlueprintRequestFilterSensitiveLog");
|
|
477
|
+
var BlueprintFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
478
|
+
...obj,
|
|
479
|
+
...obj.schema && { schema: import_smithy_client.SENSITIVE_STRING },
|
|
480
|
+
...obj.blueprintName && { blueprintName: import_smithy_client.SENSITIVE_STRING }
|
|
481
|
+
}), "BlueprintFilterSensitiveLog");
|
|
482
|
+
var CreateBlueprintResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
483
|
+
...obj,
|
|
484
|
+
...obj.blueprint && { blueprint: BlueprintFilterSensitiveLog(obj.blueprint) }
|
|
485
|
+
}), "CreateBlueprintResponseFilterSensitiveLog");
|
|
486
|
+
var GetBlueprintResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
487
|
+
...obj,
|
|
488
|
+
...obj.blueprint && { blueprint: BlueprintFilterSensitiveLog(obj.blueprint) }
|
|
489
|
+
}), "GetBlueprintResponseFilterSensitiveLog");
|
|
490
|
+
var BlueprintSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
491
|
+
...obj,
|
|
492
|
+
...obj.blueprintName && { blueprintName: import_smithy_client.SENSITIVE_STRING }
|
|
493
|
+
}), "BlueprintSummaryFilterSensitiveLog");
|
|
494
|
+
var ListBlueprintsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
495
|
+
...obj,
|
|
496
|
+
...obj.blueprints && { blueprints: obj.blueprints.map((item) => BlueprintSummaryFilterSensitiveLog(item)) }
|
|
497
|
+
}), "ListBlueprintsResponseFilterSensitiveLog");
|
|
498
|
+
var UpdateBlueprintRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
499
|
+
...obj,
|
|
500
|
+
...obj.schema && { schema: import_smithy_client.SENSITIVE_STRING }
|
|
501
|
+
}), "UpdateBlueprintRequestFilterSensitiveLog");
|
|
502
|
+
var UpdateBlueprintResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
503
|
+
...obj,
|
|
504
|
+
...obj.blueprint && { blueprint: BlueprintFilterSensitiveLog(obj.blueprint) }
|
|
505
|
+
}), "UpdateBlueprintResponseFilterSensitiveLog");
|
|
506
|
+
var CreateBlueprintVersionResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
507
|
+
...obj,
|
|
508
|
+
...obj.blueprint && { blueprint: BlueprintFilterSensitiveLog(obj.blueprint) }
|
|
509
|
+
}), "CreateBlueprintVersionResponseFilterSensitiveLog");
|
|
510
|
+
var CreateDataAutomationProjectRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
511
|
+
...obj,
|
|
512
|
+
...obj.projectName && { projectName: import_smithy_client.SENSITIVE_STRING },
|
|
513
|
+
...obj.projectDescription && { projectDescription: import_smithy_client.SENSITIVE_STRING }
|
|
514
|
+
}), "CreateDataAutomationProjectRequestFilterSensitiveLog");
|
|
515
|
+
var DataAutomationProjectFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
516
|
+
...obj,
|
|
517
|
+
...obj.projectName && { projectName: import_smithy_client.SENSITIVE_STRING },
|
|
518
|
+
...obj.projectDescription && { projectDescription: import_smithy_client.SENSITIVE_STRING }
|
|
519
|
+
}), "DataAutomationProjectFilterSensitiveLog");
|
|
520
|
+
var GetDataAutomationProjectResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
521
|
+
...obj,
|
|
522
|
+
...obj.project && { project: DataAutomationProjectFilterSensitiveLog(obj.project) }
|
|
523
|
+
}), "GetDataAutomationProjectResponseFilterSensitiveLog");
|
|
524
|
+
var DataAutomationProjectSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
525
|
+
...obj,
|
|
526
|
+
...obj.projectName && { projectName: import_smithy_client.SENSITIVE_STRING }
|
|
527
|
+
}), "DataAutomationProjectSummaryFilterSensitiveLog");
|
|
528
|
+
var ListDataAutomationProjectsResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
529
|
+
...obj,
|
|
530
|
+
...obj.projects && { projects: obj.projects.map((item) => DataAutomationProjectSummaryFilterSensitiveLog(item)) }
|
|
531
|
+
}), "ListDataAutomationProjectsResponseFilterSensitiveLog");
|
|
532
|
+
var UpdateDataAutomationProjectRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
533
|
+
...obj,
|
|
534
|
+
...obj.projectDescription && { projectDescription: import_smithy_client.SENSITIVE_STRING }
|
|
535
|
+
}), "UpdateDataAutomationProjectRequestFilterSensitiveLog");
|
|
536
|
+
|
|
537
|
+
// src/protocols/Aws_restJson1.ts
|
|
538
|
+
var import_core2 = require("@aws-sdk/core");
|
|
539
|
+
|
|
540
|
+
|
|
541
|
+
var import_uuid = require("uuid");
|
|
542
|
+
var se_CreateBlueprintCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
543
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
544
|
+
const headers = {
|
|
545
|
+
"content-type": "application/json"
|
|
546
|
+
};
|
|
547
|
+
b.bp("/blueprints");
|
|
548
|
+
let body;
|
|
549
|
+
body = JSON.stringify(
|
|
550
|
+
(0, import_smithy_client.take)(input, {
|
|
551
|
+
blueprintName: [],
|
|
552
|
+
blueprintStage: [],
|
|
553
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
554
|
+
encryptionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "encryptionConfiguration"),
|
|
555
|
+
schema: [],
|
|
556
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags"),
|
|
557
|
+
type: []
|
|
558
|
+
})
|
|
559
|
+
);
|
|
560
|
+
b.m("PUT").h(headers).b(body);
|
|
561
|
+
return b.build();
|
|
562
|
+
}, "se_CreateBlueprintCommand");
|
|
563
|
+
var se_CreateBlueprintVersionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
564
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
565
|
+
const headers = {
|
|
566
|
+
"content-type": "application/json"
|
|
567
|
+
};
|
|
568
|
+
b.bp("/blueprints/{blueprintArn}/versions");
|
|
569
|
+
b.p("blueprintArn", () => input.blueprintArn, "{blueprintArn}", false);
|
|
570
|
+
let body;
|
|
571
|
+
body = JSON.stringify(
|
|
572
|
+
(0, import_smithy_client.take)(input, {
|
|
573
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()]
|
|
574
|
+
})
|
|
575
|
+
);
|
|
576
|
+
b.m("POST").h(headers).b(body);
|
|
577
|
+
return b.build();
|
|
578
|
+
}, "se_CreateBlueprintVersionCommand");
|
|
579
|
+
var se_CreateDataAutomationProjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
580
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
581
|
+
const headers = {
|
|
582
|
+
"content-type": "application/json"
|
|
583
|
+
};
|
|
584
|
+
b.bp("/data-automation-projects");
|
|
585
|
+
let body;
|
|
586
|
+
body = JSON.stringify(
|
|
587
|
+
(0, import_smithy_client.take)(input, {
|
|
588
|
+
clientToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
589
|
+
customOutputConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "customOutputConfiguration"),
|
|
590
|
+
encryptionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "encryptionConfiguration"),
|
|
591
|
+
overrideConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "overrideConfiguration"),
|
|
592
|
+
projectDescription: [],
|
|
593
|
+
projectName: [],
|
|
594
|
+
projectStage: [],
|
|
595
|
+
standardOutputConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "standardOutputConfiguration"),
|
|
596
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
597
|
+
})
|
|
598
|
+
);
|
|
599
|
+
b.m("PUT").h(headers).b(body);
|
|
600
|
+
return b.build();
|
|
601
|
+
}, "se_CreateDataAutomationProjectCommand");
|
|
602
|
+
var se_DeleteBlueprintCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
603
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
604
|
+
const headers = {};
|
|
605
|
+
b.bp("/blueprints/{blueprintArn}");
|
|
606
|
+
b.p("blueprintArn", () => input.blueprintArn, "{blueprintArn}", false);
|
|
607
|
+
const query = (0, import_smithy_client.map)({
|
|
608
|
+
[_bV]: [, input[_bV]]
|
|
609
|
+
});
|
|
610
|
+
let body;
|
|
611
|
+
b.m("DELETE").h(headers).q(query).b(body);
|
|
612
|
+
return b.build();
|
|
613
|
+
}, "se_DeleteBlueprintCommand");
|
|
614
|
+
var se_DeleteDataAutomationProjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
615
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
616
|
+
const headers = {};
|
|
617
|
+
b.bp("/data-automation-projects/{projectArn}");
|
|
618
|
+
b.p("projectArn", () => input.projectArn, "{projectArn}", false);
|
|
619
|
+
let body;
|
|
620
|
+
b.m("DELETE").h(headers).b(body);
|
|
621
|
+
return b.build();
|
|
622
|
+
}, "se_DeleteDataAutomationProjectCommand");
|
|
623
|
+
var se_GetBlueprintCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
624
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
625
|
+
const headers = {
|
|
626
|
+
"content-type": "application/json"
|
|
627
|
+
};
|
|
628
|
+
b.bp("/blueprints/{blueprintArn}");
|
|
629
|
+
b.p("blueprintArn", () => input.blueprintArn, "{blueprintArn}", false);
|
|
630
|
+
let body;
|
|
631
|
+
body = JSON.stringify(
|
|
632
|
+
(0, import_smithy_client.take)(input, {
|
|
633
|
+
blueprintStage: [],
|
|
634
|
+
blueprintVersion: []
|
|
635
|
+
})
|
|
636
|
+
);
|
|
637
|
+
b.m("POST").h(headers).b(body);
|
|
638
|
+
return b.build();
|
|
639
|
+
}, "se_GetBlueprintCommand");
|
|
640
|
+
var se_GetDataAutomationProjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
641
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
642
|
+
const headers = {
|
|
643
|
+
"content-type": "application/json"
|
|
644
|
+
};
|
|
645
|
+
b.bp("/data-automation-projects/{projectArn}");
|
|
646
|
+
b.p("projectArn", () => input.projectArn, "{projectArn}", false);
|
|
647
|
+
let body;
|
|
648
|
+
body = JSON.stringify(
|
|
649
|
+
(0, import_smithy_client.take)(input, {
|
|
650
|
+
projectStage: []
|
|
651
|
+
})
|
|
652
|
+
);
|
|
653
|
+
b.m("POST").h(headers).b(body);
|
|
654
|
+
return b.build();
|
|
655
|
+
}, "se_GetDataAutomationProjectCommand");
|
|
656
|
+
var se_ListBlueprintsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
657
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
658
|
+
const headers = {
|
|
659
|
+
"content-type": "application/json"
|
|
660
|
+
};
|
|
661
|
+
b.bp("/blueprints");
|
|
662
|
+
let body;
|
|
663
|
+
body = JSON.stringify(
|
|
664
|
+
(0, import_smithy_client.take)(input, {
|
|
665
|
+
blueprintArn: [],
|
|
666
|
+
blueprintStageFilter: [],
|
|
667
|
+
maxResults: [],
|
|
668
|
+
nextToken: [],
|
|
669
|
+
projectFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "projectFilter"),
|
|
670
|
+
resourceOwner: []
|
|
671
|
+
})
|
|
672
|
+
);
|
|
673
|
+
b.m("POST").h(headers).b(body);
|
|
674
|
+
return b.build();
|
|
675
|
+
}, "se_ListBlueprintsCommand");
|
|
676
|
+
var se_ListDataAutomationProjectsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
677
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
678
|
+
const headers = {
|
|
679
|
+
"content-type": "application/json"
|
|
680
|
+
};
|
|
681
|
+
b.bp("/data-automation-projects");
|
|
682
|
+
let body;
|
|
683
|
+
body = JSON.stringify(
|
|
684
|
+
(0, import_smithy_client.take)(input, {
|
|
685
|
+
blueprintFilter: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "blueprintFilter"),
|
|
686
|
+
maxResults: [],
|
|
687
|
+
nextToken: [],
|
|
688
|
+
projectStageFilter: [],
|
|
689
|
+
resourceOwner: []
|
|
690
|
+
})
|
|
691
|
+
);
|
|
692
|
+
b.m("POST").h(headers).b(body);
|
|
693
|
+
return b.build();
|
|
694
|
+
}, "se_ListDataAutomationProjectsCommand");
|
|
695
|
+
var se_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
696
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
697
|
+
const headers = {
|
|
698
|
+
"content-type": "application/json"
|
|
699
|
+
};
|
|
700
|
+
b.bp("/listTagsForResource");
|
|
701
|
+
let body;
|
|
702
|
+
body = JSON.stringify(
|
|
703
|
+
(0, import_smithy_client.take)(input, {
|
|
704
|
+
resourceARN: []
|
|
705
|
+
})
|
|
706
|
+
);
|
|
707
|
+
b.m("POST").h(headers).b(body);
|
|
708
|
+
return b.build();
|
|
709
|
+
}, "se_ListTagsForResourceCommand");
|
|
710
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
711
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
712
|
+
const headers = {
|
|
713
|
+
"content-type": "application/json"
|
|
714
|
+
};
|
|
715
|
+
b.bp("/tagResource");
|
|
716
|
+
let body;
|
|
717
|
+
body = JSON.stringify(
|
|
718
|
+
(0, import_smithy_client.take)(input, {
|
|
719
|
+
resourceARN: [],
|
|
720
|
+
tags: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tags")
|
|
721
|
+
})
|
|
722
|
+
);
|
|
723
|
+
b.m("POST").h(headers).b(body);
|
|
724
|
+
return b.build();
|
|
725
|
+
}, "se_TagResourceCommand");
|
|
726
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
727
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
728
|
+
const headers = {
|
|
729
|
+
"content-type": "application/json"
|
|
730
|
+
};
|
|
731
|
+
b.bp("/untagResource");
|
|
732
|
+
let body;
|
|
733
|
+
body = JSON.stringify(
|
|
734
|
+
(0, import_smithy_client.take)(input, {
|
|
735
|
+
resourceARN: [],
|
|
736
|
+
tagKeys: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "tagKeys")
|
|
737
|
+
})
|
|
738
|
+
);
|
|
739
|
+
b.m("POST").h(headers).b(body);
|
|
740
|
+
return b.build();
|
|
741
|
+
}, "se_UntagResourceCommand");
|
|
742
|
+
var se_UpdateBlueprintCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
743
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
744
|
+
const headers = {
|
|
745
|
+
"content-type": "application/json"
|
|
746
|
+
};
|
|
747
|
+
b.bp("/blueprints/{blueprintArn}");
|
|
748
|
+
b.p("blueprintArn", () => input.blueprintArn, "{blueprintArn}", false);
|
|
749
|
+
let body;
|
|
750
|
+
body = JSON.stringify(
|
|
751
|
+
(0, import_smithy_client.take)(input, {
|
|
752
|
+
blueprintStage: [],
|
|
753
|
+
encryptionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "encryptionConfiguration"),
|
|
754
|
+
schema: []
|
|
755
|
+
})
|
|
756
|
+
);
|
|
757
|
+
b.m("PUT").h(headers).b(body);
|
|
758
|
+
return b.build();
|
|
759
|
+
}, "se_UpdateBlueprintCommand");
|
|
760
|
+
var se_UpdateDataAutomationProjectCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
761
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
762
|
+
const headers = {
|
|
763
|
+
"content-type": "application/json"
|
|
764
|
+
};
|
|
765
|
+
b.bp("/data-automation-projects/{projectArn}");
|
|
766
|
+
b.p("projectArn", () => input.projectArn, "{projectArn}", false);
|
|
767
|
+
let body;
|
|
768
|
+
body = JSON.stringify(
|
|
769
|
+
(0, import_smithy_client.take)(input, {
|
|
770
|
+
customOutputConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "customOutputConfiguration"),
|
|
771
|
+
encryptionConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "encryptionConfiguration"),
|
|
772
|
+
overrideConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "overrideConfiguration"),
|
|
773
|
+
projectDescription: [],
|
|
774
|
+
projectStage: [],
|
|
775
|
+
standardOutputConfiguration: /* @__PURE__ */ __name((_) => (0, import_smithy_client._json)(_), "standardOutputConfiguration")
|
|
776
|
+
})
|
|
777
|
+
);
|
|
778
|
+
b.m("PUT").h(headers).b(body);
|
|
779
|
+
return b.build();
|
|
780
|
+
}, "se_UpdateDataAutomationProjectCommand");
|
|
781
|
+
var de_CreateBlueprintCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
782
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
783
|
+
return de_CommandError(output, context);
|
|
784
|
+
}
|
|
785
|
+
const contents = (0, import_smithy_client.map)({
|
|
786
|
+
$metadata: deserializeMetadata(output)
|
|
787
|
+
});
|
|
788
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
789
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
790
|
+
blueprint: /* @__PURE__ */ __name((_) => de_Blueprint(_, context), "blueprint")
|
|
791
|
+
});
|
|
792
|
+
Object.assign(contents, doc);
|
|
793
|
+
return contents;
|
|
794
|
+
}, "de_CreateBlueprintCommand");
|
|
795
|
+
var de_CreateBlueprintVersionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
796
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
797
|
+
return de_CommandError(output, context);
|
|
798
|
+
}
|
|
799
|
+
const contents = (0, import_smithy_client.map)({
|
|
800
|
+
$metadata: deserializeMetadata(output)
|
|
801
|
+
});
|
|
802
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
803
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
804
|
+
blueprint: /* @__PURE__ */ __name((_) => de_Blueprint(_, context), "blueprint")
|
|
805
|
+
});
|
|
806
|
+
Object.assign(contents, doc);
|
|
807
|
+
return contents;
|
|
808
|
+
}, "de_CreateBlueprintVersionCommand");
|
|
809
|
+
var de_CreateDataAutomationProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
810
|
+
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
811
|
+
return de_CommandError(output, context);
|
|
812
|
+
}
|
|
813
|
+
const contents = (0, import_smithy_client.map)({
|
|
814
|
+
$metadata: deserializeMetadata(output)
|
|
815
|
+
});
|
|
816
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
817
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
818
|
+
projectArn: import_smithy_client.expectString,
|
|
819
|
+
projectStage: import_smithy_client.expectString,
|
|
820
|
+
status: import_smithy_client.expectString
|
|
821
|
+
});
|
|
822
|
+
Object.assign(contents, doc);
|
|
823
|
+
return contents;
|
|
824
|
+
}, "de_CreateDataAutomationProjectCommand");
|
|
825
|
+
var de_DeleteBlueprintCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
826
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
827
|
+
return de_CommandError(output, context);
|
|
828
|
+
}
|
|
829
|
+
const contents = (0, import_smithy_client.map)({
|
|
830
|
+
$metadata: deserializeMetadata(output)
|
|
831
|
+
});
|
|
832
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
833
|
+
return contents;
|
|
834
|
+
}, "de_DeleteBlueprintCommand");
|
|
835
|
+
var de_DeleteDataAutomationProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
836
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
837
|
+
return de_CommandError(output, context);
|
|
838
|
+
}
|
|
839
|
+
const contents = (0, import_smithy_client.map)({
|
|
840
|
+
$metadata: deserializeMetadata(output)
|
|
841
|
+
});
|
|
842
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
843
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
844
|
+
projectArn: import_smithy_client.expectString,
|
|
845
|
+
status: import_smithy_client.expectString
|
|
846
|
+
});
|
|
847
|
+
Object.assign(contents, doc);
|
|
848
|
+
return contents;
|
|
849
|
+
}, "de_DeleteDataAutomationProjectCommand");
|
|
850
|
+
var de_GetBlueprintCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
851
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
852
|
+
return de_CommandError(output, context);
|
|
853
|
+
}
|
|
854
|
+
const contents = (0, import_smithy_client.map)({
|
|
855
|
+
$metadata: deserializeMetadata(output)
|
|
856
|
+
});
|
|
857
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
858
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
859
|
+
blueprint: /* @__PURE__ */ __name((_) => de_Blueprint(_, context), "blueprint")
|
|
860
|
+
});
|
|
861
|
+
Object.assign(contents, doc);
|
|
862
|
+
return contents;
|
|
863
|
+
}, "de_GetBlueprintCommand");
|
|
864
|
+
var de_GetDataAutomationProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
865
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
866
|
+
return de_CommandError(output, context);
|
|
867
|
+
}
|
|
868
|
+
const contents = (0, import_smithy_client.map)({
|
|
869
|
+
$metadata: deserializeMetadata(output)
|
|
870
|
+
});
|
|
871
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
872
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
873
|
+
project: /* @__PURE__ */ __name((_) => de_DataAutomationProject(_, context), "project")
|
|
874
|
+
});
|
|
875
|
+
Object.assign(contents, doc);
|
|
876
|
+
return contents;
|
|
877
|
+
}, "de_GetDataAutomationProjectCommand");
|
|
878
|
+
var de_ListBlueprintsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
879
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
880
|
+
return de_CommandError(output, context);
|
|
881
|
+
}
|
|
882
|
+
const contents = (0, import_smithy_client.map)({
|
|
883
|
+
$metadata: deserializeMetadata(output)
|
|
884
|
+
});
|
|
885
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
886
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
887
|
+
blueprints: /* @__PURE__ */ __name((_) => de_Blueprints(_, context), "blueprints"),
|
|
888
|
+
nextToken: import_smithy_client.expectString
|
|
889
|
+
});
|
|
890
|
+
Object.assign(contents, doc);
|
|
891
|
+
return contents;
|
|
892
|
+
}, "de_ListBlueprintsCommand");
|
|
893
|
+
var de_ListDataAutomationProjectsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
894
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
895
|
+
return de_CommandError(output, context);
|
|
896
|
+
}
|
|
897
|
+
const contents = (0, import_smithy_client.map)({
|
|
898
|
+
$metadata: deserializeMetadata(output)
|
|
899
|
+
});
|
|
900
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
901
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
902
|
+
nextToken: import_smithy_client.expectString,
|
|
903
|
+
projects: /* @__PURE__ */ __name((_) => de_DataAutomationProjectSummaries(_, context), "projects")
|
|
904
|
+
});
|
|
905
|
+
Object.assign(contents, doc);
|
|
906
|
+
return contents;
|
|
907
|
+
}, "de_ListDataAutomationProjectsCommand");
|
|
908
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
909
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
910
|
+
return de_CommandError(output, context);
|
|
911
|
+
}
|
|
912
|
+
const contents = (0, import_smithy_client.map)({
|
|
913
|
+
$metadata: deserializeMetadata(output)
|
|
914
|
+
});
|
|
915
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
916
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
917
|
+
tags: import_smithy_client._json
|
|
918
|
+
});
|
|
919
|
+
Object.assign(contents, doc);
|
|
920
|
+
return contents;
|
|
921
|
+
}, "de_ListTagsForResourceCommand");
|
|
922
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
923
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
924
|
+
return de_CommandError(output, context);
|
|
925
|
+
}
|
|
926
|
+
const contents = (0, import_smithy_client.map)({
|
|
927
|
+
$metadata: deserializeMetadata(output)
|
|
928
|
+
});
|
|
929
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
930
|
+
return contents;
|
|
931
|
+
}, "de_TagResourceCommand");
|
|
932
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
933
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
934
|
+
return de_CommandError(output, context);
|
|
935
|
+
}
|
|
936
|
+
const contents = (0, import_smithy_client.map)({
|
|
937
|
+
$metadata: deserializeMetadata(output)
|
|
938
|
+
});
|
|
939
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
940
|
+
return contents;
|
|
941
|
+
}, "de_UntagResourceCommand");
|
|
942
|
+
var de_UpdateBlueprintCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
943
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
944
|
+
return de_CommandError(output, context);
|
|
945
|
+
}
|
|
946
|
+
const contents = (0, import_smithy_client.map)({
|
|
947
|
+
$metadata: deserializeMetadata(output)
|
|
948
|
+
});
|
|
949
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
950
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
951
|
+
blueprint: /* @__PURE__ */ __name((_) => de_Blueprint(_, context), "blueprint")
|
|
952
|
+
});
|
|
953
|
+
Object.assign(contents, doc);
|
|
954
|
+
return contents;
|
|
955
|
+
}, "de_UpdateBlueprintCommand");
|
|
956
|
+
var de_UpdateDataAutomationProjectCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
957
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
958
|
+
return de_CommandError(output, context);
|
|
959
|
+
}
|
|
960
|
+
const contents = (0, import_smithy_client.map)({
|
|
961
|
+
$metadata: deserializeMetadata(output)
|
|
962
|
+
});
|
|
963
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
964
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
965
|
+
projectArn: import_smithy_client.expectString,
|
|
966
|
+
projectStage: import_smithy_client.expectString,
|
|
967
|
+
status: import_smithy_client.expectString
|
|
968
|
+
});
|
|
969
|
+
Object.assign(contents, doc);
|
|
970
|
+
return contents;
|
|
971
|
+
}, "de_UpdateDataAutomationProjectCommand");
|
|
972
|
+
var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
973
|
+
const parsedOutput = {
|
|
974
|
+
...output,
|
|
975
|
+
body: await (0, import_core2.parseJsonErrorBody)(output.body, context)
|
|
976
|
+
};
|
|
977
|
+
const errorCode = (0, import_core2.loadRestJsonErrorCode)(output, parsedOutput.body);
|
|
978
|
+
switch (errorCode) {
|
|
979
|
+
case "AccessDeniedException":
|
|
980
|
+
case "com.amazonaws.bedrockdataautomation#AccessDeniedException":
|
|
981
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
982
|
+
case "ConflictException":
|
|
983
|
+
case "com.amazonaws.bedrockdataautomation#ConflictException":
|
|
984
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
985
|
+
case "InternalServerException":
|
|
986
|
+
case "com.amazonaws.bedrockdataautomation#InternalServerException":
|
|
987
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
988
|
+
case "ServiceQuotaExceededException":
|
|
989
|
+
case "com.amazonaws.bedrockdataautomation#ServiceQuotaExceededException":
|
|
990
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
991
|
+
case "ThrottlingException":
|
|
992
|
+
case "com.amazonaws.bedrockdataautomation#ThrottlingException":
|
|
993
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
994
|
+
case "ValidationException":
|
|
995
|
+
case "com.amazonaws.bedrockdataautomation#ValidationException":
|
|
996
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
997
|
+
case "ResourceNotFoundException":
|
|
998
|
+
case "com.amazonaws.bedrockdataautomation#ResourceNotFoundException":
|
|
999
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1000
|
+
default:
|
|
1001
|
+
const parsedBody = parsedOutput.body;
|
|
1002
|
+
return throwDefaultError({
|
|
1003
|
+
output,
|
|
1004
|
+
parsedBody,
|
|
1005
|
+
errorCode
|
|
1006
|
+
});
|
|
1007
|
+
}
|
|
1008
|
+
}, "de_CommandError");
|
|
1009
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(BedrockDataAutomationServiceException);
|
|
1010
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1011
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1012
|
+
const data = parsedOutput.body;
|
|
1013
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1014
|
+
message: import_smithy_client.expectString
|
|
1015
|
+
});
|
|
1016
|
+
Object.assign(contents, doc);
|
|
1017
|
+
const exception = new AccessDeniedException({
|
|
1018
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1019
|
+
...contents
|
|
1020
|
+
});
|
|
1021
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1022
|
+
}, "de_AccessDeniedExceptionRes");
|
|
1023
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1024
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1025
|
+
const data = parsedOutput.body;
|
|
1026
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1027
|
+
message: import_smithy_client.expectString
|
|
1028
|
+
});
|
|
1029
|
+
Object.assign(contents, doc);
|
|
1030
|
+
const exception = new ConflictException({
|
|
1031
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1032
|
+
...contents
|
|
1033
|
+
});
|
|
1034
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1035
|
+
}, "de_ConflictExceptionRes");
|
|
1036
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1037
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1038
|
+
const data = parsedOutput.body;
|
|
1039
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1040
|
+
message: import_smithy_client.expectString
|
|
1041
|
+
});
|
|
1042
|
+
Object.assign(contents, doc);
|
|
1043
|
+
const exception = new InternalServerException({
|
|
1044
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1045
|
+
...contents
|
|
1046
|
+
});
|
|
1047
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1048
|
+
}, "de_InternalServerExceptionRes");
|
|
1049
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1050
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1051
|
+
const data = parsedOutput.body;
|
|
1052
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1053
|
+
message: import_smithy_client.expectString
|
|
1054
|
+
});
|
|
1055
|
+
Object.assign(contents, doc);
|
|
1056
|
+
const exception = new ResourceNotFoundException({
|
|
1057
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1058
|
+
...contents
|
|
1059
|
+
});
|
|
1060
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1061
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
1062
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1063
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1064
|
+
const data = parsedOutput.body;
|
|
1065
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1066
|
+
message: import_smithy_client.expectString
|
|
1067
|
+
});
|
|
1068
|
+
Object.assign(contents, doc);
|
|
1069
|
+
const exception = new ServiceQuotaExceededException({
|
|
1070
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1071
|
+
...contents
|
|
1072
|
+
});
|
|
1073
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1074
|
+
}, "de_ServiceQuotaExceededExceptionRes");
|
|
1075
|
+
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1076
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1077
|
+
const data = parsedOutput.body;
|
|
1078
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1079
|
+
message: import_smithy_client.expectString
|
|
1080
|
+
});
|
|
1081
|
+
Object.assign(contents, doc);
|
|
1082
|
+
const exception = new ThrottlingException({
|
|
1083
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1084
|
+
...contents
|
|
1085
|
+
});
|
|
1086
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1087
|
+
}, "de_ThrottlingExceptionRes");
|
|
1088
|
+
var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1089
|
+
const contents = (0, import_smithy_client.map)({});
|
|
1090
|
+
const data = parsedOutput.body;
|
|
1091
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
1092
|
+
fieldList: import_smithy_client._json,
|
|
1093
|
+
message: import_smithy_client.expectString
|
|
1094
|
+
});
|
|
1095
|
+
Object.assign(contents, doc);
|
|
1096
|
+
const exception = new ValidationException({
|
|
1097
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1098
|
+
...contents
|
|
1099
|
+
});
|
|
1100
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
1101
|
+
}, "de_ValidationExceptionRes");
|
|
1102
|
+
var de_Blueprint = /* @__PURE__ */ __name((output, context) => {
|
|
1103
|
+
return (0, import_smithy_client.take)(output, {
|
|
1104
|
+
blueprintArn: import_smithy_client.expectString,
|
|
1105
|
+
blueprintName: import_smithy_client.expectString,
|
|
1106
|
+
blueprintStage: import_smithy_client.expectString,
|
|
1107
|
+
blueprintVersion: import_smithy_client.expectString,
|
|
1108
|
+
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
1109
|
+
kmsEncryptionContext: import_smithy_client._json,
|
|
1110
|
+
kmsKeyId: import_smithy_client.expectString,
|
|
1111
|
+
lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModifiedTime"),
|
|
1112
|
+
schema: import_smithy_client.expectString,
|
|
1113
|
+
type: import_smithy_client.expectString
|
|
1114
|
+
});
|
|
1115
|
+
}, "de_Blueprint");
|
|
1116
|
+
var de_Blueprints = /* @__PURE__ */ __name((output, context) => {
|
|
1117
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1118
|
+
return de_BlueprintSummary(entry, context);
|
|
1119
|
+
});
|
|
1120
|
+
return retVal;
|
|
1121
|
+
}, "de_Blueprints");
|
|
1122
|
+
var de_BlueprintSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1123
|
+
return (0, import_smithy_client.take)(output, {
|
|
1124
|
+
blueprintArn: import_smithy_client.expectString,
|
|
1125
|
+
blueprintName: import_smithy_client.expectString,
|
|
1126
|
+
blueprintStage: import_smithy_client.expectString,
|
|
1127
|
+
blueprintVersion: import_smithy_client.expectString,
|
|
1128
|
+
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
1129
|
+
lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModifiedTime")
|
|
1130
|
+
});
|
|
1131
|
+
}, "de_BlueprintSummary");
|
|
1132
|
+
var de_DataAutomationProject = /* @__PURE__ */ __name((output, context) => {
|
|
1133
|
+
return (0, import_smithy_client.take)(output, {
|
|
1134
|
+
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
1135
|
+
customOutputConfiguration: import_smithy_client._json,
|
|
1136
|
+
kmsEncryptionContext: import_smithy_client._json,
|
|
1137
|
+
kmsKeyId: import_smithy_client.expectString,
|
|
1138
|
+
lastModifiedTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "lastModifiedTime"),
|
|
1139
|
+
overrideConfiguration: import_smithy_client._json,
|
|
1140
|
+
projectArn: import_smithy_client.expectString,
|
|
1141
|
+
projectDescription: import_smithy_client.expectString,
|
|
1142
|
+
projectName: import_smithy_client.expectString,
|
|
1143
|
+
projectStage: import_smithy_client.expectString,
|
|
1144
|
+
standardOutputConfiguration: import_smithy_client._json,
|
|
1145
|
+
status: import_smithy_client.expectString
|
|
1146
|
+
});
|
|
1147
|
+
}, "de_DataAutomationProject");
|
|
1148
|
+
var de_DataAutomationProjectSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
1149
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1150
|
+
return de_DataAutomationProjectSummary(entry, context);
|
|
1151
|
+
});
|
|
1152
|
+
return retVal;
|
|
1153
|
+
}, "de_DataAutomationProjectSummaries");
|
|
1154
|
+
var de_DataAutomationProjectSummary = /* @__PURE__ */ __name((output, context) => {
|
|
1155
|
+
return (0, import_smithy_client.take)(output, {
|
|
1156
|
+
creationTime: /* @__PURE__ */ __name((_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)), "creationTime"),
|
|
1157
|
+
projectArn: import_smithy_client.expectString,
|
|
1158
|
+
projectName: import_smithy_client.expectString,
|
|
1159
|
+
projectStage: import_smithy_client.expectString
|
|
1160
|
+
});
|
|
1161
|
+
}, "de_DataAutomationProjectSummary");
|
|
1162
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1163
|
+
httpStatusCode: output.statusCode,
|
|
1164
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1165
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1166
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
1167
|
+
}), "deserializeMetadata");
|
|
1168
|
+
var _bV = "blueprintVersion";
|
|
1169
|
+
|
|
1170
|
+
// src/commands/CreateBlueprintCommand.ts
|
|
1171
|
+
var CreateBlueprintCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1172
|
+
return [
|
|
1173
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1174
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1175
|
+
];
|
|
1176
|
+
}).s("AmazonBedrockKeystoneBuildTimeService", "CreateBlueprint", {}).n("BedrockDataAutomationClient", "CreateBlueprintCommand").f(CreateBlueprintRequestFilterSensitiveLog, CreateBlueprintResponseFilterSensitiveLog).ser(se_CreateBlueprintCommand).de(de_CreateBlueprintCommand).build() {
|
|
1177
|
+
static {
|
|
1178
|
+
__name(this, "CreateBlueprintCommand");
|
|
1179
|
+
}
|
|
1180
|
+
};
|
|
1181
|
+
|
|
1182
|
+
// src/commands/CreateBlueprintVersionCommand.ts
|
|
1183
|
+
|
|
1184
|
+
|
|
1185
|
+
|
|
1186
|
+
var CreateBlueprintVersionCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1187
|
+
return [
|
|
1188
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1189
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1190
|
+
];
|
|
1191
|
+
}).s("AmazonBedrockKeystoneBuildTimeService", "CreateBlueprintVersion", {}).n("BedrockDataAutomationClient", "CreateBlueprintVersionCommand").f(void 0, CreateBlueprintVersionResponseFilterSensitiveLog).ser(se_CreateBlueprintVersionCommand).de(de_CreateBlueprintVersionCommand).build() {
|
|
1192
|
+
static {
|
|
1193
|
+
__name(this, "CreateBlueprintVersionCommand");
|
|
1194
|
+
}
|
|
1195
|
+
};
|
|
1196
|
+
|
|
1197
|
+
// src/commands/CreateDataAutomationProjectCommand.ts
|
|
1198
|
+
|
|
1199
|
+
|
|
1200
|
+
|
|
1201
|
+
var CreateDataAutomationProjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1202
|
+
return [
|
|
1203
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1204
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1205
|
+
];
|
|
1206
|
+
}).s("AmazonBedrockKeystoneBuildTimeService", "CreateDataAutomationProject", {}).n("BedrockDataAutomationClient", "CreateDataAutomationProjectCommand").f(CreateDataAutomationProjectRequestFilterSensitiveLog, void 0).ser(se_CreateDataAutomationProjectCommand).de(de_CreateDataAutomationProjectCommand).build() {
|
|
1207
|
+
static {
|
|
1208
|
+
__name(this, "CreateDataAutomationProjectCommand");
|
|
1209
|
+
}
|
|
1210
|
+
};
|
|
1211
|
+
|
|
1212
|
+
// src/commands/DeleteBlueprintCommand.ts
|
|
1213
|
+
|
|
1214
|
+
|
|
1215
|
+
|
|
1216
|
+
var DeleteBlueprintCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1217
|
+
return [
|
|
1218
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1219
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1220
|
+
];
|
|
1221
|
+
}).s("AmazonBedrockKeystoneBuildTimeService", "DeleteBlueprint", {}).n("BedrockDataAutomationClient", "DeleteBlueprintCommand").f(void 0, void 0).ser(se_DeleteBlueprintCommand).de(de_DeleteBlueprintCommand).build() {
|
|
1222
|
+
static {
|
|
1223
|
+
__name(this, "DeleteBlueprintCommand");
|
|
1224
|
+
}
|
|
1225
|
+
};
|
|
1226
|
+
|
|
1227
|
+
// src/commands/DeleteDataAutomationProjectCommand.ts
|
|
1228
|
+
|
|
1229
|
+
|
|
1230
|
+
|
|
1231
|
+
var DeleteDataAutomationProjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1232
|
+
return [
|
|
1233
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1234
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1235
|
+
];
|
|
1236
|
+
}).s("AmazonBedrockKeystoneBuildTimeService", "DeleteDataAutomationProject", {}).n("BedrockDataAutomationClient", "DeleteDataAutomationProjectCommand").f(void 0, void 0).ser(se_DeleteDataAutomationProjectCommand).de(de_DeleteDataAutomationProjectCommand).build() {
|
|
1237
|
+
static {
|
|
1238
|
+
__name(this, "DeleteDataAutomationProjectCommand");
|
|
1239
|
+
}
|
|
1240
|
+
};
|
|
1241
|
+
|
|
1242
|
+
// src/commands/GetBlueprintCommand.ts
|
|
1243
|
+
|
|
1244
|
+
|
|
1245
|
+
|
|
1246
|
+
var GetBlueprintCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1247
|
+
return [
|
|
1248
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1249
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1250
|
+
];
|
|
1251
|
+
}).s("AmazonBedrockKeystoneBuildTimeService", "GetBlueprint", {}).n("BedrockDataAutomationClient", "GetBlueprintCommand").f(void 0, GetBlueprintResponseFilterSensitiveLog).ser(se_GetBlueprintCommand).de(de_GetBlueprintCommand).build() {
|
|
1252
|
+
static {
|
|
1253
|
+
__name(this, "GetBlueprintCommand");
|
|
1254
|
+
}
|
|
1255
|
+
};
|
|
1256
|
+
|
|
1257
|
+
// src/commands/GetDataAutomationProjectCommand.ts
|
|
1258
|
+
|
|
1259
|
+
|
|
1260
|
+
|
|
1261
|
+
var GetDataAutomationProjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1262
|
+
return [
|
|
1263
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1264
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1265
|
+
];
|
|
1266
|
+
}).s("AmazonBedrockKeystoneBuildTimeService", "GetDataAutomationProject", {}).n("BedrockDataAutomationClient", "GetDataAutomationProjectCommand").f(void 0, GetDataAutomationProjectResponseFilterSensitiveLog).ser(se_GetDataAutomationProjectCommand).de(de_GetDataAutomationProjectCommand).build() {
|
|
1267
|
+
static {
|
|
1268
|
+
__name(this, "GetDataAutomationProjectCommand");
|
|
1269
|
+
}
|
|
1270
|
+
};
|
|
1271
|
+
|
|
1272
|
+
// src/commands/ListBlueprintsCommand.ts
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
|
|
1276
|
+
var ListBlueprintsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1277
|
+
return [
|
|
1278
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1279
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1280
|
+
];
|
|
1281
|
+
}).s("AmazonBedrockKeystoneBuildTimeService", "ListBlueprints", {}).n("BedrockDataAutomationClient", "ListBlueprintsCommand").f(void 0, ListBlueprintsResponseFilterSensitiveLog).ser(se_ListBlueprintsCommand).de(de_ListBlueprintsCommand).build() {
|
|
1282
|
+
static {
|
|
1283
|
+
__name(this, "ListBlueprintsCommand");
|
|
1284
|
+
}
|
|
1285
|
+
};
|
|
1286
|
+
|
|
1287
|
+
// src/commands/ListDataAutomationProjectsCommand.ts
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
var ListDataAutomationProjectsCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1292
|
+
return [
|
|
1293
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1294
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1295
|
+
];
|
|
1296
|
+
}).s("AmazonBedrockKeystoneBuildTimeService", "ListDataAutomationProjects", {}).n("BedrockDataAutomationClient", "ListDataAutomationProjectsCommand").f(void 0, ListDataAutomationProjectsResponseFilterSensitiveLog).ser(se_ListDataAutomationProjectsCommand).de(de_ListDataAutomationProjectsCommand).build() {
|
|
1297
|
+
static {
|
|
1298
|
+
__name(this, "ListDataAutomationProjectsCommand");
|
|
1299
|
+
}
|
|
1300
|
+
};
|
|
1301
|
+
|
|
1302
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
1303
|
+
|
|
1304
|
+
|
|
1305
|
+
|
|
1306
|
+
var ListTagsForResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1307
|
+
return [
|
|
1308
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1309
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1310
|
+
];
|
|
1311
|
+
}).s("AmazonBedrockKeystoneBuildTimeService", "ListTagsForResource", {}).n("BedrockDataAutomationClient", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
1312
|
+
static {
|
|
1313
|
+
__name(this, "ListTagsForResourceCommand");
|
|
1314
|
+
}
|
|
1315
|
+
};
|
|
1316
|
+
|
|
1317
|
+
// src/commands/TagResourceCommand.ts
|
|
1318
|
+
|
|
1319
|
+
|
|
1320
|
+
|
|
1321
|
+
var TagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1322
|
+
return [
|
|
1323
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1324
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1325
|
+
];
|
|
1326
|
+
}).s("AmazonBedrockKeystoneBuildTimeService", "TagResource", {}).n("BedrockDataAutomationClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
1327
|
+
static {
|
|
1328
|
+
__name(this, "TagResourceCommand");
|
|
1329
|
+
}
|
|
1330
|
+
};
|
|
1331
|
+
|
|
1332
|
+
// src/commands/UntagResourceCommand.ts
|
|
1333
|
+
|
|
1334
|
+
|
|
1335
|
+
|
|
1336
|
+
var UntagResourceCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1337
|
+
return [
|
|
1338
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1339
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1340
|
+
];
|
|
1341
|
+
}).s("AmazonBedrockKeystoneBuildTimeService", "UntagResource", {}).n("BedrockDataAutomationClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
1342
|
+
static {
|
|
1343
|
+
__name(this, "UntagResourceCommand");
|
|
1344
|
+
}
|
|
1345
|
+
};
|
|
1346
|
+
|
|
1347
|
+
// src/commands/UpdateBlueprintCommand.ts
|
|
1348
|
+
|
|
1349
|
+
|
|
1350
|
+
|
|
1351
|
+
var UpdateBlueprintCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1352
|
+
return [
|
|
1353
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1354
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1355
|
+
];
|
|
1356
|
+
}).s("AmazonBedrockKeystoneBuildTimeService", "UpdateBlueprint", {}).n("BedrockDataAutomationClient", "UpdateBlueprintCommand").f(UpdateBlueprintRequestFilterSensitiveLog, UpdateBlueprintResponseFilterSensitiveLog).ser(se_UpdateBlueprintCommand).de(de_UpdateBlueprintCommand).build() {
|
|
1357
|
+
static {
|
|
1358
|
+
__name(this, "UpdateBlueprintCommand");
|
|
1359
|
+
}
|
|
1360
|
+
};
|
|
1361
|
+
|
|
1362
|
+
// src/commands/UpdateDataAutomationProjectCommand.ts
|
|
1363
|
+
|
|
1364
|
+
|
|
1365
|
+
|
|
1366
|
+
var UpdateDataAutomationProjectCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
1367
|
+
return [
|
|
1368
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1369
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1370
|
+
];
|
|
1371
|
+
}).s("AmazonBedrockKeystoneBuildTimeService", "UpdateDataAutomationProject", {}).n("BedrockDataAutomationClient", "UpdateDataAutomationProjectCommand").f(UpdateDataAutomationProjectRequestFilterSensitiveLog, void 0).ser(se_UpdateDataAutomationProjectCommand).de(de_UpdateDataAutomationProjectCommand).build() {
|
|
1372
|
+
static {
|
|
1373
|
+
__name(this, "UpdateDataAutomationProjectCommand");
|
|
1374
|
+
}
|
|
1375
|
+
};
|
|
1376
|
+
|
|
1377
|
+
// src/BedrockDataAutomation.ts
|
|
1378
|
+
var commands = {
|
|
1379
|
+
CreateBlueprintCommand,
|
|
1380
|
+
CreateBlueprintVersionCommand,
|
|
1381
|
+
CreateDataAutomationProjectCommand,
|
|
1382
|
+
DeleteBlueprintCommand,
|
|
1383
|
+
DeleteDataAutomationProjectCommand,
|
|
1384
|
+
GetBlueprintCommand,
|
|
1385
|
+
GetDataAutomationProjectCommand,
|
|
1386
|
+
ListBlueprintsCommand,
|
|
1387
|
+
ListDataAutomationProjectsCommand,
|
|
1388
|
+
ListTagsForResourceCommand,
|
|
1389
|
+
TagResourceCommand,
|
|
1390
|
+
UntagResourceCommand,
|
|
1391
|
+
UpdateBlueprintCommand,
|
|
1392
|
+
UpdateDataAutomationProjectCommand
|
|
1393
|
+
};
|
|
1394
|
+
var BedrockDataAutomation = class extends BedrockDataAutomationClient {
|
|
1395
|
+
static {
|
|
1396
|
+
__name(this, "BedrockDataAutomation");
|
|
1397
|
+
}
|
|
1398
|
+
};
|
|
1399
|
+
(0, import_smithy_client.createAggregatedClient)(commands, BedrockDataAutomation);
|
|
1400
|
+
|
|
1401
|
+
// src/pagination/ListBlueprintsPaginator.ts
|
|
1402
|
+
|
|
1403
|
+
var paginateListBlueprints = (0, import_core.createPaginator)(BedrockDataAutomationClient, ListBlueprintsCommand, "nextToken", "nextToken", "maxResults");
|
|
1404
|
+
|
|
1405
|
+
// src/pagination/ListDataAutomationProjectsPaginator.ts
|
|
1406
|
+
|
|
1407
|
+
var paginateListDataAutomationProjects = (0, import_core.createPaginator)(BedrockDataAutomationClient, ListDataAutomationProjectsCommand, "nextToken", "nextToken", "maxResults");
|
|
1408
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
1409
|
+
|
|
1410
|
+
0 && (module.exports = {
|
|
1411
|
+
BedrockDataAutomationServiceException,
|
|
1412
|
+
__Client,
|
|
1413
|
+
BedrockDataAutomationClient,
|
|
1414
|
+
BedrockDataAutomation,
|
|
1415
|
+
$Command,
|
|
1416
|
+
CreateBlueprintCommand,
|
|
1417
|
+
CreateBlueprintVersionCommand,
|
|
1418
|
+
CreateDataAutomationProjectCommand,
|
|
1419
|
+
DeleteBlueprintCommand,
|
|
1420
|
+
DeleteDataAutomationProjectCommand,
|
|
1421
|
+
GetBlueprintCommand,
|
|
1422
|
+
GetDataAutomationProjectCommand,
|
|
1423
|
+
ListBlueprintsCommand,
|
|
1424
|
+
ListDataAutomationProjectsCommand,
|
|
1425
|
+
ListTagsForResourceCommand,
|
|
1426
|
+
TagResourceCommand,
|
|
1427
|
+
UntagResourceCommand,
|
|
1428
|
+
UpdateBlueprintCommand,
|
|
1429
|
+
UpdateDataAutomationProjectCommand,
|
|
1430
|
+
paginateListBlueprints,
|
|
1431
|
+
paginateListDataAutomationProjects,
|
|
1432
|
+
AccessDeniedException,
|
|
1433
|
+
ConflictException,
|
|
1434
|
+
BlueprintStage,
|
|
1435
|
+
Type,
|
|
1436
|
+
InternalServerException,
|
|
1437
|
+
ServiceQuotaExceededException,
|
|
1438
|
+
ThrottlingException,
|
|
1439
|
+
ValidationException,
|
|
1440
|
+
ResourceNotFoundException,
|
|
1441
|
+
BlueprintStageFilter,
|
|
1442
|
+
DataAutomationProjectStage,
|
|
1443
|
+
ResourceOwner,
|
|
1444
|
+
State,
|
|
1445
|
+
DesiredModality,
|
|
1446
|
+
AudioExtractionCategoryType,
|
|
1447
|
+
AudioStandardGenerativeFieldType,
|
|
1448
|
+
DocumentExtractionGranularityType,
|
|
1449
|
+
DocumentOutputTextFormatType,
|
|
1450
|
+
ImageExtractionCategoryType,
|
|
1451
|
+
ImageStandardGenerativeFieldType,
|
|
1452
|
+
VideoExtractionCategoryType,
|
|
1453
|
+
VideoStandardGenerativeFieldType,
|
|
1454
|
+
DataAutomationProjectStatus,
|
|
1455
|
+
DataAutomationProjectStageFilter,
|
|
1456
|
+
CreateBlueprintRequestFilterSensitiveLog,
|
|
1457
|
+
BlueprintFilterSensitiveLog,
|
|
1458
|
+
CreateBlueprintResponseFilterSensitiveLog,
|
|
1459
|
+
GetBlueprintResponseFilterSensitiveLog,
|
|
1460
|
+
BlueprintSummaryFilterSensitiveLog,
|
|
1461
|
+
ListBlueprintsResponseFilterSensitiveLog,
|
|
1462
|
+
UpdateBlueprintRequestFilterSensitiveLog,
|
|
1463
|
+
UpdateBlueprintResponseFilterSensitiveLog,
|
|
1464
|
+
CreateBlueprintVersionResponseFilterSensitiveLog,
|
|
1465
|
+
CreateDataAutomationProjectRequestFilterSensitiveLog,
|
|
1466
|
+
DataAutomationProjectFilterSensitiveLog,
|
|
1467
|
+
GetDataAutomationProjectResponseFilterSensitiveLog,
|
|
1468
|
+
DataAutomationProjectSummaryFilterSensitiveLog,
|
|
1469
|
+
ListDataAutomationProjectsResponseFilterSensitiveLog,
|
|
1470
|
+
UpdateDataAutomationProjectRequestFilterSensitiveLog
|
|
1471
|
+
});
|
|
1472
|
+
|