@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,95 @@
|
|
|
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 { UpdateDataAutomationLibraryRequest, UpdateDataAutomationLibraryResponse } from "../models/models_0";
|
|
5
|
+
/**
|
|
6
|
+
* @public
|
|
7
|
+
*/
|
|
8
|
+
export type { __MetadataBearer };
|
|
9
|
+
export { $Command };
|
|
10
|
+
/**
|
|
11
|
+
* @public
|
|
12
|
+
*
|
|
13
|
+
* The input for {@link UpdateDataAutomationLibraryCommand}.
|
|
14
|
+
*/
|
|
15
|
+
export interface UpdateDataAutomationLibraryCommandInput extends UpdateDataAutomationLibraryRequest {
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* @public
|
|
19
|
+
*
|
|
20
|
+
* The output of {@link UpdateDataAutomationLibraryCommand}.
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateDataAutomationLibraryCommandOutput extends UpdateDataAutomationLibraryResponse, __MetadataBearer {
|
|
23
|
+
}
|
|
24
|
+
declare const UpdateDataAutomationLibraryCommand_base: {
|
|
25
|
+
new (input: UpdateDataAutomationLibraryCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDataAutomationLibraryCommandInput, UpdateDataAutomationLibraryCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
26
|
+
new (input: UpdateDataAutomationLibraryCommandInput): import("@smithy/smithy-client").CommandImpl<UpdateDataAutomationLibraryCommandInput, UpdateDataAutomationLibraryCommandOutput, BedrockDataAutomationClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
|
|
27
|
+
getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
|
|
28
|
+
};
|
|
29
|
+
/**
|
|
30
|
+
* Updates an existing Amazon Bedrock Data Automation Library
|
|
31
|
+
* @example
|
|
32
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
33
|
+
* ```javascript
|
|
34
|
+
* import { BedrockDataAutomationClient, UpdateDataAutomationLibraryCommand } from "@aws-sdk/client-bedrock-data-automation"; // ES Modules import
|
|
35
|
+
* // const { BedrockDataAutomationClient, UpdateDataAutomationLibraryCommand } = 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 = { // UpdateDataAutomationLibraryRequest
|
|
40
|
+
* libraryArn: "STRING_VALUE", // required
|
|
41
|
+
* libraryDescription: "STRING_VALUE",
|
|
42
|
+
* clientToken: "STRING_VALUE",
|
|
43
|
+
* };
|
|
44
|
+
* const command = new UpdateDataAutomationLibraryCommand(input);
|
|
45
|
+
* const response = await client.send(command);
|
|
46
|
+
* // { // UpdateDataAutomationLibraryResponse
|
|
47
|
+
* // libraryArn: "STRING_VALUE",
|
|
48
|
+
* // status: "ACTIVE" || "DELETING",
|
|
49
|
+
* // };
|
|
50
|
+
*
|
|
51
|
+
* ```
|
|
52
|
+
*
|
|
53
|
+
* @param UpdateDataAutomationLibraryCommandInput - {@link UpdateDataAutomationLibraryCommandInput}
|
|
54
|
+
* @returns {@link UpdateDataAutomationLibraryCommandOutput}
|
|
55
|
+
* @see {@link UpdateDataAutomationLibraryCommandInput} for command's `input` shape.
|
|
56
|
+
* @see {@link UpdateDataAutomationLibraryCommandOutput} for command's `response` shape.
|
|
57
|
+
* @see {@link BedrockDataAutomationClientResolvedConfig | config} for BedrockDataAutomationClient's `config` shape.
|
|
58
|
+
*
|
|
59
|
+
* @throws {@link AccessDeniedException} (client fault)
|
|
60
|
+
* This exception is thrown when a request is denied per access permissions
|
|
61
|
+
*
|
|
62
|
+
* @throws {@link ConflictException} (client fault)
|
|
63
|
+
* This exception is thrown when there is a conflict performing an operation
|
|
64
|
+
*
|
|
65
|
+
* @throws {@link InternalServerException} (server fault)
|
|
66
|
+
* This exception is thrown if there was an unexpected error during processing of request
|
|
67
|
+
*
|
|
68
|
+
* @throws {@link ResourceNotFoundException} (client fault)
|
|
69
|
+
* This exception is thrown when a resource referenced by the operation does not exist
|
|
70
|
+
*
|
|
71
|
+
* @throws {@link ThrottlingException} (client fault)
|
|
72
|
+
* This exception is thrown when the number of requests exceeds the limit
|
|
73
|
+
*
|
|
74
|
+
* @throws {@link ValidationException} (client fault)
|
|
75
|
+
* This exception is thrown when the request's input validation fails
|
|
76
|
+
*
|
|
77
|
+
* @throws {@link BedrockDataAutomationServiceException}
|
|
78
|
+
* <p>Base exception class for all service exceptions from BedrockDataAutomation service.</p>
|
|
79
|
+
*
|
|
80
|
+
*
|
|
81
|
+
* @public
|
|
82
|
+
*/
|
|
83
|
+
export declare class UpdateDataAutomationLibraryCommand extends UpdateDataAutomationLibraryCommand_base {
|
|
84
|
+
/** @internal type navigation helper, not in runtime. */
|
|
85
|
+
protected static __types: {
|
|
86
|
+
api: {
|
|
87
|
+
input: UpdateDataAutomationLibraryRequest;
|
|
88
|
+
output: UpdateDataAutomationLibraryResponse;
|
|
89
|
+
};
|
|
90
|
+
sdk: {
|
|
91
|
+
input: UpdateDataAutomationLibraryCommandInput;
|
|
92
|
+
output: UpdateDataAutomationLibraryCommandOutput;
|
|
93
|
+
};
|
|
94
|
+
};
|
|
95
|
+
}
|
|
@@ -226,6 +226,13 @@ declare const UpdateDataAutomationProjectCommand_base: {
|
|
|
226
226
|
* mov: "IMAGE" || "DOCUMENT" || "AUDIO" || "VIDEO",
|
|
227
227
|
* },
|
|
228
228
|
* },
|
|
229
|
+
* dataAutomationLibraryConfiguration: { // DataAutomationLibraryConfiguration
|
|
230
|
+
* libraries: [ // DataAutomationLibraryItems
|
|
231
|
+
* { // DataAutomationLibraryItem
|
|
232
|
+
* libraryArn: "STRING_VALUE", // required
|
|
233
|
+
* },
|
|
234
|
+
* ],
|
|
235
|
+
* },
|
|
229
236
|
* encryptionConfiguration: { // EncryptionConfiguration
|
|
230
237
|
* kmsKeyId: "STRING_VALUE", // required
|
|
231
238
|
* kmsEncryptionContext: { // KmsEncryptionContext
|
|
@@ -1,17 +1,27 @@
|
|
|
1
1
|
export * from "./CopyBlueprintStageCommand";
|
|
2
2
|
export * from "./CreateBlueprintCommand";
|
|
3
3
|
export * from "./CreateBlueprintVersionCommand";
|
|
4
|
+
export * from "./CreateDataAutomationLibraryCommand";
|
|
4
5
|
export * from "./CreateDataAutomationProjectCommand";
|
|
5
6
|
export * from "./DeleteBlueprintCommand";
|
|
7
|
+
export * from "./DeleteDataAutomationLibraryCommand";
|
|
6
8
|
export * from "./DeleteDataAutomationProjectCommand";
|
|
7
9
|
export * from "./GetBlueprintCommand";
|
|
8
10
|
export * from "./GetBlueprintOptimizationStatusCommand";
|
|
11
|
+
export * from "./GetDataAutomationLibraryCommand";
|
|
12
|
+
export * from "./GetDataAutomationLibraryEntityCommand";
|
|
13
|
+
export * from "./GetDataAutomationLibraryIngestionJobCommand";
|
|
9
14
|
export * from "./GetDataAutomationProjectCommand";
|
|
10
15
|
export * from "./InvokeBlueprintOptimizationAsyncCommand";
|
|
16
|
+
export * from "./InvokeDataAutomationLibraryIngestionJobCommand";
|
|
11
17
|
export * from "./ListBlueprintsCommand";
|
|
18
|
+
export * from "./ListDataAutomationLibrariesCommand";
|
|
19
|
+
export * from "./ListDataAutomationLibraryEntitiesCommand";
|
|
20
|
+
export * from "./ListDataAutomationLibraryIngestionJobsCommand";
|
|
12
21
|
export * from "./ListDataAutomationProjectsCommand";
|
|
13
22
|
export * from "./ListTagsForResourceCommand";
|
|
14
23
|
export * from "./TagResourceCommand";
|
|
15
24
|
export * from "./UntagResourceCommand";
|
|
16
25
|
export * from "./UpdateBlueprintCommand";
|
|
26
|
+
export * from "./UpdateDataAutomationLibraryCommand";
|
|
17
27
|
export * from "./UpdateDataAutomationProjectCommand";
|
|
@@ -80,14 +80,39 @@ export type ResourceOwner = (typeof ResourceOwner)[keyof typeof ResourceOwner];
|
|
|
80
80
|
* @public
|
|
81
81
|
* @enum
|
|
82
82
|
*/
|
|
83
|
-
export declare const
|
|
84
|
-
readonly
|
|
85
|
-
readonly EN: "EN";
|
|
83
|
+
export declare const EntityType: {
|
|
84
|
+
readonly VOCABULARY: "VOCABULARY";
|
|
86
85
|
};
|
|
87
86
|
/**
|
|
88
87
|
* @public
|
|
89
88
|
*/
|
|
90
|
-
export type
|
|
89
|
+
export type EntityType = (typeof EntityType)[keyof typeof EntityType];
|
|
90
|
+
/**
|
|
91
|
+
* @public
|
|
92
|
+
* @enum
|
|
93
|
+
*/
|
|
94
|
+
export declare const LibraryIngestionJobStatus: {
|
|
95
|
+
readonly COMPLETED: "COMPLETED";
|
|
96
|
+
readonly COMPLETED_WITH_ERRORS: "COMPLETED_WITH_ERRORS";
|
|
97
|
+
readonly FAILED: "FAILED";
|
|
98
|
+
readonly IN_PROGRESS: "IN_PROGRESS";
|
|
99
|
+
};
|
|
100
|
+
/**
|
|
101
|
+
* @public
|
|
102
|
+
*/
|
|
103
|
+
export type LibraryIngestionJobStatus = (typeof LibraryIngestionJobStatus)[keyof typeof LibraryIngestionJobStatus];
|
|
104
|
+
/**
|
|
105
|
+
* @public
|
|
106
|
+
* @enum
|
|
107
|
+
*/
|
|
108
|
+
export declare const LibraryIngestionJobOperationType: {
|
|
109
|
+
readonly DELETE: "DELETE";
|
|
110
|
+
readonly UPSERT: "UPSERT";
|
|
111
|
+
};
|
|
112
|
+
/**
|
|
113
|
+
* @public
|
|
114
|
+
*/
|
|
115
|
+
export type LibraryIngestionJobOperationType = (typeof LibraryIngestionJobOperationType)[keyof typeof LibraryIngestionJobOperationType];
|
|
91
116
|
/**
|
|
92
117
|
* @public
|
|
93
118
|
* @enum
|
|
@@ -109,6 +134,30 @@ export declare const Language: {
|
|
|
109
134
|
* @public
|
|
110
135
|
*/
|
|
111
136
|
export type Language = (typeof Language)[keyof typeof Language];
|
|
137
|
+
/**
|
|
138
|
+
* @public
|
|
139
|
+
* @enum
|
|
140
|
+
*/
|
|
141
|
+
export declare const DataAutomationLibraryStatus: {
|
|
142
|
+
readonly ACTIVE: "ACTIVE";
|
|
143
|
+
readonly DELETING: "DELETING";
|
|
144
|
+
};
|
|
145
|
+
/**
|
|
146
|
+
* @public
|
|
147
|
+
*/
|
|
148
|
+
export type DataAutomationLibraryStatus = (typeof DataAutomationLibraryStatus)[keyof typeof DataAutomationLibraryStatus];
|
|
149
|
+
/**
|
|
150
|
+
* @public
|
|
151
|
+
* @enum
|
|
152
|
+
*/
|
|
153
|
+
export declare const AudioGenerativeOutputLanguage: {
|
|
154
|
+
readonly DEFAULT: "DEFAULT";
|
|
155
|
+
readonly EN: "EN";
|
|
156
|
+
};
|
|
157
|
+
/**
|
|
158
|
+
* @public
|
|
159
|
+
*/
|
|
160
|
+
export type AudioGenerativeOutputLanguage = (typeof AudioGenerativeOutputLanguage)[keyof typeof AudioGenerativeOutputLanguage];
|
|
112
161
|
/**
|
|
113
162
|
* @public
|
|
114
163
|
* @enum
|