@aws-sdk/client-bedrock-data-automation-runtime 3.758.0 → 3.759.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/README.md +31 -7
- package/dist-cjs/BedrockDataAutomationRuntime.js +6 -0
- package/dist-cjs/commands/ListTagsForResourceCommand.js +26 -0
- package/dist-cjs/commands/TagResourceCommand.js +26 -0
- package/dist-cjs/commands/UntagResourceCommand.js +26 -0
- package/dist-cjs/commands/index.js +3 -0
- package/dist-cjs/protocols/Aws_json1_1.js +66 -1
- package/dist-es/BedrockDataAutomationRuntime.js +6 -0
- package/dist-es/commands/ListTagsForResourceCommand.js +22 -0
- package/dist-es/commands/TagResourceCommand.js +22 -0
- package/dist-es/commands/UntagResourceCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/protocols/Aws_json1_1.js +59 -0
- package/dist-types/BedrockDataAutomationRuntime.d.ts +21 -0
- package/dist-types/BedrockDataAutomationRuntimeClient.d.ts +5 -2
- package/dist-types/commands/InvokeDataAutomationAsyncCommand.d.ts +8 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +91 -0
- package/dist-types/commands/TagResourceCommand.d.ts +93 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +87 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +89 -3
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/BedrockDataAutomationRuntime.d.ts +51 -0
- package/dist-types/ts3.4/BedrockDataAutomationRuntimeClient.d.ts +20 -2
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +23 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +1 -1
|
@@ -0,0 +1,93 @@
|
|
|
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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link TagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface TagResourceCommandInput extends TagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link TagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface TagResourceCommandOutput extends TagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const TagResourceCommand_base: {
|
|
25
|
+
new (input: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, BedrockDataAutomationRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: TagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<TagResourceCommandInput, TagResourceCommandOutput, BedrockDataAutomationRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Tag an Amazon Bedrock Data Automation resource
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockDataAutomationRuntimeClient, TagResourceCommand } from "@aws-sdk/client-bedrock-data-automation-runtime"; // ES Modules import
|
|
35
|
+
* // const { BedrockDataAutomationRuntimeClient, TagResourceCommand } = require("@aws-sdk/client-bedrock-data-automation-runtime"); // CommonJS import
|
|
36
|
+
* const client = new BedrockDataAutomationRuntimeClient(config);
|
|
37
|
+
* const input = { // TagResourceRequest
|
|
38
|
+
* resourceARN: "STRING_VALUE", // required
|
|
39
|
+
* tags: [ // TagList // required
|
|
40
|
+
* { // Tag
|
|
41
|
+
* key: "STRING_VALUE", // required
|
|
42
|
+
* value: "STRING_VALUE", // required
|
|
43
|
+
* },
|
|
44
|
+
* ],
|
|
45
|
+
* };
|
|
46
|
+
* const command = new TagResourceCommand(input);
|
|
47
|
+
* const response = await client.send(command);
|
|
48
|
+
* // {};
|
|
49
|
+
*
|
|
50
|
+
* ```
|
|
51
|
+
*
|
|
52
|
+
* @param TagResourceCommandInput - {@link TagResourceCommandInput}
|
|
53
|
+
* @returns {@link TagResourceCommandOutput}
|
|
54
|
+
* @see {@link TagResourceCommandInput} for command's `input` shape.
|
|
55
|
+
* @see {@link TagResourceCommandOutput} for command's `response` shape.
|
|
56
|
+
* @see {@link BedrockDataAutomationRuntimeClientResolvedConfig | config} for BedrockDataAutomationRuntimeClient's `config` shape.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
59
|
+
* This exception will be thrown when customer does not have access to API.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link InternalServerException} (server fault)
|
|
62
|
+
* This exception is for any internal un-expected service errors.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
65
|
+
* This exception will be thrown when resource provided from customer not found.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
68
|
+
* This exception will be thrown when service quota is exceeded.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
71
|
+
* This exception will be thrown when customer reached API TPS limit.
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link ValidationException} (client fault)
|
|
74
|
+
* This exception will be thrown when customer provided invalid parameters.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link BedrockDataAutomationRuntimeServiceException}
|
|
77
|
+
* <p>Base exception class for all service exceptions from BedrockDataAutomationRuntime service.</p>
|
|
78
|
+
*
|
|
79
|
+
* @public
|
|
80
|
+
*/
|
|
81
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
82
|
+
/** @internal type navigation helper, not in runtime. */
|
|
83
|
+
protected static __types: {
|
|
84
|
+
api: {
|
|
85
|
+
input: TagResourceRequest;
|
|
86
|
+
output: {};
|
|
87
|
+
};
|
|
88
|
+
sdk: {
|
|
89
|
+
input: TagResourceCommandInput;
|
|
90
|
+
output: TagResourceCommandOutput;
|
|
91
|
+
};
|
|
92
|
+
};
|
|
93
|
+
}
|
|
@@ -0,0 +1,87 @@
|
|
|
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 { UntagResourceRequest, UntagResourceResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UntagResourceCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UntagResourceCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UntagResourceCommandOutput extends UntagResourceResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UntagResourceCommand_base: {
|
|
25
|
+
new (input: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, BedrockDataAutomationRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (__0_0: UntagResourceCommandInput): import("@smithy/smithy-client").CommandImpl<UntagResourceCommandInput, UntagResourceCommandOutput, BedrockDataAutomationRuntimeClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Untag an Amazon Bedrock Data Automation resource
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockDataAutomationRuntimeClient, UntagResourceCommand } from "@aws-sdk/client-bedrock-data-automation-runtime"; // ES Modules import
|
|
35
|
+
* // const { BedrockDataAutomationRuntimeClient, UntagResourceCommand } = require("@aws-sdk/client-bedrock-data-automation-runtime"); // CommonJS import
|
|
36
|
+
* const client = new BedrockDataAutomationRuntimeClient(config);
|
|
37
|
+
* const input = { // UntagResourceRequest
|
|
38
|
+
* resourceARN: "STRING_VALUE", // required
|
|
39
|
+
* tagKeys: [ // TagKeyList // required
|
|
40
|
+
* "STRING_VALUE",
|
|
41
|
+
* ],
|
|
42
|
+
* };
|
|
43
|
+
* const command = new UntagResourceCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // {};
|
|
46
|
+
*
|
|
47
|
+
* ```
|
|
48
|
+
*
|
|
49
|
+
* @param UntagResourceCommandInput - {@link UntagResourceCommandInput}
|
|
50
|
+
* @returns {@link UntagResourceCommandOutput}
|
|
51
|
+
* @see {@link UntagResourceCommandInput} for command's `input` shape.
|
|
52
|
+
* @see {@link UntagResourceCommandOutput} for command's `response` shape.
|
|
53
|
+
* @see {@link BedrockDataAutomationRuntimeClientResolvedConfig | config} for BedrockDataAutomationRuntimeClient's `config` shape.
|
|
54
|
+
*
|
|
55
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
56
|
+
* This exception will be thrown when customer does not have access to API.
|
|
57
|
+
*
|
|
58
|
+
* @throws {@link InternalServerException} (server fault)
|
|
59
|
+
* This exception is for any internal un-expected service errors.
|
|
60
|
+
*
|
|
61
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
62
|
+
* This exception will be thrown when resource provided from customer not found.
|
|
63
|
+
*
|
|
64
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
65
|
+
* This exception will be thrown when customer reached API TPS limit.
|
|
66
|
+
*
|
|
67
|
+
* @throws {@link ValidationException} (client fault)
|
|
68
|
+
* This exception will be thrown when customer provided invalid parameters.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link BedrockDataAutomationRuntimeServiceException}
|
|
71
|
+
* <p>Base exception class for all service exceptions from BedrockDataAutomationRuntime service.</p>
|
|
72
|
+
*
|
|
73
|
+
* @public
|
|
74
|
+
*/
|
|
75
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
76
|
+
/** @internal type navigation helper, not in runtime. */
|
|
77
|
+
protected static __types: {
|
|
78
|
+
api: {
|
|
79
|
+
input: UntagResourceRequest;
|
|
80
|
+
output: {};
|
|
81
|
+
};
|
|
82
|
+
sdk: {
|
|
83
|
+
input: UntagResourceCommandInput;
|
|
84
|
+
output: UntagResourceCommandOutput;
|
|
85
|
+
};
|
|
86
|
+
};
|
|
87
|
+
}
|
|
@@ -174,10 +174,10 @@ export type DataAutomationStage = (typeof DataAutomationStage)[keyof typeof Data
|
|
|
174
174
|
*/
|
|
175
175
|
export interface DataAutomationConfiguration {
|
|
176
176
|
/**
|
|
177
|
-
* Data automation arn.
|
|
177
|
+
* Data automation project arn.
|
|
178
178
|
* @public
|
|
179
179
|
*/
|
|
180
|
-
|
|
180
|
+
dataAutomationProjectArn: string | undefined;
|
|
181
181
|
/**
|
|
182
182
|
* Data automation stage.
|
|
183
183
|
* @public
|
|
@@ -190,7 +190,7 @@ export interface DataAutomationConfiguration {
|
|
|
190
190
|
*/
|
|
191
191
|
export interface EncryptionConfiguration {
|
|
192
192
|
/**
|
|
193
|
-
* KMS key
|
|
193
|
+
* Customer KMS key used for encryption
|
|
194
194
|
* @public
|
|
195
195
|
*/
|
|
196
196
|
kmsKeyId: string | undefined;
|
|
@@ -233,6 +233,22 @@ export interface NotificationConfiguration {
|
|
|
233
233
|
*/
|
|
234
234
|
eventBridgeConfiguration: EventBridgeConfiguration | undefined;
|
|
235
235
|
}
|
|
236
|
+
/**
|
|
237
|
+
* Key value pair of a tag
|
|
238
|
+
* @public
|
|
239
|
+
*/
|
|
240
|
+
export interface Tag {
|
|
241
|
+
/**
|
|
242
|
+
* Defines the context of the tag.
|
|
243
|
+
* @public
|
|
244
|
+
*/
|
|
245
|
+
key: string | undefined;
|
|
246
|
+
/**
|
|
247
|
+
* Defines the value within the context. e.g. <key=reason, value=training>.
|
|
248
|
+
* @public
|
|
249
|
+
*/
|
|
250
|
+
value: string | undefined;
|
|
251
|
+
}
|
|
236
252
|
/**
|
|
237
253
|
* Invoke Data Automation Async Request
|
|
238
254
|
* @public
|
|
@@ -273,6 +289,16 @@ export interface InvokeDataAutomationAsyncRequest {
|
|
|
273
289
|
* @public
|
|
274
290
|
*/
|
|
275
291
|
blueprints?: Blueprint[] | undefined;
|
|
292
|
+
/**
|
|
293
|
+
* Data automation profile ARN
|
|
294
|
+
* @public
|
|
295
|
+
*/
|
|
296
|
+
dataAutomationProfileArn: string | undefined;
|
|
297
|
+
/**
|
|
298
|
+
* List of tags.
|
|
299
|
+
* @public
|
|
300
|
+
*/
|
|
301
|
+
tags?: Tag[] | undefined;
|
|
276
302
|
}
|
|
277
303
|
/**
|
|
278
304
|
* Invoke Data Automation Async Response
|
|
@@ -297,3 +323,63 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
297
323
|
*/
|
|
298
324
|
constructor(opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>);
|
|
299
325
|
}
|
|
326
|
+
/**
|
|
327
|
+
* @public
|
|
328
|
+
*/
|
|
329
|
+
export interface ListTagsForResourceRequest {
|
|
330
|
+
/**
|
|
331
|
+
* ARN of a taggable resource
|
|
332
|
+
* @public
|
|
333
|
+
*/
|
|
334
|
+
resourceARN: string | undefined;
|
|
335
|
+
}
|
|
336
|
+
/**
|
|
337
|
+
* @public
|
|
338
|
+
*/
|
|
339
|
+
export interface ListTagsForResourceResponse {
|
|
340
|
+
/**
|
|
341
|
+
* List of tags
|
|
342
|
+
* @public
|
|
343
|
+
*/
|
|
344
|
+
tags?: Tag[] | undefined;
|
|
345
|
+
}
|
|
346
|
+
/**
|
|
347
|
+
* @public
|
|
348
|
+
*/
|
|
349
|
+
export interface TagResourceRequest {
|
|
350
|
+
/**
|
|
351
|
+
* ARN of a taggable resource
|
|
352
|
+
* @public
|
|
353
|
+
*/
|
|
354
|
+
resourceARN: string | undefined;
|
|
355
|
+
/**
|
|
356
|
+
* List of tags
|
|
357
|
+
* @public
|
|
358
|
+
*/
|
|
359
|
+
tags: Tag[] | undefined;
|
|
360
|
+
}
|
|
361
|
+
/**
|
|
362
|
+
* @public
|
|
363
|
+
*/
|
|
364
|
+
export interface TagResourceResponse {
|
|
365
|
+
}
|
|
366
|
+
/**
|
|
367
|
+
* @public
|
|
368
|
+
*/
|
|
369
|
+
export interface UntagResourceRequest {
|
|
370
|
+
/**
|
|
371
|
+
* ARN of a taggable resource
|
|
372
|
+
* @public
|
|
373
|
+
*/
|
|
374
|
+
resourceARN: string | undefined;
|
|
375
|
+
/**
|
|
376
|
+
* List of tag keys
|
|
377
|
+
* @public
|
|
378
|
+
*/
|
|
379
|
+
tagKeys: string[] | undefined;
|
|
380
|
+
}
|
|
381
|
+
/**
|
|
382
|
+
* @public
|
|
383
|
+
*/
|
|
384
|
+
export interface UntagResourceResponse {
|
|
385
|
+
}
|
|
@@ -2,6 +2,9 @@ import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@s
|
|
|
2
2
|
import { SerdeContext as __SerdeContext } from "@smithy/types";
|
|
3
3
|
import { GetDataAutomationStatusCommandInput, GetDataAutomationStatusCommandOutput } from "../commands/GetDataAutomationStatusCommand";
|
|
4
4
|
import { InvokeDataAutomationAsyncCommandInput, InvokeDataAutomationAsyncCommandOutput } from "../commands/InvokeDataAutomationAsyncCommand";
|
|
5
|
+
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "../commands/ListTagsForResourceCommand";
|
|
6
|
+
import { TagResourceCommandInput, TagResourceCommandOutput } from "../commands/TagResourceCommand";
|
|
7
|
+
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "../commands/UntagResourceCommand";
|
|
5
8
|
/**
|
|
6
9
|
* serializeAws_json1_1GetDataAutomationStatusCommand
|
|
7
10
|
*/
|
|
@@ -10,6 +13,18 @@ export declare const se_GetDataAutomationStatusCommand: (input: GetDataAutomatio
|
|
|
10
13
|
* serializeAws_json1_1InvokeDataAutomationAsyncCommand
|
|
11
14
|
*/
|
|
12
15
|
export declare const se_InvokeDataAutomationAsyncCommand: (input: InvokeDataAutomationAsyncCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
16
|
+
/**
|
|
17
|
+
* serializeAws_json1_1ListTagsForResourceCommand
|
|
18
|
+
*/
|
|
19
|
+
export declare const se_ListTagsForResourceCommand: (input: ListTagsForResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
20
|
+
/**
|
|
21
|
+
* serializeAws_json1_1TagResourceCommand
|
|
22
|
+
*/
|
|
23
|
+
export declare const se_TagResourceCommand: (input: TagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
24
|
+
/**
|
|
25
|
+
* serializeAws_json1_1UntagResourceCommand
|
|
26
|
+
*/
|
|
27
|
+
export declare const se_UntagResourceCommand: (input: UntagResourceCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
|
|
13
28
|
/**
|
|
14
29
|
* deserializeAws_json1_1GetDataAutomationStatusCommand
|
|
15
30
|
*/
|
|
@@ -18,3 +33,15 @@ export declare const de_GetDataAutomationStatusCommand: (output: __HttpResponse,
|
|
|
18
33
|
* deserializeAws_json1_1InvokeDataAutomationAsyncCommand
|
|
19
34
|
*/
|
|
20
35
|
export declare const de_InvokeDataAutomationAsyncCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<InvokeDataAutomationAsyncCommandOutput>;
|
|
36
|
+
/**
|
|
37
|
+
* deserializeAws_json1_1ListTagsForResourceCommand
|
|
38
|
+
*/
|
|
39
|
+
export declare const de_ListTagsForResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<ListTagsForResourceCommandOutput>;
|
|
40
|
+
/**
|
|
41
|
+
* deserializeAws_json1_1TagResourceCommand
|
|
42
|
+
*/
|
|
43
|
+
export declare const de_TagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<TagResourceCommandOutput>;
|
|
44
|
+
/**
|
|
45
|
+
* deserializeAws_json1_1UntagResourceCommand
|
|
46
|
+
*/
|
|
47
|
+
export declare const de_UntagResourceCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<UntagResourceCommandOutput>;
|
|
@@ -8,6 +8,18 @@ import {
|
|
|
8
8
|
InvokeDataAutomationAsyncCommandInput,
|
|
9
9
|
InvokeDataAutomationAsyncCommandOutput,
|
|
10
10
|
} from "./commands/InvokeDataAutomationAsyncCommand";
|
|
11
|
+
import {
|
|
12
|
+
ListTagsForResourceCommandInput,
|
|
13
|
+
ListTagsForResourceCommandOutput,
|
|
14
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
15
|
+
import {
|
|
16
|
+
TagResourceCommandInput,
|
|
17
|
+
TagResourceCommandOutput,
|
|
18
|
+
} from "./commands/TagResourceCommand";
|
|
19
|
+
import {
|
|
20
|
+
UntagResourceCommandInput,
|
|
21
|
+
UntagResourceCommandOutput,
|
|
22
|
+
} from "./commands/UntagResourceCommand";
|
|
11
23
|
export interface BedrockDataAutomationRuntime {
|
|
12
24
|
getDataAutomationStatus(
|
|
13
25
|
args: GetDataAutomationStatusCommandInput,
|
|
@@ -35,6 +47,45 @@ export interface BedrockDataAutomationRuntime {
|
|
|
35
47
|
options: __HttpHandlerOptions,
|
|
36
48
|
cb: (err: any, data?: InvokeDataAutomationAsyncCommandOutput) => void
|
|
37
49
|
): void;
|
|
50
|
+
listTagsForResource(
|
|
51
|
+
args: ListTagsForResourceCommandInput,
|
|
52
|
+
options?: __HttpHandlerOptions
|
|
53
|
+
): Promise<ListTagsForResourceCommandOutput>;
|
|
54
|
+
listTagsForResource(
|
|
55
|
+
args: ListTagsForResourceCommandInput,
|
|
56
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
57
|
+
): void;
|
|
58
|
+
listTagsForResource(
|
|
59
|
+
args: ListTagsForResourceCommandInput,
|
|
60
|
+
options: __HttpHandlerOptions,
|
|
61
|
+
cb: (err: any, data?: ListTagsForResourceCommandOutput) => void
|
|
62
|
+
): void;
|
|
63
|
+
tagResource(
|
|
64
|
+
args: TagResourceCommandInput,
|
|
65
|
+
options?: __HttpHandlerOptions
|
|
66
|
+
): Promise<TagResourceCommandOutput>;
|
|
67
|
+
tagResource(
|
|
68
|
+
args: TagResourceCommandInput,
|
|
69
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
70
|
+
): void;
|
|
71
|
+
tagResource(
|
|
72
|
+
args: TagResourceCommandInput,
|
|
73
|
+
options: __HttpHandlerOptions,
|
|
74
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
75
|
+
): void;
|
|
76
|
+
untagResource(
|
|
77
|
+
args: UntagResourceCommandInput,
|
|
78
|
+
options?: __HttpHandlerOptions
|
|
79
|
+
): Promise<UntagResourceCommandOutput>;
|
|
80
|
+
untagResource(
|
|
81
|
+
args: UntagResourceCommandInput,
|
|
82
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
83
|
+
): void;
|
|
84
|
+
untagResource(
|
|
85
|
+
args: UntagResourceCommandInput,
|
|
86
|
+
options: __HttpHandlerOptions,
|
|
87
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
88
|
+
): void;
|
|
38
89
|
}
|
|
39
90
|
export declare class BedrockDataAutomationRuntime
|
|
40
91
|
extends BedrockDataAutomationRuntimeClient
|
|
@@ -53,6 +53,18 @@ import {
|
|
|
53
53
|
InvokeDataAutomationAsyncCommandInput,
|
|
54
54
|
InvokeDataAutomationAsyncCommandOutput,
|
|
55
55
|
} from "./commands/InvokeDataAutomationAsyncCommand";
|
|
56
|
+
import {
|
|
57
|
+
ListTagsForResourceCommandInput,
|
|
58
|
+
ListTagsForResourceCommandOutput,
|
|
59
|
+
} from "./commands/ListTagsForResourceCommand";
|
|
60
|
+
import {
|
|
61
|
+
TagResourceCommandInput,
|
|
62
|
+
TagResourceCommandOutput,
|
|
63
|
+
} from "./commands/TagResourceCommand";
|
|
64
|
+
import {
|
|
65
|
+
UntagResourceCommandInput,
|
|
66
|
+
UntagResourceCommandOutput,
|
|
67
|
+
} from "./commands/UntagResourceCommand";
|
|
56
68
|
import {
|
|
57
69
|
ClientInputEndpointParameters,
|
|
58
70
|
ClientResolvedEndpointParameters,
|
|
@@ -62,10 +74,16 @@ import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
|
62
74
|
export { __Client };
|
|
63
75
|
export type ServiceInputTypes =
|
|
64
76
|
| GetDataAutomationStatusCommandInput
|
|
65
|
-
| InvokeDataAutomationAsyncCommandInput
|
|
77
|
+
| InvokeDataAutomationAsyncCommandInput
|
|
78
|
+
| ListTagsForResourceCommandInput
|
|
79
|
+
| TagResourceCommandInput
|
|
80
|
+
| UntagResourceCommandInput;
|
|
66
81
|
export type ServiceOutputTypes =
|
|
67
82
|
| GetDataAutomationStatusCommandOutput
|
|
68
|
-
| InvokeDataAutomationAsyncCommandOutput
|
|
83
|
+
| InvokeDataAutomationAsyncCommandOutput
|
|
84
|
+
| ListTagsForResourceCommandOutput
|
|
85
|
+
| TagResourceCommandOutput
|
|
86
|
+
| UntagResourceCommandOutput;
|
|
69
87
|
export interface ClientDefaults
|
|
70
88
|
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
71
89
|
requestHandler?: __HttpHandlerUserInput;
|
|
@@ -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
|
+
ListTagsForResourceRequest,
|
|
10
|
+
ListTagsForResourceResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface ListTagsForResourceCommandInput
|
|
15
|
+
extends ListTagsForResourceRequest {}
|
|
16
|
+
export interface ListTagsForResourceCommandOutput
|
|
17
|
+
extends ListTagsForResourceResponse,
|
|
18
|
+
__MetadataBearer {}
|
|
19
|
+
declare const ListTagsForResourceCommand_base: {
|
|
20
|
+
new (
|
|
21
|
+
input: ListTagsForResourceCommandInput
|
|
22
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
23
|
+
ListTagsForResourceCommandInput,
|
|
24
|
+
ListTagsForResourceCommandOutput,
|
|
25
|
+
BedrockDataAutomationRuntimeClientResolvedConfig,
|
|
26
|
+
ServiceInputTypes,
|
|
27
|
+
ServiceOutputTypes
|
|
28
|
+
>;
|
|
29
|
+
new (
|
|
30
|
+
__0_0: ListTagsForResourceCommandInput
|
|
31
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
32
|
+
ListTagsForResourceCommandInput,
|
|
33
|
+
ListTagsForResourceCommandOutput,
|
|
34
|
+
BedrockDataAutomationRuntimeClientResolvedConfig,
|
|
35
|
+
ServiceInputTypes,
|
|
36
|
+
ServiceOutputTypes
|
|
37
|
+
>;
|
|
38
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
39
|
+
};
|
|
40
|
+
export declare class ListTagsForResourceCommand extends ListTagsForResourceCommand_base {
|
|
41
|
+
protected static __types: {
|
|
42
|
+
api: {
|
|
43
|
+
input: ListTagsForResourceRequest;
|
|
44
|
+
output: ListTagsForResourceResponse;
|
|
45
|
+
};
|
|
46
|
+
sdk: {
|
|
47
|
+
input: ListTagsForResourceCommandInput;
|
|
48
|
+
output: ListTagsForResourceCommandOutput;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
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 { TagResourceRequest, TagResourceResponse } from "../models/models_0";
|
|
9
|
+
export { __MetadataBearer };
|
|
10
|
+
export { $Command };
|
|
11
|
+
export interface TagResourceCommandInput extends TagResourceRequest {}
|
|
12
|
+
export interface TagResourceCommandOutput
|
|
13
|
+
extends TagResourceResponse,
|
|
14
|
+
__MetadataBearer {}
|
|
15
|
+
declare const TagResourceCommand_base: {
|
|
16
|
+
new (
|
|
17
|
+
input: TagResourceCommandInput
|
|
18
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
19
|
+
TagResourceCommandInput,
|
|
20
|
+
TagResourceCommandOutput,
|
|
21
|
+
BedrockDataAutomationRuntimeClientResolvedConfig,
|
|
22
|
+
ServiceInputTypes,
|
|
23
|
+
ServiceOutputTypes
|
|
24
|
+
>;
|
|
25
|
+
new (
|
|
26
|
+
__0_0: TagResourceCommandInput
|
|
27
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
28
|
+
TagResourceCommandInput,
|
|
29
|
+
TagResourceCommandOutput,
|
|
30
|
+
BedrockDataAutomationRuntimeClientResolvedConfig,
|
|
31
|
+
ServiceInputTypes,
|
|
32
|
+
ServiceOutputTypes
|
|
33
|
+
>;
|
|
34
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
35
|
+
};
|
|
36
|
+
export declare class TagResourceCommand extends TagResourceCommand_base {
|
|
37
|
+
protected static __types: {
|
|
38
|
+
api: {
|
|
39
|
+
input: TagResourceRequest;
|
|
40
|
+
output: {};
|
|
41
|
+
};
|
|
42
|
+
sdk: {
|
|
43
|
+
input: TagResourceCommandInput;
|
|
44
|
+
output: TagResourceCommandOutput;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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
|
+
UntagResourceRequest,
|
|
10
|
+
UntagResourceResponse,
|
|
11
|
+
} from "../models/models_0";
|
|
12
|
+
export { __MetadataBearer };
|
|
13
|
+
export { $Command };
|
|
14
|
+
export interface UntagResourceCommandInput extends UntagResourceRequest {}
|
|
15
|
+
export interface UntagResourceCommandOutput
|
|
16
|
+
extends UntagResourceResponse,
|
|
17
|
+
__MetadataBearer {}
|
|
18
|
+
declare const UntagResourceCommand_base: {
|
|
19
|
+
new (
|
|
20
|
+
input: UntagResourceCommandInput
|
|
21
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
22
|
+
UntagResourceCommandInput,
|
|
23
|
+
UntagResourceCommandOutput,
|
|
24
|
+
BedrockDataAutomationRuntimeClientResolvedConfig,
|
|
25
|
+
ServiceInputTypes,
|
|
26
|
+
ServiceOutputTypes
|
|
27
|
+
>;
|
|
28
|
+
new (
|
|
29
|
+
__0_0: UntagResourceCommandInput
|
|
30
|
+
): import("@smithy/smithy-client").CommandImpl<
|
|
31
|
+
UntagResourceCommandInput,
|
|
32
|
+
UntagResourceCommandOutput,
|
|
33
|
+
BedrockDataAutomationRuntimeClientResolvedConfig,
|
|
34
|
+
ServiceInputTypes,
|
|
35
|
+
ServiceOutputTypes
|
|
36
|
+
>;
|
|
37
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
38
|
+
};
|
|
39
|
+
export declare class UntagResourceCommand extends UntagResourceCommand_base {
|
|
40
|
+
protected static __types: {
|
|
41
|
+
api: {
|
|
42
|
+
input: UntagResourceRequest;
|
|
43
|
+
output: {};
|
|
44
|
+
};
|
|
45
|
+
sdk: {
|
|
46
|
+
input: UntagResourceCommandInput;
|
|
47
|
+
output: UntagResourceCommandOutput;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
}
|
|
@@ -74,7 +74,7 @@ export declare const DataAutomationStage: {
|
|
|
74
74
|
export type DataAutomationStage =
|
|
75
75
|
(typeof DataAutomationStage)[keyof typeof DataAutomationStage];
|
|
76
76
|
export interface DataAutomationConfiguration {
|
|
77
|
-
|
|
77
|
+
dataAutomationProjectArn: string | undefined;
|
|
78
78
|
stage?: DataAutomationStage | undefined;
|
|
79
79
|
}
|
|
80
80
|
export interface EncryptionConfiguration {
|
|
@@ -90,6 +90,10 @@ export interface EventBridgeConfiguration {
|
|
|
90
90
|
export interface NotificationConfiguration {
|
|
91
91
|
eventBridgeConfiguration: EventBridgeConfiguration | undefined;
|
|
92
92
|
}
|
|
93
|
+
export interface Tag {
|
|
94
|
+
key: string | undefined;
|
|
95
|
+
value: string | undefined;
|
|
96
|
+
}
|
|
93
97
|
export interface InvokeDataAutomationAsyncRequest {
|
|
94
98
|
clientToken?: string | undefined;
|
|
95
99
|
inputConfiguration: InputConfiguration | undefined;
|
|
@@ -98,6 +102,8 @@ export interface InvokeDataAutomationAsyncRequest {
|
|
|
98
102
|
encryptionConfiguration?: EncryptionConfiguration | undefined;
|
|
99
103
|
notificationConfiguration?: NotificationConfiguration | undefined;
|
|
100
104
|
blueprints?: Blueprint[] | undefined;
|
|
105
|
+
dataAutomationProfileArn: string | undefined;
|
|
106
|
+
tags?: Tag[] | undefined;
|
|
101
107
|
}
|
|
102
108
|
export interface InvokeDataAutomationAsyncResponse {
|
|
103
109
|
invocationArn: string | undefined;
|
|
@@ -109,3 +115,19 @@ export declare class ServiceQuotaExceededException extends __BaseException {
|
|
|
109
115
|
opts: __ExceptionOptionType<ServiceQuotaExceededException, __BaseException>
|
|
110
116
|
);
|
|
111
117
|
}
|
|
118
|
+
export interface ListTagsForResourceRequest {
|
|
119
|
+
resourceARN: string | undefined;
|
|
120
|
+
}
|
|
121
|
+
export interface ListTagsForResourceResponse {
|
|
122
|
+
tags?: Tag[] | undefined;
|
|
123
|
+
}
|
|
124
|
+
export interface TagResourceRequest {
|
|
125
|
+
resourceARN: string | undefined;
|
|
126
|
+
tags: Tag[] | undefined;
|
|
127
|
+
}
|
|
128
|
+
export interface TagResourceResponse {}
|
|
129
|
+
export interface UntagResourceRequest {
|
|
130
|
+
resourceARN: string | undefined;
|
|
131
|
+
tagKeys: string[] | undefined;
|
|
132
|
+
}
|
|
133
|
+
export interface UntagResourceResponse {}
|