aws-sdk 2.1427.0 → 2.1429.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.
- package/CHANGELOG.md +13 -1
- package/README.md +1 -1
- package/apis/autoscaling-2011-01-01.examples.json +2 -2
- package/apis/cognito-idp-2016-04-18.min.json +102 -56
- package/apis/dms-2016-01-01.min.json +1079 -217
- package/apis/dms-2016-01-01.paginators.json +45 -0
- package/apis/ec2-2016-11-15.min.json +27 -0
- package/apis/resiliencehub-2020-04-30.min.json +354 -125
- package/apis/resiliencehub-2020-04-30.paginators.json +5 -0
- package/apis/sagemaker-2017-07-24.min.json +151 -42
- package/clients/autoscaling.d.ts +1 -1
- package/clients/budgets.d.ts +1 -1
- package/clients/cloud9.d.ts +1 -1
- package/clients/cognitoidentityserviceprovider.d.ts +290 -213
- package/clients/dms.d.ts +1224 -12
- package/clients/ec2.d.ts +33 -1
- package/clients/glue.d.ts +2 -2
- package/clients/resiliencehub.d.ts +588 -274
- package/clients/sagemaker.d.ts +153 -1
- package/dist/aws-sdk-core-react-native.js +1 -1
- package/dist/aws-sdk-react-native.js +8 -8
- package/dist/aws-sdk.js +132 -59
- package/dist/aws-sdk.min.js +85 -85
- package/lib/core.js +1 -1
- package/package.json +1 -1
package/clients/sagemaker.d.ts
CHANGED
@@ -1364,6 +1364,14 @@ declare class SageMaker extends Service {
|
|
1364
1364
|
* Gets the status of Service Catalog in SageMaker. Service Catalog is used to create SageMaker projects.
|
1365
1365
|
*/
|
1366
1366
|
getSagemakerServicecatalogPortfolioStatus(callback?: (err: AWSError, data: SageMaker.Types.GetSagemakerServicecatalogPortfolioStatusOutput) => void): Request<SageMaker.Types.GetSagemakerServicecatalogPortfolioStatusOutput, AWSError>;
|
1367
|
+
/**
|
1368
|
+
* Starts an Amazon SageMaker Inference Recommender autoscaling recommendation job. Returns recommendations for autoscaling policies that you can apply to your SageMaker endpoint.
|
1369
|
+
*/
|
1370
|
+
getScalingConfigurationRecommendation(params: SageMaker.Types.GetScalingConfigurationRecommendationRequest, callback?: (err: AWSError, data: SageMaker.Types.GetScalingConfigurationRecommendationResponse) => void): Request<SageMaker.Types.GetScalingConfigurationRecommendationResponse, AWSError>;
|
1371
|
+
/**
|
1372
|
+
* Starts an Amazon SageMaker Inference Recommender autoscaling recommendation job. Returns recommendations for autoscaling policies that you can apply to your SageMaker endpoint.
|
1373
|
+
*/
|
1374
|
+
getScalingConfigurationRecommendation(callback?: (err: AWSError, data: SageMaker.Types.GetScalingConfigurationRecommendationResponse) => void): Request<SageMaker.Types.GetScalingConfigurationRecommendationResponse, AWSError>;
|
1367
1375
|
/**
|
1368
1376
|
* An auto-complete API for the search functionality in the SageMaker console. It returns suggestions of possible matches for the property name to use in Search queries. Provides suggestions for HyperParameters, Tags, and Metrics.
|
1369
1377
|
*/
|
@@ -6205,6 +6213,20 @@ declare namespace SageMaker {
|
|
6205
6213
|
export type CustomerMetadataKeyList = CustomerMetadataKey[];
|
6206
6214
|
export type CustomerMetadataMap = {[key: string]: CustomerMetadataValue};
|
6207
6215
|
export type CustomerMetadataValue = string;
|
6216
|
+
export interface CustomizedMetricSpecification {
|
6217
|
+
/**
|
6218
|
+
* The name of the customized metric.
|
6219
|
+
*/
|
6220
|
+
MetricName?: String;
|
6221
|
+
/**
|
6222
|
+
* The namespace of the customized metric.
|
6223
|
+
*/
|
6224
|
+
Namespace?: String;
|
6225
|
+
/**
|
6226
|
+
* The statistic of the customized metric.
|
6227
|
+
*/
|
6228
|
+
Statistic?: Statistic;
|
6229
|
+
}
|
6208
6230
|
export interface DataCaptureConfig {
|
6209
6231
|
/**
|
6210
6232
|
* Whether data capture should be enabled or disabled (defaults to enabled).
|
@@ -10460,6 +10482,7 @@ declare namespace SageMaker {
|
|
10460
10482
|
SecurityGroupIds?: DomainSecurityGroupIds;
|
10461
10483
|
}
|
10462
10484
|
export type DomainStatus = "Deleting"|"Failed"|"InService"|"Pending"|"Updating"|"Update_Failed"|"Delete_Failed"|string;
|
10485
|
+
export type Double = number;
|
10463
10486
|
export type DoubleParameterValue = number;
|
10464
10487
|
export interface DriftCheckBaselines {
|
10465
10488
|
/**
|
@@ -10523,6 +10546,28 @@ declare namespace SageMaker {
|
|
10523
10546
|
*/
|
10524
10547
|
Constraints?: MetricsSource;
|
10525
10548
|
}
|
10549
|
+
export interface DynamicScalingConfiguration {
|
10550
|
+
/**
|
10551
|
+
* The recommended minimum capacity to specify for your autoscaling policy.
|
10552
|
+
*/
|
10553
|
+
MinCapacity?: Integer;
|
10554
|
+
/**
|
10555
|
+
* The recommended maximum capacity to specify for your autoscaling policy.
|
10556
|
+
*/
|
10557
|
+
MaxCapacity?: Integer;
|
10558
|
+
/**
|
10559
|
+
* The recommended scale in cooldown time for your autoscaling policy.
|
10560
|
+
*/
|
10561
|
+
ScaleInCooldown?: Integer;
|
10562
|
+
/**
|
10563
|
+
* The recommended scale out cooldown time for your autoscaling policy.
|
10564
|
+
*/
|
10565
|
+
ScaleOutCooldown?: Integer;
|
10566
|
+
/**
|
10567
|
+
* An object of the scaling policies for each metric.
|
10568
|
+
*/
|
10569
|
+
ScalingPolicies?: ScalingPolicies;
|
10570
|
+
}
|
10526
10571
|
export interface EMRStepMetadata {
|
10527
10572
|
/**
|
10528
10573
|
* The identifier of the EMR cluster.
|
@@ -11507,6 +11552,58 @@ declare namespace SageMaker {
|
|
11507
11552
|
*/
|
11508
11553
|
Status?: SagemakerServicecatalogStatus;
|
11509
11554
|
}
|
11555
|
+
export interface GetScalingConfigurationRecommendationRequest {
|
11556
|
+
/**
|
11557
|
+
* The name of a previously completed Inference Recommender job.
|
11558
|
+
*/
|
11559
|
+
InferenceRecommendationsJobName: RecommendationJobName;
|
11560
|
+
/**
|
11561
|
+
* The recommendation ID of a previously completed inference recommendation. This ID should come from one of the recommendations returned by the job specified in the InferenceRecommendationsJobName field. Specify either this field or the EndpointName field.
|
11562
|
+
*/
|
11563
|
+
RecommendationId?: String;
|
11564
|
+
/**
|
11565
|
+
* The name of an endpoint benchmarked during a previously completed inference recommendation job. This name should come from one of the recommendations returned by the job specified in the InferenceRecommendationsJobName field. Specify either this field or the RecommendationId field.
|
11566
|
+
*/
|
11567
|
+
EndpointName?: EndpointName;
|
11568
|
+
/**
|
11569
|
+
* The percentage of how much utilization you want an instance to use before autoscaling. The default value is 50%.
|
11570
|
+
*/
|
11571
|
+
TargetCpuUtilizationPerCore?: UtilizationPercentagePerCore;
|
11572
|
+
/**
|
11573
|
+
* An object where you specify the anticipated traffic pattern for an endpoint.
|
11574
|
+
*/
|
11575
|
+
ScalingPolicyObjective?: ScalingPolicyObjective;
|
11576
|
+
}
|
11577
|
+
export interface GetScalingConfigurationRecommendationResponse {
|
11578
|
+
/**
|
11579
|
+
* The name of a previously completed Inference Recommender job.
|
11580
|
+
*/
|
11581
|
+
InferenceRecommendationsJobName?: RecommendationJobName;
|
11582
|
+
/**
|
11583
|
+
* The recommendation ID of a previously completed inference recommendation.
|
11584
|
+
*/
|
11585
|
+
RecommendationId?: String;
|
11586
|
+
/**
|
11587
|
+
* The name of an endpoint benchmarked during a previously completed Inference Recommender job.
|
11588
|
+
*/
|
11589
|
+
EndpointName?: EndpointName;
|
11590
|
+
/**
|
11591
|
+
* The percentage of how much utilization you want an instance to use before autoscaling, which you specified in the request. The default value is 50%.
|
11592
|
+
*/
|
11593
|
+
TargetCpuUtilizationPerCore?: UtilizationPercentagePerCore;
|
11594
|
+
/**
|
11595
|
+
* An object representing the anticipated traffic pattern for an endpoint that you specified in the request.
|
11596
|
+
*/
|
11597
|
+
ScalingPolicyObjective?: ScalingPolicyObjective;
|
11598
|
+
/**
|
11599
|
+
* An object with a list of metrics that were benchmarked during the previously completed Inference Recommender job.
|
11600
|
+
*/
|
11601
|
+
Metric?: ScalingPolicyMetric;
|
11602
|
+
/**
|
11603
|
+
* An object with the recommended values for you to specify when creating an autoscaling policy.
|
11604
|
+
*/
|
11605
|
+
DynamicScalingConfiguration?: DynamicScalingConfiguration;
|
11606
|
+
}
|
11510
11607
|
export interface GetSearchSuggestionsRequest {
|
11511
11608
|
/**
|
11512
11609
|
* The name of the SageMaker resource to search for.
|
@@ -16232,6 +16329,16 @@ declare namespace SageMaker {
|
|
16232
16329
|
export type MetricName = string;
|
16233
16330
|
export type MetricRegex = string;
|
16234
16331
|
export type MetricSetSource = "Train"|"Validation"|"Test"|string;
|
16332
|
+
export interface MetricSpecification {
|
16333
|
+
/**
|
16334
|
+
* Information about a predefined metric.
|
16335
|
+
*/
|
16336
|
+
Predefined?: PredefinedMetricSpecification;
|
16337
|
+
/**
|
16338
|
+
* Information about a customized metric.
|
16339
|
+
*/
|
16340
|
+
Customized?: CustomizedMetricSpecification;
|
16341
|
+
}
|
16235
16342
|
export type MetricValue = number;
|
16236
16343
|
export interface MetricsSource {
|
16237
16344
|
/**
|
@@ -18449,6 +18556,12 @@ declare namespace SageMaker {
|
|
18449
18556
|
export type PipelineSummaryList = PipelineSummary[];
|
18450
18557
|
export type PlatformIdentifier = string;
|
18451
18558
|
export type PolicyString = string;
|
18559
|
+
export interface PredefinedMetricSpecification {
|
18560
|
+
/**
|
18561
|
+
* The metric type. You can only apply SageMaker metric types to SageMaker endpoints.
|
18562
|
+
*/
|
18563
|
+
PredefinedMetricType?: String;
|
18564
|
+
}
|
18452
18565
|
export type PresignedDomainUrl = string;
|
18453
18566
|
export type ProbabilityThresholdAttribute = number;
|
18454
18567
|
export type ProblemType = "BinaryClassification"|"MulticlassClassification"|"Regression"|string;
|
@@ -19797,6 +19910,33 @@ declare namespace SageMaker {
|
|
19797
19910
|
export type SagemakerServicecatalogStatus = "Enabled"|"Disabled"|string;
|
19798
19911
|
export type SampleWeightAttributeName = string;
|
19799
19912
|
export type SamplingPercentage = number;
|
19913
|
+
export type ScalingPolicies = ScalingPolicy[];
|
19914
|
+
export interface ScalingPolicy {
|
19915
|
+
/**
|
19916
|
+
* A target tracking scaling policy. Includes support for predefined or customized metrics.
|
19917
|
+
*/
|
19918
|
+
TargetTracking?: TargetTrackingScalingPolicyConfiguration;
|
19919
|
+
}
|
19920
|
+
export interface ScalingPolicyMetric {
|
19921
|
+
/**
|
19922
|
+
* The number of invocations sent to a model, normalized by InstanceCount in each ProductionVariant. 1/numberOfInstances is sent as the value on each request, where numberOfInstances is the number of active instances for the ProductionVariant behind the endpoint at the time of the request.
|
19923
|
+
*/
|
19924
|
+
InvocationsPerInstance?: Integer;
|
19925
|
+
/**
|
19926
|
+
* The interval of time taken by a model to respond as viewed from SageMaker. This interval includes the local communication times taken to send the request and to fetch the response from the container of a model and the time taken to complete the inference in the container.
|
19927
|
+
*/
|
19928
|
+
ModelLatency?: Integer;
|
19929
|
+
}
|
19930
|
+
export interface ScalingPolicyObjective {
|
19931
|
+
/**
|
19932
|
+
* The minimum number of expected requests to your endpoint per minute.
|
19933
|
+
*/
|
19934
|
+
MinInvocationsPerMinute?: Integer;
|
19935
|
+
/**
|
19936
|
+
* The maximum number of expected requests to your endpoint per minute.
|
19937
|
+
*/
|
19938
|
+
MaxInvocationsPerMinute?: Integer;
|
19939
|
+
}
|
19800
19940
|
export interface ScheduleConfig {
|
19801
19941
|
/**
|
19802
19942
|
* A cron expression that describes details about the monitoring schedule. Currently the only supported cron expressions are: If you want to set the job to start every hour, please use the following: Hourly: cron(0 * ? * * *) If you want to start the job daily: cron(0 [00-23] ? * * *) For example, the following are valid cron expressions: Daily at noon UTC: cron(0 12 ? * * *) Daily at midnight UTC: cron(0 0 ? * * *) To support running every 6, 12 hours, the following are also supported: cron(0 [00-23]/[01-24] ? * * *) For example, the following are valid cron expressions: Every 12 hours, starting at 5pm UTC: cron(0 17/12 ? * * *) Every two hours starting at midnight: cron(0 0/2 ? * * *) Even though the cron expression is set to start at 5PM UTC, note that there could be a delay of 0-20 minutes from the actual requested time to run the execution. We recommend that if you would like a daily schedule, you do not provide this parameter. Amazon SageMaker will pick a time for running every day.
|
@@ -20236,6 +20376,7 @@ declare namespace SageMaker {
|
|
20236
20376
|
*/
|
20237
20377
|
PipelineExecutionArn?: PipelineExecutionArn;
|
20238
20378
|
}
|
20379
|
+
export type Statistic = "Average"|"Minimum"|"Maximum"|"SampleCount"|"Sum"|string;
|
20239
20380
|
export type StatusDetails = string;
|
20240
20381
|
export type StatusMessage = string;
|
20241
20382
|
export type StepDescription = string;
|
@@ -20517,6 +20658,16 @@ declare namespace SageMaker {
|
|
20517
20658
|
export type TargetPlatformAccelerator = "INTEL_GRAPHICS"|"MALI"|"NVIDIA"|"NNA"|string;
|
20518
20659
|
export type TargetPlatformArch = "X86_64"|"X86"|"ARM64"|"ARM_EABI"|"ARM_EABIHF"|string;
|
20519
20660
|
export type TargetPlatformOs = "ANDROID"|"LINUX"|string;
|
20661
|
+
export interface TargetTrackingScalingPolicyConfiguration {
|
20662
|
+
/**
|
20663
|
+
* An object containing information about a metric.
|
20664
|
+
*/
|
20665
|
+
MetricSpecification?: MetricSpecification;
|
20666
|
+
/**
|
20667
|
+
* The recommended target value to specify for the metric when creating a scaling policy.
|
20668
|
+
*/
|
20669
|
+
TargetValue?: Double;
|
20670
|
+
}
|
20520
20671
|
export type TaskAvailabilityLifetimeInSeconds = number;
|
20521
20672
|
export type TaskCount = number;
|
20522
20673
|
export type TaskDescription = string;
|
@@ -20682,7 +20833,7 @@ declare namespace SageMaker {
|
|
20682
20833
|
}
|
20683
20834
|
export type TrainingInputMode = "Pipe"|"File"|"FastFile"|string;
|
20684
20835
|
export type TrainingInstanceCount = number;
|
20685
|
-
export type TrainingInstanceType = "ml.m4.xlarge"|"ml.m4.2xlarge"|"ml.m4.4xlarge"|"ml.m4.10xlarge"|"ml.m4.16xlarge"|"ml.g4dn.xlarge"|"ml.g4dn.2xlarge"|"ml.g4dn.4xlarge"|"ml.g4dn.8xlarge"|"ml.g4dn.12xlarge"|"ml.g4dn.16xlarge"|"ml.m5.large"|"ml.m5.xlarge"|"ml.m5.2xlarge"|"ml.m5.4xlarge"|"ml.m5.12xlarge"|"ml.m5.24xlarge"|"ml.c4.xlarge"|"ml.c4.2xlarge"|"ml.c4.4xlarge"|"ml.c4.8xlarge"|"ml.p2.xlarge"|"ml.p2.8xlarge"|"ml.p2.16xlarge"|"ml.p3.2xlarge"|"ml.p3.8xlarge"|"ml.p3.16xlarge"|"ml.p3dn.24xlarge"|"ml.p4d.24xlarge"|"ml.c5.xlarge"|"ml.c5.2xlarge"|"ml.c5.4xlarge"|"ml.c5.9xlarge"|"ml.c5.18xlarge"|"ml.c5n.xlarge"|"ml.c5n.2xlarge"|"ml.c5n.4xlarge"|"ml.c5n.9xlarge"|"ml.c5n.18xlarge"|"ml.g5.xlarge"|"ml.g5.2xlarge"|"ml.g5.4xlarge"|"ml.g5.8xlarge"|"ml.g5.16xlarge"|"ml.g5.12xlarge"|"ml.g5.24xlarge"|"ml.g5.48xlarge"|"ml.trn1.2xlarge"|"ml.trn1.32xlarge"|"ml.trn1n.32xlarge"|string;
|
20836
|
+
export type TrainingInstanceType = "ml.m4.xlarge"|"ml.m4.2xlarge"|"ml.m4.4xlarge"|"ml.m4.10xlarge"|"ml.m4.16xlarge"|"ml.g4dn.xlarge"|"ml.g4dn.2xlarge"|"ml.g4dn.4xlarge"|"ml.g4dn.8xlarge"|"ml.g4dn.12xlarge"|"ml.g4dn.16xlarge"|"ml.m5.large"|"ml.m5.xlarge"|"ml.m5.2xlarge"|"ml.m5.4xlarge"|"ml.m5.12xlarge"|"ml.m5.24xlarge"|"ml.c4.xlarge"|"ml.c4.2xlarge"|"ml.c4.4xlarge"|"ml.c4.8xlarge"|"ml.p2.xlarge"|"ml.p2.8xlarge"|"ml.p2.16xlarge"|"ml.p3.2xlarge"|"ml.p3.8xlarge"|"ml.p3.16xlarge"|"ml.p3dn.24xlarge"|"ml.p4d.24xlarge"|"ml.c5.xlarge"|"ml.c5.2xlarge"|"ml.c5.4xlarge"|"ml.c5.9xlarge"|"ml.c5.18xlarge"|"ml.c5n.xlarge"|"ml.c5n.2xlarge"|"ml.c5n.4xlarge"|"ml.c5n.9xlarge"|"ml.c5n.18xlarge"|"ml.g5.xlarge"|"ml.g5.2xlarge"|"ml.g5.4xlarge"|"ml.g5.8xlarge"|"ml.g5.16xlarge"|"ml.g5.12xlarge"|"ml.g5.24xlarge"|"ml.g5.48xlarge"|"ml.trn1.2xlarge"|"ml.trn1.32xlarge"|"ml.trn1n.32xlarge"|"ml.p5.48xlarge"|string;
|
20686
20837
|
export type TrainingInstanceTypes = TrainingInstanceType[];
|
20687
20838
|
export interface TrainingJob {
|
20688
20839
|
/**
|
@@ -22499,6 +22650,7 @@ declare namespace SageMaker {
|
|
22499
22650
|
}
|
22500
22651
|
export type UsersPerStep = number;
|
22501
22652
|
export type UtilizationMetric = number;
|
22653
|
+
export type UtilizationPercentagePerCore = number;
|
22502
22654
|
export type ValidationFraction = number;
|
22503
22655
|
export type VariantName = string;
|
22504
22656
|
export interface VariantProperty {
|