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.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +322 -41
- data/lib/aws-sdk-bedrockagent/client_api.rb +130 -0
- data/lib/aws-sdk-bedrockagent/types.rb +397 -28
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +47 -3
- data/sig/params.rbs +36 -3
- data/sig/types.rbs +100 -9
- metadata +3 -3
|
@@ -1217,6 +1217,20 @@ module Aws::BedrockAgent
|
|
|
1217
1217
|
include Aws::Structure
|
|
1218
1218
|
end
|
|
1219
1219
|
|
|
1220
|
+
# Configuration for audio extraction.
|
|
1221
|
+
#
|
|
1222
|
+
# @!attribute [rw] audio_extraction_status
|
|
1223
|
+
# Whether audio extraction is enabled or disabled.
|
|
1224
|
+
# @return [String]
|
|
1225
|
+
#
|
|
1226
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/AudioExtractionConfiguration AWS API Documentation
|
|
1227
|
+
#
|
|
1228
|
+
class AudioExtractionConfiguration < Struct.new(
|
|
1229
|
+
:audio_extraction_status)
|
|
1230
|
+
SENSITIVE = []
|
|
1231
|
+
include Aws::Structure
|
|
1232
|
+
end
|
|
1233
|
+
|
|
1220
1234
|
# Configuration for segmenting audio content during multimodal knowledge
|
|
1221
1235
|
# base ingestion. Determines how audio files are divided into chunks for
|
|
1222
1236
|
# processing.
|
|
@@ -1595,7 +1609,7 @@ module Aws::BedrockAgent
|
|
|
1595
1609
|
end
|
|
1596
1610
|
|
|
1597
1611
|
# The configuration information to connect to Confluence as your data
|
|
1598
|
-
# source.
|
|
1612
|
+
# source for self-managed knowledge bases.
|
|
1599
1613
|
#
|
|
1600
1614
|
# @!attribute [rw] source_configuration
|
|
1601
1615
|
# The endpoint information to connect to your Confluence data source.
|
|
@@ -2140,6 +2154,11 @@ module Aws::BedrockAgent
|
|
|
2140
2154
|
# into vector embeddings upon deletion of a knowledge base or data
|
|
2141
2155
|
# source resource. Note that the **vector store itself is not
|
|
2142
2156
|
# deleted** if you delete a knowledge base or data source resource.
|
|
2157
|
+
#
|
|
2158
|
+
# <note markdown="1"> For managed knowledge bases, the only supported option is `DELETE`,
|
|
2159
|
+
# which is also the default.
|
|
2160
|
+
#
|
|
2161
|
+
# </note>
|
|
2143
2162
|
# @return [String]
|
|
2144
2163
|
#
|
|
2145
2164
|
# @!attribute [rw] server_side_encryption_configuration
|
|
@@ -3056,55 +3075,87 @@ module Aws::BedrockAgent
|
|
|
3056
3075
|
# The type of data source.
|
|
3057
3076
|
# @return [String]
|
|
3058
3077
|
#
|
|
3078
|
+
# @!attribute [rw] managed_knowledge_base_connector_configuration
|
|
3079
|
+
# Contains the configuration for a data source that connects a managed
|
|
3080
|
+
# knowledge base to a supported data source connector. Specify this
|
|
3081
|
+
# object when the data source type is
|
|
3082
|
+
# `MANAGED_KNOWLEDGE_BASE_CONNECTOR`.
|
|
3083
|
+
# @return [Types::ManagedKnowledgeBaseConnectorConfiguration]
|
|
3084
|
+
#
|
|
3059
3085
|
# @!attribute [rw] s3_configuration
|
|
3060
3086
|
# The configuration information to connect to Amazon S3 as your data
|
|
3061
|
-
# source.
|
|
3087
|
+
# source for self-managed knowledge bases. To configure this data
|
|
3088
|
+
# source for managed knowledge bases, use
|
|
3089
|
+
# [managedKnowledgeBaseConnectorConfiguration][1].
|
|
3090
|
+
#
|
|
3091
|
+
#
|
|
3092
|
+
#
|
|
3093
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ManagedKnowledgeBaseConnectorConfiguration.html
|
|
3062
3094
|
# @return [Types::S3DataSourceConfiguration]
|
|
3063
3095
|
#
|
|
3064
3096
|
# @!attribute [rw] web_configuration
|
|
3065
3097
|
# The configuration of web URLs to crawl for your data source. You
|
|
3066
3098
|
# should be authorized to crawl the URLs.
|
|
3067
3099
|
#
|
|
3068
|
-
# <note markdown="1">
|
|
3069
|
-
#
|
|
3100
|
+
# <note markdown="1"> To configure this data source for managed knowledge bases, use
|
|
3101
|
+
# [managedKnowledgeBaseConnectorConfiguration][1]. Web crawler data
|
|
3102
|
+
# source connector for self-managed knowledge bases is in preview
|
|
3103
|
+
# release and is subject to change.
|
|
3070
3104
|
#
|
|
3071
3105
|
# </note>
|
|
3106
|
+
#
|
|
3107
|
+
#
|
|
3108
|
+
#
|
|
3109
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ManagedKnowledgeBaseConnectorConfiguration.html
|
|
3072
3110
|
# @return [Types::WebDataSourceConfiguration]
|
|
3073
3111
|
#
|
|
3074
3112
|
# @!attribute [rw] confluence_configuration
|
|
3075
3113
|
# The configuration information to connect to Confluence as your data
|
|
3076
|
-
# source.
|
|
3114
|
+
# source for self-managed knowledge bases.
|
|
3077
3115
|
#
|
|
3078
|
-
# <note markdown="1">
|
|
3079
|
-
#
|
|
3116
|
+
# <note markdown="1"> To configure this data source for managed knowledge bases, use
|
|
3117
|
+
# [managedKnowledgeBaseConnectorConfiguration][1]. Confluence data
|
|
3118
|
+
# source connector for self-managed knowledge bases is in preview
|
|
3119
|
+
# release and is subject to change.
|
|
3080
3120
|
#
|
|
3081
3121
|
# </note>
|
|
3122
|
+
#
|
|
3123
|
+
#
|
|
3124
|
+
#
|
|
3125
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ManagedKnowledgeBaseConnectorConfiguration.html
|
|
3082
3126
|
# @return [Types::ConfluenceDataSourceConfiguration]
|
|
3083
3127
|
#
|
|
3084
3128
|
# @!attribute [rw] salesforce_configuration
|
|
3085
3129
|
# The configuration information to connect to Salesforce as your data
|
|
3086
3130
|
# source.
|
|
3087
3131
|
#
|
|
3088
|
-
# <note markdown="1"> Salesforce data source connector
|
|
3089
|
-
# subject to change.
|
|
3132
|
+
# <note markdown="1"> Salesforce data source connector for self-managed knowledge bases is
|
|
3133
|
+
# in preview release and is subject to change.
|
|
3090
3134
|
#
|
|
3091
3135
|
# </note>
|
|
3092
3136
|
# @return [Types::SalesforceDataSourceConfiguration]
|
|
3093
3137
|
#
|
|
3094
3138
|
# @!attribute [rw] share_point_configuration
|
|
3095
3139
|
# The configuration information to connect to SharePoint as your data
|
|
3096
|
-
# source.
|
|
3140
|
+
# source for self-managed knowledge bases.
|
|
3097
3141
|
#
|
|
3098
|
-
# <note markdown="1">
|
|
3099
|
-
#
|
|
3142
|
+
# <note markdown="1"> To configure this data source for managed knowledge bases, use
|
|
3143
|
+
# [managedKnowledgeBaseConnectorConfiguration][1]. SharePoint data
|
|
3144
|
+
# source connector for self-managed knowledge bases is in preview
|
|
3145
|
+
# release and is subject to change.
|
|
3100
3146
|
#
|
|
3101
3147
|
# </note>
|
|
3148
|
+
#
|
|
3149
|
+
#
|
|
3150
|
+
#
|
|
3151
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ManagedKnowledgeBaseConnectorConfiguration.html
|
|
3102
3152
|
# @return [Types::SharePointDataSourceConfiguration]
|
|
3103
3153
|
#
|
|
3104
3154
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DataSourceConfiguration AWS API Documentation
|
|
3105
3155
|
#
|
|
3106
3156
|
class DataSourceConfiguration < Struct.new(
|
|
3107
3157
|
:type,
|
|
3158
|
+
:managed_knowledge_base_connector_configuration,
|
|
3108
3159
|
:s3_configuration,
|
|
3109
3160
|
:web_configuration,
|
|
3110
3161
|
:confluence_configuration,
|
|
@@ -3574,6 +3625,66 @@ module Aws::BedrockAgent
|
|
|
3574
3625
|
include Aws::Structure
|
|
3575
3626
|
end
|
|
3576
3627
|
|
|
3628
|
+
# @!attribute [rw] resource_arn
|
|
3629
|
+
# The Amazon Resource Name (ARN) of the knowledge base to remove the
|
|
3630
|
+
# resource policy from.
|
|
3631
|
+
# @return [String]
|
|
3632
|
+
#
|
|
3633
|
+
# @!attribute [rw] expected_revision_id
|
|
3634
|
+
# The expected revision identifier of the resource policy. Use this to
|
|
3635
|
+
# prevent conflicts when multiple users update the same policy
|
|
3636
|
+
# concurrently.
|
|
3637
|
+
# @return [String]
|
|
3638
|
+
#
|
|
3639
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DeleteResourcePolicyRequest AWS API Documentation
|
|
3640
|
+
#
|
|
3641
|
+
class DeleteResourcePolicyRequest < Struct.new(
|
|
3642
|
+
:resource_arn,
|
|
3643
|
+
:expected_revision_id)
|
|
3644
|
+
SENSITIVE = []
|
|
3645
|
+
include Aws::Structure
|
|
3646
|
+
end
|
|
3647
|
+
|
|
3648
|
+
# @!attribute [rw] resource_arn
|
|
3649
|
+
# The ARN of the knowledge base that the resource policy was removed
|
|
3650
|
+
# from.
|
|
3651
|
+
# @return [String]
|
|
3652
|
+
#
|
|
3653
|
+
# @!attribute [rw] revision_id
|
|
3654
|
+
# The revision identifier after the resource policy was deleted.
|
|
3655
|
+
# @return [String]
|
|
3656
|
+
#
|
|
3657
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DeleteResourcePolicyResponse AWS API Documentation
|
|
3658
|
+
#
|
|
3659
|
+
class DeleteResourcePolicyResponse < Struct.new(
|
|
3660
|
+
:resource_arn,
|
|
3661
|
+
:revision_id)
|
|
3662
|
+
SENSITIVE = []
|
|
3663
|
+
include Aws::Structure
|
|
3664
|
+
end
|
|
3665
|
+
|
|
3666
|
+
# Configuration for deletion protection.
|
|
3667
|
+
#
|
|
3668
|
+
# @!attribute [rw] deletion_protection_status
|
|
3669
|
+
# Enable or disable deletion protection for the connector.
|
|
3670
|
+
# @return [String]
|
|
3671
|
+
#
|
|
3672
|
+
# @!attribute [rw] deletion_protection_threshold
|
|
3673
|
+
# The threshold is the maximum percentage of documents that a sync job
|
|
3674
|
+
# can delete from your index. If a sync would delete more than this
|
|
3675
|
+
# percentage, the sync skips its delete phase, leaving your indexed
|
|
3676
|
+
# documents in place. Not supported for the Custom connector.
|
|
3677
|
+
# @return [Integer]
|
|
3678
|
+
#
|
|
3679
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DeletionProtectionConfiguration AWS API Documentation
|
|
3680
|
+
#
|
|
3681
|
+
class DeletionProtectionConfiguration < Struct.new(
|
|
3682
|
+
:deletion_protection_status,
|
|
3683
|
+
:deletion_protection_threshold)
|
|
3684
|
+
SENSITIVE = []
|
|
3685
|
+
include Aws::Structure
|
|
3686
|
+
end
|
|
3687
|
+
|
|
3577
3688
|
# @!attribute [rw] agent_id
|
|
3578
3689
|
# An agent ID.
|
|
3579
3690
|
# @return [String]
|
|
@@ -3628,6 +3739,30 @@ module Aws::BedrockAgent
|
|
|
3628
3739
|
#
|
|
3629
3740
|
class DisassociateAgentKnowledgeBaseResponse < Aws::EmptyStructure; end
|
|
3630
3741
|
|
|
3742
|
+
# An access control entry specifying a principal and their access level.
|
|
3743
|
+
#
|
|
3744
|
+
# @!attribute [rw] name
|
|
3745
|
+
# The user identifier.
|
|
3746
|
+
# @return [String]
|
|
3747
|
+
#
|
|
3748
|
+
# @!attribute [rw] type
|
|
3749
|
+
# The type of principal.
|
|
3750
|
+
# @return [String]
|
|
3751
|
+
#
|
|
3752
|
+
# @!attribute [rw] access
|
|
3753
|
+
# Whether to allow or deny access.
|
|
3754
|
+
# @return [String]
|
|
3755
|
+
#
|
|
3756
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DocumentAccessControlEntry AWS API Documentation
|
|
3757
|
+
#
|
|
3758
|
+
class DocumentAccessControlEntry < Struct.new(
|
|
3759
|
+
:name,
|
|
3760
|
+
:type,
|
|
3761
|
+
:access)
|
|
3762
|
+
SENSITIVE = []
|
|
3763
|
+
include Aws::Structure
|
|
3764
|
+
end
|
|
3765
|
+
|
|
3631
3766
|
# Contains information about the content of a document. Choose a
|
|
3632
3767
|
# `dataSourceType` and include the field that corresponds to it.
|
|
3633
3768
|
#
|
|
@@ -3702,13 +3837,19 @@ module Aws::BedrockAgent
|
|
|
3702
3837
|
# with the content to ingest.
|
|
3703
3838
|
# @return [Types::CustomS3Location]
|
|
3704
3839
|
#
|
|
3840
|
+
# @!attribute [rw] access_control_list
|
|
3841
|
+
# Access control list for the document. Used when metadata type is
|
|
3842
|
+
# IN\_LINE\_ATTRIBUTE.
|
|
3843
|
+
# @return [Array<Types::DocumentAccessControlEntry>]
|
|
3844
|
+
#
|
|
3705
3845
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DocumentMetadata AWS API Documentation
|
|
3706
3846
|
#
|
|
3707
3847
|
class DocumentMetadata < Struct.new(
|
|
3708
3848
|
:type,
|
|
3709
3849
|
:inline_attributes,
|
|
3710
|
-
:s3_location
|
|
3711
|
-
|
|
3850
|
+
:s3_location,
|
|
3851
|
+
:access_control_list)
|
|
3852
|
+
SENSITIVE = [:access_control_list]
|
|
3712
3853
|
include Aws::Structure
|
|
3713
3854
|
end
|
|
3714
3855
|
|
|
@@ -5463,6 +5604,43 @@ module Aws::BedrockAgent
|
|
|
5463
5604
|
include Aws::Structure
|
|
5464
5605
|
end
|
|
5465
5606
|
|
|
5607
|
+
# @!attribute [rw] resource_arn
|
|
5608
|
+
# The Amazon Resource Name (ARN) of the knowledge base to retrieve the
|
|
5609
|
+
# resource policy for.
|
|
5610
|
+
# @return [String]
|
|
5611
|
+
#
|
|
5612
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetResourcePolicyRequest AWS API Documentation
|
|
5613
|
+
#
|
|
5614
|
+
class GetResourcePolicyRequest < Struct.new(
|
|
5615
|
+
:resource_arn)
|
|
5616
|
+
SENSITIVE = []
|
|
5617
|
+
include Aws::Structure
|
|
5618
|
+
end
|
|
5619
|
+
|
|
5620
|
+
# @!attribute [rw] resource_arn
|
|
5621
|
+
# The ARN of the knowledge base that the resource policy is associated
|
|
5622
|
+
# with.
|
|
5623
|
+
# @return [String]
|
|
5624
|
+
#
|
|
5625
|
+
# @!attribute [rw] policy
|
|
5626
|
+
# The JSON-formatted resource policy associated with the knowledge
|
|
5627
|
+
# base.
|
|
5628
|
+
# @return [String]
|
|
5629
|
+
#
|
|
5630
|
+
# @!attribute [rw] revision_id
|
|
5631
|
+
# The revision identifier of the resource policy.
|
|
5632
|
+
# @return [String]
|
|
5633
|
+
#
|
|
5634
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetResourcePolicyResponse AWS API Documentation
|
|
5635
|
+
#
|
|
5636
|
+
class GetResourcePolicyResponse < Struct.new(
|
|
5637
|
+
:resource_arn,
|
|
5638
|
+
:policy,
|
|
5639
|
+
:revision_id)
|
|
5640
|
+
SENSITIVE = []
|
|
5641
|
+
include Aws::Structure
|
|
5642
|
+
end
|
|
5643
|
+
|
|
5466
5644
|
# Details about a guardrail associated with a resource.
|
|
5467
5645
|
#
|
|
5468
5646
|
# @!attribute [rw] guardrail_identifier
|
|
@@ -5524,6 +5702,20 @@ module Aws::BedrockAgent
|
|
|
5524
5702
|
include Aws::Structure
|
|
5525
5703
|
end
|
|
5526
5704
|
|
|
5705
|
+
# Configuration for image extraction.
|
|
5706
|
+
#
|
|
5707
|
+
# @!attribute [rw] image_extraction_status
|
|
5708
|
+
# Whether image extraction is enabled or disabled.
|
|
5709
|
+
# @return [String]
|
|
5710
|
+
#
|
|
5711
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ImageExtractionConfiguration AWS API Documentation
|
|
5712
|
+
#
|
|
5713
|
+
class ImageExtractionConfiguration < Struct.new(
|
|
5714
|
+
:image_extraction_status)
|
|
5715
|
+
SENSITIVE = []
|
|
5716
|
+
include Aws::Structure
|
|
5717
|
+
end
|
|
5718
|
+
|
|
5527
5719
|
# Details about incompatible data types in a connection between nodes.
|
|
5528
5720
|
#
|
|
5529
5721
|
# @!attribute [rw] connection
|
|
@@ -5799,6 +5991,10 @@ module Aws::BedrockAgent
|
|
|
5799
5991
|
# The number of source documents that failed to be ingested.
|
|
5800
5992
|
# @return [Integer]
|
|
5801
5993
|
#
|
|
5994
|
+
# @!attribute [rw] number_of_documents_skipped
|
|
5995
|
+
# The number of source documents that were skipped during ingestion.
|
|
5996
|
+
# @return [Integer]
|
|
5997
|
+
#
|
|
5802
5998
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/IngestionJobStatistics AWS API Documentation
|
|
5803
5999
|
#
|
|
5804
6000
|
class IngestionJobStatistics < Struct.new(
|
|
@@ -5808,7 +6004,8 @@ module Aws::BedrockAgent
|
|
|
5808
6004
|
:number_of_modified_documents_indexed,
|
|
5809
6005
|
:number_of_metadata_documents_modified,
|
|
5810
6006
|
:number_of_documents_deleted,
|
|
5811
|
-
:number_of_documents_failed
|
|
6007
|
+
:number_of_documents_failed,
|
|
6008
|
+
:number_of_documents_skipped)
|
|
5812
6009
|
SENSITIVE = []
|
|
5813
6010
|
include Aws::Structure
|
|
5814
6011
|
end
|
|
@@ -6098,7 +6295,7 @@ module Aws::BedrockAgent
|
|
|
6098
6295
|
#
|
|
6099
6296
|
# @!attribute [rw] type
|
|
6100
6297
|
# The type of data that the data source is converted into for the
|
|
6101
|
-
# knowledge base.
|
|
6298
|
+
# knowledge base. Choose `MANAGED` to create a managed knowledge base.
|
|
6102
6299
|
# @return [String]
|
|
6103
6300
|
#
|
|
6104
6301
|
# @!attribute [rw] vector_knowledge_base_configuration
|
|
@@ -6106,6 +6303,10 @@ module Aws::BedrockAgent
|
|
|
6106
6303
|
# source into vector embeddings.
|
|
6107
6304
|
# @return [Types::VectorKnowledgeBaseConfiguration]
|
|
6108
6305
|
#
|
|
6306
|
+
# @!attribute [rw] managed_knowledge_base_configuration
|
|
6307
|
+
# Configurations for a managed knowledge base.
|
|
6308
|
+
# @return [Types::ManagedKnowledgeBaseConfiguration]
|
|
6309
|
+
#
|
|
6109
6310
|
# @!attribute [rw] kendra_knowledge_base_configuration
|
|
6110
6311
|
# Settings for an Amazon Kendra knowledge base.
|
|
6111
6312
|
# @return [Types::KendraKnowledgeBaseConfiguration]
|
|
@@ -6120,6 +6321,7 @@ module Aws::BedrockAgent
|
|
|
6120
6321
|
class KnowledgeBaseConfiguration < Struct.new(
|
|
6121
6322
|
:type,
|
|
6122
6323
|
:vector_knowledge_base_configuration,
|
|
6324
|
+
:managed_knowledge_base_configuration,
|
|
6123
6325
|
:kendra_knowledge_base_configuration,
|
|
6124
6326
|
:sql_knowledge_base_configuration)
|
|
6125
6327
|
SENSITIVE = []
|
|
@@ -7294,6 +7496,96 @@ module Aws::BedrockAgent
|
|
|
7294
7496
|
include Aws::Structure
|
|
7295
7497
|
end
|
|
7296
7498
|
|
|
7499
|
+
# Configurations for a managed knowledge base.
|
|
7500
|
+
#
|
|
7501
|
+
# @!attribute [rw] embedding_model_type
|
|
7502
|
+
# Choose `CUSTOM` to provide your own Bedrock embedding model ARN.
|
|
7503
|
+
# Choose `MANAGED` to use a service-managed embedding model. For more
|
|
7504
|
+
# information, see [Embedding model options][1].
|
|
7505
|
+
#
|
|
7506
|
+
#
|
|
7507
|
+
#
|
|
7508
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-managed-create.html#kb-managed-embedding-models
|
|
7509
|
+
# @return [String]
|
|
7510
|
+
#
|
|
7511
|
+
# @!attribute [rw] embedding_model_arn
|
|
7512
|
+
# The ARN for the embeddings model.
|
|
7513
|
+
# @return [String]
|
|
7514
|
+
#
|
|
7515
|
+
# @!attribute [rw] embedding_model_configuration
|
|
7516
|
+
# The configuration details for the embeddings model.
|
|
7517
|
+
# @return [Types::EmbeddingModelConfiguration]
|
|
7518
|
+
#
|
|
7519
|
+
# @!attribute [rw] server_side_encryption_configuration
|
|
7520
|
+
# Contains the configuration for server-side encryption for your
|
|
7521
|
+
# managed knowledge base.
|
|
7522
|
+
# @return [Types::ServerSideEncryptionConfiguration]
|
|
7523
|
+
#
|
|
7524
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ManagedKnowledgeBaseConfiguration AWS API Documentation
|
|
7525
|
+
#
|
|
7526
|
+
class ManagedKnowledgeBaseConfiguration < Struct.new(
|
|
7527
|
+
:embedding_model_type,
|
|
7528
|
+
:embedding_model_arn,
|
|
7529
|
+
:embedding_model_configuration,
|
|
7530
|
+
:server_side_encryption_configuration)
|
|
7531
|
+
SENSITIVE = []
|
|
7532
|
+
include Aws::Structure
|
|
7533
|
+
end
|
|
7534
|
+
|
|
7535
|
+
# Configuration for managed knowledge base connector data sources.
|
|
7536
|
+
#
|
|
7537
|
+
# @!attribute [rw] deletion_protection_configuration
|
|
7538
|
+
# A safeguard against accidental bulk deletion of indexed content.
|
|
7539
|
+
# @return [Types::DeletionProtectionConfiguration]
|
|
7540
|
+
#
|
|
7541
|
+
# @!attribute [rw] media_extraction_configuration
|
|
7542
|
+
# Configuration for extracting media (images, audio, video) from data
|
|
7543
|
+
# source files.
|
|
7544
|
+
# @return [Types::MediaExtractionConfiguration]
|
|
7545
|
+
#
|
|
7546
|
+
# @!attribute [rw] connector_parameters
|
|
7547
|
+
# Connector-specific parameters. For more information, see [Connect a
|
|
7548
|
+
# data source][1].
|
|
7549
|
+
#
|
|
7550
|
+
#
|
|
7551
|
+
#
|
|
7552
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-managed-connect-ds.html
|
|
7553
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
|
7554
|
+
#
|
|
7555
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ManagedKnowledgeBaseConnectorConfiguration AWS API Documentation
|
|
7556
|
+
#
|
|
7557
|
+
class ManagedKnowledgeBaseConnectorConfiguration < Struct.new(
|
|
7558
|
+
:deletion_protection_configuration,
|
|
7559
|
+
:media_extraction_configuration,
|
|
7560
|
+
:connector_parameters)
|
|
7561
|
+
SENSITIVE = []
|
|
7562
|
+
include Aws::Structure
|
|
7563
|
+
end
|
|
7564
|
+
|
|
7565
|
+
# Configuration for media extraction settings.
|
|
7566
|
+
#
|
|
7567
|
+
# @!attribute [rw] image_extraction_configuration
|
|
7568
|
+
# Configuration for image extraction.
|
|
7569
|
+
# @return [Types::ImageExtractionConfiguration]
|
|
7570
|
+
#
|
|
7571
|
+
# @!attribute [rw] audio_extraction_configuration
|
|
7572
|
+
# Configuration for audio extraction.
|
|
7573
|
+
# @return [Types::AudioExtractionConfiguration]
|
|
7574
|
+
#
|
|
7575
|
+
# @!attribute [rw] video_extraction_configuration
|
|
7576
|
+
# Configuration for video extraction.
|
|
7577
|
+
# @return [Types::VideoExtractionConfiguration]
|
|
7578
|
+
#
|
|
7579
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/MediaExtractionConfiguration AWS API Documentation
|
|
7580
|
+
#
|
|
7581
|
+
class MediaExtractionConfiguration < Struct.new(
|
|
7582
|
+
:image_extraction_configuration,
|
|
7583
|
+
:audio_extraction_configuration,
|
|
7584
|
+
:video_extraction_configuration)
|
|
7585
|
+
SENSITIVE = []
|
|
7586
|
+
include Aws::Structure
|
|
7587
|
+
end
|
|
7588
|
+
|
|
7297
7589
|
# Details of the memory configuration.
|
|
7298
7590
|
#
|
|
7299
7591
|
# @!attribute [rw] enabled_memory_types
|
|
@@ -8008,7 +8300,13 @@ module Aws::BedrockAgent
|
|
|
8008
8300
|
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-advanced-parsing.html
|
|
8009
8301
|
#
|
|
8010
8302
|
# @!attribute [rw] parsing_strategy
|
|
8011
|
-
# The parsing strategy for the data source.
|
|
8303
|
+
# The parsing strategy for the data source. Only `SMART_PARSING` can
|
|
8304
|
+
# be selected for managed knowledge bases. For more information, see
|
|
8305
|
+
# [Customize ingestion for managed knowledge bases][1].
|
|
8306
|
+
#
|
|
8307
|
+
#
|
|
8308
|
+
#
|
|
8309
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/kb-managed-customize-ingestion.html
|
|
8012
8310
|
# @return [String]
|
|
8013
8311
|
#
|
|
8014
8312
|
# @!attribute [rw] bedrock_foundation_model_configuration
|
|
@@ -8802,6 +9100,53 @@ module Aws::BedrockAgent
|
|
|
8802
9100
|
include Aws::Structure
|
|
8803
9101
|
end
|
|
8804
9102
|
|
|
9103
|
+
# @!attribute [rw] resource_arn
|
|
9104
|
+
# The Amazon Resource Name (ARN) of the knowledge base to attach the
|
|
9105
|
+
# resource policy to.
|
|
9106
|
+
# @return [String]
|
|
9107
|
+
#
|
|
9108
|
+
# @!attribute [rw] policy
|
|
9109
|
+
# The JSON-formatted resource policy to associate with the knowledge
|
|
9110
|
+
# base.
|
|
9111
|
+
# @return [String]
|
|
9112
|
+
#
|
|
9113
|
+
# @!attribute [rw] expected_revision_id
|
|
9114
|
+
# The expected revision identifier of the resource policy. Use this to
|
|
9115
|
+
# prevent conflicts when multiple users update the same policy
|
|
9116
|
+
# concurrently. Specify the `revisionId` from the most recent
|
|
9117
|
+
# `GetResourcePolicy` or `PutResourcePolicy` response.
|
|
9118
|
+
# @return [String]
|
|
9119
|
+
#
|
|
9120
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/PutResourcePolicyRequest AWS API Documentation
|
|
9121
|
+
#
|
|
9122
|
+
class PutResourcePolicyRequest < Struct.new(
|
|
9123
|
+
:resource_arn,
|
|
9124
|
+
:policy,
|
|
9125
|
+
:expected_revision_id)
|
|
9126
|
+
SENSITIVE = []
|
|
9127
|
+
include Aws::Structure
|
|
9128
|
+
end
|
|
9129
|
+
|
|
9130
|
+
# @!attribute [rw] resource_arn
|
|
9131
|
+
# The ARN of the knowledge base that the resource policy was attached
|
|
9132
|
+
# to.
|
|
9133
|
+
# @return [String]
|
|
9134
|
+
#
|
|
9135
|
+
# @!attribute [rw] revision_id
|
|
9136
|
+
# The revision identifier of the resource policy. Use this value in
|
|
9137
|
+
# the `expectedRevisionId` field of a subsequent `PutResourcePolicy`
|
|
9138
|
+
# or `DeleteResourcePolicy` request.
|
|
9139
|
+
# @return [String]
|
|
9140
|
+
#
|
|
9141
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/PutResourcePolicyResponse AWS API Documentation
|
|
9142
|
+
#
|
|
9143
|
+
class PutResourcePolicyResponse < Struct.new(
|
|
9144
|
+
:resource_arn,
|
|
9145
|
+
:revision_id)
|
|
9146
|
+
SENSITIVE = []
|
|
9147
|
+
include Aws::Structure
|
|
9148
|
+
end
|
|
9149
|
+
|
|
8805
9150
|
# Contains information about a column in the current table for the query
|
|
8806
9151
|
# engine to consider.
|
|
8807
9152
|
#
|
|
@@ -9394,7 +9739,13 @@ module Aws::BedrockAgent
|
|
|
9394
9739
|
end
|
|
9395
9740
|
|
|
9396
9741
|
# The configuration information to connect to Amazon S3 as your data
|
|
9397
|
-
# source.
|
|
9742
|
+
# source for self-managed knowledge bases. To configure this data source
|
|
9743
|
+
# for managed knowledge bases, use
|
|
9744
|
+
# [managedKnowledgeBaseConnectorConfiguration][1].
|
|
9745
|
+
#
|
|
9746
|
+
#
|
|
9747
|
+
#
|
|
9748
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent_ManagedKnowledgeBaseConnectorConfiguration.html
|
|
9398
9749
|
#
|
|
9399
9750
|
# @!attribute [rw] bucket_arn
|
|
9400
9751
|
# The Amazon Resource Name (ARN) of the S3 bucket that contains your
|
|
@@ -9616,7 +9967,8 @@ module Aws::BedrockAgent
|
|
|
9616
9967
|
include Aws::Structure
|
|
9617
9968
|
end
|
|
9618
9969
|
|
|
9619
|
-
# Contains the configuration for server-side encryption
|
|
9970
|
+
# Contains the configuration for server-side encryption for your managed
|
|
9971
|
+
# knowledge base.
|
|
9620
9972
|
#
|
|
9621
9973
|
# @!attribute [rw] kms_key_arn
|
|
9622
9974
|
# The Amazon Resource Name (ARN) of the KMS key used to encrypt the
|
|
@@ -9678,7 +10030,7 @@ module Aws::BedrockAgent
|
|
|
9678
10030
|
end
|
|
9679
10031
|
|
|
9680
10032
|
# The configuration information to connect to SharePoint as your data
|
|
9681
|
-
# source.
|
|
10033
|
+
# source for self-managed knowledge bases.
|
|
9682
10034
|
#
|
|
9683
10035
|
# @!attribute [rw] source_configuration
|
|
9684
10036
|
# The endpoint information to connect to your SharePoint data source.
|
|
@@ -10017,13 +10369,15 @@ module Aws::BedrockAgent
|
|
|
10017
10369
|
class Unknown < StorageFlowNodeServiceConfiguration; end
|
|
10018
10370
|
end
|
|
10019
10371
|
|
|
10020
|
-
# Specifies configurations for the storage location of
|
|
10021
|
-
#
|
|
10022
|
-
# can be retrieved and returned to the
|
|
10372
|
+
# Specifies configurations for the storage location of multimedia
|
|
10373
|
+
# content (images, audio, and video) extracted from multimodal documents
|
|
10374
|
+
# in your data source. This content can be retrieved and returned to the
|
|
10375
|
+
# end user with timestamp references for audio and video segments.
|
|
10023
10376
|
#
|
|
10024
10377
|
# @!attribute [rw] storage_locations
|
|
10025
|
-
# A list of objects specifying storage locations for
|
|
10026
|
-
#
|
|
10378
|
+
# A list of objects specifying storage locations for multimedia
|
|
10379
|
+
# content (images, audio, and video) extracted from multimodal
|
|
10380
|
+
# documents in your data source.
|
|
10027
10381
|
# @return [Array<Types::SupplementalDataStorageLocation>]
|
|
10028
10382
|
#
|
|
10029
10383
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/SupplementalDataStorageConfiguration AWS API Documentation
|
|
@@ -10034,8 +10388,9 @@ module Aws::BedrockAgent
|
|
|
10034
10388
|
include Aws::Structure
|
|
10035
10389
|
end
|
|
10036
10390
|
|
|
10037
|
-
# Contains information about a storage location for
|
|
10038
|
-
# from multimodal documents in your
|
|
10391
|
+
# Contains information about a storage location for multimedia content
|
|
10392
|
+
# (images, audio, and video) extracted from multimodal documents in your
|
|
10393
|
+
# data source.
|
|
10039
10394
|
#
|
|
10040
10395
|
# @!attribute [rw] type
|
|
10041
10396
|
# Specifies the storage service used for this location.
|
|
@@ -10043,7 +10398,7 @@ module Aws::BedrockAgent
|
|
|
10043
10398
|
#
|
|
10044
10399
|
# @!attribute [rw] s3_location
|
|
10045
10400
|
# Contains information about the Amazon S3 location for the extracted
|
|
10046
|
-
#
|
|
10401
|
+
# multimedia content.
|
|
10047
10402
|
# @return [Types::S3Location]
|
|
10048
10403
|
#
|
|
10049
10404
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/SupplementalDataStorageLocation AWS API Documentation
|
|
@@ -11678,6 +12033,20 @@ module Aws::BedrockAgent
|
|
|
11678
12033
|
include Aws::Structure
|
|
11679
12034
|
end
|
|
11680
12035
|
|
|
12036
|
+
# Configuration for video extraction.
|
|
12037
|
+
#
|
|
12038
|
+
# @!attribute [rw] video_extraction_status
|
|
12039
|
+
# Whether video extraction is enabled or disabled.
|
|
12040
|
+
# @return [String]
|
|
12041
|
+
#
|
|
12042
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/VideoExtractionConfiguration AWS API Documentation
|
|
12043
|
+
#
|
|
12044
|
+
class VideoExtractionConfiguration < Struct.new(
|
|
12045
|
+
:video_extraction_status)
|
|
12046
|
+
SENSITIVE = []
|
|
12047
|
+
include Aws::Structure
|
|
12048
|
+
end
|
|
12049
|
+
|
|
11681
12050
|
# Configuration for segmenting video content during multimodal knowledge
|
|
11682
12051
|
# base ingestion. Determines how video files are divided into chunks for
|
|
11683
12052
|
# processing.
|
data/lib/aws-sdk-bedrockagent.rb
CHANGED