@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,89 @@
|
|
|
1
|
+
import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
|
|
2
|
+
import { BedrockDataAutomationClient } from "./BedrockDataAutomationClient";
|
|
3
|
+
import { CreateBlueprintCommandInput, CreateBlueprintCommandOutput } from "./commands/CreateBlueprintCommand";
|
|
4
|
+
import { CreateBlueprintVersionCommandInput, CreateBlueprintVersionCommandOutput } from "./commands/CreateBlueprintVersionCommand";
|
|
5
|
+
import { CreateDataAutomationProjectCommandInput, CreateDataAutomationProjectCommandOutput } from "./commands/CreateDataAutomationProjectCommand";
|
|
6
|
+
import { DeleteBlueprintCommandInput, DeleteBlueprintCommandOutput } from "./commands/DeleteBlueprintCommand";
|
|
7
|
+
import { DeleteDataAutomationProjectCommandInput, DeleteDataAutomationProjectCommandOutput } from "./commands/DeleteDataAutomationProjectCommand";
|
|
8
|
+
import { GetBlueprintCommandInput, GetBlueprintCommandOutput } from "./commands/GetBlueprintCommand";
|
|
9
|
+
import { GetDataAutomationProjectCommandInput, GetDataAutomationProjectCommandOutput } from "./commands/GetDataAutomationProjectCommand";
|
|
10
|
+
import { ListBlueprintsCommandInput, ListBlueprintsCommandOutput } from "./commands/ListBlueprintsCommand";
|
|
11
|
+
import { ListDataAutomationProjectsCommandInput, ListDataAutomationProjectsCommandOutput } from "./commands/ListDataAutomationProjectsCommand";
|
|
12
|
+
import { UpdateBlueprintCommandInput, UpdateBlueprintCommandOutput } from "./commands/UpdateBlueprintCommand";
|
|
13
|
+
import { UpdateDataAutomationProjectCommandInput, UpdateDataAutomationProjectCommandOutput } from "./commands/UpdateDataAutomationProjectCommand";
|
|
14
|
+
export interface BedrockDataAutomation {
|
|
15
|
+
/**
|
|
16
|
+
* @see {@link CreateBlueprintCommand}
|
|
17
|
+
*/
|
|
18
|
+
createBlueprint(args: CreateBlueprintCommandInput, options?: __HttpHandlerOptions): Promise<CreateBlueprintCommandOutput>;
|
|
19
|
+
createBlueprint(args: CreateBlueprintCommandInput, cb: (err: any, data?: CreateBlueprintCommandOutput) => void): void;
|
|
20
|
+
createBlueprint(args: CreateBlueprintCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBlueprintCommandOutput) => void): void;
|
|
21
|
+
/**
|
|
22
|
+
* @see {@link CreateBlueprintVersionCommand}
|
|
23
|
+
*/
|
|
24
|
+
createBlueprintVersion(args: CreateBlueprintVersionCommandInput, options?: __HttpHandlerOptions): Promise<CreateBlueprintVersionCommandOutput>;
|
|
25
|
+
createBlueprintVersion(args: CreateBlueprintVersionCommandInput, cb: (err: any, data?: CreateBlueprintVersionCommandOutput) => void): void;
|
|
26
|
+
createBlueprintVersion(args: CreateBlueprintVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBlueprintVersionCommandOutput) => void): void;
|
|
27
|
+
/**
|
|
28
|
+
* @see {@link CreateDataAutomationProjectCommand}
|
|
29
|
+
*/
|
|
30
|
+
createDataAutomationProject(args: CreateDataAutomationProjectCommandInput, options?: __HttpHandlerOptions): Promise<CreateDataAutomationProjectCommandOutput>;
|
|
31
|
+
createDataAutomationProject(args: CreateDataAutomationProjectCommandInput, cb: (err: any, data?: CreateDataAutomationProjectCommandOutput) => void): void;
|
|
32
|
+
createDataAutomationProject(args: CreateDataAutomationProjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateDataAutomationProjectCommandOutput) => void): void;
|
|
33
|
+
/**
|
|
34
|
+
* @see {@link DeleteBlueprintCommand}
|
|
35
|
+
*/
|
|
36
|
+
deleteBlueprint(args: DeleteBlueprintCommandInput, options?: __HttpHandlerOptions): Promise<DeleteBlueprintCommandOutput>;
|
|
37
|
+
deleteBlueprint(args: DeleteBlueprintCommandInput, cb: (err: any, data?: DeleteBlueprintCommandOutput) => void): void;
|
|
38
|
+
deleteBlueprint(args: DeleteBlueprintCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteBlueprintCommandOutput) => void): void;
|
|
39
|
+
/**
|
|
40
|
+
* @see {@link DeleteDataAutomationProjectCommand}
|
|
41
|
+
*/
|
|
42
|
+
deleteDataAutomationProject(args: DeleteDataAutomationProjectCommandInput, options?: __HttpHandlerOptions): Promise<DeleteDataAutomationProjectCommandOutput>;
|
|
43
|
+
deleteDataAutomationProject(args: DeleteDataAutomationProjectCommandInput, cb: (err: any, data?: DeleteDataAutomationProjectCommandOutput) => void): void;
|
|
44
|
+
deleteDataAutomationProject(args: DeleteDataAutomationProjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDataAutomationProjectCommandOutput) => void): void;
|
|
45
|
+
/**
|
|
46
|
+
* @see {@link GetBlueprintCommand}
|
|
47
|
+
*/
|
|
48
|
+
getBlueprint(args: GetBlueprintCommandInput, options?: __HttpHandlerOptions): Promise<GetBlueprintCommandOutput>;
|
|
49
|
+
getBlueprint(args: GetBlueprintCommandInput, cb: (err: any, data?: GetBlueprintCommandOutput) => void): void;
|
|
50
|
+
getBlueprint(args: GetBlueprintCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetBlueprintCommandOutput) => void): void;
|
|
51
|
+
/**
|
|
52
|
+
* @see {@link GetDataAutomationProjectCommand}
|
|
53
|
+
*/
|
|
54
|
+
getDataAutomationProject(args: GetDataAutomationProjectCommandInput, options?: __HttpHandlerOptions): Promise<GetDataAutomationProjectCommandOutput>;
|
|
55
|
+
getDataAutomationProject(args: GetDataAutomationProjectCommandInput, cb: (err: any, data?: GetDataAutomationProjectCommandOutput) => void): void;
|
|
56
|
+
getDataAutomationProject(args: GetDataAutomationProjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetDataAutomationProjectCommandOutput) => void): void;
|
|
57
|
+
/**
|
|
58
|
+
* @see {@link ListBlueprintsCommand}
|
|
59
|
+
*/
|
|
60
|
+
listBlueprints(): Promise<ListBlueprintsCommandOutput>;
|
|
61
|
+
listBlueprints(args: ListBlueprintsCommandInput, options?: __HttpHandlerOptions): Promise<ListBlueprintsCommandOutput>;
|
|
62
|
+
listBlueprints(args: ListBlueprintsCommandInput, cb: (err: any, data?: ListBlueprintsCommandOutput) => void): void;
|
|
63
|
+
listBlueprints(args: ListBlueprintsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListBlueprintsCommandOutput) => void): void;
|
|
64
|
+
/**
|
|
65
|
+
* @see {@link ListDataAutomationProjectsCommand}
|
|
66
|
+
*/
|
|
67
|
+
listDataAutomationProjects(): Promise<ListDataAutomationProjectsCommandOutput>;
|
|
68
|
+
listDataAutomationProjects(args: ListDataAutomationProjectsCommandInput, options?: __HttpHandlerOptions): Promise<ListDataAutomationProjectsCommandOutput>;
|
|
69
|
+
listDataAutomationProjects(args: ListDataAutomationProjectsCommandInput, cb: (err: any, data?: ListDataAutomationProjectsCommandOutput) => void): void;
|
|
70
|
+
listDataAutomationProjects(args: ListDataAutomationProjectsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListDataAutomationProjectsCommandOutput) => void): void;
|
|
71
|
+
/**
|
|
72
|
+
* @see {@link UpdateBlueprintCommand}
|
|
73
|
+
*/
|
|
74
|
+
updateBlueprint(args: UpdateBlueprintCommandInput, options?: __HttpHandlerOptions): Promise<UpdateBlueprintCommandOutput>;
|
|
75
|
+
updateBlueprint(args: UpdateBlueprintCommandInput, cb: (err: any, data?: UpdateBlueprintCommandOutput) => void): void;
|
|
76
|
+
updateBlueprint(args: UpdateBlueprintCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateBlueprintCommandOutput) => void): void;
|
|
77
|
+
/**
|
|
78
|
+
* @see {@link UpdateDataAutomationProjectCommand}
|
|
79
|
+
*/
|
|
80
|
+
updateDataAutomationProject(args: UpdateDataAutomationProjectCommandInput, options?: __HttpHandlerOptions): Promise<UpdateDataAutomationProjectCommandOutput>;
|
|
81
|
+
updateDataAutomationProject(args: UpdateDataAutomationProjectCommandInput, cb: (err: any, data?: UpdateDataAutomationProjectCommandOutput) => void): void;
|
|
82
|
+
updateDataAutomationProject(args: UpdateDataAutomationProjectCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateDataAutomationProjectCommandOutput) => void): void;
|
|
83
|
+
}
|
|
84
|
+
/**
|
|
85
|
+
* Amazon Bedrock Keystone Build
|
|
86
|
+
* @public
|
|
87
|
+
*/
|
|
88
|
+
export declare class BedrockDataAutomation extends BedrockDataAutomationClient implements BedrockDataAutomation {
|
|
89
|
+
}
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
import { HostHeaderInputConfig, HostHeaderResolvedConfig } from "@aws-sdk/middleware-host-header";
|
|
2
|
+
import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
|
|
3
|
+
import { RegionInputConfig, RegionResolvedConfig } from "@smithy/config-resolver";
|
|
4
|
+
import { EndpointInputConfig, EndpointResolvedConfig } from "@smithy/middleware-endpoint";
|
|
5
|
+
import { RetryInputConfig, RetryResolvedConfig } from "@smithy/middleware-retry";
|
|
6
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
7
|
+
import { Client as __Client, DefaultsMode as __DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@smithy/smithy-client";
|
|
8
|
+
import { AwsCredentialIdentityProvider, BodyLengthCalculator as __BodyLengthCalculator, CheckOptionalClientConfig as __CheckOptionalClientConfig, ChecksumConstructor as __ChecksumConstructor, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@smithy/types";
|
|
9
|
+
import { HttpAuthSchemeInputConfig, HttpAuthSchemeResolvedConfig } from "./auth/httpAuthSchemeProvider";
|
|
10
|
+
import { CreateBlueprintCommandInput, CreateBlueprintCommandOutput } from "./commands/CreateBlueprintCommand";
|
|
11
|
+
import { CreateBlueprintVersionCommandInput, CreateBlueprintVersionCommandOutput } from "./commands/CreateBlueprintVersionCommand";
|
|
12
|
+
import { CreateDataAutomationProjectCommandInput, CreateDataAutomationProjectCommandOutput } from "./commands/CreateDataAutomationProjectCommand";
|
|
13
|
+
import { DeleteBlueprintCommandInput, DeleteBlueprintCommandOutput } from "./commands/DeleteBlueprintCommand";
|
|
14
|
+
import { DeleteDataAutomationProjectCommandInput, DeleteDataAutomationProjectCommandOutput } from "./commands/DeleteDataAutomationProjectCommand";
|
|
15
|
+
import { GetBlueprintCommandInput, GetBlueprintCommandOutput } from "./commands/GetBlueprintCommand";
|
|
16
|
+
import { GetDataAutomationProjectCommandInput, GetDataAutomationProjectCommandOutput } from "./commands/GetDataAutomationProjectCommand";
|
|
17
|
+
import { ListBlueprintsCommandInput, ListBlueprintsCommandOutput } from "./commands/ListBlueprintsCommand";
|
|
18
|
+
import { ListDataAutomationProjectsCommandInput, ListDataAutomationProjectsCommandOutput } from "./commands/ListDataAutomationProjectsCommand";
|
|
19
|
+
import { UpdateBlueprintCommandInput, UpdateBlueprintCommandOutput } from "./commands/UpdateBlueprintCommand";
|
|
20
|
+
import { UpdateDataAutomationProjectCommandInput, UpdateDataAutomationProjectCommandOutput } from "./commands/UpdateDataAutomationProjectCommand";
|
|
21
|
+
import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
|
|
22
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
23
|
+
export { __Client };
|
|
24
|
+
/**
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
export type ServiceInputTypes = CreateBlueprintCommandInput | CreateBlueprintVersionCommandInput | CreateDataAutomationProjectCommandInput | DeleteBlueprintCommandInput | DeleteDataAutomationProjectCommandInput | GetBlueprintCommandInput | GetDataAutomationProjectCommandInput | ListBlueprintsCommandInput | ListDataAutomationProjectsCommandInput | UpdateBlueprintCommandInput | UpdateDataAutomationProjectCommandInput;
|
|
28
|
+
/**
|
|
29
|
+
* @public
|
|
30
|
+
*/
|
|
31
|
+
export type ServiceOutputTypes = CreateBlueprintCommandOutput | CreateBlueprintVersionCommandOutput | CreateDataAutomationProjectCommandOutput | DeleteBlueprintCommandOutput | DeleteDataAutomationProjectCommandOutput | GetBlueprintCommandOutput | GetDataAutomationProjectCommandOutput | ListBlueprintsCommandOutput | ListDataAutomationProjectsCommandOutput | UpdateBlueprintCommandOutput | UpdateDataAutomationProjectCommandOutput;
|
|
32
|
+
/**
|
|
33
|
+
* @public
|
|
34
|
+
*/
|
|
35
|
+
export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
36
|
+
/**
|
|
37
|
+
* The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
|
|
38
|
+
*/
|
|
39
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
40
|
+
/**
|
|
41
|
+
* A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
|
|
42
|
+
* that computes the SHA-256 HMAC or checksum of a string or binary buffer.
|
|
43
|
+
* @internal
|
|
44
|
+
*/
|
|
45
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
46
|
+
/**
|
|
47
|
+
* The function that will be used to convert strings into HTTP endpoints.
|
|
48
|
+
* @internal
|
|
49
|
+
*/
|
|
50
|
+
urlParser?: __UrlParser;
|
|
51
|
+
/**
|
|
52
|
+
* A function that can calculate the length of a request body.
|
|
53
|
+
* @internal
|
|
54
|
+
*/
|
|
55
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
56
|
+
/**
|
|
57
|
+
* A function that converts a stream into an array of bytes.
|
|
58
|
+
* @internal
|
|
59
|
+
*/
|
|
60
|
+
streamCollector?: __StreamCollector;
|
|
61
|
+
/**
|
|
62
|
+
* The function that will be used to convert a base64-encoded string to a byte array.
|
|
63
|
+
* @internal
|
|
64
|
+
*/
|
|
65
|
+
base64Decoder?: __Decoder;
|
|
66
|
+
/**
|
|
67
|
+
* The function that will be used to convert binary data to a base64-encoded string.
|
|
68
|
+
* @internal
|
|
69
|
+
*/
|
|
70
|
+
base64Encoder?: __Encoder;
|
|
71
|
+
/**
|
|
72
|
+
* The function that will be used to convert a UTF8-encoded string to a byte array.
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
utf8Decoder?: __Decoder;
|
|
76
|
+
/**
|
|
77
|
+
* The function that will be used to convert binary data to a UTF-8 encoded string.
|
|
78
|
+
* @internal
|
|
79
|
+
*/
|
|
80
|
+
utf8Encoder?: __Encoder;
|
|
81
|
+
/**
|
|
82
|
+
* The runtime environment.
|
|
83
|
+
* @internal
|
|
84
|
+
*/
|
|
85
|
+
runtime?: string;
|
|
86
|
+
/**
|
|
87
|
+
* Disable dynamically changing the endpoint of the client based on the hostPrefix
|
|
88
|
+
* trait of an operation.
|
|
89
|
+
*/
|
|
90
|
+
disableHostPrefix?: boolean;
|
|
91
|
+
/**
|
|
92
|
+
* Unique service identifier.
|
|
93
|
+
* @internal
|
|
94
|
+
*/
|
|
95
|
+
serviceId?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Enables IPv6/IPv4 dualstack endpoint.
|
|
98
|
+
*/
|
|
99
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
100
|
+
/**
|
|
101
|
+
* Enables FIPS compatible endpoints.
|
|
102
|
+
*/
|
|
103
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
104
|
+
/**
|
|
105
|
+
* The AWS region to which this client will send requests
|
|
106
|
+
*/
|
|
107
|
+
region?: string | __Provider<string>;
|
|
108
|
+
/**
|
|
109
|
+
* The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
|
|
110
|
+
* @internal
|
|
111
|
+
*/
|
|
112
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
113
|
+
/**
|
|
114
|
+
* Default credentials provider; Not available in browser runtime.
|
|
115
|
+
* @deprecated
|
|
116
|
+
* @internal
|
|
117
|
+
*/
|
|
118
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
119
|
+
/**
|
|
120
|
+
* Value for how many times a request will be made at most in case of retry.
|
|
121
|
+
*/
|
|
122
|
+
maxAttempts?: number | __Provider<number>;
|
|
123
|
+
/**
|
|
124
|
+
* Specifies which retry algorithm to use.
|
|
125
|
+
* @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
|
|
126
|
+
*
|
|
127
|
+
*/
|
|
128
|
+
retryMode?: string | __Provider<string>;
|
|
129
|
+
/**
|
|
130
|
+
* Optional logger for logging debug/info/warn/error.
|
|
131
|
+
*/
|
|
132
|
+
logger?: __Logger;
|
|
133
|
+
/**
|
|
134
|
+
* Optional extensions
|
|
135
|
+
*/
|
|
136
|
+
extensions?: RuntimeExtension[];
|
|
137
|
+
/**
|
|
138
|
+
* The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
|
|
139
|
+
*/
|
|
140
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
141
|
+
}
|
|
142
|
+
/**
|
|
143
|
+
* @public
|
|
144
|
+
*/
|
|
145
|
+
export type BedrockDataAutomationClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
|
|
146
|
+
/**
|
|
147
|
+
* @public
|
|
148
|
+
*
|
|
149
|
+
* The configuration interface of BedrockDataAutomationClient class constructor that set the region, credentials and other options.
|
|
150
|
+
*/
|
|
151
|
+
export interface BedrockDataAutomationClientConfig extends BedrockDataAutomationClientConfigType {
|
|
152
|
+
}
|
|
153
|
+
/**
|
|
154
|
+
* @public
|
|
155
|
+
*/
|
|
156
|
+
export type BedrockDataAutomationClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
*
|
|
160
|
+
* The resolved configuration interface of BedrockDataAutomationClient class. This is resolved and normalized from the {@link BedrockDataAutomationClientConfig | constructor configuration interface}.
|
|
161
|
+
*/
|
|
162
|
+
export interface BedrockDataAutomationClientResolvedConfig extends BedrockDataAutomationClientResolvedConfigType {
|
|
163
|
+
}
|
|
164
|
+
/**
|
|
165
|
+
* Amazon Bedrock Keystone Build
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
export declare class BedrockDataAutomationClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BedrockDataAutomationClientResolvedConfig> {
|
|
169
|
+
/**
|
|
170
|
+
* The resolved configuration of BedrockDataAutomationClient class. This is resolved and normalized from the {@link BedrockDataAutomationClientConfig | constructor configuration interface}.
|
|
171
|
+
*/
|
|
172
|
+
readonly config: BedrockDataAutomationClientResolvedConfig;
|
|
173
|
+
constructor(...[configuration]: __CheckOptionalClientConfig<BedrockDataAutomationClientConfig>);
|
|
174
|
+
/**
|
|
175
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
176
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
177
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
178
|
+
*/
|
|
179
|
+
destroy(): void;
|
|
180
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
|
|
2
|
+
import { BedrockDataAutomationHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
3
|
+
/**
|
|
4
|
+
* @internal
|
|
5
|
+
*/
|
|
6
|
+
export interface HttpAuthExtensionConfiguration {
|
|
7
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
8
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
9
|
+
setHttpAuthSchemeProvider(httpAuthSchemeProvider: BedrockDataAutomationHttpAuthSchemeProvider): void;
|
|
10
|
+
httpAuthSchemeProvider(): BedrockDataAutomationHttpAuthSchemeProvider;
|
|
11
|
+
setCredentials(credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider): void;
|
|
12
|
+
credentials(): AwsCredentialIdentity | AwsCredentialIdentityProvider | undefined;
|
|
13
|
+
}
|
|
14
|
+
/**
|
|
15
|
+
* @internal
|
|
16
|
+
*/
|
|
17
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
18
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
19
|
+
httpAuthSchemeProvider: BedrockDataAutomationHttpAuthSchemeProvider;
|
|
20
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
21
|
+
}>;
|
|
22
|
+
/**
|
|
23
|
+
* @internal
|
|
24
|
+
*/
|
|
25
|
+
export declare const getHttpAuthExtensionConfiguration: (runtimeConfig: HttpAuthRuntimeConfig) => HttpAuthExtensionConfiguration;
|
|
26
|
+
/**
|
|
27
|
+
* @internal
|
|
28
|
+
*/
|
|
29
|
+
export declare const resolveHttpAuthRuntimeConfig: (config: HttpAuthExtensionConfiguration) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { AwsSdkSigV4AuthInputConfig, AwsSdkSigV4AuthResolvedConfig, AwsSdkSigV4PreviouslyResolved } from "@aws-sdk/core";
|
|
2
|
+
import { HandlerExecutionContext, HttpAuthScheme, HttpAuthSchemeParameters, HttpAuthSchemeParametersProvider, HttpAuthSchemeProvider } from "@smithy/types";
|
|
3
|
+
import { BedrockDataAutomationClientResolvedConfig } from "../BedrockDataAutomationClient";
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
export interface BedrockDataAutomationHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
|
|
8
|
+
region?: string;
|
|
9
|
+
}
|
|
10
|
+
/**
|
|
11
|
+
* @internal
|
|
12
|
+
*/
|
|
13
|
+
export interface BedrockDataAutomationHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<BedrockDataAutomationClientResolvedConfig, HandlerExecutionContext, BedrockDataAutomationHttpAuthSchemeParameters, object> {
|
|
14
|
+
}
|
|
15
|
+
/**
|
|
16
|
+
* @internal
|
|
17
|
+
*/
|
|
18
|
+
export declare const defaultBedrockDataAutomationHttpAuthSchemeParametersProvider: (config: BedrockDataAutomationClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<BedrockDataAutomationHttpAuthSchemeParameters>;
|
|
19
|
+
/**
|
|
20
|
+
* @internal
|
|
21
|
+
*/
|
|
22
|
+
export interface BedrockDataAutomationHttpAuthSchemeProvider extends HttpAuthSchemeProvider<BedrockDataAutomationHttpAuthSchemeParameters> {
|
|
23
|
+
}
|
|
24
|
+
/**
|
|
25
|
+
* @internal
|
|
26
|
+
*/
|
|
27
|
+
export declare const defaultBedrockDataAutomationHttpAuthSchemeProvider: BedrockDataAutomationHttpAuthSchemeProvider;
|
|
28
|
+
/**
|
|
29
|
+
* @internal
|
|
30
|
+
*/
|
|
31
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
32
|
+
/**
|
|
33
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
34
|
+
* @internal
|
|
35
|
+
*/
|
|
36
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
37
|
+
/**
|
|
38
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
39
|
+
* @internal
|
|
40
|
+
*/
|
|
41
|
+
httpAuthSchemeProvider?: BedrockDataAutomationHttpAuthSchemeProvider;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
export interface HttpAuthSchemeResolvedConfig extends AwsSdkSigV4AuthResolvedConfig {
|
|
47
|
+
/**
|
|
48
|
+
* Configuration of HttpAuthSchemes for a client which provides default identity providers and signers per auth scheme.
|
|
49
|
+
* @internal
|
|
50
|
+
*/
|
|
51
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
52
|
+
/**
|
|
53
|
+
* Configuration of an HttpAuthSchemeProvider for a client which resolves which HttpAuthScheme to use.
|
|
54
|
+
* @internal
|
|
55
|
+
*/
|
|
56
|
+
readonly httpAuthSchemeProvider: BedrockDataAutomationHttpAuthSchemeProvider;
|
|
57
|
+
}
|
|
58
|
+
/**
|
|
59
|
+
* @internal
|
|
60
|
+
*/
|
|
61
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockDataAutomationClient";
|
|
4
|
+
import { CreateBlueprintRequest, CreateBlueprintResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateBlueprintCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateBlueprintCommandInput extends CreateBlueprintRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateBlueprintCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateBlueprintCommandOutput extends CreateBlueprintResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateBlueprintCommand_base: {
|
|
25
|
+
new (input: CreateBlueprintCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBlueprintCommandInput, CreateBlueprintCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateBlueprintCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBlueprintCommandInput, CreateBlueprintCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Creates an Amazon Bedrock Keystone Blueprint
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockDataAutomationClient, CreateBlueprintCommand } from "@aws-sdk/client-bedrock-data-automation"; // ES Modules import
|
|
35
|
+
* // const { BedrockDataAutomationClient, CreateBlueprintCommand } = require("@aws-sdk/client-bedrock-data-automation"); // CommonJS import
|
|
36
|
+
* const client = new BedrockDataAutomationClient(config);
|
|
37
|
+
* const input = { // CreateBlueprintRequest
|
|
38
|
+
* blueprintName: "STRING_VALUE", // required
|
|
39
|
+
* type: "DOCUMENT" || "IMAGE", // required
|
|
40
|
+
* blueprintStage: "DEVELOPMENT" || "LIVE",
|
|
41
|
+
* schema: "STRING_VALUE", // required
|
|
42
|
+
* clientToken: "STRING_VALUE",
|
|
43
|
+
* encryptionConfiguration: { // EncryptionConfiguration
|
|
44
|
+
* kmsKeyId: "STRING_VALUE", // required
|
|
45
|
+
* kmsEncryptionContext: { // KmsEncryptionContext
|
|
46
|
+
* "<keys>": "STRING_VALUE",
|
|
47
|
+
* },
|
|
48
|
+
* },
|
|
49
|
+
* };
|
|
50
|
+
* const command = new CreateBlueprintCommand(input);
|
|
51
|
+
* const response = await client.send(command);
|
|
52
|
+
* // { // CreateBlueprintResponse
|
|
53
|
+
* // blueprint: { // Blueprint
|
|
54
|
+
* // blueprintArn: "STRING_VALUE", // required
|
|
55
|
+
* // schema: "STRING_VALUE", // required
|
|
56
|
+
* // type: "DOCUMENT" || "IMAGE", // required
|
|
57
|
+
* // creationTime: new Date("TIMESTAMP"), // required
|
|
58
|
+
* // lastModifiedTime: new Date("TIMESTAMP"), // required
|
|
59
|
+
* // blueprintName: "STRING_VALUE", // required
|
|
60
|
+
* // blueprintVersion: "STRING_VALUE",
|
|
61
|
+
* // blueprintStage: "DEVELOPMENT" || "LIVE",
|
|
62
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
63
|
+
* // kmsEncryptionContext: { // KmsEncryptionContext
|
|
64
|
+
* // "<keys>": "STRING_VALUE",
|
|
65
|
+
* // },
|
|
66
|
+
* // },
|
|
67
|
+
* // };
|
|
68
|
+
*
|
|
69
|
+
* ```
|
|
70
|
+
*
|
|
71
|
+
* @param CreateBlueprintCommandInput - {@link CreateBlueprintCommandInput}
|
|
72
|
+
* @returns {@link CreateBlueprintCommandOutput}
|
|
73
|
+
* @see {@link CreateBlueprintCommandInput} for command's `input` shape.
|
|
74
|
+
* @see {@link CreateBlueprintCommandOutput} for command's `response` shape.
|
|
75
|
+
* @see {@link BedrockDataAutomationClientResolvedConfig | config} for BedrockDataAutomationClient's `config` shape.
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
78
|
+
* This exception is thrown when a request is denied per access permissions
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ConflictException} (client fault)
|
|
81
|
+
* This exception is thrown when there is a conflict performing an operation
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link InternalServerException} (server fault)
|
|
84
|
+
* This exception is thrown if there was an unexpected error during processing of request
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
87
|
+
* This exception is thrown when a request is made beyond the service quota
|
|
88
|
+
*
|
|
89
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
90
|
+
* This exception is thrown when the number of requests exceeds the limit
|
|
91
|
+
*
|
|
92
|
+
* @throws {@link ValidationException} (client fault)
|
|
93
|
+
* This exception is thrown when the request's input validation fails
|
|
94
|
+
*
|
|
95
|
+
* @throws {@link BedrockDataAutomationServiceException}
|
|
96
|
+
* <p>Base exception class for all service exceptions from BedrockDataAutomation service.</p>
|
|
97
|
+
*
|
|
98
|
+
* @public
|
|
99
|
+
*/
|
|
100
|
+
export declare class CreateBlueprintCommand extends CreateBlueprintCommand_base {
|
|
101
|
+
/** @internal type navigation helper, not in runtime. */
|
|
102
|
+
protected static __types: {
|
|
103
|
+
api: {
|
|
104
|
+
input: CreateBlueprintRequest;
|
|
105
|
+
output: CreateBlueprintResponse;
|
|
106
|
+
};
|
|
107
|
+
sdk: {
|
|
108
|
+
input: CreateBlueprintCommandInput;
|
|
109
|
+
output: CreateBlueprintCommandOutput;
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import { BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockDataAutomationClient";
|
|
4
|
+
import { CreateBlueprintVersionRequest, CreateBlueprintVersionResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link CreateBlueprintVersionCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface CreateBlueprintVersionCommandInput extends CreateBlueprintVersionRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link CreateBlueprintVersionCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateBlueprintVersionCommandOutput extends CreateBlueprintVersionResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const CreateBlueprintVersionCommand_base: {
|
|
25
|
+
new (input: CreateBlueprintVersionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBlueprintVersionCommandInput, CreateBlueprintVersionCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: CreateBlueprintVersionCommandInput): import("@smithy/smithy-client").CommandImpl<CreateBlueprintVersionCommandInput, CreateBlueprintVersionCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Creates a new version of an existing Amazon Bedrock Keystone Blueprint
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockDataAutomationClient, CreateBlueprintVersionCommand } from "@aws-sdk/client-bedrock-data-automation"; // ES Modules import
|
|
35
|
+
* // const { BedrockDataAutomationClient, CreateBlueprintVersionCommand } = require("@aws-sdk/client-bedrock-data-automation"); // CommonJS import
|
|
36
|
+
* const client = new BedrockDataAutomationClient(config);
|
|
37
|
+
* const input = { // CreateBlueprintVersionRequest
|
|
38
|
+
* blueprintArn: "STRING_VALUE", // required
|
|
39
|
+
* clientToken: "STRING_VALUE",
|
|
40
|
+
* };
|
|
41
|
+
* const command = new CreateBlueprintVersionCommand(input);
|
|
42
|
+
* const response = await client.send(command);
|
|
43
|
+
* // { // CreateBlueprintVersionResponse
|
|
44
|
+
* // blueprint: { // Blueprint
|
|
45
|
+
* // blueprintArn: "STRING_VALUE", // required
|
|
46
|
+
* // schema: "STRING_VALUE", // required
|
|
47
|
+
* // type: "DOCUMENT" || "IMAGE", // required
|
|
48
|
+
* // creationTime: new Date("TIMESTAMP"), // required
|
|
49
|
+
* // lastModifiedTime: new Date("TIMESTAMP"), // required
|
|
50
|
+
* // blueprintName: "STRING_VALUE", // required
|
|
51
|
+
* // blueprintVersion: "STRING_VALUE",
|
|
52
|
+
* // blueprintStage: "DEVELOPMENT" || "LIVE",
|
|
53
|
+
* // kmsKeyId: "STRING_VALUE",
|
|
54
|
+
* // kmsEncryptionContext: { // KmsEncryptionContext
|
|
55
|
+
* // "<keys>": "STRING_VALUE",
|
|
56
|
+
* // },
|
|
57
|
+
* // },
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param CreateBlueprintVersionCommandInput - {@link CreateBlueprintVersionCommandInput}
|
|
63
|
+
* @returns {@link CreateBlueprintVersionCommandOutput}
|
|
64
|
+
* @see {@link CreateBlueprintVersionCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link CreateBlueprintVersionCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link BedrockDataAutomationClientResolvedConfig | config} for BedrockDataAutomationClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* This exception is thrown when a request is denied per access permissions
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* This exception is thrown if there was an unexpected error during processing of request
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
+
* This exception is thrown when a resource referenced by the operation does not exist
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
78
|
+
* This exception is thrown when a request is made beyond the service quota
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
81
|
+
* This exception is thrown when the number of requests exceeds the limit
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link ValidationException} (client fault)
|
|
84
|
+
* This exception is thrown when the request's input validation fails
|
|
85
|
+
*
|
|
86
|
+
* @throws {@link BedrockDataAutomationServiceException}
|
|
87
|
+
* <p>Base exception class for all service exceptions from BedrockDataAutomation service.</p>
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class CreateBlueprintVersionCommand extends CreateBlueprintVersionCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: CreateBlueprintVersionRequest;
|
|
96
|
+
output: CreateBlueprintVersionResponse;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: CreateBlueprintVersionCommandInput;
|
|
100
|
+
output: CreateBlueprintVersionCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|