@aws-sdk/client-bedrock 3.1021.0 → 3.1023.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.
@@ -863,6 +863,7 @@ const _eMx = "excludedModels";
863
863
  const _eN = "endpointName";
864
864
  const _eOLT = "endOfLifeTime";
865
865
  const _eR = "expectedResult";
866
+ const _eRC = "errorRecordCount";
866
867
  const _eRx = "executionRole";
867
868
  const _eS = "endpointStatus";
868
869
  const _eSC = "externalSourcesConfiguration";
@@ -1100,6 +1101,7 @@ const _pN = "pageNumber";
1100
1101
  const _pNr = "providerName";
1101
1102
  const _pRA = "promptRouterArn";
1102
1103
  const _pRAo = "policyRepairAssets";
1104
+ const _pRC = "processedRecordCount";
1103
1105
  const _pRN = "promptRouterName";
1104
1106
  const _pRS = "promptRouterSummaries";
1105
1107
  const _pRSC = "precomputedRagSourceConfig";
@@ -1179,6 +1181,7 @@ const _sO = "sortOrder";
1179
1181
  const _sODC = "s3OutputDataConfig";
1180
1182
  const _sOLT = "startOfLifeTime";
1181
1183
  const _sR = "supportingRules";
1184
+ const _sRC = "successRecordCount";
1182
1185
  const _sRt = "statusReasons";
1183
1186
  const _sS = "stopSequences";
1184
1187
  const _sT = "sourceType";
@@ -1230,6 +1233,7 @@ const _tPC = "topicPolicyConfig";
1230
1233
  const _tPT = "textPromptTemplate";
1231
1234
  const _tPo = "topP";
1232
1235
  const _tR = "testResult";
1236
+ const _tRC = "totalRecordCount";
1233
1237
  const _tRR = "testRunResult";
1234
1238
  const _tRS = "testRunStatus";
1235
1239
  const _tRe = "testResults";
@@ -2537,8 +2541,8 @@ exports.GetModelInvocationJobRequest$ = [3, n0, _GMIJRet,
2537
2541
  ];
2538
2542
  exports.GetModelInvocationJobResponse$ = [3, n0, _GMIJReto,
2539
2543
  0,
2540
- [_jA, _mIo, _rA, _sTu, _iDC, _oDC, _jN, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET, _mIT],
2541
- [0, 0, 0, 5, () => exports.ModelInvocationJobInputDataConfig$, () => exports.ModelInvocationJobOutputDataConfig$, 0, 0, 0, [() => Message, 0], 5, 5, () => exports.VpcConfig$, 1, 5, 0], 6
2544
+ [_jA, _mIo, _rA, _sTu, _iDC, _oDC, _jN, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET, _mIT, _tRC, _pRC, _sRC, _eRC],
2545
+ [0, 0, 0, 5, () => exports.ModelInvocationJobInputDataConfig$, () => exports.ModelInvocationJobOutputDataConfig$, 0, 0, 0, [() => Message, 0], 5, 5, () => exports.VpcConfig$, 1, 5, 0, 1, 1, 1, 1], 6
2542
2546
  ];
2543
2547
  exports.GetModelInvocationLoggingConfigurationRequest$ = [3, n0, _GMILCR,
2544
2548
  0,
@@ -3087,8 +3091,8 @@ exports.ModelInvocationJobS3OutputDataConfig$ = [3, n0, _MIJSODC,
3087
3091
  ];
3088
3092
  exports.ModelInvocationJobSummary$ = [3, n0, _MIJSo,
3089
3093
  0,
3090
- [_jA, _jN, _mIo, _rA, _sTu, _iDC, _oDC, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET, _mIT],
3091
- [0, 0, 0, 0, 5, () => exports.ModelInvocationJobInputDataConfig$, () => exports.ModelInvocationJobOutputDataConfig$, 0, 0, [() => Message, 0], 5, 5, () => exports.VpcConfig$, 1, 5, 0], 7
3094
+ [_jA, _jN, _mIo, _rA, _sTu, _iDC, _oDC, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET, _mIT, _tRC, _pRC, _sRC, _eRC],
3095
+ [0, 0, 0, 0, 5, () => exports.ModelInvocationJobInputDataConfig$, () => exports.ModelInvocationJobOutputDataConfig$, 0, 0, [() => Message, 0], 5, 5, () => exports.VpcConfig$, 1, 5, 0, 1, 1, 1, 1], 7
3092
3096
  ];
3093
3097
  exports.Offer$ = [3, n0, _O,
3094
3098
  0,
@@ -849,6 +849,7 @@ const _eMx = "excludedModels";
849
849
  const _eN = "endpointName";
850
850
  const _eOLT = "endOfLifeTime";
851
851
  const _eR = "expectedResult";
852
+ const _eRC = "errorRecordCount";
852
853
  const _eRx = "executionRole";
853
854
  const _eS = "endpointStatus";
854
855
  const _eSC = "externalSourcesConfiguration";
@@ -1086,6 +1087,7 @@ const _pN = "pageNumber";
1086
1087
  const _pNr = "providerName";
1087
1088
  const _pRA = "promptRouterArn";
1088
1089
  const _pRAo = "policyRepairAssets";
1090
+ const _pRC = "processedRecordCount";
1089
1091
  const _pRN = "promptRouterName";
1090
1092
  const _pRS = "promptRouterSummaries";
1091
1093
  const _pRSC = "precomputedRagSourceConfig";
@@ -1165,6 +1167,7 @@ const _sO = "sortOrder";
1165
1167
  const _sODC = "s3OutputDataConfig";
1166
1168
  const _sOLT = "startOfLifeTime";
1167
1169
  const _sR = "supportingRules";
1170
+ const _sRC = "successRecordCount";
1168
1171
  const _sRt = "statusReasons";
1169
1172
  const _sS = "stopSequences";
1170
1173
  const _sT = "sourceType";
@@ -1216,6 +1219,7 @@ const _tPC = "topicPolicyConfig";
1216
1219
  const _tPT = "textPromptTemplate";
1217
1220
  const _tPo = "topP";
1218
1221
  const _tR = "testResult";
1222
+ const _tRC = "totalRecordCount";
1219
1223
  const _tRR = "testRunResult";
1220
1224
  const _tRS = "testRunStatus";
1221
1225
  const _tRe = "testResults";
@@ -2523,8 +2527,8 @@ export var GetModelInvocationJobRequest$ = [3, n0, _GMIJRet,
2523
2527
  ];
2524
2528
  export var GetModelInvocationJobResponse$ = [3, n0, _GMIJReto,
2525
2529
  0,
2526
- [_jA, _mIo, _rA, _sTu, _iDC, _oDC, _jN, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET, _mIT],
2527
- [0, 0, 0, 5, () => ModelInvocationJobInputDataConfig$, () => ModelInvocationJobOutputDataConfig$, 0, 0, 0, [() => Message, 0], 5, 5, () => VpcConfig$, 1, 5, 0], 6
2530
+ [_jA, _mIo, _rA, _sTu, _iDC, _oDC, _jN, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET, _mIT, _tRC, _pRC, _sRC, _eRC],
2531
+ [0, 0, 0, 5, () => ModelInvocationJobInputDataConfig$, () => ModelInvocationJobOutputDataConfig$, 0, 0, 0, [() => Message, 0], 5, 5, () => VpcConfig$, 1, 5, 0, 1, 1, 1, 1], 6
2528
2532
  ];
2529
2533
  export var GetModelInvocationLoggingConfigurationRequest$ = [3, n0, _GMILCR,
2530
2534
  0,
@@ -3073,8 +3077,8 @@ export var ModelInvocationJobS3OutputDataConfig$ = [3, n0, _MIJSODC,
3073
3077
  ];
3074
3078
  export var ModelInvocationJobSummary$ = [3, n0, _MIJSo,
3075
3079
  0,
3076
- [_jA, _jN, _mIo, _rA, _sTu, _iDC, _oDC, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET, _mIT],
3077
- [0, 0, 0, 0, 5, () => ModelInvocationJobInputDataConfig$, () => ModelInvocationJobOutputDataConfig$, 0, 0, [() => Message, 0], 5, 5, () => VpcConfig$, 1, 5, 0], 7
3080
+ [_jA, _jN, _mIo, _rA, _sTu, _iDC, _oDC, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET, _mIT, _tRC, _pRC, _sRC, _eRC],
3081
+ [0, 0, 0, 0, 5, () => ModelInvocationJobInputDataConfig$, () => ModelInvocationJobOutputDataConfig$, 0, 0, [() => Message, 0], 5, 5, () => VpcConfig$, 1, 5, 0, 1, 1, 1, 1], 7
3078
3082
  ];
3079
3083
  export var Offer$ = [3, n0, _O,
3080
3084
  0,
@@ -77,6 +77,10 @@ declare const GetModelInvocationJobCommand_base: {
77
77
  * // timeoutDurationInHours: Number("int"),
78
78
  * // jobExpirationTime: new Date("TIMESTAMP"),
79
79
  * // modelInvocationType: "InvokeModel" || "Converse",
80
+ * // totalRecordCount: Number("long"),
81
+ * // processedRecordCount: Number("long"),
82
+ * // successRecordCount: Number("long"),
83
+ * // errorRecordCount: Number("long"),
80
84
  * // };
81
85
  *
82
86
  * ```
@@ -87,6 +87,10 @@ declare const ListModelInvocationJobsCommand_base: {
87
87
  * // timeoutDurationInHours: Number("int"),
88
88
  * // jobExpirationTime: new Date("TIMESTAMP"),
89
89
  * // modelInvocationType: "InvokeModel" || "Converse",
90
+ * // totalRecordCount: Number("long"),
91
+ * // processedRecordCount: Number("long"),
92
+ * // successRecordCount: Number("long"),
93
+ * // errorRecordCount: Number("long"),
90
94
  * // },
91
95
  * // ],
92
96
  * // };
@@ -1741,6 +1741,26 @@ export interface GetModelInvocationJobResponse {
1741
1741
  * @public
1742
1742
  */
1743
1743
  modelInvocationType?: ModelInvocationType | undefined;
1744
+ /**
1745
+ * <p>The total number of records in the batch inference job.</p>
1746
+ * @public
1747
+ */
1748
+ totalRecordCount?: number | undefined;
1749
+ /**
1750
+ * <p>The number of records that have been processed in the batch inference job.</p>
1751
+ * @public
1752
+ */
1753
+ processedRecordCount?: number | undefined;
1754
+ /**
1755
+ * <p>The number of records that were successfully processed in the batch inference job.</p>
1756
+ * @public
1757
+ */
1758
+ successRecordCount?: number | undefined;
1759
+ /**
1760
+ * <p>The number of records that failed to process in the batch inference job.</p>
1761
+ * @public
1762
+ */
1763
+ errorRecordCount?: number | undefined;
1744
1764
  }
1745
1765
  /**
1746
1766
  * @public
@@ -1872,6 +1892,26 @@ export interface ModelInvocationJobSummary {
1872
1892
  * @public
1873
1893
  */
1874
1894
  modelInvocationType?: ModelInvocationType | undefined;
1895
+ /**
1896
+ * <p>The total number of records in the batch inference job.</p>
1897
+ * @public
1898
+ */
1899
+ totalRecordCount?: number | undefined;
1900
+ /**
1901
+ * <p>The number of records that have been processed in the batch inference job.</p>
1902
+ * @public
1903
+ */
1904
+ processedRecordCount?: number | undefined;
1905
+ /**
1906
+ * <p>The number of records that were successfully processed in the batch inference job.</p>
1907
+ * @public
1908
+ */
1909
+ successRecordCount?: number | undefined;
1910
+ /**
1911
+ * <p>The number of records that failed to process in the batch inference job.</p>
1912
+ * @public
1913
+ */
1914
+ errorRecordCount?: number | undefined;
1875
1915
  }
1876
1916
  /**
1877
1917
  * @public
@@ -506,6 +506,10 @@ export interface GetModelInvocationJobResponse {
506
506
  timeoutDurationInHours?: number | undefined;
507
507
  jobExpirationTime?: Date | undefined;
508
508
  modelInvocationType?: ModelInvocationType | undefined;
509
+ totalRecordCount?: number | undefined;
510
+ processedRecordCount?: number | undefined;
511
+ successRecordCount?: number | undefined;
512
+ errorRecordCount?: number | undefined;
509
513
  }
510
514
  export interface ListModelInvocationJobsRequest {
511
515
  submitTimeAfter?: Date | undefined;
@@ -534,6 +538,10 @@ export interface ModelInvocationJobSummary {
534
538
  timeoutDurationInHours?: number | undefined;
535
539
  jobExpirationTime?: Date | undefined;
536
540
  modelInvocationType?: ModelInvocationType | undefined;
541
+ totalRecordCount?: number | undefined;
542
+ processedRecordCount?: number | undefined;
543
+ successRecordCount?: number | undefined;
544
+ errorRecordCount?: number | undefined;
537
545
  }
538
546
  export interface ListModelInvocationJobsResponse {
539
547
  nextToken?: string | undefined;
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.1021.0",
4
+ "version": "3.1023.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-bedrock",
@@ -28,7 +28,7 @@
28
28
  "@aws-sdk/middleware-recursion-detection": "^3.972.9",
29
29
  "@aws-sdk/middleware-user-agent": "^3.972.28",
30
30
  "@aws-sdk/region-config-resolver": "^3.972.10",
31
- "@aws-sdk/token-providers": "3.1021.0",
31
+ "@aws-sdk/token-providers": "3.1023.0",
32
32
  "@aws-sdk/types": "^3.973.6",
33
33
  "@aws-sdk/util-endpoints": "^3.996.5",
34
34
  "@aws-sdk/util-user-agent-browser": "^3.972.8",