@aws-sdk/client-bedrock-agent 3.687.0 → 3.691.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.
@@ -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.687.0",
4
+ "version": "3.691.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,19 +20,19 @@
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.687.0",
24
- "@aws-sdk/client-sts": "3.687.0",
25
- "@aws-sdk/core": "3.686.0",
26
- "@aws-sdk/credential-provider-node": "3.687.0",
23
+ "@aws-sdk/client-sso-oidc": "3.691.0",
24
+ "@aws-sdk/client-sts": "3.691.0",
25
+ "@aws-sdk/core": "3.691.0",
26
+ "@aws-sdk/credential-provider-node": "3.691.0",
27
27
  "@aws-sdk/middleware-host-header": "3.686.0",
28
28
  "@aws-sdk/middleware-logger": "3.686.0",
29
29
  "@aws-sdk/middleware-recursion-detection": "3.686.0",
30
- "@aws-sdk/middleware-user-agent": "3.687.0",
30
+ "@aws-sdk/middleware-user-agent": "3.691.0",
31
31
  "@aws-sdk/region-config-resolver": "3.686.0",
32
32
  "@aws-sdk/types": "3.686.0",
33
33
  "@aws-sdk/util-endpoints": "3.686.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.686.0",
35
- "@aws-sdk/util-user-agent-node": "3.687.0",
35
+ "@aws-sdk/util-user-agent-node": "3.691.0",
36
36
  "@smithy/config-resolver": "^3.0.10",
37
37
  "@smithy/core": "^2.5.1",
38
38
  "@smithy/fetch-http-handler": "^4.0.0",