@aws-sdk/client-bedrock 3.835.0 → 3.839.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.
Files changed (54) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +417 -120
  3. package/dist-es/Bedrock.js +12 -0
  4. package/dist-es/commands/CreateFoundationModelAgreementCommand.js +22 -0
  5. package/dist-es/commands/CreateModelCustomizationJobCommand.js +1 -1
  6. package/dist-es/commands/DeleteFoundationModelAgreementCommand.js +22 -0
  7. package/dist-es/commands/GetFoundationModelAvailabilityCommand.js +22 -0
  8. package/dist-es/commands/GetModelCustomizationJobCommand.js +1 -1
  9. package/dist-es/commands/GetUseCaseForModelAccessCommand.js +22 -0
  10. package/dist-es/commands/ListFoundationModelAgreementOffersCommand.js +22 -0
  11. package/dist-es/commands/PutUseCaseForModelAccessCommand.js +22 -0
  12. package/dist-es/commands/index.js +6 -0
  13. package/dist-es/models/models_0.js +54 -126
  14. package/dist-es/models/models_1.js +95 -1
  15. package/dist-es/protocols/Aws_restJson1.js +153 -2
  16. package/dist-types/Bedrock.d.ts +43 -0
  17. package/dist-types/BedrockClient.d.ts +8 -2
  18. package/dist-types/commands/CreateFoundationModelAgreementCommand.d.ts +91 -0
  19. package/dist-types/commands/CreateModelCustomizationJobCommand.d.ts +1 -1
  20. package/dist-types/commands/DeleteFoundationModelAgreementCommand.d.ts +88 -0
  21. package/dist-types/commands/GetFoundationModelAvailabilityCommand.d.ts +94 -0
  22. package/dist-types/commands/GetModelCustomizationJobCommand.d.ts +1 -1
  23. package/dist-types/commands/GetUseCaseForModelAccessCommand.d.ts +82 -0
  24. package/dist-types/commands/ListFoundationModelAgreementOffersCommand.d.ts +116 -0
  25. package/dist-types/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
  26. package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
  27. package/dist-types/commands/PutUseCaseForModelAccessCommand.d.ts +82 -0
  28. package/dist-types/commands/StopModelCustomizationJobCommand.d.ts +1 -1
  29. package/dist-types/commands/TagResourceCommand.d.ts +1 -1
  30. package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
  31. package/dist-types/commands/index.d.ts +6 -0
  32. package/dist-types/models/models_0.d.ts +239 -804
  33. package/dist-types/models/models_1.d.ts +901 -1
  34. package/dist-types/protocols/Aws_restJson1.d.ts +54 -0
  35. package/dist-types/ts3.4/Bedrock.d.ts +109 -0
  36. package/dist-types/ts3.4/BedrockClient.d.ts +36 -0
  37. package/dist-types/ts3.4/commands/CreateFoundationModelAgreementCommand.d.ts +51 -0
  38. package/dist-types/ts3.4/commands/CreateModelCustomizationJobCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/DeleteFoundationModelAgreementCommand.d.ts +51 -0
  40. package/dist-types/ts3.4/commands/GetFoundationModelAvailabilityCommand.d.ts +51 -0
  41. package/dist-types/ts3.4/commands/GetModelCustomizationJobCommand.d.ts +1 -1
  42. package/dist-types/ts3.4/commands/GetUseCaseForModelAccessCommand.d.ts +51 -0
  43. package/dist-types/ts3.4/commands/ListFoundationModelAgreementOffersCommand.d.ts +49 -0
  44. package/dist-types/ts3.4/commands/ListModelCustomizationJobsCommand.d.ts +1 -1
  45. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/PutUseCaseForModelAccessCommand.d.ts +51 -0
  47. package/dist-types/ts3.4/commands/StopModelCustomizationJobCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
  50. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  51. package/dist-types/ts3.4/models/models_0.d.ts +107 -425
  52. package/dist-types/ts3.4/models/models_1.d.ts +431 -1
  53. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +72 -0
  54. package/package.json +11 -11
package/dist-cjs/index.js CHANGED
@@ -22,7 +22,9 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
22
22
  var index_exports = {};
23
23
  __export(index_exports, {
24
24
  AccessDeniedException: () => AccessDeniedException,
25
+ AgreementStatus: () => AgreementStatus,
25
26
  ApplicationType: () => ApplicationType,
27
+ AuthorizationStatus: () => AuthorizationStatus,
26
28
  AutomatedEvaluationConfigFilterSensitiveLog: () => AutomatedEvaluationConfigFilterSensitiveLog,
27
29
  AutomatedEvaluationCustomMetricConfigFilterSensitiveLog: () => AutomatedEvaluationCustomMetricConfigFilterSensitiveLog,
28
30
  AutomatedEvaluationCustomMetricSource: () => AutomatedEvaluationCustomMetricSource,
@@ -41,6 +43,7 @@ __export(index_exports, {
41
43
  CreateCustomModelCommand: () => CreateCustomModelCommand,
42
44
  CreateEvaluationJobCommand: () => CreateEvaluationJobCommand,
43
45
  CreateEvaluationJobRequestFilterSensitiveLog: () => CreateEvaluationJobRequestFilterSensitiveLog,
46
+ CreateFoundationModelAgreementCommand: () => CreateFoundationModelAgreementCommand,
44
47
  CreateGuardrailCommand: () => CreateGuardrailCommand,
45
48
  CreateGuardrailRequestFilterSensitiveLog: () => CreateGuardrailRequestFilterSensitiveLog,
46
49
  CreateGuardrailVersionCommand: () => CreateGuardrailVersionCommand,
@@ -60,6 +63,7 @@ __export(index_exports, {
60
63
  CustomizationConfig: () => CustomizationConfig,
61
64
  CustomizationType: () => CustomizationType,
62
65
  DeleteCustomModelCommand: () => DeleteCustomModelCommand,
66
+ DeleteFoundationModelAgreementCommand: () => DeleteFoundationModelAgreementCommand,
63
67
  DeleteGuardrailCommand: () => DeleteGuardrailCommand,
64
68
  DeleteImportedModelCommand: () => DeleteImportedModelCommand,
65
69
  DeleteInferenceProfileCommand: () => DeleteInferenceProfileCommand,
@@ -69,6 +73,7 @@ __export(index_exports, {
69
73
  DeleteProvisionedModelThroughputCommand: () => DeleteProvisionedModelThroughputCommand,
70
74
  DeregisterMarketplaceModelEndpointCommand: () => DeregisterMarketplaceModelEndpointCommand,
71
75
  EndpointConfig: () => EndpointConfig,
76
+ EntitlementAvailability: () => EntitlementAvailability,
72
77
  EvaluationBedrockModelFilterSensitiveLog: () => EvaluationBedrockModelFilterSensitiveLog,
73
78
  EvaluationConfig: () => EvaluationConfig,
74
79
  EvaluationConfigFilterSensitiveLog: () => EvaluationConfigFilterSensitiveLog,
@@ -96,6 +101,7 @@ __export(index_exports, {
96
101
  GetEvaluationJobCommand: () => GetEvaluationJobCommand,
97
102
  GetEvaluationJobRequestFilterSensitiveLog: () => GetEvaluationJobRequestFilterSensitiveLog,
98
103
  GetEvaluationJobResponseFilterSensitiveLog: () => GetEvaluationJobResponseFilterSensitiveLog,
104
+ GetFoundationModelAvailabilityCommand: () => GetFoundationModelAvailabilityCommand,
99
105
  GetFoundationModelCommand: () => GetFoundationModelCommand,
100
106
  GetGuardrailCommand: () => GetGuardrailCommand,
101
107
  GetGuardrailResponseFilterSensitiveLog: () => GetGuardrailResponseFilterSensitiveLog,
@@ -113,6 +119,7 @@ __export(index_exports, {
113
119
  GetPromptRouterCommand: () => GetPromptRouterCommand,
114
120
  GetPromptRouterResponseFilterSensitiveLog: () => GetPromptRouterResponseFilterSensitiveLog,
115
121
  GetProvisionedModelThroughputCommand: () => GetProvisionedModelThroughputCommand,
122
+ GetUseCaseForModelAccessCommand: () => GetUseCaseForModelAccessCommand,
116
123
  GuardrailContentFilterAction: () => GuardrailContentFilterAction,
117
124
  GuardrailContentFilterConfigFilterSensitiveLog: () => GuardrailContentFilterConfigFilterSensitiveLog,
118
125
  GuardrailContentFilterFilterSensitiveLog: () => GuardrailContentFilterFilterSensitiveLog,
@@ -170,6 +177,7 @@ __export(index_exports, {
170
177
  KnowledgeBaseVectorSearchConfigurationFilterSensitiveLog: () => KnowledgeBaseVectorSearchConfigurationFilterSensitiveLog,
171
178
  ListCustomModelsCommand: () => ListCustomModelsCommand,
172
179
  ListEvaluationJobsCommand: () => ListEvaluationJobsCommand,
180
+ ListFoundationModelAgreementOffersCommand: () => ListFoundationModelAgreementOffersCommand,
173
181
  ListFoundationModelsCommand: () => ListFoundationModelsCommand,
174
182
  ListGuardrailsCommand: () => ListGuardrailsCommand,
175
183
  ListGuardrailsResponseFilterSensitiveLog: () => ListGuardrailsResponseFilterSensitiveLog,
@@ -197,6 +205,7 @@ __export(index_exports, {
197
205
  ModelInvocationJobSummaryFilterSensitiveLog: () => ModelInvocationJobSummaryFilterSensitiveLog,
198
206
  ModelModality: () => ModelModality,
199
207
  ModelStatus: () => ModelStatus,
208
+ OfferType: () => OfferType,
200
209
  PerformanceConfigLatency: () => PerformanceConfigLatency,
201
210
  PromptRouterStatus: () => PromptRouterStatus,
202
211
  PromptRouterSummaryFilterSensitiveLog: () => PromptRouterSummaryFilterSensitiveLog,
@@ -204,10 +213,12 @@ __export(index_exports, {
204
213
  PromptTemplateFilterSensitiveLog: () => PromptTemplateFilterSensitiveLog,
205
214
  ProvisionedModelStatus: () => ProvisionedModelStatus,
206
215
  PutModelInvocationLoggingConfigurationCommand: () => PutModelInvocationLoggingConfigurationCommand,
216
+ PutUseCaseForModelAccessCommand: () => PutUseCaseForModelAccessCommand,
207
217
  QueryTransformationType: () => QueryTransformationType,
208
218
  RAGConfig: () => RAGConfig,
209
219
  RAGConfigFilterSensitiveLog: () => RAGConfigFilterSensitiveLog,
210
220
  RatingScaleItemValue: () => RatingScaleItemValue,
221
+ RegionAvailability: () => RegionAvailability,
211
222
  RegisterMarketplaceModelEndpointCommand: () => RegisterMarketplaceModelEndpointCommand,
212
223
  RequestMetadataBaseFiltersFilterSensitiveLog: () => RequestMetadataBaseFiltersFilterSensitiveLog,
213
224
  RequestMetadataFilters: () => RequestMetadataFilters,
@@ -443,34 +454,11 @@ var AccessDeniedException = class _AccessDeniedException extends BedrockServiceE
443
454
  Object.setPrototypeOf(this, _AccessDeniedException.prototype);
444
455
  }
445
456
  };
446
- var ConflictException = class _ConflictException extends BedrockServiceException {
447
- static {
448
- __name(this, "ConflictException");
449
- }
450
- name = "ConflictException";
451
- $fault = "client";
452
- /**
453
- * @internal
454
- */
455
- constructor(opts) {
456
- super({
457
- name: "ConflictException",
458
- $fault: "client",
459
- ...opts
460
- });
461
- Object.setPrototypeOf(this, _ConflictException.prototype);
462
- }
463
- };
464
- var EndpointConfig;
465
- ((EndpointConfig3) => {
466
- EndpointConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
467
- if (value.sageMaker !== void 0) return visitor.sageMaker(value.sageMaker);
468
- return visitor._(value.$unknown[0], value.$unknown[1]);
469
- }, "visit");
470
- })(EndpointConfig || (EndpointConfig = {}));
471
- var Status = {
472
- INCOMPATIBLE_ENDPOINT: "INCOMPATIBLE_ENDPOINT",
473
- REGISTERED: "REGISTERED"
457
+ var AgreementStatus = {
458
+ AVAILABLE: "AVAILABLE",
459
+ ERROR: "ERROR",
460
+ NOT_AVAILABLE: "NOT_AVAILABLE",
461
+ PENDING: "PENDING"
474
462
  };
475
463
  var InternalServerException = class _InternalServerException extends BedrockServiceException {
476
464
  static {
@@ -508,58 +496,87 @@ var ResourceNotFoundException = class _ResourceNotFoundException extends Bedrock
508
496
  Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
509
497
  }
510
498
  };
511
- var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends BedrockServiceException {
499
+ var ThrottlingException = class _ThrottlingException extends BedrockServiceException {
512
500
  static {
513
- __name(this, "ServiceQuotaExceededException");
501
+ __name(this, "ThrottlingException");
514
502
  }
515
- name = "ServiceQuotaExceededException";
503
+ name = "ThrottlingException";
516
504
  $fault = "client";
517
505
  /**
518
506
  * @internal
519
507
  */
520
508
  constructor(opts) {
521
509
  super({
522
- name: "ServiceQuotaExceededException",
510
+ name: "ThrottlingException",
523
511
  $fault: "client",
524
512
  ...opts
525
513
  });
526
- Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
514
+ Object.setPrototypeOf(this, _ThrottlingException.prototype);
527
515
  }
528
516
  };
529
- var ThrottlingException = class _ThrottlingException extends BedrockServiceException {
517
+ var ValidationException = class _ValidationException extends BedrockServiceException {
530
518
  static {
531
- __name(this, "ThrottlingException");
519
+ __name(this, "ValidationException");
532
520
  }
533
- name = "ThrottlingException";
521
+ name = "ValidationException";
534
522
  $fault = "client";
535
523
  /**
536
524
  * @internal
537
525
  */
538
526
  constructor(opts) {
539
527
  super({
540
- name: "ThrottlingException",
528
+ name: "ValidationException",
541
529
  $fault: "client",
542
530
  ...opts
543
531
  });
544
- Object.setPrototypeOf(this, _ThrottlingException.prototype);
532
+ Object.setPrototypeOf(this, _ValidationException.prototype);
545
533
  }
546
534
  };
547
- var ValidationException = class _ValidationException extends BedrockServiceException {
535
+ var ConflictException = class _ConflictException extends BedrockServiceException {
548
536
  static {
549
- __name(this, "ValidationException");
537
+ __name(this, "ConflictException");
550
538
  }
551
- name = "ValidationException";
539
+ name = "ConflictException";
552
540
  $fault = "client";
553
541
  /**
554
542
  * @internal
555
543
  */
556
544
  constructor(opts) {
557
545
  super({
558
- name: "ValidationException",
546
+ name: "ConflictException",
559
547
  $fault: "client",
560
548
  ...opts
561
549
  });
562
- Object.setPrototypeOf(this, _ValidationException.prototype);
550
+ Object.setPrototypeOf(this, _ConflictException.prototype);
551
+ }
552
+ };
553
+ var EndpointConfig;
554
+ ((EndpointConfig3) => {
555
+ EndpointConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
556
+ if (value.sageMaker !== void 0) return visitor.sageMaker(value.sageMaker);
557
+ return visitor._(value.$unknown[0], value.$unknown[1]);
558
+ }, "visit");
559
+ })(EndpointConfig || (EndpointConfig = {}));
560
+ var Status = {
561
+ INCOMPATIBLE_ENDPOINT: "INCOMPATIBLE_ENDPOINT",
562
+ REGISTERED: "REGISTERED"
563
+ };
564
+ var ServiceQuotaExceededException = class _ServiceQuotaExceededException extends BedrockServiceException {
565
+ static {
566
+ __name(this, "ServiceQuotaExceededException");
567
+ }
568
+ name = "ServiceQuotaExceededException";
569
+ $fault = "client";
570
+ /**
571
+ * @internal
572
+ */
573
+ constructor(opts) {
574
+ super({
575
+ name: "ServiceQuotaExceededException",
576
+ $fault: "client",
577
+ ...opts
578
+ });
579
+ Object.setPrototypeOf(this, _ServiceQuotaExceededException.prototype);
563
580
  }
564
581
  };
565
582
  var ServiceUnavailableException = class _ServiceUnavailableException extends BedrockServiceException {
@@ -612,8 +629,8 @@ var TooManyTagsException = class _TooManyTagsException extends BedrockServiceExc
612
629
  }
613
630
  };
614
631
  var CustomizationConfig;
615
- ((CustomizationConfig3) => {
616
- CustomizationConfig3.visit = /* @__PURE__ */ __name((value, visitor) => {
632
+ ((CustomizationConfig4) => {
633
+ CustomizationConfig4.visit = /* @__PURE__ */ __name((value, visitor) => {
617
634
  if (value.distillationConfig !== void 0) return visitor.distillationConfig(value.distillationConfig);
618
635
  return visitor._(value.$unknown[0], value.$unknown[1]);
619
636
  }, "visit");
@@ -942,47 +959,22 @@ var ProvisionedModelStatus = {
942
959
  var SortByProvisionedModels = {
943
960
  CREATION_TIME: "CreationTime"
944
961
  };
945
- var ModelCustomizationJobStatus = {
946
- COMPLETED: "Completed",
947
- FAILED: "Failed",
948
- IN_PROGRESS: "InProgress",
949
- STOPPED: "Stopped",
950
- STOPPING: "Stopping"
962
+ var AuthorizationStatus = {
963
+ AUTHORIZED: "AUTHORIZED",
964
+ NOT_AUTHORIZED: "NOT_AUTHORIZED"
951
965
  };
952
- var JobStatusDetails = {
953
- COMPLETED: "Completed",
954
- FAILED: "Failed",
955
- IN_PROGRESS: "InProgress",
956
- NOT_STARTED: "NotStarted",
957
- STOPPED: "Stopped",
958
- STOPPING: "Stopping"
966
+ var EntitlementAvailability = {
967
+ AVAILABLE: "AVAILABLE",
968
+ NOT_AVAILABLE: "NOT_AVAILABLE"
959
969
  };
960
- var FineTuningJobStatus = {
961
- COMPLETED: "Completed",
962
- FAILED: "Failed",
963
- IN_PROGRESS: "InProgress",
964
- STOPPED: "Stopped",
965
- STOPPING: "Stopping"
970
+ var RegionAvailability = {
971
+ AVAILABLE: "AVAILABLE",
972
+ NOT_AVAILABLE: "NOT_AVAILABLE"
973
+ };
974
+ var OfferType = {
975
+ ALL: "ALL",
976
+ PUBLIC: "PUBLIC"
966
977
  };
967
- var RetrievalFilter;
968
- ((RetrievalFilter3) => {
969
- RetrievalFilter3.visit = /* @__PURE__ */ __name((value, visitor) => {
970
- if (value.equals !== void 0) return visitor.equals(value.equals);
971
- if (value.notEquals !== void 0) return visitor.notEquals(value.notEquals);
972
- if (value.greaterThan !== void 0) return visitor.greaterThan(value.greaterThan);
973
- if (value.greaterThanOrEquals !== void 0) return visitor.greaterThanOrEquals(value.greaterThanOrEquals);
974
- if (value.lessThan !== void 0) return visitor.lessThan(value.lessThan);
975
- if (value.lessThanOrEquals !== void 0) return visitor.lessThanOrEquals(value.lessThanOrEquals);
976
- if (value.in !== void 0) return visitor.in(value.in);
977
- if (value.notIn !== void 0) return visitor.notIn(value.notIn);
978
- if (value.startsWith !== void 0) return visitor.startsWith(value.startsWith);
979
- if (value.listContains !== void 0) return visitor.listContains(value.listContains);
980
- if (value.stringContains !== void 0) return visitor.stringContains(value.stringContains);
981
- if (value.andAll !== void 0) return visitor.andAll(value.andAll);
982
- if (value.orAll !== void 0) return visitor.orAll(value.orAll);
983
- return visitor._(value.$unknown[0], value.$unknown[1]);
984
- }, "visit");
985
- })(RetrievalFilter || (RetrievalFilter = {}));
986
978
  var RequestMetadataBaseFiltersFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
987
979
  ...obj,
988
980
  ...obj.equals && { equals: import_smithy_client.SENSITIVE_STRING },
@@ -1391,32 +1383,6 @@ var ListPromptRoutersResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) =
1391
1383
  promptRouterSummaries: obj.promptRouterSummaries.map((item) => PromptRouterSummaryFilterSensitiveLog(item))
1392
1384
  }
1393
1385
  }), "ListPromptRoutersResponseFilterSensitiveLog");
1394
- var CreateModelCustomizationJobRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1395
- ...obj,
1396
- ...obj.trainingDataConfig && { trainingDataConfig: TrainingDataConfigFilterSensitiveLog(obj.trainingDataConfig) },
1397
- ...obj.customizationConfig && { customizationConfig: obj.customizationConfig }
1398
- }), "CreateModelCustomizationJobRequestFilterSensitiveLog");
1399
- var GetModelCustomizationJobResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1400
- ...obj,
1401
- ...obj.trainingDataConfig && { trainingDataConfig: TrainingDataConfigFilterSensitiveLog(obj.trainingDataConfig) },
1402
- ...obj.customizationConfig && { customizationConfig: obj.customizationConfig }
1403
- }), "GetModelCustomizationJobResponseFilterSensitiveLog");
1404
- var RetrievalFilterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1405
- if (obj.equals !== void 0) return { equals: obj.equals };
1406
- if (obj.notEquals !== void 0) return { notEquals: obj.notEquals };
1407
- if (obj.greaterThan !== void 0) return { greaterThan: obj.greaterThan };
1408
- if (obj.greaterThanOrEquals !== void 0) return { greaterThanOrEquals: obj.greaterThanOrEquals };
1409
- if (obj.lessThan !== void 0) return { lessThan: obj.lessThan };
1410
- if (obj.lessThanOrEquals !== void 0) return { lessThanOrEquals: obj.lessThanOrEquals };
1411
- if (obj.in !== void 0) return { in: obj.in };
1412
- if (obj.notIn !== void 0) return { notIn: obj.notIn };
1413
- if (obj.startsWith !== void 0) return { startsWith: obj.startsWith };
1414
- if (obj.listContains !== void 0) return { listContains: obj.listContains };
1415
- if (obj.stringContains !== void 0) return { stringContains: obj.stringContains };
1416
- if (obj.andAll !== void 0) return { andAll: import_smithy_client.SENSITIVE_STRING };
1417
- if (obj.orAll !== void 0) return { orAll: import_smithy_client.SENSITIVE_STRING };
1418
- if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1419
- }, "RetrievalFilterFilterSensitiveLog");
1420
1386
 
1421
1387
  // src/protocols/Aws_restJson1.ts
1422
1388
  var import_core2 = require("@aws-sdk/core");
@@ -1426,6 +1392,47 @@ var import_uuid = require("uuid");
1426
1392
 
1427
1393
  // src/models/models_1.ts
1428
1394
 
1395
+ var ModelCustomizationJobStatus = {
1396
+ COMPLETED: "Completed",
1397
+ FAILED: "Failed",
1398
+ IN_PROGRESS: "InProgress",
1399
+ STOPPED: "Stopped",
1400
+ STOPPING: "Stopping"
1401
+ };
1402
+ var JobStatusDetails = {
1403
+ COMPLETED: "Completed",
1404
+ FAILED: "Failed",
1405
+ IN_PROGRESS: "InProgress",
1406
+ NOT_STARTED: "NotStarted",
1407
+ STOPPED: "Stopped",
1408
+ STOPPING: "Stopping"
1409
+ };
1410
+ var FineTuningJobStatus = {
1411
+ COMPLETED: "Completed",
1412
+ FAILED: "Failed",
1413
+ IN_PROGRESS: "InProgress",
1414
+ STOPPED: "Stopped",
1415
+ STOPPING: "Stopping"
1416
+ };
1417
+ var RetrievalFilter;
1418
+ ((RetrievalFilter2) => {
1419
+ RetrievalFilter2.visit = /* @__PURE__ */ __name((value, visitor) => {
1420
+ if (value.equals !== void 0) return visitor.equals(value.equals);
1421
+ if (value.notEquals !== void 0) return visitor.notEquals(value.notEquals);
1422
+ if (value.greaterThan !== void 0) return visitor.greaterThan(value.greaterThan);
1423
+ if (value.greaterThanOrEquals !== void 0) return visitor.greaterThanOrEquals(value.greaterThanOrEquals);
1424
+ if (value.lessThan !== void 0) return visitor.lessThan(value.lessThan);
1425
+ if (value.lessThanOrEquals !== void 0) return visitor.lessThanOrEquals(value.lessThanOrEquals);
1426
+ if (value.in !== void 0) return visitor.in(value.in);
1427
+ if (value.notIn !== void 0) return visitor.notIn(value.notIn);
1428
+ if (value.startsWith !== void 0) return visitor.startsWith(value.startsWith);
1429
+ if (value.listContains !== void 0) return visitor.listContains(value.listContains);
1430
+ if (value.stringContains !== void 0) return visitor.stringContains(value.stringContains);
1431
+ if (value.andAll !== void 0) return visitor.andAll(value.andAll);
1432
+ if (value.orAll !== void 0) return visitor.orAll(value.orAll);
1433
+ return visitor._(value.$unknown[0], value.$unknown[1]);
1434
+ }, "visit");
1435
+ })(RetrievalFilter || (RetrievalFilter = {}));
1429
1436
  var KnowledgeBaseConfig;
1430
1437
  ((KnowledgeBaseConfig2) => {
1431
1438
  KnowledgeBaseConfig2.visit = /* @__PURE__ */ __name((value, visitor) => {
@@ -1452,6 +1459,32 @@ var EvaluationInferenceConfig;
1452
1459
  return visitor._(value.$unknown[0], value.$unknown[1]);
1453
1460
  }, "visit");
1454
1461
  })(EvaluationInferenceConfig || (EvaluationInferenceConfig = {}));
1462
+ var CreateModelCustomizationJobRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1463
+ ...obj,
1464
+ ...obj.trainingDataConfig && { trainingDataConfig: TrainingDataConfigFilterSensitiveLog(obj.trainingDataConfig) },
1465
+ ...obj.customizationConfig && { customizationConfig: obj.customizationConfig }
1466
+ }), "CreateModelCustomizationJobRequestFilterSensitiveLog");
1467
+ var GetModelCustomizationJobResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1468
+ ...obj,
1469
+ ...obj.trainingDataConfig && { trainingDataConfig: TrainingDataConfigFilterSensitiveLog(obj.trainingDataConfig) },
1470
+ ...obj.customizationConfig && { customizationConfig: obj.customizationConfig }
1471
+ }), "GetModelCustomizationJobResponseFilterSensitiveLog");
1472
+ var RetrievalFilterFilterSensitiveLog = /* @__PURE__ */ __name((obj) => {
1473
+ if (obj.equals !== void 0) return { equals: obj.equals };
1474
+ if (obj.notEquals !== void 0) return { notEquals: obj.notEquals };
1475
+ if (obj.greaterThan !== void 0) return { greaterThan: obj.greaterThan };
1476
+ if (obj.greaterThanOrEquals !== void 0) return { greaterThanOrEquals: obj.greaterThanOrEquals };
1477
+ if (obj.lessThan !== void 0) return { lessThan: obj.lessThan };
1478
+ if (obj.lessThanOrEquals !== void 0) return { lessThanOrEquals: obj.lessThanOrEquals };
1479
+ if (obj.in !== void 0) return { in: obj.in };
1480
+ if (obj.notIn !== void 0) return { notIn: obj.notIn };
1481
+ if (obj.startsWith !== void 0) return { startsWith: obj.startsWith };
1482
+ if (obj.listContains !== void 0) return { listContains: obj.listContains };
1483
+ if (obj.stringContains !== void 0) return { stringContains: obj.stringContains };
1484
+ if (obj.andAll !== void 0) return { andAll: import_smithy_client.SENSITIVE_STRING };
1485
+ if (obj.orAll !== void 0) return { orAll: import_smithy_client.SENSITIVE_STRING };
1486
+ if (obj.$unknown !== void 0) return { [obj.$unknown[0]]: "UNKNOWN" };
1487
+ }, "RetrievalFilterFilterSensitiveLog");
1455
1488
  var KnowledgeBaseVectorSearchConfigurationFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
1456
1489
  ...obj,
1457
1490
  ...obj.filter && { filter: import_smithy_client.SENSITIVE_STRING }
@@ -1587,6 +1620,22 @@ var se_CreateEvaluationJobCommand = /* @__PURE__ */ __name(async (input, context
1587
1620
  b.m("POST").h(headers).b(body);
1588
1621
  return b.build();
1589
1622
  }, "se_CreateEvaluationJobCommand");
1623
+ var se_CreateFoundationModelAgreementCommand = /* @__PURE__ */ __name(async (input, context) => {
1624
+ const b = (0, import_core.requestBuilder)(input, context);
1625
+ const headers = {
1626
+ "content-type": "application/json"
1627
+ };
1628
+ b.bp("/create-foundation-model-agreement");
1629
+ let body;
1630
+ body = JSON.stringify(
1631
+ (0, import_smithy_client.take)(input, {
1632
+ modelId: [],
1633
+ offerToken: []
1634
+ })
1635
+ );
1636
+ b.m("POST").h(headers).b(body);
1637
+ return b.build();
1638
+ }, "se_CreateFoundationModelAgreementCommand");
1590
1639
  var se_CreateGuardrailCommand = /* @__PURE__ */ __name(async (input, context) => {
1591
1640
  const b = (0, import_core.requestBuilder)(input, context);
1592
1641
  const headers = {
@@ -1814,6 +1863,21 @@ var se_DeleteCustomModelCommand = /* @__PURE__ */ __name(async (input, context)
1814
1863
  b.m("DELETE").h(headers).b(body);
1815
1864
  return b.build();
1816
1865
  }, "se_DeleteCustomModelCommand");
1866
+ var se_DeleteFoundationModelAgreementCommand = /* @__PURE__ */ __name(async (input, context) => {
1867
+ const b = (0, import_core.requestBuilder)(input, context);
1868
+ const headers = {
1869
+ "content-type": "application/json"
1870
+ };
1871
+ b.bp("/delete-foundation-model-agreement");
1872
+ let body;
1873
+ body = JSON.stringify(
1874
+ (0, import_smithy_client.take)(input, {
1875
+ modelId: []
1876
+ })
1877
+ );
1878
+ b.m("POST").h(headers).b(body);
1879
+ return b.build();
1880
+ }, "se_DeleteFoundationModelAgreementCommand");
1817
1881
  var se_DeleteGuardrailCommand = /* @__PURE__ */ __name(async (input, context) => {
1818
1882
  const b = (0, import_core.requestBuilder)(input, context);
1819
1883
  const headers = {};
@@ -1915,6 +1979,15 @@ var se_GetFoundationModelCommand = /* @__PURE__ */ __name(async (input, context)
1915
1979
  b.m("GET").h(headers).b(body);
1916
1980
  return b.build();
1917
1981
  }, "se_GetFoundationModelCommand");
1982
+ var se_GetFoundationModelAvailabilityCommand = /* @__PURE__ */ __name(async (input, context) => {
1983
+ const b = (0, import_core.requestBuilder)(input, context);
1984
+ const headers = {};
1985
+ b.bp("/foundation-model-availability/{modelId}");
1986
+ b.p("modelId", () => input.modelId, "{modelId}", false);
1987
+ let body;
1988
+ b.m("GET").h(headers).b(body);
1989
+ return b.build();
1990
+ }, "se_GetFoundationModelAvailabilityCommand");
1918
1991
  var se_GetGuardrailCommand = /* @__PURE__ */ __name(async (input, context) => {
1919
1992
  const b = (0, import_core.requestBuilder)(input, context);
1920
1993
  const headers = {};
@@ -2016,6 +2089,14 @@ var se_GetProvisionedModelThroughputCommand = /* @__PURE__ */ __name(async (inpu
2016
2089
  b.m("GET").h(headers).b(body);
2017
2090
  return b.build();
2018
2091
  }, "se_GetProvisionedModelThroughputCommand");
2092
+ var se_GetUseCaseForModelAccessCommand = /* @__PURE__ */ __name(async (input, context) => {
2093
+ const b = (0, import_core.requestBuilder)(input, context);
2094
+ const headers = {};
2095
+ b.bp("/use-case-for-model-access");
2096
+ let body;
2097
+ b.m("GET").h(headers).b(body);
2098
+ return b.build();
2099
+ }, "se_GetUseCaseForModelAccessCommand");
2019
2100
  var se_ListCustomModelsCommand = /* @__PURE__ */ __name(async (input, context) => {
2020
2101
  const b = (0, import_core.requestBuilder)(input, context);
2021
2102
  const headers = {};
@@ -2056,6 +2137,18 @@ var se_ListEvaluationJobsCommand = /* @__PURE__ */ __name(async (input, context)
2056
2137
  b.m("GET").h(headers).q(query).b(body);
2057
2138
  return b.build();
2058
2139
  }, "se_ListEvaluationJobsCommand");
2140
+ var se_ListFoundationModelAgreementOffersCommand = /* @__PURE__ */ __name(async (input, context) => {
2141
+ const b = (0, import_core.requestBuilder)(input, context);
2142
+ const headers = {};
2143
+ b.bp("/list-foundation-model-agreement-offers/{modelId}");
2144
+ b.p("modelId", () => input.modelId, "{modelId}", false);
2145
+ const query = (0, import_smithy_client.map)({
2146
+ [_oT]: [, input[_oT]]
2147
+ });
2148
+ let body;
2149
+ b.m("GET").h(headers).q(query).b(body);
2150
+ return b.build();
2151
+ }, "se_ListFoundationModelAgreementOffersCommand");
2059
2152
  var se_ListFoundationModelsCommand = /* @__PURE__ */ __name(async (input, context) => {
2060
2153
  const b = (0, import_core.requestBuilder)(input, context);
2061
2154
  const headers = {};
@@ -2262,6 +2355,21 @@ var se_PutModelInvocationLoggingConfigurationCommand = /* @__PURE__ */ __name(as
2262
2355
  b.m("PUT").h(headers).b(body);
2263
2356
  return b.build();
2264
2357
  }, "se_PutModelInvocationLoggingConfigurationCommand");
2358
+ var se_PutUseCaseForModelAccessCommand = /* @__PURE__ */ __name(async (input, context) => {
2359
+ const b = (0, import_core.requestBuilder)(input, context);
2360
+ const headers = {
2361
+ "content-type": "application/json"
2362
+ };
2363
+ b.bp("/use-case-for-model-access");
2364
+ let body;
2365
+ body = JSON.stringify(
2366
+ (0, import_smithy_client.take)(input, {
2367
+ formData: /* @__PURE__ */ __name((_) => context.base64Encoder(_), "formData")
2368
+ })
2369
+ );
2370
+ b.m("POST").h(headers).b(body);
2371
+ return b.build();
2372
+ }, "se_PutUseCaseForModelAccessCommand");
2265
2373
  var se_RegisterMarketplaceModelEndpointCommand = /* @__PURE__ */ __name(async (input, context) => {
2266
2374
  const b = (0, import_core.requestBuilder)(input, context);
2267
2375
  const headers = {
@@ -2440,6 +2548,20 @@ var de_CreateEvaluationJobCommand = /* @__PURE__ */ __name(async (output, contex
2440
2548
  Object.assign(contents, doc);
2441
2549
  return contents;
2442
2550
  }, "de_CreateEvaluationJobCommand");
2551
+ var de_CreateFoundationModelAgreementCommand = /* @__PURE__ */ __name(async (output, context) => {
2552
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
2553
+ return de_CommandError(output, context);
2554
+ }
2555
+ const contents = (0, import_smithy_client.map)({
2556
+ $metadata: deserializeMetadata(output)
2557
+ });
2558
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2559
+ const doc = (0, import_smithy_client.take)(data, {
2560
+ modelId: import_smithy_client.expectString
2561
+ });
2562
+ Object.assign(contents, doc);
2563
+ return contents;
2564
+ }, "de_CreateFoundationModelAgreementCommand");
2443
2565
  var de_CreateGuardrailCommand = /* @__PURE__ */ __name(async (output, context) => {
2444
2566
  if (output.statusCode !== 202 && output.statusCode >= 300) {
2445
2567
  return de_CommandError(output, context);
@@ -2595,6 +2717,16 @@ var de_DeleteCustomModelCommand = /* @__PURE__ */ __name(async (output, context)
2595
2717
  await (0, import_smithy_client.collectBody)(output.body, context);
2596
2718
  return contents;
2597
2719
  }, "de_DeleteCustomModelCommand");
2720
+ var de_DeleteFoundationModelAgreementCommand = /* @__PURE__ */ __name(async (output, context) => {
2721
+ if (output.statusCode !== 202 && output.statusCode >= 300) {
2722
+ return de_CommandError(output, context);
2723
+ }
2724
+ const contents = (0, import_smithy_client.map)({
2725
+ $metadata: deserializeMetadata(output)
2726
+ });
2727
+ await (0, import_smithy_client.collectBody)(output.body, context);
2728
+ return contents;
2729
+ }, "de_DeleteFoundationModelAgreementCommand");
2598
2730
  var de_DeleteGuardrailCommand = /* @__PURE__ */ __name(async (output, context) => {
2599
2731
  if (output.statusCode !== 202 && output.statusCode >= 300) {
2600
2732
  return de_CommandError(output, context);
@@ -2746,6 +2878,24 @@ var de_GetFoundationModelCommand = /* @__PURE__ */ __name(async (output, context
2746
2878
  Object.assign(contents, doc);
2747
2879
  return contents;
2748
2880
  }, "de_GetFoundationModelCommand");
2881
+ var de_GetFoundationModelAvailabilityCommand = /* @__PURE__ */ __name(async (output, context) => {
2882
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
2883
+ return de_CommandError(output, context);
2884
+ }
2885
+ const contents = (0, import_smithy_client.map)({
2886
+ $metadata: deserializeMetadata(output)
2887
+ });
2888
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
2889
+ const doc = (0, import_smithy_client.take)(data, {
2890
+ agreementAvailability: import_smithy_client._json,
2891
+ authorizationStatus: import_smithy_client.expectString,
2892
+ entitlementAvailability: import_smithy_client.expectString,
2893
+ modelId: import_smithy_client.expectString,
2894
+ regionAvailability: import_smithy_client.expectString
2895
+ });
2896
+ Object.assign(contents, doc);
2897
+ return contents;
2898
+ }, "de_GetFoundationModelAvailabilityCommand");
2749
2899
  var de_GetGuardrailCommand = /* @__PURE__ */ __name(async (output, context) => {
2750
2900
  if (output.statusCode !== 200 && output.statusCode >= 300) {
2751
2901
  return de_CommandError(output, context);
@@ -3014,6 +3164,20 @@ var de_GetProvisionedModelThroughputCommand = /* @__PURE__ */ __name(async (outp
3014
3164
  Object.assign(contents, doc);
3015
3165
  return contents;
3016
3166
  }, "de_GetProvisionedModelThroughputCommand");
3167
+ var de_GetUseCaseForModelAccessCommand = /* @__PURE__ */ __name(async (output, context) => {
3168
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3169
+ return de_CommandError(output, context);
3170
+ }
3171
+ const contents = (0, import_smithy_client.map)({
3172
+ $metadata: deserializeMetadata(output)
3173
+ });
3174
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3175
+ const doc = (0, import_smithy_client.take)(data, {
3176
+ formData: context.base64Decoder
3177
+ });
3178
+ Object.assign(contents, doc);
3179
+ return contents;
3180
+ }, "de_GetUseCaseForModelAccessCommand");
3017
3181
  var de_ListCustomModelsCommand = /* @__PURE__ */ __name(async (output, context) => {
3018
3182
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3019
3183
  return de_CommandError(output, context);
@@ -3044,6 +3208,21 @@ var de_ListEvaluationJobsCommand = /* @__PURE__ */ __name(async (output, context
3044
3208
  Object.assign(contents, doc);
3045
3209
  return contents;
3046
3210
  }, "de_ListEvaluationJobsCommand");
3211
+ var de_ListFoundationModelAgreementOffersCommand = /* @__PURE__ */ __name(async (output, context) => {
3212
+ if (output.statusCode !== 200 && output.statusCode >= 300) {
3213
+ return de_CommandError(output, context);
3214
+ }
3215
+ const contents = (0, import_smithy_client.map)({
3216
+ $metadata: deserializeMetadata(output)
3217
+ });
3218
+ const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await (0, import_core2.parseJsonBody)(output.body, context)), "body");
3219
+ const doc = (0, import_smithy_client.take)(data, {
3220
+ modelId: import_smithy_client.expectString,
3221
+ offers: import_smithy_client._json
3222
+ });
3223
+ Object.assign(contents, doc);
3224
+ return contents;
3225
+ }, "de_ListFoundationModelAgreementOffersCommand");
3047
3226
  var de_ListFoundationModelsCommand = /* @__PURE__ */ __name(async (output, context) => {
3048
3227
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3049
3228
  return de_CommandError(output, context);
@@ -3232,6 +3411,16 @@ var de_PutModelInvocationLoggingConfigurationCommand = /* @__PURE__ */ __name(as
3232
3411
  await (0, import_smithy_client.collectBody)(output.body, context);
3233
3412
  return contents;
3234
3413
  }, "de_PutModelInvocationLoggingConfigurationCommand");
3414
+ var de_PutUseCaseForModelAccessCommand = /* @__PURE__ */ __name(async (output, context) => {
3415
+ if (output.statusCode !== 201 && output.statusCode >= 300) {
3416
+ return de_CommandError(output, context);
3417
+ }
3418
+ const contents = (0, import_smithy_client.map)({
3419
+ $metadata: deserializeMetadata(output)
3420
+ });
3421
+ await (0, import_smithy_client.collectBody)(output.body, context);
3422
+ return contents;
3423
+ }, "de_PutUseCaseForModelAccessCommand");
3235
3424
  var de_RegisterMarketplaceModelEndpointCommand = /* @__PURE__ */ __name(async (output, context) => {
3236
3425
  if (output.statusCode !== 200 && output.statusCode >= 300) {
3237
3426
  return de_CommandError(output, context);
@@ -4380,6 +4569,7 @@ var _mSI = "modelSourceIdentifier";
4380
4569
  var _nC = "nameContains";
4381
4570
  var _nT = "nextToken";
4382
4571
  var _oMNC = "outputModelNameContains";
4572
+ var _oT = "offerType";
4383
4573
  var _sAE = "sourceAccountEquals";
4384
4574
  var _sB = "sortBy";
4385
4575
  var _sE = "statusEquals";
@@ -4433,6 +4623,21 @@ var CreateEvaluationJobCommand = class extends import_smithy_client.Command.clas
4433
4623
  }
4434
4624
  };
4435
4625
 
4626
+ // src/commands/CreateFoundationModelAgreementCommand.ts
4627
+
4628
+
4629
+
4630
+ var CreateFoundationModelAgreementCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4631
+ return [
4632
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4633
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4634
+ ];
4635
+ }).s("AmazonBedrockControlPlaneService", "CreateFoundationModelAgreement", {}).n("BedrockClient", "CreateFoundationModelAgreementCommand").f(void 0, void 0).ser(se_CreateFoundationModelAgreementCommand).de(de_CreateFoundationModelAgreementCommand).build() {
4636
+ static {
4637
+ __name(this, "CreateFoundationModelAgreementCommand");
4638
+ }
4639
+ };
4640
+
4436
4641
  // src/commands/CreateGuardrailCommand.ts
4437
4642
 
4438
4643
 
@@ -4598,6 +4803,21 @@ var DeleteCustomModelCommand = class extends import_smithy_client.Command.classB
4598
4803
  }
4599
4804
  };
4600
4805
 
4806
+ // src/commands/DeleteFoundationModelAgreementCommand.ts
4807
+
4808
+
4809
+
4810
+ var DeleteFoundationModelAgreementCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4811
+ return [
4812
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4813
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4814
+ ];
4815
+ }).s("AmazonBedrockControlPlaneService", "DeleteFoundationModelAgreement", {}).n("BedrockClient", "DeleteFoundationModelAgreementCommand").f(void 0, void 0).ser(se_DeleteFoundationModelAgreementCommand).de(de_DeleteFoundationModelAgreementCommand).build() {
4816
+ static {
4817
+ __name(this, "DeleteFoundationModelAgreementCommand");
4818
+ }
4819
+ };
4820
+
4601
4821
  // src/commands/DeleteGuardrailCommand.ts
4602
4822
 
4603
4823
 
@@ -4748,6 +4968,21 @@ var GetEvaluationJobCommand = class extends import_smithy_client.Command.classBu
4748
4968
  }
4749
4969
  };
4750
4970
 
4971
+ // src/commands/GetFoundationModelAvailabilityCommand.ts
4972
+
4973
+
4974
+
4975
+ var GetFoundationModelAvailabilityCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
4976
+ return [
4977
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
4978
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
4979
+ ];
4980
+ }).s("AmazonBedrockControlPlaneService", "GetFoundationModelAvailability", {}).n("BedrockClient", "GetFoundationModelAvailabilityCommand").f(void 0, void 0).ser(se_GetFoundationModelAvailabilityCommand).de(de_GetFoundationModelAvailabilityCommand).build() {
4981
+ static {
4982
+ __name(this, "GetFoundationModelAvailabilityCommand");
4983
+ }
4984
+ };
4985
+
4751
4986
  // src/commands/GetFoundationModelCommand.ts
4752
4987
 
4753
4988
 
@@ -4928,6 +5163,21 @@ var GetProvisionedModelThroughputCommand = class extends import_smithy_client.Co
4928
5163
  }
4929
5164
  };
4930
5165
 
5166
+ // src/commands/GetUseCaseForModelAccessCommand.ts
5167
+
5168
+
5169
+
5170
+ var GetUseCaseForModelAccessCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5171
+ return [
5172
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5173
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5174
+ ];
5175
+ }).s("AmazonBedrockControlPlaneService", "GetUseCaseForModelAccess", {}).n("BedrockClient", "GetUseCaseForModelAccessCommand").f(void 0, void 0).ser(se_GetUseCaseForModelAccessCommand).de(de_GetUseCaseForModelAccessCommand).build() {
5176
+ static {
5177
+ __name(this, "GetUseCaseForModelAccessCommand");
5178
+ }
5179
+ };
5180
+
4931
5181
  // src/commands/ListCustomModelsCommand.ts
4932
5182
 
4933
5183
 
@@ -4958,6 +5208,21 @@ var ListEvaluationJobsCommand = class extends import_smithy_client.Command.class
4958
5208
  }
4959
5209
  };
4960
5210
 
5211
+ // src/commands/ListFoundationModelAgreementOffersCommand.ts
5212
+
5213
+
5214
+
5215
+ var ListFoundationModelAgreementOffersCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5216
+ return [
5217
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5218
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5219
+ ];
5220
+ }).s("AmazonBedrockControlPlaneService", "ListFoundationModelAgreementOffers", {}).n("BedrockClient", "ListFoundationModelAgreementOffersCommand").f(void 0, void 0).ser(se_ListFoundationModelAgreementOffersCommand).de(de_ListFoundationModelAgreementOffersCommand).build() {
5221
+ static {
5222
+ __name(this, "ListFoundationModelAgreementOffersCommand");
5223
+ }
5224
+ };
5225
+
4961
5226
  // src/commands/ListFoundationModelsCommand.ts
4962
5227
 
4963
5228
 
@@ -5153,6 +5418,21 @@ var PutModelInvocationLoggingConfigurationCommand = class extends import_smithy_
5153
5418
  }
5154
5419
  };
5155
5420
 
5421
+ // src/commands/PutUseCaseForModelAccessCommand.ts
5422
+
5423
+
5424
+
5425
+ var PutUseCaseForModelAccessCommand = class extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
5426
+ return [
5427
+ (0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
5428
+ (0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
5429
+ ];
5430
+ }).s("AmazonBedrockControlPlaneService", "PutUseCaseForModelAccess", {}).n("BedrockClient", "PutUseCaseForModelAccessCommand").f(void 0, void 0).ser(se_PutUseCaseForModelAccessCommand).de(de_PutUseCaseForModelAccessCommand).build() {
5431
+ static {
5432
+ __name(this, "PutUseCaseForModelAccessCommand");
5433
+ }
5434
+ };
5435
+
5156
5436
  // src/commands/RegisterMarketplaceModelEndpointCommand.ts
5157
5437
 
5158
5438
 
@@ -5293,6 +5573,7 @@ var commands = {
5293
5573
  BatchDeleteEvaluationJobCommand,
5294
5574
  CreateCustomModelCommand,
5295
5575
  CreateEvaluationJobCommand,
5576
+ CreateFoundationModelAgreementCommand,
5296
5577
  CreateGuardrailCommand,
5297
5578
  CreateGuardrailVersionCommand,
5298
5579
  CreateInferenceProfileCommand,
@@ -5304,6 +5585,7 @@ var commands = {
5304
5585
  CreatePromptRouterCommand,
5305
5586
  CreateProvisionedModelThroughputCommand,
5306
5587
  DeleteCustomModelCommand,
5588
+ DeleteFoundationModelAgreementCommand,
5307
5589
  DeleteGuardrailCommand,
5308
5590
  DeleteImportedModelCommand,
5309
5591
  DeleteInferenceProfileCommand,
@@ -5315,6 +5597,7 @@ var commands = {
5315
5597
  GetCustomModelCommand,
5316
5598
  GetEvaluationJobCommand,
5317
5599
  GetFoundationModelCommand,
5600
+ GetFoundationModelAvailabilityCommand,
5318
5601
  GetGuardrailCommand,
5319
5602
  GetImportedModelCommand,
5320
5603
  GetInferenceProfileCommand,
@@ -5326,8 +5609,10 @@ var commands = {
5326
5609
  GetModelInvocationLoggingConfigurationCommand,
5327
5610
  GetPromptRouterCommand,
5328
5611
  GetProvisionedModelThroughputCommand,
5612
+ GetUseCaseForModelAccessCommand,
5329
5613
  ListCustomModelsCommand,
5330
5614
  ListEvaluationJobsCommand,
5615
+ ListFoundationModelAgreementOffersCommand,
5331
5616
  ListFoundationModelsCommand,
5332
5617
  ListGuardrailsCommand,
5333
5618
  ListImportedModelsCommand,
@@ -5341,6 +5626,7 @@ var commands = {
5341
5626
  ListProvisionedModelThroughputsCommand,
5342
5627
  ListTagsForResourceCommand,
5343
5628
  PutModelInvocationLoggingConfigurationCommand,
5629
+ PutUseCaseForModelAccessCommand,
5344
5630
  RegisterMarketplaceModelEndpointCommand,
5345
5631
  StopEvaluationJobCommand,
5346
5632
  StopModelCustomizationJobCommand,
@@ -5416,6 +5702,7 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
5416
5702
  BatchDeleteEvaluationJobCommand,
5417
5703
  CreateCustomModelCommand,
5418
5704
  CreateEvaluationJobCommand,
5705
+ CreateFoundationModelAgreementCommand,
5419
5706
  CreateGuardrailCommand,
5420
5707
  CreateGuardrailVersionCommand,
5421
5708
  CreateInferenceProfileCommand,
@@ -5427,6 +5714,7 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
5427
5714
  CreatePromptRouterCommand,
5428
5715
  CreateProvisionedModelThroughputCommand,
5429
5716
  DeleteCustomModelCommand,
5717
+ DeleteFoundationModelAgreementCommand,
5430
5718
  DeleteGuardrailCommand,
5431
5719
  DeleteImportedModelCommand,
5432
5720
  DeleteInferenceProfileCommand,
@@ -5437,6 +5725,7 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
5437
5725
  DeregisterMarketplaceModelEndpointCommand,
5438
5726
  GetCustomModelCommand,
5439
5727
  GetEvaluationJobCommand,
5728
+ GetFoundationModelAvailabilityCommand,
5440
5729
  GetFoundationModelCommand,
5441
5730
  GetGuardrailCommand,
5442
5731
  GetImportedModelCommand,
@@ -5449,8 +5738,10 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
5449
5738
  GetModelInvocationLoggingConfigurationCommand,
5450
5739
  GetPromptRouterCommand,
5451
5740
  GetProvisionedModelThroughputCommand,
5741
+ GetUseCaseForModelAccessCommand,
5452
5742
  ListCustomModelsCommand,
5453
5743
  ListEvaluationJobsCommand,
5744
+ ListFoundationModelAgreementOffersCommand,
5454
5745
  ListFoundationModelsCommand,
5455
5746
  ListGuardrailsCommand,
5456
5747
  ListImportedModelsCommand,
@@ -5464,6 +5755,7 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
5464
5755
  ListProvisionedModelThroughputsCommand,
5465
5756
  ListTagsForResourceCommand,
5466
5757
  PutModelInvocationLoggingConfigurationCommand,
5758
+ PutUseCaseForModelAccessCommand,
5467
5759
  RegisterMarketplaceModelEndpointCommand,
5468
5760
  StopEvaluationJobCommand,
5469
5761
  StopModelCustomizationJobCommand,
@@ -5486,14 +5778,15 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
5486
5778
  paginateListPromptRouters,
5487
5779
  paginateListProvisionedModelThroughputs,
5488
5780
  AccessDeniedException,
5489
- ConflictException,
5490
- EndpointConfig,
5491
- Status,
5781
+ AgreementStatus,
5492
5782
  InternalServerException,
5493
5783
  ResourceNotFoundException,
5494
- ServiceQuotaExceededException,
5495
5784
  ThrottlingException,
5496
5785
  ValidationException,
5786
+ ConflictException,
5787
+ EndpointConfig,
5788
+ Status,
5789
+ ServiceQuotaExceededException,
5497
5790
  ServiceUnavailableException,
5498
5791
  ModelDataSource,
5499
5792
  TooManyTagsException,
@@ -5554,10 +5847,10 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
5554
5847
  CommitmentDuration,
5555
5848
  ProvisionedModelStatus,
5556
5849
  SortByProvisionedModels,
5557
- ModelCustomizationJobStatus,
5558
- JobStatusDetails,
5559
- FineTuningJobStatus,
5560
- RetrievalFilter,
5850
+ AuthorizationStatus,
5851
+ EntitlementAvailability,
5852
+ RegionAvailability,
5853
+ OfferType,
5561
5854
  RequestMetadataBaseFiltersFilterSensitiveLog,
5562
5855
  RequestMetadataFiltersFilterSensitiveLog,
5563
5856
  InvocationLogsConfigFilterSensitiveLog,
@@ -5626,12 +5919,16 @@ var paginateListProvisionedModelThroughputs = (0, import_core.createPaginator)(B
5626
5919
  GetPromptRouterResponseFilterSensitiveLog,
5627
5920
  PromptRouterSummaryFilterSensitiveLog,
5628
5921
  ListPromptRoutersResponseFilterSensitiveLog,
5629
- CreateModelCustomizationJobRequestFilterSensitiveLog,
5630
- GetModelCustomizationJobResponseFilterSensitiveLog,
5631
- RetrievalFilterFilterSensitiveLog,
5922
+ ModelCustomizationJobStatus,
5923
+ JobStatusDetails,
5924
+ FineTuningJobStatus,
5925
+ RetrievalFilter,
5632
5926
  KnowledgeBaseConfig,
5633
5927
  RAGConfig,
5634
5928
  EvaluationInferenceConfig,
5929
+ CreateModelCustomizationJobRequestFilterSensitiveLog,
5930
+ GetModelCustomizationJobResponseFilterSensitiveLog,
5931
+ RetrievalFilterFilterSensitiveLog,
5635
5932
  KnowledgeBaseVectorSearchConfigurationFilterSensitiveLog,
5636
5933
  KnowledgeBaseRetrievalConfigurationFilterSensitiveLog,
5637
5934
  KnowledgeBaseRetrieveAndGenerateConfigurationFilterSensitiveLog,