aws-sdk-bedrockagentruntime 1.46.0 → 1.47.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 +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagentruntime/client.rb +731 -1
- data/lib/aws-sdk-bedrockagentruntime/client_api.rb +456 -0
- data/lib/aws-sdk-bedrockagentruntime/types.rb +856 -2
- data/lib/aws-sdk-bedrockagentruntime.rb +2 -2
- data/sig/client.rbs +191 -0
- data/sig/types.rbs +256 -0
- metadata +2 -2
@@ -56,6 +56,9 @@ module Aws::BedrockAgentRuntime
|
|
56
56
|
BedrockRerankingConfigurationNumberOfResultsInteger = Shapes::IntegerShape.new(name: 'BedrockRerankingConfigurationNumberOfResultsInteger')
|
57
57
|
BedrockRerankingModelArn = Shapes::StringShape.new(name: 'BedrockRerankingModelArn')
|
58
58
|
BedrockRerankingModelConfiguration = Shapes::StructureShape.new(name: 'BedrockRerankingModelConfiguration')
|
59
|
+
BedrockSessionContentBlock = Shapes::UnionShape.new(name: 'BedrockSessionContentBlock')
|
60
|
+
BedrockSessionContentBlockTextString = Shapes::StringShape.new(name: 'BedrockSessionContentBlockTextString')
|
61
|
+
BedrockSessionContentBlocks = Shapes::ListShape.new(name: 'BedrockSessionContentBlocks')
|
59
62
|
Blob = Shapes::BlobShape.new(name: 'Blob')
|
60
63
|
Boolean = Shapes::BooleanShape.new(name: 'Boolean')
|
61
64
|
ByteContentBlob = Shapes::BlobShape.new(name: 'ByteContentBlob')
|
@@ -77,6 +80,10 @@ module Aws::BedrockAgentRuntime
|
|
77
80
|
ContentType = Shapes::StringShape.new(name: 'ContentType')
|
78
81
|
ConversationHistory = Shapes::StructureShape.new(name: 'ConversationHistory')
|
79
82
|
ConversationRole = Shapes::StringShape.new(name: 'ConversationRole')
|
83
|
+
CreateInvocationRequest = Shapes::StructureShape.new(name: 'CreateInvocationRequest')
|
84
|
+
CreateInvocationResponse = Shapes::StructureShape.new(name: 'CreateInvocationResponse')
|
85
|
+
CreateSessionRequest = Shapes::StructureShape.new(name: 'CreateSessionRequest')
|
86
|
+
CreateSessionResponse = Shapes::StructureShape.new(name: 'CreateSessionResponse')
|
80
87
|
CreationMode = Shapes::StringShape.new(name: 'CreationMode')
|
81
88
|
CustomControlMethod = Shapes::StringShape.new(name: 'CustomControlMethod')
|
82
89
|
CustomOrchestrationTrace = Shapes::StructureShape.new(name: 'CustomOrchestrationTrace')
|
@@ -84,9 +91,13 @@ module Aws::BedrockAgentRuntime
|
|
84
91
|
DateTimestamp = Shapes::TimestampShape.new(name: 'DateTimestamp', timestampFormat: "iso8601")
|
85
92
|
DeleteAgentMemoryRequest = Shapes::StructureShape.new(name: 'DeleteAgentMemoryRequest')
|
86
93
|
DeleteAgentMemoryResponse = Shapes::StructureShape.new(name: 'DeleteAgentMemoryResponse')
|
94
|
+
DeleteSessionRequest = Shapes::StructureShape.new(name: 'DeleteSessionRequest')
|
95
|
+
DeleteSessionResponse = Shapes::StructureShape.new(name: 'DeleteSessionResponse')
|
87
96
|
DependencyFailedException = Shapes::StructureShape.new(name: 'DependencyFailedException')
|
88
97
|
Document = Shapes::DocumentShape.new(name: 'Document', document: true)
|
89
98
|
Double = Shapes::FloatShape.new(name: 'Double')
|
99
|
+
EndSessionRequest = Shapes::StructureShape.new(name: 'EndSessionRequest')
|
100
|
+
EndSessionResponse = Shapes::StructureShape.new(name: 'EndSessionResponse')
|
90
101
|
ExecutionType = Shapes::StringShape.new(name: 'ExecutionType')
|
91
102
|
ExternalSource = Shapes::StructureShape.new(name: 'ExternalSource')
|
92
103
|
ExternalSourceType = Shapes::StringShape.new(name: 'ExternalSourceType')
|
@@ -154,6 +165,10 @@ module Aws::BedrockAgentRuntime
|
|
154
165
|
GenerationConfiguration = Shapes::StructureShape.new(name: 'GenerationConfiguration')
|
155
166
|
GetAgentMemoryRequest = Shapes::StructureShape.new(name: 'GetAgentMemoryRequest')
|
156
167
|
GetAgentMemoryResponse = Shapes::StructureShape.new(name: 'GetAgentMemoryResponse')
|
168
|
+
GetInvocationStepRequest = Shapes::StructureShape.new(name: 'GetInvocationStepRequest')
|
169
|
+
GetInvocationStepResponse = Shapes::StructureShape.new(name: 'GetInvocationStepResponse')
|
170
|
+
GetSessionRequest = Shapes::StructureShape.new(name: 'GetSessionRequest')
|
171
|
+
GetSessionResponse = Shapes::StructureShape.new(name: 'GetSessionResponse')
|
157
172
|
GuadrailAction = Shapes::StringShape.new(name: 'GuadrailAction')
|
158
173
|
GuardrailAction = Shapes::StringShape.new(name: 'GuardrailAction')
|
159
174
|
GuardrailAssessment = Shapes::StructureShape.new(name: 'GuardrailAssessment')
|
@@ -192,6 +207,10 @@ module Aws::BedrockAgentRuntime
|
|
192
207
|
GuardrailWordPolicyAction = Shapes::StringShape.new(name: 'GuardrailWordPolicyAction')
|
193
208
|
GuardrailWordPolicyAssessment = Shapes::StructureShape.new(name: 'GuardrailWordPolicyAssessment')
|
194
209
|
Identifier = Shapes::StringShape.new(name: 'Identifier')
|
210
|
+
ImageBlock = Shapes::StructureShape.new(name: 'ImageBlock')
|
211
|
+
ImageFormat = Shapes::StringShape.new(name: 'ImageFormat')
|
212
|
+
ImageSource = Shapes::UnionShape.new(name: 'ImageSource')
|
213
|
+
ImageSourceBytesBlob = Shapes::BlobShape.new(name: 'ImageSourceBytesBlob')
|
195
214
|
ImplicitFilterConfiguration = Shapes::StructureShape.new(name: 'ImplicitFilterConfiguration')
|
196
215
|
InferenceConfig = Shapes::StructureShape.new(name: 'InferenceConfig')
|
197
216
|
InferenceConfiguration = Shapes::StructureShape.new(name: 'InferenceConfiguration')
|
@@ -210,10 +229,18 @@ module Aws::BedrockAgentRuntime
|
|
210
229
|
Instruction = Shapes::StringShape.new(name: 'Instruction')
|
211
230
|
Integer = Shapes::IntegerShape.new(name: 'Integer')
|
212
231
|
InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
|
232
|
+
InvocationDescription = Shapes::StringShape.new(name: 'InvocationDescription')
|
233
|
+
InvocationIdentifier = Shapes::StringShape.new(name: 'InvocationIdentifier')
|
213
234
|
InvocationInput = Shapes::StructureShape.new(name: 'InvocationInput')
|
214
235
|
InvocationInputMember = Shapes::UnionShape.new(name: 'InvocationInputMember')
|
215
236
|
InvocationInputs = Shapes::ListShape.new(name: 'InvocationInputs')
|
216
237
|
InvocationResultMember = Shapes::UnionShape.new(name: 'InvocationResultMember')
|
238
|
+
InvocationStep = Shapes::StructureShape.new(name: 'InvocationStep')
|
239
|
+
InvocationStepPayload = Shapes::UnionShape.new(name: 'InvocationStepPayload')
|
240
|
+
InvocationStepSummaries = Shapes::ListShape.new(name: 'InvocationStepSummaries')
|
241
|
+
InvocationStepSummary = Shapes::StructureShape.new(name: 'InvocationStepSummary')
|
242
|
+
InvocationSummaries = Shapes::ListShape.new(name: 'InvocationSummaries')
|
243
|
+
InvocationSummary = Shapes::StructureShape.new(name: 'InvocationSummary')
|
217
244
|
InvocationType = Shapes::StringShape.new(name: 'InvocationType')
|
218
245
|
InvokeAgentRequest = Shapes::StructureShape.new(name: 'InvokeAgentRequest')
|
219
246
|
InvokeAgentResponse = Shapes::StructureShape.new(name: 'InvokeAgentResponse')
|
@@ -241,6 +268,14 @@ module Aws::BedrockAgentRuntime
|
|
241
268
|
KnowledgeBases = Shapes::ListShape.new(name: 'KnowledgeBases')
|
242
269
|
LambdaArn = Shapes::StringShape.new(name: 'LambdaArn')
|
243
270
|
LambdaResourceArn = Shapes::StringShape.new(name: 'LambdaResourceArn')
|
271
|
+
ListInvocationStepsRequest = Shapes::StructureShape.new(name: 'ListInvocationStepsRequest')
|
272
|
+
ListInvocationStepsResponse = Shapes::StructureShape.new(name: 'ListInvocationStepsResponse')
|
273
|
+
ListInvocationsRequest = Shapes::StructureShape.new(name: 'ListInvocationsRequest')
|
274
|
+
ListInvocationsResponse = Shapes::StructureShape.new(name: 'ListInvocationsResponse')
|
275
|
+
ListSessionsRequest = Shapes::StructureShape.new(name: 'ListSessionsRequest')
|
276
|
+
ListSessionsResponse = Shapes::StructureShape.new(name: 'ListSessionsResponse')
|
277
|
+
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
278
|
+
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
244
279
|
MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
|
245
280
|
MaxTokens = Shapes::IntegerShape.new(name: 'MaxTokens')
|
246
281
|
MaximumLength = Shapes::IntegerShape.new(name: 'MaximumLength')
|
@@ -311,6 +346,8 @@ module Aws::BedrockAgentRuntime
|
|
311
346
|
PromptText = Shapes::StringShape.new(name: 'PromptText')
|
312
347
|
PromptType = Shapes::StringShape.new(name: 'PromptType')
|
313
348
|
PropertyParameters = Shapes::StructureShape.new(name: 'PropertyParameters')
|
349
|
+
PutInvocationStepRequest = Shapes::StructureShape.new(name: 'PutInvocationStepRequest')
|
350
|
+
PutInvocationStepResponse = Shapes::StructureShape.new(name: 'PutInvocationStepResponse')
|
314
351
|
QueryGenerationInput = Shapes::StructureShape.new(name: 'QueryGenerationInput')
|
315
352
|
QueryGenerationInputTextString = Shapes::StringShape.new(name: 'QueryGenerationInputTextString')
|
316
353
|
QueryTransformationConfiguration = Shapes::StructureShape.new(name: 'QueryTransformationConfiguration')
|
@@ -394,15 +431,24 @@ module Aws::BedrockAgentRuntime
|
|
394
431
|
RoutingClassifierTrace = Shapes::UnionShape.new(name: 'RoutingClassifierTrace')
|
395
432
|
S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
|
396
433
|
S3Identifier = Shapes::StructureShape.new(name: 'S3Identifier')
|
434
|
+
S3Location = Shapes::StructureShape.new(name: 'S3Location')
|
397
435
|
S3ObjectDoc = Shapes::StructureShape.new(name: 'S3ObjectDoc')
|
398
436
|
S3ObjectFile = Shapes::StructureShape.new(name: 'S3ObjectFile')
|
399
437
|
S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
|
400
438
|
S3Uri = Shapes::StringShape.new(name: 'S3Uri')
|
401
439
|
SearchType = Shapes::StringShape.new(name: 'SearchType')
|
402
440
|
ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
|
441
|
+
SessionArn = Shapes::StringShape.new(name: 'SessionArn')
|
403
442
|
SessionAttributesMap = Shapes::MapShape.new(name: 'SessionAttributesMap')
|
404
443
|
SessionId = Shapes::StringShape.new(name: 'SessionId')
|
444
|
+
SessionIdentifier = Shapes::StringShape.new(name: 'SessionIdentifier')
|
445
|
+
SessionMetadataKey = Shapes::StringShape.new(name: 'SessionMetadataKey')
|
446
|
+
SessionMetadataMap = Shapes::MapShape.new(name: 'SessionMetadataMap')
|
447
|
+
SessionMetadataValue = Shapes::StringShape.new(name: 'SessionMetadataValue')
|
405
448
|
SessionState = Shapes::StructureShape.new(name: 'SessionState')
|
449
|
+
SessionStatus = Shapes::StringShape.new(name: 'SessionStatus')
|
450
|
+
SessionSummaries = Shapes::ListShape.new(name: 'SessionSummaries')
|
451
|
+
SessionSummary = Shapes::StructureShape.new(name: 'SessionSummary')
|
406
452
|
SessionTTL = Shapes::IntegerShape.new(name: 'SessionTTL')
|
407
453
|
Source = Shapes::StringShape.new(name: 'Source')
|
408
454
|
Span = Shapes::StructureShape.new(name: 'Span')
|
@@ -413,6 +459,13 @@ module Aws::BedrockAgentRuntime
|
|
413
459
|
StreamingConfigurationsApplyGuardrailIntervalInteger = Shapes::IntegerShape.new(name: 'StreamingConfigurationsApplyGuardrailIntervalInteger')
|
414
460
|
String = Shapes::StringShape.new(name: 'String')
|
415
461
|
SummaryText = Shapes::StringShape.new(name: 'SummaryText')
|
462
|
+
TagKey = Shapes::StringShape.new(name: 'TagKey')
|
463
|
+
TagKeyList = Shapes::ListShape.new(name: 'TagKeyList')
|
464
|
+
TagResourceRequest = Shapes::StructureShape.new(name: 'TagResourceRequest')
|
465
|
+
TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
|
466
|
+
TagValue = Shapes::StringShape.new(name: 'TagValue')
|
467
|
+
TaggableResourcesArn = Shapes::StringShape.new(name: 'TaggableResourcesArn')
|
468
|
+
TagsMap = Shapes::MapShape.new(name: 'TagsMap')
|
416
469
|
Temperature = Shapes::FloatShape.new(name: 'Temperature')
|
417
470
|
TextInferenceConfig = Shapes::StructureShape.new(name: 'TextInferenceConfig')
|
418
471
|
TextPrompt = Shapes::StructureShape.new(name: 'TextPrompt')
|
@@ -431,7 +484,12 @@ module Aws::BedrockAgentRuntime
|
|
431
484
|
TracePart = Shapes::StructureShape.new(name: 'TracePart')
|
432
485
|
TransformationConfiguration = Shapes::StructureShape.new(name: 'TransformationConfiguration')
|
433
486
|
Type = Shapes::StringShape.new(name: 'Type')
|
487
|
+
UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
|
488
|
+
UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
|
489
|
+
UpdateSessionRequest = Shapes::StructureShape.new(name: 'UpdateSessionRequest')
|
490
|
+
UpdateSessionResponse = Shapes::StructureShape.new(name: 'UpdateSessionResponse')
|
434
491
|
Usage = Shapes::StructureShape.new(name: 'Usage')
|
492
|
+
Uuid = Shapes::StringShape.new(name: 'Uuid')
|
435
493
|
ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
|
436
494
|
VectorSearchBedrockRerankingConfiguration = Shapes::StructureShape.new(name: 'VectorSearchBedrockRerankingConfiguration')
|
437
495
|
VectorSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger = Shapes::IntegerShape.new(name: 'VectorSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger')
|
@@ -559,6 +617,16 @@ module Aws::BedrockAgentRuntime
|
|
559
617
|
BedrockRerankingModelConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
|
560
618
|
BedrockRerankingModelConfiguration.struct_class = Types::BedrockRerankingModelConfiguration
|
561
619
|
|
620
|
+
BedrockSessionContentBlock.add_member(:image, Shapes::ShapeRef.new(shape: ImageBlock, location_name: "image"))
|
621
|
+
BedrockSessionContentBlock.add_member(:text, Shapes::ShapeRef.new(shape: BedrockSessionContentBlockTextString, location_name: "text"))
|
622
|
+
BedrockSessionContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
623
|
+
BedrockSessionContentBlock.add_member_subclass(:image, Types::BedrockSessionContentBlock::Image)
|
624
|
+
BedrockSessionContentBlock.add_member_subclass(:text, Types::BedrockSessionContentBlock::Text)
|
625
|
+
BedrockSessionContentBlock.add_member_subclass(:unknown, Types::BedrockSessionContentBlock::Unknown)
|
626
|
+
BedrockSessionContentBlock.struct_class = Types::BedrockSessionContentBlock
|
627
|
+
|
628
|
+
BedrockSessionContentBlocks.member = Shapes::ShapeRef.new(shape: BedrockSessionContentBlock)
|
629
|
+
|
562
630
|
ByteContentDoc.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, required: true, location_name: "contentType"))
|
563
631
|
ByteContentDoc.add_member(:data, Shapes::ShapeRef.new(shape: ByteContentBlob, required: true, location_name: "data"))
|
564
632
|
ByteContentDoc.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "identifier"))
|
@@ -617,6 +685,27 @@ module Aws::BedrockAgentRuntime
|
|
617
685
|
ConversationHistory.add_member(:messages, Shapes::ShapeRef.new(shape: Messages, location_name: "messages"))
|
618
686
|
ConversationHistory.struct_class = Types::ConversationHistory
|
619
687
|
|
688
|
+
CreateInvocationRequest.add_member(:description, Shapes::ShapeRef.new(shape: InvocationDescription, location_name: "description"))
|
689
|
+
CreateInvocationRequest.add_member(:invocation_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "invocationId"))
|
690
|
+
CreateInvocationRequest.add_member(:session_identifier, Shapes::ShapeRef.new(shape: SessionIdentifier, required: true, location: "uri", location_name: "sessionIdentifier"))
|
691
|
+
CreateInvocationRequest.struct_class = Types::CreateInvocationRequest
|
692
|
+
|
693
|
+
CreateInvocationResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
694
|
+
CreateInvocationResponse.add_member(:invocation_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "invocationId"))
|
695
|
+
CreateInvocationResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "sessionId"))
|
696
|
+
CreateInvocationResponse.struct_class = Types::CreateInvocationResponse
|
697
|
+
|
698
|
+
CreateSessionRequest.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "encryptionKeyArn"))
|
699
|
+
CreateSessionRequest.add_member(:session_metadata, Shapes::ShapeRef.new(shape: SessionMetadataMap, location_name: "sessionMetadata"))
|
700
|
+
CreateSessionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
701
|
+
CreateSessionRequest.struct_class = Types::CreateSessionRequest
|
702
|
+
|
703
|
+
CreateSessionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
704
|
+
CreateSessionResponse.add_member(:session_arn, Shapes::ShapeRef.new(shape: SessionArn, required: true, location_name: "sessionArn"))
|
705
|
+
CreateSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "sessionId"))
|
706
|
+
CreateSessionResponse.add_member(:session_status, Shapes::ShapeRef.new(shape: SessionStatus, required: true, location_name: "sessionStatus"))
|
707
|
+
CreateSessionResponse.struct_class = Types::CreateSessionResponse
|
708
|
+
|
620
709
|
CustomOrchestrationTrace.add_member(:event, Shapes::ShapeRef.new(shape: CustomOrchestrationTraceEvent, location_name: "event"))
|
621
710
|
CustomOrchestrationTrace.add_member(:trace_id, Shapes::ShapeRef.new(shape: TraceId, location_name: "traceId"))
|
622
711
|
CustomOrchestrationTrace.struct_class = Types::CustomOrchestrationTrace
|
@@ -632,10 +721,23 @@ module Aws::BedrockAgentRuntime
|
|
632
721
|
|
633
722
|
DeleteAgentMemoryResponse.struct_class = Types::DeleteAgentMemoryResponse
|
634
723
|
|
724
|
+
DeleteSessionRequest.add_member(:session_identifier, Shapes::ShapeRef.new(shape: SessionIdentifier, required: true, location: "uri", location_name: "sessionIdentifier"))
|
725
|
+
DeleteSessionRequest.struct_class = Types::DeleteSessionRequest
|
726
|
+
|
727
|
+
DeleteSessionResponse.struct_class = Types::DeleteSessionResponse
|
728
|
+
|
635
729
|
DependencyFailedException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
636
730
|
DependencyFailedException.add_member(:resource_name, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "resourceName"))
|
637
731
|
DependencyFailedException.struct_class = Types::DependencyFailedException
|
638
732
|
|
733
|
+
EndSessionRequest.add_member(:session_identifier, Shapes::ShapeRef.new(shape: SessionIdentifier, required: true, location: "uri", location_name: "sessionIdentifier"))
|
734
|
+
EndSessionRequest.struct_class = Types::EndSessionRequest
|
735
|
+
|
736
|
+
EndSessionResponse.add_member(:session_arn, Shapes::ShapeRef.new(shape: SessionArn, required: true, location_name: "sessionArn"))
|
737
|
+
EndSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "sessionId"))
|
738
|
+
EndSessionResponse.add_member(:session_status, Shapes::ShapeRef.new(shape: SessionStatus, required: true, location_name: "sessionStatus"))
|
739
|
+
EndSessionResponse.struct_class = Types::EndSessionResponse
|
740
|
+
|
639
741
|
ExternalSource.add_member(:byte_content, Shapes::ShapeRef.new(shape: ByteContentDoc, location_name: "byteContent"))
|
640
742
|
ExternalSource.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3ObjectDoc, location_name: "s3Location"))
|
641
743
|
ExternalSource.add_member(:source_type, Shapes::ShapeRef.new(shape: ExternalSourceType, required: true, location_name: "sourceType"))
|
@@ -864,6 +966,26 @@ module Aws::BedrockAgentRuntime
|
|
864
966
|
GetAgentMemoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
865
967
|
GetAgentMemoryResponse.struct_class = Types::GetAgentMemoryResponse
|
866
968
|
|
969
|
+
GetInvocationStepRequest.add_member(:invocation_identifier, Shapes::ShapeRef.new(shape: InvocationIdentifier, required: true, location_name: "invocationIdentifier"))
|
970
|
+
GetInvocationStepRequest.add_member(:invocation_step_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location: "uri", location_name: "invocationStepId"))
|
971
|
+
GetInvocationStepRequest.add_member(:session_identifier, Shapes::ShapeRef.new(shape: SessionIdentifier, required: true, location: "uri", location_name: "sessionIdentifier"))
|
972
|
+
GetInvocationStepRequest.struct_class = Types::GetInvocationStepRequest
|
973
|
+
|
974
|
+
GetInvocationStepResponse.add_member(:invocation_step, Shapes::ShapeRef.new(shape: InvocationStep, required: true, location_name: "invocationStep"))
|
975
|
+
GetInvocationStepResponse.struct_class = Types::GetInvocationStepResponse
|
976
|
+
|
977
|
+
GetSessionRequest.add_member(:session_identifier, Shapes::ShapeRef.new(shape: SessionIdentifier, required: true, location: "uri", location_name: "sessionIdentifier"))
|
978
|
+
GetSessionRequest.struct_class = Types::GetSessionRequest
|
979
|
+
|
980
|
+
GetSessionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
981
|
+
GetSessionResponse.add_member(:encryption_key_arn, Shapes::ShapeRef.new(shape: KmsKeyArn, location_name: "encryptionKeyArn"))
|
982
|
+
GetSessionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "lastUpdatedAt"))
|
983
|
+
GetSessionResponse.add_member(:session_arn, Shapes::ShapeRef.new(shape: SessionArn, required: true, location_name: "sessionArn"))
|
984
|
+
GetSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "sessionId"))
|
985
|
+
GetSessionResponse.add_member(:session_metadata, Shapes::ShapeRef.new(shape: SessionMetadataMap, location_name: "sessionMetadata"))
|
986
|
+
GetSessionResponse.add_member(:session_status, Shapes::ShapeRef.new(shape: SessionStatus, required: true, location_name: "sessionStatus"))
|
987
|
+
GetSessionResponse.struct_class = Types::GetSessionResponse
|
988
|
+
|
867
989
|
GuardrailAssessment.add_member(:content_policy, Shapes::ShapeRef.new(shape: GuardrailContentPolicyAssessment, location_name: "contentPolicy"))
|
868
990
|
GuardrailAssessment.add_member(:sensitive_information_policy, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationPolicyAssessment, location_name: "sensitiveInformationPolicy"))
|
869
991
|
GuardrailAssessment.add_member(:topic_policy, Shapes::ShapeRef.new(shape: GuardrailTopicPolicyAssessment, location_name: "topicPolicy"))
|
@@ -945,6 +1067,18 @@ module Aws::BedrockAgentRuntime
|
|
945
1067
|
GuardrailWordPolicyAssessment.add_member(:managed_word_lists, Shapes::ShapeRef.new(shape: GuardrailManagedWordList, location_name: "managedWordLists"))
|
946
1068
|
GuardrailWordPolicyAssessment.struct_class = Types::GuardrailWordPolicyAssessment
|
947
1069
|
|
1070
|
+
ImageBlock.add_member(:format, Shapes::ShapeRef.new(shape: ImageFormat, required: true, location_name: "format"))
|
1071
|
+
ImageBlock.add_member(:source, Shapes::ShapeRef.new(shape: ImageSource, required: true, location_name: "source"))
|
1072
|
+
ImageBlock.struct_class = Types::ImageBlock
|
1073
|
+
|
1074
|
+
ImageSource.add_member(:bytes, Shapes::ShapeRef.new(shape: ImageSourceBytesBlob, location_name: "bytes"))
|
1075
|
+
ImageSource.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3Location, location_name: "s3Location"))
|
1076
|
+
ImageSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
1077
|
+
ImageSource.add_member_subclass(:bytes, Types::ImageSource::Bytes)
|
1078
|
+
ImageSource.add_member_subclass(:s3_location, Types::ImageSource::S3Location)
|
1079
|
+
ImageSource.add_member_subclass(:unknown, Types::ImageSource::Unknown)
|
1080
|
+
ImageSource.struct_class = Types::ImageSource
|
1081
|
+
|
948
1082
|
ImplicitFilterConfiguration.add_member(:metadata_attributes, Shapes::ShapeRef.new(shape: MetadataAttributeSchemaList, required: true, location_name: "metadataAttributes"))
|
949
1083
|
ImplicitFilterConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
|
950
1084
|
ImplicitFilterConfiguration.struct_class = Types::ImplicitFilterConfiguration
|
@@ -1042,6 +1176,34 @@ module Aws::BedrockAgentRuntime
|
|
1042
1176
|
InvocationResultMember.add_member_subclass(:unknown, Types::InvocationResultMember::Unknown)
|
1043
1177
|
InvocationResultMember.struct_class = Types::InvocationResultMember
|
1044
1178
|
|
1179
|
+
InvocationStep.add_member(:invocation_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "invocationId"))
|
1180
|
+
InvocationStep.add_member(:invocation_step_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "invocationStepId"))
|
1181
|
+
InvocationStep.add_member(:invocation_step_time, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "invocationStepTime"))
|
1182
|
+
InvocationStep.add_member(:payload, Shapes::ShapeRef.new(shape: InvocationStepPayload, required: true, location_name: "payload"))
|
1183
|
+
InvocationStep.add_member(:session_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "sessionId"))
|
1184
|
+
InvocationStep.struct_class = Types::InvocationStep
|
1185
|
+
|
1186
|
+
InvocationStepPayload.add_member(:content_blocks, Shapes::ShapeRef.new(shape: BedrockSessionContentBlocks, location_name: "contentBlocks"))
|
1187
|
+
InvocationStepPayload.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
1188
|
+
InvocationStepPayload.add_member_subclass(:content_blocks, Types::InvocationStepPayload::ContentBlocks)
|
1189
|
+
InvocationStepPayload.add_member_subclass(:unknown, Types::InvocationStepPayload::Unknown)
|
1190
|
+
InvocationStepPayload.struct_class = Types::InvocationStepPayload
|
1191
|
+
|
1192
|
+
InvocationStepSummaries.member = Shapes::ShapeRef.new(shape: InvocationStepSummary)
|
1193
|
+
|
1194
|
+
InvocationStepSummary.add_member(:invocation_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "invocationId"))
|
1195
|
+
InvocationStepSummary.add_member(:invocation_step_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "invocationStepId"))
|
1196
|
+
InvocationStepSummary.add_member(:invocation_step_time, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "invocationStepTime"))
|
1197
|
+
InvocationStepSummary.add_member(:session_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "sessionId"))
|
1198
|
+
InvocationStepSummary.struct_class = Types::InvocationStepSummary
|
1199
|
+
|
1200
|
+
InvocationSummaries.member = Shapes::ShapeRef.new(shape: InvocationSummary)
|
1201
|
+
|
1202
|
+
InvocationSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
1203
|
+
InvocationSummary.add_member(:invocation_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "invocationId"))
|
1204
|
+
InvocationSummary.add_member(:session_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "sessionId"))
|
1205
|
+
InvocationSummary.struct_class = Types::InvocationSummary
|
1206
|
+
|
1045
1207
|
InvokeAgentRequest.add_member(:agent_alias_id, Shapes::ShapeRef.new(shape: AgentAliasId, required: true, location: "uri", location_name: "agentAliasId"))
|
1046
1208
|
InvokeAgentRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, required: true, location: "uri", location_name: "agentId"))
|
1047
1209
|
InvokeAgentRequest.add_member(:bedrock_model_configurations, Shapes::ShapeRef.new(shape: BedrockModelConfigurations, location_name: "bedrockModelConfigurations"))
|
@@ -1149,6 +1311,39 @@ module Aws::BedrockAgentRuntime
|
|
1149
1311
|
|
1150
1312
|
KnowledgeBases.member = Shapes::ShapeRef.new(shape: KnowledgeBase)
|
1151
1313
|
|
1314
|
+
ListInvocationStepsRequest.add_member(:invocation_identifier, Shapes::ShapeRef.new(shape: InvocationIdentifier, location_name: "invocationIdentifier"))
|
1315
|
+
ListInvocationStepsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1316
|
+
ListInvocationStepsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1317
|
+
ListInvocationStepsRequest.add_member(:session_identifier, Shapes::ShapeRef.new(shape: SessionIdentifier, required: true, location: "uri", location_name: "sessionIdentifier"))
|
1318
|
+
ListInvocationStepsRequest.struct_class = Types::ListInvocationStepsRequest
|
1319
|
+
|
1320
|
+
ListInvocationStepsResponse.add_member(:invocation_step_summaries, Shapes::ShapeRef.new(shape: InvocationStepSummaries, required: true, location_name: "invocationStepSummaries"))
|
1321
|
+
ListInvocationStepsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1322
|
+
ListInvocationStepsResponse.struct_class = Types::ListInvocationStepsResponse
|
1323
|
+
|
1324
|
+
ListInvocationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1325
|
+
ListInvocationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1326
|
+
ListInvocationsRequest.add_member(:session_identifier, Shapes::ShapeRef.new(shape: SessionIdentifier, required: true, location: "uri", location_name: "sessionIdentifier"))
|
1327
|
+
ListInvocationsRequest.struct_class = Types::ListInvocationsRequest
|
1328
|
+
|
1329
|
+
ListInvocationsResponse.add_member(:invocation_summaries, Shapes::ShapeRef.new(shape: InvocationSummaries, required: true, location_name: "invocationSummaries"))
|
1330
|
+
ListInvocationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1331
|
+
ListInvocationsResponse.struct_class = Types::ListInvocationsResponse
|
1332
|
+
|
1333
|
+
ListSessionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
|
1334
|
+
ListSessionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location: "querystring", location_name: "nextToken"))
|
1335
|
+
ListSessionsRequest.struct_class = Types::ListSessionsRequest
|
1336
|
+
|
1337
|
+
ListSessionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
|
1338
|
+
ListSessionsResponse.add_member(:session_summaries, Shapes::ShapeRef.new(shape: SessionSummaries, required: true, location_name: "sessionSummaries"))
|
1339
|
+
ListSessionsResponse.struct_class = Types::ListSessionsResponse
|
1340
|
+
|
1341
|
+
ListTagsForResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourcesArn, required: true, location: "uri", location_name: "resourceArn"))
|
1342
|
+
ListTagsForResourceRequest.struct_class = Types::ListTagsForResourceRequest
|
1343
|
+
|
1344
|
+
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, location_name: "tags"))
|
1345
|
+
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
1346
|
+
|
1152
1347
|
Memories.member = Shapes::ShapeRef.new(shape: Memory)
|
1153
1348
|
|
1154
1349
|
Memory.add_member(:session_summary, Shapes::ShapeRef.new(shape: MemorySessionSummary, location_name: "sessionSummary"))
|
@@ -1357,6 +1552,16 @@ module Aws::BedrockAgentRuntime
|
|
1357
1552
|
PropertyParameters.add_member(:properties, Shapes::ShapeRef.new(shape: ParameterList, location_name: "properties"))
|
1358
1553
|
PropertyParameters.struct_class = Types::PropertyParameters
|
1359
1554
|
|
1555
|
+
PutInvocationStepRequest.add_member(:invocation_identifier, Shapes::ShapeRef.new(shape: InvocationIdentifier, required: true, location_name: "invocationIdentifier"))
|
1556
|
+
PutInvocationStepRequest.add_member(:invocation_step_id, Shapes::ShapeRef.new(shape: Uuid, location_name: "invocationStepId"))
|
1557
|
+
PutInvocationStepRequest.add_member(:invocation_step_time, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "invocationStepTime"))
|
1558
|
+
PutInvocationStepRequest.add_member(:payload, Shapes::ShapeRef.new(shape: InvocationStepPayload, required: true, location_name: "payload"))
|
1559
|
+
PutInvocationStepRequest.add_member(:session_identifier, Shapes::ShapeRef.new(shape: SessionIdentifier, required: true, location: "uri", location_name: "sessionIdentifier"))
|
1560
|
+
PutInvocationStepRequest.struct_class = Types::PutInvocationStepRequest
|
1561
|
+
|
1562
|
+
PutInvocationStepResponse.add_member(:invocation_step_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "invocationStepId"))
|
1563
|
+
PutInvocationStepResponse.struct_class = Types::PutInvocationStepResponse
|
1564
|
+
|
1360
1565
|
QueryGenerationInput.add_member(:text, Shapes::ShapeRef.new(shape: QueryGenerationInputTextString, required: true, location_name: "text"))
|
1361
1566
|
QueryGenerationInput.add_member(:type, Shapes::ShapeRef.new(shape: InputQueryType, required: true, location_name: "type"))
|
1362
1567
|
QueryGenerationInput.struct_class = Types::QueryGenerationInput
|
@@ -1651,6 +1856,9 @@ module Aws::BedrockAgentRuntime
|
|
1651
1856
|
S3Identifier.add_member(:s3_object_key, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "s3ObjectKey"))
|
1652
1857
|
S3Identifier.struct_class = Types::S3Identifier
|
1653
1858
|
|
1859
|
+
S3Location.add_member(:uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "uri"))
|
1860
|
+
S3Location.struct_class = Types::S3Location
|
1861
|
+
|
1654
1862
|
S3ObjectDoc.add_member(:uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "uri"))
|
1655
1863
|
S3ObjectDoc.struct_class = Types::S3ObjectDoc
|
1656
1864
|
|
@@ -1663,6 +1871,9 @@ module Aws::BedrockAgentRuntime
|
|
1663
1871
|
SessionAttributesMap.key = Shapes::ShapeRef.new(shape: String)
|
1664
1872
|
SessionAttributesMap.value = Shapes::ShapeRef.new(shape: String)
|
1665
1873
|
|
1874
|
+
SessionMetadataMap.key = Shapes::ShapeRef.new(shape: SessionMetadataKey)
|
1875
|
+
SessionMetadataMap.value = Shapes::ShapeRef.new(shape: SessionMetadataValue)
|
1876
|
+
|
1666
1877
|
SessionState.add_member(:conversation_history, Shapes::ShapeRef.new(shape: ConversationHistory, location_name: "conversationHistory"))
|
1667
1878
|
SessionState.add_member(:files, Shapes::ShapeRef.new(shape: InputFiles, location_name: "files"))
|
1668
1879
|
SessionState.add_member(:invocation_id, Shapes::ShapeRef.new(shape: String, location_name: "invocationId"))
|
@@ -1672,6 +1883,15 @@ module Aws::BedrockAgentRuntime
|
|
1672
1883
|
SessionState.add_member(:session_attributes, Shapes::ShapeRef.new(shape: SessionAttributesMap, location_name: "sessionAttributes"))
|
1673
1884
|
SessionState.struct_class = Types::SessionState
|
1674
1885
|
|
1886
|
+
SessionSummaries.member = Shapes::ShapeRef.new(shape: SessionSummary)
|
1887
|
+
|
1888
|
+
SessionSummary.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
1889
|
+
SessionSummary.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "lastUpdatedAt"))
|
1890
|
+
SessionSummary.add_member(:session_arn, Shapes::ShapeRef.new(shape: SessionArn, required: true, location_name: "sessionArn"))
|
1891
|
+
SessionSummary.add_member(:session_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "sessionId"))
|
1892
|
+
SessionSummary.add_member(:session_status, Shapes::ShapeRef.new(shape: SessionStatus, required: true, location_name: "sessionStatus"))
|
1893
|
+
SessionSummary.struct_class = Types::SessionSummary
|
1894
|
+
|
1675
1895
|
Span.add_member(:end, Shapes::ShapeRef.new(shape: SpanEndInteger, location_name: "end"))
|
1676
1896
|
Span.add_member(:start, Shapes::ShapeRef.new(shape: SpanStartInteger, location_name: "start"))
|
1677
1897
|
Span.struct_class = Types::Span
|
@@ -1682,6 +1902,17 @@ module Aws::BedrockAgentRuntime
|
|
1682
1902
|
StreamingConfigurations.add_member(:stream_final_response, Shapes::ShapeRef.new(shape: Boolean, location_name: "streamFinalResponse"))
|
1683
1903
|
StreamingConfigurations.struct_class = Types::StreamingConfigurations
|
1684
1904
|
|
1905
|
+
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
1906
|
+
|
1907
|
+
TagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourcesArn, required: true, location: "uri", location_name: "resourceArn"))
|
1908
|
+
TagResourceRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagsMap, required: true, location_name: "tags"))
|
1909
|
+
TagResourceRequest.struct_class = Types::TagResourceRequest
|
1910
|
+
|
1911
|
+
TagResourceResponse.struct_class = Types::TagResourceResponse
|
1912
|
+
|
1913
|
+
TagsMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
1914
|
+
TagsMap.value = Shapes::ShapeRef.new(shape: TagValue)
|
1915
|
+
|
1685
1916
|
TextInferenceConfig.add_member(:max_tokens, Shapes::ShapeRef.new(shape: MaxTokens, location_name: "maxTokens"))
|
1686
1917
|
TextInferenceConfig.add_member(:stop_sequences, Shapes::ShapeRef.new(shape: RAGStopSequences, location_name: "stopSequences"))
|
1687
1918
|
TextInferenceConfig.add_member(:temperature, Shapes::ShapeRef.new(shape: Temperature, location_name: "temperature"))
|
@@ -1736,6 +1967,23 @@ module Aws::BedrockAgentRuntime
|
|
1736
1967
|
TransformationConfiguration.add_member(:text_to_sql_configuration, Shapes::ShapeRef.new(shape: TextToSqlConfiguration, location_name: "textToSqlConfiguration"))
|
1737
1968
|
TransformationConfiguration.struct_class = Types::TransformationConfiguration
|
1738
1969
|
|
1970
|
+
UntagResourceRequest.add_member(:resource_arn, Shapes::ShapeRef.new(shape: TaggableResourcesArn, required: true, location: "uri", location_name: "resourceArn"))
|
1971
|
+
UntagResourceRequest.add_member(:tag_keys, Shapes::ShapeRef.new(shape: TagKeyList, required: true, location: "querystring", location_name: "tagKeys"))
|
1972
|
+
UntagResourceRequest.struct_class = Types::UntagResourceRequest
|
1973
|
+
|
1974
|
+
UntagResourceResponse.struct_class = Types::UntagResourceResponse
|
1975
|
+
|
1976
|
+
UpdateSessionRequest.add_member(:session_identifier, Shapes::ShapeRef.new(shape: SessionIdentifier, required: true, location: "uri", location_name: "sessionIdentifier"))
|
1977
|
+
UpdateSessionRequest.add_member(:session_metadata, Shapes::ShapeRef.new(shape: SessionMetadataMap, location_name: "sessionMetadata"))
|
1978
|
+
UpdateSessionRequest.struct_class = Types::UpdateSessionRequest
|
1979
|
+
|
1980
|
+
UpdateSessionResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "createdAt"))
|
1981
|
+
UpdateSessionResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "lastUpdatedAt"))
|
1982
|
+
UpdateSessionResponse.add_member(:session_arn, Shapes::ShapeRef.new(shape: SessionArn, required: true, location_name: "sessionArn"))
|
1983
|
+
UpdateSessionResponse.add_member(:session_id, Shapes::ShapeRef.new(shape: Uuid, required: true, location_name: "sessionId"))
|
1984
|
+
UpdateSessionResponse.add_member(:session_status, Shapes::ShapeRef.new(shape: SessionStatus, required: true, location_name: "sessionStatus"))
|
1985
|
+
UpdateSessionResponse.struct_class = Types::UpdateSessionResponse
|
1986
|
+
|
1739
1987
|
Usage.add_member(:input_tokens, Shapes::ShapeRef.new(shape: Integer, location_name: "inputTokens"))
|
1740
1988
|
Usage.add_member(:output_tokens, Shapes::ShapeRef.new(shape: Integer, location_name: "outputTokens"))
|
1741
1989
|
Usage.struct_class = Types::Usage
|
@@ -1776,6 +2024,35 @@ module Aws::BedrockAgentRuntime
|
|
1776
2024
|
"uid" => "bedrock-agent-runtime-2023-07-26",
|
1777
2025
|
}
|
1778
2026
|
|
2027
|
+
api.add_operation(:create_invocation, Seahorse::Model::Operation.new.tap do |o|
|
2028
|
+
o.name = "CreateInvocation"
|
2029
|
+
o.http_method = "PUT"
|
2030
|
+
o.http_request_uri = "/sessions/{sessionIdentifier}/invocations/"
|
2031
|
+
o.input = Shapes::ShapeRef.new(shape: CreateInvocationRequest)
|
2032
|
+
o.output = Shapes::ShapeRef.new(shape: CreateInvocationResponse)
|
2033
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2034
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2035
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2036
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2037
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2038
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2039
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2040
|
+
end)
|
2041
|
+
|
2042
|
+
api.add_operation(:create_session, Seahorse::Model::Operation.new.tap do |o|
|
2043
|
+
o.name = "CreateSession"
|
2044
|
+
o.http_method = "PUT"
|
2045
|
+
o.http_request_uri = "/sessions/"
|
2046
|
+
o.input = Shapes::ShapeRef.new(shape: CreateSessionRequest)
|
2047
|
+
o.output = Shapes::ShapeRef.new(shape: CreateSessionResponse)
|
2048
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2049
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2050
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2051
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2052
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2053
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2054
|
+
end)
|
2055
|
+
|
1779
2056
|
api.add_operation(:delete_agent_memory, Seahorse::Model::Operation.new.tap do |o|
|
1780
2057
|
o.name = "DeleteAgentMemory"
|
1781
2058
|
o.http_method = "DELETE"
|
@@ -1793,6 +2070,34 @@ module Aws::BedrockAgentRuntime
|
|
1793
2070
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1794
2071
|
end)
|
1795
2072
|
|
2073
|
+
api.add_operation(:delete_session, Seahorse::Model::Operation.new.tap do |o|
|
2074
|
+
o.name = "DeleteSession"
|
2075
|
+
o.http_method = "DELETE"
|
2076
|
+
o.http_request_uri = "/sessions/{sessionIdentifier}/"
|
2077
|
+
o.input = Shapes::ShapeRef.new(shape: DeleteSessionRequest)
|
2078
|
+
o.output = Shapes::ShapeRef.new(shape: DeleteSessionResponse)
|
2079
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2080
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2081
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2082
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2083
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2084
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2085
|
+
end)
|
2086
|
+
|
2087
|
+
api.add_operation(:end_session, Seahorse::Model::Operation.new.tap do |o|
|
2088
|
+
o.name = "EndSession"
|
2089
|
+
o.http_method = "PATCH"
|
2090
|
+
o.http_request_uri = "/sessions/{sessionIdentifier}"
|
2091
|
+
o.input = Shapes::ShapeRef.new(shape: EndSessionRequest)
|
2092
|
+
o.output = Shapes::ShapeRef.new(shape: EndSessionResponse)
|
2093
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2094
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2095
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2096
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2097
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2098
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2099
|
+
end)
|
2100
|
+
|
1796
2101
|
api.add_operation(:generate_query, Seahorse::Model::Operation.new.tap do |o|
|
1797
2102
|
o.name = "GenerateQuery"
|
1798
2103
|
o.http_method = "POST"
|
@@ -1833,6 +2138,32 @@ module Aws::BedrockAgentRuntime
|
|
1833
2138
|
)
|
1834
2139
|
end)
|
1835
2140
|
|
2141
|
+
api.add_operation(:get_invocation_step, Seahorse::Model::Operation.new.tap do |o|
|
2142
|
+
o.name = "GetInvocationStep"
|
2143
|
+
o.http_method = "POST"
|
2144
|
+
o.http_request_uri = "/sessions/{sessionIdentifier}/invocationSteps/{invocationStepId}"
|
2145
|
+
o.input = Shapes::ShapeRef.new(shape: GetInvocationStepRequest)
|
2146
|
+
o.output = Shapes::ShapeRef.new(shape: GetInvocationStepResponse)
|
2147
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2148
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2149
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2150
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2151
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2152
|
+
end)
|
2153
|
+
|
2154
|
+
api.add_operation(:get_session, Seahorse::Model::Operation.new.tap do |o|
|
2155
|
+
o.name = "GetSession"
|
2156
|
+
o.http_method = "GET"
|
2157
|
+
o.http_request_uri = "/sessions/{sessionIdentifier}/"
|
2158
|
+
o.input = Shapes::ShapeRef.new(shape: GetSessionRequest)
|
2159
|
+
o.output = Shapes::ShapeRef.new(shape: GetSessionResponse)
|
2160
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2161
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2162
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2163
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2164
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2165
|
+
end)
|
2166
|
+
|
1836
2167
|
api.add_operation(:invoke_agent, Seahorse::Model::Operation.new.tap do |o|
|
1837
2168
|
o.name = "InvokeAgent"
|
1838
2169
|
o.http_method = "POST"
|
@@ -1885,6 +2216,75 @@ module Aws::BedrockAgentRuntime
|
|
1885
2216
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1886
2217
|
end)
|
1887
2218
|
|
2219
|
+
api.add_operation(:list_invocation_steps, Seahorse::Model::Operation.new.tap do |o|
|
2220
|
+
o.name = "ListInvocationSteps"
|
2221
|
+
o.http_method = "POST"
|
2222
|
+
o.http_request_uri = "/sessions/{sessionIdentifier}/invocationSteps/"
|
2223
|
+
o.input = Shapes::ShapeRef.new(shape: ListInvocationStepsRequest)
|
2224
|
+
o.output = Shapes::ShapeRef.new(shape: ListInvocationStepsResponse)
|
2225
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2226
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2227
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2228
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2229
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2230
|
+
o[:pager] = Aws::Pager.new(
|
2231
|
+
limit_key: "max_results",
|
2232
|
+
tokens: {
|
2233
|
+
"next_token" => "next_token"
|
2234
|
+
}
|
2235
|
+
)
|
2236
|
+
end)
|
2237
|
+
|
2238
|
+
api.add_operation(:list_invocations, Seahorse::Model::Operation.new.tap do |o|
|
2239
|
+
o.name = "ListInvocations"
|
2240
|
+
o.http_method = "POST"
|
2241
|
+
o.http_request_uri = "/sessions/{sessionIdentifier}/invocations/"
|
2242
|
+
o.input = Shapes::ShapeRef.new(shape: ListInvocationsRequest)
|
2243
|
+
o.output = Shapes::ShapeRef.new(shape: ListInvocationsResponse)
|
2244
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2245
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2246
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2247
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2248
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2249
|
+
o[:pager] = Aws::Pager.new(
|
2250
|
+
limit_key: "max_results",
|
2251
|
+
tokens: {
|
2252
|
+
"next_token" => "next_token"
|
2253
|
+
}
|
2254
|
+
)
|
2255
|
+
end)
|
2256
|
+
|
2257
|
+
api.add_operation(:list_sessions, Seahorse::Model::Operation.new.tap do |o|
|
2258
|
+
o.name = "ListSessions"
|
2259
|
+
o.http_method = "POST"
|
2260
|
+
o.http_request_uri = "/sessions/"
|
2261
|
+
o.input = Shapes::ShapeRef.new(shape: ListSessionsRequest)
|
2262
|
+
o.output = Shapes::ShapeRef.new(shape: ListSessionsResponse)
|
2263
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2264
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2265
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2266
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2267
|
+
o[:pager] = Aws::Pager.new(
|
2268
|
+
limit_key: "max_results",
|
2269
|
+
tokens: {
|
2270
|
+
"next_token" => "next_token"
|
2271
|
+
}
|
2272
|
+
)
|
2273
|
+
end)
|
2274
|
+
|
2275
|
+
api.add_operation(:list_tags_for_resource, Seahorse::Model::Operation.new.tap do |o|
|
2276
|
+
o.name = "ListTagsForResource"
|
2277
|
+
o.http_method = "GET"
|
2278
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
2279
|
+
o.input = Shapes::ShapeRef.new(shape: ListTagsForResourceRequest)
|
2280
|
+
o.output = Shapes::ShapeRef.new(shape: ListTagsForResourceResponse)
|
2281
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2282
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2283
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2284
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2285
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2286
|
+
end)
|
2287
|
+
|
1888
2288
|
api.add_operation(:optimize_prompt, Seahorse::Model::Operation.new.tap do |o|
|
1889
2289
|
o.name = "OptimizePrompt"
|
1890
2290
|
o.http_method = "POST"
|
@@ -1899,6 +2299,21 @@ module Aws::BedrockAgentRuntime
|
|
1899
2299
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1900
2300
|
end)
|
1901
2301
|
|
2302
|
+
api.add_operation(:put_invocation_step, Seahorse::Model::Operation.new.tap do |o|
|
2303
|
+
o.name = "PutInvocationStep"
|
2304
|
+
o.http_method = "PUT"
|
2305
|
+
o.http_request_uri = "/sessions/{sessionIdentifier}/invocationSteps/"
|
2306
|
+
o.input = Shapes::ShapeRef.new(shape: PutInvocationStepRequest)
|
2307
|
+
o.output = Shapes::ShapeRef.new(shape: PutInvocationStepResponse)
|
2308
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2309
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2310
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2311
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2312
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2313
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2314
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2315
|
+
end)
|
2316
|
+
|
1902
2317
|
api.add_operation(:rerank, Seahorse::Model::Operation.new.tap do |o|
|
1903
2318
|
o.name = "Rerank"
|
1904
2319
|
o.http_method = "POST"
|
@@ -1976,6 +2391,47 @@ module Aws::BedrockAgentRuntime
|
|
1976
2391
|
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
1977
2392
|
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
1978
2393
|
end)
|
2394
|
+
|
2395
|
+
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
2396
|
+
o.name = "TagResource"
|
2397
|
+
o.http_method = "POST"
|
2398
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
2399
|
+
o.input = Shapes::ShapeRef.new(shape: TagResourceRequest)
|
2400
|
+
o.output = Shapes::ShapeRef.new(shape: TagResourceResponse)
|
2401
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2402
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2403
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2404
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2405
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2406
|
+
o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
|
2407
|
+
end)
|
2408
|
+
|
2409
|
+
api.add_operation(:untag_resource, Seahorse::Model::Operation.new.tap do |o|
|
2410
|
+
o.name = "UntagResource"
|
2411
|
+
o.http_method = "DELETE"
|
2412
|
+
o.http_request_uri = "/tags/{resourceArn}"
|
2413
|
+
o.input = Shapes::ShapeRef.new(shape: UntagResourceRequest)
|
2414
|
+
o.output = Shapes::ShapeRef.new(shape: UntagResourceResponse)
|
2415
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2416
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2417
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2418
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2419
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2420
|
+
end)
|
2421
|
+
|
2422
|
+
api.add_operation(:update_session, Seahorse::Model::Operation.new.tap do |o|
|
2423
|
+
o.name = "UpdateSession"
|
2424
|
+
o.http_method = "PUT"
|
2425
|
+
o.http_request_uri = "/sessions/{sessionIdentifier}/"
|
2426
|
+
o.input = Shapes::ShapeRef.new(shape: UpdateSessionRequest)
|
2427
|
+
o.output = Shapes::ShapeRef.new(shape: UpdateSessionResponse)
|
2428
|
+
o.errors << Shapes::ShapeRef.new(shape: ConflictException)
|
2429
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2430
|
+
o.errors << Shapes::ShapeRef.new(shape: ValidationException)
|
2431
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2432
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2433
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2434
|
+
end)
|
1979
2435
|
end
|
1980
2436
|
|
1981
2437
|
end
|