aws-sdk-bedrockagentcore 1.5.0 → 1.7.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.
@@ -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&gt;
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 get the API Key of.
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 of the resource you are retrieving the
809
- # API Key of.
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 Key associated with the resource requested.
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 retrive the Oauth2
835
- # Token of.
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
- # Reference to the credential provider
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
- # Callback url to redirect after token retrieval completes. Should be
852
- # one of the provideded urls during WorkloadIdentity creation
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
- # If true, always initiate a new 3LO flow
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
- # Gives the ability to send extra/custom parameters to the resource
861
- # credentials provider during the authorization process. Standard
862
- # OAuth2 flow parameters will not be overriden.
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 for the authorization process, provided if the Access token
881
- # requires user Authorization.
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
- # OAuth2 token ready for use
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
- # Unique identifier for the registered agent
1112
+ # The unique identifier for the registered workload.
899
1113
  # @return [String]
900
1114
  #
901
1115
  # @!attribute [rw] user_token
902
- # OAuth2 token issued by the user's identity provider
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
- # Opaque token representing both agent and user identity
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 worklaod you want to get the access token of.
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 user id of the user you are retrieving the access token for.
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 workload access token of the named workload.
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
- # Unique identifier for the registered agent
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
- # Opaque token representing both agent and user identity
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
@@ -1195,6 +1412,14 @@ module Aws::BedrockAgentCore
1195
1412
  # stopped, the request will fail.
1196
1413
  # @return [String]
1197
1414
  #
1415
+ # @!attribute [rw] trace_id
1416
+ # The trace identifier for request tracking.
1417
+ # @return [String]
1418
+ #
1419
+ # @!attribute [rw] trace_parent
1420
+ # The parent trace information for distributed tracing.
1421
+ # @return [String]
1422
+ #
1198
1423
  # @!attribute [rw] name
1199
1424
  # The name of the code interpreter to invoke.
1200
1425
  # @return [String]
@@ -1212,6 +1437,8 @@ module Aws::BedrockAgentCore
1212
1437
  class InvokeCodeInterpreterRequest < Struct.new(
1213
1438
  :code_interpreter_identifier,
1214
1439
  :session_id,
1440
+ :trace_id,
1441
+ :trace_parent,
1215
1442
  :name,
1216
1443
  :arguments)
1217
1444
  SENSITIVE = []
@@ -1236,6 +1463,27 @@ module Aws::BedrockAgentCore
1236
1463
  include Aws::Structure
1237
1464
  end
1238
1465
 
1466
+ # Left expression of the event metadata filter.
1467
+ #
1468
+ # @note LeftExpression is a union - when making an API calls you must set exactly one of the members.
1469
+ #
1470
+ # @!attribute [rw] metadata_key
1471
+ # Key associated with the metadata in an event.
1472
+ # @return [String]
1473
+ #
1474
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/LeftExpression AWS API Documentation
1475
+ #
1476
+ class LeftExpression < Struct.new(
1477
+ :metadata_key,
1478
+ :unknown)
1479
+ SENSITIVE = []
1480
+ include Aws::Structure
1481
+ include Aws::Structure::Union
1482
+
1483
+ class MetadataKey < LeftExpression; end
1484
+ class Unknown < LeftExpression; end
1485
+ end
1486
+
1239
1487
  # @!attribute [rw] memory_id
1240
1488
  # The identifier of the AgentCore Memory resource for which to list
1241
1489
  # actors.
@@ -1590,6 +1838,8 @@ module Aws::BedrockAgentCore
1590
1838
 
1591
1839
  # Contains the content of a memory record.
1592
1840
  #
1841
+ # @note MemoryContent is a union - when making an API calls you must set exactly one of the members.
1842
+ #
1593
1843
  # @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
1844
  #
1595
1845
  # @!attribute [rw] text
@@ -1645,6 +1895,94 @@ module Aws::BedrockAgentCore
1645
1895
  include Aws::Structure
1646
1896
  end
1647
1897
 
1898
+ # Input structure to create a new memory record.
1899
+ #
1900
+ # @!attribute [rw] request_identifier
1901
+ # A client-provided identifier for tracking this specific record
1902
+ # creation request.
1903
+ # @return [String]
1904
+ #
1905
+ # @!attribute [rw] namespaces
1906
+ # A list of namespace identifiers that categorize or group the memory
1907
+ # record.
1908
+ # @return [Array<String>]
1909
+ #
1910
+ # @!attribute [rw] content
1911
+ # The content to be stored within the memory record.
1912
+ # @return [Types::MemoryContent]
1913
+ #
1914
+ # @!attribute [rw] timestamp
1915
+ # Time at which the memory record was created.
1916
+ # @return [Time]
1917
+ #
1918
+ # @!attribute [rw] memory_strategy_id
1919
+ # The ID of the memory strategy that defines how this memory record is
1920
+ # grouped.
1921
+ # @return [String]
1922
+ #
1923
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryRecordCreateInput AWS API Documentation
1924
+ #
1925
+ class MemoryRecordCreateInput < Struct.new(
1926
+ :request_identifier,
1927
+ :namespaces,
1928
+ :content,
1929
+ :timestamp,
1930
+ :memory_strategy_id)
1931
+ SENSITIVE = []
1932
+ include Aws::Structure
1933
+ end
1934
+
1935
+ # Input structure to delete an existing memory record.
1936
+ #
1937
+ # @!attribute [rw] memory_record_id
1938
+ # The unique ID of the memory record to be deleted.
1939
+ # @return [String]
1940
+ #
1941
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryRecordDeleteInput AWS API Documentation
1942
+ #
1943
+ class MemoryRecordDeleteInput < Struct.new(
1944
+ :memory_record_id)
1945
+ SENSITIVE = []
1946
+ include Aws::Structure
1947
+ end
1948
+
1949
+ # Output information returned after processing a memory record
1950
+ # operation.
1951
+ #
1952
+ # @!attribute [rw] memory_record_id
1953
+ # The unique ID associated to the memory record.
1954
+ # @return [String]
1955
+ #
1956
+ # @!attribute [rw] status
1957
+ # The status of the memory record operation (e.g., SUCCEEDED, FAILED).
1958
+ # @return [String]
1959
+ #
1960
+ # @!attribute [rw] request_identifier
1961
+ # The client-provided identifier that was used to track this record
1962
+ # operation.
1963
+ # @return [String]
1964
+ #
1965
+ # @!attribute [rw] error_code
1966
+ # The error code returned when the memory record operation fails.
1967
+ # @return [Integer]
1968
+ #
1969
+ # @!attribute [rw] error_message
1970
+ # A human-readable error message describing why the memory record
1971
+ # operation failed.
1972
+ # @return [String]
1973
+ #
1974
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryRecordOutput AWS API Documentation
1975
+ #
1976
+ class MemoryRecordOutput < Struct.new(
1977
+ :memory_record_id,
1978
+ :status,
1979
+ :request_identifier,
1980
+ :error_code,
1981
+ :error_message)
1982
+ SENSITIVE = []
1983
+ include Aws::Structure
1984
+ end
1985
+
1648
1986
  # Contains summary information about a memory record.
1649
1987
  #
1650
1988
  # @!attribute [rw] memory_record_id
@@ -1686,6 +2024,65 @@ module Aws::BedrockAgentCore
1686
2024
  include Aws::Structure
1687
2025
  end
1688
2026
 
2027
+ # Input structure to update an existing memory record.
2028
+ #
2029
+ # @!attribute [rw] memory_record_id
2030
+ # The unique ID of the memory record to be updated.
2031
+ # @return [String]
2032
+ #
2033
+ # @!attribute [rw] timestamp
2034
+ # Time at which the memory record was updated
2035
+ # @return [Time]
2036
+ #
2037
+ # @!attribute [rw] content
2038
+ # The content to be stored within the memory record.
2039
+ # @return [Types::MemoryContent]
2040
+ #
2041
+ # @!attribute [rw] namespaces
2042
+ # The updated list of namespace identifiers for categorizing the
2043
+ # memory record.
2044
+ # @return [Array<String>]
2045
+ #
2046
+ # @!attribute [rw] memory_strategy_id
2047
+ # The updated ID of the memory strategy that defines how this memory
2048
+ # record is grouped.
2049
+ # @return [String]
2050
+ #
2051
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MemoryRecordUpdateInput AWS API Documentation
2052
+ #
2053
+ class MemoryRecordUpdateInput < Struct.new(
2054
+ :memory_record_id,
2055
+ :timestamp,
2056
+ :content,
2057
+ :namespaces,
2058
+ :memory_strategy_id)
2059
+ SENSITIVE = []
2060
+ include Aws::Structure
2061
+ end
2062
+
2063
+ # Value associated with the `eventMetadata` key.
2064
+ #
2065
+ # @note MetadataValue is a union - when making an API calls you must set exactly one of the members.
2066
+ #
2067
+ # @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.
2068
+ #
2069
+ # @!attribute [rw] string_value
2070
+ # Value associated with the `eventMetadata` key.
2071
+ # @return [String]
2072
+ #
2073
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/MetadataValue AWS API Documentation
2074
+ #
2075
+ class MetadataValue < Struct.new(
2076
+ :string_value,
2077
+ :unknown)
2078
+ SENSITIVE = []
2079
+ include Aws::Structure
2080
+ include Aws::Structure::Union
2081
+
2082
+ class StringValue < MetadataValue; end
2083
+ class Unknown < MetadataValue; end
2084
+ end
2085
+
1689
2086
  # Contains the payload content for an event.
1690
2087
  #
1691
2088
  # @note PayloadType is a union - when making an API calls you must set exactly one of the members.
@@ -1824,6 +2221,27 @@ module Aws::BedrockAgentCore
1824
2221
  include Aws::Structure
1825
2222
  end
1826
2223
 
2224
+ # Right expression of the `eventMetadata`filter.
2225
+ #
2226
+ # @note RightExpression is a union - when making an API calls you must set exactly one of the members.
2227
+ #
2228
+ # @!attribute [rw] metadata_value
2229
+ # Value associated with the key in `eventMetadata`.
2230
+ # @return [Types::MetadataValue]
2231
+ #
2232
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/RightExpression AWS API Documentation
2233
+ #
2234
+ class RightExpression < Struct.new(
2235
+ :metadata_value,
2236
+ :unknown)
2237
+ SENSITIVE = []
2238
+ include Aws::Structure
2239
+ include Aws::Structure::Union
2240
+
2241
+ class MetadataValue < RightExpression; end
2242
+ class Unknown < RightExpression; end
2243
+ end
2244
+
1827
2245
  # The exception that occurs when there is an error in the runtime
1828
2246
  # client. This can happen due to network issues, invalid configuration,
1829
2247
  # or other client-side problems. Check the error message for specific
@@ -1920,6 +2338,14 @@ module Aws::BedrockAgentCore
1920
2338
  include Aws::Structure
1921
2339
  end
1922
2340
 
2341
+ # @!attribute [rw] trace_id
2342
+ # The trace identifier for request tracking.
2343
+ # @return [String]
2344
+ #
2345
+ # @!attribute [rw] trace_parent
2346
+ # The parent trace information for distributed tracing.
2347
+ # @return [String]
2348
+ #
1923
2349
  # @!attribute [rw] browser_identifier
1924
2350
  # The unique identifier of the browser to use for this session. This
1925
2351
  # identifier specifies which browser environment to initialize for the
@@ -1959,6 +2385,8 @@ module Aws::BedrockAgentCore
1959
2385
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StartBrowserSessionRequest AWS API Documentation
1960
2386
  #
1961
2387
  class StartBrowserSessionRequest < Struct.new(
2388
+ :trace_id,
2389
+ :trace_parent,
1962
2390
  :browser_identifier,
1963
2391
  :name,
1964
2392
  :session_timeout_seconds,
@@ -1996,6 +2424,14 @@ module Aws::BedrockAgentCore
1996
2424
  include Aws::Structure
1997
2425
  end
1998
2426
 
2427
+ # @!attribute [rw] trace_id
2428
+ # The trace identifier for request tracking.
2429
+ # @return [String]
2430
+ #
2431
+ # @!attribute [rw] trace_parent
2432
+ # The parent trace information for distributed tracing.
2433
+ # @return [String]
2434
+ #
1999
2435
  # @!attribute [rw] code_interpreter_identifier
2000
2436
  # The unique identifier of the code interpreter to use for this
2001
2437
  # session. This identifier specifies which code interpreter
@@ -2010,9 +2446,9 @@ module Aws::BedrockAgentCore
2010
2446
  #
2011
2447
  # @!attribute [rw] session_timeout_seconds
2012
2448
  # The time in seconds after which the session automatically terminates
2013
- # if there is no activity. The default value is 3600 seconds (1 hour).
2014
- # The minimum allowed value is 60 seconds, and the maximum allowed
2015
- # value is 28800 seconds (8 hours).
2449
+ # if there is no activity. The default value is 900 seconds (15
2450
+ # minutes). The minimum allowed value is 60 seconds, and the maximum
2451
+ # allowed value is 28800 seconds (8 hours).
2016
2452
  # @return [Integer]
2017
2453
  #
2018
2454
  # @!attribute [rw] client_token
@@ -2029,6 +2465,8 @@ module Aws::BedrockAgentCore
2029
2465
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StartCodeInterpreterSessionRequest AWS API Documentation
2030
2466
  #
2031
2467
  class StartCodeInterpreterSessionRequest < Struct.new(
2468
+ :trace_id,
2469
+ :trace_parent,
2032
2470
  :code_interpreter_identifier,
2033
2471
  :name,
2034
2472
  :session_timeout_seconds,
@@ -2059,6 +2497,14 @@ module Aws::BedrockAgentCore
2059
2497
  include Aws::Structure
2060
2498
  end
2061
2499
 
2500
+ # @!attribute [rw] trace_id
2501
+ # The trace identifier for request tracking.
2502
+ # @return [String]
2503
+ #
2504
+ # @!attribute [rw] trace_parent
2505
+ # The parent trace information for distributed tracing.
2506
+ # @return [String]
2507
+ #
2062
2508
  # @!attribute [rw] browser_identifier
2063
2509
  # The unique identifier of the browser associated with the session.
2064
2510
  # @return [String]
@@ -2080,6 +2526,8 @@ module Aws::BedrockAgentCore
2080
2526
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StopBrowserSessionRequest AWS API Documentation
2081
2527
  #
2082
2528
  class StopBrowserSessionRequest < Struct.new(
2529
+ :trace_id,
2530
+ :trace_parent,
2083
2531
  :browser_identifier,
2084
2532
  :session_id,
2085
2533
  :client_token)
@@ -2109,6 +2557,14 @@ module Aws::BedrockAgentCore
2109
2557
  include Aws::Structure
2110
2558
  end
2111
2559
 
2560
+ # @!attribute [rw] trace_id
2561
+ # The trace identifier for request tracking.
2562
+ # @return [String]
2563
+ #
2564
+ # @!attribute [rw] trace_parent
2565
+ # The parent trace information for distributed tracing.
2566
+ # @return [String]
2567
+ #
2112
2568
  # @!attribute [rw] code_interpreter_identifier
2113
2569
  # The unique identifier of the code interpreter associated with the
2114
2570
  # session.
@@ -2131,6 +2587,8 @@ module Aws::BedrockAgentCore
2131
2587
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StopCodeInterpreterSessionRequest AWS API Documentation
2132
2588
  #
2133
2589
  class StopCodeInterpreterSessionRequest < Struct.new(
2590
+ :trace_id,
2591
+ :trace_parent,
2134
2592
  :code_interpreter_identifier,
2135
2593
  :session_id,
2136
2594
  :client_token)
@@ -2160,6 +2618,58 @@ module Aws::BedrockAgentCore
2160
2618
  include Aws::Structure
2161
2619
  end
2162
2620
 
2621
+ # @!attribute [rw] runtime_session_id
2622
+ # The ID of the session that you want to stop.
2623
+ # @return [String]
2624
+ #
2625
+ # @!attribute [rw] agent_runtime_arn
2626
+ # The ARN of the agent that contains the session that you want to
2627
+ # stop.
2628
+ # @return [String]
2629
+ #
2630
+ # @!attribute [rw] qualifier
2631
+ # Optional qualifier to specify an agent alias, such as `prod`code&gt;
2632
+ # or `dev`. If you don't provide a value, the DEFAULT alias is used.
2633
+ # @return [String]
2634
+ #
2635
+ # @!attribute [rw] client_token
2636
+ # Idempotent token used to identify the request. If you use the same
2637
+ # token with multiple requests, the same response is returned. Use
2638
+ # ClientToken to prevent the same request from being processed more
2639
+ # than once.
2640
+ #
2641
+ # **A suitable default value is auto-generated.** You should normally
2642
+ # not need to pass this option.
2643
+ # @return [String]
2644
+ #
2645
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StopRuntimeSessionRequest AWS API Documentation
2646
+ #
2647
+ class StopRuntimeSessionRequest < Struct.new(
2648
+ :runtime_session_id,
2649
+ :agent_runtime_arn,
2650
+ :qualifier,
2651
+ :client_token)
2652
+ SENSITIVE = []
2653
+ include Aws::Structure
2654
+ end
2655
+
2656
+ # @!attribute [rw] runtime_session_id
2657
+ # The ID of the session that you requested to stop.
2658
+ # @return [String]
2659
+ #
2660
+ # @!attribute [rw] status_code
2661
+ # The status code of the request to stop the session.
2662
+ # @return [Integer]
2663
+ #
2664
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/StopRuntimeSessionResponse AWS API Documentation
2665
+ #
2666
+ class StopRuntimeSessionResponse < Struct.new(
2667
+ :runtime_session_id,
2668
+ :status_code)
2669
+ SENSITIVE = []
2670
+ include Aws::Structure
2671
+ end
2672
+
2163
2673
  # Contains information about an update to a stream.
2164
2674
  #
2165
2675
  # @note StreamUpdate is a union - when making an API calls you must set exactly one of the members.