@aws-sdk/client-bedrock-agent 3.686.0 → 3.687.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.
Files changed (68) hide show
  1. package/README.md +8 -0
  2. package/dist-cjs/index.js +516 -49
  3. package/dist-es/BedrockAgent.js +2 -0
  4. package/dist-es/commands/CreatePromptCommand.js +1 -1
  5. package/dist-es/commands/CreatePromptVersionCommand.js +1 -1
  6. package/dist-es/commands/GetAgentVersionCommand.js +1 -1
  7. package/dist-es/commands/GetPromptCommand.js +1 -1
  8. package/dist-es/commands/UpdatePromptCommand.js +1 -1
  9. package/dist-es/commands/ValidateFlowDefinitionCommand.js +23 -0
  10. package/dist-es/commands/index.js +1 -0
  11. package/dist-es/models/index.js +1 -0
  12. package/dist-es/models/models_0.js +239 -41
  13. package/dist-es/models/models_1.js +69 -0
  14. package/dist-es/protocols/Aws_restJson1.js +141 -5
  15. package/dist-types/BedrockAgent.d.ts +7 -0
  16. package/dist-types/BedrockAgentClient.d.ts +3 -2
  17. package/dist-types/commands/CreateFlowCommand.d.ts +102 -2
  18. package/dist-types/commands/CreateFlowVersionCommand.d.ts +51 -1
  19. package/dist-types/commands/CreatePromptCommand.d.ts +97 -3
  20. package/dist-types/commands/CreatePromptVersionCommand.d.ts +49 -2
  21. package/dist-types/commands/DeleteAgentVersionCommand.d.ts +1 -1
  22. package/dist-types/commands/DeletePromptCommand.d.ts +1 -1
  23. package/dist-types/commands/GetAgentVersionCommand.d.ts +1 -1
  24. package/dist-types/commands/GetFlowCommand.d.ts +137 -1
  25. package/dist-types/commands/GetFlowVersionCommand.d.ts +51 -1
  26. package/dist-types/commands/GetPromptCommand.d.ts +49 -2
  27. package/dist-types/commands/ListAgentKnowledgeBasesCommand.d.ts +1 -1
  28. package/dist-types/commands/ListAgentVersionsCommand.d.ts +1 -1
  29. package/dist-types/commands/ListKnowledgeBasesCommand.d.ts +1 -1
  30. package/dist-types/commands/ListPromptsCommand.d.ts +1 -1
  31. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  32. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  33. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  34. package/dist-types/commands/UpdateAgentKnowledgeBaseCommand.d.ts +1 -1
  35. package/dist-types/commands/UpdateFlowCommand.d.ts +102 -2
  36. package/dist-types/commands/UpdateKnowledgeBaseCommand.d.ts +1 -1
  37. package/dist-types/commands/UpdatePromptCommand.d.ts +97 -3
  38. package/dist-types/commands/ValidateFlowDefinitionCommand.d.ts +335 -0
  39. package/dist-types/commands/index.d.ts +1 -0
  40. package/dist-types/models/index.d.ts +1 -0
  41. package/dist-types/models/models_0.d.ts +2060 -1356
  42. package/dist-types/models/models_1.d.ts +974 -0
  43. package/dist-types/protocols/Aws_restJson1.d.ts +9 -0
  44. package/dist-types/ts3.4/BedrockAgent.d.ts +17 -0
  45. package/dist-types/ts3.4/BedrockAgentClient.d.ts +8 -2
  46. package/dist-types/ts3.4/commands/CreatePromptCommand.d.ts +1 -1
  47. package/dist-types/ts3.4/commands/CreatePromptVersionCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/DeleteAgentVersionCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/DeletePromptCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/GetAgentVersionCommand.d.ts +1 -1
  51. package/dist-types/ts3.4/commands/GetPromptCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/ListAgentKnowledgeBasesCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/ListAgentVersionsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ListKnowledgeBasesCommand.d.ts +1 -1
  55. package/dist-types/ts3.4/commands/ListPromptsCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  58. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/commands/UpdateAgentKnowledgeBaseCommand.d.ts +1 -1
  60. package/dist-types/ts3.4/commands/UpdateKnowledgeBaseCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/UpdatePromptCommand.d.ts +1 -1
  62. package/dist-types/ts3.4/commands/ValidateFlowDefinitionCommand.d.ts +51 -0
  63. package/dist-types/ts3.4/commands/index.d.ts +1 -0
  64. package/dist-types/ts3.4/models/index.d.ts +1 -0
  65. package/dist-types/ts3.4/models/models_0.d.ts +1109 -229
  66. package/dist-types/ts3.4/models/models_1.d.ts +287 -0
  67. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +12 -0
  68. package/package.json +6 -6
@@ -903,6 +903,7 @@ export interface IteratorFlowNodeConfiguration {}
903
903
  export interface KnowledgeBaseFlowNodeConfiguration {
904
904
  knowledgeBaseId: string | undefined;
905
905
  modelId?: string;
906
+ guardrailConfiguration?: GuardrailConfiguration;
906
907
  }
907
908
  export interface LambdaFunctionFlowNodeConfiguration {
908
909
  lambdaArn: string | undefined;
@@ -942,24 +943,171 @@ export declare namespace PromptInferenceConfiguration {
942
943
  export interface PromptInputVariable {
943
944
  name?: string;
944
945
  }
946
+ export type ContentBlock =
947
+ | ContentBlock.TextMember
948
+ | ContentBlock.$UnknownMember;
949
+ export declare namespace ContentBlock {
950
+ interface TextMember {
951
+ text: string;
952
+ $unknown?: never;
953
+ }
954
+ interface $UnknownMember {
955
+ text?: never;
956
+ $unknown: [string, any];
957
+ }
958
+ interface Visitor<T> {
959
+ text: (value: string) => T;
960
+ _: (name: string, value: any) => T;
961
+ }
962
+ const visit: <T>(value: ContentBlock, visitor: Visitor<T>) => T;
963
+ }
964
+ export declare const ConversationRole: {
965
+ readonly ASSISTANT: "assistant";
966
+ readonly USER: "user";
967
+ };
968
+ export type ConversationRole =
969
+ (typeof ConversationRole)[keyof typeof ConversationRole];
970
+ export interface Message {
971
+ role: ConversationRole | undefined;
972
+ content: ContentBlock[] | undefined;
973
+ }
974
+ export type SystemContentBlock =
975
+ | SystemContentBlock.TextMember
976
+ | SystemContentBlock.$UnknownMember;
977
+ export declare namespace SystemContentBlock {
978
+ interface TextMember {
979
+ text: string;
980
+ $unknown?: never;
981
+ }
982
+ interface $UnknownMember {
983
+ text?: never;
984
+ $unknown: [string, any];
985
+ }
986
+ interface Visitor<T> {
987
+ text: (value: string) => T;
988
+ _: (name: string, value: any) => T;
989
+ }
990
+ const visit: <T>(value: SystemContentBlock, visitor: Visitor<T>) => T;
991
+ }
992
+ export interface AnyToolChoice {}
993
+ export interface AutoToolChoice {}
994
+ export interface SpecificToolChoice {
995
+ name: string | undefined;
996
+ }
997
+ export type ToolChoice =
998
+ | ToolChoice.AnyMember
999
+ | ToolChoice.AutoMember
1000
+ | ToolChoice.ToolMember
1001
+ | ToolChoice.$UnknownMember;
1002
+ export declare namespace ToolChoice {
1003
+ interface AutoMember {
1004
+ auto: AutoToolChoice;
1005
+ any?: never;
1006
+ tool?: never;
1007
+ $unknown?: never;
1008
+ }
1009
+ interface AnyMember {
1010
+ auto?: never;
1011
+ any: AnyToolChoice;
1012
+ tool?: never;
1013
+ $unknown?: never;
1014
+ }
1015
+ interface ToolMember {
1016
+ auto?: never;
1017
+ any?: never;
1018
+ tool: SpecificToolChoice;
1019
+ $unknown?: never;
1020
+ }
1021
+ interface $UnknownMember {
1022
+ auto?: never;
1023
+ any?: never;
1024
+ tool?: never;
1025
+ $unknown: [string, any];
1026
+ }
1027
+ interface Visitor<T> {
1028
+ auto: (value: AutoToolChoice) => T;
1029
+ any: (value: AnyToolChoice) => T;
1030
+ tool: (value: SpecificToolChoice) => T;
1031
+ _: (name: string, value: any) => T;
1032
+ }
1033
+ const visit: <T>(value: ToolChoice, visitor: Visitor<T>) => T;
1034
+ }
1035
+ export type ToolInputSchema =
1036
+ | ToolInputSchema.JsonMember
1037
+ | ToolInputSchema.$UnknownMember;
1038
+ export declare namespace ToolInputSchema {
1039
+ interface JsonMember {
1040
+ json: __DocumentType;
1041
+ $unknown?: never;
1042
+ }
1043
+ interface $UnknownMember {
1044
+ json?: never;
1045
+ $unknown: [string, any];
1046
+ }
1047
+ interface Visitor<T> {
1048
+ json: (value: __DocumentType) => T;
1049
+ _: (name: string, value: any) => T;
1050
+ }
1051
+ const visit: <T>(value: ToolInputSchema, visitor: Visitor<T>) => T;
1052
+ }
1053
+ export interface ToolSpecification {
1054
+ name: string | undefined;
1055
+ description?: string;
1056
+ inputSchema: ToolInputSchema | undefined;
1057
+ }
1058
+ export type Tool = Tool.ToolSpecMember | Tool.$UnknownMember;
1059
+ export declare namespace Tool {
1060
+ interface ToolSpecMember {
1061
+ toolSpec: ToolSpecification;
1062
+ $unknown?: never;
1063
+ }
1064
+ interface $UnknownMember {
1065
+ toolSpec?: never;
1066
+ $unknown: [string, any];
1067
+ }
1068
+ interface Visitor<T> {
1069
+ toolSpec: (value: ToolSpecification) => T;
1070
+ _: (name: string, value: any) => T;
1071
+ }
1072
+ const visit: <T>(value: Tool, visitor: Visitor<T>) => T;
1073
+ }
1074
+ export interface ToolConfiguration {
1075
+ tools: Tool[] | undefined;
1076
+ toolChoice?: ToolChoice;
1077
+ }
1078
+ export interface ChatPromptTemplateConfiguration {
1079
+ messages: Message[] | undefined;
1080
+ system?: SystemContentBlock[];
1081
+ inputVariables?: PromptInputVariable[];
1082
+ toolConfiguration?: ToolConfiguration;
1083
+ }
945
1084
  export interface TextPromptTemplateConfiguration {
946
1085
  text: string | undefined;
947
1086
  inputVariables?: PromptInputVariable[];
948
1087
  }
949
1088
  export type PromptTemplateConfiguration =
1089
+ | PromptTemplateConfiguration.ChatMember
950
1090
  | PromptTemplateConfiguration.TextMember
951
1091
  | PromptTemplateConfiguration.$UnknownMember;
952
1092
  export declare namespace PromptTemplateConfiguration {
953
1093
  interface TextMember {
954
1094
  text: TextPromptTemplateConfiguration;
1095
+ chat?: never;
1096
+ $unknown?: never;
1097
+ }
1098
+ interface ChatMember {
1099
+ text?: never;
1100
+ chat: ChatPromptTemplateConfiguration;
955
1101
  $unknown?: never;
956
1102
  }
957
1103
  interface $UnknownMember {
958
1104
  text?: never;
1105
+ chat?: never;
959
1106
  $unknown: [string, any];
960
1107
  }
961
1108
  interface Visitor<T> {
962
1109
  text: (value: TextPromptTemplateConfiguration) => T;
1110
+ chat: (value: ChatPromptTemplateConfiguration) => T;
963
1111
  _: (name: string, value: any) => T;
964
1112
  }
965
1113
  const visit: <T>(
@@ -968,6 +1116,7 @@ export declare namespace PromptTemplateConfiguration {
968
1116
  ) => T;
969
1117
  }
970
1118
  export declare const PromptTemplateType: {
1119
+ readonly CHAT: "CHAT";
971
1120
  readonly TEXT: "TEXT";
972
1121
  };
973
1122
  export type PromptTemplateType =
@@ -1014,6 +1163,7 @@ export declare namespace PromptFlowNodeSourceConfiguration {
1014
1163
  }
1015
1164
  export interface PromptFlowNodeConfiguration {
1016
1165
  sourceConfiguration: PromptFlowNodeSourceConfiguration | undefined;
1166
+ guardrailConfiguration?: GuardrailConfiguration;
1017
1167
  }
1018
1168
  export interface RetrievalFlowNodeS3Configuration {
1019
1169
  bucketName: string | undefined;
@@ -1516,15 +1666,953 @@ export interface ListFlowVersionsResponse {
1516
1666
  export interface GetFlowRequest {
1517
1667
  flowIdentifier: string | undefined;
1518
1668
  }
1669
+ export interface CyclicConnectionFlowValidationDetails {
1670
+ connection: string | undefined;
1671
+ }
1672
+ export interface DuplicateConditionExpressionFlowValidationDetails {
1673
+ node: string | undefined;
1674
+ expression: string | undefined;
1675
+ }
1676
+ export interface DuplicateConnectionsFlowValidationDetails {
1677
+ source: string | undefined;
1678
+ target: string | undefined;
1679
+ }
1680
+ export interface IncompatibleConnectionDataTypeFlowValidationDetails {
1681
+ connection: string | undefined;
1682
+ }
1683
+ export interface MalformedConditionExpressionFlowValidationDetails {
1684
+ node: string | undefined;
1685
+ condition: string | undefined;
1686
+ cause: string | undefined;
1687
+ }
1688
+ export interface MalformedNodeInputExpressionFlowValidationDetails {
1689
+ node: string | undefined;
1690
+ input: string | undefined;
1691
+ cause: string | undefined;
1692
+ }
1693
+ export interface MismatchedNodeInputTypeFlowValidationDetails {
1694
+ node: string | undefined;
1695
+ input: string | undefined;
1696
+ expectedType: FlowNodeIODataType | undefined;
1697
+ }
1698
+ export interface MismatchedNodeOutputTypeFlowValidationDetails {
1699
+ node: string | undefined;
1700
+ output: string | undefined;
1701
+ expectedType: FlowNodeIODataType | undefined;
1702
+ }
1703
+ export interface MissingConnectionConfigurationFlowValidationDetails {
1704
+ connection: string | undefined;
1705
+ }
1706
+ export interface MissingDefaultConditionFlowValidationDetails {
1707
+ node: string | undefined;
1708
+ }
1709
+ export interface MissingEndingNodesFlowValidationDetails {}
1710
+ export interface MissingNodeConfigurationFlowValidationDetails {
1711
+ node: string | undefined;
1712
+ }
1713
+ export interface MissingNodeInputFlowValidationDetails {
1714
+ node: string | undefined;
1715
+ input: string | undefined;
1716
+ }
1717
+ export interface MissingNodeOutputFlowValidationDetails {
1718
+ node: string | undefined;
1719
+ output: string | undefined;
1720
+ }
1721
+ export interface MissingStartingNodesFlowValidationDetails {}
1722
+ export interface MultipleNodeInputConnectionsFlowValidationDetails {
1723
+ node: string | undefined;
1724
+ input: string | undefined;
1725
+ }
1726
+ export interface UnfulfilledNodeInputFlowValidationDetails {
1727
+ node: string | undefined;
1728
+ input: string | undefined;
1729
+ }
1730
+ export interface UnknownConnectionConditionFlowValidationDetails {
1731
+ connection: string | undefined;
1732
+ }
1733
+ export interface UnknownConnectionSourceFlowValidationDetails {
1734
+ connection: string | undefined;
1735
+ }
1736
+ export interface UnknownConnectionSourceOutputFlowValidationDetails {
1737
+ connection: string | undefined;
1738
+ }
1739
+ export interface UnknownConnectionTargetFlowValidationDetails {
1740
+ connection: string | undefined;
1741
+ }
1742
+ export interface UnknownConnectionTargetInputFlowValidationDetails {
1743
+ connection: string | undefined;
1744
+ }
1745
+ export interface UnreachableNodeFlowValidationDetails {
1746
+ node: string | undefined;
1747
+ }
1748
+ export interface UnsatisfiedConnectionConditionsFlowValidationDetails {
1749
+ connection: string | undefined;
1750
+ }
1751
+ export interface UnspecifiedFlowValidationDetails {}
1752
+ export type FlowValidationDetails =
1753
+ | FlowValidationDetails.CyclicConnectionMember
1754
+ | FlowValidationDetails.DuplicateConditionExpressionMember
1755
+ | FlowValidationDetails.DuplicateConnectionsMember
1756
+ | FlowValidationDetails.IncompatibleConnectionDataTypeMember
1757
+ | FlowValidationDetails.MalformedConditionExpressionMember
1758
+ | FlowValidationDetails.MalformedNodeInputExpressionMember
1759
+ | FlowValidationDetails.MismatchedNodeInputTypeMember
1760
+ | FlowValidationDetails.MismatchedNodeOutputTypeMember
1761
+ | FlowValidationDetails.MissingConnectionConfigurationMember
1762
+ | FlowValidationDetails.MissingDefaultConditionMember
1763
+ | FlowValidationDetails.MissingEndingNodesMember
1764
+ | FlowValidationDetails.MissingNodeConfigurationMember
1765
+ | FlowValidationDetails.MissingNodeInputMember
1766
+ | FlowValidationDetails.MissingNodeOutputMember
1767
+ | FlowValidationDetails.MissingStartingNodesMember
1768
+ | FlowValidationDetails.MultipleNodeInputConnectionsMember
1769
+ | FlowValidationDetails.UnfulfilledNodeInputMember
1770
+ | FlowValidationDetails.UnknownConnectionConditionMember
1771
+ | FlowValidationDetails.UnknownConnectionSourceMember
1772
+ | FlowValidationDetails.UnknownConnectionSourceOutputMember
1773
+ | FlowValidationDetails.UnknownConnectionTargetMember
1774
+ | FlowValidationDetails.UnknownConnectionTargetInputMember
1775
+ | FlowValidationDetails.UnreachableNodeMember
1776
+ | FlowValidationDetails.UnsatisfiedConnectionConditionsMember
1777
+ | FlowValidationDetails.UnspecifiedMember
1778
+ | FlowValidationDetails.$UnknownMember;
1779
+ export declare namespace FlowValidationDetails {
1780
+ interface CyclicConnectionMember {
1781
+ cyclicConnection: CyclicConnectionFlowValidationDetails;
1782
+ duplicateConnections?: never;
1783
+ duplicateConditionExpression?: never;
1784
+ unreachableNode?: never;
1785
+ unknownConnectionSource?: never;
1786
+ unknownConnectionSourceOutput?: never;
1787
+ unknownConnectionTarget?: never;
1788
+ unknownConnectionTargetInput?: never;
1789
+ unknownConnectionCondition?: never;
1790
+ malformedConditionExpression?: never;
1791
+ malformedNodeInputExpression?: never;
1792
+ mismatchedNodeInputType?: never;
1793
+ mismatchedNodeOutputType?: never;
1794
+ incompatibleConnectionDataType?: never;
1795
+ missingConnectionConfiguration?: never;
1796
+ missingDefaultCondition?: never;
1797
+ missingEndingNodes?: never;
1798
+ missingNodeConfiguration?: never;
1799
+ missingNodeInput?: never;
1800
+ missingNodeOutput?: never;
1801
+ missingStartingNodes?: never;
1802
+ multipleNodeInputConnections?: never;
1803
+ unfulfilledNodeInput?: never;
1804
+ unsatisfiedConnectionConditions?: never;
1805
+ unspecified?: never;
1806
+ $unknown?: never;
1807
+ }
1808
+ interface DuplicateConnectionsMember {
1809
+ cyclicConnection?: never;
1810
+ duplicateConnections: DuplicateConnectionsFlowValidationDetails;
1811
+ duplicateConditionExpression?: never;
1812
+ unreachableNode?: never;
1813
+ unknownConnectionSource?: never;
1814
+ unknownConnectionSourceOutput?: never;
1815
+ unknownConnectionTarget?: never;
1816
+ unknownConnectionTargetInput?: never;
1817
+ unknownConnectionCondition?: never;
1818
+ malformedConditionExpression?: never;
1819
+ malformedNodeInputExpression?: never;
1820
+ mismatchedNodeInputType?: never;
1821
+ mismatchedNodeOutputType?: never;
1822
+ incompatibleConnectionDataType?: never;
1823
+ missingConnectionConfiguration?: never;
1824
+ missingDefaultCondition?: never;
1825
+ missingEndingNodes?: never;
1826
+ missingNodeConfiguration?: never;
1827
+ missingNodeInput?: never;
1828
+ missingNodeOutput?: never;
1829
+ missingStartingNodes?: never;
1830
+ multipleNodeInputConnections?: never;
1831
+ unfulfilledNodeInput?: never;
1832
+ unsatisfiedConnectionConditions?: never;
1833
+ unspecified?: never;
1834
+ $unknown?: never;
1835
+ }
1836
+ interface DuplicateConditionExpressionMember {
1837
+ cyclicConnection?: never;
1838
+ duplicateConnections?: never;
1839
+ duplicateConditionExpression: DuplicateConditionExpressionFlowValidationDetails;
1840
+ unreachableNode?: never;
1841
+ unknownConnectionSource?: never;
1842
+ unknownConnectionSourceOutput?: never;
1843
+ unknownConnectionTarget?: never;
1844
+ unknownConnectionTargetInput?: never;
1845
+ unknownConnectionCondition?: never;
1846
+ malformedConditionExpression?: never;
1847
+ malformedNodeInputExpression?: never;
1848
+ mismatchedNodeInputType?: never;
1849
+ mismatchedNodeOutputType?: never;
1850
+ incompatibleConnectionDataType?: never;
1851
+ missingConnectionConfiguration?: never;
1852
+ missingDefaultCondition?: never;
1853
+ missingEndingNodes?: never;
1854
+ missingNodeConfiguration?: never;
1855
+ missingNodeInput?: never;
1856
+ missingNodeOutput?: never;
1857
+ missingStartingNodes?: never;
1858
+ multipleNodeInputConnections?: never;
1859
+ unfulfilledNodeInput?: never;
1860
+ unsatisfiedConnectionConditions?: never;
1861
+ unspecified?: never;
1862
+ $unknown?: never;
1863
+ }
1864
+ interface UnreachableNodeMember {
1865
+ cyclicConnection?: never;
1866
+ duplicateConnections?: never;
1867
+ duplicateConditionExpression?: never;
1868
+ unreachableNode: UnreachableNodeFlowValidationDetails;
1869
+ unknownConnectionSource?: never;
1870
+ unknownConnectionSourceOutput?: never;
1871
+ unknownConnectionTarget?: never;
1872
+ unknownConnectionTargetInput?: never;
1873
+ unknownConnectionCondition?: never;
1874
+ malformedConditionExpression?: never;
1875
+ malformedNodeInputExpression?: never;
1876
+ mismatchedNodeInputType?: never;
1877
+ mismatchedNodeOutputType?: never;
1878
+ incompatibleConnectionDataType?: never;
1879
+ missingConnectionConfiguration?: never;
1880
+ missingDefaultCondition?: never;
1881
+ missingEndingNodes?: never;
1882
+ missingNodeConfiguration?: never;
1883
+ missingNodeInput?: never;
1884
+ missingNodeOutput?: never;
1885
+ missingStartingNodes?: never;
1886
+ multipleNodeInputConnections?: never;
1887
+ unfulfilledNodeInput?: never;
1888
+ unsatisfiedConnectionConditions?: never;
1889
+ unspecified?: never;
1890
+ $unknown?: never;
1891
+ }
1892
+ interface UnknownConnectionSourceMember {
1893
+ cyclicConnection?: never;
1894
+ duplicateConnections?: never;
1895
+ duplicateConditionExpression?: never;
1896
+ unreachableNode?: never;
1897
+ unknownConnectionSource: UnknownConnectionSourceFlowValidationDetails;
1898
+ unknownConnectionSourceOutput?: never;
1899
+ unknownConnectionTarget?: never;
1900
+ unknownConnectionTargetInput?: never;
1901
+ unknownConnectionCondition?: never;
1902
+ malformedConditionExpression?: never;
1903
+ malformedNodeInputExpression?: never;
1904
+ mismatchedNodeInputType?: never;
1905
+ mismatchedNodeOutputType?: never;
1906
+ incompatibleConnectionDataType?: never;
1907
+ missingConnectionConfiguration?: never;
1908
+ missingDefaultCondition?: never;
1909
+ missingEndingNodes?: never;
1910
+ missingNodeConfiguration?: never;
1911
+ missingNodeInput?: never;
1912
+ missingNodeOutput?: never;
1913
+ missingStartingNodes?: never;
1914
+ multipleNodeInputConnections?: never;
1915
+ unfulfilledNodeInput?: never;
1916
+ unsatisfiedConnectionConditions?: never;
1917
+ unspecified?: never;
1918
+ $unknown?: never;
1919
+ }
1920
+ interface UnknownConnectionSourceOutputMember {
1921
+ cyclicConnection?: never;
1922
+ duplicateConnections?: never;
1923
+ duplicateConditionExpression?: never;
1924
+ unreachableNode?: never;
1925
+ unknownConnectionSource?: never;
1926
+ unknownConnectionSourceOutput: UnknownConnectionSourceOutputFlowValidationDetails;
1927
+ unknownConnectionTarget?: never;
1928
+ unknownConnectionTargetInput?: never;
1929
+ unknownConnectionCondition?: never;
1930
+ malformedConditionExpression?: never;
1931
+ malformedNodeInputExpression?: never;
1932
+ mismatchedNodeInputType?: never;
1933
+ mismatchedNodeOutputType?: never;
1934
+ incompatibleConnectionDataType?: never;
1935
+ missingConnectionConfiguration?: never;
1936
+ missingDefaultCondition?: never;
1937
+ missingEndingNodes?: never;
1938
+ missingNodeConfiguration?: never;
1939
+ missingNodeInput?: never;
1940
+ missingNodeOutput?: never;
1941
+ missingStartingNodes?: never;
1942
+ multipleNodeInputConnections?: never;
1943
+ unfulfilledNodeInput?: never;
1944
+ unsatisfiedConnectionConditions?: never;
1945
+ unspecified?: never;
1946
+ $unknown?: never;
1947
+ }
1948
+ interface UnknownConnectionTargetMember {
1949
+ cyclicConnection?: never;
1950
+ duplicateConnections?: never;
1951
+ duplicateConditionExpression?: never;
1952
+ unreachableNode?: never;
1953
+ unknownConnectionSource?: never;
1954
+ unknownConnectionSourceOutput?: never;
1955
+ unknownConnectionTarget: UnknownConnectionTargetFlowValidationDetails;
1956
+ unknownConnectionTargetInput?: never;
1957
+ unknownConnectionCondition?: never;
1958
+ malformedConditionExpression?: never;
1959
+ malformedNodeInputExpression?: never;
1960
+ mismatchedNodeInputType?: never;
1961
+ mismatchedNodeOutputType?: never;
1962
+ incompatibleConnectionDataType?: never;
1963
+ missingConnectionConfiguration?: never;
1964
+ missingDefaultCondition?: never;
1965
+ missingEndingNodes?: never;
1966
+ missingNodeConfiguration?: never;
1967
+ missingNodeInput?: never;
1968
+ missingNodeOutput?: never;
1969
+ missingStartingNodes?: never;
1970
+ multipleNodeInputConnections?: never;
1971
+ unfulfilledNodeInput?: never;
1972
+ unsatisfiedConnectionConditions?: never;
1973
+ unspecified?: never;
1974
+ $unknown?: never;
1975
+ }
1976
+ interface UnknownConnectionTargetInputMember {
1977
+ cyclicConnection?: never;
1978
+ duplicateConnections?: never;
1979
+ duplicateConditionExpression?: never;
1980
+ unreachableNode?: never;
1981
+ unknownConnectionSource?: never;
1982
+ unknownConnectionSourceOutput?: never;
1983
+ unknownConnectionTarget?: never;
1984
+ unknownConnectionTargetInput: UnknownConnectionTargetInputFlowValidationDetails;
1985
+ unknownConnectionCondition?: never;
1986
+ malformedConditionExpression?: never;
1987
+ malformedNodeInputExpression?: never;
1988
+ mismatchedNodeInputType?: never;
1989
+ mismatchedNodeOutputType?: never;
1990
+ incompatibleConnectionDataType?: never;
1991
+ missingConnectionConfiguration?: never;
1992
+ missingDefaultCondition?: never;
1993
+ missingEndingNodes?: never;
1994
+ missingNodeConfiguration?: never;
1995
+ missingNodeInput?: never;
1996
+ missingNodeOutput?: never;
1997
+ missingStartingNodes?: never;
1998
+ multipleNodeInputConnections?: never;
1999
+ unfulfilledNodeInput?: never;
2000
+ unsatisfiedConnectionConditions?: never;
2001
+ unspecified?: never;
2002
+ $unknown?: never;
2003
+ }
2004
+ interface UnknownConnectionConditionMember {
2005
+ cyclicConnection?: never;
2006
+ duplicateConnections?: never;
2007
+ duplicateConditionExpression?: never;
2008
+ unreachableNode?: never;
2009
+ unknownConnectionSource?: never;
2010
+ unknownConnectionSourceOutput?: never;
2011
+ unknownConnectionTarget?: never;
2012
+ unknownConnectionTargetInput?: never;
2013
+ unknownConnectionCondition: UnknownConnectionConditionFlowValidationDetails;
2014
+ malformedConditionExpression?: never;
2015
+ malformedNodeInputExpression?: never;
2016
+ mismatchedNodeInputType?: never;
2017
+ mismatchedNodeOutputType?: never;
2018
+ incompatibleConnectionDataType?: never;
2019
+ missingConnectionConfiguration?: never;
2020
+ missingDefaultCondition?: never;
2021
+ missingEndingNodes?: never;
2022
+ missingNodeConfiguration?: never;
2023
+ missingNodeInput?: never;
2024
+ missingNodeOutput?: never;
2025
+ missingStartingNodes?: never;
2026
+ multipleNodeInputConnections?: never;
2027
+ unfulfilledNodeInput?: never;
2028
+ unsatisfiedConnectionConditions?: never;
2029
+ unspecified?: never;
2030
+ $unknown?: never;
2031
+ }
2032
+ interface MalformedConditionExpressionMember {
2033
+ cyclicConnection?: never;
2034
+ duplicateConnections?: never;
2035
+ duplicateConditionExpression?: never;
2036
+ unreachableNode?: never;
2037
+ unknownConnectionSource?: never;
2038
+ unknownConnectionSourceOutput?: never;
2039
+ unknownConnectionTarget?: never;
2040
+ unknownConnectionTargetInput?: never;
2041
+ unknownConnectionCondition?: never;
2042
+ malformedConditionExpression: MalformedConditionExpressionFlowValidationDetails;
2043
+ malformedNodeInputExpression?: never;
2044
+ mismatchedNodeInputType?: never;
2045
+ mismatchedNodeOutputType?: never;
2046
+ incompatibleConnectionDataType?: never;
2047
+ missingConnectionConfiguration?: never;
2048
+ missingDefaultCondition?: never;
2049
+ missingEndingNodes?: never;
2050
+ missingNodeConfiguration?: never;
2051
+ missingNodeInput?: never;
2052
+ missingNodeOutput?: never;
2053
+ missingStartingNodes?: never;
2054
+ multipleNodeInputConnections?: never;
2055
+ unfulfilledNodeInput?: never;
2056
+ unsatisfiedConnectionConditions?: never;
2057
+ unspecified?: never;
2058
+ $unknown?: never;
2059
+ }
2060
+ interface MalformedNodeInputExpressionMember {
2061
+ cyclicConnection?: never;
2062
+ duplicateConnections?: never;
2063
+ duplicateConditionExpression?: never;
2064
+ unreachableNode?: never;
2065
+ unknownConnectionSource?: never;
2066
+ unknownConnectionSourceOutput?: never;
2067
+ unknownConnectionTarget?: never;
2068
+ unknownConnectionTargetInput?: never;
2069
+ unknownConnectionCondition?: never;
2070
+ malformedConditionExpression?: never;
2071
+ malformedNodeInputExpression: MalformedNodeInputExpressionFlowValidationDetails;
2072
+ mismatchedNodeInputType?: never;
2073
+ mismatchedNodeOutputType?: never;
2074
+ incompatibleConnectionDataType?: never;
2075
+ missingConnectionConfiguration?: never;
2076
+ missingDefaultCondition?: never;
2077
+ missingEndingNodes?: never;
2078
+ missingNodeConfiguration?: never;
2079
+ missingNodeInput?: never;
2080
+ missingNodeOutput?: never;
2081
+ missingStartingNodes?: never;
2082
+ multipleNodeInputConnections?: never;
2083
+ unfulfilledNodeInput?: never;
2084
+ unsatisfiedConnectionConditions?: never;
2085
+ unspecified?: never;
2086
+ $unknown?: never;
2087
+ }
2088
+ interface MismatchedNodeInputTypeMember {
2089
+ cyclicConnection?: never;
2090
+ duplicateConnections?: never;
2091
+ duplicateConditionExpression?: never;
2092
+ unreachableNode?: never;
2093
+ unknownConnectionSource?: never;
2094
+ unknownConnectionSourceOutput?: never;
2095
+ unknownConnectionTarget?: never;
2096
+ unknownConnectionTargetInput?: never;
2097
+ unknownConnectionCondition?: never;
2098
+ malformedConditionExpression?: never;
2099
+ malformedNodeInputExpression?: never;
2100
+ mismatchedNodeInputType: MismatchedNodeInputTypeFlowValidationDetails;
2101
+ mismatchedNodeOutputType?: never;
2102
+ incompatibleConnectionDataType?: never;
2103
+ missingConnectionConfiguration?: never;
2104
+ missingDefaultCondition?: never;
2105
+ missingEndingNodes?: never;
2106
+ missingNodeConfiguration?: never;
2107
+ missingNodeInput?: never;
2108
+ missingNodeOutput?: never;
2109
+ missingStartingNodes?: never;
2110
+ multipleNodeInputConnections?: never;
2111
+ unfulfilledNodeInput?: never;
2112
+ unsatisfiedConnectionConditions?: never;
2113
+ unspecified?: never;
2114
+ $unknown?: never;
2115
+ }
2116
+ interface MismatchedNodeOutputTypeMember {
2117
+ cyclicConnection?: never;
2118
+ duplicateConnections?: never;
2119
+ duplicateConditionExpression?: never;
2120
+ unreachableNode?: never;
2121
+ unknownConnectionSource?: never;
2122
+ unknownConnectionSourceOutput?: never;
2123
+ unknownConnectionTarget?: never;
2124
+ unknownConnectionTargetInput?: never;
2125
+ unknownConnectionCondition?: never;
2126
+ malformedConditionExpression?: never;
2127
+ malformedNodeInputExpression?: never;
2128
+ mismatchedNodeInputType?: never;
2129
+ mismatchedNodeOutputType: MismatchedNodeOutputTypeFlowValidationDetails;
2130
+ incompatibleConnectionDataType?: never;
2131
+ missingConnectionConfiguration?: never;
2132
+ missingDefaultCondition?: never;
2133
+ missingEndingNodes?: never;
2134
+ missingNodeConfiguration?: never;
2135
+ missingNodeInput?: never;
2136
+ missingNodeOutput?: never;
2137
+ missingStartingNodes?: never;
2138
+ multipleNodeInputConnections?: never;
2139
+ unfulfilledNodeInput?: never;
2140
+ unsatisfiedConnectionConditions?: never;
2141
+ unspecified?: never;
2142
+ $unknown?: never;
2143
+ }
2144
+ interface IncompatibleConnectionDataTypeMember {
2145
+ cyclicConnection?: never;
2146
+ duplicateConnections?: never;
2147
+ duplicateConditionExpression?: never;
2148
+ unreachableNode?: never;
2149
+ unknownConnectionSource?: never;
2150
+ unknownConnectionSourceOutput?: never;
2151
+ unknownConnectionTarget?: never;
2152
+ unknownConnectionTargetInput?: never;
2153
+ unknownConnectionCondition?: never;
2154
+ malformedConditionExpression?: never;
2155
+ malformedNodeInputExpression?: never;
2156
+ mismatchedNodeInputType?: never;
2157
+ mismatchedNodeOutputType?: never;
2158
+ incompatibleConnectionDataType: IncompatibleConnectionDataTypeFlowValidationDetails;
2159
+ missingConnectionConfiguration?: never;
2160
+ missingDefaultCondition?: never;
2161
+ missingEndingNodes?: never;
2162
+ missingNodeConfiguration?: never;
2163
+ missingNodeInput?: never;
2164
+ missingNodeOutput?: never;
2165
+ missingStartingNodes?: never;
2166
+ multipleNodeInputConnections?: never;
2167
+ unfulfilledNodeInput?: never;
2168
+ unsatisfiedConnectionConditions?: never;
2169
+ unspecified?: never;
2170
+ $unknown?: never;
2171
+ }
2172
+ interface MissingConnectionConfigurationMember {
2173
+ cyclicConnection?: never;
2174
+ duplicateConnections?: never;
2175
+ duplicateConditionExpression?: never;
2176
+ unreachableNode?: never;
2177
+ unknownConnectionSource?: never;
2178
+ unknownConnectionSourceOutput?: never;
2179
+ unknownConnectionTarget?: never;
2180
+ unknownConnectionTargetInput?: never;
2181
+ unknownConnectionCondition?: never;
2182
+ malformedConditionExpression?: never;
2183
+ malformedNodeInputExpression?: never;
2184
+ mismatchedNodeInputType?: never;
2185
+ mismatchedNodeOutputType?: never;
2186
+ incompatibleConnectionDataType?: never;
2187
+ missingConnectionConfiguration: MissingConnectionConfigurationFlowValidationDetails;
2188
+ missingDefaultCondition?: never;
2189
+ missingEndingNodes?: never;
2190
+ missingNodeConfiguration?: never;
2191
+ missingNodeInput?: never;
2192
+ missingNodeOutput?: never;
2193
+ missingStartingNodes?: never;
2194
+ multipleNodeInputConnections?: never;
2195
+ unfulfilledNodeInput?: never;
2196
+ unsatisfiedConnectionConditions?: never;
2197
+ unspecified?: never;
2198
+ $unknown?: never;
2199
+ }
2200
+ interface MissingDefaultConditionMember {
2201
+ cyclicConnection?: never;
2202
+ duplicateConnections?: never;
2203
+ duplicateConditionExpression?: never;
2204
+ unreachableNode?: never;
2205
+ unknownConnectionSource?: never;
2206
+ unknownConnectionSourceOutput?: never;
2207
+ unknownConnectionTarget?: never;
2208
+ unknownConnectionTargetInput?: never;
2209
+ unknownConnectionCondition?: never;
2210
+ malformedConditionExpression?: never;
2211
+ malformedNodeInputExpression?: never;
2212
+ mismatchedNodeInputType?: never;
2213
+ mismatchedNodeOutputType?: never;
2214
+ incompatibleConnectionDataType?: never;
2215
+ missingConnectionConfiguration?: never;
2216
+ missingDefaultCondition: MissingDefaultConditionFlowValidationDetails;
2217
+ missingEndingNodes?: never;
2218
+ missingNodeConfiguration?: never;
2219
+ missingNodeInput?: never;
2220
+ missingNodeOutput?: never;
2221
+ missingStartingNodes?: never;
2222
+ multipleNodeInputConnections?: never;
2223
+ unfulfilledNodeInput?: never;
2224
+ unsatisfiedConnectionConditions?: never;
2225
+ unspecified?: never;
2226
+ $unknown?: never;
2227
+ }
2228
+ interface MissingEndingNodesMember {
2229
+ cyclicConnection?: never;
2230
+ duplicateConnections?: never;
2231
+ duplicateConditionExpression?: never;
2232
+ unreachableNode?: never;
2233
+ unknownConnectionSource?: never;
2234
+ unknownConnectionSourceOutput?: never;
2235
+ unknownConnectionTarget?: never;
2236
+ unknownConnectionTargetInput?: never;
2237
+ unknownConnectionCondition?: never;
2238
+ malformedConditionExpression?: never;
2239
+ malformedNodeInputExpression?: never;
2240
+ mismatchedNodeInputType?: never;
2241
+ mismatchedNodeOutputType?: never;
2242
+ incompatibleConnectionDataType?: never;
2243
+ missingConnectionConfiguration?: never;
2244
+ missingDefaultCondition?: never;
2245
+ missingEndingNodes: MissingEndingNodesFlowValidationDetails;
2246
+ missingNodeConfiguration?: never;
2247
+ missingNodeInput?: never;
2248
+ missingNodeOutput?: never;
2249
+ missingStartingNodes?: never;
2250
+ multipleNodeInputConnections?: never;
2251
+ unfulfilledNodeInput?: never;
2252
+ unsatisfiedConnectionConditions?: never;
2253
+ unspecified?: never;
2254
+ $unknown?: never;
2255
+ }
2256
+ interface MissingNodeConfigurationMember {
2257
+ cyclicConnection?: never;
2258
+ duplicateConnections?: never;
2259
+ duplicateConditionExpression?: never;
2260
+ unreachableNode?: never;
2261
+ unknownConnectionSource?: never;
2262
+ unknownConnectionSourceOutput?: never;
2263
+ unknownConnectionTarget?: never;
2264
+ unknownConnectionTargetInput?: never;
2265
+ unknownConnectionCondition?: never;
2266
+ malformedConditionExpression?: never;
2267
+ malformedNodeInputExpression?: never;
2268
+ mismatchedNodeInputType?: never;
2269
+ mismatchedNodeOutputType?: never;
2270
+ incompatibleConnectionDataType?: never;
2271
+ missingConnectionConfiguration?: never;
2272
+ missingDefaultCondition?: never;
2273
+ missingEndingNodes?: never;
2274
+ missingNodeConfiguration: MissingNodeConfigurationFlowValidationDetails;
2275
+ missingNodeInput?: never;
2276
+ missingNodeOutput?: never;
2277
+ missingStartingNodes?: never;
2278
+ multipleNodeInputConnections?: never;
2279
+ unfulfilledNodeInput?: never;
2280
+ unsatisfiedConnectionConditions?: never;
2281
+ unspecified?: never;
2282
+ $unknown?: never;
2283
+ }
2284
+ interface MissingNodeInputMember {
2285
+ cyclicConnection?: never;
2286
+ duplicateConnections?: never;
2287
+ duplicateConditionExpression?: never;
2288
+ unreachableNode?: never;
2289
+ unknownConnectionSource?: never;
2290
+ unknownConnectionSourceOutput?: never;
2291
+ unknownConnectionTarget?: never;
2292
+ unknownConnectionTargetInput?: never;
2293
+ unknownConnectionCondition?: never;
2294
+ malformedConditionExpression?: never;
2295
+ malformedNodeInputExpression?: never;
2296
+ mismatchedNodeInputType?: never;
2297
+ mismatchedNodeOutputType?: never;
2298
+ incompatibleConnectionDataType?: never;
2299
+ missingConnectionConfiguration?: never;
2300
+ missingDefaultCondition?: never;
2301
+ missingEndingNodes?: never;
2302
+ missingNodeConfiguration?: never;
2303
+ missingNodeInput: MissingNodeInputFlowValidationDetails;
2304
+ missingNodeOutput?: never;
2305
+ missingStartingNodes?: never;
2306
+ multipleNodeInputConnections?: never;
2307
+ unfulfilledNodeInput?: never;
2308
+ unsatisfiedConnectionConditions?: never;
2309
+ unspecified?: never;
2310
+ $unknown?: never;
2311
+ }
2312
+ interface MissingNodeOutputMember {
2313
+ cyclicConnection?: never;
2314
+ duplicateConnections?: never;
2315
+ duplicateConditionExpression?: never;
2316
+ unreachableNode?: never;
2317
+ unknownConnectionSource?: never;
2318
+ unknownConnectionSourceOutput?: never;
2319
+ unknownConnectionTarget?: never;
2320
+ unknownConnectionTargetInput?: never;
2321
+ unknownConnectionCondition?: never;
2322
+ malformedConditionExpression?: never;
2323
+ malformedNodeInputExpression?: never;
2324
+ mismatchedNodeInputType?: never;
2325
+ mismatchedNodeOutputType?: never;
2326
+ incompatibleConnectionDataType?: never;
2327
+ missingConnectionConfiguration?: never;
2328
+ missingDefaultCondition?: never;
2329
+ missingEndingNodes?: never;
2330
+ missingNodeConfiguration?: never;
2331
+ missingNodeInput?: never;
2332
+ missingNodeOutput: MissingNodeOutputFlowValidationDetails;
2333
+ missingStartingNodes?: never;
2334
+ multipleNodeInputConnections?: never;
2335
+ unfulfilledNodeInput?: never;
2336
+ unsatisfiedConnectionConditions?: never;
2337
+ unspecified?: never;
2338
+ $unknown?: never;
2339
+ }
2340
+ interface MissingStartingNodesMember {
2341
+ cyclicConnection?: never;
2342
+ duplicateConnections?: never;
2343
+ duplicateConditionExpression?: never;
2344
+ unreachableNode?: never;
2345
+ unknownConnectionSource?: never;
2346
+ unknownConnectionSourceOutput?: never;
2347
+ unknownConnectionTarget?: never;
2348
+ unknownConnectionTargetInput?: never;
2349
+ unknownConnectionCondition?: never;
2350
+ malformedConditionExpression?: never;
2351
+ malformedNodeInputExpression?: never;
2352
+ mismatchedNodeInputType?: never;
2353
+ mismatchedNodeOutputType?: never;
2354
+ incompatibleConnectionDataType?: never;
2355
+ missingConnectionConfiguration?: never;
2356
+ missingDefaultCondition?: never;
2357
+ missingEndingNodes?: never;
2358
+ missingNodeConfiguration?: never;
2359
+ missingNodeInput?: never;
2360
+ missingNodeOutput?: never;
2361
+ missingStartingNodes: MissingStartingNodesFlowValidationDetails;
2362
+ multipleNodeInputConnections?: never;
2363
+ unfulfilledNodeInput?: never;
2364
+ unsatisfiedConnectionConditions?: never;
2365
+ unspecified?: never;
2366
+ $unknown?: never;
2367
+ }
2368
+ interface MultipleNodeInputConnectionsMember {
2369
+ cyclicConnection?: never;
2370
+ duplicateConnections?: never;
2371
+ duplicateConditionExpression?: never;
2372
+ unreachableNode?: never;
2373
+ unknownConnectionSource?: never;
2374
+ unknownConnectionSourceOutput?: never;
2375
+ unknownConnectionTarget?: never;
2376
+ unknownConnectionTargetInput?: never;
2377
+ unknownConnectionCondition?: never;
2378
+ malformedConditionExpression?: never;
2379
+ malformedNodeInputExpression?: never;
2380
+ mismatchedNodeInputType?: never;
2381
+ mismatchedNodeOutputType?: never;
2382
+ incompatibleConnectionDataType?: never;
2383
+ missingConnectionConfiguration?: never;
2384
+ missingDefaultCondition?: never;
2385
+ missingEndingNodes?: never;
2386
+ missingNodeConfiguration?: never;
2387
+ missingNodeInput?: never;
2388
+ missingNodeOutput?: never;
2389
+ missingStartingNodes?: never;
2390
+ multipleNodeInputConnections: MultipleNodeInputConnectionsFlowValidationDetails;
2391
+ unfulfilledNodeInput?: never;
2392
+ unsatisfiedConnectionConditions?: never;
2393
+ unspecified?: never;
2394
+ $unknown?: never;
2395
+ }
2396
+ interface UnfulfilledNodeInputMember {
2397
+ cyclicConnection?: never;
2398
+ duplicateConnections?: never;
2399
+ duplicateConditionExpression?: never;
2400
+ unreachableNode?: never;
2401
+ unknownConnectionSource?: never;
2402
+ unknownConnectionSourceOutput?: never;
2403
+ unknownConnectionTarget?: never;
2404
+ unknownConnectionTargetInput?: never;
2405
+ unknownConnectionCondition?: never;
2406
+ malformedConditionExpression?: never;
2407
+ malformedNodeInputExpression?: never;
2408
+ mismatchedNodeInputType?: never;
2409
+ mismatchedNodeOutputType?: never;
2410
+ incompatibleConnectionDataType?: never;
2411
+ missingConnectionConfiguration?: never;
2412
+ missingDefaultCondition?: never;
2413
+ missingEndingNodes?: never;
2414
+ missingNodeConfiguration?: never;
2415
+ missingNodeInput?: never;
2416
+ missingNodeOutput?: never;
2417
+ missingStartingNodes?: never;
2418
+ multipleNodeInputConnections?: never;
2419
+ unfulfilledNodeInput: UnfulfilledNodeInputFlowValidationDetails;
2420
+ unsatisfiedConnectionConditions?: never;
2421
+ unspecified?: never;
2422
+ $unknown?: never;
2423
+ }
2424
+ interface UnsatisfiedConnectionConditionsMember {
2425
+ cyclicConnection?: never;
2426
+ duplicateConnections?: never;
2427
+ duplicateConditionExpression?: never;
2428
+ unreachableNode?: never;
2429
+ unknownConnectionSource?: never;
2430
+ unknownConnectionSourceOutput?: never;
2431
+ unknownConnectionTarget?: never;
2432
+ unknownConnectionTargetInput?: never;
2433
+ unknownConnectionCondition?: never;
2434
+ malformedConditionExpression?: never;
2435
+ malformedNodeInputExpression?: never;
2436
+ mismatchedNodeInputType?: never;
2437
+ mismatchedNodeOutputType?: never;
2438
+ incompatibleConnectionDataType?: never;
2439
+ missingConnectionConfiguration?: never;
2440
+ missingDefaultCondition?: never;
2441
+ missingEndingNodes?: never;
2442
+ missingNodeConfiguration?: never;
2443
+ missingNodeInput?: never;
2444
+ missingNodeOutput?: never;
2445
+ missingStartingNodes?: never;
2446
+ multipleNodeInputConnections?: never;
2447
+ unfulfilledNodeInput?: never;
2448
+ unsatisfiedConnectionConditions: UnsatisfiedConnectionConditionsFlowValidationDetails;
2449
+ unspecified?: never;
2450
+ $unknown?: never;
2451
+ }
2452
+ interface UnspecifiedMember {
2453
+ cyclicConnection?: never;
2454
+ duplicateConnections?: never;
2455
+ duplicateConditionExpression?: never;
2456
+ unreachableNode?: never;
2457
+ unknownConnectionSource?: never;
2458
+ unknownConnectionSourceOutput?: never;
2459
+ unknownConnectionTarget?: never;
2460
+ unknownConnectionTargetInput?: never;
2461
+ unknownConnectionCondition?: never;
2462
+ malformedConditionExpression?: never;
2463
+ malformedNodeInputExpression?: never;
2464
+ mismatchedNodeInputType?: never;
2465
+ mismatchedNodeOutputType?: never;
2466
+ incompatibleConnectionDataType?: never;
2467
+ missingConnectionConfiguration?: never;
2468
+ missingDefaultCondition?: never;
2469
+ missingEndingNodes?: never;
2470
+ missingNodeConfiguration?: never;
2471
+ missingNodeInput?: never;
2472
+ missingNodeOutput?: never;
2473
+ missingStartingNodes?: never;
2474
+ multipleNodeInputConnections?: never;
2475
+ unfulfilledNodeInput?: never;
2476
+ unsatisfiedConnectionConditions?: never;
2477
+ unspecified: UnspecifiedFlowValidationDetails;
2478
+ $unknown?: never;
2479
+ }
2480
+ interface $UnknownMember {
2481
+ cyclicConnection?: never;
2482
+ duplicateConnections?: never;
2483
+ duplicateConditionExpression?: never;
2484
+ unreachableNode?: never;
2485
+ unknownConnectionSource?: never;
2486
+ unknownConnectionSourceOutput?: never;
2487
+ unknownConnectionTarget?: never;
2488
+ unknownConnectionTargetInput?: never;
2489
+ unknownConnectionCondition?: never;
2490
+ malformedConditionExpression?: never;
2491
+ malformedNodeInputExpression?: never;
2492
+ mismatchedNodeInputType?: never;
2493
+ mismatchedNodeOutputType?: never;
2494
+ incompatibleConnectionDataType?: never;
2495
+ missingConnectionConfiguration?: never;
2496
+ missingDefaultCondition?: never;
2497
+ missingEndingNodes?: never;
2498
+ missingNodeConfiguration?: never;
2499
+ missingNodeInput?: never;
2500
+ missingNodeOutput?: never;
2501
+ missingStartingNodes?: never;
2502
+ multipleNodeInputConnections?: never;
2503
+ unfulfilledNodeInput?: never;
2504
+ unsatisfiedConnectionConditions?: never;
2505
+ unspecified?: never;
2506
+ $unknown: [string, any];
2507
+ }
2508
+ interface Visitor<T> {
2509
+ cyclicConnection: (value: CyclicConnectionFlowValidationDetails) => T;
2510
+ duplicateConnections: (
2511
+ value: DuplicateConnectionsFlowValidationDetails
2512
+ ) => T;
2513
+ duplicateConditionExpression: (
2514
+ value: DuplicateConditionExpressionFlowValidationDetails
2515
+ ) => T;
2516
+ unreachableNode: (value: UnreachableNodeFlowValidationDetails) => T;
2517
+ unknownConnectionSource: (
2518
+ value: UnknownConnectionSourceFlowValidationDetails
2519
+ ) => T;
2520
+ unknownConnectionSourceOutput: (
2521
+ value: UnknownConnectionSourceOutputFlowValidationDetails
2522
+ ) => T;
2523
+ unknownConnectionTarget: (
2524
+ value: UnknownConnectionTargetFlowValidationDetails
2525
+ ) => T;
2526
+ unknownConnectionTargetInput: (
2527
+ value: UnknownConnectionTargetInputFlowValidationDetails
2528
+ ) => T;
2529
+ unknownConnectionCondition: (
2530
+ value: UnknownConnectionConditionFlowValidationDetails
2531
+ ) => T;
2532
+ malformedConditionExpression: (
2533
+ value: MalformedConditionExpressionFlowValidationDetails
2534
+ ) => T;
2535
+ malformedNodeInputExpression: (
2536
+ value: MalformedNodeInputExpressionFlowValidationDetails
2537
+ ) => T;
2538
+ mismatchedNodeInputType: (
2539
+ value: MismatchedNodeInputTypeFlowValidationDetails
2540
+ ) => T;
2541
+ mismatchedNodeOutputType: (
2542
+ value: MismatchedNodeOutputTypeFlowValidationDetails
2543
+ ) => T;
2544
+ incompatibleConnectionDataType: (
2545
+ value: IncompatibleConnectionDataTypeFlowValidationDetails
2546
+ ) => T;
2547
+ missingConnectionConfiguration: (
2548
+ value: MissingConnectionConfigurationFlowValidationDetails
2549
+ ) => T;
2550
+ missingDefaultCondition: (
2551
+ value: MissingDefaultConditionFlowValidationDetails
2552
+ ) => T;
2553
+ missingEndingNodes: (value: MissingEndingNodesFlowValidationDetails) => T;
2554
+ missingNodeConfiguration: (
2555
+ value: MissingNodeConfigurationFlowValidationDetails
2556
+ ) => T;
2557
+ missingNodeInput: (value: MissingNodeInputFlowValidationDetails) => T;
2558
+ missingNodeOutput: (value: MissingNodeOutputFlowValidationDetails) => T;
2559
+ missingStartingNodes: (
2560
+ value: MissingStartingNodesFlowValidationDetails
2561
+ ) => T;
2562
+ multipleNodeInputConnections: (
2563
+ value: MultipleNodeInputConnectionsFlowValidationDetails
2564
+ ) => T;
2565
+ unfulfilledNodeInput: (
2566
+ value: UnfulfilledNodeInputFlowValidationDetails
2567
+ ) => T;
2568
+ unsatisfiedConnectionConditions: (
2569
+ value: UnsatisfiedConnectionConditionsFlowValidationDetails
2570
+ ) => T;
2571
+ unspecified: (value: UnspecifiedFlowValidationDetails) => T;
2572
+ _: (name: string, value: any) => T;
2573
+ }
2574
+ const visit: <T>(value: FlowValidationDetails, visitor: Visitor<T>) => T;
2575
+ }
1519
2576
  export declare const FlowValidationSeverity: {
1520
2577
  readonly ERROR: "Error";
1521
2578
  readonly WARNING: "Warning";
1522
2579
  };
1523
2580
  export type FlowValidationSeverity =
1524
2581
  (typeof FlowValidationSeverity)[keyof typeof FlowValidationSeverity];
2582
+ export declare const FlowValidationType: {
2583
+ readonly CYCLIC_CONNECTION: "CyclicConnection";
2584
+ readonly DUPLICATE_CONDITION_EXPRESSION: "DuplicateConditionExpression";
2585
+ readonly DUPLICATE_CONNECTIONS: "DuplicateConnections";
2586
+ readonly INCOMPATIBLE_CONNECTION_DATA_TYPE: "IncompatibleConnectionDataType";
2587
+ readonly MALFORMED_CONDITION_EXPRESSION: "MalformedConditionExpression";
2588
+ readonly MALFORMED_NODE_INPUT_EXPRESSION: "MalformedNodeInputExpression";
2589
+ readonly MISMATCHED_NODE_INPUT_TYPE: "MismatchedNodeInputType";
2590
+ readonly MISMATCHED_NODE_OUTPUT_TYPE: "MismatchedNodeOutputType";
2591
+ readonly MISSING_CONNECTION_CONFIGURATION: "MissingConnectionConfiguration";
2592
+ readonly MISSING_DEFAULT_CONDITION: "MissingDefaultCondition";
2593
+ readonly MISSING_ENDING_NODES: "MissingEndingNodes";
2594
+ readonly MISSING_NODE_CONFIGURATION: "MissingNodeConfiguration";
2595
+ readonly MISSING_NODE_INPUT: "MissingNodeInput";
2596
+ readonly MISSING_NODE_OUTPUT: "MissingNodeOutput";
2597
+ readonly MISSING_STARTING_NODES: "MissingStartingNodes";
2598
+ readonly MULTIPLE_NODE_INPUT_CONNECTIONS: "MultipleNodeInputConnections";
2599
+ readonly UNFULFILLED_NODE_INPUT: "UnfulfilledNodeInput";
2600
+ readonly UNKNOWN_CONNECTION_CONDITION: "UnknownConnectionCondition";
2601
+ readonly UNKNOWN_CONNECTION_SOURCE: "UnknownConnectionSource";
2602
+ readonly UNKNOWN_CONNECTION_SOURCE_OUTPUT: "UnknownConnectionSourceOutput";
2603
+ readonly UNKNOWN_CONNECTION_TARGET: "UnknownConnectionTarget";
2604
+ readonly UNKNOWN_CONNECTION_TARGET_INPUT: "UnknownConnectionTargetInput";
2605
+ readonly UNREACHABLE_NODE: "UnreachableNode";
2606
+ readonly UNSATISFIED_CONNECTION_CONDITIONS: "UnsatisfiedConnectionConditions";
2607
+ readonly UNSPECIFIED: "Unspecified";
2608
+ };
2609
+ export type FlowValidationType =
2610
+ (typeof FlowValidationType)[keyof typeof FlowValidationType];
1525
2611
  export interface FlowValidation {
1526
2612
  message: string | undefined;
1527
2613
  severity: FlowValidationSeverity | undefined;
2614
+ details?: FlowValidationDetails;
2615
+ type?: FlowValidationType;
1528
2616
  }
1529
2617
  export interface GetFlowResponse {
1530
2618
  name: string | undefined;
@@ -1859,208 +2947,6 @@ export interface GetKnowledgeBaseRequest {
1859
2947
  export interface GetKnowledgeBaseResponse {
1860
2948
  knowledgeBase: KnowledgeBase | undefined;
1861
2949
  }
1862
- export interface ListAgentKnowledgeBasesRequest {
1863
- agentId: string | undefined;
1864
- agentVersion: string | undefined;
1865
- maxResults?: number;
1866
- nextToken?: string;
1867
- }
1868
- export interface ListAgentKnowledgeBasesResponse {
1869
- agentKnowledgeBaseSummaries: AgentKnowledgeBaseSummary[] | undefined;
1870
- nextToken?: string;
1871
- }
1872
- export interface ListKnowledgeBasesRequest {
1873
- maxResults?: number;
1874
- nextToken?: string;
1875
- }
1876
- export interface KnowledgeBaseSummary {
1877
- knowledgeBaseId: string | undefined;
1878
- name: string | undefined;
1879
- description?: string;
1880
- status: KnowledgeBaseStatus | undefined;
1881
- updatedAt: Date | undefined;
1882
- }
1883
- export interface ListKnowledgeBasesResponse {
1884
- knowledgeBaseSummaries: KnowledgeBaseSummary[] | undefined;
1885
- nextToken?: string;
1886
- }
1887
- export interface UpdateAgentKnowledgeBaseRequest {
1888
- agentId: string | undefined;
1889
- agentVersion: string | undefined;
1890
- knowledgeBaseId: string | undefined;
1891
- description?: string;
1892
- knowledgeBaseState?: KnowledgeBaseState;
1893
- }
1894
- export interface UpdateAgentKnowledgeBaseResponse {
1895
- agentKnowledgeBase: AgentKnowledgeBase | undefined;
1896
- }
1897
- export interface UpdateKnowledgeBaseRequest {
1898
- knowledgeBaseId: string | undefined;
1899
- name: string | undefined;
1900
- description?: string;
1901
- roleArn: string | undefined;
1902
- knowledgeBaseConfiguration: KnowledgeBaseConfiguration | undefined;
1903
- storageConfiguration: StorageConfiguration | undefined;
1904
- }
1905
- export interface UpdateKnowledgeBaseResponse {
1906
- knowledgeBase: KnowledgeBase | undefined;
1907
- }
1908
- export interface PromptMetadataEntry {
1909
- key: string | undefined;
1910
- value: string | undefined;
1911
- }
1912
- export interface PromptVariant {
1913
- name: string | undefined;
1914
- templateType: PromptTemplateType | undefined;
1915
- templateConfiguration: PromptTemplateConfiguration | undefined;
1916
- modelId?: string;
1917
- inferenceConfiguration?: PromptInferenceConfiguration;
1918
- metadata?: PromptMetadataEntry[];
1919
- additionalModelRequestFields?: __DocumentType;
1920
- }
1921
- export interface CreatePromptRequest {
1922
- name: string | undefined;
1923
- description?: string;
1924
- customerEncryptionKeyArn?: string;
1925
- defaultVariant?: string;
1926
- variants?: PromptVariant[];
1927
- clientToken?: string;
1928
- tags?: Record<string, string>;
1929
- }
1930
- export interface CreatePromptResponse {
1931
- name: string | undefined;
1932
- description?: string;
1933
- customerEncryptionKeyArn?: string;
1934
- defaultVariant?: string;
1935
- variants?: PromptVariant[];
1936
- id: string | undefined;
1937
- arn: string | undefined;
1938
- version: string | undefined;
1939
- createdAt: Date | undefined;
1940
- updatedAt: Date | undefined;
1941
- }
1942
- export interface CreatePromptVersionRequest {
1943
- promptIdentifier: string | undefined;
1944
- description?: string;
1945
- clientToken?: string;
1946
- tags?: Record<string, string>;
1947
- }
1948
- export interface CreatePromptVersionResponse {
1949
- name: string | undefined;
1950
- description?: string;
1951
- customerEncryptionKeyArn?: string;
1952
- defaultVariant?: string;
1953
- variants?: PromptVariant[];
1954
- id: string | undefined;
1955
- arn: string | undefined;
1956
- version: string | undefined;
1957
- createdAt: Date | undefined;
1958
- updatedAt: Date | undefined;
1959
- }
1960
- export interface DeletePromptRequest {
1961
- promptIdentifier: string | undefined;
1962
- promptVersion?: string;
1963
- }
1964
- export interface DeletePromptResponse {
1965
- id: string | undefined;
1966
- version?: string;
1967
- }
1968
- export interface GetPromptRequest {
1969
- promptIdentifier: string | undefined;
1970
- promptVersion?: string;
1971
- }
1972
- export interface GetPromptResponse {
1973
- name: string | undefined;
1974
- description?: string;
1975
- customerEncryptionKeyArn?: string;
1976
- defaultVariant?: string;
1977
- variants?: PromptVariant[];
1978
- id: string | undefined;
1979
- arn: string | undefined;
1980
- version: string | undefined;
1981
- createdAt: Date | undefined;
1982
- updatedAt: Date | undefined;
1983
- }
1984
- export interface ListPromptsRequest {
1985
- promptIdentifier?: string;
1986
- maxResults?: number;
1987
- nextToken?: string;
1988
- }
1989
- export interface PromptSummary {
1990
- name: string | undefined;
1991
- description?: string;
1992
- id: string | undefined;
1993
- arn: string | undefined;
1994
- version: string | undefined;
1995
- createdAt: Date | undefined;
1996
- updatedAt: Date | undefined;
1997
- }
1998
- export interface ListPromptsResponse {
1999
- promptSummaries: PromptSummary[] | undefined;
2000
- nextToken?: string;
2001
- }
2002
- export interface UpdatePromptRequest {
2003
- name: string | undefined;
2004
- description?: string;
2005
- customerEncryptionKeyArn?: string;
2006
- defaultVariant?: string;
2007
- variants?: PromptVariant[];
2008
- promptIdentifier: string | undefined;
2009
- }
2010
- export interface UpdatePromptResponse {
2011
- name: string | undefined;
2012
- description?: string;
2013
- customerEncryptionKeyArn?: string;
2014
- defaultVariant?: string;
2015
- variants?: PromptVariant[];
2016
- id: string | undefined;
2017
- arn: string | undefined;
2018
- version: string | undefined;
2019
- createdAt: Date | undefined;
2020
- updatedAt: Date | undefined;
2021
- }
2022
- export interface ListTagsForResourceRequest {
2023
- resourceArn: string | undefined;
2024
- }
2025
- export interface ListTagsForResourceResponse {
2026
- tags?: Record<string, string>;
2027
- }
2028
- export interface TagResourceRequest {
2029
- resourceArn: string | undefined;
2030
- tags: Record<string, string> | undefined;
2031
- }
2032
- export interface TagResourceResponse {}
2033
- export interface UntagResourceRequest {
2034
- resourceArn: string | undefined;
2035
- tagKeys: string[] | undefined;
2036
- }
2037
- export interface UntagResourceResponse {}
2038
- export interface DeleteAgentVersionRequest {
2039
- agentId: string | undefined;
2040
- agentVersion: string | undefined;
2041
- skipResourceInUseCheck?: boolean;
2042
- }
2043
- export interface DeleteAgentVersionResponse {
2044
- agentId: string | undefined;
2045
- agentVersion: string | undefined;
2046
- agentStatus: AgentStatus | undefined;
2047
- }
2048
- export interface GetAgentVersionRequest {
2049
- agentId: string | undefined;
2050
- agentVersion: string | undefined;
2051
- }
2052
- export interface GetAgentVersionResponse {
2053
- agentVersion: AgentVersion | undefined;
2054
- }
2055
- export interface ListAgentVersionsRequest {
2056
- agentId: string | undefined;
2057
- maxResults?: number;
2058
- nextToken?: string;
2059
- }
2060
- export interface ListAgentVersionsResponse {
2061
- agentVersionSummaries: AgentVersionSummary[] | undefined;
2062
- nextToken?: string;
2063
- }
2064
2950
  export declare const APISchemaFilterSensitiveLog: (obj: APISchema) => any;
2065
2951
  export declare const CreateAgentActionGroupRequestFilterSensitiveLog: (
2066
2952
  obj: CreateAgentActionGroupRequest
@@ -2164,6 +3050,18 @@ export declare const FlowConditionFilterSensitiveLog: (
2164
3050
  export declare const ConditionFlowNodeConfigurationFilterSensitiveLog: (
2165
3051
  obj: ConditionFlowNodeConfiguration
2166
3052
  ) => any;
3053
+ export declare const ContentBlockFilterSensitiveLog: (obj: ContentBlock) => any;
3054
+ export declare const MessageFilterSensitiveLog: (obj: Message) => any;
3055
+ export declare const SystemContentBlockFilterSensitiveLog: (
3056
+ obj: SystemContentBlock
3057
+ ) => any;
3058
+ export declare const ToolChoiceFilterSensitiveLog: (obj: ToolChoice) => any;
3059
+ export declare const ToolConfigurationFilterSensitiveLog: (
3060
+ obj: ToolConfiguration
3061
+ ) => any;
3062
+ export declare const ChatPromptTemplateConfigurationFilterSensitiveLog: (
3063
+ obj: ChatPromptTemplateConfiguration
3064
+ ) => any;
2167
3065
  export declare const TextPromptTemplateConfigurationFilterSensitiveLog: (
2168
3066
  obj: TextPromptTemplateConfiguration
2169
3067
  ) => any;
@@ -2201,6 +3099,15 @@ export declare const CreateFlowVersionResponseFilterSensitiveLog: (
2201
3099
  export declare const GetFlowVersionResponseFilterSensitiveLog: (
2202
3100
  obj: GetFlowVersionResponse
2203
3101
  ) => any;
3102
+ export declare const DuplicateConditionExpressionFlowValidationDetailsFilterSensitiveLog: (
3103
+ obj: DuplicateConditionExpressionFlowValidationDetails
3104
+ ) => any;
3105
+ export declare const FlowValidationDetailsFilterSensitiveLog: (
3106
+ obj: FlowValidationDetails
3107
+ ) => any;
3108
+ export declare const FlowValidationFilterSensitiveLog: (
3109
+ obj: FlowValidation
3110
+ ) => any;
2204
3111
  export declare const GetFlowResponseFilterSensitiveLog: (
2205
3112
  obj: GetFlowResponse
2206
3113
  ) => any;
@@ -2210,30 +3117,3 @@ export declare const UpdateFlowRequestFilterSensitiveLog: (
2210
3117
  export declare const UpdateFlowResponseFilterSensitiveLog: (
2211
3118
  obj: UpdateFlowResponse
2212
3119
  ) => any;
2213
- export declare const PromptMetadataEntryFilterSensitiveLog: (
2214
- obj: PromptMetadataEntry
2215
- ) => any;
2216
- export declare const PromptVariantFilterSensitiveLog: (
2217
- obj: PromptVariant
2218
- ) => any;
2219
- export declare const CreatePromptRequestFilterSensitiveLog: (
2220
- obj: CreatePromptRequest
2221
- ) => any;
2222
- export declare const CreatePromptResponseFilterSensitiveLog: (
2223
- obj: CreatePromptResponse
2224
- ) => any;
2225
- export declare const CreatePromptVersionResponseFilterSensitiveLog: (
2226
- obj: CreatePromptVersionResponse
2227
- ) => any;
2228
- export declare const GetPromptResponseFilterSensitiveLog: (
2229
- obj: GetPromptResponse
2230
- ) => any;
2231
- export declare const UpdatePromptRequestFilterSensitiveLog: (
2232
- obj: UpdatePromptRequest
2233
- ) => any;
2234
- export declare const UpdatePromptResponseFilterSensitiveLog: (
2235
- obj: UpdatePromptResponse
2236
- ) => any;
2237
- export declare const GetAgentVersionResponseFilterSensitiveLog: (
2238
- obj: GetAgentVersionResponse
2239
- ) => any;