aws-sdk-bedrockagentcore 1.50.0 → 1.51.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ebc0d69ef43dea4136df5dc0c68fbdb3ea00d4ae11063067d0ae2bc9bf14d47e
4
- data.tar.gz: '048dfedc985753bda1a1fe3fcf57cd2d5c26b2d0b582fdc18d6fe2d2f296f0d3'
3
+ metadata.gz: 4bfc719cd838f47b9e9783b70ab63762123d1554a50d773b790f78427147cb7b
4
+ data.tar.gz: 9fe1f6fc31bd3a6e5a10dad3ed33b7e0e2c623a8a1061b6319ea4df2cd3e0272
5
5
  SHA512:
6
- metadata.gz: '060149c37868825ea37afec0a168275ce6815d0ae955e53efcb49e0034d47ff94260e565098c6a8fa023613b69ae3141247078735e1bb49f7204ea112d3e12ad'
7
- data.tar.gz: 75f1f497dbaf2b2954b74df4ef4ad1263c2614bde911eff552c8061c25abfc8c0ca2573f483302a58a0de6cea98b5f5c2a15745600a11fca24fc5ff4118902d3
6
+ metadata.gz: 85f92c50dc55fe9a14327e06f49407b1c4095698087bdf843dc36452a3d38cb19ed7db6d0ba68ef9cb8f53ead8be6c69a92a5e59a3390473afe757e0c7511899
7
+ data.tar.gz: a7f22f1f26d8d6906ebc7cf9c9437322b771d6095c79fb54f5af99786ed2c8343b2aeb05327321b68499942a61ac6d017ef72b85527476aaeed85392f87ff6d6
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.51.0 (2026-08-28)
5
+ ------------------
6
+
7
+ * Feature - AgentCore Memory now supports direct ingestion into long-term memory via IngestData API
8
+
4
9
  1.50.0 (2026-08-21)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.50.0
1
+ 1.51.0
@@ -2691,6 +2691,103 @@ module Aws::BedrockAgentCore
2691
2691
  req.send_request(options)
2692
2692
  end
2693
2693
 
2694
+ # Submits content directly for ingestion to generate long-term memory
2695
+ # records in a AgentCore Memory resource.
2696
+ #
2697
+ # To use this operation, you must have the
2698
+ # `bedrock-agentcore:IngestData` permission.
2699
+ #
2700
+ # @option params [required, String] :memory_id
2701
+ # The identifier of the AgentCore Memory resource to ingest content
2702
+ # into.
2703
+ #
2704
+ # @option params [required, Types::ContentSource] :source
2705
+ # The content to ingest. Only inline content is supported.
2706
+ #
2707
+ # @option params [required, Time,DateTime,Date,Integer,String] :content_timestamp
2708
+ # The timestamp of when the content occurred.
2709
+ #
2710
+ # @option params [required, String] :actor_id
2711
+ # The identifier of the actor associated with this content. An actor
2712
+ # represents an entity that participates in sessions and generates
2713
+ # content.
2714
+ #
2715
+ # @option params [String] :session_id
2716
+ # The identifier of the session that the content belongs to. If not
2717
+ # provided, a session identifier is generated and returned in the
2718
+ # response.
2719
+ #
2720
+ # @option params [Types::ExtractionConfig] :extraction_config
2721
+ # The extraction configuration for long-term memory records. Use this
2722
+ # parameter to specify namespace variable keys and their values for
2723
+ # namespace substitution during extraction.
2724
+ #
2725
+ # @option params [Hash<String,Types::MetadataValue>] :metadata
2726
+ # The key-value metadata to attach to the content.
2727
+ #
2728
+ # @option params [String] :client_token
2729
+ # A unique, case-sensitive identifier to ensure that the operation
2730
+ # completes no more than one time. If this token matches a previous
2731
+ # request, AgentCore ignores the request, but does not return an error.
2732
+ #
2733
+ # **A suitable default value is auto-generated.** You should normally
2734
+ # not need to pass this option.**
2735
+ #
2736
+ # @return [Types::IngestDataOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2737
+ #
2738
+ # * {Types::IngestDataOutput#session_id #session_id} => String
2739
+ #
2740
+ # @example Request syntax with placeholder values
2741
+ #
2742
+ # resp = client.ingest_data({
2743
+ # memory_id: "MemoryId", # required
2744
+ # source: { # required
2745
+ # inline: {
2746
+ # payload: [ # required
2747
+ # {
2748
+ # conversational: {
2749
+ # content: { # required
2750
+ # text: "ContentTextString",
2751
+ # },
2752
+ # role: "ASSISTANT", # required, accepts ASSISTANT, USER, TOOL, OTHER
2753
+ # },
2754
+ # json: {
2755
+ # content: { # required
2756
+ # },
2757
+ # },
2758
+ # },
2759
+ # ],
2760
+ # },
2761
+ # },
2762
+ # content_timestamp: Time.now, # required
2763
+ # actor_id: "ActorId", # required
2764
+ # session_id: "SessionId",
2765
+ # extraction_config: {
2766
+ # namespace_variables: {
2767
+ # "NamespaceVariableName" => "NamespaceVariableValue",
2768
+ # },
2769
+ # },
2770
+ # metadata: {
2771
+ # "MetadataKey" => {
2772
+ # string_value: "MetadataValueStringValueString",
2773
+ # },
2774
+ # },
2775
+ # client_token: "String",
2776
+ # })
2777
+ #
2778
+ # @example Response structure
2779
+ #
2780
+ # resp.session_id #=> String
2781
+ #
2782
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/IngestData AWS API Documentation
2783
+ #
2784
+ # @overload ingest_data(params = {})
2785
+ # @param [Hash] params ({})
2786
+ def ingest_data(params = {}, options = {})
2787
+ req = build_request(:ingest_data, params)
2788
+ req.send_request(options)
2789
+ end
2790
+
2694
2791
  # Sends a request to an agent or tool hosted in an Amazon Bedrock
2695
2792
  # AgentCore Runtime and receives responses in real-time.
2696
2793
  #
@@ -6441,7 +6538,7 @@ module Aws::BedrockAgentCore
6441
6538
  tracer: tracer
6442
6539
  )
6443
6540
  context[:gem_name] = 'aws-sdk-bedrockagentcore'
6444
- context[:gem_version] = '1.50.0'
6541
+ context[:gem_version] = '1.51.0'
6445
6542
  Seahorse::Client::Request.new(handlers, context)
6446
6543
  end
6447
6544
 
@@ -132,6 +132,7 @@ module Aws::BedrockAgentCore
132
132
  ContentBlockList = Shapes::ListShape.new(name: 'ContentBlockList')
133
133
  ContentBlockType = Shapes::StringShape.new(name: 'ContentBlockType')
134
134
  ContentDeltaEvent = Shapes::StructureShape.new(name: 'ContentDeltaEvent')
135
+ ContentSource = Shapes::UnionShape.new(name: 'ContentSource')
135
136
  ContentStartEvent = Shapes::StructureShape.new(name: 'ContentStartEvent')
136
137
  ContentStopEvent = Shapes::StructureShape.new(name: 'ContentStopEvent')
137
138
  ContentTextString = Shapes::StringShape.new(name: 'ContentTextString')
@@ -374,9 +375,14 @@ module Aws::BedrockAgentCore
374
375
  HttpResponseCode = Shapes::IntegerShape.new(name: 'HttpResponseCode')
375
376
  IgnoredReferenceInputField = Shapes::StringShape.new(name: 'IgnoredReferenceInputField')
376
377
  IgnoredReferenceInputFields = Shapes::ListShape.new(name: 'IgnoredReferenceInputFields')
378
+ IngestDataInput = Shapes::StructureShape.new(name: 'IngestDataInput')
379
+ IngestDataOutput = Shapes::StructureShape.new(name: 'IngestDataOutput')
380
+ IngestPayloadList = Shapes::ListShape.new(name: 'IngestPayloadList')
381
+ IngestPayloadType = Shapes::UnionShape.new(name: 'IngestPayloadType')
377
382
  InlineContent = Shapes::StringShape.new(name: 'InlineContent')
378
383
  InlineGroundTruth = Shapes::StructureShape.new(name: 'InlineGroundTruth')
379
384
  InlineGroundTruthTurnsList = Shapes::ListShape.new(name: 'InlineGroundTruthTurnsList')
385
+ InlineMemoryContent = Shapes::StructureShape.new(name: 'InlineMemoryContent')
380
386
  InputContentBlock = Shapes::StructureShape.new(name: 'InputContentBlock')
381
387
  InputContentBlockList = Shapes::ListShape.new(name: 'InputContentBlockList')
382
388
  Insight = Shapes::StructureShape.new(name: 'Insight')
@@ -1154,6 +1160,12 @@ module Aws::BedrockAgentCore
1154
1160
  ContentDeltaEvent.add_member(:stderr, Shapes::ShapeRef.new(shape: String, location_name: "stderr"))
1155
1161
  ContentDeltaEvent.struct_class = Types::ContentDeltaEvent
1156
1162
 
1163
+ ContentSource.add_member(:inline, Shapes::ShapeRef.new(shape: InlineMemoryContent, location_name: "inline"))
1164
+ ContentSource.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
1165
+ ContentSource.add_member_subclass(:inline, Types::ContentSource::Inline)
1166
+ ContentSource.add_member_subclass(:unknown, Types::ContentSource::Unknown)
1167
+ ContentSource.struct_class = Types::ContentSource
1168
+
1157
1169
  ContentStartEvent.struct_class = Types::ContentStartEvent
1158
1170
 
1159
1171
  ContentStopEvent.add_member(:exit_code, Shapes::ShapeRef.new(shape: Integer, required: true, location_name: "exitCode"))
@@ -2075,6 +2087,29 @@ module Aws::BedrockAgentCore
2075
2087
 
2076
2088
  IgnoredReferenceInputFields.member = Shapes::ShapeRef.new(shape: IgnoredReferenceInputField)
2077
2089
 
2090
+ IngestDataInput.add_member(:memory_id, Shapes::ShapeRef.new(shape: MemoryId, required: true, location: "uri", location_name: "memoryId"))
2091
+ IngestDataInput.add_member(:source, Shapes::ShapeRef.new(shape: ContentSource, required: true, location_name: "source"))
2092
+ IngestDataInput.add_member(:content_timestamp, Shapes::ShapeRef.new(shape: Timestamp, required: true, location_name: "contentTimestamp"))
2093
+ IngestDataInput.add_member(:actor_id, Shapes::ShapeRef.new(shape: ActorId, required: true, location_name: "actorId"))
2094
+ IngestDataInput.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, location_name: "sessionId"))
2095
+ IngestDataInput.add_member(:extraction_config, Shapes::ShapeRef.new(shape: ExtractionConfig, location_name: "extractionConfig"))
2096
+ IngestDataInput.add_member(:metadata, Shapes::ShapeRef.new(shape: MetadataMap, location_name: "metadata"))
2097
+ IngestDataInput.add_member(:client_token, Shapes::ShapeRef.new(shape: String, location_name: "clientToken", metadata: {"idempotencyToken" => true}))
2098
+ IngestDataInput.struct_class = Types::IngestDataInput
2099
+
2100
+ IngestDataOutput.add_member(:session_id, Shapes::ShapeRef.new(shape: SessionId, required: true, location_name: "sessionId"))
2101
+ IngestDataOutput.struct_class = Types::IngestDataOutput
2102
+
2103
+ IngestPayloadList.member = Shapes::ShapeRef.new(shape: IngestPayloadType)
2104
+
2105
+ IngestPayloadType.add_member(:conversational, Shapes::ShapeRef.new(shape: Conversational, location_name: "conversational"))
2106
+ IngestPayloadType.add_member(:json, Shapes::ShapeRef.new(shape: MemoryJsonData, location_name: "json"))
2107
+ IngestPayloadType.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
2108
+ IngestPayloadType.add_member_subclass(:conversational, Types::IngestPayloadType::Conversational)
2109
+ IngestPayloadType.add_member_subclass(:json, Types::IngestPayloadType::Json)
2110
+ IngestPayloadType.add_member_subclass(:unknown, Types::IngestPayloadType::Unknown)
2111
+ IngestPayloadType.struct_class = Types::IngestPayloadType
2112
+
2078
2113
  InlineGroundTruth.add_member(:assertions, Shapes::ShapeRef.new(shape: EvaluationContentList, location_name: "assertions"))
2079
2114
  InlineGroundTruth.add_member(:expected_trajectory, Shapes::ShapeRef.new(shape: EvaluationExpectedTrajectory, location_name: "expectedTrajectory"))
2080
2115
  InlineGroundTruth.add_member(:turns, Shapes::ShapeRef.new(shape: InlineGroundTruthTurnsList, location_name: "turns"))
@@ -2082,6 +2117,9 @@ module Aws::BedrockAgentCore
2082
2117
 
2083
2118
  InlineGroundTruthTurnsList.member = Shapes::ShapeRef.new(shape: GroundTruthTurn)
2084
2119
 
2120
+ InlineMemoryContent.add_member(:payload, Shapes::ShapeRef.new(shape: IngestPayloadList, required: true, location_name: "payload"))
2121
+ InlineMemoryContent.struct_class = Types::InlineMemoryContent
2122
+
2085
2123
  InputContentBlock.add_member(:path, Shapes::ShapeRef.new(shape: MaxLenString, required: true, location_name: "path"))
2086
2124
  InputContentBlock.add_member(:text, Shapes::ShapeRef.new(shape: MaxLenString, location_name: "text"))
2087
2125
  InputContentBlock.add_member(:blob, Shapes::ShapeRef.new(shape: Body, location_name: "blob"))
@@ -3903,6 +3941,20 @@ module Aws::BedrockAgentCore
3903
3941
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3904
3942
  end)
3905
3943
 
3944
+ api.add_operation(:ingest_data, Seahorse::Model::Operation.new.tap do |o|
3945
+ o.name = "IngestData"
3946
+ o.http_method = "POST"
3947
+ o.http_request_uri = "/memories/{memoryId}/ingest"
3948
+ o.input = Shapes::ShapeRef.new(shape: IngestDataInput)
3949
+ o.output = Shapes::ShapeRef.new(shape: IngestDataOutput)
3950
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
3951
+ o.errors << Shapes::ShapeRef.new(shape: ThrottledException)
3952
+ o.errors << Shapes::ShapeRef.new(shape: ServiceException)
3953
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3954
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
3955
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3956
+ end)
3957
+
3906
3958
  api.add_operation(:invoke_agent_runtime, Seahorse::Model::Operation.new.tap do |o|
3907
3959
  o.name = "InvokeAgentRuntime"
3908
3960
  o.http_method = "POST"
@@ -1416,6 +1416,27 @@ module Aws::BedrockAgentCore
1416
1416
  include Aws::Structure
1417
1417
  end
1418
1418
 
1419
+ # The source of the content to ingest. Only inline content is supported.
1420
+ #
1421
+ # @note ContentSource is a union - when making an API calls you must set exactly one of the members.
1422
+ #
1423
+ # @!attribute [rw] inline
1424
+ # The content included directly in the request.
1425
+ # @return [Types::InlineMemoryContent]
1426
+ #
1427
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/ContentSource AWS API Documentation
1428
+ #
1429
+ class ContentSource < Struct.new(
1430
+ :inline,
1431
+ :unknown)
1432
+ SENSITIVE = []
1433
+ include Aws::Structure
1434
+ include Aws::Structure::Union
1435
+
1436
+ class Inline < ContentSource; end
1437
+ class Unknown < ContentSource; end
1438
+ end
1439
+
1419
1440
  # An event that signals the start of content streaming from a command
1420
1441
  # execution. This event is sent when the command begins producing
1421
1442
  # output.
@@ -5476,6 +5497,109 @@ module Aws::BedrockAgentCore
5476
5497
  include Aws::Structure
5477
5498
  end
5478
5499
 
5500
+ # @!attribute [rw] memory_id
5501
+ # The identifier of the AgentCore Memory resource to ingest content
5502
+ # into.
5503
+ # @return [String]
5504
+ #
5505
+ # @!attribute [rw] source
5506
+ # The content to ingest. Only inline content is supported.
5507
+ # @return [Types::ContentSource]
5508
+ #
5509
+ # @!attribute [rw] content_timestamp
5510
+ # The timestamp of when the content occurred.
5511
+ # @return [Time]
5512
+ #
5513
+ # @!attribute [rw] actor_id
5514
+ # The identifier of the actor associated with this content. An actor
5515
+ # represents an entity that participates in sessions and generates
5516
+ # content.
5517
+ # @return [String]
5518
+ #
5519
+ # @!attribute [rw] session_id
5520
+ # The identifier of the session that the content belongs to. If not
5521
+ # provided, a session identifier is generated and returned in the
5522
+ # response.
5523
+ # @return [String]
5524
+ #
5525
+ # @!attribute [rw] extraction_config
5526
+ # The extraction configuration for long-term memory records. Use this
5527
+ # parameter to specify namespace variable keys and their values for
5528
+ # namespace substitution during extraction.
5529
+ # @return [Types::ExtractionConfig]
5530
+ #
5531
+ # @!attribute [rw] metadata
5532
+ # The key-value metadata to attach to the content.
5533
+ # @return [Hash<String,Types::MetadataValue>]
5534
+ #
5535
+ # @!attribute [rw] client_token
5536
+ # A unique, case-sensitive identifier to ensure that the operation
5537
+ # completes no more than one time. If this token matches a previous
5538
+ # request, AgentCore ignores the request, but does not return an
5539
+ # error.
5540
+ #
5541
+ # **A suitable default value is auto-generated.** You should normally
5542
+ # not need to pass this option.
5543
+ # @return [String]
5544
+ #
5545
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/IngestDataInput AWS API Documentation
5546
+ #
5547
+ class IngestDataInput < Struct.new(
5548
+ :memory_id,
5549
+ :source,
5550
+ :content_timestamp,
5551
+ :actor_id,
5552
+ :session_id,
5553
+ :extraction_config,
5554
+ :metadata,
5555
+ :client_token)
5556
+ SENSITIVE = []
5557
+ include Aws::Structure
5558
+ end
5559
+
5560
+ # @!attribute [rw] session_id
5561
+ # The identifier of the session that the service ingested the content
5562
+ # into. This value echoes the session identifier from the request, or
5563
+ # the identifier that the service generated when you did not provide
5564
+ # one.
5565
+ # @return [String]
5566
+ #
5567
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/IngestDataOutput AWS API Documentation
5568
+ #
5569
+ class IngestDataOutput < Struct.new(
5570
+ :session_id)
5571
+ SENSITIVE = []
5572
+ include Aws::Structure
5573
+ end
5574
+
5575
+ # A single content payload item to ingest. A payload item contains
5576
+ # either conversational or JSON content.
5577
+ #
5578
+ # @note IngestPayloadType is a union - when making an API calls you must set exactly one of the members.
5579
+ #
5580
+ # @!attribute [rw] conversational
5581
+ # The conversational content for this payload item.
5582
+ # @return [Types::Conversational]
5583
+ #
5584
+ # @!attribute [rw] json
5585
+ # The JSON content for this payload item.
5586
+ # @return [Types::MemoryJsonData]
5587
+ #
5588
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/IngestPayloadType AWS API Documentation
5589
+ #
5590
+ class IngestPayloadType < Struct.new(
5591
+ :conversational,
5592
+ :json,
5593
+ :unknown)
5594
+ SENSITIVE = [:json]
5595
+ include Aws::Structure
5596
+ include Aws::Structure::Union
5597
+
5598
+ class Conversational < IngestPayloadType; end
5599
+ class Json < IngestPayloadType; end
5600
+ class Unknown < IngestPayloadType; end
5601
+ end
5602
+
5479
5603
  # Inline ground truth data containing assertions, expected trajectories,
5480
5604
  # and per-turn expected responses.
5481
5605
  #
@@ -5503,6 +5627,21 @@ module Aws::BedrockAgentCore
5503
5627
  include Aws::Structure
5504
5628
  end
5505
5629
 
5630
+ # The content included directly in the request as one or more payload
5631
+ # items.
5632
+ #
5633
+ # @!attribute [rw] payload
5634
+ # The list of content payload items to ingest.
5635
+ # @return [Array<Types::IngestPayloadType>]
5636
+ #
5637
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agentcore-2024-02-28/InlineMemoryContent AWS API Documentation
5638
+ #
5639
+ class InlineMemoryContent < Struct.new(
5640
+ :payload)
5641
+ SENSITIVE = []
5642
+ include Aws::Structure
5643
+ end
5644
+
5506
5645
  # A block of input content.
5507
5646
  #
5508
5647
  # @!attribute [rw] path
@@ -56,7 +56,7 @@ module Aws::BedrockAgentCore
56
56
  autoload :Endpoints, 'aws-sdk-bedrockagentcore/endpoints'
57
57
  autoload :EventStreams, 'aws-sdk-bedrockagentcore/event_streams'
58
58
 
59
- GEM_VERSION = '1.50.0'
59
+ GEM_VERSION = '1.51.0'
60
60
 
61
61
  end
62
62
 
data/sig/client.rbs CHANGED
@@ -767,6 +767,44 @@ module Aws
767
767
  ) -> _GetWorkloadAccessTokenForUserIdResponseSuccess
768
768
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetWorkloadAccessTokenForUserIdResponseSuccess
769
769
 
770
+ interface _IngestDataResponseSuccess
771
+ include ::Seahorse::Client::_ResponseSuccess[Types::IngestDataOutput]
772
+ def session_id: () -> ::String
773
+ end
774
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgentCore/Client.html#ingest_data-instance_method
775
+ def ingest_data: (
776
+ memory_id: ::String,
777
+ source: {
778
+ inline: {
779
+ payload: Array[
780
+ {
781
+ conversational: {
782
+ content: {
783
+ text: ::String?
784
+ },
785
+ role: ("ASSISTANT" | "USER" | "TOOL" | "OTHER")
786
+ }?,
787
+ json: {
788
+ content: {
789
+ }
790
+ }?
791
+ }
792
+ ]
793
+ }?
794
+ },
795
+ content_timestamp: ::Time,
796
+ actor_id: ::String,
797
+ ?session_id: ::String,
798
+ ?extraction_config: {
799
+ namespace_variables: Hash[::String, ::String]?
800
+ },
801
+ ?metadata: Hash[::String, {
802
+ string_value: ::String?
803
+ }],
804
+ ?client_token: ::String
805
+ ) -> _IngestDataResponseSuccess
806
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _IngestDataResponseSuccess
807
+
770
808
  interface _InvokeAgentRuntimeResponseSuccess
771
809
  include ::Seahorse::Client::_ResponseSuccess[Types::InvokeAgentRuntimeResponse]
772
810
  def runtime_session_id: () -> ::String
data/sig/types.rbs CHANGED
@@ -444,6 +444,17 @@ module Aws::BedrockAgentCore
444
444
  SENSITIVE: []
445
445
  end
446
446
 
447
+ class ContentSource
448
+ attr_accessor inline: Types::InlineMemoryContent
449
+ attr_accessor unknown: untyped
450
+ SENSITIVE: []
451
+
452
+ class Inline < ContentSource
453
+ end
454
+ class Unknown < ContentSource
455
+ end
456
+ end
457
+
447
458
  class ContentStartEvent < Aws::EmptyStructure
448
459
  end
449
460
 
@@ -1699,6 +1710,37 @@ module Aws::BedrockAgentCore
1699
1710
  SENSITIVE: []
1700
1711
  end
1701
1712
 
1713
+ class IngestDataInput
1714
+ attr_accessor memory_id: ::String
1715
+ attr_accessor source: Types::ContentSource
1716
+ attr_accessor content_timestamp: ::Time
1717
+ attr_accessor actor_id: ::String
1718
+ attr_accessor session_id: ::String
1719
+ attr_accessor extraction_config: Types::ExtractionConfig
1720
+ attr_accessor metadata: ::Hash[::String, Types::MetadataValue]
1721
+ attr_accessor client_token: ::String
1722
+ SENSITIVE: []
1723
+ end
1724
+
1725
+ class IngestDataOutput
1726
+ attr_accessor session_id: ::String
1727
+ SENSITIVE: []
1728
+ end
1729
+
1730
+ class IngestPayloadType
1731
+ attr_accessor conversational: Types::Conversational
1732
+ attr_accessor json: Types::MemoryJsonData
1733
+ attr_accessor unknown: untyped
1734
+ SENSITIVE: [:json]
1735
+
1736
+ class Conversational < IngestPayloadType
1737
+ end
1738
+ class Json < IngestPayloadType
1739
+ end
1740
+ class Unknown < IngestPayloadType
1741
+ end
1742
+ end
1743
+
1702
1744
  class InlineGroundTruth
1703
1745
  attr_accessor assertions: ::Array[Types::EvaluationContent]
1704
1746
  attr_accessor expected_trajectory: Types::EvaluationExpectedTrajectory
@@ -1706,6 +1748,11 @@ module Aws::BedrockAgentCore
1706
1748
  SENSITIVE: []
1707
1749
  end
1708
1750
 
1751
+ class InlineMemoryContent
1752
+ attr_accessor payload: ::Array[Types::IngestPayloadType]
1753
+ SENSITIVE: []
1754
+ end
1755
+
1709
1756
  class InputContentBlock
1710
1757
  attr_accessor path: ::String
1711
1758
  attr_accessor text: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockagentcore
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.50.0
4
+ version: 1.51.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services