@aws-sdk/client-bedrock 3.687.0 → 3.692.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.
@@ -13,7 +13,7 @@ export interface BatchDeleteEvaluationJobRequest {
13
13
  export interface BatchDeleteEvaluationJobError {
14
14
  jobIdentifier: string | undefined;
15
15
  code: string | undefined;
16
- message?: string;
16
+ message?: string | undefined;
17
17
  }
18
18
  export declare const EvaluationJobStatus: {
19
19
  readonly COMPLETED: "Completed";
@@ -86,7 +86,7 @@ export declare namespace EvaluationDatasetLocation {
86
86
  }
87
87
  export interface EvaluationDataset {
88
88
  name: string | undefined;
89
- datasetLocation?: EvaluationDatasetLocation;
89
+ datasetLocation?: EvaluationDatasetLocation | undefined;
90
90
  }
91
91
  export declare const EvaluationTaskType: {
92
92
  readonly CLASSIFICATION: "Classification";
@@ -107,16 +107,16 @@ export interface AutomatedEvaluationConfig {
107
107
  }
108
108
  export interface HumanEvaluationCustomMetric {
109
109
  name: string | undefined;
110
- description?: string;
110
+ description?: string | undefined;
111
111
  ratingMethod: string | undefined;
112
112
  }
113
113
  export interface HumanWorkflowConfig {
114
114
  flowDefinitionArn: string | undefined;
115
- instructions?: string;
115
+ instructions?: string | undefined;
116
116
  }
117
117
  export interface HumanEvaluationConfig {
118
- humanWorkflowConfig?: HumanWorkflowConfig;
119
- customMetrics?: HumanEvaluationCustomMetric[];
118
+ humanWorkflowConfig?: HumanWorkflowConfig | undefined;
119
+ customMetrics?: HumanEvaluationCustomMetric[] | undefined;
120
120
  datasetMetricConfigs: EvaluationDatasetMetricConfig[] | undefined;
121
121
  }
122
122
  export type EvaluationConfig =
@@ -195,11 +195,11 @@ export interface EvaluationOutputDataConfig {
195
195
  }
196
196
  export interface CreateEvaluationJobRequest {
197
197
  jobName: string | undefined;
198
- jobDescription?: string;
199
- clientRequestToken?: string;
198
+ jobDescription?: string | undefined;
199
+ clientRequestToken?: string | undefined;
200
200
  roleArn: string | undefined;
201
- customerEncryptionKeyId?: string;
202
- jobTags?: Tag[];
201
+ customerEncryptionKeyId?: string | undefined;
202
+ jobTags?: Tag[] | undefined;
203
203
  evaluationConfig: EvaluationConfig | undefined;
204
204
  inferenceConfig: EvaluationInferenceConfig | undefined;
205
205
  outputDataConfig: EvaluationOutputDataConfig | undefined;
@@ -227,16 +227,16 @@ export interface GetEvaluationJobResponse {
227
227
  jobName: string | undefined;
228
228
  status: EvaluationJobStatus | undefined;
229
229
  jobArn: string | undefined;
230
- jobDescription?: string;
230
+ jobDescription?: string | undefined;
231
231
  roleArn: string | undefined;
232
- customerEncryptionKeyId?: string;
232
+ customerEncryptionKeyId?: string | undefined;
233
233
  jobType: EvaluationJobType | undefined;
234
234
  evaluationConfig: EvaluationConfig | undefined;
235
235
  inferenceConfig: EvaluationInferenceConfig | undefined;
236
236
  outputDataConfig: EvaluationOutputDataConfig | undefined;
237
237
  creationTime: Date | undefined;
238
- lastModifiedTime?: Date;
239
- failureMessages?: string[];
238
+ lastModifiedTime?: Date | undefined;
239
+ failureMessages?: string[] | undefined;
240
240
  }
241
241
  export declare const SortJobsBy: {
242
242
  readonly CREATION_TIME: "CreationTime";
@@ -248,14 +248,14 @@ export declare const SortOrder: {
248
248
  };
249
249
  export type SortOrder = (typeof SortOrder)[keyof typeof SortOrder];
250
250
  export interface ListEvaluationJobsRequest {
251
- creationTimeAfter?: Date;
252
- creationTimeBefore?: Date;
253
- statusEquals?: EvaluationJobStatus;
254
- nameContains?: string;
255
- maxResults?: number;
256
- nextToken?: string;
257
- sortBy?: SortJobsBy;
258
- sortOrder?: SortOrder;
251
+ creationTimeAfter?: Date | undefined;
252
+ creationTimeBefore?: Date | undefined;
253
+ statusEquals?: EvaluationJobStatus | undefined;
254
+ nameContains?: string | undefined;
255
+ maxResults?: number | undefined;
256
+ nextToken?: string | undefined;
257
+ sortBy?: SortJobsBy | undefined;
258
+ sortOrder?: SortOrder | undefined;
259
259
  }
260
260
  export interface EvaluationSummary {
261
261
  jobArn: string | undefined;
@@ -267,8 +267,8 @@ export interface EvaluationSummary {
267
267
  modelIdentifiers: string[] | undefined;
268
268
  }
269
269
  export interface ListEvaluationJobsResponse {
270
- nextToken?: string;
271
- jobSummaries?: EvaluationSummary[];
270
+ nextToken?: string | undefined;
271
+ jobSummaries?: EvaluationSummary[] | undefined;
272
272
  }
273
273
  export interface StopEvaluationJobRequest {
274
274
  jobIdentifier: string | undefined;
@@ -360,13 +360,13 @@ export interface GuardrailPiiEntityConfig {
360
360
  }
361
361
  export interface GuardrailRegexConfig {
362
362
  name: string | undefined;
363
- description?: string;
363
+ description?: string | undefined;
364
364
  pattern: string | undefined;
365
365
  action: GuardrailSensitiveInformationAction | undefined;
366
366
  }
367
367
  export interface GuardrailSensitiveInformationPolicyConfig {
368
- piiEntitiesConfig?: GuardrailPiiEntityConfig[];
369
- regexesConfig?: GuardrailRegexConfig[];
368
+ piiEntitiesConfig?: GuardrailPiiEntityConfig[] | undefined;
369
+ regexesConfig?: GuardrailRegexConfig[] | undefined;
370
370
  }
371
371
  export declare const GuardrailTopicType: {
372
372
  readonly DENY: "DENY";
@@ -376,7 +376,7 @@ export type GuardrailTopicType =
376
376
  export interface GuardrailTopicConfig {
377
377
  name: string | undefined;
378
378
  definition: string | undefined;
379
- examples?: string[];
379
+ examples?: string[] | undefined;
380
380
  type: GuardrailTopicType | undefined;
381
381
  }
382
382
  export interface GuardrailTopicPolicyConfig {
@@ -394,22 +394,26 @@ export interface GuardrailWordConfig {
394
394
  text: string | undefined;
395
395
  }
396
396
  export interface GuardrailWordPolicyConfig {
397
- wordsConfig?: GuardrailWordConfig[];
398
- managedWordListsConfig?: GuardrailManagedWordsConfig[];
397
+ wordsConfig?: GuardrailWordConfig[] | undefined;
398
+ managedWordListsConfig?: GuardrailManagedWordsConfig[] | undefined;
399
399
  }
400
400
  export interface CreateGuardrailRequest {
401
401
  name: string | undefined;
402
- description?: string;
403
- topicPolicyConfig?: GuardrailTopicPolicyConfig;
404
- contentPolicyConfig?: GuardrailContentPolicyConfig;
405
- wordPolicyConfig?: GuardrailWordPolicyConfig;
406
- sensitiveInformationPolicyConfig?: GuardrailSensitiveInformationPolicyConfig;
407
- contextualGroundingPolicyConfig?: GuardrailContextualGroundingPolicyConfig;
402
+ description?: string | undefined;
403
+ topicPolicyConfig?: GuardrailTopicPolicyConfig | undefined;
404
+ contentPolicyConfig?: GuardrailContentPolicyConfig | undefined;
405
+ wordPolicyConfig?: GuardrailWordPolicyConfig | undefined;
406
+ sensitiveInformationPolicyConfig?:
407
+ | GuardrailSensitiveInformationPolicyConfig
408
+ | undefined;
409
+ contextualGroundingPolicyConfig?:
410
+ | GuardrailContextualGroundingPolicyConfig
411
+ | undefined;
408
412
  blockedInputMessaging: string | undefined;
409
413
  blockedOutputsMessaging: string | undefined;
410
- kmsKeyId?: string;
411
- tags?: Tag[];
412
- clientRequestToken?: string;
414
+ kmsKeyId?: string | undefined;
415
+ tags?: Tag[] | undefined;
416
+ clientRequestToken?: string | undefined;
413
417
  }
414
418
  export interface CreateGuardrailResponse {
415
419
  guardrailId: string | undefined;
@@ -420,15 +424,15 @@ export interface CreateGuardrailResponse {
420
424
  export declare class TooManyTagsException extends __BaseException {
421
425
  readonly name: "TooManyTagsException";
422
426
  readonly $fault: "client";
423
- resourceName?: string;
427
+ resourceName?: string | undefined;
424
428
  constructor(
425
429
  opts: __ExceptionOptionType<TooManyTagsException, __BaseException>
426
430
  );
427
431
  }
428
432
  export interface CreateGuardrailVersionRequest {
429
433
  guardrailIdentifier: string | undefined;
430
- description?: string;
431
- clientRequestToken?: string;
434
+ description?: string | undefined;
435
+ clientRequestToken?: string | undefined;
432
436
  }
433
437
  export interface CreateGuardrailVersionResponse {
434
438
  guardrailId: string | undefined;
@@ -436,12 +440,12 @@ export interface CreateGuardrailVersionResponse {
436
440
  }
437
441
  export interface DeleteGuardrailRequest {
438
442
  guardrailIdentifier: string | undefined;
439
- guardrailVersion?: string;
443
+ guardrailVersion?: string | undefined;
440
444
  }
441
445
  export interface DeleteGuardrailResponse {}
442
446
  export interface GetGuardrailRequest {
443
447
  guardrailIdentifier: string | undefined;
444
- guardrailVersion?: string;
448
+ guardrailVersion?: string | undefined;
445
449
  }
446
450
  export interface GuardrailContentFilter {
447
451
  type: GuardrailContentFilterType | undefined;
@@ -449,7 +453,7 @@ export interface GuardrailContentFilter {
449
453
  outputStrength: GuardrailFilterStrength | undefined;
450
454
  }
451
455
  export interface GuardrailContentPolicy {
452
- filters?: GuardrailContentFilter[];
456
+ filters?: GuardrailContentFilter[] | undefined;
453
457
  }
454
458
  export interface GuardrailContextualGroundingFilter {
455
459
  type: GuardrailContextualGroundingFilterType | undefined;
@@ -464,13 +468,13 @@ export interface GuardrailPiiEntity {
464
468
  }
465
469
  export interface GuardrailRegex {
466
470
  name: string | undefined;
467
- description?: string;
471
+ description?: string | undefined;
468
472
  pattern: string | undefined;
469
473
  action: GuardrailSensitiveInformationAction | undefined;
470
474
  }
471
475
  export interface GuardrailSensitiveInformationPolicy {
472
- piiEntities?: GuardrailPiiEntity[];
473
- regexes?: GuardrailRegex[];
476
+ piiEntities?: GuardrailPiiEntity[] | undefined;
477
+ regexes?: GuardrailRegex[] | undefined;
474
478
  }
475
479
  export declare const GuardrailStatus: {
476
480
  readonly CREATING: "CREATING";
@@ -485,8 +489,8 @@ export type GuardrailStatus =
485
489
  export interface GuardrailTopic {
486
490
  name: string | undefined;
487
491
  definition: string | undefined;
488
- examples?: string[];
489
- type?: GuardrailTopicType;
492
+ examples?: string[] | undefined;
493
+ type?: GuardrailTopicType | undefined;
490
494
  }
491
495
  export interface GuardrailTopicPolicy {
492
496
  topics: GuardrailTopic[] | undefined;
@@ -498,60 +502,64 @@ export interface GuardrailWord {
498
502
  text: string | undefined;
499
503
  }
500
504
  export interface GuardrailWordPolicy {
501
- words?: GuardrailWord[];
502
- managedWordLists?: GuardrailManagedWords[];
505
+ words?: GuardrailWord[] | undefined;
506
+ managedWordLists?: GuardrailManagedWords[] | undefined;
503
507
  }
504
508
  export interface GetGuardrailResponse {
505
509
  name: string | undefined;
506
- description?: string;
510
+ description?: string | undefined;
507
511
  guardrailId: string | undefined;
508
512
  guardrailArn: string | undefined;
509
513
  version: string | undefined;
510
514
  status: GuardrailStatus | undefined;
511
- topicPolicy?: GuardrailTopicPolicy;
512
- contentPolicy?: GuardrailContentPolicy;
513
- wordPolicy?: GuardrailWordPolicy;
514
- sensitiveInformationPolicy?: GuardrailSensitiveInformationPolicy;
515
- contextualGroundingPolicy?: GuardrailContextualGroundingPolicy;
515
+ topicPolicy?: GuardrailTopicPolicy | undefined;
516
+ contentPolicy?: GuardrailContentPolicy | undefined;
517
+ wordPolicy?: GuardrailWordPolicy | undefined;
518
+ sensitiveInformationPolicy?: GuardrailSensitiveInformationPolicy | undefined;
519
+ contextualGroundingPolicy?: GuardrailContextualGroundingPolicy | undefined;
516
520
  createdAt: Date | undefined;
517
521
  updatedAt: Date | undefined;
518
- statusReasons?: string[];
519
- failureRecommendations?: string[];
522
+ statusReasons?: string[] | undefined;
523
+ failureRecommendations?: string[] | undefined;
520
524
  blockedInputMessaging: string | undefined;
521
525
  blockedOutputsMessaging: string | undefined;
522
- kmsKeyArn?: string;
526
+ kmsKeyArn?: string | undefined;
523
527
  }
524
528
  export interface ListGuardrailsRequest {
525
- guardrailIdentifier?: string;
526
- maxResults?: number;
527
- nextToken?: string;
529
+ guardrailIdentifier?: string | undefined;
530
+ maxResults?: number | undefined;
531
+ nextToken?: string | undefined;
528
532
  }
529
533
  export interface GuardrailSummary {
530
534
  id: string | undefined;
531
535
  arn: string | undefined;
532
536
  status: GuardrailStatus | undefined;
533
537
  name: string | undefined;
534
- description?: string;
538
+ description?: string | undefined;
535
539
  version: string | undefined;
536
540
  createdAt: Date | undefined;
537
541
  updatedAt: Date | undefined;
538
542
  }
539
543
  export interface ListGuardrailsResponse {
540
544
  guardrails: GuardrailSummary[] | undefined;
541
- nextToken?: string;
545
+ nextToken?: string | undefined;
542
546
  }
543
547
  export interface UpdateGuardrailRequest {
544
548
  guardrailIdentifier: string | undefined;
545
549
  name: string | undefined;
546
- description?: string;
547
- topicPolicyConfig?: GuardrailTopicPolicyConfig;
548
- contentPolicyConfig?: GuardrailContentPolicyConfig;
549
- wordPolicyConfig?: GuardrailWordPolicyConfig;
550
- sensitiveInformationPolicyConfig?: GuardrailSensitiveInformationPolicyConfig;
551
- contextualGroundingPolicyConfig?: GuardrailContextualGroundingPolicyConfig;
550
+ description?: string | undefined;
551
+ topicPolicyConfig?: GuardrailTopicPolicyConfig | undefined;
552
+ contentPolicyConfig?: GuardrailContentPolicyConfig | undefined;
553
+ wordPolicyConfig?: GuardrailWordPolicyConfig | undefined;
554
+ sensitiveInformationPolicyConfig?:
555
+ | GuardrailSensitiveInformationPolicyConfig
556
+ | undefined;
557
+ contextualGroundingPolicyConfig?:
558
+ | GuardrailContextualGroundingPolicyConfig
559
+ | undefined;
552
560
  blockedInputMessaging: string | undefined;
553
561
  blockedOutputsMessaging: string | undefined;
554
- kmsKeyId?: string;
562
+ kmsKeyId?: string | undefined;
555
563
  }
556
564
  export interface UpdateGuardrailResponse {
557
565
  guardrailId: string | undefined;
@@ -582,10 +590,10 @@ export declare namespace InferenceProfileModelSource {
582
590
  }
583
591
  export interface CreateInferenceProfileRequest {
584
592
  inferenceProfileName: string | undefined;
585
- description?: string;
586
- clientRequestToken?: string;
593
+ description?: string | undefined;
594
+ clientRequestToken?: string | undefined;
587
595
  modelSource: InferenceProfileModelSource | undefined;
588
- tags?: Tag[];
596
+ tags?: Tag[] | undefined;
589
597
  }
590
598
  export declare const InferenceProfileStatus: {
591
599
  readonly ACTIVE: "ACTIVE";
@@ -594,7 +602,7 @@ export type InferenceProfileStatus =
594
602
  (typeof InferenceProfileStatus)[keyof typeof InferenceProfileStatus];
595
603
  export interface CreateInferenceProfileResponse {
596
604
  inferenceProfileArn: string | undefined;
597
- status?: InferenceProfileStatus;
605
+ status?: InferenceProfileStatus | undefined;
598
606
  }
599
607
  export interface DeleteInferenceProfileRequest {
600
608
  inferenceProfileIdentifier: string | undefined;
@@ -604,7 +612,7 @@ export interface GetInferenceProfileRequest {
604
612
  inferenceProfileIdentifier: string | undefined;
605
613
  }
606
614
  export interface InferenceProfileModel {
607
- modelArn?: string;
615
+ modelArn?: string | undefined;
608
616
  }
609
617
  export declare const InferenceProfileType: {
610
618
  readonly APPLICATION: "APPLICATION";
@@ -614,9 +622,9 @@ export type InferenceProfileType =
614
622
  (typeof InferenceProfileType)[keyof typeof InferenceProfileType];
615
623
  export interface GetInferenceProfileResponse {
616
624
  inferenceProfileName: string | undefined;
617
- description?: string;
618
- createdAt?: Date;
619
- updatedAt?: Date;
625
+ description?: string | undefined;
626
+ createdAt?: Date | undefined;
627
+ updatedAt?: Date | undefined;
620
628
  inferenceProfileArn: string | undefined;
621
629
  models: InferenceProfileModel[] | undefined;
622
630
  inferenceProfileId: string | undefined;
@@ -624,15 +632,15 @@ export interface GetInferenceProfileResponse {
624
632
  type: InferenceProfileType | undefined;
625
633
  }
626
634
  export interface ListInferenceProfilesRequest {
627
- maxResults?: number;
628
- nextToken?: string;
629
- typeEquals?: InferenceProfileType;
635
+ maxResults?: number | undefined;
636
+ nextToken?: string | undefined;
637
+ typeEquals?: InferenceProfileType | undefined;
630
638
  }
631
639
  export interface InferenceProfileSummary {
632
640
  inferenceProfileName: string | undefined;
633
- description?: string;
634
- createdAt?: Date;
635
- updatedAt?: Date;
641
+ description?: string | undefined;
642
+ createdAt?: Date | undefined;
643
+ updatedAt?: Date | undefined;
636
644
  inferenceProfileArn: string | undefined;
637
645
  models: InferenceProfileModel[] | undefined;
638
646
  inferenceProfileId: string | undefined;
@@ -640,30 +648,30 @@ export interface InferenceProfileSummary {
640
648
  type: InferenceProfileType | undefined;
641
649
  }
642
650
  export interface ListInferenceProfilesResponse {
643
- inferenceProfileSummaries?: InferenceProfileSummary[];
644
- nextToken?: string;
651
+ inferenceProfileSummaries?: InferenceProfileSummary[] | undefined;
652
+ nextToken?: string | undefined;
645
653
  }
646
654
  export interface DeleteModelInvocationLoggingConfigurationRequest {}
647
655
  export interface DeleteModelInvocationLoggingConfigurationResponse {}
648
656
  export interface GetModelInvocationLoggingConfigurationRequest {}
649
657
  export interface S3Config {
650
658
  bucketName: string | undefined;
651
- keyPrefix?: string;
659
+ keyPrefix?: string | undefined;
652
660
  }
653
661
  export interface CloudWatchConfig {
654
662
  logGroupName: string | undefined;
655
663
  roleArn: string | undefined;
656
- largeDataDeliveryS3Config?: S3Config;
664
+ largeDataDeliveryS3Config?: S3Config | undefined;
657
665
  }
658
666
  export interface LoggingConfig {
659
- cloudWatchConfig?: CloudWatchConfig;
660
- s3Config?: S3Config;
661
- textDataDeliveryEnabled?: boolean;
662
- imageDataDeliveryEnabled?: boolean;
663
- embeddingDataDeliveryEnabled?: boolean;
667
+ cloudWatchConfig?: CloudWatchConfig | undefined;
668
+ s3Config?: S3Config | undefined;
669
+ textDataDeliveryEnabled?: boolean | undefined;
670
+ imageDataDeliveryEnabled?: boolean | undefined;
671
+ embeddingDataDeliveryEnabled?: boolean | undefined;
664
672
  }
665
673
  export interface GetModelInvocationLoggingConfigurationResponse {
666
- loggingConfig?: LoggingConfig;
674
+ loggingConfig?: LoggingConfig | undefined;
667
675
  }
668
676
  export interface PutModelInvocationLoggingConfigurationRequest {
669
677
  loggingConfig: LoggingConfig | undefined;
@@ -672,9 +680,9 @@ export interface PutModelInvocationLoggingConfigurationResponse {}
672
680
  export interface CreateModelCopyJobRequest {
673
681
  sourceModelArn: string | undefined;
674
682
  targetModelName: string | undefined;
675
- modelKmsKeyId?: string;
676
- targetModelTags?: Tag[];
677
- clientRequestToken?: string;
683
+ modelKmsKeyId?: string | undefined;
684
+ targetModelTags?: Tag[] | undefined;
685
+ clientRequestToken?: string | undefined;
678
686
  }
679
687
  export interface CreateModelCopyJobResponse {
680
688
  jobArn: string | undefined;
@@ -694,42 +702,42 @@ export interface GetModelCopyJobResponse {
694
702
  status: ModelCopyJobStatus | undefined;
695
703
  creationTime: Date | undefined;
696
704
  targetModelArn: string | undefined;
697
- targetModelName?: string;
705
+ targetModelName?: string | undefined;
698
706
  sourceAccountId: string | undefined;
699
707
  sourceModelArn: string | undefined;
700
- targetModelKmsKeyArn?: string;
701
- targetModelTags?: Tag[];
702
- failureMessage?: string;
703
- sourceModelName?: string;
708
+ targetModelKmsKeyArn?: string | undefined;
709
+ targetModelTags?: Tag[] | undefined;
710
+ failureMessage?: string | undefined;
711
+ sourceModelName?: string | undefined;
704
712
  }
705
713
  export interface ListModelCopyJobsRequest {
706
- creationTimeAfter?: Date;
707
- creationTimeBefore?: Date;
708
- statusEquals?: ModelCopyJobStatus;
709
- sourceAccountEquals?: string;
710
- sourceModelArnEquals?: string;
711
- targetModelNameContains?: string;
712
- maxResults?: number;
713
- nextToken?: string;
714
- sortBy?: SortJobsBy;
715
- sortOrder?: SortOrder;
714
+ creationTimeAfter?: Date | undefined;
715
+ creationTimeBefore?: Date | undefined;
716
+ statusEquals?: ModelCopyJobStatus | undefined;
717
+ sourceAccountEquals?: string | undefined;
718
+ sourceModelArnEquals?: string | undefined;
719
+ targetModelNameContains?: string | undefined;
720
+ maxResults?: number | undefined;
721
+ nextToken?: string | undefined;
722
+ sortBy?: SortJobsBy | undefined;
723
+ sortOrder?: SortOrder | undefined;
716
724
  }
717
725
  export interface ModelCopyJobSummary {
718
726
  jobArn: string | undefined;
719
727
  status: ModelCopyJobStatus | undefined;
720
728
  creationTime: Date | undefined;
721
729
  targetModelArn: string | undefined;
722
- targetModelName?: string;
730
+ targetModelName?: string | undefined;
723
731
  sourceAccountId: string | undefined;
724
732
  sourceModelArn: string | undefined;
725
- targetModelKmsKeyArn?: string;
726
- targetModelTags?: Tag[];
727
- failureMessage?: string;
728
- sourceModelName?: string;
733
+ targetModelKmsKeyArn?: string | undefined;
734
+ targetModelTags?: Tag[] | undefined;
735
+ failureMessage?: string | undefined;
736
+ sourceModelName?: string | undefined;
729
737
  }
730
738
  export interface ListModelCopyJobsResponse {
731
- nextToken?: string;
732
- modelCopyJobSummaries?: ModelCopyJobSummary[];
739
+ nextToken?: string | undefined;
740
+ modelCopyJobSummaries?: ModelCopyJobSummary[] | undefined;
733
741
  }
734
742
  export interface S3DataSource {
735
743
  s3Uri: string | undefined;
@@ -761,11 +769,11 @@ export interface CreateModelImportJobRequest {
761
769
  importedModelName: string | undefined;
762
770
  roleArn: string | undefined;
763
771
  modelDataSource: ModelDataSource | undefined;
764
- jobTags?: Tag[];
765
- importedModelTags?: Tag[];
766
- clientRequestToken?: string;
767
- vpcConfig?: VpcConfig;
768
- importedModelKmsKeyId?: string;
772
+ jobTags?: Tag[] | undefined;
773
+ importedModelTags?: Tag[] | undefined;
774
+ clientRequestToken?: string | undefined;
775
+ vpcConfig?: VpcConfig | undefined;
776
+ importedModelKmsKeyId?: string | undefined;
769
777
  }
770
778
  export interface CreateModelImportJobResponse {
771
779
  jobArn: string | undefined;
@@ -778,15 +786,15 @@ export interface GetImportedModelRequest {
778
786
  modelIdentifier: string | undefined;
779
787
  }
780
788
  export interface GetImportedModelResponse {
781
- modelArn?: string;
782
- modelName?: string;
783
- jobName?: string;
784
- jobArn?: string;
785
- modelDataSource?: ModelDataSource;
786
- creationTime?: Date;
787
- modelArchitecture?: string;
788
- modelKmsKeyArn?: string;
789
- instructSupported?: boolean;
789
+ modelArn?: string | undefined;
790
+ modelName?: string | undefined;
791
+ jobName?: string | undefined;
792
+ jobArn?: string | undefined;
793
+ modelDataSource?: ModelDataSource | undefined;
794
+ creationTime?: Date | undefined;
795
+ modelArchitecture?: string | undefined;
796
+ modelKmsKeyArn?: string | undefined;
797
+ instructSupported?: boolean | undefined;
790
798
  }
791
799
  export interface GetModelImportJobRequest {
792
800
  jobIdentifier: string | undefined;
@@ -799,76 +807,76 @@ export declare const ModelImportJobStatus: {
799
807
  export type ModelImportJobStatus =
800
808
  (typeof ModelImportJobStatus)[keyof typeof ModelImportJobStatus];
801
809
  export interface GetModelImportJobResponse {
802
- jobArn?: string;
803
- jobName?: string;
804
- importedModelName?: string;
805
- importedModelArn?: string;
806
- roleArn?: string;
807
- modelDataSource?: ModelDataSource;
808
- status?: ModelImportJobStatus;
809
- failureMessage?: string;
810
- creationTime?: Date;
811
- lastModifiedTime?: Date;
812
- endTime?: Date;
813
- vpcConfig?: VpcConfig;
814
- importedModelKmsKeyArn?: string;
810
+ jobArn?: string | undefined;
811
+ jobName?: string | undefined;
812
+ importedModelName?: string | undefined;
813
+ importedModelArn?: string | undefined;
814
+ roleArn?: string | undefined;
815
+ modelDataSource?: ModelDataSource | undefined;
816
+ status?: ModelImportJobStatus | undefined;
817
+ failureMessage?: string | undefined;
818
+ creationTime?: Date | undefined;
819
+ lastModifiedTime?: Date | undefined;
820
+ endTime?: Date | undefined;
821
+ vpcConfig?: VpcConfig | undefined;
822
+ importedModelKmsKeyArn?: string | undefined;
815
823
  }
816
824
  export declare const SortModelsBy: {
817
825
  readonly CREATION_TIME: "CreationTime";
818
826
  };
819
827
  export type SortModelsBy = (typeof SortModelsBy)[keyof typeof SortModelsBy];
820
828
  export interface ListImportedModelsRequest {
821
- creationTimeBefore?: Date;
822
- creationTimeAfter?: Date;
823
- nameContains?: string;
824
- maxResults?: number;
825
- nextToken?: string;
826
- sortBy?: SortModelsBy;
827
- sortOrder?: SortOrder;
829
+ creationTimeBefore?: Date | undefined;
830
+ creationTimeAfter?: Date | undefined;
831
+ nameContains?: string | undefined;
832
+ maxResults?: number | undefined;
833
+ nextToken?: string | undefined;
834
+ sortBy?: SortModelsBy | undefined;
835
+ sortOrder?: SortOrder | undefined;
828
836
  }
829
837
  export interface ImportedModelSummary {
830
838
  modelArn: string | undefined;
831
839
  modelName: string | undefined;
832
840
  creationTime: Date | undefined;
833
- instructSupported?: boolean;
834
- modelArchitecture?: string;
841
+ instructSupported?: boolean | undefined;
842
+ modelArchitecture?: string | undefined;
835
843
  }
836
844
  export interface ListImportedModelsResponse {
837
- nextToken?: string;
838
- modelSummaries?: ImportedModelSummary[];
845
+ nextToken?: string | undefined;
846
+ modelSummaries?: ImportedModelSummary[] | undefined;
839
847
  }
840
848
  export interface ListModelImportJobsRequest {
841
- creationTimeAfter?: Date;
842
- creationTimeBefore?: Date;
843
- statusEquals?: ModelImportJobStatus;
844
- nameContains?: string;
845
- maxResults?: number;
846
- nextToken?: string;
847
- sortBy?: SortJobsBy;
848
- sortOrder?: SortOrder;
849
+ creationTimeAfter?: Date | undefined;
850
+ creationTimeBefore?: Date | undefined;
851
+ statusEquals?: ModelImportJobStatus | undefined;
852
+ nameContains?: string | undefined;
853
+ maxResults?: number | undefined;
854
+ nextToken?: string | undefined;
855
+ sortBy?: SortJobsBy | undefined;
856
+ sortOrder?: SortOrder | undefined;
849
857
  }
850
858
  export interface ModelImportJobSummary {
851
859
  jobArn: string | undefined;
852
860
  jobName: string | undefined;
853
861
  status: ModelImportJobStatus | undefined;
854
- lastModifiedTime?: Date;
862
+ lastModifiedTime?: Date | undefined;
855
863
  creationTime: Date | undefined;
856
- endTime?: Date;
857
- importedModelArn?: string;
858
- importedModelName?: string;
864
+ endTime?: Date | undefined;
865
+ importedModelArn?: string | undefined;
866
+ importedModelName?: string | undefined;
859
867
  }
860
868
  export interface ListModelImportJobsResponse {
861
- nextToken?: string;
862
- modelImportJobSummaries?: ModelImportJobSummary[];
869
+ nextToken?: string | undefined;
870
+ modelImportJobSummaries?: ModelImportJobSummary[] | undefined;
863
871
  }
864
872
  export declare const S3InputFormat: {
865
873
  readonly JSONL: "JSONL";
866
874
  };
867
875
  export type S3InputFormat = (typeof S3InputFormat)[keyof typeof S3InputFormat];
868
876
  export interface ModelInvocationJobS3InputDataConfig {
869
- s3InputFormat?: S3InputFormat;
877
+ s3InputFormat?: S3InputFormat | undefined;
870
878
  s3Uri: string | undefined;
871
- s3BucketOwner?: string;
879
+ s3BucketOwner?: string | undefined;
872
880
  }
873
881
  export type ModelInvocationJobInputDataConfig =
874
882
  | ModelInvocationJobInputDataConfig.S3InputDataConfigMember
@@ -893,8 +901,8 @@ export declare namespace ModelInvocationJobInputDataConfig {
893
901
  }
894
902
  export interface ModelInvocationJobS3OutputDataConfig {
895
903
  s3Uri: string | undefined;
896
- s3EncryptionKeyId?: string;
897
- s3BucketOwner?: string;
904
+ s3EncryptionKeyId?: string | undefined;
905
+ s3BucketOwner?: string | undefined;
898
906
  }
899
907
  export type ModelInvocationJobOutputDataConfig =
900
908
  | ModelInvocationJobOutputDataConfig.S3OutputDataConfigMember
@@ -920,13 +928,13 @@ export declare namespace ModelInvocationJobOutputDataConfig {
920
928
  export interface CreateModelInvocationJobRequest {
921
929
  jobName: string | undefined;
922
930
  roleArn: string | undefined;
923
- clientRequestToken?: string;
931
+ clientRequestToken?: string | undefined;
924
932
  modelId: string | undefined;
925
933
  inputDataConfig: ModelInvocationJobInputDataConfig | undefined;
926
934
  outputDataConfig: ModelInvocationJobOutputDataConfig | undefined;
927
- vpcConfig?: VpcConfig;
928
- timeoutDurationInHours?: number;
929
- tags?: Tag[];
935
+ vpcConfig?: VpcConfig | undefined;
936
+ timeoutDurationInHours?: number | undefined;
937
+ tags?: Tag[] | undefined;
930
938
  }
931
939
  export interface CreateModelInvocationJobResponse {
932
940
  jobArn: string | undefined;
@@ -950,51 +958,51 @@ export type ModelInvocationJobStatus =
950
958
  (typeof ModelInvocationJobStatus)[keyof typeof ModelInvocationJobStatus];
951
959
  export interface GetModelInvocationJobResponse {
952
960
  jobArn: string | undefined;
953
- jobName?: string;
961
+ jobName?: string | undefined;
954
962
  modelId: string | undefined;
955
- clientRequestToken?: string;
963
+ clientRequestToken?: string | undefined;
956
964
  roleArn: string | undefined;
957
- status?: ModelInvocationJobStatus;
958
- message?: string;
965
+ status?: ModelInvocationJobStatus | undefined;
966
+ message?: string | undefined;
959
967
  submitTime: Date | undefined;
960
- lastModifiedTime?: Date;
961
- endTime?: Date;
968
+ lastModifiedTime?: Date | undefined;
969
+ endTime?: Date | undefined;
962
970
  inputDataConfig: ModelInvocationJobInputDataConfig | undefined;
963
971
  outputDataConfig: ModelInvocationJobOutputDataConfig | undefined;
964
- vpcConfig?: VpcConfig;
965
- timeoutDurationInHours?: number;
966
- jobExpirationTime?: Date;
972
+ vpcConfig?: VpcConfig | undefined;
973
+ timeoutDurationInHours?: number | undefined;
974
+ jobExpirationTime?: Date | undefined;
967
975
  }
968
976
  export interface ListModelInvocationJobsRequest {
969
- submitTimeAfter?: Date;
970
- submitTimeBefore?: Date;
971
- statusEquals?: ModelInvocationJobStatus;
972
- nameContains?: string;
973
- maxResults?: number;
974
- nextToken?: string;
975
- sortBy?: SortJobsBy;
976
- sortOrder?: SortOrder;
977
+ submitTimeAfter?: Date | undefined;
978
+ submitTimeBefore?: Date | undefined;
979
+ statusEquals?: ModelInvocationJobStatus | undefined;
980
+ nameContains?: string | undefined;
981
+ maxResults?: number | undefined;
982
+ nextToken?: string | undefined;
983
+ sortBy?: SortJobsBy | undefined;
984
+ sortOrder?: SortOrder | undefined;
977
985
  }
978
986
  export interface ModelInvocationJobSummary {
979
987
  jobArn: string | undefined;
980
988
  jobName: string | undefined;
981
989
  modelId: string | undefined;
982
- clientRequestToken?: string;
990
+ clientRequestToken?: string | undefined;
983
991
  roleArn: string | undefined;
984
- status?: ModelInvocationJobStatus;
985
- message?: string;
992
+ status?: ModelInvocationJobStatus | undefined;
993
+ message?: string | undefined;
986
994
  submitTime: Date | undefined;
987
- lastModifiedTime?: Date;
988
- endTime?: Date;
995
+ lastModifiedTime?: Date | undefined;
996
+ endTime?: Date | undefined;
989
997
  inputDataConfig: ModelInvocationJobInputDataConfig | undefined;
990
998
  outputDataConfig: ModelInvocationJobOutputDataConfig | undefined;
991
- vpcConfig?: VpcConfig;
992
- timeoutDurationInHours?: number;
993
- jobExpirationTime?: Date;
999
+ vpcConfig?: VpcConfig | undefined;
1000
+ timeoutDurationInHours?: number | undefined;
1001
+ jobExpirationTime?: Date | undefined;
994
1002
  }
995
1003
  export interface ListModelInvocationJobsResponse {
996
- nextToken?: string;
997
- invocationJobSummaries?: ModelInvocationJobSummary[];
1004
+ nextToken?: string | undefined;
1005
+ invocationJobSummaries?: ModelInvocationJobSummary[] | undefined;
998
1006
  }
999
1007
  export interface StopModelInvocationJobRequest {
1000
1008
  jobIdentifier: string | undefined;
@@ -1020,7 +1028,7 @@ export interface TrainingDataConfig {
1020
1028
  s3Uri: string | undefined;
1021
1029
  }
1022
1030
  export interface TrainingMetrics {
1023
- trainingLoss?: number;
1031
+ trainingLoss?: number | undefined;
1024
1032
  }
1025
1033
  export interface Validator {
1026
1034
  s3Uri: string | undefined;
@@ -1029,22 +1037,22 @@ export interface ValidationDataConfig {
1029
1037
  validators: Validator[] | undefined;
1030
1038
  }
1031
1039
  export interface ValidatorMetric {
1032
- validationLoss?: number;
1040
+ validationLoss?: number | undefined;
1033
1041
  }
1034
1042
  export interface GetCustomModelResponse {
1035
1043
  modelArn: string | undefined;
1036
1044
  modelName: string | undefined;
1037
- jobName?: string;
1045
+ jobName?: string | undefined;
1038
1046
  jobArn: string | undefined;
1039
1047
  baseModelArn: string | undefined;
1040
- customizationType?: CustomizationType;
1041
- modelKmsKeyArn?: string;
1042
- hyperParameters?: Record<string, string>;
1048
+ customizationType?: CustomizationType | undefined;
1049
+ modelKmsKeyArn?: string | undefined;
1050
+ hyperParameters?: Record<string, string> | undefined;
1043
1051
  trainingDataConfig: TrainingDataConfig | undefined;
1044
- validationDataConfig?: ValidationDataConfig;
1052
+ validationDataConfig?: ValidationDataConfig | undefined;
1045
1053
  outputDataConfig: OutputDataConfig | undefined;
1046
- trainingMetrics?: TrainingMetrics;
1047
- validationMetrics?: ValidatorMetric[];
1054
+ trainingMetrics?: TrainingMetrics | undefined;
1055
+ validationMetrics?: ValidatorMetric[] | undefined;
1048
1056
  creationTime: Date | undefined;
1049
1057
  }
1050
1058
  export interface GetFoundationModelRequest {
@@ -1079,29 +1087,29 @@ export interface FoundationModelLifecycle {
1079
1087
  export interface FoundationModelDetails {
1080
1088
  modelArn: string | undefined;
1081
1089
  modelId: string | undefined;
1082
- modelName?: string;
1083
- providerName?: string;
1084
- inputModalities?: ModelModality[];
1085
- outputModalities?: ModelModality[];
1086
- responseStreamingSupported?: boolean;
1087
- customizationsSupported?: ModelCustomization[];
1088
- inferenceTypesSupported?: InferenceType[];
1089
- modelLifecycle?: FoundationModelLifecycle;
1090
+ modelName?: string | undefined;
1091
+ providerName?: string | undefined;
1092
+ inputModalities?: ModelModality[] | undefined;
1093
+ outputModalities?: ModelModality[] | undefined;
1094
+ responseStreamingSupported?: boolean | undefined;
1095
+ customizationsSupported?: ModelCustomization[] | undefined;
1096
+ inferenceTypesSupported?: InferenceType[] | undefined;
1097
+ modelLifecycle?: FoundationModelLifecycle | undefined;
1090
1098
  }
1091
1099
  export interface GetFoundationModelResponse {
1092
- modelDetails?: FoundationModelDetails;
1100
+ modelDetails?: FoundationModelDetails | undefined;
1093
1101
  }
1094
1102
  export interface ListCustomModelsRequest {
1095
- creationTimeBefore?: Date;
1096
- creationTimeAfter?: Date;
1097
- nameContains?: string;
1098
- baseModelArnEquals?: string;
1099
- foundationModelArnEquals?: string;
1100
- maxResults?: number;
1101
- nextToken?: string;
1102
- sortBy?: SortModelsBy;
1103
- sortOrder?: SortOrder;
1104
- isOwned?: boolean;
1103
+ creationTimeBefore?: Date | undefined;
1104
+ creationTimeAfter?: Date | undefined;
1105
+ nameContains?: string | undefined;
1106
+ baseModelArnEquals?: string | undefined;
1107
+ foundationModelArnEquals?: string | undefined;
1108
+ maxResults?: number | undefined;
1109
+ nextToken?: string | undefined;
1110
+ sortBy?: SortModelsBy | undefined;
1111
+ sortOrder?: SortOrder | undefined;
1112
+ isOwned?: boolean | undefined;
1105
1113
  }
1106
1114
  export interface CustomModelSummary {
1107
1115
  modelArn: string | undefined;
@@ -1109,33 +1117,33 @@ export interface CustomModelSummary {
1109
1117
  creationTime: Date | undefined;
1110
1118
  baseModelArn: string | undefined;
1111
1119
  baseModelName: string | undefined;
1112
- customizationType?: CustomizationType;
1113
- ownerAccountId?: string;
1120
+ customizationType?: CustomizationType | undefined;
1121
+ ownerAccountId?: string | undefined;
1114
1122
  }
1115
1123
  export interface ListCustomModelsResponse {
1116
- nextToken?: string;
1117
- modelSummaries?: CustomModelSummary[];
1124
+ nextToken?: string | undefined;
1125
+ modelSummaries?: CustomModelSummary[] | undefined;
1118
1126
  }
1119
1127
  export interface ListFoundationModelsRequest {
1120
- byProvider?: string;
1121
- byCustomizationType?: ModelCustomization;
1122
- byOutputModality?: ModelModality;
1123
- byInferenceType?: InferenceType;
1128
+ byProvider?: string | undefined;
1129
+ byCustomizationType?: ModelCustomization | undefined;
1130
+ byOutputModality?: ModelModality | undefined;
1131
+ byInferenceType?: InferenceType | undefined;
1124
1132
  }
1125
1133
  export interface FoundationModelSummary {
1126
1134
  modelArn: string | undefined;
1127
1135
  modelId: string | undefined;
1128
- modelName?: string;
1129
- providerName?: string;
1130
- inputModalities?: ModelModality[];
1131
- outputModalities?: ModelModality[];
1132
- responseStreamingSupported?: boolean;
1133
- customizationsSupported?: ModelCustomization[];
1134
- inferenceTypesSupported?: InferenceType[];
1135
- modelLifecycle?: FoundationModelLifecycle;
1136
+ modelName?: string | undefined;
1137
+ providerName?: string | undefined;
1138
+ inputModalities?: ModelModality[] | undefined;
1139
+ outputModalities?: ModelModality[] | undefined;
1140
+ responseStreamingSupported?: boolean | undefined;
1141
+ customizationsSupported?: ModelCustomization[] | undefined;
1142
+ inferenceTypesSupported?: InferenceType[] | undefined;
1143
+ modelLifecycle?: FoundationModelLifecycle | undefined;
1136
1144
  }
1137
1145
  export interface ListFoundationModelsResponse {
1138
- modelSummaries?: FoundationModelSummary[];
1146
+ modelSummaries?: FoundationModelSummary[] | undefined;
1139
1147
  }
1140
1148
  export declare const CommitmentDuration: {
1141
1149
  readonly ONE_MONTH: "OneMonth";
@@ -1144,12 +1152,12 @@ export declare const CommitmentDuration: {
1144
1152
  export type CommitmentDuration =
1145
1153
  (typeof CommitmentDuration)[keyof typeof CommitmentDuration];
1146
1154
  export interface CreateProvisionedModelThroughputRequest {
1147
- clientRequestToken?: string;
1155
+ clientRequestToken?: string | undefined;
1148
1156
  modelUnits: number | undefined;
1149
1157
  provisionedModelName: string | undefined;
1150
1158
  modelId: string | undefined;
1151
- commitmentDuration?: CommitmentDuration;
1152
- tags?: Tag[];
1159
+ commitmentDuration?: CommitmentDuration | undefined;
1160
+ tags?: Tag[] | undefined;
1153
1161
  }
1154
1162
  export interface CreateProvisionedModelThroughputResponse {
1155
1163
  provisionedModelArn: string | undefined;
@@ -1180,9 +1188,9 @@ export interface GetProvisionedModelThroughputResponse {
1180
1188
  status: ProvisionedModelStatus | undefined;
1181
1189
  creationTime: Date | undefined;
1182
1190
  lastModifiedTime: Date | undefined;
1183
- failureMessage?: string;
1184
- commitmentDuration?: CommitmentDuration;
1185
- commitmentExpirationTime?: Date;
1191
+ failureMessage?: string | undefined;
1192
+ commitmentDuration?: CommitmentDuration | undefined;
1193
+ commitmentExpirationTime?: Date | undefined;
1186
1194
  }
1187
1195
  export declare const SortByProvisionedModels: {
1188
1196
  readonly CREATION_TIME: "CreationTime";
@@ -1190,15 +1198,15 @@ export declare const SortByProvisionedModels: {
1190
1198
  export type SortByProvisionedModels =
1191
1199
  (typeof SortByProvisionedModels)[keyof typeof SortByProvisionedModels];
1192
1200
  export interface ListProvisionedModelThroughputsRequest {
1193
- creationTimeAfter?: Date;
1194
- creationTimeBefore?: Date;
1195
- statusEquals?: ProvisionedModelStatus;
1196
- modelArnEquals?: string;
1197
- nameContains?: string;
1198
- maxResults?: number;
1199
- nextToken?: string;
1200
- sortBy?: SortByProvisionedModels;
1201
- sortOrder?: SortOrder;
1201
+ creationTimeAfter?: Date | undefined;
1202
+ creationTimeBefore?: Date | undefined;
1203
+ statusEquals?: ProvisionedModelStatus | undefined;
1204
+ modelArnEquals?: string | undefined;
1205
+ nameContains?: string | undefined;
1206
+ maxResults?: number | undefined;
1207
+ nextToken?: string | undefined;
1208
+ sortBy?: SortByProvisionedModels | undefined;
1209
+ sortOrder?: SortOrder | undefined;
1202
1210
  }
1203
1211
  export interface ProvisionedModelSummary {
1204
1212
  provisionedModelName: string | undefined;
@@ -1209,26 +1217,26 @@ export interface ProvisionedModelSummary {
1209
1217
  modelUnits: number | undefined;
1210
1218
  desiredModelUnits: number | undefined;
1211
1219
  status: ProvisionedModelStatus | undefined;
1212
- commitmentDuration?: CommitmentDuration;
1213
- commitmentExpirationTime?: Date;
1220
+ commitmentDuration?: CommitmentDuration | undefined;
1221
+ commitmentExpirationTime?: Date | undefined;
1214
1222
  creationTime: Date | undefined;
1215
1223
  lastModifiedTime: Date | undefined;
1216
1224
  }
1217
1225
  export interface ListProvisionedModelThroughputsResponse {
1218
- nextToken?: string;
1219
- provisionedModelSummaries?: ProvisionedModelSummary[];
1226
+ nextToken?: string | undefined;
1227
+ provisionedModelSummaries?: ProvisionedModelSummary[] | undefined;
1220
1228
  }
1221
1229
  export interface UpdateProvisionedModelThroughputRequest {
1222
1230
  provisionedModelId: string | undefined;
1223
- desiredProvisionedModelName?: string;
1224
- desiredModelId?: string;
1231
+ desiredProvisionedModelName?: string | undefined;
1232
+ desiredModelId?: string | undefined;
1225
1233
  }
1226
1234
  export interface UpdateProvisionedModelThroughputResponse {}
1227
1235
  export interface ListTagsForResourceRequest {
1228
1236
  resourceARN: string | undefined;
1229
1237
  }
1230
1238
  export interface ListTagsForResourceResponse {
1231
- tags?: Tag[];
1239
+ tags?: Tag[] | undefined;
1232
1240
  }
1233
1241
  export interface TagResourceRequest {
1234
1242
  resourceARN: string | undefined;
@@ -1244,17 +1252,17 @@ export interface CreateModelCustomizationJobRequest {
1244
1252
  jobName: string | undefined;
1245
1253
  customModelName: string | undefined;
1246
1254
  roleArn: string | undefined;
1247
- clientRequestToken?: string;
1255
+ clientRequestToken?: string | undefined;
1248
1256
  baseModelIdentifier: string | undefined;
1249
- customizationType?: CustomizationType;
1250
- customModelKmsKeyId?: string;
1251
- jobTags?: Tag[];
1252
- customModelTags?: Tag[];
1257
+ customizationType?: CustomizationType | undefined;
1258
+ customModelKmsKeyId?: string | undefined;
1259
+ jobTags?: Tag[] | undefined;
1260
+ customModelTags?: Tag[] | undefined;
1253
1261
  trainingDataConfig: TrainingDataConfig | undefined;
1254
- validationDataConfig?: ValidationDataConfig;
1262
+ validationDataConfig?: ValidationDataConfig | undefined;
1255
1263
  outputDataConfig: OutputDataConfig | undefined;
1256
1264
  hyperParameters: Record<string, string> | undefined;
1257
- vpcConfig?: VpcConfig;
1265
+ vpcConfig?: VpcConfig | undefined;
1258
1266
  }
1259
1267
  export interface CreateModelCustomizationJobResponse {
1260
1268
  jobArn: string | undefined;
@@ -1275,24 +1283,24 @@ export interface GetModelCustomizationJobResponse {
1275
1283
  jobArn: string | undefined;
1276
1284
  jobName: string | undefined;
1277
1285
  outputModelName: string | undefined;
1278
- outputModelArn?: string;
1279
- clientRequestToken?: string;
1286
+ outputModelArn?: string | undefined;
1287
+ clientRequestToken?: string | undefined;
1280
1288
  roleArn: string | undefined;
1281
- status?: ModelCustomizationJobStatus;
1282
- failureMessage?: string;
1289
+ status?: ModelCustomizationJobStatus | undefined;
1290
+ failureMessage?: string | undefined;
1283
1291
  creationTime: Date | undefined;
1284
- lastModifiedTime?: Date;
1285
- endTime?: Date;
1292
+ lastModifiedTime?: Date | undefined;
1293
+ endTime?: Date | undefined;
1286
1294
  baseModelArn: string | undefined;
1287
1295
  hyperParameters: Record<string, string> | undefined;
1288
1296
  trainingDataConfig: TrainingDataConfig | undefined;
1289
1297
  validationDataConfig: ValidationDataConfig | undefined;
1290
1298
  outputDataConfig: OutputDataConfig | undefined;
1291
- customizationType?: CustomizationType;
1292
- outputModelKmsKeyArn?: string;
1293
- trainingMetrics?: TrainingMetrics;
1294
- validationMetrics?: ValidatorMetric[];
1295
- vpcConfig?: VpcConfig;
1299
+ customizationType?: CustomizationType | undefined;
1300
+ outputModelKmsKeyArn?: string | undefined;
1301
+ trainingMetrics?: TrainingMetrics | undefined;
1302
+ validationMetrics?: ValidatorMetric[] | undefined;
1303
+ vpcConfig?: VpcConfig | undefined;
1296
1304
  }
1297
1305
  export declare const FineTuningJobStatus: {
1298
1306
  readonly COMPLETED: "Completed";
@@ -1304,30 +1312,30 @@ export declare const FineTuningJobStatus: {
1304
1312
  export type FineTuningJobStatus =
1305
1313
  (typeof FineTuningJobStatus)[keyof typeof FineTuningJobStatus];
1306
1314
  export interface ListModelCustomizationJobsRequest {
1307
- creationTimeAfter?: Date;
1308
- creationTimeBefore?: Date;
1309
- statusEquals?: FineTuningJobStatus;
1310
- nameContains?: string;
1311
- maxResults?: number;
1312
- nextToken?: string;
1313
- sortBy?: SortJobsBy;
1314
- sortOrder?: SortOrder;
1315
+ creationTimeAfter?: Date | undefined;
1316
+ creationTimeBefore?: Date | undefined;
1317
+ statusEquals?: FineTuningJobStatus | undefined;
1318
+ nameContains?: string | undefined;
1319
+ maxResults?: number | undefined;
1320
+ nextToken?: string | undefined;
1321
+ sortBy?: SortJobsBy | undefined;
1322
+ sortOrder?: SortOrder | undefined;
1315
1323
  }
1316
1324
  export interface ModelCustomizationJobSummary {
1317
1325
  jobArn: string | undefined;
1318
1326
  baseModelArn: string | undefined;
1319
1327
  jobName: string | undefined;
1320
1328
  status: ModelCustomizationJobStatus | undefined;
1321
- lastModifiedTime?: Date;
1329
+ lastModifiedTime?: Date | undefined;
1322
1330
  creationTime: Date | undefined;
1323
- endTime?: Date;
1324
- customModelArn?: string;
1325
- customModelName?: string;
1326
- customizationType?: CustomizationType;
1331
+ endTime?: Date | undefined;
1332
+ customModelArn?: string | undefined;
1333
+ customModelName?: string | undefined;
1334
+ customizationType?: CustomizationType | undefined;
1327
1335
  }
1328
1336
  export interface ListModelCustomizationJobsResponse {
1329
- nextToken?: string;
1330
- modelCustomizationJobSummaries?: ModelCustomizationJobSummary[];
1337
+ nextToken?: string | undefined;
1338
+ modelCustomizationJobSummaries?: ModelCustomizationJobSummary[] | undefined;
1331
1339
  }
1332
1340
  export interface StopModelCustomizationJobRequest {
1333
1341
  jobIdentifier: string | undefined;