aws-sdk-bedrockagent 1.76.0 → 1.78.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.
@@ -15,6 +15,8 @@ module Aws::BedrockAgent
15
15
  include Seahorse::Model
16
16
 
17
17
  APISchema = Shapes::UnionShape.new(name: 'APISchema')
18
+ AccessControlAccess = Shapes::StringShape.new(name: 'AccessControlAccess')
19
+ AccessControlPrincipalType = Shapes::StringShape.new(name: 'AccessControlPrincipalType')
18
20
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
19
21
  ActionGroupExecutor = Shapes::UnionShape.new(name: 'ActionGroupExecutor')
20
22
  ActionGroupSignature = Shapes::StringShape.new(name: 'ActionGroupSignature')
@@ -64,6 +66,7 @@ module Aws::BedrockAgent
64
66
  AssociateAgentKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'AssociateAgentKnowledgeBaseResponse')
65
67
  AudioConfiguration = Shapes::StructureShape.new(name: 'AudioConfiguration')
66
68
  AudioConfigurations = Shapes::ListShape.new(name: 'AudioConfigurations')
69
+ AudioExtractionConfiguration = Shapes::StructureShape.new(name: 'AudioExtractionConfiguration')
67
70
  AudioSegmentationConfiguration = Shapes::StructureShape.new(name: 'AudioSegmentationConfiguration')
68
71
  AudioSegmentationConfigurationFixedLengthDurationInteger = Shapes::IntegerShape.new(name: 'AudioSegmentationConfigurationFixedLengthDurationInteger')
69
72
  AutoToolChoice = Shapes::StructureShape.new(name: 'AutoToolChoice')
@@ -170,6 +173,10 @@ module Aws::BedrockAgent
170
173
  DeleteKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'DeleteKnowledgeBaseResponse')
171
174
  DeletePromptRequest = Shapes::StructureShape.new(name: 'DeletePromptRequest')
172
175
  DeletePromptResponse = Shapes::StructureShape.new(name: 'DeletePromptResponse')
176
+ DeleteResourcePolicyRequest = Shapes::StructureShape.new(name: 'DeleteResourcePolicyRequest')
177
+ DeleteResourcePolicyResponse = Shapes::StructureShape.new(name: 'DeleteResourcePolicyResponse')
178
+ DeletionProtectionConfiguration = Shapes::StructureShape.new(name: 'DeletionProtectionConfiguration')
179
+ DeletionProtectionConfigurationDeletionProtectionThresholdInteger = Shapes::IntegerShape.new(name: 'DeletionProtectionConfigurationDeletionProtectionThresholdInteger')
173
180
  Description = Shapes::StringShape.new(name: 'Description')
174
181
  DescriptionString = Shapes::StringShape.new(name: 'DescriptionString')
175
182
  Dimensions = Shapes::IntegerShape.new(name: 'Dimensions')
@@ -178,6 +185,9 @@ module Aws::BedrockAgent
178
185
  DisassociateAgentKnowledgeBaseRequest = Shapes::StructureShape.new(name: 'DisassociateAgentKnowledgeBaseRequest')
179
186
  DisassociateAgentKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'DisassociateAgentKnowledgeBaseResponse')
180
187
  Document = Shapes::DocumentShape.new(name: 'Document', document: true)
188
+ DocumentAccessControlEntry = Shapes::StructureShape.new(name: 'DocumentAccessControlEntry')
189
+ DocumentAccessControlEntryNameString = Shapes::StringShape.new(name: 'DocumentAccessControlEntryNameString')
190
+ DocumentAccessControlList = Shapes::ListShape.new(name: 'DocumentAccessControlList')
181
191
  DocumentContent = Shapes::StructureShape.new(name: 'DocumentContent')
182
192
  DocumentIdentifier = Shapes::StructureShape.new(name: 'DocumentIdentifier')
183
193
  DocumentIdentifiers = Shapes::ListShape.new(name: 'DocumentIdentifiers')
@@ -189,7 +199,9 @@ module Aws::BedrockAgent
189
199
  DuplicateConnectionsFlowValidationDetails = Shapes::StructureShape.new(name: 'DuplicateConnectionsFlowValidationDetails')
190
200
  EmbeddingDataType = Shapes::StringShape.new(name: 'EmbeddingDataType')
191
201
  EmbeddingModelConfiguration = Shapes::StructureShape.new(name: 'EmbeddingModelConfiguration')
202
+ EmbeddingModelType = Shapes::StringShape.new(name: 'EmbeddingModelType')
192
203
  EnabledMemoryTypes = Shapes::ListShape.new(name: 'EnabledMemoryTypes')
204
+ EnabledOrDisabledState = Shapes::StringShape.new(name: 'EnabledOrDisabledState')
193
205
  EnrichmentStrategyConfiguration = Shapes::StructureShape.new(name: 'EnrichmentStrategyConfiguration')
194
206
  EnrichmentStrategyMethod = Shapes::StringShape.new(name: 'EnrichmentStrategyMethod')
195
207
  ErrorMessage = Shapes::StringShape.new(name: 'ErrorMessage')
@@ -296,6 +308,8 @@ module Aws::BedrockAgent
296
308
  GetKnowledgeBaseResponse = Shapes::StructureShape.new(name: 'GetKnowledgeBaseResponse')
297
309
  GetPromptRequest = Shapes::StructureShape.new(name: 'GetPromptRequest')
298
310
  GetPromptResponse = Shapes::StructureShape.new(name: 'GetPromptResponse')
311
+ GetResourcePolicyRequest = Shapes::StructureShape.new(name: 'GetResourcePolicyRequest')
312
+ GetResourcePolicyResponse = Shapes::StructureShape.new(name: 'GetResourcePolicyResponse')
299
313
  GraphArn = Shapes::StringShape.new(name: 'GraphArn')
300
314
  GuardrailConfiguration = Shapes::StructureShape.new(name: 'GuardrailConfiguration')
301
315
  GuardrailIdentifier = Shapes::StringShape.new(name: 'GuardrailIdentifier')
@@ -307,6 +321,7 @@ module Aws::BedrockAgent
307
321
  HierarchicalChunkingLevelConfigurations = Shapes::ListShape.new(name: 'HierarchicalChunkingLevelConfigurations')
308
322
  HttpsUrl = Shapes::StringShape.new(name: 'HttpsUrl')
309
323
  Id = Shapes::StringShape.new(name: 'Id')
324
+ ImageExtractionConfiguration = Shapes::StructureShape.new(name: 'ImageExtractionConfiguration')
310
325
  IncludeExclude = Shapes::StringShape.new(name: 'IncludeExclude')
311
326
  IncompatibleConnectionDataTypeFlowValidationDetails = Shapes::StructureShape.new(name: 'IncompatibleConnectionDataTypeFlowValidationDetails')
312
327
  IncompatibleLoopNodeType = Shapes::StringShape.new(name: 'IncompatibleLoopNodeType')
@@ -402,9 +417,12 @@ module Aws::BedrockAgent
402
417
  LoopInputFlowNodeConfiguration = Shapes::StructureShape.new(name: 'LoopInputFlowNodeConfiguration')
403
418
  MalformedConditionExpressionFlowValidationDetails = Shapes::StructureShape.new(name: 'MalformedConditionExpressionFlowValidationDetails')
404
419
  MalformedNodeInputExpressionFlowValidationDetails = Shapes::StructureShape.new(name: 'MalformedNodeInputExpressionFlowValidationDetails')
420
+ ManagedKnowledgeBaseConfiguration = Shapes::StructureShape.new(name: 'ManagedKnowledgeBaseConfiguration')
421
+ ManagedKnowledgeBaseConnectorConfiguration = Shapes::StructureShape.new(name: 'ManagedKnowledgeBaseConnectorConfiguration')
405
422
  MaxRecentSessions = Shapes::IntegerShape.new(name: 'MaxRecentSessions')
406
423
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
407
424
  MaximumLength = Shapes::IntegerShape.new(name: 'MaximumLength')
425
+ MediaExtractionConfiguration = Shapes::StructureShape.new(name: 'MediaExtractionConfiguration')
408
426
  MemoryConfiguration = Shapes::StructureShape.new(name: 'MemoryConfiguration')
409
427
  MemoryType = Shapes::StringShape.new(name: 'MemoryType')
410
428
  Message = Shapes::StructureShape.new(name: 'Message')
@@ -516,6 +534,8 @@ module Aws::BedrockAgent
516
534
  PromptVariantList = Shapes::ListShape.new(name: 'PromptVariantList')
517
535
  PromptVariantName = Shapes::StringShape.new(name: 'PromptVariantName')
518
536
  ProvisionedModelIdentifier = Shapes::StringShape.new(name: 'ProvisionedModelIdentifier')
537
+ PutResourcePolicyRequest = Shapes::StructureShape.new(name: 'PutResourcePolicyRequest')
538
+ PutResourcePolicyResponse = Shapes::StructureShape.new(name: 'PutResourcePolicyResponse')
519
539
  QueryEngineType = Shapes::StringShape.new(name: 'QueryEngineType')
520
540
  QueryExecutionTimeoutSeconds = Shapes::IntegerShape.new(name: 'QueryExecutionTimeoutSeconds')
521
541
  QueryGenerationColumn = Shapes::StructureShape.new(name: 'QueryGenerationColumn')
@@ -557,10 +577,13 @@ module Aws::BedrockAgent
557
577
  RequireConfirmation = Shapes::StringShape.new(name: 'RequireConfirmation')
558
578
  RerankingMetadataSelectionMode = Shapes::StringShape.new(name: 'RerankingMetadataSelectionMode')
559
579
  RerankingMetadataSelectiveModeConfiguration = Shapes::UnionShape.new(name: 'RerankingMetadataSelectiveModeConfiguration')
580
+ ResourceArn = Shapes::StringShape.new(name: 'ResourceArn')
560
581
  ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
582
+ ResourcePolicy = Shapes::StringShape.new(name: 'ResourcePolicy')
561
583
  RetrievalFlowNodeConfiguration = Shapes::StructureShape.new(name: 'RetrievalFlowNodeConfiguration')
562
584
  RetrievalFlowNodeS3Configuration = Shapes::StructureShape.new(name: 'RetrievalFlowNodeS3Configuration')
563
585
  RetrievalFlowNodeServiceConfiguration = Shapes::UnionShape.new(name: 'RetrievalFlowNodeServiceConfiguration')
586
+ RevisionId = Shapes::StringShape.new(name: 'RevisionId')
564
587
  S3BucketArn = Shapes::StringShape.new(name: 'S3BucketArn')
565
588
  S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
566
589
  S3BucketUri = Shapes::StringShape.new(name: 'S3BucketUri')
@@ -698,6 +721,7 @@ module Aws::BedrockAgent
698
721
  Version = Shapes::StringShape.new(name: 'Version')
699
722
  VideoConfiguration = Shapes::StructureShape.new(name: 'VideoConfiguration')
700
723
  VideoConfigurations = Shapes::ListShape.new(name: 'VideoConfigurations')
724
+ VideoExtractionConfiguration = Shapes::StructureShape.new(name: 'VideoExtractionConfiguration')
701
725
  VideoSegmentationConfiguration = Shapes::StructureShape.new(name: 'VideoSegmentationConfiguration')
702
726
  VideoSegmentationConfigurationFixedLengthDurationInteger = Shapes::IntegerShape.new(name: 'VideoSegmentationConfigurationFixedLengthDurationInteger')
703
727
  WebCrawlerConfiguration = Shapes::StructureShape.new(name: 'WebCrawlerConfiguration')
@@ -944,6 +968,9 @@ module Aws::BedrockAgent
944
968
 
945
969
  AudioConfigurations.member = Shapes::ShapeRef.new(shape: AudioConfiguration)
946
970
 
971
+ AudioExtractionConfiguration.add_member(:audio_extraction_status, Shapes::ShapeRef.new(shape: EnabledOrDisabledState, required: true, location_name: "audioExtractionStatus"))
972
+ AudioExtractionConfiguration.struct_class = Types::AudioExtractionConfiguration
973
+
947
974
  AudioSegmentationConfiguration.add_member(:fixed_length_duration, Shapes::ShapeRef.new(shape: AudioSegmentationConfigurationFixedLengthDurationInteger, required: true, location_name: "fixedLengthDuration"))
948
975
  AudioSegmentationConfiguration.struct_class = Types::AudioSegmentationConfiguration
949
976
 
@@ -1241,6 +1268,7 @@ module Aws::BedrockAgent
1241
1268
  DataSource.struct_class = Types::DataSource
1242
1269
 
1243
1270
  DataSourceConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: DataSourceType, required: true, location_name: "type"))
1271
+ DataSourceConfiguration.add_member(:managed_knowledge_base_connector_configuration, Shapes::ShapeRef.new(shape: ManagedKnowledgeBaseConnectorConfiguration, location_name: "managedKnowledgeBaseConnectorConfiguration"))
1244
1272
  DataSourceConfiguration.add_member(:s3_configuration, Shapes::ShapeRef.new(shape: S3DataSourceConfiguration, location_name: "s3Configuration"))
1245
1273
  DataSourceConfiguration.add_member(:web_configuration, Shapes::ShapeRef.new(shape: WebDataSourceConfiguration, location_name: "webConfiguration"))
1246
1274
  DataSourceConfiguration.add_member(:confluence_configuration, Shapes::ShapeRef.new(shape: ConfluenceDataSourceConfiguration, location_name: "confluenceConfiguration"))
@@ -1350,6 +1378,18 @@ module Aws::BedrockAgent
1350
1378
  DeletePromptResponse.add_member(:version, Shapes::ShapeRef.new(shape: NumericalVersion, location_name: "version"))
1351
1379
  DeletePromptResponse.struct_class = Types::DeletePromptResponse
1352
1380
 
1381
+ DeleteResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
1382
+ DeleteResourcePolicyRequest.add_member(:expected_revision_id, Shapes::ShapeRef.new(shape: RevisionId, location: "querystring", location_name: "expectedRevisionId"))
1383
+ DeleteResourcePolicyRequest.struct_class = Types::DeleteResourcePolicyRequest
1384
+
1385
+ DeleteResourcePolicyResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
1386
+ DeleteResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "revisionId"))
1387
+ DeleteResourcePolicyResponse.struct_class = Types::DeleteResourcePolicyResponse
1388
+
1389
+ DeletionProtectionConfiguration.add_member(:deletion_protection_status, Shapes::ShapeRef.new(shape: EnabledOrDisabledState, required: true, location_name: "deletionProtectionStatus"))
1390
+ DeletionProtectionConfiguration.add_member(:deletion_protection_threshold, Shapes::ShapeRef.new(shape: DeletionProtectionConfigurationDeletionProtectionThresholdInteger, location_name: "deletionProtectionThreshold"))
1391
+ DeletionProtectionConfiguration.struct_class = Types::DeletionProtectionConfiguration
1392
+
1353
1393
  DisassociateAgentCollaboratorRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "agentId"))
1354
1394
  DisassociateAgentCollaboratorRequest.add_member(:agent_version, Shapes::ShapeRef.new(shape: DraftVersion, required: true, location: "uri", location_name: "agentVersion"))
1355
1395
  DisassociateAgentCollaboratorRequest.add_member(:collaborator_id, Shapes::ShapeRef.new(shape: Id, required: true, location: "uri", location_name: "collaboratorId"))
@@ -1364,6 +1404,13 @@ module Aws::BedrockAgent
1364
1404
 
1365
1405
  DisassociateAgentKnowledgeBaseResponse.struct_class = Types::DisassociateAgentKnowledgeBaseResponse
1366
1406
 
1407
+ DocumentAccessControlEntry.add_member(:name, Shapes::ShapeRef.new(shape: DocumentAccessControlEntryNameString, required: true, location_name: "name"))
1408
+ DocumentAccessControlEntry.add_member(:type, Shapes::ShapeRef.new(shape: AccessControlPrincipalType, required: true, location_name: "type"))
1409
+ DocumentAccessControlEntry.add_member(:access, Shapes::ShapeRef.new(shape: AccessControlAccess, required: true, location_name: "access"))
1410
+ DocumentAccessControlEntry.struct_class = Types::DocumentAccessControlEntry
1411
+
1412
+ DocumentAccessControlList.member = Shapes::ShapeRef.new(shape: DocumentAccessControlEntry)
1413
+
1367
1414
  DocumentContent.add_member(:data_source_type, Shapes::ShapeRef.new(shape: ContentDataSourceType, required: true, location_name: "dataSourceType"))
1368
1415
  DocumentContent.add_member(:custom, Shapes::ShapeRef.new(shape: CustomContent, location_name: "custom"))
1369
1416
  DocumentContent.add_member(:s3, Shapes::ShapeRef.new(shape: S3Content, location_name: "s3"))
@@ -1379,6 +1426,7 @@ module Aws::BedrockAgent
1379
1426
  DocumentMetadata.add_member(:type, Shapes::ShapeRef.new(shape: MetadataSourceType, required: true, location_name: "type"))
1380
1427
  DocumentMetadata.add_member(:inline_attributes, Shapes::ShapeRef.new(shape: DocumentMetadataInlineAttributesList, location_name: "inlineAttributes"))
1381
1428
  DocumentMetadata.add_member(:s3_location, Shapes::ShapeRef.new(shape: CustomS3Location, location_name: "s3Location"))
1429
+ DocumentMetadata.add_member(:access_control_list, Shapes::ShapeRef.new(shape: DocumentAccessControlList, location_name: "accessControlList"))
1382
1430
  DocumentMetadata.struct_class = Types::DocumentMetadata
1383
1431
 
1384
1432
  DocumentMetadataInlineAttributesList.member = Shapes::ShapeRef.new(shape: MetadataAttribute)
@@ -1777,6 +1825,14 @@ module Aws::BedrockAgent
1777
1825
  GetPromptResponse.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
1778
1826
  GetPromptResponse.struct_class = Types::GetPromptResponse
1779
1827
 
1828
+ GetResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
1829
+ GetResourcePolicyRequest.struct_class = Types::GetResourcePolicyRequest
1830
+
1831
+ GetResourcePolicyResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
1832
+ GetResourcePolicyResponse.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, required: true, location_name: "policy", metadata: {"jsonvalue" => true}))
1833
+ GetResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
1834
+ GetResourcePolicyResponse.struct_class = Types::GetResourcePolicyResponse
1835
+
1780
1836
  GuardrailConfiguration.add_member(:guardrail_identifier, Shapes::ShapeRef.new(shape: GuardrailIdentifier, location_name: "guardrailIdentifier"))
1781
1837
  GuardrailConfiguration.add_member(:guardrail_version, Shapes::ShapeRef.new(shape: GuardrailVersion, location_name: "guardrailVersion"))
1782
1838
  GuardrailConfiguration.struct_class = Types::GuardrailConfiguration
@@ -1790,6 +1846,9 @@ module Aws::BedrockAgent
1790
1846
 
1791
1847
  HierarchicalChunkingLevelConfigurations.member = Shapes::ShapeRef.new(shape: HierarchicalChunkingLevelConfiguration)
1792
1848
 
1849
+ ImageExtractionConfiguration.add_member(:image_extraction_status, Shapes::ShapeRef.new(shape: EnabledOrDisabledState, required: true, location_name: "imageExtractionStatus"))
1850
+ ImageExtractionConfiguration.struct_class = Types::ImageExtractionConfiguration
1851
+
1793
1852
  IncompatibleConnectionDataTypeFlowValidationDetails.add_member(:connection, Shapes::ShapeRef.new(shape: FlowConnectionName, required: true, location_name: "connection"))
1794
1853
  IncompatibleConnectionDataTypeFlowValidationDetails.struct_class = Types::IncompatibleConnectionDataTypeFlowValidationDetails
1795
1854
 
@@ -1840,6 +1899,7 @@ module Aws::BedrockAgent
1840
1899
  IngestionJobStatistics.add_member(:number_of_metadata_documents_modified, Shapes::ShapeRef.new(shape: PrimitiveLong, location_name: "numberOfMetadataDocumentsModified"))
1841
1900
  IngestionJobStatistics.add_member(:number_of_documents_deleted, Shapes::ShapeRef.new(shape: PrimitiveLong, location_name: "numberOfDocumentsDeleted"))
1842
1901
  IngestionJobStatistics.add_member(:number_of_documents_failed, Shapes::ShapeRef.new(shape: PrimitiveLong, location_name: "numberOfDocumentsFailed"))
1902
+ IngestionJobStatistics.add_member(:number_of_documents_skipped, Shapes::ShapeRef.new(shape: PrimitiveLong, location_name: "numberOfDocumentsSkipped"))
1843
1903
  IngestionJobStatistics.struct_class = Types::IngestionJobStatistics
1844
1904
 
1845
1905
  IngestionJobSummaries.member = Shapes::ShapeRef.new(shape: IngestionJobSummary)
@@ -1896,6 +1956,7 @@ module Aws::BedrockAgent
1896
1956
 
1897
1957
  KnowledgeBaseConfiguration.add_member(:type, Shapes::ShapeRef.new(shape: KnowledgeBaseType, required: true, location_name: "type"))
1898
1958
  KnowledgeBaseConfiguration.add_member(:vector_knowledge_base_configuration, Shapes::ShapeRef.new(shape: VectorKnowledgeBaseConfiguration, location_name: "vectorKnowledgeBaseConfiguration"))
1959
+ KnowledgeBaseConfiguration.add_member(:managed_knowledge_base_configuration, Shapes::ShapeRef.new(shape: ManagedKnowledgeBaseConfiguration, location_name: "managedKnowledgeBaseConfiguration"))
1899
1960
  KnowledgeBaseConfiguration.add_member(:kendra_knowledge_base_configuration, Shapes::ShapeRef.new(shape: KendraKnowledgeBaseConfiguration, location_name: "kendraKnowledgeBaseConfiguration"))
1900
1961
  KnowledgeBaseConfiguration.add_member(:sql_knowledge_base_configuration, Shapes::ShapeRef.new(shape: SqlKnowledgeBaseConfiguration, location_name: "sqlKnowledgeBaseConfiguration"))
1901
1962
  KnowledgeBaseConfiguration.struct_class = Types::KnowledgeBaseConfiguration
@@ -2111,6 +2172,22 @@ module Aws::BedrockAgent
2111
2172
  MalformedNodeInputExpressionFlowValidationDetails.add_member(:cause, Shapes::ShapeRef.new(shape: ErrorMessage, required: true, location_name: "cause"))
2112
2173
  MalformedNodeInputExpressionFlowValidationDetails.struct_class = Types::MalformedNodeInputExpressionFlowValidationDetails
2113
2174
 
2175
+ ManagedKnowledgeBaseConfiguration.add_member(:embedding_model_type, Shapes::ShapeRef.new(shape: EmbeddingModelType, location_name: "embeddingModelType"))
2176
+ ManagedKnowledgeBaseConfiguration.add_member(:embedding_model_arn, Shapes::ShapeRef.new(shape: BedrockEmbeddingModelArn, location_name: "embeddingModelArn"))
2177
+ ManagedKnowledgeBaseConfiguration.add_member(:embedding_model_configuration, Shapes::ShapeRef.new(shape: EmbeddingModelConfiguration, location_name: "embeddingModelConfiguration"))
2178
+ ManagedKnowledgeBaseConfiguration.add_member(:server_side_encryption_configuration, Shapes::ShapeRef.new(shape: ServerSideEncryptionConfiguration, location_name: "serverSideEncryptionConfiguration"))
2179
+ ManagedKnowledgeBaseConfiguration.struct_class = Types::ManagedKnowledgeBaseConfiguration
2180
+
2181
+ ManagedKnowledgeBaseConnectorConfiguration.add_member(:deletion_protection_configuration, Shapes::ShapeRef.new(shape: DeletionProtectionConfiguration, location_name: "deletionProtectionConfiguration"))
2182
+ ManagedKnowledgeBaseConnectorConfiguration.add_member(:media_extraction_configuration, Shapes::ShapeRef.new(shape: MediaExtractionConfiguration, location_name: "mediaExtractionConfiguration"))
2183
+ ManagedKnowledgeBaseConnectorConfiguration.add_member(:connector_parameters, Shapes::ShapeRef.new(shape: Document, location_name: "connectorParameters"))
2184
+ ManagedKnowledgeBaseConnectorConfiguration.struct_class = Types::ManagedKnowledgeBaseConnectorConfiguration
2185
+
2186
+ MediaExtractionConfiguration.add_member(:image_extraction_configuration, Shapes::ShapeRef.new(shape: ImageExtractionConfiguration, location_name: "imageExtractionConfiguration"))
2187
+ MediaExtractionConfiguration.add_member(:audio_extraction_configuration, Shapes::ShapeRef.new(shape: AudioExtractionConfiguration, location_name: "audioExtractionConfiguration"))
2188
+ MediaExtractionConfiguration.add_member(:video_extraction_configuration, Shapes::ShapeRef.new(shape: VideoExtractionConfiguration, location_name: "videoExtractionConfiguration"))
2189
+ MediaExtractionConfiguration.struct_class = Types::MediaExtractionConfiguration
2190
+
2114
2191
  MemoryConfiguration.add_member(:enabled_memory_types, Shapes::ShapeRef.new(shape: EnabledMemoryTypes, required: true, location_name: "enabledMemoryTypes"))
2115
2192
  MemoryConfiguration.add_member(:storage_days, Shapes::ShapeRef.new(shape: StorageDays, location_name: "storageDays"))
2116
2193
  MemoryConfiguration.add_member(:session_summary_configuration, Shapes::ShapeRef.new(shape: SessionSummaryConfiguration, location_name: "sessionSummaryConfiguration"))
@@ -2394,6 +2471,15 @@ module Aws::BedrockAgent
2394
2471
 
2395
2472
  PromptVariantList.member = Shapes::ShapeRef.new(shape: PromptVariant)
2396
2473
 
2474
+ PutResourcePolicyRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location: "uri", location_name: "resourceArn"))
2475
+ PutResourcePolicyRequest.add_member(:policy, Shapes::ShapeRef.new(shape: ResourcePolicy, required: true, location_name: "policy", metadata: {"jsonvalue" => true}))
2476
+ PutResourcePolicyRequest.add_member(:expected_revision_id, Shapes::ShapeRef.new(shape: RevisionId, location_name: "expectedRevisionId"))
2477
+ PutResourcePolicyRequest.struct_class = Types::PutResourcePolicyRequest
2478
+
2479
+ PutResourcePolicyResponse.add_member(:resource_arn, Shapes::ShapeRef.new(shape: ResourceArn, required: true, location_name: "resourceArn"))
2480
+ PutResourcePolicyResponse.add_member(:revision_id, Shapes::ShapeRef.new(shape: RevisionId, required: true, location_name: "revisionId"))
2481
+ PutResourcePolicyResponse.struct_class = Types::PutResourcePolicyResponse
2482
+
2397
2483
  QueryGenerationColumn.add_member(:name, Shapes::ShapeRef.new(shape: QueryGenerationColumnName, location_name: "name"))
2398
2484
  QueryGenerationColumn.add_member(:description, Shapes::ShapeRef.new(shape: DescriptionString, location_name: "description"))
2399
2485
  QueryGenerationColumn.add_member(:inclusion, Shapes::ShapeRef.new(shape: IncludeExclude, location_name: "inclusion"))
@@ -2956,6 +3042,9 @@ module Aws::BedrockAgent
2956
3042
 
2957
3043
  VideoConfigurations.member = Shapes::ShapeRef.new(shape: VideoConfiguration)
2958
3044
 
3045
+ VideoExtractionConfiguration.add_member(:video_extraction_status, Shapes::ShapeRef.new(shape: EnabledOrDisabledState, required: true, location_name: "videoExtractionStatus"))
3046
+ VideoExtractionConfiguration.struct_class = Types::VideoExtractionConfiguration
3047
+
2959
3048
  VideoSegmentationConfiguration.add_member(:fixed_length_duration, Shapes::ShapeRef.new(shape: VideoSegmentationConfigurationFixedLengthDurationInteger, required: true, location_name: "fixedLengthDuration"))
2960
3049
  VideoSegmentationConfiguration.struct_class = Types::VideoSegmentationConfiguration
2961
3050
 
@@ -3326,6 +3415,20 @@ module Aws::BedrockAgent
3326
3415
  o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3327
3416
  end)
3328
3417
 
3418
+ api.add_operation(:delete_resource_policy, Seahorse::Model::Operation.new.tap do |o|
3419
+ o.name = "DeleteResourcePolicy"
3420
+ o.http_method = "DELETE"
3421
+ o.http_request_uri = "/resourcepolicy/{resourceArn}"
3422
+ o.input = Shapes::ShapeRef.new(shape: DeleteResourcePolicyRequest)
3423
+ o.output = Shapes::ShapeRef.new(shape: DeleteResourcePolicyResponse)
3424
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3425
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3426
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3427
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3428
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3429
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3430
+ end)
3431
+
3329
3432
  api.add_operation(:disassociate_agent_collaborator, Seahorse::Model::Operation.new.tap do |o|
3330
3433
  o.name = "DisassociateAgentCollaborator"
3331
3434
  o.http_method = "DELETE"
@@ -3537,6 +3640,19 @@ module Aws::BedrockAgent
3537
3640
  o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3538
3641
  end)
3539
3642
 
3643
+ api.add_operation(:get_resource_policy, Seahorse::Model::Operation.new.tap do |o|
3644
+ o.name = "GetResourcePolicy"
3645
+ o.http_method = "GET"
3646
+ o.http_request_uri = "/resourcepolicy/{resourceArn}"
3647
+ o.input = Shapes::ShapeRef.new(shape: GetResourcePolicyRequest)
3648
+ o.output = Shapes::ShapeRef.new(shape: GetResourcePolicyResponse)
3649
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3650
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3651
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3652
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3653
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3654
+ end)
3655
+
3540
3656
  api.add_operation(:ingest_knowledge_base_documents, Seahorse::Model::Operation.new.tap do |o|
3541
3657
  o.name = "IngestKnowledgeBaseDocuments"
3542
3658
  o.http_method = "PUT"
@@ -3858,6 +3974,20 @@ module Aws::BedrockAgent
3858
3974
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
3859
3975
  end)
3860
3976
 
3977
+ api.add_operation(:put_resource_policy, Seahorse::Model::Operation.new.tap do |o|
3978
+ o.name = "PutResourcePolicy"
3979
+ o.http_method = "PUT"
3980
+ o.http_request_uri = "/resourcepolicy/{resourceArn}"
3981
+ o.input = Shapes::ShapeRef.new(shape: PutResourcePolicyRequest)
3982
+ o.output = Shapes::ShapeRef.new(shape: PutResourcePolicyResponse)
3983
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3984
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3985
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3986
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3987
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3988
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
3989
+ end)
3990
+
3861
3991
  api.add_operation(:start_ingestion_job, Seahorse::Model::Operation.new.tap do |o|
3862
3992
  o.name = "StartIngestionJob"
3863
3993
  o.http_method = "PUT"