cdk-docker-image-deployment 0.0.160 → 0.0.162
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/destination.js +1 -1
- package/lib/docker-image-deployment.js +1 -1
- package/lib/source.js +1 -1
- package/node_modules/aws-sdk/CHANGELOG.md +8 -1
- package/node_modules/aws-sdk/README.md +1 -1
- package/node_modules/aws-sdk/apis/autoscaling-2011-01-01.min.json +118 -77
- package/node_modules/aws-sdk/apis/connect-2017-08-08.min.json +133 -127
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.min.json +12 -4
- package/node_modules/aws-sdk/apis/ec2-2016-11-15.waiters2.json +19 -0
- package/node_modules/aws-sdk/apis/sagemaker-2017-07-24.min.json +847 -831
- package/node_modules/aws-sdk/clients/autoscaling.d.ts +84 -26
- package/node_modules/aws-sdk/clients/connect.d.ts +13 -3
- package/node_modules/aws-sdk/clients/ec2.d.ts +118 -110
- package/node_modules/aws-sdk/clients/polly.d.ts +1 -1
- package/node_modules/aws-sdk/clients/sagemaker.d.ts +56 -39
- package/node_modules/aws-sdk/clients/sns.d.ts +3 -3
- package/node_modules/aws-sdk/dist/aws-sdk-core-react-native.js +1 -1
- package/node_modules/aws-sdk/dist/aws-sdk-react-native.js +6 -6
- package/node_modules/aws-sdk/dist/aws-sdk.js +285 -211
- package/node_modules/aws-sdk/dist/aws-sdk.min.js +97 -97
- package/node_modules/aws-sdk/lib/core.js +1 -1
- package/node_modules/aws-sdk/package.json +1 -1
- package/package.json +4 -4
|
@@ -60,11 +60,11 @@ declare class AutoScaling extends Service {
|
|
|
60
60
|
*/
|
|
61
61
|
batchPutScheduledUpdateGroupAction(callback?: (err: AWSError, data: AutoScaling.Types.BatchPutScheduledUpdateGroupActionAnswer) => void): Request<AutoScaling.Types.BatchPutScheduledUpdateGroupActionAnswer, AWSError>;
|
|
62
62
|
/**
|
|
63
|
-
* Cancels an instance refresh
|
|
63
|
+
* Cancels an instance refresh or rollback that is in progress. If an instance refresh or rollback is not in progress, an ActiveInstanceRefreshNotFound error occurs. This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes. When you cancel an instance refresh, this does not roll back any changes that it made. Use the RollbackInstanceRefresh API to roll back instead.
|
|
64
64
|
*/
|
|
65
65
|
cancelInstanceRefresh(params: AutoScaling.Types.CancelInstanceRefreshType, callback?: (err: AWSError, data: AutoScaling.Types.CancelInstanceRefreshAnswer) => void): Request<AutoScaling.Types.CancelInstanceRefreshAnswer, AWSError>;
|
|
66
66
|
/**
|
|
67
|
-
* Cancels an instance refresh
|
|
67
|
+
* Cancels an instance refresh or rollback that is in progress. If an instance refresh or rollback is not in progress, an ActiveInstanceRefreshNotFound error occurs. This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes. When you cancel an instance refresh, this does not roll back any changes that it made. Use the RollbackInstanceRefresh API to roll back instead.
|
|
68
68
|
*/
|
|
69
69
|
cancelInstanceRefresh(callback?: (err: AWSError, data: AutoScaling.Types.CancelInstanceRefreshAnswer) => void): Request<AutoScaling.Types.CancelInstanceRefreshAnswer, AWSError>;
|
|
70
70
|
/**
|
|
@@ -192,11 +192,11 @@ declare class AutoScaling extends Service {
|
|
|
192
192
|
*/
|
|
193
193
|
describeAutoScalingNotificationTypes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeAutoScalingNotificationTypesAnswer) => void): Request<AutoScaling.Types.DescribeAutoScalingNotificationTypesAnswer, AWSError>;
|
|
194
194
|
/**
|
|
195
|
-
* Gets information about the instance refreshes for the specified Auto Scaling group. This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes. To help you determine the status of an instance refresh,
|
|
195
|
+
* Gets information about the instance refreshes for the specified Auto Scaling group. This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes. To help you determine the status of an instance refresh, Amazon EC2 Auto Scaling returns information about the instance refreshes you previously initiated, including their status, start time, end time, the percentage of the instance refresh that is complete, and the number of instances remaining to update before the instance refresh is complete. If a rollback is initiated while an instance refresh is in progress, Amazon EC2 Auto Scaling also returns information about the rollback of the instance refresh.
|
|
196
196
|
*/
|
|
197
197
|
describeInstanceRefreshes(params: AutoScaling.Types.DescribeInstanceRefreshesType, callback?: (err: AWSError, data: AutoScaling.Types.DescribeInstanceRefreshesAnswer) => void): Request<AutoScaling.Types.DescribeInstanceRefreshesAnswer, AWSError>;
|
|
198
198
|
/**
|
|
199
|
-
* Gets information about the instance refreshes for the specified Auto Scaling group. This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes. To help you determine the status of an instance refresh,
|
|
199
|
+
* Gets information about the instance refreshes for the specified Auto Scaling group. This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes. To help you determine the status of an instance refresh, Amazon EC2 Auto Scaling returns information about the instance refreshes you previously initiated, including their status, start time, end time, the percentage of the instance refresh that is complete, and the number of instances remaining to update before the instance refresh is complete. If a rollback is initiated while an instance refresh is in progress, Amazon EC2 Auto Scaling also returns information about the rollback of the instance refresh.
|
|
200
200
|
*/
|
|
201
201
|
describeInstanceRefreshes(callback?: (err: AWSError, data: AutoScaling.Types.DescribeInstanceRefreshesAnswer) => void): Request<AutoScaling.Types.DescribeInstanceRefreshesAnswer, AWSError>;
|
|
202
202
|
/**
|
|
@@ -439,6 +439,14 @@ declare class AutoScaling extends Service {
|
|
|
439
439
|
* Resumes the specified suspended auto scaling processes, or all suspended process, for the specified Auto Scaling group. For more information, see Suspending and resuming scaling processes in the Amazon EC2 Auto Scaling User Guide.
|
|
440
440
|
*/
|
|
441
441
|
resumeProcesses(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
442
|
+
/**
|
|
443
|
+
* Cancels an instance refresh that is in progress and rolls back any changes that it made. Amazon EC2 Auto Scaling replaces any instances that were replaced during the instance refresh. This restores your Auto Scaling group to the configuration that it was using before the start of the instance refresh. This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes. A rollback is not supported in the following situations: There is no desired configuration specified for the instance refresh. The Auto Scaling group has a launch template that uses an Amazon Web Services Systems Manager parameter instead of an AMI ID for the ImageId property. The Auto Scaling group uses the launch template's $Latest or $Default version. When you receive a successful response from this operation, Amazon EC2 Auto Scaling immediately begins replacing instances. You can check the status of this operation through the DescribeInstanceRefreshes API operation.
|
|
444
|
+
*/
|
|
445
|
+
rollbackInstanceRefresh(params: AutoScaling.Types.RollbackInstanceRefreshType, callback?: (err: AWSError, data: AutoScaling.Types.RollbackInstanceRefreshAnswer) => void): Request<AutoScaling.Types.RollbackInstanceRefreshAnswer, AWSError>;
|
|
446
|
+
/**
|
|
447
|
+
* Cancels an instance refresh that is in progress and rolls back any changes that it made. Amazon EC2 Auto Scaling replaces any instances that were replaced during the instance refresh. This restores your Auto Scaling group to the configuration that it was using before the start of the instance refresh. This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group after you make configuration changes. A rollback is not supported in the following situations: There is no desired configuration specified for the instance refresh. The Auto Scaling group has a launch template that uses an Amazon Web Services Systems Manager parameter instead of an AMI ID for the ImageId property. The Auto Scaling group uses the launch template's $Latest or $Default version. When you receive a successful response from this operation, Amazon EC2 Auto Scaling immediately begins replacing instances. You can check the status of this operation through the DescribeInstanceRefreshes API operation.
|
|
448
|
+
*/
|
|
449
|
+
rollbackInstanceRefresh(callback?: (err: AWSError, data: AutoScaling.Types.RollbackInstanceRefreshAnswer) => void): Request<AutoScaling.Types.RollbackInstanceRefreshAnswer, AWSError>;
|
|
442
450
|
/**
|
|
443
451
|
* Sets the size of the specified Auto Scaling group. If a scale-in activity occurs as a result of a new DesiredCapacity value that is lower than the current size of the group, the Auto Scaling group uses its termination policy to determine which instances to terminate. For more information, see Manual scaling in the Amazon EC2 Auto Scaling User Guide.
|
|
444
452
|
*/
|
|
@@ -464,11 +472,11 @@ declare class AutoScaling extends Service {
|
|
|
464
472
|
*/
|
|
465
473
|
setInstanceProtection(callback?: (err: AWSError, data: AutoScaling.Types.SetInstanceProtectionAnswer) => void): Request<AutoScaling.Types.SetInstanceProtectionAnswer, AWSError>;
|
|
466
474
|
/**
|
|
467
|
-
* Starts
|
|
475
|
+
* Starts an instance refresh. During an instance refresh, Amazon EC2 Auto Scaling performs a rolling update of instances in an Auto Scaling group. Instances are terminated first and then replaced, which temporarily reduces the capacity available within your Auto Scaling group. This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group. This feature is helpful, for example, when you have a new AMI or a new user data script. You just need to create a new launch template that specifies the new AMI or user data script. Then start an instance refresh to immediately begin the process of updating instances in the group. If successful, the request's response contains a unique ID that you can use to track the progress of the instance refresh. To query its status, call the DescribeInstanceRefreshes API. To describe the instance refreshes that have already run, call the DescribeInstanceRefreshes API. To cancel an instance refresh that is in progress, use the CancelInstanceRefresh API. An instance refresh might fail for several reasons, such as EC2 launch failures, misconfigured health checks, or not ignoring or allowing the termination of instances that are in Standby state or protected from scale in. You can monitor for failed EC2 launches using the scaling activities. To find the scaling activities, call the DescribeScalingActivities API. If you enable auto rollback, your Auto Scaling group will be rolled back automatically when the instance refresh fails. You can enable this feature before starting an instance refresh by specifying the AutoRollback property in the instance refresh preferences. Otherwise, to roll back an instance refresh before it finishes, use the RollbackInstanceRefresh API.
|
|
468
476
|
*/
|
|
469
477
|
startInstanceRefresh(params: AutoScaling.Types.StartInstanceRefreshType, callback?: (err: AWSError, data: AutoScaling.Types.StartInstanceRefreshAnswer) => void): Request<AutoScaling.Types.StartInstanceRefreshAnswer, AWSError>;
|
|
470
478
|
/**
|
|
471
|
-
* Starts
|
|
479
|
+
* Starts an instance refresh. During an instance refresh, Amazon EC2 Auto Scaling performs a rolling update of instances in an Auto Scaling group. Instances are terminated first and then replaced, which temporarily reduces the capacity available within your Auto Scaling group. This operation is part of the instance refresh feature in Amazon EC2 Auto Scaling, which helps you update instances in your Auto Scaling group. This feature is helpful, for example, when you have a new AMI or a new user data script. You just need to create a new launch template that specifies the new AMI or user data script. Then start an instance refresh to immediately begin the process of updating instances in the group. If successful, the request's response contains a unique ID that you can use to track the progress of the instance refresh. To query its status, call the DescribeInstanceRefreshes API. To describe the instance refreshes that have already run, call the DescribeInstanceRefreshes API. To cancel an instance refresh that is in progress, use the CancelInstanceRefresh API. An instance refresh might fail for several reasons, such as EC2 launch failures, misconfigured health checks, or not ignoring or allowing the termination of instances that are in Standby state or protected from scale in. You can monitor for failed EC2 launches using the scaling activities. To find the scaling activities, call the DescribeScalingActivities API. If you enable auto rollback, your Auto Scaling group will be rolled back automatically when the instance refresh fails. You can enable this feature before starting an instance refresh by specifying the AutoRollback property in the instance refresh preferences. Otherwise, to roll back an instance refresh before it finishes, use the RollbackInstanceRefresh API.
|
|
472
480
|
*/
|
|
473
481
|
startInstanceRefresh(callback?: (err: AWSError, data: AutoScaling.Types.StartInstanceRefreshAnswer) => void): Request<AutoScaling.Types.StartInstanceRefreshAnswer, AWSError>;
|
|
474
482
|
/**
|
|
@@ -659,6 +667,7 @@ declare namespace AutoScaling {
|
|
|
659
667
|
*/
|
|
660
668
|
TrafficSources: TrafficSources;
|
|
661
669
|
}
|
|
670
|
+
export type AutoRollback = boolean;
|
|
662
671
|
export interface AutoScalingGroup {
|
|
663
672
|
/**
|
|
664
673
|
* The name of the Auto Scaling group.
|
|
@@ -793,7 +802,7 @@ declare namespace AutoScaling {
|
|
|
793
802
|
*/
|
|
794
803
|
DefaultInstanceWarmup?: DefaultInstanceWarmup;
|
|
795
804
|
/**
|
|
796
|
-
* The unique identifiers of the traffic sources.
|
|
805
|
+
* Reserved for use with Amazon VPC Lattice, which is in preview release and is subject to change. Do not use this parameter for production workloads. It is also subject to change. The unique identifiers of the traffic sources.
|
|
797
806
|
*/
|
|
798
807
|
TrafficSources?: TrafficSources;
|
|
799
808
|
}
|
|
@@ -958,7 +967,7 @@ declare namespace AutoScaling {
|
|
|
958
967
|
export type BurstablePerformance = "included"|"excluded"|"required"|string;
|
|
959
968
|
export interface CancelInstanceRefreshAnswer {
|
|
960
969
|
/**
|
|
961
|
-
* The instance refresh ID.
|
|
970
|
+
* The instance refresh ID associated with the request. This is the unique ID assigned to the instance refresh when it was started.
|
|
962
971
|
*/
|
|
963
972
|
InstanceRefreshId?: XmlStringMaxLen255;
|
|
964
973
|
}
|
|
@@ -1112,7 +1121,7 @@ declare namespace AutoScaling {
|
|
|
1112
1121
|
*/
|
|
1113
1122
|
DesiredCapacityType?: XmlStringMaxLen255;
|
|
1114
1123
|
/**
|
|
1115
|
-
* The amount of time, in seconds, until a
|
|
1124
|
+
* The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the InService state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see Set the default instance warmup for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, even if it is set to 0 seconds. To remove a value that you previously set, include the property but specify -1 for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of 0 or other nominal value. Default: None
|
|
1116
1125
|
*/
|
|
1117
1126
|
DefaultInstanceWarmup?: DefaultInstanceWarmup;
|
|
1118
1127
|
/**
|
|
@@ -1950,11 +1959,11 @@ declare namespace AutoScaling {
|
|
|
1950
1959
|
*/
|
|
1951
1960
|
AutoScalingGroupName?: XmlStringMaxLen255;
|
|
1952
1961
|
/**
|
|
1953
|
-
* The current status for the instance refresh operation: Pending - The request was created, but the
|
|
1962
|
+
* The current status for the instance refresh operation: Pending - The request was created, but the instance refresh has not started. InProgress - An instance refresh is in progress. Successful - An instance refresh completed successfully. Failed - An instance refresh failed to complete. You can troubleshoot using the status reason and the scaling activities. Cancelling - An ongoing instance refresh is being cancelled. Cancelled - The instance refresh is cancelled. RollbackInProgress - An instance refresh is being rolled back. RollbackFailed - The rollback failed to complete. You can troubleshoot using the status reason and the scaling activities. RollbackSuccessful - The rollback completed successfully.
|
|
1954
1963
|
*/
|
|
1955
1964
|
Status?: InstanceRefreshStatus;
|
|
1956
1965
|
/**
|
|
1957
|
-
*
|
|
1966
|
+
* The explanation for the specific status assigned to this operation.
|
|
1958
1967
|
*/
|
|
1959
1968
|
StatusReason?: XmlStringMaxLen1023;
|
|
1960
1969
|
/**
|
|
@@ -1966,11 +1975,11 @@ declare namespace AutoScaling {
|
|
|
1966
1975
|
*/
|
|
1967
1976
|
EndTime?: TimestampType;
|
|
1968
1977
|
/**
|
|
1969
|
-
* The percentage of the instance refresh that is complete. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.
|
|
1978
|
+
* The percentage of the instance refresh that is complete. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete. PercentageComplete does not include instances that are replaced during a rollback. This value gradually goes back down to zero during a rollback.
|
|
1970
1979
|
*/
|
|
1971
1980
|
PercentageComplete?: IntPercent;
|
|
1972
1981
|
/**
|
|
1973
|
-
* The number of instances remaining to update before the instance refresh is complete.
|
|
1982
|
+
* The number of instances remaining to update before the instance refresh is complete. If you roll back the instance refresh, InstancesToUpdate shows you the number of instances that were not yet updated by the instance refresh. Therefore, these instances don't need to be replaced as part of the rollback.
|
|
1974
1983
|
*/
|
|
1975
1984
|
InstancesToUpdate?: InstancesToUpdate;
|
|
1976
1985
|
/**
|
|
@@ -1979,9 +1988,13 @@ declare namespace AutoScaling {
|
|
|
1979
1988
|
ProgressDetails?: InstanceRefreshProgressDetails;
|
|
1980
1989
|
Preferences?: RefreshPreferences;
|
|
1981
1990
|
/**
|
|
1982
|
-
* Describes the
|
|
1991
|
+
* Describes the desired configuration for the instance refresh.
|
|
1983
1992
|
*/
|
|
1984
1993
|
DesiredConfiguration?: DesiredConfiguration;
|
|
1994
|
+
/**
|
|
1995
|
+
* The rollback details.
|
|
1996
|
+
*/
|
|
1997
|
+
RollbackDetails?: RollbackDetails;
|
|
1985
1998
|
}
|
|
1986
1999
|
export type InstanceRefreshIds = XmlStringMaxLen255[];
|
|
1987
2000
|
export interface InstanceRefreshLivePoolProgress {
|
|
@@ -1996,15 +2009,15 @@ declare namespace AutoScaling {
|
|
|
1996
2009
|
}
|
|
1997
2010
|
export interface InstanceRefreshProgressDetails {
|
|
1998
2011
|
/**
|
|
1999
|
-
*
|
|
2012
|
+
* Reports progress on replacing instances that are in the Auto Scaling group.
|
|
2000
2013
|
*/
|
|
2001
2014
|
LivePoolProgress?: InstanceRefreshLivePoolProgress;
|
|
2002
2015
|
/**
|
|
2003
|
-
*
|
|
2016
|
+
* Reports progress on replacing instances that are in the warm pool.
|
|
2004
2017
|
*/
|
|
2005
2018
|
WarmPoolProgress?: InstanceRefreshWarmPoolProgress;
|
|
2006
2019
|
}
|
|
2007
|
-
export type InstanceRefreshStatus = "Pending"|"InProgress"|"Successful"|"Failed"|"Cancelling"|"Cancelled"|string;
|
|
2020
|
+
export type InstanceRefreshStatus = "Pending"|"InProgress"|"Successful"|"Failed"|"Cancelling"|"Cancelled"|"RollbackInProgress"|"RollbackFailed"|"RollbackSuccessful"|string;
|
|
2008
2021
|
export interface InstanceRefreshWarmPoolProgress {
|
|
2009
2022
|
/**
|
|
2010
2023
|
* The percentage of instances in the warm pool that have been replaced. For each instance replacement, Amazon EC2 Auto Scaling tracks the instance's health status and warm-up time. When the instance's health status changes to healthy and the specified warm-up time passes, the instance is considered updated and is added to the percentage complete.
|
|
@@ -2949,26 +2962,70 @@ declare namespace AutoScaling {
|
|
|
2949
2962
|
*/
|
|
2950
2963
|
MinHealthyPercentage?: IntPercent;
|
|
2951
2964
|
/**
|
|
2952
|
-
*
|
|
2965
|
+
* A time period, in seconds, during which an instance refresh waits before moving on to replacing the next instance after a new instance enters the InService state. This property is not required for normal usage. Instead, use the DefaultInstanceWarmup property of the Auto Scaling group. The InstanceWarmup and DefaultInstanceWarmup properties work the same way. Only specify this property if you must override the DefaultInstanceWarmup property. If you do not specify this property, the instance warmup by default is the value of the DefaultInstanceWarmup property, if defined (which is recommended in all cases), or the HealthCheckGracePeriod property otherwise.
|
|
2953
2966
|
*/
|
|
2954
2967
|
InstanceWarmup?: RefreshInstanceWarmup;
|
|
2955
2968
|
/**
|
|
2956
|
-
* Threshold values for each checkpoint in ascending order. Each number must be unique. To replace all instances in the Auto Scaling group, the last number in the array must be 100. For usage examples, see Adding checkpoints to an instance refresh in the Amazon EC2 Auto Scaling User Guide.
|
|
2969
|
+
* (Optional) Threshold values for each checkpoint in ascending order. Each number must be unique. To replace all instances in the Auto Scaling group, the last number in the array must be 100. For usage examples, see Adding checkpoints to an instance refresh in the Amazon EC2 Auto Scaling User Guide.
|
|
2957
2970
|
*/
|
|
2958
2971
|
CheckpointPercentages?: CheckpointPercentages;
|
|
2959
2972
|
/**
|
|
2960
|
-
* The amount of time, in seconds, to wait after a checkpoint before continuing. This property is optional, but if you specify a value for it, you must also specify a value for CheckpointPercentages. If you specify a value for CheckpointPercentages and not for CheckpointDelay, the CheckpointDelay defaults to 3600 (1 hour).
|
|
2973
|
+
* (Optional) The amount of time, in seconds, to wait after a checkpoint before continuing. This property is optional, but if you specify a value for it, you must also specify a value for CheckpointPercentages. If you specify a value for CheckpointPercentages and not for CheckpointDelay, the CheckpointDelay defaults to 3600 (1 hour).
|
|
2961
2974
|
*/
|
|
2962
2975
|
CheckpointDelay?: CheckpointDelay;
|
|
2963
2976
|
/**
|
|
2964
|
-
*
|
|
2977
|
+
* (Optional) Indicates whether skip matching is enabled. If enabled (true), then Amazon EC2 Auto Scaling skips replacing instances that match the desired configuration. If no desired configuration is specified, then it skips replacing instances that have the same launch template and instance types that the Auto Scaling group was using before the start of the instance refresh. The default is false. For more information, see Use an instance refresh with skip matching in the Amazon EC2 Auto Scaling User Guide.
|
|
2965
2978
|
*/
|
|
2966
2979
|
SkipMatching?: SkipMatching;
|
|
2980
|
+
/**
|
|
2981
|
+
* (Optional) Indicates whether to roll back the Auto Scaling group to its previous configuration if the instance refresh fails. The default is false. A rollback is not supported in the following situations: There is no desired configuration specified for the instance refresh. The Auto Scaling group has a launch template that uses an Amazon Web Services Systems Manager parameter instead of an AMI ID for the ImageId property. The Auto Scaling group uses the launch template's $Latest or $Default version.
|
|
2982
|
+
*/
|
|
2983
|
+
AutoRollback?: AutoRollback;
|
|
2984
|
+
/**
|
|
2985
|
+
* Choose the behavior that you want Amazon EC2 Auto Scaling to use if instances protected from scale in are found. The following lists the valid values: Refresh Amazon EC2 Auto Scaling replaces instances that are protected from scale in. Ignore Amazon EC2 Auto Scaling ignores instances that are protected from scale in and continues to replace instances that are not protected. Wait (default) Amazon EC2 Auto Scaling waits one hour for you to remove scale-in protection. Otherwise, the instance refresh will fail.
|
|
2986
|
+
*/
|
|
2987
|
+
ScaleInProtectedInstances?: ScaleInProtectedInstances;
|
|
2988
|
+
/**
|
|
2989
|
+
* Choose the behavior that you want Amazon EC2 Auto Scaling to use if instances in Standby state are found. The following lists the valid values: Terminate Amazon EC2 Auto Scaling terminates instances that are in Standby. Ignore Amazon EC2 Auto Scaling ignores instances that are in Standby and continues to replace instances that are in the InService state. Wait (default) Amazon EC2 Auto Scaling waits one hour for you to return the instances to service. Otherwise, the instance refresh will fail.
|
|
2990
|
+
*/
|
|
2991
|
+
StandbyInstances?: StandbyInstances;
|
|
2967
2992
|
}
|
|
2968
2993
|
export type RefreshStrategy = "Rolling"|string;
|
|
2969
2994
|
export type ResourceName = string;
|
|
2970
2995
|
export type ReturnData = boolean;
|
|
2971
2996
|
export type ReuseOnScaleIn = boolean;
|
|
2997
|
+
export interface RollbackDetails {
|
|
2998
|
+
/**
|
|
2999
|
+
* The reason for this instance refresh rollback (for example, whether a manual or automatic rollback was initiated).
|
|
3000
|
+
*/
|
|
3001
|
+
RollbackReason?: XmlStringMaxLen1023;
|
|
3002
|
+
/**
|
|
3003
|
+
* The date and time at which the rollback began.
|
|
3004
|
+
*/
|
|
3005
|
+
RollbackStartTime?: TimestampType;
|
|
3006
|
+
/**
|
|
3007
|
+
* Indicates the value of PercentageComplete at the time the rollback started.
|
|
3008
|
+
*/
|
|
3009
|
+
PercentageCompleteOnRollback?: IntPercent;
|
|
3010
|
+
/**
|
|
3011
|
+
* Indicates the value of InstancesToUpdate at the time the rollback started.
|
|
3012
|
+
*/
|
|
3013
|
+
InstancesToUpdateOnRollback?: InstancesToUpdate;
|
|
3014
|
+
ProgressDetailsOnRollback?: InstanceRefreshProgressDetails;
|
|
3015
|
+
}
|
|
3016
|
+
export interface RollbackInstanceRefreshAnswer {
|
|
3017
|
+
/**
|
|
3018
|
+
* The instance refresh ID associated with the request. This is the unique ID assigned to the instance refresh when it was started.
|
|
3019
|
+
*/
|
|
3020
|
+
InstanceRefreshId?: XmlStringMaxLen255;
|
|
3021
|
+
}
|
|
3022
|
+
export interface RollbackInstanceRefreshType {
|
|
3023
|
+
/**
|
|
3024
|
+
* The name of the Auto Scaling group.
|
|
3025
|
+
*/
|
|
3026
|
+
AutoScalingGroupName?: XmlStringMaxLen255;
|
|
3027
|
+
}
|
|
3028
|
+
export type ScaleInProtectedInstances = "Refresh"|"Ignore"|"Wait"|string;
|
|
2972
3029
|
export type ScalingActivityStatusCode = "PendingSpotBidPlacement"|"WaitingForSpotInstanceRequestId"|"WaitingForSpotInstanceId"|"WaitingForInstanceId"|"PreInService"|"InProgress"|"WaitingForELBConnectionDraining"|"MidLifecycleAction"|"WaitingForInstanceWarmup"|"Successful"|"Failed"|"Cancelled"|string;
|
|
2973
3030
|
export type ScalingPolicies = ScalingPolicy[];
|
|
2974
3031
|
export interface ScalingPolicy {
|
|
@@ -3191,9 +3248,10 @@ declare namespace AutoScaling {
|
|
|
3191
3248
|
export type SkipMatching = boolean;
|
|
3192
3249
|
export type SpotInstancePools = number;
|
|
3193
3250
|
export type SpotPrice = string;
|
|
3251
|
+
export type StandbyInstances = "Terminate"|"Ignore"|"Wait"|string;
|
|
3194
3252
|
export interface StartInstanceRefreshAnswer {
|
|
3195
3253
|
/**
|
|
3196
|
-
* A unique ID for tracking the progress of the
|
|
3254
|
+
* A unique ID for tracking the progress of the instance refresh.
|
|
3197
3255
|
*/
|
|
3198
3256
|
InstanceRefreshId?: XmlStringMaxLen255;
|
|
3199
3257
|
}
|
|
@@ -3203,15 +3261,15 @@ declare namespace AutoScaling {
|
|
|
3203
3261
|
*/
|
|
3204
3262
|
AutoScalingGroupName: XmlStringMaxLen255;
|
|
3205
3263
|
/**
|
|
3206
|
-
* The strategy to use for the instance refresh. The only valid value is Rolling.
|
|
3264
|
+
* The strategy to use for the instance refresh. The only valid value is Rolling.
|
|
3207
3265
|
*/
|
|
3208
3266
|
Strategy?: RefreshStrategy;
|
|
3209
3267
|
/**
|
|
3210
|
-
* The desired configuration. For example, the desired configuration can specify a new launch template or a new version of the current launch template. Once the instance refresh succeeds, Amazon EC2 Auto Scaling updates the settings of the Auto Scaling group to reflect the new desired configuration. When you specify a new launch template or a new version of the current launch template for your desired configuration, consider enabling the SkipMatching property in preferences. If it's enabled, Amazon EC2 Auto Scaling skips replacing instances that already use the specified launch template and
|
|
3268
|
+
* The desired configuration. For example, the desired configuration can specify a new launch template or a new version of the current launch template. Once the instance refresh succeeds, Amazon EC2 Auto Scaling updates the settings of the Auto Scaling group to reflect the new desired configuration. When you specify a new launch template or a new version of the current launch template for your desired configuration, consider enabling the SkipMatching property in preferences. If it's enabled, Amazon EC2 Auto Scaling skips replacing instances that already use the specified launch template and instance types. This can help you reduce the number of replacements that are required to apply updates.
|
|
3211
3269
|
*/
|
|
3212
3270
|
DesiredConfiguration?: DesiredConfiguration;
|
|
3213
3271
|
/**
|
|
3214
|
-
*
|
|
3272
|
+
* Sets your preferences for the instance refresh so that it performs as expected when you start it. Includes the instance warmup time, the minimum healthy percentage, and the behaviors that you want Amazon EC2 Auto Scaling to use if instances that are in Standby state or protected from scale in are found. You can also choose to enable additional features, such as the following: Auto rollback Checkpoints Skip matching
|
|
3215
3273
|
*/
|
|
3216
3274
|
Preferences?: RefreshPreferences;
|
|
3217
3275
|
}
|
|
@@ -3474,7 +3532,7 @@ declare namespace AutoScaling {
|
|
|
3474
3532
|
*/
|
|
3475
3533
|
DesiredCapacityType?: XmlStringMaxLen255;
|
|
3476
3534
|
/**
|
|
3477
|
-
* The amount of time, in seconds, until a
|
|
3535
|
+
* The amount of time, in seconds, until a new instance is considered to have finished initializing and resource consumption to become stable after it enters the InService state. During an instance refresh, Amazon EC2 Auto Scaling waits for the warm-up period after it replaces an instance before it moves on to replacing the next instance. Amazon EC2 Auto Scaling also waits for the warm-up period before aggregating the metrics for new instances with existing instances in the Amazon CloudWatch metrics that are used for scaling, resulting in more reliable usage data. For more information, see Set the default instance warmup for an Auto Scaling group in the Amazon EC2 Auto Scaling User Guide. To manage various warm-up settings at the group level, we recommend that you set the default instance warmup, even if it is set to 0 seconds. To remove a value that you previously set, include the property but specify -1 for the value. However, we strongly recommend keeping the default instance warmup enabled by specifying a value of 0 or other nominal value.
|
|
3478
3536
|
*/
|
|
3479
3537
|
DefaultInstanceWarmup?: DefaultInstanceWarmup;
|
|
3480
3538
|
}
|
|
@@ -52,11 +52,11 @@ declare class Connect extends Service {
|
|
|
52
52
|
*/
|
|
53
53
|
associateLambdaFunction(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
54
54
|
/**
|
|
55
|
-
* This API is in preview release for Amazon Connect and is subject to change. Allows the specified Amazon Connect instance to access the specified Amazon Lex bot.
|
|
55
|
+
* This API is in preview release for Amazon Connect and is subject to change. Allows the specified Amazon Connect instance to access the specified Amazon Lex V1 bot. This API only supports the association of Amazon Lex V1 bots.
|
|
56
56
|
*/
|
|
57
57
|
associateLexBot(params: Connect.Types.AssociateLexBotRequest, callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
58
58
|
/**
|
|
59
|
-
* This API is in preview release for Amazon Connect and is subject to change. Allows the specified Amazon Connect instance to access the specified Amazon Lex bot.
|
|
59
|
+
* This API is in preview release for Amazon Connect and is subject to change. Allows the specified Amazon Connect instance to access the specified Amazon Lex V1 bot. This API only supports the association of Amazon Lex V1 bots.
|
|
60
60
|
*/
|
|
61
61
|
associateLexBot(callback?: (err: AWSError, data: {}) => void): Request<{}, AWSError>;
|
|
62
62
|
/**
|
|
@@ -1857,6 +1857,10 @@ declare namespace Connect {
|
|
|
1857
1857
|
* The contactId that is related to this contact.
|
|
1858
1858
|
*/
|
|
1859
1859
|
RelatedContactId?: ContactId;
|
|
1860
|
+
/**
|
|
1861
|
+
* Information about Amazon Connect Wisdom.
|
|
1862
|
+
*/
|
|
1863
|
+
WisdomInfo?: WisdomInfo;
|
|
1860
1864
|
}
|
|
1861
1865
|
export interface ContactFilter {
|
|
1862
1866
|
/**
|
|
@@ -2321,7 +2325,7 @@ declare namespace Connect {
|
|
|
2321
2325
|
*/
|
|
2322
2326
|
DefaultOutboundQueueId: QueueId;
|
|
2323
2327
|
/**
|
|
2324
|
-
* The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound calls.
|
|
2328
|
+
* The inbound queues associated with the routing profile. If no queue is added, the agent can make only outbound calls. The limit of 10 array members applies to the maximum number of RoutingProfileQueueConfig objects that can be passed during a CreateRoutingProfile API request. It is different from the quota of 50 queues per routing profile per instance that is listed in Amazon Connect service quotas.
|
|
2325
2329
|
*/
|
|
2326
2330
|
QueueConfigs?: RoutingProfileQueueConfigList;
|
|
2327
2331
|
/**
|
|
@@ -7815,6 +7819,12 @@ declare namespace Connect {
|
|
|
7815
7819
|
VoiceRecordingTrack?: VoiceRecordingTrack;
|
|
7816
7820
|
}
|
|
7817
7821
|
export type VoiceRecordingTrack = "FROM_AGENT"|"TO_AGENT"|"ALL"|string;
|
|
7822
|
+
export interface WisdomInfo {
|
|
7823
|
+
/**
|
|
7824
|
+
* The Amazon Resource Name (ARN) of the Wisdom session.
|
|
7825
|
+
*/
|
|
7826
|
+
SessionArn?: ARN;
|
|
7827
|
+
}
|
|
7818
7828
|
export type timestamp = Date;
|
|
7819
7829
|
/**
|
|
7820
7830
|
* A string in YYYY-MM-DD format that represents the latest possible API version that can be used in this service. Specify 'latest' to use the latest possible version.
|