aws-sdk-bedrockagentruntime 1.35.0 → 1.36.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentruntime/client.rb +370 -5
- data/lib/aws-sdk-bedrockagentruntime/client_api.rb +101 -0
- data/lib/aws-sdk-bedrockagentruntime/types.rb +332 -4
- data/lib/aws-sdk-bedrockagentruntime.rb +1 -1
- data/sig/client.rbs +17 -0
- data/sig/types.rbs +116 -6
- metadata +2 -2
@@ -15,6 +15,7 @@ module Aws::BedrockAgentRuntime
|
|
15
15
|
include Seahorse::Model
|
16
16
|
|
17
17
|
APISchema = Shapes::UnionShape.new(name: 'APISchema')
|
18
|
+
AWSResourceARN = Shapes::StringShape.new(name: 'AWSResourceARN')
|
18
19
|
AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
|
19
20
|
ActionGroupExecutor = Shapes::UnionShape.new(name: 'ActionGroupExecutor')
|
20
21
|
ActionGroupInvocationInput = Shapes::StructureShape.new(name: 'ActionGroupInvocationInput')
|
@@ -28,7 +29,13 @@ module Aws::BedrockAgentRuntime
|
|
28
29
|
AdditionalModelRequestFieldsValue = Shapes::DocumentShape.new(name: 'AdditionalModelRequestFieldsValue', document: true)
|
29
30
|
AgentActionGroup = Shapes::StructureShape.new(name: 'AgentActionGroup')
|
30
31
|
AgentActionGroups = Shapes::ListShape.new(name: 'AgentActionGroups')
|
32
|
+
AgentAliasArn = Shapes::StringShape.new(name: 'AgentAliasArn')
|
31
33
|
AgentAliasId = Shapes::StringShape.new(name: 'AgentAliasId')
|
34
|
+
AgentCollaboratorInputPayload = Shapes::StructureShape.new(name: 'AgentCollaboratorInputPayload')
|
35
|
+
AgentCollaboratorInvocationInput = Shapes::StructureShape.new(name: 'AgentCollaboratorInvocationInput')
|
36
|
+
AgentCollaboratorInvocationOutput = Shapes::StructureShape.new(name: 'AgentCollaboratorInvocationOutput')
|
37
|
+
AgentCollaboratorOutputPayload = Shapes::StructureShape.new(name: 'AgentCollaboratorOutputPayload')
|
38
|
+
AgentCollaboratorPayloadString = Shapes::StringShape.new(name: 'AgentCollaboratorPayloadString')
|
32
39
|
AgentId = Shapes::StringShape.new(name: 'AgentId')
|
33
40
|
AgentVersion = Shapes::StringShape.new(name: 'AgentVersion')
|
34
41
|
AnalyzePromptEvent = Shapes::StructureShape.new(name: 'AnalyzePromptEvent')
|
@@ -52,6 +59,8 @@ module Aws::BedrockAgentRuntime
|
|
52
59
|
ByteContentBlob = Shapes::BlobShape.new(name: 'ByteContentBlob')
|
53
60
|
ByteContentDoc = Shapes::StructureShape.new(name: 'ByteContentDoc')
|
54
61
|
ByteContentFile = Shapes::StructureShape.new(name: 'ByteContentFile')
|
62
|
+
Caller = Shapes::UnionShape.new(name: 'Caller')
|
63
|
+
CallerChain = Shapes::ListShape.new(name: 'CallerChain')
|
55
64
|
Citation = Shapes::StructureShape.new(name: 'Citation')
|
56
65
|
CitationEvent = Shapes::StructureShape.new(name: 'CitationEvent')
|
57
66
|
Citations = Shapes::ListShape.new(name: 'Citations')
|
@@ -59,9 +68,13 @@ module Aws::BedrockAgentRuntime
|
|
59
68
|
CodeInterpreterInvocationOutput = Shapes::StructureShape.new(name: 'CodeInterpreterInvocationOutput')
|
60
69
|
ConfirmationState = Shapes::StringShape.new(name: 'ConfirmationState')
|
61
70
|
ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
|
71
|
+
ContentBlock = Shapes::UnionShape.new(name: 'ContentBlock')
|
72
|
+
ContentBlocks = Shapes::ListShape.new(name: 'ContentBlocks')
|
62
73
|
ContentBody = Shapes::StructureShape.new(name: 'ContentBody')
|
63
74
|
ContentMap = Shapes::MapShape.new(name: 'ContentMap')
|
64
75
|
ContentType = Shapes::StringShape.new(name: 'ContentType')
|
76
|
+
ConversationHistory = Shapes::StructureShape.new(name: 'ConversationHistory')
|
77
|
+
ConversationRole = Shapes::StringShape.new(name: 'ConversationRole')
|
65
78
|
CreationMode = Shapes::StringShape.new(name: 'CreationMode')
|
66
79
|
CustomControlMethod = Shapes::StringShape.new(name: 'CustomControlMethod')
|
67
80
|
CustomOrchestrationTrace = Shapes::StructureShape.new(name: 'CustomOrchestrationTrace')
|
@@ -223,6 +236,8 @@ module Aws::BedrockAgentRuntime
|
|
223
236
|
MemoryId = Shapes::StringShape.new(name: 'MemoryId')
|
224
237
|
MemorySessionSummary = Shapes::StructureShape.new(name: 'MemorySessionSummary')
|
225
238
|
MemoryType = Shapes::StringShape.new(name: 'MemoryType')
|
239
|
+
Message = Shapes::StructureShape.new(name: 'Message')
|
240
|
+
Messages = Shapes::ListShape.new(name: 'Messages')
|
226
241
|
Metadata = Shapes::StructureShape.new(name: 'Metadata')
|
227
242
|
MetadataAttributeSchema = Shapes::StructureShape.new(name: 'MetadataAttributeSchema')
|
228
243
|
MetadataAttributeSchemaDescriptionString = Shapes::StringShape.new(name: 'MetadataAttributeSchemaDescriptionString')
|
@@ -232,6 +247,7 @@ module Aws::BedrockAgentRuntime
|
|
232
247
|
MimeType = Shapes::StringShape.new(name: 'MimeType')
|
233
248
|
ModelIdentifier = Shapes::StringShape.new(name: 'ModelIdentifier')
|
234
249
|
ModelInvocationInput = Shapes::StructureShape.new(name: 'ModelInvocationInput')
|
250
|
+
Name = Shapes::StringShape.new(name: 'Name')
|
235
251
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
236
252
|
NodeInputName = Shapes::StringShape.new(name: 'NodeInputName')
|
237
253
|
NodeName = Shapes::StringShape.new(name: 'NodeName')
|
@@ -262,6 +278,7 @@ module Aws::BedrockAgentRuntime
|
|
262
278
|
PartBody = Shapes::BlobShape.new(name: 'PartBody')
|
263
279
|
Payload = Shapes::StringShape.new(name: 'Payload')
|
264
280
|
PayloadPart = Shapes::StructureShape.new(name: 'PayloadPart')
|
281
|
+
PayloadType = Shapes::StringShape.new(name: 'PayloadType')
|
265
282
|
PostProcessingModelInvocationOutput = Shapes::StructureShape.new(name: 'PostProcessingModelInvocationOutput')
|
266
283
|
PostProcessingParsedResponse = Shapes::StructureShape.new(name: 'PostProcessingParsedResponse')
|
267
284
|
PostProcessingTrace = Shapes::UnionShape.new(name: 'PostProcessingTrace')
|
@@ -344,6 +361,9 @@ module Aws::BedrockAgentRuntime
|
|
344
361
|
RetrievedReferences = Shapes::ListShape.new(name: 'RetrievedReferences')
|
345
362
|
ReturnControlInvocationResults = Shapes::ListShape.new(name: 'ReturnControlInvocationResults')
|
346
363
|
ReturnControlPayload = Shapes::StructureShape.new(name: 'ReturnControlPayload')
|
364
|
+
ReturnControlResults = Shapes::StructureShape.new(name: 'ReturnControlResults')
|
365
|
+
RoutingClassifierModelInvocationOutput = Shapes::StructureShape.new(name: 'RoutingClassifierModelInvocationOutput')
|
366
|
+
RoutingClassifierTrace = Shapes::UnionShape.new(name: 'RoutingClassifierTrace')
|
347
367
|
S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
|
348
368
|
S3Identifier = Shapes::StructureShape.new(name: 'S3Identifier')
|
349
369
|
S3ObjectDoc = Shapes::StructureShape.new(name: 'S3ObjectDoc')
|
@@ -433,6 +453,26 @@ module Aws::BedrockAgentRuntime
|
|
433
453
|
|
434
454
|
AgentActionGroups.member = Shapes::ShapeRef.new(shape: AgentActionGroup)
|
435
455
|
|
456
|
+
AgentCollaboratorInputPayload.add_member(:return_control_results, Shapes::ShapeRef.new(shape: ReturnControlResults, location_name: "returnControlResults"))
|
457
|
+
AgentCollaboratorInputPayload.add_member(:text, Shapes::ShapeRef.new(shape: AgentCollaboratorPayloadString, location_name: "text"))
|
458
|
+
AgentCollaboratorInputPayload.add_member(:type, Shapes::ShapeRef.new(shape: PayloadType, location_name: "type"))
|
459
|
+
AgentCollaboratorInputPayload.struct_class = Types::AgentCollaboratorInputPayload
|
460
|
+
|
461
|
+
AgentCollaboratorInvocationInput.add_member(:agent_collaborator_alias_arn, Shapes::ShapeRef.new(shape: AgentAliasArn, location_name: "agentCollaboratorAliasArn"))
|
462
|
+
AgentCollaboratorInvocationInput.add_member(:agent_collaborator_name, Shapes::ShapeRef.new(shape: String, location_name: "agentCollaboratorName"))
|
463
|
+
AgentCollaboratorInvocationInput.add_member(:input, Shapes::ShapeRef.new(shape: AgentCollaboratorInputPayload, location_name: "input"))
|
464
|
+
AgentCollaboratorInvocationInput.struct_class = Types::AgentCollaboratorInvocationInput
|
465
|
+
|
466
|
+
AgentCollaboratorInvocationOutput.add_member(:agent_collaborator_alias_arn, Shapes::ShapeRef.new(shape: AgentAliasArn, location_name: "agentCollaboratorAliasArn"))
|
467
|
+
AgentCollaboratorInvocationOutput.add_member(:agent_collaborator_name, Shapes::ShapeRef.new(shape: String, location_name: "agentCollaboratorName"))
|
468
|
+
AgentCollaboratorInvocationOutput.add_member(:output, Shapes::ShapeRef.new(shape: AgentCollaboratorOutputPayload, location_name: "output"))
|
469
|
+
AgentCollaboratorInvocationOutput.struct_class = Types::AgentCollaboratorInvocationOutput
|
470
|
+
|
471
|
+
AgentCollaboratorOutputPayload.add_member(:return_control_payload, Shapes::ShapeRef.new(shape: ReturnControlPayload, event: true, location_name: "returnControlPayload"))
|
472
|
+
AgentCollaboratorOutputPayload.add_member(:text, Shapes::ShapeRef.new(shape: AgentCollaboratorPayloadString, location_name: "text"))
|
473
|
+
AgentCollaboratorOutputPayload.add_member(:type, Shapes::ShapeRef.new(shape: PayloadType, location_name: "type"))
|
474
|
+
AgentCollaboratorOutputPayload.struct_class = Types::AgentCollaboratorOutputPayload
|
475
|
+
|
436
476
|
AnalyzePromptEvent.add_member(:message, Shapes::ShapeRef.new(shape: String, location_name: "message"))
|
437
477
|
AnalyzePromptEvent.struct_class = Types::AnalyzePromptEvent
|
438
478
|
|
@@ -441,7 +481,9 @@ module Aws::BedrockAgentRuntime
|
|
441
481
|
|
442
482
|
ApiInvocationInput.add_member(:action_group, Shapes::ShapeRef.new(shape: String, required: true, location_name: "actionGroup"))
|
443
483
|
ApiInvocationInput.add_member(:action_invocation_type, Shapes::ShapeRef.new(shape: ActionInvocationType, location_name: "actionInvocationType"))
|
484
|
+
ApiInvocationInput.add_member(:agent_id, Shapes::ShapeRef.new(shape: String, location_name: "agentId"))
|
444
485
|
ApiInvocationInput.add_member(:api_path, Shapes::ShapeRef.new(shape: ApiPath, location_name: "apiPath"))
|
486
|
+
ApiInvocationInput.add_member(:collaborator_name, Shapes::ShapeRef.new(shape: Name, location_name: "collaboratorName"))
|
445
487
|
ApiInvocationInput.add_member(:http_method, Shapes::ShapeRef.new(shape: String, location_name: "httpMethod"))
|
446
488
|
ApiInvocationInput.add_member(:parameters, Shapes::ShapeRef.new(shape: ApiParameters, location_name: "parameters"))
|
447
489
|
ApiInvocationInput.add_member(:request_body, Shapes::ShapeRef.new(shape: ApiRequestBody, location_name: "requestBody"))
|
@@ -458,6 +500,7 @@ module Aws::BedrockAgentRuntime
|
|
458
500
|
ApiRequestBody.struct_class = Types::ApiRequestBody
|
459
501
|
|
460
502
|
ApiResult.add_member(:action_group, Shapes::ShapeRef.new(shape: String, required: true, location_name: "actionGroup"))
|
503
|
+
ApiResult.add_member(:agent_id, Shapes::ShapeRef.new(shape: String, location_name: "agentId"))
|
461
504
|
ApiResult.add_member(:api_path, Shapes::ShapeRef.new(shape: ApiPath, location_name: "apiPath"))
|
462
505
|
ApiResult.add_member(:confirmation_state, Shapes::ShapeRef.new(shape: ConfirmationState, location_name: "confirmationState"))
|
463
506
|
ApiResult.add_member(:http_method, Shapes::ShapeRef.new(shape: String, location_name: "httpMethod"))
|
@@ -490,6 +533,14 @@ module Aws::BedrockAgentRuntime
|
|
490
533
|
ByteContentFile.add_member(:media_type, Shapes::ShapeRef.new(shape: MimeType, required: true, location_name: "mediaType"))
|
491
534
|
ByteContentFile.struct_class = Types::ByteContentFile
|
492
535
|
|
536
|
+
Caller.add_member(:agent_alias_arn, Shapes::ShapeRef.new(shape: AgentAliasArn, location_name: "agentAliasArn"))
|
537
|
+
Caller.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
538
|
+
Caller.add_member_subclass(:agent_alias_arn, Types::Caller::AgentAliasArn)
|
539
|
+
Caller.add_member_subclass(:unknown, Types::Caller::Unknown)
|
540
|
+
Caller.struct_class = Types::Caller
|
541
|
+
|
542
|
+
CallerChain.member = Shapes::ShapeRef.new(shape: Caller)
|
543
|
+
|
493
544
|
Citation.add_member(:generated_response_part, Shapes::ShapeRef.new(shape: GeneratedResponsePart, location_name: "generatedResponsePart"))
|
494
545
|
Citation.add_member(:retrieved_references, Shapes::ShapeRef.new(shape: RetrievedReferences, location_name: "retrievedReferences"))
|
495
546
|
Citation.struct_class = Types::Citation
|
@@ -512,12 +563,23 @@ module Aws::BedrockAgentRuntime
|
|
512
563
|
ConflictException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
513
564
|
ConflictException.struct_class = Types::ConflictException
|
514
565
|
|
566
|
+
ContentBlock.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
|
567
|
+
ContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
568
|
+
ContentBlock.add_member_subclass(:text, Types::ContentBlock::Text)
|
569
|
+
ContentBlock.add_member_subclass(:unknown, Types::ContentBlock::Unknown)
|
570
|
+
ContentBlock.struct_class = Types::ContentBlock
|
571
|
+
|
572
|
+
ContentBlocks.member = Shapes::ShapeRef.new(shape: ContentBlock)
|
573
|
+
|
515
574
|
ContentBody.add_member(:body, Shapes::ShapeRef.new(shape: String, location_name: "body"))
|
516
575
|
ContentBody.struct_class = Types::ContentBody
|
517
576
|
|
518
577
|
ContentMap.key = Shapes::ShapeRef.new(shape: String)
|
519
578
|
ContentMap.value = Shapes::ShapeRef.new(shape: Parameters)
|
520
579
|
|
580
|
+
ConversationHistory.add_member(:messages, Shapes::ShapeRef.new(shape: Messages, location_name: "messages"))
|
581
|
+
ConversationHistory.struct_class = Types::ConversationHistory
|
582
|
+
|
521
583
|
CustomOrchestrationTrace.add_member(:event, Shapes::ShapeRef.new(shape: CustomOrchestrationTraceEvent, location_name: "event"))
|
522
584
|
CustomOrchestrationTrace.add_member(:trace_id, Shapes::ShapeRef.new(shape: TraceId, location_name: "traceId"))
|
523
585
|
CustomOrchestrationTrace.struct_class = Types::CustomOrchestrationTrace
|
@@ -686,6 +748,8 @@ module Aws::BedrockAgentRuntime
|
|
686
748
|
|
687
749
|
FunctionInvocationInput.add_member(:action_group, Shapes::ShapeRef.new(shape: String, required: true, location_name: "actionGroup"))
|
688
750
|
FunctionInvocationInput.add_member(:action_invocation_type, Shapes::ShapeRef.new(shape: ActionInvocationType, location_name: "actionInvocationType"))
|
751
|
+
FunctionInvocationInput.add_member(:agent_id, Shapes::ShapeRef.new(shape: String, location_name: "agentId"))
|
752
|
+
FunctionInvocationInput.add_member(:collaborator_name, Shapes::ShapeRef.new(shape: Name, location_name: "collaboratorName"))
|
689
753
|
FunctionInvocationInput.add_member(:function, Shapes::ShapeRef.new(shape: String, location_name: "function"))
|
690
754
|
FunctionInvocationInput.add_member(:parameters, Shapes::ShapeRef.new(shape: FunctionParameters, location_name: "parameters"))
|
691
755
|
FunctionInvocationInput.struct_class = Types::FunctionInvocationInput
|
@@ -698,6 +762,7 @@ module Aws::BedrockAgentRuntime
|
|
698
762
|
FunctionParameters.member = Shapes::ShapeRef.new(shape: FunctionParameter)
|
699
763
|
|
700
764
|
FunctionResult.add_member(:action_group, Shapes::ShapeRef.new(shape: String, required: true, location_name: "actionGroup"))
|
765
|
+
FunctionResult.add_member(:agent_id, Shapes::ShapeRef.new(shape: String, location_name: "agentId"))
|
701
766
|
FunctionResult.add_member(:confirmation_state, Shapes::ShapeRef.new(shape: ConfirmationState, location_name: "confirmationState"))
|
702
767
|
FunctionResult.add_member(:function, Shapes::ShapeRef.new(shape: String, location_name: "function"))
|
703
768
|
FunctionResult.add_member(:response_body, Shapes::ShapeRef.new(shape: ResponseBody, location_name: "responseBody"))
|
@@ -882,6 +947,7 @@ module Aws::BedrockAgentRuntime
|
|
882
947
|
InternalServerException.struct_class = Types::InternalServerException
|
883
948
|
|
884
949
|
InvocationInput.add_member(:action_group_invocation_input, Shapes::ShapeRef.new(shape: ActionGroupInvocationInput, location_name: "actionGroupInvocationInput"))
|
950
|
+
InvocationInput.add_member(:agent_collaborator_invocation_input, Shapes::ShapeRef.new(shape: AgentCollaboratorInvocationInput, location_name: "agentCollaboratorInvocationInput"))
|
885
951
|
InvocationInput.add_member(:code_interpreter_invocation_input, Shapes::ShapeRef.new(shape: CodeInterpreterInvocationInput, location_name: "codeInterpreterInvocationInput"))
|
886
952
|
InvocationInput.add_member(:invocation_type, Shapes::ShapeRef.new(shape: InvocationType, location_name: "invocationType"))
|
887
953
|
InvocationInput.add_member(:knowledge_base_lookup_input, Shapes::ShapeRef.new(shape: KnowledgeBaseLookupInput, location_name: "knowledgeBaseLookupInput"))
|
@@ -914,6 +980,7 @@ module Aws::BedrockAgentRuntime
|
|
914
980
|
InvokeAgentRequest.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, location_name: "memoryId"))
|
915
981
|
InvokeAgentRequest.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location: "uri", location_name: "sessionId"))
|
916
982
|
InvokeAgentRequest.add_member(:session_state, Shapes::ShapeRef.new(shape: SessionState, location_name: "sessionState"))
|
983
|
+
InvokeAgentRequest.add_member(:source_arn, Shapes::ShapeRef.new(shape: AWSResourceARN, location: "header", location_name: "x-amz-source-arn"))
|
917
984
|
InvokeAgentRequest.add_member(:streaming_configurations, Shapes::ShapeRef.new(shape: StreamingConfigurations, location_name: "streamingConfigurations"))
|
918
985
|
InvokeAgentRequest.struct_class = Types::InvokeAgentRequest
|
919
986
|
|
@@ -1021,6 +1088,12 @@ module Aws::BedrockAgentRuntime
|
|
1021
1088
|
MemorySessionSummary.add_member(:summary_text, Shapes::ShapeRef.new(shape: SummaryText, location_name: "summaryText"))
|
1022
1089
|
MemorySessionSummary.struct_class = Types::MemorySessionSummary
|
1023
1090
|
|
1091
|
+
Message.add_member(:content, Shapes::ShapeRef.new(shape: ContentBlocks, required: true, location_name: "content"))
|
1092
|
+
Message.add_member(:role, Shapes::ShapeRef.new(shape: ConversationRole, required: true, location_name: "role"))
|
1093
|
+
Message.struct_class = Types::Message
|
1094
|
+
|
1095
|
+
Messages.member = Shapes::ShapeRef.new(shape: Message)
|
1096
|
+
|
1024
1097
|
Metadata.add_member(:usage, Shapes::ShapeRef.new(shape: Usage, location_name: "usage"))
|
1025
1098
|
Metadata.struct_class = Types::Metadata
|
1026
1099
|
|
@@ -1035,6 +1108,7 @@ module Aws::BedrockAgentRuntime
|
|
1035
1108
|
MetadataConfigurationForReranking.add_member(:selective_mode_configuration, Shapes::ShapeRef.new(shape: RerankingMetadataSelectiveModeConfiguration, location_name: "selectiveModeConfiguration"))
|
1036
1109
|
MetadataConfigurationForReranking.struct_class = Types::MetadataConfigurationForReranking
|
1037
1110
|
|
1111
|
+
ModelInvocationInput.add_member(:foundation_model, Shapes::ShapeRef.new(shape: ModelIdentifier, location_name: "foundationModel"))
|
1038
1112
|
ModelInvocationInput.add_member(:inference_configuration, Shapes::ShapeRef.new(shape: InferenceConfiguration, location_name: "inferenceConfiguration"))
|
1039
1113
|
ModelInvocationInput.add_member(:override_lambda, Shapes::ShapeRef.new(shape: LambdaArn, location_name: "overrideLambda"))
|
1040
1114
|
ModelInvocationInput.add_member(:parser_mode, Shapes::ShapeRef.new(shape: CreationMode, location_name: "parserMode"))
|
@@ -1045,6 +1119,7 @@ module Aws::BedrockAgentRuntime
|
|
1045
1119
|
ModelInvocationInput.struct_class = Types::ModelInvocationInput
|
1046
1120
|
|
1047
1121
|
Observation.add_member(:action_group_invocation_output, Shapes::ShapeRef.new(shape: ActionGroupInvocationOutput, location_name: "actionGroupInvocationOutput"))
|
1122
|
+
Observation.add_member(:agent_collaborator_invocation_output, Shapes::ShapeRef.new(shape: AgentCollaboratorInvocationOutput, location_name: "agentCollaboratorInvocationOutput"))
|
1048
1123
|
Observation.add_member(:code_interpreter_invocation_output, Shapes::ShapeRef.new(shape: CodeInterpreterInvocationOutput, location_name: "codeInterpreterInvocationOutput"))
|
1049
1124
|
Observation.add_member(:final_response, Shapes::ShapeRef.new(shape: FinalResponse, location_name: "finalResponse"))
|
1050
1125
|
Observation.add_member(:knowledge_base_lookup_output, Shapes::ShapeRef.new(shape: KnowledgeBaseLookupOutput, location_name: "knowledgeBaseLookupOutput"))
|
@@ -1426,6 +1501,27 @@ module Aws::BedrockAgentRuntime
|
|
1426
1501
|
ReturnControlPayload.add_member(:invocation_inputs, Shapes::ShapeRef.new(shape: InvocationInputs, location_name: "invocationInputs"))
|
1427
1502
|
ReturnControlPayload.struct_class = Types::ReturnControlPayload
|
1428
1503
|
|
1504
|
+
ReturnControlResults.add_member(:invocation_id, Shapes::ShapeRef.new(shape: String, location_name: "invocationId"))
|
1505
|
+
ReturnControlResults.add_member(:return_control_invocation_results, Shapes::ShapeRef.new(shape: ReturnControlInvocationResults, location_name: "returnControlInvocationResults"))
|
1506
|
+
ReturnControlResults.struct_class = Types::ReturnControlResults
|
1507
|
+
|
1508
|
+
RoutingClassifierModelInvocationOutput.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "metadata"))
|
1509
|
+
RoutingClassifierModelInvocationOutput.add_member(:raw_response, Shapes::ShapeRef.new(shape: RawResponse, location_name: "rawResponse"))
|
1510
|
+
RoutingClassifierModelInvocationOutput.add_member(:trace_id, Shapes::ShapeRef.new(shape: TraceId, location_name: "traceId"))
|
1511
|
+
RoutingClassifierModelInvocationOutput.struct_class = Types::RoutingClassifierModelInvocationOutput
|
1512
|
+
|
1513
|
+
RoutingClassifierTrace.add_member(:invocation_input, Shapes::ShapeRef.new(shape: InvocationInput, location_name: "invocationInput"))
|
1514
|
+
RoutingClassifierTrace.add_member(:model_invocation_input, Shapes::ShapeRef.new(shape: ModelInvocationInput, location_name: "modelInvocationInput"))
|
1515
|
+
RoutingClassifierTrace.add_member(:model_invocation_output, Shapes::ShapeRef.new(shape: RoutingClassifierModelInvocationOutput, location_name: "modelInvocationOutput"))
|
1516
|
+
RoutingClassifierTrace.add_member(:observation, Shapes::ShapeRef.new(shape: Observation, location_name: "observation"))
|
1517
|
+
RoutingClassifierTrace.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
1518
|
+
RoutingClassifierTrace.add_member_subclass(:invocation_input, Types::RoutingClassifierTrace::InvocationInput)
|
1519
|
+
RoutingClassifierTrace.add_member_subclass(:model_invocation_input, Types::RoutingClassifierTrace::ModelInvocationInput)
|
1520
|
+
RoutingClassifierTrace.add_member_subclass(:model_invocation_output, Types::RoutingClassifierTrace::ModelInvocationOutput)
|
1521
|
+
RoutingClassifierTrace.add_member_subclass(:observation, Types::RoutingClassifierTrace::Observation)
|
1522
|
+
RoutingClassifierTrace.add_member_subclass(:unknown, Types::RoutingClassifierTrace::Unknown)
|
1523
|
+
RoutingClassifierTrace.struct_class = Types::RoutingClassifierTrace
|
1524
|
+
|
1429
1525
|
S3Identifier.add_member(:s3_bucket_name, Shapes::ShapeRef.new(shape: S3BucketName, location_name: "s3BucketName"))
|
1430
1526
|
S3Identifier.add_member(:s3_object_key, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "s3ObjectKey"))
|
1431
1527
|
S3Identifier.struct_class = Types::S3Identifier
|
@@ -1442,6 +1538,7 @@ module Aws::BedrockAgentRuntime
|
|
1442
1538
|
SessionAttributesMap.key = Shapes::ShapeRef.new(shape: String)
|
1443
1539
|
SessionAttributesMap.value = Shapes::ShapeRef.new(shape: String)
|
1444
1540
|
|
1541
|
+
SessionState.add_member(:conversation_history, Shapes::ShapeRef.new(shape: ConversationHistory, location_name: "conversationHistory"))
|
1445
1542
|
SessionState.add_member(:files, Shapes::ShapeRef.new(shape: InputFiles, location_name: "files"))
|
1446
1543
|
SessionState.add_member(:invocation_id, Shapes::ShapeRef.new(shape: String, location_name: "invocationId"))
|
1447
1544
|
SessionState.add_member(:knowledge_base_configurations, Shapes::ShapeRef.new(shape: KnowledgeBaseConfigurations, location_name: "knowledgeBaseConfigurations"))
|
@@ -1482,6 +1579,7 @@ module Aws::BedrockAgentRuntime
|
|
1482
1579
|
Trace.add_member(:orchestration_trace, Shapes::ShapeRef.new(shape: OrchestrationTrace, location_name: "orchestrationTrace"))
|
1483
1580
|
Trace.add_member(:post_processing_trace, Shapes::ShapeRef.new(shape: PostProcessingTrace, location_name: "postProcessingTrace"))
|
1484
1581
|
Trace.add_member(:pre_processing_trace, Shapes::ShapeRef.new(shape: PreProcessingTrace, location_name: "preProcessingTrace"))
|
1582
|
+
Trace.add_member(:routing_classifier_trace, Shapes::ShapeRef.new(shape: RoutingClassifierTrace, location_name: "routingClassifierTrace"))
|
1485
1583
|
Trace.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
1486
1584
|
Trace.add_member_subclass(:custom_orchestration_trace, Types::Trace::CustomOrchestrationTrace)
|
1487
1585
|
Trace.add_member_subclass(:failure_trace, Types::Trace::FailureTrace)
|
@@ -1489,12 +1587,15 @@ module Aws::BedrockAgentRuntime
|
|
1489
1587
|
Trace.add_member_subclass(:orchestration_trace, Types::Trace::OrchestrationTrace)
|
1490
1588
|
Trace.add_member_subclass(:post_processing_trace, Types::Trace::PostProcessingTrace)
|
1491
1589
|
Trace.add_member_subclass(:pre_processing_trace, Types::Trace::PreProcessingTrace)
|
1590
|
+
Trace.add_member_subclass(:routing_classifier_trace, Types::Trace::RoutingClassifierTrace)
|
1492
1591
|
Trace.add_member_subclass(:unknown, Types::Trace::Unknown)
|
1493
1592
|
Trace.struct_class = Types::Trace
|
1494
1593
|
|
1495
1594
|
TracePart.add_member(:agent_alias_id, Shapes::ShapeRef.new(shape: AgentAliasId, location_name: "agentAliasId"))
|
1496
1595
|
TracePart.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, location_name: "agentId"))
|
1497
1596
|
TracePart.add_member(:agent_version, Shapes::ShapeRef.new(shape: AgentVersion, location_name: "agentVersion"))
|
1597
|
+
TracePart.add_member(:caller_chain, Shapes::ShapeRef.new(shape: CallerChain, location_name: "callerChain"))
|
1598
|
+
TracePart.add_member(:collaborator_name, Shapes::ShapeRef.new(shape: Name, location_name: "collaboratorName"))
|
1498
1599
|
TracePart.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "sessionId"))
|
1499
1600
|
TracePart.add_member(:trace, Shapes::ShapeRef.new(shape: Trace, location_name: "trace"))
|
1500
1601
|
TracePart.struct_class = Types::TracePart
|