aws-sdk-bedrockagent 1.53.0 → 1.54.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: '08922c51c55f935f47cdd309a40cea05ce65e7700589873ab885ec4e2900a37f'
4
- data.tar.gz: 4456aea4ea0c017516164387ff222b77ceee3d3bcd50a7f7432a8427b31b0c42
3
+ metadata.gz: c0685cee61aa58481a4bcfc5819a5a09fc114a1371e379a78a8cf0fd91f900e9
4
+ data.tar.gz: a2cc94764d790dca26aaf8389efc704ac126812bf1e284bf87074c70c3a28738
5
5
  SHA512:
6
- metadata.gz: 780943adea44de1ad2e6747126bc871d74b8af75bc8138e1bdb512cfb7385b3510536456b4021ea2712a0a8606a1a9a5b7325cce379fac47565c23dfd598f0de
7
- data.tar.gz: 3157e9574a415e5a8c895f13055ad796b0287fc72ead55a5841e94a3b3f8d0a71c2ace6af930694304729c8256ad26d69d3b0f534574b11065482da5914e99e2
6
+ metadata.gz: 20e8bf789a542684dab6c0b3bea1424e73fdfe034672731538ca5ce6d1d86fe8d2abff4216cc5361f4c46c550293f34502b65fd9fe9f573fe72eada3e73a3ae7
7
+ data.tar.gz: a450ac33c5ff4ab4445372f1dd2e7754e44bee8437d95d58978dcdef21b2f568b8b4cc8179202afb7eee675d377334ac745ffb19ec1c3cd12485061430e39727
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.54.0 (2025-04-30)
5
+ ------------------
6
+
7
+ * Feature - Features: Add inline code node to prompt flow
8
+
4
9
  1.53.0 (2025-04-03)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.53.0
1
+ 1.54.0
@@ -966,7 +966,7 @@ module Aws::BedrockAgent
966
966
  #
967
967
  #
968
968
  #
969
- # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
969
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html
970
970
  #
971
971
  # @option params [Hash<String,String>] :parent_action_group_signature_params
972
972
  # The configuration settings for a computer use action.
@@ -978,7 +978,7 @@ module Aws::BedrockAgent
978
978
  #
979
979
  #
980
980
  #
981
- # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
981
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html
982
982
  #
983
983
  # @return [Types::CreateAgentActionGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
984
984
  #
@@ -1579,6 +1579,10 @@ module Aws::BedrockAgent
1579
1579
  # },
1580
1580
  # ],
1581
1581
  # },
1582
+ # inline_code: {
1583
+ # code: "InlineCode", # required
1584
+ # language: "Python_3", # required, accepts Python_3
1585
+ # },
1582
1586
  # input: {
1583
1587
  # },
1584
1588
  # iterator: {
@@ -1721,7 +1725,7 @@ module Aws::BedrockAgent
1721
1725
  # type: "String", # required, accepts String, Number, Boolean, Object, Array
1722
1726
  # },
1723
1727
  # ],
1724
- # type: "Input", # required, accepts Input, Output, KnowledgeBase, Condition, Lex, Prompt, LambdaFunction, Storage, Agent, Retrieval, Iterator, Collector
1728
+ # type: "Input", # required, accepts Input, Output, KnowledgeBase, Condition, Lex, Prompt, LambdaFunction, Storage, Agent, Retrieval, Iterator, Collector, InlineCode
1725
1729
  # },
1726
1730
  # ],
1727
1731
  # },
@@ -1751,6 +1755,8 @@ module Aws::BedrockAgent
1751
1755
  # resp.definition.nodes[0].configuration.condition.conditions #=> Array
1752
1756
  # resp.definition.nodes[0].configuration.condition.conditions[0].expression #=> String
1753
1757
  # resp.definition.nodes[0].configuration.condition.conditions[0].name #=> String
1758
+ # resp.definition.nodes[0].configuration.inline_code.code #=> String
1759
+ # resp.definition.nodes[0].configuration.inline_code.language #=> String, one of "Python_3"
1754
1760
  # resp.definition.nodes[0].configuration.knowledge_base.guardrail_configuration.guardrail_identifier #=> String
1755
1761
  # resp.definition.nodes[0].configuration.knowledge_base.guardrail_configuration.guardrail_version #=> String
1756
1762
  # resp.definition.nodes[0].configuration.knowledge_base.knowledge_base_id #=> String
@@ -1797,7 +1803,7 @@ module Aws::BedrockAgent
1797
1803
  # resp.definition.nodes[0].outputs #=> Array
1798
1804
  # resp.definition.nodes[0].outputs[0].name #=> String
1799
1805
  # resp.definition.nodes[0].outputs[0].type #=> String, one of "String", "Number", "Boolean", "Object", "Array"
1800
- # resp.definition.nodes[0].type #=> String, one of "Input", "Output", "KnowledgeBase", "Condition", "Lex", "Prompt", "LambdaFunction", "Storage", "Agent", "Retrieval", "Iterator", "Collector"
1806
+ # resp.definition.nodes[0].type #=> String, one of "Input", "Output", "KnowledgeBase", "Condition", "Lex", "Prompt", "LambdaFunction", "Storage", "Agent", "Retrieval", "Iterator", "Collector", "InlineCode"
1801
1807
  # resp.description #=> String
1802
1808
  # resp.execution_role_arn #=> String
1803
1809
  # resp.id #=> String
@@ -1971,6 +1977,8 @@ module Aws::BedrockAgent
1971
1977
  # resp.definition.nodes[0].configuration.condition.conditions #=> Array
1972
1978
  # resp.definition.nodes[0].configuration.condition.conditions[0].expression #=> String
1973
1979
  # resp.definition.nodes[0].configuration.condition.conditions[0].name #=> String
1980
+ # resp.definition.nodes[0].configuration.inline_code.code #=> String
1981
+ # resp.definition.nodes[0].configuration.inline_code.language #=> String, one of "Python_3"
1974
1982
  # resp.definition.nodes[0].configuration.knowledge_base.guardrail_configuration.guardrail_identifier #=> String
1975
1983
  # resp.definition.nodes[0].configuration.knowledge_base.guardrail_configuration.guardrail_version #=> String
1976
1984
  # resp.definition.nodes[0].configuration.knowledge_base.knowledge_base_id #=> String
@@ -2017,7 +2025,7 @@ module Aws::BedrockAgent
2017
2025
  # resp.definition.nodes[0].outputs #=> Array
2018
2026
  # resp.definition.nodes[0].outputs[0].name #=> String
2019
2027
  # resp.definition.nodes[0].outputs[0].type #=> String, one of "String", "Number", "Boolean", "Object", "Array"
2020
- # resp.definition.nodes[0].type #=> String, one of "Input", "Output", "KnowledgeBase", "Condition", "Lex", "Prompt", "LambdaFunction", "Storage", "Agent", "Retrieval", "Iterator", "Collector"
2028
+ # resp.definition.nodes[0].type #=> String, one of "Input", "Output", "KnowledgeBase", "Condition", "Lex", "Prompt", "LambdaFunction", "Storage", "Agent", "Retrieval", "Iterator", "Collector", "InlineCode"
2021
2029
  # resp.description #=> String
2022
2030
  # resp.execution_role_arn #=> String
2023
2031
  # resp.id #=> String
@@ -3749,6 +3757,8 @@ module Aws::BedrockAgent
3749
3757
  # resp.definition.nodes[0].configuration.condition.conditions #=> Array
3750
3758
  # resp.definition.nodes[0].configuration.condition.conditions[0].expression #=> String
3751
3759
  # resp.definition.nodes[0].configuration.condition.conditions[0].name #=> String
3760
+ # resp.definition.nodes[0].configuration.inline_code.code #=> String
3761
+ # resp.definition.nodes[0].configuration.inline_code.language #=> String, one of "Python_3"
3752
3762
  # resp.definition.nodes[0].configuration.knowledge_base.guardrail_configuration.guardrail_identifier #=> String
3753
3763
  # resp.definition.nodes[0].configuration.knowledge_base.guardrail_configuration.guardrail_version #=> String
3754
3764
  # resp.definition.nodes[0].configuration.knowledge_base.knowledge_base_id #=> String
@@ -3795,7 +3805,7 @@ module Aws::BedrockAgent
3795
3805
  # resp.definition.nodes[0].outputs #=> Array
3796
3806
  # resp.definition.nodes[0].outputs[0].name #=> String
3797
3807
  # resp.definition.nodes[0].outputs[0].type #=> String, one of "String", "Number", "Boolean", "Object", "Array"
3798
- # resp.definition.nodes[0].type #=> String, one of "Input", "Output", "KnowledgeBase", "Condition", "Lex", "Prompt", "LambdaFunction", "Storage", "Agent", "Retrieval", "Iterator", "Collector"
3808
+ # resp.definition.nodes[0].type #=> String, one of "Input", "Output", "KnowledgeBase", "Condition", "Lex", "Prompt", "LambdaFunction", "Storage", "Agent", "Retrieval", "Iterator", "Collector", "InlineCode"
3799
3809
  # resp.description #=> String
3800
3810
  # resp.execution_role_arn #=> String
3801
3811
  # resp.id #=> String
@@ -3961,6 +3971,8 @@ module Aws::BedrockAgent
3961
3971
  # resp.definition.nodes[0].configuration.condition.conditions #=> Array
3962
3972
  # resp.definition.nodes[0].configuration.condition.conditions[0].expression #=> String
3963
3973
  # resp.definition.nodes[0].configuration.condition.conditions[0].name #=> String
3974
+ # resp.definition.nodes[0].configuration.inline_code.code #=> String
3975
+ # resp.definition.nodes[0].configuration.inline_code.language #=> String, one of "Python_3"
3964
3976
  # resp.definition.nodes[0].configuration.knowledge_base.guardrail_configuration.guardrail_identifier #=> String
3965
3977
  # resp.definition.nodes[0].configuration.knowledge_base.guardrail_configuration.guardrail_version #=> String
3966
3978
  # resp.definition.nodes[0].configuration.knowledge_base.knowledge_base_id #=> String
@@ -4007,7 +4019,7 @@ module Aws::BedrockAgent
4007
4019
  # resp.definition.nodes[0].outputs #=> Array
4008
4020
  # resp.definition.nodes[0].outputs[0].name #=> String
4009
4021
  # resp.definition.nodes[0].outputs[0].type #=> String, one of "String", "Number", "Boolean", "Object", "Array"
4010
- # resp.definition.nodes[0].type #=> String, one of "Input", "Output", "KnowledgeBase", "Condition", "Lex", "Prompt", "LambdaFunction", "Storage", "Agent", "Retrieval", "Iterator", "Collector"
4022
+ # resp.definition.nodes[0].type #=> String, one of "Input", "Output", "KnowledgeBase", "Condition", "Lex", "Prompt", "LambdaFunction", "Storage", "Agent", "Retrieval", "Iterator", "Collector", "InlineCode"
4011
4023
  # resp.description #=> String
4012
4024
  # resp.execution_role_arn #=> String
4013
4025
  # resp.id #=> String
@@ -5858,7 +5870,7 @@ module Aws::BedrockAgent
5858
5870
  #
5859
5871
  #
5860
5872
  #
5861
- # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
5873
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html
5862
5874
  # [2]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html
5863
5875
  #
5864
5876
  # @option params [Hash<String,String>] :parent_action_group_signature_params
@@ -5871,7 +5883,7 @@ module Aws::BedrockAgent
5871
5883
  #
5872
5884
  #
5873
5885
  #
5874
- # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
5886
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html
5875
5887
  #
5876
5888
  # @return [Types::UpdateAgentActionGroupResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
5877
5889
  #
@@ -6534,6 +6546,10 @@ module Aws::BedrockAgent
6534
6546
  # },
6535
6547
  # ],
6536
6548
  # },
6549
+ # inline_code: {
6550
+ # code: "InlineCode", # required
6551
+ # language: "Python_3", # required, accepts Python_3
6552
+ # },
6537
6553
  # input: {
6538
6554
  # },
6539
6555
  # iterator: {
@@ -6676,7 +6692,7 @@ module Aws::BedrockAgent
6676
6692
  # type: "String", # required, accepts String, Number, Boolean, Object, Array
6677
6693
  # },
6678
6694
  # ],
6679
- # type: "Input", # required, accepts Input, Output, KnowledgeBase, Condition, Lex, Prompt, LambdaFunction, Storage, Agent, Retrieval, Iterator, Collector
6695
+ # type: "Input", # required, accepts Input, Output, KnowledgeBase, Condition, Lex, Prompt, LambdaFunction, Storage, Agent, Retrieval, Iterator, Collector, InlineCode
6680
6696
  # },
6681
6697
  # ],
6682
6698
  # },
@@ -6704,6 +6720,8 @@ module Aws::BedrockAgent
6704
6720
  # resp.definition.nodes[0].configuration.condition.conditions #=> Array
6705
6721
  # resp.definition.nodes[0].configuration.condition.conditions[0].expression #=> String
6706
6722
  # resp.definition.nodes[0].configuration.condition.conditions[0].name #=> String
6723
+ # resp.definition.nodes[0].configuration.inline_code.code #=> String
6724
+ # resp.definition.nodes[0].configuration.inline_code.language #=> String, one of "Python_3"
6707
6725
  # resp.definition.nodes[0].configuration.knowledge_base.guardrail_configuration.guardrail_identifier #=> String
6708
6726
  # resp.definition.nodes[0].configuration.knowledge_base.guardrail_configuration.guardrail_version #=> String
6709
6727
  # resp.definition.nodes[0].configuration.knowledge_base.knowledge_base_id #=> String
@@ -6750,7 +6768,7 @@ module Aws::BedrockAgent
6750
6768
  # resp.definition.nodes[0].outputs #=> Array
6751
6769
  # resp.definition.nodes[0].outputs[0].name #=> String
6752
6770
  # resp.definition.nodes[0].outputs[0].type #=> String, one of "String", "Number", "Boolean", "Object", "Array"
6753
- # resp.definition.nodes[0].type #=> String, one of "Input", "Output", "KnowledgeBase", "Condition", "Lex", "Prompt", "LambdaFunction", "Storage", "Agent", "Retrieval", "Iterator", "Collector"
6771
+ # resp.definition.nodes[0].type #=> String, one of "Input", "Output", "KnowledgeBase", "Condition", "Lex", "Prompt", "LambdaFunction", "Storage", "Agent", "Retrieval", "Iterator", "Collector", "InlineCode"
6754
6772
  # resp.description #=> String
6755
6773
  # resp.execution_role_arn #=> String
6756
6774
  # resp.id #=> String
@@ -7405,6 +7423,10 @@ module Aws::BedrockAgent
7405
7423
  # },
7406
7424
  # ],
7407
7425
  # },
7426
+ # inline_code: {
7427
+ # code: "InlineCode", # required
7428
+ # language: "Python_3", # required, accepts Python_3
7429
+ # },
7408
7430
  # input: {
7409
7431
  # },
7410
7432
  # iterator: {
@@ -7547,7 +7569,7 @@ module Aws::BedrockAgent
7547
7569
  # type: "String", # required, accepts String, Number, Boolean, Object, Array
7548
7570
  # },
7549
7571
  # ],
7550
- # type: "Input", # required, accepts Input, Output, KnowledgeBase, Condition, Lex, Prompt, LambdaFunction, Storage, Agent, Retrieval, Iterator, Collector
7572
+ # type: "Input", # required, accepts Input, Output, KnowledgeBase, Condition, Lex, Prompt, LambdaFunction, Storage, Agent, Retrieval, Iterator, Collector, InlineCode
7551
7573
  # },
7552
7574
  # ],
7553
7575
  # },
@@ -7627,7 +7649,7 @@ module Aws::BedrockAgent
7627
7649
  tracer: tracer
7628
7650
  )
7629
7651
  context[:gem_name] = 'aws-sdk-bedrockagent'
7630
- context[:gem_version] = '1.53.0'
7652
+ context[:gem_version] = '1.54.0'
7631
7653
  Seahorse::Client::Request.new(handlers, context)
7632
7654
  end
7633
7655
 
@@ -301,6 +301,8 @@ module Aws::BedrockAgent
301
301
  IngestionJobStatus = Shapes::StringShape.new(name: 'IngestionJobStatus')
302
302
  IngestionJobSummaries = Shapes::ListShape.new(name: 'IngestionJobSummaries')
303
303
  IngestionJobSummary = Shapes::StructureShape.new(name: 'IngestionJobSummary')
304
+ InlineCode = Shapes::StringShape.new(name: 'InlineCode')
305
+ InlineCodeFlowNodeConfiguration = Shapes::StructureShape.new(name: 'InlineCodeFlowNodeConfiguration')
304
306
  InlineContent = Shapes::StructureShape.new(name: 'InlineContent')
305
307
  InlineContentType = Shapes::StringShape.new(name: 'InlineContentType')
306
308
  InputFlowNodeConfiguration = Shapes::StructureShape.new(name: 'InputFlowNodeConfiguration')
@@ -570,6 +572,7 @@ module Aws::BedrockAgent
570
572
  SupplementalDataStorageLocation = Shapes::StructureShape.new(name: 'SupplementalDataStorageLocation')
571
573
  SupplementalDataStorageLocationType = Shapes::StringShape.new(name: 'SupplementalDataStorageLocationType')
572
574
  SupplementalDataStorageLocations = Shapes::ListShape.new(name: 'SupplementalDataStorageLocations')
575
+ SupportedLanguages = Shapes::StringShape.new(name: 'SupportedLanguages')
573
576
  SystemContentBlock = Shapes::UnionShape.new(name: 'SystemContentBlock')
574
577
  SystemContentBlocks = Shapes::ListShape.new(name: 'SystemContentBlocks')
575
578
  TagKey = Shapes::StringShape.new(name: 'TagKey')
@@ -1394,6 +1397,7 @@ module Aws::BedrockAgent
1394
1397
  FlowNodeConfiguration.add_member(:agent, Shapes::ShapeRef.new(shape: AgentFlowNodeConfiguration, location_name: "agent"))
1395
1398
  FlowNodeConfiguration.add_member(:collector, Shapes::ShapeRef.new(shape: CollectorFlowNodeConfiguration, location_name: "collector"))
1396
1399
  FlowNodeConfiguration.add_member(:condition, Shapes::ShapeRef.new(shape: ConditionFlowNodeConfiguration, location_name: "condition"))
1400
+ FlowNodeConfiguration.add_member(:inline_code, Shapes::ShapeRef.new(shape: InlineCodeFlowNodeConfiguration, location_name: "inlineCode"))
1397
1401
  FlowNodeConfiguration.add_member(:input, Shapes::ShapeRef.new(shape: InputFlowNodeConfiguration, location_name: "input"))
1398
1402
  FlowNodeConfiguration.add_member(:iterator, Shapes::ShapeRef.new(shape: IteratorFlowNodeConfiguration, location_name: "iterator"))
1399
1403
  FlowNodeConfiguration.add_member(:knowledge_base, Shapes::ShapeRef.new(shape: KnowledgeBaseFlowNodeConfiguration, location_name: "knowledgeBase"))
@@ -1407,6 +1411,7 @@ module Aws::BedrockAgent
1407
1411
  FlowNodeConfiguration.add_member_subclass(:agent, Types::FlowNodeConfiguration::Agent)
1408
1412
  FlowNodeConfiguration.add_member_subclass(:collector, Types::FlowNodeConfiguration::Collector)
1409
1413
  FlowNodeConfiguration.add_member_subclass(:condition, Types::FlowNodeConfiguration::Condition)
1414
+ FlowNodeConfiguration.add_member_subclass(:inline_code, Types::FlowNodeConfiguration::InlineCode)
1410
1415
  FlowNodeConfiguration.add_member_subclass(:input, Types::FlowNodeConfiguration::Input)
1411
1416
  FlowNodeConfiguration.add_member_subclass(:iterator, Types::FlowNodeConfiguration::Iterator)
1412
1417
  FlowNodeConfiguration.add_member_subclass(:knowledge_base, Types::FlowNodeConfiguration::KnowledgeBase)
@@ -1748,6 +1753,10 @@ module Aws::BedrockAgent
1748
1753
  IngestionJobSummary.add_member(:updated_at, Shapes::ShapeRef.new(shape: DateTimestamp, required: true, location_name: "updatedAt"))
1749
1754
  IngestionJobSummary.struct_class = Types::IngestionJobSummary
1750
1755
 
1756
+ InlineCodeFlowNodeConfiguration.add_member(:code, Shapes::ShapeRef.new(shape: InlineCode, required: true, location_name: "code"))
1757
+ InlineCodeFlowNodeConfiguration.add_member(:language, Shapes::ShapeRef.new(shape: SupportedLanguages, required: true, location_name: "language"))
1758
+ InlineCodeFlowNodeConfiguration.struct_class = Types::InlineCodeFlowNodeConfiguration
1759
+
1751
1760
  InlineContent.add_member(:byte_content, Shapes::ShapeRef.new(shape: ByteContentDoc, location_name: "byteContent"))
1752
1761
  InlineContent.add_member(:text_content, Shapes::ShapeRef.new(shape: TextContentDoc, location_name: "textContent"))
1753
1762
  InlineContent.add_member(:type, Shapes::ShapeRef.new(shape: InlineContentType, required: true, location_name: "type"))
@@ -386,7 +386,7 @@ module Aws::BedrockAgent
386
386
  #
387
387
  #
388
388
  #
389
- # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
389
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html
390
390
  # @return [Hash<String,String>]
391
391
  #
392
392
  # @!attribute [rw] parent_action_signature
@@ -1774,7 +1774,7 @@ module Aws::BedrockAgent
1774
1774
  #
1775
1775
  #
1776
1776
  #
1777
- # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
1777
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html
1778
1778
  # @return [String]
1779
1779
  #
1780
1780
  # @!attribute [rw] parent_action_group_signature_params
@@ -1787,7 +1787,7 @@ module Aws::BedrockAgent
1787
1787
  #
1788
1788
  #
1789
1789
  #
1790
- # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
1790
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html
1791
1791
  # @return [Hash<String,String>]
1792
1792
  #
1793
1793
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CreateAgentActionGroupRequest AWS API Documentation
@@ -4017,10 +4017,17 @@ module Aws::BedrockAgent
4017
4017
  # @return [Types::CollectorFlowNodeConfiguration]
4018
4018
  #
4019
4019
  # @!attribute [rw] condition
4020
- # Contains configurations for a Condition node in your flow. Defines
4020
+ # Contains configurations for a condition node in your flow. Defines
4021
4021
  # conditions that lead to different branches of the flow.
4022
4022
  # @return [Types::ConditionFlowNodeConfiguration]
4023
4023
  #
4024
+ # @!attribute [rw] inline_code
4025
+ # Contains configurations for an inline code node in your flow. Inline
4026
+ # code nodes let you write and execute code directly within your flow,
4027
+ # enabling data transformations, custom logic, and integrations
4028
+ # without needing an external Lambda function.
4029
+ # @return [Types::InlineCodeFlowNodeConfiguration]
4030
+ #
4024
4031
  # @!attribute [rw] input
4025
4032
  # Contains configurations for an input flow node in your flow. The
4026
4033
  # first node in the flow. `inputs` can't be specified for this node.
@@ -4066,12 +4073,12 @@ module Aws::BedrockAgent
4066
4073
  # @return [Types::PromptFlowNodeConfiguration]
4067
4074
  #
4068
4075
  # @!attribute [rw] retrieval
4069
- # Contains configurations for a Retrieval node in your flow. Retrieves
4076
+ # Contains configurations for a retrieval node in your flow. Retrieves
4070
4077
  # data from an Amazon S3 location and returns it as the output.
4071
4078
  # @return [Types::RetrievalFlowNodeConfiguration]
4072
4079
  #
4073
4080
  # @!attribute [rw] storage
4074
- # Contains configurations for a Storage node in your flow. Stores an
4081
+ # Contains configurations for a storage node in your flow. Stores an
4075
4082
  # input in an Amazon S3 location.
4076
4083
  # @return [Types::StorageFlowNodeConfiguration]
4077
4084
  #
@@ -4081,6 +4088,7 @@ module Aws::BedrockAgent
4081
4088
  :agent,
4082
4089
  :collector,
4083
4090
  :condition,
4091
+ :inline_code,
4084
4092
  :input,
4085
4093
  :iterator,
4086
4094
  :knowledge_base,
@@ -4098,6 +4106,7 @@ module Aws::BedrockAgent
4098
4106
  class Agent < FlowNodeConfiguration; end
4099
4107
  class Collector < FlowNodeConfiguration; end
4100
4108
  class Condition < FlowNodeConfiguration; end
4109
+ class InlineCode < FlowNodeConfiguration; end
4101
4110
  class Input < FlowNodeConfiguration; end
4102
4111
  class Iterator < FlowNodeConfiguration; end
4103
4112
  class KnowledgeBase < FlowNodeConfiguration; end
@@ -5363,7 +5372,7 @@ module Aws::BedrockAgent
5363
5372
  # the following token at each point of generation. The value that you
5364
5373
  # set for `Top P` determines the number of most-likely candidates from
5365
5374
  # which the model chooses the next token in the sequence. For example,
5366
- # if you set `topP` to 80, the model only selects the next token from
5375
+ # if you set `topP` to 0.8, the model only selects the next token from
5367
5376
  # the top 80% of the probability distribution of next tokens.
5368
5377
  # @return [Float]
5369
5378
  #
@@ -5649,6 +5658,37 @@ module Aws::BedrockAgent
5649
5658
  include Aws::Structure
5650
5659
  end
5651
5660
 
5661
+ # Contains configurations for an inline code node in your flow. Inline
5662
+ # code nodes let you write and execute code directly within your flow,
5663
+ # enabling data transformations, custom logic, and integrations without
5664
+ # needing an external Lambda function.
5665
+ #
5666
+ # @!attribute [rw] code
5667
+ # The code that's executed in your inline code node. The code can
5668
+ # access input data from previous nodes in the flow, perform
5669
+ # operations on that data, and produce output that can be used by
5670
+ # other nodes in your flow.
5671
+ #
5672
+ # The code must be valid in the programming `language` that you
5673
+ # specify.
5674
+ # @return [String]
5675
+ #
5676
+ # @!attribute [rw] language
5677
+ # The programming language used by your inline code node.
5678
+ #
5679
+ # The code must be valid in the programming `language` that you
5680
+ # specify. Currently, only Python 3 (`Python_3`) is supported.
5681
+ # @return [String]
5682
+ #
5683
+ # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/InlineCodeFlowNodeConfiguration AWS API Documentation
5684
+ #
5685
+ class InlineCodeFlowNodeConfiguration < Struct.new(
5686
+ :code,
5687
+ :language)
5688
+ SENSITIVE = [:code]
5689
+ include Aws::Structure
5690
+ end
5691
+
5652
5692
  # Contains information about content defined inline to ingest into a
5653
5693
  # data source. Choose a `type` and include the field that corresponds to
5654
5694
  # it.
@@ -7788,7 +7828,7 @@ module Aws::BedrockAgent
7788
7828
  # skips that step. The default state for each `promptType` is as
7789
7829
  # follows.
7790
7830
  #
7791
- # * `PRE_PROCESSING` – `ENABLED`
7831
+ # * `PRE_PROCESSING` – `DISABLED`
7792
7832
  #
7793
7833
  # * `ORCHESTRATION` – `ENABLED`
7794
7834
  #
@@ -10042,7 +10082,7 @@ module Aws::BedrockAgent
10042
10082
  #
10043
10083
  #
10044
10084
  #
10045
- # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
10085
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html
10046
10086
  # [2]: https://docs.aws.amazon.com/bedrock/latest/APIReference/API_agent-runtime_Observation.html
10047
10087
  # @return [String]
10048
10088
  #
@@ -10056,7 +10096,7 @@ module Aws::BedrockAgent
10056
10096
  #
10057
10097
  #
10058
10098
  #
10059
- # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agent-computer-use.html
10099
+ # [1]: https://docs.aws.amazon.com/bedrock/latest/userguide/agents-computer-use.html
10060
10100
  # @return [Hash<String,String>]
10061
10101
  #
10062
10102
  # @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UpdateAgentActionGroupRequest AWS API Documentation
@@ -54,7 +54,7 @@ module Aws::BedrockAgent
54
54
  autoload :EndpointProvider, 'aws-sdk-bedrockagent/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-bedrockagent/endpoints'
56
56
 
57
- GEM_VERSION = '1.53.0'
57
+ GEM_VERSION = '1.54.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -456,6 +456,10 @@ module Aws
456
456
  },
457
457
  ]
458
458
  }?,
459
+ inline_code: {
460
+ code: ::String,
461
+ language: ("Python_3")
462
+ }?,
459
463
  input: {
460
464
  }?,
461
465
  iterator: {
@@ -598,7 +602,7 @@ module Aws
598
602
  type: ("String" | "Number" | "Boolean" | "Object" | "Array")
599
603
  },
600
604
  ]?,
601
- type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector")
605
+ type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector" | "InlineCode")
602
606
  },
603
607
  ]?
604
608
  },
@@ -2053,6 +2057,10 @@ module Aws
2053
2057
  },
2054
2058
  ]
2055
2059
  }?,
2060
+ inline_code: {
2061
+ code: ::String,
2062
+ language: ("Python_3")
2063
+ }?,
2056
2064
  input: {
2057
2065
  }?,
2058
2066
  iterator: {
@@ -2195,7 +2203,7 @@ module Aws
2195
2203
  type: ("String" | "Number" | "Boolean" | "Object" | "Array")
2196
2204
  },
2197
2205
  ]?,
2198
- type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector")
2206
+ type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector" | "InlineCode")
2199
2207
  },
2200
2208
  ]?
2201
2209
  },
@@ -2561,6 +2569,10 @@ module Aws
2561
2569
  },
2562
2570
  ]
2563
2571
  }?,
2572
+ inline_code: {
2573
+ code: ::String,
2574
+ language: ("Python_3")
2575
+ }?,
2564
2576
  input: {
2565
2577
  }?,
2566
2578
  iterator: {
@@ -2703,7 +2715,7 @@ module Aws
2703
2715
  type: ("String" | "Number" | "Boolean" | "Object" | "Array")
2704
2716
  },
2705
2717
  ]?,
2706
- type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector")
2718
+ type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector" | "InlineCode")
2707
2719
  },
2708
2720
  ]?
2709
2721
  }
data/sig/types.rbs CHANGED
@@ -938,7 +938,7 @@ module Aws::BedrockAgent
938
938
  attr_accessor inputs: ::Array[Types::FlowNodeInput]
939
939
  attr_accessor name: ::String
940
940
  attr_accessor outputs: ::Array[Types::FlowNodeOutput]
941
- attr_accessor type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector")
941
+ attr_accessor type: ("Input" | "Output" | "KnowledgeBase" | "Condition" | "Lex" | "Prompt" | "LambdaFunction" | "Storage" | "Agent" | "Retrieval" | "Iterator" | "Collector" | "InlineCode")
942
942
  SENSITIVE: []
943
943
  end
944
944
 
@@ -946,6 +946,7 @@ module Aws::BedrockAgent
946
946
  attr_accessor agent: Types::AgentFlowNodeConfiguration
947
947
  attr_accessor collector: Types::CollectorFlowNodeConfiguration
948
948
  attr_accessor condition: Types::ConditionFlowNodeConfiguration
949
+ attr_accessor inline_code: Types::InlineCodeFlowNodeConfiguration
949
950
  attr_accessor input: Types::InputFlowNodeConfiguration
950
951
  attr_accessor iterator: Types::IteratorFlowNodeConfiguration
951
952
  attr_accessor knowledge_base: Types::KnowledgeBaseFlowNodeConfiguration
@@ -964,6 +965,8 @@ module Aws::BedrockAgent
964
965
  end
965
966
  class Condition < FlowNodeConfiguration
966
967
  end
968
+ class InlineCode < FlowNodeConfiguration
969
+ end
967
970
  class Input < FlowNodeConfiguration
968
971
  end
969
972
  class Iterator < FlowNodeConfiguration
@@ -1421,6 +1424,12 @@ module Aws::BedrockAgent
1421
1424
  SENSITIVE: []
1422
1425
  end
1423
1426
 
1427
+ class InlineCodeFlowNodeConfiguration
1428
+ attr_accessor code: ::String
1429
+ attr_accessor language: ("Python_3")
1430
+ SENSITIVE: [:code]
1431
+ end
1432
+
1424
1433
  class InlineContent
1425
1434
  attr_accessor byte_content: Types::ByteContentDoc
1426
1435
  attr_accessor text_content: Types::TextContentDoc
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-bedrockagent
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.53.0
4
+ version: 1.54.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2025-04-03 00:00:00.000000000 Z
11
+ date: 2025-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core