Skip to content

Commit

Permalink
Updates SDK to v2.1060.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jan 19, 2022
1 parent 1c987aa commit 7eb7cae
Show file tree
Hide file tree
Showing 15 changed files with 51 additions and 23 deletions.
12 changes: 12 additions & 0 deletions .changes/2.1060.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[
{
"type": "feature",
"category": "EC2InstanceConnect",
"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."
},
{
"type": "feature",
"category": "Macie2",
"description": "This release of the Amazon Macie API introduces stricter validation of requests to create custom data identifiers."
}
]
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.1059.0-->
<!--LATEST=2.1060.0-->
<!--ENTRYINSERT-->

## 2.1060.0
* 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.
* feature: Macie2: This release of the Amazon Macie API introduces stricter validation of requests to create custom data identifiers.

## 2.1059.0
* feature: EC2: Add support for AWS Client VPN client login banner and session timeout.
* 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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ For release notes, see the [CHANGELOG](https://github.com/aws/aws-sdk-js/blob/ma
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.1059.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.1060.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
3 changes: 1 addition & 2 deletions apis/ec2-instance-connect-2018-04-02.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,7 @@
"required": [
"InstanceId",
"InstanceOSUser",
"SSHPublicKey",
"AvailabilityZone"
"SSHPublicKey"
],
"members": {
"InstanceId": {},
Expand Down
11 changes: 8 additions & 3 deletions apis/ec2-instance-connect-2018-04-02.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@
},
{
"shape": "EC2InstanceNotFoundException"
},
{
"shape": "EC2InstanceStateInvalidException"
}
],
"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>"
Expand Down Expand Up @@ -83,6 +86,9 @@
},
{
"shape": "SerialConsoleSessionUnavailableException"
},
{
"shape": "EC2InstanceStateInvalidException"
}
],
"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>"
Expand Down Expand Up @@ -113,15 +119,14 @@
"SSHPublicKey": {
"type": "string",
"max": 4096,
"min": 256
"min": 80
},
"SendSSHPublicKeyRequest": {
"type": "structure",
"required": [
"InstanceId",
"InstanceOSUser",
"SSHPublicKey",
"AvailabilityZone"
"SSHPublicKey"
],
"members": {
"InstanceId": {
Expand Down
6 changes: 5 additions & 1 deletion apis/macie2-2020-01-01.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,11 @@
"shape": "S17",
"locationName": "tags"
}
}
},
"required": [
"name",
"regex"
]
},
"output": {
"type": "structure",
Expand Down
6 changes: 5 additions & 1 deletion apis/macie2-2020-01-01.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -3435,7 +3435,11 @@
"locationName": "tags",
"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>"
}
}
},
"required": [
"name",
"regex"
]
},
"CreateCustomDataIdentifierResponse": {
"type": "structure",
Expand Down
2 changes: 1 addition & 1 deletion clients/ec2instanceconnect.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ declare namespace EC2InstanceConnect {
/**
* The Availability Zone in which the EC2 instance was launched.
*/
AvailabilityZone: AvailabilityZone;
AvailabilityZone?: AvailabilityZone;
}
export interface SendSSHPublicKeyResponse {
/**
Expand Down
4 changes: 2 additions & 2 deletions clients/macie2.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1064,11 +1064,11 @@ declare namespace Macie2 {
/**
* 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.
*/
name?: __string;
name: __string;
/**
* The regular expression (regex) that defines the pattern to match. The expression can contain as many as 512 characters.
*/
regex?: __string;
regex: __string;
/**
* 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.
*/
Expand Down
2 changes: 1 addition & 1 deletion dist/aws-sdk-core-react-native.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ return /******/ (function(modules) { // webpackBootstrap
/**
* @constant
*/
VERSION: '2.1059.0',
VERSION: '2.1060.0',

/**
* @api private
Expand Down
6 changes: 3 additions & 3 deletions dist/aws-sdk-react-native.js

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions dist/aws-sdk.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// AWS SDK for JavaScript v2.1059.0
// AWS SDK for JavaScript v2.1060.0
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
(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){
Expand Down Expand Up @@ -235295,7 +235295,7 @@ AWS.util.update(AWS, {
/**
* @constant
*/
VERSION: '2.1059.0',
VERSION: '2.1060.0',

/**
* @api private
Expand Down Expand Up @@ -256722,7 +256722,7 @@ var LRUCache = /** @class */ (function () {
}());
exports.LRUCache = LRUCache;
},{}],452:[function(require,module,exports){
// AWS SDK for JavaScript v2.1059.0
// AWS SDK for JavaScript v2.1060.0
// Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
// License at https://sdk.amazonaws.com/js/BUNDLE_LICENSE.txt
require('./browser_loader');
Expand Down
4 changes: 2 additions & 2 deletions dist/aws-sdk.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/core.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ AWS.util.update(AWS, {
/**
* @constant
*/
VERSION: '2.1059.0',
VERSION: '2.1060.0',

/**
* @api private
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "aws-sdk",
"description": "AWS SDK for JavaScript",
"version": "2.1059.0",
"version": "2.1060.0",
"author": {
"name": "Amazon Web Services",
"email": "",
Expand Down

0 comments on commit 7eb7cae

Please sign in to comment.