Skip to content

Commit

Permalink
Updates SDK to v2.840.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Feb 8, 2021
1 parent 1407405 commit d810e4e
Show file tree
Hide file tree
Showing 29 changed files with 552 additions and 304 deletions.
32 changes: 32 additions & 0 deletions .changes/2.840.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
[
{
"type": "feature",
"category": "CloudTrail",
"description": "ConflictException is now thrown when certain operations are called on resources before CloudTrail has time to load the resources. Two new exceptions have been added to the PutInsightSelectors API."
},
{
"type": "feature",
"category": "DataExchange",
"description": "This release introduces the new ExportRevision job type, which allows for the export of an entire revision."
},
{
"type": "feature",
"category": "GlobalAccelerator",
"description": "Global Accelerator now supports bringing your own IP addresses for custom routing accelerators"
},
{
"type": "feature",
"category": "IVS",
"description": "Fixed an issue where StreamStartTime could not be unmarshalled from response. Changed DeleteChannel and DeleteStreamKey response codes to 204."
},
{
"type": "feature",
"category": "IoTSiteWise",
"description": "Recall CreatePresignedPortalUrl API"
},
{
"type": "feature",
"category": "Macie2",
"description": "This release of the Amazon Macie API adds support for specifying a time range in queries for usage data."
}
]
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.839.0-->
<!--LATEST=2.840.0-->
<!--ENTRYINSERT-->

## 2.840.0
* feature: CloudTrail: ConflictException is now thrown when certain operations are called on resources before CloudTrail has time to load the resources. Two new exceptions have been added to the PutInsightSelectors API.
* feature: DataExchange: This release introduces the new ExportRevision job type, which allows for the export of an entire revision.
* feature: GlobalAccelerator: Global Accelerator now supports bringing your own IP addresses for custom routing accelerators
* feature: IVS: Fixed an issue where StreamStartTime could not be unmarshalled from response. Changed DeleteChannel and DeleteStreamKey response codes to 204.
* feature: IoTSiteWise: Recall CreatePresignedPortalUrl API
* feature: Macie2: This release of the Amazon Macie API adds support for specifying a time range in queries for usage data.

## 2.839.0
* feature: Organizations: Added support for a few additional exception codes for some AWS Organizations APIs.

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.839.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.840.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
13 changes: 11 additions & 2 deletions apis/cloudtrail-2013-11-01.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,9 @@
},
{
"shape": "InsufficientDependencyServiceAccessPermissionException"
},
{
"shape": "ConflictException"
}
],
"documentation": "<p>Deletes a trail. This operation must be called from the region in which the trail was created. <code>DeleteTrail</code> cannot be called on the shadow trails (replicated trails in other regions) of a trail that is enabled in all regions.</p>",
Expand Down Expand Up @@ -541,6 +544,12 @@
{
"shape": "InsufficientEncryptionPolicyException"
},
{
"shape": "S3BucketDoesNotExistException"
},
{
"shape": "KmsException"
},
{
"shape": "UnsupportedOperationException"
},
Expand Down Expand Up @@ -827,7 +836,7 @@
"members": {
"Field": {
"shape": "SelectorField",
"documentation": "<p> A field in an event record on which to filter events to be logged. Supported fields include <code>readOnly</code>, <code>eventCategory</code>, <code>eventSource</code> (for management events), <code>eventName</code>, <code>resources.type</code>, and <code>resources.ARN</code>. </p> <ul> <li> <p> <b> <code>readOnly</code> </b> - Optional. Can be set to <code>Equals</code> a value of <code>true</code> or <code>false</code>. A value of <code>false</code> logs both <code>read</code> and <code>write</code> events.</p> </li> <li> <p> <b> <code>eventSource</code> </b> - For filtering management events only. This can be set only to <code>NotEquals</code> <code>kms.amazonaws.com</code>.</p> </li> <li> <p> <b> <code>eventName</code> </b> - Can use any operator. You can use it to filter in or filter out any data event logged to CloudTrail, such as <code>PutBucket</code>. You can have multiple values for this field, separated by commas.</p> </li> <li> <p> <b> <code>eventCategory</code> </b> - This is required. It must be set to <code>Equals</code>, and the value must be <code>Management</code> or <code>Data</code>.</p> </li> <li> <p> <b> <code>resources.type</code> </b> - This field is required. <code>resources.type</code> can only use the <code>Equals</code> operator, and the value can be one of the following: <code>AWS::S3::Object</code> or <code>AWS::Lambda::Function</code>. You can have only one <code>resources.type</code> field per selector. To log data events on more than one resource type, add another selector.</p> </li> <li> <p> <b> <code>resources.ARN</code> </b> - You can use any operator with resources.ARN, but if you use <code>Equals</code> or <code>NotEquals</code>, the value must exactly match the ARN of a valid resource of the type you've specified in the template as the value of resources.type. For example, if resources.type equals <code>AWS::S3::Object</code>, the ARN must be in one of the following formats. The trailing slash is intentional; do not exclude it.</p> <ul> <li> <p> <code>arn:partition:s3:::bucket_name/</code> </p> </li> <li> <p> <code>arn:partition:s3:::bucket_name/object_or_file_name/</code> </p> </li> </ul> <p>When resources.type equals <code>AWS::Lambda::Function</code>, and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the following format:</p> <ul> <li> <p> <code>arn:partition:lambda:region:account_ID:function:function_name</code> </p> </li> </ul> </li> </ul>"
"documentation": "<p> A field in an event record on which to filter events to be logged. Supported fields include <code>readOnly</code>, <code>eventCategory</code>, <code>eventSource</code> (for management events), <code>eventName</code>, <code>resources.type</code>, and <code>resources.ARN</code>. </p> <ul> <li> <p> <b> <code>readOnly</code> </b> - Optional. Can be set to <code>Equals</code> a value of <code>true</code> or <code>false</code>. A value of <code>false</code> logs both <code>read</code> and <code>write</code> events.</p> </li> <li> <p> <b> <code>eventSource</code> </b> - For filtering management events only. This can be set only to <code>NotEquals</code> <code>kms.amazonaws.com</code>.</p> </li> <li> <p> <b> <code>eventName</code> </b> - Can use any operator. You can use it to filter in or filter out any data event logged to CloudTrail, such as <code>PutBucket</code>. You can have multiple values for this field, separated by commas.</p> </li> <li> <p> <b> <code>eventCategory</code> </b> - This is required. It must be set to <code>Equals</code>, and the value must be <code>Management</code> or <code>Data</code>.</p> </li> <li> <p> <b> <code>resources.type</code> </b> - This field is required. <code>resources.type</code> can only use the <code>Equals</code> operator, and the value can be one of the following: <code>AWS::S3::Object</code>, <code>AWS::Lambda::Function</code>, or <code>AWS::S3Outposts::Object</code>. You can have only one <code>resources.type</code> field per selector. To log data events on more than one resource type, add another selector.</p> </li> <li> <p> <b> <code>resources.ARN</code> </b> - You can use any operator with resources.ARN, but if you use <code>Equals</code> or <code>NotEquals</code>, the value must exactly match the ARN of a valid resource of the type you've specified in the template as the value of resources.type. For example, if resources.type equals <code>AWS::S3::Object</code>, the ARN must be in one of the following formats. The trailing slash is intentional; do not exclude it.</p> <ul> <li> <p> <code>arn:partition:s3:::bucket_name/</code> </p> </li> <li> <p> <code>arn:partition:s3:::bucket_name/object_or_file_name/</code> </p> </li> </ul> <p>When resources.type equals <code>AWS::Lambda::Function</code>, and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the following format:</p> <ul> <li> <p> <code>arn:partition:lambda:region:account_ID:function:function_name</code> </p> </li> </ul> <p>When <code>resources.type</code> equals <code>AWS::S3Outposts::Object</code>, and the operator is set to <code>Equals</code> or <code>NotEquals</code>, the ARN must be in the following format:</p> <ul> <li> <p> <code>arn:partition:s3-outposts:region:&gt;account_ID:object_path</code> </p> </li> </ul> </li> </ul>"
},
"Equals": {
"shape": "Operator",
Expand Down Expand Up @@ -990,7 +999,7 @@
"members": {
"Type": {
"shape": "String",
"documentation": "<p>The resource type in which you want to log data events. You can specify <code>AWS::S3::Object</code> or <code>AWS::Lambda::Function</code> resources.</p>"
"documentation": "<p>The resource type in which you want to log data events. You can specify <code>AWS::S3::Object</code> or <code>AWS::Lambda::Function</code> resources.</p> <p>The <code>AWS::S3Outposts::Object</code> resource type is not valid in basic event selectors. To log data events on this resource type, use advanced event selectors.</p>"
},
"Values": {
"shape": "DataResourceValues",
Expand Down
79 changes: 63 additions & 16 deletions apis/dataexchange-2017-07-25.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,22 @@
"RevisionId"
]
},
"ExportRevisionsToS3": {
"type": "structure",
"members": {
"DataSetId": {},
"Encryption": {
"shape": "Sk"
},
"RevisionDestinations": {
"shape": "Sn"
}
},
"required": [
"RevisionDestinations",
"DataSetId"
]
},
"ImportAssetFromSignedUrl": {
"type": "structure",
"members": {
Expand All @@ -137,7 +153,7 @@
"type": "structure",
"members": {
"AssetSources": {
"shape": "Sq"
"shape": "St"
},
"DataSetId": {},
"RevisionId": {}
Expand Down Expand Up @@ -165,10 +181,10 @@
"shape": "Sa"
},
"Details": {
"shape": "Su"
"shape": "Sx"
},
"Errors": {
"shape": "Sz"
"shape": "S13"
},
"Id": {},
"State": {},
Expand Down Expand Up @@ -328,7 +344,7 @@
"members": {
"Arn": {},
"AssetDetails": {
"shape": "S1h"
"shape": "S1l"
},
"AssetType": {},
"CreatedAt": {
Expand Down Expand Up @@ -414,10 +430,10 @@
"shape": "Sa"
},
"Details": {
"shape": "Su"
"shape": "Sx"
},
"Errors": {
"shape": "Sz"
"shape": "S13"
},
"Id": {},
"State": {},
Expand Down Expand Up @@ -643,10 +659,10 @@
"shape": "Sa"
},
"Details": {
"shape": "Su"
"shape": "Sx"
},
"Errors": {
"shape": "Sz"
"shape": "S13"
},
"Id": {},
"State": {},
Expand Down Expand Up @@ -712,7 +728,7 @@
"members": {
"Arn": {},
"AssetDetails": {
"shape": "S1h"
"shape": "S1l"
},
"AssetType": {},
"CreatedAt": {
Expand Down Expand Up @@ -879,7 +895,7 @@
"members": {
"Arn": {},
"AssetDetails": {
"shape": "S1h"
"shape": "S1l"
},
"AssetType": {},
"CreatedAt": {
Expand Down Expand Up @@ -1030,7 +1046,22 @@
"Type"
]
},
"Sq": {
"Sn": {
"type": "list",
"member": {
"type": "structure",
"members": {
"Bucket": {},
"KeyPattern": {},
"RevisionId": {}
},
"required": [
"Bucket",
"RevisionId"
]
}
},
"St": {
"type": "list",
"member": {
"type": "structure",
Expand All @@ -1044,7 +1075,7 @@
]
}
},
"Su": {
"Sx": {
"type": "structure",
"members": {
"ExportAssetToSignedUrl": {
Expand Down Expand Up @@ -1082,6 +1113,22 @@
"RevisionId"
]
},
"ExportRevisionsToS3": {
"type": "structure",
"members": {
"DataSetId": {},
"Encryption": {
"shape": "Sk"
},
"RevisionDestinations": {
"shape": "Sn"
}
},
"required": [
"RevisionDestinations",
"DataSetId"
]
},
"ImportAssetFromSignedUrl": {
"type": "structure",
"members": {
Expand All @@ -1104,7 +1151,7 @@
"type": "structure",
"members": {
"AssetSources": {
"shape": "Sq"
"shape": "St"
},
"DataSetId": {},
"RevisionId": {}
Expand All @@ -1117,7 +1164,7 @@
}
}
},
"Sz": {
"S13": {
"type": "list",
"member": {
"type": "structure",
Expand All @@ -1136,7 +1183,7 @@
]
},
"ImportAssetsFromS3JobErrorDetails": {
"shape": "Sq"
"shape": "St"
}
}
},
Expand All @@ -1154,7 +1201,7 @@
]
}
},
"S1h": {
"S1l": {
"type": "structure",
"members": {
"S3SnapshotAsset": {
Expand Down
Loading

0 comments on commit d810e4e

Please sign in to comment.