@aws-sdk/client-bedrock-agent 3.1069.0 → 3.1071.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.
Files changed (46) hide show
  1. package/README.md +21 -0
  2. package/dist-cjs/index.js +73 -5
  3. package/dist-cjs/schemas/schemas_0.js +160 -21
  4. package/dist-es/BedrockAgent.js +6 -0
  5. package/dist-es/commands/DeleteResourcePolicyCommand.js +16 -0
  6. package/dist-es/commands/GetResourcePolicyCommand.js +16 -0
  7. package/dist-es/commands/PutResourcePolicyCommand.js +16 -0
  8. package/dist-es/commands/index.js +3 -0
  9. package/dist-es/models/enums.js +26 -4
  10. package/dist-es/schemas/schemas_0.js +146 -21
  11. package/dist-types/BedrockAgent.d.ts +21 -0
  12. package/dist-types/BedrockAgentClient.d.ts +5 -2
  13. package/dist-types/commands/CreateDataSourceCommand.d.ts +41 -5
  14. package/dist-types/commands/CreateKnowledgeBaseCommand.d.ts +58 -4
  15. package/dist-types/commands/DeleteDataSourceCommand.d.ts +1 -1
  16. package/dist-types/commands/DeleteKnowledgeBaseCommand.d.ts +1 -1
  17. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +96 -0
  18. package/dist-types/commands/GetDataSourceCommand.d.ts +21 -3
  19. package/dist-types/commands/GetIngestionJobCommand.d.ts +1 -0
  20. package/dist-types/commands/GetKnowledgeBaseCommand.d.ts +29 -2
  21. package/dist-types/commands/GetResourcePolicyCommand.d.ts +93 -0
  22. package/dist-types/commands/IngestKnowledgeBaseDocumentsCommand.d.ts +7 -0
  23. package/dist-types/commands/ListDataSourcesCommand.d.ts +1 -1
  24. package/dist-types/commands/ListIngestionJobsCommand.d.ts +1 -0
  25. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +1 -1
  26. package/dist-types/commands/PutResourcePolicyCommand.d.ts +97 -0
  27. package/dist-types/commands/StartIngestionJobCommand.d.ts +1 -0
  28. package/dist-types/commands/StopIngestionJobCommand.d.ts +1 -0
  29. package/dist-types/commands/UpdateDataSourceCommand.d.ts +41 -5
  30. package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +57 -3
  31. package/dist-types/commands/index.d.ts +3 -0
  32. package/dist-types/models/enums.d.ts +66 -12
  33. package/dist-types/models/models_0.d.ts +248 -241
  34. package/dist-types/models/models_1.d.ts +269 -21
  35. package/dist-types/schemas/schemas_0.d.ts +17 -0
  36. package/dist-types/ts3.4/BedrockAgent.d.ts +51 -0
  37. package/dist-types/ts3.4/BedrockAgentClient.d.ts +18 -0
  38. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +53 -0
  39. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +53 -0
  40. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +53 -0
  41. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  42. package/dist-types/ts3.4/models/enums.d.ts +36 -6
  43. package/dist-types/ts3.4/models/models_0.d.ts +79 -74
  44. package/dist-types/ts3.4/models/models_1.d.ts +83 -13
  45. package/dist-types/ts3.4/schemas/schemas_0.d.ts +17 -0
  46. package/package.json +3 -3
@@ -1,45 +1,253 @@
1
+ import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/core/serde";
1
2
  import type { DocumentType as __DocumentType } from "@smithy/types";
2
- import type { AgentStatus, EmbeddingDataType, FlowNodeType, FlowStatus, KnowledgeBaseState, KnowledgeBaseStatus, KnowledgeBaseStorageType, KnowledgeBaseType, PromptTemplateType, SupplementalDataStorageLocationType } from "./enums";
3
- import type { AgentFlowNodeConfiguration, AgentKnowledgeBase, AgentKnowledgeBaseSummary, AgentVersion, AgentVersionSummary, AudioConfiguration, CollectorFlowNodeConfiguration, ConditionFlowNodeConfiguration, FlowConnection, FlowNodeInput, FlowNodeOutput, FlowValidation, InlineCodeFlowNodeConfiguration, InputFlowNodeConfiguration, IteratorFlowNodeConfiguration, KendraKnowledgeBaseConfiguration, KnowledgeBaseFlowNodeConfiguration, LambdaFunctionFlowNodeConfiguration, LexFlowNodeConfiguration, LoopControllerFlowNodeConfiguration, LoopInputFlowNodeConfiguration, OutputFlowNodeConfiguration, PromptFlowNodeConfiguration, PromptInferenceConfiguration, PromptTemplateConfiguration, RetrievalFlowNodeConfiguration, S3Location, SqlKnowledgeBaseConfiguration, StorageFlowNodeConfiguration, VideoConfiguration } from "./models_0";
3
+ import type { AgentStatus, FlowNodeType, FlowStatus, IncludeExclude, KnowledgeBaseState, KnowledgeBaseStatus, KnowledgeBaseStorageType, KnowledgeBaseType, PromptTemplateType, QueryEngineType, RedshiftQueryEngineStorageType, RedshiftQueryEngineType, RedshiftServerlessAuthType, SupplementalDataStorageLocationType } from "./enums";
4
+ import type { AgentFlowNodeConfiguration, AgentKnowledgeBase, AgentKnowledgeBaseSummary, AgentVersion, AgentVersionSummary, CollectorFlowNodeConfiguration, ConditionFlowNodeConfiguration, EmbeddingModelConfiguration, FlowConnection, FlowNodeInput, FlowNodeOutput, FlowValidation, InlineCodeFlowNodeConfiguration, InputFlowNodeConfiguration, IteratorFlowNodeConfiguration, KendraKnowledgeBaseConfiguration, KnowledgeBaseFlowNodeConfiguration, LambdaFunctionFlowNodeConfiguration, LexFlowNodeConfiguration, LoopControllerFlowNodeConfiguration, LoopInputFlowNodeConfiguration, ManagedKnowledgeBaseConfiguration, OutputFlowNodeConfiguration, PromptFlowNodeConfiguration, PromptInferenceConfiguration, PromptTemplateConfiguration, RedshiftProvisionedAuthConfiguration, RetrievalFlowNodeConfiguration, S3Location, StorageFlowNodeConfiguration } from "./models_0";
4
5
  /**
5
- * <p>The vector configuration details for the Bedrock embeddings model.</p>
6
+ * <p>Contains configurations for a provisioned Amazon Redshift query engine.</p>
6
7
  * @public
7
8
  */
8
- export interface BedrockEmbeddingModelConfiguration {
9
+ export interface RedshiftProvisionedConfiguration {
9
10
  /**
10
- * <p>The dimensions details for the vector configuration used on the Bedrock embeddings model.</p>
11
+ * <p>The ID of the Amazon Redshift cluster.</p>
11
12
  * @public
12
13
  */
13
- dimensions?: number | undefined;
14
+ clusterIdentifier: string | undefined;
14
15
  /**
15
- * <p>The data type for the vectors when using a model to convert text into vector embeddings. The model must support the specified data type for vector embeddings. Floating-point (float32) is the default data type, and is supported by most models for vector embeddings. See <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-supported.html">Supported embeddings models</a> for information on the available models and their vector data types.</p>
16
+ * <p>Specifies configurations for authentication to Amazon Redshift.</p>
16
17
  * @public
17
18
  */
18
- embeddingDataType?: EmbeddingDataType | undefined;
19
+ authConfiguration: RedshiftProvisionedAuthConfiguration | undefined;
20
+ }
21
+ /**
22
+ * <p>Specifies configurations for authentication to a Redshift Serverless. Specify the type of authentication to use in the <code>type</code> field and include the corresponding field. If you specify IAM authentication, you don't need to include another field.</p>
23
+ * @public
24
+ */
25
+ export interface RedshiftServerlessAuthConfiguration {
19
26
  /**
20
- * <p>Configuration settings for processing audio content in multimodal knowledge bases.</p>
27
+ * <p>The type of authentication to use.</p>
21
28
  * @public
22
29
  */
23
- audio?: AudioConfiguration[] | undefined;
30
+ type: RedshiftServerlessAuthType | undefined;
24
31
  /**
25
- * <p>Configuration settings for processing video content in multimodal knowledge bases.</p>
32
+ * <p>The ARN of an Secrets Manager secret for authentication.</p>
26
33
  * @public
27
34
  */
28
- video?: VideoConfiguration[] | undefined;
35
+ usernamePasswordSecretArn?: string | undefined;
29
36
  }
30
37
  /**
31
- * <p>The configuration details for the embeddings model.</p>
38
+ * <p>Contains configurations for authentication to Amazon Redshift Serverless.</p>
32
39
  * @public
33
40
  */
34
- export interface EmbeddingModelConfiguration {
41
+ export interface RedshiftServerlessConfiguration {
35
42
  /**
36
- * <p>The vector configuration details on the Bedrock embeddings model.</p>
43
+ * <p>The ARN of the Amazon Redshift workgroup.</p>
37
44
  * @public
38
45
  */
39
- bedrockEmbeddingModelConfiguration?: BedrockEmbeddingModelConfiguration | undefined;
46
+ workgroupArn: string | undefined;
47
+ /**
48
+ * <p>Specifies configurations for authentication to an Amazon Redshift provisioned data warehouse.</p>
49
+ * @public
50
+ */
51
+ authConfiguration: RedshiftServerlessAuthConfiguration | undefined;
40
52
  }
41
53
  /**
42
- * <p>Contains information about a storage location for images extracted from multimodal documents in your data source.</p>
54
+ * <p>Contains configurations for an Amazon Redshift query engine. Specify the type of query engine in <code>type</code> and include the corresponding field. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html">Build a knowledge base by connecting to a structured data source</a> in the Amazon Bedrock User Guide.</p>
55
+ * @public
56
+ */
57
+ export interface RedshiftQueryEngineConfiguration {
58
+ /**
59
+ * <p>The type of query engine.</p>
60
+ * @public
61
+ */
62
+ type: RedshiftQueryEngineType | undefined;
63
+ /**
64
+ * <p>Specifies configurations for a serverless Amazon Redshift query engine.</p>
65
+ * @public
66
+ */
67
+ serverlessConfiguration?: RedshiftServerlessConfiguration | undefined;
68
+ /**
69
+ * <p>Specifies configurations for a provisioned Amazon Redshift query engine.</p>
70
+ * @public
71
+ */
72
+ provisionedConfiguration?: RedshiftProvisionedConfiguration | undefined;
73
+ }
74
+ /**
75
+ * <p>Contains configurations for a query, each of which defines information about example queries to help the query engine generate appropriate SQL queries.</p>
76
+ * @public
77
+ */
78
+ export interface CuratedQuery {
79
+ /**
80
+ * <p>An example natural language query.</p>
81
+ * @public
82
+ */
83
+ naturalLanguage: string | undefined;
84
+ /**
85
+ * <p>The SQL equivalent of the natural language query.</p>
86
+ * @public
87
+ */
88
+ sql: string | undefined;
89
+ }
90
+ /**
91
+ * <p>Contains information about a column in the current table for the query engine to consider.</p>
92
+ * @public
93
+ */
94
+ export interface QueryGenerationColumn {
95
+ /**
96
+ * <p>The name of the column for which the other fields in this object apply.</p>
97
+ * @public
98
+ */
99
+ name?: string | undefined;
100
+ /**
101
+ * <p>A description of the column that helps the query engine understand the contents of the column.</p>
102
+ * @public
103
+ */
104
+ description?: string | undefined;
105
+ /**
106
+ * <p>Specifies whether to include or exclude the column during query generation. If you specify <code>EXCLUDE</code>, the column will be ignored. If you specify <code>INCLUDE</code>, all other columns in the table will be ignored.</p>
107
+ * @public
108
+ */
109
+ inclusion?: IncludeExclude | undefined;
110
+ }
111
+ /**
112
+ * <p>Contains information about a table for the query engine to consider.</p>
113
+ * @public
114
+ */
115
+ export interface QueryGenerationTable {
116
+ /**
117
+ * <p>The name of the table for which the other fields in this object apply.</p>
118
+ * @public
119
+ */
120
+ name: string | undefined;
121
+ /**
122
+ * <p>A description of the table that helps the query engine understand the contents of the table.</p>
123
+ * @public
124
+ */
125
+ description?: string | undefined;
126
+ /**
127
+ * <p>Specifies whether to include or exclude the table during query generation. If you specify <code>EXCLUDE</code>, the table will be ignored. If you specify <code>INCLUDE</code>, all other tables will be ignored.</p>
128
+ * @public
129
+ */
130
+ inclusion?: IncludeExclude | undefined;
131
+ /**
132
+ * <p>An array of objects, each of which defines information about a column in the table.</p>
133
+ * @public
134
+ */
135
+ columns?: QueryGenerationColumn[] | undefined;
136
+ }
137
+ /**
138
+ * <p>&gt;Contains configurations for context to use during query generation.</p>
139
+ * @public
140
+ */
141
+ export interface QueryGenerationContext {
142
+ /**
143
+ * <p>An array of objects, each of which defines information about a table in the database.</p>
144
+ * @public
145
+ */
146
+ tables?: QueryGenerationTable[] | undefined;
147
+ /**
148
+ * <p>An array of objects, each of which defines information about example queries to help the query engine generate appropriate SQL queries.</p>
149
+ * @public
150
+ */
151
+ curatedQueries?: CuratedQuery[] | undefined;
152
+ }
153
+ /**
154
+ * <p>Contains configurations for query generation. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html">Build a knowledge base by connecting to a structured data source</a> in the Amazon Bedrock User Guide..</p>
155
+ * @public
156
+ */
157
+ export interface QueryGenerationConfiguration {
158
+ /**
159
+ * <p>The time after which query generation will time out.</p>
160
+ * @public
161
+ */
162
+ executionTimeoutSeconds?: number | undefined;
163
+ /**
164
+ * <p>Specifies configurations for context to use during query generation.</p>
165
+ * @public
166
+ */
167
+ generationContext?: QueryGenerationContext | undefined;
168
+ }
169
+ /**
170
+ * <p>Contains configurations for storage in Glue Data Catalog.</p>
171
+ * @public
172
+ */
173
+ export interface RedshiftQueryEngineAwsDataCatalogStorageConfiguration {
174
+ /**
175
+ * <p>A list of names of the tables to use.</p>
176
+ * @public
177
+ */
178
+ tableNames: string[] | undefined;
179
+ }
180
+ /**
181
+ * <p>Contains configurations for storage in Amazon Redshift.</p>
182
+ * @public
183
+ */
184
+ export interface RedshiftQueryEngineRedshiftStorageConfiguration {
185
+ /**
186
+ * <p>The name of the Amazon Redshift database.</p>
187
+ * @public
188
+ */
189
+ databaseName: string | undefined;
190
+ }
191
+ /**
192
+ * <p>Contains configurations for Amazon Redshift data storage. Specify the data storage service to use in the <code>type</code> field and include the corresponding field. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html">Build a knowledge base by connecting to a structured data source</a> in the Amazon Bedrock User Guide.</p>
193
+ * @public
194
+ */
195
+ export interface RedshiftQueryEngineStorageConfiguration {
196
+ /**
197
+ * <p>The data storage service to use.</p>
198
+ * @public
199
+ */
200
+ type: RedshiftQueryEngineStorageType | undefined;
201
+ /**
202
+ * <p>Specifies configurations for storage in Glue Data Catalog.</p>
203
+ * @public
204
+ */
205
+ awsDataCatalogConfiguration?: RedshiftQueryEngineAwsDataCatalogStorageConfiguration | undefined;
206
+ /**
207
+ * <p>Specifies configurations for storage in Amazon Redshift.</p>
208
+ * @public
209
+ */
210
+ redshiftConfiguration?: RedshiftQueryEngineRedshiftStorageConfiguration | undefined;
211
+ }
212
+ /**
213
+ * <p>Contains configurations for an Amazon Redshift database. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html">Build a knowledge base by connecting to a structured data source</a> in the Amazon Bedrock User Guide.</p>
214
+ * @public
215
+ */
216
+ export interface RedshiftConfiguration {
217
+ /**
218
+ * <p>Specifies configurations for Amazon Redshift database storage.</p>
219
+ * @public
220
+ */
221
+ storageConfigurations: RedshiftQueryEngineStorageConfiguration[] | undefined;
222
+ /**
223
+ * <p>Specifies configurations for an Amazon Redshift query engine.</p>
224
+ * @public
225
+ */
226
+ queryEngineConfiguration: RedshiftQueryEngineConfiguration | undefined;
227
+ /**
228
+ * <p>Specifies configurations for generating queries.</p>
229
+ * @public
230
+ */
231
+ queryGenerationConfiguration?: QueryGenerationConfiguration | undefined;
232
+ }
233
+ /**
234
+ * <p>Contains configurations for a knowledge base connected to an SQL database. Specify the SQL database type in the <code>type</code> field and include the corresponding field. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/knowledge-base-build-structured.html">Build a knowledge base by connecting to a structured data source</a> in the Amazon Bedrock User Guide.</p>
235
+ * @public
236
+ */
237
+ export interface SqlKnowledgeBaseConfiguration {
238
+ /**
239
+ * <p>The type of SQL database to connect to the knowledge base.</p>
240
+ * @public
241
+ */
242
+ type: QueryEngineType | undefined;
243
+ /**
244
+ * <p>Specifies configurations for a knowledge base connected to an Amazon Redshift database.</p>
245
+ * @public
246
+ */
247
+ redshiftConfiguration?: RedshiftConfiguration | undefined;
248
+ }
249
+ /**
250
+ * <p>Contains information about a storage location for multimedia content (images, audio, and video) extracted from multimodal documents in your data source.</p>
43
251
  * @public
44
252
  */
45
253
  export interface SupplementalDataStorageLocation {
@@ -49,18 +257,18 @@ export interface SupplementalDataStorageLocation {
49
257
  */
50
258
  type: SupplementalDataStorageLocationType | undefined;
51
259
  /**
52
- * <p>Contains information about the Amazon S3 location for the extracted images.</p>
260
+ * <p>Contains information about the Amazon S3 location for the extracted multimedia content.</p>
53
261
  * @public
54
262
  */
55
263
  s3Location?: S3Location | undefined;
56
264
  }
57
265
  /**
58
- * <p>Specifies configurations for the storage location of the images extracted from multimodal documents in your data source. These images can be retrieved and returned to the end user.</p>
266
+ * <p>Specifies configurations for the storage location of multimedia content (images, audio, and video) extracted from multimodal documents in your data source. This content can be retrieved and returned to the end user with timestamp references for audio and video segments.</p>
59
267
  * @public
60
268
  */
61
269
  export interface SupplementalDataStorageConfiguration {
62
270
  /**
63
- * <p>A list of objects specifying storage locations for images extracted from multimodal documents in your data source.</p>
271
+ * <p>A list of objects specifying storage locations for multimedia content (images, audio, and video) extracted from multimodal documents in your data source.</p>
64
272
  * @public
65
273
  */
66
274
  storageLocations: SupplementalDataStorageLocation[] | undefined;
@@ -92,7 +300,7 @@ export interface VectorKnowledgeBaseConfiguration {
92
300
  */
93
301
  export interface KnowledgeBaseConfiguration {
94
302
  /**
95
- * <p>The type of data that the data source is converted into for the knowledge base.</p>
303
+ * <p>The type of data that the data source is converted into for the knowledge base. Choose <code>MANAGED</code> to create a managed knowledge base.</p>
96
304
  * @public
97
305
  */
98
306
  type: KnowledgeBaseType | undefined;
@@ -101,6 +309,11 @@ export interface KnowledgeBaseConfiguration {
101
309
  * @public
102
310
  */
103
311
  vectorKnowledgeBaseConfiguration?: VectorKnowledgeBaseConfiguration | undefined;
312
+ /**
313
+ * <p>Configurations for a managed knowledge base.</p>
314
+ * @public
315
+ */
316
+ managedKnowledgeBaseConfiguration?: ManagedKnowledgeBaseConfiguration | undefined;
104
317
  /**
105
318
  * <p>Settings for an Amazon Kendra knowledge base.</p>
106
319
  * @public
@@ -1467,6 +1680,41 @@ export interface UpdatePromptResponse {
1467
1680
  */
1468
1681
  updatedAt: Date | undefined;
1469
1682
  }
1683
+ /**
1684
+ * @public
1685
+ */
1686
+ export interface PutResourcePolicyRequest {
1687
+ /**
1688
+ * <p>The Amazon Resource Name (ARN) of the knowledge base to attach the resource policy to.</p>
1689
+ * @public
1690
+ */
1691
+ resourceArn: string | undefined;
1692
+ /**
1693
+ * <p>The JSON-formatted resource policy to associate with the knowledge base.</p>
1694
+ * @public
1695
+ */
1696
+ policy: __AutomaticJsonStringConversion | string | undefined;
1697
+ /**
1698
+ * <p>The expected revision identifier of the resource policy. Use this to prevent conflicts when multiple users update the same policy concurrently. Specify the <code>revisionId</code> from the most recent <code>GetResourcePolicy</code> or <code>PutResourcePolicy</code> response.</p>
1699
+ * @public
1700
+ */
1701
+ expectedRevisionId?: string | undefined;
1702
+ }
1703
+ /**
1704
+ * @public
1705
+ */
1706
+ export interface PutResourcePolicyResponse {
1707
+ /**
1708
+ * <p>The ARN of the knowledge base that the resource policy was attached to.</p>
1709
+ * @public
1710
+ */
1711
+ resourceArn: string | undefined;
1712
+ /**
1713
+ * <p>The revision identifier of the resource policy. Use this value in the <code>expectedRevisionId</code> field of a subsequent <code>PutResourcePolicy</code> or <code>DeleteResourcePolicy</code> request.</p>
1714
+ * @public
1715
+ */
1716
+ revisionId: string | undefined;
1717
+ }
1470
1718
  /**
1471
1719
  * @public
1472
1720
  */
@@ -36,6 +36,7 @@ export declare var AssociateAgentCollaboratorResponse$: StaticStructureSchema;
36
36
  export declare var AssociateAgentKnowledgeBaseRequest$: StaticStructureSchema;
37
37
  export declare var AssociateAgentKnowledgeBaseResponse$: StaticStructureSchema;
38
38
  export declare var AudioConfiguration$: StaticStructureSchema;
39
+ export declare var AudioExtractionConfiguration$: StaticStructureSchema;
39
40
  export declare var AudioSegmentationConfiguration$: StaticStructureSchema;
40
41
  export declare var AutoToolChoice$: StaticStructureSchema;
41
42
  export declare var BedrockDataAutomationConfiguration$: StaticStructureSchema;
@@ -105,10 +106,14 @@ export declare var DeleteKnowledgeBaseRequest$: StaticStructureSchema;
105
106
  export declare var DeleteKnowledgeBaseResponse$: StaticStructureSchema;
106
107
  export declare var DeletePromptRequest$: StaticStructureSchema;
107
108
  export declare var DeletePromptResponse$: StaticStructureSchema;
109
+ export declare var DeleteResourcePolicyRequest$: StaticStructureSchema;
110
+ export declare var DeleteResourcePolicyResponse$: StaticStructureSchema;
111
+ export declare var DeletionProtectionConfiguration$: StaticStructureSchema;
108
112
  export declare var DisassociateAgentCollaboratorRequest$: StaticStructureSchema;
109
113
  export declare var DisassociateAgentCollaboratorResponse$: StaticStructureSchema;
110
114
  export declare var DisassociateAgentKnowledgeBaseRequest$: StaticStructureSchema;
111
115
  export declare var DisassociateAgentKnowledgeBaseResponse$: StaticStructureSchema;
116
+ export declare var DocumentAccessControlEntry$: StaticStructureSchema;
112
117
  export declare var DocumentContent$: StaticStructureSchema;
113
118
  export declare var DocumentIdentifier$: StaticStructureSchema;
114
119
  export declare var DocumentMetadata$: StaticStructureSchema;
@@ -161,9 +166,12 @@ export declare var GetKnowledgeBaseRequest$: StaticStructureSchema;
161
166
  export declare var GetKnowledgeBaseResponse$: StaticStructureSchema;
162
167
  export declare var GetPromptRequest$: StaticStructureSchema;
163
168
  export declare var GetPromptResponse$: StaticStructureSchema;
169
+ export declare var GetResourcePolicyRequest$: StaticStructureSchema;
170
+ export declare var GetResourcePolicyResponse$: StaticStructureSchema;
164
171
  export declare var GuardrailConfiguration$: StaticStructureSchema;
165
172
  export declare var HierarchicalChunkingConfiguration$: StaticStructureSchema;
166
173
  export declare var HierarchicalChunkingLevelConfiguration$: StaticStructureSchema;
174
+ export declare var ImageExtractionConfiguration$: StaticStructureSchema;
167
175
  export declare var IncompatibleConnectionDataTypeFlowValidationDetails$: StaticStructureSchema;
168
176
  export declare var InferenceConfiguration$: StaticStructureSchema;
169
177
  export declare var IngestionJob$: StaticStructureSchema;
@@ -226,6 +234,9 @@ export declare var LoopIncompatibleNodeTypeFlowValidationDetails$: StaticStructu
226
234
  export declare var LoopInputFlowNodeConfiguration$: StaticStructureSchema;
227
235
  export declare var MalformedConditionExpressionFlowValidationDetails$: StaticStructureSchema;
228
236
  export declare var MalformedNodeInputExpressionFlowValidationDetails$: StaticStructureSchema;
237
+ export declare var ManagedKnowledgeBaseConfiguration$: StaticStructureSchema;
238
+ export declare var ManagedKnowledgeBaseConnectorConfiguration$: StaticStructureSchema;
239
+ export declare var MediaExtractionConfiguration$: StaticStructureSchema;
229
240
  export declare var MemoryConfiguration$: StaticStructureSchema;
230
241
  export declare var Message$: StaticStructureSchema;
231
242
  export declare var MetadataAttribute$: StaticStructureSchema;
@@ -277,6 +288,8 @@ export declare var PromptModelInferenceConfiguration$: StaticStructureSchema;
277
288
  export declare var PromptOverrideConfiguration$: StaticStructureSchema;
278
289
  export declare var PromptSummary$: StaticStructureSchema;
279
290
  export declare var PromptVariant$: StaticStructureSchema;
291
+ export declare var PutResourcePolicyRequest$: StaticStructureSchema;
292
+ export declare var PutResourcePolicyResponse$: StaticStructureSchema;
280
293
  export declare var QueryGenerationColumn$: StaticStructureSchema;
281
294
  export declare var QueryGenerationConfiguration$: StaticStructureSchema;
282
295
  export declare var QueryGenerationContext$: StaticStructureSchema;
@@ -374,6 +387,7 @@ export declare var VectorSearchBedrockRerankingConfiguration$: StaticStructureSc
374
387
  export declare var VectorSearchBedrockRerankingModelConfiguration$: StaticStructureSchema;
375
388
  export declare var VectorSearchRerankingConfiguration$: StaticStructureSchema;
376
389
  export declare var VideoConfiguration$: StaticStructureSchema;
390
+ export declare var VideoExtractionConfiguration$: StaticStructureSchema;
377
391
  export declare var VideoSegmentationConfiguration$: StaticStructureSchema;
378
392
  export declare var WebCrawlerConfiguration$: StaticStructureSchema;
379
393
  export declare var WebCrawlerLimits$: StaticStructureSchema;
@@ -421,6 +435,7 @@ export declare var DeleteFlowVersion$: StaticOperationSchema;
421
435
  export declare var DeleteKnowledgeBase$: StaticOperationSchema;
422
436
  export declare var DeleteKnowledgeBaseDocuments$: StaticOperationSchema;
423
437
  export declare var DeletePrompt$: StaticOperationSchema;
438
+ export declare var DeleteResourcePolicy$: StaticOperationSchema;
424
439
  export declare var DisassociateAgentCollaborator$: StaticOperationSchema;
425
440
  export declare var DisassociateAgentKnowledgeBase$: StaticOperationSchema;
426
441
  export declare var GetAgent$: StaticOperationSchema;
@@ -437,6 +452,7 @@ export declare var GetIngestionJob$: StaticOperationSchema;
437
452
  export declare var GetKnowledgeBase$: StaticOperationSchema;
438
453
  export declare var GetKnowledgeBaseDocuments$: StaticOperationSchema;
439
454
  export declare var GetPrompt$: StaticOperationSchema;
455
+ export declare var GetResourcePolicy$: StaticOperationSchema;
440
456
  export declare var IngestKnowledgeBaseDocuments$: StaticOperationSchema;
441
457
  export declare var ListAgentActionGroups$: StaticOperationSchema;
442
458
  export declare var ListAgentAliases$: StaticOperationSchema;
@@ -455,6 +471,7 @@ export declare var ListPrompts$: StaticOperationSchema;
455
471
  export declare var ListTagsForResource$: StaticOperationSchema;
456
472
  export declare var PrepareAgent$: StaticOperationSchema;
457
473
  export declare var PrepareFlow$: StaticOperationSchema;
474
+ export declare var PutResourcePolicy$: StaticOperationSchema;
458
475
  export declare var StartIngestionJob$: StaticOperationSchema;
459
476
  export declare var StopIngestionJob$: StaticOperationSchema;
460
477
  export declare var TagResource$: StaticOperationSchema;
@@ -96,6 +96,10 @@ import {
96
96
  DeletePromptCommandInput,
97
97
  DeletePromptCommandOutput,
98
98
  } from "./commands/DeletePromptCommand";
99
+ import {
100
+ DeleteResourcePolicyCommandInput,
101
+ DeleteResourcePolicyCommandOutput,
102
+ } from "./commands/DeleteResourcePolicyCommand";
99
103
  import {
100
104
  DisassociateAgentCollaboratorCommandInput,
101
105
  DisassociateAgentCollaboratorCommandOutput,
@@ -160,6 +164,10 @@ import {
160
164
  GetPromptCommandInput,
161
165
  GetPromptCommandOutput,
162
166
  } from "./commands/GetPromptCommand";
167
+ import {
168
+ GetResourcePolicyCommandInput,
169
+ GetResourcePolicyCommandOutput,
170
+ } from "./commands/GetResourcePolicyCommand";
163
171
  import {
164
172
  IngestKnowledgeBaseDocumentsCommandInput,
165
173
  IngestKnowledgeBaseDocumentsCommandOutput,
@@ -232,6 +240,10 @@ import {
232
240
  PrepareFlowCommandInput,
233
241
  PrepareFlowCommandOutput,
234
242
  } from "./commands/PrepareFlowCommand";
243
+ import {
244
+ PutResourcePolicyCommandInput,
245
+ PutResourcePolicyCommandOutput,
246
+ } from "./commands/PutResourcePolicyCommand";
235
247
  import {
236
248
  StartIngestionJobCommandInput,
237
249
  StartIngestionJobCommandOutput,
@@ -592,6 +604,19 @@ export interface BedrockAgent {
592
604
  options: __HttpHandlerOptions,
593
605
  cb: (err: any, data?: DeletePromptCommandOutput) => void
594
606
  ): void;
607
+ deleteResourcePolicy(
608
+ args: DeleteResourcePolicyCommandInput,
609
+ options?: __HttpHandlerOptions
610
+ ): Promise<DeleteResourcePolicyCommandOutput>;
611
+ deleteResourcePolicy(
612
+ args: DeleteResourcePolicyCommandInput,
613
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
614
+ ): void;
615
+ deleteResourcePolicy(
616
+ args: DeleteResourcePolicyCommandInput,
617
+ options: __HttpHandlerOptions,
618
+ cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
619
+ ): void;
595
620
  disassociateAgentCollaborator(
596
621
  args: DisassociateAgentCollaboratorCommandInput,
597
622
  options?: __HttpHandlerOptions
@@ -800,6 +825,19 @@ export interface BedrockAgent {
800
825
  options: __HttpHandlerOptions,
801
826
  cb: (err: any, data?: GetPromptCommandOutput) => void
802
827
  ): void;
828
+ getResourcePolicy(
829
+ args: GetResourcePolicyCommandInput,
830
+ options?: __HttpHandlerOptions
831
+ ): Promise<GetResourcePolicyCommandOutput>;
832
+ getResourcePolicy(
833
+ args: GetResourcePolicyCommandInput,
834
+ cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
835
+ ): void;
836
+ getResourcePolicy(
837
+ args: GetResourcePolicyCommandInput,
838
+ options: __HttpHandlerOptions,
839
+ cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
840
+ ): void;
803
841
  ingestKnowledgeBaseDocuments(
804
842
  args: IngestKnowledgeBaseDocumentsCommandInput,
805
843
  options?: __HttpHandlerOptions
@@ -1038,6 +1076,19 @@ export interface BedrockAgent {
1038
1076
  options: __HttpHandlerOptions,
1039
1077
  cb: (err: any, data?: PrepareFlowCommandOutput) => void
1040
1078
  ): void;
1079
+ putResourcePolicy(
1080
+ args: PutResourcePolicyCommandInput,
1081
+ options?: __HttpHandlerOptions
1082
+ ): Promise<PutResourcePolicyCommandOutput>;
1083
+ putResourcePolicy(
1084
+ args: PutResourcePolicyCommandInput,
1085
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
1086
+ ): void;
1087
+ putResourcePolicy(
1088
+ args: PutResourcePolicyCommandInput,
1089
+ options: __HttpHandlerOptions,
1090
+ cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
1091
+ ): void;
1041
1092
  startIngestionJob(
1042
1093
  args: StartIngestionJobCommandInput,
1043
1094
  options?: __HttpHandlerOptions
@@ -128,6 +128,10 @@ import {
128
128
  DeletePromptCommandInput,
129
129
  DeletePromptCommandOutput,
130
130
  } from "./commands/DeletePromptCommand";
131
+ import {
132
+ DeleteResourcePolicyCommandInput,
133
+ DeleteResourcePolicyCommandOutput,
134
+ } from "./commands/DeleteResourcePolicyCommand";
131
135
  import {
132
136
  DisassociateAgentCollaboratorCommandInput,
133
137
  DisassociateAgentCollaboratorCommandOutput,
@@ -192,6 +196,10 @@ import {
192
196
  GetPromptCommandInput,
193
197
  GetPromptCommandOutput,
194
198
  } from "./commands/GetPromptCommand";
199
+ import {
200
+ GetResourcePolicyCommandInput,
201
+ GetResourcePolicyCommandOutput,
202
+ } from "./commands/GetResourcePolicyCommand";
195
203
  import {
196
204
  IngestKnowledgeBaseDocumentsCommandInput,
197
205
  IngestKnowledgeBaseDocumentsCommandOutput,
@@ -264,6 +272,10 @@ import {
264
272
  PrepareFlowCommandInput,
265
273
  PrepareFlowCommandOutput,
266
274
  } from "./commands/PrepareFlowCommand";
275
+ import {
276
+ PutResourcePolicyCommandInput,
277
+ PutResourcePolicyCommandOutput,
278
+ } from "./commands/PutResourcePolicyCommand";
267
279
  import {
268
280
  StartIngestionJobCommandInput,
269
281
  StartIngestionJobCommandOutput,
@@ -355,6 +367,7 @@ export type ServiceInputTypes =
355
367
  | DeleteKnowledgeBaseCommandInput
356
368
  | DeleteKnowledgeBaseDocumentsCommandInput
357
369
  | DeletePromptCommandInput
370
+ | DeleteResourcePolicyCommandInput
358
371
  | DisassociateAgentCollaboratorCommandInput
359
372
  | DisassociateAgentKnowledgeBaseCommandInput
360
373
  | GetAgentActionGroupCommandInput
@@ -371,6 +384,7 @@ export type ServiceInputTypes =
371
384
  | GetKnowledgeBaseCommandInput
372
385
  | GetKnowledgeBaseDocumentsCommandInput
373
386
  | GetPromptCommandInput
387
+ | GetResourcePolicyCommandInput
374
388
  | IngestKnowledgeBaseDocumentsCommandInput
375
389
  | ListAgentActionGroupsCommandInput
376
390
  | ListAgentAliasesCommandInput
@@ -389,6 +403,7 @@ export type ServiceInputTypes =
389
403
  | ListTagsForResourceCommandInput
390
404
  | PrepareAgentCommandInput
391
405
  | PrepareFlowCommandInput
406
+ | PutResourcePolicyCommandInput
392
407
  | StartIngestionJobCommandInput
393
408
  | StopIngestionJobCommandInput
394
409
  | TagResourceCommandInput
@@ -428,6 +443,7 @@ export type ServiceOutputTypes =
428
443
  | DeleteKnowledgeBaseCommandOutput
429
444
  | DeleteKnowledgeBaseDocumentsCommandOutput
430
445
  | DeletePromptCommandOutput
446
+ | DeleteResourcePolicyCommandOutput
431
447
  | DisassociateAgentCollaboratorCommandOutput
432
448
  | DisassociateAgentKnowledgeBaseCommandOutput
433
449
  | GetAgentActionGroupCommandOutput
@@ -444,6 +460,7 @@ export type ServiceOutputTypes =
444
460
  | GetKnowledgeBaseCommandOutput
445
461
  | GetKnowledgeBaseDocumentsCommandOutput
446
462
  | GetPromptCommandOutput
463
+ | GetResourcePolicyCommandOutput
447
464
  | IngestKnowledgeBaseDocumentsCommandOutput
448
465
  | ListAgentActionGroupsCommandOutput
449
466
  | ListAgentAliasesCommandOutput
@@ -462,6 +479,7 @@ export type ServiceOutputTypes =
462
479
  | ListTagsForResourceCommandOutput
463
480
  | PrepareAgentCommandOutput
464
481
  | PrepareFlowCommandOutput
482
+ | PutResourcePolicyCommandOutput
465
483
  | StartIngestionJobCommandOutput
466
484
  | StopIngestionJobCommandOutput
467
485
  | TagResourceCommandOutput
@@ -0,0 +1,53 @@
1
+ import { Command as $Command } from "@smithy/core/client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BedrockAgentClientResolvedConfig,
5
+ ServiceInputTypes,
6
+ ServiceOutputTypes,
7
+ } from "../BedrockAgentClient";
8
+ import {
9
+ DeleteResourcePolicyRequest,
10
+ DeleteResourcePolicyResponse,
11
+ } from "../models/models_0";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteResourcePolicyCommandInput
15
+ extends DeleteResourcePolicyRequest {}
16
+ export interface DeleteResourcePolicyCommandOutput
17
+ extends DeleteResourcePolicyResponse,
18
+ __MetadataBearer {}
19
+ declare const DeleteResourcePolicyCommand_base: {
20
+ new (
21
+ input: DeleteResourcePolicyCommandInput
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ DeleteResourcePolicyCommandInput,
24
+ DeleteResourcePolicyCommandOutput,
25
+ BedrockAgentClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DeleteResourcePolicyCommandInput
31
+ ): import("@smithy/core/client").CommandImpl<
32
+ DeleteResourcePolicyCommandInput,
33
+ DeleteResourcePolicyCommandOutput,
34
+ BedrockAgentClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): {
39
+ [x: string]: unknown;
40
+ };
41
+ };
42
+ export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
43
+ protected static __types: {
44
+ api: {
45
+ input: DeleteResourcePolicyRequest;
46
+ output: DeleteResourcePolicyResponse;
47
+ };
48
+ sdk: {
49
+ input: DeleteResourcePolicyCommandInput;
50
+ output: DeleteResourcePolicyCommandOutput;
51
+ };
52
+ };
53
+ }