@aws-sdk/client-bedrock-data-automation-runtime 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.
Files changed (87) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +227 -0
  3. package/dist-cjs/BedrockDataAutomationRuntime.js +15 -0
  4. package/dist-cjs/BedrockDataAutomationRuntimeClient.js +50 -0
  5. package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
  6. package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
  7. package/dist-cjs/commands/GetDataAutomationStatusCommand.js +26 -0
  8. package/dist-cjs/commands/InvokeDataAutomationAsyncCommand.js +26 -0
  9. package/dist-cjs/commands/index.js +5 -0
  10. package/dist-cjs/endpoint/EndpointParameters.js +18 -0
  11. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  12. package/dist-cjs/endpoint/ruleset.js +7 -0
  13. package/dist-cjs/extensionConfiguration.js +2 -0
  14. package/dist-cjs/index.js +10 -0
  15. package/dist-cjs/models/BedrockDataAutomationRuntimeServiceException.js +12 -0
  16. package/dist-cjs/models/index.js +4 -0
  17. package/dist-cjs/models/models_0.js +97 -0
  18. package/dist-cjs/protocols/Aws_json1_1.js +182 -0
  19. package/dist-cjs/runtimeConfig.browser.js +39 -0
  20. package/dist-cjs/runtimeConfig.js +50 -0
  21. package/dist-cjs/runtimeConfig.native.js +15 -0
  22. package/dist-cjs/runtimeConfig.shared.js +34 -0
  23. package/dist-cjs/runtimeExtensions.js +25 -0
  24. package/dist-es/BedrockDataAutomationRuntime.js +11 -0
  25. package/dist-es/BedrockDataAutomationRuntimeClient.js +46 -0
  26. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  27. package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
  28. package/dist-es/commands/GetDataAutomationStatusCommand.js +22 -0
  29. package/dist-es/commands/InvokeDataAutomationAsyncCommand.js +22 -0
  30. package/dist-es/commands/index.js +2 -0
  31. package/dist-es/endpoint/EndpointParameters.js +14 -0
  32. package/dist-es/endpoint/endpointResolver.js +14 -0
  33. package/dist-es/endpoint/ruleset.js +4 -0
  34. package/dist-es/extensionConfiguration.js +1 -0
  35. package/dist-es/index.js +5 -0
  36. package/dist-es/models/BedrockDataAutomationRuntimeServiceException.js +8 -0
  37. package/dist-es/models/index.js +1 -0
  38. package/dist-es/models/models_0.js +88 -0
  39. package/dist-es/protocols/Aws_json1_1.js +175 -0
  40. package/dist-es/runtimeConfig.browser.js +34 -0
  41. package/dist-es/runtimeConfig.js +45 -0
  42. package/dist-es/runtimeConfig.native.js +11 -0
  43. package/dist-es/runtimeConfig.shared.js +30 -0
  44. package/dist-es/runtimeExtensions.js +21 -0
  45. package/dist-types/BedrockDataAutomationRuntime.d.ts +24 -0
  46. package/dist-types/BedrockDataAutomationRuntimeClient.d.ts +171 -0
  47. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  48. package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
  49. package/dist-types/commands/GetDataAutomationStatusCommand.d.ts +91 -0
  50. package/dist-types/commands/InvokeDataAutomationAsyncCommand.d.ts +114 -0
  51. package/dist-types/commands/index.d.ts +2 -0
  52. package/dist-types/endpoint/EndpointParameters.d.ts +40 -0
  53. package/dist-types/endpoint/endpointResolver.d.ts +5 -0
  54. package/dist-types/endpoint/ruleset.d.ts +2 -0
  55. package/dist-types/extensionConfiguration.d.ts +9 -0
  56. package/dist-types/index.d.ts +13 -0
  57. package/dist-types/models/BedrockDataAutomationRuntimeServiceException.d.ts +14 -0
  58. package/dist-types/models/index.d.ts +1 -0
  59. package/dist-types/models/models_0.d.ts +299 -0
  60. package/dist-types/protocols/Aws_json1_1.d.ts +20 -0
  61. package/dist-types/runtimeConfig.browser.d.ts +48 -0
  62. package/dist-types/runtimeConfig.d.ts +48 -0
  63. package/dist-types/runtimeConfig.native.d.ts +47 -0
  64. package/dist-types/runtimeConfig.shared.d.ts +21 -0
  65. package/dist-types/runtimeExtensions.d.ts +17 -0
  66. package/dist-types/ts3.4/BedrockDataAutomationRuntime.d.ts +41 -0
  67. package/dist-types/ts3.4/BedrockDataAutomationRuntimeClient.d.ts +133 -0
  68. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  69. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +44 -0
  70. package/dist-types/ts3.4/commands/GetDataAutomationStatusCommand.d.ts +51 -0
  71. package/dist-types/ts3.4/commands/InvokeDataAutomationAsyncCommand.d.ts +51 -0
  72. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  73. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  74. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  75. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  76. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  77. package/dist-types/ts3.4/index.d.ts +8 -0
  78. package/dist-types/ts3.4/models/BedrockDataAutomationRuntimeServiceException.d.ts +9 -0
  79. package/dist-types/ts3.4/models/index.d.ts +1 -0
  80. package/dist-types/ts3.4/models/models_0.d.ts +111 -0
  81. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +29 -0
  82. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +95 -0
  83. package/dist-types/ts3.4/runtimeConfig.d.ts +96 -0
  84. package/dist-types/ts3.4/runtimeConfig.native.d.ts +89 -0
  85. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +23 -0
  86. package/dist-types/ts3.4/runtimeExtensions.d.ts +13 -0
  87. package/package.json +103 -0
@@ -0,0 +1,171 @@
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 { GetDataAutomationStatusCommandInput, GetDataAutomationStatusCommandOutput } from "./commands/GetDataAutomationStatusCommand";
11
+ import { InvokeDataAutomationAsyncCommandInput, InvokeDataAutomationAsyncCommandOutput } from "./commands/InvokeDataAutomationAsyncCommand";
12
+ import { ClientInputEndpointParameters, ClientResolvedEndpointParameters, EndpointParameters } from "./endpoint/EndpointParameters";
13
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
14
+ export { __Client };
15
+ /**
16
+ * @public
17
+ */
18
+ export type ServiceInputTypes = GetDataAutomationStatusCommandInput | InvokeDataAutomationAsyncCommandInput;
19
+ /**
20
+ * @public
21
+ */
22
+ export type ServiceOutputTypes = GetDataAutomationStatusCommandOutput | InvokeDataAutomationAsyncCommandOutput;
23
+ /**
24
+ * @public
25
+ */
26
+ export interface ClientDefaults extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
27
+ /**
28
+ * The HTTP handler to use or its constructor options. Fetch in browser and Https in Nodejs.
29
+ */
30
+ requestHandler?: __HttpHandlerUserInput;
31
+ /**
32
+ * A constructor for a class implementing the {@link @smithy/types#ChecksumConstructor} interface
33
+ * that computes the SHA-256 HMAC or checksum of a string or binary buffer.
34
+ * @internal
35
+ */
36
+ sha256?: __ChecksumConstructor | __HashConstructor;
37
+ /**
38
+ * The function that will be used to convert strings into HTTP endpoints.
39
+ * @internal
40
+ */
41
+ urlParser?: __UrlParser;
42
+ /**
43
+ * A function that can calculate the length of a request body.
44
+ * @internal
45
+ */
46
+ bodyLengthChecker?: __BodyLengthCalculator;
47
+ /**
48
+ * A function that converts a stream into an array of bytes.
49
+ * @internal
50
+ */
51
+ streamCollector?: __StreamCollector;
52
+ /**
53
+ * The function that will be used to convert a base64-encoded string to a byte array.
54
+ * @internal
55
+ */
56
+ base64Decoder?: __Decoder;
57
+ /**
58
+ * The function that will be used to convert binary data to a base64-encoded string.
59
+ * @internal
60
+ */
61
+ base64Encoder?: __Encoder;
62
+ /**
63
+ * The function that will be used to convert a UTF8-encoded string to a byte array.
64
+ * @internal
65
+ */
66
+ utf8Decoder?: __Decoder;
67
+ /**
68
+ * The function that will be used to convert binary data to a UTF-8 encoded string.
69
+ * @internal
70
+ */
71
+ utf8Encoder?: __Encoder;
72
+ /**
73
+ * The runtime environment.
74
+ * @internal
75
+ */
76
+ runtime?: string;
77
+ /**
78
+ * Disable dynamically changing the endpoint of the client based on the hostPrefix
79
+ * trait of an operation.
80
+ */
81
+ disableHostPrefix?: boolean;
82
+ /**
83
+ * Unique service identifier.
84
+ * @internal
85
+ */
86
+ serviceId?: string;
87
+ /**
88
+ * Enables IPv6/IPv4 dualstack endpoint.
89
+ */
90
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
91
+ /**
92
+ * Enables FIPS compatible endpoints.
93
+ */
94
+ useFipsEndpoint?: boolean | __Provider<boolean>;
95
+ /**
96
+ * The AWS region to which this client will send requests
97
+ */
98
+ region?: string | __Provider<string>;
99
+ /**
100
+ * The provider populating default tracking information to be sent with `user-agent`, `x-amz-user-agent` header
101
+ * @internal
102
+ */
103
+ defaultUserAgentProvider?: Provider<__UserAgent>;
104
+ /**
105
+ * Default credentials provider; Not available in browser runtime.
106
+ * @deprecated
107
+ * @internal
108
+ */
109
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
110
+ /**
111
+ * Value for how many times a request will be made at most in case of retry.
112
+ */
113
+ maxAttempts?: number | __Provider<number>;
114
+ /**
115
+ * Specifies which retry algorithm to use.
116
+ * @see https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-smithy-util-retry/Enum/RETRY_MODES/
117
+ *
118
+ */
119
+ retryMode?: string | __Provider<string>;
120
+ /**
121
+ * Optional logger for logging debug/info/warn/error.
122
+ */
123
+ logger?: __Logger;
124
+ /**
125
+ * Optional extensions
126
+ */
127
+ extensions?: RuntimeExtension[];
128
+ /**
129
+ * The {@link @smithy/smithy-client#DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
130
+ */
131
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
132
+ }
133
+ /**
134
+ * @public
135
+ */
136
+ export type BedrockDataAutomationRuntimeClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & UserAgentInputConfig & RetryInputConfig & RegionInputConfig & HostHeaderInputConfig & EndpointInputConfig<EndpointParameters> & HttpAuthSchemeInputConfig & ClientInputEndpointParameters;
137
+ /**
138
+ * @public
139
+ *
140
+ * The configuration interface of BedrockDataAutomationRuntimeClient class constructor that set the region, credentials and other options.
141
+ */
142
+ export interface BedrockDataAutomationRuntimeClientConfig extends BedrockDataAutomationRuntimeClientConfigType {
143
+ }
144
+ /**
145
+ * @public
146
+ */
147
+ export type BedrockDataAutomationRuntimeClientResolvedConfigType = __SmithyResolvedConfiguration<__HttpHandlerOptions> & Required<ClientDefaults> & RuntimeExtensionsConfig & UserAgentResolvedConfig & RetryResolvedConfig & RegionResolvedConfig & HostHeaderResolvedConfig & EndpointResolvedConfig<EndpointParameters> & HttpAuthSchemeResolvedConfig & ClientResolvedEndpointParameters;
148
+ /**
149
+ * @public
150
+ *
151
+ * The resolved configuration interface of BedrockDataAutomationRuntimeClient class. This is resolved and normalized from the {@link BedrockDataAutomationRuntimeClientConfig | constructor configuration interface}.
152
+ */
153
+ export interface BedrockDataAutomationRuntimeClientResolvedConfig extends BedrockDataAutomationRuntimeClientResolvedConfigType {
154
+ }
155
+ /**
156
+ * Amazon Bedrock Keystone Runtime
157
+ * @public
158
+ */
159
+ export declare class BedrockDataAutomationRuntimeClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, BedrockDataAutomationRuntimeClientResolvedConfig> {
160
+ /**
161
+ * The resolved configuration of BedrockDataAutomationRuntimeClient class. This is resolved and normalized from the {@link BedrockDataAutomationRuntimeClientConfig | constructor configuration interface}.
162
+ */
163
+ readonly config: BedrockDataAutomationRuntimeClientResolvedConfig;
164
+ constructor(...[configuration]: __CheckOptionalClientConfig<BedrockDataAutomationRuntimeClientConfig>);
165
+ /**
166
+ * Destroy underlying resources, like sockets. It's usually not necessary to do this.
167
+ * However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
168
+ * Otherwise, sockets might stay open for quite a long time before the server terminates them.
169
+ */
170
+ destroy(): void;
171
+ }
@@ -0,0 +1,29 @@
1
+ import { AwsCredentialIdentity, AwsCredentialIdentityProvider, HttpAuthScheme } from "@smithy/types";
2
+ import { BedrockDataAutomationRuntimeHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
3
+ /**
4
+ * @internal
5
+ */
6
+ export interface HttpAuthExtensionConfiguration {
7
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
8
+ httpAuthSchemes(): HttpAuthScheme[];
9
+ setHttpAuthSchemeProvider(httpAuthSchemeProvider: BedrockDataAutomationRuntimeHttpAuthSchemeProvider): void;
10
+ httpAuthSchemeProvider(): BedrockDataAutomationRuntimeHttpAuthSchemeProvider;
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: BedrockDataAutomationRuntimeHttpAuthSchemeProvider;
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 { BedrockDataAutomationRuntimeClientResolvedConfig } from "../BedrockDataAutomationRuntimeClient";
4
+ /**
5
+ * @internal
6
+ */
7
+ export interface BedrockDataAutomationRuntimeHttpAuthSchemeParameters extends HttpAuthSchemeParameters {
8
+ region?: string;
9
+ }
10
+ /**
11
+ * @internal
12
+ */
13
+ export interface BedrockDataAutomationRuntimeHttpAuthSchemeParametersProvider extends HttpAuthSchemeParametersProvider<BedrockDataAutomationRuntimeClientResolvedConfig, HandlerExecutionContext, BedrockDataAutomationRuntimeHttpAuthSchemeParameters, object> {
14
+ }
15
+ /**
16
+ * @internal
17
+ */
18
+ export declare const defaultBedrockDataAutomationRuntimeHttpAuthSchemeParametersProvider: (config: BedrockDataAutomationRuntimeClientResolvedConfig, context: HandlerExecutionContext, input: object) => Promise<BedrockDataAutomationRuntimeHttpAuthSchemeParameters>;
19
+ /**
20
+ * @internal
21
+ */
22
+ export interface BedrockDataAutomationRuntimeHttpAuthSchemeProvider extends HttpAuthSchemeProvider<BedrockDataAutomationRuntimeHttpAuthSchemeParameters> {
23
+ }
24
+ /**
25
+ * @internal
26
+ */
27
+ export declare const defaultBedrockDataAutomationRuntimeHttpAuthSchemeProvider: BedrockDataAutomationRuntimeHttpAuthSchemeProvider;
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?: BedrockDataAutomationRuntimeHttpAuthSchemeProvider;
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: BedrockDataAutomationRuntimeHttpAuthSchemeProvider;
57
+ }
58
+ /**
59
+ * @internal
60
+ */
61
+ export declare const resolveHttpAuthSchemeConfig: <T>(config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,91 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockDataAutomationRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockDataAutomationRuntimeClient";
4
+ import { GetDataAutomationStatusRequest, GetDataAutomationStatusResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link GetDataAutomationStatusCommand}.
14
+ */
15
+ export interface GetDataAutomationStatusCommandInput extends GetDataAutomationStatusRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link GetDataAutomationStatusCommand}.
21
+ */
22
+ export interface GetDataAutomationStatusCommandOutput extends GetDataAutomationStatusResponse, __MetadataBearer {
23
+ }
24
+ declare const GetDataAutomationStatusCommand_base: {
25
+ new (input: GetDataAutomationStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataAutomationStatusCommandInput, GetDataAutomationStatusCommandOutput, BedrockDataAutomationRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: GetDataAutomationStatusCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataAutomationStatusCommandInput, GetDataAutomationStatusCommandOutput, BedrockDataAutomationRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * API used to get data automation status.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockDataAutomationRuntimeClient, GetDataAutomationStatusCommand } from "@aws-sdk/client-bedrock-data-automation-runtime"; // ES Modules import
35
+ * // const { BedrockDataAutomationRuntimeClient, GetDataAutomationStatusCommand } = require("@aws-sdk/client-bedrock-data-automation-runtime"); // CommonJS import
36
+ * const client = new BedrockDataAutomationRuntimeClient(config);
37
+ * const input = { // GetDataAutomationStatusRequest
38
+ * invocationArn: "STRING_VALUE", // required
39
+ * };
40
+ * const command = new GetDataAutomationStatusCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetDataAutomationStatusResponse
43
+ * // status: "Created" || "InProgress" || "Success" || "ServiceError" || "ClientError",
44
+ * // errorType: "STRING_VALUE",
45
+ * // errorMessage: "STRING_VALUE",
46
+ * // outputConfiguration: { // OutputConfiguration
47
+ * // s3Uri: "STRING_VALUE", // required
48
+ * // },
49
+ * // };
50
+ *
51
+ * ```
52
+ *
53
+ * @param GetDataAutomationStatusCommandInput - {@link GetDataAutomationStatusCommandInput}
54
+ * @returns {@link GetDataAutomationStatusCommandOutput}
55
+ * @see {@link GetDataAutomationStatusCommandInput} for command's `input` shape.
56
+ * @see {@link GetDataAutomationStatusCommandOutput} for command's `response` shape.
57
+ * @see {@link BedrockDataAutomationRuntimeClientResolvedConfig | config} for BedrockDataAutomationRuntimeClient's `config` shape.
58
+ *
59
+ * @throws {@link AccessDeniedException} (client fault)
60
+ * This exception will be thrown when customer does not have access to API.
61
+ *
62
+ * @throws {@link InternalServerException} (server fault)
63
+ * This exception is for any internal un-expected service errors.
64
+ *
65
+ * @throws {@link ResourceNotFoundException} (client fault)
66
+ * This exception will be thrown when resource provided from customer not found.
67
+ *
68
+ * @throws {@link ThrottlingException} (client fault)
69
+ * This exception will be thrown when customer reached API TPS limit.
70
+ *
71
+ * @throws {@link ValidationException} (client fault)
72
+ * This exception will be thrown when customer provided invalid parameters.
73
+ *
74
+ * @throws {@link BedrockDataAutomationRuntimeServiceException}
75
+ * <p>Base exception class for all service exceptions from BedrockDataAutomationRuntime service.</p>
76
+ *
77
+ * @public
78
+ */
79
+ export declare class GetDataAutomationStatusCommand extends GetDataAutomationStatusCommand_base {
80
+ /** @internal type navigation helper, not in runtime. */
81
+ protected static __types: {
82
+ api: {
83
+ input: GetDataAutomationStatusRequest;
84
+ output: GetDataAutomationStatusResponse;
85
+ };
86
+ sdk: {
87
+ input: GetDataAutomationStatusCommandInput;
88
+ output: GetDataAutomationStatusCommandOutput;
89
+ };
90
+ };
91
+ }
@@ -0,0 +1,114 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { BedrockDataAutomationRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockDataAutomationRuntimeClient";
4
+ import { InvokeDataAutomationAsyncRequest, InvokeDataAutomationAsyncResponse } from "../models/models_0";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link InvokeDataAutomationAsyncCommand}.
14
+ */
15
+ export interface InvokeDataAutomationAsyncCommandInput extends InvokeDataAutomationAsyncRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link InvokeDataAutomationAsyncCommand}.
21
+ */
22
+ export interface InvokeDataAutomationAsyncCommandOutput extends InvokeDataAutomationAsyncResponse, __MetadataBearer {
23
+ }
24
+ declare const InvokeDataAutomationAsyncCommand_base: {
25
+ new (input: InvokeDataAutomationAsyncCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeDataAutomationAsyncCommandInput, InvokeDataAutomationAsyncCommandOutput, BedrockDataAutomationRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: InvokeDataAutomationAsyncCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeDataAutomationAsyncCommandInput, InvokeDataAutomationAsyncCommandOutput, BedrockDataAutomationRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * Async API: Invoke data automation.
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { BedrockDataAutomationRuntimeClient, InvokeDataAutomationAsyncCommand } from "@aws-sdk/client-bedrock-data-automation-runtime"; // ES Modules import
35
+ * // const { BedrockDataAutomationRuntimeClient, InvokeDataAutomationAsyncCommand } = require("@aws-sdk/client-bedrock-data-automation-runtime"); // CommonJS import
36
+ * const client = new BedrockDataAutomationRuntimeClient(config);
37
+ * const input = { // InvokeDataAutomationAsyncRequest
38
+ * clientToken: "STRING_VALUE",
39
+ * inputConfiguration: { // InputConfiguration
40
+ * s3Uri: "STRING_VALUE", // required
41
+ * },
42
+ * outputConfiguration: { // OutputConfiguration
43
+ * s3Uri: "STRING_VALUE", // required
44
+ * },
45
+ * dataAutomationConfiguration: { // DataAutomationConfiguration
46
+ * dataAutomationArn: "STRING_VALUE", // required
47
+ * stage: "LIVE" || "DEVELOPMENT",
48
+ * },
49
+ * encryptionConfiguration: { // EncryptionConfiguration
50
+ * kmsKeyId: "STRING_VALUE", // required
51
+ * kmsEncryptionContext: { // EncryptionContextMap
52
+ * "<keys>": "STRING_VALUE",
53
+ * },
54
+ * },
55
+ * notificationConfiguration: { // NotificationConfiguration
56
+ * eventBridgeConfiguration: { // EventBridgeConfiguration
57
+ * eventBridgeEnabled: true || false, // required
58
+ * },
59
+ * },
60
+ * blueprints: [ // BlueprintList
61
+ * { // Blueprint
62
+ * blueprintArn: "STRING_VALUE", // required
63
+ * version: "STRING_VALUE",
64
+ * stage: "DEVELOPMENT" || "LIVE",
65
+ * },
66
+ * ],
67
+ * };
68
+ * const command = new InvokeDataAutomationAsyncCommand(input);
69
+ * const response = await client.send(command);
70
+ * // { // InvokeDataAutomationAsyncResponse
71
+ * // invocationArn: "STRING_VALUE", // required
72
+ * // };
73
+ *
74
+ * ```
75
+ *
76
+ * @param InvokeDataAutomationAsyncCommandInput - {@link InvokeDataAutomationAsyncCommandInput}
77
+ * @returns {@link InvokeDataAutomationAsyncCommandOutput}
78
+ * @see {@link InvokeDataAutomationAsyncCommandInput} for command's `input` shape.
79
+ * @see {@link InvokeDataAutomationAsyncCommandOutput} for command's `response` shape.
80
+ * @see {@link BedrockDataAutomationRuntimeClientResolvedConfig | config} for BedrockDataAutomationRuntimeClient's `config` shape.
81
+ *
82
+ * @throws {@link AccessDeniedException} (client fault)
83
+ * This exception will be thrown when customer does not have access to API.
84
+ *
85
+ * @throws {@link InternalServerException} (server fault)
86
+ * This exception is for any internal un-expected service errors.
87
+ *
88
+ * @throws {@link ServiceQuotaExceededException} (client fault)
89
+ * This exception will be thrown when service quota is exceeded.
90
+ *
91
+ * @throws {@link ThrottlingException} (client fault)
92
+ * This exception will be thrown when customer reached API TPS limit.
93
+ *
94
+ * @throws {@link ValidationException} (client fault)
95
+ * This exception will be thrown when customer provided invalid parameters.
96
+ *
97
+ * @throws {@link BedrockDataAutomationRuntimeServiceException}
98
+ * <p>Base exception class for all service exceptions from BedrockDataAutomationRuntime service.</p>
99
+ *
100
+ * @public
101
+ */
102
+ export declare class InvokeDataAutomationAsyncCommand extends InvokeDataAutomationAsyncCommand_base {
103
+ /** @internal type navigation helper, not in runtime. */
104
+ protected static __types: {
105
+ api: {
106
+ input: InvokeDataAutomationAsyncRequest;
107
+ output: InvokeDataAutomationAsyncResponse;
108
+ };
109
+ sdk: {
110
+ input: InvokeDataAutomationAsyncCommandInput;
111
+ output: InvokeDataAutomationAsyncCommandOutput;
112
+ };
113
+ };
114
+ }
@@ -0,0 +1,2 @@
1
+ export * from "./GetDataAutomationStatusCommand";
2
+ export * from "./InvokeDataAutomationAsyncCommand";
@@ -0,0 +1,40 @@
1
+ import { Endpoint, EndpointParameters as __EndpointParameters, EndpointV2, Provider } from "@smithy/types";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface ClientInputEndpointParameters {
6
+ region?: string | Provider<string>;
7
+ useDualstackEndpoint?: boolean | Provider<boolean>;
8
+ useFipsEndpoint?: boolean | Provider<boolean>;
9
+ endpoint?: string | Provider<string> | Endpoint | Provider<Endpoint> | EndpointV2 | Provider<EndpointV2>;
10
+ }
11
+ export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
12
+ defaultSigningName: string;
13
+ };
14
+ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInputEndpointParameters) => T & ClientInputEndpointParameters & {
15
+ defaultSigningName: string;
16
+ };
17
+ export declare const commonParams: {
18
+ readonly UseFIPS: {
19
+ readonly type: "builtInParams";
20
+ readonly name: "useFipsEndpoint";
21
+ };
22
+ readonly Endpoint: {
23
+ readonly type: "builtInParams";
24
+ readonly name: "endpoint";
25
+ };
26
+ readonly Region: {
27
+ readonly type: "builtInParams";
28
+ readonly name: "region";
29
+ };
30
+ readonly UseDualStack: {
31
+ readonly type: "builtInParams";
32
+ readonly name: "useDualstackEndpoint";
33
+ };
34
+ };
35
+ export interface EndpointParameters extends __EndpointParameters {
36
+ Region?: string;
37
+ UseDualStack?: boolean;
38
+ UseFIPS?: boolean;
39
+ Endpoint?: string;
40
+ }
@@ -0,0 +1,5 @@
1
+ import { EndpointV2, Logger } from "@smithy/types";
2
+ import { EndpointParameters } from "./EndpointParameters";
3
+ export declare const defaultEndpointResolver: (endpointParams: EndpointParameters, context?: {
4
+ logger?: Logger;
5
+ }) => EndpointV2;
@@ -0,0 +1,2 @@
1
+ import { RuleSetObject } from "@smithy/types";
2
+ export declare const ruleSet: RuleSetObject;
@@ -0,0 +1,9 @@
1
+ import { AwsRegionExtensionConfiguration } from "@aws-sdk/types";
2
+ import { HttpHandlerExtensionConfiguration } from "@smithy/protocol-http";
3
+ import { DefaultExtensionConfiguration } from "@smithy/types";
4
+ import { HttpAuthExtensionConfiguration } from "./auth/httpAuthExtensionConfiguration";
5
+ /**
6
+ * @internal
7
+ */
8
+ export interface BedrockDataAutomationRuntimeExtensionConfiguration extends HttpHandlerExtensionConfiguration, DefaultExtensionConfiguration, AwsRegionExtensionConfiguration, HttpAuthExtensionConfiguration {
9
+ }
@@ -0,0 +1,13 @@
1
+ /**
2
+ * Amazon Bedrock Keystone Runtime
3
+ *
4
+ * @packageDocumentation
5
+ */
6
+ export * from "./BedrockDataAutomationRuntimeClient";
7
+ export * from "./BedrockDataAutomationRuntime";
8
+ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
9
+ export type { RuntimeExtension } from "./runtimeExtensions";
10
+ export type { BedrockDataAutomationRuntimeExtensionConfiguration } from "./extensionConfiguration";
11
+ export * from "./commands";
12
+ export * from "./models";
13
+ export { BedrockDataAutomationRuntimeServiceException } from "./models/BedrockDataAutomationRuntimeServiceException";
@@ -0,0 +1,14 @@
1
+ import { ServiceException as __ServiceException, ServiceExceptionOptions as __ServiceExceptionOptions } from "@smithy/smithy-client";
2
+ export type { __ServiceExceptionOptions };
3
+ export { __ServiceException };
4
+ /**
5
+ * @public
6
+ *
7
+ * Base exception class for all service exceptions from BedrockDataAutomationRuntime service.
8
+ */
9
+ export declare class BedrockDataAutomationRuntimeServiceException extends __ServiceException {
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(options: __ServiceExceptionOptions);
14
+ }
@@ -0,0 +1 @@
1
+ export * from "./models_0";