cdk-lambda-subminute 2.0.478 → 2.0.480
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 +555 -179
- package/node_modules/aws-sdk/apis/bedrock-2023-04-20.paginators.json +12 -0
- package/node_modules/aws-sdk/apis/bedrock-agent-2023-06-05.min.json +87 -86
- package/node_modules/aws-sdk/apis/bedrock-agent-runtime-2023-07-26.min.json +83 -79
- package/node_modules/aws-sdk/apis/emr-containers-2020-10-01.min.json +7 -1
- package/node_modules/aws-sdk/apis/inspector2-2020-06-08.min.json +16 -1
- package/node_modules/aws-sdk/apis/metadata.json +0 -3
- package/node_modules/aws-sdk/apis/qbusiness-2023-11-27.min.json +145 -79
- package/node_modules/aws-sdk/apis/quicksight-2018-04-01.min.json +422 -377
- package/node_modules/aws-sdk/apis/supplychain-2024-01-01.min.json +6 -1
- package/node_modules/aws-sdk/clients/all.d.ts +0 -1
- package/node_modules/aws-sdk/clients/all.js +0 -1
- package/node_modules/aws-sdk/clients/autoscaling.d.ts +4 -4
- package/node_modules/aws-sdk/clients/bedrock.d.ts +405 -2
- package/node_modules/aws-sdk/clients/bedrockagent.d.ts +33 -28
- package/node_modules/aws-sdk/clients/bedrockagentruntime.d.ts +18 -0
- package/node_modules/aws-sdk/clients/codebuild.d.ts +3 -3
- package/node_modules/aws-sdk/clients/inspector2.d.ts +18 -2
- package/node_modules/aws-sdk/clients/qbusiness.d.ts +88 -3
- package/node_modules/aws-sdk/clients/quicksight.d.ts +45 -0
- package/node_modules/aws-sdk/clients/route53.d.ts +3 -3
- package/node_modules/aws-sdk/clients/supplychain.d.ts +3 -3
- 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 +1853 -1890
- package/node_modules/aws-sdk/dist/aws-sdk.js +3 -6
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +5 -5
- package/node_modules/aws-sdk/lib/config_service_placeholders.d.ts +0 -2
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +3 -3
- package/node_modules/aws-sdk/apis/codestar-2017-04-19.examples.json +0 -5
- package/node_modules/aws-sdk/apis/codestar-2017-04-19.min.json +0 -670
- package/node_modules/aws-sdk/apis/codestar-2017-04-19.paginators.json +0 -4
- package/node_modules/aws-sdk/clients/codestar.d.ts +0 -845
- package/node_modules/aws-sdk/clients/codestar.js +0 -18
@@ -2,9 +2,14 @@
|
|
2
2
|
"version": "2.0",
|
3
3
|
"metadata": {
|
4
4
|
"apiVersion": "2024-01-01",
|
5
|
+
"auth": [
|
6
|
+
"aws.auth#sigv4"
|
7
|
+
],
|
5
8
|
"endpointPrefix": "scn",
|
6
|
-
"jsonVersion": "1.1",
|
7
9
|
"protocol": "rest-json",
|
10
|
+
"protocols": [
|
11
|
+
"rest-json"
|
12
|
+
],
|
8
13
|
"serviceFullName": "AWS Supply Chain",
|
9
14
|
"serviceId": "SupplyChain",
|
10
15
|
"signatureVersion": "v4",
|
@@ -95,7 +95,6 @@ export import WAF = require('./waf');
|
|
95
95
|
export import WAFRegional = require('./wafregional');
|
96
96
|
export import WorkDocs = require('./workdocs');
|
97
97
|
export import WorkSpaces = require('./workspaces');
|
98
|
-
export import CodeStar = require('./codestar');
|
99
98
|
export import LexModelBuildingService = require('./lexmodelbuildingservice');
|
100
99
|
export import MarketplaceEntitlementService = require('./marketplaceentitlementservice');
|
101
100
|
export import Athena = require('./athena');
|
@@ -97,7 +97,6 @@ module.exports = {
|
|
97
97
|
WAFRegional: require('./wafregional'),
|
98
98
|
WorkDocs: require('./workdocs'),
|
99
99
|
WorkSpaces: require('./workspaces'),
|
100
|
-
CodeStar: require('./codestar'),
|
101
100
|
LexModelBuildingService: require('./lexmodelbuildingservice'),
|
102
101
|
MarketplaceEntitlementService: require('./marketplaceentitlementservice'),
|
103
102
|
Athena: require('./athena'),
|
@@ -456,11 +456,11 @@ declare class AutoScaling extends Service {
|
|
456
456
|
*/
|
457
457
|
setDesiredCapacity(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
458
458
|
/**
|
459
|
-
* Sets the health status of the specified instance. For more information, see
|
459
|
+
* Sets the health status of the specified instance. For more information, see Set up a custom health check for your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
|
460
460
|
*/
|
461
461
|
setInstanceHealth(params: AutoScaling.Types.SetInstanceHealthQuery, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
462
462
|
/**
|
463
|
-
* Sets the health status of the specified instance. For more information, see
|
463
|
+
* Sets the health status of the specified instance. For more information, see Set up a custom health check for your Auto Scaling group in the Amazon EC2 Auto Scaling User Guide.
|
464
464
|
*/
|
465
465
|
setInstanceHealth(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
466
466
|
/**
|
@@ -1081,7 +1081,7 @@ declare namespace AutoScaling {
|
|
1081
1081
|
*/
|
1082
1082
|
TargetGroupARNs?: TargetGroupARNs;
|
1083
1083
|
/**
|
1084
|
-
* A comma-separated value string of one or more health check types. The valid values are EC2, ELB, and VPC_LATTICE. EC2 is the default health check and cannot be disabled. For more information, see Health checks for instances in an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Only specify EC2 if you must clear a value that was previously set.
|
1084
|
+
* A comma-separated value string of one or more health check types. The valid values are EC2, EBS, ELB, and VPC_LATTICE. EC2 is the default health check and cannot be disabled. For more information, see Health checks for instances in an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Only specify EC2 if you must clear a value that was previously set.
|
1085
1085
|
*/
|
1086
1086
|
HealthCheckType?: XmlStringMaxLen32;
|
1087
1087
|
/**
|
@@ -3556,7 +3556,7 @@ declare namespace AutoScaling {
|
|
3556
3556
|
*/
|
3557
3557
|
AvailabilityZones?: AvailabilityZones;
|
3558
3558
|
/**
|
3559
|
-
* A comma-separated value string of one or more health check types. The valid values are EC2, ELB, and VPC_LATTICE. EC2 is the default health check and cannot be disabled. For more information, see Health checks for instances in an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Only specify EC2 if you must clear a value that was previously set.
|
3559
|
+
* A comma-separated value string of one or more health check types. The valid values are EC2, EBS, ELB, and VPC_LATTICE. EC2 is the default health check and cannot be disabled. For more information, see Health checks for instances in an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. Only specify EC2 if you must clear a value that was previously set.
|
3560
3560
|
*/
|
3561
3561
|
HealthCheckType?: XmlStringMaxLen32;
|
3562
3562
|
/**
|
@@ -11,6 +11,14 @@ declare class Bedrock extends Service {
|
|
11
11
|
*/
|
12
12
|
constructor(options?: Bedrock.Types.ClientConfiguration)
|
13
13
|
config: Config & Bedrock.Types.ClientConfiguration;
|
14
|
+
/**
|
15
|
+
* Creates a batch deletion job. A model evaluation job can only be deleted if it has following status FAILED, COMPLETED, and STOPPED. You can request up to 25 model evaluation jobs be deleted in a single request.
|
16
|
+
*/
|
17
|
+
batchDeleteEvaluationJob(params: Bedrock.Types.BatchDeleteEvaluationJobRequest, callback?: (err: AWSError, data: Bedrock.Types.BatchDeleteEvaluationJobResponse) => void): Request<Bedrock.Types.BatchDeleteEvaluationJobResponse, AWSError>;
|
18
|
+
/**
|
19
|
+
* Creates a batch deletion job. A model evaluation job can only be deleted if it has following status FAILED, COMPLETED, and STOPPED. You can request up to 25 model evaluation jobs be deleted in a single request.
|
20
|
+
*/
|
21
|
+
batchDeleteEvaluationJob(callback?: (err: AWSError, data: Bedrock.Types.BatchDeleteEvaluationJobResponse) => void): Request<Bedrock.Types.BatchDeleteEvaluationJobResponse, AWSError>;
|
14
22
|
/**
|
15
23
|
* 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
24
|
*/
|
@@ -51,6 +59,14 @@ declare class Bedrock extends Service {
|
|
51
59
|
* 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.
|
52
60
|
*/
|
53
61
|
createModelCustomizationJob(callback?: (err: AWSError, data: Bedrock.Types.CreateModelCustomizationJobResponse) => void): Request<Bedrock.Types.CreateModelCustomizationJobResponse, AWSError>;
|
62
|
+
/**
|
63
|
+
* Creates a model import job to import model that you have customized in other environments, such as Amazon SageMaker. For more information, see Import a customized model
|
64
|
+
*/
|
65
|
+
createModelImportJob(params: Bedrock.Types.CreateModelImportJobRequest, callback?: (err: AWSError, data: Bedrock.Types.CreateModelImportJobResponse) => void): Request<Bedrock.Types.CreateModelImportJobResponse, AWSError>;
|
66
|
+
/**
|
67
|
+
* Creates a model import job to import model that you have customized in other environments, such as Amazon SageMaker. For more information, see Import a customized model
|
68
|
+
*/
|
69
|
+
createModelImportJob(callback?: (err: AWSError, data: Bedrock.Types.CreateModelImportJobResponse) => void): Request<Bedrock.Types.CreateModelImportJobResponse, AWSError>;
|
54
70
|
/**
|
55
71
|
* Creates a job to invoke a model on multiple prompts (batch inference). Format your data according to Format your inference data and upload it to an Amazon S3 bucket. For more information, see Create a batch inference job. The response returns a jobArn that you can use to stop or get details about the job. You can check the status of the job by sending a GetModelCustomizationJob request.
|
56
72
|
*/
|
@@ -83,6 +99,14 @@ declare class Bedrock extends Service {
|
|
83
99
|
* Deletes a guardrail. To delete a guardrail, only specify the ARN of the guardrail in the guardrailIdentifier field. If you delete a guardrail, all of its versions will be deleted. To delete a version of a guardrail, specify the ARN of the guardrail in the guardrailIdentifier field and the version in the guardrailVersion field.
|
84
100
|
*/
|
85
101
|
deleteGuardrail(callback?: (err: AWSError, data: Bedrock.Types.DeleteGuardrailResponse) => void): Request<Bedrock.Types.DeleteGuardrailResponse, AWSError>;
|
102
|
+
/**
|
103
|
+
* Deletes a custom model that you imported earlier. For more information, see Import a customized model in the Amazon Bedrock User Guide.
|
104
|
+
*/
|
105
|
+
deleteImportedModel(params: Bedrock.Types.DeleteImportedModelRequest, callback?: (err: AWSError, data: Bedrock.Types.DeleteImportedModelResponse) => void): Request<Bedrock.Types.DeleteImportedModelResponse, AWSError>;
|
106
|
+
/**
|
107
|
+
* Deletes a custom model that you imported earlier. For more information, see Import a customized model in the Amazon Bedrock User Guide.
|
108
|
+
*/
|
109
|
+
deleteImportedModel(callback?: (err: AWSError, data: Bedrock.Types.DeleteImportedModelResponse) => void): Request<Bedrock.Types.DeleteImportedModelResponse, AWSError>;
|
86
110
|
/**
|
87
111
|
* Delete the invocation logging.
|
88
112
|
*/
|
@@ -131,6 +155,14 @@ declare class Bedrock extends Service {
|
|
131
155
|
* Gets details about a guardrail. If you don't specify a version, the response returns details for the DRAFT version.
|
132
156
|
*/
|
133
157
|
getGuardrail(callback?: (err: AWSError, data: Bedrock.Types.GetGuardrailResponse) => void): Request<Bedrock.Types.GetGuardrailResponse, AWSError>;
|
158
|
+
/**
|
159
|
+
* Gets properties associated with a customized model you imported.
|
160
|
+
*/
|
161
|
+
getImportedModel(params: Bedrock.Types.GetImportedModelRequest, callback?: (err: AWSError, data: Bedrock.Types.GetImportedModelResponse) => void): Request<Bedrock.Types.GetImportedModelResponse, AWSError>;
|
162
|
+
/**
|
163
|
+
* Gets properties associated with a customized model you imported.
|
164
|
+
*/
|
165
|
+
getImportedModel(callback?: (err: AWSError, data: Bedrock.Types.GetImportedModelResponse) => void): Request<Bedrock.Types.GetImportedModelResponse, AWSError>;
|
134
166
|
/**
|
135
167
|
* 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.
|
136
168
|
*/
|
@@ -147,6 +179,14 @@ declare class Bedrock extends Service {
|
|
147
179
|
* 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.
|
148
180
|
*/
|
149
181
|
getModelCustomizationJob(callback?: (err: AWSError, data: Bedrock.Types.GetModelCustomizationJobResponse) => void): Request<Bedrock.Types.GetModelCustomizationJobResponse, AWSError>;
|
182
|
+
/**
|
183
|
+
* Retrieves the properties associated with import model job, including the status of the job. For more information, see Import a customized model in the Amazon Bedrock User Guide.
|
184
|
+
*/
|
185
|
+
getModelImportJob(params: Bedrock.Types.GetModelImportJobRequest, callback?: (err: AWSError, data: Bedrock.Types.GetModelImportJobResponse) => void): Request<Bedrock.Types.GetModelImportJobResponse, AWSError>;
|
186
|
+
/**
|
187
|
+
* Retrieves the properties associated with import model job, including the status of the job. For more information, see Import a customized model in the Amazon Bedrock User Guide.
|
188
|
+
*/
|
189
|
+
getModelImportJob(callback?: (err: AWSError, data: Bedrock.Types.GetModelImportJobResponse) => void): Request<Bedrock.Types.GetModelImportJobResponse, AWSError>;
|
150
190
|
/**
|
151
191
|
* Gets details about a batch inference job. For more information, see View details about a batch inference job
|
152
192
|
*/
|
@@ -203,6 +243,14 @@ declare class Bedrock extends Service {
|
|
203
243
|
* 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.
|
204
244
|
*/
|
205
245
|
listGuardrails(callback?: (err: AWSError, data: Bedrock.Types.ListGuardrailsResponse) => void): Request<Bedrock.Types.ListGuardrailsResponse, AWSError>;
|
246
|
+
/**
|
247
|
+
* Returns a list of models you've imported. You can filter the results to return based on one or more criteria. For more information, see Import a customized model in the Amazon Bedrock User Guide.
|
248
|
+
*/
|
249
|
+
listImportedModels(params: Bedrock.Types.ListImportedModelsRequest, callback?: (err: AWSError, data: Bedrock.Types.ListImportedModelsResponse) => void): Request<Bedrock.Types.ListImportedModelsResponse, AWSError>;
|
250
|
+
/**
|
251
|
+
* Returns a list of models you've imported. You can filter the results to return based on one or more criteria. For more information, see Import a customized model in the Amazon Bedrock User Guide.
|
252
|
+
*/
|
253
|
+
listImportedModels(callback?: (err: AWSError, data: Bedrock.Types.ListImportedModelsResponse) => void): Request<Bedrock.Types.ListImportedModelsResponse, AWSError>;
|
206
254
|
/**
|
207
255
|
* 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.
|
208
256
|
*/
|
@@ -219,6 +267,14 @@ declare class Bedrock extends Service {
|
|
219
267
|
* 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.
|
220
268
|
*/
|
221
269
|
listModelCustomizationJobs(callback?: (err: AWSError, data: Bedrock.Types.ListModelCustomizationJobsResponse) => void): Request<Bedrock.Types.ListModelCustomizationJobsResponse, AWSError>;
|
270
|
+
/**
|
271
|
+
* Returns a list of import jobs you've submitted. You can filter the results to return based on one or more criteria. For more information, see Import a customized model in the Amazon Bedrock User Guide.
|
272
|
+
*/
|
273
|
+
listModelImportJobs(params: Bedrock.Types.ListModelImportJobsRequest, callback?: (err: AWSError, data: Bedrock.Types.ListModelImportJobsResponse) => void): Request<Bedrock.Types.ListModelImportJobsResponse, AWSError>;
|
274
|
+
/**
|
275
|
+
* Returns a list of import jobs you've submitted. You can filter the results to return based on one or more criteria. For more information, see Import a customized model in the Amazon Bedrock User Guide.
|
276
|
+
*/
|
277
|
+
listModelImportJobs(callback?: (err: AWSError, data: Bedrock.Types.ListModelImportJobsResponse) => void): Request<Bedrock.Types.ListModelImportJobsResponse, AWSError>;
|
222
278
|
/**
|
223
279
|
* Lists all batch inference jobs in the account. For more information, see View details about a batch inference job.
|
224
280
|
*/
|
@@ -317,6 +373,48 @@ declare namespace Bedrock {
|
|
317
373
|
datasetMetricConfigs: EvaluationDatasetMetricConfigs;
|
318
374
|
}
|
319
375
|
export type BaseModelIdentifier = string;
|
376
|
+
export interface BatchDeleteEvaluationJobError {
|
377
|
+
/**
|
378
|
+
* The ARN of the model evaluation job being deleted.
|
379
|
+
*/
|
380
|
+
jobIdentifier: EvaluationJobIdentifier;
|
381
|
+
/**
|
382
|
+
* A HTTP status code of the model evaluation job being deleted.
|
383
|
+
*/
|
384
|
+
code: String;
|
385
|
+
/**
|
386
|
+
* A status message about the model evaluation job deletion.
|
387
|
+
*/
|
388
|
+
message?: String;
|
389
|
+
}
|
390
|
+
export type BatchDeleteEvaluationJobErrors = BatchDeleteEvaluationJobError[];
|
391
|
+
export interface BatchDeleteEvaluationJobItem {
|
392
|
+
/**
|
393
|
+
* The ARN of model evaluation job to be deleted.
|
394
|
+
*/
|
395
|
+
jobIdentifier: EvaluationJobIdentifier;
|
396
|
+
/**
|
397
|
+
* The status of the job's deletion.
|
398
|
+
*/
|
399
|
+
jobStatus: EvaluationJobStatus;
|
400
|
+
}
|
401
|
+
export type BatchDeleteEvaluationJobItems = BatchDeleteEvaluationJobItem[];
|
402
|
+
export interface BatchDeleteEvaluationJobRequest {
|
403
|
+
/**
|
404
|
+
* An array of model evaluation job ARNs to be deleted.
|
405
|
+
*/
|
406
|
+
jobIdentifiers: EvaluationJobIdentifiers;
|
407
|
+
}
|
408
|
+
export interface BatchDeleteEvaluationJobResponse {
|
409
|
+
/**
|
410
|
+
* A JSON object containing the HTTP status codes and the ARNs of model evaluation jobs that failed to be deleted.
|
411
|
+
*/
|
412
|
+
errors: BatchDeleteEvaluationJobErrors;
|
413
|
+
/**
|
414
|
+
* The list of model evaluation jobs to be deleted.
|
415
|
+
*/
|
416
|
+
evaluationJobs: BatchDeleteEvaluationJobItems;
|
417
|
+
}
|
320
418
|
export type BedrockModelId = string;
|
321
419
|
export type Boolean = boolean;
|
322
420
|
export type BrandedName = string;
|
@@ -564,6 +662,50 @@ declare namespace Bedrock {
|
|
564
662
|
*/
|
565
663
|
jobArn: ModelCustomizationJobArn;
|
566
664
|
}
|
665
|
+
export interface CreateModelImportJobRequest {
|
666
|
+
/**
|
667
|
+
* The name of the import job.
|
668
|
+
*/
|
669
|
+
jobName: JobName;
|
670
|
+
/**
|
671
|
+
* The name of the imported model.
|
672
|
+
*/
|
673
|
+
importedModelName: ImportedModelName;
|
674
|
+
/**
|
675
|
+
* The Amazon Resource Name (ARN) of the model import job.
|
676
|
+
*/
|
677
|
+
roleArn: RoleArn;
|
678
|
+
/**
|
679
|
+
* The data source for the imported model.
|
680
|
+
*/
|
681
|
+
modelDataSource: ModelDataSource;
|
682
|
+
/**
|
683
|
+
* Tags to attach to this import job.
|
684
|
+
*/
|
685
|
+
jobTags?: TagList;
|
686
|
+
/**
|
687
|
+
* Tags to attach to the imported model.
|
688
|
+
*/
|
689
|
+
importedModelTags?: TagList;
|
690
|
+
/**
|
691
|
+
* 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.
|
692
|
+
*/
|
693
|
+
clientRequestToken?: IdempotencyToken;
|
694
|
+
/**
|
695
|
+
* VPC configuration parameters for the private Virtual Private Cloud (VPC) that contains the resources you are using for the import job.
|
696
|
+
*/
|
697
|
+
vpcConfig?: VpcConfig;
|
698
|
+
/**
|
699
|
+
* The imported model is encrypted at rest using this key.
|
700
|
+
*/
|
701
|
+
importedModelKmsKeyId?: KmsKeyId;
|
702
|
+
}
|
703
|
+
export interface CreateModelImportJobResponse {
|
704
|
+
/**
|
705
|
+
* The Amazon Resource Name (ARN) of the model import job.
|
706
|
+
*/
|
707
|
+
jobArn: ModelImportJobArn;
|
708
|
+
}
|
567
709
|
export interface CreateModelInvocationJobRequest {
|
568
710
|
/**
|
569
711
|
* A name to give the batch inference job.
|
@@ -690,6 +832,14 @@ declare namespace Bedrock {
|
|
690
832
|
}
|
691
833
|
export interface DeleteGuardrailResponse {
|
692
834
|
}
|
835
|
+
export interface DeleteImportedModelRequest {
|
836
|
+
/**
|
837
|
+
* Name of the imported model to delete.
|
838
|
+
*/
|
839
|
+
modelIdentifier: ImportedModelIdentifier;
|
840
|
+
}
|
841
|
+
export interface DeleteImportedModelResponse {
|
842
|
+
}
|
693
843
|
export interface DeleteModelInvocationLoggingConfigurationRequest {
|
694
844
|
}
|
695
845
|
export interface DeleteModelInvocationLoggingConfigurationResponse {
|
@@ -726,7 +876,7 @@ declare namespace Bedrock {
|
|
726
876
|
}
|
727
877
|
export interface EvaluationDataset {
|
728
878
|
/**
|
729
|
-
* Used to specify supported built-in prompt datasets. Valid values are Builtin.Bold, Builtin.BoolQ, Builtin.NaturalQuestions, Builtin.Gigaword, Builtin.RealToxicityPrompts, Builtin.
|
879
|
+
* Used to specify supported built-in prompt datasets. Valid values are Builtin.Bold, Builtin.BoolQ, Builtin.NaturalQuestions, Builtin.Gigaword, Builtin.RealToxicityPrompts, Builtin.TriviaQA, Builtin.T-Rex, Builtin.WomensEcommerceClothingReviews and Builtin.Wikitext2.
|
730
880
|
*/
|
731
881
|
name: EvaluationDatasetName;
|
732
882
|
/**
|
@@ -765,8 +915,9 @@ declare namespace Bedrock {
|
|
765
915
|
export type EvaluationJobArn = string;
|
766
916
|
export type EvaluationJobDescription = string;
|
767
917
|
export type EvaluationJobIdentifier = string;
|
918
|
+
export type EvaluationJobIdentifiers = EvaluationJobIdentifier[];
|
768
919
|
export type EvaluationJobName = string;
|
769
|
-
export type EvaluationJobStatus = "InProgress"|"Completed"|"Failed"|"Stopping"|"Stopped"|string;
|
920
|
+
export type EvaluationJobStatus = "InProgress"|"Completed"|"Failed"|"Stopping"|"Stopped"|"Deleting"|string;
|
770
921
|
export type EvaluationJobType = "Human"|"Automated"|string;
|
771
922
|
export type EvaluationMetricDescription = string;
|
772
923
|
export type EvaluationMetricName = string;
|
@@ -1135,6 +1286,46 @@ declare namespace Bedrock {
|
|
1135
1286
|
*/
|
1136
1287
|
kmsKeyArn?: KmsKeyArn;
|
1137
1288
|
}
|
1289
|
+
export interface GetImportedModelRequest {
|
1290
|
+
/**
|
1291
|
+
* Name or Amazon Resource Name (ARN) of the imported model.
|
1292
|
+
*/
|
1293
|
+
modelIdentifier: ImportedModelIdentifier;
|
1294
|
+
}
|
1295
|
+
export interface GetImportedModelResponse {
|
1296
|
+
/**
|
1297
|
+
* The Amazon Resource Name (ARN) associated with this imported model.
|
1298
|
+
*/
|
1299
|
+
modelArn?: ImportedModelArn;
|
1300
|
+
/**
|
1301
|
+
* The name of the imported model.
|
1302
|
+
*/
|
1303
|
+
modelName?: ImportedModelName;
|
1304
|
+
/**
|
1305
|
+
* Job name associated with the imported model.
|
1306
|
+
*/
|
1307
|
+
jobName?: JobName;
|
1308
|
+
/**
|
1309
|
+
* Job Amazon Resource Name (ARN) associated with the imported model.
|
1310
|
+
*/
|
1311
|
+
jobArn?: ModelImportJobArn;
|
1312
|
+
/**
|
1313
|
+
* The data source for this imported model.
|
1314
|
+
*/
|
1315
|
+
modelDataSource?: ModelDataSource;
|
1316
|
+
/**
|
1317
|
+
* Creation time of the imported model.
|
1318
|
+
*/
|
1319
|
+
creationTime?: Timestamp;
|
1320
|
+
/**
|
1321
|
+
* The architecture of the imported model.
|
1322
|
+
*/
|
1323
|
+
modelArchitecture?: String;
|
1324
|
+
/**
|
1325
|
+
* The imported model is encrypted at rest using this key.
|
1326
|
+
*/
|
1327
|
+
modelKmsKeyArn?: KmsKeyArn;
|
1328
|
+
}
|
1138
1329
|
export interface GetModelCopyJobRequest {
|
1139
1330
|
/**
|
1140
1331
|
* The Amazon Resource Name (ARN) of the model copy job.
|
@@ -1279,6 +1470,66 @@ declare namespace Bedrock {
|
|
1279
1470
|
*/
|
1280
1471
|
vpcConfig?: VpcConfig;
|
1281
1472
|
}
|
1473
|
+
export interface GetModelImportJobRequest {
|
1474
|
+
/**
|
1475
|
+
* The identifier of the import job.
|
1476
|
+
*/
|
1477
|
+
jobIdentifier: ModelImportJobIdentifier;
|
1478
|
+
}
|
1479
|
+
export interface GetModelImportJobResponse {
|
1480
|
+
/**
|
1481
|
+
* The Amazon Resource Name (ARN) of the import job.
|
1482
|
+
*/
|
1483
|
+
jobArn?: ModelImportJobArn;
|
1484
|
+
/**
|
1485
|
+
* The name of the import job.
|
1486
|
+
*/
|
1487
|
+
jobName?: JobName;
|
1488
|
+
/**
|
1489
|
+
* The name of the imported model.
|
1490
|
+
*/
|
1491
|
+
importedModelName?: ImportedModelName;
|
1492
|
+
/**
|
1493
|
+
* The Amazon Resource Name (ARN) of the imported model.
|
1494
|
+
*/
|
1495
|
+
importedModelArn?: ImportedModelArn;
|
1496
|
+
/**
|
1497
|
+
* The Amazon Resource Name (ARN) of the IAM role associated with this job.
|
1498
|
+
*/
|
1499
|
+
roleArn?: RoleArn;
|
1500
|
+
/**
|
1501
|
+
* The data source for the imported model.
|
1502
|
+
*/
|
1503
|
+
modelDataSource?: ModelDataSource;
|
1504
|
+
/**
|
1505
|
+
* The status of the job. A successful job transitions from in-progress to completed when the imported model is ready to use. If the job failed, the failure message contains information about why the job failed.
|
1506
|
+
*/
|
1507
|
+
status?: ModelImportJobStatus;
|
1508
|
+
/**
|
1509
|
+
* Information about why the import job failed.
|
1510
|
+
*/
|
1511
|
+
failureMessage?: ErrorMessage;
|
1512
|
+
/**
|
1513
|
+
* The time the resource was created.
|
1514
|
+
*/
|
1515
|
+
creationTime?: Timestamp;
|
1516
|
+
/**
|
1517
|
+
* Time the resource was last modified.
|
1518
|
+
*/
|
1519
|
+
lastModifiedTime?: Timestamp;
|
1520
|
+
/**
|
1521
|
+
* Time that the resource transitioned to terminal state.
|
1522
|
+
*/
|
1523
|
+
endTime?: Timestamp;
|
1524
|
+
/**
|
1525
|
+
* The Virtual Private Cloud (VPC) configuration of the import model job.
|
1526
|
+
*/
|
1527
|
+
vpcConfig?: VpcConfig;
|
1528
|
+
/**
|
1529
|
+
* The imported model is encrypted at rest using this key.
|
1530
|
+
*/
|
1531
|
+
importedModelKmsKeyArn?: KmsKeyArn;
|
1532
|
+
}
|
1282
1533
|
export interface GetModelInvocationJobRequest {
|
1283
1534
|
/**
|
1284
1535
|
* The Amazon Resource Name (ARN) of the batch inference job.
|
@@ -1776,6 +2027,24 @@ declare namespace Bedrock {
|
|
1776
2027
|
instructions?: HumanTaskInstructions;
|
1777
2028
|
}
|
1778
2029
|
export type IdempotencyToken = string;
|
2030
|
+
export type ImportedModelArn = string;
|
2031
|
+
export type ImportedModelIdentifier = string;
|
2032
|
+
export type ImportedModelName = string;
|
2033
|
+
export interface ImportedModelSummary {
|
2034
|
+
/**
|
2035
|
+
* The Amazon Resource Name (ARN) of the imported model.
|
2036
|
+
*/
|
2037
|
+
modelArn: ImportedModelArn;
|
2038
|
+
/**
|
2039
|
+
* Name of the imported model.
|
2040
|
+
*/
|
2041
|
+
modelName: ImportedModelName;
|
2042
|
+
/**
|
2043
|
+
* Creation time of the imported model.
|
2044
|
+
*/
|
2045
|
+
creationTime: Timestamp;
|
2046
|
+
}
|
2047
|
+
export type ImportedModelSummaryList = ImportedModelSummary[];
|
1779
2048
|
export type InferenceType = "ON_DEMAND"|"PROVISIONED"|string;
|
1780
2049
|
export type InferenceTypeList = InferenceType[];
|
1781
2050
|
export type JobName = string;
|
@@ -1926,6 +2195,46 @@ declare namespace Bedrock {
|
|
1926
2195
|
*/
|
1927
2196
|
nextToken?: PaginationToken;
|
1928
2197
|
}
|
2198
|
+
export interface ListImportedModelsRequest {
|
2199
|
+
/**
|
2200
|
+
* Return imported models that created before the specified time.
|
2201
|
+
*/
|
2202
|
+
creationTimeBefore?: Timestamp;
|
2203
|
+
/**
|
2204
|
+
* Return imported models that were created after the specified time.
|
2205
|
+
*/
|
2206
|
+
creationTimeAfter?: Timestamp;
|
2207
|
+
/**
|
2208
|
+
* Return imported models only if the model name contains these characters.
|
2209
|
+
*/
|
2210
|
+
nameContains?: ImportedModelName;
|
2211
|
+
/**
|
2212
|
+
* 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.
|
2213
|
+
*/
|
2214
|
+
maxResults?: MaxResults;
|
2215
|
+
/**
|
2216
|
+
* 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.
|
2217
|
+
*/
|
2218
|
+
nextToken?: PaginationToken;
|
2219
|
+
/**
|
2220
|
+
* The field to sort by in the returned list of imported models.
|
2221
|
+
*/
|
2222
|
+
sortBy?: SortModelsBy;
|
2223
|
+
/**
|
2224
|
+
* Specifies whetehr to sort the results in ascending or descending order.
|
2225
|
+
*/
|
2226
|
+
sortOrder?: SortOrder;
|
2227
|
+
}
|
2228
|
+
export interface ListImportedModelsResponse {
|
2229
|
+
/**
|
2230
|
+
* 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.
|
2231
|
+
*/
|
2232
|
+
nextToken?: PaginationToken;
|
2233
|
+
/**
|
2234
|
+
* Model summaries.
|
2235
|
+
*/
|
2236
|
+
modelSummaries?: ImportedModelSummaryList;
|
2237
|
+
}
|
1929
2238
|
export interface ListModelCopyJobsRequest {
|
1930
2239
|
/**
|
1931
2240
|
* Filters for model copy jobs created after the specified time.
|
@@ -2022,6 +2331,50 @@ declare namespace Bedrock {
|
|
2022
2331
|
*/
|
2023
2332
|
modelCustomizationJobSummaries?: ModelCustomizationJobSummaries;
|
2024
2333
|
}
|
2334
|
+
export interface ListModelImportJobsRequest {
|
2335
|
+
/**
|
2336
|
+
* Return import jobs that were created after the specified time.
|
2337
|
+
*/
|
2338
|
+
creationTimeAfter?: Timestamp;
|
2339
|
+
/**
|
2340
|
+
* Return import jobs that were created before the specified time.
|
2341
|
+
*/
|
2342
|
+
creationTimeBefore?: Timestamp;
|
2343
|
+
/**
|
2344
|
+
* Return imported jobs with the specified status.
|
2345
|
+
*/
|
2346
|
+
statusEquals?: ModelImportJobStatus;
|
2347
|
+
/**
|
2348
|
+
* Return imported jobs only if the job name contains these characters.
|
2349
|
+
*/
|
2350
|
+
nameContains?: JobName;
|
2351
|
+
/**
|
2352
|
+
* 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.
|
2353
|
+
*/
|
2354
|
+
maxResults?: MaxResults;
|
2355
|
+
/**
|
2356
|
+
* 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.
|
2357
|
+
*/
|
2358
|
+
nextToken?: PaginationToken;
|
2359
|
+
/**
|
2360
|
+
* The field to sort by in the returned list of imported jobs.
|
2361
|
+
*/
|
2362
|
+
sortBy?: SortJobsBy;
|
2363
|
+
/**
|
2364
|
+
* Specifies whether to sort the results in ascending or descending order.
|
2365
|
+
*/
|
2366
|
+
sortOrder?: SortOrder;
|
2367
|
+
}
|
2368
|
+
export interface ListModelImportJobsResponse {
|
2369
|
+
/**
|
2370
|
+
* 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.
|
2371
|
+
*/
|
2372
|
+
nextToken?: PaginationToken;
|
2373
|
+
/**
|
2374
|
+
* Import job summaries.
|
2375
|
+
*/
|
2376
|
+
modelImportJobSummaries?: ModelImportJobSummaries;
|
2377
|
+
}
|
2025
2378
|
export interface ListModelInvocationJobsRequest {
|
2026
2379
|
/**
|
2027
2380
|
* Specify a time to filter for batch inference jobs that were submitted after the time you specify.
|
@@ -2251,8 +2604,52 @@ declare namespace Bedrock {
|
|
2251
2604
|
customizationType?: CustomizationType;
|
2252
2605
|
}
|
2253
2606
|
export type ModelCustomizationList = ModelCustomization[];
|
2607
|
+
export interface ModelDataSource {
|
2608
|
+
/**
|
2609
|
+
* The Amazon S3 data source of the imported model.
|
2610
|
+
*/
|
2611
|
+
s3DataSource?: S3DataSource;
|
2612
|
+
}
|
2254
2613
|
export type ModelId = string;
|
2255
2614
|
export type ModelIdentifier = string;
|
2615
|
+
export type ModelImportJobArn = string;
|
2616
|
+
export type ModelImportJobIdentifier = string;
|
2617
|
+
export type ModelImportJobStatus = "InProgress"|"Completed"|"Failed"|string;
|
2618
|
+
export type ModelImportJobSummaries = ModelImportJobSummary[];
|
2619
|
+
export interface ModelImportJobSummary {
|
2620
|
+
/**
|
2621
|
+
* The Amazon Resource Name (ARN) of the import job.
|
2622
|
+
*/
|
2623
|
+
jobArn: ModelImportJobArn;
|
2624
|
+
/**
|
2625
|
+
* The name of the import job.
|
2626
|
+
*/
|
2627
|
+
jobName: JobName;
|
2628
|
+
/**
|
2629
|
+
* The status of the imported job.
|
2630
|
+
*/
|
2631
|
+
status: ModelImportJobStatus;
|
2632
|
+
/**
|
2633
|
+
* The time when the import job was last modified.
|
2634
|
+
*/
|
2635
|
+
lastModifiedTime?: Timestamp;
|
2636
|
+
/**
|
2637
|
+
* The time import job was created.
|
2638
|
+
*/
|
2639
|
+
creationTime: Timestamp;
|
2640
|
+
/**
|
2641
|
+
* The time when import job ended.
|
2642
|
+
*/
|
2643
|
+
endTime?: Timestamp;
|
2644
|
+
/**
|
2645
|
+
* The Amazon resource Name (ARN) of the imported model.
|
2646
|
+
*/
|
2647
|
+
importedModelArn?: ImportedModelArn;
|
2648
|
+
/**
|
2649
|
+
* The name of the imported model.
|
2650
|
+
*/
|
2651
|
+
importedModelName?: ImportedModelName;
|
2652
|
+
}
|
2256
2653
|
export type ModelInvocationIdempotencyToken = string;
|
2257
2654
|
export type ModelInvocationJobArn = string;
|
2258
2655
|
export type ModelInvocationJobIdentifier = string;
|
@@ -2436,6 +2833,12 @@ declare namespace Bedrock {
|
|
2436
2833
|
*/
|
2437
2834
|
keyPrefix?: KeyPrefix;
|
2438
2835
|
}
|
2836
|
+
export interface S3DataSource {
|
2837
|
+
/**
|
2838
|
+
* The URI of the Amazon S3 data source.
|
2839
|
+
*/
|
2840
|
+
s3Uri: S3Uri;
|
2841
|
+
}
|
2439
2842
|
export type S3InputFormat = "JSONL"|string;
|
2440
2843
|
export type S3Uri = string;
|
2441
2844
|
export type SageMakerFlowDefinitionArn = string;
|