@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,299 @@
1
+ import { ExceptionOptionType as __ExceptionOptionType } from "@smithy/smithy-client";
2
+ import { BedrockDataAutomationRuntimeServiceException as __BaseException } from "./BedrockDataAutomationRuntimeServiceException";
3
+ /**
4
+ * This exception will be thrown when customer does not have access to API.
5
+ * @public
6
+ */
7
+ export declare class AccessDeniedException extends __BaseException {
8
+ readonly name: "AccessDeniedException";
9
+ readonly $fault: "client";
10
+ /**
11
+ * @internal
12
+ */
13
+ constructor(opts: __ExceptionOptionType<AccessDeniedException, __BaseException>);
14
+ }
15
+ /**
16
+ * Structure for request of GetDataAutomationStatus API.
17
+ * @public
18
+ */
19
+ export interface GetDataAutomationStatusRequest {
20
+ /**
21
+ * Invocation arn.
22
+ * @public
23
+ */
24
+ invocationArn: string | undefined;
25
+ }
26
+ /**
27
+ * Output configuration.
28
+ * @public
29
+ */
30
+ export interface OutputConfiguration {
31
+ /**
32
+ * S3 uri.
33
+ * @public
34
+ */
35
+ s3Uri: string | undefined;
36
+ }
37
+ /**
38
+ * @public
39
+ * @enum
40
+ */
41
+ export declare const AutomationJobStatus: {
42
+ readonly CLIENT_ERROR: "ClientError";
43
+ readonly CREATED: "Created";
44
+ readonly IN_PROGRESS: "InProgress";
45
+ readonly SERVICE_ERROR: "ServiceError";
46
+ readonly SUCCESS: "Success";
47
+ };
48
+ /**
49
+ * @public
50
+ */
51
+ export type AutomationJobStatus = (typeof AutomationJobStatus)[keyof typeof AutomationJobStatus];
52
+ /**
53
+ * Response of GetDataAutomationStatus API.
54
+ * @public
55
+ */
56
+ export interface GetDataAutomationStatusResponse {
57
+ /**
58
+ * Job Status.
59
+ * @public
60
+ */
61
+ status?: AutomationJobStatus | undefined;
62
+ /**
63
+ * Error Type.
64
+ * @public
65
+ */
66
+ errorType?: string | undefined;
67
+ /**
68
+ * Error Message.
69
+ * @public
70
+ */
71
+ errorMessage?: string | undefined;
72
+ /**
73
+ * Output configuration.
74
+ * @public
75
+ */
76
+ outputConfiguration?: OutputConfiguration | undefined;
77
+ }
78
+ /**
79
+ * This exception is for any internal un-expected service errors.
80
+ * @public
81
+ */
82
+ export declare class InternalServerException extends __BaseException {
83
+ readonly name: "InternalServerException";
84
+ readonly $fault: "server";
85
+ /**
86
+ * @internal
87
+ */
88
+ constructor(opts: __ExceptionOptionType<InternalServerException, __BaseException>);
89
+ }
90
+ /**
91
+ * This exception will be thrown when resource provided from customer not found.
92
+ * @public
93
+ */
94
+ export declare class ResourceNotFoundException extends __BaseException {
95
+ readonly name: "ResourceNotFoundException";
96
+ readonly $fault: "client";
97
+ /**
98
+ * @internal
99
+ */
100
+ constructor(opts: __ExceptionOptionType<ResourceNotFoundException, __BaseException>);
101
+ }
102
+ /**
103
+ * This exception will be thrown when customer reached API TPS limit.
104
+ * @public
105
+ */
106
+ export declare class ThrottlingException extends __BaseException {
107
+ readonly name: "ThrottlingException";
108
+ readonly $fault: "client";
109
+ /**
110
+ * @internal
111
+ */
112
+ constructor(opts: __ExceptionOptionType<ThrottlingException, __BaseException>);
113
+ }
114
+ /**
115
+ * This exception will be thrown when customer provided invalid parameters.
116
+ * @public
117
+ */
118
+ export declare class ValidationException extends __BaseException {
119
+ readonly name: "ValidationException";
120
+ readonly $fault: "client";
121
+ /**
122
+ * @internal
123
+ */
124
+ constructor(opts: __ExceptionOptionType<ValidationException, __BaseException>);
125
+ }
126
+ /**
127
+ * @public
128
+ * @enum
129
+ */
130
+ export declare const BlueprintStage: {
131
+ readonly DEVELOPMENT: "DEVELOPMENT";
132
+ readonly LIVE: "LIVE";
133
+ };
134
+ /**
135
+ * @public
136
+ */
137
+ export type BlueprintStage = (typeof BlueprintStage)[keyof typeof BlueprintStage];
138
+ /**
139
+ * Structure for single blueprint entity.
140
+ * @public
141
+ */
142
+ export interface Blueprint {
143
+ /**
144
+ * Arn of blueprint.
145
+ * @public
146
+ */
147
+ blueprintArn: string | undefined;
148
+ /**
149
+ * Version of blueprint.
150
+ * @public
151
+ */
152
+ version?: string | undefined;
153
+ /**
154
+ * Stage of blueprint.
155
+ * @public
156
+ */
157
+ stage?: BlueprintStage | undefined;
158
+ }
159
+ /**
160
+ * @public
161
+ * @enum
162
+ */
163
+ export declare const DataAutomationStage: {
164
+ readonly DEVELOPMENT: "DEVELOPMENT";
165
+ readonly LIVE: "LIVE";
166
+ };
167
+ /**
168
+ * @public
169
+ */
170
+ export type DataAutomationStage = (typeof DataAutomationStage)[keyof typeof DataAutomationStage];
171
+ /**
172
+ * Data automation configuration.
173
+ * @public
174
+ */
175
+ export interface DataAutomationConfiguration {
176
+ /**
177
+ * Data automation arn.
178
+ * @public
179
+ */
180
+ dataAutomationArn: string | undefined;
181
+ /**
182
+ * Data automation stage.
183
+ * @public
184
+ */
185
+ stage?: DataAutomationStage | undefined;
186
+ }
187
+ /**
188
+ * Encryption configuration.
189
+ * @public
190
+ */
191
+ export interface EncryptionConfiguration {
192
+ /**
193
+ * KMS key id.
194
+ * @public
195
+ */
196
+ kmsKeyId: string | undefined;
197
+ /**
198
+ * KMS encryption context.
199
+ * @public
200
+ */
201
+ kmsEncryptionContext?: Record<string, string> | undefined;
202
+ }
203
+ /**
204
+ * Input configuration.
205
+ * @public
206
+ */
207
+ export interface InputConfiguration {
208
+ /**
209
+ * S3 uri.
210
+ * @public
211
+ */
212
+ s3Uri: string | undefined;
213
+ }
214
+ /**
215
+ * Event bridge configuration.
216
+ * @public
217
+ */
218
+ export interface EventBridgeConfiguration {
219
+ /**
220
+ * Event bridge flag.
221
+ * @public
222
+ */
223
+ eventBridgeEnabled: boolean | undefined;
224
+ }
225
+ /**
226
+ * Notification configuration.
227
+ * @public
228
+ */
229
+ export interface NotificationConfiguration {
230
+ /**
231
+ * Event bridge configuration.
232
+ * @public
233
+ */
234
+ eventBridgeConfiguration: EventBridgeConfiguration | undefined;
235
+ }
236
+ /**
237
+ * Invoke Data Automation Async Request
238
+ * @public
239
+ */
240
+ export interface InvokeDataAutomationAsyncRequest {
241
+ /**
242
+ * Idempotency token.
243
+ * @public
244
+ */
245
+ clientToken?: string | undefined;
246
+ /**
247
+ * Input configuration.
248
+ * @public
249
+ */
250
+ inputConfiguration: InputConfiguration | undefined;
251
+ /**
252
+ * Output configuration.
253
+ * @public
254
+ */
255
+ outputConfiguration: OutputConfiguration | undefined;
256
+ /**
257
+ * Data automation configuration.
258
+ * @public
259
+ */
260
+ dataAutomationConfiguration?: DataAutomationConfiguration | undefined;
261
+ /**
262
+ * Encryption configuration.
263
+ * @public
264
+ */
265
+ encryptionConfiguration?: EncryptionConfiguration | undefined;
266
+ /**
267
+ * Notification configuration.
268
+ * @public
269
+ */
270
+ notificationConfiguration?: NotificationConfiguration | undefined;
271
+ /**
272
+ * Blueprint list.
273
+ * @public
274
+ */
275
+ blueprints?: Blueprint[] | undefined;
276
+ }
277
+ /**
278
+ * Invoke Data Automation Async Response
279
+ * @public
280
+ */
281
+ export interface InvokeDataAutomationAsyncResponse {
282
+ /**
283
+ * ARN of the automation job
284
+ * @public
285
+ */
286
+ invocationArn: string | undefined;
287
+ }
288
+ /**
289
+ * This exception will be thrown when service quota is exceeded.
290
+ * @public
291
+ */
292
+ export declare class ServiceQuotaExceededException extends __BaseException {
293
+ readonly name: "ServiceQuotaExceededException";
294
+ readonly $fault: "client";
295
+ /**
296
+ * @internal
297
+ */
298
+ constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
299
+ }
@@ -0,0 +1,20 @@
1
+ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@smithy/protocol-http";
2
+ import { SerdeContext as __SerdeContext } from "@smithy/types";
3
+ import { GetDataAutomationStatusCommandInput, GetDataAutomationStatusCommandOutput } from "../commands/GetDataAutomationStatusCommand";
4
+ import { InvokeDataAutomationAsyncCommandInput, InvokeDataAutomationAsyncCommandOutput } from "../commands/InvokeDataAutomationAsyncCommand";
5
+ /**
6
+ * serializeAws_json1_1GetDataAutomationStatusCommand
7
+ */
8
+ export declare const se_GetDataAutomationStatusCommand: (input: GetDataAutomationStatusCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
9
+ /**
10
+ * serializeAws_json1_1InvokeDataAutomationAsyncCommand
11
+ */
12
+ export declare const se_InvokeDataAutomationAsyncCommand: (input: InvokeDataAutomationAsyncCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
13
+ /**
14
+ * deserializeAws_json1_1GetDataAutomationStatusCommand
15
+ */
16
+ export declare const de_GetDataAutomationStatusCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<GetDataAutomationStatusCommandOutput>;
17
+ /**
18
+ * deserializeAws_json1_1InvokeDataAutomationAsyncCommand
19
+ */
20
+ export declare const de_InvokeDataAutomationAsyncCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<InvokeDataAutomationAsyncCommandOutput>;
@@ -0,0 +1,48 @@
1
+ import { FetchHttpHandler as RequestHandler } from "@smithy/fetch-http-handler";
2
+ import { BedrockDataAutomationRuntimeClientConfig } from "./BedrockDataAutomationRuntimeClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: BedrockDataAutomationRuntimeClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<any>;
14
+ requestHandler: import("@smithy/protocol-http").HttpHandler<any> | RequestHandler;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ apiVersion: string;
21
+ cacheMiddleware?: boolean | undefined;
22
+ urlParser: import("@smithy/types").UrlParser;
23
+ base64Decoder: import("@smithy/types").Decoder;
24
+ base64Encoder: (_input: string | Uint8Array) => string;
25
+ utf8Decoder: import("@smithy/types").Decoder;
26
+ utf8Encoder: (input: string | Uint8Array) => string;
27
+ disableHostPrefix: boolean;
28
+ serviceId: string;
29
+ logger: import("@smithy/types").Logger;
30
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
31
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
32
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
+ logger?: import("@smithy/types").Logger | undefined;
37
+ }) => import("@smithy/types").EndpointV2;
38
+ tls?: boolean | undefined;
39
+ serviceConfiguredEndpoint?: undefined;
40
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
41
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockDataAutomationRuntimeHttpAuthSchemeProvider;
42
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
43
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
44
+ signingEscapePath?: boolean | undefined;
45
+ systemClockOffset?: number | undefined;
46
+ signingRegion?: string | undefined;
47
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
48
+ };
@@ -0,0 +1,48 @@
1
+ import { NodeHttpHandler as RequestHandler } from "@smithy/node-http-handler";
2
+ import { BedrockDataAutomationRuntimeClientConfig } from "./BedrockDataAutomationRuntimeClient";
3
+ /**
4
+ * @internal
5
+ */
6
+ export declare const getRuntimeConfig: (config: BedrockDataAutomationRuntimeClientConfig) => {
7
+ runtime: string;
8
+ defaultsMode: import("@smithy/types").Provider<import("@smithy/smithy-client").ResolvedDefaultsMode>;
9
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
10
+ credentialDefaultProvider: (init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit | undefined) => import("@smithy/types").MemoizedProvider<import("@smithy/types").AwsCredentialIdentity>;
11
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-node").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
12
+ maxAttempts: number | import("@smithy/types").Provider<number>;
13
+ region: string | import("@smithy/types").Provider<string>;
14
+ requestHandler: RequestHandler | import("@smithy/protocol-http").HttpHandler<any>;
15
+ retryMode: string | import("@smithy/types").Provider<string>;
16
+ sha256: import("@smithy/types").HashConstructor;
17
+ streamCollector: import("@smithy/types").StreamCollector;
18
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
19
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
20
+ userAgentAppId: string | import("@smithy/types").Provider<string | undefined>;
21
+ apiVersion: string;
22
+ cacheMiddleware?: boolean | undefined;
23
+ urlParser: import("@smithy/types").UrlParser;
24
+ base64Decoder: import("@smithy/types").Decoder;
25
+ base64Encoder: (_input: string | Uint8Array) => string;
26
+ utf8Decoder: import("@smithy/types").Decoder;
27
+ utf8Encoder: (input: string | Uint8Array) => string;
28
+ disableHostPrefix: boolean;
29
+ serviceId: string;
30
+ logger: import("@smithy/types").Logger;
31
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
32
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
33
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
34
+ endpoint?: ((string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>) & (string | import("@smithy/types").Provider<string> | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2>)) | undefined;
35
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
36
+ logger?: import("@smithy/types").Logger | undefined;
37
+ }) => import("@smithy/types").EndpointV2;
38
+ tls?: boolean | undefined;
39
+ serviceConfiguredEndpoint?: undefined;
40
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
41
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockDataAutomationRuntimeHttpAuthSchemeProvider;
42
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
43
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
44
+ signingEscapePath?: boolean | undefined;
45
+ systemClockOffset?: number | undefined;
46
+ signingRegion?: string | undefined;
47
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
48
+ };
@@ -0,0 +1,47 @@
1
+ import { BedrockDataAutomationRuntimeClientConfig } from "./BedrockDataAutomationRuntimeClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: BedrockDataAutomationRuntimeClientConfig) => {
6
+ runtime: string;
7
+ sha256: import("@smithy/types").HashConstructor;
8
+ requestHandler: import("@smithy/types").NodeHttpHandlerOptions | import("@smithy/types").FetchHttpHandlerOptions | Record<string, unknown> | import("@smithy/protocol-http").HttpHandler<any> | import("@smithy/fetch-http-handler").FetchHttpHandler;
9
+ apiVersion: string;
10
+ cacheMiddleware?: boolean | undefined;
11
+ urlParser: import("@smithy/types").UrlParser;
12
+ bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
13
+ streamCollector: import("@smithy/types").StreamCollector;
14
+ base64Decoder: import("@smithy/types").Decoder;
15
+ base64Encoder: (_input: string | Uint8Array) => string;
16
+ utf8Decoder: import("@smithy/types").Decoder;
17
+ utf8Encoder: (input: string | Uint8Array) => string;
18
+ disableHostPrefix: boolean;
19
+ serviceId: string;
20
+ useDualstackEndpoint: boolean | import("@smithy/types").Provider<boolean>;
21
+ useFipsEndpoint: boolean | import("@smithy/types").Provider<boolean>;
22
+ region: string | import("@smithy/types").Provider<any>;
23
+ defaultUserAgentProvider: (config?: import("@aws-sdk/util-user-agent-browser").PreviouslyResolved | undefined) => Promise<import("@smithy/types").UserAgent>;
24
+ credentialDefaultProvider: (input: any) => import("@smithy/types").AwsCredentialIdentityProvider;
25
+ maxAttempts: number | import("@smithy/types").Provider<number>;
26
+ retryMode: string | import("@smithy/types").Provider<string>;
27
+ logger: import("@smithy/types").Logger;
28
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
29
+ defaultsMode: import("@smithy/smithy-client").DefaultsMode | import("@smithy/types").Provider<import("@smithy/smithy-client").DefaultsMode>;
30
+ customUserAgent?: string | import("@smithy/types").UserAgent | undefined;
31
+ userAgentAppId?: string | import("@smithy/types").Provider<string | undefined> | undefined;
32
+ retryStrategy?: import("@smithy/types").RetryStrategy | import("@smithy/types").RetryStrategyV2 | undefined;
33
+ endpoint?: string | import("@smithy/types").Endpoint | import("@smithy/types").Provider<import("@smithy/types").Endpoint> | import("@smithy/types").EndpointV2 | import("@smithy/types").Provider<import("@smithy/types").EndpointV2> | undefined;
34
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
35
+ logger?: import("@smithy/types").Logger | undefined;
36
+ }) => import("@smithy/types").EndpointV2;
37
+ tls?: boolean | undefined;
38
+ serviceConfiguredEndpoint?: undefined;
39
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
40
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockDataAutomationRuntimeHttpAuthSchemeProvider;
41
+ credentials?: import("@smithy/types").AwsCredentialIdentity | import("@smithy/types").AwsCredentialIdentityProvider | undefined;
42
+ signer?: import("@smithy/types").RequestSigner | ((authScheme?: import("@smithy/types").AuthScheme | undefined) => Promise<import("@smithy/types").RequestSigner>) | undefined;
43
+ signingEscapePath?: boolean | undefined;
44
+ systemClockOffset?: number | undefined;
45
+ signingRegion?: string | undefined;
46
+ signerConstructor?: (new (options: import("@smithy/signature-v4").SignatureV4Init & import("@smithy/signature-v4").SignatureV4CryptoInit) => import("@smithy/types").RequestSigner) | undefined;
47
+ };
@@ -0,0 +1,21 @@
1
+ import { BedrockDataAutomationRuntimeClientConfig } from "./BedrockDataAutomationRuntimeClient";
2
+ /**
3
+ * @internal
4
+ */
5
+ export declare const getRuntimeConfig: (config: BedrockDataAutomationRuntimeClientConfig) => {
6
+ apiVersion: string;
7
+ base64Decoder: import("@smithy/types").Decoder;
8
+ base64Encoder: (_input: string | Uint8Array) => string;
9
+ disableHostPrefix: boolean;
10
+ endpointProvider: (endpointParams: import("./endpoint/EndpointParameters").EndpointParameters, context?: {
11
+ logger?: import("@smithy/types").Logger | undefined;
12
+ }) => import("@smithy/types").EndpointV2;
13
+ extensions: import("./runtimeExtensions").RuntimeExtension[];
14
+ httpAuthSchemeProvider: import("./auth/httpAuthSchemeProvider").BedrockDataAutomationRuntimeHttpAuthSchemeProvider;
15
+ httpAuthSchemes: import("@smithy/types").HttpAuthScheme[];
16
+ logger: import("@smithy/types").Logger;
17
+ serviceId: string;
18
+ urlParser: import("@smithy/types").UrlParser;
19
+ utf8Decoder: import("@smithy/types").Decoder;
20
+ utf8Encoder: (input: string | Uint8Array) => string;
21
+ };
@@ -0,0 +1,17 @@
1
+ import { BedrockDataAutomationRuntimeExtensionConfiguration } from "./extensionConfiguration";
2
+ /**
3
+ * @public
4
+ */
5
+ export interface RuntimeExtension {
6
+ configure(extensionConfiguration: BedrockDataAutomationRuntimeExtensionConfiguration): void;
7
+ }
8
+ /**
9
+ * @public
10
+ */
11
+ export interface RuntimeExtensionsConfig {
12
+ extensions: RuntimeExtension[];
13
+ }
14
+ /**
15
+ * @internal
16
+ */
17
+ export declare const resolveRuntimeExtensions: (runtimeConfig: any, extensions: RuntimeExtension[]) => any;
@@ -0,0 +1,41 @@
1
+ import { HttpHandlerOptions as __HttpHandlerOptions } from "@smithy/types";
2
+ import { BedrockDataAutomationRuntimeClient } from "./BedrockDataAutomationRuntimeClient";
3
+ import {
4
+ GetDataAutomationStatusCommandInput,
5
+ GetDataAutomationStatusCommandOutput,
6
+ } from "./commands/GetDataAutomationStatusCommand";
7
+ import {
8
+ InvokeDataAutomationAsyncCommandInput,
9
+ InvokeDataAutomationAsyncCommandOutput,
10
+ } from "./commands/InvokeDataAutomationAsyncCommand";
11
+ export interface BedrockDataAutomationRuntime {
12
+ getDataAutomationStatus(
13
+ args: GetDataAutomationStatusCommandInput,
14
+ options?: __HttpHandlerOptions
15
+ ): Promise<GetDataAutomationStatusCommandOutput>;
16
+ getDataAutomationStatus(
17
+ args: GetDataAutomationStatusCommandInput,
18
+ cb: (err: any, data?: GetDataAutomationStatusCommandOutput) => void
19
+ ): void;
20
+ getDataAutomationStatus(
21
+ args: GetDataAutomationStatusCommandInput,
22
+ options: __HttpHandlerOptions,
23
+ cb: (err: any, data?: GetDataAutomationStatusCommandOutput) => void
24
+ ): void;
25
+ invokeDataAutomationAsync(
26
+ args: InvokeDataAutomationAsyncCommandInput,
27
+ options?: __HttpHandlerOptions
28
+ ): Promise<InvokeDataAutomationAsyncCommandOutput>;
29
+ invokeDataAutomationAsync(
30
+ args: InvokeDataAutomationAsyncCommandInput,
31
+ cb: (err: any, data?: InvokeDataAutomationAsyncCommandOutput) => void
32
+ ): void;
33
+ invokeDataAutomationAsync(
34
+ args: InvokeDataAutomationAsyncCommandInput,
35
+ options: __HttpHandlerOptions,
36
+ cb: (err: any, data?: InvokeDataAutomationAsyncCommandOutput) => void
37
+ ): void;
38
+ }
39
+ export declare class BedrockDataAutomationRuntime
40
+ extends BedrockDataAutomationRuntimeClient
41
+ implements BedrockDataAutomationRuntime {}
@@ -0,0 +1,133 @@
1
+ import {
2
+ HostHeaderInputConfig,
3
+ HostHeaderResolvedConfig,
4
+ } from "@aws-sdk/middleware-host-header";
5
+ import {
6
+ UserAgentInputConfig,
7
+ UserAgentResolvedConfig,
8
+ } from "@aws-sdk/middleware-user-agent";
9
+ import {
10
+ RegionInputConfig,
11
+ RegionResolvedConfig,
12
+ } from "@smithy/config-resolver";
13
+ import {
14
+ EndpointInputConfig,
15
+ EndpointResolvedConfig,
16
+ } from "@smithy/middleware-endpoint";
17
+ import {
18
+ RetryInputConfig,
19
+ RetryResolvedConfig,
20
+ } from "@smithy/middleware-retry";
21
+ import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
22
+ import {
23
+ Client as __Client,
24
+ DefaultsMode as __DefaultsMode,
25
+ SmithyConfiguration as __SmithyConfiguration,
26
+ SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
27
+ } from "@smithy/smithy-client";
28
+ import {
29
+ AwsCredentialIdentityProvider,
30
+ BodyLengthCalculator as __BodyLengthCalculator,
31
+ CheckOptionalClientConfig as __CheckOptionalClientConfig,
32
+ ChecksumConstructor as __ChecksumConstructor,
33
+ Decoder as __Decoder,
34
+ Encoder as __Encoder,
35
+ HashConstructor as __HashConstructor,
36
+ HttpHandlerOptions as __HttpHandlerOptions,
37
+ Logger as __Logger,
38
+ Provider as __Provider,
39
+ Provider,
40
+ StreamCollector as __StreamCollector,
41
+ UrlParser as __UrlParser,
42
+ UserAgent as __UserAgent,
43
+ } from "@smithy/types";
44
+ import {
45
+ HttpAuthSchemeInputConfig,
46
+ HttpAuthSchemeResolvedConfig,
47
+ } from "./auth/httpAuthSchemeProvider";
48
+ import {
49
+ GetDataAutomationStatusCommandInput,
50
+ GetDataAutomationStatusCommandOutput,
51
+ } from "./commands/GetDataAutomationStatusCommand";
52
+ import {
53
+ InvokeDataAutomationAsyncCommandInput,
54
+ InvokeDataAutomationAsyncCommandOutput,
55
+ } from "./commands/InvokeDataAutomationAsyncCommand";
56
+ import {
57
+ ClientInputEndpointParameters,
58
+ ClientResolvedEndpointParameters,
59
+ EndpointParameters,
60
+ } from "./endpoint/EndpointParameters";
61
+ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
62
+ export { __Client };
63
+ export type ServiceInputTypes =
64
+ | GetDataAutomationStatusCommandInput
65
+ | InvokeDataAutomationAsyncCommandInput;
66
+ export type ServiceOutputTypes =
67
+ | GetDataAutomationStatusCommandOutput
68
+ | InvokeDataAutomationAsyncCommandOutput;
69
+ export interface ClientDefaults
70
+ extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
71
+ requestHandler?: __HttpHandlerUserInput;
72
+ sha256?: __ChecksumConstructor | __HashConstructor;
73
+ urlParser?: __UrlParser;
74
+ bodyLengthChecker?: __BodyLengthCalculator;
75
+ streamCollector?: __StreamCollector;
76
+ base64Decoder?: __Decoder;
77
+ base64Encoder?: __Encoder;
78
+ utf8Decoder?: __Decoder;
79
+ utf8Encoder?: __Encoder;
80
+ runtime?: string;
81
+ disableHostPrefix?: boolean;
82
+ serviceId?: string;
83
+ useDualstackEndpoint?: boolean | __Provider<boolean>;
84
+ useFipsEndpoint?: boolean | __Provider<boolean>;
85
+ region?: string | __Provider<string>;
86
+ defaultUserAgentProvider?: Provider<__UserAgent>;
87
+ credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
88
+ maxAttempts?: number | __Provider<number>;
89
+ retryMode?: string | __Provider<string>;
90
+ logger?: __Logger;
91
+ extensions?: RuntimeExtension[];
92
+ defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
93
+ }
94
+ export type BedrockDataAutomationRuntimeClientConfigType = Partial<
95
+ __SmithyConfiguration<__HttpHandlerOptions>
96
+ > &
97
+ ClientDefaults &
98
+ UserAgentInputConfig &
99
+ RetryInputConfig &
100
+ RegionInputConfig &
101
+ HostHeaderInputConfig &
102
+ EndpointInputConfig<EndpointParameters> &
103
+ HttpAuthSchemeInputConfig &
104
+ ClientInputEndpointParameters;
105
+ export interface BedrockDataAutomationRuntimeClientConfig
106
+ extends BedrockDataAutomationRuntimeClientConfigType {}
107
+ export type BedrockDataAutomationRuntimeClientResolvedConfigType =
108
+ __SmithyResolvedConfiguration<__HttpHandlerOptions> &
109
+ Required<ClientDefaults> &
110
+ RuntimeExtensionsConfig &
111
+ UserAgentResolvedConfig &
112
+ RetryResolvedConfig &
113
+ RegionResolvedConfig &
114
+ HostHeaderResolvedConfig &
115
+ EndpointResolvedConfig<EndpointParameters> &
116
+ HttpAuthSchemeResolvedConfig &
117
+ ClientResolvedEndpointParameters;
118
+ export interface BedrockDataAutomationRuntimeClientResolvedConfig
119
+ extends BedrockDataAutomationRuntimeClientResolvedConfigType {}
120
+ export declare class BedrockDataAutomationRuntimeClient extends __Client<
121
+ __HttpHandlerOptions,
122
+ ServiceInputTypes,
123
+ ServiceOutputTypes,
124
+ BedrockDataAutomationRuntimeClientResolvedConfig
125
+ > {
126
+ readonly config: BedrockDataAutomationRuntimeClientResolvedConfig;
127
+ constructor(
128
+ ...[
129
+ configuration,
130
+ ]: __CheckOptionalClientConfig<BedrockDataAutomationRuntimeClientConfig>
131
+ );
132
+ destroy(): void;
133
+ }