@aws-sdk/client-bedrock 3.998.0 → 3.1000.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 +5 -0
- package/dist-cjs/schemas/schemas_0.js +15 -10
- package/dist-es/models/enums.js +4 -0
- package/dist-es/schemas/schemas_0.js +15 -10
- package/dist-types/commands/CreateModelInvocationJobCommand.d.ts +1 -0
- package/dist-types/commands/GetFoundationModelCommand.d.ts +4 -0
- package/dist-types/commands/GetModelInvocationJobCommand.d.ts +1 -0
- package/dist-types/commands/ListFoundationModelsCommand.d.ts +4 -0
- package/dist-types/commands/ListModelInvocationJobsCommand.d.ts +1 -0
- package/dist-types/models/enums.d.ts +12 -0
- package/dist-types/models/models_1.d.ts +36 -1
- package/dist-types/ts3.4/models/enums.d.ts +6 -0
- package/dist-types/ts3.4/models/models_1.d.ts +8 -0
- package/package.json +13 -13
package/dist-cjs/index.js
CHANGED
|
@@ -1748,6 +1748,10 @@ const ModelImportJobStatus = {
|
|
|
1748
1748
|
const S3InputFormat = {
|
|
1749
1749
|
JSONL: "JSONL",
|
|
1750
1750
|
};
|
|
1751
|
+
const ModelInvocationType = {
|
|
1752
|
+
Converse: "Converse",
|
|
1753
|
+
InvokeModel: "InvokeModel",
|
|
1754
|
+
};
|
|
1751
1755
|
const ModelInvocationJobStatus = {
|
|
1752
1756
|
COMPLETED: "Completed",
|
|
1753
1757
|
EXPIRED: "Expired",
|
|
@@ -1973,6 +1977,7 @@ exports.ModelCustomization = ModelCustomization;
|
|
|
1973
1977
|
exports.ModelCustomizationJobStatus = ModelCustomizationJobStatus;
|
|
1974
1978
|
exports.ModelImportJobStatus = ModelImportJobStatus;
|
|
1975
1979
|
exports.ModelInvocationJobStatus = ModelInvocationJobStatus;
|
|
1980
|
+
exports.ModelInvocationType = ModelInvocationType;
|
|
1976
1981
|
exports.ModelModality = ModelModality;
|
|
1977
1982
|
exports.ModelStatus = ModelStatus;
|
|
1978
1983
|
exports.OfferType = OfferType;
|
|
@@ -858,6 +858,7 @@ const _eM = "errorMessage";
|
|
|
858
858
|
const _eMC = "evaluatorModelConfig";
|
|
859
859
|
const _eMI = "evaluatorModelIdentifiers";
|
|
860
860
|
const _eN = "endpointName";
|
|
861
|
+
const _eOLT = "endOfLifeTime";
|
|
861
862
|
const _eR = "expectedResult";
|
|
862
863
|
const _eRx = "executionRole";
|
|
863
864
|
const _eS = "endpointStatus";
|
|
@@ -987,7 +988,8 @@ const _lN = "lineNumber";
|
|
|
987
988
|
const _lR = "learningRate";
|
|
988
989
|
const _lT = "lineText";
|
|
989
990
|
const _lTOE = "lessThanOrEquals";
|
|
990
|
-
const _lTe = "
|
|
991
|
+
const _lTe = "legacyTime";
|
|
992
|
+
const _lTeg = "legalTerm";
|
|
991
993
|
const _lTes = "lessThan";
|
|
992
994
|
const _lUA = "lastUpdatedAt";
|
|
993
995
|
const _lUASH = "lastUpdatedAnnotationSetHash";
|
|
@@ -1013,6 +1015,7 @@ const _mDS = "modelDataSource";
|
|
|
1013
1015
|
const _mDSo = "modelDeploymentSummaries";
|
|
1014
1016
|
const _mI = "modelIdentifier";
|
|
1015
1017
|
const _mIJS = "modelImportJobSummaries";
|
|
1018
|
+
const _mIT = "modelInvocationType";
|
|
1016
1019
|
const _mIo = "modelId";
|
|
1017
1020
|
const _mIod = "modelIdentifiers";
|
|
1018
1021
|
const _mKKA = "modelKmsKeyArn";
|
|
@@ -1078,6 +1081,7 @@ const _pDR = "policyDefinitionRule";
|
|
|
1078
1081
|
const _pDT = "policyDefinitionType";
|
|
1079
1082
|
const _pDV = "policyDefinitionVariable";
|
|
1080
1083
|
const _pE = "priorElement";
|
|
1084
|
+
const _pEAT = "publicExtendedAccessTime";
|
|
1081
1085
|
const _pEC = "piiEntitiesConfig";
|
|
1082
1086
|
const _pEi = "piiEntities";
|
|
1083
1087
|
const _pI = "policyId";
|
|
@@ -1168,6 +1172,7 @@ const _sMa = "sageMaker";
|
|
|
1168
1172
|
const _sMe = "selectionMode";
|
|
1169
1173
|
const _sO = "sortOrder";
|
|
1170
1174
|
const _sODC = "s3OutputDataConfig";
|
|
1175
|
+
const _sOLT = "startOfLifeTime";
|
|
1171
1176
|
const _sR = "supportingRules";
|
|
1172
1177
|
const _sRt = "statusReasons";
|
|
1173
1178
|
const _sS = "stopSequences";
|
|
@@ -1992,8 +1997,8 @@ exports.CreateModelImportJobResponse$ = [3, n0, _CMIJRr,
|
|
|
1992
1997
|
];
|
|
1993
1998
|
exports.CreateModelInvocationJobRequest$ = [3, n0, _CMIJRre,
|
|
1994
1999
|
0,
|
|
1995
|
-
[_jN, _rA, _mIo, _iDC, _oDC, _cRT, _vCp, _tDIH, _ta],
|
|
1996
|
-
[0, 0, 0, () => exports.ModelInvocationJobInputDataConfig$, () => exports.ModelInvocationJobOutputDataConfig$, [0, 4], () => exports.VpcConfig$, 1, () => TagList], 5
|
|
2000
|
+
[_jN, _rA, _mIo, _iDC, _oDC, _cRT, _vCp, _tDIH, _ta, _mIT],
|
|
2001
|
+
[0, 0, 0, () => exports.ModelInvocationJobInputDataConfig$, () => exports.ModelInvocationJobOutputDataConfig$, [0, 4], () => exports.VpcConfig$, 1, () => TagList, 0], 5
|
|
1997
2002
|
];
|
|
1998
2003
|
exports.CreateModelInvocationJobResponse$ = [3, n0, _CMIJRrea,
|
|
1999
2004
|
0,
|
|
@@ -2317,8 +2322,8 @@ exports.FoundationModelDetails$ = [3, n0, _FMD,
|
|
|
2317
2322
|
];
|
|
2318
2323
|
exports.FoundationModelLifecycle$ = [3, n0, _FML,
|
|
2319
2324
|
0,
|
|
2320
|
-
[_st],
|
|
2321
|
-
[0], 1
|
|
2325
|
+
[_st, _sOLT, _eOLT, _lTe, _pEAT],
|
|
2326
|
+
[0, 5, 5, 5, 5], 1
|
|
2322
2327
|
];
|
|
2323
2328
|
exports.FoundationModelSummary$ = [3, n0, _FMS,
|
|
2324
2329
|
0,
|
|
@@ -2527,8 +2532,8 @@ exports.GetModelInvocationJobRequest$ = [3, n0, _GMIJRet,
|
|
|
2527
2532
|
];
|
|
2528
2533
|
exports.GetModelInvocationJobResponse$ = [3, n0, _GMIJReto,
|
|
2529
2534
|
0,
|
|
2530
|
-
[_jA, _mIo, _rA, _sTu, _iDC, _oDC, _jN, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET],
|
|
2531
|
-
[0, 0, 0, 5, () => exports.ModelInvocationJobInputDataConfig$, () => exports.ModelInvocationJobOutputDataConfig$, 0, 0, 0, [() => Message, 0], 5, 5, () => exports.VpcConfig$, 1, 5], 6
|
|
2535
|
+
[_jA, _mIo, _rA, _sTu, _iDC, _oDC, _jN, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET, _mIT],
|
|
2536
|
+
[0, 0, 0, 5, () => exports.ModelInvocationJobInputDataConfig$, () => exports.ModelInvocationJobOutputDataConfig$, 0, 0, 0, [() => Message, 0], 5, 5, () => exports.VpcConfig$, 1, 5, 0], 6
|
|
2532
2537
|
];
|
|
2533
2538
|
exports.GetModelInvocationLoggingConfigurationRequest$ = [3, n0, _GMILCR,
|
|
2534
2539
|
0,
|
|
@@ -3072,8 +3077,8 @@ exports.ModelInvocationJobS3OutputDataConfig$ = [3, n0, _MIJSODC,
|
|
|
3072
3077
|
];
|
|
3073
3078
|
exports.ModelInvocationJobSummary$ = [3, n0, _MIJSo,
|
|
3074
3079
|
0,
|
|
3075
|
-
[_jA, _jN, _mIo, _rA, _sTu, _iDC, _oDC, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET],
|
|
3076
|
-
[0, 0, 0, 0, 5, () => exports.ModelInvocationJobInputDataConfig$, () => exports.ModelInvocationJobOutputDataConfig$, 0, 0, [() => Message, 0], 5, 5, () => exports.VpcConfig$, 1, 5], 7
|
|
3080
|
+
[_jA, _jN, _mIo, _rA, _sTu, _iDC, _oDC, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET, _mIT],
|
|
3081
|
+
[0, 0, 0, 0, 5, () => exports.ModelInvocationJobInputDataConfig$, () => exports.ModelInvocationJobOutputDataConfig$, 0, 0, [() => Message, 0], 5, 5, () => exports.VpcConfig$, 1, 5, 0], 7
|
|
3077
3082
|
];
|
|
3078
3083
|
exports.Offer$ = [3, n0, _O,
|
|
3079
3084
|
0,
|
|
@@ -3302,7 +3307,7 @@ exports.TeacherModelConfig$ = [3, n0, _TMC,
|
|
|
3302
3307
|
];
|
|
3303
3308
|
exports.TermDetails$ = [3, n0, _TD,
|
|
3304
3309
|
0,
|
|
3305
|
-
[_uBPT,
|
|
3310
|
+
[_uBPT, _lTeg, _sTup, _vT],
|
|
3306
3311
|
[() => exports.PricingTerm$, () => exports.LegalTerm$, () => exports.SupportTerm$, () => exports.ValidityTerm$], 3
|
|
3307
3312
|
];
|
|
3308
3313
|
exports.TextInferenceConfig$ = [3, n0, _TIC,
|
package/dist-es/models/enums.js
CHANGED
|
@@ -288,6 +288,10 @@ export const ModelImportJobStatus = {
|
|
|
288
288
|
export const S3InputFormat = {
|
|
289
289
|
JSONL: "JSONL",
|
|
290
290
|
};
|
|
291
|
+
export const ModelInvocationType = {
|
|
292
|
+
Converse: "Converse",
|
|
293
|
+
InvokeModel: "InvokeModel",
|
|
294
|
+
};
|
|
291
295
|
export const ModelInvocationJobStatus = {
|
|
292
296
|
COMPLETED: "Completed",
|
|
293
297
|
EXPIRED: "Expired",
|
|
@@ -845,6 +845,7 @@ const _eM = "errorMessage";
|
|
|
845
845
|
const _eMC = "evaluatorModelConfig";
|
|
846
846
|
const _eMI = "evaluatorModelIdentifiers";
|
|
847
847
|
const _eN = "endpointName";
|
|
848
|
+
const _eOLT = "endOfLifeTime";
|
|
848
849
|
const _eR = "expectedResult";
|
|
849
850
|
const _eRx = "executionRole";
|
|
850
851
|
const _eS = "endpointStatus";
|
|
@@ -974,7 +975,8 @@ const _lN = "lineNumber";
|
|
|
974
975
|
const _lR = "learningRate";
|
|
975
976
|
const _lT = "lineText";
|
|
976
977
|
const _lTOE = "lessThanOrEquals";
|
|
977
|
-
const _lTe = "
|
|
978
|
+
const _lTe = "legacyTime";
|
|
979
|
+
const _lTeg = "legalTerm";
|
|
978
980
|
const _lTes = "lessThan";
|
|
979
981
|
const _lUA = "lastUpdatedAt";
|
|
980
982
|
const _lUASH = "lastUpdatedAnnotationSetHash";
|
|
@@ -1000,6 +1002,7 @@ const _mDS = "modelDataSource";
|
|
|
1000
1002
|
const _mDSo = "modelDeploymentSummaries";
|
|
1001
1003
|
const _mI = "modelIdentifier";
|
|
1002
1004
|
const _mIJS = "modelImportJobSummaries";
|
|
1005
|
+
const _mIT = "modelInvocationType";
|
|
1003
1006
|
const _mIo = "modelId";
|
|
1004
1007
|
const _mIod = "modelIdentifiers";
|
|
1005
1008
|
const _mKKA = "modelKmsKeyArn";
|
|
@@ -1065,6 +1068,7 @@ const _pDR = "policyDefinitionRule";
|
|
|
1065
1068
|
const _pDT = "policyDefinitionType";
|
|
1066
1069
|
const _pDV = "policyDefinitionVariable";
|
|
1067
1070
|
const _pE = "priorElement";
|
|
1071
|
+
const _pEAT = "publicExtendedAccessTime";
|
|
1068
1072
|
const _pEC = "piiEntitiesConfig";
|
|
1069
1073
|
const _pEi = "piiEntities";
|
|
1070
1074
|
const _pI = "policyId";
|
|
@@ -1155,6 +1159,7 @@ const _sMa = "sageMaker";
|
|
|
1155
1159
|
const _sMe = "selectionMode";
|
|
1156
1160
|
const _sO = "sortOrder";
|
|
1157
1161
|
const _sODC = "s3OutputDataConfig";
|
|
1162
|
+
const _sOLT = "startOfLifeTime";
|
|
1158
1163
|
const _sR = "supportingRules";
|
|
1159
1164
|
const _sRt = "statusReasons";
|
|
1160
1165
|
const _sS = "stopSequences";
|
|
@@ -1979,8 +1984,8 @@ export var CreateModelImportJobResponse$ = [3, n0, _CMIJRr,
|
|
|
1979
1984
|
];
|
|
1980
1985
|
export var CreateModelInvocationJobRequest$ = [3, n0, _CMIJRre,
|
|
1981
1986
|
0,
|
|
1982
|
-
[_jN, _rA, _mIo, _iDC, _oDC, _cRT, _vCp, _tDIH, _ta],
|
|
1983
|
-
[0, 0, 0, () => ModelInvocationJobInputDataConfig$, () => ModelInvocationJobOutputDataConfig$, [0, 4], () => VpcConfig$, 1, () => TagList], 5
|
|
1987
|
+
[_jN, _rA, _mIo, _iDC, _oDC, _cRT, _vCp, _tDIH, _ta, _mIT],
|
|
1988
|
+
[0, 0, 0, () => ModelInvocationJobInputDataConfig$, () => ModelInvocationJobOutputDataConfig$, [0, 4], () => VpcConfig$, 1, () => TagList, 0], 5
|
|
1984
1989
|
];
|
|
1985
1990
|
export var CreateModelInvocationJobResponse$ = [3, n0, _CMIJRrea,
|
|
1986
1991
|
0,
|
|
@@ -2304,8 +2309,8 @@ export var FoundationModelDetails$ = [3, n0, _FMD,
|
|
|
2304
2309
|
];
|
|
2305
2310
|
export var FoundationModelLifecycle$ = [3, n0, _FML,
|
|
2306
2311
|
0,
|
|
2307
|
-
[_st],
|
|
2308
|
-
[0], 1
|
|
2312
|
+
[_st, _sOLT, _eOLT, _lTe, _pEAT],
|
|
2313
|
+
[0, 5, 5, 5, 5], 1
|
|
2309
2314
|
];
|
|
2310
2315
|
export var FoundationModelSummary$ = [3, n0, _FMS,
|
|
2311
2316
|
0,
|
|
@@ -2514,8 +2519,8 @@ export var GetModelInvocationJobRequest$ = [3, n0, _GMIJRet,
|
|
|
2514
2519
|
];
|
|
2515
2520
|
export var GetModelInvocationJobResponse$ = [3, n0, _GMIJReto,
|
|
2516
2521
|
0,
|
|
2517
|
-
[_jA, _mIo, _rA, _sTu, _iDC, _oDC, _jN, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET],
|
|
2518
|
-
[0, 0, 0, 5, () => ModelInvocationJobInputDataConfig$, () => ModelInvocationJobOutputDataConfig$, 0, 0, 0, [() => Message, 0], 5, 5, () => VpcConfig$, 1, 5], 6
|
|
2522
|
+
[_jA, _mIo, _rA, _sTu, _iDC, _oDC, _jN, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET, _mIT],
|
|
2523
|
+
[0, 0, 0, 5, () => ModelInvocationJobInputDataConfig$, () => ModelInvocationJobOutputDataConfig$, 0, 0, 0, [() => Message, 0], 5, 5, () => VpcConfig$, 1, 5, 0], 6
|
|
2519
2524
|
];
|
|
2520
2525
|
export var GetModelInvocationLoggingConfigurationRequest$ = [3, n0, _GMILCR,
|
|
2521
2526
|
0,
|
|
@@ -3059,8 +3064,8 @@ export var ModelInvocationJobS3OutputDataConfig$ = [3, n0, _MIJSODC,
|
|
|
3059
3064
|
];
|
|
3060
3065
|
export var ModelInvocationJobSummary$ = [3, n0, _MIJSo,
|
|
3061
3066
|
0,
|
|
3062
|
-
[_jA, _jN, _mIo, _rA, _sTu, _iDC, _oDC, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET],
|
|
3063
|
-
[0, 0, 0, 0, 5, () => ModelInvocationJobInputDataConfig$, () => ModelInvocationJobOutputDataConfig$, 0, 0, [() => Message, 0], 5, 5, () => VpcConfig$, 1, 5], 7
|
|
3067
|
+
[_jA, _jN, _mIo, _rA, _sTu, _iDC, _oDC, _cRT, _st, _m, _lMT, _eT, _vCp, _tDIH, _jET, _mIT],
|
|
3068
|
+
[0, 0, 0, 0, 5, () => ModelInvocationJobInputDataConfig$, () => ModelInvocationJobOutputDataConfig$, 0, 0, [() => Message, 0], 5, 5, () => VpcConfig$, 1, 5, 0], 7
|
|
3064
3069
|
];
|
|
3065
3070
|
export var Offer$ = [3, n0, _O,
|
|
3066
3071
|
0,
|
|
@@ -3289,7 +3294,7 @@ export var TeacherModelConfig$ = [3, n0, _TMC,
|
|
|
3289
3294
|
];
|
|
3290
3295
|
export var TermDetails$ = [3, n0, _TD,
|
|
3291
3296
|
0,
|
|
3292
|
-
[_uBPT,
|
|
3297
|
+
[_uBPT, _lTeg, _sTup, _vT],
|
|
3293
3298
|
[() => PricingTerm$, () => LegalTerm$, () => SupportTerm$, () => ValidityTerm$], 3
|
|
3294
3299
|
];
|
|
3295
3300
|
export var TextInferenceConfig$ = [3, n0, _TIC,
|
|
@@ -70,6 +70,7 @@ declare const CreateModelInvocationJobCommand_base: {
|
|
|
70
70
|
* value: "STRING_VALUE", // required
|
|
71
71
|
* },
|
|
72
72
|
* ],
|
|
73
|
+
* modelInvocationType: "InvokeModel" || "Converse",
|
|
73
74
|
* };
|
|
74
75
|
* const command = new CreateModelInvocationJobCommand(input);
|
|
75
76
|
* const response = await client.send(command);
|
|
@@ -62,6 +62,10 @@ declare const GetFoundationModelCommand_base: {
|
|
|
62
62
|
* // ],
|
|
63
63
|
* // modelLifecycle: { // FoundationModelLifecycle
|
|
64
64
|
* // status: "ACTIVE" || "LEGACY", // required
|
|
65
|
+
* // startOfLifeTime: new Date("TIMESTAMP"),
|
|
66
|
+
* // endOfLifeTime: new Date("TIMESTAMP"),
|
|
67
|
+
* // legacyTime: new Date("TIMESTAMP"),
|
|
68
|
+
* // publicExtendedAccessTime: new Date("TIMESTAMP"),
|
|
65
69
|
* // },
|
|
66
70
|
* // },
|
|
67
71
|
* // };
|
|
@@ -66,6 +66,10 @@ declare const ListFoundationModelsCommand_base: {
|
|
|
66
66
|
* // ],
|
|
67
67
|
* // modelLifecycle: { // FoundationModelLifecycle
|
|
68
68
|
* // status: "ACTIVE" || "LEGACY", // required
|
|
69
|
+
* // startOfLifeTime: new Date("TIMESTAMP"),
|
|
70
|
+
* // endOfLifeTime: new Date("TIMESTAMP"),
|
|
71
|
+
* // legacyTime: new Date("TIMESTAMP"),
|
|
72
|
+
* // publicExtendedAccessTime: new Date("TIMESTAMP"),
|
|
69
73
|
* // },
|
|
70
74
|
* // },
|
|
71
75
|
* // ],
|
|
@@ -723,6 +723,18 @@ export declare const S3InputFormat: {
|
|
|
723
723
|
* @public
|
|
724
724
|
*/
|
|
725
725
|
export type S3InputFormat = (typeof S3InputFormat)[keyof typeof S3InputFormat];
|
|
726
|
+
/**
|
|
727
|
+
* @public
|
|
728
|
+
* @enum
|
|
729
|
+
*/
|
|
730
|
+
export declare const ModelInvocationType: {
|
|
731
|
+
readonly Converse: "Converse";
|
|
732
|
+
readonly InvokeModel: "InvokeModel";
|
|
733
|
+
};
|
|
734
|
+
/**
|
|
735
|
+
* @public
|
|
736
|
+
*/
|
|
737
|
+
export type ModelInvocationType = (typeof ModelInvocationType)[keyof typeof ModelInvocationType];
|
|
726
738
|
/**
|
|
727
739
|
* @public
|
|
728
740
|
* @enum
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApplicationType, AuthorizationStatus, CommitmentDuration, CustomizationType, EntitlementAvailability, EvaluationJobStatus, EvaluationJobType, FineTuningJobStatus, FoundationModelLifecycleStatus, GuardrailManagedWordsType, GuardrailStatus, GuardrailTopicAction, GuardrailTopicType, GuardrailWordAction, InferenceProfileStatus, InferenceProfileType, InferenceType, JobStatusDetails, ModelCopyJobStatus, ModelCustomization, ModelCustomizationJobStatus, ModelImportJobStatus, ModelInvocationJobStatus, ModelModality, OfferType, PromptRouterStatus, PromptRouterType, ProvisionedModelStatus, RegionAvailability, RetrieveAndGenerateType, S3InputFormat, SearchType, SortByProvisionedModels, SortJobsBy, SortModelsBy, SortOrder } from "./enums";
|
|
1
|
+
import { ApplicationType, AuthorizationStatus, CommitmentDuration, CustomizationType, EntitlementAvailability, EvaluationJobStatus, EvaluationJobType, FineTuningJobStatus, FoundationModelLifecycleStatus, GuardrailManagedWordsType, GuardrailStatus, GuardrailTopicAction, GuardrailTopicType, GuardrailWordAction, InferenceProfileStatus, InferenceProfileType, InferenceType, JobStatusDetails, ModelCopyJobStatus, ModelCustomization, ModelCustomizationJobStatus, ModelImportJobStatus, ModelInvocationJobStatus, ModelInvocationType, 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 GuardrailAutomatedReasoningPolicy, type GuardrailAutomatedReasoningPolicyConfig, type GuardrailContentPolicy, type GuardrailContentPolicyConfig, type GuardrailContextualGroundingPolicy, type GuardrailContextualGroundingPolicyConfig, type GuardrailCrossRegionConfig, type GuardrailCrossRegionDetails, type GuardrailSensitiveInformationPolicy, type GuardrailSensitiveInformationPolicyConfig, type GuardrailTopicPolicyConfig, type GuardrailTopicsTier, type GuardrailWordPolicyConfig, 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
3
|
/**
|
|
4
4
|
* <p>Details about topics for the guardrail to identify and deny.</p> <p>This data type is used in the following API operations:</p> <ul> <li> <p> <a href="https://docs.aws.amazon.com/bedrock/latest/APIReference/API_GetGuardrail.html#API_GetGuardrail_ResponseSyntax">GetGuardrail response body</a> </p> </li> </ul>
|
|
@@ -1620,6 +1620,11 @@ export interface CreateModelInvocationJobRequest {
|
|
|
1620
1620
|
* @public
|
|
1621
1621
|
*/
|
|
1622
1622
|
tags?: Tag[] | undefined;
|
|
1623
|
+
/**
|
|
1624
|
+
* <p>The invocation endpoint for ModelInvocationJob</p>
|
|
1625
|
+
* @public
|
|
1626
|
+
*/
|
|
1627
|
+
modelInvocationType?: ModelInvocationType | undefined;
|
|
1623
1628
|
}
|
|
1624
1629
|
/**
|
|
1625
1630
|
* @public
|
|
@@ -1720,6 +1725,11 @@ export interface GetModelInvocationJobResponse {
|
|
|
1720
1725
|
* @public
|
|
1721
1726
|
*/
|
|
1722
1727
|
jobExpirationTime?: Date | undefined;
|
|
1728
|
+
/**
|
|
1729
|
+
* <p>The invocation endpoint for ModelInvocationJob</p>
|
|
1730
|
+
* @public
|
|
1731
|
+
*/
|
|
1732
|
+
modelInvocationType?: ModelInvocationType | undefined;
|
|
1723
1733
|
}
|
|
1724
1734
|
/**
|
|
1725
1735
|
* @public
|
|
@@ -1846,6 +1856,11 @@ export interface ModelInvocationJobSummary {
|
|
|
1846
1856
|
* @public
|
|
1847
1857
|
*/
|
|
1848
1858
|
jobExpirationTime?: Date | undefined;
|
|
1859
|
+
/**
|
|
1860
|
+
* <p>The invocation endpoint for ModelInvocationJob</p>
|
|
1861
|
+
* @public
|
|
1862
|
+
*/
|
|
1863
|
+
modelInvocationType?: ModelInvocationType | undefined;
|
|
1849
1864
|
}
|
|
1850
1865
|
/**
|
|
1851
1866
|
* @public
|
|
@@ -1897,6 +1912,26 @@ export interface FoundationModelLifecycle {
|
|
|
1897
1912
|
* @public
|
|
1898
1913
|
*/
|
|
1899
1914
|
status: FoundationModelLifecycleStatus | undefined;
|
|
1915
|
+
/**
|
|
1916
|
+
* <p>Launch time when the model first becomes available</p>
|
|
1917
|
+
* @public
|
|
1918
|
+
*/
|
|
1919
|
+
startOfLifeTime?: Date | undefined;
|
|
1920
|
+
/**
|
|
1921
|
+
* <p>Time when the model is no longer available for use</p>
|
|
1922
|
+
* @public
|
|
1923
|
+
*/
|
|
1924
|
+
endOfLifeTime?: Date | undefined;
|
|
1925
|
+
/**
|
|
1926
|
+
* <p>Time when the model enters legacy state. Models in legacy state can still be used, but users should plan to transition to an Active model before the end of life time</p>
|
|
1927
|
+
* @public
|
|
1928
|
+
*/
|
|
1929
|
+
legacyTime?: Date | undefined;
|
|
1930
|
+
/**
|
|
1931
|
+
* <p>Public extended access portion of the legacy period, when users should expect higher pricing</p>
|
|
1932
|
+
* @public
|
|
1933
|
+
*/
|
|
1934
|
+
publicExtendedAccessTime?: Date | undefined;
|
|
1900
1935
|
}
|
|
1901
1936
|
/**
|
|
1902
1937
|
* <p>Information about a foundation model.</p>
|
|
@@ -387,6 +387,12 @@ export declare const S3InputFormat: {
|
|
|
387
387
|
readonly JSONL: "JSONL";
|
|
388
388
|
};
|
|
389
389
|
export type S3InputFormat = (typeof S3InputFormat)[keyof typeof S3InputFormat];
|
|
390
|
+
export declare const ModelInvocationType: {
|
|
391
|
+
readonly Converse: "Converse";
|
|
392
|
+
readonly InvokeModel: "InvokeModel";
|
|
393
|
+
};
|
|
394
|
+
export type ModelInvocationType =
|
|
395
|
+
(typeof ModelInvocationType)[keyof typeof ModelInvocationType];
|
|
390
396
|
export declare const ModelInvocationJobStatus: {
|
|
391
397
|
readonly COMPLETED: "Completed";
|
|
392
398
|
readonly EXPIRED: "Expired";
|
|
@@ -22,6 +22,7 @@ import {
|
|
|
22
22
|
ModelCustomizationJobStatus,
|
|
23
23
|
ModelImportJobStatus,
|
|
24
24
|
ModelInvocationJobStatus,
|
|
25
|
+
ModelInvocationType,
|
|
25
26
|
ModelModality,
|
|
26
27
|
OfferType,
|
|
27
28
|
PromptRouterStatus,
|
|
@@ -477,6 +478,7 @@ export interface CreateModelInvocationJobRequest {
|
|
|
477
478
|
vpcConfig?: VpcConfig | undefined;
|
|
478
479
|
timeoutDurationInHours?: number | undefined;
|
|
479
480
|
tags?: Tag[] | undefined;
|
|
481
|
+
modelInvocationType?: ModelInvocationType | undefined;
|
|
480
482
|
}
|
|
481
483
|
export interface CreateModelInvocationJobResponse {
|
|
482
484
|
jobArn: string | undefined;
|
|
@@ -500,6 +502,7 @@ export interface GetModelInvocationJobResponse {
|
|
|
500
502
|
vpcConfig?: VpcConfig | undefined;
|
|
501
503
|
timeoutDurationInHours?: number | undefined;
|
|
502
504
|
jobExpirationTime?: Date | undefined;
|
|
505
|
+
modelInvocationType?: ModelInvocationType | undefined;
|
|
503
506
|
}
|
|
504
507
|
export interface ListModelInvocationJobsRequest {
|
|
505
508
|
submitTimeAfter?: Date | undefined;
|
|
@@ -527,6 +530,7 @@ export interface ModelInvocationJobSummary {
|
|
|
527
530
|
vpcConfig?: VpcConfig | undefined;
|
|
528
531
|
timeoutDurationInHours?: number | undefined;
|
|
529
532
|
jobExpirationTime?: Date | undefined;
|
|
533
|
+
modelInvocationType?: ModelInvocationType | undefined;
|
|
530
534
|
}
|
|
531
535
|
export interface ListModelInvocationJobsResponse {
|
|
532
536
|
nextToken?: string | undefined;
|
|
@@ -541,6 +545,10 @@ export interface GetFoundationModelRequest {
|
|
|
541
545
|
}
|
|
542
546
|
export interface FoundationModelLifecycle {
|
|
543
547
|
status: FoundationModelLifecycleStatus | undefined;
|
|
548
|
+
startOfLifeTime?: Date | undefined;
|
|
549
|
+
endOfLifeTime?: Date | undefined;
|
|
550
|
+
legacyTime?: Date | undefined;
|
|
551
|
+
publicExtendedAccessTime?: Date | undefined;
|
|
544
552
|
}
|
|
545
553
|
export interface FoundationModelDetails {
|
|
546
554
|
modelArn: 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.
|
|
4
|
+
"version": "3.1000.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",
|
|
@@ -21,18 +21,18 @@
|
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
23
23
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
24
|
-
"@aws-sdk/core": "^3.973.
|
|
25
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
26
|
-
"@aws-sdk/middleware-host-header": "^3.972.
|
|
27
|
-
"@aws-sdk/middleware-logger": "^3.972.
|
|
28
|
-
"@aws-sdk/middleware-recursion-detection": "^3.972.
|
|
29
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
30
|
-
"@aws-sdk/region-config-resolver": "^3.972.
|
|
31
|
-
"@aws-sdk/token-providers": "3.
|
|
32
|
-
"@aws-sdk/types": "^3.973.
|
|
33
|
-
"@aws-sdk/util-endpoints": "^3.996.
|
|
34
|
-
"@aws-sdk/util-user-agent-browser": "^3.972.
|
|
35
|
-
"@aws-sdk/util-user-agent-node": "^3.
|
|
24
|
+
"@aws-sdk/core": "^3.973.15",
|
|
25
|
+
"@aws-sdk/credential-provider-node": "^3.972.14",
|
|
26
|
+
"@aws-sdk/middleware-host-header": "^3.972.6",
|
|
27
|
+
"@aws-sdk/middleware-logger": "^3.972.6",
|
|
28
|
+
"@aws-sdk/middleware-recursion-detection": "^3.972.6",
|
|
29
|
+
"@aws-sdk/middleware-user-agent": "^3.972.15",
|
|
30
|
+
"@aws-sdk/region-config-resolver": "^3.972.6",
|
|
31
|
+
"@aws-sdk/token-providers": "3.1000.0",
|
|
32
|
+
"@aws-sdk/types": "^3.973.4",
|
|
33
|
+
"@aws-sdk/util-endpoints": "^3.996.3",
|
|
34
|
+
"@aws-sdk/util-user-agent-browser": "^3.972.6",
|
|
35
|
+
"@aws-sdk/util-user-agent-node": "^3.973.0",
|
|
36
36
|
"@smithy/config-resolver": "^4.4.9",
|
|
37
37
|
"@smithy/core": "^3.23.6",
|
|
38
38
|
"@smithy/fetch-http-handler": "^5.3.11",
|