@aws-sdk/client-bedrock-agent 3.687.0 → 3.692.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/dist-types/models/models_0.d.ts +275 -275
- package/dist-types/models/models_1.d.ts +57 -57
- package/dist-types/ts3.4/models/models_0.d.ts +295 -275
- package/dist-types/ts3.4/models/models_1.d.ts +57 -57
- package/package.json +35 -35
|
@@ -19,34 +19,34 @@ import {
|
|
|
19
19
|
export interface ListAgentKnowledgeBasesRequest {
|
|
20
20
|
agentId: string | undefined;
|
|
21
21
|
agentVersion: string | undefined;
|
|
22
|
-
maxResults?: number;
|
|
23
|
-
nextToken?: string;
|
|
22
|
+
maxResults?: number | undefined;
|
|
23
|
+
nextToken?: string | undefined;
|
|
24
24
|
}
|
|
25
25
|
export interface ListAgentKnowledgeBasesResponse {
|
|
26
26
|
agentKnowledgeBaseSummaries: AgentKnowledgeBaseSummary[] | undefined;
|
|
27
|
-
nextToken?: string;
|
|
27
|
+
nextToken?: string | undefined;
|
|
28
28
|
}
|
|
29
29
|
export interface ListKnowledgeBasesRequest {
|
|
30
|
-
maxResults?: number;
|
|
31
|
-
nextToken?: string;
|
|
30
|
+
maxResults?: number | undefined;
|
|
31
|
+
nextToken?: string | undefined;
|
|
32
32
|
}
|
|
33
33
|
export interface KnowledgeBaseSummary {
|
|
34
34
|
knowledgeBaseId: string | undefined;
|
|
35
35
|
name: string | undefined;
|
|
36
|
-
description?: string;
|
|
36
|
+
description?: string | undefined;
|
|
37
37
|
status: KnowledgeBaseStatus | undefined;
|
|
38
38
|
updatedAt: Date | undefined;
|
|
39
39
|
}
|
|
40
40
|
export interface ListKnowledgeBasesResponse {
|
|
41
41
|
knowledgeBaseSummaries: KnowledgeBaseSummary[] | undefined;
|
|
42
|
-
nextToken?: string;
|
|
42
|
+
nextToken?: string | undefined;
|
|
43
43
|
}
|
|
44
44
|
export interface UpdateAgentKnowledgeBaseRequest {
|
|
45
45
|
agentId: string | undefined;
|
|
46
46
|
agentVersion: string | undefined;
|
|
47
47
|
knowledgeBaseId: string | undefined;
|
|
48
|
-
description?: string;
|
|
49
|
-
knowledgeBaseState?: KnowledgeBaseState;
|
|
48
|
+
description?: string | undefined;
|
|
49
|
+
knowledgeBaseState?: KnowledgeBaseState | undefined;
|
|
50
50
|
}
|
|
51
51
|
export interface UpdateAgentKnowledgeBaseResponse {
|
|
52
52
|
agentKnowledgeBase: AgentKnowledgeBase | undefined;
|
|
@@ -54,7 +54,7 @@ export interface UpdateAgentKnowledgeBaseResponse {
|
|
|
54
54
|
export interface UpdateKnowledgeBaseRequest {
|
|
55
55
|
knowledgeBaseId: string | undefined;
|
|
56
56
|
name: string | undefined;
|
|
57
|
-
description?: string;
|
|
57
|
+
description?: string | undefined;
|
|
58
58
|
roleArn: string | undefined;
|
|
59
59
|
knowledgeBaseConfiguration: KnowledgeBaseConfiguration | undefined;
|
|
60
60
|
storageConfiguration: StorageConfiguration | undefined;
|
|
@@ -91,27 +91,27 @@ export interface PromptVariant {
|
|
|
91
91
|
name: string | undefined;
|
|
92
92
|
templateType: PromptTemplateType | undefined;
|
|
93
93
|
templateConfiguration: PromptTemplateConfiguration | undefined;
|
|
94
|
-
modelId?: string;
|
|
95
|
-
inferenceConfiguration?: PromptInferenceConfiguration;
|
|
96
|
-
metadata?: PromptMetadataEntry[];
|
|
97
|
-
additionalModelRequestFields?: __DocumentType;
|
|
98
|
-
genAiResource?: PromptGenAiResource;
|
|
94
|
+
modelId?: string | undefined;
|
|
95
|
+
inferenceConfiguration?: PromptInferenceConfiguration | undefined;
|
|
96
|
+
metadata?: PromptMetadataEntry[] | undefined;
|
|
97
|
+
additionalModelRequestFields?: __DocumentType | undefined;
|
|
98
|
+
genAiResource?: PromptGenAiResource | undefined;
|
|
99
99
|
}
|
|
100
100
|
export interface CreatePromptRequest {
|
|
101
101
|
name: string | undefined;
|
|
102
|
-
description?: string;
|
|
103
|
-
customerEncryptionKeyArn?: string;
|
|
104
|
-
defaultVariant?: string;
|
|
105
|
-
variants?: PromptVariant[];
|
|
106
|
-
clientToken?: string;
|
|
107
|
-
tags?: Record<string, string
|
|
102
|
+
description?: string | undefined;
|
|
103
|
+
customerEncryptionKeyArn?: string | undefined;
|
|
104
|
+
defaultVariant?: string | undefined;
|
|
105
|
+
variants?: PromptVariant[] | undefined;
|
|
106
|
+
clientToken?: string | undefined;
|
|
107
|
+
tags?: Record<string, string> | undefined;
|
|
108
108
|
}
|
|
109
109
|
export interface CreatePromptResponse {
|
|
110
110
|
name: string | undefined;
|
|
111
|
-
description?: string;
|
|
112
|
-
customerEncryptionKeyArn?: string;
|
|
113
|
-
defaultVariant?: string;
|
|
114
|
-
variants?: PromptVariant[];
|
|
111
|
+
description?: string | undefined;
|
|
112
|
+
customerEncryptionKeyArn?: string | undefined;
|
|
113
|
+
defaultVariant?: string | undefined;
|
|
114
|
+
variants?: PromptVariant[] | undefined;
|
|
115
115
|
id: string | undefined;
|
|
116
116
|
arn: string | undefined;
|
|
117
117
|
version: string | undefined;
|
|
@@ -120,16 +120,16 @@ export interface CreatePromptResponse {
|
|
|
120
120
|
}
|
|
121
121
|
export interface CreatePromptVersionRequest {
|
|
122
122
|
promptIdentifier: string | undefined;
|
|
123
|
-
description?: string;
|
|
124
|
-
clientToken?: string;
|
|
125
|
-
tags?: Record<string, string
|
|
123
|
+
description?: string | undefined;
|
|
124
|
+
clientToken?: string | undefined;
|
|
125
|
+
tags?: Record<string, string> | undefined;
|
|
126
126
|
}
|
|
127
127
|
export interface CreatePromptVersionResponse {
|
|
128
128
|
name: string | undefined;
|
|
129
|
-
description?: string;
|
|
130
|
-
customerEncryptionKeyArn?: string;
|
|
131
|
-
defaultVariant?: string;
|
|
132
|
-
variants?: PromptVariant[];
|
|
129
|
+
description?: string | undefined;
|
|
130
|
+
customerEncryptionKeyArn?: string | undefined;
|
|
131
|
+
defaultVariant?: string | undefined;
|
|
132
|
+
variants?: PromptVariant[] | undefined;
|
|
133
133
|
id: string | undefined;
|
|
134
134
|
arn: string | undefined;
|
|
135
135
|
version: string | undefined;
|
|
@@ -138,22 +138,22 @@ export interface CreatePromptVersionResponse {
|
|
|
138
138
|
}
|
|
139
139
|
export interface DeletePromptRequest {
|
|
140
140
|
promptIdentifier: string | undefined;
|
|
141
|
-
promptVersion?: string;
|
|
141
|
+
promptVersion?: string | undefined;
|
|
142
142
|
}
|
|
143
143
|
export interface DeletePromptResponse {
|
|
144
144
|
id: string | undefined;
|
|
145
|
-
version?: string;
|
|
145
|
+
version?: string | undefined;
|
|
146
146
|
}
|
|
147
147
|
export interface GetPromptRequest {
|
|
148
148
|
promptIdentifier: string | undefined;
|
|
149
|
-
promptVersion?: string;
|
|
149
|
+
promptVersion?: string | undefined;
|
|
150
150
|
}
|
|
151
151
|
export interface GetPromptResponse {
|
|
152
152
|
name: string | undefined;
|
|
153
|
-
description?: string;
|
|
154
|
-
customerEncryptionKeyArn?: string;
|
|
155
|
-
defaultVariant?: string;
|
|
156
|
-
variants?: PromptVariant[];
|
|
153
|
+
description?: string | undefined;
|
|
154
|
+
customerEncryptionKeyArn?: string | undefined;
|
|
155
|
+
defaultVariant?: string | undefined;
|
|
156
|
+
variants?: PromptVariant[] | undefined;
|
|
157
157
|
id: string | undefined;
|
|
158
158
|
arn: string | undefined;
|
|
159
159
|
version: string | undefined;
|
|
@@ -161,13 +161,13 @@ export interface GetPromptResponse {
|
|
|
161
161
|
updatedAt: Date | undefined;
|
|
162
162
|
}
|
|
163
163
|
export interface ListPromptsRequest {
|
|
164
|
-
promptIdentifier?: string;
|
|
165
|
-
maxResults?: number;
|
|
166
|
-
nextToken?: string;
|
|
164
|
+
promptIdentifier?: string | undefined;
|
|
165
|
+
maxResults?: number | undefined;
|
|
166
|
+
nextToken?: string | undefined;
|
|
167
167
|
}
|
|
168
168
|
export interface PromptSummary {
|
|
169
169
|
name: string | undefined;
|
|
170
|
-
description?: string;
|
|
170
|
+
description?: string | undefined;
|
|
171
171
|
id: string | undefined;
|
|
172
172
|
arn: string | undefined;
|
|
173
173
|
version: string | undefined;
|
|
@@ -176,22 +176,22 @@ export interface PromptSummary {
|
|
|
176
176
|
}
|
|
177
177
|
export interface ListPromptsResponse {
|
|
178
178
|
promptSummaries: PromptSummary[] | undefined;
|
|
179
|
-
nextToken?: string;
|
|
179
|
+
nextToken?: string | undefined;
|
|
180
180
|
}
|
|
181
181
|
export interface UpdatePromptRequest {
|
|
182
182
|
name: string | undefined;
|
|
183
|
-
description?: string;
|
|
184
|
-
customerEncryptionKeyArn?: string;
|
|
185
|
-
defaultVariant?: string;
|
|
186
|
-
variants?: PromptVariant[];
|
|
183
|
+
description?: string | undefined;
|
|
184
|
+
customerEncryptionKeyArn?: string | undefined;
|
|
185
|
+
defaultVariant?: string | undefined;
|
|
186
|
+
variants?: PromptVariant[] | undefined;
|
|
187
187
|
promptIdentifier: string | undefined;
|
|
188
188
|
}
|
|
189
189
|
export interface UpdatePromptResponse {
|
|
190
190
|
name: string | undefined;
|
|
191
|
-
description?: string;
|
|
192
|
-
customerEncryptionKeyArn?: string;
|
|
193
|
-
defaultVariant?: string;
|
|
194
|
-
variants?: PromptVariant[];
|
|
191
|
+
description?: string | undefined;
|
|
192
|
+
customerEncryptionKeyArn?: string | undefined;
|
|
193
|
+
defaultVariant?: string | undefined;
|
|
194
|
+
variants?: PromptVariant[] | undefined;
|
|
195
195
|
id: string | undefined;
|
|
196
196
|
arn: string | undefined;
|
|
197
197
|
version: string | undefined;
|
|
@@ -202,7 +202,7 @@ export interface ListTagsForResourceRequest {
|
|
|
202
202
|
resourceArn: string | undefined;
|
|
203
203
|
}
|
|
204
204
|
export interface ListTagsForResourceResponse {
|
|
205
|
-
tags?: Record<string, string
|
|
205
|
+
tags?: Record<string, string> | undefined;
|
|
206
206
|
}
|
|
207
207
|
export interface TagResourceRequest {
|
|
208
208
|
resourceArn: string | undefined;
|
|
@@ -223,7 +223,7 @@ export interface ValidateFlowDefinitionResponse {
|
|
|
223
223
|
export interface DeleteAgentVersionRequest {
|
|
224
224
|
agentId: string | undefined;
|
|
225
225
|
agentVersion: string | undefined;
|
|
226
|
-
skipResourceInUseCheck?: boolean;
|
|
226
|
+
skipResourceInUseCheck?: boolean | undefined;
|
|
227
227
|
}
|
|
228
228
|
export interface DeleteAgentVersionResponse {
|
|
229
229
|
agentId: string | undefined;
|
|
@@ -239,12 +239,12 @@ export interface GetAgentVersionResponse {
|
|
|
239
239
|
}
|
|
240
240
|
export interface ListAgentVersionsRequest {
|
|
241
241
|
agentId: string | undefined;
|
|
242
|
-
maxResults?: number;
|
|
243
|
-
nextToken?: string;
|
|
242
|
+
maxResults?: number | undefined;
|
|
243
|
+
nextToken?: string | undefined;
|
|
244
244
|
}
|
|
245
245
|
export interface ListAgentVersionsResponse {
|
|
246
246
|
agentVersionSummaries: AgentVersionSummary[] | undefined;
|
|
247
|
-
nextToken?: string;
|
|
247
|
+
nextToken?: string | undefined;
|
|
248
248
|
}
|
|
249
249
|
export declare const PromptAgentResourceFilterSensitiveLog: (
|
|
250
250
|
obj: PromptAgentResource
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock-agent",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Agent Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.692.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock-agent",
|
|
@@ -20,43 +20,43 @@
|
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
|
-
"@aws-sdk/client-sso-oidc": "3.
|
|
24
|
-
"@aws-sdk/client-sts": "3.
|
|
25
|
-
"@aws-sdk/core": "3.
|
|
26
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
27
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
28
|
-
"@aws-sdk/middleware-logger": "3.
|
|
29
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
30
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
31
|
-
"@aws-sdk/region-config-resolver": "3.
|
|
32
|
-
"@aws-sdk/types": "3.
|
|
33
|
-
"@aws-sdk/util-endpoints": "3.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
36
|
-
"@smithy/config-resolver": "^3.0.
|
|
37
|
-
"@smithy/core": "^2.5.
|
|
38
|
-
"@smithy/fetch-http-handler": "^4.
|
|
39
|
-
"@smithy/hash-node": "^3.0.
|
|
40
|
-
"@smithy/invalid-dependency": "^3.0.
|
|
41
|
-
"@smithy/middleware-content-length": "^3.0.
|
|
42
|
-
"@smithy/middleware-endpoint": "^3.2.
|
|
43
|
-
"@smithy/middleware-retry": "^3.0.
|
|
44
|
-
"@smithy/middleware-serde": "^3.0.
|
|
45
|
-
"@smithy/middleware-stack": "^3.0.
|
|
46
|
-
"@smithy/node-config-provider": "^3.1.
|
|
47
|
-
"@smithy/node-http-handler": "^3.
|
|
48
|
-
"@smithy/protocol-http": "^4.1.
|
|
49
|
-
"@smithy/smithy-client": "^3.4.
|
|
50
|
-
"@smithy/types": "^3.
|
|
51
|
-
"@smithy/url-parser": "^3.0.
|
|
23
|
+
"@aws-sdk/client-sso-oidc": "3.692.0",
|
|
24
|
+
"@aws-sdk/client-sts": "3.692.0",
|
|
25
|
+
"@aws-sdk/core": "3.692.0",
|
|
26
|
+
"@aws-sdk/credential-provider-node": "3.692.0",
|
|
27
|
+
"@aws-sdk/middleware-host-header": "3.692.0",
|
|
28
|
+
"@aws-sdk/middleware-logger": "3.692.0",
|
|
29
|
+
"@aws-sdk/middleware-recursion-detection": "3.692.0",
|
|
30
|
+
"@aws-sdk/middleware-user-agent": "3.692.0",
|
|
31
|
+
"@aws-sdk/region-config-resolver": "3.692.0",
|
|
32
|
+
"@aws-sdk/types": "3.692.0",
|
|
33
|
+
"@aws-sdk/util-endpoints": "3.692.0",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "3.692.0",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "3.692.0",
|
|
36
|
+
"@smithy/config-resolver": "^3.0.11",
|
|
37
|
+
"@smithy/core": "^2.5.2",
|
|
38
|
+
"@smithy/fetch-http-handler": "^4.1.0",
|
|
39
|
+
"@smithy/hash-node": "^3.0.9",
|
|
40
|
+
"@smithy/invalid-dependency": "^3.0.9",
|
|
41
|
+
"@smithy/middleware-content-length": "^3.0.11",
|
|
42
|
+
"@smithy/middleware-endpoint": "^3.2.2",
|
|
43
|
+
"@smithy/middleware-retry": "^3.0.26",
|
|
44
|
+
"@smithy/middleware-serde": "^3.0.9",
|
|
45
|
+
"@smithy/middleware-stack": "^3.0.9",
|
|
46
|
+
"@smithy/node-config-provider": "^3.1.10",
|
|
47
|
+
"@smithy/node-http-handler": "^3.3.0",
|
|
48
|
+
"@smithy/protocol-http": "^4.1.6",
|
|
49
|
+
"@smithy/smithy-client": "^3.4.3",
|
|
50
|
+
"@smithy/types": "^3.7.0",
|
|
51
|
+
"@smithy/url-parser": "^3.0.9",
|
|
52
52
|
"@smithy/util-base64": "^3.0.0",
|
|
53
53
|
"@smithy/util-body-length-browser": "^3.0.0",
|
|
54
54
|
"@smithy/util-body-length-node": "^3.0.0",
|
|
55
|
-
"@smithy/util-defaults-mode-browser": "^3.0.
|
|
56
|
-
"@smithy/util-defaults-mode-node": "^3.0.
|
|
57
|
-
"@smithy/util-endpoints": "^2.1.
|
|
58
|
-
"@smithy/util-middleware": "^3.0.
|
|
59
|
-
"@smithy/util-retry": "^3.0.
|
|
55
|
+
"@smithy/util-defaults-mode-browser": "^3.0.26",
|
|
56
|
+
"@smithy/util-defaults-mode-node": "^3.0.26",
|
|
57
|
+
"@smithy/util-endpoints": "^2.1.5",
|
|
58
|
+
"@smithy/util-middleware": "^3.0.9",
|
|
59
|
+
"@smithy/util-retry": "^3.0.9",
|
|
60
60
|
"@smithy/util-utf8": "^3.0.0",
|
|
61
61
|
"@types/uuid": "^9.0.1",
|
|
62
62
|
"tslib": "^2.6.2",
|