Skip to content

Commit

Permalink
Updates SDK to v2.1424.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jul 27, 2023
1 parent 7d80de6 commit 63f00c4
Show file tree
Hide file tree
Showing 26 changed files with 1,997 additions and 1,723 deletions.
27 changes: 27 additions & 0 deletions .changes/2.1424.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
{
"type": "feature",
"category": "AutoScaling",
"description": "This release updates validation for instance types used in the AllowedInstanceTypes and ExcludedInstanceTypes parameters of the InstanceRequirements property of a MixedInstancesPolicy."
},
{
"type": "feature",
"category": "EBS",
"description": "SDK and documentation updates for Amazon Elastic Block Store API"
},
{
"type": "feature",
"category": "EC2",
"description": "SDK and documentation updates for Amazon Elastic Block Store APIs"
},
{
"type": "feature",
"category": "EKS",
"description": "Add multiple customer error code to handle customer caused failure when managing EKS node groups"
},
{
"type": "feature",
"category": "SageMaker",
"description": "Expose ProfilerConfig attribute in SageMaker Search API response."
}
]
9 changes: 8 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,14 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1423.0-->
<!--LATEST=2.1424.0-->
<!--ENTRYINSERT-->

## 2.1424.0
* feature: AutoScaling: This release updates validation for instance types used in the AllowedInstanceTypes and ExcludedInstanceTypes parameters of the InstanceRequirements property of a MixedInstancesPolicy.
* feature: EBS: SDK and documentation updates for Amazon Elastic Block Store API
* feature: EC2: SDK and documentation updates for Amazon Elastic Block Store APIs
* feature: EKS: Add multiple customer error code to handle customer caused failure when managing EKS node groups
* feature: SageMaker: Expose ProfilerConfig attribute in SageMaker Search API response.

## 2.1423.0
* feature: EntityResolution: AWS Entity Resolution can effectively match a source record from a customer relationship management (CRM) system with a source record from a marketing system containing campaign information.
* feature: Glue: Release Glue Studio Snowflake Connector Node for SDK/CLI
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
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.1423.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1424.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
70 changes: 54 additions & 16 deletions apis/autoscaling-2011-01-01.examples.json
Original file line number Diff line number Diff line change
Expand Up @@ -461,14 +461,16 @@
"output": {
"AutoScalingGroups": [
{
"AutoScalingGroupARN": "arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:930d940e-891e-4781-a11a-7b0acd480f03:autoScalingGroupName/my-auto-scaling-group",
"AutoScalingGroupARN": "arn:aws:autoscaling:us-west-1:123456789012:autoScalingGroup:12345678-1234-1234-1234-123456789012:autoScalingGroupName/my-auto-scaling-group",
"AutoScalingGroupName": "my-auto-scaling-group",
"AvailabilityZones": [
"us-west-2a",
"us-west-2b",
"us-west-2c"
],
"CreatedTime": "2013-08-19T20:53:25.584Z",
"CreatedTime": "2023-03-09T22:15:11.611Z",
"DefaultCooldown": 300,
"DesiredCapacity": 1,
"DesiredCapacity": 2,
"EnabledMetrics": [

],
Expand All @@ -478,7 +480,17 @@
{
"AvailabilityZone": "us-west-2c",
"HealthStatus": "Healthy",
"InstanceId": "i-4ba0837f",
"InstanceId": "i-05b4f7d5be44822a6",
"InstanceType": "t3.micro",
"LaunchConfigurationName": "my-launch-config",
"LifecycleState": "InService",
"ProtectedFromScaleIn": false
},
{
"AvailabilityZone": "us-west-2b",
"HealthStatus": "Healthy",
"InstanceId": "i-0c20ac468fa3049e8",
"InstanceType": "t3.micro",
"LaunchConfigurationName": "my-launch-config",
"LifecycleState": "InService",
"ProtectedFromScaleIn": false
Expand All @@ -488,19 +500,26 @@
"LoadBalancerNames": [

],
"MaxSize": 1,
"MinSize": 0,
"MaxSize": 5,
"MinSize": 1,
"NewInstancesProtectedFromScaleIn": false,
"ServiceLinkedRoleARN": "arn:aws:iam::123456789012:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling",
"SuspendedProcesses": [

],
"Tags": [

],
"TargetGroupARNs": [

],
"TerminationPolicies": [
"Default"
],
"VPCZoneIdentifier": "subnet-12345678"
"TrafficSources": [

],
"VPCZoneIdentifier": "subnet-5ea0c127,subnet-6194ea3b,subnet-c934b782"
}
]
},
Expand All @@ -519,7 +538,7 @@
{
"input": {
"InstanceIds": [
"i-4ba0837f"
"i-05b4f7d5be44822a6"
]
},
"output": {
Expand All @@ -528,7 +547,8 @@
"AutoScalingGroupName": "my-auto-scaling-group",
"AvailabilityZone": "us-west-2c",
"HealthStatus": "HEALTHY",
"InstanceId": "i-4ba0837f",
"InstanceId": "i-05b4f7d5be44822a6",
"InstanceType": "t3.micro",
"LaunchConfigurationName": "my-launch-config",
"LifecycleState": "InService",
"ProtectedFromScaleIn": false
Expand Down Expand Up @@ -578,18 +598,35 @@
{
"AutoScalingGroupName": "my-auto-scaling-group",
"InstanceRefreshId": "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b",
"InstancesToUpdate": 5,
"PercentageComplete": 0,
"StartTime": "2020-06-02T18:11:27Z",
"Status": "InProgress"
"InstancesToUpdate": 0,
"PercentageComplete": 50,
"Preferences": {
"AutoRollback": true,
"InstanceWarmup": 60,
"MinHealthyPercentage": 90,
"ScaleInProtectedInstances": "Ignore",
"SkipMatching": false,
"StandbyInstances": "Ignore"
},
"StartTime": "2023-06-13T16:46:52+00:00",
"Status": "InProgress",
"StatusReason": "Waiting for instances to warm up before continuing. For example: i-0645704820a8e83ff is warming up."
},
{
"AutoScalingGroupName": "my-auto-scaling-group",
"EndTime": "2020-06-02T16:53:37Z",
"InstanceRefreshId": "dd7728d0-5bc4-4575-96a3-1b2c52bf8bb1",
"EndTime": "2023-06-02T13:59:45+00:00",
"InstanceRefreshId": "0e151305-1e57-4a32-a256-1fd14157c5ec",
"InstancesToUpdate": 0,
"PercentageComplete": 100,
"StartTime": "2020-06-02T16:43:19Z",
"Preferences": {
"AutoRollback": true,
"InstanceWarmup": 60,
"MinHealthyPercentage": 90,
"ScaleInProtectedInstances": "Ignore",
"SkipMatching": false,
"StandbyInstances": "Ignore"
},
"StartTime": "2023-06-02T13:53:37+00:00",
"Status": "Successful"
}
]
Expand Down Expand Up @@ -871,6 +908,7 @@
"Activities": [
{
"ActivityId": "f9f2d65b-f1f2-43e7-b46d-d86756459699",
"AutoScalingGroupARN": "arn:aws:autoscaling:us-east-1:123456789012:autoScalingGroup:12345678-1234-1234-1234-123456789012:autoScalingGroupName/my-auto-scaling-group",
"AutoScalingGroupName": "my-auto-scaling-group",
"Cause": "At 2013-08-19T20:53:25Z a user request created an AutoScalingGroup changing the desired capacity from 0 to 1. At 2013-08-19T20:53:29Z an instance was started in response to a difference between desired and actual capacity, increasing the capacity from 0 to 1.",
"Description": "Launching a new EC2 instance: i-4ba0837f",
Expand Down
3 changes: 3 additions & 0 deletions apis/autoscaling-2011-01-01.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -1757,6 +1757,9 @@
"RollbackInstanceRefresh": {
"input": {
"type": "structure",
"required": [
"AutoScalingGroupName"
],
"members": {
"AutoScalingGroupName": {}
}
Expand Down
15 changes: 9 additions & 6 deletions apis/autoscaling-2011-01-01.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
"shape": "ResourceContentionFault"
}
],
"documentation": "<p>Completes the lifecycle action for the specified token or instance with the specified result.</p> <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:</p> <ol> <li> <p>(Optional) Create a launch template or launch configuration with a user data script that runs while an instance is in a wait state due to a lifecycle hook.</p> </li> <li> <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when an instance is put into a wait state due to a lifecycle hook.</p> </li> <li> <p>(Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target.</p> </li> <li> <p>Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.</p> </li> <li> <p>If you need more time, record the lifecycle action heartbeat to keep the instance in a wait state.</p> </li> <li> <p> <b>If you finish before the timeout period ends, send a callback by using the <a>CompleteLifecycleAction</a> API call.</b> </p> </li> </ol> <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/lifecycle-hooks.html\">Amazon EC2 Auto Scaling lifecycle hooks</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
"documentation": "<p>Completes the lifecycle action for the specified token or instance with the specified result.</p> <p>This step is a part of the procedure for adding a lifecycle hook to an Auto Scaling group:</p> <ol> <li> <p>(Optional) Create a launch template or launch configuration with a user data script that runs while an instance is in a wait state due to a lifecycle hook.</p> </li> <li> <p>(Optional) Create a Lambda function and a rule that allows Amazon EventBridge to invoke your Lambda function when an instance is put into a wait state due to a lifecycle hook.</p> </li> <li> <p>(Optional) Create a notification target and an IAM role. The target can be either an Amazon SQS queue or an Amazon SNS topic. The role allows Amazon EC2 Auto Scaling to publish lifecycle notifications to the target.</p> </li> <li> <p>Create the lifecycle hook. Specify whether the hook is used when the instances launch or terminate.</p> </li> <li> <p>If you need more time, record the lifecycle action heartbeat to keep the instance in a wait state.</p> </li> <li> <p> <b>If you finish before the timeout period ends, send a callback by using the <a>CompleteLifecycleAction</a> API call.</b> </p> </li> </ol> <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/completing-lifecycle-hooks.html\">Complete a lifecycle action</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
},
"CreateAutoScalingGroup": {
"name": "CreateAutoScalingGroup",
Expand Down Expand Up @@ -945,7 +945,7 @@
"shape": "ResourceContentionFault"
}
],
"documentation": "<p>Detaches one or more traffic sources from the specified Auto Scaling group.</p> <p>When you detach a taffic, it enters the <code>Removing</code> state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the traffic source using the <a>DescribeTrafficSources</a> API call. The instances continue to run.</p>"
"documentation": "<p>Detaches one or more traffic sources from the specified Auto Scaling group.</p> <p>When you detach a traffic source, it enters the <code>Removing</code> state while deregistering the instances in the group. When all instances are deregistered, then you can no longer describe the traffic source using the <a>DescribeTrafficSources</a> API call. The instances continue to run.</p>"
},
"DisableMetricsCollection": {
"name": "DisableMetricsCollection",
Expand Down Expand Up @@ -1605,7 +1605,7 @@
"type": "string",
"max": 30,
"min": 1,
"pattern": "[a-zA-Z0-9\\.\\*]+"
"pattern": "[a-zA-Z0-9\\.\\*\\-]+"
},
"AllowedInstanceTypes": {
"type": "list",
Expand Down Expand Up @@ -3285,7 +3285,7 @@
"type": "string",
"max": 30,
"min": 1,
"pattern": "[a-zA-Z0-9\\.\\*]+"
"pattern": "[a-zA-Z0-9\\.\\*\\-]+"
},
"ExcludedInstanceTypes": {
"type": "list",
Expand Down Expand Up @@ -5076,7 +5076,7 @@
},
"ScalingAdjustment": {
"shape": "PolicyIncrement",
"documentation": "<p>The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a positive value.</p> <p>Required if the policy type is <code>SimpleScaling</code>. (Not used with any other policy type.) </p>"
"documentation": "<p>The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a non-negative value.</p> <p>Required if the policy type is <code>SimpleScaling</code>. (Not used with any other policy type.) </p>"
},
"Cooldown": {
"shape": "Cooldown",
Expand Down Expand Up @@ -5315,6 +5315,9 @@
},
"RollbackInstanceRefreshType": {
"type": "structure",
"required": [
"AutoScalingGroupName"
],
"members": {
"AutoScalingGroupName": {
"shape": "XmlStringMaxLen255",
Expand Down Expand Up @@ -5713,7 +5716,7 @@
},
"ScalingAdjustment": {
"shape": "PolicyIncrement",
"documentation": "<p>The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity.</p> <p>The amount by which to scale. The adjustment is based on the value that you specified in the <code>AdjustmentType</code> property (either an absolute number or a percentage). A positive value adds to the current capacity and a negative number subtracts from the current capacity. </p>"
"documentation": "<p>The amount by which to scale, based on the specified adjustment type. A positive value adds to the current capacity while a negative number removes from the current capacity. For exact capacity, you must specify a non-negative value.</p>"
}
},
"documentation": "<p>Describes information used to create a step adjustment for a step scaling policy.</p> <p>For the following examples, suppose that you have an alarm with a breach threshold of 50:</p> <ul> <li> <p>To trigger the adjustment when the metric is greater than or equal to 50 and less than 60, specify a lower bound of 0 and an upper bound of 10.</p> </li> <li> <p>To trigger the adjustment when the metric is greater than 40 and less than or equal to 50, specify a lower bound of -10 and an upper bound of 0.</p> </li> </ul> <p>There are a few rules for the step adjustments for your step policy:</p> <ul> <li> <p>The ranges of your step adjustments can't overlap or have a gap.</p> </li> <li> <p>At most, one step adjustment can have a null lower bound. If one step adjustment has a negative lower bound, then there must be a step adjustment with a null lower bound.</p> </li> <li> <p>At most, one step adjustment can have a null upper bound. If one step adjustment has a positive upper bound, then there must be a step adjustment with a null upper bound.</p> </li> <li> <p>The upper and lower bound can't be null in the same step adjustment.</p> </li> </ul> <p>For more information, see <a href=\"https://docs.aws.amazon.com/autoscaling/ec2/userguide/as-scaling-simple-step.html#as-scaling-steps\">Step adjustments</a> in the <i>Amazon EC2 Auto Scaling User Guide</i>.</p>"
Expand Down
6 changes: 6 additions & 0 deletions apis/autoscaling-2011-01-01.paginators.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,12 @@
"input_token": "NextToken",
"limit_key": "MaxRecords",
"output_token": "NextToken"
},
"DescribeWarmPool": {
"input_token": "NextToken",
"limit_key": "MaxRecords",
"output_token": "NextToken",
"result_key": "Instances"
}
}
}
3 changes: 2 additions & 1 deletion apis/ebs-2019-11-02.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,8 @@
"ParentSnapshotId": {},
"KmsKeyArn": {
"shape": "S13"
}
},
"SseType": {}
}
}
}
Expand Down
Loading

0 comments on commit 63f00c4

Please sign in to comment.