@aws-sdk/client-bedrock-data-automation 3.706.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/LICENSE +201 -0
- package/README.md +293 -0
- package/dist-cjs/BedrockDataAutomation.js +33 -0
- package/dist-cjs/BedrockDataAutomationClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/CreateBlueprintCommand.js +27 -0
- package/dist-cjs/commands/CreateBlueprintVersionCommand.js +27 -0
- package/dist-cjs/commands/CreateDataAutomationProjectCommand.js +27 -0
- package/dist-cjs/commands/DeleteBlueprintCommand.js +26 -0
- package/dist-cjs/commands/DeleteDataAutomationProjectCommand.js +26 -0
- package/dist-cjs/commands/GetBlueprintCommand.js +27 -0
- package/dist-cjs/commands/GetDataAutomationProjectCommand.js +27 -0
- package/dist-cjs/commands/ListBlueprintsCommand.js +27 -0
- package/dist-cjs/commands/ListDataAutomationProjectsCommand.js +27 -0
- package/dist-cjs/commands/UpdateBlueprintCommand.js +27 -0
- package/dist-cjs/commands/UpdateDataAutomationProjectCommand.js +27 -0
- package/dist-cjs/commands/index.js +14 -0
- package/dist-cjs/endpoint/EndpointParameters.js +18 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/extensionConfiguration.js +2 -0
- package/dist-cjs/index.js +11 -0
- package/dist-cjs/models/BedrockDataAutomationServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +252 -0
- package/dist-cjs/pagination/Interfaces.js +2 -0
- package/dist-cjs/pagination/ListBlueprintsPaginator.js +7 -0
- package/dist-cjs/pagination/ListDataAutomationProjectsPaginator.js +7 -0
- package/dist-cjs/pagination/index.js +6 -0
- package/dist-cjs/protocols/Aws_restJson1.js +560 -0
- package/dist-cjs/runtimeConfig.browser.js +39 -0
- package/dist-cjs/runtimeConfig.js +50 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +34 -0
- package/dist-cjs/runtimeExtensions.js +25 -0
- package/dist-es/BedrockDataAutomation.js +29 -0
- package/dist-es/BedrockDataAutomationClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/CreateBlueprintCommand.js +23 -0
- package/dist-es/commands/CreateBlueprintVersionCommand.js +23 -0
- package/dist-es/commands/CreateDataAutomationProjectCommand.js +23 -0
- package/dist-es/commands/DeleteBlueprintCommand.js +22 -0
- package/dist-es/commands/DeleteDataAutomationProjectCommand.js +22 -0
- package/dist-es/commands/GetBlueprintCommand.js +23 -0
- package/dist-es/commands/GetDataAutomationProjectCommand.js +23 -0
- package/dist-es/commands/ListBlueprintsCommand.js +23 -0
- package/dist-es/commands/ListDataAutomationProjectsCommand.js +23 -0
- package/dist-es/commands/UpdateBlueprintCommand.js +23 -0
- package/dist-es/commands/UpdateDataAutomationProjectCommand.js +23 -0
- package/dist-es/commands/index.js +11 -0
- package/dist-es/endpoint/EndpointParameters.js +14 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +6 -0
- package/dist-es/models/BedrockDataAutomationServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +227 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListBlueprintsPaginator.js +4 -0
- package/dist-es/pagination/ListDataAutomationProjectsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/protocols/Aws_restJson1.js +535 -0
- package/dist-es/runtimeConfig.browser.js +34 -0
- package/dist-es/runtimeConfig.js +45 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +30 -0
- package/dist-es/runtimeExtensions.js +21 -0
- package/dist-types/BedrockDataAutomation.d.ts +89 -0
- package/dist-types/BedrockDataAutomationClient.d.ts +180 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/CreateBlueprintCommand.d.ts +112 -0
- package/dist-types/commands/CreateBlueprintVersionCommand.d.ts +103 -0
- package/dist-types/commands/CreateDataAutomationProjectCommand.d.ts +197 -0
- package/dist-types/commands/DeleteBlueprintCommand.d.ts +85 -0
- package/dist-types/commands/DeleteDataAutomationProjectCommand.d.ts +87 -0
- package/dist-types/commands/GetBlueprintCommand.d.ts +101 -0
- package/dist-types/commands/GetDataAutomationProjectCommand.d.ts +196 -0
- package/dist-types/commands/ListBlueprintsCommand.d.ts +104 -0
- package/dist-types/commands/ListDataAutomationProjectsCommand.d.ts +102 -0
- package/dist-types/commands/UpdateBlueprintCommand.d.ts +104 -0
- package/dist-types/commands/UpdateDataAutomationProjectCommand.d.ts +190 -0
- package/dist-types/commands/index.d.ts +11 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
- package/dist-types/endpoint/endpointResolver.d.ts +5 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +14 -0
- package/dist-types/models/BedrockDataAutomationServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +1453 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListBlueprintsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataAutomationProjectsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +101 -0
- package/dist-types/runtimeConfig.browser.d.ts +48 -0
- package/dist-types/runtimeConfig.d.ts +48 -0
- package/dist-types/runtimeConfig.native.d.ts +47 -0
- package/dist-types/runtimeConfig.shared.d.ts +21 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/ts3.4/BedrockDataAutomation.d.ts +196 -0
- package/dist-types/ts3.4/BedrockDataAutomationClient.d.ts +187 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
- package/dist-types/ts3.4/commands/CreateBlueprintCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/CreateBlueprintVersionCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateDataAutomationProjectCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteBlueprintCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/DeleteDataAutomationProjectCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetBlueprintCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/GetDataAutomationProjectCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListBlueprintsCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListDataAutomationProjectsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateBlueprintCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/UpdateDataAutomationProjectCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +11 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +9 -0
- package/dist-types/ts3.4/models/BedrockDataAutomationServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +463 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListBlueprintsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataAutomationProjectsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +137 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +89 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
- package/package.json +103 -0
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getRuntimeConfig = void 0;
|
|
4
|
+
const core_1 = require("@aws-sdk/core");
|
|
5
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
6
|
+
const url_parser_1 = require("@smithy/url-parser");
|
|
7
|
+
const util_base64_1 = require("@smithy/util-base64");
|
|
8
|
+
const util_utf8_1 = require("@smithy/util-utf8");
|
|
9
|
+
const httpAuthSchemeProvider_1 = require("./auth/httpAuthSchemeProvider");
|
|
10
|
+
const endpointResolver_1 = require("./endpoint/endpointResolver");
|
|
11
|
+
const getRuntimeConfig = (config) => {
|
|
12
|
+
return {
|
|
13
|
+
apiVersion: "2023-07-26",
|
|
14
|
+
base64Decoder: config?.base64Decoder ?? util_base64_1.fromBase64,
|
|
15
|
+
base64Encoder: config?.base64Encoder ?? util_base64_1.toBase64,
|
|
16
|
+
disableHostPrefix: config?.disableHostPrefix ?? false,
|
|
17
|
+
endpointProvider: config?.endpointProvider ?? endpointResolver_1.defaultEndpointResolver,
|
|
18
|
+
extensions: config?.extensions ?? [],
|
|
19
|
+
httpAuthSchemeProvider: config?.httpAuthSchemeProvider ?? httpAuthSchemeProvider_1.defaultBedrockDataAutomationHttpAuthSchemeProvider,
|
|
20
|
+
httpAuthSchemes: config?.httpAuthSchemes ?? [
|
|
21
|
+
{
|
|
22
|
+
schemeId: "aws.auth#sigv4",
|
|
23
|
+
identityProvider: (ipc) => ipc.getIdentityProvider("aws.auth#sigv4"),
|
|
24
|
+
signer: new core_1.AwsSdkSigV4Signer(),
|
|
25
|
+
},
|
|
26
|
+
],
|
|
27
|
+
logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
|
|
28
|
+
serviceId: config?.serviceId ?? "Bedrock Data Automation",
|
|
29
|
+
urlParser: config?.urlParser ?? url_parser_1.parseUrl,
|
|
30
|
+
utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
|
|
31
|
+
utf8Encoder: config?.utf8Encoder ?? util_utf8_1.toUtf8,
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
exports.getRuntimeConfig = getRuntimeConfig;
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.resolveRuntimeExtensions = void 0;
|
|
4
|
+
const region_config_resolver_1 = require("@aws-sdk/region-config-resolver");
|
|
5
|
+
const protocol_http_1 = require("@smithy/protocol-http");
|
|
6
|
+
const smithy_client_1 = require("@smithy/smithy-client");
|
|
7
|
+
const httpAuthExtensionConfiguration_1 = require("./auth/httpAuthExtensionConfiguration");
|
|
8
|
+
const asPartial = (t) => t;
|
|
9
|
+
const resolveRuntimeExtensions = (runtimeConfig, extensions) => {
|
|
10
|
+
const extensionConfiguration = {
|
|
11
|
+
...asPartial((0, region_config_resolver_1.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
12
|
+
...asPartial((0, smithy_client_1.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
13
|
+
...asPartial((0, protocol_http_1.getHttpHandlerExtensionConfiguration)(runtimeConfig)),
|
|
14
|
+
...asPartial((0, httpAuthExtensionConfiguration_1.getHttpAuthExtensionConfiguration)(runtimeConfig)),
|
|
15
|
+
};
|
|
16
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
17
|
+
return {
|
|
18
|
+
...runtimeConfig,
|
|
19
|
+
...(0, region_config_resolver_1.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
20
|
+
...(0, smithy_client_1.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
21
|
+
...(0, protocol_http_1.resolveHttpHandlerRuntimeConfig)(extensionConfiguration),
|
|
22
|
+
...(0, httpAuthExtensionConfiguration_1.resolveHttpAuthRuntimeConfig)(extensionConfiguration),
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
exports.resolveRuntimeExtensions = resolveRuntimeExtensions;
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { createAggregatedClient } from "@smithy/smithy-client";
|
|
2
|
+
import { BedrockDataAutomationClient } from "./BedrockDataAutomationClient";
|
|
3
|
+
import { CreateBlueprintCommand, } from "./commands/CreateBlueprintCommand";
|
|
4
|
+
import { CreateBlueprintVersionCommand, } from "./commands/CreateBlueprintVersionCommand";
|
|
5
|
+
import { CreateDataAutomationProjectCommand, } from "./commands/CreateDataAutomationProjectCommand";
|
|
6
|
+
import { DeleteBlueprintCommand, } from "./commands/DeleteBlueprintCommand";
|
|
7
|
+
import { DeleteDataAutomationProjectCommand, } from "./commands/DeleteDataAutomationProjectCommand";
|
|
8
|
+
import { GetBlueprintCommand, } from "./commands/GetBlueprintCommand";
|
|
9
|
+
import { GetDataAutomationProjectCommand, } from "./commands/GetDataAutomationProjectCommand";
|
|
10
|
+
import { ListBlueprintsCommand, } from "./commands/ListBlueprintsCommand";
|
|
11
|
+
import { ListDataAutomationProjectsCommand, } from "./commands/ListDataAutomationProjectsCommand";
|
|
12
|
+
import { UpdateBlueprintCommand, } from "./commands/UpdateBlueprintCommand";
|
|
13
|
+
import { UpdateDataAutomationProjectCommand, } from "./commands/UpdateDataAutomationProjectCommand";
|
|
14
|
+
const commands = {
|
|
15
|
+
CreateBlueprintCommand,
|
|
16
|
+
CreateBlueprintVersionCommand,
|
|
17
|
+
CreateDataAutomationProjectCommand,
|
|
18
|
+
DeleteBlueprintCommand,
|
|
19
|
+
DeleteDataAutomationProjectCommand,
|
|
20
|
+
GetBlueprintCommand,
|
|
21
|
+
GetDataAutomationProjectCommand,
|
|
22
|
+
ListBlueprintsCommand,
|
|
23
|
+
ListDataAutomationProjectsCommand,
|
|
24
|
+
UpdateBlueprintCommand,
|
|
25
|
+
UpdateDataAutomationProjectCommand,
|
|
26
|
+
};
|
|
27
|
+
export class BedrockDataAutomation extends BedrockDataAutomationClient {
|
|
28
|
+
}
|
|
29
|
+
createAggregatedClient(commands, BedrockDataAutomation);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import { getHostHeaderPlugin, resolveHostHeaderConfig, } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { getLoggerPlugin } from "@aws-sdk/middleware-logger";
|
|
3
|
+
import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detection";
|
|
4
|
+
import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
|
|
5
|
+
import { resolveRegionConfig } from "@smithy/config-resolver";
|
|
6
|
+
import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
|
|
7
|
+
import { getContentLengthPlugin } from "@smithy/middleware-content-length";
|
|
8
|
+
import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
|
|
9
|
+
import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
|
|
10
|
+
import { Client as __Client, } from "@smithy/smithy-client";
|
|
11
|
+
import { defaultBedrockDataAutomationHttpAuthSchemeParametersProvider, resolveHttpAuthSchemeConfig, } from "./auth/httpAuthSchemeProvider";
|
|
12
|
+
import { resolveClientEndpointParameters, } from "./endpoint/EndpointParameters";
|
|
13
|
+
import { getRuntimeConfig as __getRuntimeConfig } from "./runtimeConfig";
|
|
14
|
+
import { resolveRuntimeExtensions } from "./runtimeExtensions";
|
|
15
|
+
export { __Client };
|
|
16
|
+
export class BedrockDataAutomationClient extends __Client {
|
|
17
|
+
constructor(...[configuration]) {
|
|
18
|
+
const _config_0 = __getRuntimeConfig(configuration || {});
|
|
19
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
20
|
+
const _config_2 = resolveUserAgentConfig(_config_1);
|
|
21
|
+
const _config_3 = resolveRetryConfig(_config_2);
|
|
22
|
+
const _config_4 = resolveRegionConfig(_config_3);
|
|
23
|
+
const _config_5 = resolveHostHeaderConfig(_config_4);
|
|
24
|
+
const _config_6 = resolveEndpointConfig(_config_5);
|
|
25
|
+
const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
|
|
26
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
27
|
+
super(_config_8);
|
|
28
|
+
this.config = _config_8;
|
|
29
|
+
this.middlewareStack.use(getUserAgentPlugin(this.config));
|
|
30
|
+
this.middlewareStack.use(getRetryPlugin(this.config));
|
|
31
|
+
this.middlewareStack.use(getContentLengthPlugin(this.config));
|
|
32
|
+
this.middlewareStack.use(getHostHeaderPlugin(this.config));
|
|
33
|
+
this.middlewareStack.use(getLoggerPlugin(this.config));
|
|
34
|
+
this.middlewareStack.use(getRecursionDetectionPlugin(this.config));
|
|
35
|
+
this.middlewareStack.use(getHttpAuthSchemeEndpointRuleSetPlugin(this.config, {
|
|
36
|
+
httpAuthSchemeParametersProvider: defaultBedrockDataAutomationHttpAuthSchemeParametersProvider,
|
|
37
|
+
identityProviderConfigProvider: async (config) => new DefaultIdentityProviderConfig({
|
|
38
|
+
"aws.auth#sigv4": config.credentials,
|
|
39
|
+
}),
|
|
40
|
+
}));
|
|
41
|
+
this.middlewareStack.use(getHttpSigningPlugin(this.config));
|
|
42
|
+
}
|
|
43
|
+
destroy() {
|
|
44
|
+
super.destroy();
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
export const getHttpAuthExtensionConfiguration = (runtimeConfig) => {
|
|
2
|
+
const _httpAuthSchemes = runtimeConfig.httpAuthSchemes;
|
|
3
|
+
let _httpAuthSchemeProvider = runtimeConfig.httpAuthSchemeProvider;
|
|
4
|
+
let _credentials = runtimeConfig.credentials;
|
|
5
|
+
return {
|
|
6
|
+
setHttpAuthScheme(httpAuthScheme) {
|
|
7
|
+
const index = _httpAuthSchemes.findIndex((scheme) => scheme.schemeId === httpAuthScheme.schemeId);
|
|
8
|
+
if (index === -1) {
|
|
9
|
+
_httpAuthSchemes.push(httpAuthScheme);
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
_httpAuthSchemes.splice(index, 1, httpAuthScheme);
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
httpAuthSchemes() {
|
|
16
|
+
return _httpAuthSchemes;
|
|
17
|
+
},
|
|
18
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider) {
|
|
19
|
+
_httpAuthSchemeProvider = httpAuthSchemeProvider;
|
|
20
|
+
},
|
|
21
|
+
httpAuthSchemeProvider() {
|
|
22
|
+
return _httpAuthSchemeProvider;
|
|
23
|
+
},
|
|
24
|
+
setCredentials(credentials) {
|
|
25
|
+
_credentials = credentials;
|
|
26
|
+
},
|
|
27
|
+
credentials() {
|
|
28
|
+
return _credentials;
|
|
29
|
+
},
|
|
30
|
+
};
|
|
31
|
+
};
|
|
32
|
+
export const resolveHttpAuthRuntimeConfig = (config) => {
|
|
33
|
+
return {
|
|
34
|
+
httpAuthSchemes: config.httpAuthSchemes(),
|
|
35
|
+
httpAuthSchemeProvider: config.httpAuthSchemeProvider(),
|
|
36
|
+
credentials: config.credentials(),
|
|
37
|
+
};
|
|
38
|
+
};
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { resolveAwsSdkSigV4Config, } from "@aws-sdk/core";
|
|
2
|
+
import { getSmithyContext, normalizeProvider } from "@smithy/util-middleware";
|
|
3
|
+
export const defaultBedrockDataAutomationHttpAuthSchemeParametersProvider = async (config, context, input) => {
|
|
4
|
+
return {
|
|
5
|
+
operation: getSmithyContext(context).operation,
|
|
6
|
+
region: (await normalizeProvider(config.region)()) ||
|
|
7
|
+
(() => {
|
|
8
|
+
throw new Error("expected `region` to be configured for `aws.auth#sigv4`");
|
|
9
|
+
})(),
|
|
10
|
+
};
|
|
11
|
+
};
|
|
12
|
+
function createAwsAuthSigv4HttpAuthOption(authParameters) {
|
|
13
|
+
return {
|
|
14
|
+
schemeId: "aws.auth#sigv4",
|
|
15
|
+
signingProperties: {
|
|
16
|
+
name: "bedrock",
|
|
17
|
+
region: authParameters.region,
|
|
18
|
+
},
|
|
19
|
+
propertiesExtractor: (config, context) => ({
|
|
20
|
+
signingProperties: {
|
|
21
|
+
config,
|
|
22
|
+
context,
|
|
23
|
+
},
|
|
24
|
+
}),
|
|
25
|
+
};
|
|
26
|
+
}
|
|
27
|
+
export const defaultBedrockDataAutomationHttpAuthSchemeProvider = (authParameters) => {
|
|
28
|
+
const options = [];
|
|
29
|
+
switch (authParameters.operation) {
|
|
30
|
+
default: {
|
|
31
|
+
options.push(createAwsAuthSigv4HttpAuthOption(authParameters));
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
return options;
|
|
35
|
+
};
|
|
36
|
+
export const resolveHttpAuthSchemeConfig = (config) => {
|
|
37
|
+
const config_0 = resolveAwsSdkSigV4Config(config);
|
|
38
|
+
return {
|
|
39
|
+
...config_0,
|
|
40
|
+
};
|
|
41
|
+
};
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateBlueprintRequestFilterSensitiveLog, CreateBlueprintResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_CreateBlueprintCommand, se_CreateBlueprintCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class CreateBlueprintCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AmazonBedrockKeystoneBuildTimeService", "CreateBlueprint", {})
|
|
18
|
+
.n("BedrockDataAutomationClient", "CreateBlueprintCommand")
|
|
19
|
+
.f(CreateBlueprintRequestFilterSensitiveLog, CreateBlueprintResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_CreateBlueprintCommand)
|
|
21
|
+
.de(de_CreateBlueprintCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateBlueprintVersionResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_CreateBlueprintVersionCommand, se_CreateBlueprintVersionCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class CreateBlueprintVersionCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AmazonBedrockKeystoneBuildTimeService", "CreateBlueprintVersion", {})
|
|
18
|
+
.n("BedrockDataAutomationClient", "CreateBlueprintVersionCommand")
|
|
19
|
+
.f(void 0, CreateBlueprintVersionResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_CreateBlueprintVersionCommand)
|
|
21
|
+
.de(de_CreateBlueprintVersionCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { CreateDataAutomationProjectRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_CreateDataAutomationProjectCommand, se_CreateDataAutomationProjectCommand, } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class CreateDataAutomationProjectCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AmazonBedrockKeystoneBuildTimeService", "CreateDataAutomationProject", {})
|
|
18
|
+
.n("BedrockDataAutomationClient", "CreateDataAutomationProjectCommand")
|
|
19
|
+
.f(CreateDataAutomationProjectRequestFilterSensitiveLog, void 0)
|
|
20
|
+
.ser(se_CreateDataAutomationProjectCommand)
|
|
21
|
+
.de(de_CreateDataAutomationProjectCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteBlueprintCommand, se_DeleteBlueprintCommand } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteBlueprintCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockKeystoneBuildTimeService", "DeleteBlueprint", {})
|
|
17
|
+
.n("BedrockDataAutomationClient", "DeleteBlueprintCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteBlueprintCommand)
|
|
20
|
+
.de(de_DeleteBlueprintCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DeleteDataAutomationProjectCommand, se_DeleteDataAutomationProjectCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DeleteDataAutomationProjectCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("AmazonBedrockKeystoneBuildTimeService", "DeleteDataAutomationProject", {})
|
|
17
|
+
.n("BedrockDataAutomationClient", "DeleteDataAutomationProjectCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DeleteDataAutomationProjectCommand)
|
|
20
|
+
.de(de_DeleteDataAutomationProjectCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { GetBlueprintResponseFilterSensitiveLog } from "../models/models_0";
|
|
6
|
+
import { de_GetBlueprintCommand, se_GetBlueprintCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class GetBlueprintCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AmazonBedrockKeystoneBuildTimeService", "GetBlueprint", {})
|
|
18
|
+
.n("BedrockDataAutomationClient", "GetBlueprintCommand")
|
|
19
|
+
.f(void 0, GetBlueprintResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_GetBlueprintCommand)
|
|
21
|
+
.de(de_GetBlueprintCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { GetDataAutomationProjectResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_GetDataAutomationProjectCommand, se_GetDataAutomationProjectCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class GetDataAutomationProjectCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AmazonBedrockKeystoneBuildTimeService", "GetDataAutomationProject", {})
|
|
18
|
+
.n("BedrockDataAutomationClient", "GetDataAutomationProjectCommand")
|
|
19
|
+
.f(void 0, GetDataAutomationProjectResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_GetDataAutomationProjectCommand)
|
|
21
|
+
.de(de_GetDataAutomationProjectCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { ListBlueprintsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_ListBlueprintsCommand, se_ListBlueprintsCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class ListBlueprintsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AmazonBedrockKeystoneBuildTimeService", "ListBlueprints", {})
|
|
18
|
+
.n("BedrockDataAutomationClient", "ListBlueprintsCommand")
|
|
19
|
+
.f(void 0, ListBlueprintsResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_ListBlueprintsCommand)
|
|
21
|
+
.de(de_ListBlueprintsCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { ListDataAutomationProjectsResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_ListDataAutomationProjectsCommand, se_ListDataAutomationProjectsCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class ListDataAutomationProjectsCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AmazonBedrockKeystoneBuildTimeService", "ListDataAutomationProjects", {})
|
|
18
|
+
.n("BedrockDataAutomationClient", "ListDataAutomationProjectsCommand")
|
|
19
|
+
.f(void 0, ListDataAutomationProjectsResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_ListDataAutomationProjectsCommand)
|
|
21
|
+
.de(de_ListDataAutomationProjectsCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { UpdateBlueprintRequestFilterSensitiveLog, UpdateBlueprintResponseFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_UpdateBlueprintCommand, se_UpdateBlueprintCommand } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class UpdateBlueprintCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AmazonBedrockKeystoneBuildTimeService", "UpdateBlueprint", {})
|
|
18
|
+
.n("BedrockDataAutomationClient", "UpdateBlueprintCommand")
|
|
19
|
+
.f(UpdateBlueprintRequestFilterSensitiveLog, UpdateBlueprintResponseFilterSensitiveLog)
|
|
20
|
+
.ser(se_UpdateBlueprintCommand)
|
|
21
|
+
.de(de_UpdateBlueprintCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { UpdateDataAutomationProjectRequestFilterSensitiveLog, } from "../models/models_0";
|
|
6
|
+
import { de_UpdateDataAutomationProjectCommand, se_UpdateDataAutomationProjectCommand, } from "../protocols/Aws_restJson1";
|
|
7
|
+
export { $Command };
|
|
8
|
+
export class UpdateDataAutomationProjectCommand extends $Command
|
|
9
|
+
.classBuilder()
|
|
10
|
+
.ep(commonParams)
|
|
11
|
+
.m(function (Command, cs, config, o) {
|
|
12
|
+
return [
|
|
13
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
14
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
15
|
+
];
|
|
16
|
+
})
|
|
17
|
+
.s("AmazonBedrockKeystoneBuildTimeService", "UpdateDataAutomationProject", {})
|
|
18
|
+
.n("BedrockDataAutomationClient", "UpdateDataAutomationProjectCommand")
|
|
19
|
+
.f(UpdateDataAutomationProjectRequestFilterSensitiveLog, void 0)
|
|
20
|
+
.ser(se_UpdateDataAutomationProjectCommand)
|
|
21
|
+
.de(de_UpdateDataAutomationProjectCommand)
|
|
22
|
+
.build() {
|
|
23
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./CreateBlueprintCommand";
|
|
2
|
+
export * from "./CreateBlueprintVersionCommand";
|
|
3
|
+
export * from "./CreateDataAutomationProjectCommand";
|
|
4
|
+
export * from "./DeleteBlueprintCommand";
|
|
5
|
+
export * from "./DeleteDataAutomationProjectCommand";
|
|
6
|
+
export * from "./GetBlueprintCommand";
|
|
7
|
+
export * from "./GetDataAutomationProjectCommand";
|
|
8
|
+
export * from "./ListBlueprintsCommand";
|
|
9
|
+
export * from "./ListDataAutomationProjectsCommand";
|
|
10
|
+
export * from "./UpdateBlueprintCommand";
|
|
11
|
+
export * from "./UpdateDataAutomationProjectCommand";
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export const resolveClientEndpointParameters = (options) => {
|
|
2
|
+
return {
|
|
3
|
+
...options,
|
|
4
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
5
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
6
|
+
defaultSigningName: "bedrock",
|
|
7
|
+
};
|
|
8
|
+
};
|
|
9
|
+
export const commonParams = {
|
|
10
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
11
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
12
|
+
Region: { type: "builtInParams", name: "region" },
|
|
13
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
14
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { awsEndpointFunctions } from "@aws-sdk/util-endpoints";
|
|
2
|
+
import { customEndpointFunctions, EndpointCache, resolveEndpoint } from "@smithy/util-endpoints";
|
|
3
|
+
import { ruleSet } from "./ruleset";
|
|
4
|
+
const cache = new EndpointCache({
|
|
5
|
+
size: 50,
|
|
6
|
+
params: ["Endpoint", "Region", "UseDualStack", "UseFIPS"],
|
|
7
|
+
});
|
|
8
|
+
export const defaultEndpointResolver = (endpointParams, context = {}) => {
|
|
9
|
+
return cache.get(endpointParams, () => resolveEndpoint(ruleSet, {
|
|
10
|
+
endpointParams: endpointParams,
|
|
11
|
+
logger: context.logger,
|
|
12
|
+
}));
|
|
13
|
+
};
|
|
14
|
+
customEndpointFunctions.aws = awsEndpointFunctions;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
const s = "required", t = "fn", u = "argv", v = "ref";
|
|
2
|
+
const a = true, b = "isSet", c = "booleanEquals", d = "error", e = "endpoint", f = "tree", g = "PartitionResult", h = { [s]: false, "type": "String" }, i = { [s]: true, "default": false, "type": "Boolean" }, j = { [v]: "Endpoint" }, k = { [t]: c, [u]: [{ [v]: "UseFIPS" }, true] }, l = { [t]: c, [u]: [{ [v]: "UseDualStack" }, true] }, m = {}, n = { [t]: "getAttr", [u]: [{ [v]: g }, "supportsFIPS"] }, o = { [t]: c, [u]: [true, { [t]: "getAttr", [u]: [{ [v]: g }, "supportsDualStack"] }] }, p = [k], q = [l], r = [{ [v]: "Region" }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: h, UseDualStack: i, UseFIPS: i, Endpoint: h }, rules: [{ conditions: [{ [t]: b, [u]: [j] }], rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: d }, { rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: d }, { endpoint: { url: j, properties: m, headers: m }, type: e }], type: f }], type: f }, { rules: [{ conditions: [{ [t]: b, [u]: r }], rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: g }], rules: [{ conditions: [k, l], rules: [{ conditions: [{ [t]: c, [u]: [a, n] }, o], rules: [{ rules: [{ endpoint: { url: "https://bedrock-data-automation-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: d }], type: f }, { conditions: p, rules: [{ conditions: [{ [t]: c, [u]: [n, a] }], rules: [{ rules: [{ endpoint: { url: "https://bedrock-data-automation-fips.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "FIPS is enabled but this partition does not support FIPS", type: d }], type: f }, { conditions: q, rules: [{ conditions: [o], rules: [{ rules: [{ endpoint: { url: "https://bedrock-data-automation.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }, { error: "DualStack is enabled but this partition does not support DualStack", type: d }], type: f }, { rules: [{ endpoint: { url: "https://bedrock-data-automation.{Region}.{PartitionResult#dnsSuffix}", properties: m, headers: m }, type: e }], type: f }], type: f }], type: f }, { error: "Invalid Configuration: Missing Region", type: d }], type: f }] };
|
|
4
|
+
export const ruleSet = _data;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/dist-es/index.js
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export * from "./BedrockDataAutomationClient";
|
|
2
|
+
export * from "./BedrockDataAutomation";
|
|
3
|
+
export * from "./commands";
|
|
4
|
+
export * from "./pagination";
|
|
5
|
+
export * from "./models";
|
|
6
|
+
export { BedrockDataAutomationServiceException } from "./models/BedrockDataAutomationServiceException";
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { ServiceException as __ServiceException, } from "@smithy/smithy-client";
|
|
2
|
+
export { __ServiceException };
|
|
3
|
+
export class BedrockDataAutomationServiceException extends __ServiceException {
|
|
4
|
+
constructor(options) {
|
|
5
|
+
super(options);
|
|
6
|
+
Object.setPrototypeOf(this, BedrockDataAutomationServiceException.prototype);
|
|
7
|
+
}
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|