cdk-lambda-subminute 2.0.457 → 2.0.459
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.jsii +3 -3
- package/lib/cdk-lambda-subminute.js +3 -3
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/bedrock-2023-04-20.min.json +234 -50
- package/node_modules/aws-sdk/apis/bedrock-2023-04-20.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/controlcatalog-2018-05-10.min.json +134 -40
- package/node_modules/aws-sdk/apis/controlcatalog-2018-05-10.paginators.json +6 -0
- package/node_modules/aws-sdk/apis/controlcatalog-2018-05-10.waiters2.json +5 -0
- package/node_modules/aws-sdk/apis/iam-2010-05-08.min.json +7 -1
- package/node_modules/aws-sdk/apis/metadata.json +4 -0
- package/node_modules/aws-sdk/apis/rds-2014-10-31.min.json +9 -0
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +834 -821
- package/node_modules/aws-sdk/apis/ssm-quicksetup-2018-05-10.examples.json +5 -0
- package/node_modules/aws-sdk/apis/ssm-quicksetup-2018-05-10.min.json +454 -0
- package/node_modules/aws-sdk/apis/ssm-quicksetup-2018-05-10.paginators.json +10 -0
- package/node_modules/aws-sdk/apis/support-2013-04-15.min.json +4 -1
- package/node_modules/aws-sdk/clients/all.d.ts +1 -0
- package/node_modules/aws-sdk/clients/all.js +2 -1
- package/node_modules/aws-sdk/clients/bedrock.d.ts +226 -12
- package/node_modules/aws-sdk/clients/controlcatalog.d.ts +116 -24
- package/node_modules/aws-sdk/clients/controlcatalog.js +1 -0
- package/node_modules/aws-sdk/clients/memorydb.d.ts +2 -2
- package/node_modules/aws-sdk/clients/rds.d.ts +18 -6
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +16 -0
- package/node_modules/aws-sdk/clients/ssmquicksetup.d.ts +495 -0
- package/node_modules/aws-sdk/clients/ssmquicksetup.js +18 -0
- package/node_modules/aws-sdk/clients/support.d.ts +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +2 -2
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +102 -58
- package/node_modules/aws-sdk/dist/aws-sdk.js +23 -4
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +45 -45
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +2 -0
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +2 -2
@@ -12,11 +12,11 @@ declare class Bedrock extends Service {
|
|
12
12
|
constructor(options?: Bedrock.Types.ClientConfiguration)
|
13
13
|
config: Config & Bedrock.Types.ClientConfiguration;
|
14
14
|
/**
|
15
|
-
* API operation for creating and managing Amazon Bedrock automatic model evaluation jobs and model evaluation jobs that use human workers. To learn more about the requirements for creating a model evaluation job see, Model
|
15
|
+
* API operation for creating and managing Amazon Bedrock automatic model evaluation jobs and model evaluation jobs that use human workers. To learn more about the requirements for creating a model evaluation job see, Model evaluation.
|
16
16
|
*/
|
17
17
|
createEvaluationJob(params: Bedrock.Types.CreateEvaluationJobRequest, callback?: (err: AWSError, data: Bedrock.Types.CreateEvaluationJobResponse) => void): Request<Bedrock.Types.CreateEvaluationJobResponse, AWSError>;
|
18
18
|
/**
|
19
|
-
* API operation for creating and managing Amazon Bedrock automatic model evaluation jobs and model evaluation jobs that use human workers. To learn more about the requirements for creating a model evaluation job see, Model
|
19
|
+
* API operation for creating and managing Amazon Bedrock automatic model evaluation jobs and model evaluation jobs that use human workers. To learn more about the requirements for creating a model evaluation job see, Model evaluation.
|
20
20
|
*/
|
21
21
|
createEvaluationJob(callback?: (err: AWSError, data: Bedrock.Types.CreateEvaluationJobResponse) => void): Request<Bedrock.Types.CreateEvaluationJobResponse, AWSError>;
|
22
22
|
/**
|
@@ -35,6 +35,14 @@ declare class Bedrock extends Service {
|
|
35
35
|
* Creates a version of the guardrail. Use this API to create a snapshot of the guardrail when you are satisfied with a configuration, or to compare the configuration with another version.
|
36
36
|
*/
|
37
37
|
createGuardrailVersion(callback?: (err: AWSError, data: Bedrock.Types.CreateGuardrailVersionResponse) => void): Request<Bedrock.Types.CreateGuardrailVersionResponse, AWSError>;
|
38
|
+
/**
|
39
|
+
* Copies a model to another region so that it can be used there. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
|
40
|
+
*/
|
41
|
+
createModelCopyJob(params: Bedrock.Types.CreateModelCopyJobRequest, callback?: (err: AWSError, data: Bedrock.Types.CreateModelCopyJobResponse) => void): Request<Bedrock.Types.CreateModelCopyJobResponse, AWSError>;
|
42
|
+
/**
|
43
|
+
* Copies a model to another region so that it can be used there. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
|
44
|
+
*/
|
45
|
+
createModelCopyJob(callback?: (err: AWSError, data: Bedrock.Types.CreateModelCopyJobResponse) => void): Request<Bedrock.Types.CreateModelCopyJobResponse, AWSError>;
|
38
46
|
/**
|
39
47
|
* Creates a fine-tuning job to customize a base model. You specify the base foundation model and the location of the training data. After the model-customization job completes successfully, your custom model resource will be ready to use. Amazon Bedrock returns validation loss metrics and output generations after the job completes. For information on the format of training and validation data, see Prepare the datasets. Model-customization jobs are asynchronous and the completion time depends on the base model and the training/validation data size. To monitor a job, use the GetModelCustomizationJob operation to retrieve the job status. For more information, see Custom models in the Amazon Bedrock User Guide.
|
40
48
|
*/
|
@@ -92,11 +100,11 @@ declare class Bedrock extends Service {
|
|
92
100
|
*/
|
93
101
|
getCustomModel(callback?: (err: AWSError, data: Bedrock.Types.GetCustomModelResponse) => void): Request<Bedrock.Types.GetCustomModelResponse, AWSError>;
|
94
102
|
/**
|
95
|
-
* Retrieves the properties associated with a model evaluation job, including the status of the job. For more information, see Model
|
103
|
+
* Retrieves the properties associated with a model evaluation job, including the status of the job. For more information, see Model evaluation.
|
96
104
|
*/
|
97
105
|
getEvaluationJob(params: Bedrock.Types.GetEvaluationJobRequest, callback?: (err: AWSError, data: Bedrock.Types.GetEvaluationJobResponse) => void): Request<Bedrock.Types.GetEvaluationJobResponse, AWSError>;
|
98
106
|
/**
|
99
|
-
* Retrieves the properties associated with a model evaluation job, including the status of the job. For more information, see Model
|
107
|
+
* Retrieves the properties associated with a model evaluation job, including the status of the job. For more information, see Model evaluation.
|
100
108
|
*/
|
101
109
|
getEvaluationJob(callback?: (err: AWSError, data: Bedrock.Types.GetEvaluationJobResponse) => void): Request<Bedrock.Types.GetEvaluationJobResponse, AWSError>;
|
102
110
|
/**
|
@@ -115,6 +123,14 @@ declare class Bedrock extends Service {
|
|
115
123
|
* Gets details about a guardrail. If you don't specify a version, the response returns details for the DRAFT version.
|
116
124
|
*/
|
117
125
|
getGuardrail(callback?: (err: AWSError, data: Bedrock.Types.GetGuardrailResponse) => void): Request<Bedrock.Types.GetGuardrailResponse, AWSError>;
|
126
|
+
/**
|
127
|
+
* Retrieves information about a model copy job. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
|
128
|
+
*/
|
129
|
+
getModelCopyJob(params: Bedrock.Types.GetModelCopyJobRequest, callback?: (err: AWSError, data: Bedrock.Types.GetModelCopyJobResponse) => void): Request<Bedrock.Types.GetModelCopyJobResponse, AWSError>;
|
130
|
+
/**
|
131
|
+
* Retrieves information about a model copy job. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
|
132
|
+
*/
|
133
|
+
getModelCopyJob(callback?: (err: AWSError, data: Bedrock.Types.GetModelCopyJobResponse) => void): Request<Bedrock.Types.GetModelCopyJobResponse, AWSError>;
|
118
134
|
/**
|
119
135
|
* Retrieves the properties associated with a model-customization job, including the status of the job. For more information, see Custom models in the Amazon Bedrock User Guide.
|
120
136
|
*/
|
@@ -171,6 +187,14 @@ declare class Bedrock extends Service {
|
|
171
187
|
* Lists details about all the guardrails in an account. To list the DRAFT version of all your guardrails, don't specify the guardrailIdentifier field. To list all versions of a guardrail, specify the ARN of the guardrail in the guardrailIdentifier field. You can set the maximum number of results to return in a response in the maxResults field. If there are more results than the number you set, the response returns a nextToken that you can send in another ListGuardrails request to see the next batch of results.
|
172
188
|
*/
|
173
189
|
listGuardrails(callback?: (err: AWSError, data: Bedrock.Types.ListGuardrailsResponse) => void): Request<Bedrock.Types.ListGuardrailsResponse, AWSError>;
|
190
|
+
/**
|
191
|
+
* Returns a list of model copy jobs that you have submitted. You can filter the jobs to return based on one or more criteria. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
|
192
|
+
*/
|
193
|
+
listModelCopyJobs(params: Bedrock.Types.ListModelCopyJobsRequest, callback?: (err: AWSError, data: Bedrock.Types.ListModelCopyJobsResponse) => void): Request<Bedrock.Types.ListModelCopyJobsResponse, AWSError>;
|
194
|
+
/**
|
195
|
+
* Returns a list of model copy jobs that you have submitted. You can filter the jobs to return based on one or more criteria. For more information, see Copy models to be used in other regions in the Amazon Bedrock User Guide.
|
196
|
+
*/
|
197
|
+
listModelCopyJobs(callback?: (err: AWSError, data: Bedrock.Types.ListModelCopyJobsResponse) => void): Request<Bedrock.Types.ListModelCopyJobsResponse, AWSError>;
|
174
198
|
/**
|
175
199
|
* Returns a list of model customization jobs that you have submitted. You can filter the jobs to return based on one or more criteria. For more information, see Custom models in the Amazon Bedrock User Guide.
|
176
200
|
*/
|
@@ -253,6 +277,7 @@ declare class Bedrock extends Service {
|
|
253
277
|
updateProvisionedModelThroughput(callback?: (err: AWSError, data: Bedrock.Types.UpdateProvisionedModelThroughputResponse) => void): Request<Bedrock.Types.UpdateProvisionedModelThroughputResponse, AWSError>;
|
254
278
|
}
|
255
279
|
declare namespace Bedrock {
|
280
|
+
export type AccountId = string;
|
256
281
|
export interface AutomatedEvaluationConfig {
|
257
282
|
/**
|
258
283
|
* Specifies the required elements for an automatic model evaluation job.
|
@@ -415,6 +440,34 @@ declare namespace Bedrock {
|
|
415
440
|
*/
|
416
441
|
version: GuardrailNumericalVersion;
|
417
442
|
}
|
443
|
+
export interface CreateModelCopyJobRequest {
|
444
|
+
/**
|
445
|
+
* The Amazon Resource Name (ARN) of the model to be copied.
|
446
|
+
*/
|
447
|
+
sourceModelArn: ModelArn;
|
448
|
+
/**
|
449
|
+
* A name for the copied model.
|
450
|
+
*/
|
451
|
+
targetModelName: CustomModelName;
|
452
|
+
/**
|
453
|
+
* The ARN of the KMS key that you use to encrypt the model copy.
|
454
|
+
*/
|
455
|
+
modelKmsKeyId?: KmsKeyId;
|
456
|
+
/**
|
457
|
+
* Tags to associate with the target model. For more information, see Tag resources in the Amazon Bedrock User Guide.
|
458
|
+
*/
|
459
|
+
targetModelTags?: TagList;
|
460
|
+
/**
|
461
|
+
* A unique, case-sensitive identifier to ensure that the API request completes no more than one time. If this token matches a previous request, Amazon Bedrock ignores the request, but does not return an error. For more information, see Ensuring idempotency.
|
462
|
+
*/
|
463
|
+
clientRequestToken?: IdempotencyToken;
|
464
|
+
}
|
465
|
+
export interface CreateModelCopyJobResponse {
|
466
|
+
/**
|
467
|
+
* The Amazon Resource Name (ARN) of the model copy job.
|
468
|
+
*/
|
469
|
+
jobArn: ModelCopyJobArn;
|
470
|
+
}
|
418
471
|
export interface CreateModelCustomizationJobRequest {
|
419
472
|
/**
|
420
473
|
* A name for the fine-tuning job.
|
@@ -497,7 +550,7 @@ declare namespace Bedrock {
|
|
497
550
|
*/
|
498
551
|
modelId: ModelIdentifier;
|
499
552
|
/**
|
500
|
-
* The commitment duration requested for the Provisioned Throughput. Billing occurs hourly and is discounted for longer commitment terms. To request a no-commit Provisioned Throughput, omit this field. Custom models support all levels of commitment. To see which base models support no commitment, see Supported regions and models for Provisioned Throughput in the Amazon Bedrock User Guide
|
553
|
+
* The commitment duration requested for the Provisioned Throughput. Billing occurs hourly and is discounted for longer commitment terms. To request a no-commit Provisioned Throughput, omit this field. Custom models support all levels of commitment. To see which base models support no commitment, see Supported regions and models for Provisioned Throughput in the Amazon Bedrock User Guide
|
501
554
|
*/
|
502
555
|
commitmentDuration?: CommitmentDuration;
|
503
556
|
/**
|
@@ -538,6 +591,10 @@ declare namespace Bedrock {
|
|
538
591
|
* Specifies whether to carry out continued pre-training of a model or whether to fine-tune it. For more information, see Custom models.
|
539
592
|
*/
|
540
593
|
customizationType?: CustomizationType;
|
594
|
+
/**
|
595
|
+
* The unique identifier of the account that owns the model.
|
596
|
+
*/
|
597
|
+
ownerAccountId?: AccountId;
|
541
598
|
}
|
542
599
|
export type CustomModelSummaryList = CustomModelSummary[];
|
543
600
|
export type CustomizationType = "FINE_TUNING"|"CONTINUED_PRE_TRAINING"|string;
|
@@ -1006,6 +1063,58 @@ declare namespace Bedrock {
|
|
1006
1063
|
*/
|
1007
1064
|
kmsKeyArn?: KmsKeyArn;
|
1008
1065
|
}
|
1066
|
+
export interface GetModelCopyJobRequest {
|
1067
|
+
/**
|
1068
|
+
* The Amazon Resource Name (ARN) of the model copy job.
|
1069
|
+
*/
|
1070
|
+
jobArn: ModelCopyJobArn;
|
1071
|
+
}
|
1072
|
+
export interface GetModelCopyJobResponse {
|
1073
|
+
/**
|
1074
|
+
* The Amazon Resource Name (ARN) of the model copy job.
|
1075
|
+
*/
|
1076
|
+
jobArn: ModelCopyJobArn;
|
1077
|
+
/**
|
1078
|
+
* The status of the model copy job.
|
1079
|
+
*/
|
1080
|
+
status: ModelCopyJobStatus;
|
1081
|
+
/**
|
1082
|
+
* The time at which the model copy job was created.
|
1083
|
+
*/
|
1084
|
+
creationTime: Timestamp;
|
1085
|
+
/**
|
1086
|
+
* The Amazon Resource Name (ARN) of the copied model.
|
1087
|
+
*/
|
1088
|
+
targetModelArn: CustomModelArn;
|
1089
|
+
/**
|
1090
|
+
* The name of the copied model.
|
1091
|
+
*/
|
1092
|
+
targetModelName?: CustomModelName;
|
1093
|
+
/**
|
1094
|
+
* The unique identifier of the account that the model being copied originated from.
|
1095
|
+
*/
|
1096
|
+
sourceAccountId: AccountId;
|
1097
|
+
/**
|
1098
|
+
* The Amazon Resource Name (ARN) of the original model being copied.
|
1099
|
+
*/
|
1100
|
+
sourceModelArn: ModelArn;
|
1101
|
+
/**
|
1102
|
+
* The Amazon Resource Name (ARN) of the KMS key encrypting the copied model.
|
1103
|
+
*/
|
1104
|
+
targetModelKmsKeyArn?: KmsKeyArn;
|
1105
|
+
/**
|
1106
|
+
* The tags associated with the copied model.
|
1107
|
+
*/
|
1108
|
+
targetModelTags?: TagList;
|
1109
|
+
/**
|
1110
|
+
* An error message for why the model copy job failed.
|
1111
|
+
*/
|
1112
|
+
failureMessage?: ErrorMessage;
|
1113
|
+
/**
|
1114
|
+
* The name of the original model being copied.
|
1115
|
+
*/
|
1116
|
+
sourceModelName?: CustomModelName;
|
1117
|
+
}
|
1009
1118
|
export interface GetModelCustomizationJobRequest {
|
1010
1119
|
/**
|
1011
1120
|
* Identifier for the customization job.
|
@@ -1276,7 +1385,7 @@ declare namespace Bedrock {
|
|
1276
1385
|
export type GuardrailPiiEntitiesConfig = GuardrailPiiEntityConfig[];
|
1277
1386
|
export interface GuardrailPiiEntity {
|
1278
1387
|
/**
|
1279
|
-
* The type of PII entity. For
|
1388
|
+
* The type of PII entity. For exampvle, Social Security Number.
|
1280
1389
|
*/
|
1281
1390
|
type: GuardrailPiiEntityType;
|
1282
1391
|
/**
|
@@ -1559,11 +1668,11 @@ declare namespace Bedrock {
|
|
1559
1668
|
*/
|
1560
1669
|
foundationModelArnEquals?: FoundationModelArn;
|
1561
1670
|
/**
|
1562
|
-
*
|
1671
|
+
* 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 nextToken field when making another request to return the next batch of results.
|
1563
1672
|
*/
|
1564
1673
|
maxResults?: MaxResults;
|
1565
1674
|
/**
|
1566
|
-
*
|
1675
|
+
* If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
|
1567
1676
|
*/
|
1568
1677
|
nextToken?: PaginationToken;
|
1569
1678
|
/**
|
@@ -1574,10 +1683,14 @@ declare namespace Bedrock {
|
|
1574
1683
|
* The sort order of the results.
|
1575
1684
|
*/
|
1576
1685
|
sortOrder?: SortOrder;
|
1686
|
+
/**
|
1687
|
+
* Return custom models depending on if the current account owns them (true) or if they were shared with the current account (false).
|
1688
|
+
*/
|
1689
|
+
isOwned?: Boolean;
|
1577
1690
|
}
|
1578
1691
|
export interface ListCustomModelsResponse {
|
1579
1692
|
/**
|
1580
|
-
*
|
1693
|
+
* If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
|
1581
1694
|
*/
|
1582
1695
|
nextToken?: PaginationToken;
|
1583
1696
|
/**
|
@@ -1677,6 +1790,58 @@ declare namespace Bedrock {
|
|
1677
1790
|
*/
|
1678
1791
|
nextToken?: PaginationToken;
|
1679
1792
|
}
|
1793
|
+
export interface ListModelCopyJobsRequest {
|
1794
|
+
/**
|
1795
|
+
* Filters for model copy jobs created after the specified time.
|
1796
|
+
*/
|
1797
|
+
creationTimeAfter?: Timestamp;
|
1798
|
+
/**
|
1799
|
+
* Filters for model copy jobs created before the specified time.
|
1800
|
+
*/
|
1801
|
+
creationTimeBefore?: Timestamp;
|
1802
|
+
/**
|
1803
|
+
* Filters for model copy jobs whose status matches the value that you specify.
|
1804
|
+
*/
|
1805
|
+
statusEquals?: ModelCopyJobStatus;
|
1806
|
+
/**
|
1807
|
+
* Filters for model copy jobs in which the account that the source model belongs to is equal to the value that you specify.
|
1808
|
+
*/
|
1809
|
+
sourceAccountEquals?: AccountId;
|
1810
|
+
/**
|
1811
|
+
* 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.
|
1812
|
+
*/
|
1813
|
+
sourceModelArnEquals?: ModelArn;
|
1814
|
+
/**
|
1815
|
+
* Filters for model copy jobs in which the name of the copied model contains the string that you specify.
|
1816
|
+
*/
|
1817
|
+
targetModelNameContains?: CustomModelName;
|
1818
|
+
/**
|
1819
|
+
* 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 nextToken field when making another request to return the next batch of results.
|
1820
|
+
*/
|
1821
|
+
maxResults?: MaxResults;
|
1822
|
+
/**
|
1823
|
+
* If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
|
1824
|
+
*/
|
1825
|
+
nextToken?: PaginationToken;
|
1826
|
+
/**
|
1827
|
+
* The field to sort by in the returned list of model copy jobs.
|
1828
|
+
*/
|
1829
|
+
sortBy?: SortJobsBy;
|
1830
|
+
/**
|
1831
|
+
* Specifies whether to sort the results in ascending or descending order.
|
1832
|
+
*/
|
1833
|
+
sortOrder?: SortOrder;
|
1834
|
+
}
|
1835
|
+
export interface ListModelCopyJobsResponse {
|
1836
|
+
/**
|
1837
|
+
* If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
|
1838
|
+
*/
|
1839
|
+
nextToken?: PaginationToken;
|
1840
|
+
/**
|
1841
|
+
* A list of information about each model copy job.
|
1842
|
+
*/
|
1843
|
+
modelCopyJobSummaries?: ModelCopyJobSummaries;
|
1844
|
+
}
|
1680
1845
|
export interface ListModelCustomizationJobsRequest {
|
1681
1846
|
/**
|
1682
1847
|
* Return customization jobs created after the specified time.
|
@@ -1695,11 +1860,11 @@ declare namespace Bedrock {
|
|
1695
1860
|
*/
|
1696
1861
|
nameContains?: JobName;
|
1697
1862
|
/**
|
1698
|
-
*
|
1863
|
+
* 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 nextToken field when making another request to return the next batch of results.
|
1699
1864
|
*/
|
1700
1865
|
maxResults?: MaxResults;
|
1701
1866
|
/**
|
1702
|
-
*
|
1867
|
+
* If the total number of results is greater than the maxResults value provided in the request, enter the token returned in the nextToken field in the response in this field to return the next batch of results.
|
1703
1868
|
*/
|
1704
1869
|
nextToken?: PaginationToken;
|
1705
1870
|
/**
|
@@ -1713,7 +1878,7 @@ declare namespace Bedrock {
|
|
1713
1878
|
}
|
1714
1879
|
export interface ListModelCustomizationJobsResponse {
|
1715
1880
|
/**
|
1716
|
-
*
|
1881
|
+
* If the total number of results is greater than the maxResults value provided in the request, use this token when making another request in the nextToken field to return the next batch of results.
|
1717
1882
|
*/
|
1718
1883
|
nextToken?: PaginationToken;
|
1719
1884
|
/**
|
@@ -1807,6 +1972,55 @@ declare namespace Bedrock {
|
|
1807
1972
|
export type MaxResults = number;
|
1808
1973
|
export type MetricFloat = number;
|
1809
1974
|
export type ModelArn = string;
|
1975
|
+
export type ModelCopyJobArn = string;
|
1976
|
+
export type ModelCopyJobStatus = "InProgress"|"Completed"|"Failed"|string;
|
1977
|
+
export type ModelCopyJobSummaries = ModelCopyJobSummary[];
|
1978
|
+
export interface ModelCopyJobSummary {
|
1979
|
+
/**
|
1980
|
+
* The Amazon Resoource Name (ARN) of the model copy job.
|
1981
|
+
*/
|
1982
|
+
jobArn: ModelCopyJobArn;
|
1983
|
+
/**
|
1984
|
+
* The status of the model copy job.
|
1985
|
+
*/
|
1986
|
+
status: ModelCopyJobStatus;
|
1987
|
+
/**
|
1988
|
+
* The time that the model copy job was created.
|
1989
|
+
*/
|
1990
|
+
creationTime: Timestamp;
|
1991
|
+
/**
|
1992
|
+
* The Amazon Resource Name (ARN) of the copied model.
|
1993
|
+
*/
|
1994
|
+
targetModelArn: CustomModelArn;
|
1995
|
+
/**
|
1996
|
+
* The name of the copied model.
|
1997
|
+
*/
|
1998
|
+
targetModelName?: CustomModelName;
|
1999
|
+
/**
|
2000
|
+
* The unique identifier of the account that the model being copied originated from.
|
2001
|
+
*/
|
2002
|
+
sourceAccountId: AccountId;
|
2003
|
+
/**
|
2004
|
+
* The Amazon Resource Name (ARN) of the original model being copied.
|
2005
|
+
*/
|
2006
|
+
sourceModelArn: ModelArn;
|
2007
|
+
/**
|
2008
|
+
* The Amazon Resource Name (ARN) of the KMS key used to encrypt the copied model.
|
2009
|
+
*/
|
2010
|
+
targetModelKmsKeyArn?: KmsKeyArn;
|
2011
|
+
/**
|
2012
|
+
* Tags associated with the copied model.
|
2013
|
+
*/
|
2014
|
+
targetModelTags?: TagList;
|
2015
|
+
/**
|
2016
|
+
* If a model fails to be copied, a message describing why the job failed is included here.
|
2017
|
+
*/
|
2018
|
+
failureMessage?: ErrorMessage;
|
2019
|
+
/**
|
2020
|
+
* The name of the original model being copied.
|
2021
|
+
*/
|
2022
|
+
sourceModelName?: CustomModelName;
|
2023
|
+
}
|
1810
2024
|
export type ModelCustomization = "FINE_TUNING"|"CONTINUED_PRE_TRAINING"|string;
|
1811
2025
|
export type ModelCustomizationHyperParameters = {[key: string]: String};
|
1812
2026
|
export type ModelCustomizationJobArn = string;
|
@@ -11,6 +11,14 @@ declare class ControlCatalog extends Service {
|
|
11
11
|
*/
|
12
12
|
constructor(options?: ControlCatalog.Types.ClientConfiguration)
|
13
13
|
config: Config & ControlCatalog.Types.ClientConfiguration;
|
14
|
+
/**
|
15
|
+
* Returns details about a specific control, most notably a list of Amazon Web Services Regions where this control is supported. Input a value for the ControlArn parameter, in ARN form. GetControl accepts controltower or controlcatalog control ARNs as input. Returns a controlcatalog ARN format. In the API response, controls that have the value GLOBAL in the Scope field do not show the DeployableRegions field, because it does not apply. Controls that have the value REGIONAL in the Scope field return a value for the DeployableRegions field, as shown in the example.
|
16
|
+
*/
|
17
|
+
getControl(params: ControlCatalog.Types.GetControlRequest, callback?: (err: AWSError, data: ControlCatalog.Types.GetControlResponse) => void): Request<ControlCatalog.Types.GetControlResponse, AWSError>;
|
18
|
+
/**
|
19
|
+
* Returns details about a specific control, most notably a list of Amazon Web Services Regions where this control is supported. Input a value for the ControlArn parameter, in ARN form. GetControl accepts controltower or controlcatalog control ARNs as input. Returns a controlcatalog ARN format. In the API response, controls that have the value GLOBAL in the Scope field do not show the DeployableRegions field, because it does not apply. Controls that have the value REGIONAL in the Scope field return a value for the DeployableRegions field, as shown in the example.
|
20
|
+
*/
|
21
|
+
getControl(callback?: (err: AWSError, data: ControlCatalog.Types.GetControlResponse) => void): Request<ControlCatalog.Types.GetControlResponse, AWSError>;
|
14
22
|
/**
|
15
23
|
* Returns a paginated list of common controls from the Amazon Web Services Control Catalog. You can apply an optional filter to see common controls that have a specific objective. If you don’t provide a filter, the operation returns all common controls.
|
16
24
|
*/
|
@@ -19,6 +27,14 @@ declare class ControlCatalog extends Service {
|
|
19
27
|
* Returns a paginated list of common controls from the Amazon Web Services Control Catalog. You can apply an optional filter to see common controls that have a specific objective. If you don’t provide a filter, the operation returns all common controls.
|
20
28
|
*/
|
21
29
|
listCommonControls(callback?: (err: AWSError, data: ControlCatalog.Types.ListCommonControlsResponse) => void): Request<ControlCatalog.Types.ListCommonControlsResponse, AWSError>;
|
30
|
+
/**
|
31
|
+
* Returns a paginated list of all available controls in the Amazon Web Services Control Catalog library. Allows you to discover available controls. The list of controls is given as structures of type controlSummary. The ARN is returned in the global controlcatalog format, as shown in the examples.
|
32
|
+
*/
|
33
|
+
listControls(params: ControlCatalog.Types.ListControlsRequest, callback?: (err: AWSError, data: ControlCatalog.Types.ListControlsResponse) => void): Request<ControlCatalog.Types.ListControlsResponse, AWSError>;
|
34
|
+
/**
|
35
|
+
* Returns a paginated list of all available controls in the Amazon Web Services Control Catalog library. Allows you to discover available controls. The list of controls is given as structures of type controlSummary. The ARN is returned in the global controlcatalog format, as shown in the examples.
|
36
|
+
*/
|
37
|
+
listControls(callback?: (err: AWSError, data: ControlCatalog.Types.ListControlsResponse) => void): Request<ControlCatalog.Types.ListControlsResponse, AWSError>;
|
22
38
|
/**
|
23
39
|
* Returns a paginated list of domains from the Amazon Web Services Control Catalog.
|
24
40
|
*/
|
@@ -70,9 +86,9 @@ declare namespace ControlCatalog {
|
|
70
86
|
*/
|
71
87
|
Arn: CommonControlArn;
|
72
88
|
/**
|
73
|
-
* The
|
89
|
+
* The name of the common control.
|
74
90
|
*/
|
75
|
-
|
91
|
+
Name: String;
|
76
92
|
/**
|
77
93
|
* The description of the common control.
|
78
94
|
*/
|
@@ -81,20 +97,39 @@ declare namespace ControlCatalog {
|
|
81
97
|
* The domain that the common control belongs to.
|
82
98
|
*/
|
83
99
|
Domain: AssociatedDomainSummary;
|
100
|
+
/**
|
101
|
+
* The objective that the common control belongs to.
|
102
|
+
*/
|
103
|
+
Objective: AssociatedObjectiveSummary;
|
104
|
+
/**
|
105
|
+
* The time when the common control was created.
|
106
|
+
*/
|
107
|
+
CreateTime: Timestamp;
|
84
108
|
/**
|
85
109
|
* The time when the common control was most recently updated.
|
86
110
|
*/
|
87
111
|
LastUpdateTime: Timestamp;
|
112
|
+
}
|
113
|
+
export type CommonControlSummaryList = CommonControlSummary[];
|
114
|
+
export type ControlArn = string;
|
115
|
+
export type ControlBehavior = "PREVENTIVE"|"PROACTIVE"|"DETECTIVE"|string;
|
116
|
+
export type ControlScope = "GLOBAL"|"REGIONAL"|string;
|
117
|
+
export interface ControlSummary {
|
88
118
|
/**
|
89
|
-
* The
|
119
|
+
* The Amazon Resource Name (ARN) of the control.
|
120
|
+
*/
|
121
|
+
Arn: ControlArn;
|
122
|
+
/**
|
123
|
+
* The display name of the control.
|
90
124
|
*/
|
91
125
|
Name: String;
|
92
126
|
/**
|
93
|
-
*
|
127
|
+
* A description of the control, as it may appear in the console. Describes the functionality of the control.
|
94
128
|
*/
|
95
|
-
|
129
|
+
Description: String;
|
96
130
|
}
|
97
|
-
export type
|
131
|
+
export type Controls = ControlSummary[];
|
132
|
+
export type DeployableRegions = RegionCode[];
|
98
133
|
export type DomainArn = string;
|
99
134
|
export interface DomainResourceFilter {
|
100
135
|
/**
|
@@ -109,28 +144,49 @@ declare namespace ControlCatalog {
|
|
109
144
|
*/
|
110
145
|
Arn: DomainArn;
|
111
146
|
/**
|
112
|
-
* The
|
147
|
+
* The name of the domain.
|
113
148
|
*/
|
114
|
-
|
149
|
+
Name: String;
|
115
150
|
/**
|
116
151
|
* The description of the domain.
|
117
152
|
*/
|
118
153
|
Description: String;
|
154
|
+
/**
|
155
|
+
* The time when the domain was created.
|
156
|
+
*/
|
157
|
+
CreateTime: Timestamp;
|
119
158
|
/**
|
120
159
|
* The time when the domain was most recently updated.
|
121
160
|
*/
|
122
161
|
LastUpdateTime: Timestamp;
|
162
|
+
}
|
163
|
+
export type DomainSummaryList = DomainSummary[];
|
164
|
+
export interface GetControlRequest {
|
123
165
|
/**
|
124
|
-
* The
|
166
|
+
* The Amazon Resource Name (ARN) of the control. It has one of the following formats: Global format arn:{PARTITION}:controlcatalog:::control/{CONTROL_CATALOG_OPAQUE_ID} Or Regional format arn:{PARTITION}:controltower:{REGION}::control/{CONTROL_TOWER_OPAQUE_ID} Here is a more general pattern that covers Amazon Web Services Control Tower and Control Catalog ARNs: ^arn:(aws(?:[-a-z]*)?):(controlcatalog|controltower):[a-zA-Z0-9-]*::control/[0-9a-zA-Z_\\-]+$
|
125
167
|
*/
|
126
|
-
|
168
|
+
ControlArn: ControlArn;
|
127
169
|
}
|
128
|
-
export
|
129
|
-
export interface ListCommonControlsRequest {
|
170
|
+
export interface GetControlResponse {
|
130
171
|
/**
|
131
|
-
*
|
172
|
+
* The Amazon Resource Name (ARN) of the control.
|
132
173
|
*/
|
133
|
-
|
174
|
+
Arn: ControlArn;
|
175
|
+
/**
|
176
|
+
* The display name of the control.
|
177
|
+
*/
|
178
|
+
Name: String;
|
179
|
+
/**
|
180
|
+
* A description of what the control does.
|
181
|
+
*/
|
182
|
+
Description: String;
|
183
|
+
/**
|
184
|
+
* A term that identifies the control's functional behavior. One of Preventive, Deteictive, Proactive
|
185
|
+
*/
|
186
|
+
Behavior: ControlBehavior;
|
187
|
+
RegionConfiguration: RegionConfiguration;
|
188
|
+
}
|
189
|
+
export interface ListCommonControlsRequest {
|
134
190
|
/**
|
135
191
|
* The maximum number of results on a page or for an API request call.
|
136
192
|
*/
|
@@ -139,6 +195,10 @@ declare namespace ControlCatalog {
|
|
139
195
|
* The pagination token that's used to fetch the next set of results.
|
140
196
|
*/
|
141
197
|
NextToken?: PaginationToken;
|
198
|
+
/**
|
199
|
+
* An optional filter that narrows the results to a specific objective. This filter allows you to specify one objective ARN at a time. Passing multiple ARNs in the CommonControlFilter isn’t currently supported.
|
200
|
+
*/
|
201
|
+
CommonControlFilter?: CommonControlFilter;
|
142
202
|
}
|
143
203
|
export interface ListCommonControlsResponse {
|
144
204
|
/**
|
@@ -150,6 +210,26 @@ declare namespace ControlCatalog {
|
|
150
210
|
*/
|
151
211
|
NextToken?: PaginationToken;
|
152
212
|
}
|
213
|
+
export interface ListControlsRequest {
|
214
|
+
/**
|
215
|
+
* The pagination token that's used to fetch the next set of results.
|
216
|
+
*/
|
217
|
+
NextToken?: PaginationToken;
|
218
|
+
/**
|
219
|
+
* The maximum number of results on a page or for an API request call.
|
220
|
+
*/
|
221
|
+
MaxResults?: MaxListControlsResults;
|
222
|
+
}
|
223
|
+
export interface ListControlsResponse {
|
224
|
+
/**
|
225
|
+
* Returns a list of controls, given as structures of type controlSummary.
|
226
|
+
*/
|
227
|
+
Controls: Controls;
|
228
|
+
/**
|
229
|
+
* The pagination token that's used to fetch the next set of results.
|
230
|
+
*/
|
231
|
+
NextToken?: PaginationToken;
|
232
|
+
}
|
153
233
|
export interface ListDomainsRequest {
|
154
234
|
/**
|
155
235
|
* The maximum number of results on a page or for an API request call.
|
@@ -185,16 +265,17 @@ declare namespace ControlCatalog {
|
|
185
265
|
ObjectiveFilter?: ObjectiveFilter;
|
186
266
|
}
|
187
267
|
export interface ListObjectivesResponse {
|
188
|
-
/**
|
189
|
-
* The pagination token that's used to fetch the next set of results.
|
190
|
-
*/
|
191
|
-
NextToken?: PaginationToken;
|
192
268
|
/**
|
193
269
|
* The list of objectives that the ListObjectives API returns.
|
194
270
|
*/
|
195
271
|
Objectives: ObjectiveSummaryList;
|
272
|
+
/**
|
273
|
+
* The pagination token that's used to fetch the next set of results.
|
274
|
+
*/
|
275
|
+
NextToken?: PaginationToken;
|
196
276
|
}
|
197
277
|
export type MaxListCommonControlsResults = number;
|
278
|
+
export type MaxListControlsResults = number;
|
198
279
|
export type MaxListDomainsResults = number;
|
199
280
|
export type MaxListObjectivesResults = number;
|
200
281
|
export type ObjectiveArn = string;
|
@@ -217,9 +298,9 @@ declare namespace ControlCatalog {
|
|
217
298
|
*/
|
218
299
|
Arn: ObjectiveArn;
|
219
300
|
/**
|
220
|
-
* The
|
301
|
+
* The name of the objective.
|
221
302
|
*/
|
222
|
-
|
303
|
+
Name: String;
|
223
304
|
/**
|
224
305
|
* The description of the objective.
|
225
306
|
*/
|
@@ -229,16 +310,27 @@ declare namespace ControlCatalog {
|
|
229
310
|
*/
|
230
311
|
Domain: AssociatedDomainSummary;
|
231
312
|
/**
|
232
|
-
* The time when the objective was
|
313
|
+
* The time when the objective was created.
|
233
314
|
*/
|
234
|
-
|
315
|
+
CreateTime: Timestamp;
|
235
316
|
/**
|
236
|
-
* The
|
317
|
+
* The time when the objective was most recently updated.
|
237
318
|
*/
|
238
|
-
|
319
|
+
LastUpdateTime: Timestamp;
|
239
320
|
}
|
240
321
|
export type ObjectiveSummaryList = ObjectiveSummary[];
|
241
322
|
export type PaginationToken = string;
|
323
|
+
export type RegionCode = string;
|
324
|
+
export interface RegionConfiguration {
|
325
|
+
/**
|
326
|
+
* The coverage of the control, if deployed. Scope is an enumerated type, with value Regional, or Global. A control with Global scope is effective in all Amazon Web Services Regions, regardless of the Region from which it is enabled, or to which it is deployed. A control implemented by an SCP is usually Global in scope. A control with Regional scope has operations that are restricted specifically to the Region from which it is enabled and to which it is deployed. Controls implemented by Config rules and CloudFormation hooks usually are Regional in scope. Security Hub controls usually are Regional in scope.
|
327
|
+
*/
|
328
|
+
Scope: ControlScope;
|
329
|
+
/**
|
330
|
+
* Regions in which the control is available to be deployed.
|
331
|
+
*/
|
332
|
+
DeployableRegions?: DeployableRegions;
|
333
|
+
}
|
242
334
|
export type String = string;
|
243
335
|
export type Timestamp = Date;
|
244
336
|
/**
|
@@ -9,6 +9,7 @@ Object.defineProperty(apiLoader.services['controlcatalog'], '2018-05-10', {
|
|
9
9
|
get: function get() {
|
10
10
|
var model = require('../apis/controlcatalog-2018-05-10.min.json');
|
11
11
|
model.paginators = require('../apis/controlcatalog-2018-05-10.paginators.json').pagination;
|
12
|
+
model.waiters = require('../apis/controlcatalog-2018-05-10.waiters2.json').waiters;
|
12
13
|
return model;
|
13
14
|
},
|
14
15
|
enumerable: true,
|
@@ -84,11 +84,11 @@ declare class MemoryDB extends Service {
|
|
84
84
|
*/
|
85
85
|
deleteACL(callback?: (err: AWSError, data: MemoryDB.Types.DeleteACLResponse) => void): Request<MemoryDB.Types.DeleteACLResponse, AWSError>;
|
86
86
|
/**
|
87
|
-
* Deletes a cluster. It also deletes all associated nodes and node endpoints
|
87
|
+
* Deletes a cluster. It also deletes all associated nodes and node endpoints CreateSnapshot permission is required to create a final snapshot. Without this permission, the API call will fail with an Access Denied exception.
|
88
88
|
*/
|
89
89
|
deleteCluster(params: MemoryDB.Types.DeleteClusterRequest, callback?: (err: AWSError, data: MemoryDB.Types.DeleteClusterResponse) => void): Request<MemoryDB.Types.DeleteClusterResponse, AWSError>;
|
90
90
|
/**
|
91
|
-
* Deletes a cluster. It also deletes all associated nodes and node endpoints
|
91
|
+
* Deletes a cluster. It also deletes all associated nodes and node endpoints CreateSnapshot permission is required to create a final snapshot. Without this permission, the API call will fail with an Access Denied exception.
|
92
92
|
*/
|
93
93
|
deleteCluster(callback?: (err: AWSError, data: MemoryDB.Types.DeleteClusterResponse) => void): Request<MemoryDB.Types.DeleteClusterResponse, AWSError>;
|
94
94
|
/**
|