Skip to content

Commit 63f00c4

Browse files
author
awstools
committed
Updates SDK to v2.1424.0
1 parent 7d80de6 commit 63f00c4

26 files changed

+1997
-1723
lines changed

.changes/2.1424.0.json

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
[
2+
{
3+
"type": "feature",
4+
"category": "AutoScaling",
5+
"description": "This release updates validation for instance types used in the AllowedInstanceTypes and ExcludedInstanceTypes parameters of the InstanceRequirements property of a MixedInstancesPolicy."
6+
},
7+
{
8+
"type": "feature",
9+
"category": "EBS",
10+
"description": "SDK and documentation updates for Amazon Elastic Block Store API"
11+
},
12+
{
13+
"type": "feature",
14+
"category": "EC2",
15+
"description": "SDK and documentation updates for Amazon Elastic Block Store APIs"
16+
},
17+
{
18+
"type": "feature",
19+
"category": "EKS",
20+
"description": "Add multiple customer error code to handle customer caused failure when managing EKS node groups"
21+
},
22+
{
23+
"type": "feature",
24+
"category": "SageMaker",
25+
"description": "Expose ProfilerConfig attribute in SageMaker Search API response."
26+
}
27+
]

CHANGELOG.md

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

5+
## 2.1424.0
6+
* feature: AutoScaling: This release updates validation for instance types used in the AllowedInstanceTypes and ExcludedInstanceTypes parameters of the InstanceRequirements property of a MixedInstancesPolicy.
7+
* feature: EBS: SDK and documentation updates for Amazon Elastic Block Store API
8+
* feature: EC2: SDK and documentation updates for Amazon Elastic Block Store APIs
9+
* feature: EKS: Add multiple customer error code to handle customer caused failure when managing EKS node groups
10+
* feature: SageMaker: Expose ProfilerConfig attribute in SageMaker Search API response.
11+
512
## 2.1423.0
613
* 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.
714
* feature: Glue: Release Glue Studio Snowflake Connector Node for SDK/CLI

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ require('aws-sdk/lib/maintenance_mode_message').suppress = true;
7171
To use the SDK in the browser, simply add the following script tag to your
7272
HTML pages:
7373

74-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1423.0.min.js"></script>
74+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1424.0.min.js"></script>
7575

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

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

Lines changed: 54 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -461,14 +461,16 @@
461461
"output": {
462462
"AutoScalingGroups": [
463463
{
464-
"AutoScalingGroupARN": "arn:aws:autoscaling:us-west-2:123456789012:autoScalingGroup:930d940e-891e-4781-a11a-7b0acd480f03:autoScalingGroupName/my-auto-scaling-group",
464+
"AutoScalingGroupARN": "arn:aws:autoscaling:us-west-1:123456789012:autoScalingGroup:12345678-1234-1234-1234-123456789012:autoScalingGroupName/my-auto-scaling-group",
465465
"AutoScalingGroupName": "my-auto-scaling-group",
466466
"AvailabilityZones": [
467+
"us-west-2a",
468+
"us-west-2b",
467469
"us-west-2c"
468470
],
469-
"CreatedTime": "2013-08-19T20:53:25.584Z",
471+
"CreatedTime": "2023-03-09T22:15:11.611Z",
470472
"DefaultCooldown": 300,
471-
"DesiredCapacity": 1,
473+
"DesiredCapacity": 2,
472474
"EnabledMetrics": [
473475

474476
],
@@ -478,7 +480,17 @@
478480
{
479481
"AvailabilityZone": "us-west-2c",
480482
"HealthStatus": "Healthy",
481-
"InstanceId": "i-4ba0837f",
483+
"InstanceId": "i-05b4f7d5be44822a6",
484+
"InstanceType": "t3.micro",
485+
"LaunchConfigurationName": "my-launch-config",
486+
"LifecycleState": "InService",
487+
"ProtectedFromScaleIn": false
488+
},
489+
{
490+
"AvailabilityZone": "us-west-2b",
491+
"HealthStatus": "Healthy",
492+
"InstanceId": "i-0c20ac468fa3049e8",
493+
"InstanceType": "t3.micro",
482494
"LaunchConfigurationName": "my-launch-config",
483495
"LifecycleState": "InService",
484496
"ProtectedFromScaleIn": false
@@ -488,19 +500,26 @@
488500
"LoadBalancerNames": [
489501

490502
],
491-
"MaxSize": 1,
492-
"MinSize": 0,
503+
"MaxSize": 5,
504+
"MinSize": 1,
493505
"NewInstancesProtectedFromScaleIn": false,
506+
"ServiceLinkedRoleARN": "arn:aws:iam::123456789012:role/aws-service-role/autoscaling.amazonaws.com/AWSServiceRoleForAutoScaling",
494507
"SuspendedProcesses": [
495508

496509
],
497510
"Tags": [
498511

512+
],
513+
"TargetGroupARNs": [
514+
499515
],
500516
"TerminationPolicies": [
501517
"Default"
502518
],
503-
"VPCZoneIdentifier": "subnet-12345678"
519+
"TrafficSources": [
520+
521+
],
522+
"VPCZoneIdentifier": "subnet-5ea0c127,subnet-6194ea3b,subnet-c934b782"
504523
}
505524
]
506525
},
@@ -519,7 +538,7 @@
519538
{
520539
"input": {
521540
"InstanceIds": [
522-
"i-4ba0837f"
541+
"i-05b4f7d5be44822a6"
523542
]
524543
},
525544
"output": {
@@ -528,7 +547,8 @@
528547
"AutoScalingGroupName": "my-auto-scaling-group",
529548
"AvailabilityZone": "us-west-2c",
530549
"HealthStatus": "HEALTHY",
531-
"InstanceId": "i-4ba0837f",
550+
"InstanceId": "i-05b4f7d5be44822a6",
551+
"InstanceType": "t3.micro",
532552
"LaunchConfigurationName": "my-launch-config",
533553
"LifecycleState": "InService",
534554
"ProtectedFromScaleIn": false
@@ -578,18 +598,35 @@
578598
{
579599
"AutoScalingGroupName": "my-auto-scaling-group",
580600
"InstanceRefreshId": "08b91cf7-8fa6-48af-b6a6-d227f40f1b9b",
581-
"InstancesToUpdate": 5,
582-
"PercentageComplete": 0,
583-
"StartTime": "2020-06-02T18:11:27Z",
584-
"Status": "InProgress"
601+
"InstancesToUpdate": 0,
602+
"PercentageComplete": 50,
603+
"Preferences": {
604+
"AutoRollback": true,
605+
"InstanceWarmup": 60,
606+
"MinHealthyPercentage": 90,
607+
"ScaleInProtectedInstances": "Ignore",
608+
"SkipMatching": false,
609+
"StandbyInstances": "Ignore"
610+
},
611+
"StartTime": "2023-06-13T16:46:52+00:00",
612+
"Status": "InProgress",
613+
"StatusReason": "Waiting for instances to warm up before continuing. For example: i-0645704820a8e83ff is warming up."
585614
},
586615
{
587616
"AutoScalingGroupName": "my-auto-scaling-group",
588-
"EndTime": "2020-06-02T16:53:37Z",
589-
"InstanceRefreshId": "dd7728d0-5bc4-4575-96a3-1b2c52bf8bb1",
617+
"EndTime": "2023-06-02T13:59:45+00:00",
618+
"InstanceRefreshId": "0e151305-1e57-4a32-a256-1fd14157c5ec",
590619
"InstancesToUpdate": 0,
591620
"PercentageComplete": 100,
592-
"StartTime": "2020-06-02T16:43:19Z",
621+
"Preferences": {
622+
"AutoRollback": true,
623+
"InstanceWarmup": 60,
624+
"MinHealthyPercentage": 90,
625+
"ScaleInProtectedInstances": "Ignore",
626+
"SkipMatching": false,
627+
"StandbyInstances": "Ignore"
628+
},
629+
"StartTime": "2023-06-02T13:53:37+00:00",
593630
"Status": "Successful"
594631
}
595632
]
@@ -871,6 +908,7 @@
871908
"Activities": [
872909
{
873910
"ActivityId": "f9f2d65b-f1f2-43e7-b46d-d86756459699",
911+
"AutoScalingGroupARN": "arn:aws:autoscaling:us-east-1:123456789012:autoScalingGroup:12345678-1234-1234-1234-123456789012:autoScalingGroupName/my-auto-scaling-group",
874912
"AutoScalingGroupName": "my-auto-scaling-group",
875913
"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.",
876914
"Description": "Launching a new EC2 instance: i-4ba0837f",

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1757,6 +1757,9 @@
17571757
"RollbackInstanceRefresh": {
17581758
"input": {
17591759
"type": "structure",
1760+
"required": [
1761+
"AutoScalingGroupName"
1762+
],
17601763
"members": {
17611764
"AutoScalingGroupName": {}
17621765
}

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

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189
"shape": "ResourceContentionFault"
190190
}
191191
],
192-
"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>"
192+
"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>"
193193
},
194194
"CreateAutoScalingGroup": {
195195
"name": "CreateAutoScalingGroup",
@@ -945,7 +945,7 @@
945945
"shape": "ResourceContentionFault"
946946
}
947947
],
948-
"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>"
948+
"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>"
949949
},
950950
"DisableMetricsCollection": {
951951
"name": "DisableMetricsCollection",
@@ -1605,7 +1605,7 @@
16051605
"type": "string",
16061606
"max": 30,
16071607
"min": 1,
1608-
"pattern": "[a-zA-Z0-9\\.\\*]+"
1608+
"pattern": "[a-zA-Z0-9\\.\\*\\-]+"
16091609
},
16101610
"AllowedInstanceTypes": {
16111611
"type": "list",
@@ -3285,7 +3285,7 @@
32853285
"type": "string",
32863286
"max": 30,
32873287
"min": 1,
3288-
"pattern": "[a-zA-Z0-9\\.\\*]+"
3288+
"pattern": "[a-zA-Z0-9\\.\\*\\-]+"
32893289
},
32903290
"ExcludedInstanceTypes": {
32913291
"type": "list",
@@ -5076,7 +5076,7 @@
50765076
},
50775077
"ScalingAdjustment": {
50785078
"shape": "PolicyIncrement",
5079-
"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>"
5079+
"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>"
50805080
},
50815081
"Cooldown": {
50825082
"shape": "Cooldown",
@@ -5315,6 +5315,9 @@
53155315
},
53165316
"RollbackInstanceRefreshType": {
53175317
"type": "structure",
5318+
"required": [
5319+
"AutoScalingGroupName"
5320+
],
53185321
"members": {
53195322
"AutoScalingGroupName": {
53205323
"shape": "XmlStringMaxLen255",
@@ -5713,7 +5716,7 @@
57135716
},
57145717
"ScalingAdjustment": {
57155718
"shape": "PolicyIncrement",
5716-
"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>"
5719+
"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>"
57175720
}
57185721
},
57195722
"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>"

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,12 @@
5252
"input_token": "NextToken",
5353
"limit_key": "MaxRecords",
5454
"output_token": "NextToken"
55+
},
56+
"DescribeWarmPool": {
57+
"input_token": "NextToken",
58+
"limit_key": "MaxRecords",
59+
"output_token": "NextToken",
60+
"result_key": "Instances"
5561
}
5662
}
5763
}

apis/ebs-2019-11-02.min.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -350,7 +350,8 @@
350350
"ParentSnapshotId": {},
351351
"KmsKeyArn": {
352352
"shape": "S13"
353-
}
353+
},
354+
"SseType": {}
354355
}
355356
}
356357
}

0 commit comments

Comments
 (0)