aws-sdk-bedrockagentruntime 1.78.0 → 1.80.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-bedrockagentruntime/client.rb +176 -22
- data/lib/aws-sdk-bedrockagentruntime/client_api.rb +168 -0
- data/lib/aws-sdk-bedrockagentruntime/types.rb +479 -32
- data/lib/aws-sdk-bedrockagentruntime.rb +1 -1
- data/sig/client.rbs +58 -0
- data/sig/types.rbs +140 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e0ef58ad0562ed2fe5cd46dd81e34603a964b80307d443b0a2e15f0943110879
|
|
4
|
+
data.tar.gz: 18bf2741643afbc47ab81a29325a3c559ec209b5b891cdb250565fd6c8750446
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d0cdd24b354fb95aab94b7142b78a31023317b212088d7781fcc40e3264afa200edeafe4b4f510e0740ad10ee69493a33e41861124733c7c2295c5b296f404f8
|
|
7
|
+
data.tar.gz: 201283cf416a858b94dd887deed683a842cb239c0ceb691b09a85f7692ddb5f115240235ca21f8b94cc5a00e70b42f7ee34f5035cff762eff404de59242320cf
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.80.0 (2026-08-17)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - AgenticRetrieveStream API now supports Amazon Bedrock AgentCore Memory. Use the new memoryConfiguration parameter to continue a session from short-term memory and retrieve from long-term memory.
|
|
8
|
+
|
|
9
|
+
1.79.0 (2026-08-14)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adds CheckIngestedDocumentAcl and GetIngestedDocumentAcl APIs to Amazon Bedrock Knowledge Bases. Customers can verify user access to documents based on ingested ACLs and retrieve full ACL details including allow and deny entries, enabling validation of ACL ingestion without test retrievals.
|
|
13
|
+
|
|
4
14
|
1.78.0 (2026-07-09)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.80.0
|
|
@@ -503,6 +503,10 @@ module Aws::BedrockAgentRuntime
|
|
|
503
503
|
# @option params [Boolean] :generate_response
|
|
504
504
|
# Whether to generate a response based on the retrieved results.
|
|
505
505
|
#
|
|
506
|
+
# @option params [Types::AgenticRetrieveMemoryConfiguration] :memory_configuration
|
|
507
|
+
# The configuration for using an Amazon Bedrock AgentCore Memory
|
|
508
|
+
# resource with this retrieval.
|
|
509
|
+
#
|
|
506
510
|
# @option params [required, Array<Types::AgenticRetrieveMessage>] :messages
|
|
507
511
|
# The list of messages for the agentic retrieval conversation.
|
|
508
512
|
#
|
|
@@ -737,6 +741,37 @@ module Aws::BedrockAgentRuntime
|
|
|
737
741
|
# reranking_model_type: "CUSTOM", # accepts CUSTOM, MANAGED, NONE
|
|
738
742
|
# },
|
|
739
743
|
# generate_response: false,
|
|
744
|
+
# memory_configuration: {
|
|
745
|
+
# memory_id: "AgentCoreMemoryId", # required
|
|
746
|
+
# persistence_mode: "DEFAULT", # accepts DEFAULT, NONE
|
|
747
|
+
# retrieval_configs: [
|
|
748
|
+
# {
|
|
749
|
+
# metadata_filters: [
|
|
750
|
+
# {
|
|
751
|
+
# left: { # required
|
|
752
|
+
# metadata_key: "AgenticRetrieveMemoryMetadataKey",
|
|
753
|
+
# },
|
|
754
|
+
# operator: "EQUALS_TO", # required, accepts EQUALS_TO, EXISTS, NOT_EXISTS, BEFORE, AFTER, CONTAINS, GREATER_THAN, GREATER_THAN_OR_EQUALS, LESS_THAN, LESS_THAN_OR_EQUALS
|
|
755
|
+
# right: {
|
|
756
|
+
# metadata_value: {
|
|
757
|
+
# date_time_value: Time.now,
|
|
758
|
+
# number_value: 1.0,
|
|
759
|
+
# string_list_value: ["AgenticRetrieveMemoryMetadataStringListItem"],
|
|
760
|
+
# string_value: "AgenticRetrieveMemoryMetadataStringValue",
|
|
761
|
+
# },
|
|
762
|
+
# },
|
|
763
|
+
# },
|
|
764
|
+
# ],
|
|
765
|
+
# namespace: "MemoryNamespace",
|
|
766
|
+
# namespace_path: "MemoryNamespace",
|
|
767
|
+
# strategy_id: "MemoryStrategyId",
|
|
768
|
+
# },
|
|
769
|
+
# ],
|
|
770
|
+
# session_binding: {
|
|
771
|
+
# actor_id: "AgentCoreMemoryActorId", # required
|
|
772
|
+
# session_id: "AgentCoreMemorySessionId", # required
|
|
773
|
+
# },
|
|
774
|
+
# },
|
|
740
775
|
# messages: [ # required
|
|
741
776
|
# {
|
|
742
777
|
# content: { # required
|
|
@@ -892,6 +927,11 @@ module Aws::BedrockAgentRuntime
|
|
|
892
927
|
# event.attributes.actions #=> Array
|
|
893
928
|
# event.attributes.actions[0].full_document_expansion.document_id #=> String
|
|
894
929
|
# event.attributes.actions[0].full_document_expansion.source_retriever.identifier #=> String
|
|
930
|
+
# event.attributes.actions[0].memory_retrieve.input_query.text #=> String
|
|
931
|
+
# event.attributes.actions[0].memory_retrieve.memory_id #=> String
|
|
932
|
+
# event.attributes.actions[0].memory_retrieve.namespace #=> String
|
|
933
|
+
# event.attributes.actions[0].memory_retrieve.namespace_path #=> String
|
|
934
|
+
# event.attributes.actions[0].memory_retrieve.strategy_id #=> String
|
|
895
935
|
# event.attributes.actions[0].retrieve.input_query.text #=> String
|
|
896
936
|
# event.attributes.actions[0].retrieve.source_retrievers #=> Array
|
|
897
937
|
# event.attributes.actions[0].retrieve.source_retrievers[0].identifier #=> String
|
|
@@ -900,7 +940,7 @@ module Aws::BedrockAgentRuntime
|
|
|
900
940
|
# event.attributes.message #=> String
|
|
901
941
|
# event.attributes.retrieval_metadata #=> Array
|
|
902
942
|
# event.attributes.retrieval_metadata[0].identifier #=> String
|
|
903
|
-
# event.attributes.retrieval_metadata[0].retrieval_type #=> String, one of "BedrockKnowledgeBase"
|
|
943
|
+
# event.attributes.retrieval_metadata[0].retrieval_type #=> String, one of "BedrockKnowledgeBase", "BedrockAgentCoreMemory"
|
|
904
944
|
# event.attributes.retrieval_response #=> Array
|
|
905
945
|
# event.attributes.retrieval_response[0].content.byte_content #=> String
|
|
906
946
|
# event.attributes.retrieval_response[0].content.mime_type #=> String
|
|
@@ -908,7 +948,7 @@ module Aws::BedrockAgentRuntime
|
|
|
908
948
|
# event.attributes.retrieval_response[0].metadata #=> Hash
|
|
909
949
|
# event.attributes.retrieval_response[0].source_retriever.identifier #=> String
|
|
910
950
|
# event.attributes.status #=> String, one of "IN_PROGRESS", "SUCCEEDED", "FAILED"
|
|
911
|
-
# event.attributes.step #=> String, one of "Planning", "Retrieval", "SpeculativeRetrieval", "FullDocumentExpansion"
|
|
951
|
+
# event.attributes.step #=> String, one of "Planning", "Retrieval", "SpeculativeRetrieval", "FullDocumentExpansion", "SessionHistoryLoad"
|
|
912
952
|
# event.attributes.warnings #=> Array
|
|
913
953
|
# event.attributes.warnings[0].guardrail.action #=> String, one of "INTERVENED", "NONE"
|
|
914
954
|
# event.attributes.warnings[0].guardrail.id #=> String
|
|
@@ -948,6 +988,55 @@ module Aws::BedrockAgentRuntime
|
|
|
948
988
|
req.send_request(options, &block)
|
|
949
989
|
end
|
|
950
990
|
|
|
991
|
+
# Checks whether a user has access to a specific document by verifying
|
|
992
|
+
# against the ingested access control list (ACL) in a knowledge base.
|
|
993
|
+
# Use this operation to validate that document-level access control is
|
|
994
|
+
# working as expected after ingestion. To use this operation, you must
|
|
995
|
+
# have the `bedrock:CheckIngestedDocumentAcl` permission.
|
|
996
|
+
#
|
|
997
|
+
# @option params [required, String] :data_source_id
|
|
998
|
+
# The unique identifier of the data source that contains the document.
|
|
999
|
+
#
|
|
1000
|
+
# @option params [required, String] :document_id
|
|
1001
|
+
# The unique identifier of the document to check access for.
|
|
1002
|
+
#
|
|
1003
|
+
# @option params [required, String] :knowledge_base_id
|
|
1004
|
+
# The unique identifier of the knowledge base that contains the
|
|
1005
|
+
# document.
|
|
1006
|
+
#
|
|
1007
|
+
# @option params [required, Types::UserContext] :user_context
|
|
1008
|
+
# The context object containing identity information for access control
|
|
1009
|
+
# filtering, including user ID and optional group memberships used to
|
|
1010
|
+
# evaluate the document access control list (ACL).
|
|
1011
|
+
#
|
|
1012
|
+
# @return [Types::CheckIngestedDocumentAclResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1013
|
+
#
|
|
1014
|
+
# * {Types::CheckIngestedDocumentAclResponse#has_access #has_access} => Boolean
|
|
1015
|
+
#
|
|
1016
|
+
# @example Request syntax with placeholder values
|
|
1017
|
+
#
|
|
1018
|
+
# resp = client.check_ingested_document_acl({
|
|
1019
|
+
# data_source_id: "DataSourceId", # required
|
|
1020
|
+
# document_id: "DocumentId", # required
|
|
1021
|
+
# knowledge_base_id: "KnowledgeBaseIdentifier", # required
|
|
1022
|
+
# user_context: { # required
|
|
1023
|
+
# user_id: "String", # required
|
|
1024
|
+
# },
|
|
1025
|
+
# })
|
|
1026
|
+
#
|
|
1027
|
+
# @example Response structure
|
|
1028
|
+
#
|
|
1029
|
+
# resp.has_access #=> Boolean
|
|
1030
|
+
#
|
|
1031
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/CheckIngestedDocumentAcl AWS API Documentation
|
|
1032
|
+
#
|
|
1033
|
+
# @overload check_ingested_document_acl(params = {})
|
|
1034
|
+
# @param [Hash] params ({})
|
|
1035
|
+
def check_ingested_document_acl(params = {}, options = {})
|
|
1036
|
+
req = build_request(:check_ingested_document_acl, params)
|
|
1037
|
+
req.send_request(options)
|
|
1038
|
+
end
|
|
1039
|
+
|
|
951
1040
|
# Creates a new invocation within a session. An invocation groups the
|
|
952
1041
|
# related invocation steps that store the content from a conversation.
|
|
953
1042
|
# For more information about sessions, see [Store and retrieve
|
|
@@ -1345,10 +1434,9 @@ module Aws::BedrockAgentRuntime
|
|
|
1345
1434
|
# file. `EXTRACTED` returns parsed text as JSON. Defaults to `RAW`.
|
|
1346
1435
|
#
|
|
1347
1436
|
# @option params [Types::UserContext] :user_context
|
|
1348
|
-
# Contains information about the user making the request.
|
|
1349
|
-
#
|
|
1350
|
-
#
|
|
1351
|
-
# access.
|
|
1437
|
+
# Contains information about the user making the request. This is used
|
|
1438
|
+
# for access control filtering to ensure that results only include
|
|
1439
|
+
# documents the user is authorized to access.
|
|
1352
1440
|
#
|
|
1353
1441
|
# @return [Types::GetDocumentContentResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1354
1442
|
#
|
|
@@ -1493,6 +1581,65 @@ module Aws::BedrockAgentRuntime
|
|
|
1493
1581
|
req.send_request(options)
|
|
1494
1582
|
end
|
|
1495
1583
|
|
|
1584
|
+
# Retrieves the ingested access control list (ACL) for a specific
|
|
1585
|
+
# document in a knowledge base. Use this operation to inspect the allow
|
|
1586
|
+
# and deny lists that were ingested for a document to troubleshoot
|
|
1587
|
+
# access control issues. To use this operation, you must have the
|
|
1588
|
+
# `bedrock:GetIngestedDocumentAcl` permission.
|
|
1589
|
+
#
|
|
1590
|
+
# @option params [required, String] :data_source_id
|
|
1591
|
+
# The unique identifier of the data source that contains the document.
|
|
1592
|
+
#
|
|
1593
|
+
# @option params [required, String] :document_id
|
|
1594
|
+
# The unique identifier of the document to retrieve the ingested access
|
|
1595
|
+
# control list (ACL) for.
|
|
1596
|
+
#
|
|
1597
|
+
# @option params [required, String] :knowledge_base_id
|
|
1598
|
+
# The unique identifier of the knowledge base that contains the
|
|
1599
|
+
# document.
|
|
1600
|
+
#
|
|
1601
|
+
# @return [Types::GetIngestedDocumentAclResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
1602
|
+
#
|
|
1603
|
+
# * {Types::GetIngestedDocumentAclResponse#document_acl #document_acl} => Types::DocumentAcl
|
|
1604
|
+
#
|
|
1605
|
+
# @example Request syntax with placeholder values
|
|
1606
|
+
#
|
|
1607
|
+
# resp = client.get_ingested_document_acl({
|
|
1608
|
+
# data_source_id: "DataSourceId", # required
|
|
1609
|
+
# document_id: "DocumentId", # required
|
|
1610
|
+
# knowledge_base_id: "KnowledgeBaseIdentifier", # required
|
|
1611
|
+
# })
|
|
1612
|
+
#
|
|
1613
|
+
# @example Response structure
|
|
1614
|
+
#
|
|
1615
|
+
# resp.document_acl.allow_list.conditions #=> Array
|
|
1616
|
+
# resp.document_acl.allow_list.conditions[0].condition_operator #=> String, one of "AND", "OR"
|
|
1617
|
+
# resp.document_acl.allow_list.conditions[0].groups #=> Array
|
|
1618
|
+
# resp.document_acl.allow_list.conditions[0].groups[0].id #=> String
|
|
1619
|
+
# resp.document_acl.allow_list.conditions[0].groups[0].type #=> String, one of "KNOWLEDGE_BASE", "DATA_SOURCE"
|
|
1620
|
+
# resp.document_acl.allow_list.conditions[0].users #=> Array
|
|
1621
|
+
# resp.document_acl.allow_list.conditions[0].users[0].id #=> String
|
|
1622
|
+
# resp.document_acl.allow_list.conditions[0].users[0].type #=> String, one of "KNOWLEDGE_BASE", "DATA_SOURCE"
|
|
1623
|
+
# resp.document_acl.allow_list.member_relation #=> String, one of "AND", "OR"
|
|
1624
|
+
# resp.document_acl.deny_list.conditions #=> Array
|
|
1625
|
+
# resp.document_acl.deny_list.conditions[0].condition_operator #=> String, one of "AND", "OR"
|
|
1626
|
+
# resp.document_acl.deny_list.conditions[0].groups #=> Array
|
|
1627
|
+
# resp.document_acl.deny_list.conditions[0].groups[0].id #=> String
|
|
1628
|
+
# resp.document_acl.deny_list.conditions[0].groups[0].type #=> String, one of "KNOWLEDGE_BASE", "DATA_SOURCE"
|
|
1629
|
+
# resp.document_acl.deny_list.conditions[0].users #=> Array
|
|
1630
|
+
# resp.document_acl.deny_list.conditions[0].users[0].id #=> String
|
|
1631
|
+
# resp.document_acl.deny_list.conditions[0].users[0].type #=> String, one of "KNOWLEDGE_BASE", "DATA_SOURCE"
|
|
1632
|
+
# resp.document_acl.deny_list.member_relation #=> String, one of "AND", "OR"
|
|
1633
|
+
#
|
|
1634
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-runtime-2023-07-26/GetIngestedDocumentAcl AWS API Documentation
|
|
1635
|
+
#
|
|
1636
|
+
# @overload get_ingested_document_acl(params = {})
|
|
1637
|
+
# @param [Hash] params ({})
|
|
1638
|
+
def get_ingested_document_acl(params = {}, options = {})
|
|
1639
|
+
req = build_request(:get_ingested_document_acl, params)
|
|
1640
|
+
req.send_request(options)
|
|
1641
|
+
end
|
|
1642
|
+
|
|
1496
1643
|
# Retrieves the details of a specific invocation step within an
|
|
1497
1644
|
# invocation in a session. For more information about sessions, see
|
|
1498
1645
|
# [Store and retrieve conversation history and context with Amazon
|
|
@@ -1595,7 +1742,16 @@ module Aws::BedrockAgentRuntime
|
|
|
1595
1742
|
req.send_request(options)
|
|
1596
1743
|
end
|
|
1597
1744
|
|
|
1598
|
-
# <note>
|
|
1745
|
+
# <note markdown="1"> Amazon Bedrock Agents (now Amazon Bedrock Agents
|
|
1746
|
+
# Classic) is no longer
|
|
1747
|
+
# open to new customers. For capabilities similar to Bedrock Agents
|
|
1748
|
+
# Classic, explore Amazon Bedrock AgentCore. Existing customers can
|
|
1749
|
+
# continue to use the service as normal. For more information, see
|
|
1750
|
+
# [Amazon Bedrock Agents Classic availability change][1].
|
|
1751
|
+
#
|
|
1752
|
+
# </note>
|
|
1753
|
+
#
|
|
1754
|
+
# <note> </note>
|
|
1599
1755
|
#
|
|
1600
1756
|
# Sends a prompt for the agent to process and respond to. Note the
|
|
1601
1757
|
# following fields for the request:
|
|
@@ -1607,7 +1763,7 @@ module Aws::BedrockAgentRuntime
|
|
|
1607
1763
|
# enablement helps you follow the agent's reasoning process that led
|
|
1608
1764
|
# it to the information it processed, the actions it took, and the
|
|
1609
1765
|
# final result it yielded. For more information, see [Trace
|
|
1610
|
-
# enablement][
|
|
1766
|
+
# enablement][2].
|
|
1611
1767
|
#
|
|
1612
1768
|
# * End a conversation by setting `endSession` to `true`.
|
|
1613
1769
|
#
|
|
@@ -1635,7 +1791,8 @@ module Aws::BedrockAgentRuntime
|
|
|
1635
1791
|
#
|
|
1636
1792
|
#
|
|
1637
1793
|
#
|
|
1638
|
-
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-
|
|
1794
|
+
# [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-classic-maintenance-mode.html
|
|
1795
|
+
# [2]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-test.html#trace-events
|
|
1639
1796
|
#
|
|
1640
1797
|
# @option params [required, String] :agent_alias_id
|
|
1641
1798
|
# The alias of the agent to use.
|
|
@@ -6684,10 +6841,9 @@ module Aws::BedrockAgentRuntime
|
|
|
6684
6841
|
# Contains the query to send the knowledge base.
|
|
6685
6842
|
#
|
|
6686
6843
|
# @option params [Types::UserContext] :user_context
|
|
6687
|
-
# Contains information about the user making the request.
|
|
6688
|
-
#
|
|
6689
|
-
#
|
|
6690
|
-
# access.
|
|
6844
|
+
# Contains information about the user making the request. This is used
|
|
6845
|
+
# for access control filtering to ensure that retrieval results only
|
|
6846
|
+
# include documents the user is authorized to access.
|
|
6691
6847
|
#
|
|
6692
6848
|
# @return [Types::RetrieveResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
6693
6849
|
#
|
|
@@ -7009,10 +7165,9 @@ module Aws::BedrockAgentRuntime
|
|
|
7009
7165
|
# explicitly set the `sessionId` yourself.
|
|
7010
7166
|
#
|
|
7011
7167
|
# @option params [Types::UserContext] :user_context
|
|
7012
|
-
# Contains information about the user making the request.
|
|
7013
|
-
#
|
|
7014
|
-
#
|
|
7015
|
-
# access.
|
|
7168
|
+
# Contains information about the user making the request. This is used
|
|
7169
|
+
# for access control filtering to ensure that retrieval results only
|
|
7170
|
+
# include documents the user is authorized to access.
|
|
7016
7171
|
#
|
|
7017
7172
|
# @return [Types::RetrieveAndGenerateResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7018
7173
|
#
|
|
@@ -7428,10 +7583,9 @@ module Aws::BedrockAgentRuntime
|
|
|
7428
7583
|
# explicitly set the `sessionId` yourself.
|
|
7429
7584
|
#
|
|
7430
7585
|
# @option params [Types::UserContext] :user_context
|
|
7431
|
-
# Contains information about the user making the request.
|
|
7432
|
-
#
|
|
7433
|
-
#
|
|
7434
|
-
# access.
|
|
7586
|
+
# Contains information about the user making the request. This is used
|
|
7587
|
+
# for access control filtering to ensure that retrieval results only
|
|
7588
|
+
# include documents the user is authorized to access.
|
|
7435
7589
|
#
|
|
7436
7590
|
# @return [Types::RetrieveAndGenerateStreamResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
7437
7591
|
#
|
|
@@ -8313,7 +8467,7 @@ module Aws::BedrockAgentRuntime
|
|
|
8313
8467
|
tracer: tracer
|
|
8314
8468
|
)
|
|
8315
8469
|
context[:gem_name] = 'aws-sdk-bedrockagentruntime'
|
|
8316
|
-
context[:gem_version] = '1.
|
|
8470
|
+
context[:gem_version] = '1.80.0'
|
|
8317
8471
|
Seahorse::Client::Request.new(handlers, context)
|
|
8318
8472
|
end
|
|
8319
8473
|
|
|
@@ -40,6 +40,9 @@ module Aws::BedrockAgentRuntime
|
|
|
40
40
|
AgentCollaboratorInvocationOutput = Shapes::StructureShape.new(name: 'AgentCollaboratorInvocationOutput')
|
|
41
41
|
AgentCollaboratorOutputPayload = Shapes::StructureShape.new(name: 'AgentCollaboratorOutputPayload')
|
|
42
42
|
AgentCollaboratorPayloadString = Shapes::StringShape.new(name: 'AgentCollaboratorPayloadString')
|
|
43
|
+
AgentCoreMemoryActorId = Shapes::StringShape.new(name: 'AgentCoreMemoryActorId')
|
|
44
|
+
AgentCoreMemoryId = Shapes::StringShape.new(name: 'AgentCoreMemoryId')
|
|
45
|
+
AgentCoreMemorySessionId = Shapes::StringShape.new(name: 'AgentCoreMemorySessionId')
|
|
43
46
|
AgentId = Shapes::StringShape.new(name: 'AgentId')
|
|
44
47
|
AgentTraces = Shapes::ListShape.new(name: 'AgentTraces')
|
|
45
48
|
AgentVersion = Shapes::StringShape.new(name: 'AgentVersion')
|
|
@@ -62,6 +65,22 @@ module Aws::BedrockAgentRuntime
|
|
|
62
65
|
AgenticRetrieveFullDocExpansionDetails = Shapes::StructureShape.new(name: 'AgenticRetrieveFullDocExpansionDetails')
|
|
63
66
|
AgenticRetrieveGeneratedResponse = Shapes::StructureShape.new(name: 'AgenticRetrieveGeneratedResponse')
|
|
64
67
|
AgenticRetrieveGuardrailWarning = Shapes::StructureShape.new(name: 'AgenticRetrieveGuardrailWarning')
|
|
68
|
+
AgenticRetrieveMemoryConfiguration = Shapes::StructureShape.new(name: 'AgenticRetrieveMemoryConfiguration')
|
|
69
|
+
AgenticRetrieveMemoryMetadataFilter = Shapes::StructureShape.new(name: 'AgenticRetrieveMemoryMetadataFilter')
|
|
70
|
+
AgenticRetrieveMemoryMetadataFilterLeft = Shapes::UnionShape.new(name: 'AgenticRetrieveMemoryMetadataFilterLeft')
|
|
71
|
+
AgenticRetrieveMemoryMetadataFilterList = Shapes::ListShape.new(name: 'AgenticRetrieveMemoryMetadataFilterList')
|
|
72
|
+
AgenticRetrieveMemoryMetadataFilterOperator = Shapes::StringShape.new(name: 'AgenticRetrieveMemoryMetadataFilterOperator')
|
|
73
|
+
AgenticRetrieveMemoryMetadataFilterRight = Shapes::UnionShape.new(name: 'AgenticRetrieveMemoryMetadataFilterRight')
|
|
74
|
+
AgenticRetrieveMemoryMetadataKey = Shapes::StringShape.new(name: 'AgenticRetrieveMemoryMetadataKey')
|
|
75
|
+
AgenticRetrieveMemoryMetadataStringList = Shapes::ListShape.new(name: 'AgenticRetrieveMemoryMetadataStringList')
|
|
76
|
+
AgenticRetrieveMemoryMetadataStringListItem = Shapes::StringShape.new(name: 'AgenticRetrieveMemoryMetadataStringListItem')
|
|
77
|
+
AgenticRetrieveMemoryMetadataStringValue = Shapes::StringShape.new(name: 'AgenticRetrieveMemoryMetadataStringValue')
|
|
78
|
+
AgenticRetrieveMemoryMetadataValue = Shapes::UnionShape.new(name: 'AgenticRetrieveMemoryMetadataValue')
|
|
79
|
+
AgenticRetrieveMemoryPersistenceMode = Shapes::StringShape.new(name: 'AgenticRetrieveMemoryPersistenceMode')
|
|
80
|
+
AgenticRetrieveMemoryRetrievalConfig = Shapes::StructureShape.new(name: 'AgenticRetrieveMemoryRetrievalConfig')
|
|
81
|
+
AgenticRetrieveMemoryRetrievalConfigList = Shapes::ListShape.new(name: 'AgenticRetrieveMemoryRetrievalConfigList')
|
|
82
|
+
AgenticRetrieveMemoryRetrieveDetails = Shapes::StructureShape.new(name: 'AgenticRetrieveMemoryRetrieveDetails')
|
|
83
|
+
AgenticRetrieveMemorySessionBinding = Shapes::StructureShape.new(name: 'AgenticRetrieveMemorySessionBinding')
|
|
65
84
|
AgenticRetrieveMessage = Shapes::StructureShape.new(name: 'AgenticRetrieveMessage')
|
|
66
85
|
AgenticRetrieveMessageContent = Shapes::StructureShape.new(name: 'AgenticRetrieveMessageContent')
|
|
67
86
|
AgenticRetrieveMetadata = Shapes::MapShape.new(name: 'AgenticRetrieveMetadata')
|
|
@@ -125,6 +144,8 @@ module Aws::BedrockAgentRuntime
|
|
|
125
144
|
ByteContentFile = Shapes::StructureShape.new(name: 'ByteContentFile')
|
|
126
145
|
Caller = Shapes::UnionShape.new(name: 'Caller')
|
|
127
146
|
CallerChain = Shapes::ListShape.new(name: 'CallerChain')
|
|
147
|
+
CheckIngestedDocumentAclRequest = Shapes::StructureShape.new(name: 'CheckIngestedDocumentAclRequest')
|
|
148
|
+
CheckIngestedDocumentAclResponse = Shapes::StructureShape.new(name: 'CheckIngestedDocumentAclResponse')
|
|
128
149
|
Citation = Shapes::StructureShape.new(name: 'Citation')
|
|
129
150
|
CitationEvent = Shapes::StructureShape.new(name: 'CitationEvent')
|
|
130
151
|
Citations = Shapes::ListShape.new(name: 'Citations')
|
|
@@ -162,6 +183,18 @@ module Aws::BedrockAgentRuntime
|
|
|
162
183
|
DeleteSessionResponse = Shapes::StructureShape.new(name: 'DeleteSessionResponse')
|
|
163
184
|
DependencyFailedException = Shapes::StructureShape.new(name: 'DependencyFailedException')
|
|
164
185
|
Document = Shapes::DocumentShape.new(name: 'Document', document: true)
|
|
186
|
+
DocumentAcl = Shapes::StructureShape.new(name: 'DocumentAcl')
|
|
187
|
+
DocumentAclCondition = Shapes::StructureShape.new(name: 'DocumentAclCondition')
|
|
188
|
+
DocumentAclConditionGroupsList = Shapes::ListShape.new(name: 'DocumentAclConditionGroupsList')
|
|
189
|
+
DocumentAclConditionUsersList = Shapes::ListShape.new(name: 'DocumentAclConditionUsersList')
|
|
190
|
+
DocumentAclGroup = Shapes::StructureShape.new(name: 'DocumentAclGroup')
|
|
191
|
+
DocumentAclGroupIdString = Shapes::StringShape.new(name: 'DocumentAclGroupIdString')
|
|
192
|
+
DocumentAclMemberRelation = Shapes::StringShape.new(name: 'DocumentAclMemberRelation')
|
|
193
|
+
DocumentAclMembership = Shapes::StructureShape.new(name: 'DocumentAclMembership')
|
|
194
|
+
DocumentAclMembershipConditionsList = Shapes::ListShape.new(name: 'DocumentAclMembershipConditionsList')
|
|
195
|
+
DocumentAclMembershipType = Shapes::StringShape.new(name: 'DocumentAclMembershipType')
|
|
196
|
+
DocumentAclUser = Shapes::StructureShape.new(name: 'DocumentAclUser')
|
|
197
|
+
DocumentAclUserIdString = Shapes::StringShape.new(name: 'DocumentAclUserIdString')
|
|
165
198
|
DocumentId = Shapes::StringShape.new(name: 'DocumentId')
|
|
166
199
|
DocumentOutputFormat = Shapes::StringShape.new(name: 'DocumentOutputFormat')
|
|
167
200
|
Double = Shapes::FloatShape.new(name: 'Double')
|
|
@@ -277,6 +310,8 @@ module Aws::BedrockAgentRuntime
|
|
|
277
310
|
GetExecutionFlowSnapshotResponse = Shapes::StructureShape.new(name: 'GetExecutionFlowSnapshotResponse')
|
|
278
311
|
GetFlowExecutionRequest = Shapes::StructureShape.new(name: 'GetFlowExecutionRequest')
|
|
279
312
|
GetFlowExecutionResponse = Shapes::StructureShape.new(name: 'GetFlowExecutionResponse')
|
|
313
|
+
GetIngestedDocumentAclRequest = Shapes::StructureShape.new(name: 'GetIngestedDocumentAclRequest')
|
|
314
|
+
GetIngestedDocumentAclResponse = Shapes::StructureShape.new(name: 'GetIngestedDocumentAclResponse')
|
|
280
315
|
GetInvocationStepRequest = Shapes::StructureShape.new(name: 'GetInvocationStepRequest')
|
|
281
316
|
GetInvocationStepResponse = Shapes::StructureShape.new(name: 'GetInvocationStepResponse')
|
|
282
317
|
GetSessionRequest = Shapes::StructureShape.new(name: 'GetSessionRequest')
|
|
@@ -417,7 +452,9 @@ module Aws::BedrockAgentRuntime
|
|
|
417
452
|
Memories = Shapes::ListShape.new(name: 'Memories')
|
|
418
453
|
Memory = Shapes::UnionShape.new(name: 'Memory')
|
|
419
454
|
MemoryId = Shapes::StringShape.new(name: 'MemoryId')
|
|
455
|
+
MemoryNamespace = Shapes::StringShape.new(name: 'MemoryNamespace')
|
|
420
456
|
MemorySessionSummary = Shapes::StructureShape.new(name: 'MemorySessionSummary')
|
|
457
|
+
MemoryStrategyId = Shapes::StringShape.new(name: 'MemoryStrategyId')
|
|
421
458
|
MemoryType = Shapes::StringShape.new(name: 'MemoryType')
|
|
422
459
|
Message = Shapes::StructureShape.new(name: 'Message')
|
|
423
460
|
Messages = Shapes::ListShape.new(name: 'Messages')
|
|
@@ -648,6 +685,7 @@ module Aws::BedrockAgentRuntime
|
|
|
648
685
|
TextToSqlConfigurationType = Shapes::StringShape.new(name: 'TextToSqlConfigurationType')
|
|
649
686
|
TextToSqlKnowledgeBaseConfiguration = Shapes::StructureShape.new(name: 'TextToSqlKnowledgeBaseConfiguration')
|
|
650
687
|
ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
|
|
688
|
+
Timestamp = Shapes::TimestampShape.new(name: 'Timestamp')
|
|
651
689
|
TopK = Shapes::IntegerShape.new(name: 'TopK')
|
|
652
690
|
TopP = Shapes::FloatShape.new(name: 'TopP')
|
|
653
691
|
Trace = Shapes::UnionShape.new(name: 'Trace')
|
|
@@ -749,6 +787,7 @@ module Aws::BedrockAgentRuntime
|
|
|
749
787
|
AgentTraces.member = Shapes::ShapeRef.new(shape: TracePart, event: true)
|
|
750
788
|
|
|
751
789
|
AgenticRetrieveAction.add_member(:full_document_expansion, Shapes::ShapeRef.new(shape: AgenticRetrieveFullDocExpansionDetails, location_name: "fullDocumentExpansion"))
|
|
790
|
+
AgenticRetrieveAction.add_member(:memory_retrieve, Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryRetrieveDetails, location_name: "memoryRetrieve"))
|
|
752
791
|
AgenticRetrieveAction.add_member(:retrieve, Shapes::ShapeRef.new(shape: AgenticRetrieveActionDetails, location_name: "retrieve"))
|
|
753
792
|
AgenticRetrieveAction.struct_class = Types::AgenticRetrieveAction
|
|
754
793
|
|
|
@@ -806,6 +845,64 @@ module Aws::BedrockAgentRuntime
|
|
|
806
845
|
AgenticRetrieveGuardrailWarning.add_member(:version, Shapes::ShapeRef.new(shape: String, required: true, location_name: "version"))
|
|
807
846
|
AgenticRetrieveGuardrailWarning.struct_class = Types::AgenticRetrieveGuardrailWarning
|
|
808
847
|
|
|
848
|
+
AgenticRetrieveMemoryConfiguration.add_member(:memory_id, Shapes::ShapeRef.new(shape: AgentCoreMemoryId, required: true, location_name: "memoryId"))
|
|
849
|
+
AgenticRetrieveMemoryConfiguration.add_member(:persistence_mode, Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryPersistenceMode, location_name: "persistenceMode"))
|
|
850
|
+
AgenticRetrieveMemoryConfiguration.add_member(:retrieval_configs, Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryRetrievalConfigList, location_name: "retrievalConfigs"))
|
|
851
|
+
AgenticRetrieveMemoryConfiguration.add_member(:session_binding, Shapes::ShapeRef.new(shape: AgenticRetrieveMemorySessionBinding, location_name: "sessionBinding"))
|
|
852
|
+
AgenticRetrieveMemoryConfiguration.struct_class = Types::AgenticRetrieveMemoryConfiguration
|
|
853
|
+
|
|
854
|
+
AgenticRetrieveMemoryMetadataFilter.add_member(:left, Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryMetadataFilterLeft, required: true, location_name: "left"))
|
|
855
|
+
AgenticRetrieveMemoryMetadataFilter.add_member(:operator, Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryMetadataFilterOperator, required: true, location_name: "operator"))
|
|
856
|
+
AgenticRetrieveMemoryMetadataFilter.add_member(:right, Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryMetadataFilterRight, location_name: "right"))
|
|
857
|
+
AgenticRetrieveMemoryMetadataFilter.struct_class = Types::AgenticRetrieveMemoryMetadataFilter
|
|
858
|
+
|
|
859
|
+
AgenticRetrieveMemoryMetadataFilterLeft.add_member(:metadata_key, Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryMetadataKey, location_name: "metadataKey"))
|
|
860
|
+
AgenticRetrieveMemoryMetadataFilterLeft.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
861
|
+
AgenticRetrieveMemoryMetadataFilterLeft.add_member_subclass(:metadata_key, Types::AgenticRetrieveMemoryMetadataFilterLeft::MetadataKey)
|
|
862
|
+
AgenticRetrieveMemoryMetadataFilterLeft.add_member_subclass(:unknown, Types::AgenticRetrieveMemoryMetadataFilterLeft::Unknown)
|
|
863
|
+
AgenticRetrieveMemoryMetadataFilterLeft.struct_class = Types::AgenticRetrieveMemoryMetadataFilterLeft
|
|
864
|
+
|
|
865
|
+
AgenticRetrieveMemoryMetadataFilterList.member = Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryMetadataFilter)
|
|
866
|
+
|
|
867
|
+
AgenticRetrieveMemoryMetadataFilterRight.add_member(:metadata_value, Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryMetadataValue, location_name: "metadataValue"))
|
|
868
|
+
AgenticRetrieveMemoryMetadataFilterRight.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
869
|
+
AgenticRetrieveMemoryMetadataFilterRight.add_member_subclass(:metadata_value, Types::AgenticRetrieveMemoryMetadataFilterRight::MetadataValue)
|
|
870
|
+
AgenticRetrieveMemoryMetadataFilterRight.add_member_subclass(:unknown, Types::AgenticRetrieveMemoryMetadataFilterRight::Unknown)
|
|
871
|
+
AgenticRetrieveMemoryMetadataFilterRight.struct_class = Types::AgenticRetrieveMemoryMetadataFilterRight
|
|
872
|
+
|
|
873
|
+
AgenticRetrieveMemoryMetadataStringList.member = Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryMetadataStringListItem)
|
|
874
|
+
|
|
875
|
+
AgenticRetrieveMemoryMetadataValue.add_member(:date_time_value, Shapes::ShapeRef.new(shape: Timestamp, location_name: "dateTimeValue"))
|
|
876
|
+
AgenticRetrieveMemoryMetadataValue.add_member(:number_value, Shapes::ShapeRef.new(shape: Double, location_name: "numberValue"))
|
|
877
|
+
AgenticRetrieveMemoryMetadataValue.add_member(:string_list_value, Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryMetadataStringList, location_name: "stringListValue"))
|
|
878
|
+
AgenticRetrieveMemoryMetadataValue.add_member(:string_value, Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryMetadataStringValue, location_name: "stringValue"))
|
|
879
|
+
AgenticRetrieveMemoryMetadataValue.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
880
|
+
AgenticRetrieveMemoryMetadataValue.add_member_subclass(:date_time_value, Types::AgenticRetrieveMemoryMetadataValue::DateTimeValue)
|
|
881
|
+
AgenticRetrieveMemoryMetadataValue.add_member_subclass(:number_value, Types::AgenticRetrieveMemoryMetadataValue::NumberValue)
|
|
882
|
+
AgenticRetrieveMemoryMetadataValue.add_member_subclass(:string_list_value, Types::AgenticRetrieveMemoryMetadataValue::StringListValue)
|
|
883
|
+
AgenticRetrieveMemoryMetadataValue.add_member_subclass(:string_value, Types::AgenticRetrieveMemoryMetadataValue::StringValue)
|
|
884
|
+
AgenticRetrieveMemoryMetadataValue.add_member_subclass(:unknown, Types::AgenticRetrieveMemoryMetadataValue::Unknown)
|
|
885
|
+
AgenticRetrieveMemoryMetadataValue.struct_class = Types::AgenticRetrieveMemoryMetadataValue
|
|
886
|
+
|
|
887
|
+
AgenticRetrieveMemoryRetrievalConfig.add_member(:metadata_filters, Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryMetadataFilterList, location_name: "metadataFilters"))
|
|
888
|
+
AgenticRetrieveMemoryRetrievalConfig.add_member(:namespace, Shapes::ShapeRef.new(shape: MemoryNamespace, location_name: "namespace"))
|
|
889
|
+
AgenticRetrieveMemoryRetrievalConfig.add_member(:namespace_path, Shapes::ShapeRef.new(shape: MemoryNamespace, location_name: "namespacePath"))
|
|
890
|
+
AgenticRetrieveMemoryRetrievalConfig.add_member(:strategy_id, Shapes::ShapeRef.new(shape: MemoryStrategyId, location_name: "strategyId"))
|
|
891
|
+
AgenticRetrieveMemoryRetrievalConfig.struct_class = Types::AgenticRetrieveMemoryRetrievalConfig
|
|
892
|
+
|
|
893
|
+
AgenticRetrieveMemoryRetrievalConfigList.member = Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryRetrievalConfig)
|
|
894
|
+
|
|
895
|
+
AgenticRetrieveMemoryRetrieveDetails.add_member(:input_query, Shapes::ShapeRef.new(shape: AgenticRetrieveMessageContent, required: true, location_name: "inputQuery"))
|
|
896
|
+
AgenticRetrieveMemoryRetrieveDetails.add_member(:memory_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "memoryId"))
|
|
897
|
+
AgenticRetrieveMemoryRetrieveDetails.add_member(:namespace, Shapes::ShapeRef.new(shape: String, location_name: "namespace"))
|
|
898
|
+
AgenticRetrieveMemoryRetrieveDetails.add_member(:namespace_path, Shapes::ShapeRef.new(shape: String, location_name: "namespacePath"))
|
|
899
|
+
AgenticRetrieveMemoryRetrieveDetails.add_member(:strategy_id, Shapes::ShapeRef.new(shape: String, location_name: "strategyId"))
|
|
900
|
+
AgenticRetrieveMemoryRetrieveDetails.struct_class = Types::AgenticRetrieveMemoryRetrieveDetails
|
|
901
|
+
|
|
902
|
+
AgenticRetrieveMemorySessionBinding.add_member(:actor_id, Shapes::ShapeRef.new(shape: AgentCoreMemoryActorId, required: true, location_name: "actorId"))
|
|
903
|
+
AgenticRetrieveMemorySessionBinding.add_member(:session_id, Shapes::ShapeRef.new(shape: AgentCoreMemorySessionId, required: true, location_name: "sessionId"))
|
|
904
|
+
AgenticRetrieveMemorySessionBinding.struct_class = Types::AgenticRetrieveMemorySessionBinding
|
|
905
|
+
|
|
809
906
|
AgenticRetrieveMessage.add_member(:content, Shapes::ShapeRef.new(shape: AgenticRetrieveMessageContent, required: true, location_name: "content"))
|
|
810
907
|
AgenticRetrieveMessage.add_member(:role, Shapes::ShapeRef.new(shape: ConversationRole, required: true, location_name: "role"))
|
|
811
908
|
AgenticRetrieveMessage.struct_class = Types::AgenticRetrieveMessage
|
|
@@ -851,6 +948,7 @@ module Aws::BedrockAgentRuntime
|
|
|
851
948
|
|
|
852
949
|
AgenticRetrieveStreamRequest.add_member(:agentic_retrieve_configuration, Shapes::ShapeRef.new(shape: AgenticRetrieveConfiguration, required: true, location_name: "agenticRetrieveConfiguration"))
|
|
853
950
|
AgenticRetrieveStreamRequest.add_member(:generate_response, Shapes::ShapeRef.new(shape: Boolean, location_name: "generateResponse"))
|
|
951
|
+
AgenticRetrieveStreamRequest.add_member(:memory_configuration, Shapes::ShapeRef.new(shape: AgenticRetrieveMemoryConfiguration, location_name: "memoryConfiguration"))
|
|
854
952
|
AgenticRetrieveStreamRequest.add_member(:messages, Shapes::ShapeRef.new(shape: AgenticRetrieveStreamRequestMessagesList, required: true, location_name: "messages"))
|
|
855
953
|
AgenticRetrieveStreamRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
|
856
954
|
AgenticRetrieveStreamRequest.add_member(:policy_configuration, Shapes::ShapeRef.new(shape: AgenticRetrievePolicyConfiguration, location_name: "policyConfiguration"))
|
|
@@ -1011,6 +1109,15 @@ module Aws::BedrockAgentRuntime
|
|
|
1011
1109
|
|
|
1012
1110
|
CallerChain.member = Shapes::ShapeRef.new(shape: Caller)
|
|
1013
1111
|
|
|
1112
|
+
CheckIngestedDocumentAclRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location: "uri", location_name: "dataSourceId"))
|
|
1113
|
+
CheckIngestedDocumentAclRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: DocumentId, required: true, location_name: "documentId"))
|
|
1114
|
+
CheckIngestedDocumentAclRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: KnowledgeBaseIdentifier, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
|
1115
|
+
CheckIngestedDocumentAclRequest.add_member(:user_context, Shapes::ShapeRef.new(shape: UserContext, required: true, location_name: "userContext"))
|
|
1116
|
+
CheckIngestedDocumentAclRequest.struct_class = Types::CheckIngestedDocumentAclRequest
|
|
1117
|
+
|
|
1118
|
+
CheckIngestedDocumentAclResponse.add_member(:has_access, Shapes::ShapeRef.new(shape: Boolean, required: true, location_name: "hasAccess"))
|
|
1119
|
+
CheckIngestedDocumentAclResponse.struct_class = Types::CheckIngestedDocumentAclResponse
|
|
1120
|
+
|
|
1014
1121
|
Citation.add_member(:generated_response_part, Shapes::ShapeRef.new(shape: GeneratedResponsePart, location_name: "generatedResponsePart"))
|
|
1015
1122
|
Citation.add_member(:retrieved_references, Shapes::ShapeRef.new(shape: RetrievedReferences, location_name: "retrievedReferences"))
|
|
1016
1123
|
Citation.struct_class = Types::Citation
|
|
@@ -1130,6 +1237,33 @@ module Aws::BedrockAgentRuntime
|
|
|
1130
1237
|
DependencyFailedException.add_member(:resource_name, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "resourceName"))
|
|
1131
1238
|
DependencyFailedException.struct_class = Types::DependencyFailedException
|
|
1132
1239
|
|
|
1240
|
+
DocumentAcl.add_member(:allow_list, Shapes::ShapeRef.new(shape: DocumentAclMembership, location_name: "allowList"))
|
|
1241
|
+
DocumentAcl.add_member(:deny_list, Shapes::ShapeRef.new(shape: DocumentAclMembership, location_name: "denyList"))
|
|
1242
|
+
DocumentAcl.struct_class = Types::DocumentAcl
|
|
1243
|
+
|
|
1244
|
+
DocumentAclCondition.add_member(:condition_operator, Shapes::ShapeRef.new(shape: DocumentAclMemberRelation, location_name: "conditionOperator"))
|
|
1245
|
+
DocumentAclCondition.add_member(:groups, Shapes::ShapeRef.new(shape: DocumentAclConditionGroupsList, location_name: "groups"))
|
|
1246
|
+
DocumentAclCondition.add_member(:users, Shapes::ShapeRef.new(shape: DocumentAclConditionUsersList, location_name: "users"))
|
|
1247
|
+
DocumentAclCondition.struct_class = Types::DocumentAclCondition
|
|
1248
|
+
|
|
1249
|
+
DocumentAclConditionGroupsList.member = Shapes::ShapeRef.new(shape: DocumentAclGroup)
|
|
1250
|
+
|
|
1251
|
+
DocumentAclConditionUsersList.member = Shapes::ShapeRef.new(shape: DocumentAclUser)
|
|
1252
|
+
|
|
1253
|
+
DocumentAclGroup.add_member(:id, Shapes::ShapeRef.new(shape: DocumentAclGroupIdString, required: true, location_name: "id"))
|
|
1254
|
+
DocumentAclGroup.add_member(:type, Shapes::ShapeRef.new(shape: DocumentAclMembershipType, required: true, location_name: "type"))
|
|
1255
|
+
DocumentAclGroup.struct_class = Types::DocumentAclGroup
|
|
1256
|
+
|
|
1257
|
+
DocumentAclMembership.add_member(:conditions, Shapes::ShapeRef.new(shape: DocumentAclMembershipConditionsList, location_name: "conditions"))
|
|
1258
|
+
DocumentAclMembership.add_member(:member_relation, Shapes::ShapeRef.new(shape: DocumentAclMemberRelation, location_name: "memberRelation"))
|
|
1259
|
+
DocumentAclMembership.struct_class = Types::DocumentAclMembership
|
|
1260
|
+
|
|
1261
|
+
DocumentAclMembershipConditionsList.member = Shapes::ShapeRef.new(shape: DocumentAclCondition)
|
|
1262
|
+
|
|
1263
|
+
DocumentAclUser.add_member(:id, Shapes::ShapeRef.new(shape: DocumentAclUserIdString, required: true, location_name: "id"))
|
|
1264
|
+
DocumentAclUser.add_member(:type, Shapes::ShapeRef.new(shape: DocumentAclMembershipType, required: true, location_name: "type"))
|
|
1265
|
+
DocumentAclUser.struct_class = Types::DocumentAclUser
|
|
1266
|
+
|
|
1133
1267
|
EndSessionRequest.add_member(:session_identifier, Shapes::ShapeRef.new(shape: SessionIdentifier, required: true, location: "uri", location_name: "sessionIdentifier"))
|
|
1134
1268
|
EndSessionRequest.struct_class = Types::EndSessionRequest
|
|
1135
1269
|
|
|
@@ -1530,6 +1664,14 @@ module Aws::BedrockAgentRuntime
|
|
|
1530
1664
|
GetFlowExecutionResponse.add_member(:status, Shapes::ShapeRef.new(shape: FlowExecutionStatus, required: true, location_name: "status"))
|
|
1531
1665
|
GetFlowExecutionResponse.struct_class = Types::GetFlowExecutionResponse
|
|
1532
1666
|
|
|
1667
|
+
GetIngestedDocumentAclRequest.add_member(:data_source_id, Shapes::ShapeRef.new(shape: DataSourceId, required: true, location: "uri", location_name: "dataSourceId"))
|
|
1668
|
+
GetIngestedDocumentAclRequest.add_member(:document_id, Shapes::ShapeRef.new(shape: DocumentId, required: true, location_name: "documentId"))
|
|
1669
|
+
GetIngestedDocumentAclRequest.add_member(:knowledge_base_id, Shapes::ShapeRef.new(shape: KnowledgeBaseIdentifier, required: true, location: "uri", location_name: "knowledgeBaseId"))
|
|
1670
|
+
GetIngestedDocumentAclRequest.struct_class = Types::GetIngestedDocumentAclRequest
|
|
1671
|
+
|
|
1672
|
+
GetIngestedDocumentAclResponse.add_member(:document_acl, Shapes::ShapeRef.new(shape: DocumentAcl, required: true, location_name: "documentAcl"))
|
|
1673
|
+
GetIngestedDocumentAclResponse.struct_class = Types::GetIngestedDocumentAclResponse
|
|
1674
|
+
|
|
1533
1675
|
GetInvocationStepRequest.add_member(:invocation_identifier, Shapes::ShapeRef.new(shape: InvocationIdentifier, required: true, location_name: "invocationIdentifier"))
|
|
1534
1676
|
GetInvocationStepRequest.add_member(:invocation_step_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "invocationStepId"))
|
|
1535
1677
|
GetInvocationStepRequest.add_member(:session_identifier, Shapes::ShapeRef.new(shape: SessionIdentifier, required: true, location: "uri", location_name: "sessionIdentifier"))
|
|
@@ -2844,6 +2986,19 @@ module Aws::BedrockAgentRuntime
|
|
|
2844
2986
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
2845
2987
|
end)
|
|
2846
2988
|
|
|
2989
|
+
api.add_operation(:check_ingested_document_acl, Seahorse::Model::Operation.new.tap do |o|
|
|
2990
|
+
o.name = "CheckIngestedDocumentAcl"
|
|
2991
|
+
o.http_method = "POST"
|
|
2992
|
+
o.http_request_uri = "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/check-ingested-document-acl"
|
|
2993
|
+
o.input = Shapes::ShapeRef.new(shape: CheckIngestedDocumentAclRequest)
|
|
2994
|
+
o.output = Shapes::ShapeRef.new(shape: CheckIngestedDocumentAclResponse)
|
|
2995
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
2996
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
2997
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
2998
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
2999
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3000
|
+
end)
|
|
3001
|
+
|
|
2847
3002
|
api.add_operation(:create_invocation, Seahorse::Model::Operation.new.tap do |o|
|
|
2848
3003
|
o.name = "CreateInvocation"
|
|
2849
3004
|
o.http_method = "PUT"
|
|
@@ -2997,6 +3152,19 @@ module Aws::BedrockAgentRuntime
|
|
|
2997
3152
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
2998
3153
|
end)
|
|
2999
3154
|
|
|
3155
|
+
api.add_operation(:get_ingested_document_acl, Seahorse::Model::Operation.new.tap do |o|
|
|
3156
|
+
o.name = "GetIngestedDocumentAcl"
|
|
3157
|
+
o.http_method = "POST"
|
|
3158
|
+
o.http_request_uri = "/knowledgebases/{knowledgeBaseId}/datasources/{dataSourceId}/get-ingested-document-acl"
|
|
3159
|
+
o.input = Shapes::ShapeRef.new(shape: GetIngestedDocumentAclRequest)
|
|
3160
|
+
o.output = Shapes::ShapeRef.new(shape: GetIngestedDocumentAclResponse)
|
|
3161
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3162
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
3163
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3164
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3165
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3166
|
+
end)
|
|
3167
|
+
|
|
3000
3168
|
api.add_operation(:get_invocation_step, Seahorse::Model::Operation.new.tap do |o|
|
|
3001
3169
|
o.name = "GetInvocationStep"
|
|
3002
3170
|
o.http_method = "POST"
|