aws-sdk-bedrockagentcore 1.4.0 → 1.6.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-bedrockagentcore/client.rb +328 -33
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +219 -5
- data/lib/aws-sdk-bedrockagentcore/endpoint_parameters.rb +4 -4
- data/lib/aws-sdk-bedrockagentcore/types.rb +492 -32
- data/lib/aws-sdk-bedrockagentcore.rb +2 -2
- data/sig/client.rbs +107 -2
- data/sig/types.rbs +140 -0
- metadata +1 -1
@@ -82,6 +82,126 @@ module Aws::BedrockAgentCore
|
|
82
82
|
include Aws::Structure
|
83
83
|
end
|
84
84
|
|
85
|
+
# @!attribute [rw] memory_id
|
86
|
+
# The unique ID of the memory resource where records will be created.
|
87
|
+
# @return [String]
|
88
|
+
#
|
89
|
+
# @!attribute [rw] records
|
90
|
+
# A list of memory record creation inputs to be processed in the batch
|
91
|
+
# operation.
|
92
|
+
# @return [Array<Types::MemoryRecordCreateInput>]
|
93
|
+
#
|
94
|
+
# @!attribute [rw] client_token
|
95
|
+
# A unique, case-sensitive identifier to ensure idempotent processing
|
96
|
+
# of the batch request.
|
97
|
+
#
|
98
|
+
# **A suitable default value is auto-generated.** You should normally
|
99
|
+
# not need to pass this option.
|
100
|
+
# @return [String]
|
101
|
+
#
|
102
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/BatchCreateMemoryRecordsInput AWS API Documentation
|
103
|
+
#
|
104
|
+
class BatchCreateMemoryRecordsInput < Struct.new(
|
105
|
+
:memory_id,
|
106
|
+
:records,
|
107
|
+
:client_token)
|
108
|
+
SENSITIVE = []
|
109
|
+
include Aws::Structure
|
110
|
+
end
|
111
|
+
|
112
|
+
# @!attribute [rw] successful_records
|
113
|
+
# A list of memory records that were successfully created during the
|
114
|
+
# batch operation.
|
115
|
+
# @return [Array<Types::MemoryRecordOutput>]
|
116
|
+
#
|
117
|
+
# @!attribute [rw] failed_records
|
118
|
+
# A list of memory records that failed to be created, including error
|
119
|
+
# details for each failure.
|
120
|
+
# @return [Array<Types::MemoryRecordOutput>]
|
121
|
+
#
|
122
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/BatchCreateMemoryRecordsOutput AWS API Documentation
|
123
|
+
#
|
124
|
+
class BatchCreateMemoryRecordsOutput < Struct.new(
|
125
|
+
:successful_records,
|
126
|
+
:failed_records)
|
127
|
+
SENSITIVE = []
|
128
|
+
include Aws::Structure
|
129
|
+
end
|
130
|
+
|
131
|
+
# @!attribute [rw] memory_id
|
132
|
+
# The unique ID of the memory resource where records will be deleted.
|
133
|
+
# @return [String]
|
134
|
+
#
|
135
|
+
# @!attribute [rw] records
|
136
|
+
# A list of memory record deletion inputs to be processed in the batch
|
137
|
+
# operation.
|
138
|
+
# @return [Array<Types::MemoryRecordDeleteInput>]
|
139
|
+
#
|
140
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/BatchDeleteMemoryRecordsInput AWS API Documentation
|
141
|
+
#
|
142
|
+
class BatchDeleteMemoryRecordsInput < Struct.new(
|
143
|
+
:memory_id,
|
144
|
+
:records)
|
145
|
+
SENSITIVE = []
|
146
|
+
include Aws::Structure
|
147
|
+
end
|
148
|
+
|
149
|
+
# @!attribute [rw] successful_records
|
150
|
+
# A list of memory records that were successfully deleted during the
|
151
|
+
# batch operation.
|
152
|
+
# @return [Array<Types::MemoryRecordOutput>]
|
153
|
+
#
|
154
|
+
# @!attribute [rw] failed_records
|
155
|
+
# A list of memory records that failed to be deleted, including error
|
156
|
+
# details for each failure.
|
157
|
+
# @return [Array<Types::MemoryRecordOutput>]
|
158
|
+
#
|
159
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/BatchDeleteMemoryRecordsOutput AWS API Documentation
|
160
|
+
#
|
161
|
+
class BatchDeleteMemoryRecordsOutput < Struct.new(
|
162
|
+
:successful_records,
|
163
|
+
:failed_records)
|
164
|
+
SENSITIVE = []
|
165
|
+
include Aws::Structure
|
166
|
+
end
|
167
|
+
|
168
|
+
# @!attribute [rw] memory_id
|
169
|
+
# The unique ID of the memory resource where records will be updated.
|
170
|
+
# @return [String]
|
171
|
+
#
|
172
|
+
# @!attribute [rw] records
|
173
|
+
# A list of memory record update inputs to be processed in the batch
|
174
|
+
# operation.
|
175
|
+
# @return [Array<Types::MemoryRecordUpdateInput>]
|
176
|
+
#
|
177
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/BatchUpdateMemoryRecordsInput AWS API Documentation
|
178
|
+
#
|
179
|
+
class BatchUpdateMemoryRecordsInput < Struct.new(
|
180
|
+
:memory_id,
|
181
|
+
:records)
|
182
|
+
SENSITIVE = []
|
183
|
+
include Aws::Structure
|
184
|
+
end
|
185
|
+
|
186
|
+
# @!attribute [rw] successful_records
|
187
|
+
# A list of memory records that were successfully updated during the
|
188
|
+
# batch operation.
|
189
|
+
# @return [Array<Types::MemoryRecordOutput>]
|
190
|
+
#
|
191
|
+
# @!attribute [rw] failed_records
|
192
|
+
# A list of memory records that failed to be updated, including error
|
193
|
+
# details for each failure.
|
194
|
+
# @return [Array<Types::MemoryRecordOutput>]
|
195
|
+
#
|
196
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/BatchUpdateMemoryRecordsOutput AWS API Documentation
|
197
|
+
#
|
198
|
+
class BatchUpdateMemoryRecordsOutput < Struct.new(
|
199
|
+
:successful_records,
|
200
|
+
:failed_records)
|
201
|
+
SENSITIVE = []
|
202
|
+
include Aws::Structure
|
203
|
+
end
|
204
|
+
|
85
205
|
# Contains information about a branch in an AgentCore Memory resource.
|
86
206
|
# Branches allow for organizing events into different conversation
|
87
207
|
# threads or paths.
|
@@ -439,6 +559,10 @@ module Aws::BedrockAgentCore
|
|
439
559
|
# not need to pass this option.
|
440
560
|
# @return [String]
|
441
561
|
#
|
562
|
+
# @!attribute [rw] metadata
|
563
|
+
# The key-value metadata to attach to the event.
|
564
|
+
# @return [Hash<String,Types::MetadataValue>]
|
565
|
+
#
|
442
566
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/CreateEventInput AWS API Documentation
|
443
567
|
#
|
444
568
|
class CreateEventInput < Struct.new(
|
@@ -448,7 +572,8 @@ module Aws::BedrockAgentCore
|
|
448
572
|
:event_timestamp,
|
449
573
|
:payload,
|
450
574
|
:branch,
|
451
|
-
:client_token
|
575
|
+
:client_token,
|
576
|
+
:metadata)
|
452
577
|
SENSITIVE = []
|
453
578
|
include Aws::Structure
|
454
579
|
end
|
@@ -566,6 +691,10 @@ module Aws::BedrockAgentCore
|
|
566
691
|
# The branch information for the event.
|
567
692
|
# @return [Types::Branch]
|
568
693
|
#
|
694
|
+
# @!attribute [rw] metadata
|
695
|
+
# Metadata associated with an event.
|
696
|
+
# @return [Hash<String,Types::MetadataValue>]
|
697
|
+
#
|
569
698
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/Event AWS API Documentation
|
570
699
|
#
|
571
700
|
class Event < Struct.new(
|
@@ -575,7 +704,33 @@ module Aws::BedrockAgentCore
|
|
575
704
|
:event_id,
|
576
705
|
:event_timestamp,
|
577
706
|
:payload,
|
578
|
-
:branch
|
707
|
+
:branch,
|
708
|
+
:metadata)
|
709
|
+
SENSITIVE = []
|
710
|
+
include Aws::Structure
|
711
|
+
end
|
712
|
+
|
713
|
+
# Filter expression for retrieving events based on metadata associated
|
714
|
+
# with an event.
|
715
|
+
#
|
716
|
+
# @!attribute [rw] left
|
717
|
+
# Left operand of the event metadata filter expression.
|
718
|
+
# @return [Types::LeftExpression]
|
719
|
+
#
|
720
|
+
# @!attribute [rw] operator
|
721
|
+
# Operator applied to the event metadata filter expression.
|
722
|
+
# @return [String]
|
723
|
+
#
|
724
|
+
# @!attribute [rw] right
|
725
|
+
# Right operand of the event metadata filter expression.
|
726
|
+
# @return [Types::RightExpression]
|
727
|
+
#
|
728
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/EventMetadataFilterExpression AWS API Documentation
|
729
|
+
#
|
730
|
+
class EventMetadataFilterExpression < Struct.new(
|
731
|
+
:left,
|
732
|
+
:operator,
|
733
|
+
:right)
|
579
734
|
SENSITIVE = []
|
580
735
|
include Aws::Structure
|
581
736
|
end
|
@@ -586,10 +741,65 @@ module Aws::BedrockAgentCore
|
|
586
741
|
# The branch filter criteria to apply when listing events.
|
587
742
|
# @return [Types::BranchFilter]
|
588
743
|
#
|
744
|
+
# @!attribute [rw] event_metadata
|
745
|
+
# Event metadata filter criteria to apply when retrieving events.
|
746
|
+
# @return [Array<Types::EventMetadataFilterExpression>]
|
747
|
+
#
|
589
748
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/FilterInput AWS API Documentation
|
590
749
|
#
|
591
750
|
class FilterInput < Struct.new(
|
592
|
-
:branch
|
751
|
+
:branch,
|
752
|
+
:event_metadata)
|
753
|
+
SENSITIVE = []
|
754
|
+
include Aws::Structure
|
755
|
+
end
|
756
|
+
|
757
|
+
# @!attribute [rw] runtime_session_id
|
758
|
+
# The session ID that the AgentCore Runtime agent is using.
|
759
|
+
#
|
760
|
+
# **A suitable default value is auto-generated.** You should normally
|
761
|
+
# not need to pass this option.
|
762
|
+
# @return [String]
|
763
|
+
#
|
764
|
+
# @!attribute [rw] agent_runtime_arn
|
765
|
+
# The ARN of the AgentCore Runtime agent for which you want to get the
|
766
|
+
# A2A agent card.
|
767
|
+
# @return [String]
|
768
|
+
#
|
769
|
+
# @!attribute [rw] qualifier
|
770
|
+
# Optional qualifier to specify an agent alias, such as `prod`code>
|
771
|
+
# or `dev`. If you don't provide a value, the DEFAULT alias is used.
|
772
|
+
# @return [String]
|
773
|
+
#
|
774
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetAgentCardRequest AWS API Documentation
|
775
|
+
#
|
776
|
+
class GetAgentCardRequest < Struct.new(
|
777
|
+
:runtime_session_id,
|
778
|
+
:agent_runtime_arn,
|
779
|
+
:qualifier)
|
780
|
+
SENSITIVE = []
|
781
|
+
include Aws::Structure
|
782
|
+
end
|
783
|
+
|
784
|
+
# @!attribute [rw] runtime_session_id
|
785
|
+
# The ID of the session associated with the AgentCore Runtime agent.
|
786
|
+
# @return [String]
|
787
|
+
#
|
788
|
+
# @!attribute [rw] agent_card
|
789
|
+
# An agent card document that contains metadata and capabilities for
|
790
|
+
# an AgentCore Runtime agent.
|
791
|
+
# @return [Hash,Array,String,Numeric,Boolean]
|
792
|
+
#
|
793
|
+
# @!attribute [rw] status_code
|
794
|
+
# The status code of the request.
|
795
|
+
# @return [Integer]
|
796
|
+
#
|
797
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetAgentCardResponse AWS API Documentation
|
798
|
+
#
|
799
|
+
class GetAgentCardResponse < Struct.new(
|
800
|
+
:runtime_session_id,
|
801
|
+
:agent_card,
|
802
|
+
:status_code)
|
593
803
|
SENSITIVE = []
|
594
804
|
include Aws::Structure
|
595
805
|
end
|
@@ -801,12 +1011,13 @@ module Aws::BedrockAgentCore
|
|
801
1011
|
end
|
802
1012
|
|
803
1013
|
# @!attribute [rw] workload_identity_token
|
804
|
-
# The identity token of the workload you want to
|
1014
|
+
# The identity token of the workload from which you want to retrieve
|
1015
|
+
# the API key.
|
805
1016
|
# @return [String]
|
806
1017
|
#
|
807
1018
|
# @!attribute [rw] resource_credential_provider_name
|
808
|
-
# The credential provider name
|
809
|
-
# API
|
1019
|
+
# The credential provider name for the resource from which you are
|
1020
|
+
# retrieving the API key.
|
810
1021
|
# @return [String]
|
811
1022
|
#
|
812
1023
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetResourceApiKeyRequest AWS API Documentation
|
@@ -819,7 +1030,7 @@ module Aws::BedrockAgentCore
|
|
819
1030
|
end
|
820
1031
|
|
821
1032
|
# @!attribute [rw] api_key
|
822
|
-
# The API
|
1033
|
+
# The API key associated with the resource requested.
|
823
1034
|
# @return [String]
|
824
1035
|
#
|
825
1036
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetResourceApiKeyResponse AWS API Documentation
|
@@ -831,35 +1042,38 @@ module Aws::BedrockAgentCore
|
|
831
1042
|
end
|
832
1043
|
|
833
1044
|
# @!attribute [rw] workload_identity_token
|
834
|
-
# The identity token of the workload you want to
|
835
|
-
#
|
1045
|
+
# The identity token of the workload from which you want to retrieve
|
1046
|
+
# the OAuth2 token.
|
836
1047
|
# @return [String]
|
837
1048
|
#
|
838
1049
|
# @!attribute [rw] resource_credential_provider_name
|
839
|
-
#
|
1050
|
+
# The name of the resource's credential provider.
|
840
1051
|
# @return [String]
|
841
1052
|
#
|
842
1053
|
# @!attribute [rw] scopes
|
843
|
-
# The OAuth scopes requested
|
1054
|
+
# The OAuth scopes being requested.
|
844
1055
|
# @return [Array<String>]
|
845
1056
|
#
|
846
1057
|
# @!attribute [rw] oauth2_flow
|
847
|
-
# The type of flow to be performed
|
1058
|
+
# The type of flow to be performed.
|
848
1059
|
# @return [String]
|
849
1060
|
#
|
850
1061
|
# @!attribute [rw] resource_oauth_2_return_url
|
851
|
-
#
|
852
|
-
# one of the
|
1062
|
+
# The callback URL to redirect to after the OAuth 2.0 token retrieval
|
1063
|
+
# is complete. This URL must be one of the provided URLs configured
|
1064
|
+
# for the workload identity.
|
853
1065
|
# @return [String]
|
854
1066
|
#
|
855
1067
|
# @!attribute [rw] force_authentication
|
856
|
-
#
|
1068
|
+
# Indicates whether to always initiate a new three-legged OAuth (3LO)
|
1069
|
+
# flow, regardless of any existing session.
|
857
1070
|
# @return [Boolean]
|
858
1071
|
#
|
859
1072
|
# @!attribute [rw] custom_parameters
|
860
|
-
#
|
861
|
-
#
|
862
|
-
#
|
1073
|
+
# A map of custom parameters to include in the authorization request
|
1074
|
+
# to the resource credential provider. These parameters are in
|
1075
|
+
# addition to the standard OAuth 2.0 flow parameters, and will not
|
1076
|
+
# override them.
|
863
1077
|
# @return [Hash<String,String>]
|
864
1078
|
#
|
865
1079
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetResourceOauth2TokenRequest AWS API Documentation
|
@@ -877,12 +1091,12 @@ module Aws::BedrockAgentCore
|
|
877
1091
|
end
|
878
1092
|
|
879
1093
|
# @!attribute [rw] authorization_url
|
880
|
-
# The URL
|
881
|
-
# requires user
|
1094
|
+
# The URL to initiate the authorization process, provided when the
|
1095
|
+
# access token requires user authorization.
|
882
1096
|
# @return [String]
|
883
1097
|
#
|
884
1098
|
# @!attribute [rw] access_token
|
885
|
-
#
|
1099
|
+
# The OAuth 2.0 access token to use.
|
886
1100
|
# @return [String]
|
887
1101
|
#
|
888
1102
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetResourceOauth2TokenResponse AWS API Documentation
|
@@ -895,11 +1109,11 @@ module Aws::BedrockAgentCore
|
|
895
1109
|
end
|
896
1110
|
|
897
1111
|
# @!attribute [rw] workload_name
|
898
|
-
#
|
1112
|
+
# The unique identifier for the registered workload.
|
899
1113
|
# @return [String]
|
900
1114
|
#
|
901
1115
|
# @!attribute [rw] user_token
|
902
|
-
#
|
1116
|
+
# The OAuth 2.0 token issued by the user's identity provider.
|
903
1117
|
# @return [String]
|
904
1118
|
#
|
905
1119
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetWorkloadAccessTokenForJWTRequest AWS API Documentation
|
@@ -912,7 +1126,8 @@ module Aws::BedrockAgentCore
|
|
912
1126
|
end
|
913
1127
|
|
914
1128
|
# @!attribute [rw] workload_access_token
|
915
|
-
#
|
1129
|
+
# An opaque token representing the identity of both the workload and
|
1130
|
+
# the user.
|
916
1131
|
# @return [String]
|
917
1132
|
#
|
918
1133
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetWorkloadAccessTokenForJWTResponse AWS API Documentation
|
@@ -924,11 +1139,12 @@ module Aws::BedrockAgentCore
|
|
924
1139
|
end
|
925
1140
|
|
926
1141
|
# @!attribute [rw] workload_name
|
927
|
-
# The name of the
|
1142
|
+
# The name of the workload from which you want to retrieve the access
|
1143
|
+
# token.
|
928
1144
|
# @return [String]
|
929
1145
|
#
|
930
1146
|
# @!attribute [rw] user_id
|
931
|
-
# The
|
1147
|
+
# The ID of the user for whom you are retrieving the access token.
|
932
1148
|
# @return [String]
|
933
1149
|
#
|
934
1150
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetWorkloadAccessTokenForUserIdRequest AWS API Documentation
|
@@ -941,7 +1157,7 @@ module Aws::BedrockAgentCore
|
|
941
1157
|
end
|
942
1158
|
|
943
1159
|
# @!attribute [rw] workload_access_token
|
944
|
-
# The
|
1160
|
+
# The access token for the specified workload.
|
945
1161
|
# @return [String]
|
946
1162
|
#
|
947
1163
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetWorkloadAccessTokenForUserIdResponse AWS API Documentation
|
@@ -953,7 +1169,7 @@ module Aws::BedrockAgentCore
|
|
953
1169
|
end
|
954
1170
|
|
955
1171
|
# @!attribute [rw] workload_name
|
956
|
-
#
|
1172
|
+
# The unique identifier for the registered workload.
|
957
1173
|
# @return [String]
|
958
1174
|
#
|
959
1175
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetWorkloadAccessTokenRequest AWS API Documentation
|
@@ -965,7 +1181,8 @@ module Aws::BedrockAgentCore
|
|
965
1181
|
end
|
966
1182
|
|
967
1183
|
# @!attribute [rw] workload_access_token
|
968
|
-
#
|
1184
|
+
# An opaque token representing the identity of both the workload and
|
1185
|
+
# the user.
|
969
1186
|
# @return [String]
|
970
1187
|
#
|
971
1188
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/GetWorkloadAccessTokenResponse AWS API Documentation
|
@@ -1236,6 +1453,27 @@ module Aws::BedrockAgentCore
|
|
1236
1453
|
include Aws::Structure
|
1237
1454
|
end
|
1238
1455
|
|
1456
|
+
# Left expression of the event metadata filter.
|
1457
|
+
#
|
1458
|
+
# @note LeftExpression is a union - when making an API calls you must set exactly one of the members.
|
1459
|
+
#
|
1460
|
+
# @!attribute [rw] metadata_key
|
1461
|
+
# Key associated with the metadata in an event.
|
1462
|
+
# @return [String]
|
1463
|
+
#
|
1464
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/LeftExpression AWS API Documentation
|
1465
|
+
#
|
1466
|
+
class LeftExpression < Struct.new(
|
1467
|
+
:metadata_key,
|
1468
|
+
:unknown)
|
1469
|
+
SENSITIVE = []
|
1470
|
+
include Aws::Structure
|
1471
|
+
include Aws::Structure::Union
|
1472
|
+
|
1473
|
+
class MetadataKey < LeftExpression; end
|
1474
|
+
class Unknown < LeftExpression; end
|
1475
|
+
end
|
1476
|
+
|
1239
1477
|
# @!attribute [rw] memory_id
|
1240
1478
|
# The identifier of the AgentCore Memory resource for which to list
|
1241
1479
|
# actors.
|
@@ -1590,6 +1828,8 @@ module Aws::BedrockAgentCore
|
|
1590
1828
|
|
1591
1829
|
# Contains the content of a memory record.
|
1592
1830
|
#
|
1831
|
+
# @note MemoryContent is a union - when making an API calls you must set exactly one of the members.
|
1832
|
+
#
|
1593
1833
|
# @note MemoryContent is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of MemoryContent corresponding to the set member.
|
1594
1834
|
#
|
1595
1835
|
# @!attribute [rw] text
|
@@ -1645,6 +1885,94 @@ module Aws::BedrockAgentCore
|
|
1645
1885
|
include Aws::Structure
|
1646
1886
|
end
|
1647
1887
|
|
1888
|
+
# Input structure to create a new memory record.
|
1889
|
+
#
|
1890
|
+
# @!attribute [rw] request_identifier
|
1891
|
+
# A client-provided identifier for tracking this specific record
|
1892
|
+
# creation request.
|
1893
|
+
# @return [String]
|
1894
|
+
#
|
1895
|
+
# @!attribute [rw] namespaces
|
1896
|
+
# A list of namespace identifiers that categorize or group the memory
|
1897
|
+
# record.
|
1898
|
+
# @return [Array<String>]
|
1899
|
+
#
|
1900
|
+
# @!attribute [rw] content
|
1901
|
+
# The content to be stored within the memory record.
|
1902
|
+
# @return [Types::MemoryContent]
|
1903
|
+
#
|
1904
|
+
# @!attribute [rw] timestamp
|
1905
|
+
# Time at which the memory record was created.
|
1906
|
+
# @return [Time]
|
1907
|
+
#
|
1908
|
+
# @!attribute [rw] memory_strategy_id
|
1909
|
+
# The ID of the memory strategy that defines how this memory record is
|
1910
|
+
# grouped.
|
1911
|
+
# @return [String]
|
1912
|
+
#
|
1913
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryRecordCreateInput AWS API Documentation
|
1914
|
+
#
|
1915
|
+
class MemoryRecordCreateInput < Struct.new(
|
1916
|
+
:request_identifier,
|
1917
|
+
:namespaces,
|
1918
|
+
:content,
|
1919
|
+
:timestamp,
|
1920
|
+
:memory_strategy_id)
|
1921
|
+
SENSITIVE = []
|
1922
|
+
include Aws::Structure
|
1923
|
+
end
|
1924
|
+
|
1925
|
+
# Input structure to delete an existing memory record.
|
1926
|
+
#
|
1927
|
+
# @!attribute [rw] memory_record_id
|
1928
|
+
# The unique ID of the memory record to be deleted.
|
1929
|
+
# @return [String]
|
1930
|
+
#
|
1931
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryRecordDeleteInput AWS API Documentation
|
1932
|
+
#
|
1933
|
+
class MemoryRecordDeleteInput < Struct.new(
|
1934
|
+
:memory_record_id)
|
1935
|
+
SENSITIVE = []
|
1936
|
+
include Aws::Structure
|
1937
|
+
end
|
1938
|
+
|
1939
|
+
# Output information returned after processing a memory record
|
1940
|
+
# operation.
|
1941
|
+
#
|
1942
|
+
# @!attribute [rw] memory_record_id
|
1943
|
+
# The unique ID associated to the memory record.
|
1944
|
+
# @return [String]
|
1945
|
+
#
|
1946
|
+
# @!attribute [rw] status
|
1947
|
+
# The status of the memory record operation (e.g., SUCCEEDED, FAILED).
|
1948
|
+
# @return [String]
|
1949
|
+
#
|
1950
|
+
# @!attribute [rw] request_identifier
|
1951
|
+
# The client-provided identifier that was used to track this record
|
1952
|
+
# operation.
|
1953
|
+
# @return [String]
|
1954
|
+
#
|
1955
|
+
# @!attribute [rw] error_code
|
1956
|
+
# The error code returned when the memory record operation fails.
|
1957
|
+
# @return [Integer]
|
1958
|
+
#
|
1959
|
+
# @!attribute [rw] error_message
|
1960
|
+
# A human-readable error message describing why the memory record
|
1961
|
+
# operation failed.
|
1962
|
+
# @return [String]
|
1963
|
+
#
|
1964
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryRecordOutput AWS API Documentation
|
1965
|
+
#
|
1966
|
+
class MemoryRecordOutput < Struct.new(
|
1967
|
+
:memory_record_id,
|
1968
|
+
:status,
|
1969
|
+
:request_identifier,
|
1970
|
+
:error_code,
|
1971
|
+
:error_message)
|
1972
|
+
SENSITIVE = []
|
1973
|
+
include Aws::Structure
|
1974
|
+
end
|
1975
|
+
|
1648
1976
|
# Contains summary information about a memory record.
|
1649
1977
|
#
|
1650
1978
|
# @!attribute [rw] memory_record_id
|
@@ -1686,6 +2014,65 @@ module Aws::BedrockAgentCore
|
|
1686
2014
|
include Aws::Structure
|
1687
2015
|
end
|
1688
2016
|
|
2017
|
+
# Input structure to update an existing memory record.
|
2018
|
+
#
|
2019
|
+
# @!attribute [rw] memory_record_id
|
2020
|
+
# The unique ID of the memory record to be updated.
|
2021
|
+
# @return [String]
|
2022
|
+
#
|
2023
|
+
# @!attribute [rw] timestamp
|
2024
|
+
# Time at which the memory record was updated
|
2025
|
+
# @return [Time]
|
2026
|
+
#
|
2027
|
+
# @!attribute [rw] content
|
2028
|
+
# The content to be stored within the memory record.
|
2029
|
+
# @return [Types::MemoryContent]
|
2030
|
+
#
|
2031
|
+
# @!attribute [rw] namespaces
|
2032
|
+
# The updated list of namespace identifiers for categorizing the
|
2033
|
+
# memory record.
|
2034
|
+
# @return [Array<String>]
|
2035
|
+
#
|
2036
|
+
# @!attribute [rw] memory_strategy_id
|
2037
|
+
# The updated ID of the memory strategy that defines how this memory
|
2038
|
+
# record is grouped.
|
2039
|
+
# @return [String]
|
2040
|
+
#
|
2041
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryRecordUpdateInput AWS API Documentation
|
2042
|
+
#
|
2043
|
+
class MemoryRecordUpdateInput < Struct.new(
|
2044
|
+
:memory_record_id,
|
2045
|
+
:timestamp,
|
2046
|
+
:content,
|
2047
|
+
:namespaces,
|
2048
|
+
:memory_strategy_id)
|
2049
|
+
SENSITIVE = []
|
2050
|
+
include Aws::Structure
|
2051
|
+
end
|
2052
|
+
|
2053
|
+
# Value associated with the `eventMetadata` key.
|
2054
|
+
#
|
2055
|
+
# @note MetadataValue is a union - when making an API calls you must set exactly one of the members.
|
2056
|
+
#
|
2057
|
+
# @note MetadataValue is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of MetadataValue corresponding to the set member.
|
2058
|
+
#
|
2059
|
+
# @!attribute [rw] string_value
|
2060
|
+
# Value associated with the `eventMetadata` key.
|
2061
|
+
# @return [String]
|
2062
|
+
#
|
2063
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MetadataValue AWS API Documentation
|
2064
|
+
#
|
2065
|
+
class MetadataValue < Struct.new(
|
2066
|
+
:string_value,
|
2067
|
+
:unknown)
|
2068
|
+
SENSITIVE = []
|
2069
|
+
include Aws::Structure
|
2070
|
+
include Aws::Structure::Union
|
2071
|
+
|
2072
|
+
class StringValue < MetadataValue; end
|
2073
|
+
class Unknown < MetadataValue; end
|
2074
|
+
end
|
2075
|
+
|
1689
2076
|
# Contains the payload content for an event.
|
1690
2077
|
#
|
1691
2078
|
# @note PayloadType is a union - when making an API calls you must set exactly one of the members.
|
@@ -1824,6 +2211,27 @@ module Aws::BedrockAgentCore
|
|
1824
2211
|
include Aws::Structure
|
1825
2212
|
end
|
1826
2213
|
|
2214
|
+
# Right expression of the `eventMetadata`filter.
|
2215
|
+
#
|
2216
|
+
# @note RightExpression is a union - when making an API calls you must set exactly one of the members.
|
2217
|
+
#
|
2218
|
+
# @!attribute [rw] metadata_value
|
2219
|
+
# Value associated with the key in `eventMetadata`.
|
2220
|
+
# @return [Types::MetadataValue]
|
2221
|
+
#
|
2222
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/RightExpression AWS API Documentation
|
2223
|
+
#
|
2224
|
+
class RightExpression < Struct.new(
|
2225
|
+
:metadata_value,
|
2226
|
+
:unknown)
|
2227
|
+
SENSITIVE = []
|
2228
|
+
include Aws::Structure
|
2229
|
+
include Aws::Structure::Union
|
2230
|
+
|
2231
|
+
class MetadataValue < RightExpression; end
|
2232
|
+
class Unknown < RightExpression; end
|
2233
|
+
end
|
2234
|
+
|
1827
2235
|
# The exception that occurs when there is an error in the runtime
|
1828
2236
|
# client. This can happen due to network issues, invalid configuration,
|
1829
2237
|
# or other client-side problems. Check the error message for specific
|
@@ -2010,9 +2418,9 @@ module Aws::BedrockAgentCore
|
|
2010
2418
|
#
|
2011
2419
|
# @!attribute [rw] session_timeout_seconds
|
2012
2420
|
# The time in seconds after which the session automatically terminates
|
2013
|
-
# if there is no activity. The default value is
|
2014
|
-
# The minimum allowed value is 60 seconds, and the maximum
|
2015
|
-
# value is 28800 seconds (8 hours).
|
2421
|
+
# if there is no activity. The default value is 900 seconds (15
|
2422
|
+
# minutes). The minimum allowed value is 60 seconds, and the maximum
|
2423
|
+
# allowed value is 28800 seconds (8 hours).
|
2016
2424
|
# @return [Integer]
|
2017
2425
|
#
|
2018
2426
|
# @!attribute [rw] client_token
|
@@ -2160,6 +2568,58 @@ module Aws::BedrockAgentCore
|
|
2160
2568
|
include Aws::Structure
|
2161
2569
|
end
|
2162
2570
|
|
2571
|
+
# @!attribute [rw] runtime_session_id
|
2572
|
+
# The ID of the session that you want to stop.
|
2573
|
+
# @return [String]
|
2574
|
+
#
|
2575
|
+
# @!attribute [rw] agent_runtime_arn
|
2576
|
+
# The ARN of the agent that contains the session that you want to
|
2577
|
+
# stop.
|
2578
|
+
# @return [String]
|
2579
|
+
#
|
2580
|
+
# @!attribute [rw] qualifier
|
2581
|
+
# Optional qualifier to specify an agent alias, such as `prod`code>
|
2582
|
+
# or `dev`. If you don't provide a value, the DEFAULT alias is used.
|
2583
|
+
# @return [String]
|
2584
|
+
#
|
2585
|
+
# @!attribute [rw] client_token
|
2586
|
+
# Idempotent token used to identify the request. If you use the same
|
2587
|
+
# token with multiple requests, the same response is returned. Use
|
2588
|
+
# ClientToken to prevent the same request from being processed more
|
2589
|
+
# than once.
|
2590
|
+
#
|
2591
|
+
# **A suitable default value is auto-generated.** You should normally
|
2592
|
+
# not need to pass this option.
|
2593
|
+
# @return [String]
|
2594
|
+
#
|
2595
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StopRuntimeSessionRequest AWS API Documentation
|
2596
|
+
#
|
2597
|
+
class StopRuntimeSessionRequest < Struct.new(
|
2598
|
+
:runtime_session_id,
|
2599
|
+
:agent_runtime_arn,
|
2600
|
+
:qualifier,
|
2601
|
+
:client_token)
|
2602
|
+
SENSITIVE = []
|
2603
|
+
include Aws::Structure
|
2604
|
+
end
|
2605
|
+
|
2606
|
+
# @!attribute [rw] runtime_session_id
|
2607
|
+
# The ID of the session that you requested to stop.
|
2608
|
+
# @return [String]
|
2609
|
+
#
|
2610
|
+
# @!attribute [rw] status_code
|
2611
|
+
# The status code of the request to stop the session.
|
2612
|
+
# @return [Integer]
|
2613
|
+
#
|
2614
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StopRuntimeSessionResponse AWS API Documentation
|
2615
|
+
#
|
2616
|
+
class StopRuntimeSessionResponse < Struct.new(
|
2617
|
+
:runtime_session_id,
|
2618
|
+
:status_code)
|
2619
|
+
SENSITIVE = []
|
2620
|
+
include Aws::Structure
|
2621
|
+
end
|
2622
|
+
|
2163
2623
|
# Contains information about an update to a stream.
|
2164
2624
|
#
|
2165
2625
|
# @note StreamUpdate is a union - when making an API calls you must set exactly one of the members.
|