Skip to content

Commit 7eb7cae

Browse files
author
awstools
committed
Updates SDK to v2.1060.0
1 parent 1c987aa commit 7eb7cae

15 files changed

+51
-23
lines changed

Diff for: .changes/2.1060.0.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
[
2+
{
3+
"type": "feature",
4+
"category": "EC2InstanceConnect",
5+
"description": "Adds support for ED25519 keys. PushSSHPublicKey Availability Zone parameter is now optional. Adds EC2InstanceStateInvalidException for instances that are not running. This was previously a service exception, so this may require updating your code to handle this new exception."
6+
},
7+
{
8+
"type": "feature",
9+
"category": "Macie2",
10+
"description": "This release of the Amazon Macie API introduces stricter validation of requests to create custom data identifiers."
11+
}
12+
]

Diff for: CHANGELOG.md

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,11 @@
11
# Changelog for AWS SDK for JavaScript
2-
<!--LATEST=2.1059.0-->
2+
<!--LATEST=2.1060.0-->
33
<!--ENTRYINSERT-->
44

5+
## 2.1060.0
6+
* feature: EC2InstanceConnect: Adds support for ED25519 keys. PushSSHPublicKey Availability Zone parameter is now optional. Adds EC2InstanceStateInvalidException for instances that are not running. This was previously a service exception, so this may require updating your code to handle this new exception.
7+
* feature: Macie2: This release of the Amazon Macie API introduces stricter validation of requests to create custom data identifiers.
8+
59
## 2.1059.0
610
* feature: EC2: Add support for AWS Client VPN client login banner and session timeout.
711
* feature: IVS: This release adds support for the new Thumbnail Configuration property for Recording Configurations. For more information see https://docs.aws.amazon.com/ivs/latest/userguide/record-to-s3.html

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
2929
To use the SDK in the browser, simply add the following script tag to your
3030
HTML pages:
3131

32-
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1059.0.min.js"></script>
32+
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1060.0.min.js"></script>
3333

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

Diff for: apis/ec2-instance-connect-2018-04-02.min.json

+1-2
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,7 @@
1919
"required": [
2020
"InstanceId",
2121
"InstanceOSUser",
22-
"SSHPublicKey",
23-
"AvailabilityZone"
22+
"SSHPublicKey"
2423
],
2524
"members": {
2625
"InstanceId": {},

Diff for: apis/ec2-instance-connect-2018-04-02.normal.json

+8-3
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,9 @@
4040
},
4141
{
4242
"shape": "EC2InstanceNotFoundException"
43+
},
44+
{
45+
"shape": "EC2InstanceStateInvalidException"
4346
}
4447
],
4548
"documentation": "<p>Pushes an SSH public key to the specified EC2 instance for use by the specified user. The key remains for 60 seconds. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Connect-using-EC2-Instance-Connect.html\">Connect to your Linux instance using EC2 Instance Connect</a> in the <i>Amazon EC2 User Guide</i>.</p>"
@@ -83,6 +86,9 @@
8386
},
8487
{
8588
"shape": "SerialConsoleSessionUnavailableException"
89+
},
90+
{
91+
"shape": "EC2InstanceStateInvalidException"
8692
}
8793
],
8894
"documentation": "<p>Pushes an SSH public key to the specified EC2 instance. The key remains for 60 seconds, which gives you 60 seconds to establish a serial console connection to the instance using SSH. For more information, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-serial-console.html\">EC2 Serial Console</a> in the <i>Amazon EC2 User Guide</i>.</p>"
@@ -113,15 +119,14 @@
113119
"SSHPublicKey": {
114120
"type": "string",
115121
"max": 4096,
116-
"min": 256
122+
"min": 80
117123
},
118124
"SendSSHPublicKeyRequest": {
119125
"type": "structure",
120126
"required": [
121127
"InstanceId",
122128
"InstanceOSUser",
123-
"SSHPublicKey",
124-
"AvailabilityZone"
129+
"SSHPublicKey"
125130
],
126131
"members": {
127132
"InstanceId": {

Diff for: apis/macie2-2020-01-01.min.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,11 @@
204204
"shape": "S17",
205205
"locationName": "tags"
206206
}
207-
}
207+
},
208+
"required": [
209+
"name",
210+
"regex"
211+
]
208212
},
209213
"output": {
210214
"type": "structure",

Diff for: apis/macie2-2020-01-01.normal.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -3435,7 +3435,11 @@
34353435
"locationName": "tags",
34363436
"documentation": "<p>A map of key-value pairs that specifies the tags to associate with the custom data identifier.</p> <p>A custom data identifier can have a maximum of 50 tags. Each tag consists of a tag key and an associated tag value. The maximum length of a tag key is 128 characters. The maximum length of a tag value is 256 characters.</p>"
34373437
}
3438-
}
3438+
},
3439+
"required": [
3440+
"name",
3441+
"regex"
3442+
]
34393443
},
34403444
"CreateCustomDataIdentifierResponse": {
34413445
"type": "structure",

Diff for: clients/ec2instanceconnect.d.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ declare namespace EC2InstanceConnect {
5050
/**
5151
* The Availability Zone in which the EC2 instance was launched.
5252
*/
53-
AvailabilityZone: AvailabilityZone;
53+
AvailabilityZone?: AvailabilityZone;
5454
}
5555
export interface SendSSHPublicKeyResponse {
5656
/**

Diff for: clients/macie2.d.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -1064,11 +1064,11 @@ declare namespace Macie2 {
10641064
/**
10651065
* A custom name for the custom data identifier. The name can contain as many as 128 characters. We strongly recommend that you avoid including any sensitive data in the name of a custom data identifier. Other users of your account might be able to see this name, depending on the actions that they're allowed to perform in Amazon Macie.
10661066
*/
1067-
name?: __string;
1067+
name: __string;
10681068
/**
10691069
* The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
10701070
*/
1071-
regex?: __string;
1071+
regex: __string;
10721072
/**
10731073
* The severity to assign to findings that the custom data identifier produces, based on the number of occurrences of text that matches the custom data identifier's detection criteria. You can specify as many as three SeverityLevel objects in this array, one for each severity: LOW, MEDIUM, or HIGH. If you specify more than one, the occurrences thresholds must be in ascending order by severity, moving from LOW to HIGH. For example, 1 for LOW, 50 for MEDIUM, and 100 for HIGH. If an S3 object contains fewer occurrences than the lowest specified threshold, Amazon Macie doesn't create a finding. If you don't specify any values for this array, Macie creates findings for S3 objects that contain at least one occurrence of text that matches the detection criteria, and Macie assigns the MEDIUM severity to those findings.
10741074
*/

Diff for: dist/aws-sdk-core-react-native.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
8383
/**
8484
* @constant
8585
*/
86-
VERSION: '2.1059.0',
86+
VERSION: '2.1060.0',
8787

8888
/**
8989
* @api private

Diff for: dist/aws-sdk-react-native.js

+3-3
Large diffs are not rendered by default.

Diff for: dist/aws-sdk.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// AWS SDK for JavaScript v2.1059.0
1+
// AWS SDK for JavaScript v2.1060.0
22
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
33
// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
44
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){
@@ -235295,7 +235295,7 @@ AWS.util.update(AWS, {
235295235295
/**
235296235296
* @constant
235297235297
*/
235298-
VERSION: '2.1059.0',
235298+
VERSION: '2.1060.0',
235299235299

235300235300
/**
235301235301
* @api private
@@ -256722,7 +256722,7 @@ var LRUCache = /** @class */ (function () {
256722256722
}());
256723256723
exports.LRUCache = LRUCache;
256724256724
},{}],452:[function(require,module,exports){
256725-
// AWS SDK for JavaScript v2.1059.0
256725+
// AWS SDK for JavaScript v2.1060.0
256726256726
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
256727256727
// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
256728256728
require('./browser_loader');

Diff for: dist/aws-sdk.min.js

+2-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: lib/core.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ AWS.util.update(AWS, {
2020
/**
2121
* @constant
2222
*/
23-
VERSION: '2.1059.0',
23+
VERSION: '2.1060.0',
2424

2525
/**
2626
* @api private

Diff for: package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "aws-sdk",
33
"description": "AWS SDK for JavaScript",
4-
"version": "2.1059.0",
4+
"version": "2.1060.0",
55
"author": {
66
"name": "Amazon Web Services",
77
"email": "",

0 commit comments

Comments
 (0)