aws-sdk-bedrockagentruntime 1.42.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.
@@ -56,6 +56,10 @@ 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')
62
+ Blob = Shapes::BlobShape.new(name: 'Blob')
59
63
  Boolean = Shapes::BooleanShape.new(name: 'Boolean')
60
64
  ByteContentBlob = Shapes::BlobShape.new(name: 'ByteContentBlob')
61
65
  ByteContentDoc = Shapes::StructureShape.new(name: 'ByteContentDoc')
@@ -76,6 +80,10 @@ module Aws::BedrockAgentRuntime
76
80
  ContentType = Shapes::StringShape.new(name: 'ContentType')
77
81
  ConversationHistory = Shapes::StructureShape.new(name: 'ConversationHistory')
78
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')
79
87
  CreationMode = Shapes::StringShape.new(name: 'CreationMode')
80
88
  CustomControlMethod = Shapes::StringShape.new(name: 'CustomControlMethod')
81
89
  CustomOrchestrationTrace = Shapes::StructureShape.new(name: 'CustomOrchestrationTrace')
@@ -83,9 +91,13 @@ module Aws::BedrockAgentRuntime
83
91
  DateTimestamp = Shapes::TimestampShape.new(name: 'DateTimestamp', timestampFormat: "iso8601")
84
92
  DeleteAgentMemoryRequest = Shapes::StructureShape.new(name: 'DeleteAgentMemoryRequest')
85
93
  DeleteAgentMemoryResponse = Shapes::StructureShape.new(name: 'DeleteAgentMemoryResponse')
94
+ DeleteSessionRequest = Shapes::StructureShape.new(name: 'DeleteSessionRequest')
95
+ DeleteSessionResponse = Shapes::StructureShape.new(name: 'DeleteSessionResponse')
86
96
  DependencyFailedException = Shapes::StructureShape.new(name: 'DependencyFailedException')
87
97
  Document = Shapes::DocumentShape.new(name: 'Document', document: true)
88
98
  Double = Shapes::FloatShape.new(name: 'Double')
99
+ EndSessionRequest = Shapes::StructureShape.new(name: 'EndSessionRequest')
100
+ EndSessionResponse = Shapes::StructureShape.new(name: 'EndSessionResponse')
89
101
  ExecutionType = Shapes::StringShape.new(name: 'ExecutionType')
90
102
  ExternalSource = Shapes::StructureShape.new(name: 'ExternalSource')
91
103
  ExternalSourceType = Shapes::StringShape.new(name: 'ExternalSourceType')
@@ -153,6 +165,10 @@ module Aws::BedrockAgentRuntime
153
165
  GenerationConfiguration = Shapes::StructureShape.new(name: 'GenerationConfiguration')
154
166
  GetAgentMemoryRequest = Shapes::StructureShape.new(name: 'GetAgentMemoryRequest')
155
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')
156
172
  GuadrailAction = Shapes::StringShape.new(name: 'GuadrailAction')
157
173
  GuardrailAction = Shapes::StringShape.new(name: 'GuardrailAction')
158
174
  GuardrailAssessment = Shapes::StructureShape.new(name: 'GuardrailAssessment')
@@ -191,6 +207,10 @@ module Aws::BedrockAgentRuntime
191
207
  GuardrailWordPolicyAction = Shapes::StringShape.new(name: 'GuardrailWordPolicyAction')
192
208
  GuardrailWordPolicyAssessment = Shapes::StructureShape.new(name: 'GuardrailWordPolicyAssessment')
193
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')
194
214
  ImplicitFilterConfiguration = Shapes::StructureShape.new(name: 'ImplicitFilterConfiguration')
195
215
  InferenceConfig = Shapes::StructureShape.new(name: 'InferenceConfig')
196
216
  InferenceConfiguration = Shapes::StructureShape.new(name: 'InferenceConfiguration')
@@ -209,10 +229,18 @@ module Aws::BedrockAgentRuntime
209
229
  Instruction = Shapes::StringShape.new(name: 'Instruction')
210
230
  Integer = Shapes::IntegerShape.new(name: 'Integer')
211
231
  InternalServerException = Shapes::StructureShape.new(name: 'InternalServerException')
232
+ InvocationDescription = Shapes::StringShape.new(name: 'InvocationDescription')
233
+ InvocationIdentifier = Shapes::StringShape.new(name: 'InvocationIdentifier')
212
234
  InvocationInput = Shapes::StructureShape.new(name: 'InvocationInput')
213
235
  InvocationInputMember = Shapes::UnionShape.new(name: 'InvocationInputMember')
214
236
  InvocationInputs = Shapes::ListShape.new(name: 'InvocationInputs')
215
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')
216
244
  InvocationType = Shapes::StringShape.new(name: 'InvocationType')
217
245
  InvokeAgentRequest = Shapes::StructureShape.new(name: 'InvokeAgentRequest')
218
246
  InvokeAgentResponse = Shapes::StructureShape.new(name: 'InvokeAgentResponse')
@@ -240,6 +268,14 @@ module Aws::BedrockAgentRuntime
240
268
  KnowledgeBases = Shapes::ListShape.new(name: 'KnowledgeBases')
241
269
  LambdaArn = Shapes::StringShape.new(name: 'LambdaArn')
242
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')
243
279
  MaxResults = Shapes::IntegerShape.new(name: 'MaxResults')
244
280
  MaxTokens = Shapes::IntegerShape.new(name: 'MaxTokens')
245
281
  MaximumLength = Shapes::IntegerShape.new(name: 'MaximumLength')
@@ -310,6 +346,8 @@ module Aws::BedrockAgentRuntime
310
346
  PromptText = Shapes::StringShape.new(name: 'PromptText')
311
347
  PromptType = Shapes::StringShape.new(name: 'PromptType')
312
348
  PropertyParameters = Shapes::StructureShape.new(name: 'PropertyParameters')
349
+ PutInvocationStepRequest = Shapes::StructureShape.new(name: 'PutInvocationStepRequest')
350
+ PutInvocationStepResponse = Shapes::StructureShape.new(name: 'PutInvocationStepResponse')
313
351
  QueryGenerationInput = Shapes::StructureShape.new(name: 'QueryGenerationInput')
314
352
  QueryGenerationInputTextString = Shapes::StringShape.new(name: 'QueryGenerationInputTextString')
315
353
  QueryTransformationConfiguration = Shapes::StructureShape.new(name: 'QueryTransformationConfiguration')
@@ -320,6 +358,8 @@ module Aws::BedrockAgentRuntime
320
358
  Rationale = Shapes::StructureShape.new(name: 'Rationale')
321
359
  RationaleString = Shapes::StringShape.new(name: 'RationaleString')
322
360
  RawResponse = Shapes::StructureShape.new(name: 'RawResponse')
361
+ ReasoningContentBlock = Shapes::UnionShape.new(name: 'ReasoningContentBlock')
362
+ ReasoningTextBlock = Shapes::StructureShape.new(name: 'ReasoningTextBlock')
323
363
  RepromptResponse = Shapes::StructureShape.new(name: 'RepromptResponse')
324
364
  RequestBody = Shapes::StructureShape.new(name: 'RequestBody')
325
365
  RequireConfirmation = Shapes::StringShape.new(name: 'RequireConfirmation')
@@ -391,15 +431,24 @@ module Aws::BedrockAgentRuntime
391
431
  RoutingClassifierTrace = Shapes::UnionShape.new(name: 'RoutingClassifierTrace')
392
432
  S3BucketName = Shapes::StringShape.new(name: 'S3BucketName')
393
433
  S3Identifier = Shapes::StructureShape.new(name: 'S3Identifier')
434
+ S3Location = Shapes::StructureShape.new(name: 'S3Location')
394
435
  S3ObjectDoc = Shapes::StructureShape.new(name: 'S3ObjectDoc')
395
436
  S3ObjectFile = Shapes::StructureShape.new(name: 'S3ObjectFile')
396
437
  S3ObjectKey = Shapes::StringShape.new(name: 'S3ObjectKey')
397
438
  S3Uri = Shapes::StringShape.new(name: 'S3Uri')
398
439
  SearchType = Shapes::StringShape.new(name: 'SearchType')
399
440
  ServiceQuotaExceededException = Shapes::StructureShape.new(name: 'ServiceQuotaExceededException')
441
+ SessionArn = Shapes::StringShape.new(name: 'SessionArn')
400
442
  SessionAttributesMap = Shapes::MapShape.new(name: 'SessionAttributesMap')
401
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')
402
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')
403
452
  SessionTTL = Shapes::IntegerShape.new(name: 'SessionTTL')
404
453
  Source = Shapes::StringShape.new(name: 'Source')
405
454
  Span = Shapes::StructureShape.new(name: 'Span')
@@ -410,6 +459,13 @@ module Aws::BedrockAgentRuntime
410
459
  StreamingConfigurationsApplyGuardrailIntervalInteger = Shapes::IntegerShape.new(name: 'StreamingConfigurationsApplyGuardrailIntervalInteger')
411
460
  String = Shapes::StringShape.new(name: 'String')
412
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')
413
469
  Temperature = Shapes::FloatShape.new(name: 'Temperature')
414
470
  TextInferenceConfig = Shapes::StructureShape.new(name: 'TextInferenceConfig')
415
471
  TextPrompt = Shapes::StructureShape.new(name: 'TextPrompt')
@@ -428,7 +484,12 @@ module Aws::BedrockAgentRuntime
428
484
  TracePart = Shapes::StructureShape.new(name: 'TracePart')
429
485
  TransformationConfiguration = Shapes::StructureShape.new(name: 'TransformationConfiguration')
430
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')
431
491
  Usage = Shapes::StructureShape.new(name: 'Usage')
492
+ Uuid = Shapes::StringShape.new(name: 'Uuid')
432
493
  ValidationException = Shapes::StructureShape.new(name: 'ValidationException')
433
494
  VectorSearchBedrockRerankingConfiguration = Shapes::StructureShape.new(name: 'VectorSearchBedrockRerankingConfiguration')
434
495
  VectorSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger = Shapes::IntegerShape.new(name: 'VectorSearchBedrockRerankingConfigurationNumberOfRerankedResultsInteger')
@@ -556,6 +617,16 @@ module Aws::BedrockAgentRuntime
556
617
  BedrockRerankingModelConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
557
618
  BedrockRerankingModelConfiguration.struct_class = Types::BedrockRerankingModelConfiguration
558
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
+
559
630
  ByteContentDoc.add_member(:content_type, Shapes::ShapeRef.new(shape: ContentType, required: true, location_name: "contentType"))
560
631
  ByteContentDoc.add_member(:data, Shapes::ShapeRef.new(shape: ByteContentBlob, required: true, location_name: "data"))
561
632
  ByteContentDoc.add_member(:identifier, Shapes::ShapeRef.new(shape: Identifier, required: true, location_name: "identifier"))
@@ -614,6 +685,27 @@ module Aws::BedrockAgentRuntime
614
685
  ConversationHistory.add_member(:messages, Shapes::ShapeRef.new(shape: Messages, location_name: "messages"))
615
686
  ConversationHistory.struct_class = Types::ConversationHistory
616
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
+
617
709
  CustomOrchestrationTrace.add_member(:event, Shapes::ShapeRef.new(shape: CustomOrchestrationTraceEvent, location_name: "event"))
618
710
  CustomOrchestrationTrace.add_member(:trace_id, Shapes::ShapeRef.new(shape: TraceId, location_name: "traceId"))
619
711
  CustomOrchestrationTrace.struct_class = Types::CustomOrchestrationTrace
@@ -629,10 +721,23 @@ module Aws::BedrockAgentRuntime
629
721
 
630
722
  DeleteAgentMemoryResponse.struct_class = Types::DeleteAgentMemoryResponse
631
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
+
632
729
  DependencyFailedException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
633
730
  DependencyFailedException.add_member(:resource_name, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "resourceName"))
634
731
  DependencyFailedException.struct_class = Types::DependencyFailedException
635
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
+
636
741
  ExternalSource.add_member(:byte_content, Shapes::ShapeRef.new(shape: ByteContentDoc, location_name: "byteContent"))
637
742
  ExternalSource.add_member(:s3_location, Shapes::ShapeRef.new(shape: S3ObjectDoc, location_name: "s3Location"))
638
743
  ExternalSource.add_member(:source_type, Shapes::ShapeRef.new(shape: ExternalSourceType, required: true, location_name: "sourceType"))
@@ -861,6 +966,26 @@ module Aws::BedrockAgentRuntime
861
966
  GetAgentMemoryResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "nextToken"))
862
967
  GetAgentMemoryResponse.struct_class = Types::GetAgentMemoryResponse
863
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
+
864
989
  GuardrailAssessment.add_member(:content_policy, Shapes::ShapeRef.new(shape: GuardrailContentPolicyAssessment, location_name: "contentPolicy"))
865
990
  GuardrailAssessment.add_member(:sensitive_information_policy, Shapes::ShapeRef.new(shape: GuardrailSensitiveInformationPolicyAssessment, location_name: "sensitiveInformationPolicy"))
866
991
  GuardrailAssessment.add_member(:topic_policy, Shapes::ShapeRef.new(shape: GuardrailTopicPolicyAssessment, location_name: "topicPolicy"))
@@ -942,6 +1067,18 @@ module Aws::BedrockAgentRuntime
942
1067
  GuardrailWordPolicyAssessment.add_member(:managed_word_lists, Shapes::ShapeRef.new(shape: GuardrailManagedWordList, location_name: "managedWordLists"))
943
1068
  GuardrailWordPolicyAssessment.struct_class = Types::GuardrailWordPolicyAssessment
944
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
+
945
1082
  ImplicitFilterConfiguration.add_member(:metadata_attributes, Shapes::ShapeRef.new(shape: MetadataAttributeSchemaList, required: true, location_name: "metadataAttributes"))
946
1083
  ImplicitFilterConfiguration.add_member(:model_arn, Shapes::ShapeRef.new(shape: BedrockModelArn, required: true, location_name: "modelArn"))
947
1084
  ImplicitFilterConfiguration.struct_class = Types::ImplicitFilterConfiguration
@@ -1039,6 +1176,34 @@ module Aws::BedrockAgentRuntime
1039
1176
  InvocationResultMember.add_member_subclass(:unknown, Types::InvocationResultMember::Unknown)
1040
1177
  InvocationResultMember.struct_class = Types::InvocationResultMember
1041
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
+
1042
1207
  InvokeAgentRequest.add_member(:agent_alias_id, Shapes::ShapeRef.new(shape: AgentAliasId, required: true, location: "uri", location_name: "agentAliasId"))
1043
1208
  InvokeAgentRequest.add_member(:agent_id, Shapes::ShapeRef.new(shape: AgentId, required: true, location: "uri", location_name: "agentId"))
1044
1209
  InvokeAgentRequest.add_member(:bedrock_model_configurations, Shapes::ShapeRef.new(shape: BedrockModelConfigurations, location_name: "bedrockModelConfigurations"))
@@ -1146,6 +1311,39 @@ module Aws::BedrockAgentRuntime
1146
1311
 
1147
1312
  KnowledgeBases.member = Shapes::ShapeRef.new(shape: KnowledgeBase)
1148
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
+
1149
1347
  Memories.member = Shapes::ShapeRef.new(shape: Memory)
1150
1348
 
1151
1349
  Memory.add_member(:session_summary, Shapes::ShapeRef.new(shape: MemorySessionSummary, location_name: "sessionSummary"))
@@ -1244,6 +1442,7 @@ module Aws::BedrockAgentRuntime
1244
1442
 
1245
1443
  OrchestrationModelInvocationOutput.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "metadata"))
1246
1444
  OrchestrationModelInvocationOutput.add_member(:raw_response, Shapes::ShapeRef.new(shape: RawResponse, location_name: "rawResponse"))
1445
+ OrchestrationModelInvocationOutput.add_member(:reasoning_content, Shapes::ShapeRef.new(shape: ReasoningContentBlock, location_name: "reasoningContent"))
1247
1446
  OrchestrationModelInvocationOutput.add_member(:trace_id, Shapes::ShapeRef.new(shape: TraceId, location_name: "traceId"))
1248
1447
  OrchestrationModelInvocationOutput.struct_class = Types::OrchestrationModelInvocationOutput
1249
1448
 
@@ -1295,6 +1494,7 @@ module Aws::BedrockAgentRuntime
1295
1494
  PostProcessingModelInvocationOutput.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "metadata"))
1296
1495
  PostProcessingModelInvocationOutput.add_member(:parsed_response, Shapes::ShapeRef.new(shape: PostProcessingParsedResponse, location_name: "parsedResponse"))
1297
1496
  PostProcessingModelInvocationOutput.add_member(:raw_response, Shapes::ShapeRef.new(shape: RawResponse, location_name: "rawResponse"))
1497
+ PostProcessingModelInvocationOutput.add_member(:reasoning_content, Shapes::ShapeRef.new(shape: ReasoningContentBlock, location_name: "reasoningContent"))
1298
1498
  PostProcessingModelInvocationOutput.add_member(:trace_id, Shapes::ShapeRef.new(shape: TraceId, location_name: "traceId"))
1299
1499
  PostProcessingModelInvocationOutput.struct_class = Types::PostProcessingModelInvocationOutput
1300
1500
 
@@ -1312,6 +1512,7 @@ module Aws::BedrockAgentRuntime
1312
1512
  PreProcessingModelInvocationOutput.add_member(:metadata, Shapes::ShapeRef.new(shape: Metadata, location_name: "metadata"))
1313
1513
  PreProcessingModelInvocationOutput.add_member(:parsed_response, Shapes::ShapeRef.new(shape: PreProcessingParsedResponse, location_name: "parsedResponse"))
1314
1514
  PreProcessingModelInvocationOutput.add_member(:raw_response, Shapes::ShapeRef.new(shape: RawResponse, location_name: "rawResponse"))
1515
+ PreProcessingModelInvocationOutput.add_member(:reasoning_content, Shapes::ShapeRef.new(shape: ReasoningContentBlock, location_name: "reasoningContent"))
1315
1516
  PreProcessingModelInvocationOutput.add_member(:trace_id, Shapes::ShapeRef.new(shape: TraceId, location_name: "traceId"))
1316
1517
  PreProcessingModelInvocationOutput.struct_class = Types::PreProcessingModelInvocationOutput
1317
1518
 
@@ -1327,6 +1528,7 @@ module Aws::BedrockAgentRuntime
1327
1528
  PreProcessingTrace.add_member_subclass(:unknown, Types::PreProcessingTrace::Unknown)
1328
1529
  PreProcessingTrace.struct_class = Types::PreProcessingTrace
1329
1530
 
1531
+ PromptConfiguration.add_member(:additional_model_request_fields, Shapes::ShapeRef.new(shape: Document, location_name: "additionalModelRequestFields"))
1330
1532
  PromptConfiguration.add_member(:base_prompt_template, Shapes::ShapeRef.new(shape: BasePromptTemplate, location_name: "basePromptTemplate"))
1331
1533
  PromptConfiguration.add_member(:inference_configuration, Shapes::ShapeRef.new(shape: InferenceConfiguration, location_name: "inferenceConfiguration"))
1332
1534
  PromptConfiguration.add_member(:parser_mode, Shapes::ShapeRef.new(shape: CreationMode, location_name: "parserMode"))
@@ -1350,6 +1552,16 @@ module Aws::BedrockAgentRuntime
1350
1552
  PropertyParameters.add_member(:properties, Shapes::ShapeRef.new(shape: ParameterList, location_name: "properties"))
1351
1553
  PropertyParameters.struct_class = Types::PropertyParameters
1352
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
+
1353
1565
  QueryGenerationInput.add_member(:text, Shapes::ShapeRef.new(shape: QueryGenerationInputTextString, required: true, location_name: "text"))
1354
1566
  QueryGenerationInput.add_member(:type, Shapes::ShapeRef.new(shape: InputQueryType, required: true, location_name: "type"))
1355
1567
  QueryGenerationInput.struct_class = Types::QueryGenerationInput
@@ -1366,6 +1578,18 @@ module Aws::BedrockAgentRuntime
1366
1578
  RawResponse.add_member(:content, Shapes::ShapeRef.new(shape: String, location_name: "content"))
1367
1579
  RawResponse.struct_class = Types::RawResponse
1368
1580
 
1581
+ ReasoningContentBlock.add_member(:reasoning_text, Shapes::ShapeRef.new(shape: ReasoningTextBlock, location_name: "reasoningText"))
1582
+ ReasoningContentBlock.add_member(:redacted_content, Shapes::ShapeRef.new(shape: Blob, location_name: "redactedContent"))
1583
+ ReasoningContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1584
+ ReasoningContentBlock.add_member_subclass(:reasoning_text, Types::ReasoningContentBlock::ReasoningText)
1585
+ ReasoningContentBlock.add_member_subclass(:redacted_content, Types::ReasoningContentBlock::RedactedContent)
1586
+ ReasoningContentBlock.add_member_subclass(:unknown, Types::ReasoningContentBlock::Unknown)
1587
+ ReasoningContentBlock.struct_class = Types::ReasoningContentBlock
1588
+
1589
+ ReasoningTextBlock.add_member(:signature, Shapes::ShapeRef.new(shape: String, location_name: "signature"))
1590
+ ReasoningTextBlock.add_member(:text, Shapes::ShapeRef.new(shape: String, required: true, location_name: "text"))
1591
+ ReasoningTextBlock.struct_class = Types::ReasoningTextBlock
1592
+
1369
1593
  RepromptResponse.add_member(:source, Shapes::ShapeRef.new(shape: Source, location_name: "source"))
1370
1594
  RepromptResponse.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
1371
1595
  RepromptResponse.struct_class = Types::RepromptResponse
@@ -1632,6 +1856,9 @@ module Aws::BedrockAgentRuntime
1632
1856
  S3Identifier.add_member(:s3_object_key, Shapes::ShapeRef.new(shape: S3ObjectKey, location_name: "s3ObjectKey"))
1633
1857
  S3Identifier.struct_class = Types::S3Identifier
1634
1858
 
1859
+ S3Location.add_member(:uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "uri"))
1860
+ S3Location.struct_class = Types::S3Location
1861
+
1635
1862
  S3ObjectDoc.add_member(:uri, Shapes::ShapeRef.new(shape: S3Uri, required: true, location_name: "uri"))
1636
1863
  S3ObjectDoc.struct_class = Types::S3ObjectDoc
1637
1864
 
@@ -1644,6 +1871,9 @@ module Aws::BedrockAgentRuntime
1644
1871
  SessionAttributesMap.key = Shapes::ShapeRef.new(shape: String)
1645
1872
  SessionAttributesMap.value = Shapes::ShapeRef.new(shape: String)
1646
1873
 
1874
+ SessionMetadataMap.key = Shapes::ShapeRef.new(shape: SessionMetadataKey)
1875
+ SessionMetadataMap.value = Shapes::ShapeRef.new(shape: SessionMetadataValue)
1876
+
1647
1877
  SessionState.add_member(:conversation_history, Shapes::ShapeRef.new(shape: ConversationHistory, location_name: "conversationHistory"))
1648
1878
  SessionState.add_member(:files, Shapes::ShapeRef.new(shape: InputFiles, location_name: "files"))
1649
1879
  SessionState.add_member(:invocation_id, Shapes::ShapeRef.new(shape: String, location_name: "invocationId"))
@@ -1653,6 +1883,15 @@ module Aws::BedrockAgentRuntime
1653
1883
  SessionState.add_member(:session_attributes, Shapes::ShapeRef.new(shape: SessionAttributesMap, location_name: "sessionAttributes"))
1654
1884
  SessionState.struct_class = Types::SessionState
1655
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
+
1656
1895
  Span.add_member(:end, Shapes::ShapeRef.new(shape: SpanEndInteger, location_name: "end"))
1657
1896
  Span.add_member(:start, Shapes::ShapeRef.new(shape: SpanStartInteger, location_name: "start"))
1658
1897
  Span.struct_class = Types::Span
@@ -1663,6 +1902,17 @@ module Aws::BedrockAgentRuntime
1663
1902
  StreamingConfigurations.add_member(:stream_final_response, Shapes::ShapeRef.new(shape: Boolean, location_name: "streamFinalResponse"))
1664
1903
  StreamingConfigurations.struct_class = Types::StreamingConfigurations
1665
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
+
1666
1916
  TextInferenceConfig.add_member(:max_tokens, Shapes::ShapeRef.new(shape: MaxTokens, location_name: "maxTokens"))
1667
1917
  TextInferenceConfig.add_member(:stop_sequences, Shapes::ShapeRef.new(shape: RAGStopSequences, location_name: "stopSequences"))
1668
1918
  TextInferenceConfig.add_member(:temperature, Shapes::ShapeRef.new(shape: Temperature, location_name: "temperature"))
@@ -1717,6 +1967,23 @@ module Aws::BedrockAgentRuntime
1717
1967
  TransformationConfiguration.add_member(:text_to_sql_configuration, Shapes::ShapeRef.new(shape: TextToSqlConfiguration, location_name: "textToSqlConfiguration"))
1718
1968
  TransformationConfiguration.struct_class = Types::TransformationConfiguration
1719
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
+
1720
1987
  Usage.add_member(:input_tokens, Shapes::ShapeRef.new(shape: Integer, location_name: "inputTokens"))
1721
1988
  Usage.add_member(:output_tokens, Shapes::ShapeRef.new(shape: Integer, location_name: "outputTokens"))
1722
1989
  Usage.struct_class = Types::Usage
@@ -1757,6 +2024,35 @@ module Aws::BedrockAgentRuntime
1757
2024
  "uid" => "bedrock-agent-runtime-2023-07-26",
1758
2025
  }
1759
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
+
1760
2056
  api.add_operation(:delete_agent_memory, Seahorse::Model::Operation.new.tap do |o|
1761
2057
  o.name = "DeleteAgentMemory"
1762
2058
  o.http_method = "DELETE"
@@ -1774,6 +2070,34 @@ module Aws::BedrockAgentRuntime
1774
2070
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1775
2071
  end)
1776
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
+
1777
2101
  api.add_operation(:generate_query, Seahorse::Model::Operation.new.tap do |o|
1778
2102
  o.name = "GenerateQuery"
1779
2103
  o.http_method = "POST"
@@ -1814,6 +2138,32 @@ module Aws::BedrockAgentRuntime
1814
2138
  )
1815
2139
  end)
1816
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
+
1817
2167
  api.add_operation(:invoke_agent, Seahorse::Model::Operation.new.tap do |o|
1818
2168
  o.name = "InvokeAgent"
1819
2169
  o.http_method = "POST"
@@ -1866,6 +2216,75 @@ module Aws::BedrockAgentRuntime
1866
2216
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1867
2217
  end)
1868
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
+
1869
2288
  api.add_operation(:optimize_prompt, Seahorse::Model::Operation.new.tap do |o|
1870
2289
  o.name = "OptimizePrompt"
1871
2290
  o.http_method = "POST"
@@ -1880,6 +2299,21 @@ module Aws::BedrockAgentRuntime
1880
2299
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1881
2300
  end)
1882
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
+
1883
2317
  api.add_operation(:rerank, Seahorse::Model::Operation.new.tap do |o|
1884
2318
  o.name = "Rerank"
1885
2319
  o.http_method = "POST"
@@ -1957,6 +2391,47 @@ module Aws::BedrockAgentRuntime
1957
2391
  o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1958
2392
  o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
1959
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)
1960
2435
  end
1961
2436
 
1962
2437
  end