Skip to content

Commit 3e81a58

Browse files
author
awstools
committed
Updates SDK to v2.707.0
1 parent f103d9a commit 3e81a58

24 files changed

+6021
-1434
lines changed

.changes/2.707.0.json

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
[
2+
{
3+
"type": "feature",
4+
"category": "CodeGuruProfiler",
5+
"description": "Amazon CodeGuru Profiler is now generally available. The Profiler helps developers to optimize their software, troubleshoot issues in production, and identify their most expensive lines of code. As part of general availability, we are launching: Profiling of AWS Lambda functions, Anomaly detection in CPU profiles, Color My Code on flame graphs, Expanding presence to 10 AWS regions."
6+
},
7+
{
8+
"type": "feature",
9+
"category": "CodeStarconnections",
10+
"description": "Updated and new APIs in support of hosts for connections to installed provider types. New integration with the GitHub Enterprise Server provider type."
11+
},
12+
{
13+
"type": "feature",
14+
"category": "EC2",
15+
"description": "Virtual Private Cloud (VPC) customers can now create and manage their own Prefix Lists to simplify VPC configurations."
16+
}
17+
]

CHANGELOG.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
# Changelog for AWS SDK for JavaScript
2-
<!--LATEST=2.706.0-->
2+
<!--LATEST=2.707.0-->
33
<!--ENTRYINSERT-->
44

5+
## 2.707.0
6+
* feature: CodeGuruProfiler: Amazon CodeGuru Profiler is now generally available. The Profiler helps developers to optimize their software, troubleshoot issues in production, and identify their most expensive lines of code. As part of general availability, we are launching: Profiling of AWS Lambda functions, Anomaly detection in CPU profiles, Color My Code on flame graphs, Expanding presence to 10 AWS regions.
7+
* feature: CodeStarconnections: Updated and new APIs in support of hosts for connections to installed provider types. New integration with the GitHub Enterprise Server provider type.
8+
* feature: EC2: Virtual Private Cloud (VPC) customers can now create and manage their own Prefix Lists to simplify VPC configurations.
9+
510
## 2.706.0
611
* feature: CloudFormation: ListStackInstances and DescribeStackInstance now return a new `StackInstanceStatus` object that contains `DetailedStatus` values: a disambiguation of the more generic `Status` value. ListStackInstances output can now be filtered on `DetailedStatus` using the new `Filters` parameter.
712
* feature: CognitoIdentityServiceProvider: Don't require Authorization for InitiateAuth and RespondToAuthChallenge.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ version.
2525
To use the SDK in the browser, simply add the following script tag to your
2626
HTML pages:
2727

28-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.706.0.min.js"></script>
28+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.707.0.min.js"></script>
2929

3030
You can also build a custom browser SDK with your specified set of AWS services.
3131
This can allow you to reduce the SDK's size, specify different API versions of

apis/autoscaling-2011-01-01.examples.json

Lines changed: 129 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,25 @@
5858
"title": "To attach a load balancer to an Auto Scaling group"
5959
}
6060
],
61+
"CancelInstanceRefresh": [
62+
{
63+
"input": {
64+
"AutoScalingGroupName": "my-auto-scaling-group"
65+
},
66+
"output": {
67+
"InstanceRefreshId": "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b"
68+
},
69+
"comments": {
70+
"input": {
71+
},
72+
"output": {
73+
}
74+
},
75+
"description": "This example cancels an instance refresh operation in progress.",
76+
"id": "to-cancel-an-instance-refresh-1592960979817",
77+
"title": "To cancel an instance refresh"
78+
}
79+
],
6180
"CompleteLifecycleAction": [
6281
{
6382
"input": {
@@ -81,10 +100,14 @@
81100
{
82101
"input": {
83102
"AutoScalingGroupName": "my-auto-scaling-group",
84-
"LaunchConfigurationName": "my-launch-config",
103+
"LaunchTemplate": {
104+
"LaunchTemplateId": "lt-0a20c965061f64abc",
105+
"Version": "$Latest"
106+
},
107+
"MaxInstanceLifetime": 2592000,
85108
"MaxSize": 3,
86109
"MinSize": 1,
87-
"VPCZoneIdentifier": "subnet-4176792c"
110+
"VPCZoneIdentifier": "subnet-057fa0918fEXAMPLE"
88111
},
89112
"comments": {
90113
"input": {
@@ -99,50 +122,50 @@
99122
{
100123
"input": {
101124
"AutoScalingGroupName": "my-auto-scaling-group",
102-
"AvailabilityZones": [
103-
"us-west-2c"
104-
],
105125
"HealthCheckGracePeriod": 120,
106126
"HealthCheckType": "ELB",
107127
"LaunchConfigurationName": "my-launch-config",
108-
"LoadBalancerNames": [
109-
"my-load-balancer"
110-
],
111128
"MaxSize": 3,
112-
"MinSize": 1
129+
"MinSize": 1,
130+
"TargetGroupARNs": [
131+
"arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
132+
],
133+
"VPCZoneIdentifier": "subnet-057fa0918fEXAMPLE, subnet-610acd08EXAMPLE"
113134
},
114135
"comments": {
115136
"input": {
116137
},
117138
"output": {
118139
}
119140
},
120-
"description": "This example creates an Auto Scaling group and attaches the specified Classic Load Balancer.",
141+
"description": "This example creates an Auto Scaling group and attaches the specified target group.",
121142
"id": "autoscaling-create-auto-scaling-group-2",
122-
"title": "To create an Auto Scaling group with an attached load balancer"
143+
"title": "To create an Auto Scaling group with an attached target group"
123144
},
124145
{
125146
"input": {
126147
"AutoScalingGroupName": "my-auto-scaling-group",
148+
"AvailabilityZones": [
149+
"us-west-2c"
150+
],
127151
"HealthCheckGracePeriod": 120,
128152
"HealthCheckType": "ELB",
129153
"LaunchConfigurationName": "my-launch-config",
130-
"MaxSize": 3,
131-
"MinSize": 1,
132-
"TargetGroupARNs": [
133-
"arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
154+
"LoadBalancerNames": [
155+
"my-load-balancer"
134156
],
135-
"VPCZoneIdentifier": "subnet-4176792c, subnet-65ea5f08"
157+
"MaxSize": 3,
158+
"MinSize": 1
136159
},
137160
"comments": {
138161
"input": {
139162
},
140163
"output": {
141164
}
142165
},
143-
"description": "This example creates an Auto Scaling group and attaches the specified target group.",
166+
"description": "This example creates an Auto Scaling group and attaches the specified Classic Load Balancer.",
144167
"id": "autoscaling-create-auto-scaling-group-3",
145-
"title": "To create an Auto Scaling group with an attached target group"
168+
"title": "To create an Auto Scaling group with an attached load balancer"
146169
}
147170
],
148171
"CreateLaunchConfiguration": [
@@ -283,7 +306,7 @@
283306
{
284307
"input": {
285308
"AutoScalingGroupName": "my-auto-scaling-group",
286-
"PolicyName": "ScaleIn"
309+
"PolicyName": "my-step-scale-out-policy"
287310
},
288311
"comments": {
289312
"input": {
@@ -378,7 +401,7 @@
378401
},
379402
"description": "This example describes the available adjustment types.",
380403
"id": "autoscaling-describe-adjustment-types-1",
381-
"title": "To describe the Auto Scaling adjustment types"
404+
"title": "To describe the Amazon EC2 Auto Scaling adjustment types"
382405
}
383406
],
384407
"DescribeAutoScalingGroups": [
@@ -498,6 +521,43 @@
498521
"title": "To describe the Auto Scaling notification types"
499522
}
500523
],
524+
"DescribeInstanceRefreshes": [
525+
{
526+
"input": {
527+
"AutoScalingGroupName": "my-auto-scaling-group"
528+
},
529+
"output": {
530+
"InstanceRefreshes": [
531+
{
532+
"AutoScalingGroupName": "my-auto-scaling-group",
533+
"InstanceRefreshId": "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b",
534+
"InstancesToUpdate": 5,
535+
"PercentageComplete": 0,
536+
"StartTime": "2020-06-02T18:11:27Z",
537+
"Status": "InProgress"
538+
},
539+
{
540+
"AutoScalingGroupName": "my-auto-scaling-group",
541+
"EndTime": "2020-06-02T16:53:37Z",
542+
"InstanceRefreshId": "dd7728d0-5bc4-4575-96a3-1b2c52bf8bb1",
543+
"InstancesToUpdate": 0,
544+
"PercentageComplete": 100,
545+
"StartTime": "2020-06-02T16:43:19Z",
546+
"Status": "Successful"
547+
}
548+
]
549+
},
550+
"comments": {
551+
"input": {
552+
},
553+
"output": {
554+
}
555+
},
556+
"description": "This example describes the instance refreshes for the specified Auto Scaling group.",
557+
"id": "to-list-instance-refreshes-1592959593746",
558+
"title": "To list instance refreshes"
559+
}
560+
],
501561
"DescribeLaunchConfigurations": [
502562
{
503563
"input": {
@@ -752,7 +812,7 @@
752812
},
753813
"description": "This example describes the policies for the specified Auto Scaling group.",
754814
"id": "autoscaling-describe-policies-1",
755-
"title": "To describe Auto Scaling policies"
815+
"title": "To describe scaling policies"
756816
}
757817
],
758818
"DescribeScalingActivities": [
@@ -1067,18 +1127,19 @@
10671127
{
10681128
"input": {
10691129
"AutoScalingGroupName": "my-auto-scaling-group",
1070-
"HonorCooldown": true,
1071-
"PolicyName": "ScaleIn"
1130+
"BreachThreshold": 50.0,
1131+
"MetricValue": 59.0,
1132+
"PolicyName": "my-step-scale-out-policy"
10721133
},
10731134
"comments": {
10741135
"input": {
10751136
},
10761137
"output": {
10771138
}
10781139
},
1079-
"description": "This example executes the specified Auto Scaling policy for the specified Auto Scaling group.",
1140+
"description": "This example executes the specified policy.",
10801141
"id": "autoscaling-execute-policy-1",
1081-
"title": "To execute an Auto Scaling policy"
1142+
"title": "To execute a scaling policy"
10821143
}
10831144
],
10841145
"ExitStandby": [
@@ -1157,13 +1218,29 @@
11571218
"PutScalingPolicy": [
11581219
{
11591220
"input": {
1160-
"AdjustmentType": "ChangeInCapacity",
11611221
"AutoScalingGroupName": "my-auto-scaling-group",
1162-
"PolicyName": "ScaleIn",
1163-
"ScalingAdjustment": -1
1222+
"PolicyName": "alb1000-target-tracking-scaling-policy",
1223+
"PolicyType": "TargetTrackingScaling",
1224+
"TargetTrackingConfiguration": {
1225+
"PredefinedMetricSpecification": {
1226+
"PredefinedMetricType": "ALBRequestCountPerTarget",
1227+
"ResourceLabel": "app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d"
1228+
},
1229+
"TargetValue": 1000.0
1230+
}
11641231
},
11651232
"output": {
1166-
"PolicyARN": "arn:aws:autoscaling:us-west-2:123456789012:scalingPolicy:2233f3d7-6290-403b-b632-93c553560106:autoScalingGroupName/my-auto-scaling-group:policyName/ScaleIn"
1233+
"Alarms": [
1234+
{
1235+
"AlarmARN": "arn:aws:cloudwatch:us-west-2:123456789012:alarm:TargetTracking-my-asg-AlarmHigh-fc0e4183-23ac-497e-9992-691c9980c38e",
1236+
"AlarmName": "TargetTracking-my-asg-AlarmHigh-fc0e4183-23ac-497e-9992-691c9980c38e"
1237+
},
1238+
{
1239+
"AlarmARN": "arn:aws:cloudwatch:us-west-2:123456789012:alarm:TargetTracking-my-asg-AlarmLow-61a39305-ed0c-47af-bd9e-471a352ee1a2",
1240+
"AlarmName": "TargetTracking-my-asg-AlarmLow-61a39305-ed0c-47af-bd9e-471a352ee1a2"
1241+
}
1242+
],
1243+
"PolicyARN": "arn:aws:autoscaling:us-west-2:123456789012:scalingPolicy:228f02c2-c665-4bfd-aaac-8b04080bea3c:autoScalingGroupName/my-auto-scaling-group:policyName/alb1000-target-tracking-scaling-policy"
11671244
},
11681245
"comments": {
11691246
"input": {
@@ -1308,6 +1385,29 @@
13081385
"title": "To disable instance protection for an instance"
13091386
}
13101387
],
1388+
"StartInstanceRefresh": [
1389+
{
1390+
"input": {
1391+
"AutoScalingGroupName": "my-auto-scaling-group",
1392+
"Preferences": {
1393+
"InstanceWarmup": 400,
1394+
"MinHealthyPercentage": 50
1395+
}
1396+
},
1397+
"output": {
1398+
"InstanceRefreshId": "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b"
1399+
},
1400+
"comments": {
1401+
"input": {
1402+
},
1403+
"output": {
1404+
}
1405+
},
1406+
"description": "This example starts an instance refresh for the specified Auto Scaling group.",
1407+
"id": "to-start-an-instance-refresh-1592957271522",
1408+
"title": "To start an instance refresh"
1409+
}
1410+
],
13111411
"SuspendProcesses": [
13121412
{
13131413
"input": {

apis/autoscaling-2011-01-01.normal.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -889,7 +889,7 @@
889889
"shape": "ResourceContentionFault"
890890
}
891891
],
892-
"documentation": "<p>Executes the specified policy.</p>"
892+
"documentation": "<p>Executes the specified policy. This can be useful for testing the design of your scaling policy.</p>"
893893
},
894894
"ExitStandby": {
895895
"name": "ExitStandby",
@@ -2570,11 +2570,11 @@
25702570
"members": {
25712571
"SnapshotId": {
25722572
"shape": "XmlStringMaxLen255",
2573-
"documentation": "<p>The snapshot ID of the volume to use.</p> <p> <code>SnapshotId</code> is optional if you specify a volume size. If you specify both <code>SnapshotId</code> and <code>VolumeSize</code>, the volume size must be equal or greater than the size of the snapshot.</p>"
2573+
"documentation": "<p>The snapshot ID of the volume to use.</p> <p>You must specify either a <code>VolumeSize</code> or a <code>SnapshotId</code>.</p>"
25742574
},
25752575
"VolumeSize": {
25762576
"shape": "BlockDeviceEbsVolumeSize",
2577-
"documentation": "<p>The volume size, in Gibibytes (GiB).</p> <p>This can be a number from 1-1,024 for <code>standard</code>, 4-16,384 for <code>io1</code>, 1-16,384 for <code>gp2</code>, and 500-16,384 for <code>st1</code> and <code>sc1</code>. If you specify a snapshot, the volume size must be equal to or larger than the snapshot size.</p> <p>Default: If you create a volume from a snapshot and you don't specify a volume size, the default is the snapshot size.</p> <note> <p>At least one of <code>VolumeSize</code> or <code>SnapshotId</code> is required.</p> </note>"
2577+
"documentation": "<p>The volume size, in Gibibytes (GiB).</p> <p>This can be a number from 1-1,024 for <code>standard</code>, 4-16,384 for <code>io1</code>, 1-16,384 for <code>gp2</code>, and 500-16,384 for <code>st1</code> and <code>sc1</code>. If you specify a snapshot, the volume size must be equal to or larger than the snapshot size.</p> <p>Default: If you create a volume from a snapshot and you don't specify a volume size, the default is the snapshot size.</p> <p>You must specify either a <code>VolumeSize</code> or a <code>SnapshotId</code>. If you specify both <code>SnapshotId</code> and <code>VolumeSize</code>, the volume size must be equal or greater than the size of the snapshot.</p>"
25782578
},
25792579
"VolumeType": {
25802580
"shape": "BlockDeviceEbsVolumeType",
@@ -2688,7 +2688,7 @@
26882688
},
26892689
"HonorCooldown": {
26902690
"shape": "HonorCooldown",
2691-
"documentation": "<p>Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before executing the policy.</p> <p>This parameter is not supported if the policy type is <code>StepScaling</code> or <code>TargetTrackingScaling</code>.</p> <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html\">Scaling Cooldowns for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
2691+
"documentation": "<p>Indicates whether Amazon EC2 Auto Scaling waits for the cooldown period to complete before executing the policy.</p> <p>Valid only if the policy type is <code>SimpleScaling</code>. For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/Cooldown.html\">Scaling Cooldowns for Amazon EC2 Auto Scaling</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
26922692
},
26932693
"MetricValue": {
26942694
"shape": "MetricScale",

0 commit comments

Comments
 (0)