Skip to content

Commit

Permalink
Updates SDK to v2.707.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jun 29, 2020
1 parent f103d9a commit 3e81a58
Show file tree
Hide file tree
Showing 24 changed files with 6,021 additions and 1,434 deletions.
17 changes: 17 additions & 0 deletions .changes/2.707.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{
"type": "feature",
"category": "CodeGuruProfiler",
"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."
},
{
"type": "feature",
"category": "CodeStarconnections",
"description": "Updated and new APIs in support of hosts for connections to installed provider types. New integration with the GitHub Enterprise Server provider type."
},
{
"type": "feature",
"category": "EC2",
"description": "Virtual Private Cloud (VPC) customers can now create and manage their own Prefix Lists to simplify VPC configurations."
}
]
7 changes: 6 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.706.0-->
<!--LATEST=2.707.0-->
<!--ENTRYINSERT-->

## 2.707.0
* 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.
* 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.
* feature: EC2: Virtual Private Cloud (VPC) customers can now create and manage their own Prefix Lists to simplify VPC configurations.

## 2.706.0
* 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.
* feature: CognitoIdentityServiceProvider: Don't require Authorization for InitiateAuth and RespondToAuthChallenge.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ version.
To use the SDK in the browser, simply add the following script tag to your
HTML pages:

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

You can also build a custom browser SDK with your specified set of AWS services.
This can allow you to reduce the SDK's size, specify different API versions of
Expand Down
158 changes: 129 additions & 29 deletions apis/autoscaling-2011-01-01.examples.json
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,25 @@
"title": "To attach a load balancer to an Auto Scaling group"
}
],
"CancelInstanceRefresh": [
{
"input": {
"AutoScalingGroupName": "my-auto-scaling-group"
},
"output": {
"InstanceRefreshId": "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b"
},
"comments": {
"input": {
},
"output": {
}
},
"description": "This example cancels an instance refresh operation in progress.",
"id": "to-cancel-an-instance-refresh-1592960979817",
"title": "To cancel an instance refresh"
}
],
"CompleteLifecycleAction": [
{
"input": {
Expand All @@ -81,10 +100,14 @@
{
"input": {
"AutoScalingGroupName": "my-auto-scaling-group",
"LaunchConfigurationName": "my-launch-config",
"LaunchTemplate": {
"LaunchTemplateId": "lt-0a20c965061f64abc",
"Version": "$Latest"
},
"MaxInstanceLifetime": 2592000,
"MaxSize": 3,
"MinSize": 1,
"VPCZoneIdentifier": "subnet-4176792c"
"VPCZoneIdentifier": "subnet-057fa0918fEXAMPLE"
},
"comments": {
"input": {
Expand All @@ -99,50 +122,50 @@
{
"input": {
"AutoScalingGroupName": "my-auto-scaling-group",
"AvailabilityZones": [
"us-west-2c"
],
"HealthCheckGracePeriod": 120,
"HealthCheckType": "ELB",
"LaunchConfigurationName": "my-launch-config",
"LoadBalancerNames": [
"my-load-balancer"
],
"MaxSize": 3,
"MinSize": 1
"MinSize": 1,
"TargetGroupARNs": [
"arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
],
"VPCZoneIdentifier": "subnet-057fa0918fEXAMPLE, subnet-610acd08EXAMPLE"
},
"comments": {
"input": {
},
"output": {
}
},
"description": "This example creates an Auto Scaling group and attaches the specified Classic Load Balancer.",
"description": "This example creates an Auto Scaling group and attaches the specified target group.",
"id": "autoscaling-create-auto-scaling-group-2",
"title": "To create an Auto Scaling group with an attached load balancer"
"title": "To create an Auto Scaling group with an attached target group"
},
{
"input": {
"AutoScalingGroupName": "my-auto-scaling-group",
"AvailabilityZones": [
"us-west-2c"
],
"HealthCheckGracePeriod": 120,
"HealthCheckType": "ELB",
"LaunchConfigurationName": "my-launch-config",
"MaxSize": 3,
"MinSize": 1,
"TargetGroupARNs": [
"arn:aws:elasticloadbalancing:us-west-2:123456789012:targetgroup/my-targets/73e2d6bc24d8a067"
"LoadBalancerNames": [
"my-load-balancer"
],
"VPCZoneIdentifier": "subnet-4176792c, subnet-65ea5f08"
"MaxSize": 3,
"MinSize": 1
},
"comments": {
"input": {
},
"output": {
}
},
"description": "This example creates an Auto Scaling group and attaches the specified target group.",
"description": "This example creates an Auto Scaling group and attaches the specified Classic Load Balancer.",
"id": "autoscaling-create-auto-scaling-group-3",
"title": "To create an Auto Scaling group with an attached target group"
"title": "To create an Auto Scaling group with an attached load balancer"
}
],
"CreateLaunchConfiguration": [
Expand Down Expand Up @@ -283,7 +306,7 @@
{
"input": {
"AutoScalingGroupName": "my-auto-scaling-group",
"PolicyName": "ScaleIn"
"PolicyName": "my-step-scale-out-policy"
},
"comments": {
"input": {
Expand Down Expand Up @@ -378,7 +401,7 @@
},
"description": "This example describes the available adjustment types.",
"id": "autoscaling-describe-adjustment-types-1",
"title": "To describe the Auto Scaling adjustment types"
"title": "To describe the Amazon EC2 Auto Scaling adjustment types"
}
],
"DescribeAutoScalingGroups": [
Expand Down Expand Up @@ -498,6 +521,43 @@
"title": "To describe the Auto Scaling notification types"
}
],
"DescribeInstanceRefreshes": [
{
"input": {
"AutoScalingGroupName": "my-auto-scaling-group"
},
"output": {
"InstanceRefreshes": [
{
"AutoScalingGroupName": "my-auto-scaling-group",
"InstanceRefreshId": "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b",
"InstancesToUpdate": 5,
"PercentageComplete": 0,
"StartTime": "2020-06-02T18:11:27Z",
"Status": "InProgress"
},
{
"AutoScalingGroupName": "my-auto-scaling-group",
"EndTime": "2020-06-02T16:53:37Z",
"InstanceRefreshId": "dd7728d0-5bc4-4575-96a3-1b2c52bf8bb1",
"InstancesToUpdate": 0,
"PercentageComplete": 100,
"StartTime": "2020-06-02T16:43:19Z",
"Status": "Successful"
}
]
},
"comments": {
"input": {
},
"output": {
}
},
"description": "This example describes the instance refreshes for the specified Auto Scaling group.",
"id": "to-list-instance-refreshes-1592959593746",
"title": "To list instance refreshes"
}
],
"DescribeLaunchConfigurations": [
{
"input": {
Expand Down Expand Up @@ -752,7 +812,7 @@
},
"description": "This example describes the policies for the specified Auto Scaling group.",
"id": "autoscaling-describe-policies-1",
"title": "To describe Auto Scaling policies"
"title": "To describe scaling policies"
}
],
"DescribeScalingActivities": [
Expand Down Expand Up @@ -1067,18 +1127,19 @@
{
"input": {
"AutoScalingGroupName": "my-auto-scaling-group",
"HonorCooldown": true,
"PolicyName": "ScaleIn"
"BreachThreshold": 50.0,
"MetricValue": 59.0,
"PolicyName": "my-step-scale-out-policy"
},
"comments": {
"input": {
},
"output": {
}
},
"description": "This example executes the specified Auto Scaling policy for the specified Auto Scaling group.",
"description": "This example executes the specified policy.",
"id": "autoscaling-execute-policy-1",
"title": "To execute an Auto Scaling policy"
"title": "To execute a scaling policy"
}
],
"ExitStandby": [
Expand Down Expand Up @@ -1157,13 +1218,29 @@
"PutScalingPolicy": [
{
"input": {
"AdjustmentType": "ChangeInCapacity",
"AutoScalingGroupName": "my-auto-scaling-group",
"PolicyName": "ScaleIn",
"ScalingAdjustment": -1
"PolicyName": "alb1000-target-tracking-scaling-policy",
"PolicyType": "TargetTrackingScaling",
"TargetTrackingConfiguration": {
"PredefinedMetricSpecification": {
"PredefinedMetricType": "ALBRequestCountPerTarget",
"ResourceLabel": "app/EC2Co-EcsEl-1TKLTMITMM0EO/f37c06a68c1748aa/targetgroup/EC2Co-Defau-LDNM7Q3ZH1ZN/6d4ea56ca2d6a18d"
},
"TargetValue": 1000.0
}
},
"output": {
"PolicyARN": "arn:aws:autoscaling:us-west-2:123456789012:scalingPolicy:2233f3d7-6290-403b-b632-93c553560106:autoScalingGroupName/my-auto-scaling-group:policyName/ScaleIn"
"Alarms": [
{
"AlarmARN": "arn:aws:cloudwatch:us-west-2:123456789012:alarm:TargetTracking-my-asg-AlarmHigh-fc0e4183-23ac-497e-9992-691c9980c38e",
"AlarmName": "TargetTracking-my-asg-AlarmHigh-fc0e4183-23ac-497e-9992-691c9980c38e"
},
{
"AlarmARN": "arn:aws:cloudwatch:us-west-2:123456789012:alarm:TargetTracking-my-asg-AlarmLow-61a39305-ed0c-47af-bd9e-471a352ee1a2",
"AlarmName": "TargetTracking-my-asg-AlarmLow-61a39305-ed0c-47af-bd9e-471a352ee1a2"
}
],
"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"
},
"comments": {
"input": {
Expand Down Expand Up @@ -1308,6 +1385,29 @@
"title": "To disable instance protection for an instance"
}
],
"StartInstanceRefresh": [
{
"input": {
"AutoScalingGroupName": "my-auto-scaling-group",
"Preferences": {
"InstanceWarmup": 400,
"MinHealthyPercentage": 50
}
},
"output": {
"InstanceRefreshId": "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b"
},
"comments": {
"input": {
},
"output": {
}
},
"description": "This example starts an instance refresh for the specified Auto Scaling group.",
"id": "to-start-an-instance-refresh-1592957271522",
"title": "To start an instance refresh"
}
],
"SuspendProcesses": [
{
"input": {
Expand Down
8 changes: 4 additions & 4 deletions apis/autoscaling-2011-01-01.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -889,7 +889,7 @@
"shape": "ResourceContentionFault"
}
],
"documentation": "<p>Executes the specified policy.</p>"
"documentation": "<p>Executes the specified policy. This can be useful for testing the design of your scaling policy.</p>"
},
"ExitStandby": {
"name": "ExitStandby",
Expand Down Expand Up @@ -2570,11 +2570,11 @@
"members": {
"SnapshotId": {
"shape": "XmlStringMaxLen255",
"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>"
"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>"
},
"VolumeSize": {
"shape": "BlockDeviceEbsVolumeSize",
"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>"
"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>"
},
"VolumeType": {
"shape": "BlockDeviceEbsVolumeType",
Expand Down Expand Up @@ -2688,7 +2688,7 @@
},
"HonorCooldown": {
"shape": "HonorCooldown",
"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>"
"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>"
},
"MetricValue": {
"shape": "MetricScale",
Expand Down
Loading

0 comments on commit 3e81a58

Please sign in to comment.