aws-sdk-bedrockagent 1.42.0 → 1.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-bedrockagent/client.rb +112 -8
- data/lib/aws-sdk-bedrockagent/client_api.rb +26 -0
- data/lib/aws-sdk-bedrockagent/types.rb +90 -0
- data/lib/aws-sdk-bedrockagent.rb +1 -1
- data/sig/client.rbs +61 -1
- data/sig/types.rbs +37 -4
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 66804890ce959c76007329a8c721cf8412ab9581ca494f61cfa3698640b58d5b
|
|
4
|
+
data.tar.gz: 6ac58f413ccfd8d655e86cac98e7fb800c5aef0fe013ca44ad311648354113af
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5f27cc5346170684700b7d359060a10248da6dc0e2021de3941f9dc9ee329ac87bfcf955b585beb94d176f85085a8e4c5eacde59a0f219063eea11d6ec55b03c
|
|
7
|
+
data.tar.gz: ff1451b7e0d5fb526c6d3e10b4299a28d3b32d467580f195f68fdb33cae8e0fe9446a9b5800170e846d129daf10aabb02bd74fa51248b9b059fda22dfe2014cb
|
data/CHANGELOG.md
CHANGED
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.43.0
|
|
@@ -1090,7 +1090,7 @@ module Aws::BedrockAgent
|
|
|
1090
1090
|
# resp.agent_alias.agent_alias_history_events[0].start_date #=> Time
|
|
1091
1091
|
# resp.agent_alias.agent_alias_id #=> String
|
|
1092
1092
|
# resp.agent_alias.agent_alias_name #=> String
|
|
1093
|
-
# resp.agent_alias.agent_alias_status #=> String, one of "CREATING", "PREPARED", "FAILED", "UPDATING", "DELETING"
|
|
1093
|
+
# resp.agent_alias.agent_alias_status #=> String, one of "CREATING", "PREPARED", "FAILED", "UPDATING", "DELETING", "DISSOCIATED"
|
|
1094
1094
|
# resp.agent_alias.agent_id #=> String
|
|
1095
1095
|
# resp.agent_alias.client_token #=> String
|
|
1096
1096
|
# resp.agent_alias.created_at #=> Time
|
|
@@ -1579,6 +1579,9 @@ module Aws::BedrockAgent
|
|
|
1579
1579
|
# {
|
|
1580
1580
|
# content: [ # required
|
|
1581
1581
|
# {
|
|
1582
|
+
# cache_point: {
|
|
1583
|
+
# type: "default", # required, accepts default
|
|
1584
|
+
# },
|
|
1582
1585
|
# text: "String",
|
|
1583
1586
|
# },
|
|
1584
1587
|
# ],
|
|
@@ -1587,6 +1590,9 @@ module Aws::BedrockAgent
|
|
|
1587
1590
|
# ],
|
|
1588
1591
|
# system: [
|
|
1589
1592
|
# {
|
|
1593
|
+
# cache_point: {
|
|
1594
|
+
# type: "default", # required, accepts default
|
|
1595
|
+
# },
|
|
1590
1596
|
# text: "NonEmptyString",
|
|
1591
1597
|
# },
|
|
1592
1598
|
# ],
|
|
@@ -1602,6 +1608,9 @@ module Aws::BedrockAgent
|
|
|
1602
1608
|
# },
|
|
1603
1609
|
# tools: [ # required
|
|
1604
1610
|
# {
|
|
1611
|
+
# cache_point: {
|
|
1612
|
+
# type: "default", # required, accepts default
|
|
1613
|
+
# },
|
|
1605
1614
|
# tool_spec: {
|
|
1606
1615
|
# description: "NonEmptyString",
|
|
1607
1616
|
# input_schema: { # required
|
|
@@ -1615,6 +1624,9 @@ module Aws::BedrockAgent
|
|
|
1615
1624
|
# },
|
|
1616
1625
|
# },
|
|
1617
1626
|
# text: {
|
|
1627
|
+
# cache_point: {
|
|
1628
|
+
# type: "default", # required, accepts default
|
|
1629
|
+
# },
|
|
1618
1630
|
# input_variables: [
|
|
1619
1631
|
# {
|
|
1620
1632
|
# name: "PromptInputVariableName",
|
|
@@ -1708,14 +1720,18 @@ module Aws::BedrockAgent
|
|
|
1708
1720
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.input_variables[0].name #=> String
|
|
1709
1721
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages #=> Array
|
|
1710
1722
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].content #=> Array
|
|
1723
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].content[0].cache_point.type #=> String, one of "default"
|
|
1711
1724
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].content[0].text #=> String
|
|
1712
1725
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].role #=> String, one of "user", "assistant"
|
|
1713
1726
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.system #=> Array
|
|
1727
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.system[0].cache_point.type #=> String, one of "default"
|
|
1714
1728
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.system[0].text #=> String
|
|
1715
1729
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.tool.name #=> String
|
|
1716
1730
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools #=> Array
|
|
1731
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].cache_point.type #=> String, one of "default"
|
|
1717
1732
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.description #=> String
|
|
1718
1733
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.name #=> String
|
|
1734
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.cache_point.type #=> String, one of "default"
|
|
1719
1735
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables #=> Array
|
|
1720
1736
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables[0].name #=> String
|
|
1721
1737
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.text #=> String
|
|
@@ -1924,14 +1940,18 @@ module Aws::BedrockAgent
|
|
|
1924
1940
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.input_variables[0].name #=> String
|
|
1925
1941
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages #=> Array
|
|
1926
1942
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].content #=> Array
|
|
1943
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].content[0].cache_point.type #=> String, one of "default"
|
|
1927
1944
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].content[0].text #=> String
|
|
1928
1945
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].role #=> String, one of "user", "assistant"
|
|
1929
1946
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.system #=> Array
|
|
1947
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.system[0].cache_point.type #=> String, one of "default"
|
|
1930
1948
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.system[0].text #=> String
|
|
1931
1949
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.tool.name #=> String
|
|
1932
1950
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools #=> Array
|
|
1951
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].cache_point.type #=> String, one of "default"
|
|
1933
1952
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.description #=> String
|
|
1934
1953
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.name #=> String
|
|
1954
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.cache_point.type #=> String, one of "default"
|
|
1935
1955
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables #=> Array
|
|
1936
1956
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables[0].name #=> String
|
|
1937
1957
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.text #=> String
|
|
@@ -2405,6 +2425,9 @@ module Aws::BedrockAgent
|
|
|
2405
2425
|
# {
|
|
2406
2426
|
# content: [ # required
|
|
2407
2427
|
# {
|
|
2428
|
+
# cache_point: {
|
|
2429
|
+
# type: "default", # required, accepts default
|
|
2430
|
+
# },
|
|
2408
2431
|
# text: "String",
|
|
2409
2432
|
# },
|
|
2410
2433
|
# ],
|
|
@@ -2413,6 +2436,9 @@ module Aws::BedrockAgent
|
|
|
2413
2436
|
# ],
|
|
2414
2437
|
# system: [
|
|
2415
2438
|
# {
|
|
2439
|
+
# cache_point: {
|
|
2440
|
+
# type: "default", # required, accepts default
|
|
2441
|
+
# },
|
|
2416
2442
|
# text: "NonEmptyString",
|
|
2417
2443
|
# },
|
|
2418
2444
|
# ],
|
|
@@ -2428,6 +2454,9 @@ module Aws::BedrockAgent
|
|
|
2428
2454
|
# },
|
|
2429
2455
|
# tools: [ # required
|
|
2430
2456
|
# {
|
|
2457
|
+
# cache_point: {
|
|
2458
|
+
# type: "default", # required, accepts default
|
|
2459
|
+
# },
|
|
2431
2460
|
# tool_spec: {
|
|
2432
2461
|
# description: "NonEmptyString",
|
|
2433
2462
|
# input_schema: { # required
|
|
@@ -2441,6 +2470,9 @@ module Aws::BedrockAgent
|
|
|
2441
2470
|
# },
|
|
2442
2471
|
# },
|
|
2443
2472
|
# text: {
|
|
2473
|
+
# cache_point: {
|
|
2474
|
+
# type: "default", # required, accepts default
|
|
2475
|
+
# },
|
|
2444
2476
|
# input_variables: [
|
|
2445
2477
|
# {
|
|
2446
2478
|
# name: "PromptInputVariableName",
|
|
@@ -2480,14 +2512,18 @@ module Aws::BedrockAgent
|
|
|
2480
2512
|
# resp.variants[0].template_configuration.chat.input_variables[0].name #=> String
|
|
2481
2513
|
# resp.variants[0].template_configuration.chat.messages #=> Array
|
|
2482
2514
|
# resp.variants[0].template_configuration.chat.messages[0].content #=> Array
|
|
2515
|
+
# resp.variants[0].template_configuration.chat.messages[0].content[0].cache_point.type #=> String, one of "default"
|
|
2483
2516
|
# resp.variants[0].template_configuration.chat.messages[0].content[0].text #=> String
|
|
2484
2517
|
# resp.variants[0].template_configuration.chat.messages[0].role #=> String, one of "user", "assistant"
|
|
2485
2518
|
# resp.variants[0].template_configuration.chat.system #=> Array
|
|
2519
|
+
# resp.variants[0].template_configuration.chat.system[0].cache_point.type #=> String, one of "default"
|
|
2486
2520
|
# resp.variants[0].template_configuration.chat.system[0].text #=> String
|
|
2487
2521
|
# resp.variants[0].template_configuration.chat.tool_configuration.tool_choice.tool.name #=> String
|
|
2488
2522
|
# resp.variants[0].template_configuration.chat.tool_configuration.tools #=> Array
|
|
2523
|
+
# resp.variants[0].template_configuration.chat.tool_configuration.tools[0].cache_point.type #=> String, one of "default"
|
|
2489
2524
|
# resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.description #=> String
|
|
2490
2525
|
# resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.name #=> String
|
|
2526
|
+
# resp.variants[0].template_configuration.text.cache_point.type #=> String, one of "default"
|
|
2491
2527
|
# resp.variants[0].template_configuration.text.input_variables #=> Array
|
|
2492
2528
|
# resp.variants[0].template_configuration.text.input_variables[0].name #=> String
|
|
2493
2529
|
# resp.variants[0].template_configuration.text.text #=> String
|
|
@@ -2589,14 +2625,18 @@ module Aws::BedrockAgent
|
|
|
2589
2625
|
# resp.variants[0].template_configuration.chat.input_variables[0].name #=> String
|
|
2590
2626
|
# resp.variants[0].template_configuration.chat.messages #=> Array
|
|
2591
2627
|
# resp.variants[0].template_configuration.chat.messages[0].content #=> Array
|
|
2628
|
+
# resp.variants[0].template_configuration.chat.messages[0].content[0].cache_point.type #=> String, one of "default"
|
|
2592
2629
|
# resp.variants[0].template_configuration.chat.messages[0].content[0].text #=> String
|
|
2593
2630
|
# resp.variants[0].template_configuration.chat.messages[0].role #=> String, one of "user", "assistant"
|
|
2594
2631
|
# resp.variants[0].template_configuration.chat.system #=> Array
|
|
2632
|
+
# resp.variants[0].template_configuration.chat.system[0].cache_point.type #=> String, one of "default"
|
|
2595
2633
|
# resp.variants[0].template_configuration.chat.system[0].text #=> String
|
|
2596
2634
|
# resp.variants[0].template_configuration.chat.tool_configuration.tool_choice.tool.name #=> String
|
|
2597
2635
|
# resp.variants[0].template_configuration.chat.tool_configuration.tools #=> Array
|
|
2636
|
+
# resp.variants[0].template_configuration.chat.tool_configuration.tools[0].cache_point.type #=> String, one of "default"
|
|
2598
2637
|
# resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.description #=> String
|
|
2599
2638
|
# resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.name #=> String
|
|
2639
|
+
# resp.variants[0].template_configuration.text.cache_point.type #=> String, one of "default"
|
|
2600
2640
|
# resp.variants[0].template_configuration.text.input_variables #=> Array
|
|
2601
2641
|
# resp.variants[0].template_configuration.text.input_variables[0].name #=> String
|
|
2602
2642
|
# resp.variants[0].template_configuration.text.text #=> String
|
|
@@ -2708,7 +2748,7 @@ module Aws::BedrockAgent
|
|
|
2708
2748
|
# @example Response structure
|
|
2709
2749
|
#
|
|
2710
2750
|
# resp.agent_alias_id #=> String
|
|
2711
|
-
# resp.agent_alias_status #=> String, one of "CREATING", "PREPARED", "FAILED", "UPDATING", "DELETING"
|
|
2751
|
+
# resp.agent_alias_status #=> String, one of "CREATING", "PREPARED", "FAILED", "UPDATING", "DELETING", "DISSOCIATED"
|
|
2712
2752
|
# resp.agent_id #=> String
|
|
2713
2753
|
#
|
|
2714
2754
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/DeleteAgentAlias AWS API Documentation
|
|
@@ -3286,7 +3326,7 @@ module Aws::BedrockAgent
|
|
|
3286
3326
|
# resp.agent_alias.agent_alias_history_events[0].start_date #=> Time
|
|
3287
3327
|
# resp.agent_alias.agent_alias_id #=> String
|
|
3288
3328
|
# resp.agent_alias.agent_alias_name #=> String
|
|
3289
|
-
# resp.agent_alias.agent_alias_status #=> String, one of "CREATING", "PREPARED", "FAILED", "UPDATING", "DELETING"
|
|
3329
|
+
# resp.agent_alias.agent_alias_status #=> String, one of "CREATING", "PREPARED", "FAILED", "UPDATING", "DELETING", "DISSOCIATED"
|
|
3290
3330
|
# resp.agent_alias.agent_id #=> String
|
|
3291
3331
|
# resp.agent_alias.client_token #=> String
|
|
3292
3332
|
# resp.agent_alias.created_at #=> Time
|
|
@@ -3642,14 +3682,18 @@ module Aws::BedrockAgent
|
|
|
3642
3682
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.input_variables[0].name #=> String
|
|
3643
3683
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages #=> Array
|
|
3644
3684
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].content #=> Array
|
|
3685
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].content[0].cache_point.type #=> String, one of "default"
|
|
3645
3686
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].content[0].text #=> String
|
|
3646
3687
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].role #=> String, one of "user", "assistant"
|
|
3647
3688
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.system #=> Array
|
|
3689
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.system[0].cache_point.type #=> String, one of "default"
|
|
3648
3690
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.system[0].text #=> String
|
|
3649
3691
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.tool.name #=> String
|
|
3650
3692
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools #=> Array
|
|
3693
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].cache_point.type #=> String, one of "default"
|
|
3651
3694
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.description #=> String
|
|
3652
3695
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.name #=> String
|
|
3696
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.cache_point.type #=> String, one of "default"
|
|
3653
3697
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables #=> Array
|
|
3654
3698
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables[0].name #=> String
|
|
3655
3699
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.text #=> String
|
|
@@ -3707,11 +3751,15 @@ module Aws::BedrockAgent
|
|
|
3707
3751
|
# resp.validations[0].details.unknown_connection_source_output.connection #=> String
|
|
3708
3752
|
# resp.validations[0].details.unknown_connection_target.connection #=> String
|
|
3709
3753
|
# resp.validations[0].details.unknown_connection_target_input.connection #=> String
|
|
3754
|
+
# resp.validations[0].details.unknown_node_input.input #=> String
|
|
3755
|
+
# resp.validations[0].details.unknown_node_input.node #=> String
|
|
3756
|
+
# resp.validations[0].details.unknown_node_output.node #=> String
|
|
3757
|
+
# resp.validations[0].details.unknown_node_output.output #=> String
|
|
3710
3758
|
# resp.validations[0].details.unreachable_node.node #=> String
|
|
3711
3759
|
# resp.validations[0].details.unsatisfied_connection_conditions.connection #=> String
|
|
3712
3760
|
# resp.validations[0].message #=> String
|
|
3713
3761
|
# resp.validations[0].severity #=> String, one of "Warning", "Error"
|
|
3714
|
-
# resp.validations[0].type #=> String, one of "CyclicConnection", "DuplicateConnections", "DuplicateConditionExpression", "UnreachableNode", "UnknownConnectionSource", "UnknownConnectionSourceOutput", "UnknownConnectionTarget", "UnknownConnectionTargetInput", "UnknownConnectionCondition", "MalformedConditionExpression", "MalformedNodeInputExpression", "MismatchedNodeInputType", "MismatchedNodeOutputType", "IncompatibleConnectionDataType", "MissingConnectionConfiguration", "MissingDefaultCondition", "MissingEndingNodes", "MissingNodeConfiguration", "MissingNodeInput", "MissingNodeOutput", "MissingStartingNodes", "MultipleNodeInputConnections", "UnfulfilledNodeInput", "UnsatisfiedConnectionConditions", "Unspecified"
|
|
3762
|
+
# resp.validations[0].type #=> String, one of "CyclicConnection", "DuplicateConnections", "DuplicateConditionExpression", "UnreachableNode", "UnknownConnectionSource", "UnknownConnectionSourceOutput", "UnknownConnectionTarget", "UnknownConnectionTargetInput", "UnknownConnectionCondition", "MalformedConditionExpression", "MalformedNodeInputExpression", "MismatchedNodeInputType", "MismatchedNodeOutputType", "IncompatibleConnectionDataType", "MissingConnectionConfiguration", "MissingDefaultCondition", "MissingEndingNodes", "MissingNodeConfiguration", "MissingNodeInput", "MissingNodeOutput", "MissingStartingNodes", "MultipleNodeInputConnections", "UnfulfilledNodeInput", "UnsatisfiedConnectionConditions", "Unspecified", "UnknownNodeInput", "UnknownNodeOutput"
|
|
3715
3763
|
# resp.version #=> String
|
|
3716
3764
|
#
|
|
3717
3765
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/GetFlow AWS API Documentation
|
|
@@ -3846,14 +3894,18 @@ module Aws::BedrockAgent
|
|
|
3846
3894
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.input_variables[0].name #=> String
|
|
3847
3895
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages #=> Array
|
|
3848
3896
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].content #=> Array
|
|
3897
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].content[0].cache_point.type #=> String, one of "default"
|
|
3849
3898
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].content[0].text #=> String
|
|
3850
3899
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].role #=> String, one of "user", "assistant"
|
|
3851
3900
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.system #=> Array
|
|
3901
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.system[0].cache_point.type #=> String, one of "default"
|
|
3852
3902
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.system[0].text #=> String
|
|
3853
3903
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.tool.name #=> String
|
|
3854
3904
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools #=> Array
|
|
3905
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].cache_point.type #=> String, one of "default"
|
|
3855
3906
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.description #=> String
|
|
3856
3907
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.name #=> String
|
|
3908
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.cache_point.type #=> String, one of "default"
|
|
3857
3909
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables #=> Array
|
|
3858
3910
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables[0].name #=> String
|
|
3859
3911
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.text #=> String
|
|
@@ -4176,14 +4228,18 @@ module Aws::BedrockAgent
|
|
|
4176
4228
|
# resp.variants[0].template_configuration.chat.input_variables[0].name #=> String
|
|
4177
4229
|
# resp.variants[0].template_configuration.chat.messages #=> Array
|
|
4178
4230
|
# resp.variants[0].template_configuration.chat.messages[0].content #=> Array
|
|
4231
|
+
# resp.variants[0].template_configuration.chat.messages[0].content[0].cache_point.type #=> String, one of "default"
|
|
4179
4232
|
# resp.variants[0].template_configuration.chat.messages[0].content[0].text #=> String
|
|
4180
4233
|
# resp.variants[0].template_configuration.chat.messages[0].role #=> String, one of "user", "assistant"
|
|
4181
4234
|
# resp.variants[0].template_configuration.chat.system #=> Array
|
|
4235
|
+
# resp.variants[0].template_configuration.chat.system[0].cache_point.type #=> String, one of "default"
|
|
4182
4236
|
# resp.variants[0].template_configuration.chat.system[0].text #=> String
|
|
4183
4237
|
# resp.variants[0].template_configuration.chat.tool_configuration.tool_choice.tool.name #=> String
|
|
4184
4238
|
# resp.variants[0].template_configuration.chat.tool_configuration.tools #=> Array
|
|
4239
|
+
# resp.variants[0].template_configuration.chat.tool_configuration.tools[0].cache_point.type #=> String, one of "default"
|
|
4185
4240
|
# resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.description #=> String
|
|
4186
4241
|
# resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.name #=> String
|
|
4242
|
+
# resp.variants[0].template_configuration.text.cache_point.type #=> String, one of "default"
|
|
4187
4243
|
# resp.variants[0].template_configuration.text.input_variables #=> Array
|
|
4188
4244
|
# resp.variants[0].template_configuration.text.input_variables[0].name #=> String
|
|
4189
4245
|
# resp.variants[0].template_configuration.text.text #=> String
|
|
@@ -4410,7 +4466,7 @@ module Aws::BedrockAgent
|
|
|
4410
4466
|
# resp.agent_alias_summaries #=> Array
|
|
4411
4467
|
# resp.agent_alias_summaries[0].agent_alias_id #=> String
|
|
4412
4468
|
# resp.agent_alias_summaries[0].agent_alias_name #=> String
|
|
4413
|
-
# resp.agent_alias_summaries[0].agent_alias_status #=> String, one of "CREATING", "PREPARED", "FAILED", "UPDATING", "DELETING"
|
|
4469
|
+
# resp.agent_alias_summaries[0].agent_alias_status #=> String, one of "CREATING", "PREPARED", "FAILED", "UPDATING", "DELETING", "DISSOCIATED"
|
|
4414
4470
|
# resp.agent_alias_summaries[0].created_at #=> Time
|
|
4415
4471
|
# resp.agent_alias_summaries[0].description #=> String
|
|
4416
4472
|
# resp.agent_alias_summaries[0].routing_configuration #=> Array
|
|
@@ -5803,7 +5859,7 @@ module Aws::BedrockAgent
|
|
|
5803
5859
|
# resp.agent_alias.agent_alias_history_events[0].start_date #=> Time
|
|
5804
5860
|
# resp.agent_alias.agent_alias_id #=> String
|
|
5805
5861
|
# resp.agent_alias.agent_alias_name #=> String
|
|
5806
|
-
# resp.agent_alias.agent_alias_status #=> String, one of "CREATING", "PREPARED", "FAILED", "UPDATING", "DELETING"
|
|
5862
|
+
# resp.agent_alias.agent_alias_status #=> String, one of "CREATING", "PREPARED", "FAILED", "UPDATING", "DELETING", "DISSOCIATED"
|
|
5807
5863
|
# resp.agent_alias.agent_id #=> String
|
|
5808
5864
|
# resp.agent_alias.client_token #=> String
|
|
5809
5865
|
# resp.agent_alias.created_at #=> Time
|
|
@@ -6370,6 +6426,9 @@ module Aws::BedrockAgent
|
|
|
6370
6426
|
# {
|
|
6371
6427
|
# content: [ # required
|
|
6372
6428
|
# {
|
|
6429
|
+
# cache_point: {
|
|
6430
|
+
# type: "default", # required, accepts default
|
|
6431
|
+
# },
|
|
6373
6432
|
# text: "String",
|
|
6374
6433
|
# },
|
|
6375
6434
|
# ],
|
|
@@ -6378,6 +6437,9 @@ module Aws::BedrockAgent
|
|
|
6378
6437
|
# ],
|
|
6379
6438
|
# system: [
|
|
6380
6439
|
# {
|
|
6440
|
+
# cache_point: {
|
|
6441
|
+
# type: "default", # required, accepts default
|
|
6442
|
+
# },
|
|
6381
6443
|
# text: "NonEmptyString",
|
|
6382
6444
|
# },
|
|
6383
6445
|
# ],
|
|
@@ -6393,6 +6455,9 @@ module Aws::BedrockAgent
|
|
|
6393
6455
|
# },
|
|
6394
6456
|
# tools: [ # required
|
|
6395
6457
|
# {
|
|
6458
|
+
# cache_point: {
|
|
6459
|
+
# type: "default", # required, accepts default
|
|
6460
|
+
# },
|
|
6396
6461
|
# tool_spec: {
|
|
6397
6462
|
# description: "NonEmptyString",
|
|
6398
6463
|
# input_schema: { # required
|
|
@@ -6406,6 +6471,9 @@ module Aws::BedrockAgent
|
|
|
6406
6471
|
# },
|
|
6407
6472
|
# },
|
|
6408
6473
|
# text: {
|
|
6474
|
+
# cache_point: {
|
|
6475
|
+
# type: "default", # required, accepts default
|
|
6476
|
+
# },
|
|
6409
6477
|
# input_variables: [
|
|
6410
6478
|
# {
|
|
6411
6479
|
# name: "PromptInputVariableName",
|
|
@@ -6497,14 +6565,18 @@ module Aws::BedrockAgent
|
|
|
6497
6565
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.input_variables[0].name #=> String
|
|
6498
6566
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages #=> Array
|
|
6499
6567
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].content #=> Array
|
|
6568
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].content[0].cache_point.type #=> String, one of "default"
|
|
6500
6569
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].content[0].text #=> String
|
|
6501
6570
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.messages[0].role #=> String, one of "user", "assistant"
|
|
6502
6571
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.system #=> Array
|
|
6572
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.system[0].cache_point.type #=> String, one of "default"
|
|
6503
6573
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.system[0].text #=> String
|
|
6504
6574
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tool_choice.tool.name #=> String
|
|
6505
6575
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools #=> Array
|
|
6576
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].cache_point.type #=> String, one of "default"
|
|
6506
6577
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.description #=> String
|
|
6507
6578
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.chat.tool_configuration.tools[0].tool_spec.name #=> String
|
|
6579
|
+
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.cache_point.type #=> String, one of "default"
|
|
6508
6580
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables #=> Array
|
|
6509
6581
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.input_variables[0].name #=> String
|
|
6510
6582
|
# resp.definition.nodes[0].configuration.prompt.source_configuration.inline.template_configuration.text.text #=> String
|
|
@@ -6985,6 +7057,9 @@ module Aws::BedrockAgent
|
|
|
6985
7057
|
# {
|
|
6986
7058
|
# content: [ # required
|
|
6987
7059
|
# {
|
|
7060
|
+
# cache_point: {
|
|
7061
|
+
# type: "default", # required, accepts default
|
|
7062
|
+
# },
|
|
6988
7063
|
# text: "String",
|
|
6989
7064
|
# },
|
|
6990
7065
|
# ],
|
|
@@ -6993,6 +7068,9 @@ module Aws::BedrockAgent
|
|
|
6993
7068
|
# ],
|
|
6994
7069
|
# system: [
|
|
6995
7070
|
# {
|
|
7071
|
+
# cache_point: {
|
|
7072
|
+
# type: "default", # required, accepts default
|
|
7073
|
+
# },
|
|
6996
7074
|
# text: "NonEmptyString",
|
|
6997
7075
|
# },
|
|
6998
7076
|
# ],
|
|
@@ -7008,6 +7086,9 @@ module Aws::BedrockAgent
|
|
|
7008
7086
|
# },
|
|
7009
7087
|
# tools: [ # required
|
|
7010
7088
|
# {
|
|
7089
|
+
# cache_point: {
|
|
7090
|
+
# type: "default", # required, accepts default
|
|
7091
|
+
# },
|
|
7011
7092
|
# tool_spec: {
|
|
7012
7093
|
# description: "NonEmptyString",
|
|
7013
7094
|
# input_schema: { # required
|
|
@@ -7021,6 +7102,9 @@ module Aws::BedrockAgent
|
|
|
7021
7102
|
# },
|
|
7022
7103
|
# },
|
|
7023
7104
|
# text: {
|
|
7105
|
+
# cache_point: {
|
|
7106
|
+
# type: "default", # required, accepts default
|
|
7107
|
+
# },
|
|
7024
7108
|
# input_variables: [
|
|
7025
7109
|
# {
|
|
7026
7110
|
# name: "PromptInputVariableName",
|
|
@@ -7060,14 +7144,18 @@ module Aws::BedrockAgent
|
|
|
7060
7144
|
# resp.variants[0].template_configuration.chat.input_variables[0].name #=> String
|
|
7061
7145
|
# resp.variants[0].template_configuration.chat.messages #=> Array
|
|
7062
7146
|
# resp.variants[0].template_configuration.chat.messages[0].content #=> Array
|
|
7147
|
+
# resp.variants[0].template_configuration.chat.messages[0].content[0].cache_point.type #=> String, one of "default"
|
|
7063
7148
|
# resp.variants[0].template_configuration.chat.messages[0].content[0].text #=> String
|
|
7064
7149
|
# resp.variants[0].template_configuration.chat.messages[0].role #=> String, one of "user", "assistant"
|
|
7065
7150
|
# resp.variants[0].template_configuration.chat.system #=> Array
|
|
7151
|
+
# resp.variants[0].template_configuration.chat.system[0].cache_point.type #=> String, one of "default"
|
|
7066
7152
|
# resp.variants[0].template_configuration.chat.system[0].text #=> String
|
|
7067
7153
|
# resp.variants[0].template_configuration.chat.tool_configuration.tool_choice.tool.name #=> String
|
|
7068
7154
|
# resp.variants[0].template_configuration.chat.tool_configuration.tools #=> Array
|
|
7155
|
+
# resp.variants[0].template_configuration.chat.tool_configuration.tools[0].cache_point.type #=> String, one of "default"
|
|
7069
7156
|
# resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.description #=> String
|
|
7070
7157
|
# resp.variants[0].template_configuration.chat.tool_configuration.tools[0].tool_spec.name #=> String
|
|
7158
|
+
# resp.variants[0].template_configuration.text.cache_point.type #=> String, one of "default"
|
|
7071
7159
|
# resp.variants[0].template_configuration.text.input_variables #=> Array
|
|
7072
7160
|
# resp.variants[0].template_configuration.text.input_variables[0].name #=> String
|
|
7073
7161
|
# resp.variants[0].template_configuration.text.text #=> String
|
|
@@ -7179,6 +7267,9 @@ module Aws::BedrockAgent
|
|
|
7179
7267
|
# {
|
|
7180
7268
|
# content: [ # required
|
|
7181
7269
|
# {
|
|
7270
|
+
# cache_point: {
|
|
7271
|
+
# type: "default", # required, accepts default
|
|
7272
|
+
# },
|
|
7182
7273
|
# text: "String",
|
|
7183
7274
|
# },
|
|
7184
7275
|
# ],
|
|
@@ -7187,6 +7278,9 @@ module Aws::BedrockAgent
|
|
|
7187
7278
|
# ],
|
|
7188
7279
|
# system: [
|
|
7189
7280
|
# {
|
|
7281
|
+
# cache_point: {
|
|
7282
|
+
# type: "default", # required, accepts default
|
|
7283
|
+
# },
|
|
7190
7284
|
# text: "NonEmptyString",
|
|
7191
7285
|
# },
|
|
7192
7286
|
# ],
|
|
@@ -7202,6 +7296,9 @@ module Aws::BedrockAgent
|
|
|
7202
7296
|
# },
|
|
7203
7297
|
# tools: [ # required
|
|
7204
7298
|
# {
|
|
7299
|
+
# cache_point: {
|
|
7300
|
+
# type: "default", # required, accepts default
|
|
7301
|
+
# },
|
|
7205
7302
|
# tool_spec: {
|
|
7206
7303
|
# description: "NonEmptyString",
|
|
7207
7304
|
# input_schema: { # required
|
|
@@ -7215,6 +7312,9 @@ module Aws::BedrockAgent
|
|
|
7215
7312
|
# },
|
|
7216
7313
|
# },
|
|
7217
7314
|
# text: {
|
|
7315
|
+
# cache_point: {
|
|
7316
|
+
# type: "default", # required, accepts default
|
|
7317
|
+
# },
|
|
7218
7318
|
# input_variables: [
|
|
7219
7319
|
# {
|
|
7220
7320
|
# name: "PromptInputVariableName",
|
|
@@ -7302,11 +7402,15 @@ module Aws::BedrockAgent
|
|
|
7302
7402
|
# resp.validations[0].details.unknown_connection_source_output.connection #=> String
|
|
7303
7403
|
# resp.validations[0].details.unknown_connection_target.connection #=> String
|
|
7304
7404
|
# resp.validations[0].details.unknown_connection_target_input.connection #=> String
|
|
7405
|
+
# resp.validations[0].details.unknown_node_input.input #=> String
|
|
7406
|
+
# resp.validations[0].details.unknown_node_input.node #=> String
|
|
7407
|
+
# resp.validations[0].details.unknown_node_output.node #=> String
|
|
7408
|
+
# resp.validations[0].details.unknown_node_output.output #=> String
|
|
7305
7409
|
# resp.validations[0].details.unreachable_node.node #=> String
|
|
7306
7410
|
# resp.validations[0].details.unsatisfied_connection_conditions.connection #=> String
|
|
7307
7411
|
# resp.validations[0].message #=> String
|
|
7308
7412
|
# resp.validations[0].severity #=> String, one of "Warning", "Error"
|
|
7309
|
-
# resp.validations[0].type #=> String, one of "CyclicConnection", "DuplicateConnections", "DuplicateConditionExpression", "UnreachableNode", "UnknownConnectionSource", "UnknownConnectionSourceOutput", "UnknownConnectionTarget", "UnknownConnectionTargetInput", "UnknownConnectionCondition", "MalformedConditionExpression", "MalformedNodeInputExpression", "MismatchedNodeInputType", "MismatchedNodeOutputType", "IncompatibleConnectionDataType", "MissingConnectionConfiguration", "MissingDefaultCondition", "MissingEndingNodes", "MissingNodeConfiguration", "MissingNodeInput", "MissingNodeOutput", "MissingStartingNodes", "MultipleNodeInputConnections", "UnfulfilledNodeInput", "UnsatisfiedConnectionConditions", "Unspecified"
|
|
7413
|
+
# resp.validations[0].type #=> String, one of "CyclicConnection", "DuplicateConnections", "DuplicateConditionExpression", "UnreachableNode", "UnknownConnectionSource", "UnknownConnectionSourceOutput", "UnknownConnectionTarget", "UnknownConnectionTargetInput", "UnknownConnectionCondition", "MalformedConditionExpression", "MalformedNodeInputExpression", "MismatchedNodeInputType", "MismatchedNodeOutputType", "IncompatibleConnectionDataType", "MissingConnectionConfiguration", "MissingDefaultCondition", "MissingEndingNodes", "MissingNodeConfiguration", "MissingNodeInput", "MissingNodeOutput", "MissingStartingNodes", "MultipleNodeInputConnections", "UnfulfilledNodeInput", "UnsatisfiedConnectionConditions", "Unspecified", "UnknownNodeInput", "UnknownNodeOutput"
|
|
7310
7414
|
#
|
|
7311
7415
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ValidateFlowDefinition AWS API Documentation
|
|
7312
7416
|
#
|
|
@@ -7335,7 +7439,7 @@ module Aws::BedrockAgent
|
|
|
7335
7439
|
tracer: tracer
|
|
7336
7440
|
)
|
|
7337
7441
|
context[:gem_name] = 'aws-sdk-bedrockagent'
|
|
7338
|
-
context[:gem_version] = '1.
|
|
7442
|
+
context[:gem_version] = '1.43.0'
|
|
7339
7443
|
Seahorse::Client::Request.new(handlers, context)
|
|
7340
7444
|
end
|
|
7341
7445
|
|
|
@@ -69,6 +69,8 @@ module Aws::BedrockAgent
|
|
|
69
69
|
ByteContentBlob = Shapes::BlobShape.new(name: 'ByteContentBlob')
|
|
70
70
|
ByteContentDoc = Shapes::StructureShape.new(name: 'ByteContentDoc')
|
|
71
71
|
ByteContentDocMimeTypeString = Shapes::StringShape.new(name: 'ByteContentDocMimeTypeString')
|
|
72
|
+
CachePointBlock = Shapes::StructureShape.new(name: 'CachePointBlock')
|
|
73
|
+
CachePointType = Shapes::StringShape.new(name: 'CachePointType')
|
|
72
74
|
ChatPromptTemplateConfiguration = Shapes::StructureShape.new(name: 'ChatPromptTemplateConfiguration')
|
|
73
75
|
ChunkingConfiguration = Shapes::StructureShape.new(name: 'ChunkingConfiguration')
|
|
74
76
|
ChunkingStrategy = Shapes::StringShape.new(name: 'ChunkingStrategy')
|
|
@@ -586,6 +588,8 @@ module Aws::BedrockAgent
|
|
|
586
588
|
UnknownConnectionSourceOutputFlowValidationDetails = Shapes::StructureShape.new(name: 'UnknownConnectionSourceOutputFlowValidationDetails')
|
|
587
589
|
UnknownConnectionTargetFlowValidationDetails = Shapes::StructureShape.new(name: 'UnknownConnectionTargetFlowValidationDetails')
|
|
588
590
|
UnknownConnectionTargetInputFlowValidationDetails = Shapes::StructureShape.new(name: 'UnknownConnectionTargetInputFlowValidationDetails')
|
|
591
|
+
UnknownNodeInputFlowValidationDetails = Shapes::StructureShape.new(name: 'UnknownNodeInputFlowValidationDetails')
|
|
592
|
+
UnknownNodeOutputFlowValidationDetails = Shapes::StructureShape.new(name: 'UnknownNodeOutputFlowValidationDetails')
|
|
589
593
|
UnreachableNodeFlowValidationDetails = Shapes::StructureShape.new(name: 'UnreachableNodeFlowValidationDetails')
|
|
590
594
|
UnsatisfiedConnectionConditionsFlowValidationDetails = Shapes::StructureShape.new(name: 'UnsatisfiedConnectionConditionsFlowValidationDetails')
|
|
591
595
|
UnspecifiedFlowValidationDetails = Shapes::StructureShape.new(name: 'UnspecifiedFlowValidationDetails')
|
|
@@ -872,6 +876,9 @@ module Aws::BedrockAgent
|
|
|
872
876
|
ByteContentDoc.add_member(:mime_type, Shapes::ShapeRef.new(shape: ByteContentDocMimeTypeString, required: true, location_name: "mimeType"))
|
|
873
877
|
ByteContentDoc.struct_class = Types::ByteContentDoc
|
|
874
878
|
|
|
879
|
+
CachePointBlock.add_member(:type, Shapes::ShapeRef.new(shape: CachePointType, required: true, location_name: "type"))
|
|
880
|
+
CachePointBlock.struct_class = Types::CachePointBlock
|
|
881
|
+
|
|
875
882
|
ChatPromptTemplateConfiguration.add_member(:input_variables, Shapes::ShapeRef.new(shape: PromptInputVariablesList, location_name: "inputVariables"))
|
|
876
883
|
ChatPromptTemplateConfiguration.add_member(:messages, Shapes::ShapeRef.new(shape: Messages, required: true, location_name: "messages"))
|
|
877
884
|
ChatPromptTemplateConfiguration.add_member(:system, Shapes::ShapeRef.new(shape: SystemContentBlocks, location_name: "system"))
|
|
@@ -905,8 +912,10 @@ module Aws::BedrockAgent
|
|
|
905
912
|
ConfluenceSourceConfiguration.add_member(:host_url, Shapes::ShapeRef.new(shape: HttpsUrl, required: true, location_name: "hostUrl"))
|
|
906
913
|
ConfluenceSourceConfiguration.struct_class = Types::ConfluenceSourceConfiguration
|
|
907
914
|
|
|
915
|
+
ContentBlock.add_member(:cache_point, Shapes::ShapeRef.new(shape: CachePointBlock, location_name: "cachePoint"))
|
|
908
916
|
ContentBlock.add_member(:text, Shapes::ShapeRef.new(shape: String, location_name: "text"))
|
|
909
917
|
ContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
918
|
+
ContentBlock.add_member_subclass(:cache_point, Types::ContentBlock::CachePoint)
|
|
910
919
|
ContentBlock.add_member_subclass(:text, Types::ContentBlock::Text)
|
|
911
920
|
ContentBlock.add_member_subclass(:unknown, Types::ContentBlock::Unknown)
|
|
912
921
|
ContentBlock.struct_class = Types::ContentBlock
|
|
@@ -1432,6 +1441,8 @@ module Aws::BedrockAgent
|
|
|
1432
1441
|
FlowValidationDetails.add_member(:unknown_connection_source_output, Shapes::ShapeRef.new(shape: UnknownConnectionSourceOutputFlowValidationDetails, location_name: "unknownConnectionSourceOutput"))
|
|
1433
1442
|
FlowValidationDetails.add_member(:unknown_connection_target, Shapes::ShapeRef.new(shape: UnknownConnectionTargetFlowValidationDetails, location_name: "unknownConnectionTarget"))
|
|
1434
1443
|
FlowValidationDetails.add_member(:unknown_connection_target_input, Shapes::ShapeRef.new(shape: UnknownConnectionTargetInputFlowValidationDetails, location_name: "unknownConnectionTargetInput"))
|
|
1444
|
+
FlowValidationDetails.add_member(:unknown_node_input, Shapes::ShapeRef.new(shape: UnknownNodeInputFlowValidationDetails, location_name: "unknownNodeInput"))
|
|
1445
|
+
FlowValidationDetails.add_member(:unknown_node_output, Shapes::ShapeRef.new(shape: UnknownNodeOutputFlowValidationDetails, location_name: "unknownNodeOutput"))
|
|
1435
1446
|
FlowValidationDetails.add_member(:unreachable_node, Shapes::ShapeRef.new(shape: UnreachableNodeFlowValidationDetails, location_name: "unreachableNode"))
|
|
1436
1447
|
FlowValidationDetails.add_member(:unsatisfied_connection_conditions, Shapes::ShapeRef.new(shape: UnsatisfiedConnectionConditionsFlowValidationDetails, location_name: "unsatisfiedConnectionConditions"))
|
|
1437
1448
|
FlowValidationDetails.add_member(:unspecified, Shapes::ShapeRef.new(shape: UnspecifiedFlowValidationDetails, location_name: "unspecified"))
|
|
@@ -1458,6 +1469,8 @@ module Aws::BedrockAgent
|
|
|
1458
1469
|
FlowValidationDetails.add_member_subclass(:unknown_connection_source_output, Types::FlowValidationDetails::UnknownConnectionSourceOutput)
|
|
1459
1470
|
FlowValidationDetails.add_member_subclass(:unknown_connection_target, Types::FlowValidationDetails::UnknownConnectionTarget)
|
|
1460
1471
|
FlowValidationDetails.add_member_subclass(:unknown_connection_target_input, Types::FlowValidationDetails::UnknownConnectionTargetInput)
|
|
1472
|
+
FlowValidationDetails.add_member_subclass(:unknown_node_input, Types::FlowValidationDetails::UnknownNodeInput)
|
|
1473
|
+
FlowValidationDetails.add_member_subclass(:unknown_node_output, Types::FlowValidationDetails::UnknownNodeOutput)
|
|
1461
1474
|
FlowValidationDetails.add_member_subclass(:unreachable_node, Types::FlowValidationDetails::UnreachableNode)
|
|
1462
1475
|
FlowValidationDetails.add_member_subclass(:unsatisfied_connection_conditions, Types::FlowValidationDetails::UnsatisfiedConnectionConditions)
|
|
1463
1476
|
FlowValidationDetails.add_member_subclass(:unspecified, Types::FlowValidationDetails::Unspecified)
|
|
@@ -2389,8 +2402,10 @@ module Aws::BedrockAgent
|
|
|
2389
2402
|
|
|
2390
2403
|
SupplementalDataStorageLocations.member = Shapes::ShapeRef.new(shape: SupplementalDataStorageLocation)
|
|
2391
2404
|
|
|
2405
|
+
SystemContentBlock.add_member(:cache_point, Shapes::ShapeRef.new(shape: CachePointBlock, location_name: "cachePoint"))
|
|
2392
2406
|
SystemContentBlock.add_member(:text, Shapes::ShapeRef.new(shape: NonEmptyString, location_name: "text"))
|
|
2393
2407
|
SystemContentBlock.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2408
|
+
SystemContentBlock.add_member_subclass(:cache_point, Types::SystemContentBlock::CachePoint)
|
|
2394
2409
|
SystemContentBlock.add_member_subclass(:text, Types::SystemContentBlock::Text)
|
|
2395
2410
|
SystemContentBlock.add_member_subclass(:unknown, Types::SystemContentBlock::Unknown)
|
|
2396
2411
|
SystemContentBlock.struct_class = Types::SystemContentBlock
|
|
@@ -2411,6 +2426,7 @@ module Aws::BedrockAgent
|
|
|
2411
2426
|
TextContentDoc.add_member(:data, Shapes::ShapeRef.new(shape: Data, required: true, location_name: "data"))
|
|
2412
2427
|
TextContentDoc.struct_class = Types::TextContentDoc
|
|
2413
2428
|
|
|
2429
|
+
TextPromptTemplateConfiguration.add_member(:cache_point, Shapes::ShapeRef.new(shape: CachePointBlock, location_name: "cachePoint"))
|
|
2414
2430
|
TextPromptTemplateConfiguration.add_member(:input_variables, Shapes::ShapeRef.new(shape: PromptInputVariablesList, location_name: "inputVariables"))
|
|
2415
2431
|
TextPromptTemplateConfiguration.add_member(:text, Shapes::ShapeRef.new(shape: TextPrompt, required: true, location_name: "text"))
|
|
2416
2432
|
TextPromptTemplateConfiguration.struct_class = Types::TextPromptTemplateConfiguration
|
|
@@ -2418,8 +2434,10 @@ module Aws::BedrockAgent
|
|
|
2418
2434
|
ThrottlingException.add_member(:message, Shapes::ShapeRef.new(shape: NonBlankString, location_name: "message"))
|
|
2419
2435
|
ThrottlingException.struct_class = Types::ThrottlingException
|
|
2420
2436
|
|
|
2437
|
+
Tool.add_member(:cache_point, Shapes::ShapeRef.new(shape: CachePointBlock, location_name: "cachePoint"))
|
|
2421
2438
|
Tool.add_member(:tool_spec, Shapes::ShapeRef.new(shape: ToolSpecification, location_name: "toolSpec"))
|
|
2422
2439
|
Tool.add_member(:unknown, Shapes::ShapeRef.new(shape: nil, location_name: 'unknown'))
|
|
2440
|
+
Tool.add_member_subclass(:cache_point, Types::Tool::CachePoint)
|
|
2423
2441
|
Tool.add_member_subclass(:tool_spec, Types::Tool::ToolSpec)
|
|
2424
2442
|
Tool.add_member_subclass(:unknown, Types::Tool::Unknown)
|
|
2425
2443
|
Tool.struct_class = Types::Tool
|
|
@@ -2482,6 +2500,14 @@ module Aws::BedrockAgent
|
|
|
2482
2500
|
UnknownConnectionTargetInputFlowValidationDetails.add_member(:connection, Shapes::ShapeRef.new(shape: FlowConnectionName, required: true, location_name: "connection"))
|
|
2483
2501
|
UnknownConnectionTargetInputFlowValidationDetails.struct_class = Types::UnknownConnectionTargetInputFlowValidationDetails
|
|
2484
2502
|
|
|
2503
|
+
UnknownNodeInputFlowValidationDetails.add_member(:input, Shapes::ShapeRef.new(shape: FlowNodeInputName, required: true, location_name: "input"))
|
|
2504
|
+
UnknownNodeInputFlowValidationDetails.add_member(:node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "node"))
|
|
2505
|
+
UnknownNodeInputFlowValidationDetails.struct_class = Types::UnknownNodeInputFlowValidationDetails
|
|
2506
|
+
|
|
2507
|
+
UnknownNodeOutputFlowValidationDetails.add_member(:node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "node"))
|
|
2508
|
+
UnknownNodeOutputFlowValidationDetails.add_member(:output, Shapes::ShapeRef.new(shape: FlowNodeOutputName, required: true, location_name: "output"))
|
|
2509
|
+
UnknownNodeOutputFlowValidationDetails.struct_class = Types::UnknownNodeOutputFlowValidationDetails
|
|
2510
|
+
|
|
2485
2511
|
UnreachableNodeFlowValidationDetails.add_member(:node, Shapes::ShapeRef.new(shape: FlowNodeName, required: true, location_name: "node"))
|
|
2486
2512
|
UnreachableNodeFlowValidationDetails.struct_class = Types::UnreachableNodeFlowValidationDetails
|
|
2487
2513
|
|
|
@@ -449,6 +449,8 @@ module Aws::BedrockAgent
|
|
|
449
449
|
# * UPDATING – The agent alias is being updated.
|
|
450
450
|
#
|
|
451
451
|
# * DELETING – The agent alias is being deleted.
|
|
452
|
+
#
|
|
453
|
+
# * DISSOCIATED - The agent alias has no version associated with it.
|
|
452
454
|
# @return [String]
|
|
453
455
|
#
|
|
454
456
|
# @!attribute [rw] agent_id
|
|
@@ -1328,6 +1330,21 @@ module Aws::BedrockAgent
|
|
|
1328
1330
|
include Aws::Structure
|
|
1329
1331
|
end
|
|
1330
1332
|
|
|
1333
|
+
# Indicates where a cache checkpoint is located. All information before
|
|
1334
|
+
# this checkpoint is cached to be accessed on subsequent requests.
|
|
1335
|
+
#
|
|
1336
|
+
# @!attribute [rw] type
|
|
1337
|
+
# Indicates that the CachePointBlock is of the default type
|
|
1338
|
+
# @return [String]
|
|
1339
|
+
#
|
|
1340
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/CachePointBlock AWS API Documentation
|
|
1341
|
+
#
|
|
1342
|
+
class CachePointBlock < Struct.new(
|
|
1343
|
+
:type)
|
|
1344
|
+
SENSITIVE = []
|
|
1345
|
+
include Aws::Structure
|
|
1346
|
+
end
|
|
1347
|
+
|
|
1331
1348
|
# Contains configurations to use a prompt in a conversational format.
|
|
1332
1349
|
# For more information, see [Create a prompt using Prompt
|
|
1333
1350
|
# management][1].
|
|
@@ -1561,6 +1578,10 @@ module Aws::BedrockAgent
|
|
|
1561
1578
|
#
|
|
1562
1579
|
# @note ContentBlock is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of ContentBlock corresponding to the set member.
|
|
1563
1580
|
#
|
|
1581
|
+
# @!attribute [rw] cache_point
|
|
1582
|
+
# Creates a cache checkpoint within a message.
|
|
1583
|
+
# @return [Types::CachePointBlock]
|
|
1584
|
+
#
|
|
1564
1585
|
# @!attribute [rw] text
|
|
1565
1586
|
# The text in the message.
|
|
1566
1587
|
# @return [String]
|
|
@@ -1568,12 +1589,14 @@ module Aws::BedrockAgent
|
|
|
1568
1589
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/ContentBlock AWS API Documentation
|
|
1569
1590
|
#
|
|
1570
1591
|
class ContentBlock < Struct.new(
|
|
1592
|
+
:cache_point,
|
|
1571
1593
|
:text,
|
|
1572
1594
|
:unknown)
|
|
1573
1595
|
SENSITIVE = []
|
|
1574
1596
|
include Aws::Structure
|
|
1575
1597
|
include Aws::Structure::Union
|
|
1576
1598
|
|
|
1599
|
+
class CachePoint < ContentBlock; end
|
|
1577
1600
|
class Text < ContentBlock; end
|
|
1578
1601
|
class Unknown < ContentBlock; end
|
|
1579
1602
|
end
|
|
@@ -4247,6 +4270,14 @@ module Aws::BedrockAgent
|
|
|
4247
4270
|
# Details about an unknown target input for a connection.
|
|
4248
4271
|
# @return [Types::UnknownConnectionTargetInputFlowValidationDetails]
|
|
4249
4272
|
#
|
|
4273
|
+
# @!attribute [rw] unknown_node_input
|
|
4274
|
+
# Details about an unknown input for a node.
|
|
4275
|
+
# @return [Types::UnknownNodeInputFlowValidationDetails]
|
|
4276
|
+
#
|
|
4277
|
+
# @!attribute [rw] unknown_node_output
|
|
4278
|
+
# Details about an unknown output for a node.
|
|
4279
|
+
# @return [Types::UnknownNodeOutputFlowValidationDetails]
|
|
4280
|
+
#
|
|
4250
4281
|
# @!attribute [rw] unreachable_node
|
|
4251
4282
|
# Details about an unreachable node in the flow.
|
|
4252
4283
|
# @return [Types::UnreachableNodeFlowValidationDetails]
|
|
@@ -4284,6 +4315,8 @@ module Aws::BedrockAgent
|
|
|
4284
4315
|
:unknown_connection_source_output,
|
|
4285
4316
|
:unknown_connection_target,
|
|
4286
4317
|
:unknown_connection_target_input,
|
|
4318
|
+
:unknown_node_input,
|
|
4319
|
+
:unknown_node_output,
|
|
4287
4320
|
:unreachable_node,
|
|
4288
4321
|
:unsatisfied_connection_conditions,
|
|
4289
4322
|
:unspecified,
|
|
@@ -4314,6 +4347,8 @@ module Aws::BedrockAgent
|
|
|
4314
4347
|
class UnknownConnectionSourceOutput < FlowValidationDetails; end
|
|
4315
4348
|
class UnknownConnectionTarget < FlowValidationDetails; end
|
|
4316
4349
|
class UnknownConnectionTargetInput < FlowValidationDetails; end
|
|
4350
|
+
class UnknownNodeInput < FlowValidationDetails; end
|
|
4351
|
+
class UnknownNodeOutput < FlowValidationDetails; end
|
|
4317
4352
|
class UnreachableNode < FlowValidationDetails; end
|
|
4318
4353
|
class UnsatisfiedConnectionConditions < FlowValidationDetails; end
|
|
4319
4354
|
class Unspecified < FlowValidationDetails; end
|
|
@@ -9162,6 +9197,10 @@ module Aws::BedrockAgent
|
|
|
9162
9197
|
#
|
|
9163
9198
|
# @note SystemContentBlock is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of SystemContentBlock corresponding to the set member.
|
|
9164
9199
|
#
|
|
9200
|
+
# @!attribute [rw] cache_point
|
|
9201
|
+
# Creates a cache checkpoint within a tool designation
|
|
9202
|
+
# @return [Types::CachePointBlock]
|
|
9203
|
+
#
|
|
9165
9204
|
# @!attribute [rw] text
|
|
9166
9205
|
# The text in the system prompt.
|
|
9167
9206
|
# @return [String]
|
|
@@ -9169,12 +9208,14 @@ module Aws::BedrockAgent
|
|
|
9169
9208
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/SystemContentBlock AWS API Documentation
|
|
9170
9209
|
#
|
|
9171
9210
|
class SystemContentBlock < Struct.new(
|
|
9211
|
+
:cache_point,
|
|
9172
9212
|
:text,
|
|
9173
9213
|
:unknown)
|
|
9174
9214
|
SENSITIVE = []
|
|
9175
9215
|
include Aws::Structure
|
|
9176
9216
|
include Aws::Structure::Union
|
|
9177
9217
|
|
|
9218
|
+
class CachePoint < SystemContentBlock; end
|
|
9178
9219
|
class Text < SystemContentBlock; end
|
|
9179
9220
|
class Unknown < SystemContentBlock; end
|
|
9180
9221
|
end
|
|
@@ -9218,6 +9259,10 @@ module Aws::BedrockAgent
|
|
|
9218
9259
|
# Contains configurations for a text prompt template. To include a
|
|
9219
9260
|
# variable, enclose a word in double curly braces as in `{{variable}}`.
|
|
9220
9261
|
#
|
|
9262
|
+
# @!attribute [rw] cache_point
|
|
9263
|
+
# A cache checkpoint within a template configuration.
|
|
9264
|
+
# @return [Types::CachePointBlock]
|
|
9265
|
+
#
|
|
9221
9266
|
# @!attribute [rw] input_variables
|
|
9222
9267
|
# An array of the variables in the prompt template.
|
|
9223
9268
|
# @return [Array<Types::PromptInputVariable>]
|
|
@@ -9229,6 +9274,7 @@ module Aws::BedrockAgent
|
|
|
9229
9274
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/TextPromptTemplateConfiguration AWS API Documentation
|
|
9230
9275
|
#
|
|
9231
9276
|
class TextPromptTemplateConfiguration < Struct.new(
|
|
9277
|
+
:cache_point,
|
|
9232
9278
|
:input_variables,
|
|
9233
9279
|
:text)
|
|
9234
9280
|
SENSITIVE = [:input_variables, :text]
|
|
@@ -9260,6 +9306,10 @@ module Aws::BedrockAgent
|
|
|
9260
9306
|
#
|
|
9261
9307
|
# @note Tool is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of Tool corresponding to the set member.
|
|
9262
9308
|
#
|
|
9309
|
+
# @!attribute [rw] cache_point
|
|
9310
|
+
# Creates a cache checkpoint within a tool designation
|
|
9311
|
+
# @return [Types::CachePointBlock]
|
|
9312
|
+
#
|
|
9263
9313
|
# @!attribute [rw] tool_spec
|
|
9264
9314
|
# The specification for the tool.
|
|
9265
9315
|
# @return [Types::ToolSpecification]
|
|
@@ -9267,12 +9317,14 @@ module Aws::BedrockAgent
|
|
|
9267
9317
|
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/Tool AWS API Documentation
|
|
9268
9318
|
#
|
|
9269
9319
|
class Tool < Struct.new(
|
|
9320
|
+
:cache_point,
|
|
9270
9321
|
:tool_spec,
|
|
9271
9322
|
:unknown)
|
|
9272
9323
|
SENSITIVE = []
|
|
9273
9324
|
include Aws::Structure
|
|
9274
9325
|
include Aws::Structure::Union
|
|
9275
9326
|
|
|
9327
|
+
class CachePoint < Tool; end
|
|
9276
9328
|
class ToolSpec < Tool; end
|
|
9277
9329
|
class Unknown < Tool; end
|
|
9278
9330
|
end
|
|
@@ -9544,6 +9596,44 @@ module Aws::BedrockAgent
|
|
|
9544
9596
|
include Aws::Structure
|
|
9545
9597
|
end
|
|
9546
9598
|
|
|
9599
|
+
# Details about an unknown input for a node.
|
|
9600
|
+
#
|
|
9601
|
+
# @!attribute [rw] input
|
|
9602
|
+
# The name of the node with the unknown input.
|
|
9603
|
+
# @return [String]
|
|
9604
|
+
#
|
|
9605
|
+
# @!attribute [rw] node
|
|
9606
|
+
# The name of the unknown input.
|
|
9607
|
+
# @return [String]
|
|
9608
|
+
#
|
|
9609
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UnknownNodeInputFlowValidationDetails AWS API Documentation
|
|
9610
|
+
#
|
|
9611
|
+
class UnknownNodeInputFlowValidationDetails < Struct.new(
|
|
9612
|
+
:input,
|
|
9613
|
+
:node)
|
|
9614
|
+
SENSITIVE = []
|
|
9615
|
+
include Aws::Structure
|
|
9616
|
+
end
|
|
9617
|
+
|
|
9618
|
+
# Details about an unknown output for a node.
|
|
9619
|
+
#
|
|
9620
|
+
# @!attribute [rw] node
|
|
9621
|
+
# The name of the node with the unknown output.
|
|
9622
|
+
# @return [String]
|
|
9623
|
+
#
|
|
9624
|
+
# @!attribute [rw] output
|
|
9625
|
+
# The name of the unknown output.
|
|
9626
|
+
# @return [String]
|
|
9627
|
+
#
|
|
9628
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/bedrock-agent-2023-06-05/UnknownNodeOutputFlowValidationDetails AWS API Documentation
|
|
9629
|
+
#
|
|
9630
|
+
class UnknownNodeOutputFlowValidationDetails < Struct.new(
|
|
9631
|
+
:node,
|
|
9632
|
+
:output)
|
|
9633
|
+
SENSITIVE = []
|
|
9634
|
+
include Aws::Structure
|
|
9635
|
+
end
|
|
9636
|
+
|
|
9547
9637
|
# Details about an unreachable node in the flow. A node is unreachable
|
|
9548
9638
|
# when there are no paths to it from any starting node.
|
|
9549
9639
|
#
|
data/lib/aws-sdk-bedrockagent.rb
CHANGED
data/sig/client.rbs
CHANGED
|
@@ -493,6 +493,9 @@ module Aws
|
|
|
493
493
|
{
|
|
494
494
|
content: Array[
|
|
495
495
|
{
|
|
496
|
+
cache_point: {
|
|
497
|
+
type: ("default")
|
|
498
|
+
}?,
|
|
496
499
|
text: ::String?
|
|
497
500
|
},
|
|
498
501
|
],
|
|
@@ -501,6 +504,9 @@ module Aws
|
|
|
501
504
|
],
|
|
502
505
|
system: Array[
|
|
503
506
|
{
|
|
507
|
+
cache_point: {
|
|
508
|
+
type: ("default")
|
|
509
|
+
}?,
|
|
504
510
|
text: ::String?
|
|
505
511
|
},
|
|
506
512
|
]?,
|
|
@@ -516,6 +522,9 @@ module Aws
|
|
|
516
522
|
}?,
|
|
517
523
|
tools: Array[
|
|
518
524
|
{
|
|
525
|
+
cache_point: {
|
|
526
|
+
type: ("default")
|
|
527
|
+
}?,
|
|
519
528
|
tool_spec: {
|
|
520
529
|
description: ::String?,
|
|
521
530
|
input_schema: {
|
|
@@ -529,6 +538,9 @@ module Aws
|
|
|
529
538
|
}?
|
|
530
539
|
}?,
|
|
531
540
|
text: {
|
|
541
|
+
cache_point: {
|
|
542
|
+
type: ("default")
|
|
543
|
+
}?,
|
|
532
544
|
input_variables: Array[
|
|
533
545
|
{
|
|
534
546
|
name: ::String?
|
|
@@ -842,6 +854,9 @@ module Aws
|
|
|
842
854
|
{
|
|
843
855
|
content: Array[
|
|
844
856
|
{
|
|
857
|
+
cache_point: {
|
|
858
|
+
type: ("default")
|
|
859
|
+
}?,
|
|
845
860
|
text: ::String?
|
|
846
861
|
},
|
|
847
862
|
],
|
|
@@ -850,6 +865,9 @@ module Aws
|
|
|
850
865
|
],
|
|
851
866
|
system: Array[
|
|
852
867
|
{
|
|
868
|
+
cache_point: {
|
|
869
|
+
type: ("default")
|
|
870
|
+
}?,
|
|
853
871
|
text: ::String?
|
|
854
872
|
},
|
|
855
873
|
]?,
|
|
@@ -865,6 +883,9 @@ module Aws
|
|
|
865
883
|
}?,
|
|
866
884
|
tools: Array[
|
|
867
885
|
{
|
|
886
|
+
cache_point: {
|
|
887
|
+
type: ("default")
|
|
888
|
+
}?,
|
|
868
889
|
tool_spec: {
|
|
869
890
|
description: ::String?,
|
|
870
891
|
input_schema: {
|
|
@@ -878,6 +899,9 @@ module Aws
|
|
|
878
899
|
}?
|
|
879
900
|
}?,
|
|
880
901
|
text: {
|
|
902
|
+
cache_point: {
|
|
903
|
+
type: ("default")
|
|
904
|
+
}?,
|
|
881
905
|
input_variables: Array[
|
|
882
906
|
{
|
|
883
907
|
name: ::String?
|
|
@@ -941,7 +965,7 @@ module Aws
|
|
|
941
965
|
interface _DeleteAgentAliasResponseSuccess
|
|
942
966
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteAgentAliasResponse]
|
|
943
967
|
def agent_alias_id: () -> ::String
|
|
944
|
-
def agent_alias_status: () -> ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING")
|
|
968
|
+
def agent_alias_status: () -> ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING" | "DISSOCIATED")
|
|
945
969
|
def agent_id: () -> ::String
|
|
946
970
|
end
|
|
947
971
|
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/BedrockAgent/Client.html#delete_agent_alias-instance_method
|
|
@@ -2034,6 +2058,9 @@ module Aws
|
|
|
2034
2058
|
{
|
|
2035
2059
|
content: Array[
|
|
2036
2060
|
{
|
|
2061
|
+
cache_point: {
|
|
2062
|
+
type: ("default")
|
|
2063
|
+
}?,
|
|
2037
2064
|
text: ::String?
|
|
2038
2065
|
},
|
|
2039
2066
|
],
|
|
@@ -2042,6 +2069,9 @@ module Aws
|
|
|
2042
2069
|
],
|
|
2043
2070
|
system: Array[
|
|
2044
2071
|
{
|
|
2072
|
+
cache_point: {
|
|
2073
|
+
type: ("default")
|
|
2074
|
+
}?,
|
|
2045
2075
|
text: ::String?
|
|
2046
2076
|
},
|
|
2047
2077
|
]?,
|
|
@@ -2057,6 +2087,9 @@ module Aws
|
|
|
2057
2087
|
}?,
|
|
2058
2088
|
tools: Array[
|
|
2059
2089
|
{
|
|
2090
|
+
cache_point: {
|
|
2091
|
+
type: ("default")
|
|
2092
|
+
}?,
|
|
2060
2093
|
tool_spec: {
|
|
2061
2094
|
description: ::String?,
|
|
2062
2095
|
input_schema: {
|
|
@@ -2070,6 +2103,9 @@ module Aws
|
|
|
2070
2103
|
}?
|
|
2071
2104
|
}?,
|
|
2072
2105
|
text: {
|
|
2106
|
+
cache_point: {
|
|
2107
|
+
type: ("default")
|
|
2108
|
+
}?,
|
|
2073
2109
|
input_variables: Array[
|
|
2074
2110
|
{
|
|
2075
2111
|
name: ::String?
|
|
@@ -2359,6 +2395,9 @@ module Aws
|
|
|
2359
2395
|
{
|
|
2360
2396
|
content: Array[
|
|
2361
2397
|
{
|
|
2398
|
+
cache_point: {
|
|
2399
|
+
type: ("default")
|
|
2400
|
+
}?,
|
|
2362
2401
|
text: ::String?
|
|
2363
2402
|
},
|
|
2364
2403
|
],
|
|
@@ -2367,6 +2406,9 @@ module Aws
|
|
|
2367
2406
|
],
|
|
2368
2407
|
system: Array[
|
|
2369
2408
|
{
|
|
2409
|
+
cache_point: {
|
|
2410
|
+
type: ("default")
|
|
2411
|
+
}?,
|
|
2370
2412
|
text: ::String?
|
|
2371
2413
|
},
|
|
2372
2414
|
]?,
|
|
@@ -2382,6 +2424,9 @@ module Aws
|
|
|
2382
2424
|
}?,
|
|
2383
2425
|
tools: Array[
|
|
2384
2426
|
{
|
|
2427
|
+
cache_point: {
|
|
2428
|
+
type: ("default")
|
|
2429
|
+
}?,
|
|
2385
2430
|
tool_spec: {
|
|
2386
2431
|
description: ::String?,
|
|
2387
2432
|
input_schema: {
|
|
@@ -2395,6 +2440,9 @@ module Aws
|
|
|
2395
2440
|
}?
|
|
2396
2441
|
}?,
|
|
2397
2442
|
text: {
|
|
2443
|
+
cache_point: {
|
|
2444
|
+
type: ("default")
|
|
2445
|
+
}?,
|
|
2398
2446
|
input_variables: Array[
|
|
2399
2447
|
{
|
|
2400
2448
|
name: ::String?
|
|
@@ -2499,6 +2547,9 @@ module Aws
|
|
|
2499
2547
|
{
|
|
2500
2548
|
content: Array[
|
|
2501
2549
|
{
|
|
2550
|
+
cache_point: {
|
|
2551
|
+
type: ("default")
|
|
2552
|
+
}?,
|
|
2502
2553
|
text: ::String?
|
|
2503
2554
|
},
|
|
2504
2555
|
],
|
|
@@ -2507,6 +2558,9 @@ module Aws
|
|
|
2507
2558
|
],
|
|
2508
2559
|
system: Array[
|
|
2509
2560
|
{
|
|
2561
|
+
cache_point: {
|
|
2562
|
+
type: ("default")
|
|
2563
|
+
}?,
|
|
2510
2564
|
text: ::String?
|
|
2511
2565
|
},
|
|
2512
2566
|
]?,
|
|
@@ -2522,6 +2576,9 @@ module Aws
|
|
|
2522
2576
|
}?,
|
|
2523
2577
|
tools: Array[
|
|
2524
2578
|
{
|
|
2579
|
+
cache_point: {
|
|
2580
|
+
type: ("default")
|
|
2581
|
+
}?,
|
|
2525
2582
|
tool_spec: {
|
|
2526
2583
|
description: ::String?,
|
|
2527
2584
|
input_schema: {
|
|
@@ -2535,6 +2592,9 @@ module Aws
|
|
|
2535
2592
|
}?
|
|
2536
2593
|
}?,
|
|
2537
2594
|
text: {
|
|
2595
|
+
cache_point: {
|
|
2596
|
+
type: ("default")
|
|
2597
|
+
}?,
|
|
2538
2598
|
input_variables: Array[
|
|
2539
2599
|
{
|
|
2540
2600
|
name: ::String?
|
data/sig/types.rbs
CHANGED
|
@@ -99,7 +99,7 @@ module Aws::BedrockAgent
|
|
|
99
99
|
attr_accessor agent_alias_history_events: ::Array[Types::AgentAliasHistoryEvent]
|
|
100
100
|
attr_accessor agent_alias_id: ::String
|
|
101
101
|
attr_accessor agent_alias_name: ::String
|
|
102
|
-
attr_accessor agent_alias_status: ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING")
|
|
102
|
+
attr_accessor agent_alias_status: ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING" | "DISSOCIATED")
|
|
103
103
|
attr_accessor agent_id: ::String
|
|
104
104
|
attr_accessor client_token: ::String
|
|
105
105
|
attr_accessor created_at: ::Time
|
|
@@ -126,7 +126,7 @@ module Aws::BedrockAgent
|
|
|
126
126
|
class AgentAliasSummary
|
|
127
127
|
attr_accessor agent_alias_id: ::String
|
|
128
128
|
attr_accessor agent_alias_name: ::String
|
|
129
|
-
attr_accessor agent_alias_status: ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING")
|
|
129
|
+
attr_accessor agent_alias_status: ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING" | "DISSOCIATED")
|
|
130
130
|
attr_accessor created_at: ::Time
|
|
131
131
|
attr_accessor description: ::String
|
|
132
132
|
attr_accessor routing_configuration: ::Array[Types::AgentAliasRoutingConfigurationListItem]
|
|
@@ -295,6 +295,11 @@ module Aws::BedrockAgent
|
|
|
295
295
|
SENSITIVE: [:data]
|
|
296
296
|
end
|
|
297
297
|
|
|
298
|
+
class CachePointBlock
|
|
299
|
+
attr_accessor type: ("default")
|
|
300
|
+
SENSITIVE: []
|
|
301
|
+
end
|
|
302
|
+
|
|
298
303
|
class ChatPromptTemplateConfiguration
|
|
299
304
|
attr_accessor input_variables: ::Array[Types::PromptInputVariable]
|
|
300
305
|
attr_accessor messages: ::Array[Types::Message]
|
|
@@ -344,10 +349,13 @@ module Aws::BedrockAgent
|
|
|
344
349
|
end
|
|
345
350
|
|
|
346
351
|
class ContentBlock
|
|
352
|
+
attr_accessor cache_point: Types::CachePointBlock
|
|
347
353
|
attr_accessor text: ::String
|
|
348
354
|
attr_accessor unknown: untyped
|
|
349
355
|
SENSITIVE: []
|
|
350
356
|
|
|
357
|
+
class CachePoint < ContentBlock
|
|
358
|
+
end
|
|
351
359
|
class Text < ContentBlock
|
|
352
360
|
end
|
|
353
361
|
class Unknown < ContentBlock
|
|
@@ -663,7 +671,7 @@ module Aws::BedrockAgent
|
|
|
663
671
|
|
|
664
672
|
class DeleteAgentAliasResponse
|
|
665
673
|
attr_accessor agent_alias_id: ::String
|
|
666
|
-
attr_accessor agent_alias_status: ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING")
|
|
674
|
+
attr_accessor agent_alias_status: ("CREATING" | "PREPARED" | "FAILED" | "UPDATING" | "DELETING" | "DISSOCIATED")
|
|
667
675
|
attr_accessor agent_id: ::String
|
|
668
676
|
SENSITIVE: []
|
|
669
677
|
end
|
|
@@ -988,7 +996,7 @@ module Aws::BedrockAgent
|
|
|
988
996
|
attr_accessor details: Types::FlowValidationDetails
|
|
989
997
|
attr_accessor message: ::String
|
|
990
998
|
attr_accessor severity: ("Warning" | "Error")
|
|
991
|
-
attr_accessor type: ("CyclicConnection" | "DuplicateConnections" | "DuplicateConditionExpression" | "UnreachableNode" | "UnknownConnectionSource" | "UnknownConnectionSourceOutput" | "UnknownConnectionTarget" | "UnknownConnectionTargetInput" | "UnknownConnectionCondition" | "MalformedConditionExpression" | "MalformedNodeInputExpression" | "MismatchedNodeInputType" | "MismatchedNodeOutputType" | "IncompatibleConnectionDataType" | "MissingConnectionConfiguration" | "MissingDefaultCondition" | "MissingEndingNodes" | "MissingNodeConfiguration" | "MissingNodeInput" | "MissingNodeOutput" | "MissingStartingNodes" | "MultipleNodeInputConnections" | "UnfulfilledNodeInput" | "UnsatisfiedConnectionConditions" | "Unspecified")
|
|
999
|
+
attr_accessor type: ("CyclicConnection" | "DuplicateConnections" | "DuplicateConditionExpression" | "UnreachableNode" | "UnknownConnectionSource" | "UnknownConnectionSourceOutput" | "UnknownConnectionTarget" | "UnknownConnectionTargetInput" | "UnknownConnectionCondition" | "MalformedConditionExpression" | "MalformedNodeInputExpression" | "MismatchedNodeInputType" | "MismatchedNodeOutputType" | "IncompatibleConnectionDataType" | "MissingConnectionConfiguration" | "MissingDefaultCondition" | "MissingEndingNodes" | "MissingNodeConfiguration" | "MissingNodeInput" | "MissingNodeOutput" | "MissingStartingNodes" | "MultipleNodeInputConnections" | "UnfulfilledNodeInput" | "UnsatisfiedConnectionConditions" | "Unspecified" | "UnknownNodeInput" | "UnknownNodeOutput")
|
|
992
1000
|
SENSITIVE: []
|
|
993
1001
|
end
|
|
994
1002
|
|
|
@@ -1015,6 +1023,8 @@ module Aws::BedrockAgent
|
|
|
1015
1023
|
attr_accessor unknown_connection_source_output: Types::UnknownConnectionSourceOutputFlowValidationDetails
|
|
1016
1024
|
attr_accessor unknown_connection_target: Types::UnknownConnectionTargetFlowValidationDetails
|
|
1017
1025
|
attr_accessor unknown_connection_target_input: Types::UnknownConnectionTargetInputFlowValidationDetails
|
|
1026
|
+
attr_accessor unknown_node_input: Types::UnknownNodeInputFlowValidationDetails
|
|
1027
|
+
attr_accessor unknown_node_output: Types::UnknownNodeOutputFlowValidationDetails
|
|
1018
1028
|
attr_accessor unreachable_node: Types::UnreachableNodeFlowValidationDetails
|
|
1019
1029
|
attr_accessor unsatisfied_connection_conditions: Types::UnsatisfiedConnectionConditionsFlowValidationDetails
|
|
1020
1030
|
attr_accessor unspecified: Types::UnspecifiedFlowValidationDetails
|
|
@@ -1065,6 +1075,10 @@ module Aws::BedrockAgent
|
|
|
1065
1075
|
end
|
|
1066
1076
|
class UnknownConnectionTargetInput < FlowValidationDetails
|
|
1067
1077
|
end
|
|
1078
|
+
class UnknownNodeInput < FlowValidationDetails
|
|
1079
|
+
end
|
|
1080
|
+
class UnknownNodeOutput < FlowValidationDetails
|
|
1081
|
+
end
|
|
1068
1082
|
class UnreachableNode < FlowValidationDetails
|
|
1069
1083
|
end
|
|
1070
1084
|
class UnsatisfiedConnectionConditions < FlowValidationDetails
|
|
@@ -2331,10 +2345,13 @@ module Aws::BedrockAgent
|
|
|
2331
2345
|
end
|
|
2332
2346
|
|
|
2333
2347
|
class SystemContentBlock
|
|
2348
|
+
attr_accessor cache_point: Types::CachePointBlock
|
|
2334
2349
|
attr_accessor text: ::String
|
|
2335
2350
|
attr_accessor unknown: untyped
|
|
2336
2351
|
SENSITIVE: []
|
|
2337
2352
|
|
|
2353
|
+
class CachePoint < SystemContentBlock
|
|
2354
|
+
end
|
|
2338
2355
|
class Text < SystemContentBlock
|
|
2339
2356
|
end
|
|
2340
2357
|
class Unknown < SystemContentBlock
|
|
@@ -2356,6 +2373,7 @@ module Aws::BedrockAgent
|
|
|
2356
2373
|
end
|
|
2357
2374
|
|
|
2358
2375
|
class TextPromptTemplateConfiguration
|
|
2376
|
+
attr_accessor cache_point: Types::CachePointBlock
|
|
2359
2377
|
attr_accessor input_variables: ::Array[Types::PromptInputVariable]
|
|
2360
2378
|
attr_accessor text: ::String
|
|
2361
2379
|
SENSITIVE: [:input_variables, :text]
|
|
@@ -2367,10 +2385,13 @@ module Aws::BedrockAgent
|
|
|
2367
2385
|
end
|
|
2368
2386
|
|
|
2369
2387
|
class Tool
|
|
2388
|
+
attr_accessor cache_point: Types::CachePointBlock
|
|
2370
2389
|
attr_accessor tool_spec: Types::ToolSpecification
|
|
2371
2390
|
attr_accessor unknown: untyped
|
|
2372
2391
|
SENSITIVE: []
|
|
2373
2392
|
|
|
2393
|
+
class CachePoint < Tool
|
|
2394
|
+
end
|
|
2374
2395
|
class ToolSpec < Tool
|
|
2375
2396
|
end
|
|
2376
2397
|
class Unknown < Tool
|
|
@@ -2465,6 +2486,18 @@ module Aws::BedrockAgent
|
|
|
2465
2486
|
SENSITIVE: []
|
|
2466
2487
|
end
|
|
2467
2488
|
|
|
2489
|
+
class UnknownNodeInputFlowValidationDetails
|
|
2490
|
+
attr_accessor input: ::String
|
|
2491
|
+
attr_accessor node: ::String
|
|
2492
|
+
SENSITIVE: []
|
|
2493
|
+
end
|
|
2494
|
+
|
|
2495
|
+
class UnknownNodeOutputFlowValidationDetails
|
|
2496
|
+
attr_accessor node: ::String
|
|
2497
|
+
attr_accessor output: ::String
|
|
2498
|
+
SENSITIVE: []
|
|
2499
|
+
end
|
|
2500
|
+
|
|
2468
2501
|
class UnreachableNodeFlowValidationDetails
|
|
2469
2502
|
attr_accessor node: ::String
|
|
2470
2503
|
SENSITIVE: []
|
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.
|
|
4
|
+
version: 1.43.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-01-
|
|
11
|
+
date: 2025-01-27 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: aws-sdk-core
|