@aws-sdk/client-bedrock-data-automation 3.1022.0 → 3.1024.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 +70 -0
- package/dist-cjs/index.js +176 -3
- package/dist-cjs/schemas/schemas_0.js +381 -17
- package/dist-es/BedrockDataAutomation.js +26 -0
- package/dist-es/commands/CreateDataAutomationLibraryCommand.js +16 -0
- package/dist-es/commands/DeleteDataAutomationLibraryCommand.js +16 -0
- package/dist-es/commands/GetDataAutomationLibraryCommand.js +16 -0
- package/dist-es/commands/GetDataAutomationLibraryEntityCommand.js +16 -0
- package/dist-es/commands/GetDataAutomationLibraryIngestionJobCommand.js +16 -0
- package/dist-es/commands/InvokeDataAutomationLibraryIngestionJobCommand.js +16 -0
- package/dist-es/commands/ListDataAutomationLibrariesCommand.js +16 -0
- package/dist-es/commands/ListDataAutomationLibraryEntitiesCommand.js +16 -0
- package/dist-es/commands/ListDataAutomationLibraryIngestionJobsCommand.js +16 -0
- package/dist-es/commands/UpdateDataAutomationLibraryCommand.js +16 -0
- package/dist-es/commands/index.js +10 -0
- package/dist-es/models/enums.js +20 -3
- package/dist-es/pagination/ListDataAutomationLibrariesPaginator.js +4 -0
- package/dist-es/pagination/ListDataAutomationLibraryEntitiesPaginator.js +4 -0
- package/dist-es/pagination/ListDataAutomationLibraryIngestionJobsPaginator.js +4 -0
- package/dist-es/pagination/index.js +3 -0
- package/dist-es/schemas/schemas_0.js +377 -14
- package/dist-types/BedrockDataAutomation.d.ts +92 -0
- package/dist-types/BedrockDataAutomationClient.d.ts +12 -2
- package/dist-types/commands/CreateDataAutomationLibraryCommand.d.ts +107 -0
- package/dist-types/commands/CreateDataAutomationProjectCommand.d.ts +7 -0
- package/dist-types/commands/DeleteDataAutomationLibraryCommand.d.ts +93 -0
- package/dist-types/commands/GetDataAutomationLibraryCommand.d.ts +105 -0
- package/dist-types/commands/GetDataAutomationLibraryEntityCommand.d.ts +104 -0
- package/dist-types/commands/GetDataAutomationLibraryIngestionJobCommand.d.ts +102 -0
- package/dist-types/commands/GetDataAutomationProjectCommand.d.ts +7 -0
- package/dist-types/commands/InvokeDataAutomationLibraryIngestionJobCommand.d.ts +140 -0
- package/dist-types/commands/ListDataAutomationLibrariesCommand.d.ts +98 -0
- package/dist-types/commands/ListDataAutomationLibraryEntitiesCommand.d.ts +103 -0
- package/dist-types/commands/ListDataAutomationLibraryIngestionJobsCommand.d.ts +101 -0
- package/dist-types/commands/ListDataAutomationProjectsCommand.d.ts +3 -0
- package/dist-types/commands/UpdateDataAutomationLibraryCommand.d.ts +95 -0
- package/dist-types/commands/UpdateDataAutomationProjectCommand.d.ts +7 -0
- package/dist-types/commands/index.d.ts +10 -0
- package/dist-types/models/enums.d.ts +53 -4
- package/dist-types/models/models_0.d.ts +897 -1
- package/dist-types/pagination/ListDataAutomationLibrariesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataAutomationLibraryEntitiesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListDataAutomationLibraryIngestionJobsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +3 -0
- package/dist-types/schemas/schemas_0.d.ts +52 -1
- package/dist-types/ts3.4/BedrockDataAutomation.d.ts +216 -0
- package/dist-types/ts3.4/BedrockDataAutomationClient.d.ts +60 -0
- package/dist-types/ts3.4/commands/CreateDataAutomationLibraryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteDataAutomationLibraryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDataAutomationLibraryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDataAutomationLibraryEntityCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetDataAutomationLibraryIngestionJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/InvokeDataAutomationLibraryIngestionJobCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDataAutomationLibrariesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDataAutomationLibraryEntitiesCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListDataAutomationLibraryIngestionJobsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateDataAutomationLibraryCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +10 -0
- package/dist-types/ts3.4/models/enums.d.ts +29 -5
- package/dist-types/ts3.4/models/models_0.d.ts +267 -0
- package/dist-types/ts3.4/pagination/ListDataAutomationLibrariesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataAutomationLibraryEntitiesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListDataAutomationLibraryIngestionJobsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +3 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +52 -0
- package/package.json +1 -1
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockDataAutomationClient";
|
|
4
|
+
import type { GetDataAutomationLibraryIngestionJobRequest, GetDataAutomationLibraryIngestionJobResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link GetDataAutomationLibraryIngestionJobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface GetDataAutomationLibraryIngestionJobCommandInput extends GetDataAutomationLibraryIngestionJobRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link GetDataAutomationLibraryIngestionJobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface GetDataAutomationLibraryIngestionJobCommandOutput extends GetDataAutomationLibraryIngestionJobResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const GetDataAutomationLibraryIngestionJobCommand_base: {
|
|
25
|
+
new (input: GetDataAutomationLibraryIngestionJobCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataAutomationLibraryIngestionJobCommandInput, GetDataAutomationLibraryIngestionJobCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: GetDataAutomationLibraryIngestionJobCommandInput): import("@smithy/smithy-client").CommandImpl<GetDataAutomationLibraryIngestionJobCommandInput, GetDataAutomationLibraryIngestionJobCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* API used to get status of data automation library ingestion job
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockDataAutomationClient, GetDataAutomationLibraryIngestionJobCommand } from "@aws-sdk/client-bedrock-data-automation"; // ES Modules import
|
|
35
|
+
* // const { BedrockDataAutomationClient, GetDataAutomationLibraryIngestionJobCommand } = require("@aws-sdk/client-bedrock-data-automation"); // CommonJS import
|
|
36
|
+
* // import type { BedrockDataAutomationClientConfig } from "@aws-sdk/client-bedrock-data-automation";
|
|
37
|
+
* const config = {}; // type is BedrockDataAutomationClientConfig
|
|
38
|
+
* const client = new BedrockDataAutomationClient(config);
|
|
39
|
+
* const input = { // GetDataAutomationLibraryIngestionJobRequest
|
|
40
|
+
* libraryArn: "STRING_VALUE", // required
|
|
41
|
+
* jobArn: "STRING_VALUE", // required
|
|
42
|
+
* };
|
|
43
|
+
* const command = new GetDataAutomationLibraryIngestionJobCommand(input);
|
|
44
|
+
* const response = await client.send(command);
|
|
45
|
+
* // { // GetDataAutomationLibraryIngestionJobResponse
|
|
46
|
+
* // job: { // DataAutomationLibraryIngestionJob
|
|
47
|
+
* // jobArn: "STRING_VALUE", // required
|
|
48
|
+
* // creationTime: new Date("TIMESTAMP"), // required
|
|
49
|
+
* // entityType: "VOCABULARY", // required
|
|
50
|
+
* // operationType: "UPSERT" || "DELETE", // required
|
|
51
|
+
* // jobStatus: "IN_PROGRESS" || "COMPLETED" || "COMPLETED_WITH_ERRORS" || "FAILED", // required
|
|
52
|
+
* // outputConfiguration: { // OutputConfiguration
|
|
53
|
+
* // s3Uri: "STRING_VALUE", // required
|
|
54
|
+
* // },
|
|
55
|
+
* // completionTime: new Date("TIMESTAMP"),
|
|
56
|
+
* // errorMessage: "STRING_VALUE",
|
|
57
|
+
* // errorType: "STRING_VALUE",
|
|
58
|
+
* // },
|
|
59
|
+
* // };
|
|
60
|
+
*
|
|
61
|
+
* ```
|
|
62
|
+
*
|
|
63
|
+
* @param GetDataAutomationLibraryIngestionJobCommandInput - {@link GetDataAutomationLibraryIngestionJobCommandInput}
|
|
64
|
+
* @returns {@link GetDataAutomationLibraryIngestionJobCommandOutput}
|
|
65
|
+
* @see {@link GetDataAutomationLibraryIngestionJobCommandInput} for command's `input` shape.
|
|
66
|
+
* @see {@link GetDataAutomationLibraryIngestionJobCommandOutput} for command's `response` shape.
|
|
67
|
+
* @see {@link BedrockDataAutomationClientResolvedConfig | config} for BedrockDataAutomationClient's `config` shape.
|
|
68
|
+
*
|
|
69
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
70
|
+
* This exception is thrown when a request is denied per access permissions
|
|
71
|
+
*
|
|
72
|
+
* @throws {@link InternalServerException} (server fault)
|
|
73
|
+
* This exception is thrown if there was an unexpected error during processing of request
|
|
74
|
+
*
|
|
75
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
76
|
+
* This exception is thrown when a resource referenced by the operation does not exist
|
|
77
|
+
*
|
|
78
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
79
|
+
* This exception is thrown when the number of requests exceeds the limit
|
|
80
|
+
*
|
|
81
|
+
* @throws {@link ValidationException} (client fault)
|
|
82
|
+
* This exception is thrown when the request's input validation fails
|
|
83
|
+
*
|
|
84
|
+
* @throws {@link BedrockDataAutomationServiceException}
|
|
85
|
+
* <p>Base exception class for all service exceptions from BedrockDataAutomation service.</p>
|
|
86
|
+
*
|
|
87
|
+
*
|
|
88
|
+
* @public
|
|
89
|
+
*/
|
|
90
|
+
export declare class GetDataAutomationLibraryIngestionJobCommand extends GetDataAutomationLibraryIngestionJobCommand_base {
|
|
91
|
+
/** @internal type navigation helper, not in runtime. */
|
|
92
|
+
protected static __types: {
|
|
93
|
+
api: {
|
|
94
|
+
input: GetDataAutomationLibraryIngestionJobRequest;
|
|
95
|
+
output: GetDataAutomationLibraryIngestionJobResponse;
|
|
96
|
+
};
|
|
97
|
+
sdk: {
|
|
98
|
+
input: GetDataAutomationLibraryIngestionJobCommandInput;
|
|
99
|
+
output: GetDataAutomationLibraryIngestionJobCommandOutput;
|
|
100
|
+
};
|
|
101
|
+
};
|
|
102
|
+
}
|
|
@@ -237,6 +237,13 @@ declare const GetDataAutomationProjectCommand_base: {
|
|
|
237
237
|
* // mov: "IMAGE" || "DOCUMENT" || "AUDIO" || "VIDEO",
|
|
238
238
|
* // },
|
|
239
239
|
* // },
|
|
240
|
+
* // dataAutomationLibraryConfiguration: { // DataAutomationLibraryConfiguration
|
|
241
|
+
* // libraries: [ // DataAutomationLibraryItems
|
|
242
|
+
* // { // DataAutomationLibraryItem
|
|
243
|
+
* // libraryArn: "STRING_VALUE", // required
|
|
244
|
+
* // },
|
|
245
|
+
* // ],
|
|
246
|
+
* // },
|
|
240
247
|
* // status: "COMPLETED" || "IN_PROGRESS" || "FAILED", // required
|
|
241
248
|
* // kmsKeyId: "STRING_VALUE",
|
|
242
249
|
* // kmsEncryptionContext: { // KmsEncryptionContext
|
|
@@ -0,0 +1,140 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockDataAutomationClient";
|
|
4
|
+
import type { InvokeDataAutomationLibraryIngestionJobRequest, InvokeDataAutomationLibraryIngestionJobResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link InvokeDataAutomationLibraryIngestionJobCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface InvokeDataAutomationLibraryIngestionJobCommandInput extends InvokeDataAutomationLibraryIngestionJobRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link InvokeDataAutomationLibraryIngestionJobCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface InvokeDataAutomationLibraryIngestionJobCommandOutput extends InvokeDataAutomationLibraryIngestionJobResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const InvokeDataAutomationLibraryIngestionJobCommand_base: {
|
|
25
|
+
new (input: InvokeDataAutomationLibraryIngestionJobCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeDataAutomationLibraryIngestionJobCommandInput, InvokeDataAutomationLibraryIngestionJobCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: InvokeDataAutomationLibraryIngestionJobCommandInput): import("@smithy/smithy-client").CommandImpl<InvokeDataAutomationLibraryIngestionJobCommandInput, InvokeDataAutomationLibraryIngestionJobCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Async API: Invoke data automation library ingestion job
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockDataAutomationClient, InvokeDataAutomationLibraryIngestionJobCommand } from "@aws-sdk/client-bedrock-data-automation"; // ES Modules import
|
|
35
|
+
* // const { BedrockDataAutomationClient, InvokeDataAutomationLibraryIngestionJobCommand } = require("@aws-sdk/client-bedrock-data-automation"); // CommonJS import
|
|
36
|
+
* // import type { BedrockDataAutomationClientConfig } from "@aws-sdk/client-bedrock-data-automation";
|
|
37
|
+
* const config = {}; // type is BedrockDataAutomationClientConfig
|
|
38
|
+
* const client = new BedrockDataAutomationClient(config);
|
|
39
|
+
* const input = { // InvokeDataAutomationLibraryIngestionJobRequest
|
|
40
|
+
* libraryArn: "STRING_VALUE", // required
|
|
41
|
+
* clientToken: "STRING_VALUE",
|
|
42
|
+
* inputConfiguration: { // InputConfiguration
|
|
43
|
+
* s3Object: { // S3Object
|
|
44
|
+
* s3Uri: "STRING_VALUE", // required
|
|
45
|
+
* version: "STRING_VALUE",
|
|
46
|
+
* },
|
|
47
|
+
* inlinePayload: { // InlinePayload Union: only one key present
|
|
48
|
+
* upsertEntitiesInfo: [ // UpsertEntitiesInfo
|
|
49
|
+
* { // UpsertEntityInfo Union: only one key present
|
|
50
|
+
* vocabulary: { // VocabularyEntityInfo
|
|
51
|
+
* entityId: "STRING_VALUE",
|
|
52
|
+
* description: "STRING_VALUE",
|
|
53
|
+
* language: "EN" || "DE" || "ES" || "FR" || "IT" || "PT" || "JA" || "KO" || "CN" || "TW" || "HK", // required
|
|
54
|
+
* phrases: [ // PhraseList // required
|
|
55
|
+
* { // Phrase
|
|
56
|
+
* text: "STRING_VALUE", // required
|
|
57
|
+
* displayAsText: "STRING_VALUE",
|
|
58
|
+
* },
|
|
59
|
+
* ],
|
|
60
|
+
* },
|
|
61
|
+
* },
|
|
62
|
+
* ],
|
|
63
|
+
* deleteEntitiesInfo: { // DeleteEntitiesInfo
|
|
64
|
+
* entityIds: [ // EntityIdList // required
|
|
65
|
+
* "STRING_VALUE",
|
|
66
|
+
* ],
|
|
67
|
+
* },
|
|
68
|
+
* },
|
|
69
|
+
* },
|
|
70
|
+
* entityType: "VOCABULARY", // required
|
|
71
|
+
* operationType: "UPSERT" || "DELETE", // required
|
|
72
|
+
* outputConfiguration: { // OutputConfiguration
|
|
73
|
+
* s3Uri: "STRING_VALUE", // required
|
|
74
|
+
* },
|
|
75
|
+
* notificationConfiguration: { // NotificationConfiguration
|
|
76
|
+
* eventBridgeConfiguration: { // EventBridgeConfiguration
|
|
77
|
+
* eventBridgeEnabled: true || false, // required
|
|
78
|
+
* },
|
|
79
|
+
* },
|
|
80
|
+
* tags: [ // TagList
|
|
81
|
+
* { // Tag
|
|
82
|
+
* key: "STRING_VALUE", // required
|
|
83
|
+
* value: "STRING_VALUE", // required
|
|
84
|
+
* },
|
|
85
|
+
* ],
|
|
86
|
+
* };
|
|
87
|
+
* const command = new InvokeDataAutomationLibraryIngestionJobCommand(input);
|
|
88
|
+
* const response = await client.send(command);
|
|
89
|
+
* // { // InvokeDataAutomationLibraryIngestionJobResponse
|
|
90
|
+
* // jobArn: "STRING_VALUE",
|
|
91
|
+
* // };
|
|
92
|
+
*
|
|
93
|
+
* ```
|
|
94
|
+
*
|
|
95
|
+
* @param InvokeDataAutomationLibraryIngestionJobCommandInput - {@link InvokeDataAutomationLibraryIngestionJobCommandInput}
|
|
96
|
+
* @returns {@link InvokeDataAutomationLibraryIngestionJobCommandOutput}
|
|
97
|
+
* @see {@link InvokeDataAutomationLibraryIngestionJobCommandInput} for command's `input` shape.
|
|
98
|
+
* @see {@link InvokeDataAutomationLibraryIngestionJobCommandOutput} for command's `response` shape.
|
|
99
|
+
* @see {@link BedrockDataAutomationClientResolvedConfig | config} for BedrockDataAutomationClient's `config` shape.
|
|
100
|
+
*
|
|
101
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
102
|
+
* This exception is thrown when a request is denied per access permissions
|
|
103
|
+
*
|
|
104
|
+
* @throws {@link ConflictException} (client fault)
|
|
105
|
+
* This exception is thrown when there is a conflict performing an operation
|
|
106
|
+
*
|
|
107
|
+
* @throws {@link InternalServerException} (server fault)
|
|
108
|
+
* This exception is thrown if there was an unexpected error during processing of request
|
|
109
|
+
*
|
|
110
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
111
|
+
* This exception is thrown when a resource referenced by the operation does not exist
|
|
112
|
+
*
|
|
113
|
+
* @throws {@link ServiceQuotaExceededException} (client fault)
|
|
114
|
+
* This exception is thrown when a request is made beyond the service quota
|
|
115
|
+
*
|
|
116
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
117
|
+
* This exception is thrown when the number of requests exceeds the limit
|
|
118
|
+
*
|
|
119
|
+
* @throws {@link ValidationException} (client fault)
|
|
120
|
+
* This exception is thrown when the request's input validation fails
|
|
121
|
+
*
|
|
122
|
+
* @throws {@link BedrockDataAutomationServiceException}
|
|
123
|
+
* <p>Base exception class for all service exceptions from BedrockDataAutomation service.</p>
|
|
124
|
+
*
|
|
125
|
+
*
|
|
126
|
+
* @public
|
|
127
|
+
*/
|
|
128
|
+
export declare class InvokeDataAutomationLibraryIngestionJobCommand extends InvokeDataAutomationLibraryIngestionJobCommand_base {
|
|
129
|
+
/** @internal type navigation helper, not in runtime. */
|
|
130
|
+
protected static __types: {
|
|
131
|
+
api: {
|
|
132
|
+
input: InvokeDataAutomationLibraryIngestionJobRequest;
|
|
133
|
+
output: InvokeDataAutomationLibraryIngestionJobResponse;
|
|
134
|
+
};
|
|
135
|
+
sdk: {
|
|
136
|
+
input: InvokeDataAutomationLibraryIngestionJobCommandInput;
|
|
137
|
+
output: InvokeDataAutomationLibraryIngestionJobCommandOutput;
|
|
138
|
+
};
|
|
139
|
+
};
|
|
140
|
+
}
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockDataAutomationClient";
|
|
4
|
+
import type { ListDataAutomationLibrariesRequest, ListDataAutomationLibrariesResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListDataAutomationLibrariesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDataAutomationLibrariesCommandInput extends ListDataAutomationLibrariesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDataAutomationLibrariesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDataAutomationLibrariesCommandOutput extends ListDataAutomationLibrariesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListDataAutomationLibrariesCommand_base: {
|
|
25
|
+
new (input: ListDataAutomationLibrariesCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataAutomationLibrariesCommandInput, ListDataAutomationLibrariesCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (...[input]: [] | [ListDataAutomationLibrariesCommandInput]): import("@smithy/smithy-client").CommandImpl<ListDataAutomationLibrariesCommandInput, ListDataAutomationLibrariesCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Lists all existing Amazon Bedrock Data Automation Libraries
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockDataAutomationClient, ListDataAutomationLibrariesCommand } from "@aws-sdk/client-bedrock-data-automation"; // ES Modules import
|
|
35
|
+
* // const { BedrockDataAutomationClient, ListDataAutomationLibrariesCommand } = require("@aws-sdk/client-bedrock-data-automation"); // CommonJS import
|
|
36
|
+
* // import type { BedrockDataAutomationClientConfig } from "@aws-sdk/client-bedrock-data-automation";
|
|
37
|
+
* const config = {}; // type is BedrockDataAutomationClientConfig
|
|
38
|
+
* const client = new BedrockDataAutomationClient(config);
|
|
39
|
+
* const input = { // ListDataAutomationLibrariesRequest
|
|
40
|
+
* maxResults: Number("int"),
|
|
41
|
+
* nextToken: "STRING_VALUE",
|
|
42
|
+
* projectFilter: { // DataAutomationProjectFilter
|
|
43
|
+
* projectArn: "STRING_VALUE", // required
|
|
44
|
+
* projectStage: "DEVELOPMENT" || "LIVE",
|
|
45
|
+
* },
|
|
46
|
+
* };
|
|
47
|
+
* const command = new ListDataAutomationLibrariesCommand(input);
|
|
48
|
+
* const response = await client.send(command);
|
|
49
|
+
* // { // ListDataAutomationLibrariesResponse
|
|
50
|
+
* // libraries: [ // DataAutomationLibrarySummaries
|
|
51
|
+
* // { // DataAutomationLibrarySummary
|
|
52
|
+
* // libraryArn: "STRING_VALUE", // required
|
|
53
|
+
* // libraryName: "STRING_VALUE",
|
|
54
|
+
* // creationTime: new Date("TIMESTAMP"), // required
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // nextToken: "STRING_VALUE",
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param ListDataAutomationLibrariesCommandInput - {@link ListDataAutomationLibrariesCommandInput}
|
|
63
|
+
* @returns {@link ListDataAutomationLibrariesCommandOutput}
|
|
64
|
+
* @see {@link ListDataAutomationLibrariesCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link ListDataAutomationLibrariesCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link BedrockDataAutomationClientResolvedConfig | config} for BedrockDataAutomationClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* This exception is thrown when a request is denied per access permissions
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* This exception is thrown if there was an unexpected error during processing of request
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
75
|
+
* This exception is thrown when the number of requests exceeds the limit
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ValidationException} (client fault)
|
|
78
|
+
* This exception is thrown when the request's input validation fails
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link BedrockDataAutomationServiceException}
|
|
81
|
+
* <p>Base exception class for all service exceptions from BedrockDataAutomation service.</p>
|
|
82
|
+
*
|
|
83
|
+
*
|
|
84
|
+
* @public
|
|
85
|
+
*/
|
|
86
|
+
export declare class ListDataAutomationLibrariesCommand extends ListDataAutomationLibrariesCommand_base {
|
|
87
|
+
/** @internal type navigation helper, not in runtime. */
|
|
88
|
+
protected static __types: {
|
|
89
|
+
api: {
|
|
90
|
+
input: ListDataAutomationLibrariesRequest;
|
|
91
|
+
output: ListDataAutomationLibrariesResponse;
|
|
92
|
+
};
|
|
93
|
+
sdk: {
|
|
94
|
+
input: ListDataAutomationLibrariesCommandInput;
|
|
95
|
+
output: ListDataAutomationLibrariesCommandOutput;
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockDataAutomationClient";
|
|
4
|
+
import type { ListDataAutomationLibraryEntitiesRequest, ListDataAutomationLibraryEntitiesResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListDataAutomationLibraryEntitiesCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDataAutomationLibraryEntitiesCommandInput extends ListDataAutomationLibraryEntitiesRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDataAutomationLibraryEntitiesCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDataAutomationLibraryEntitiesCommandOutput extends ListDataAutomationLibraryEntitiesResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListDataAutomationLibraryEntitiesCommand_base: {
|
|
25
|
+
new (input: ListDataAutomationLibraryEntitiesCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataAutomationLibraryEntitiesCommandInput, ListDataAutomationLibraryEntitiesCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListDataAutomationLibraryEntitiesCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataAutomationLibraryEntitiesCommandInput, ListDataAutomationLibraryEntitiesCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Lists all stored entities in the library
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockDataAutomationClient, ListDataAutomationLibraryEntitiesCommand } from "@aws-sdk/client-bedrock-data-automation"; // ES Modules import
|
|
35
|
+
* // const { BedrockDataAutomationClient, ListDataAutomationLibraryEntitiesCommand } = require("@aws-sdk/client-bedrock-data-automation"); // CommonJS import
|
|
36
|
+
* // import type { BedrockDataAutomationClientConfig } from "@aws-sdk/client-bedrock-data-automation";
|
|
37
|
+
* const config = {}; // type is BedrockDataAutomationClientConfig
|
|
38
|
+
* const client = new BedrockDataAutomationClient(config);
|
|
39
|
+
* const input = { // ListDataAutomationLibraryEntitiesRequest
|
|
40
|
+
* libraryArn: "STRING_VALUE", // required
|
|
41
|
+
* entityType: "VOCABULARY", // required
|
|
42
|
+
* maxResults: Number("int"),
|
|
43
|
+
* nextToken: "STRING_VALUE",
|
|
44
|
+
* };
|
|
45
|
+
* const command = new ListDataAutomationLibraryEntitiesCommand(input);
|
|
46
|
+
* const response = await client.send(command);
|
|
47
|
+
* // { // ListDataAutomationLibraryEntitiesResponse
|
|
48
|
+
* // entities: [ // DataAutomationLibraryEntitySummaries
|
|
49
|
+
* // { // DataAutomationLibraryEntitySummary Union: only one key present
|
|
50
|
+
* // vocabulary: { // VocabularyEntitySummary
|
|
51
|
+
* // entityId: "STRING_VALUE",
|
|
52
|
+
* // description: "STRING_VALUE",
|
|
53
|
+
* // language: "EN" || "DE" || "ES" || "FR" || "IT" || "PT" || "JA" || "KO" || "CN" || "TW" || "HK",
|
|
54
|
+
* // numOfPhrases: Number("int"),
|
|
55
|
+
* // lastModifiedTime: new Date("TIMESTAMP"),
|
|
56
|
+
* // },
|
|
57
|
+
* // },
|
|
58
|
+
* // ],
|
|
59
|
+
* // nextToken: "STRING_VALUE",
|
|
60
|
+
* // };
|
|
61
|
+
*
|
|
62
|
+
* ```
|
|
63
|
+
*
|
|
64
|
+
* @param ListDataAutomationLibraryEntitiesCommandInput - {@link ListDataAutomationLibraryEntitiesCommandInput}
|
|
65
|
+
* @returns {@link ListDataAutomationLibraryEntitiesCommandOutput}
|
|
66
|
+
* @see {@link ListDataAutomationLibraryEntitiesCommandInput} for command's `input` shape.
|
|
67
|
+
* @see {@link ListDataAutomationLibraryEntitiesCommandOutput} for command's `response` shape.
|
|
68
|
+
* @see {@link BedrockDataAutomationClientResolvedConfig | config} for BedrockDataAutomationClient's `config` shape.
|
|
69
|
+
*
|
|
70
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
71
|
+
* This exception is thrown when a request is denied per access permissions
|
|
72
|
+
*
|
|
73
|
+
* @throws {@link InternalServerException} (server fault)
|
|
74
|
+
* This exception is thrown if there was an unexpected error during processing of request
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
77
|
+
* This exception is thrown when a resource referenced by the operation does not exist
|
|
78
|
+
*
|
|
79
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
80
|
+
* This exception is thrown when the number of requests exceeds the limit
|
|
81
|
+
*
|
|
82
|
+
* @throws {@link ValidationException} (client fault)
|
|
83
|
+
* This exception is thrown when the request's input validation fails
|
|
84
|
+
*
|
|
85
|
+
* @throws {@link BedrockDataAutomationServiceException}
|
|
86
|
+
* <p>Base exception class for all service exceptions from BedrockDataAutomation service.</p>
|
|
87
|
+
*
|
|
88
|
+
*
|
|
89
|
+
* @public
|
|
90
|
+
*/
|
|
91
|
+
export declare class ListDataAutomationLibraryEntitiesCommand extends ListDataAutomationLibraryEntitiesCommand_base {
|
|
92
|
+
/** @internal type navigation helper, not in runtime. */
|
|
93
|
+
protected static __types: {
|
|
94
|
+
api: {
|
|
95
|
+
input: ListDataAutomationLibraryEntitiesRequest;
|
|
96
|
+
output: ListDataAutomationLibraryEntitiesResponse;
|
|
97
|
+
};
|
|
98
|
+
sdk: {
|
|
99
|
+
input: ListDataAutomationLibraryEntitiesCommandInput;
|
|
100
|
+
output: ListDataAutomationLibraryEntitiesCommandOutput;
|
|
101
|
+
};
|
|
102
|
+
};
|
|
103
|
+
}
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
2
|
+
import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
|
|
3
|
+
import type { BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockDataAutomationClient";
|
|
4
|
+
import type { ListDataAutomationLibraryIngestionJobsRequest, ListDataAutomationLibraryIngestionJobsResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link ListDataAutomationLibraryIngestionJobsCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface ListDataAutomationLibraryIngestionJobsCommandInput extends ListDataAutomationLibraryIngestionJobsRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link ListDataAutomationLibraryIngestionJobsCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface ListDataAutomationLibraryIngestionJobsCommandOutput extends ListDataAutomationLibraryIngestionJobsResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const ListDataAutomationLibraryIngestionJobsCommand_base: {
|
|
25
|
+
new (input: ListDataAutomationLibraryIngestionJobsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataAutomationLibraryIngestionJobsCommandInput, ListDataAutomationLibraryIngestionJobsCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: ListDataAutomationLibraryIngestionJobsCommandInput): import("@smithy/smithy-client").CommandImpl<ListDataAutomationLibraryIngestionJobsCommandInput, ListDataAutomationLibraryIngestionJobsCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Lists all data automation library ingestion jobs
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockDataAutomationClient, ListDataAutomationLibraryIngestionJobsCommand } from "@aws-sdk/client-bedrock-data-automation"; // ES Modules import
|
|
35
|
+
* // const { BedrockDataAutomationClient, ListDataAutomationLibraryIngestionJobsCommand } = require("@aws-sdk/client-bedrock-data-automation"); // CommonJS import
|
|
36
|
+
* // import type { BedrockDataAutomationClientConfig } from "@aws-sdk/client-bedrock-data-automation";
|
|
37
|
+
* const config = {}; // type is BedrockDataAutomationClientConfig
|
|
38
|
+
* const client = new BedrockDataAutomationClient(config);
|
|
39
|
+
* const input = { // ListDataAutomationLibraryIngestionJobsRequest
|
|
40
|
+
* libraryArn: "STRING_VALUE", // required
|
|
41
|
+
* maxResults: Number("int"),
|
|
42
|
+
* nextToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new ListDataAutomationLibraryIngestionJobsCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // ListDataAutomationLibraryIngestionJobsResponse
|
|
47
|
+
* // jobs: [ // DataAutomationLibraryIngestionJobSummaries
|
|
48
|
+
* // { // DataAutomationLibraryIngestionJobSummary
|
|
49
|
+
* // jobArn: "STRING_VALUE", // required
|
|
50
|
+
* // jobStatus: "IN_PROGRESS" || "COMPLETED" || "COMPLETED_WITH_ERRORS" || "FAILED", // required
|
|
51
|
+
* // entityType: "VOCABULARY", // required
|
|
52
|
+
* // operationType: "UPSERT" || "DELETE", // required
|
|
53
|
+
* // creationTime: new Date("TIMESTAMP"), // required
|
|
54
|
+
* // completionTime: new Date("TIMESTAMP"),
|
|
55
|
+
* // },
|
|
56
|
+
* // ],
|
|
57
|
+
* // nextToken: "STRING_VALUE",
|
|
58
|
+
* // };
|
|
59
|
+
*
|
|
60
|
+
* ```
|
|
61
|
+
*
|
|
62
|
+
* @param ListDataAutomationLibraryIngestionJobsCommandInput - {@link ListDataAutomationLibraryIngestionJobsCommandInput}
|
|
63
|
+
* @returns {@link ListDataAutomationLibraryIngestionJobsCommandOutput}
|
|
64
|
+
* @see {@link ListDataAutomationLibraryIngestionJobsCommandInput} for command's `input` shape.
|
|
65
|
+
* @see {@link ListDataAutomationLibraryIngestionJobsCommandOutput} for command's `response` shape.
|
|
66
|
+
* @see {@link BedrockDataAutomationClientResolvedConfig | config} for BedrockDataAutomationClient's `config` shape.
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
69
|
+
* This exception is thrown when a request is denied per access permissions
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link InternalServerException} (server fault)
|
|
72
|
+
* This exception is thrown if there was an unexpected error during processing of request
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
75
|
+
* This exception is thrown when a resource referenced by the operation does not exist
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
78
|
+
* This exception is thrown when the number of requests exceeds the limit
|
|
79
|
+
*
|
|
80
|
+
* @throws {@link ValidationException} (client fault)
|
|
81
|
+
* This exception is thrown when the request's input validation fails
|
|
82
|
+
*
|
|
83
|
+
* @throws {@link BedrockDataAutomationServiceException}
|
|
84
|
+
* <p>Base exception class for all service exceptions from BedrockDataAutomation service.</p>
|
|
85
|
+
*
|
|
86
|
+
*
|
|
87
|
+
* @public
|
|
88
|
+
*/
|
|
89
|
+
export declare class ListDataAutomationLibraryIngestionJobsCommand extends ListDataAutomationLibraryIngestionJobsCommand_base {
|
|
90
|
+
/** @internal type navigation helper, not in runtime. */
|
|
91
|
+
protected static __types: {
|
|
92
|
+
api: {
|
|
93
|
+
input: ListDataAutomationLibraryIngestionJobsRequest;
|
|
94
|
+
output: ListDataAutomationLibraryIngestionJobsResponse;
|
|
95
|
+
};
|
|
96
|
+
sdk: {
|
|
97
|
+
input: ListDataAutomationLibraryIngestionJobsCommandInput;
|
|
98
|
+
output: ListDataAutomationLibraryIngestionJobsCommandOutput;
|
|
99
|
+
};
|
|
100
|
+
};
|
|
101
|
+
}
|
|
@@ -46,6 +46,9 @@ declare const ListDataAutomationProjectsCommand_base: {
|
|
|
46
46
|
* blueprintStage: "DEVELOPMENT" || "LIVE",
|
|
47
47
|
* },
|
|
48
48
|
* resourceOwner: "SERVICE" || "ACCOUNT",
|
|
49
|
+
* libraryFilter: { // DataAutomationLibraryFilter
|
|
50
|
+
* libraryArn: "STRING_VALUE", // required
|
|
51
|
+
* },
|
|
49
52
|
* };
|
|
50
53
|
* const command = new ListDataAutomationProjectsCommand(input);
|
|
51
54
|
* const response = await client.send(command);
|