@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.
- package/LICENSE +201 -0
- package/README.md +227 -0
- package/dist-cjs/BedrockDataAutomationRuntime.js +15 -0
- package/dist-cjs/BedrockDataAutomationRuntimeClient.js +50 -0
- package/dist-cjs/auth/httpAuthExtensionConfiguration.js +43 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +47 -0
- package/dist-cjs/commands/GetDataAutomationStatusCommand.js +26 -0
- package/dist-cjs/commands/InvokeDataAutomationAsyncCommand.js +26 -0
- package/dist-cjs/commands/index.js +5 -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 +10 -0
- package/dist-cjs/models/BedrockDataAutomationRuntimeServiceException.js +12 -0
- package/dist-cjs/models/index.js +4 -0
- package/dist-cjs/models/models_0.js +97 -0
- package/dist-cjs/protocols/Aws_json1_1.js +182 -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/BedrockDataAutomationRuntime.js +11 -0
- package/dist-es/BedrockDataAutomationRuntimeClient.js +46 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +41 -0
- package/dist-es/commands/GetDataAutomationStatusCommand.js +22 -0
- package/dist-es/commands/InvokeDataAutomationAsyncCommand.js +22 -0
- package/dist-es/commands/index.js +2 -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 +5 -0
- package/dist-es/models/BedrockDataAutomationRuntimeServiceException.js +8 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +88 -0
- package/dist-es/protocols/Aws_json1_1.js +175 -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/BedrockDataAutomationRuntime.d.ts +24 -0
- package/dist-types/BedrockDataAutomationRuntimeClient.d.ts +171 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +61 -0
- package/dist-types/commands/GetDataAutomationStatusCommand.d.ts +91 -0
- package/dist-types/commands/InvokeDataAutomationAsyncCommand.d.ts +114 -0
- package/dist-types/commands/index.d.ts +2 -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 +13 -0
- package/dist-types/models/BedrockDataAutomationRuntimeServiceException.d.ts +14 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +299 -0
- package/dist-types/protocols/Aws_json1_1.d.ts +20 -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/BedrockDataAutomationRuntime.d.ts +41 -0
- package/dist-types/ts3.4/BedrockDataAutomationRuntimeClient.d.ts +133 -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/GetDataAutomationStatusCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/InvokeDataAutomationAsyncCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -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 +8 -0
- package/dist-types/ts3.4/models/BedrockDataAutomationRuntimeServiceException.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 +111 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +29 -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,32 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsCredentialIdentity,
|
|
3
|
+
AwsCredentialIdentityProvider,
|
|
4
|
+
HttpAuthScheme,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import { BedrockDataAutomationRuntimeHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
|
|
7
|
+
export interface HttpAuthExtensionConfiguration {
|
|
8
|
+
setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
|
|
9
|
+
httpAuthSchemes(): HttpAuthScheme[];
|
|
10
|
+
setHttpAuthSchemeProvider(
|
|
11
|
+
httpAuthSchemeProvider: BedrockDataAutomationRuntimeHttpAuthSchemeProvider
|
|
12
|
+
): void;
|
|
13
|
+
httpAuthSchemeProvider(): BedrockDataAutomationRuntimeHttpAuthSchemeProvider;
|
|
14
|
+
setCredentials(
|
|
15
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
|
|
16
|
+
): void;
|
|
17
|
+
credentials():
|
|
18
|
+
| AwsCredentialIdentity
|
|
19
|
+
| AwsCredentialIdentityProvider
|
|
20
|
+
| undefined;
|
|
21
|
+
}
|
|
22
|
+
export type HttpAuthRuntimeConfig = Partial<{
|
|
23
|
+
httpAuthSchemes: HttpAuthScheme[];
|
|
24
|
+
httpAuthSchemeProvider: BedrockDataAutomationRuntimeHttpAuthSchemeProvider;
|
|
25
|
+
credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
|
|
26
|
+
}>;
|
|
27
|
+
export declare const getHttpAuthExtensionConfiguration: (
|
|
28
|
+
runtimeConfig: HttpAuthRuntimeConfig
|
|
29
|
+
) => HttpAuthExtensionConfiguration;
|
|
30
|
+
export declare const resolveHttpAuthRuntimeConfig: (
|
|
31
|
+
config: HttpAuthExtensionConfiguration
|
|
32
|
+
) => HttpAuthRuntimeConfig;
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import {
|
|
2
|
+
AwsSdkSigV4AuthInputConfig,
|
|
3
|
+
AwsSdkSigV4AuthResolvedConfig,
|
|
4
|
+
AwsSdkSigV4PreviouslyResolved,
|
|
5
|
+
} from "@aws-sdk/core";
|
|
6
|
+
import {
|
|
7
|
+
HandlerExecutionContext,
|
|
8
|
+
HttpAuthScheme,
|
|
9
|
+
HttpAuthSchemeParameters,
|
|
10
|
+
HttpAuthSchemeParametersProvider,
|
|
11
|
+
HttpAuthSchemeProvider,
|
|
12
|
+
} from "@smithy/types";
|
|
13
|
+
import { BedrockDataAutomationRuntimeClientResolvedConfig } from "../BedrockDataAutomationRuntimeClient";
|
|
14
|
+
export interface BedrockDataAutomationRuntimeHttpAuthSchemeParameters
|
|
15
|
+
extends HttpAuthSchemeParameters {
|
|
16
|
+
region?: string;
|
|
17
|
+
}
|
|
18
|
+
export interface BedrockDataAutomationRuntimeHttpAuthSchemeParametersProvider
|
|
19
|
+
extends HttpAuthSchemeParametersProvider<
|
|
20
|
+
BedrockDataAutomationRuntimeClientResolvedConfig,
|
|
21
|
+
HandlerExecutionContext,
|
|
22
|
+
BedrockDataAutomationRuntimeHttpAuthSchemeParameters,
|
|
23
|
+
object
|
|
24
|
+
> {}
|
|
25
|
+
export declare const defaultBedrockDataAutomationRuntimeHttpAuthSchemeParametersProvider: (
|
|
26
|
+
config: BedrockDataAutomationRuntimeClientResolvedConfig,
|
|
27
|
+
context: HandlerExecutionContext,
|
|
28
|
+
input: object
|
|
29
|
+
) => Promise<BedrockDataAutomationRuntimeHttpAuthSchemeParameters>;
|
|
30
|
+
export interface BedrockDataAutomationRuntimeHttpAuthSchemeProvider
|
|
31
|
+
extends HttpAuthSchemeProvider<BedrockDataAutomationRuntimeHttpAuthSchemeParameters> {}
|
|
32
|
+
export declare const defaultBedrockDataAutomationRuntimeHttpAuthSchemeProvider: BedrockDataAutomationRuntimeHttpAuthSchemeProvider;
|
|
33
|
+
export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
|
|
34
|
+
httpAuthSchemes?: HttpAuthScheme[];
|
|
35
|
+
httpAuthSchemeProvider?: BedrockDataAutomationRuntimeHttpAuthSchemeProvider;
|
|
36
|
+
}
|
|
37
|
+
export interface HttpAuthSchemeResolvedConfig
|
|
38
|
+
extends AwsSdkSigV4AuthResolvedConfig {
|
|
39
|
+
readonly httpAuthSchemes: HttpAuthScheme[];
|
|
40
|
+
readonly httpAuthSchemeProvider: BedrockDataAutomationRuntimeHttpAuthSchemeProvider;
|
|
41
|
+
}
|
|
42
|
+
export declare const resolveHttpAuthSchemeConfig: <T>(
|
|
43
|
+
config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
|
|
44
|
+
) => T & HttpAuthSchemeResolvedConfig;
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockDataAutomationRuntimeClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockDataAutomationRuntimeClient";
|
|
8
|
+
import {
|
|
9
|
+
GetDataAutomationStatusRequest,
|
|
10
|
+
GetDataAutomationStatusResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface GetDataAutomationStatusCommandInput
|
|
15
|
+
extends GetDataAutomationStatusRequest {}
|
|
16
|
+
export interface GetDataAutomationStatusCommandOutput
|
|
17
|
+
extends GetDataAutomationStatusResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const GetDataAutomationStatusCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: GetDataAutomationStatusCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
GetDataAutomationStatusCommandInput,
|
|
24
|
+
GetDataAutomationStatusCommandOutput,
|
|
25
|
+
BedrockDataAutomationRuntimeClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: GetDataAutomationStatusCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
GetDataAutomationStatusCommandInput,
|
|
33
|
+
GetDataAutomationStatusCommandOutput,
|
|
34
|
+
BedrockDataAutomationRuntimeClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class GetDataAutomationStatusCommand extends GetDataAutomationStatusCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: GetDataAutomationStatusRequest;
|
|
44
|
+
output: GetDataAutomationStatusResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: GetDataAutomationStatusCommandInput;
|
|
48
|
+
output: GetDataAutomationStatusCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import {
|
|
4
|
+
BedrockDataAutomationRuntimeClientResolvedConfig,
|
|
5
|
+
ServiceInputTypes,
|
|
6
|
+
ServiceOutputTypes,
|
|
7
|
+
} from "../BedrockDataAutomationRuntimeClient";
|
|
8
|
+
import {
|
|
9
|
+
InvokeDataAutomationAsyncRequest,
|
|
10
|
+
InvokeDataAutomationAsyncResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface InvokeDataAutomationAsyncCommandInput
|
|
15
|
+
extends InvokeDataAutomationAsyncRequest {}
|
|
16
|
+
export interface InvokeDataAutomationAsyncCommandOutput
|
|
17
|
+
extends InvokeDataAutomationAsyncResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const InvokeDataAutomationAsyncCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: InvokeDataAutomationAsyncCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
InvokeDataAutomationAsyncCommandInput,
|
|
24
|
+
InvokeDataAutomationAsyncCommandOutput,
|
|
25
|
+
BedrockDataAutomationRuntimeClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: InvokeDataAutomationAsyncCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
InvokeDataAutomationAsyncCommandInput,
|
|
33
|
+
InvokeDataAutomationAsyncCommandOutput,
|
|
34
|
+
BedrockDataAutomationRuntimeClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class InvokeDataAutomationAsyncCommand extends InvokeDataAutomationAsyncCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: InvokeDataAutomationAsyncRequest;
|
|
44
|
+
output: InvokeDataAutomationAsyncResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: InvokeDataAutomationAsyncCommandInput;
|
|
48
|
+
output: InvokeDataAutomationAsyncCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Endpoint,
|
|
3
|
+
EndpointParameters as __EndpointParameters,
|
|
4
|
+
EndpointV2,
|
|
5
|
+
Provider,
|
|
6
|
+
} from "@smithy/types";
|
|
7
|
+
export interface ClientInputEndpointParameters {
|
|
8
|
+
region?: string | Provider<string>;
|
|
9
|
+
useDualstackEndpoint?: boolean | Provider<boolean>;
|
|
10
|
+
useFipsEndpoint?: boolean | Provider<boolean>;
|
|
11
|
+
endpoint?:
|
|
12
|
+
| string
|
|
13
|
+
| Provider<string>
|
|
14
|
+
| Endpoint
|
|
15
|
+
| Provider<Endpoint>
|
|
16
|
+
| EndpointV2
|
|
17
|
+
| Provider<EndpointV2>;
|
|
18
|
+
}
|
|
19
|
+
export type ClientResolvedEndpointParameters = ClientInputEndpointParameters & {
|
|
20
|
+
defaultSigningName: string;
|
|
21
|
+
};
|
|
22
|
+
export declare const resolveClientEndpointParameters: <T>(
|
|
23
|
+
options: T & ClientInputEndpointParameters
|
|
24
|
+
) => T &
|
|
25
|
+
ClientInputEndpointParameters & {
|
|
26
|
+
defaultSigningName: string;
|
|
27
|
+
};
|
|
28
|
+
export declare const commonParams: {
|
|
29
|
+
readonly UseFIPS: {
|
|
30
|
+
readonly type: "builtInParams";
|
|
31
|
+
readonly name: "useFipsEndpoint";
|
|
32
|
+
};
|
|
33
|
+
readonly Endpoint: {
|
|
34
|
+
readonly type: "builtInParams";
|
|
35
|
+
readonly name: "endpoint";
|
|
36
|
+
};
|
|
37
|
+
readonly Region: {
|
|
38
|
+
readonly type: "builtInParams";
|
|
39
|
+
readonly name: "region";
|
|
40
|
+
};
|
|
41
|
+
readonly UseDualStack: {
|
|
42
|
+
readonly type: "builtInParams";
|
|
43
|
+
readonly name: "useDualstackEndpoint";
|
|
44
|
+
};
|
|
45
|
+
};
|
|
46
|
+
export interface EndpointParameters extends __EndpointParameters {
|
|
47
|
+
Region?: string;
|
|
48
|
+
UseDualStack?: boolean;
|
|
49
|
+
UseFIPS?: boolean;
|
|
50
|
+
Endpoint?: string;
|
|
51
|
+
}
|
|
@@ -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
|
+
export interface BedrockDataAutomationRuntimeExtensionConfiguration
|
|
6
|
+
extends HttpHandlerExtensionConfiguration,
|
|
7
|
+
DefaultExtensionConfiguration,
|
|
8
|
+
AwsRegionExtensionConfiguration,
|
|
9
|
+
HttpAuthExtensionConfiguration {}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export * from "./BedrockDataAutomationRuntimeClient";
|
|
2
|
+
export * from "./BedrockDataAutomationRuntime";
|
|
3
|
+
export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
|
|
4
|
+
export { RuntimeExtension } from "./runtimeExtensions";
|
|
5
|
+
export { BedrockDataAutomationRuntimeExtensionConfiguration } from "./extensionConfiguration";
|
|
6
|
+
export * from "./commands";
|
|
7
|
+
export * from "./models";
|
|
8
|
+
export { BedrockDataAutomationRuntimeServiceException } from "./models/BedrockDataAutomationRuntimeServiceException";
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import {
|
|
2
|
+
ServiceException as __ServiceException,
|
|
3
|
+
ServiceExceptionOptions as __ServiceExceptionOptions,
|
|
4
|
+
} from "@smithy/smithy-client";
|
|
5
|
+
export { __ServiceExceptionOptions };
|
|
6
|
+
export { __ServiceException };
|
|
7
|
+
export declare class BedrockDataAutomationRuntimeServiceException extends __ServiceException {
|
|
8
|
+
constructor(options: __ServiceExceptionOptions);
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./models_0";
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
|
|
2
|
+
import { BedrockDataAutomationRuntimeServiceException as __BaseException } from "./BedrockDataAutomationRuntimeServiceException";
|
|
3
|
+
export declare class AccessDeniedException extends __BaseException {
|
|
4
|
+
readonly name: "AccessDeniedException";
|
|
5
|
+
readonly $fault: "client";
|
|
6
|
+
constructor(
|
|
7
|
+
opts: __ExceptionOptionType<AccessDeniedException, __BaseException>
|
|
8
|
+
);
|
|
9
|
+
}
|
|
10
|
+
export interface GetDataAutomationStatusRequest {
|
|
11
|
+
invocationArn: string | undefined;
|
|
12
|
+
}
|
|
13
|
+
export interface OutputConfiguration {
|
|
14
|
+
s3Uri: string | undefined;
|
|
15
|
+
}
|
|
16
|
+
export declare const AutomationJobStatus: {
|
|
17
|
+
readonly CLIENT_ERROR: "ClientError";
|
|
18
|
+
readonly CREATED: "Created";
|
|
19
|
+
readonly IN_PROGRESS: "InProgress";
|
|
20
|
+
readonly SERVICE_ERROR: "ServiceError";
|
|
21
|
+
readonly SUCCESS: "Success";
|
|
22
|
+
};
|
|
23
|
+
export type AutomationJobStatus =
|
|
24
|
+
(typeof AutomationJobStatus)[keyof typeof AutomationJobStatus];
|
|
25
|
+
export interface GetDataAutomationStatusResponse {
|
|
26
|
+
status?: AutomationJobStatus | undefined;
|
|
27
|
+
errorType?: string | undefined;
|
|
28
|
+
errorMessage?: string | undefined;
|
|
29
|
+
outputConfiguration?: OutputConfiguration | undefined;
|
|
30
|
+
}
|
|
31
|
+
export declare class InternalServerException extends __BaseException {
|
|
32
|
+
readonly name: "InternalServerException";
|
|
33
|
+
readonly $fault: "server";
|
|
34
|
+
constructor(
|
|
35
|
+
opts: __ExceptionOptionType<InternalServerException, __BaseException>
|
|
36
|
+
);
|
|
37
|
+
}
|
|
38
|
+
export declare class ResourceNotFoundException extends __BaseException {
|
|
39
|
+
readonly name: "ResourceNotFoundException";
|
|
40
|
+
readonly $fault: "client";
|
|
41
|
+
constructor(
|
|
42
|
+
opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>
|
|
43
|
+
);
|
|
44
|
+
}
|
|
45
|
+
export declare class ThrottlingException extends __BaseException {
|
|
46
|
+
readonly name: "ThrottlingException";
|
|
47
|
+
readonly $fault: "client";
|
|
48
|
+
constructor(
|
|
49
|
+
opts: __ExceptionOptionType<ThrottlingException, __BaseException>
|
|
50
|
+
);
|
|
51
|
+
}
|
|
52
|
+
export declare class ValidationException extends __BaseException {
|
|
53
|
+
readonly name: "ValidationException";
|
|
54
|
+
readonly $fault: "client";
|
|
55
|
+
constructor(
|
|
56
|
+
opts: __ExceptionOptionType<ValidationException, __BaseException>
|
|
57
|
+
);
|
|
58
|
+
}
|
|
59
|
+
export declare const BlueprintStage: {
|
|
60
|
+
readonly DEVELOPMENT: "DEVELOPMENT";
|
|
61
|
+
readonly LIVE: "LIVE";
|
|
62
|
+
};
|
|
63
|
+
export type BlueprintStage =
|
|
64
|
+
(typeof BlueprintStage)[keyof typeof BlueprintStage];
|
|
65
|
+
export interface Blueprint {
|
|
66
|
+
blueprintArn: string | undefined;
|
|
67
|
+
version?: string | undefined;
|
|
68
|
+
stage?: BlueprintStage | undefined;
|
|
69
|
+
}
|
|
70
|
+
export declare const DataAutomationStage: {
|
|
71
|
+
readonly DEVELOPMENT: "DEVELOPMENT";
|
|
72
|
+
readonly LIVE: "LIVE";
|
|
73
|
+
};
|
|
74
|
+
export type DataAutomationStage =
|
|
75
|
+
(typeof DataAutomationStage)[keyof typeof DataAutomationStage];
|
|
76
|
+
export interface DataAutomationConfiguration {
|
|
77
|
+
dataAutomationArn: string | undefined;
|
|
78
|
+
stage?: DataAutomationStage | undefined;
|
|
79
|
+
}
|
|
80
|
+
export interface EncryptionConfiguration {
|
|
81
|
+
kmsKeyId: string | undefined;
|
|
82
|
+
kmsEncryptionContext?: Record<string, string> | undefined;
|
|
83
|
+
}
|
|
84
|
+
export interface InputConfiguration {
|
|
85
|
+
s3Uri: string | undefined;
|
|
86
|
+
}
|
|
87
|
+
export interface EventBridgeConfiguration {
|
|
88
|
+
eventBridgeEnabled: boolean | undefined;
|
|
89
|
+
}
|
|
90
|
+
export interface NotificationConfiguration {
|
|
91
|
+
eventBridgeConfiguration: EventBridgeConfiguration | undefined;
|
|
92
|
+
}
|
|
93
|
+
export interface InvokeDataAutomationAsyncRequest {
|
|
94
|
+
clientToken?: string | undefined;
|
|
95
|
+
inputConfiguration: InputConfiguration | undefined;
|
|
96
|
+
outputConfiguration: OutputConfiguration | undefined;
|
|
97
|
+
dataAutomationConfiguration?: DataAutomationConfiguration | undefined;
|
|
98
|
+
encryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
99
|
+
notificationConfiguration?: NotificationConfiguration | undefined;
|
|
100
|
+
blueprints?: Blueprint[] | undefined;
|
|
101
|
+
}
|
|
102
|
+
export interface InvokeDataAutomationAsyncResponse {
|
|
103
|
+
invocationArn: string | undefined;
|
|
104
|
+
}
|
|
105
|
+
export declare class ServiceQuotaExceededException extends __BaseException {
|
|
106
|
+
readonly name: "ServiceQuotaExceededException";
|
|
107
|
+
readonly $fault: "client";
|
|
108
|
+
constructor(
|
|
109
|
+
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
110
|
+
);
|
|
111
|
+
}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HttpRequest as __HttpRequest,
|
|
3
|
+
HttpResponse as __HttpResponse,
|
|
4
|
+
} from "@smithy/protocol-http";
|
|
5
|
+
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
GetDataAutomationStatusCommandInput,
|
|
8
|
+
GetDataAutomationStatusCommandOutput,
|
|
9
|
+
} from "../commands/GetDataAutomationStatusCommand";
|
|
10
|
+
import {
|
|
11
|
+
InvokeDataAutomationAsyncCommandInput,
|
|
12
|
+
InvokeDataAutomationAsyncCommandOutput,
|
|
13
|
+
} from "../commands/InvokeDataAutomationAsyncCommand";
|
|
14
|
+
export declare const se_GetDataAutomationStatusCommand: (
|
|
15
|
+
input: GetDataAutomationStatusCommandInput,
|
|
16
|
+
context: __SerdeContext
|
|
17
|
+
) => Promise<__HttpRequest>;
|
|
18
|
+
export declare const se_InvokeDataAutomationAsyncCommand: (
|
|
19
|
+
input: InvokeDataAutomationAsyncCommandInput,
|
|
20
|
+
context: __SerdeContext
|
|
21
|
+
) => Promise<__HttpRequest>;
|
|
22
|
+
export declare const de_GetDataAutomationStatusCommand: (
|
|
23
|
+
output: __HttpResponse,
|
|
24
|
+
context: __SerdeContext
|
|
25
|
+
) => Promise<GetDataAutomationStatusCommandOutput>;
|
|
26
|
+
export declare const de_InvokeDataAutomationAsyncCommand: (
|
|
27
|
+
output: __HttpResponse,
|
|
28
|
+
context: __SerdeContext
|
|
29
|
+
) => Promise<InvokeDataAutomationAsyncCommandOutput>;
|
|
@@ -0,0 +1,95 @@
|
|
|
1
|
+
import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
|
|
2
|
+
import { BedrockDataAutomationRuntimeClientConfig } from "./BedrockDataAutomationRuntimeClient";
|
|
3
|
+
export declare const getRuntimeConfig: (
|
|
4
|
+
config: BedrockDataAutomationRuntimeClientConfig
|
|
5
|
+
) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
8
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
|
+
>;
|
|
10
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
+
credentialDefaultProvider: (
|
|
12
|
+
input: any
|
|
13
|
+
) => import("@smithy/types").AwsCredentialIdentityProvider;
|
|
14
|
+
defaultUserAgentProvider: (
|
|
15
|
+
config?:
|
|
16
|
+
| import("@aws-sdk/util-user-agent-browser").PreviouslyResolved
|
|
17
|
+
| undefined
|
|
18
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
19
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
20
|
+
region: string | import("@smithy/types").Provider<any>;
|
|
21
|
+
requestHandler:
|
|
22
|
+
| import("@smithy/protocol-http").HttpHandler<any>
|
|
23
|
+
| RequestHandler;
|
|
24
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
25
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
26
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
27
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
28
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
29
|
+
apiVersion: string;
|
|
30
|
+
cacheMiddleware?: boolean | undefined;
|
|
31
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
32
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
33
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
34
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
35
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
36
|
+
disableHostPrefix: boolean;
|
|
37
|
+
serviceId: string;
|
|
38
|
+
logger: import("@smithy/types").Logger;
|
|
39
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
40
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
41
|
+
userAgentAppId?:
|
|
42
|
+
| string
|
|
43
|
+
| import("@smithy/types").Provider<string | undefined>
|
|
44
|
+
| undefined;
|
|
45
|
+
retryStrategy?:
|
|
46
|
+
| import("@smithy/types").RetryStrategy
|
|
47
|
+
| import("@smithy/types").RetryStrategyV2
|
|
48
|
+
| undefined;
|
|
49
|
+
endpoint?:
|
|
50
|
+
| ((
|
|
51
|
+
| string
|
|
52
|
+
| import("@smithy/types").Endpoint
|
|
53
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
54
|
+
| import("@smithy/types").EndpointV2
|
|
55
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
56
|
+
) &
|
|
57
|
+
(
|
|
58
|
+
| string
|
|
59
|
+
| import("@smithy/types").Provider<string>
|
|
60
|
+
| import("@smithy/types").Endpoint
|
|
61
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
62
|
+
| import("@smithy/types").EndpointV2
|
|
63
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
64
|
+
))
|
|
65
|
+
| undefined;
|
|
66
|
+
endpointProvider: (
|
|
67
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
68
|
+
context?: {
|
|
69
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
70
|
+
}
|
|
71
|
+
) => import("@smithy/types").EndpointV2;
|
|
72
|
+
tls?: boolean | undefined;
|
|
73
|
+
serviceConfiguredEndpoint?: undefined;
|
|
74
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
75
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockDataAutomationRuntimeHttpAuthSchemeProvider;
|
|
76
|
+
credentials?:
|
|
77
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
78
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
79
|
+
| undefined;
|
|
80
|
+
signer?:
|
|
81
|
+
| import("@smithy/types").RequestSigner
|
|
82
|
+
| ((
|
|
83
|
+
authScheme?: import("@smithy/types").AuthScheme | undefined
|
|
84
|
+
) => Promise<import("@smithy/types").RequestSigner>)
|
|
85
|
+
| undefined;
|
|
86
|
+
signingEscapePath?: boolean | undefined;
|
|
87
|
+
systemClockOffset?: number | undefined;
|
|
88
|
+
signingRegion?: string | undefined;
|
|
89
|
+
signerConstructor?:
|
|
90
|
+
| (new (
|
|
91
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
92
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
93
|
+
) => import("@smithy/types").RequestSigner)
|
|
94
|
+
| undefined;
|
|
95
|
+
};
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
|
|
2
|
+
import { BedrockDataAutomationRuntimeClientConfig } from "./BedrockDataAutomationRuntimeClient";
|
|
3
|
+
export declare const getRuntimeConfig: (
|
|
4
|
+
config: BedrockDataAutomationRuntimeClientConfig
|
|
5
|
+
) => {
|
|
6
|
+
runtime: string;
|
|
7
|
+
defaultsMode: import("@smithy/types").Provider<
|
|
8
|
+
import("@smithy/smithy-client").ResolvedDefaultsMode
|
|
9
|
+
>;
|
|
10
|
+
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
11
|
+
credentialDefaultProvider: (
|
|
12
|
+
init?:
|
|
13
|
+
| import("@aws-sdk/credential-provider-node").DefaultProviderInit
|
|
14
|
+
| undefined
|
|
15
|
+
) => import("@smithy/types").MemoizedProvider<
|
|
16
|
+
import("@smithy/types").AwsCredentialIdentity
|
|
17
|
+
>;
|
|
18
|
+
defaultUserAgentProvider: (
|
|
19
|
+
config?:
|
|
20
|
+
| import("@aws-sdk/util-user-agent-node").PreviouslyResolved
|
|
21
|
+
| undefined
|
|
22
|
+
) => Promise<import("@smithy/types").UserAgent>;
|
|
23
|
+
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
24
|
+
region: string | import("@smithy/types").Provider<string>;
|
|
25
|
+
requestHandler:
|
|
26
|
+
| RequestHandler
|
|
27
|
+
| import("@smithy/protocol-http").HttpHandler<any>;
|
|
28
|
+
retryMode: string | import("@smithy/types").Provider<string>;
|
|
29
|
+
sha256: import("@smithy/types").HashConstructor;
|
|
30
|
+
streamCollector: import("@smithy/types").StreamCollector;
|
|
31
|
+
useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
32
|
+
useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
|
|
33
|
+
userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
|
|
34
|
+
apiVersion: string;
|
|
35
|
+
cacheMiddleware?: boolean | undefined;
|
|
36
|
+
urlParser: import("@smithy/types").UrlParser;
|
|
37
|
+
base64Decoder: import("@smithy/types").Decoder;
|
|
38
|
+
base64Encoder: (_input: string | Uint8Array) => string;
|
|
39
|
+
utf8Decoder: import("@smithy/types").Decoder;
|
|
40
|
+
utf8Encoder: (input: string | Uint8Array) => string;
|
|
41
|
+
disableHostPrefix: boolean;
|
|
42
|
+
serviceId: string;
|
|
43
|
+
logger: import("@smithy/types").Logger;
|
|
44
|
+
extensions: import("./runtimeExtensions").RuntimeExtension[];
|
|
45
|
+
customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
|
|
46
|
+
retryStrategy?:
|
|
47
|
+
| import("@smithy/types").RetryStrategy
|
|
48
|
+
| import("@smithy/types").RetryStrategyV2
|
|
49
|
+
| undefined;
|
|
50
|
+
endpoint?:
|
|
51
|
+
| ((
|
|
52
|
+
| string
|
|
53
|
+
| import("@smithy/types").Endpoint
|
|
54
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
55
|
+
| import("@smithy/types").EndpointV2
|
|
56
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
57
|
+
) &
|
|
58
|
+
(
|
|
59
|
+
| string
|
|
60
|
+
| import("@smithy/types").Provider<string>
|
|
61
|
+
| import("@smithy/types").Endpoint
|
|
62
|
+
| import("@smithy/types").Provider<import("@smithy/types").Endpoint>
|
|
63
|
+
| import("@smithy/types").EndpointV2
|
|
64
|
+
| import("@smithy/types").Provider<import("@smithy/types").EndpointV2>
|
|
65
|
+
))
|
|
66
|
+
| undefined;
|
|
67
|
+
endpointProvider: (
|
|
68
|
+
endpointParams: import("./endpoint/EndpointParameters").EndpointParameters,
|
|
69
|
+
context?: {
|
|
70
|
+
logger?: import("@smithy/types").Logger | undefined;
|
|
71
|
+
}
|
|
72
|
+
) => import("@smithy/types").EndpointV2;
|
|
73
|
+
tls?: boolean | undefined;
|
|
74
|
+
serviceConfiguredEndpoint?: undefined;
|
|
75
|
+
httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
|
|
76
|
+
httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockDataAutomationRuntimeHttpAuthSchemeProvider;
|
|
77
|
+
credentials?:
|
|
78
|
+
| import("@smithy/types").AwsCredentialIdentity
|
|
79
|
+
| import("@smithy/types").AwsCredentialIdentityProvider
|
|
80
|
+
| undefined;
|
|
81
|
+
signer?:
|
|
82
|
+
| import("@smithy/types").RequestSigner
|
|
83
|
+
| ((
|
|
84
|
+
authScheme?: import("@smithy/types").AuthScheme | undefined
|
|
85
|
+
) => Promise<import("@smithy/types").RequestSigner>)
|
|
86
|
+
| undefined;
|
|
87
|
+
signingEscapePath?: boolean | undefined;
|
|
88
|
+
systemClockOffset?: number | undefined;
|
|
89
|
+
signingRegion?: string | undefined;
|
|
90
|
+
signerConstructor?:
|
|
91
|
+
| (new (
|
|
92
|
+
options: import("@smithy/signature-v4").SignatureV4Init &
|
|
93
|
+
import("@smithy/signature-v4").SignatureV4CryptoInit
|
|
94
|
+
) => import("@smithy/types").RequestSigner)
|
|
95
|
+
| undefined;
|
|
96
|
+
};
|