@aws-sdk/client-bedrock 3.687.0 → 3.691.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.
@@ -41,7 +41,7 @@ export interface BatchDeleteEvaluationJobError {
41
41
  * <p>A status message about the model evaluation job deletion.</p>
42
42
  * @public
43
43
  */
44
- message?: string;
44
+ message?: string | undefined;
45
45
  }
46
46
  /**
47
47
  * @public
@@ -194,7 +194,7 @@ export interface EvaluationDataset {
194
194
  * <p>For custom prompt datasets, you must specify the location in Amazon S3 where the prompt dataset is saved.</p>
195
195
  * @public
196
196
  */
197
- datasetLocation?: EvaluationDatasetLocation;
197
+ datasetLocation?: EvaluationDatasetLocation | undefined;
198
198
  }
199
199
  /**
200
200
  * @public
@@ -259,7 +259,7 @@ export interface HumanEvaluationCustomMetric {
259
259
  * <p>An optional description of the metric. Use this parameter to provide more details about the metric.</p>
260
260
  * @public
261
261
  */
262
- description?: string;
262
+ description?: string | undefined;
263
263
  /**
264
264
  * <p>Choose how you want your human workers to evaluation your model. Valid values for rating methods are <code>ThumbsUpDown</code>, <code>IndividualLikertScale</code>,<code>ComparisonLikertScale</code>, <code>ComparisonChoice</code>, and <code>ComparisonRank</code>
265
265
  * </p>
@@ -281,7 +281,7 @@ export interface HumanWorkflowConfig {
281
281
  * <p>Instructions for the flow definition</p>
282
282
  * @public
283
283
  */
284
- instructions?: string;
284
+ instructions?: string | undefined;
285
285
  }
286
286
  /**
287
287
  * <p>Specifies the custom metrics, how tasks will be rated, the flow definition ARN, and your custom prompt datasets. Model evaluation jobs use human workers <i>only</i> support the use of custom prompt datasets. To learn more about custom prompt datasets and the required format, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation-prompt-datasets-custom.html">Custom prompt datasets</a>.</p>
@@ -293,12 +293,12 @@ export interface HumanEvaluationConfig {
293
293
  * <p>The parameters of the human workflow.</p>
294
294
  * @public
295
295
  */
296
- humanWorkflowConfig?: HumanWorkflowConfig;
296
+ humanWorkflowConfig?: HumanWorkflowConfig | undefined;
297
297
  /**
298
298
  * <p>A <code>HumanEvaluationCustomMetric</code> object. It contains the names the metrics, how the metrics are to be evaluated, an optional description.</p>
299
299
  * @public
300
300
  */
301
- customMetrics?: HumanEvaluationCustomMetric[];
301
+ customMetrics?: HumanEvaluationCustomMetric[] | undefined;
302
302
  /**
303
303
  * <p>Use to specify the metrics, task, and prompt dataset to be used in your model evaluation job.</p>
304
304
  * @public
@@ -465,13 +465,13 @@ export interface CreateEvaluationJobRequest {
465
465
  * <p>A description of the model evaluation job.</p>
466
466
  * @public
467
467
  */
468
- jobDescription?: string;
468
+ jobDescription?: string | undefined;
469
469
  /**
470
470
  * <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,
471
471
  * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
472
472
  * @public
473
473
  */
474
- clientRequestToken?: string;
474
+ clientRequestToken?: string | undefined;
475
475
  /**
476
476
  * <p>The Amazon Resource Name (ARN) of an IAM service role that Amazon Bedrock can assume to perform tasks on your behalf. The service role must have Amazon Bedrock as the service principal, and provide access to any Amazon S3 buckets specified in the <code>EvaluationConfig</code> object. To pass this role to Amazon Bedrock, the caller of this API must have the <code>iam:PassRole</code> permission. To learn more about the required permissions, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/model-evaluation-security.html">Required permissions</a>.</p>
477
477
  * @public
@@ -481,12 +481,12 @@ export interface CreateEvaluationJobRequest {
481
481
  * <p>Specify your customer managed key ARN that will be used to encrypt your model evaluation job.</p>
482
482
  * @public
483
483
  */
484
- customerEncryptionKeyId?: string;
484
+ customerEncryptionKeyId?: string | undefined;
485
485
  /**
486
486
  * <p>Tags to attach to the model evaluation job.</p>
487
487
  * @public
488
488
  */
489
- jobTags?: Tag[];
489
+ jobTags?: Tag[] | undefined;
490
490
  /**
491
491
  * <p>Specifies whether the model evaluation job is automatic or uses human worker.</p>
492
492
  * @public
@@ -570,7 +570,7 @@ export interface GetEvaluationJobResponse {
570
570
  * <p>The description of the model evaluation job.</p>
571
571
  * @public
572
572
  */
573
- jobDescription?: string;
573
+ jobDescription?: string | undefined;
574
574
  /**
575
575
  * <p>The Amazon Resource Name (ARN) of the IAM service role used in the model evaluation job.</p>
576
576
  * @public
@@ -580,7 +580,7 @@ export interface GetEvaluationJobResponse {
580
580
  * <p>The Amazon Resource Name (ARN) of the customer managed key specified when the model evaluation job was created.</p>
581
581
  * @public
582
582
  */
583
- customerEncryptionKeyId?: string;
583
+ customerEncryptionKeyId?: string | undefined;
584
584
  /**
585
585
  * <p>The type of model evaluation job.</p>
586
586
  * @public
@@ -610,12 +610,12 @@ export interface GetEvaluationJobResponse {
610
610
  * <p>When the model evaluation job was last modified.</p>
611
611
  * @public
612
612
  */
613
- lastModifiedTime?: Date;
613
+ lastModifiedTime?: Date | undefined;
614
614
  /**
615
615
  * <p>An array of strings the specify why the model evaluation job has failed.</p>
616
616
  * @public
617
617
  */
618
- failureMessages?: string[];
618
+ failureMessages?: string[] | undefined;
619
619
  }
620
620
  /**
621
621
  * @public
@@ -648,42 +648,42 @@ export interface ListEvaluationJobsRequest {
648
648
  * <p>A filter that includes model evaluation jobs created after the time specified.</p>
649
649
  * @public
650
650
  */
651
- creationTimeAfter?: Date;
651
+ creationTimeAfter?: Date | undefined;
652
652
  /**
653
653
  * <p>A filter that includes model evaluation jobs created prior to the time specified.</p>
654
654
  * @public
655
655
  */
656
- creationTimeBefore?: Date;
656
+ creationTimeBefore?: Date | undefined;
657
657
  /**
658
658
  * <p>Only return jobs where the status condition is met.</p>
659
659
  * @public
660
660
  */
661
- statusEquals?: EvaluationJobStatus;
661
+ statusEquals?: EvaluationJobStatus | undefined;
662
662
  /**
663
663
  * <p>Query parameter string for model evaluation job names.</p>
664
664
  * @public
665
665
  */
666
- nameContains?: string;
666
+ nameContains?: string | undefined;
667
667
  /**
668
668
  * <p>The maximum number of results to return.</p>
669
669
  * @public
670
670
  */
671
- maxResults?: number;
671
+ maxResults?: number | undefined;
672
672
  /**
673
673
  * <p>Continuation token from the previous response, for Amazon Bedrock to list the next set of results.</p>
674
674
  * @public
675
675
  */
676
- nextToken?: string;
676
+ nextToken?: string | undefined;
677
677
  /**
678
678
  * <p>Allows you to sort model evaluation jobs by when they were created.</p>
679
679
  * @public
680
680
  */
681
- sortBy?: SortJobsBy;
681
+ sortBy?: SortJobsBy | undefined;
682
682
  /**
683
683
  * <p>How you want the order of jobs sorted.</p>
684
684
  * @public
685
685
  */
686
- sortOrder?: SortOrder;
686
+ sortOrder?: SortOrder | undefined;
687
687
  }
688
688
  /**
689
689
  * <p>A summary of the model evaluation job.</p>
@@ -734,12 +734,12 @@ export interface ListEvaluationJobsResponse {
734
734
  * <p>Continuation token from the previous response, for Amazon Bedrock to list the next set of results.</p>
735
735
  * @public
736
736
  */
737
- nextToken?: string;
737
+ nextToken?: string | undefined;
738
738
  /**
739
739
  * <p>A summary of the model evaluation jobs.</p>
740
740
  * @public
741
741
  */
742
- jobSummaries?: EvaluationSummary[];
742
+ jobSummaries?: EvaluationSummary[] | undefined;
743
743
  }
744
744
  /**
745
745
  * @public
@@ -1294,7 +1294,7 @@ export interface GuardrailRegexConfig {
1294
1294
  * <p>The description of the regular expression to configure for the guardrail.</p>
1295
1295
  * @public
1296
1296
  */
1297
- description?: string;
1297
+ description?: string | undefined;
1298
1298
  /**
1299
1299
  * <p>The regular expression pattern to configure for the guardrail.</p>
1300
1300
  * @public
@@ -1315,12 +1315,12 @@ export interface GuardrailSensitiveInformationPolicyConfig {
1315
1315
  * <p>A list of PII entities to configure to the guardrail.</p>
1316
1316
  * @public
1317
1317
  */
1318
- piiEntitiesConfig?: GuardrailPiiEntityConfig[];
1318
+ piiEntitiesConfig?: GuardrailPiiEntityConfig[] | undefined;
1319
1319
  /**
1320
1320
  * <p>A list of regular expressions to configure to the guardrail.</p>
1321
1321
  * @public
1322
1322
  */
1323
- regexesConfig?: GuardrailRegexConfig[];
1323
+ regexesConfig?: GuardrailRegexConfig[] | undefined;
1324
1324
  }
1325
1325
  /**
1326
1326
  * @public
@@ -1352,7 +1352,7 @@ export interface GuardrailTopicConfig {
1352
1352
  * <p>A list of prompts, each of which is an example of a prompt that can be categorized as belonging to the topic.</p>
1353
1353
  * @public
1354
1354
  */
1355
- examples?: string[];
1355
+ examples?: string[] | undefined;
1356
1356
  /**
1357
1357
  * <p>Specifies to deny the topic.</p>
1358
1358
  * @public
@@ -1412,12 +1412,12 @@ export interface GuardrailWordPolicyConfig {
1412
1412
  * <p>A list of words to configure for the guardrail.</p>
1413
1413
  * @public
1414
1414
  */
1415
- wordsConfig?: GuardrailWordConfig[];
1415
+ wordsConfig?: GuardrailWordConfig[] | undefined;
1416
1416
  /**
1417
1417
  * <p>A list of managed words to configure for the guardrail.</p>
1418
1418
  * @public
1419
1419
  */
1420
- managedWordListsConfig?: GuardrailManagedWordsConfig[];
1420
+ managedWordListsConfig?: GuardrailManagedWordsConfig[] | undefined;
1421
1421
  }
1422
1422
  /**
1423
1423
  * @public
@@ -1432,32 +1432,32 @@ export interface CreateGuardrailRequest {
1432
1432
  * <p>A description of the guardrail.</p>
1433
1433
  * @public
1434
1434
  */
1435
- description?: string;
1435
+ description?: string | undefined;
1436
1436
  /**
1437
1437
  * <p>The topic policies to configure for the guardrail.</p>
1438
1438
  * @public
1439
1439
  */
1440
- topicPolicyConfig?: GuardrailTopicPolicyConfig;
1440
+ topicPolicyConfig?: GuardrailTopicPolicyConfig | undefined;
1441
1441
  /**
1442
1442
  * <p>The content filter policies to configure for the guardrail.</p>
1443
1443
  * @public
1444
1444
  */
1445
- contentPolicyConfig?: GuardrailContentPolicyConfig;
1445
+ contentPolicyConfig?: GuardrailContentPolicyConfig | undefined;
1446
1446
  /**
1447
1447
  * <p>The word policy you configure for the guardrail.</p>
1448
1448
  * @public
1449
1449
  */
1450
- wordPolicyConfig?: GuardrailWordPolicyConfig;
1450
+ wordPolicyConfig?: GuardrailWordPolicyConfig | undefined;
1451
1451
  /**
1452
1452
  * <p>The sensitive information policy to configure for the guardrail.</p>
1453
1453
  * @public
1454
1454
  */
1455
- sensitiveInformationPolicyConfig?: GuardrailSensitiveInformationPolicyConfig;
1455
+ sensitiveInformationPolicyConfig?: GuardrailSensitiveInformationPolicyConfig | undefined;
1456
1456
  /**
1457
1457
  * <p>The contextual grounding policy configuration used to create a guardrail.</p>
1458
1458
  * @public
1459
1459
  */
1460
- contextualGroundingPolicyConfig?: GuardrailContextualGroundingPolicyConfig;
1460
+ contextualGroundingPolicyConfig?: GuardrailContextualGroundingPolicyConfig | undefined;
1461
1461
  /**
1462
1462
  * <p>The message to return when the guardrail blocks a prompt.</p>
1463
1463
  * @public
@@ -1472,12 +1472,12 @@ export interface CreateGuardrailRequest {
1472
1472
  * <p>The ARN of the KMS key that you use to encrypt the guardrail.</p>
1473
1473
  * @public
1474
1474
  */
1475
- kmsKeyId?: string;
1475
+ kmsKeyId?: string | undefined;
1476
1476
  /**
1477
1477
  * <p>The tags that you want to attach to the guardrail. </p>
1478
1478
  * @public
1479
1479
  */
1480
- tags?: Tag[];
1480
+ tags?: Tag[] | undefined;
1481
1481
  /**
1482
1482
  * <p>A unique, case-sensitive identifier to ensure that the API request
1483
1483
  * completes no more than once. If this token matches a previous request,
@@ -1486,7 +1486,7 @@ export interface CreateGuardrailRequest {
1486
1486
  * idempotency</a> in the <i>Amazon S3 User Guide</i>.</p>
1487
1487
  * @public
1488
1488
  */
1489
- clientRequestToken?: string;
1489
+ clientRequestToken?: string | undefined;
1490
1490
  }
1491
1491
  /**
1492
1492
  * @public
@@ -1526,7 +1526,7 @@ export declare class TooManyTagsException extends __BaseException {
1526
1526
  * <p>The name of the resource with too many tags.</p>
1527
1527
  * @public
1528
1528
  */
1529
- resourceName?: string;
1529
+ resourceName?: string | undefined;
1530
1530
  /**
1531
1531
  * @internal
1532
1532
  */
@@ -1545,7 +1545,7 @@ export interface CreateGuardrailVersionRequest {
1545
1545
  * <p>A description of the guardrail version.</p>
1546
1546
  * @public
1547
1547
  */
1548
- description?: string;
1548
+ description?: string | undefined;
1549
1549
  /**
1550
1550
  * <p>A unique, case-sensitive identifier to ensure that the API request
1551
1551
  * completes no more than once. If this token matches a previous request,
@@ -1554,7 +1554,7 @@ export interface CreateGuardrailVersionRequest {
1554
1554
  * idempotency</a> in the <i>Amazon S3 User Guide</i>.</p>
1555
1555
  * @public
1556
1556
  */
1557
- clientRequestToken?: string;
1557
+ clientRequestToken?: string | undefined;
1558
1558
  }
1559
1559
  /**
1560
1560
  * @public
@@ -1584,7 +1584,7 @@ export interface DeleteGuardrailRequest {
1584
1584
  * <p>The version of the guardrail.</p>
1585
1585
  * @public
1586
1586
  */
1587
- guardrailVersion?: string;
1587
+ guardrailVersion?: string | undefined;
1588
1588
  }
1589
1589
  /**
1590
1590
  * @public
@@ -1604,7 +1604,7 @@ export interface GetGuardrailRequest {
1604
1604
  * <p>The version of the guardrail for which to get details. If you don't specify a version, the response returns details for the <code>DRAFT</code> version.</p>
1605
1605
  * @public
1606
1606
  */
1607
- guardrailVersion?: string;
1607
+ guardrailVersion?: string | undefined;
1608
1608
  }
1609
1609
  /**
1610
1610
  * <p>Contains filter strengths for harmful content. Guardrails support the following content filters to detect and filter harmful user inputs and FM-generated outputs.</p>
@@ -1683,7 +1683,7 @@ export interface GuardrailContentPolicy {
1683
1683
  * <p>Contains the type of the content filter and how strongly it should apply to prompts and model responses.</p>
1684
1684
  * @public
1685
1685
  */
1686
- filters?: GuardrailContentFilter[];
1686
+ filters?: GuardrailContentFilter[] | undefined;
1687
1687
  }
1688
1688
  /**
1689
1689
  * <p>The details for the guardrails contextual grounding filter.</p>
@@ -1742,7 +1742,7 @@ export interface GuardrailRegex {
1742
1742
  * <p>The description of the regular expression for the guardrail.</p>
1743
1743
  * @public
1744
1744
  */
1745
- description?: string;
1745
+ description?: string | undefined;
1746
1746
  /**
1747
1747
  * <p>The pattern of the regular expression configured for the guardrail.</p>
1748
1748
  * @public
@@ -1763,12 +1763,12 @@ export interface GuardrailSensitiveInformationPolicy {
1763
1763
  * <p>The list of PII entities configured for the guardrail.</p>
1764
1764
  * @public
1765
1765
  */
1766
- piiEntities?: GuardrailPiiEntity[];
1766
+ piiEntities?: GuardrailPiiEntity[] | undefined;
1767
1767
  /**
1768
1768
  * <p>The list of regular expressions configured for the guardrail.</p>
1769
1769
  * @public
1770
1770
  */
1771
- regexes?: GuardrailRegex[];
1771
+ regexes?: GuardrailRegex[] | undefined;
1772
1772
  }
1773
1773
  /**
1774
1774
  * @public
@@ -1813,12 +1813,12 @@ export interface GuardrailTopic {
1813
1813
  * <p>A list of prompts, each of which is an example of a prompt that can be categorized as belonging to the topic.</p>
1814
1814
  * @public
1815
1815
  */
1816
- examples?: string[];
1816
+ examples?: string[] | undefined;
1817
1817
  /**
1818
1818
  * <p>Specifies to deny the topic.</p>
1819
1819
  * @public
1820
1820
  */
1821
- type?: GuardrailTopicType;
1821
+ type?: GuardrailTopicType | undefined;
1822
1822
  }
1823
1823
  /**
1824
1824
  * <p>Contains details about topics that the guardrail should identify and deny.</p>
@@ -1873,12 +1873,12 @@ export interface GuardrailWordPolicy {
1873
1873
  * <p>A list of words configured for the guardrail.</p>
1874
1874
  * @public
1875
1875
  */
1876
- words?: GuardrailWord[];
1876
+ words?: GuardrailWord[] | undefined;
1877
1877
  /**
1878
1878
  * <p>A list of managed words configured for the guardrail.</p>
1879
1879
  * @public
1880
1880
  */
1881
- managedWordLists?: GuardrailManagedWords[];
1881
+ managedWordLists?: GuardrailManagedWords[] | undefined;
1882
1882
  }
1883
1883
  /**
1884
1884
  * @public
@@ -1893,7 +1893,7 @@ export interface GetGuardrailResponse {
1893
1893
  * <p>The description of the guardrail.</p>
1894
1894
  * @public
1895
1895
  */
1896
- description?: string;
1896
+ description?: string | undefined;
1897
1897
  /**
1898
1898
  * <p>The unique identifier of the guardrail.</p>
1899
1899
  * @public
@@ -1918,27 +1918,27 @@ export interface GetGuardrailResponse {
1918
1918
  * <p>The topic policy that was configured for the guardrail.</p>
1919
1919
  * @public
1920
1920
  */
1921
- topicPolicy?: GuardrailTopicPolicy;
1921
+ topicPolicy?: GuardrailTopicPolicy | undefined;
1922
1922
  /**
1923
1923
  * <p>The content policy that was configured for the guardrail.</p>
1924
1924
  * @public
1925
1925
  */
1926
- contentPolicy?: GuardrailContentPolicy;
1926
+ contentPolicy?: GuardrailContentPolicy | undefined;
1927
1927
  /**
1928
1928
  * <p>The word policy that was configured for the guardrail.</p>
1929
1929
  * @public
1930
1930
  */
1931
- wordPolicy?: GuardrailWordPolicy;
1931
+ wordPolicy?: GuardrailWordPolicy | undefined;
1932
1932
  /**
1933
1933
  * <p>The sensitive information policy that was configured for the guardrail.</p>
1934
1934
  * @public
1935
1935
  */
1936
- sensitiveInformationPolicy?: GuardrailSensitiveInformationPolicy;
1936
+ sensitiveInformationPolicy?: GuardrailSensitiveInformationPolicy | undefined;
1937
1937
  /**
1938
1938
  * <p>The contextual grounding policy used in the guardrail.</p>
1939
1939
  * @public
1940
1940
  */
1941
- contextualGroundingPolicy?: GuardrailContextualGroundingPolicy;
1941
+ contextualGroundingPolicy?: GuardrailContextualGroundingPolicy | undefined;
1942
1942
  /**
1943
1943
  * <p>The date and time at which the guardrail was created.</p>
1944
1944
  * @public
@@ -1953,12 +1953,12 @@ export interface GetGuardrailResponse {
1953
1953
  * <p>Appears if the <code>status</code> is <code>FAILED</code>. A list of reasons for why the guardrail failed to be created, updated, versioned, or deleted.</p>
1954
1954
  * @public
1955
1955
  */
1956
- statusReasons?: string[];
1956
+ statusReasons?: string[] | undefined;
1957
1957
  /**
1958
1958
  * <p>Appears if the <code>status</code> of the guardrail is <code>FAILED</code>. A list of recommendations to carry out before retrying the request.</p>
1959
1959
  * @public
1960
1960
  */
1961
- failureRecommendations?: string[];
1961
+ failureRecommendations?: string[] | undefined;
1962
1962
  /**
1963
1963
  * <p>The message that the guardrail returns when it blocks a prompt.</p>
1964
1964
  * @public
@@ -1973,7 +1973,7 @@ export interface GetGuardrailResponse {
1973
1973
  * <p>The ARN of the KMS key that encrypts the guardrail.</p>
1974
1974
  * @public
1975
1975
  */
1976
- kmsKeyArn?: string;
1976
+ kmsKeyArn?: string | undefined;
1977
1977
  }
1978
1978
  /**
1979
1979
  * @public
@@ -1983,17 +1983,17 @@ export interface ListGuardrailsRequest {
1983
1983
  * <p>The unique identifier of the guardrail. This can be an ID or the ARN.</p>
1984
1984
  * @public
1985
1985
  */
1986
- guardrailIdentifier?: string;
1986
+ guardrailIdentifier?: string | undefined;
1987
1987
  /**
1988
1988
  * <p>The maximum number of results to return in the response.</p>
1989
1989
  * @public
1990
1990
  */
1991
- maxResults?: number;
1991
+ maxResults?: number | undefined;
1992
1992
  /**
1993
1993
  * <p>If there are more results than were returned in the response, the response returns a <code>nextToken</code> that you can send in another <code>ListGuardrails</code> request to see the next batch of results.</p>
1994
1994
  * @public
1995
1995
  */
1996
- nextToken?: string;
1996
+ nextToken?: string | undefined;
1997
1997
  }
1998
1998
  /**
1999
1999
  * <p>Contains details about a guardrail.</p>
@@ -2032,7 +2032,7 @@ export interface GuardrailSummary {
2032
2032
  * <p>A description of the guardrail.</p>
2033
2033
  * @public
2034
2034
  */
2035
- description?: string;
2035
+ description?: string | undefined;
2036
2036
  /**
2037
2037
  * <p>The version of the guardrail.</p>
2038
2038
  * @public
@@ -2062,7 +2062,7 @@ export interface ListGuardrailsResponse {
2062
2062
  * <p>If there are more results than were returned in the response, the response returns a <code>nextToken</code> that you can send in another <code>ListGuardrails</code> request to see the next batch of results.</p>
2063
2063
  * @public
2064
2064
  */
2065
- nextToken?: string;
2065
+ nextToken?: string | undefined;
2066
2066
  }
2067
2067
  /**
2068
2068
  * @public
@@ -2082,32 +2082,32 @@ export interface UpdateGuardrailRequest {
2082
2082
  * <p>A description of the guardrail.</p>
2083
2083
  * @public
2084
2084
  */
2085
- description?: string;
2085
+ description?: string | undefined;
2086
2086
  /**
2087
2087
  * <p>The topic policy to configure for the guardrail.</p>
2088
2088
  * @public
2089
2089
  */
2090
- topicPolicyConfig?: GuardrailTopicPolicyConfig;
2090
+ topicPolicyConfig?: GuardrailTopicPolicyConfig | undefined;
2091
2091
  /**
2092
2092
  * <p>The content policy to configure for the guardrail.</p>
2093
2093
  * @public
2094
2094
  */
2095
- contentPolicyConfig?: GuardrailContentPolicyConfig;
2095
+ contentPolicyConfig?: GuardrailContentPolicyConfig | undefined;
2096
2096
  /**
2097
2097
  * <p>The word policy to configure for the guardrail.</p>
2098
2098
  * @public
2099
2099
  */
2100
- wordPolicyConfig?: GuardrailWordPolicyConfig;
2100
+ wordPolicyConfig?: GuardrailWordPolicyConfig | undefined;
2101
2101
  /**
2102
2102
  * <p>The sensitive information policy to configure for the guardrail.</p>
2103
2103
  * @public
2104
2104
  */
2105
- sensitiveInformationPolicyConfig?: GuardrailSensitiveInformationPolicyConfig;
2105
+ sensitiveInformationPolicyConfig?: GuardrailSensitiveInformationPolicyConfig | undefined;
2106
2106
  /**
2107
2107
  * <p>The contextual grounding policy configuration used to update a guardrail.</p>
2108
2108
  * @public
2109
2109
  */
2110
- contextualGroundingPolicyConfig?: GuardrailContextualGroundingPolicyConfig;
2110
+ contextualGroundingPolicyConfig?: GuardrailContextualGroundingPolicyConfig | undefined;
2111
2111
  /**
2112
2112
  * <p>The message to return when the guardrail blocks a prompt.</p>
2113
2113
  * @public
@@ -2122,7 +2122,7 @@ export interface UpdateGuardrailRequest {
2122
2122
  * <p>The ARN of the KMS key with which to encrypt the guardrail.</p>
2123
2123
  * @public
2124
2124
  */
2125
- kmsKeyId?: string;
2125
+ kmsKeyId?: string | undefined;
2126
2126
  }
2127
2127
  /**
2128
2128
  * @public
@@ -2192,13 +2192,13 @@ export interface CreateInferenceProfileRequest {
2192
2192
  * <p>A description for the inference profile.</p>
2193
2193
  * @public
2194
2194
  */
2195
- description?: string;
2195
+ description?: string | undefined;
2196
2196
  /**
2197
2197
  * <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,
2198
2198
  * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
2199
2199
  * @public
2200
2200
  */
2201
- clientRequestToken?: string;
2201
+ clientRequestToken?: string | undefined;
2202
2202
  /**
2203
2203
  * <p>The foundation model or system-defined inference profile that the inference profile will track metrics and costs for.</p>
2204
2204
  * @public
@@ -2208,7 +2208,7 @@ export interface CreateInferenceProfileRequest {
2208
2208
  * <p>An array of objects, each of which contains a tag and its value. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Tagging resources</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
2209
2209
  * @public
2210
2210
  */
2211
- tags?: Tag[];
2211
+ tags?: Tag[] | undefined;
2212
2212
  }
2213
2213
  /**
2214
2214
  * @public
@@ -2234,7 +2234,7 @@ export interface CreateInferenceProfileResponse {
2234
2234
  * <p>The status of the inference profile. <code>ACTIVE</code> means that the inference profile is ready to be used.</p>
2235
2235
  * @public
2236
2236
  */
2237
- status?: InferenceProfileStatus;
2237
+ status?: InferenceProfileStatus | undefined;
2238
2238
  }
2239
2239
  /**
2240
2240
  * @public
@@ -2270,7 +2270,7 @@ export interface InferenceProfileModel {
2270
2270
  * <p>The Amazon Resource Name (ARN) of the model.</p>
2271
2271
  * @public
2272
2272
  */
2273
- modelArn?: string;
2273
+ modelArn?: string | undefined;
2274
2274
  }
2275
2275
  /**
2276
2276
  * @public
@@ -2297,17 +2297,17 @@ export interface GetInferenceProfileResponse {
2297
2297
  * <p>The description of the inference profile.</p>
2298
2298
  * @public
2299
2299
  */
2300
- description?: string;
2300
+ description?: string | undefined;
2301
2301
  /**
2302
2302
  * <p>The time at which the inference profile was created.</p>
2303
2303
  * @public
2304
2304
  */
2305
- createdAt?: Date;
2305
+ createdAt?: Date | undefined;
2306
2306
  /**
2307
2307
  * <p>The time at which the inference profile was last updated.</p>
2308
2308
  * @public
2309
2309
  */
2310
- updatedAt?: Date;
2310
+ updatedAt?: Date | undefined;
2311
2311
  /**
2312
2312
  * <p>The Amazon Resource Name (ARN) of the inference profile.</p>
2313
2313
  * @public
@@ -2352,12 +2352,12 @@ export interface ListInferenceProfilesRequest {
2352
2352
  * <p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p>
2353
2353
  * @public
2354
2354
  */
2355
- maxResults?: number;
2355
+ maxResults?: number | undefined;
2356
2356
  /**
2357
2357
  * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>
2358
2358
  * @public
2359
2359
  */
2360
- nextToken?: string;
2360
+ nextToken?: string | undefined;
2361
2361
  /**
2362
2362
  * <p>Filters for inference profiles that match the type you specify.</p>
2363
2363
  * <ul>
@@ -2372,7 +2372,7 @@ export interface ListInferenceProfilesRequest {
2372
2372
  * </ul>
2373
2373
  * @public
2374
2374
  */
2375
- typeEquals?: InferenceProfileType;
2375
+ typeEquals?: InferenceProfileType | undefined;
2376
2376
  }
2377
2377
  /**
2378
2378
  * <p>Contains information about an inference profile.</p>
@@ -2388,17 +2388,17 @@ export interface InferenceProfileSummary {
2388
2388
  * <p>The description of the inference profile.</p>
2389
2389
  * @public
2390
2390
  */
2391
- description?: string;
2391
+ description?: string | undefined;
2392
2392
  /**
2393
2393
  * <p>The time at which the inference profile was created.</p>
2394
2394
  * @public
2395
2395
  */
2396
- createdAt?: Date;
2396
+ createdAt?: Date | undefined;
2397
2397
  /**
2398
2398
  * <p>The time at which the inference profile was last updated.</p>
2399
2399
  * @public
2400
2400
  */
2401
- updatedAt?: Date;
2401
+ updatedAt?: Date | undefined;
2402
2402
  /**
2403
2403
  * <p>The Amazon Resource Name (ARN) of the inference profile.</p>
2404
2404
  * @public
@@ -2443,12 +2443,12 @@ export interface ListInferenceProfilesResponse {
2443
2443
  * <p>A list of information about each inference profile that you can use.</p>
2444
2444
  * @public
2445
2445
  */
2446
- inferenceProfileSummaries?: InferenceProfileSummary[];
2446
+ inferenceProfileSummaries?: InferenceProfileSummary[] | undefined;
2447
2447
  /**
2448
2448
  * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
2449
2449
  * @public
2450
2450
  */
2451
- nextToken?: string;
2451
+ nextToken?: string | undefined;
2452
2452
  }
2453
2453
  /**
2454
2454
  * @public
@@ -2479,7 +2479,7 @@ export interface S3Config {
2479
2479
  * <p>S3 prefix. </p>
2480
2480
  * @public
2481
2481
  */
2482
- keyPrefix?: string;
2482
+ keyPrefix?: string | undefined;
2483
2483
  }
2484
2484
  /**
2485
2485
  * <p>CloudWatch logging configuration.</p>
@@ -2500,7 +2500,7 @@ export interface CloudWatchConfig {
2500
2500
  * <p>S3 configuration for delivering a large amount of data.</p>
2501
2501
  * @public
2502
2502
  */
2503
- largeDataDeliveryS3Config?: S3Config;
2503
+ largeDataDeliveryS3Config?: S3Config | undefined;
2504
2504
  }
2505
2505
  /**
2506
2506
  * <p>Configuration fields for invocation logging.</p>
@@ -2511,27 +2511,27 @@ export interface LoggingConfig {
2511
2511
  * <p>CloudWatch logging configuration.</p>
2512
2512
  * @public
2513
2513
  */
2514
- cloudWatchConfig?: CloudWatchConfig;
2514
+ cloudWatchConfig?: CloudWatchConfig | undefined;
2515
2515
  /**
2516
2516
  * <p>S3 configuration for storing log data.</p>
2517
2517
  * @public
2518
2518
  */
2519
- s3Config?: S3Config;
2519
+ s3Config?: S3Config | undefined;
2520
2520
  /**
2521
2521
  * <p>Set to include text data in the log delivery.</p>
2522
2522
  * @public
2523
2523
  */
2524
- textDataDeliveryEnabled?: boolean;
2524
+ textDataDeliveryEnabled?: boolean | undefined;
2525
2525
  /**
2526
2526
  * <p>Set to include image data in the log delivery.</p>
2527
2527
  * @public
2528
2528
  */
2529
- imageDataDeliveryEnabled?: boolean;
2529
+ imageDataDeliveryEnabled?: boolean | undefined;
2530
2530
  /**
2531
2531
  * <p>Set to include embeddings data in the log delivery.</p>
2532
2532
  * @public
2533
2533
  */
2534
- embeddingDataDeliveryEnabled?: boolean;
2534
+ embeddingDataDeliveryEnabled?: boolean | undefined;
2535
2535
  }
2536
2536
  /**
2537
2537
  * @public
@@ -2541,7 +2541,7 @@ export interface GetModelInvocationLoggingConfigurationResponse {
2541
2541
  * <p>The current configuration values.</p>
2542
2542
  * @public
2543
2543
  */
2544
- loggingConfig?: LoggingConfig;
2544
+ loggingConfig?: LoggingConfig | undefined;
2545
2545
  }
2546
2546
  /**
2547
2547
  * @public
@@ -2576,18 +2576,18 @@ export interface CreateModelCopyJobRequest {
2576
2576
  * <p>The ARN of the KMS key that you use to encrypt the model copy.</p>
2577
2577
  * @public
2578
2578
  */
2579
- modelKmsKeyId?: string;
2579
+ modelKmsKeyId?: string | undefined;
2580
2580
  /**
2581
2581
  * <p>Tags to associate with the target model. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html">Tag resources</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
2582
2582
  * @public
2583
2583
  */
2584
- targetModelTags?: Tag[];
2584
+ targetModelTags?: Tag[] | undefined;
2585
2585
  /**
2586
2586
  * <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,
2587
2587
  * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
2588
2588
  * @public
2589
2589
  */
2590
- clientRequestToken?: string;
2590
+ clientRequestToken?: string | undefined;
2591
2591
  }
2592
2592
  /**
2593
2593
  * @public
@@ -2650,7 +2650,7 @@ export interface GetModelCopyJobResponse {
2650
2650
  * <p>The name of the copied model.</p>
2651
2651
  * @public
2652
2652
  */
2653
- targetModelName?: string;
2653
+ targetModelName?: string | undefined;
2654
2654
  /**
2655
2655
  * <p>The unique identifier of the account that the model being copied originated from.</p>
2656
2656
  * @public
@@ -2665,22 +2665,22 @@ export interface GetModelCopyJobResponse {
2665
2665
  * <p>The Amazon Resource Name (ARN) of the KMS key encrypting the copied model.</p>
2666
2666
  * @public
2667
2667
  */
2668
- targetModelKmsKeyArn?: string;
2668
+ targetModelKmsKeyArn?: string | undefined;
2669
2669
  /**
2670
2670
  * <p>The tags associated with the copied model.</p>
2671
2671
  * @public
2672
2672
  */
2673
- targetModelTags?: Tag[];
2673
+ targetModelTags?: Tag[] | undefined;
2674
2674
  /**
2675
2675
  * <p>An error message for why the model copy job failed.</p>
2676
2676
  * @public
2677
2677
  */
2678
- failureMessage?: string;
2678
+ failureMessage?: string | undefined;
2679
2679
  /**
2680
2680
  * <p>The name of the original model being copied.</p>
2681
2681
  * @public
2682
2682
  */
2683
- sourceModelName?: string;
2683
+ sourceModelName?: string | undefined;
2684
2684
  }
2685
2685
  /**
2686
2686
  * @public
@@ -2690,52 +2690,52 @@ export interface ListModelCopyJobsRequest {
2690
2690
  * <p>Filters for model copy jobs created after the specified time.</p>
2691
2691
  * @public
2692
2692
  */
2693
- creationTimeAfter?: Date;
2693
+ creationTimeAfter?: Date | undefined;
2694
2694
  /**
2695
2695
  * <p>Filters for model copy jobs created before the specified time. </p>
2696
2696
  * @public
2697
2697
  */
2698
- creationTimeBefore?: Date;
2698
+ creationTimeBefore?: Date | undefined;
2699
2699
  /**
2700
2700
  * <p>Filters for model copy jobs whose status matches the value that you specify.</p>
2701
2701
  * @public
2702
2702
  */
2703
- statusEquals?: ModelCopyJobStatus;
2703
+ statusEquals?: ModelCopyJobStatus | undefined;
2704
2704
  /**
2705
2705
  * <p>Filters for model copy jobs in which the account that the source model belongs to is equal to the value that you specify.</p>
2706
2706
  * @public
2707
2707
  */
2708
- sourceAccountEquals?: string;
2708
+ sourceAccountEquals?: string | undefined;
2709
2709
  /**
2710
2710
  * <p>Filters for model copy jobs in which the Amazon Resource Name (ARN) of the source model to is equal to the value that you specify.</p>
2711
2711
  * @public
2712
2712
  */
2713
- sourceModelArnEquals?: string;
2713
+ sourceModelArnEquals?: string | undefined;
2714
2714
  /**
2715
2715
  * <p>Filters for model copy jobs in which the name of the copied model contains the string that you specify.</p>
2716
2716
  * @public
2717
2717
  */
2718
- targetModelNameContains?: string;
2718
+ targetModelNameContains?: string | undefined;
2719
2719
  /**
2720
2720
  * <p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p>
2721
2721
  * @public
2722
2722
  */
2723
- maxResults?: number;
2723
+ maxResults?: number | undefined;
2724
2724
  /**
2725
2725
  * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>
2726
2726
  * @public
2727
2727
  */
2728
- nextToken?: string;
2728
+ nextToken?: string | undefined;
2729
2729
  /**
2730
2730
  * <p>The field to sort by in the returned list of model copy jobs.</p>
2731
2731
  * @public
2732
2732
  */
2733
- sortBy?: SortJobsBy;
2733
+ sortBy?: SortJobsBy | undefined;
2734
2734
  /**
2735
2735
  * <p>Specifies whether to sort the results in ascending or descending order.</p>
2736
2736
  * @public
2737
2737
  */
2738
- sortOrder?: SortOrder;
2738
+ sortOrder?: SortOrder | undefined;
2739
2739
  }
2740
2740
  /**
2741
2741
  * <p>Contains details about each model copy job.</p>
@@ -2774,7 +2774,7 @@ export interface ModelCopyJobSummary {
2774
2774
  * <p>The name of the copied model.</p>
2775
2775
  * @public
2776
2776
  */
2777
- targetModelName?: string;
2777
+ targetModelName?: string | undefined;
2778
2778
  /**
2779
2779
  * <p>The unique identifier of the account that the model being copied originated from.</p>
2780
2780
  * @public
@@ -2789,22 +2789,22 @@ export interface ModelCopyJobSummary {
2789
2789
  * <p>The Amazon Resource Name (ARN) of the KMS key used to encrypt the copied model.</p>
2790
2790
  * @public
2791
2791
  */
2792
- targetModelKmsKeyArn?: string;
2792
+ targetModelKmsKeyArn?: string | undefined;
2793
2793
  /**
2794
2794
  * <p>Tags associated with the copied model.</p>
2795
2795
  * @public
2796
2796
  */
2797
- targetModelTags?: Tag[];
2797
+ targetModelTags?: Tag[] | undefined;
2798
2798
  /**
2799
2799
  * <p>If a model fails to be copied, a message describing why the job failed is included here.</p>
2800
2800
  * @public
2801
2801
  */
2802
- failureMessage?: string;
2802
+ failureMessage?: string | undefined;
2803
2803
  /**
2804
2804
  * <p>The name of the original model being copied.</p>
2805
2805
  * @public
2806
2806
  */
2807
- sourceModelName?: string;
2807
+ sourceModelName?: string | undefined;
2808
2808
  }
2809
2809
  /**
2810
2810
  * @public
@@ -2814,12 +2814,12 @@ export interface ListModelCopyJobsResponse {
2814
2814
  * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
2815
2815
  * @public
2816
2816
  */
2817
- nextToken?: string;
2817
+ nextToken?: string | undefined;
2818
2818
  /**
2819
2819
  * <p>A list of information about each model copy job.</p>
2820
2820
  * @public
2821
2821
  */
2822
- modelCopyJobSummaries?: ModelCopyJobSummary[];
2822
+ modelCopyJobSummaries?: ModelCopyJobSummary[] | undefined;
2823
2823
  }
2824
2824
  /**
2825
2825
  * <p>The Amazon S3 data source of the imported job.</p>
@@ -2906,30 +2906,30 @@ export interface CreateModelImportJobRequest {
2906
2906
  * <p>Tags to attach to this import job. </p>
2907
2907
  * @public
2908
2908
  */
2909
- jobTags?: Tag[];
2909
+ jobTags?: Tag[] | undefined;
2910
2910
  /**
2911
2911
  * <p>Tags to attach to the imported model.</p>
2912
2912
  * @public
2913
2913
  */
2914
- importedModelTags?: Tag[];
2914
+ importedModelTags?: Tag[] | undefined;
2915
2915
  /**
2916
2916
  * <p>A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request,
2917
2917
  * Amazon Bedrock ignores the request, but does not return an error. For more information,
2918
2918
  * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
2919
2919
  * @public
2920
2920
  */
2921
- clientRequestToken?: string;
2921
+ clientRequestToken?: string | undefined;
2922
2922
  /**
2923
2923
  * <p>VPC configuration parameters for the
2924
2924
  * private Virtual Private Cloud (VPC) that contains the resources you are using for the import job.</p>
2925
2925
  * @public
2926
2926
  */
2927
- vpcConfig?: VpcConfig;
2927
+ vpcConfig?: VpcConfig | undefined;
2928
2928
  /**
2929
2929
  * <p>The imported model is encrypted at rest using this key.</p>
2930
2930
  * @public
2931
2931
  */
2932
- importedModelKmsKeyId?: string;
2932
+ importedModelKmsKeyId?: string | undefined;
2933
2933
  }
2934
2934
  /**
2935
2935
  * @public
@@ -2974,47 +2974,47 @@ export interface GetImportedModelResponse {
2974
2974
  * <p>The Amazon Resource Name (ARN) associated with this imported model.</p>
2975
2975
  * @public
2976
2976
  */
2977
- modelArn?: string;
2977
+ modelArn?: string | undefined;
2978
2978
  /**
2979
2979
  * <p>The name of the imported model.</p>
2980
2980
  * @public
2981
2981
  */
2982
- modelName?: string;
2982
+ modelName?: string | undefined;
2983
2983
  /**
2984
2984
  * <p>Job name associated with the imported model.</p>
2985
2985
  * @public
2986
2986
  */
2987
- jobName?: string;
2987
+ jobName?: string | undefined;
2988
2988
  /**
2989
2989
  * <p>Job Amazon Resource Name (ARN) associated with the imported model.</p>
2990
2990
  * @public
2991
2991
  */
2992
- jobArn?: string;
2992
+ jobArn?: string | undefined;
2993
2993
  /**
2994
2994
  * <p>The data source for this imported model.</p>
2995
2995
  * @public
2996
2996
  */
2997
- modelDataSource?: ModelDataSource;
2997
+ modelDataSource?: ModelDataSource | undefined;
2998
2998
  /**
2999
2999
  * <p>Creation time of the imported model.</p>
3000
3000
  * @public
3001
3001
  */
3002
- creationTime?: Date;
3002
+ creationTime?: Date | undefined;
3003
3003
  /**
3004
3004
  * <p>The architecture of the imported model.</p>
3005
3005
  * @public
3006
3006
  */
3007
- modelArchitecture?: string;
3007
+ modelArchitecture?: string | undefined;
3008
3008
  /**
3009
3009
  * <p>The imported model is encrypted at rest using this key.</p>
3010
3010
  * @public
3011
3011
  */
3012
- modelKmsKeyArn?: string;
3012
+ modelKmsKeyArn?: string | undefined;
3013
3013
  /**
3014
3014
  * <p>Specifies if the imported model supports converse.</p>
3015
3015
  * @public
3016
3016
  */
3017
- instructSupported?: boolean;
3017
+ instructSupported?: boolean | undefined;
3018
3018
  }
3019
3019
  /**
3020
3020
  * @public
@@ -3047,68 +3047,68 @@ export interface GetModelImportJobResponse {
3047
3047
  * <p>The Amazon Resource Name (ARN) of the import job.</p>
3048
3048
  * @public
3049
3049
  */
3050
- jobArn?: string;
3050
+ jobArn?: string | undefined;
3051
3051
  /**
3052
3052
  * <p>The name of the import job.</p>
3053
3053
  * @public
3054
3054
  */
3055
- jobName?: string;
3055
+ jobName?: string | undefined;
3056
3056
  /**
3057
3057
  * <p>The name of the imported model.</p>
3058
3058
  * @public
3059
3059
  */
3060
- importedModelName?: string;
3060
+ importedModelName?: string | undefined;
3061
3061
  /**
3062
3062
  * <p>The Amazon Resource Name (ARN) of the imported model.</p>
3063
3063
  * @public
3064
3064
  */
3065
- importedModelArn?: string;
3065
+ importedModelArn?: string | undefined;
3066
3066
  /**
3067
3067
  * <p>The Amazon Resource Name (ARN) of the IAM role associated with this job.</p>
3068
3068
  * @public
3069
3069
  */
3070
- roleArn?: string;
3070
+ roleArn?: string | undefined;
3071
3071
  /**
3072
3072
  * <p>The data source for the imported model.</p>
3073
3073
  * @public
3074
3074
  */
3075
- modelDataSource?: ModelDataSource;
3075
+ modelDataSource?: ModelDataSource | undefined;
3076
3076
  /**
3077
3077
  * <p>The status of the job. A successful job transitions from in-progress to completed when the imported model is ready to use.
3078
3078
  * If the job failed, the failure message contains information about why the job failed.</p>
3079
3079
  * @public
3080
3080
  */
3081
- status?: ModelImportJobStatus;
3081
+ status?: ModelImportJobStatus | undefined;
3082
3082
  /**
3083
3083
  * <p>Information about why the import job failed.</p>
3084
3084
  * @public
3085
3085
  */
3086
- failureMessage?: string;
3086
+ failureMessage?: string | undefined;
3087
3087
  /**
3088
3088
  * <p>The time the resource was created.</p>
3089
3089
  * @public
3090
3090
  */
3091
- creationTime?: Date;
3091
+ creationTime?: Date | undefined;
3092
3092
  /**
3093
3093
  * <p>Time the resource was last modified.</p>
3094
3094
  * @public
3095
3095
  */
3096
- lastModifiedTime?: Date;
3096
+ lastModifiedTime?: Date | undefined;
3097
3097
  /**
3098
3098
  * <p>Time that the resource transitioned to terminal state.</p>
3099
3099
  * @public
3100
3100
  */
3101
- endTime?: Date;
3101
+ endTime?: Date | undefined;
3102
3102
  /**
3103
3103
  * <p>The Virtual Private Cloud (VPC) configuration of the import model job.</p>
3104
3104
  * @public
3105
3105
  */
3106
- vpcConfig?: VpcConfig;
3106
+ vpcConfig?: VpcConfig | undefined;
3107
3107
  /**
3108
3108
  * <p>The imported model is encrypted at rest using this key.</p>
3109
3109
  * @public
3110
3110
  */
3111
- importedModelKmsKeyArn?: string;
3111
+ importedModelKmsKeyArn?: string | undefined;
3112
3112
  }
3113
3113
  /**
3114
3114
  * @public
@@ -3129,37 +3129,37 @@ export interface ListImportedModelsRequest {
3129
3129
  * <p>Return imported models that created before the specified time.</p>
3130
3130
  * @public
3131
3131
  */
3132
- creationTimeBefore?: Date;
3132
+ creationTimeBefore?: Date | undefined;
3133
3133
  /**
3134
3134
  * <p>Return imported models that were created after the specified time.</p>
3135
3135
  * @public
3136
3136
  */
3137
- creationTimeAfter?: Date;
3137
+ creationTimeAfter?: Date | undefined;
3138
3138
  /**
3139
3139
  * <p>Return imported models only if the model name contains these characters.</p>
3140
3140
  * @public
3141
3141
  */
3142
- nameContains?: string;
3142
+ nameContains?: string | undefined;
3143
3143
  /**
3144
3144
  * <p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p>
3145
3145
  * @public
3146
3146
  */
3147
- maxResults?: number;
3147
+ maxResults?: number | undefined;
3148
3148
  /**
3149
3149
  * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>
3150
3150
  * @public
3151
3151
  */
3152
- nextToken?: string;
3152
+ nextToken?: string | undefined;
3153
3153
  /**
3154
3154
  * <p>The field to sort by in the returned list of imported models.</p>
3155
3155
  * @public
3156
3156
  */
3157
- sortBy?: SortModelsBy;
3157
+ sortBy?: SortModelsBy | undefined;
3158
3158
  /**
3159
3159
  * <p>Specifies whetehr to sort the results in ascending or descending order.</p>
3160
3160
  * @public
3161
3161
  */
3162
- sortOrder?: SortOrder;
3162
+ sortOrder?: SortOrder | undefined;
3163
3163
  }
3164
3164
  /**
3165
3165
  * <p>Information about the imported model.</p>
@@ -3185,12 +3185,12 @@ export interface ImportedModelSummary {
3185
3185
  * <p>Specifies if the imported model supports converse.</p>
3186
3186
  * @public
3187
3187
  */
3188
- instructSupported?: boolean;
3188
+ instructSupported?: boolean | undefined;
3189
3189
  /**
3190
3190
  * <p>The architecture of the imported model.</p>
3191
3191
  * @public
3192
3192
  */
3193
- modelArchitecture?: string;
3193
+ modelArchitecture?: string | undefined;
3194
3194
  }
3195
3195
  /**
3196
3196
  * @public
@@ -3200,12 +3200,12 @@ export interface ListImportedModelsResponse {
3200
3200
  * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
3201
3201
  * @public
3202
3202
  */
3203
- nextToken?: string;
3203
+ nextToken?: string | undefined;
3204
3204
  /**
3205
3205
  * <p>Model summaries.</p>
3206
3206
  * @public
3207
3207
  */
3208
- modelSummaries?: ImportedModelSummary[];
3208
+ modelSummaries?: ImportedModelSummary[] | undefined;
3209
3209
  }
3210
3210
  /**
3211
3211
  * @public
@@ -3215,42 +3215,42 @@ export interface ListModelImportJobsRequest {
3215
3215
  * <p>Return import jobs that were created after the specified time.</p>
3216
3216
  * @public
3217
3217
  */
3218
- creationTimeAfter?: Date;
3218
+ creationTimeAfter?: Date | undefined;
3219
3219
  /**
3220
3220
  * <p>Return import jobs that were created before the specified time.</p>
3221
3221
  * @public
3222
3222
  */
3223
- creationTimeBefore?: Date;
3223
+ creationTimeBefore?: Date | undefined;
3224
3224
  /**
3225
3225
  * <p>Return imported jobs with the specified status.</p>
3226
3226
  * @public
3227
3227
  */
3228
- statusEquals?: ModelImportJobStatus;
3228
+ statusEquals?: ModelImportJobStatus | undefined;
3229
3229
  /**
3230
3230
  * <p>Return imported jobs only if the job name contains these characters.</p>
3231
3231
  * @public
3232
3232
  */
3233
- nameContains?: string;
3233
+ nameContains?: string | undefined;
3234
3234
  /**
3235
3235
  * <p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p>
3236
3236
  * @public
3237
3237
  */
3238
- maxResults?: number;
3238
+ maxResults?: number | undefined;
3239
3239
  /**
3240
3240
  * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>
3241
3241
  * @public
3242
3242
  */
3243
- nextToken?: string;
3243
+ nextToken?: string | undefined;
3244
3244
  /**
3245
3245
  * <p>The field to sort by in the returned list of imported jobs.</p>
3246
3246
  * @public
3247
3247
  */
3248
- sortBy?: SortJobsBy;
3248
+ sortBy?: SortJobsBy | undefined;
3249
3249
  /**
3250
3250
  * <p>Specifies whether to sort the results in ascending or descending order.</p>
3251
3251
  * @public
3252
3252
  */
3253
- sortOrder?: SortOrder;
3253
+ sortOrder?: SortOrder | undefined;
3254
3254
  }
3255
3255
  /**
3256
3256
  * <p>Information about the import job.</p>
@@ -3276,7 +3276,7 @@ export interface ModelImportJobSummary {
3276
3276
  * <p>The time when the import job was last modified.</p>
3277
3277
  * @public
3278
3278
  */
3279
- lastModifiedTime?: Date;
3279
+ lastModifiedTime?: Date | undefined;
3280
3280
  /**
3281
3281
  * <p>The time import job was created.</p>
3282
3282
  * @public
@@ -3286,17 +3286,17 @@ export interface ModelImportJobSummary {
3286
3286
  * <p>The time when import job ended.</p>
3287
3287
  * @public
3288
3288
  */
3289
- endTime?: Date;
3289
+ endTime?: Date | undefined;
3290
3290
  /**
3291
3291
  * <p>The Amazon resource Name (ARN) of the imported model.</p>
3292
3292
  * @public
3293
3293
  */
3294
- importedModelArn?: string;
3294
+ importedModelArn?: string | undefined;
3295
3295
  /**
3296
3296
  * <p>The name of the imported model.</p>
3297
3297
  * @public
3298
3298
  */
3299
- importedModelName?: string;
3299
+ importedModelName?: string | undefined;
3300
3300
  }
3301
3301
  /**
3302
3302
  * @public
@@ -3306,12 +3306,12 @@ export interface ListModelImportJobsResponse {
3306
3306
  * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>
3307
3307
  * @public
3308
3308
  */
3309
- nextToken?: string;
3309
+ nextToken?: string | undefined;
3310
3310
  /**
3311
3311
  * <p>Import job summaries.</p>
3312
3312
  * @public
3313
3313
  */
3314
- modelImportJobSummaries?: ModelImportJobSummary[];
3314
+ modelImportJobSummaries?: ModelImportJobSummary[] | undefined;
3315
3315
  }
3316
3316
  /**
3317
3317
  * @public
@@ -3333,7 +3333,7 @@ export interface ModelInvocationJobS3InputDataConfig {
3333
3333
  * <p>The format of the input data.</p>
3334
3334
  * @public
3335
3335
  */
3336
- s3InputFormat?: S3InputFormat;
3336
+ s3InputFormat?: S3InputFormat | undefined;
3337
3337
  /**
3338
3338
  * <p>The S3 location of the input data.</p>
3339
3339
  * @public
@@ -3343,7 +3343,7 @@ export interface ModelInvocationJobS3InputDataConfig {
3343
3343
  * <p>The ID of the Amazon Web Services account that owns the S3 bucket containing the input data.</p>
3344
3344
  * @public
3345
3345
  */
3346
- s3BucketOwner?: string;
3346
+ s3BucketOwner?: string | undefined;
3347
3347
  }
3348
3348
  /**
3349
3349
  * <p>Details about the location of the input to the batch inference job.</p>
@@ -3389,12 +3389,12 @@ export interface ModelInvocationJobS3OutputDataConfig {
3389
3389
  * <p>The unique identifier of the key that encrypts the S3 location of the output data.</p>
3390
3390
  * @public
3391
3391
  */
3392
- s3EncryptionKeyId?: string;
3392
+ s3EncryptionKeyId?: string | undefined;
3393
3393
  /**
3394
3394
  * <p>The ID of the Amazon Web Services account that owns the S3 bucket containing the output data.</p>
3395
3395
  * @public
3396
3396
  */
3397
- s3BucketOwner?: string;
3397
+ s3BucketOwner?: string | undefined;
3398
3398
  }
3399
3399
  /**
3400
3400
  * <p>Contains the configuration of the S3 location of the output data.</p>
@@ -3445,7 +3445,7 @@ export interface CreateModelInvocationJobRequest {
3445
3445
  * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
3446
3446
  * @public
3447
3447
  */
3448
- clientRequestToken?: string;
3448
+ clientRequestToken?: string | undefined;
3449
3449
  /**
3450
3450
  * <p>The unique identifier of the foundation model to use for the batch inference job.</p>
3451
3451
  * @public
@@ -3465,17 +3465,17 @@ export interface CreateModelInvocationJobRequest {
3465
3465
  * <p>The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-vpc">Protect batch inference jobs using a VPC</a>.</p>
3466
3466
  * @public
3467
3467
  */
3468
- vpcConfig?: VpcConfig;
3468
+ vpcConfig?: VpcConfig | undefined;
3469
3469
  /**
3470
3470
  * <p>The number of hours after which to force the batch inference job to time out.</p>
3471
3471
  * @public
3472
3472
  */
3473
- timeoutDurationInHours?: number;
3473
+ timeoutDurationInHours?: number | undefined;
3474
3474
  /**
3475
3475
  * <p>Any tags to associate with the batch inference job. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/tagging.html">Tagging Amazon Bedrock resources</a>.</p>
3476
3476
  * @public
3477
3477
  */
3478
- tags?: Tag[];
3478
+ tags?: Tag[] | undefined;
3479
3479
  }
3480
3480
  /**
3481
3481
  * @public
@@ -3530,7 +3530,7 @@ export interface GetModelInvocationJobResponse {
3530
3530
  * <p>The name of the batch inference job.</p>
3531
3531
  * @public
3532
3532
  */
3533
- jobName?: string;
3533
+ jobName?: string | undefined;
3534
3534
  /**
3535
3535
  * <p>The unique identifier of the foundation model used for model inference.</p>
3536
3536
  * @public
@@ -3541,7 +3541,7 @@ export interface GetModelInvocationJobResponse {
3541
3541
  * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
3542
3542
  * @public
3543
3543
  */
3544
- clientRequestToken?: string;
3544
+ clientRequestToken?: string | undefined;
3545
3545
  /**
3546
3546
  * <p>The Amazon Resource Name (ARN) of the service role with permissions to carry out and manage batch inference. You can use the console to create a default service role or follow the steps at <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html">Create a service role for batch inference</a>.</p>
3547
3547
  * @public
@@ -3551,12 +3551,12 @@ export interface GetModelInvocationJobResponse {
3551
3551
  * <p>The status of the batch inference job.</p>
3552
3552
  * @public
3553
3553
  */
3554
- status?: ModelInvocationJobStatus;
3554
+ status?: ModelInvocationJobStatus | undefined;
3555
3555
  /**
3556
3556
  * <p>If the batch inference job failed, this field contains a message describing why the job failed.</p>
3557
3557
  * @public
3558
3558
  */
3559
- message?: string;
3559
+ message?: string | undefined;
3560
3560
  /**
3561
3561
  * <p>The time at which the batch inference job was submitted.</p>
3562
3562
  * @public
@@ -3566,12 +3566,12 @@ export interface GetModelInvocationJobResponse {
3566
3566
  * <p>The time at which the batch inference job was last modified.</p>
3567
3567
  * @public
3568
3568
  */
3569
- lastModifiedTime?: Date;
3569
+ lastModifiedTime?: Date | undefined;
3570
3570
  /**
3571
3571
  * <p>The time at which the batch inference job ended.</p>
3572
3572
  * @public
3573
3573
  */
3574
- endTime?: Date;
3574
+ endTime?: Date | undefined;
3575
3575
  /**
3576
3576
  * <p>Details about the location of the input to the batch inference job.</p>
3577
3577
  * @public
@@ -3586,17 +3586,17 @@ export interface GetModelInvocationJobResponse {
3586
3586
  * <p>The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-vpc">Protect batch inference jobs using a VPC</a>.</p>
3587
3587
  * @public
3588
3588
  */
3589
- vpcConfig?: VpcConfig;
3589
+ vpcConfig?: VpcConfig | undefined;
3590
3590
  /**
3591
3591
  * <p>The number of hours after which batch inference job was set to time out.</p>
3592
3592
  * @public
3593
3593
  */
3594
- timeoutDurationInHours?: number;
3594
+ timeoutDurationInHours?: number | undefined;
3595
3595
  /**
3596
3596
  * <p>The time at which the batch inference job times or timed out.</p>
3597
3597
  * @public
3598
3598
  */
3599
- jobExpirationTime?: Date;
3599
+ jobExpirationTime?: Date | undefined;
3600
3600
  }
3601
3601
  /**
3602
3602
  * @public
@@ -3606,27 +3606,27 @@ export interface ListModelInvocationJobsRequest {
3606
3606
  * <p>Specify a time to filter for batch inference jobs that were submitted after the time you specify.</p>
3607
3607
  * @public
3608
3608
  */
3609
- submitTimeAfter?: Date;
3609
+ submitTimeAfter?: Date | undefined;
3610
3610
  /**
3611
3611
  * <p>Specify a time to filter for batch inference jobs that were submitted before the time you specify.</p>
3612
3612
  * @public
3613
3613
  */
3614
- submitTimeBefore?: Date;
3614
+ submitTimeBefore?: Date | undefined;
3615
3615
  /**
3616
3616
  * <p>Specify a status to filter for batch inference jobs whose statuses match the string you specify.</p>
3617
3617
  * @public
3618
3618
  */
3619
- statusEquals?: ModelInvocationJobStatus;
3619
+ statusEquals?: ModelInvocationJobStatus | undefined;
3620
3620
  /**
3621
3621
  * <p>Specify a string to filter for batch inference jobs whose names contain the string.</p>
3622
3622
  * @public
3623
3623
  */
3624
- nameContains?: string;
3624
+ nameContains?: string | undefined;
3625
3625
  /**
3626
3626
  * <p>The maximum number of results to return. If there are more results than the number that you specify, a <code>nextToken</code> value is returned. Use the <code>nextToken</code> in a request to return the next batch of results.</p>
3627
3627
  * @public
3628
3628
  */
3629
- maxResults?: number;
3629
+ maxResults?: number | undefined;
3630
3630
  /**
3631
3631
  * <p>If there were more results than the value you specified
3632
3632
  * in the <code>maxResults</code> field in a previous <code>ListModelInvocationJobs</code> request, the response would have returned a <code>nextToken</code>
@@ -3635,17 +3635,17 @@ export interface ListModelInvocationJobsRequest {
3635
3635
  * request.</p>
3636
3636
  * @public
3637
3637
  */
3638
- nextToken?: string;
3638
+ nextToken?: string | undefined;
3639
3639
  /**
3640
3640
  * <p>An attribute by which to sort the results.</p>
3641
3641
  * @public
3642
3642
  */
3643
- sortBy?: SortJobsBy;
3643
+ sortBy?: SortJobsBy | undefined;
3644
3644
  /**
3645
3645
  * <p>Specifies whether to sort the results by ascending or descending order.</p>
3646
3646
  * @public
3647
3647
  */
3648
- sortOrder?: SortOrder;
3648
+ sortOrder?: SortOrder | undefined;
3649
3649
  }
3650
3650
  /**
3651
3651
  * <p>A summary of a batch inference job.</p>
@@ -3672,7 +3672,7 @@ export interface ModelInvocationJobSummary {
3672
3672
  * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
3673
3673
  * @public
3674
3674
  */
3675
- clientRequestToken?: string;
3675
+ clientRequestToken?: string | undefined;
3676
3676
  /**
3677
3677
  * <p>The Amazon Resource Name (ARN) of the service role with permissions to carry out and manage batch inference. You can use the console to create a default service role or follow the steps at <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-iam-sr.html">Create a service role for batch inference</a>.</p>
3678
3678
  * @public
@@ -3682,12 +3682,12 @@ export interface ModelInvocationJobSummary {
3682
3682
  * <p>The status of the batch inference job.</p>
3683
3683
  * @public
3684
3684
  */
3685
- status?: ModelInvocationJobStatus;
3685
+ status?: ModelInvocationJobStatus | undefined;
3686
3686
  /**
3687
3687
  * <p>If the batch inference job failed, this field contains a message describing why the job failed.</p>
3688
3688
  * @public
3689
3689
  */
3690
- message?: string;
3690
+ message?: string | undefined;
3691
3691
  /**
3692
3692
  * <p>The time at which the batch inference job was submitted.</p>
3693
3693
  * @public
@@ -3697,12 +3697,12 @@ export interface ModelInvocationJobSummary {
3697
3697
  * <p>The time at which the batch inference job was last modified.</p>
3698
3698
  * @public
3699
3699
  */
3700
- lastModifiedTime?: Date;
3700
+ lastModifiedTime?: Date | undefined;
3701
3701
  /**
3702
3702
  * <p>The time at which the batch inference job ended.</p>
3703
3703
  * @public
3704
3704
  */
3705
- endTime?: Date;
3705
+ endTime?: Date | undefined;
3706
3706
  /**
3707
3707
  * <p>Details about the location of the input to the batch inference job.</p>
3708
3708
  * @public
@@ -3717,17 +3717,17 @@ export interface ModelInvocationJobSummary {
3717
3717
  * <p>The configuration of the Virtual Private Cloud (VPC) for the data in the batch inference job. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/batch-inference-vpc">Protect batch inference jobs using a VPC</a>.</p>
3718
3718
  * @public
3719
3719
  */
3720
- vpcConfig?: VpcConfig;
3720
+ vpcConfig?: VpcConfig | undefined;
3721
3721
  /**
3722
3722
  * <p>The number of hours after which the batch inference job was set to time out.</p>
3723
3723
  * @public
3724
3724
  */
3725
- timeoutDurationInHours?: number;
3725
+ timeoutDurationInHours?: number | undefined;
3726
3726
  /**
3727
3727
  * <p>The time at which the batch inference job times or timed out.</p>
3728
3728
  * @public
3729
3729
  */
3730
- jobExpirationTime?: Date;
3730
+ jobExpirationTime?: Date | undefined;
3731
3731
  }
3732
3732
  /**
3733
3733
  * @public
@@ -3737,12 +3737,12 @@ export interface ListModelInvocationJobsResponse {
3737
3737
  * <p>If there are more results than can fit in the response, a <code>nextToken</code> is returned. Use the <code>nextToken</code> in a request to return the next batch of results.</p>
3738
3738
  * @public
3739
3739
  */
3740
- nextToken?: string;
3740
+ nextToken?: string | undefined;
3741
3741
  /**
3742
3742
  * <p>A list of items, each of which contains a summary about a batch inference job.</p>
3743
3743
  * @public
3744
3744
  */
3745
- invocationJobSummaries?: ModelInvocationJobSummary[];
3745
+ invocationJobSummaries?: ModelInvocationJobSummary[] | undefined;
3746
3746
  }
3747
3747
  /**
3748
3748
  * @public
@@ -3827,7 +3827,7 @@ export interface TrainingMetrics {
3827
3827
  * <p>Loss metric associated with the custom job.</p>
3828
3828
  * @public
3829
3829
  */
3830
- trainingLoss?: number;
3830
+ trainingLoss?: number | undefined;
3831
3831
  }
3832
3832
  /**
3833
3833
  * <p>Information about a validator.</p>
@@ -3860,7 +3860,7 @@ export interface ValidatorMetric {
3860
3860
  * <p>The validation loss associated with this validator.</p>
3861
3861
  * @public
3862
3862
  */
3863
- validationLoss?: number;
3863
+ validationLoss?: number | undefined;
3864
3864
  }
3865
3865
  /**
3866
3866
  * @public
@@ -3880,7 +3880,7 @@ export interface GetCustomModelResponse {
3880
3880
  * <p>Job name associated with this model.</p>
3881
3881
  * @public
3882
3882
  */
3883
- jobName?: string;
3883
+ jobName?: string | undefined;
3884
3884
  /**
3885
3885
  * <p>Job Amazon Resource Name (ARN) associated with this model.</p>
3886
3886
  * @public
@@ -3895,17 +3895,17 @@ export interface GetCustomModelResponse {
3895
3895
  * <p>The type of model customization.</p>
3896
3896
  * @public
3897
3897
  */
3898
- customizationType?: CustomizationType;
3898
+ customizationType?: CustomizationType | undefined;
3899
3899
  /**
3900
3900
  * <p>The custom model is encrypted at rest using this key.</p>
3901
3901
  * @public
3902
3902
  */
3903
- modelKmsKeyArn?: string;
3903
+ modelKmsKeyArn?: string | undefined;
3904
3904
  /**
3905
3905
  * <p>Hyperparameter values associated with this model. For details on the format for different models, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models-hp.html">Custom model hyperparameters</a>.</p>
3906
3906
  * @public
3907
3907
  */
3908
- hyperParameters?: Record<string, string>;
3908
+ hyperParameters?: Record<string, string> | undefined;
3909
3909
  /**
3910
3910
  * <p>Contains information about the training dataset.</p>
3911
3911
  * @public
@@ -3915,7 +3915,7 @@ export interface GetCustomModelResponse {
3915
3915
  * <p>Contains information about the validation dataset.</p>
3916
3916
  * @public
3917
3917
  */
3918
- validationDataConfig?: ValidationDataConfig;
3918
+ validationDataConfig?: ValidationDataConfig | undefined;
3919
3919
  /**
3920
3920
  * <p>Output data configuration associated with this custom model.</p>
3921
3921
  * @public
@@ -3925,12 +3925,12 @@ export interface GetCustomModelResponse {
3925
3925
  * <p>Contains training metrics from the job creation.</p>
3926
3926
  * @public
3927
3927
  */
3928
- trainingMetrics?: TrainingMetrics;
3928
+ trainingMetrics?: TrainingMetrics | undefined;
3929
3929
  /**
3930
3930
  * <p>The validation metrics from the job creation.</p>
3931
3931
  * @public
3932
3932
  */
3933
- validationMetrics?: ValidatorMetric[];
3933
+ validationMetrics?: ValidatorMetric[] | undefined;
3934
3934
  /**
3935
3935
  * <p>Creation time of the model.</p>
3936
3936
  * @public
@@ -4026,42 +4026,42 @@ export interface FoundationModelDetails {
4026
4026
  * <p>The model name.</p>
4027
4027
  * @public
4028
4028
  */
4029
- modelName?: string;
4029
+ modelName?: string | undefined;
4030
4030
  /**
4031
4031
  * <p>The model's provider name.</p>
4032
4032
  * @public
4033
4033
  */
4034
- providerName?: string;
4034
+ providerName?: string | undefined;
4035
4035
  /**
4036
4036
  * <p>The input modalities that the model supports.</p>
4037
4037
  * @public
4038
4038
  */
4039
- inputModalities?: ModelModality[];
4039
+ inputModalities?: ModelModality[] | undefined;
4040
4040
  /**
4041
4041
  * <p>The output modalities that the model supports.</p>
4042
4042
  * @public
4043
4043
  */
4044
- outputModalities?: ModelModality[];
4044
+ outputModalities?: ModelModality[] | undefined;
4045
4045
  /**
4046
4046
  * <p>Indicates whether the model supports streaming.</p>
4047
4047
  * @public
4048
4048
  */
4049
- responseStreamingSupported?: boolean;
4049
+ responseStreamingSupported?: boolean | undefined;
4050
4050
  /**
4051
4051
  * <p>The customization that the model supports.</p>
4052
4052
  * @public
4053
4053
  */
4054
- customizationsSupported?: ModelCustomization[];
4054
+ customizationsSupported?: ModelCustomization[] | undefined;
4055
4055
  /**
4056
4056
  * <p>The inference types that the model supports.</p>
4057
4057
  * @public
4058
4058
  */
4059
- inferenceTypesSupported?: InferenceType[];
4059
+ inferenceTypesSupported?: InferenceType[] | undefined;
4060
4060
  /**
4061
4061
  * <p>Contains details about whether a model version is available or deprecated</p>
4062
4062
  * @public
4063
4063
  */
4064
- modelLifecycle?: FoundationModelLifecycle;
4064
+ modelLifecycle?: FoundationModelLifecycle | undefined;
4065
4065
  }
4066
4066
  /**
4067
4067
  * @public
@@ -4071,7 +4071,7 @@ export interface GetFoundationModelResponse {
4071
4071
  * <p>Information about the foundation model.</p>
4072
4072
  * @public
4073
4073
  */
4074
- modelDetails?: FoundationModelDetails;
4074
+ modelDetails?: FoundationModelDetails | undefined;
4075
4075
  }
4076
4076
  /**
4077
4077
  * @public
@@ -4081,52 +4081,52 @@ export interface ListCustomModelsRequest {
4081
4081
  * <p>Return custom models created before the specified time. </p>
4082
4082
  * @public
4083
4083
  */
4084
- creationTimeBefore?: Date;
4084
+ creationTimeBefore?: Date | undefined;
4085
4085
  /**
4086
4086
  * <p>Return custom models created after the specified time. </p>
4087
4087
  * @public
4088
4088
  */
4089
- creationTimeAfter?: Date;
4089
+ creationTimeAfter?: Date | undefined;
4090
4090
  /**
4091
4091
  * <p>Return custom models only if the job name contains these characters.</p>
4092
4092
  * @public
4093
4093
  */
4094
- nameContains?: string;
4094
+ nameContains?: string | undefined;
4095
4095
  /**
4096
4096
  * <p>Return custom models only if the base model Amazon Resource Name (ARN) matches this parameter.</p>
4097
4097
  * @public
4098
4098
  */
4099
- baseModelArnEquals?: string;
4099
+ baseModelArnEquals?: string | undefined;
4100
4100
  /**
4101
4101
  * <p>Return custom models only if the foundation model Amazon Resource Name (ARN) matches this parameter.</p>
4102
4102
  * @public
4103
4103
  */
4104
- foundationModelArnEquals?: string;
4104
+ foundationModelArnEquals?: string | undefined;
4105
4105
  /**
4106
4106
  * <p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p>
4107
4107
  * @public
4108
4108
  */
4109
- maxResults?: number;
4109
+ maxResults?: number | undefined;
4110
4110
  /**
4111
4111
  * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>
4112
4112
  * @public
4113
4113
  */
4114
- nextToken?: string;
4114
+ nextToken?: string | undefined;
4115
4115
  /**
4116
4116
  * <p>The field to sort by in the returned list of models.</p>
4117
4117
  * @public
4118
4118
  */
4119
- sortBy?: SortModelsBy;
4119
+ sortBy?: SortModelsBy | undefined;
4120
4120
  /**
4121
4121
  * <p>The sort order of the results.</p>
4122
4122
  * @public
4123
4123
  */
4124
- sortOrder?: SortOrder;
4124
+ sortOrder?: SortOrder | undefined;
4125
4125
  /**
4126
4126
  * <p>Return custom models depending on if the current account owns them (<code>true</code>) or if they were shared with the current account (<code>false</code>).</p>
4127
4127
  * @public
4128
4128
  */
4129
- isOwned?: boolean;
4129
+ isOwned?: boolean | undefined;
4130
4130
  }
4131
4131
  /**
4132
4132
  * <p>Summary information for a custom model.</p>
@@ -4162,12 +4162,12 @@ export interface CustomModelSummary {
4162
4162
  * <p>Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a>.</p>
4163
4163
  * @public
4164
4164
  */
4165
- customizationType?: CustomizationType;
4165
+ customizationType?: CustomizationType | undefined;
4166
4166
  /**
4167
4167
  * <p>The unique identifier of the account that owns the model.</p>
4168
4168
  * @public
4169
4169
  */
4170
- ownerAccountId?: string;
4170
+ ownerAccountId?: string | undefined;
4171
4171
  }
4172
4172
  /**
4173
4173
  * @public
@@ -4177,12 +4177,12 @@ export interface ListCustomModelsResponse {
4177
4177
  * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
4178
4178
  * @public
4179
4179
  */
4180
- nextToken?: string;
4180
+ nextToken?: string | undefined;
4181
4181
  /**
4182
4182
  * <p>Model summaries.</p>
4183
4183
  * @public
4184
4184
  */
4185
- modelSummaries?: CustomModelSummary[];
4185
+ modelSummaries?: CustomModelSummary[] | undefined;
4186
4186
  }
4187
4187
  /**
4188
4188
  * @public
@@ -4192,22 +4192,22 @@ export interface ListFoundationModelsRequest {
4192
4192
  * <p>Return models belonging to the model provider that you specify.</p>
4193
4193
  * @public
4194
4194
  */
4195
- byProvider?: string;
4195
+ byProvider?: string | undefined;
4196
4196
  /**
4197
4197
  * <p>Return models that support the customization type that you specify. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
4198
4198
  * @public
4199
4199
  */
4200
- byCustomizationType?: ModelCustomization;
4200
+ byCustomizationType?: ModelCustomization | undefined;
4201
4201
  /**
4202
4202
  * <p>Return models that support the output modality that you specify.</p>
4203
4203
  * @public
4204
4204
  */
4205
- byOutputModality?: ModelModality;
4205
+ byOutputModality?: ModelModality | undefined;
4206
4206
  /**
4207
4207
  * <p>Return models that support the inference type that you specify. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/prov-throughput.html">Provisioned Throughput</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
4208
4208
  * @public
4209
4209
  */
4210
- byInferenceType?: InferenceType;
4210
+ byInferenceType?: InferenceType | undefined;
4211
4211
  }
4212
4212
  /**
4213
4213
  * <p>Summary information for a foundation model.</p>
@@ -4228,42 +4228,42 @@ export interface FoundationModelSummary {
4228
4228
  * <p>The name of the model.</p>
4229
4229
  * @public
4230
4230
  */
4231
- modelName?: string;
4231
+ modelName?: string | undefined;
4232
4232
  /**
4233
4233
  * <p>The model's provider name.</p>
4234
4234
  * @public
4235
4235
  */
4236
- providerName?: string;
4236
+ providerName?: string | undefined;
4237
4237
  /**
4238
4238
  * <p>The input modalities that the model supports.</p>
4239
4239
  * @public
4240
4240
  */
4241
- inputModalities?: ModelModality[];
4241
+ inputModalities?: ModelModality[] | undefined;
4242
4242
  /**
4243
4243
  * <p>The output modalities that the model supports.</p>
4244
4244
  * @public
4245
4245
  */
4246
- outputModalities?: ModelModality[];
4246
+ outputModalities?: ModelModality[] | undefined;
4247
4247
  /**
4248
4248
  * <p>Indicates whether the model supports streaming.</p>
4249
4249
  * @public
4250
4250
  */
4251
- responseStreamingSupported?: boolean;
4251
+ responseStreamingSupported?: boolean | undefined;
4252
4252
  /**
4253
4253
  * <p>Whether the model supports fine-tuning or continual pre-training.</p>
4254
4254
  * @public
4255
4255
  */
4256
- customizationsSupported?: ModelCustomization[];
4256
+ customizationsSupported?: ModelCustomization[] | undefined;
4257
4257
  /**
4258
4258
  * <p>The inference types that the model supports.</p>
4259
4259
  * @public
4260
4260
  */
4261
- inferenceTypesSupported?: InferenceType[];
4261
+ inferenceTypesSupported?: InferenceType[] | undefined;
4262
4262
  /**
4263
4263
  * <p>Contains details about whether a model version is available or deprecated.</p>
4264
4264
  * @public
4265
4265
  */
4266
- modelLifecycle?: FoundationModelLifecycle;
4266
+ modelLifecycle?: FoundationModelLifecycle | undefined;
4267
4267
  }
4268
4268
  /**
4269
4269
  * @public
@@ -4273,7 +4273,7 @@ export interface ListFoundationModelsResponse {
4273
4273
  * <p>A list of Amazon Bedrock foundation models.</p>
4274
4274
  * @public
4275
4275
  */
4276
- modelSummaries?: FoundationModelSummary[];
4276
+ modelSummaries?: FoundationModelSummary[] | undefined;
4277
4277
  }
4278
4278
  /**
4279
4279
  * @public
@@ -4296,7 +4296,7 @@ export interface CreateProvisionedModelThroughputRequest {
4296
4296
  * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a> in the Amazon S3 User Guide.</p>
4297
4297
  * @public
4298
4298
  */
4299
- clientRequestToken?: string;
4299
+ clientRequestToken?: string | undefined;
4300
4300
  /**
4301
4301
  * <p>Number of model units to allocate. A model unit delivers a specific throughput level for the specified model. The throughput level of a model unit specifies the total number of input and output tokens that it can process and generate within a span of one minute. By default, your account has no model units for purchasing Provisioned Throughputs with commitment. You must first visit the <a href="https://console.aws.amazon.com/support/home#/case/create?issueType=service-limit-increase">Amazon Web Services support center</a> to request MUs.</p>
4302
4302
  * <p>For model unit quotas, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/quotas.html#prov-thru-quotas">Provisioned Throughput quotas</a> in the <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/what-is-service.html">Amazon Bedrock User Guide</a>.</p>
@@ -4320,12 +4320,12 @@ export interface CreateProvisionedModelThroughputRequest {
4320
4320
  * </p>
4321
4321
  * @public
4322
4322
  */
4323
- commitmentDuration?: CommitmentDuration;
4323
+ commitmentDuration?: CommitmentDuration | undefined;
4324
4324
  /**
4325
4325
  * <p>Tags to associate with this Provisioned Throughput.</p>
4326
4326
  * @public
4327
4327
  */
4328
- tags?: Tag[];
4328
+ tags?: Tag[] | undefined;
4329
4329
  }
4330
4330
  /**
4331
4331
  * @public
@@ -4434,17 +4434,17 @@ export interface GetProvisionedModelThroughputResponse {
4434
4434
  * <p>A failure message for any issues that occurred during creation, updating, or deletion of the Provisioned Throughput.</p>
4435
4435
  * @public
4436
4436
  */
4437
- failureMessage?: string;
4437
+ failureMessage?: string | undefined;
4438
4438
  /**
4439
4439
  * <p>Commitment duration of the Provisioned Throughput.</p>
4440
4440
  * @public
4441
4441
  */
4442
- commitmentDuration?: CommitmentDuration;
4442
+ commitmentDuration?: CommitmentDuration | undefined;
4443
4443
  /**
4444
4444
  * <p>The timestamp for when the commitment term for the Provisioned Throughput expires.</p>
4445
4445
  * @public
4446
4446
  */
4447
- commitmentExpirationTime?: Date;
4447
+ commitmentExpirationTime?: Date | undefined;
4448
4448
  }
4449
4449
  /**
4450
4450
  * @public
@@ -4465,49 +4465,49 @@ export interface ListProvisionedModelThroughputsRequest {
4465
4465
  * <p>A filter that returns Provisioned Throughputs created after the specified time. </p>
4466
4466
  * @public
4467
4467
  */
4468
- creationTimeAfter?: Date;
4468
+ creationTimeAfter?: Date | undefined;
4469
4469
  /**
4470
4470
  * <p>A filter that returns Provisioned Throughputs created before the specified time. </p>
4471
4471
  * @public
4472
4472
  */
4473
- creationTimeBefore?: Date;
4473
+ creationTimeBefore?: Date | undefined;
4474
4474
  /**
4475
4475
  * <p>A filter that returns Provisioned Throughputs if their statuses matches the value that you specify.</p>
4476
4476
  * @public
4477
4477
  */
4478
- statusEquals?: ProvisionedModelStatus;
4478
+ statusEquals?: ProvisionedModelStatus | undefined;
4479
4479
  /**
4480
4480
  * <p>A filter that returns Provisioned Throughputs whose model Amazon Resource Name (ARN) is equal to the value that you specify.</p>
4481
4481
  * @public
4482
4482
  */
4483
- modelArnEquals?: string;
4483
+ modelArnEquals?: string | undefined;
4484
4484
  /**
4485
4485
  * <p>A filter that returns Provisioned Throughputs if their name contains the expression that you specify.</p>
4486
4486
  * @public
4487
4487
  */
4488
- nameContains?: string;
4488
+ nameContains?: string | undefined;
4489
4489
  /**
4490
4490
  * <p>THe maximum number of results to return in the response. If there are more results than the number you specified, the response returns a <code>nextToken</code>
4491
4491
  * value. To see the next batch of results, send the <code>nextToken</code> value in another list request.</p>
4492
4492
  * @public
4493
4493
  */
4494
- maxResults?: number;
4494
+ maxResults?: number | undefined;
4495
4495
  /**
4496
4496
  * <p>If there are more results than the number you specified in the <code>maxResults</code> field, the response returns a <code>nextToken</code>
4497
4497
  * value. To see the next batch of results, specify the <code>nextToken</code> value in this field.</p>
4498
4498
  * @public
4499
4499
  */
4500
- nextToken?: string;
4500
+ nextToken?: string | undefined;
4501
4501
  /**
4502
4502
  * <p>The field by which to sort the returned list of Provisioned Throughputs.</p>
4503
4503
  * @public
4504
4504
  */
4505
- sortBy?: SortByProvisionedModels;
4505
+ sortBy?: SortByProvisionedModels | undefined;
4506
4506
  /**
4507
4507
  * <p>The sort order of the results.</p>
4508
4508
  * @public
4509
4509
  */
4510
- sortOrder?: SortOrder;
4510
+ sortOrder?: SortOrder | undefined;
4511
4511
  }
4512
4512
  /**
4513
4513
  * <p>A summary of information about a Provisioned Throughput.</p>
@@ -4566,12 +4566,12 @@ export interface ProvisionedModelSummary {
4566
4566
  * <p>The duration for which the Provisioned Throughput was committed.</p>
4567
4567
  * @public
4568
4568
  */
4569
- commitmentDuration?: CommitmentDuration;
4569
+ commitmentDuration?: CommitmentDuration | undefined;
4570
4570
  /**
4571
4571
  * <p>The timestamp for when the commitment term of the Provisioned Throughput expires.</p>
4572
4572
  * @public
4573
4573
  */
4574
- commitmentExpirationTime?: Date;
4574
+ commitmentExpirationTime?: Date | undefined;
4575
4575
  /**
4576
4576
  * <p>The time that the Provisioned Throughput was created. </p>
4577
4577
  * @public
@@ -4591,12 +4591,12 @@ export interface ListProvisionedModelThroughputsResponse {
4591
4591
  * <p>If there are more results than the number you specified in the <code>maxResults</code> field, this value is returned. To see the next batch of results, include this value in the <code>nextToken</code> field in another list request.</p>
4592
4592
  * @public
4593
4593
  */
4594
- nextToken?: string;
4594
+ nextToken?: string | undefined;
4595
4595
  /**
4596
4596
  * <p>A list of summaries, one for each Provisioned Throughput in the response.</p>
4597
4597
  * @public
4598
4598
  */
4599
- provisionedModelSummaries?: ProvisionedModelSummary[];
4599
+ provisionedModelSummaries?: ProvisionedModelSummary[] | undefined;
4600
4600
  }
4601
4601
  /**
4602
4602
  * @public
@@ -4611,7 +4611,7 @@ export interface UpdateProvisionedModelThroughputRequest {
4611
4611
  * <p>The new name for this Provisioned Throughput.</p>
4612
4612
  * @public
4613
4613
  */
4614
- desiredProvisionedModelName?: string;
4614
+ desiredProvisionedModelName?: string | undefined;
4615
4615
  /**
4616
4616
  * <p>The Amazon Resource Name (ARN) of the new model to associate with this Provisioned Throughput. You can't specify this field if this Provisioned Throughput is associated with a base model.</p>
4617
4617
  * <p>If this Provisioned Throughput is associated with a custom model, you can specify one of the following options:</p>
@@ -4625,7 +4625,7 @@ export interface UpdateProvisionedModelThroughputRequest {
4625
4625
  * </ul>
4626
4626
  * @public
4627
4627
  */
4628
- desiredModelId?: string;
4628
+ desiredModelId?: string | undefined;
4629
4629
  }
4630
4630
  /**
4631
4631
  * @public
@@ -4650,7 +4650,7 @@ export interface ListTagsForResourceResponse {
4650
4650
  * <p>An array of the tags associated with this resource.</p>
4651
4651
  * @public
4652
4652
  */
4653
- tags?: Tag[];
4653
+ tags?: Tag[] | undefined;
4654
4654
  }
4655
4655
  /**
4656
4656
  * @public
@@ -4719,7 +4719,7 @@ export interface CreateModelCustomizationJobRequest {
4719
4719
  * Amazon Bedrock ignores the request, but does not return an error. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Run_Instance_Idempotency.html">Ensuring idempotency</a>.</p>
4720
4720
  * @public
4721
4721
  */
4722
- clientRequestToken?: string;
4722
+ clientRequestToken?: string | undefined;
4723
4723
  /**
4724
4724
  * <p>Name of the base model.</p>
4725
4725
  * @public
@@ -4729,22 +4729,22 @@ export interface CreateModelCustomizationJobRequest {
4729
4729
  * <p>The customization type.</p>
4730
4730
  * @public
4731
4731
  */
4732
- customizationType?: CustomizationType;
4732
+ customizationType?: CustomizationType | undefined;
4733
4733
  /**
4734
4734
  * <p>The custom model is encrypted at rest using this key.</p>
4735
4735
  * @public
4736
4736
  */
4737
- customModelKmsKeyId?: string;
4737
+ customModelKmsKeyId?: string | undefined;
4738
4738
  /**
4739
4739
  * <p>Tags to attach to the job.</p>
4740
4740
  * @public
4741
4741
  */
4742
- jobTags?: Tag[];
4742
+ jobTags?: Tag[] | undefined;
4743
4743
  /**
4744
4744
  * <p>Tags to attach to the resulting custom model.</p>
4745
4745
  * @public
4746
4746
  */
4747
- customModelTags?: Tag[];
4747
+ customModelTags?: Tag[] | undefined;
4748
4748
  /**
4749
4749
  * <p>Information about the training dataset.</p>
4750
4750
  * @public
@@ -4754,7 +4754,7 @@ export interface CreateModelCustomizationJobRequest {
4754
4754
  * <p>Information about the validation dataset. </p>
4755
4755
  * @public
4756
4756
  */
4757
- validationDataConfig?: ValidationDataConfig;
4757
+ validationDataConfig?: ValidationDataConfig | undefined;
4758
4758
  /**
4759
4759
  * <p>S3 location for the output data.</p>
4760
4760
  * @public
@@ -4769,7 +4769,7 @@ export interface CreateModelCustomizationJobRequest {
4769
4769
  * <p>The configuration of the Virtual Private Cloud (VPC) that contains the resources that you're using for this job. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/vpc-model-customization.html">Protect your model customization jobs using a VPC</a>.</p>
4770
4770
  * @public
4771
4771
  */
4772
- vpcConfig?: VpcConfig;
4772
+ vpcConfig?: VpcConfig | undefined;
4773
4773
  }
4774
4774
  /**
4775
4775
  * @public
@@ -4829,12 +4829,12 @@ export interface GetModelCustomizationJobResponse {
4829
4829
  * <p>The Amazon Resource Name (ARN) of the output model.</p>
4830
4830
  * @public
4831
4831
  */
4832
- outputModelArn?: string;
4832
+ outputModelArn?: string | undefined;
4833
4833
  /**
4834
4834
  * <p>The token that you specified in the <code>CreateCustomizationJob</code> request.</p>
4835
4835
  * @public
4836
4836
  */
4837
- clientRequestToken?: string;
4837
+ clientRequestToken?: string | undefined;
4838
4838
  /**
4839
4839
  * <p>The Amazon Resource Name (ARN) of the IAM role.</p>
4840
4840
  * @public
@@ -4845,12 +4845,12 @@ export interface GetModelCustomizationJobResponse {
4845
4845
  * If the job failed, the failure message contains information about why the job failed.</p>
4846
4846
  * @public
4847
4847
  */
4848
- status?: ModelCustomizationJobStatus;
4848
+ status?: ModelCustomizationJobStatus | undefined;
4849
4849
  /**
4850
4850
  * <p>Information about why the job failed.</p>
4851
4851
  * @public
4852
4852
  */
4853
- failureMessage?: string;
4853
+ failureMessage?: string | undefined;
4854
4854
  /**
4855
4855
  * <p>Time that the resource was created.</p>
4856
4856
  * @public
@@ -4860,12 +4860,12 @@ export interface GetModelCustomizationJobResponse {
4860
4860
  * <p>Time that the resource was last modified.</p>
4861
4861
  * @public
4862
4862
  */
4863
- lastModifiedTime?: Date;
4863
+ lastModifiedTime?: Date | undefined;
4864
4864
  /**
4865
4865
  * <p>Time that the resource transitioned to terminal state.</p>
4866
4866
  * @public
4867
4867
  */
4868
- endTime?: Date;
4868
+ endTime?: Date | undefined;
4869
4869
  /**
4870
4870
  * <p>Amazon Resource Name (ARN) of the base model.</p>
4871
4871
  * @public
@@ -4895,27 +4895,27 @@ export interface GetModelCustomizationJobResponse {
4895
4895
  * <p>The type of model customization.</p>
4896
4896
  * @public
4897
4897
  */
4898
- customizationType?: CustomizationType;
4898
+ customizationType?: CustomizationType | undefined;
4899
4899
  /**
4900
4900
  * <p>The custom model is encrypted at rest using this key.</p>
4901
4901
  * @public
4902
4902
  */
4903
- outputModelKmsKeyArn?: string;
4903
+ outputModelKmsKeyArn?: string | undefined;
4904
4904
  /**
4905
4905
  * <p>Contains training metrics from the job creation.</p>
4906
4906
  * @public
4907
4907
  */
4908
- trainingMetrics?: TrainingMetrics;
4908
+ trainingMetrics?: TrainingMetrics | undefined;
4909
4909
  /**
4910
4910
  * <p>The loss metric for each validator that you provided in the createjob request.</p>
4911
4911
  * @public
4912
4912
  */
4913
- validationMetrics?: ValidatorMetric[];
4913
+ validationMetrics?: ValidatorMetric[] | undefined;
4914
4914
  /**
4915
4915
  * <p>VPC configuration for the custom model job.</p>
4916
4916
  * @public
4917
4917
  */
4918
- vpcConfig?: VpcConfig;
4918
+ vpcConfig?: VpcConfig | undefined;
4919
4919
  }
4920
4920
  /**
4921
4921
  * @public
@@ -4940,42 +4940,42 @@ export interface ListModelCustomizationJobsRequest {
4940
4940
  * <p>Return customization jobs created after the specified time. </p>
4941
4941
  * @public
4942
4942
  */
4943
- creationTimeAfter?: Date;
4943
+ creationTimeAfter?: Date | undefined;
4944
4944
  /**
4945
4945
  * <p>Return customization jobs created before the specified time. </p>
4946
4946
  * @public
4947
4947
  */
4948
- creationTimeBefore?: Date;
4948
+ creationTimeBefore?: Date | undefined;
4949
4949
  /**
4950
4950
  * <p>Return customization jobs with the specified status. </p>
4951
4951
  * @public
4952
4952
  */
4953
- statusEquals?: FineTuningJobStatus;
4953
+ statusEquals?: FineTuningJobStatus | undefined;
4954
4954
  /**
4955
4955
  * <p>Return customization jobs only if the job name contains these characters.</p>
4956
4956
  * @public
4957
4957
  */
4958
- nameContains?: string;
4958
+ nameContains?: string | undefined;
4959
4959
  /**
4960
4960
  * <p>The maximum number of results to return in the response. If the total number of results is greater than this value, use the token returned in the response in the <code>nextToken</code> field when making another request to return the next batch of results.</p>
4961
4961
  * @public
4962
4962
  */
4963
- maxResults?: number;
4963
+ maxResults?: number | undefined;
4964
4964
  /**
4965
4965
  * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, enter the token returned in the <code>nextToken</code> field in the response in this field to return the next batch of results.</p>
4966
4966
  * @public
4967
4967
  */
4968
- nextToken?: string;
4968
+ nextToken?: string | undefined;
4969
4969
  /**
4970
4970
  * <p>The field to sort by in the returned list of jobs.</p>
4971
4971
  * @public
4972
4972
  */
4973
- sortBy?: SortJobsBy;
4973
+ sortBy?: SortJobsBy | undefined;
4974
4974
  /**
4975
4975
  * <p>The sort order of the results.</p>
4976
4976
  * @public
4977
4977
  */
4978
- sortOrder?: SortOrder;
4978
+ sortOrder?: SortOrder | undefined;
4979
4979
  }
4980
4980
  /**
4981
4981
  * <p>Information about one customization job</p>
@@ -5006,7 +5006,7 @@ export interface ModelCustomizationJobSummary {
5006
5006
  * <p>Time that the customization job was last modified.</p>
5007
5007
  * @public
5008
5008
  */
5009
- lastModifiedTime?: Date;
5009
+ lastModifiedTime?: Date | undefined;
5010
5010
  /**
5011
5011
  * <p>Creation time of the custom model. </p>
5012
5012
  * @public
@@ -5016,22 +5016,22 @@ export interface ModelCustomizationJobSummary {
5016
5016
  * <p>Time that the customization job ended.</p>
5017
5017
  * @public
5018
5018
  */
5019
- endTime?: Date;
5019
+ endTime?: Date | undefined;
5020
5020
  /**
5021
5021
  * <p>Amazon Resource Name (ARN) of the custom model.</p>
5022
5022
  * @public
5023
5023
  */
5024
- customModelArn?: string;
5024
+ customModelArn?: string | undefined;
5025
5025
  /**
5026
5026
  * <p>Name of the custom model.</p>
5027
5027
  * @public
5028
5028
  */
5029
- customModelName?: string;
5029
+ customModelName?: string | undefined;
5030
5030
  /**
5031
5031
  * <p>Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see <a href="https://docs.aws.amazon.com/bedrock/latest/userguide/custom-models.html">Custom models</a>.</p>
5032
5032
  * @public
5033
5033
  */
5034
- customizationType?: CustomizationType;
5034
+ customizationType?: CustomizationType | undefined;
5035
5035
  }
5036
5036
  /**
5037
5037
  * @public
@@ -5041,12 +5041,12 @@ export interface ListModelCustomizationJobsResponse {
5041
5041
  * <p>If the total number of results is greater than the <code>maxResults</code> value provided in the request, use this token when making another request in the <code>nextToken</code> field to return the next batch of results.</p>
5042
5042
  * @public
5043
5043
  */
5044
- nextToken?: string;
5044
+ nextToken?: string | undefined;
5045
5045
  /**
5046
5046
  * <p>Job summaries.</p>
5047
5047
  * @public
5048
5048
  */
5049
- modelCustomizationJobSummaries?: ModelCustomizationJobSummary[];
5049
+ modelCustomizationJobSummaries?: ModelCustomizationJobSummary[] | undefined;
5050
5050
  }
5051
5051
  /**
5052
5052
  * @public