@aws-sdk/client-bedrock 3.705.0 → 3.706.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/README.md +72 -0
- package/dist-cjs/index.js +614 -27
- package/dist-es/Bedrock.js +18 -0
- package/dist-es/commands/CreateMarketplaceModelEndpointCommand.js +22 -0
- package/dist-es/commands/DeleteMarketplaceModelEndpointCommand.js +22 -0
- package/dist-es/commands/DeregisterMarketplaceModelEndpointCommand.js +22 -0
- package/dist-es/commands/GetMarketplaceModelEndpointCommand.js +22 -0
- package/dist-es/commands/GetPromptRouterCommand.js +23 -0
- package/dist-es/commands/ListMarketplaceModelEndpointsCommand.js +22 -0
- package/dist-es/commands/ListPromptRoutersCommand.js +23 -0
- package/dist-es/commands/RegisterMarketplaceModelEndpointCommand.js +22 -0
- package/dist-es/commands/UpdateMarketplaceModelEndpointCommand.js +22 -0
- package/dist-es/commands/index.js +9 -0
- package/dist-es/models/models_0.js +96 -20
- package/dist-es/pagination/ListMarketplaceModelEndpointsPaginator.js +4 -0
- package/dist-es/pagination/ListPromptRoutersPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/protocols/Aws_restJson1.js +314 -1
- package/dist-types/Bedrock.d.ts +65 -0
- package/dist-types/BedrockClient.d.ts +11 -2
- package/dist-types/commands/CreateGuardrailCommand.d.ts +6 -0
- package/dist-types/commands/CreateMarketplaceModelEndpointCommand.d.ts +143 -0
- package/dist-types/commands/DeleteMarketplaceModelEndpointCommand.d.ts +84 -0
- package/dist-types/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +89 -0
- package/dist-types/commands/GetGuardrailCommand.d.ts +6 -0
- package/dist-types/commands/GetMarketplaceModelEndpointCommand.d.ts +111 -0
- package/dist-types/commands/GetPromptRouterCommand.d.ts +103 -0
- package/dist-types/commands/ListMarketplaceModelEndpointsCommand.d.ts +99 -0
- package/dist-types/commands/ListPromptRoutersCommand.d.ts +106 -0
- package/dist-types/commands/RegisterMarketplaceModelEndpointCommand.d.ts +116 -0
- package/dist-types/commands/UpdateGuardrailCommand.d.ts +6 -0
- package/dist-types/commands/UpdateMarketplaceModelEndpointCommand.d.ts +135 -0
- package/dist-types/commands/index.d.ts +9 -0
- package/dist-types/models/models_0.d.ts +736 -97
- package/dist-types/pagination/ListMarketplaceModelEndpointsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListPromptRoutersPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +81 -0
- package/dist-types/ts3.4/Bedrock.d.ts +161 -0
- package/dist-types/ts3.4/BedrockClient.d.ts +54 -0
- package/dist-types/ts3.4/commands/CreateMarketplaceModelEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteMarketplaceModelEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeregisterMarketplaceModelEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetMarketplaceModelEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetPromptRouterCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListMarketplaceModelEndpointsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListPromptRoutersCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RegisterMarketplaceModelEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/UpdateMarketplaceModelEndpointCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +9 -0
- package/dist-types/ts3.4/models/models_0.d.ts +229 -41
- package/dist-types/ts3.4/pagination/ListMarketplaceModelEndpointsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListPromptRoutersPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +108 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -43,6 +43,7 @@ __export(src_exports, {
|
|
|
43
43
|
CreateGuardrailVersionRequestFilterSensitiveLog: () => CreateGuardrailVersionRequestFilterSensitiveLog,
|
|
44
44
|
CreateInferenceProfileCommand: () => CreateInferenceProfileCommand,
|
|
45
45
|
CreateInferenceProfileRequestFilterSensitiveLog: () => CreateInferenceProfileRequestFilterSensitiveLog,
|
|
46
|
+
CreateMarketplaceModelEndpointCommand: () => CreateMarketplaceModelEndpointCommand,
|
|
46
47
|
CreateModelCopyJobCommand: () => CreateModelCopyJobCommand,
|
|
47
48
|
CreateModelCustomizationJobCommand: () => CreateModelCustomizationJobCommand,
|
|
48
49
|
CreateModelCustomizationJobRequestFilterSensitiveLog: () => CreateModelCustomizationJobRequestFilterSensitiveLog,
|
|
@@ -55,8 +56,11 @@ __export(src_exports, {
|
|
|
55
56
|
DeleteGuardrailCommand: () => DeleteGuardrailCommand,
|
|
56
57
|
DeleteImportedModelCommand: () => DeleteImportedModelCommand,
|
|
57
58
|
DeleteInferenceProfileCommand: () => DeleteInferenceProfileCommand,
|
|
59
|
+
DeleteMarketplaceModelEndpointCommand: () => DeleteMarketplaceModelEndpointCommand,
|
|
58
60
|
DeleteModelInvocationLoggingConfigurationCommand: () => DeleteModelInvocationLoggingConfigurationCommand,
|
|
59
61
|
DeleteProvisionedModelThroughputCommand: () => DeleteProvisionedModelThroughputCommand,
|
|
62
|
+
DeregisterMarketplaceModelEndpointCommand: () => DeregisterMarketplaceModelEndpointCommand,
|
|
63
|
+
EndpointConfig: () => EndpointConfig,
|
|
60
64
|
EvaluationBedrockModelFilterSensitiveLog: () => EvaluationBedrockModelFilterSensitiveLog,
|
|
61
65
|
EvaluationConfig: () => EvaluationConfig,
|
|
62
66
|
EvaluationConfigFilterSensitiveLog: () => EvaluationConfigFilterSensitiveLog,
|
|
@@ -89,6 +93,7 @@ __export(src_exports, {
|
|
|
89
93
|
GetImportedModelCommand: () => GetImportedModelCommand,
|
|
90
94
|
GetInferenceProfileCommand: () => GetInferenceProfileCommand,
|
|
91
95
|
GetInferenceProfileResponseFilterSensitiveLog: () => GetInferenceProfileResponseFilterSensitiveLog,
|
|
96
|
+
GetMarketplaceModelEndpointCommand: () => GetMarketplaceModelEndpointCommand,
|
|
92
97
|
GetModelCopyJobCommand: () => GetModelCopyJobCommand,
|
|
93
98
|
GetModelCustomizationJobCommand: () => GetModelCustomizationJobCommand,
|
|
94
99
|
GetModelCustomizationJobResponseFilterSensitiveLog: () => GetModelCustomizationJobResponseFilterSensitiveLog,
|
|
@@ -96,11 +101,18 @@ __export(src_exports, {
|
|
|
96
101
|
GetModelInvocationJobCommand: () => GetModelInvocationJobCommand,
|
|
97
102
|
GetModelInvocationJobResponseFilterSensitiveLog: () => GetModelInvocationJobResponseFilterSensitiveLog,
|
|
98
103
|
GetModelInvocationLoggingConfigurationCommand: () => GetModelInvocationLoggingConfigurationCommand,
|
|
104
|
+
GetPromptRouterCommand: () => GetPromptRouterCommand,
|
|
105
|
+
GetPromptRouterResponseFilterSensitiveLog: () => GetPromptRouterResponseFilterSensitiveLog,
|
|
99
106
|
GetProvisionedModelThroughputCommand: () => GetProvisionedModelThroughputCommand,
|
|
107
|
+
GuardrailContentFilterConfigFilterSensitiveLog: () => GuardrailContentFilterConfigFilterSensitiveLog,
|
|
108
|
+
GuardrailContentFilterFilterSensitiveLog: () => GuardrailContentFilterFilterSensitiveLog,
|
|
100
109
|
GuardrailContentFilterType: () => GuardrailContentFilterType,
|
|
110
|
+
GuardrailContentPolicyConfigFilterSensitiveLog: () => GuardrailContentPolicyConfigFilterSensitiveLog,
|
|
111
|
+
GuardrailContentPolicyFilterSensitiveLog: () => GuardrailContentPolicyFilterSensitiveLog,
|
|
101
112
|
GuardrailContextualGroundingFilterType: () => GuardrailContextualGroundingFilterType,
|
|
102
113
|
GuardrailFilterStrength: () => GuardrailFilterStrength,
|
|
103
114
|
GuardrailManagedWordsType: () => GuardrailManagedWordsType,
|
|
115
|
+
GuardrailModality: () => GuardrailModality,
|
|
104
116
|
GuardrailPiiEntityType: () => GuardrailPiiEntityType,
|
|
105
117
|
GuardrailSensitiveInformationAction: () => GuardrailSensitiveInformationAction,
|
|
106
118
|
GuardrailStatus: () => GuardrailStatus,
|
|
@@ -134,11 +146,14 @@ __export(src_exports, {
|
|
|
134
146
|
ListImportedModelsCommand: () => ListImportedModelsCommand,
|
|
135
147
|
ListInferenceProfilesCommand: () => ListInferenceProfilesCommand,
|
|
136
148
|
ListInferenceProfilesResponseFilterSensitiveLog: () => ListInferenceProfilesResponseFilterSensitiveLog,
|
|
149
|
+
ListMarketplaceModelEndpointsCommand: () => ListMarketplaceModelEndpointsCommand,
|
|
137
150
|
ListModelCopyJobsCommand: () => ListModelCopyJobsCommand,
|
|
138
151
|
ListModelCustomizationJobsCommand: () => ListModelCustomizationJobsCommand,
|
|
139
152
|
ListModelImportJobsCommand: () => ListModelImportJobsCommand,
|
|
140
153
|
ListModelInvocationJobsCommand: () => ListModelInvocationJobsCommand,
|
|
141
154
|
ListModelInvocationJobsResponseFilterSensitiveLog: () => ListModelInvocationJobsResponseFilterSensitiveLog,
|
|
155
|
+
ListPromptRoutersCommand: () => ListPromptRoutersCommand,
|
|
156
|
+
ListPromptRoutersResponseFilterSensitiveLog: () => ListPromptRoutersResponseFilterSensitiveLog,
|
|
142
157
|
ListProvisionedModelThroughputsCommand: () => ListProvisionedModelThroughputsCommand,
|
|
143
158
|
ListTagsForResourceCommand: () => ListTagsForResourceCommand,
|
|
144
159
|
ModelCopyJobStatus: () => ModelCopyJobStatus,
|
|
@@ -151,12 +166,16 @@ __export(src_exports, {
|
|
|
151
166
|
ModelInvocationJobStatus: () => ModelInvocationJobStatus,
|
|
152
167
|
ModelInvocationJobSummaryFilterSensitiveLog: () => ModelInvocationJobSummaryFilterSensitiveLog,
|
|
153
168
|
ModelModality: () => ModelModality,
|
|
169
|
+
PromptRouterStatus: () => PromptRouterStatus,
|
|
170
|
+
PromptRouterSummaryFilterSensitiveLog: () => PromptRouterSummaryFilterSensitiveLog,
|
|
171
|
+
PromptRouterType: () => PromptRouterType,
|
|
154
172
|
PromptTemplateFilterSensitiveLog: () => PromptTemplateFilterSensitiveLog,
|
|
155
173
|
ProvisionedModelStatus: () => ProvisionedModelStatus,
|
|
156
174
|
PutModelInvocationLoggingConfigurationCommand: () => PutModelInvocationLoggingConfigurationCommand,
|
|
157
175
|
QueryTransformationType: () => QueryTransformationType,
|
|
158
176
|
RAGConfig: () => RAGConfig,
|
|
159
177
|
RAGConfigFilterSensitiveLog: () => RAGConfigFilterSensitiveLog,
|
|
178
|
+
RegisterMarketplaceModelEndpointCommand: () => RegisterMarketplaceModelEndpointCommand,
|
|
160
179
|
RequestMetadataBaseFiltersFilterSensitiveLog: () => RequestMetadataBaseFiltersFilterSensitiveLog,
|
|
161
180
|
RequestMetadataFilters: () => RequestMetadataFilters,
|
|
162
181
|
RequestMetadataFiltersFilterSensitiveLog: () => RequestMetadataFiltersFilterSensitiveLog,
|
|
@@ -169,10 +188,12 @@ __export(src_exports, {
|
|
|
169
188
|
S3InputFormat: () => S3InputFormat,
|
|
170
189
|
SearchType: () => SearchType,
|
|
171
190
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
191
|
+
ServiceUnavailableException: () => ServiceUnavailableException,
|
|
172
192
|
SortByProvisionedModels: () => SortByProvisionedModels,
|
|
173
193
|
SortJobsBy: () => SortJobsBy,
|
|
174
194
|
SortModelsBy: () => SortModelsBy,
|
|
175
195
|
SortOrder: () => SortOrder,
|
|
196
|
+
Status: () => Status,
|
|
176
197
|
StopEvaluationJobCommand: () => StopEvaluationJobCommand,
|
|
177
198
|
StopEvaluationJobRequestFilterSensitiveLog: () => StopEvaluationJobRequestFilterSensitiveLog,
|
|
178
199
|
StopModelCustomizationJobCommand: () => StopModelCustomizationJobCommand,
|
|
@@ -184,6 +205,7 @@ __export(src_exports, {
|
|
|
184
205
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
185
206
|
UpdateGuardrailCommand: () => UpdateGuardrailCommand,
|
|
186
207
|
UpdateGuardrailRequestFilterSensitiveLog: () => UpdateGuardrailRequestFilterSensitiveLog,
|
|
208
|
+
UpdateMarketplaceModelEndpointCommand: () => UpdateMarketplaceModelEndpointCommand,
|
|
187
209
|
UpdateProvisionedModelThroughputCommand: () => UpdateProvisionedModelThroughputCommand,
|
|
188
210
|
ValidationException: () => ValidationException,
|
|
189
211
|
__Client: () => import_smithy_client.Client,
|
|
@@ -192,10 +214,12 @@ __export(src_exports, {
|
|
|
192
214
|
paginateListGuardrails: () => paginateListGuardrails,
|
|
193
215
|
paginateListImportedModels: () => paginateListImportedModels,
|
|
194
216
|
paginateListInferenceProfiles: () => paginateListInferenceProfiles,
|
|
217
|
+
paginateListMarketplaceModelEndpoints: () => paginateListMarketplaceModelEndpoints,
|
|
195
218
|
paginateListModelCopyJobs: () => paginateListModelCopyJobs,
|
|
196
219
|
paginateListModelCustomizationJobs: () => paginateListModelCustomizationJobs,
|
|
197
220
|
paginateListModelImportJobs: () => paginateListModelImportJobs,
|
|
198
221
|
paginateListModelInvocationJobs: () => paginateListModelInvocationJobs,
|
|
222
|
+
paginateListPromptRouters: () => paginateListPromptRouters,
|
|
199
223
|
paginateListProvisionedModelThroughputs: () => paginateListProvisionedModelThroughputs
|
|
200
224
|
});
|
|
201
225
|
module.exports = __toCommonJS(src_exports);
|
|
@@ -380,14 +404,6 @@ var _AccessDeniedException = class _AccessDeniedException extends BedrockService
|
|
|
380
404
|
};
|
|
381
405
|
__name(_AccessDeniedException, "AccessDeniedException");
|
|
382
406
|
var AccessDeniedException = _AccessDeniedException;
|
|
383
|
-
var EvaluationJobStatus = {
|
|
384
|
-
COMPLETED: "Completed",
|
|
385
|
-
DELETING: "Deleting",
|
|
386
|
-
FAILED: "Failed",
|
|
387
|
-
IN_PROGRESS: "InProgress",
|
|
388
|
-
STOPPED: "Stopped",
|
|
389
|
-
STOPPING: "Stopping"
|
|
390
|
-
};
|
|
391
407
|
var _ConflictException = class _ConflictException extends BedrockServiceException {
|
|
392
408
|
/**
|
|
393
409
|
* @internal
|
|
@@ -405,6 +421,18 @@ var _ConflictException = class _ConflictException extends BedrockServiceExceptio
|
|
|
405
421
|
};
|
|
406
422
|
__name(_ConflictException, "ConflictException");
|
|
407
423
|
var ConflictException = _ConflictException;
|
|
424
|
+
var EndpointConfig;
|
|
425
|
+
((EndpointConfig3) => {
|
|
426
|
+
EndpointConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
427
|
+
if (value.sageMaker !== void 0)
|
|
428
|
+
return visitor.sageMaker(value.sageMaker);
|
|
429
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
430
|
+
}, "visit");
|
|
431
|
+
})(EndpointConfig || (EndpointConfig = {}));
|
|
432
|
+
var Status = {
|
|
433
|
+
INCOMPATIBLE_ENDPOINT: "INCOMPATIBLE_ENDPOINT",
|
|
434
|
+
REGISTERED: "REGISTERED"
|
|
435
|
+
};
|
|
408
436
|
var _InternalServerException = class _InternalServerException extends BedrockServiceException {
|
|
409
437
|
/**
|
|
410
438
|
* @internal
|
|
@@ -439,6 +467,23 @@ var _ResourceNotFoundException = class _ResourceNotFoundException extends Bedroc
|
|
|
439
467
|
};
|
|
440
468
|
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
441
469
|
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
470
|
+
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends BedrockServiceException {
|
|
471
|
+
/**
|
|
472
|
+
* @internal
|
|
473
|
+
*/
|
|
474
|
+
constructor(opts) {
|
|
475
|
+
super({
|
|
476
|
+
name: "ServiceQuotaExceededException",
|
|
477
|
+
$fault: "client",
|
|
478
|
+
...opts
|
|
479
|
+
});
|
|
480
|
+
this.name = "ServiceQuotaExceededException";
|
|
481
|
+
this.$fault = "client";
|
|
482
|
+
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
483
|
+
}
|
|
484
|
+
};
|
|
485
|
+
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
486
|
+
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
442
487
|
var _ThrottlingException = class _ThrottlingException extends BedrockServiceException {
|
|
443
488
|
/**
|
|
444
489
|
* @internal
|
|
@@ -473,6 +518,31 @@ var _ValidationException = class _ValidationException extends BedrockServiceExce
|
|
|
473
518
|
};
|
|
474
519
|
__name(_ValidationException, "ValidationException");
|
|
475
520
|
var ValidationException = _ValidationException;
|
|
521
|
+
var _ServiceUnavailableException = class _ServiceUnavailableException extends BedrockServiceException {
|
|
522
|
+
/**
|
|
523
|
+
* @internal
|
|
524
|
+
*/
|
|
525
|
+
constructor(opts) {
|
|
526
|
+
super({
|
|
527
|
+
name: "ServiceUnavailableException",
|
|
528
|
+
$fault: "server",
|
|
529
|
+
...opts
|
|
530
|
+
});
|
|
531
|
+
this.name = "ServiceUnavailableException";
|
|
532
|
+
this.$fault = "server";
|
|
533
|
+
Object.setPrototypeOf(this, _ServiceUnavailableException.prototype);
|
|
534
|
+
}
|
|
535
|
+
};
|
|
536
|
+
__name(_ServiceUnavailableException, "ServiceUnavailableException");
|
|
537
|
+
var ServiceUnavailableException = _ServiceUnavailableException;
|
|
538
|
+
var EvaluationJobStatus = {
|
|
539
|
+
COMPLETED: "Completed",
|
|
540
|
+
DELETING: "Deleting",
|
|
541
|
+
FAILED: "Failed",
|
|
542
|
+
IN_PROGRESS: "InProgress",
|
|
543
|
+
STOPPED: "Stopped",
|
|
544
|
+
STOPPING: "Stopping"
|
|
545
|
+
};
|
|
476
546
|
var ApplicationType = {
|
|
477
547
|
MODEL_EVALUATION: "ModelEvaluation",
|
|
478
548
|
RAG_EVALUATION: "RagEvaluation"
|
|
@@ -533,23 +603,6 @@ var RetrieveAndGenerateType = {
|
|
|
533
603
|
EXTERNAL_SOURCES: "EXTERNAL_SOURCES",
|
|
534
604
|
KNOWLEDGE_BASE: "KNOWLEDGE_BASE"
|
|
535
605
|
};
|
|
536
|
-
var _ServiceQuotaExceededException = class _ServiceQuotaExceededException extends BedrockServiceException {
|
|
537
|
-
/**
|
|
538
|
-
* @internal
|
|
539
|
-
*/
|
|
540
|
-
constructor(opts) {
|
|
541
|
-
super({
|
|
542
|
-
name: "ServiceQuotaExceededException",
|
|
543
|
-
$fault: "client",
|
|
544
|
-
...opts
|
|
545
|
-
});
|
|
546
|
-
this.name = "ServiceQuotaExceededException";
|
|
547
|
-
this.$fault = "client";
|
|
548
|
-
Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
|
|
549
|
-
}
|
|
550
|
-
};
|
|
551
|
-
__name(_ServiceQuotaExceededException, "ServiceQuotaExceededException");
|
|
552
|
-
var ServiceQuotaExceededException = _ServiceQuotaExceededException;
|
|
553
606
|
var EvaluationJobType = {
|
|
554
607
|
AUTOMATED: "Automated",
|
|
555
608
|
HUMAN: "Human"
|
|
@@ -561,6 +614,10 @@ var SortOrder = {
|
|
|
561
614
|
ASCENDING: "Ascending",
|
|
562
615
|
DESCENDING: "Descending"
|
|
563
616
|
};
|
|
617
|
+
var GuardrailModality = {
|
|
618
|
+
IMAGE: "IMAGE",
|
|
619
|
+
TEXT: "TEXT"
|
|
620
|
+
};
|
|
564
621
|
var GuardrailFilterStrength = {
|
|
565
622
|
HIGH: "HIGH",
|
|
566
623
|
LOW: "LOW",
|
|
@@ -768,6 +825,13 @@ var FoundationModelLifecycleStatus = {
|
|
|
768
825
|
ACTIVE: "ACTIVE",
|
|
769
826
|
LEGACY: "LEGACY"
|
|
770
827
|
};
|
|
828
|
+
var PromptRouterStatus = {
|
|
829
|
+
AVAILABLE: "AVAILABLE"
|
|
830
|
+
};
|
|
831
|
+
var PromptRouterType = {
|
|
832
|
+
CUSTOM: "custom",
|
|
833
|
+
DEFAULT: "default"
|
|
834
|
+
};
|
|
771
835
|
var CommitmentDuration = {
|
|
772
836
|
ONE_MONTH: "OneMonth",
|
|
773
837
|
SIX_MONTHS: "SixMonths"
|
|
@@ -966,6 +1030,17 @@ var StopEvaluationJobRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) =>
|
|
|
966
1030
|
...obj,
|
|
967
1031
|
...obj.jobIdentifier && { jobIdentifier: import_smithy_client.SENSITIVE_STRING }
|
|
968
1032
|
}), "StopEvaluationJobRequestFilterSensitiveLog");
|
|
1033
|
+
var GuardrailContentFilterConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1034
|
+
...obj,
|
|
1035
|
+
...obj.inputModalities && { inputModalities: import_smithy_client.SENSITIVE_STRING },
|
|
1036
|
+
...obj.outputModalities && { outputModalities: import_smithy_client.SENSITIVE_STRING }
|
|
1037
|
+
}), "GuardrailContentFilterConfigFilterSensitiveLog");
|
|
1038
|
+
var GuardrailContentPolicyConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1039
|
+
...obj,
|
|
1040
|
+
...obj.filtersConfig && {
|
|
1041
|
+
filtersConfig: obj.filtersConfig.map((item) => GuardrailContentFilterConfigFilterSensitiveLog(item))
|
|
1042
|
+
}
|
|
1043
|
+
}), "GuardrailContentPolicyConfigFilterSensitiveLog");
|
|
969
1044
|
var GuardrailTopicConfigFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
970
1045
|
...obj,
|
|
971
1046
|
...obj.name && { name: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -985,6 +1060,9 @@ var CreateGuardrailRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => (
|
|
|
985
1060
|
...obj.topicPolicyConfig && {
|
|
986
1061
|
topicPolicyConfig: GuardrailTopicPolicyConfigFilterSensitiveLog(obj.topicPolicyConfig)
|
|
987
1062
|
},
|
|
1063
|
+
...obj.contentPolicyConfig && {
|
|
1064
|
+
contentPolicyConfig: GuardrailContentPolicyConfigFilterSensitiveLog(obj.contentPolicyConfig)
|
|
1065
|
+
},
|
|
988
1066
|
...obj.blockedInputMessaging && { blockedInputMessaging: import_smithy_client.SENSITIVE_STRING },
|
|
989
1067
|
...obj.blockedOutputsMessaging && { blockedOutputsMessaging: import_smithy_client.SENSITIVE_STRING }
|
|
990
1068
|
}), "CreateGuardrailRequestFilterSensitiveLog");
|
|
@@ -992,6 +1070,15 @@ var CreateGuardrailVersionRequestFilterSensitiveLog = /* @__PURE__ */ __name((ob
|
|
|
992
1070
|
...obj,
|
|
993
1071
|
...obj.description && { description: import_smithy_client.SENSITIVE_STRING }
|
|
994
1072
|
}), "CreateGuardrailVersionRequestFilterSensitiveLog");
|
|
1073
|
+
var GuardrailContentFilterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1074
|
+
...obj,
|
|
1075
|
+
...obj.inputModalities && { inputModalities: import_smithy_client.SENSITIVE_STRING },
|
|
1076
|
+
...obj.outputModalities && { outputModalities: import_smithy_client.SENSITIVE_STRING }
|
|
1077
|
+
}), "GuardrailContentFilterFilterSensitiveLog");
|
|
1078
|
+
var GuardrailContentPolicyFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1079
|
+
...obj,
|
|
1080
|
+
...obj.filters && { filters: obj.filters.map((item) => GuardrailContentFilterFilterSensitiveLog(item)) }
|
|
1081
|
+
}), "GuardrailContentPolicyFilterSensitiveLog");
|
|
995
1082
|
var GuardrailTopicFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
996
1083
|
...obj,
|
|
997
1084
|
...obj.name && { name: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -1007,6 +1094,7 @@ var GetGuardrailResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
|
1007
1094
|
...obj.name && { name: import_smithy_client.SENSITIVE_STRING },
|
|
1008
1095
|
...obj.description && { description: import_smithy_client.SENSITIVE_STRING },
|
|
1009
1096
|
...obj.topicPolicy && { topicPolicy: GuardrailTopicPolicyFilterSensitiveLog(obj.topicPolicy) },
|
|
1097
|
+
...obj.contentPolicy && { contentPolicy: GuardrailContentPolicyFilterSensitiveLog(obj.contentPolicy) },
|
|
1010
1098
|
...obj.statusReasons && { statusReasons: import_smithy_client.SENSITIVE_STRING },
|
|
1011
1099
|
...obj.failureRecommendations && { failureRecommendations: import_smithy_client.SENSITIVE_STRING },
|
|
1012
1100
|
...obj.blockedInputMessaging && { blockedInputMessaging: import_smithy_client.SENSITIVE_STRING },
|
|
@@ -1028,6 +1116,9 @@ var UpdateGuardrailRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => (
|
|
|
1028
1116
|
...obj.topicPolicyConfig && {
|
|
1029
1117
|
topicPolicyConfig: GuardrailTopicPolicyConfigFilterSensitiveLog(obj.topicPolicyConfig)
|
|
1030
1118
|
},
|
|
1119
|
+
...obj.contentPolicyConfig && {
|
|
1120
|
+
contentPolicyConfig: GuardrailContentPolicyConfigFilterSensitiveLog(obj.contentPolicyConfig)
|
|
1121
|
+
},
|
|
1031
1122
|
...obj.blockedInputMessaging && { blockedInputMessaging: import_smithy_client.SENSITIVE_STRING },
|
|
1032
1123
|
...obj.blockedOutputsMessaging && { blockedOutputsMessaging: import_smithy_client.SENSITIVE_STRING }
|
|
1033
1124
|
}), "UpdateGuardrailRequestFilterSensitiveLog");
|
|
@@ -1105,6 +1196,20 @@ var GetCustomModelResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => (
|
|
|
1105
1196
|
...obj.trainingDataConfig && { trainingDataConfig: TrainingDataConfigFilterSensitiveLog(obj.trainingDataConfig) },
|
|
1106
1197
|
...obj.customizationConfig && { customizationConfig: obj.customizationConfig }
|
|
1107
1198
|
}), "GetCustomModelResponseFilterSensitiveLog");
|
|
1199
|
+
var GetPromptRouterResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1200
|
+
...obj,
|
|
1201
|
+
...obj.description && { description: import_smithy_client.SENSITIVE_STRING }
|
|
1202
|
+
}), "GetPromptRouterResponseFilterSensitiveLog");
|
|
1203
|
+
var PromptRouterSummaryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1204
|
+
...obj,
|
|
1205
|
+
...obj.description && { description: import_smithy_client.SENSITIVE_STRING }
|
|
1206
|
+
}), "PromptRouterSummaryFilterSensitiveLog");
|
|
1207
|
+
var ListPromptRoutersResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1208
|
+
...obj,
|
|
1209
|
+
...obj.promptRouterSummaries && {
|
|
1210
|
+
promptRouterSummaries: obj.promptRouterSummaries.map((item) => PromptRouterSummaryFilterSensitiveLog(item))
|
|
1211
|
+
}
|
|
1212
|
+
}), "ListPromptRoutersResponseFilterSensitiveLog");
|
|
1108
1213
|
var CreateModelCustomizationJobRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
1109
1214
|
...obj,
|
|
1110
1215
|
...obj.trainingDataConfig && { trainingDataConfig: TrainingDataConfigFilterSensitiveLog(obj.trainingDataConfig) },
|
|
@@ -1328,6 +1433,26 @@ var se_CreateInferenceProfileCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
1328
1433
|
b.m("POST").h(headers).b(body);
|
|
1329
1434
|
return b.build();
|
|
1330
1435
|
}, "se_CreateInferenceProfileCommand");
|
|
1436
|
+
var se_CreateMarketplaceModelEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1437
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1438
|
+
const headers = {
|
|
1439
|
+
"content-type": "application/json"
|
|
1440
|
+
};
|
|
1441
|
+
b.bp("/marketplace-model/endpoints");
|
|
1442
|
+
let body;
|
|
1443
|
+
body = JSON.stringify(
|
|
1444
|
+
(0, import_smithy_client.take)(input, {
|
|
1445
|
+
acceptEula: [],
|
|
1446
|
+
clientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1447
|
+
endpointConfig: (_) => (0, import_smithy_client._json)(_),
|
|
1448
|
+
endpointName: [],
|
|
1449
|
+
modelSourceIdentifier: [],
|
|
1450
|
+
tags: (_) => (0, import_smithy_client._json)(_)
|
|
1451
|
+
})
|
|
1452
|
+
);
|
|
1453
|
+
b.m("POST").h(headers).b(body);
|
|
1454
|
+
return b.build();
|
|
1455
|
+
}, "se_CreateMarketplaceModelEndpointCommand");
|
|
1331
1456
|
var se_CreateModelCopyJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1332
1457
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1333
1458
|
const headers = {
|
|
@@ -1481,6 +1606,15 @@ var se_DeleteInferenceProfileCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
1481
1606
|
b.m("DELETE").h(headers).b(body);
|
|
1482
1607
|
return b.build();
|
|
1483
1608
|
}, "se_DeleteInferenceProfileCommand");
|
|
1609
|
+
var se_DeleteMarketplaceModelEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1610
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1611
|
+
const headers = {};
|
|
1612
|
+
b.bp("/marketplace-model/endpoints/{endpointArn}");
|
|
1613
|
+
b.p("endpointArn", () => input.endpointArn, "{endpointArn}", false);
|
|
1614
|
+
let body;
|
|
1615
|
+
b.m("DELETE").h(headers).b(body);
|
|
1616
|
+
return b.build();
|
|
1617
|
+
}, "se_DeleteMarketplaceModelEndpointCommand");
|
|
1484
1618
|
var se_DeleteModelInvocationLoggingConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1485
1619
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1486
1620
|
const headers = {};
|
|
@@ -1498,6 +1632,15 @@ var se_DeleteProvisionedModelThroughputCommand = /* @__PURE__ */ __name(async (i
|
|
|
1498
1632
|
b.m("DELETE").h(headers).b(body);
|
|
1499
1633
|
return b.build();
|
|
1500
1634
|
}, "se_DeleteProvisionedModelThroughputCommand");
|
|
1635
|
+
var se_DeregisterMarketplaceModelEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1636
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1637
|
+
const headers = {};
|
|
1638
|
+
b.bp("/marketplace-model/endpoints/{endpointArn}/registration");
|
|
1639
|
+
b.p("endpointArn", () => input.endpointArn, "{endpointArn}", false);
|
|
1640
|
+
let body;
|
|
1641
|
+
b.m("DELETE").h(headers).b(body);
|
|
1642
|
+
return b.build();
|
|
1643
|
+
}, "se_DeregisterMarketplaceModelEndpointCommand");
|
|
1501
1644
|
var se_GetCustomModelCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1502
1645
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1503
1646
|
const headers = {};
|
|
@@ -1555,6 +1698,15 @@ var se_GetInferenceProfileCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1555
1698
|
b.m("GET").h(headers).b(body);
|
|
1556
1699
|
return b.build();
|
|
1557
1700
|
}, "se_GetInferenceProfileCommand");
|
|
1701
|
+
var se_GetMarketplaceModelEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1702
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1703
|
+
const headers = {};
|
|
1704
|
+
b.bp("/marketplace-model/endpoints/{endpointArn}");
|
|
1705
|
+
b.p("endpointArn", () => input.endpointArn, "{endpointArn}", false);
|
|
1706
|
+
let body;
|
|
1707
|
+
b.m("GET").h(headers).b(body);
|
|
1708
|
+
return b.build();
|
|
1709
|
+
}, "se_GetMarketplaceModelEndpointCommand");
|
|
1558
1710
|
var se_GetModelCopyJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1559
1711
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1560
1712
|
const headers = {};
|
|
@@ -1599,6 +1751,15 @@ var se_GetModelInvocationLoggingConfigurationCommand = /* @__PURE__ */ __name(as
|
|
|
1599
1751
|
b.m("GET").h(headers).b(body);
|
|
1600
1752
|
return b.build();
|
|
1601
1753
|
}, "se_GetModelInvocationLoggingConfigurationCommand");
|
|
1754
|
+
var se_GetPromptRouterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1755
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1756
|
+
const headers = {};
|
|
1757
|
+
b.bp("/prompt-routers/{promptRouterArn}");
|
|
1758
|
+
b.p("promptRouterArn", () => input.promptRouterArn, "{promptRouterArn}", false);
|
|
1759
|
+
let body;
|
|
1760
|
+
b.m("GET").h(headers).b(body);
|
|
1761
|
+
return b.build();
|
|
1762
|
+
}, "se_GetPromptRouterCommand");
|
|
1602
1763
|
var se_GetProvisionedModelThroughputCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1603
1764
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1604
1765
|
const headers = {};
|
|
@@ -1704,6 +1865,19 @@ var se_ListInferenceProfilesCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
1704
1865
|
b.m("GET").h(headers).q(query).b(body);
|
|
1705
1866
|
return b.build();
|
|
1706
1867
|
}, "se_ListInferenceProfilesCommand");
|
|
1868
|
+
var se_ListMarketplaceModelEndpointsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1869
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1870
|
+
const headers = {};
|
|
1871
|
+
b.bp("/marketplace-model/endpoints");
|
|
1872
|
+
const query = (0, import_smithy_client.map)({
|
|
1873
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1874
|
+
[_nT]: [, input[_nT]],
|
|
1875
|
+
[_mSI]: [, input[_mSE]]
|
|
1876
|
+
});
|
|
1877
|
+
let body;
|
|
1878
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1879
|
+
return b.build();
|
|
1880
|
+
}, "se_ListMarketplaceModelEndpointsCommand");
|
|
1707
1881
|
var se_ListModelCopyJobsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1708
1882
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1709
1883
|
const headers = {};
|
|
@@ -1778,6 +1952,18 @@ var se_ListModelInvocationJobsCommand = /* @__PURE__ */ __name(async (input, con
|
|
|
1778
1952
|
b.m("GET").h(headers).q(query).b(body);
|
|
1779
1953
|
return b.build();
|
|
1780
1954
|
}, "se_ListModelInvocationJobsCommand");
|
|
1955
|
+
var se_ListPromptRoutersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1956
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
1957
|
+
const headers = {};
|
|
1958
|
+
b.bp("/prompt-routers");
|
|
1959
|
+
const query = (0, import_smithy_client.map)({
|
|
1960
|
+
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1961
|
+
[_nT]: [, input[_nT]]
|
|
1962
|
+
});
|
|
1963
|
+
let body;
|
|
1964
|
+
b.m("GET").h(headers).q(query).b(body);
|
|
1965
|
+
return b.build();
|
|
1966
|
+
}, "se_ListPromptRoutersCommand");
|
|
1781
1967
|
var se_ListProvisionedModelThroughputsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1782
1968
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1783
1969
|
const headers = {};
|
|
@@ -1827,6 +2013,22 @@ var se_PutModelInvocationLoggingConfigurationCommand = /* @__PURE__ */ __name(as
|
|
|
1827
2013
|
b.m("PUT").h(headers).b(body);
|
|
1828
2014
|
return b.build();
|
|
1829
2015
|
}, "se_PutModelInvocationLoggingConfigurationCommand");
|
|
2016
|
+
var se_RegisterMarketplaceModelEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2017
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2018
|
+
const headers = {
|
|
2019
|
+
"content-type": "application/json"
|
|
2020
|
+
};
|
|
2021
|
+
b.bp("/marketplace-model/endpoints/{endpointIdentifier}/registration");
|
|
2022
|
+
b.p("endpointIdentifier", () => input.endpointIdentifier, "{endpointIdentifier}", false);
|
|
2023
|
+
let body;
|
|
2024
|
+
body = JSON.stringify(
|
|
2025
|
+
(0, import_smithy_client.take)(input, {
|
|
2026
|
+
modelSourceIdentifier: []
|
|
2027
|
+
})
|
|
2028
|
+
);
|
|
2029
|
+
b.m("POST").h(headers).b(body);
|
|
2030
|
+
return b.build();
|
|
2031
|
+
}, "se_RegisterMarketplaceModelEndpointCommand");
|
|
1830
2032
|
var se_StopEvaluationJobCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1831
2033
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1832
2034
|
const headers = {};
|
|
@@ -1911,6 +2113,23 @@ var se_UpdateGuardrailCommand = /* @__PURE__ */ __name(async (input, context) =>
|
|
|
1911
2113
|
b.m("PUT").h(headers).b(body);
|
|
1912
2114
|
return b.build();
|
|
1913
2115
|
}, "se_UpdateGuardrailCommand");
|
|
2116
|
+
var se_UpdateMarketplaceModelEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
2117
|
+
const b = (0, import_core.requestBuilder)(input, context);
|
|
2118
|
+
const headers = {
|
|
2119
|
+
"content-type": "application/json"
|
|
2120
|
+
};
|
|
2121
|
+
b.bp("/marketplace-model/endpoints/{endpointArn}");
|
|
2122
|
+
b.p("endpointArn", () => input.endpointArn, "{endpointArn}", false);
|
|
2123
|
+
let body;
|
|
2124
|
+
body = JSON.stringify(
|
|
2125
|
+
(0, import_smithy_client.take)(input, {
|
|
2126
|
+
clientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
2127
|
+
endpointConfig: (_) => (0, import_smithy_client._json)(_)
|
|
2128
|
+
})
|
|
2129
|
+
);
|
|
2130
|
+
b.m("PATCH").h(headers).b(body);
|
|
2131
|
+
return b.build();
|
|
2132
|
+
}, "se_UpdateMarketplaceModelEndpointCommand");
|
|
1914
2133
|
var se_UpdateProvisionedModelThroughputCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1915
2134
|
const b = (0, import_core.requestBuilder)(input, context);
|
|
1916
2135
|
const headers = {
|
|
@@ -2004,6 +2223,20 @@ var de_CreateInferenceProfileCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2004
2223
|
Object.assign(contents, doc);
|
|
2005
2224
|
return contents;
|
|
2006
2225
|
}, "de_CreateInferenceProfileCommand");
|
|
2226
|
+
var de_CreateMarketplaceModelEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2227
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2228
|
+
return de_CommandError(output, context);
|
|
2229
|
+
}
|
|
2230
|
+
const contents = (0, import_smithy_client.map)({
|
|
2231
|
+
$metadata: deserializeMetadata(output)
|
|
2232
|
+
});
|
|
2233
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2234
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2235
|
+
marketplaceModelEndpoint: (_) => de_MarketplaceModelEndpoint(_, context)
|
|
2236
|
+
});
|
|
2237
|
+
Object.assign(contents, doc);
|
|
2238
|
+
return contents;
|
|
2239
|
+
}, "de_CreateMarketplaceModelEndpointCommand");
|
|
2007
2240
|
var de_CreateModelCopyJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2008
2241
|
if (output.statusCode !== 201 && output.statusCode >= 300) {
|
|
2009
2242
|
return de_CommandError(output, context);
|
|
@@ -2114,6 +2347,16 @@ var de_DeleteInferenceProfileCommand = /* @__PURE__ */ __name(async (output, con
|
|
|
2114
2347
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2115
2348
|
return contents;
|
|
2116
2349
|
}, "de_DeleteInferenceProfileCommand");
|
|
2350
|
+
var de_DeleteMarketplaceModelEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2351
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2352
|
+
return de_CommandError(output, context);
|
|
2353
|
+
}
|
|
2354
|
+
const contents = (0, import_smithy_client.map)({
|
|
2355
|
+
$metadata: deserializeMetadata(output)
|
|
2356
|
+
});
|
|
2357
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2358
|
+
return contents;
|
|
2359
|
+
}, "de_DeleteMarketplaceModelEndpointCommand");
|
|
2117
2360
|
var de_DeleteModelInvocationLoggingConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2118
2361
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2119
2362
|
return de_CommandError(output, context);
|
|
@@ -2134,6 +2377,16 @@ var de_DeleteProvisionedModelThroughputCommand = /* @__PURE__ */ __name(async (o
|
|
|
2134
2377
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2135
2378
|
return contents;
|
|
2136
2379
|
}, "de_DeleteProvisionedModelThroughputCommand");
|
|
2380
|
+
var de_DeregisterMarketplaceModelEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2381
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2382
|
+
return de_CommandError(output, context);
|
|
2383
|
+
}
|
|
2384
|
+
const contents = (0, import_smithy_client.map)({
|
|
2385
|
+
$metadata: deserializeMetadata(output)
|
|
2386
|
+
});
|
|
2387
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2388
|
+
return contents;
|
|
2389
|
+
}, "de_DeregisterMarketplaceModelEndpointCommand");
|
|
2137
2390
|
var de_GetCustomModelCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2138
2391
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2139
2392
|
return de_CommandError(output, context);
|
|
@@ -2278,6 +2531,20 @@ var de_GetInferenceProfileCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2278
2531
|
Object.assign(contents, doc);
|
|
2279
2532
|
return contents;
|
|
2280
2533
|
}, "de_GetInferenceProfileCommand");
|
|
2534
|
+
var de_GetMarketplaceModelEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2535
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2536
|
+
return de_CommandError(output, context);
|
|
2537
|
+
}
|
|
2538
|
+
const contents = (0, import_smithy_client.map)({
|
|
2539
|
+
$metadata: deserializeMetadata(output)
|
|
2540
|
+
});
|
|
2541
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2542
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2543
|
+
marketplaceModelEndpoint: (_) => de_MarketplaceModelEndpoint(_, context)
|
|
2544
|
+
});
|
|
2545
|
+
Object.assign(contents, doc);
|
|
2546
|
+
return contents;
|
|
2547
|
+
}, "de_GetMarketplaceModelEndpointCommand");
|
|
2281
2548
|
var de_GetModelCopyJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2282
2549
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2283
2550
|
return de_CommandError(output, context);
|
|
@@ -2405,6 +2672,29 @@ var de_GetModelInvocationLoggingConfigurationCommand = /* @__PURE__ */ __name(as
|
|
|
2405
2672
|
Object.assign(contents, doc);
|
|
2406
2673
|
return contents;
|
|
2407
2674
|
}, "de_GetModelInvocationLoggingConfigurationCommand");
|
|
2675
|
+
var de_GetPromptRouterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2676
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2677
|
+
return de_CommandError(output, context);
|
|
2678
|
+
}
|
|
2679
|
+
const contents = (0, import_smithy_client.map)({
|
|
2680
|
+
$metadata: deserializeMetadata(output)
|
|
2681
|
+
});
|
|
2682
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2683
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2684
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
2685
|
+
description: import_smithy_client.expectString,
|
|
2686
|
+
fallbackModel: import_smithy_client._json,
|
|
2687
|
+
models: import_smithy_client._json,
|
|
2688
|
+
promptRouterArn: import_smithy_client.expectString,
|
|
2689
|
+
promptRouterName: import_smithy_client.expectString,
|
|
2690
|
+
routingCriteria: (_) => de_RoutingCriteria(_, context),
|
|
2691
|
+
status: import_smithy_client.expectString,
|
|
2692
|
+
type: import_smithy_client.expectString,
|
|
2693
|
+
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
2694
|
+
});
|
|
2695
|
+
Object.assign(contents, doc);
|
|
2696
|
+
return contents;
|
|
2697
|
+
}, "de_GetPromptRouterCommand");
|
|
2408
2698
|
var de_GetProvisionedModelThroughputCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2409
2699
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2410
2700
|
return de_CommandError(output, context);
|
|
@@ -2520,6 +2810,21 @@ var de_ListInferenceProfilesCommand = /* @__PURE__ */ __name(async (output, cont
|
|
|
2520
2810
|
Object.assign(contents, doc);
|
|
2521
2811
|
return contents;
|
|
2522
2812
|
}, "de_ListInferenceProfilesCommand");
|
|
2813
|
+
var de_ListMarketplaceModelEndpointsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2814
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2815
|
+
return de_CommandError(output, context);
|
|
2816
|
+
}
|
|
2817
|
+
const contents = (0, import_smithy_client.map)({
|
|
2818
|
+
$metadata: deserializeMetadata(output)
|
|
2819
|
+
});
|
|
2820
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2821
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2822
|
+
marketplaceModelEndpoints: (_) => de_MarketplaceModelEndpointSummaries(_, context),
|
|
2823
|
+
nextToken: import_smithy_client.expectString
|
|
2824
|
+
});
|
|
2825
|
+
Object.assign(contents, doc);
|
|
2826
|
+
return contents;
|
|
2827
|
+
}, "de_ListMarketplaceModelEndpointsCommand");
|
|
2523
2828
|
var de_ListModelCopyJobsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2524
2829
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2525
2830
|
return de_CommandError(output, context);
|
|
@@ -2580,6 +2885,21 @@ var de_ListModelInvocationJobsCommand = /* @__PURE__ */ __name(async (output, co
|
|
|
2580
2885
|
Object.assign(contents, doc);
|
|
2581
2886
|
return contents;
|
|
2582
2887
|
}, "de_ListModelInvocationJobsCommand");
|
|
2888
|
+
var de_ListPromptRoutersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2889
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2890
|
+
return de_CommandError(output, context);
|
|
2891
|
+
}
|
|
2892
|
+
const contents = (0, import_smithy_client.map)({
|
|
2893
|
+
$metadata: deserializeMetadata(output)
|
|
2894
|
+
});
|
|
2895
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2896
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2897
|
+
nextToken: import_smithy_client.expectString,
|
|
2898
|
+
promptRouterSummaries: (_) => de_PromptRouterSummaries(_, context)
|
|
2899
|
+
});
|
|
2900
|
+
Object.assign(contents, doc);
|
|
2901
|
+
return contents;
|
|
2902
|
+
}, "de_ListPromptRoutersCommand");
|
|
2583
2903
|
var de_ListProvisionedModelThroughputsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2584
2904
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2585
2905
|
return de_CommandError(output, context);
|
|
@@ -2619,6 +2939,20 @@ var de_PutModelInvocationLoggingConfigurationCommand = /* @__PURE__ */ __name(as
|
|
|
2619
2939
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
2620
2940
|
return contents;
|
|
2621
2941
|
}, "de_PutModelInvocationLoggingConfigurationCommand");
|
|
2942
|
+
var de_RegisterMarketplaceModelEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2943
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2944
|
+
return de_CommandError(output, context);
|
|
2945
|
+
}
|
|
2946
|
+
const contents = (0, import_smithy_client.map)({
|
|
2947
|
+
$metadata: deserializeMetadata(output)
|
|
2948
|
+
});
|
|
2949
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
2950
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2951
|
+
marketplaceModelEndpoint: (_) => de_MarketplaceModelEndpoint(_, context)
|
|
2952
|
+
});
|
|
2953
|
+
Object.assign(contents, doc);
|
|
2954
|
+
return contents;
|
|
2955
|
+
}, "de_RegisterMarketplaceModelEndpointCommand");
|
|
2622
2956
|
var de_StopEvaluationJobCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2623
2957
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2624
2958
|
return de_CommandError(output, context);
|
|
@@ -2686,6 +3020,20 @@ var de_UpdateGuardrailCommand = /* @__PURE__ */ __name(async (output, context) =
|
|
|
2686
3020
|
Object.assign(contents, doc);
|
|
2687
3021
|
return contents;
|
|
2688
3022
|
}, "de_UpdateGuardrailCommand");
|
|
3023
|
+
var de_UpdateMarketplaceModelEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3024
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3025
|
+
return de_CommandError(output, context);
|
|
3026
|
+
}
|
|
3027
|
+
const contents = (0, import_smithy_client.map)({
|
|
3028
|
+
$metadata: deserializeMetadata(output)
|
|
3029
|
+
});
|
|
3030
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
|
|
3031
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3032
|
+
marketplaceModelEndpoint: (_) => de_MarketplaceModelEndpoint(_, context)
|
|
3033
|
+
});
|
|
3034
|
+
Object.assign(contents, doc);
|
|
3035
|
+
return contents;
|
|
3036
|
+
}, "de_UpdateMarketplaceModelEndpointCommand");
|
|
2689
3037
|
var de_UpdateProvisionedModelThroughputCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2690
3038
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2691
3039
|
return de_CommandError(output, context);
|
|
@@ -2727,6 +3075,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2727
3075
|
case "TooManyTagsException":
|
|
2728
3076
|
case "com.amazonaws.bedrock#TooManyTagsException":
|
|
2729
3077
|
throw await de_TooManyTagsExceptionRes(parsedOutput, context);
|
|
3078
|
+
case "ServiceUnavailableException":
|
|
3079
|
+
case "com.amazonaws.bedrock#ServiceUnavailableException":
|
|
3080
|
+
throw await de_ServiceUnavailableExceptionRes(parsedOutput, context);
|
|
2730
3081
|
default:
|
|
2731
3082
|
const parsedBody = parsedOutput.body;
|
|
2732
3083
|
return throwDefaultError({
|
|
@@ -2802,6 +3153,19 @@ var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOu
|
|
|
2802
3153
|
});
|
|
2803
3154
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
2804
3155
|
}, "de_ServiceQuotaExceededExceptionRes");
|
|
3156
|
+
var de_ServiceUnavailableExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3157
|
+
const contents = (0, import_smithy_client.map)({});
|
|
3158
|
+
const data = parsedOutput.body;
|
|
3159
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3160
|
+
message: import_smithy_client.expectString
|
|
3161
|
+
});
|
|
3162
|
+
Object.assign(contents, doc);
|
|
3163
|
+
const exception = new ServiceUnavailableException({
|
|
3164
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
3165
|
+
...contents
|
|
3166
|
+
});
|
|
3167
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3168
|
+
}, "de_ServiceUnavailableExceptionRes");
|
|
2805
3169
|
var de_ThrottlingExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
2806
3170
|
const contents = (0, import_smithy_client.map)({});
|
|
2807
3171
|
const data = parsedOutput.body;
|
|
@@ -3240,6 +3604,35 @@ var de_KnowledgeBaseVectorSearchConfiguration = /* @__PURE__ */ __name((output,
|
|
|
3240
3604
|
overrideSearchType: import_smithy_client.expectString
|
|
3241
3605
|
});
|
|
3242
3606
|
}, "de_KnowledgeBaseVectorSearchConfiguration");
|
|
3607
|
+
var de_MarketplaceModelEndpoint = /* @__PURE__ */ __name((output, context) => {
|
|
3608
|
+
return (0, import_smithy_client.take)(output, {
|
|
3609
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
3610
|
+
endpointArn: import_smithy_client.expectString,
|
|
3611
|
+
endpointConfig: (_) => (0, import_smithy_client._json)((0, import_core2.awsExpectUnion)(_)),
|
|
3612
|
+
endpointStatus: import_smithy_client.expectString,
|
|
3613
|
+
endpointStatusMessage: import_smithy_client.expectString,
|
|
3614
|
+
modelSourceIdentifier: import_smithy_client.expectString,
|
|
3615
|
+
status: import_smithy_client.expectString,
|
|
3616
|
+
statusMessage: import_smithy_client.expectString,
|
|
3617
|
+
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
3618
|
+
});
|
|
3619
|
+
}, "de_MarketplaceModelEndpoint");
|
|
3620
|
+
var de_MarketplaceModelEndpointSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
3621
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3622
|
+
return de_MarketplaceModelEndpointSummary(entry, context);
|
|
3623
|
+
});
|
|
3624
|
+
return retVal;
|
|
3625
|
+
}, "de_MarketplaceModelEndpointSummaries");
|
|
3626
|
+
var de_MarketplaceModelEndpointSummary = /* @__PURE__ */ __name((output, context) => {
|
|
3627
|
+
return (0, import_smithy_client.take)(output, {
|
|
3628
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
3629
|
+
endpointArn: import_smithy_client.expectString,
|
|
3630
|
+
modelSourceIdentifier: import_smithy_client.expectString,
|
|
3631
|
+
status: import_smithy_client.expectString,
|
|
3632
|
+
statusMessage: import_smithy_client.expectString,
|
|
3633
|
+
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
3634
|
+
});
|
|
3635
|
+
}, "de_MarketplaceModelEndpointSummary");
|
|
3243
3636
|
var de_ModelCopyJobSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
3244
3637
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3245
3638
|
return de_ModelCopyJobSummary(entry, context);
|
|
@@ -3324,6 +3717,26 @@ var de_ModelInvocationJobSummary = /* @__PURE__ */ __name((output, context) => {
|
|
|
3324
3717
|
vpcConfig: import_smithy_client._json
|
|
3325
3718
|
});
|
|
3326
3719
|
}, "de_ModelInvocationJobSummary");
|
|
3720
|
+
var de_PromptRouterSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
3721
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3722
|
+
return de_PromptRouterSummary(entry, context);
|
|
3723
|
+
});
|
|
3724
|
+
return retVal;
|
|
3725
|
+
}, "de_PromptRouterSummaries");
|
|
3726
|
+
var de_PromptRouterSummary = /* @__PURE__ */ __name((output, context) => {
|
|
3727
|
+
return (0, import_smithy_client.take)(output, {
|
|
3728
|
+
createdAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_)),
|
|
3729
|
+
description: import_smithy_client.expectString,
|
|
3730
|
+
fallbackModel: import_smithy_client._json,
|
|
3731
|
+
models: import_smithy_client._json,
|
|
3732
|
+
promptRouterArn: import_smithy_client.expectString,
|
|
3733
|
+
promptRouterName: import_smithy_client.expectString,
|
|
3734
|
+
routingCriteria: (_) => de_RoutingCriteria(_, context),
|
|
3735
|
+
status: import_smithy_client.expectString,
|
|
3736
|
+
type: import_smithy_client.expectString,
|
|
3737
|
+
updatedAt: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseRfc3339DateTimeWithOffset)(_))
|
|
3738
|
+
});
|
|
3739
|
+
}, "de_PromptRouterSummary");
|
|
3327
3740
|
var de_ProvisionedModelSummaries = /* @__PURE__ */ __name((output, context) => {
|
|
3328
3741
|
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
3329
3742
|
return de_ProvisionedModelSummary(entry, context);
|
|
@@ -3447,6 +3860,11 @@ var de_RetrieveConfig = /* @__PURE__ */ __name((output, context) => {
|
|
|
3447
3860
|
knowledgeBaseRetrievalConfiguration: (_) => de_KnowledgeBaseRetrievalConfiguration(_, context)
|
|
3448
3861
|
});
|
|
3449
3862
|
}, "de_RetrieveConfig");
|
|
3863
|
+
var de_RoutingCriteria = /* @__PURE__ */ __name((output, context) => {
|
|
3864
|
+
return (0, import_smithy_client.take)(output, {
|
|
3865
|
+
responseQualityDifference: import_smithy_client.limitedParseDouble
|
|
3866
|
+
});
|
|
3867
|
+
}, "de_RoutingCriteria");
|
|
3450
3868
|
var de_TextInferenceConfig = /* @__PURE__ */ __name((output, context) => {
|
|
3451
3869
|
return (0, import_smithy_client.take)(output, {
|
|
3452
3870
|
maxTokens: import_smithy_client.expectInt32,
|
|
@@ -3491,6 +3909,8 @@ var _gV = "guardrailVersion";
|
|
|
3491
3909
|
var _iO = "isOwned";
|
|
3492
3910
|
var _mAE = "modelArnEquals";
|
|
3493
3911
|
var _mR = "maxResults";
|
|
3912
|
+
var _mSE = "modelSourceEquals";
|
|
3913
|
+
var _mSI = "modelSourceIdentifier";
|
|
3494
3914
|
var _nC = "nameContains";
|
|
3495
3915
|
var _nT = "nextToken";
|
|
3496
3916
|
var _oMNC = "outputModelNameContains";
|
|
@@ -3572,6 +3992,20 @@ var _CreateInferenceProfileCommand = class _CreateInferenceProfileCommand extend
|
|
|
3572
3992
|
__name(_CreateInferenceProfileCommand, "CreateInferenceProfileCommand");
|
|
3573
3993
|
var CreateInferenceProfileCommand = _CreateInferenceProfileCommand;
|
|
3574
3994
|
|
|
3995
|
+
// src/commands/CreateMarketplaceModelEndpointCommand.ts
|
|
3996
|
+
|
|
3997
|
+
|
|
3998
|
+
|
|
3999
|
+
var _CreateMarketplaceModelEndpointCommand = class _CreateMarketplaceModelEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4000
|
+
return [
|
|
4001
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4002
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4003
|
+
];
|
|
4004
|
+
}).s("AmazonBedrockControlPlaneService", "CreateMarketplaceModelEndpoint", {}).n("BedrockClient", "CreateMarketplaceModelEndpointCommand").f(void 0, void 0).ser(se_CreateMarketplaceModelEndpointCommand).de(de_CreateMarketplaceModelEndpointCommand).build() {
|
|
4005
|
+
};
|
|
4006
|
+
__name(_CreateMarketplaceModelEndpointCommand, "CreateMarketplaceModelEndpointCommand");
|
|
4007
|
+
var CreateMarketplaceModelEndpointCommand = _CreateMarketplaceModelEndpointCommand;
|
|
4008
|
+
|
|
3575
4009
|
// src/commands/CreateModelCopyJobCommand.ts
|
|
3576
4010
|
|
|
3577
4011
|
|
|
@@ -3698,6 +4132,20 @@ var _DeleteInferenceProfileCommand = class _DeleteInferenceProfileCommand extend
|
|
|
3698
4132
|
__name(_DeleteInferenceProfileCommand, "DeleteInferenceProfileCommand");
|
|
3699
4133
|
var DeleteInferenceProfileCommand = _DeleteInferenceProfileCommand;
|
|
3700
4134
|
|
|
4135
|
+
// src/commands/DeleteMarketplaceModelEndpointCommand.ts
|
|
4136
|
+
|
|
4137
|
+
|
|
4138
|
+
|
|
4139
|
+
var _DeleteMarketplaceModelEndpointCommand = class _DeleteMarketplaceModelEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4140
|
+
return [
|
|
4141
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4142
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4143
|
+
];
|
|
4144
|
+
}).s("AmazonBedrockControlPlaneService", "DeleteMarketplaceModelEndpoint", {}).n("BedrockClient", "DeleteMarketplaceModelEndpointCommand").f(void 0, void 0).ser(se_DeleteMarketplaceModelEndpointCommand).de(de_DeleteMarketplaceModelEndpointCommand).build() {
|
|
4145
|
+
};
|
|
4146
|
+
__name(_DeleteMarketplaceModelEndpointCommand, "DeleteMarketplaceModelEndpointCommand");
|
|
4147
|
+
var DeleteMarketplaceModelEndpointCommand = _DeleteMarketplaceModelEndpointCommand;
|
|
4148
|
+
|
|
3701
4149
|
// src/commands/DeleteModelInvocationLoggingConfigurationCommand.ts
|
|
3702
4150
|
|
|
3703
4151
|
|
|
@@ -3726,6 +4174,20 @@ var _DeleteProvisionedModelThroughputCommand = class _DeleteProvisionedModelThro
|
|
|
3726
4174
|
__name(_DeleteProvisionedModelThroughputCommand, "DeleteProvisionedModelThroughputCommand");
|
|
3727
4175
|
var DeleteProvisionedModelThroughputCommand = _DeleteProvisionedModelThroughputCommand;
|
|
3728
4176
|
|
|
4177
|
+
// src/commands/DeregisterMarketplaceModelEndpointCommand.ts
|
|
4178
|
+
|
|
4179
|
+
|
|
4180
|
+
|
|
4181
|
+
var _DeregisterMarketplaceModelEndpointCommand = class _DeregisterMarketplaceModelEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4182
|
+
return [
|
|
4183
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4184
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4185
|
+
];
|
|
4186
|
+
}).s("AmazonBedrockControlPlaneService", "DeregisterMarketplaceModelEndpoint", {}).n("BedrockClient", "DeregisterMarketplaceModelEndpointCommand").f(void 0, void 0).ser(se_DeregisterMarketplaceModelEndpointCommand).de(de_DeregisterMarketplaceModelEndpointCommand).build() {
|
|
4187
|
+
};
|
|
4188
|
+
__name(_DeregisterMarketplaceModelEndpointCommand, "DeregisterMarketplaceModelEndpointCommand");
|
|
4189
|
+
var DeregisterMarketplaceModelEndpointCommand = _DeregisterMarketplaceModelEndpointCommand;
|
|
4190
|
+
|
|
3729
4191
|
// src/commands/GetCustomModelCommand.ts
|
|
3730
4192
|
|
|
3731
4193
|
|
|
@@ -3810,6 +4272,20 @@ var _GetInferenceProfileCommand = class _GetInferenceProfileCommand extends impo
|
|
|
3810
4272
|
__name(_GetInferenceProfileCommand, "GetInferenceProfileCommand");
|
|
3811
4273
|
var GetInferenceProfileCommand = _GetInferenceProfileCommand;
|
|
3812
4274
|
|
|
4275
|
+
// src/commands/GetMarketplaceModelEndpointCommand.ts
|
|
4276
|
+
|
|
4277
|
+
|
|
4278
|
+
|
|
4279
|
+
var _GetMarketplaceModelEndpointCommand = class _GetMarketplaceModelEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4280
|
+
return [
|
|
4281
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4282
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4283
|
+
];
|
|
4284
|
+
}).s("AmazonBedrockControlPlaneService", "GetMarketplaceModelEndpoint", {}).n("BedrockClient", "GetMarketplaceModelEndpointCommand").f(void 0, void 0).ser(se_GetMarketplaceModelEndpointCommand).de(de_GetMarketplaceModelEndpointCommand).build() {
|
|
4285
|
+
};
|
|
4286
|
+
__name(_GetMarketplaceModelEndpointCommand, "GetMarketplaceModelEndpointCommand");
|
|
4287
|
+
var GetMarketplaceModelEndpointCommand = _GetMarketplaceModelEndpointCommand;
|
|
4288
|
+
|
|
3813
4289
|
// src/commands/GetModelCopyJobCommand.ts
|
|
3814
4290
|
|
|
3815
4291
|
|
|
@@ -3880,6 +4356,20 @@ var _GetModelInvocationLoggingConfigurationCommand = class _GetModelInvocationLo
|
|
|
3880
4356
|
__name(_GetModelInvocationLoggingConfigurationCommand, "GetModelInvocationLoggingConfigurationCommand");
|
|
3881
4357
|
var GetModelInvocationLoggingConfigurationCommand = _GetModelInvocationLoggingConfigurationCommand;
|
|
3882
4358
|
|
|
4359
|
+
// src/commands/GetPromptRouterCommand.ts
|
|
4360
|
+
|
|
4361
|
+
|
|
4362
|
+
|
|
4363
|
+
var _GetPromptRouterCommand = class _GetPromptRouterCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4364
|
+
return [
|
|
4365
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4366
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4367
|
+
];
|
|
4368
|
+
}).s("AmazonBedrockControlPlaneService", "GetPromptRouter", {}).n("BedrockClient", "GetPromptRouterCommand").f(void 0, GetPromptRouterResponseFilterSensitiveLog).ser(se_GetPromptRouterCommand).de(de_GetPromptRouterCommand).build() {
|
|
4369
|
+
};
|
|
4370
|
+
__name(_GetPromptRouterCommand, "GetPromptRouterCommand");
|
|
4371
|
+
var GetPromptRouterCommand = _GetPromptRouterCommand;
|
|
4372
|
+
|
|
3883
4373
|
// src/commands/GetProvisionedModelThroughputCommand.ts
|
|
3884
4374
|
|
|
3885
4375
|
|
|
@@ -3978,6 +4468,20 @@ var _ListInferenceProfilesCommand = class _ListInferenceProfilesCommand extends
|
|
|
3978
4468
|
__name(_ListInferenceProfilesCommand, "ListInferenceProfilesCommand");
|
|
3979
4469
|
var ListInferenceProfilesCommand = _ListInferenceProfilesCommand;
|
|
3980
4470
|
|
|
4471
|
+
// src/commands/ListMarketplaceModelEndpointsCommand.ts
|
|
4472
|
+
|
|
4473
|
+
|
|
4474
|
+
|
|
4475
|
+
var _ListMarketplaceModelEndpointsCommand = class _ListMarketplaceModelEndpointsCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4476
|
+
return [
|
|
4477
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4478
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4479
|
+
];
|
|
4480
|
+
}).s("AmazonBedrockControlPlaneService", "ListMarketplaceModelEndpoints", {}).n("BedrockClient", "ListMarketplaceModelEndpointsCommand").f(void 0, void 0).ser(se_ListMarketplaceModelEndpointsCommand).de(de_ListMarketplaceModelEndpointsCommand).build() {
|
|
4481
|
+
};
|
|
4482
|
+
__name(_ListMarketplaceModelEndpointsCommand, "ListMarketplaceModelEndpointsCommand");
|
|
4483
|
+
var ListMarketplaceModelEndpointsCommand = _ListMarketplaceModelEndpointsCommand;
|
|
4484
|
+
|
|
3981
4485
|
// src/commands/ListModelCopyJobsCommand.ts
|
|
3982
4486
|
|
|
3983
4487
|
|
|
@@ -4034,6 +4538,20 @@ var _ListModelInvocationJobsCommand = class _ListModelInvocationJobsCommand exte
|
|
|
4034
4538
|
__name(_ListModelInvocationJobsCommand, "ListModelInvocationJobsCommand");
|
|
4035
4539
|
var ListModelInvocationJobsCommand = _ListModelInvocationJobsCommand;
|
|
4036
4540
|
|
|
4541
|
+
// src/commands/ListPromptRoutersCommand.ts
|
|
4542
|
+
|
|
4543
|
+
|
|
4544
|
+
|
|
4545
|
+
var _ListPromptRoutersCommand = class _ListPromptRoutersCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4546
|
+
return [
|
|
4547
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4548
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4549
|
+
];
|
|
4550
|
+
}).s("AmazonBedrockControlPlaneService", "ListPromptRouters", {}).n("BedrockClient", "ListPromptRoutersCommand").f(void 0, ListPromptRoutersResponseFilterSensitiveLog).ser(se_ListPromptRoutersCommand).de(de_ListPromptRoutersCommand).build() {
|
|
4551
|
+
};
|
|
4552
|
+
__name(_ListPromptRoutersCommand, "ListPromptRoutersCommand");
|
|
4553
|
+
var ListPromptRoutersCommand = _ListPromptRoutersCommand;
|
|
4554
|
+
|
|
4037
4555
|
// src/commands/ListProvisionedModelThroughputsCommand.ts
|
|
4038
4556
|
|
|
4039
4557
|
|
|
@@ -4076,6 +4594,20 @@ var _PutModelInvocationLoggingConfigurationCommand = class _PutModelInvocationLo
|
|
|
4076
4594
|
__name(_PutModelInvocationLoggingConfigurationCommand, "PutModelInvocationLoggingConfigurationCommand");
|
|
4077
4595
|
var PutModelInvocationLoggingConfigurationCommand = _PutModelInvocationLoggingConfigurationCommand;
|
|
4078
4596
|
|
|
4597
|
+
// src/commands/RegisterMarketplaceModelEndpointCommand.ts
|
|
4598
|
+
|
|
4599
|
+
|
|
4600
|
+
|
|
4601
|
+
var _RegisterMarketplaceModelEndpointCommand = class _RegisterMarketplaceModelEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4602
|
+
return [
|
|
4603
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4604
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4605
|
+
];
|
|
4606
|
+
}).s("AmazonBedrockControlPlaneService", "RegisterMarketplaceModelEndpoint", {}).n("BedrockClient", "RegisterMarketplaceModelEndpointCommand").f(void 0, void 0).ser(se_RegisterMarketplaceModelEndpointCommand).de(de_RegisterMarketplaceModelEndpointCommand).build() {
|
|
4607
|
+
};
|
|
4608
|
+
__name(_RegisterMarketplaceModelEndpointCommand, "RegisterMarketplaceModelEndpointCommand");
|
|
4609
|
+
var RegisterMarketplaceModelEndpointCommand = _RegisterMarketplaceModelEndpointCommand;
|
|
4610
|
+
|
|
4079
4611
|
// src/commands/StopEvaluationJobCommand.ts
|
|
4080
4612
|
|
|
4081
4613
|
|
|
@@ -4160,6 +4692,20 @@ var _UpdateGuardrailCommand = class _UpdateGuardrailCommand extends import_smith
|
|
|
4160
4692
|
__name(_UpdateGuardrailCommand, "UpdateGuardrailCommand");
|
|
4161
4693
|
var UpdateGuardrailCommand = _UpdateGuardrailCommand;
|
|
4162
4694
|
|
|
4695
|
+
// src/commands/UpdateMarketplaceModelEndpointCommand.ts
|
|
4696
|
+
|
|
4697
|
+
|
|
4698
|
+
|
|
4699
|
+
var _UpdateMarketplaceModelEndpointCommand = class _UpdateMarketplaceModelEndpointCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4700
|
+
return [
|
|
4701
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4702
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4703
|
+
];
|
|
4704
|
+
}).s("AmazonBedrockControlPlaneService", "UpdateMarketplaceModelEndpoint", {}).n("BedrockClient", "UpdateMarketplaceModelEndpointCommand").f(void 0, void 0).ser(se_UpdateMarketplaceModelEndpointCommand).de(de_UpdateMarketplaceModelEndpointCommand).build() {
|
|
4705
|
+
};
|
|
4706
|
+
__name(_UpdateMarketplaceModelEndpointCommand, "UpdateMarketplaceModelEndpointCommand");
|
|
4707
|
+
var UpdateMarketplaceModelEndpointCommand = _UpdateMarketplaceModelEndpointCommand;
|
|
4708
|
+
|
|
4163
4709
|
// src/commands/UpdateProvisionedModelThroughputCommand.ts
|
|
4164
4710
|
|
|
4165
4711
|
|
|
@@ -4181,6 +4727,7 @@ var commands = {
|
|
|
4181
4727
|
CreateGuardrailCommand,
|
|
4182
4728
|
CreateGuardrailVersionCommand,
|
|
4183
4729
|
CreateInferenceProfileCommand,
|
|
4730
|
+
CreateMarketplaceModelEndpointCommand,
|
|
4184
4731
|
CreateModelCopyJobCommand,
|
|
4185
4732
|
CreateModelCustomizationJobCommand,
|
|
4186
4733
|
CreateModelImportJobCommand,
|
|
@@ -4190,19 +4737,23 @@ var commands = {
|
|
|
4190
4737
|
DeleteGuardrailCommand,
|
|
4191
4738
|
DeleteImportedModelCommand,
|
|
4192
4739
|
DeleteInferenceProfileCommand,
|
|
4740
|
+
DeleteMarketplaceModelEndpointCommand,
|
|
4193
4741
|
DeleteModelInvocationLoggingConfigurationCommand,
|
|
4194
4742
|
DeleteProvisionedModelThroughputCommand,
|
|
4743
|
+
DeregisterMarketplaceModelEndpointCommand,
|
|
4195
4744
|
GetCustomModelCommand,
|
|
4196
4745
|
GetEvaluationJobCommand,
|
|
4197
4746
|
GetFoundationModelCommand,
|
|
4198
4747
|
GetGuardrailCommand,
|
|
4199
4748
|
GetImportedModelCommand,
|
|
4200
4749
|
GetInferenceProfileCommand,
|
|
4750
|
+
GetMarketplaceModelEndpointCommand,
|
|
4201
4751
|
GetModelCopyJobCommand,
|
|
4202
4752
|
GetModelCustomizationJobCommand,
|
|
4203
4753
|
GetModelImportJobCommand,
|
|
4204
4754
|
GetModelInvocationJobCommand,
|
|
4205
4755
|
GetModelInvocationLoggingConfigurationCommand,
|
|
4756
|
+
GetPromptRouterCommand,
|
|
4206
4757
|
GetProvisionedModelThroughputCommand,
|
|
4207
4758
|
ListCustomModelsCommand,
|
|
4208
4759
|
ListEvaluationJobsCommand,
|
|
@@ -4210,19 +4761,23 @@ var commands = {
|
|
|
4210
4761
|
ListGuardrailsCommand,
|
|
4211
4762
|
ListImportedModelsCommand,
|
|
4212
4763
|
ListInferenceProfilesCommand,
|
|
4764
|
+
ListMarketplaceModelEndpointsCommand,
|
|
4213
4765
|
ListModelCopyJobsCommand,
|
|
4214
4766
|
ListModelCustomizationJobsCommand,
|
|
4215
4767
|
ListModelImportJobsCommand,
|
|
4216
4768
|
ListModelInvocationJobsCommand,
|
|
4769
|
+
ListPromptRoutersCommand,
|
|
4217
4770
|
ListProvisionedModelThroughputsCommand,
|
|
4218
4771
|
ListTagsForResourceCommand,
|
|
4219
4772
|
PutModelInvocationLoggingConfigurationCommand,
|
|
4773
|
+
RegisterMarketplaceModelEndpointCommand,
|
|
4220
4774
|
StopEvaluationJobCommand,
|
|
4221
4775
|
StopModelCustomizationJobCommand,
|
|
4222
4776
|
StopModelInvocationJobCommand,
|
|
4223
4777
|
TagResourceCommand,
|
|
4224
4778
|
UntagResourceCommand,
|
|
4225
4779
|
UpdateGuardrailCommand,
|
|
4780
|
+
UpdateMarketplaceModelEndpointCommand,
|
|
4226
4781
|
UpdateProvisionedModelThroughputCommand
|
|
4227
4782
|
};
|
|
4228
4783
|
var _Bedrock = class _Bedrock extends BedrockClient {
|
|
@@ -4251,6 +4806,10 @@ var paginateListImportedModels = (0, import_core.createPaginator)(BedrockClient,
|
|
|
4251
4806
|
|
|
4252
4807
|
var paginateListInferenceProfiles = (0, import_core.createPaginator)(BedrockClient, ListInferenceProfilesCommand, "nextToken", "nextToken", "maxResults");
|
|
4253
4808
|
|
|
4809
|
+
// src/pagination/ListMarketplaceModelEndpointsPaginator.ts
|
|
4810
|
+
|
|
4811
|
+
var paginateListMarketplaceModelEndpoints = (0, import_core.createPaginator)(BedrockClient, ListMarketplaceModelEndpointsCommand, "nextToken", "nextToken", "maxResults");
|
|
4812
|
+
|
|
4254
4813
|
// src/pagination/ListModelCopyJobsPaginator.ts
|
|
4255
4814
|
|
|
4256
4815
|
var paginateListModelCopyJobs = (0, import_core.createPaginator)(BedrockClient, ListModelCopyJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -4267,6 +4826,10 @@ var paginateListModelImportJobs = (0, import_core.createPaginator)(BedrockClient
|
|
|
4267
4826
|
|
|
4268
4827
|
var paginateListModelInvocationJobs = (0, import_core.createPaginator)(BedrockClient, ListModelInvocationJobsCommand, "nextToken", "nextToken", "maxResults");
|
|
4269
4828
|
|
|
4829
|
+
// src/pagination/ListPromptRoutersPaginator.ts
|
|
4830
|
+
|
|
4831
|
+
var paginateListPromptRouters = (0, import_core.createPaginator)(BedrockClient, ListPromptRoutersCommand, "nextToken", "nextToken", "maxResults");
|
|
4832
|
+
|
|
4270
4833
|
// src/pagination/ListProvisionedModelThroughputsPaginator.ts
|
|
4271
4834
|
|
|
4272
4835
|
var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(BedrockClient, ListProvisionedModelThroughputsCommand, "nextToken", "nextToken", "maxResults");
|
|
@@ -4283,6 +4846,7 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
4283
4846
|
CreateGuardrailCommand,
|
|
4284
4847
|
CreateGuardrailVersionCommand,
|
|
4285
4848
|
CreateInferenceProfileCommand,
|
|
4849
|
+
CreateMarketplaceModelEndpointCommand,
|
|
4286
4850
|
CreateModelCopyJobCommand,
|
|
4287
4851
|
CreateModelCustomizationJobCommand,
|
|
4288
4852
|
CreateModelImportJobCommand,
|
|
@@ -4292,19 +4856,23 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
4292
4856
|
DeleteGuardrailCommand,
|
|
4293
4857
|
DeleteImportedModelCommand,
|
|
4294
4858
|
DeleteInferenceProfileCommand,
|
|
4859
|
+
DeleteMarketplaceModelEndpointCommand,
|
|
4295
4860
|
DeleteModelInvocationLoggingConfigurationCommand,
|
|
4296
4861
|
DeleteProvisionedModelThroughputCommand,
|
|
4862
|
+
DeregisterMarketplaceModelEndpointCommand,
|
|
4297
4863
|
GetCustomModelCommand,
|
|
4298
4864
|
GetEvaluationJobCommand,
|
|
4299
4865
|
GetFoundationModelCommand,
|
|
4300
4866
|
GetGuardrailCommand,
|
|
4301
4867
|
GetImportedModelCommand,
|
|
4302
4868
|
GetInferenceProfileCommand,
|
|
4869
|
+
GetMarketplaceModelEndpointCommand,
|
|
4303
4870
|
GetModelCopyJobCommand,
|
|
4304
4871
|
GetModelCustomizationJobCommand,
|
|
4305
4872
|
GetModelImportJobCommand,
|
|
4306
4873
|
GetModelInvocationJobCommand,
|
|
4307
4874
|
GetModelInvocationLoggingConfigurationCommand,
|
|
4875
|
+
GetPromptRouterCommand,
|
|
4308
4876
|
GetProvisionedModelThroughputCommand,
|
|
4309
4877
|
ListCustomModelsCommand,
|
|
4310
4878
|
ListEvaluationJobsCommand,
|
|
@@ -4312,37 +4880,47 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
4312
4880
|
ListGuardrailsCommand,
|
|
4313
4881
|
ListImportedModelsCommand,
|
|
4314
4882
|
ListInferenceProfilesCommand,
|
|
4883
|
+
ListMarketplaceModelEndpointsCommand,
|
|
4315
4884
|
ListModelCopyJobsCommand,
|
|
4316
4885
|
ListModelCustomizationJobsCommand,
|
|
4317
4886
|
ListModelImportJobsCommand,
|
|
4318
4887
|
ListModelInvocationJobsCommand,
|
|
4888
|
+
ListPromptRoutersCommand,
|
|
4319
4889
|
ListProvisionedModelThroughputsCommand,
|
|
4320
4890
|
ListTagsForResourceCommand,
|
|
4321
4891
|
PutModelInvocationLoggingConfigurationCommand,
|
|
4892
|
+
RegisterMarketplaceModelEndpointCommand,
|
|
4322
4893
|
StopEvaluationJobCommand,
|
|
4323
4894
|
StopModelCustomizationJobCommand,
|
|
4324
4895
|
StopModelInvocationJobCommand,
|
|
4325
4896
|
TagResourceCommand,
|
|
4326
4897
|
UntagResourceCommand,
|
|
4327
4898
|
UpdateGuardrailCommand,
|
|
4899
|
+
UpdateMarketplaceModelEndpointCommand,
|
|
4328
4900
|
UpdateProvisionedModelThroughputCommand,
|
|
4329
4901
|
paginateListCustomModels,
|
|
4330
4902
|
paginateListEvaluationJobs,
|
|
4331
4903
|
paginateListGuardrails,
|
|
4332
4904
|
paginateListImportedModels,
|
|
4333
4905
|
paginateListInferenceProfiles,
|
|
4906
|
+
paginateListMarketplaceModelEndpoints,
|
|
4334
4907
|
paginateListModelCopyJobs,
|
|
4335
4908
|
paginateListModelCustomizationJobs,
|
|
4336
4909
|
paginateListModelImportJobs,
|
|
4337
4910
|
paginateListModelInvocationJobs,
|
|
4911
|
+
paginateListPromptRouters,
|
|
4338
4912
|
paginateListProvisionedModelThroughputs,
|
|
4339
4913
|
AccessDeniedException,
|
|
4340
|
-
EvaluationJobStatus,
|
|
4341
4914
|
ConflictException,
|
|
4915
|
+
EndpointConfig,
|
|
4916
|
+
Status,
|
|
4342
4917
|
InternalServerException,
|
|
4343
4918
|
ResourceNotFoundException,
|
|
4919
|
+
ServiceQuotaExceededException,
|
|
4344
4920
|
ThrottlingException,
|
|
4345
4921
|
ValidationException,
|
|
4922
|
+
ServiceUnavailableException,
|
|
4923
|
+
EvaluationJobStatus,
|
|
4346
4924
|
ApplicationType,
|
|
4347
4925
|
EvaluationDatasetLocation,
|
|
4348
4926
|
EvaluationTaskType,
|
|
@@ -4353,10 +4931,10 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
4353
4931
|
QueryTransformationType,
|
|
4354
4932
|
SearchType,
|
|
4355
4933
|
RetrieveAndGenerateType,
|
|
4356
|
-
ServiceQuotaExceededException,
|
|
4357
4934
|
EvaluationJobType,
|
|
4358
4935
|
SortJobsBy,
|
|
4359
4936
|
SortOrder,
|
|
4937
|
+
GuardrailModality,
|
|
4360
4938
|
GuardrailFilterStrength,
|
|
4361
4939
|
GuardrailContentFilterType,
|
|
4362
4940
|
GuardrailContextualGroundingFilterType,
|
|
@@ -4385,6 +4963,8 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
4385
4963
|
InferenceType,
|
|
4386
4964
|
ModelModality,
|
|
4387
4965
|
FoundationModelLifecycleStatus,
|
|
4966
|
+
PromptRouterStatus,
|
|
4967
|
+
PromptRouterType,
|
|
4388
4968
|
CommitmentDuration,
|
|
4389
4969
|
ProvisionedModelStatus,
|
|
4390
4970
|
SortByProvisionedModels,
|
|
@@ -4415,10 +4995,14 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
4415
4995
|
GenerationConfigurationFilterSensitiveLog,
|
|
4416
4996
|
GetEvaluationJobRequestFilterSensitiveLog,
|
|
4417
4997
|
StopEvaluationJobRequestFilterSensitiveLog,
|
|
4998
|
+
GuardrailContentFilterConfigFilterSensitiveLog,
|
|
4999
|
+
GuardrailContentPolicyConfigFilterSensitiveLog,
|
|
4418
5000
|
GuardrailTopicConfigFilterSensitiveLog,
|
|
4419
5001
|
GuardrailTopicPolicyConfigFilterSensitiveLog,
|
|
4420
5002
|
CreateGuardrailRequestFilterSensitiveLog,
|
|
4421
5003
|
CreateGuardrailVersionRequestFilterSensitiveLog,
|
|
5004
|
+
GuardrailContentFilterFilterSensitiveLog,
|
|
5005
|
+
GuardrailContentPolicyFilterSensitiveLog,
|
|
4422
5006
|
GuardrailTopicFilterSensitiveLog,
|
|
4423
5007
|
GuardrailTopicPolicyFilterSensitiveLog,
|
|
4424
5008
|
GetGuardrailResponseFilterSensitiveLog,
|
|
@@ -4437,6 +5021,9 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
|
|
|
4437
5021
|
InvocationLogsConfigFilterSensitiveLog,
|
|
4438
5022
|
TrainingDataConfigFilterSensitiveLog,
|
|
4439
5023
|
GetCustomModelResponseFilterSensitiveLog,
|
|
5024
|
+
GetPromptRouterResponseFilterSensitiveLog,
|
|
5025
|
+
PromptRouterSummaryFilterSensitiveLog,
|
|
5026
|
+
ListPromptRoutersResponseFilterSensitiveLog,
|
|
4440
5027
|
CreateModelCustomizationJobRequestFilterSensitiveLog,
|
|
4441
5028
|
GetModelCustomizationJobResponseFilterSensitiveLog,
|
|
4442
5029
|
RetrievalFilterFilterSensitiveLog,
|