@aws-sdk/client-bedrock 3.932.0 → 3.933.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.
- package/dist-cjs/index.js +31 -2
- package/dist-es/models/models_0.js +1 -4
- package/dist-es/models/models_1.js +4 -0
- package/dist-es/schemas/schemas_0.js +29 -1
- package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +51 -30
- package/dist-types/models/models_1.d.ts +32 -4
- package/dist-types/schemas/schemas_0.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +24 -10
- package/dist-types/ts3.4/models/models_1.d.ts +12 -2
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +3 -0
- package/package.json +4 -4
package/dist-cjs/index.js
CHANGED
|
@@ -272,6 +272,7 @@ const AutomatedReasoningPolicyBuildWorkflowStatus = {
|
|
|
272
272
|
};
|
|
273
273
|
const AutomatedReasoningPolicyBuildResultAssetType = {
|
|
274
274
|
BUILD_LOG: "BUILD_LOG",
|
|
275
|
+
GENERATED_TEST_CASES: "GENERATED_TEST_CASES",
|
|
275
276
|
POLICY_DEFINITION: "POLICY_DEFINITION",
|
|
276
277
|
QUALITY_REPORT: "QUALITY_REPORT",
|
|
277
278
|
};
|
|
@@ -479,11 +480,11 @@ const GuardrailTopicAction$1 = {
|
|
|
479
480
|
const GuardrailTopicType = {
|
|
480
481
|
DENY: "DENY",
|
|
481
482
|
};
|
|
483
|
+
|
|
482
484
|
const GuardrailWordAction$1 = {
|
|
483
485
|
BLOCK: "BLOCK",
|
|
484
486
|
NONE: "NONE",
|
|
485
487
|
};
|
|
486
|
-
|
|
487
488
|
const GuardrailManagedWordsType = {
|
|
488
489
|
PROFANITY: "PROFANITY",
|
|
489
490
|
};
|
|
@@ -697,6 +698,9 @@ const _ARPDVM = "AutomatedReasoningPolicyDeleteVariableMutation";
|
|
|
697
698
|
const _ARPDVN = "AutomatedReasoningPolicyDefinitionVariableName";
|
|
698
699
|
const _ARPDVNL = "AutomatedReasoningPolicyDefinitionVariableNameList";
|
|
699
700
|
const _ARPDu = "AutomatedReasoningPolicyDefinition";
|
|
701
|
+
const _ARPGTC = "AutomatedReasoningPolicyGeneratedTestCase";
|
|
702
|
+
const _ARPGTCL = "AutomatedReasoningPolicyGeneratedTestCaseList";
|
|
703
|
+
const _ARPGTCu = "AutomatedReasoningPolicyGeneratedTestCases";
|
|
700
704
|
const _ARPICA = "AutomatedReasoningPolicyIngestContentAnnotation";
|
|
701
705
|
const _ARPM = "AutomatedReasoningPolicyMutation";
|
|
702
706
|
const _ARPN = "AutomatedReasoningPolicyName";
|
|
@@ -1422,6 +1426,7 @@ const _gPA = "guardrailProfileArn";
|
|
|
1422
1426
|
const _gPI = "guardrailProfileIdentifier";
|
|
1423
1427
|
const _gPIu = "guardrailProfileId";
|
|
1424
1428
|
const _gT = "greaterThan";
|
|
1429
|
+
const _gTC = "generatedTestCases";
|
|
1425
1430
|
const _gTOE = "greaterThanOrEquals";
|
|
1426
1431
|
const _gV = "guardrailVersion";
|
|
1427
1432
|
const _h = "human";
|
|
@@ -2241,6 +2246,22 @@ var AutomatedReasoningPolicyDisjointRuleSet = [
|
|
|
2241
2246
|
[_vari, _ru],
|
|
2242
2247
|
[[() => AutomatedReasoningPolicyDefinitionVariableNameList, 0], 64 | 0],
|
|
2243
2248
|
];
|
|
2249
|
+
var AutomatedReasoningPolicyGeneratedTestCase = [
|
|
2250
|
+
3,
|
|
2251
|
+
n0,
|
|
2252
|
+
_ARPGTC,
|
|
2253
|
+
0,
|
|
2254
|
+
[_qC, _gC, _eAFR],
|
|
2255
|
+
[[() => AutomatedReasoningPolicyTestQueryContent, 0], [() => AutomatedReasoningPolicyTestGuardContent, 0], 0],
|
|
2256
|
+
];
|
|
2257
|
+
var AutomatedReasoningPolicyGeneratedTestCases = [
|
|
2258
|
+
3,
|
|
2259
|
+
n0,
|
|
2260
|
+
_ARPGTCu,
|
|
2261
|
+
0,
|
|
2262
|
+
[_gTC],
|
|
2263
|
+
[[() => AutomatedReasoningPolicyGeneratedTestCaseList, 0]],
|
|
2264
|
+
];
|
|
2244
2265
|
var AutomatedReasoningPolicyIngestContentAnnotation = [
|
|
2245
2266
|
3,
|
|
2246
2267
|
n0,
|
|
@@ -5395,6 +5416,13 @@ var AutomatedReasoningPolicyDisjointRuleSetList = [
|
|
|
5395
5416
|
0,
|
|
5396
5417
|
[() => AutomatedReasoningPolicyDisjointRuleSet, 0],
|
|
5397
5418
|
];
|
|
5419
|
+
var AutomatedReasoningPolicyGeneratedTestCaseList = [
|
|
5420
|
+
1,
|
|
5421
|
+
n0,
|
|
5422
|
+
_ARPGTCL,
|
|
5423
|
+
0,
|
|
5424
|
+
[() => AutomatedReasoningPolicyGeneratedTestCase, 0],
|
|
5425
|
+
];
|
|
5398
5426
|
var AutomatedReasoningPolicySummaries = [
|
|
5399
5427
|
1,
|
|
5400
5428
|
n0,
|
|
@@ -5590,11 +5618,12 @@ var AutomatedReasoningPolicyBuildResultAssets = [
|
|
|
5590
5618
|
n0,
|
|
5591
5619
|
_ARPBRA,
|
|
5592
5620
|
0,
|
|
5593
|
-
[_pD, _qR, _bL],
|
|
5621
|
+
[_pD, _qR, _bL, _gTC],
|
|
5594
5622
|
[
|
|
5595
5623
|
[() => AutomatedReasoningPolicyDefinition, 0],
|
|
5596
5624
|
[() => AutomatedReasoningPolicyDefinitionQualityReport, 0],
|
|
5597
5625
|
[() => AutomatedReasoningPolicyBuildLog, 0],
|
|
5626
|
+
[() => AutomatedReasoningPolicyGeneratedTestCases, 0],
|
|
5598
5627
|
],
|
|
5599
5628
|
];
|
|
5600
5629
|
var AutomatedReasoningPolicyBuildStepContext = [
|
|
@@ -145,6 +145,7 @@ export const AutomatedReasoningPolicyBuildWorkflowStatus = {
|
|
|
145
145
|
};
|
|
146
146
|
export const AutomatedReasoningPolicyBuildResultAssetType = {
|
|
147
147
|
BUILD_LOG: "BUILD_LOG",
|
|
148
|
+
GENERATED_TEST_CASES: "GENERATED_TEST_CASES",
|
|
148
149
|
POLICY_DEFINITION: "POLICY_DEFINITION",
|
|
149
150
|
QUALITY_REPORT: "QUALITY_REPORT",
|
|
150
151
|
};
|
|
@@ -352,7 +353,3 @@ export const GuardrailTopicAction = {
|
|
|
352
353
|
export const GuardrailTopicType = {
|
|
353
354
|
DENY: "DENY",
|
|
354
355
|
};
|
|
355
|
-
export const GuardrailWordAction = {
|
|
356
|
-
BLOCK: "BLOCK",
|
|
357
|
-
NONE: "NONE",
|
|
358
|
-
};
|
|
@@ -91,6 +91,9 @@ const _ARPDVM = "AutomatedReasoningPolicyDeleteVariableMutation";
|
|
|
91
91
|
const _ARPDVN = "AutomatedReasoningPolicyDefinitionVariableName";
|
|
92
92
|
const _ARPDVNL = "AutomatedReasoningPolicyDefinitionVariableNameList";
|
|
93
93
|
const _ARPDu = "AutomatedReasoningPolicyDefinition";
|
|
94
|
+
const _ARPGTC = "AutomatedReasoningPolicyGeneratedTestCase";
|
|
95
|
+
const _ARPGTCL = "AutomatedReasoningPolicyGeneratedTestCaseList";
|
|
96
|
+
const _ARPGTCu = "AutomatedReasoningPolicyGeneratedTestCases";
|
|
94
97
|
const _ARPICA = "AutomatedReasoningPolicyIngestContentAnnotation";
|
|
95
98
|
const _ARPM = "AutomatedReasoningPolicyMutation";
|
|
96
99
|
const _ARPN = "AutomatedReasoningPolicyName";
|
|
@@ -816,6 +819,7 @@ const _gPA = "guardrailProfileArn";
|
|
|
816
819
|
const _gPI = "guardrailProfileIdentifier";
|
|
817
820
|
const _gPIu = "guardrailProfileId";
|
|
818
821
|
const _gT = "greaterThan";
|
|
822
|
+
const _gTC = "generatedTestCases";
|
|
819
823
|
const _gTOE = "greaterThanOrEquals";
|
|
820
824
|
const _gV = "guardrailVersion";
|
|
821
825
|
const _h = "human";
|
|
@@ -1638,6 +1642,22 @@ export var AutomatedReasoningPolicyDisjointRuleSet = [
|
|
|
1638
1642
|
[_vari, _ru],
|
|
1639
1643
|
[[() => AutomatedReasoningPolicyDefinitionVariableNameList, 0], 64 | 0],
|
|
1640
1644
|
];
|
|
1645
|
+
export var AutomatedReasoningPolicyGeneratedTestCase = [
|
|
1646
|
+
3,
|
|
1647
|
+
n0,
|
|
1648
|
+
_ARPGTC,
|
|
1649
|
+
0,
|
|
1650
|
+
[_qC, _gC, _eAFR],
|
|
1651
|
+
[[() => AutomatedReasoningPolicyTestQueryContent, 0], [() => AutomatedReasoningPolicyTestGuardContent, 0], 0],
|
|
1652
|
+
];
|
|
1653
|
+
export var AutomatedReasoningPolicyGeneratedTestCases = [
|
|
1654
|
+
3,
|
|
1655
|
+
n0,
|
|
1656
|
+
_ARPGTCu,
|
|
1657
|
+
0,
|
|
1658
|
+
[_gTC],
|
|
1659
|
+
[[() => AutomatedReasoningPolicyGeneratedTestCaseList, 0]],
|
|
1660
|
+
];
|
|
1641
1661
|
export var AutomatedReasoningPolicyIngestContentAnnotation = [
|
|
1642
1662
|
3,
|
|
1643
1663
|
n0,
|
|
@@ -4797,6 +4817,13 @@ export var AutomatedReasoningPolicyDisjointRuleSetList = [
|
|
|
4797
4817
|
0,
|
|
4798
4818
|
[() => AutomatedReasoningPolicyDisjointRuleSet, 0],
|
|
4799
4819
|
];
|
|
4820
|
+
export var AutomatedReasoningPolicyGeneratedTestCaseList = [
|
|
4821
|
+
1,
|
|
4822
|
+
n0,
|
|
4823
|
+
_ARPGTCL,
|
|
4824
|
+
0,
|
|
4825
|
+
[() => AutomatedReasoningPolicyGeneratedTestCase, 0],
|
|
4826
|
+
];
|
|
4800
4827
|
export var AutomatedReasoningPolicySummaries = [
|
|
4801
4828
|
1,
|
|
4802
4829
|
n0,
|
|
@@ -5009,11 +5036,12 @@ export var AutomatedReasoningPolicyBuildResultAssets = [
|
|
|
5009
5036
|
n0,
|
|
5010
5037
|
_ARPBRA,
|
|
5011
5038
|
0,
|
|
5012
|
-
[_pD, _qR, _bL],
|
|
5039
|
+
[_pD, _qR, _bL, _gTC],
|
|
5013
5040
|
[
|
|
5014
5041
|
[() => AutomatedReasoningPolicyDefinition, 0],
|
|
5015
5042
|
[() => AutomatedReasoningPolicyDefinitionQualityReport, 0],
|
|
5016
5043
|
[() => AutomatedReasoningPolicyBuildLog, 0],
|
|
5044
|
+
[() => AutomatedReasoningPolicyGeneratedTestCases, 0],
|
|
5017
5045
|
],
|
|
5018
5046
|
];
|
|
5019
5047
|
export var AutomatedReasoningPolicyBuildStepContext = [
|
package/dist-types/commands/GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ declare const GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand_base:
|
|
|
39
39
|
* const input = { // GetAutomatedReasoningPolicyBuildWorkflowResultAssetsRequest
|
|
40
40
|
* policyArn: "STRING_VALUE", // required
|
|
41
41
|
* buildWorkflowId: "STRING_VALUE", // required
|
|
42
|
-
* assetType: "BUILD_LOG" || "QUALITY_REPORT" || "POLICY_DEFINITION", // required
|
|
42
|
+
* assetType: "BUILD_LOG" || "QUALITY_REPORT" || "POLICY_DEFINITION" || "GENERATED_TEST_CASES", // required
|
|
43
43
|
* };
|
|
44
44
|
* const command = new GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand(input);
|
|
45
45
|
* const response = await client.send(command);
|
|
@@ -262,6 +262,15 @@ declare const GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand_base:
|
|
|
262
262
|
* // },
|
|
263
263
|
* // ],
|
|
264
264
|
* // },
|
|
265
|
+
* // generatedTestCases: { // AutomatedReasoningPolicyGeneratedTestCases
|
|
266
|
+
* // generatedTestCases: [ // AutomatedReasoningPolicyGeneratedTestCaseList // required
|
|
267
|
+
* // { // AutomatedReasoningPolicyGeneratedTestCase
|
|
268
|
+
* // queryContent: "STRING_VALUE", // required
|
|
269
|
+
* // guardContent: "STRING_VALUE", // required
|
|
270
|
+
* // expectedAggregatedFindingsResult: "VALID" || "INVALID" || "SATISFIABLE" || "IMPOSSIBLE" || "TRANSLATION_AMBIGUOUS" || "TOO_COMPLEX" || "NO_TRANSLATION", // required
|
|
271
|
+
* // },
|
|
272
|
+
* // ],
|
|
273
|
+
* // },
|
|
265
274
|
* // },
|
|
266
275
|
* // };
|
|
267
276
|
*
|
|
@@ -1455,6 +1455,7 @@ export interface GetAutomatedReasoningPolicyBuildWorkflowResponse {
|
|
|
1455
1455
|
*/
|
|
1456
1456
|
export declare const AutomatedReasoningPolicyBuildResultAssetType: {
|
|
1457
1457
|
readonly BUILD_LOG: "BUILD_LOG";
|
|
1458
|
+
readonly GENERATED_TEST_CASES: "GENERATED_TEST_CASES";
|
|
1458
1459
|
readonly POLICY_DEFINITION: "POLICY_DEFINITION";
|
|
1459
1460
|
readonly QUALITY_REPORT: "QUALITY_REPORT";
|
|
1460
1461
|
};
|
|
@@ -1970,6 +1971,38 @@ export interface AutomatedReasoningPolicyBuildLog {
|
|
|
1970
1971
|
*/
|
|
1971
1972
|
entries: AutomatedReasoningPolicyBuildLogEntry[] | undefined;
|
|
1972
1973
|
}
|
|
1974
|
+
/**
|
|
1975
|
+
* <p>Represents a generated test case, consisting of query content, guard content, and expected results.</p>
|
|
1976
|
+
* @public
|
|
1977
|
+
*/
|
|
1978
|
+
export interface AutomatedReasoningPolicyGeneratedTestCase {
|
|
1979
|
+
/**
|
|
1980
|
+
* <p>The input query or prompt that generated the content. This provides context for the validation.</p>
|
|
1981
|
+
* @public
|
|
1982
|
+
*/
|
|
1983
|
+
queryContent: string | undefined;
|
|
1984
|
+
/**
|
|
1985
|
+
* <p>The output content that's validated by the Automated Reasoning policy. This represents the foundation model response that will be checked for accuracy.</p>
|
|
1986
|
+
* @public
|
|
1987
|
+
*/
|
|
1988
|
+
guardContent: string | undefined;
|
|
1989
|
+
/**
|
|
1990
|
+
* <p>The expected results of the generated test case. Possible values include:</p> <ul> <li> <p> <code>VALID</code> - The claims are true. The claims are implied by the premises and the Automated Reasoning policy. Given the Automated Reasoning policy and premises, it is not possible for these claims to be false. In other words, there are no alternative answers that are true that contradict the claims.</p> </li> <li> <p> <code>INVALID</code> - The claims are false. The claims are not implied by the premises and Automated Reasoning policy. Furthermore, there exists different claims that are consistent with the premises and Automated Reasoning policy.</p> </li> <li> <p> <code>SATISFIABLE</code> - The claims can be true or false. It depends on what assumptions are made for the claim to be implied from the premises and Automated Reasoning policy rules. In this situation, different assumptions can make input claims false and alternative claims true.</p> </li> <li> <p> <code>IMPOSSIBLE</code> - Automated Reasoning can’t make a statement about the claims. This can happen if the premises are logically incorrect, or if there is a conflict within the Automated Reasoning policy itself.</p> </li> </ul>
|
|
1991
|
+
* @public
|
|
1992
|
+
*/
|
|
1993
|
+
expectedAggregatedFindingsResult: AutomatedReasoningCheckResult | undefined;
|
|
1994
|
+
}
|
|
1995
|
+
/**
|
|
1996
|
+
* <p>Contains a comprehensive test suite generated by the build workflow, providing validation capabilities for automated reasoning policies.</p>
|
|
1997
|
+
* @public
|
|
1998
|
+
*/
|
|
1999
|
+
export interface AutomatedReasoningPolicyGeneratedTestCases {
|
|
2000
|
+
/**
|
|
2001
|
+
* <p>Represents a collection of generated test cases.</p>
|
|
2002
|
+
* @public
|
|
2003
|
+
*/
|
|
2004
|
+
generatedTestCases: AutomatedReasoningPolicyGeneratedTestCase[] | undefined;
|
|
2005
|
+
}
|
|
1973
2006
|
/**
|
|
1974
2007
|
* <p>Represents a set of rules that operate on completely separate variables, indicating they address different concerns or domains within the policy.</p>
|
|
1975
2008
|
* @public
|
|
@@ -2049,10 +2082,10 @@ export interface AutomatedReasoningPolicyDefinitionQualityReport {
|
|
|
2049
2082
|
disjointRuleSets: AutomatedReasoningPolicyDisjointRuleSet[] | undefined;
|
|
2050
2083
|
}
|
|
2051
2084
|
/**
|
|
2052
|
-
* <p>Contains the various assets generated during a policy build workflow, including logs, quality reports, and the final policy definition.</p>
|
|
2085
|
+
* <p>Contains the various assets generated during a policy build workflow, including logs, quality reports, test cases, and the final policy definition.</p>
|
|
2053
2086
|
* @public
|
|
2054
2087
|
*/
|
|
2055
|
-
export type AutomatedReasoningPolicyBuildResultAssets = AutomatedReasoningPolicyBuildResultAssets.BuildLogMember | AutomatedReasoningPolicyBuildResultAssets.PolicyDefinitionMember | AutomatedReasoningPolicyBuildResultAssets.QualityReportMember | AutomatedReasoningPolicyBuildResultAssets.$UnknownMember;
|
|
2088
|
+
export type AutomatedReasoningPolicyBuildResultAssets = AutomatedReasoningPolicyBuildResultAssets.BuildLogMember | AutomatedReasoningPolicyBuildResultAssets.GeneratedTestCasesMember | AutomatedReasoningPolicyBuildResultAssets.PolicyDefinitionMember | AutomatedReasoningPolicyBuildResultAssets.QualityReportMember | AutomatedReasoningPolicyBuildResultAssets.$UnknownMember;
|
|
2056
2089
|
/**
|
|
2057
2090
|
* @public
|
|
2058
2091
|
*/
|
|
@@ -2065,6 +2098,7 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
|
|
|
2065
2098
|
policyDefinition: AutomatedReasoningPolicyDefinition;
|
|
2066
2099
|
qualityReport?: never;
|
|
2067
2100
|
buildLog?: never;
|
|
2101
|
+
generatedTestCases?: never;
|
|
2068
2102
|
$unknown?: never;
|
|
2069
2103
|
}
|
|
2070
2104
|
/**
|
|
@@ -2075,6 +2109,7 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
|
|
|
2075
2109
|
policyDefinition?: never;
|
|
2076
2110
|
qualityReport: AutomatedReasoningPolicyDefinitionQualityReport;
|
|
2077
2111
|
buildLog?: never;
|
|
2112
|
+
generatedTestCases?: never;
|
|
2078
2113
|
$unknown?: never;
|
|
2079
2114
|
}
|
|
2080
2115
|
/**
|
|
@@ -2085,6 +2120,18 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
|
|
|
2085
2120
|
policyDefinition?: never;
|
|
2086
2121
|
qualityReport?: never;
|
|
2087
2122
|
buildLog: AutomatedReasoningPolicyBuildLog;
|
|
2123
|
+
generatedTestCases?: never;
|
|
2124
|
+
$unknown?: never;
|
|
2125
|
+
}
|
|
2126
|
+
/**
|
|
2127
|
+
* <p>A comprehensive test suite generated by the build workflow, providing validation capabilities for automated reasoning policies.</p>
|
|
2128
|
+
* @public
|
|
2129
|
+
*/
|
|
2130
|
+
interface GeneratedTestCasesMember {
|
|
2131
|
+
policyDefinition?: never;
|
|
2132
|
+
qualityReport?: never;
|
|
2133
|
+
buildLog?: never;
|
|
2134
|
+
generatedTestCases: AutomatedReasoningPolicyGeneratedTestCases;
|
|
2088
2135
|
$unknown?: never;
|
|
2089
2136
|
}
|
|
2090
2137
|
/**
|
|
@@ -2094,6 +2141,7 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
|
|
|
2094
2141
|
policyDefinition?: never;
|
|
2095
2142
|
qualityReport?: never;
|
|
2096
2143
|
buildLog?: never;
|
|
2144
|
+
generatedTestCases?: never;
|
|
2097
2145
|
$unknown: [string, any];
|
|
2098
2146
|
}
|
|
2099
2147
|
/**
|
|
@@ -2104,6 +2152,7 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
|
|
|
2104
2152
|
policyDefinition: (value: AutomatedReasoningPolicyDefinition) => T;
|
|
2105
2153
|
qualityReport: (value: AutomatedReasoningPolicyDefinitionQualityReport) => T;
|
|
2106
2154
|
buildLog: (value: AutomatedReasoningPolicyBuildLog) => T;
|
|
2155
|
+
generatedTestCases: (value: AutomatedReasoningPolicyGeneratedTestCases) => T;
|
|
2107
2156
|
_: (name: string, value: any) => T;
|
|
2108
2157
|
}
|
|
2109
2158
|
}
|
|
@@ -6414,31 +6463,3 @@ export interface GuardrailTopicConfig {
|
|
|
6414
6463
|
*/
|
|
6415
6464
|
outputEnabled?: boolean | undefined;
|
|
6416
6465
|
}
|
|
6417
|
-
/**
|
|
6418
|
-
* <p>Contains details about topics that the guardrail should identify and deny.</p>
|
|
6419
|
-
* @public
|
|
6420
|
-
*/
|
|
6421
|
-
export interface GuardrailTopicPolicyConfig {
|
|
6422
|
-
/**
|
|
6423
|
-
* <p>A list of policies related to topics that the guardrail should deny.</p>
|
|
6424
|
-
* @public
|
|
6425
|
-
*/
|
|
6426
|
-
topicsConfig: GuardrailTopicConfig[] | undefined;
|
|
6427
|
-
/**
|
|
6428
|
-
* <p>The tier that your guardrail uses for denied topic filters.</p>
|
|
6429
|
-
* @public
|
|
6430
|
-
*/
|
|
6431
|
-
tierConfig?: GuardrailTopicsTierConfig | undefined;
|
|
6432
|
-
}
|
|
6433
|
-
/**
|
|
6434
|
-
* @public
|
|
6435
|
-
* @enum
|
|
6436
|
-
*/
|
|
6437
|
-
export declare const GuardrailWordAction: {
|
|
6438
|
-
readonly BLOCK: "BLOCK";
|
|
6439
|
-
readonly NONE: "NONE";
|
|
6440
|
-
};
|
|
6441
|
-
/**
|
|
6442
|
-
* @public
|
|
6443
|
-
*/
|
|
6444
|
-
export type GuardrailWordAction = (typeof GuardrailWordAction)[keyof typeof GuardrailWordAction];
|
|
@@ -1,4 +1,32 @@
|
|
|
1
|
-
import { AgreementAvailability, ApplicationType, CustomizationConfig, CustomizationType, EvaluationConfig, EvaluationJobStatus, EvaluationJobType, EvaluationModelConfig, EvaluationOutputDataConfig, EvaluationPrecomputedRagSourceConfig, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GenerationConfiguration, GuardrailAutomatedReasoningPolicyConfig, GuardrailContentFilterAction, GuardrailContentFiltersTierName, GuardrailContentFilterType, GuardrailContentPolicyConfig, GuardrailContextualGroundingAction, GuardrailContextualGroundingFilterType, GuardrailContextualGroundingPolicyConfig, GuardrailCrossRegionConfig, GuardrailFilterStrength, GuardrailModality, GuardrailPiiEntityType, GuardrailSensitiveInformationAction, GuardrailSensitiveInformationPolicyConfig, GuardrailTopicAction,
|
|
1
|
+
import { AgreementAvailability, ApplicationType, CustomizationConfig, CustomizationType, EvaluationConfig, EvaluationJobStatus, EvaluationJobType, EvaluationModelConfig, EvaluationOutputDataConfig, EvaluationPrecomputedRagSourceConfig, ExternalSourcesRetrieveAndGenerateConfiguration, FilterAttribute, GenerationConfiguration, GuardrailAutomatedReasoningPolicyConfig, GuardrailContentFilterAction, GuardrailContentFiltersTierName, GuardrailContentFilterType, GuardrailContentPolicyConfig, GuardrailContextualGroundingAction, GuardrailContextualGroundingFilterType, GuardrailContextualGroundingPolicyConfig, GuardrailCrossRegionConfig, GuardrailFilterStrength, GuardrailModality, GuardrailPiiEntityType, GuardrailSensitiveInformationAction, GuardrailSensitiveInformationPolicyConfig, GuardrailTopicAction, GuardrailTopicConfig, GuardrailTopicsTierConfig, GuardrailTopicsTierName, GuardrailTopicType, ImplicitFilterConfiguration, ModelDataSource, OrchestrationConfiguration, OutputDataConfig, RetrieveAndGenerateType, SearchType, SortJobsBy, SortModelsBy, SortOrder, Tag, TrainingDataConfig, TrainingMetrics, ValidationDataConfig, ValidatorMetric, VectorSearchRerankingConfiguration, VpcConfig } from "./models_0";
|
|
2
|
+
/**
|
|
3
|
+
* <p>Contains details about topics that the guardrail should identify and deny.</p>
|
|
4
|
+
* @public
|
|
5
|
+
*/
|
|
6
|
+
export interface GuardrailTopicPolicyConfig {
|
|
7
|
+
/**
|
|
8
|
+
* <p>A list of policies related to topics that the guardrail should deny.</p>
|
|
9
|
+
* @public
|
|
10
|
+
*/
|
|
11
|
+
topicsConfig: GuardrailTopicConfig[] | undefined;
|
|
12
|
+
/**
|
|
13
|
+
* <p>The tier that your guardrail uses for denied topic filters.</p>
|
|
14
|
+
* @public
|
|
15
|
+
*/
|
|
16
|
+
tierConfig?: GuardrailTopicsTierConfig | undefined;
|
|
17
|
+
}
|
|
18
|
+
/**
|
|
19
|
+
* @public
|
|
20
|
+
* @enum
|
|
21
|
+
*/
|
|
22
|
+
export declare const GuardrailWordAction: {
|
|
23
|
+
readonly BLOCK: "BLOCK";
|
|
24
|
+
readonly NONE: "NONE";
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* @public
|
|
28
|
+
*/
|
|
29
|
+
export type GuardrailWordAction = (typeof GuardrailWordAction)[keyof typeof GuardrailWordAction];
|
|
2
30
|
/**
|
|
3
31
|
* @public
|
|
4
32
|
* @enum
|
|
@@ -2276,7 +2304,7 @@ export interface GetModelInvocationJobResponse {
|
|
|
2276
2304
|
*/
|
|
2277
2305
|
roleArn: string | undefined;
|
|
2278
2306
|
/**
|
|
2279
|
-
* <p>The status of the batch inference job.</p> <p>The following statuses are possible:</p> <ul> <li> <p>Submitted – This job has been submitted to a queue for validation.</p> </li> <li> <p>Validating – This job is being validated for the requirements described in <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data.html">Format and upload your batch inference data</a>. The criteria include the following:</p> <ul> <li> <p>Your IAM service role has access to the Amazon S3 buckets containing your files.</p> </li> <li> <p>Your files are .jsonl files and each individual record is a JSON object in the correct format. Note that validation doesn't check if the <code>modelInput</code> value matches the request body for the model.</p> </li> <li> <p>Your files fulfill the requirements for file size and number of records. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html">Quotas for Amazon Bedrock</a>.</p> </li> </ul> </li> <li> <p>Scheduled – This job has been validated and is now in a queue. The job will automatically start when it reaches its turn.</p> </li> <li> <p>Expired – This job timed out because it was scheduled but didn't begin before the set timeout duration. Submit a new job request.</p> </li> <li> <p>InProgress – This job has begun. You can start viewing the results in the output S3 location.</p> </li> <li> <p>Completed – This job has successfully completed. View the output files in the output S3 location.</p> </li> <li> <p>PartiallyCompleted – This job has partially completed. Not all of your records could be processed in time. View the output files in the output S3 location.</p> </li> <li> <p>Failed – This job has failed. Check the failure message for any further details. For further assistance, reach out to the <a href="https://console.aws.amazon.com/support/home/">Amazon Web
|
|
2307
|
+
* <p>The status of the batch inference job.</p> <p>The following statuses are possible:</p> <ul> <li> <p>Submitted – This job has been submitted to a queue for validation.</p> </li> <li> <p>Validating – This job is being validated for the requirements described in <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data.html">Format and upload your batch inference data</a>. The criteria include the following:</p> <ul> <li> <p>Your IAM service role has access to the Amazon S3 buckets containing your files.</p> </li> <li> <p>Your files are .jsonl files and each individual record is a JSON object in the correct format. Note that validation doesn't check if the <code>modelInput</code> value matches the request body for the model.</p> </li> <li> <p>Your files fulfill the requirements for file size and number of records. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html">Quotas for Amazon Bedrock</a>.</p> </li> </ul> </li> <li> <p>Scheduled – This job has been validated and is now in a queue. The job will automatically start when it reaches its turn.</p> </li> <li> <p>Expired – This job timed out because it was scheduled but didn't begin before the set timeout duration. Submit a new job request.</p> </li> <li> <p>InProgress – This job has begun. You can start viewing the results in the output S3 location.</p> </li> <li> <p>Completed – This job has successfully completed. View the output files in the output S3 location.</p> </li> <li> <p>PartiallyCompleted – This job has partially completed. Not all of your records could be processed in time. View the output files in the output S3 location.</p> </li> <li> <p>Failed – This job has failed. Check the failure message for any further details. For further assistance, reach out to the <a href="https://console.aws.amazon.com/support/home/">Amazon Web Services Support Center</a>.</p> </li> <li> <p>Stopped – This job was stopped by a user.</p> </li> <li> <p>Stopping – This job is being stopped by a user.</p> </li> </ul>
|
|
2280
2308
|
* @public
|
|
2281
2309
|
*/
|
|
2282
2310
|
status?: ModelInvocationJobStatus | undefined;
|
|
@@ -2341,7 +2369,7 @@ export interface ListModelInvocationJobsRequest {
|
|
|
2341
2369
|
*/
|
|
2342
2370
|
submitTimeBefore?: Date | undefined;
|
|
2343
2371
|
/**
|
|
2344
|
-
* <p>Specify a status to filter for batch inference jobs whose statuses match the string you specify.</p> <p>The following statuses are possible:</p> <ul> <li> <p>Submitted – This job has been submitted to a queue for validation.</p> </li> <li> <p>Validating – This job is being validated for the requirements described in <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data.html">Format and upload your batch inference data</a>. The criteria include the following:</p> <ul> <li> <p>Your IAM service role has access to the Amazon S3 buckets containing your files.</p> </li> <li> <p>Your files are .jsonl files and each individual record is a JSON object in the correct format. Note that validation doesn't check if the <code>modelInput</code> value matches the request body for the model.</p> </li> <li> <p>Your files fulfill the requirements for file size and number of records. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html">Quotas for Amazon Bedrock</a>.</p> </li> </ul> </li> <li> <p>Scheduled – This job has been validated and is now in a queue. The job will automatically start when it reaches its turn.</p> </li> <li> <p>Expired – This job timed out because it was scheduled but didn't begin before the set timeout duration. Submit a new job request.</p> </li> <li> <p>InProgress – This job has begun. You can start viewing the results in the output S3 location.</p> </li> <li> <p>Completed – This job has successfully completed. View the output files in the output S3 location.</p> </li> <li> <p>PartiallyCompleted – This job has partially completed. Not all of your records could be processed in time. View the output files in the output S3 location.</p> </li> <li> <p>Failed – This job has failed. Check the failure message for any further details. For further assistance, reach out to the <a href="https://console.aws.amazon.com/support/home/">Amazon Web
|
|
2372
|
+
* <p>Specify a status to filter for batch inference jobs whose statuses match the string you specify.</p> <p>The following statuses are possible:</p> <ul> <li> <p>Submitted – This job has been submitted to a queue for validation.</p> </li> <li> <p>Validating – This job is being validated for the requirements described in <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data.html">Format and upload your batch inference data</a>. The criteria include the following:</p> <ul> <li> <p>Your IAM service role has access to the Amazon S3 buckets containing your files.</p> </li> <li> <p>Your files are .jsonl files and each individual record is a JSON object in the correct format. Note that validation doesn't check if the <code>modelInput</code> value matches the request body for the model.</p> </li> <li> <p>Your files fulfill the requirements for file size and number of records. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html">Quotas for Amazon Bedrock</a>.</p> </li> </ul> </li> <li> <p>Scheduled – This job has been validated and is now in a queue. The job will automatically start when it reaches its turn.</p> </li> <li> <p>Expired – This job timed out because it was scheduled but didn't begin before the set timeout duration. Submit a new job request.</p> </li> <li> <p>InProgress – This job has begun. You can start viewing the results in the output S3 location.</p> </li> <li> <p>Completed – This job has successfully completed. View the output files in the output S3 location.</p> </li> <li> <p>PartiallyCompleted – This job has partially completed. Not all of your records could be processed in time. View the output files in the output S3 location.</p> </li> <li> <p>Failed – This job has failed. Check the failure message for any further details. For further assistance, reach out to the <a href="https://console.aws.amazon.com/support/home/">Amazon Web Services Support Center</a>.</p> </li> <li> <p>Stopped – This job was stopped by a user.</p> </li> <li> <p>Stopping – This job is being stopped by a user.</p> </li> </ul>
|
|
2345
2373
|
* @public
|
|
2346
2374
|
*/
|
|
2347
2375
|
statusEquals?: ModelInvocationJobStatus | undefined;
|
|
@@ -2402,7 +2430,7 @@ export interface ModelInvocationJobSummary {
|
|
|
2402
2430
|
*/
|
|
2403
2431
|
roleArn: string | undefined;
|
|
2404
2432
|
/**
|
|
2405
|
-
* <p>The status of the batch inference job.</p> <p>The following statuses are possible:</p> <ul> <li> <p>Submitted – This job has been submitted to a queue for validation.</p> </li> <li> <p>Validating – This job is being validated for the requirements described in <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data.html">Format and upload your batch inference data</a>. The criteria include the following:</p> <ul> <li> <p>Your IAM service role has access to the Amazon S3 buckets containing your files.</p> </li> <li> <p>Your files are .jsonl files and each individual record is a JSON object in the correct format. Note that validation doesn't check if the <code>modelInput</code> value matches the request body for the model.</p> </li> <li> <p>Your files fulfill the requirements for file size and number of records. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html">Quotas for Amazon Bedrock</a>.</p> </li> </ul> </li> <li> <p>Scheduled – This job has been validated and is now in a queue. The job will automatically start when it reaches its turn.</p> </li> <li> <p>Expired – This job timed out because it was scheduled but didn't begin before the set timeout duration. Submit a new job request.</p> </li> <li> <p>InProgress – This job has begun. You can start viewing the results in the output S3 location.</p> </li> <li> <p>Completed – This job has successfully completed. View the output files in the output S3 location.</p> </li> <li> <p>PartiallyCompleted – This job has partially completed. Not all of your records could be processed in time. View the output files in the output S3 location.</p> </li> <li> <p>Failed – This job has failed. Check the failure message for any further details. For further assistance, reach out to the <a href="https://console.aws.amazon.com/support/home/">Amazon Web
|
|
2433
|
+
* <p>The status of the batch inference job.</p> <p>The following statuses are possible:</p> <ul> <li> <p>Submitted – This job has been submitted to a queue for validation.</p> </li> <li> <p>Validating – This job is being validated for the requirements described in <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-data.html">Format and upload your batch inference data</a>. The criteria include the following:</p> <ul> <li> <p>Your IAM service role has access to the Amazon S3 buckets containing your files.</p> </li> <li> <p>Your files are .jsonl files and each individual record is a JSON object in the correct format. Note that validation doesn't check if the <code>modelInput</code> value matches the request body for the model.</p> </li> <li> <p>Your files fulfill the requirements for file size and number of records. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html">Quotas for Amazon Bedrock</a>.</p> </li> </ul> </li> <li> <p>Scheduled – This job has been validated and is now in a queue. The job will automatically start when it reaches its turn.</p> </li> <li> <p>Expired – This job timed out because it was scheduled but didn't begin before the set timeout duration. Submit a new job request.</p> </li> <li> <p>InProgress – This job has begun. You can start viewing the results in the output S3 location.</p> </li> <li> <p>Completed – This job has successfully completed. View the output files in the output S3 location.</p> </li> <li> <p>PartiallyCompleted – This job has partially completed. Not all of your records could be processed in time. View the output files in the output S3 location.</p> </li> <li> <p>Failed – This job has failed. Check the failure message for any further details. For further assistance, reach out to the <a href="https://console.aws.amazon.com/support/home/">Amazon Web Services Support Center</a>.</p> </li> <li> <p>Stopped – This job was stopped by a user.</p> </li> <li> <p>Stopping – This job is being stopped by a user.</p> </li> </ul>
|
|
2406
2434
|
* @public
|
|
2407
2435
|
*/
|
|
2408
2436
|
status?: ModelInvocationJobStatus | undefined;
|
|
@@ -98,6 +98,8 @@ export declare var AutomatedReasoningPolicyDeleteTypeValue: StaticStructureSchem
|
|
|
98
98
|
export declare var AutomatedReasoningPolicyDeleteVariableAnnotation: StaticStructureSchema;
|
|
99
99
|
export declare var AutomatedReasoningPolicyDeleteVariableMutation: StaticStructureSchema;
|
|
100
100
|
export declare var AutomatedReasoningPolicyDisjointRuleSet: StaticStructureSchema;
|
|
101
|
+
export declare var AutomatedReasoningPolicyGeneratedTestCase: StaticStructureSchema;
|
|
102
|
+
export declare var AutomatedReasoningPolicyGeneratedTestCases: StaticStructureSchema;
|
|
101
103
|
export declare var AutomatedReasoningPolicyIngestContentAnnotation: StaticStructureSchema;
|
|
102
104
|
export declare var AutomatedReasoningPolicyPlanning: StaticStructureSchema;
|
|
103
105
|
export declare var AutomatedReasoningPolicyScenario: StaticStructureSchema;
|
|
@@ -467,6 +469,7 @@ export declare var AutomatedReasoningPolicyDefinitionVariableList: StaticListSch
|
|
|
467
469
|
export declare var AutomatedReasoningPolicyDefinitionVariableNameList: StaticListSchema;
|
|
468
470
|
export declare var AutomatedReasoningPolicyDisjointedRuleIdList: number;
|
|
469
471
|
export declare var AutomatedReasoningPolicyDisjointRuleSetList: StaticListSchema;
|
|
472
|
+
export declare var AutomatedReasoningPolicyGeneratedTestCaseList: StaticListSchema;
|
|
470
473
|
export declare var AutomatedReasoningPolicySummaries: StaticListSchema;
|
|
471
474
|
export declare var AutomatedReasoningPolicyTestCaseIdList: number;
|
|
472
475
|
export declare var AutomatedReasoningPolicyTestCaseList: StaticListSchema;
|
|
@@ -634,6 +634,7 @@ export interface GetAutomatedReasoningPolicyBuildWorkflowResponse {
|
|
|
634
634
|
}
|
|
635
635
|
export declare const AutomatedReasoningPolicyBuildResultAssetType: {
|
|
636
636
|
readonly BUILD_LOG: "BUILD_LOG";
|
|
637
|
+
readonly GENERATED_TEST_CASES: "GENERATED_TEST_CASES";
|
|
637
638
|
readonly POLICY_DEFINITION: "POLICY_DEFINITION";
|
|
638
639
|
readonly QUALITY_REPORT: "QUALITY_REPORT";
|
|
639
640
|
};
|
|
@@ -916,6 +917,14 @@ export interface AutomatedReasoningPolicyBuildLogEntry {
|
|
|
916
917
|
export interface AutomatedReasoningPolicyBuildLog {
|
|
917
918
|
entries: AutomatedReasoningPolicyBuildLogEntry[] | undefined;
|
|
918
919
|
}
|
|
920
|
+
export interface AutomatedReasoningPolicyGeneratedTestCase {
|
|
921
|
+
queryContent: string | undefined;
|
|
922
|
+
guardContent: string | undefined;
|
|
923
|
+
expectedAggregatedFindingsResult: AutomatedReasoningCheckResult | undefined;
|
|
924
|
+
}
|
|
925
|
+
export interface AutomatedReasoningPolicyGeneratedTestCases {
|
|
926
|
+
generatedTestCases: AutomatedReasoningPolicyGeneratedTestCase[] | undefined;
|
|
927
|
+
}
|
|
919
928
|
export interface AutomatedReasoningPolicyDisjointRuleSet {
|
|
920
929
|
variables: string[] | undefined;
|
|
921
930
|
rules: string[] | undefined;
|
|
@@ -938,6 +947,7 @@ export interface AutomatedReasoningPolicyDefinitionQualityReport {
|
|
|
938
947
|
}
|
|
939
948
|
export type AutomatedReasoningPolicyBuildResultAssets =
|
|
940
949
|
| AutomatedReasoningPolicyBuildResultAssets.BuildLogMember
|
|
950
|
+
| AutomatedReasoningPolicyBuildResultAssets.GeneratedTestCasesMember
|
|
941
951
|
| AutomatedReasoningPolicyBuildResultAssets.PolicyDefinitionMember
|
|
942
952
|
| AutomatedReasoningPolicyBuildResultAssets.QualityReportMember
|
|
943
953
|
| AutomatedReasoningPolicyBuildResultAssets.$UnknownMember;
|
|
@@ -946,24 +956,35 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
|
|
|
946
956
|
policyDefinition: AutomatedReasoningPolicyDefinition;
|
|
947
957
|
qualityReport?: never;
|
|
948
958
|
buildLog?: never;
|
|
959
|
+
generatedTestCases?: never;
|
|
949
960
|
$unknown?: never;
|
|
950
961
|
}
|
|
951
962
|
interface QualityReportMember {
|
|
952
963
|
policyDefinition?: never;
|
|
953
964
|
qualityReport: AutomatedReasoningPolicyDefinitionQualityReport;
|
|
954
965
|
buildLog?: never;
|
|
966
|
+
generatedTestCases?: never;
|
|
955
967
|
$unknown?: never;
|
|
956
968
|
}
|
|
957
969
|
interface BuildLogMember {
|
|
958
970
|
policyDefinition?: never;
|
|
959
971
|
qualityReport?: never;
|
|
960
972
|
buildLog: AutomatedReasoningPolicyBuildLog;
|
|
973
|
+
generatedTestCases?: never;
|
|
974
|
+
$unknown?: never;
|
|
975
|
+
}
|
|
976
|
+
interface GeneratedTestCasesMember {
|
|
977
|
+
policyDefinition?: never;
|
|
978
|
+
qualityReport?: never;
|
|
979
|
+
buildLog?: never;
|
|
980
|
+
generatedTestCases: AutomatedReasoningPolicyGeneratedTestCases;
|
|
961
981
|
$unknown?: never;
|
|
962
982
|
}
|
|
963
983
|
interface $UnknownMember {
|
|
964
984
|
policyDefinition?: never;
|
|
965
985
|
qualityReport?: never;
|
|
966
986
|
buildLog?: never;
|
|
987
|
+
generatedTestCases?: never;
|
|
967
988
|
$unknown: [string, any];
|
|
968
989
|
}
|
|
969
990
|
interface Visitor<T> {
|
|
@@ -972,6 +993,9 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
|
|
|
972
993
|
value: AutomatedReasoningPolicyDefinitionQualityReport
|
|
973
994
|
) => T;
|
|
974
995
|
buildLog: (value: AutomatedReasoningPolicyBuildLog) => T;
|
|
996
|
+
generatedTestCases: (
|
|
997
|
+
value: AutomatedReasoningPolicyGeneratedTestCases
|
|
998
|
+
) => T;
|
|
975
999
|
_: (name: string, value: any) => T;
|
|
976
1000
|
}
|
|
977
1001
|
}
|
|
@@ -2435,13 +2459,3 @@ export interface GuardrailTopicConfig {
|
|
|
2435
2459
|
inputEnabled?: boolean | undefined;
|
|
2436
2460
|
outputEnabled?: boolean | undefined;
|
|
2437
2461
|
}
|
|
2438
|
-
export interface GuardrailTopicPolicyConfig {
|
|
2439
|
-
topicsConfig: GuardrailTopicConfig[] | undefined;
|
|
2440
|
-
tierConfig?: GuardrailTopicsTierConfig | undefined;
|
|
2441
|
-
}
|
|
2442
|
-
export declare const GuardrailWordAction: {
|
|
2443
|
-
readonly BLOCK: "BLOCK";
|
|
2444
|
-
readonly NONE: "NONE";
|
|
2445
|
-
};
|
|
2446
|
-
export type GuardrailWordAction =
|
|
2447
|
-
(typeof GuardrailWordAction)[keyof typeof GuardrailWordAction];
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
GuardrailSensitiveInformationAction,
|
|
28
28
|
GuardrailSensitiveInformationPolicyConfig,
|
|
29
29
|
GuardrailTopicAction,
|
|
30
|
-
|
|
30
|
+
GuardrailTopicConfig,
|
|
31
|
+
GuardrailTopicsTierConfig,
|
|
31
32
|
GuardrailTopicsTierName,
|
|
32
33
|
GuardrailTopicType,
|
|
33
|
-
GuardrailWordAction,
|
|
34
34
|
ImplicitFilterConfiguration,
|
|
35
35
|
ModelDataSource,
|
|
36
36
|
OrchestrationConfiguration,
|
|
@@ -48,6 +48,16 @@ import {
|
|
|
48
48
|
VectorSearchRerankingConfiguration,
|
|
49
49
|
VpcConfig,
|
|
50
50
|
} from "./models_0";
|
|
51
|
+
export interface GuardrailTopicPolicyConfig {
|
|
52
|
+
topicsConfig: GuardrailTopicConfig[] | undefined;
|
|
53
|
+
tierConfig?: GuardrailTopicsTierConfig | undefined;
|
|
54
|
+
}
|
|
55
|
+
export declare const GuardrailWordAction: {
|
|
56
|
+
readonly BLOCK: "BLOCK";
|
|
57
|
+
readonly NONE: "NONE";
|
|
58
|
+
};
|
|
59
|
+
export type GuardrailWordAction =
|
|
60
|
+
(typeof GuardrailWordAction)[keyof typeof GuardrailWordAction];
|
|
51
61
|
export declare const GuardrailManagedWordsType: {
|
|
52
62
|
readonly PROFANITY: "PROFANITY";
|
|
53
63
|
};
|
|
@@ -105,6 +105,8 @@ export declare var AutomatedReasoningPolicyDeleteTypeValue: StaticStructureSchem
|
|
|
105
105
|
export declare var AutomatedReasoningPolicyDeleteVariableAnnotation: StaticStructureSchema;
|
|
106
106
|
export declare var AutomatedReasoningPolicyDeleteVariableMutation: StaticStructureSchema;
|
|
107
107
|
export declare var AutomatedReasoningPolicyDisjointRuleSet: StaticStructureSchema;
|
|
108
|
+
export declare var AutomatedReasoningPolicyGeneratedTestCase: StaticStructureSchema;
|
|
109
|
+
export declare var AutomatedReasoningPolicyGeneratedTestCases: StaticStructureSchema;
|
|
108
110
|
export declare var AutomatedReasoningPolicyIngestContentAnnotation: StaticStructureSchema;
|
|
109
111
|
export declare var AutomatedReasoningPolicyPlanning: StaticStructureSchema;
|
|
110
112
|
export declare var AutomatedReasoningPolicyScenario: StaticStructureSchema;
|
|
@@ -474,6 +476,7 @@ export declare var AutomatedReasoningPolicyDefinitionVariableList: StaticListSch
|
|
|
474
476
|
export declare var AutomatedReasoningPolicyDefinitionVariableNameList: StaticListSchema;
|
|
475
477
|
export declare var AutomatedReasoningPolicyDisjointedRuleIdList: number;
|
|
476
478
|
export declare var AutomatedReasoningPolicyDisjointRuleSetList: StaticListSchema;
|
|
479
|
+
export declare var AutomatedReasoningPolicyGeneratedTestCaseList: StaticListSchema;
|
|
477
480
|
export declare var AutomatedReasoningPolicySummaries: StaticListSchema;
|
|
478
481
|
export declare var AutomatedReasoningPolicyTestCaseIdList: number;
|
|
479
482
|
export declare var AutomatedReasoningPolicyTestCaseList: StaticListSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-bedrock",
|
|
3
3
|
"description": "AWS SDK for JavaScript Bedrock Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.933.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline client-bedrock",
|
|
@@ -21,13 +21,13 @@
|
|
|
21
21
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
22
22
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
23
23
|
"@aws-sdk/core": "3.932.0",
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.933.0",
|
|
25
25
|
"@aws-sdk/middleware-host-header": "3.930.0",
|
|
26
26
|
"@aws-sdk/middleware-logger": "3.930.0",
|
|
27
|
-
"@aws-sdk/middleware-recursion-detection": "3.
|
|
27
|
+
"@aws-sdk/middleware-recursion-detection": "3.933.0",
|
|
28
28
|
"@aws-sdk/middleware-user-agent": "3.932.0",
|
|
29
29
|
"@aws-sdk/region-config-resolver": "3.930.0",
|
|
30
|
-
"@aws-sdk/token-providers": "3.
|
|
30
|
+
"@aws-sdk/token-providers": "3.933.0",
|
|
31
31
|
"@aws-sdk/types": "3.930.0",
|
|
32
32
|
"@aws-sdk/util-endpoints": "3.930.0",
|
|
33
33
|
"@aws-sdk/util-user-agent-browser": "3.930.0",
|