aws-sdk-bedrockagentcore 1.16.0 → 1.18.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 +177 -50
- data/lib/aws-sdk-bedrockagentcore/client_api.rb +99 -30
- data/lib/aws-sdk-bedrockagentcore/errors.rb +20 -0
- data/lib/aws-sdk-bedrockagentcore/types.rb +258 -46
- data/lib/aws-sdk-bedrockagentcore.rb +1 -1
- data/sig/client.rbs +34 -0
- data/sig/errors.rbs +3 -0
- data/sig/types.rbs +55 -0
- metadata +1 -1
|
@@ -37,6 +37,10 @@ module Aws::BedrockAgentCore
|
|
|
37
37
|
Branch = Shapes::StructureShape.new(name: 'Branch')
|
|
38
38
|
BranchFilter = Shapes::StructureShape.new(name: 'BranchFilter')
|
|
39
39
|
BranchName = Shapes::StringShape.new(name: 'BranchName')
|
|
40
|
+
BrowserExtension = Shapes::StructureShape.new(name: 'BrowserExtension')
|
|
41
|
+
BrowserExtensions = Shapes::ListShape.new(name: 'BrowserExtensions')
|
|
42
|
+
BrowserProfileConfiguration = Shapes::StructureShape.new(name: 'BrowserProfileConfiguration')
|
|
43
|
+
BrowserProfileId = Shapes::StringShape.new(name: 'BrowserProfileId')
|
|
40
44
|
BrowserSessionId = Shapes::StringShape.new(name: 'BrowserSessionId')
|
|
41
45
|
BrowserSessionStatus = Shapes::StringShape.new(name: 'BrowserSessionStatus')
|
|
42
46
|
BrowserSessionStream = Shapes::StructureShape.new(name: 'BrowserSessionStream')
|
|
@@ -198,14 +202,24 @@ module Aws::BedrockAgentCore
|
|
|
198
202
|
RequestUri = Shapes::StringShape.new(name: 'RequestUri')
|
|
199
203
|
ResourceContent = Shapes::StructureShape.new(name: 'ResourceContent')
|
|
200
204
|
ResourceContentType = Shapes::StringShape.new(name: 'ResourceContentType')
|
|
205
|
+
ResourceLocation = Shapes::UnionShape.new(name: 'ResourceLocation')
|
|
201
206
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
|
202
207
|
ResourceOauth2ReturnUrlType = Shapes::StringShape.new(name: 'ResourceOauth2ReturnUrlType')
|
|
203
208
|
ResponseStream = Shapes::BlobShape.new(name: 'ResponseStream', streaming: true)
|
|
204
209
|
RetrieveMemoryRecordsInput = Shapes::StructureShape.new(name: 'RetrieveMemoryRecordsInput')
|
|
205
210
|
RetrieveMemoryRecordsOutput = Shapes::StructureShape.new(name: 'RetrieveMemoryRecordsOutput')
|
|
211
|
+
RetryableConflictException = Shapes::StructureShape.new(name: 'RetryableConflictException')
|
|
206
212
|
RightExpression = Shapes::UnionShape.new(name: 'RightExpression')
|
|
207
213
|
Role = Shapes::StringShape.new(name: 'Role')
|
|
208
214
|
RuntimeClientError = Shapes::StructureShape.new(name: 'RuntimeClientError')
|
|
215
|
+
S3Location = Shapes::StructureShape.new(name: 'S3Location')
|
|
216
|
+
S3LocationBucketString = Shapes::StringShape.new(name: 'S3LocationBucketString')
|
|
217
|
+
S3LocationPrefixString = Shapes::StringShape.new(name: 'S3LocationPrefixString')
|
|
218
|
+
S3LocationVersionIdString = Shapes::StringShape.new(name: 'S3LocationVersionIdString')
|
|
219
|
+
SaveBrowserSessionProfileRequest = Shapes::StructureShape.new(name: 'SaveBrowserSessionProfileRequest')
|
|
220
|
+
SaveBrowserSessionProfileRequestTraceIdString = Shapes::StringShape.new(name: 'SaveBrowserSessionProfileRequestTraceIdString')
|
|
221
|
+
SaveBrowserSessionProfileRequestTraceParentString = Shapes::StringShape.new(name: 'SaveBrowserSessionProfileRequestTraceParentString')
|
|
222
|
+
SaveBrowserSessionProfileResponse = Shapes::StructureShape.new(name: 'SaveBrowserSessionProfileResponse')
|
|
209
223
|
ScopeType = Shapes::StringShape.new(name: 'ScopeType')
|
|
210
224
|
ScopesListType = Shapes::ListShape.new(name: 'ScopesListType')
|
|
211
225
|
SearchCriteria = Shapes::StructureShape.new(name: 'SearchCriteria')
|
|
@@ -322,6 +336,14 @@ module Aws::BedrockAgentCore
|
|
|
322
336
|
BranchFilter.add_member(:include_parent_branches, Shapes::ShapeRef.new(shape: Boolean, location_name: "includeParentBranches"))
|
|
323
337
|
BranchFilter.struct_class = Types::BranchFilter
|
|
324
338
|
|
|
339
|
+
BrowserExtension.add_member(:location, Shapes::ShapeRef.new(shape: ResourceLocation, required: true, location_name: "location"))
|
|
340
|
+
BrowserExtension.struct_class = Types::BrowserExtension
|
|
341
|
+
|
|
342
|
+
BrowserExtensions.member = Shapes::ShapeRef.new(shape: BrowserExtension)
|
|
343
|
+
|
|
344
|
+
BrowserProfileConfiguration.add_member(:profile_identifier, Shapes::ShapeRef.new(shape: BrowserProfileId, required: true, location_name: "profileIdentifier"))
|
|
345
|
+
BrowserProfileConfiguration.struct_class = Types::BrowserProfileConfiguration
|
|
346
|
+
|
|
325
347
|
BrowserSessionStream.add_member(:automation_stream, Shapes::ShapeRef.new(shape: AutomationStream, required: true, location_name: "automationStream"))
|
|
326
348
|
BrowserSessionStream.add_member(:live_view_stream, Shapes::ShapeRef.new(shape: LiveViewStream, location_name: "liveViewStream"))
|
|
327
349
|
BrowserSessionStream.struct_class = Types::BrowserSessionStream
|
|
@@ -540,6 +562,8 @@ module Aws::BedrockAgentCore
|
|
|
540
562
|
GetBrowserSessionResponse.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
|
541
563
|
GetBrowserSessionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
|
542
564
|
GetBrowserSessionResponse.add_member(:view_port, Shapes::ShapeRef.new(shape: ViewPort, location_name: "viewPort"))
|
|
565
|
+
GetBrowserSessionResponse.add_member(:extensions, Shapes::ShapeRef.new(shape: BrowserExtensions, location_name: "extensions"))
|
|
566
|
+
GetBrowserSessionResponse.add_member(:profile_configuration, Shapes::ShapeRef.new(shape: BrowserProfileConfiguration, location_name: "profileConfiguration"))
|
|
543
567
|
GetBrowserSessionResponse.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: BrowserSessionTimeout, location_name: "sessionTimeoutSeconds"))
|
|
544
568
|
GetBrowserSessionResponse.add_member(:status, Shapes::ShapeRef.new(shape: BrowserSessionStatus, location_name: "status"))
|
|
545
569
|
GetBrowserSessionResponse.add_member(:streams, Shapes::ShapeRef.new(shape: BrowserSessionStream, location_name: "streams"))
|
|
@@ -858,6 +882,12 @@ module Aws::BedrockAgentCore
|
|
|
858
882
|
ResourceContent.add_member(:blob, Shapes::ShapeRef.new(shape: Blob, location_name: "blob"))
|
|
859
883
|
ResourceContent.struct_class = Types::ResourceContent
|
|
860
884
|
|
|
885
|
+
ResourceLocation.add_member(:s3, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3"))
|
|
886
|
+
ResourceLocation.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
887
|
+
ResourceLocation.add_member_subclass(:s3, Types::ResourceLocation::S3)
|
|
888
|
+
ResourceLocation.add_member_subclass(:unknown, Types::ResourceLocation::Unknown)
|
|
889
|
+
ResourceLocation.struct_class = Types::ResourceLocation
|
|
890
|
+
|
|
861
891
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
862
892
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
|
863
893
|
|
|
@@ -872,6 +902,9 @@ module Aws::BedrockAgentCore
|
|
|
872
902
|
RetrieveMemoryRecordsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: PaginationToken, location_name: "nextToken"))
|
|
873
903
|
RetrieveMemoryRecordsOutput.struct_class = Types::RetrieveMemoryRecordsOutput
|
|
874
904
|
|
|
905
|
+
RetryableConflictException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "message"))
|
|
906
|
+
RetryableConflictException.struct_class = Types::RetryableConflictException
|
|
907
|
+
|
|
875
908
|
RightExpression.add_member(:metadata_value, Shapes::ShapeRef.new(shape: MetadataValue, location_name: "metadataValue"))
|
|
876
909
|
RightExpression.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
877
910
|
RightExpression.add_member_subclass(:metadata_value, Types::RightExpression::MetadataValue)
|
|
@@ -881,6 +914,25 @@ module Aws::BedrockAgentCore
|
|
|
881
914
|
RuntimeClientError.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
882
915
|
RuntimeClientError.struct_class = Types::RuntimeClientError
|
|
883
916
|
|
|
917
|
+
S3Location.add_member(:bucket, Shapes::ShapeRef.new(shape: S3LocationBucketString, required: true, location_name: "bucket"))
|
|
918
|
+
S3Location.add_member(:prefix, Shapes::ShapeRef.new(shape: S3LocationPrefixString, required: true, location_name: "prefix"))
|
|
919
|
+
S3Location.add_member(:version_id, Shapes::ShapeRef.new(shape: S3LocationVersionIdString, location_name: "versionId"))
|
|
920
|
+
S3Location.struct_class = Types::S3Location
|
|
921
|
+
|
|
922
|
+
SaveBrowserSessionProfileRequest.add_member(:trace_id, Shapes::ShapeRef.new(shape: SaveBrowserSessionProfileRequestTraceIdString, location: "header", location_name: "X-Amzn-Trace-Id"))
|
|
923
|
+
SaveBrowserSessionProfileRequest.add_member(:trace_parent, Shapes::ShapeRef.new(shape: SaveBrowserSessionProfileRequestTraceParentString, location: "header", location_name: "traceparent"))
|
|
924
|
+
SaveBrowserSessionProfileRequest.add_member(:profile_identifier, Shapes::ShapeRef.new(shape: BrowserProfileId, required: true, location: "uri", location_name: "profileIdentifier"))
|
|
925
|
+
SaveBrowserSessionProfileRequest.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "browserIdentifier"))
|
|
926
|
+
SaveBrowserSessionProfileRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: BrowserSessionId, required: true, location_name: "sessionId"))
|
|
927
|
+
SaveBrowserSessionProfileRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
928
|
+
SaveBrowserSessionProfileRequest.struct_class = Types::SaveBrowserSessionProfileRequest
|
|
929
|
+
|
|
930
|
+
SaveBrowserSessionProfileResponse.add_member(:profile_identifier, Shapes::ShapeRef.new(shape: BrowserProfileId, required: true, location_name: "profileIdentifier"))
|
|
931
|
+
SaveBrowserSessionProfileResponse.add_member(:browser_identifier, Shapes::ShapeRef.new(shape: String, required: true, location_name: "browserIdentifier"))
|
|
932
|
+
SaveBrowserSessionProfileResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: BrowserSessionId, required: true, location_name: "sessionId"))
|
|
933
|
+
SaveBrowserSessionProfileResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "lastUpdatedAt"))
|
|
934
|
+
SaveBrowserSessionProfileResponse.struct_class = Types::SaveBrowserSessionProfileResponse
|
|
935
|
+
|
|
884
936
|
ScopesListType.member = Shapes::ShapeRef.new(shape: ScopeType)
|
|
885
937
|
|
|
886
938
|
SearchCriteria.add_member(:search_query, Shapes::ShapeRef.new(shape: SearchCriteriaSearchQueryString, required: true, location_name: "searchQuery"))
|
|
@@ -917,6 +969,8 @@ module Aws::BedrockAgentCore
|
|
|
917
969
|
StartBrowserSessionRequest.add_member(:name, Shapes::ShapeRef.new(shape: Name, location_name: "name"))
|
|
918
970
|
StartBrowserSessionRequest.add_member(:session_timeout_seconds, Shapes::ShapeRef.new(shape: BrowserSessionTimeout, location_name: "sessionTimeoutSeconds"))
|
|
919
971
|
StartBrowserSessionRequest.add_member(:view_port, Shapes::ShapeRef.new(shape: ViewPort, location_name: "viewPort"))
|
|
972
|
+
StartBrowserSessionRequest.add_member(:extensions, Shapes::ShapeRef.new(shape: BrowserExtensions, location_name: "extensions"))
|
|
973
|
+
StartBrowserSessionRequest.add_member(:profile_configuration, Shapes::ShapeRef.new(shape: BrowserProfileConfiguration, location_name: "profileConfiguration"))
|
|
920
974
|
StartBrowserSessionRequest.add_member(:client_token, Shapes::ShapeRef.new(shape: ClientToken, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
|
|
921
975
|
StartBrowserSessionRequest.struct_class = Types::StartBrowserSessionRequest
|
|
922
976
|
|
|
@@ -1085,11 +1139,11 @@ module Aws::BedrockAgentCore
|
|
|
1085
1139
|
o.input = Shapes::ShapeRef.new(shape: BatchCreateMemoryRecordsInput)
|
|
1086
1140
|
o.output = Shapes::ShapeRef.new(shape: BatchCreateMemoryRecordsOutput)
|
|
1087
1141
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1142
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1143
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1088
1144
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1089
1145
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1090
1146
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1091
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1092
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1093
1147
|
end)
|
|
1094
1148
|
|
|
1095
1149
|
api.add_operation(:batch_delete_memory_records, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1099,11 +1153,11 @@ module Aws::BedrockAgentCore
|
|
|
1099
1153
|
o.input = Shapes::ShapeRef.new(shape: BatchDeleteMemoryRecordsInput)
|
|
1100
1154
|
o.output = Shapes::ShapeRef.new(shape: BatchDeleteMemoryRecordsOutput)
|
|
1101
1155
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1156
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1157
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1102
1158
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1103
1159
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1104
1160
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1105
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1106
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1107
1161
|
end)
|
|
1108
1162
|
|
|
1109
1163
|
api.add_operation(:batch_update_memory_records, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1113,11 +1167,11 @@ module Aws::BedrockAgentCore
|
|
|
1113
1167
|
o.input = Shapes::ShapeRef.new(shape: BatchUpdateMemoryRecordsInput)
|
|
1114
1168
|
o.output = Shapes::ShapeRef.new(shape: BatchUpdateMemoryRecordsOutput)
|
|
1115
1169
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1170
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1171
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1116
1172
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1117
1173
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1118
1174
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1119
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1120
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1121
1175
|
end)
|
|
1122
1176
|
|
|
1123
1177
|
api.add_operation(:complete_resource_token_auth, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1141,12 +1195,13 @@ module Aws::BedrockAgentCore
|
|
|
1141
1195
|
o.input = Shapes::ShapeRef.new(shape: CreateEventInput)
|
|
1142
1196
|
o.output = Shapes::ShapeRef.new(shape: CreateEventOutput)
|
|
1143
1197
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1198
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1199
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1200
|
+
o.errors << Shapes::ShapeRef.new(shape: RetryableConflictException)
|
|
1144
1201
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1145
1202
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1146
1203
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
1147
1204
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1148
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1149
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1150
1205
|
end)
|
|
1151
1206
|
|
|
1152
1207
|
api.add_operation(:delete_event, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1156,12 +1211,12 @@ module Aws::BedrockAgentCore
|
|
|
1156
1211
|
o.input = Shapes::ShapeRef.new(shape: DeleteEventInput)
|
|
1157
1212
|
o.output = Shapes::ShapeRef.new(shape: DeleteEventOutput)
|
|
1158
1213
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1214
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1215
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1159
1216
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1160
1217
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1161
1218
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
1162
1219
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1163
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1164
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1165
1220
|
end)
|
|
1166
1221
|
|
|
1167
1222
|
api.add_operation(:delete_memory_record, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1171,12 +1226,12 @@ module Aws::BedrockAgentCore
|
|
|
1171
1226
|
o.input = Shapes::ShapeRef.new(shape: DeleteMemoryRecordInput)
|
|
1172
1227
|
o.output = Shapes::ShapeRef.new(shape: DeleteMemoryRecordOutput)
|
|
1173
1228
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1229
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1230
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1174
1231
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1175
1232
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1176
1233
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
1177
1234
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1178
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1179
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1180
1235
|
end)
|
|
1181
1236
|
|
|
1182
1237
|
api.add_operation(:evaluate, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1244,12 +1299,12 @@ module Aws::BedrockAgentCore
|
|
|
1244
1299
|
o.input = Shapes::ShapeRef.new(shape: GetEventInput)
|
|
1245
1300
|
o.output = Shapes::ShapeRef.new(shape: GetEventOutput)
|
|
1246
1301
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1302
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1303
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1247
1304
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1248
1305
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1249
1306
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
1250
1307
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1251
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1252
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1253
1308
|
end)
|
|
1254
1309
|
|
|
1255
1310
|
api.add_operation(:get_memory_record, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1259,12 +1314,12 @@ module Aws::BedrockAgentCore
|
|
|
1259
1314
|
o.input = Shapes::ShapeRef.new(shape: GetMemoryRecordInput)
|
|
1260
1315
|
o.output = Shapes::ShapeRef.new(shape: GetMemoryRecordOutput)
|
|
1261
1316
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1317
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1318
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1262
1319
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1263
1320
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1264
1321
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
1265
1322
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1266
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1267
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1268
1323
|
end)
|
|
1269
1324
|
|
|
1270
1325
|
api.add_operation(:get_resource_api_key, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -1374,12 +1429,12 @@ module Aws::BedrockAgentCore
|
|
|
1374
1429
|
o.input = Shapes::ShapeRef.new(shape: ListActorsInput)
|
|
1375
1430
|
o.output = Shapes::ShapeRef.new(shape: ListActorsOutput)
|
|
1376
1431
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1432
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1433
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1377
1434
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1378
1435
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1379
1436
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
1380
1437
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1381
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1382
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1383
1438
|
o[:pager] = Aws::Pager.new(
|
|
1384
1439
|
limit_key: "max_results",
|
|
1385
1440
|
tokens: {
|
|
@@ -1421,12 +1476,12 @@ module Aws::BedrockAgentCore
|
|
|
1421
1476
|
o.input = Shapes::ShapeRef.new(shape: ListEventsInput)
|
|
1422
1477
|
o.output = Shapes::ShapeRef.new(shape: ListEventsOutput)
|
|
1423
1478
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1479
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1480
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1424
1481
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1425
1482
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1426
1483
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
1427
1484
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1428
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1429
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1430
1485
|
o[:pager] = Aws::Pager.new(
|
|
1431
1486
|
limit_key: "max_results",
|
|
1432
1487
|
tokens: {
|
|
@@ -1442,11 +1497,11 @@ module Aws::BedrockAgentCore
|
|
|
1442
1497
|
o.input = Shapes::ShapeRef.new(shape: ListMemoryExtractionJobsInput)
|
|
1443
1498
|
o.output = Shapes::ShapeRef.new(shape: ListMemoryExtractionJobsOutput)
|
|
1444
1499
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1500
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1501
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1445
1502
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1446
1503
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1447
1504
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1448
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1449
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1450
1505
|
o[:pager] = Aws::Pager.new(
|
|
1451
1506
|
limit_key: "max_results",
|
|
1452
1507
|
tokens: {
|
|
@@ -1462,12 +1517,12 @@ module Aws::BedrockAgentCore
|
|
|
1462
1517
|
o.input = Shapes::ShapeRef.new(shape: ListMemoryRecordsInput)
|
|
1463
1518
|
o.output = Shapes::ShapeRef.new(shape: ListMemoryRecordsOutput)
|
|
1464
1519
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1520
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1521
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1465
1522
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1466
1523
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1467
1524
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
1468
1525
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1469
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1470
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1471
1526
|
o[:pager] = Aws::Pager.new(
|
|
1472
1527
|
limit_key: "max_results",
|
|
1473
1528
|
tokens: {
|
|
@@ -1483,12 +1538,12 @@ module Aws::BedrockAgentCore
|
|
|
1483
1538
|
o.input = Shapes::ShapeRef.new(shape: ListSessionsInput)
|
|
1484
1539
|
o.output = Shapes::ShapeRef.new(shape: ListSessionsOutput)
|
|
1485
1540
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1541
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1542
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1486
1543
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1487
1544
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1488
1545
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
1489
1546
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1490
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1491
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1492
1547
|
o[:pager] = Aws::Pager.new(
|
|
1493
1548
|
limit_key: "max_results",
|
|
1494
1549
|
tokens: {
|
|
@@ -1504,12 +1559,12 @@ module Aws::BedrockAgentCore
|
|
|
1504
1559
|
o.input = Shapes::ShapeRef.new(shape: RetrieveMemoryRecordsInput)
|
|
1505
1560
|
o.output = Shapes::ShapeRef.new(shape: RetrieveMemoryRecordsOutput)
|
|
1506
1561
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1562
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1563
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1507
1564
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1508
1565
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1509
1566
|
o.errors << Shapes::ShapeRef.new(shape: InvalidInputException)
|
|
1510
1567
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1511
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1512
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1513
1568
|
o[:pager] = Aws::Pager.new(
|
|
1514
1569
|
limit_key: "max_results",
|
|
1515
1570
|
tokens: {
|
|
@@ -1518,6 +1573,20 @@ module Aws::BedrockAgentCore
|
|
|
1518
1573
|
)
|
|
1519
1574
|
end)
|
|
1520
1575
|
|
|
1576
|
+
api.add_operation(:save_browser_session_profile, Seahorse::Model::Operation.new.tap do |o|
|
|
1577
|
+
o.name = "SaveBrowserSessionProfile"
|
|
1578
|
+
o.http_method = "PUT"
|
|
1579
|
+
o.http_request_uri = "/browser-profiles/{profileIdentifier}/save"
|
|
1580
|
+
o.input = Shapes::ShapeRef.new(shape: SaveBrowserSessionProfileRequest)
|
|
1581
|
+
o.output = Shapes::ShapeRef.new(shape: SaveBrowserSessionProfileResponse)
|
|
1582
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1583
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
|
1584
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1585
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1586
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
1587
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
1588
|
+
end)
|
|
1589
|
+
|
|
1521
1590
|
api.add_operation(:start_browser_session, Seahorse::Model::Operation.new.tap do |o|
|
|
1522
1591
|
o.name = "StartBrowserSession"
|
|
1523
1592
|
o.http_method = "PUT"
|
|
@@ -1555,11 +1624,11 @@ module Aws::BedrockAgentCore
|
|
|
1555
1624
|
o.input = Shapes::ShapeRef.new(shape: StartMemoryExtractionJobInput)
|
|
1556
1625
|
o.output = Shapes::ShapeRef.new(shape: StartMemoryExtractionJobOutput)
|
|
1557
1626
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
|
1627
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1628
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1558
1629
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
1559
1630
|
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
|
1560
1631
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
1561
|
-
o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
|
|
1562
|
-
o.errors << Shapes::ShapeRef.new(shape: ServiceException)
|
|
1563
1632
|
end)
|
|
1564
1633
|
|
|
1565
1634
|
api.add_operation(:stop_browser_session, Seahorse::Model::Operation.new.tap do |o|
|
|
@@ -33,6 +33,7 @@ module Aws::BedrockAgentCore
|
|
|
33
33
|
# * {InternalServerException}
|
|
34
34
|
# * {InvalidInputException}
|
|
35
35
|
# * {ResourceNotFoundException}
|
|
36
|
+
# * {RetryableConflictException}
|
|
36
37
|
# * {RuntimeClientError}
|
|
37
38
|
# * {ServiceException}
|
|
38
39
|
# * {ServiceQuotaExceededException}
|
|
@@ -137,6 +138,25 @@ module Aws::BedrockAgentCore
|
|
|
137
138
|
end
|
|
138
139
|
end
|
|
139
140
|
|
|
141
|
+
class RetryableConflictException < ServiceError
|
|
142
|
+
|
|
143
|
+
# @param [Seahorse::Client::RequestContext] context
|
|
144
|
+
# @param [String] message
|
|
145
|
+
# @param [Aws::BedrockAgentCore::Types::RetryableConflictException] data
|
|
146
|
+
def initialize(context, message, data = Aws::EmptyStructure.new)
|
|
147
|
+
super(context, message, data)
|
|
148
|
+
end
|
|
149
|
+
|
|
150
|
+
# @return [String]
|
|
151
|
+
def message
|
|
152
|
+
@message || @data[:message]
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
def retryable?
|
|
156
|
+
true
|
|
157
|
+
end
|
|
158
|
+
end
|
|
159
|
+
|
|
140
160
|
class RuntimeClientError < ServiceError
|
|
141
161
|
|
|
142
162
|
# @param [Seahorse::Client::RequestContext] context
|