@aws-sdk/client-bedrock 3.947.0 → 3.949.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 CHANGED
@@ -355,8 +355,10 @@ const _ARPP = "AutomatedReasoningPolicyPlanning";
355
355
  const _ARPS = "AutomatedReasoningPolicyScenario";
356
356
  const _ARPSAE = "AutomatedReasoningPolicyScenarioAlternateExpression";
357
357
  const _ARPSE = "AutomatedReasoningPolicyScenarioExpression";
358
- const _ARPSu = "AutomatedReasoningPolicySummary";
359
- const _ARPSut = "AutomatedReasoningPolicySummaries";
358
+ const _ARPSL = "AutomatedReasoningPolicyScenarioList";
359
+ const _ARPSu = "AutomatedReasoningPolicyScenarios";
360
+ const _ARPSut = "AutomatedReasoningPolicySummary";
361
+ const _ARPSuto = "AutomatedReasoningPolicySummaries";
360
362
  const _ARPTC = "AutomatedReasoningPolicyTestCase";
361
363
  const _ARPTCL = "AutomatedReasoningPolicyTestCaseList";
362
364
  const _ARPTGC = "AutomatedReasoningPolicyTestGuardContent";
@@ -1282,6 +1284,7 @@ const _pRN = "promptRouterName";
1282
1284
  const _pRS = "promptRouterSummaries";
1283
1285
  const _pRSC = "precomputedRagSourceConfig";
1284
1286
  const _pRSI = "precomputedRagSourceIdentifiers";
1287
+ const _pS = "policyScenarios";
1285
1288
  const _pT = "promptTemplate";
1286
1289
  const _pVA = "policyVersionArn";
1287
1290
  const _pa = "pattern";
@@ -1968,19 +1971,27 @@ var AutomatedReasoningPolicyScenario = [
1968
1971
  n0,
1969
1972
  _ARPS,
1970
1973
  0,
1971
- [_ex, _aE, _rIu, _eR],
1974
+ [_ex, _aE, _eR, _rIu],
1972
1975
  [
1973
1976
  [() => AutomatedReasoningPolicyScenarioExpression, 0],
1974
1977
  [() => AutomatedReasoningPolicyScenarioAlternateExpression, 0],
1975
- 64 | 0,
1976
1978
  0,
1979
+ 64 | 0,
1977
1980
  ],
1978
1981
  ];
1979
- var AutomatedReasoningPolicySummary = [
1982
+ var AutomatedReasoningPolicyScenarios = [
1980
1983
  3,
1981
1984
  n0,
1982
1985
  _ARPSu,
1983
1986
  0,
1987
+ [_pS],
1988
+ [[() => AutomatedReasoningPolicyScenarioList, 0]],
1989
+ ];
1990
+ var AutomatedReasoningPolicySummary = [
1991
+ 3,
1992
+ n0,
1993
+ _ARPSut,
1994
+ 0,
1984
1995
  [_pA, _n, _d, _ve, _pI, _cA, _uA],
1985
1996
  [0, [() => AutomatedReasoningPolicyName, 0], [() => AutomatedReasoningPolicyDescription, 0], 0, 0, 5, 5],
1986
1997
  ];
@@ -4525,10 +4536,17 @@ var AutomatedReasoningPolicyGeneratedTestCaseList = [
4525
4536
  0,
4526
4537
  [() => AutomatedReasoningPolicyGeneratedTestCase, 0],
4527
4538
  ];
4539
+ var AutomatedReasoningPolicyScenarioList = [
4540
+ 1,
4541
+ n0,
4542
+ _ARPSL,
4543
+ 0,
4544
+ [() => AutomatedReasoningPolicyScenario, 0],
4545
+ ];
4528
4546
  var AutomatedReasoningPolicySummaries = [
4529
4547
  1,
4530
4548
  n0,
4531
- _ARPSut,
4549
+ _ARPSuto,
4532
4550
  0,
4533
4551
  [() => AutomatedReasoningPolicySummary, 0],
4534
4552
  ];
@@ -4720,12 +4738,13 @@ var AutomatedReasoningPolicyBuildResultAssets = [
4720
4738
  n0,
4721
4739
  _ARPBRA,
4722
4740
  0,
4723
- [_pD, _qR, _bL, _gTC],
4741
+ [_pD, _qR, _bL, _gTC, _pS],
4724
4742
  [
4725
4743
  [() => AutomatedReasoningPolicyDefinition, 0],
4726
4744
  [() => AutomatedReasoningPolicyDefinitionQualityReport, 0],
4727
4745
  [() => AutomatedReasoningPolicyBuildLog, 0],
4728
4746
  [() => AutomatedReasoningPolicyGeneratedTestCases, 0],
4747
+ [() => AutomatedReasoningPolicyScenarios, 0],
4729
4748
  ],
4730
4749
  ];
4731
4750
  var AutomatedReasoningPolicyBuildStepContext = [
@@ -7078,6 +7097,7 @@ const AutomatedReasoningPolicyBuildResultAssetType = {
7078
7097
  BUILD_LOG: "BUILD_LOG",
7079
7098
  GENERATED_TEST_CASES: "GENERATED_TEST_CASES",
7080
7099
  POLICY_DEFINITION: "POLICY_DEFINITION",
7100
+ POLICY_SCENARIOS: "POLICY_SCENARIOS",
7081
7101
  QUALITY_REPORT: "QUALITY_REPORT",
7082
7102
  };
7083
7103
  const AutomatedReasoningPolicyBuildMessageType = {
@@ -43,6 +43,7 @@ export const AutomatedReasoningPolicyBuildResultAssetType = {
43
43
  BUILD_LOG: "BUILD_LOG",
44
44
  GENERATED_TEST_CASES: "GENERATED_TEST_CASES",
45
45
  POLICY_DEFINITION: "POLICY_DEFINITION",
46
+ POLICY_SCENARIOS: "POLICY_SCENARIOS",
46
47
  QUALITY_REPORT: "QUALITY_REPORT",
47
48
  };
48
49
  export const AutomatedReasoningPolicyBuildMessageType = {
@@ -104,8 +104,10 @@ const _ARPP = "AutomatedReasoningPolicyPlanning";
104
104
  const _ARPS = "AutomatedReasoningPolicyScenario";
105
105
  const _ARPSAE = "AutomatedReasoningPolicyScenarioAlternateExpression";
106
106
  const _ARPSE = "AutomatedReasoningPolicyScenarioExpression";
107
- const _ARPSu = "AutomatedReasoningPolicySummary";
108
- const _ARPSut = "AutomatedReasoningPolicySummaries";
107
+ const _ARPSL = "AutomatedReasoningPolicyScenarioList";
108
+ const _ARPSu = "AutomatedReasoningPolicyScenarios";
109
+ const _ARPSut = "AutomatedReasoningPolicySummary";
110
+ const _ARPSuto = "AutomatedReasoningPolicySummaries";
109
111
  const _ARPTC = "AutomatedReasoningPolicyTestCase";
110
112
  const _ARPTCL = "AutomatedReasoningPolicyTestCaseList";
111
113
  const _ARPTGC = "AutomatedReasoningPolicyTestGuardContent";
@@ -1031,6 +1033,7 @@ const _pRN = "promptRouterName";
1031
1033
  const _pRS = "promptRouterSummaries";
1032
1034
  const _pRSC = "precomputedRagSourceConfig";
1033
1035
  const _pRSI = "precomputedRagSourceIdentifiers";
1036
+ const _pS = "policyScenarios";
1034
1037
  const _pT = "promptTemplate";
1035
1038
  const _pVA = "policyVersionArn";
1036
1039
  const _pa = "pattern";
@@ -1720,19 +1723,27 @@ export var AutomatedReasoningPolicyScenario = [
1720
1723
  n0,
1721
1724
  _ARPS,
1722
1725
  0,
1723
- [_ex, _aE, _rIu, _eR],
1726
+ [_ex, _aE, _eR, _rIu],
1724
1727
  [
1725
1728
  [() => AutomatedReasoningPolicyScenarioExpression, 0],
1726
1729
  [() => AutomatedReasoningPolicyScenarioAlternateExpression, 0],
1727
- 64 | 0,
1728
1730
  0,
1731
+ 64 | 0,
1729
1732
  ],
1730
1733
  ];
1731
- export var AutomatedReasoningPolicySummary = [
1734
+ export var AutomatedReasoningPolicyScenarios = [
1732
1735
  3,
1733
1736
  n0,
1734
1737
  _ARPSu,
1735
1738
  0,
1739
+ [_pS],
1740
+ [[() => AutomatedReasoningPolicyScenarioList, 0]],
1741
+ ];
1742
+ export var AutomatedReasoningPolicySummary = [
1743
+ 3,
1744
+ n0,
1745
+ _ARPSut,
1746
+ 0,
1736
1747
  [_pA, _n, _d, _ve, _pI, _cA, _uA],
1737
1748
  [0, [() => AutomatedReasoningPolicyName, 0], [() => AutomatedReasoningPolicyDescription, 0], 0, 0, 5, 5],
1738
1749
  ];
@@ -4281,10 +4292,17 @@ export var AutomatedReasoningPolicyGeneratedTestCaseList = [
4281
4292
  0,
4282
4293
  [() => AutomatedReasoningPolicyGeneratedTestCase, 0],
4283
4294
  ];
4295
+ export var AutomatedReasoningPolicyScenarioList = [
4296
+ 1,
4297
+ n0,
4298
+ _ARPSL,
4299
+ 0,
4300
+ [() => AutomatedReasoningPolicyScenario, 0],
4301
+ ];
4284
4302
  export var AutomatedReasoningPolicySummaries = [
4285
4303
  1,
4286
4304
  n0,
4287
- _ARPSut,
4305
+ _ARPSuto,
4288
4306
  0,
4289
4307
  [() => AutomatedReasoningPolicySummary, 0],
4290
4308
  ];
@@ -4493,12 +4511,13 @@ export var AutomatedReasoningPolicyBuildResultAssets = [
4493
4511
  n0,
4494
4512
  _ARPBRA,
4495
4513
  0,
4496
- [_pD, _qR, _bL, _gTC],
4514
+ [_pD, _qR, _bL, _gTC, _pS],
4497
4515
  [
4498
4516
  [() => AutomatedReasoningPolicyDefinition, 0],
4499
4517
  [() => AutomatedReasoningPolicyDefinitionQualityReport, 0],
4500
4518
  [() => AutomatedReasoningPolicyBuildLog, 0],
4501
4519
  [() => AutomatedReasoningPolicyGeneratedTestCases, 0],
4520
+ [() => AutomatedReasoningPolicyScenarios, 0],
4502
4521
  ],
4503
4522
  ];
4504
4523
  export var AutomatedReasoningPolicyBuildStepContext = [
@@ -1,8 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import type { BedrockClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../BedrockClient";
4
- import type { DeleteInferenceProfileRequest } from "../models/models_0";
5
- import type { DeleteInferenceProfileResponse } from "../models/models_1";
4
+ import type { DeleteInferenceProfileRequest, DeleteInferenceProfileResponse } from "../models/models_1";
6
5
  /**
7
6
  * @public
8
7
  */
@@ -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" || "GENERATED_TEST_CASES", // required
42
+ * assetType: "BUILD_LOG" || "QUALITY_REPORT" || "POLICY_DEFINITION" || "GENERATED_TEST_CASES" || "POLICY_SCENARIOS", // required
43
43
  * };
44
44
  * const command = new GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand(input);
45
45
  * const response = await client.send(command);
@@ -271,6 +271,18 @@ declare const GetAutomatedReasoningPolicyBuildWorkflowResultAssetsCommand_base:
271
271
  * // },
272
272
  * // ],
273
273
  * // },
274
+ * // policyScenarios: { // AutomatedReasoningPolicyScenarios
275
+ * // policyScenarios: [ // AutomatedReasoningPolicyScenarioList // required
276
+ * // { // AutomatedReasoningPolicyScenario
277
+ * // expression: "STRING_VALUE", // required
278
+ * // alternateExpression: "STRING_VALUE", // required
279
+ * // expectedResult: "VALID" || "INVALID" || "SATISFIABLE" || "IMPOSSIBLE" || "TRANSLATION_AMBIGUOUS" || "TOO_COMPLEX" || "NO_TRANSLATION", // required
280
+ * // ruleIds: [ // required
281
+ * // "STRING_VALUE",
282
+ * // ],
283
+ * // },
284
+ * // ],
285
+ * // },
274
286
  * // },
275
287
  * // };
276
288
  *
@@ -47,10 +47,10 @@ declare const GetAutomatedReasoningPolicyNextScenarioCommand_base: {
47
47
  * // scenario: { // AutomatedReasoningPolicyScenario
48
48
  * // expression: "STRING_VALUE", // required
49
49
  * // alternateExpression: "STRING_VALUE", // required
50
+ * // expectedResult: "VALID" || "INVALID" || "SATISFIABLE" || "IMPOSSIBLE" || "TRANSLATION_AMBIGUOUS" || "TOO_COMPLEX" || "NO_TRANSLATION", // required
50
51
  * // ruleIds: [ // AutomatedReasoningPolicyDefinitionRuleIdList // required
51
52
  * // "STRING_VALUE",
52
53
  * // ],
53
- * // expectedResult: "VALID" || "INVALID" || "SATISFIABLE" || "IMPOSSIBLE" || "TRANSLATION_AMBIGUOUS" || "TOO_COMPLEX" || "NO_TRANSLATION", // required
54
54
  * // },
55
55
  * // };
56
56
  *
@@ -106,6 +106,7 @@ export declare const AutomatedReasoningPolicyBuildResultAssetType: {
106
106
  readonly BUILD_LOG: "BUILD_LOG";
107
107
  readonly GENERATED_TEST_CASES: "GENERATED_TEST_CASES";
108
108
  readonly POLICY_DEFINITION: "POLICY_DEFINITION";
109
+ readonly POLICY_SCENARIOS: "POLICY_SCENARIOS";
109
110
  readonly QUALITY_REPORT: "QUALITY_REPORT";
110
111
  };
111
112
  /**
@@ -1853,6 +1853,43 @@ export interface AutomatedReasoningPolicyGeneratedTestCases {
1853
1853
  */
1854
1854
  generatedTestCases: AutomatedReasoningPolicyGeneratedTestCase[] | undefined;
1855
1855
  }
1856
+ /**
1857
+ * <p>Represents a test scenario used to validate an Automated Reasoning policy, including the test conditions and expected outcomes.</p>
1858
+ * @public
1859
+ */
1860
+ export interface AutomatedReasoningPolicyScenario {
1861
+ /**
1862
+ * <p>The logical expression or condition that defines this test scenario.</p>
1863
+ * @public
1864
+ */
1865
+ expression: string | undefined;
1866
+ /**
1867
+ * <p>An alternative way to express the same test scenario, used for validation and comparison purposes.</p>
1868
+ * @public
1869
+ */
1870
+ alternateExpression: string | undefined;
1871
+ /**
1872
+ * <p>The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).</p>
1873
+ * @public
1874
+ */
1875
+ expectedResult: AutomatedReasoningCheckResult | undefined;
1876
+ /**
1877
+ * <p>The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.</p>
1878
+ * @public
1879
+ */
1880
+ ruleIds: string[] | undefined;
1881
+ }
1882
+ /**
1883
+ * <p>Contains a comprehensive entity encompassing all the scenarios generated by the build workflow, which can be used to validate an Automated Reasoning policy.</p>
1884
+ * @public
1885
+ */
1886
+ export interface AutomatedReasoningPolicyScenarios {
1887
+ /**
1888
+ * <p>Represents a collection of generated policy scenarios.</p>
1889
+ * @public
1890
+ */
1891
+ policyScenarios: AutomatedReasoningPolicyScenario[] | undefined;
1892
+ }
1856
1893
  /**
1857
1894
  * <p>Represents a set of rules that operate on completely separate variables, indicating they address different concerns or domains within the policy.</p>
1858
1895
  * @public
@@ -1935,7 +1972,7 @@ export interface AutomatedReasoningPolicyDefinitionQualityReport {
1935
1972
  * <p>Contains the various assets generated during a policy build workflow, including logs, quality reports, test cases, and the final policy definition.</p>
1936
1973
  * @public
1937
1974
  */
1938
- export type AutomatedReasoningPolicyBuildResultAssets = AutomatedReasoningPolicyBuildResultAssets.BuildLogMember | AutomatedReasoningPolicyBuildResultAssets.GeneratedTestCasesMember | AutomatedReasoningPolicyBuildResultAssets.PolicyDefinitionMember | AutomatedReasoningPolicyBuildResultAssets.QualityReportMember | AutomatedReasoningPolicyBuildResultAssets.$UnknownMember;
1975
+ export type AutomatedReasoningPolicyBuildResultAssets = AutomatedReasoningPolicyBuildResultAssets.BuildLogMember | AutomatedReasoningPolicyBuildResultAssets.GeneratedTestCasesMember | AutomatedReasoningPolicyBuildResultAssets.PolicyDefinitionMember | AutomatedReasoningPolicyBuildResultAssets.PolicyScenariosMember | AutomatedReasoningPolicyBuildResultAssets.QualityReportMember | AutomatedReasoningPolicyBuildResultAssets.$UnknownMember;
1939
1976
  /**
1940
1977
  * @public
1941
1978
  */
@@ -1949,6 +1986,7 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
1949
1986
  qualityReport?: never;
1950
1987
  buildLog?: never;
1951
1988
  generatedTestCases?: never;
1989
+ policyScenarios?: never;
1952
1990
  $unknown?: never;
1953
1991
  }
1954
1992
  /**
@@ -1960,6 +1998,7 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
1960
1998
  qualityReport: AutomatedReasoningPolicyDefinitionQualityReport;
1961
1999
  buildLog?: never;
1962
2000
  generatedTestCases?: never;
2001
+ policyScenarios?: never;
1963
2002
  $unknown?: never;
1964
2003
  }
1965
2004
  /**
@@ -1971,6 +2010,7 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
1971
2010
  qualityReport?: never;
1972
2011
  buildLog: AutomatedReasoningPolicyBuildLog;
1973
2012
  generatedTestCases?: never;
2013
+ policyScenarios?: never;
1974
2014
  $unknown?: never;
1975
2015
  }
1976
2016
  /**
@@ -1982,6 +2022,19 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
1982
2022
  qualityReport?: never;
1983
2023
  buildLog?: never;
1984
2024
  generatedTestCases: AutomatedReasoningPolicyGeneratedTestCases;
2025
+ policyScenarios?: never;
2026
+ $unknown?: never;
2027
+ }
2028
+ /**
2029
+ * <p>An entity encompassing all the policy scenarios generated by the build workflow, which can be used to validate an Automated Reasoning policy. </p>
2030
+ * @public
2031
+ */
2032
+ interface PolicyScenariosMember {
2033
+ policyDefinition?: never;
2034
+ qualityReport?: never;
2035
+ buildLog?: never;
2036
+ generatedTestCases?: never;
2037
+ policyScenarios: AutomatedReasoningPolicyScenarios;
1985
2038
  $unknown?: never;
1986
2039
  }
1987
2040
  /**
@@ -1992,6 +2045,7 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
1992
2045
  qualityReport?: never;
1993
2046
  buildLog?: never;
1994
2047
  generatedTestCases?: never;
2048
+ policyScenarios?: never;
1995
2049
  $unknown: [string, any];
1996
2050
  }
1997
2051
  /**
@@ -2003,6 +2057,7 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
2003
2057
  qualityReport: (value: AutomatedReasoningPolicyDefinitionQualityReport) => T;
2004
2058
  buildLog: (value: AutomatedReasoningPolicyBuildLog) => T;
2005
2059
  generatedTestCases: (value: AutomatedReasoningPolicyGeneratedTestCases) => T;
2060
+ policyScenarios: (value: AutomatedReasoningPolicyScenarios) => T;
2006
2061
  _: (name: string, value: any) => T;
2007
2062
  }
2008
2063
  }
@@ -2041,32 +2096,6 @@ export interface GetAutomatedReasoningPolicyNextScenarioRequest {
2041
2096
  */
2042
2097
  buildWorkflowId: string | undefined;
2043
2098
  }
2044
- /**
2045
- * <p>Represents a test scenario used to validate an Automated Reasoning policy, including the test conditions and expected outcomes.</p>
2046
- * @public
2047
- */
2048
- export interface AutomatedReasoningPolicyScenario {
2049
- /**
2050
- * <p>The logical expression or condition that defines this test scenario.</p>
2051
- * @public
2052
- */
2053
- expression: string | undefined;
2054
- /**
2055
- * <p>An alternative way to express the same test scenario, used for validation and comparison purposes.</p>
2056
- * @public
2057
- */
2058
- alternateExpression: string | undefined;
2059
- /**
2060
- * <p>The list of rule identifiers that are expected to be triggered or evaluated by this test scenario.</p>
2061
- * @public
2062
- */
2063
- ruleIds: string[] | undefined;
2064
- /**
2065
- * <p>The expected outcome when this scenario is evaluated against the policy (e.g., PASS, FAIL, VIOLATION).</p>
2066
- * @public
2067
- */
2068
- expectedResult: AutomatedReasoningCheckResult | undefined;
2069
- }
2070
2099
  /**
2071
2100
  * @public
2072
2101
  */
@@ -7109,13 +7138,3 @@ export interface CreateInferenceProfileResponse {
7109
7138
  */
7110
7139
  status?: InferenceProfileStatus | undefined;
7111
7140
  }
7112
- /**
7113
- * @public
7114
- */
7115
- export interface DeleteInferenceProfileRequest {
7116
- /**
7117
- * <p>The Amazon Resource Name (ARN) or ID of the application inference profile to delete.</p>
7118
- * @public
7119
- */
7120
- inferenceProfileIdentifier: string | undefined;
7121
- }
@@ -1,5 +1,15 @@
1
1
  import { ApplicationType, AuthorizationStatus, CommitmentDuration, CustomizationType, EntitlementAvailability, EvaluationJobStatus, EvaluationJobType, FineTuningJobStatus, FoundationModelLifecycleStatus, InferenceProfileStatus, InferenceProfileType, InferenceType, JobStatusDetails, ModelCopyJobStatus, ModelCustomization, ModelCustomizationJobStatus, ModelImportJobStatus, ModelInvocationJobStatus, ModelModality, OfferType, PromptRouterStatus, PromptRouterType, ProvisionedModelStatus, RegionAvailability, RetrieveAndGenerateType, S3InputFormat, SearchType, SortByProvisionedModels, SortJobsBy, SortModelsBy, SortOrder } from "./enums";
2
2
  import { type AgreementAvailability, type CustomizationConfig, type EvaluationConfig, type EvaluationOutputDataConfig, type ExternalSourcesRetrieveAndGenerateConfiguration, type GenerationConfiguration, type ImplicitFilterConfiguration, type ModelDataSource, type OrchestrationConfiguration, type OutputDataConfig, type TrainingDataConfig, type TrainingMetrics, type ValidationDataConfig, type VectorSearchRerankingConfiguration, type VpcConfig, EvaluationModelConfig, EvaluationPrecomputedRagSourceConfig, FilterAttribute, Tag, ValidatorMetric } from "./models_0";
3
+ /**
4
+ * @public
5
+ */
6
+ export interface DeleteInferenceProfileRequest {
7
+ /**
8
+ * <p>The Amazon Resource Name (ARN) or ID of the application inference profile to delete.</p>
9
+ * @public
10
+ */
11
+ inferenceProfileIdentifier: string | undefined;
12
+ }
3
13
  /**
4
14
  * @public
5
15
  */
@@ -105,6 +105,7 @@ export declare var AutomatedReasoningPolicyGeneratedTestCases: StaticStructureSc
105
105
  export declare var AutomatedReasoningPolicyIngestContentAnnotation: StaticStructureSchema;
106
106
  export declare var AutomatedReasoningPolicyPlanning: StaticStructureSchema;
107
107
  export declare var AutomatedReasoningPolicyScenario: StaticStructureSchema;
108
+ export declare var AutomatedReasoningPolicyScenarios: StaticStructureSchema;
108
109
  export declare var AutomatedReasoningPolicySummary: StaticStructureSchema;
109
110
  export declare var AutomatedReasoningPolicyTestCase: StaticStructureSchema;
110
111
  export declare var AutomatedReasoningPolicyTestResult: StaticStructureSchema;
@@ -484,6 +485,7 @@ export declare var AutomatedReasoningPolicyDefinitionVariableNameList: StaticLis
484
485
  export declare var AutomatedReasoningPolicyDisjointedRuleIdList: number;
485
486
  export declare var AutomatedReasoningPolicyDisjointRuleSetList: StaticListSchema;
486
487
  export declare var AutomatedReasoningPolicyGeneratedTestCaseList: StaticListSchema;
488
+ export declare var AutomatedReasoningPolicyScenarioList: StaticListSchema;
487
489
  export declare var AutomatedReasoningPolicySummaries: StaticListSchema;
488
490
  export declare var AutomatedReasoningPolicyTestCaseIdList: number;
489
491
  export declare var AutomatedReasoningPolicyTestCaseList: StaticListSchema;
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../BedrockClient";
8
- import { DeleteInferenceProfileRequest } from "../models/models_0";
9
- import { DeleteInferenceProfileResponse } from "../models/models_1";
8
+ import {
9
+ DeleteInferenceProfileRequest,
10
+ DeleteInferenceProfileResponse,
11
+ } from "../models/models_1";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DeleteInferenceProfileCommandInput
@@ -56,6 +56,7 @@ export declare const AutomatedReasoningPolicyBuildResultAssetType: {
56
56
  readonly BUILD_LOG: "BUILD_LOG";
57
57
  readonly GENERATED_TEST_CASES: "GENERATED_TEST_CASES";
58
58
  readonly POLICY_DEFINITION: "POLICY_DEFINITION";
59
+ readonly POLICY_SCENARIOS: "POLICY_SCENARIOS";
59
60
  readonly QUALITY_REPORT: "QUALITY_REPORT";
60
61
  };
61
62
  export type AutomatedReasoningPolicyBuildResultAssetType =
@@ -863,6 +863,15 @@ export interface AutomatedReasoningPolicyGeneratedTestCase {
863
863
  export interface AutomatedReasoningPolicyGeneratedTestCases {
864
864
  generatedTestCases: AutomatedReasoningPolicyGeneratedTestCase[] | undefined;
865
865
  }
866
+ export interface AutomatedReasoningPolicyScenario {
867
+ expression: string | undefined;
868
+ alternateExpression: string | undefined;
869
+ expectedResult: AutomatedReasoningCheckResult | undefined;
870
+ ruleIds: string[] | undefined;
871
+ }
872
+ export interface AutomatedReasoningPolicyScenarios {
873
+ policyScenarios: AutomatedReasoningPolicyScenario[] | undefined;
874
+ }
866
875
  export interface AutomatedReasoningPolicyDisjointRuleSet {
867
876
  variables: string[] | undefined;
868
877
  rules: string[] | undefined;
@@ -887,6 +896,7 @@ export type AutomatedReasoningPolicyBuildResultAssets =
887
896
  | AutomatedReasoningPolicyBuildResultAssets.BuildLogMember
888
897
  | AutomatedReasoningPolicyBuildResultAssets.GeneratedTestCasesMember
889
898
  | AutomatedReasoningPolicyBuildResultAssets.PolicyDefinitionMember
899
+ | AutomatedReasoningPolicyBuildResultAssets.PolicyScenariosMember
890
900
  | AutomatedReasoningPolicyBuildResultAssets.QualityReportMember
891
901
  | AutomatedReasoningPolicyBuildResultAssets.$UnknownMember;
892
902
  export declare namespace AutomatedReasoningPolicyBuildResultAssets {
@@ -895,6 +905,7 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
895
905
  qualityReport?: never;
896
906
  buildLog?: never;
897
907
  generatedTestCases?: never;
908
+ policyScenarios?: never;
898
909
  $unknown?: never;
899
910
  }
900
911
  interface QualityReportMember {
@@ -902,6 +913,7 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
902
913
  qualityReport: AutomatedReasoningPolicyDefinitionQualityReport;
903
914
  buildLog?: never;
904
915
  generatedTestCases?: never;
916
+ policyScenarios?: never;
905
917
  $unknown?: never;
906
918
  }
907
919
  interface BuildLogMember {
@@ -909,6 +921,7 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
909
921
  qualityReport?: never;
910
922
  buildLog: AutomatedReasoningPolicyBuildLog;
911
923
  generatedTestCases?: never;
924
+ policyScenarios?: never;
912
925
  $unknown?: never;
913
926
  }
914
927
  interface GeneratedTestCasesMember {
@@ -916,6 +929,15 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
916
929
  qualityReport?: never;
917
930
  buildLog?: never;
918
931
  generatedTestCases: AutomatedReasoningPolicyGeneratedTestCases;
932
+ policyScenarios?: never;
933
+ $unknown?: never;
934
+ }
935
+ interface PolicyScenariosMember {
936
+ policyDefinition?: never;
937
+ qualityReport?: never;
938
+ buildLog?: never;
939
+ generatedTestCases?: never;
940
+ policyScenarios: AutomatedReasoningPolicyScenarios;
919
941
  $unknown?: never;
920
942
  }
921
943
  interface $UnknownMember {
@@ -923,6 +945,7 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
923
945
  qualityReport?: never;
924
946
  buildLog?: never;
925
947
  generatedTestCases?: never;
948
+ policyScenarios?: never;
926
949
  $unknown: [string, any];
927
950
  }
928
951
  interface Visitor<T> {
@@ -934,6 +957,7 @@ export declare namespace AutomatedReasoningPolicyBuildResultAssets {
934
957
  generatedTestCases: (
935
958
  value: AutomatedReasoningPolicyGeneratedTestCases
936
959
  ) => T;
960
+ policyScenarios: (value: AutomatedReasoningPolicyScenarios) => T;
937
961
  _: (name: string, value: any) => T;
938
962
  }
939
963
  }
@@ -946,12 +970,6 @@ export interface GetAutomatedReasoningPolicyNextScenarioRequest {
946
970
  policyArn: string | undefined;
947
971
  buildWorkflowId: string | undefined;
948
972
  }
949
- export interface AutomatedReasoningPolicyScenario {
950
- expression: string | undefined;
951
- alternateExpression: string | undefined;
952
- ruleIds: string[] | undefined;
953
- expectedResult: AutomatedReasoningCheckResult | undefined;
954
- }
955
973
  export interface GetAutomatedReasoningPolicyNextScenarioResponse {
956
974
  policyArn: string | undefined;
957
975
  scenario?: AutomatedReasoningPolicyScenario | undefined;
@@ -2480,6 +2498,3 @@ export interface CreateInferenceProfileResponse {
2480
2498
  inferenceProfileArn: string | undefined;
2481
2499
  status?: InferenceProfileStatus | undefined;
2482
2500
  }
2483
- export interface DeleteInferenceProfileRequest {
2484
- inferenceProfileIdentifier: string | undefined;
2485
- }
@@ -53,6 +53,9 @@ import {
53
53
  Tag,
54
54
  ValidatorMetric,
55
55
  } from "./models_0";
56
+ export interface DeleteInferenceProfileRequest {
57
+ inferenceProfileIdentifier: string | undefined;
58
+ }
56
59
  export interface DeleteInferenceProfileResponse {}
57
60
  export interface GetInferenceProfileRequest {
58
61
  inferenceProfileIdentifier: string | undefined;
@@ -112,6 +112,7 @@ export declare var AutomatedReasoningPolicyGeneratedTestCases: StaticStructureSc
112
112
  export declare var AutomatedReasoningPolicyIngestContentAnnotation: StaticStructureSchema;
113
113
  export declare var AutomatedReasoningPolicyPlanning: StaticStructureSchema;
114
114
  export declare var AutomatedReasoningPolicyScenario: StaticStructureSchema;
115
+ export declare var AutomatedReasoningPolicyScenarios: StaticStructureSchema;
115
116
  export declare var AutomatedReasoningPolicySummary: StaticStructureSchema;
116
117
  export declare var AutomatedReasoningPolicyTestCase: StaticStructureSchema;
117
118
  export declare var AutomatedReasoningPolicyTestResult: StaticStructureSchema;
@@ -491,6 +492,7 @@ export declare var AutomatedReasoningPolicyDefinitionVariableNameList: StaticLis
491
492
  export declare var AutomatedReasoningPolicyDisjointedRuleIdList: number;
492
493
  export declare var AutomatedReasoningPolicyDisjointRuleSetList: StaticListSchema;
493
494
  export declare var AutomatedReasoningPolicyGeneratedTestCaseList: StaticListSchema;
495
+ export declare var AutomatedReasoningPolicyScenarioList: StaticListSchema;
494
496
  export declare var AutomatedReasoningPolicySummaries: StaticListSchema;
495
497
  export declare var AutomatedReasoningPolicyTestCaseIdList: number;
496
498
  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.947.0",
4
+ "version": "3.949.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",
@@ -22,13 +22,13 @@
22
22
  "@aws-crypto/sha256-browser": "5.2.0",
23
23
  "@aws-crypto/sha256-js": "5.2.0",
24
24
  "@aws-sdk/core": "3.947.0",
25
- "@aws-sdk/credential-provider-node": "3.947.0",
25
+ "@aws-sdk/credential-provider-node": "3.948.0",
26
26
  "@aws-sdk/middleware-host-header": "3.936.0",
27
27
  "@aws-sdk/middleware-logger": "3.936.0",
28
- "@aws-sdk/middleware-recursion-detection": "3.936.0",
28
+ "@aws-sdk/middleware-recursion-detection": "3.948.0",
29
29
  "@aws-sdk/middleware-user-agent": "3.947.0",
30
30
  "@aws-sdk/region-config-resolver": "3.936.0",
31
- "@aws-sdk/token-providers": "3.947.0",
31
+ "@aws-sdk/token-providers": "3.948.0",
32
32
  "@aws-sdk/types": "3.936.0",
33
33
  "@aws-sdk/util-endpoints": "3.936.0",
34
34
  "@aws-sdk/util-user-agent-browser": "3.936.0",