Skip to content

Commit

Permalink
Updates SDK to v2.682.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed May 21, 2020
1 parent 61d2e7e commit 039f9ba
Show file tree
Hide file tree
Showing 23 changed files with 674 additions and 375 deletions.
27 changes: 27 additions & 0 deletions .changes/2.682.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
[
{
"type": "bugfix",
"category": "Typings",
"description": "When implementing `Credentials` interface's `refresh()` method, the callback needs a defined `AWSError` as arg but it may not exist in case of successful refresh. Hence, modifed the method typing to include the fact that the callback can be called with no error on success as described in the docs."
},
{
"type": "feature",
"category": "CodeBuild",
"description": "CodeBuild adds support for tagging with report groups"
},
{
"type": "feature",
"category": "EC2",
"description": "From this release onwards ProvisionByoipCidr publicly supports IPv6. Updated ProvisionByoipCidr API to support tags for public IPv4 and IPv6 pools. Added NetworkBorderGroup to the DescribePublicIpv4Pools response."
},
{
"type": "feature",
"category": "S3",
"description": "Deprecates unusable input members bound to Content-MD5 header. Updates example and documentation."
},
{
"type": "feature",
"category": "Synthetics",
"description": "AWS CloudWatch Synthetics now supports configuration of allocated memory for a canary."
}
]
5 changes: 0 additions & 5 deletions .changes/next-release/bugfix-Typings-2e38bbb7.json

This file was deleted.

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.681.0-->
<!--LATEST=2.682.0-->
<!--ENTRYINSERT-->

## 2.682.0
* bugfix: Typings: When implementing `Credentials` interface's `refresh()` method, the callback needs a defined `AWSError` as arg but it may not exist in case of successful refresh. Hence, modifed the method typing to include the fact that the callback can be called with no error on success as described in the docs.
* feature: CodeBuild: CodeBuild adds support for tagging with report groups
* feature: EC2: From this release onwards ProvisionByoipCidr publicly supports IPv6. Updated ProvisionByoipCidr API to support tags for public IPv4 and IPv6 pools. Added NetworkBorderGroup to the DescribePublicIpv4Pools response.
* feature: S3: Deprecates unusable input members bound to Content-MD5 header. Updates example and documentation.
* feature: Synthetics: AWS CloudWatch Synthetics now supports configuration of allocated memory for a canary.

## 2.681.0
* feature: AppMesh: List APIs for all resources now contain additional information: when a resource was created, last updated, and its current version number.
* feature: Backup: This release allows customers to enable or disable AWS Backup support for an AWS resource type. This release also includes new APIs, update-region-settings and describe-region-settings, which can be used to opt in to a specific resource type. For all current AWS Backup customers, the default settings enable support for EBS, EC2, StorageGateway, EFS, DDB and RDS resource types.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ version.
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.681.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.682.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
9 changes: 9 additions & 0 deletions apis/codebuild-2016-10-06.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,9 @@
"type": {},
"exportConfig": {
"shape": "S2k"
},
"tags": {
"shape": "S22"
}
}
},
Expand Down Expand Up @@ -945,6 +948,9 @@
"arn": {},
"exportConfig": {
"shape": "S2k"
},
"tags": {
"shape": "S22"
}
}
},
Expand Down Expand Up @@ -1490,6 +1496,9 @@
},
"lastModified": {
"type": "timestamp"
},
"tags": {
"shape": "S22"
}
}
},
Expand Down
24 changes: 18 additions & 6 deletions apis/codebuild-2016-10-06.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -1253,7 +1253,7 @@
},
"tags": {
"shape": "TagList",
"documentation": "<p>A set of tags for this build project.</p> <p>These tags are available for use by AWS services that support AWS CodeBuild build project tags.</p>"
"documentation": "<p>A list of tag key and value pairs associated with this build project.</p> <p>These tags are available for use by AWS services that support AWS CodeBuild build project tags.</p>"
},
"vpcConfig": {
"shape": "VpcConfig",
Expand Down Expand Up @@ -1301,6 +1301,10 @@
"exportConfig": {
"shape": "ReportExportConfig",
"documentation": "<p> A <code>ReportExportConfig</code> object that contains information about where the report group test results are exported. </p>"
},
"tags": {
"shape": "TagList",
"documentation": "<p> A list of tag key and value pairs associated with this report group. </p> <p>These tags are available for use by AWS services that support AWS CodeBuild report group tags.</p>"
}
}
},
Expand Down Expand Up @@ -2228,7 +2232,7 @@
},
"tags": {
"shape": "TagList",
"documentation": "<p>The tags for this build project.</p> <p>These tags are available for use by AWS services that support AWS CodeBuild build project tags.</p>"
"documentation": "<p>A list of tag key and value pairs associated with this build project.</p> <p>These tags are available for use by AWS services that support AWS CodeBuild build project tags.</p>"
},
"created": {
"shape": "Timestamp",
Expand Down Expand Up @@ -2709,6 +2713,10 @@
"lastModified": {
"shape": "Timestamp",
"documentation": "<p> The date and time this <code>ReportGroup</code> was last modified. </p>"
},
"tags": {
"shape": "TagList",
"documentation": "<p> A list of tag key and value pairs associated with this report group. </p> <p>These tags are available for use by AWS services that support AWS CodeBuild report group tags.</p>"
}
},
"documentation": "<p> A series of reports. Each report contains information about the results from running a series of test cases. You specify the test cases for a report group in the buildspec for a build project using one or more paths to the test case files. </p>"
Expand Down Expand Up @@ -3030,7 +3038,7 @@
},
"idempotencyToken": {
"shape": "String",
"documentation": "<p>A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuild request. The token is included in the StartBuild request and is valid for 5 minutes. If you repeat the StartBuild request with the same token, but change a parameter, AWS CodeBuild returns a parameter mismatch error. </p>"
"documentation": "<p>A unique, case sensitive identifier you provide to ensure the idempotency of the StartBuild request. The token is included in the StartBuild request and is valid for 12 hours. If you repeat the StartBuild request with the same token, but change a parameter, AWS CodeBuild returns a parameter mismatch error. </p>"
},
"logsConfigOverride": {
"shape": "LogsConfig",
Expand Down Expand Up @@ -3268,7 +3276,7 @@
},
"tags": {
"shape": "TagList",
"documentation": "<p>The replacement set of tags for this build project.</p> <p>These tags are available for use by AWS services that support AWS CodeBuild build project tags.</p>"
"documentation": "<p>An updated list of tag key and value pairs associated with this build project.</p> <p>These tags are available for use by AWS services that support AWS CodeBuild build project tags.</p>"
},
"vpcConfig": {
"shape": "VpcConfig",
Expand Down Expand Up @@ -3310,6 +3318,10 @@
"exportConfig": {
"shape": "ReportExportConfig",
"documentation": "<p> Used to specify an updated export type. Valid values are: </p> <ul> <li> <p> <code>S3</code>: The report results are exported to an S3 bucket. </p> </li> <li> <p> <code>NO_EXPORT</code>: The report results are not exported. </p> </li> </ul>"
},
"tags": {
"shape": "TagList",
"documentation": "<p> An updated list of tag key and value pairs associated with this report group. </p> <p>These tags are available for use by AWS services that support AWS CodeBuild report group tags.</p>"
}
}
},
Expand Down Expand Up @@ -3358,7 +3370,7 @@
"ValueInput": {
"type": "string",
"max": 255,
"min": 1,
"min": 0,
"pattern": "^([\\p{L}\\p{Z}\\p{N}_.:/=@+\\-]*)$"
},
"VpcConfig": {
Expand Down Expand Up @@ -3418,7 +3430,7 @@
"members": {
"type": {
"shape": "WebhookFilterType",
"documentation": "<p> The type of webhook filter. There are six webhook filter types: <code>EVENT</code>, <code>ACTOR_ACCOUNT_ID</code>, <code>HEAD_REF</code>, <code>BASE_REF</code>, <code>FILE_PATH</code>, and <code>COMMIT_MESSAGE</code>. </p> <dl> <dt> EVENT </dt> <dd> <p> A webhook event triggers a build when the provided <code>pattern</code> matches one of five event types: <code>PUSH</code>, <code>PULL_REQUEST_CREATED</code>, <code>PULL_REQUEST_UPDATED</code>, <code>PULL_REQUEST_REOPENED</code>, and <code>PULL_REQUEST_MERGED</code>. The <code>EVENT</code> patterns are specified as a comma-separated string. For example, <code>PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED</code> filters all push, pull request created, and pull request updated events. </p> <note> <p> The <code>PULL_REQUEST_REOPENED</code> works with GitHub and GitHub Enterprise only. </p> </note> </dd> <dt> ACTOR_ACCOUNT_ID </dt> <dd> <p> A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression <code>pattern</code>. </p> </dd> <dt> HEAD_REF </dt> <dd> <p> A webhook event triggers a build when the head reference matches the regular expression <code>pattern</code>. For example, <code>refs/heads/branch-name</code> and <code>refs/tags/tag-name</code>. </p> <p> Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events. </p> </dd> <dt> BASE_REF </dt> <dd> <p> A webhook event triggers a build when the base reference matches the regular expression <code>pattern</code>. For example, <code>refs/heads/branch-name</code>. </p> <note> <p> Works with pull request events only. </p> </note> </dd> <dt> FILE_PATH </dt> <dd> <p> A webhook triggers a build when the path of a changed file matches the regular expression <code>pattern</code>. </p> <note> <p> Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. </p> </note> </dd> <dt>COMMIT_MESSAGE</dt> <dd> <p>A webhook triggers a build when the head commit message matches the regular expression <code>pattern</code>.</p> <note> <p> Works with GitHub and Bitbucket events push and pull requests events. Also works with GitHub Enterprise push events, but does not work with GitHub Enterprise pull request events. </p> </note> </dd> </dl>"
"documentation": "<p> The type of webhook filter. There are five webhook filter types: <code>EVENT</code>, <code>ACTOR_ACCOUNT_ID</code>, <code>HEAD_REF</code>, <code>BASE_REF</code>, and <code>FILE_PATH</code>. </p> <dl> <dt> EVENT </dt> <dd> <p> A webhook event triggers a build when the provided <code>pattern</code> matches one of five event types: <code>PUSH</code>, <code>PULL_REQUEST_CREATED</code>, <code>PULL_REQUEST_UPDATED</code>, <code>PULL_REQUEST_REOPENED</code>, and <code>PULL_REQUEST_MERGED</code>. The <code>EVENT</code> patterns are specified as a comma-separated string. For example, <code>PUSH, PULL_REQUEST_CREATED, PULL_REQUEST_UPDATED</code> filters all push, pull request created, and pull request updated events. </p> <note> <p> The <code>PULL_REQUEST_REOPENED</code> works with GitHub and GitHub Enterprise only. </p> </note> </dd> <dt> ACTOR_ACCOUNT_ID </dt> <dd> <p> A webhook event triggers a build when a GitHub, GitHub Enterprise, or Bitbucket account ID matches the regular expression <code>pattern</code>. </p> </dd> <dt> HEAD_REF </dt> <dd> <p> A webhook event triggers a build when the head reference matches the regular expression <code>pattern</code>. For example, <code>refs/heads/branch-name</code> and <code>refs/tags/tag-name</code>. </p> <p> Works with GitHub and GitHub Enterprise push, GitHub and GitHub Enterprise pull request, Bitbucket push, and Bitbucket pull request events. </p> </dd> <dt> BASE_REF </dt> <dd> <p> A webhook event triggers a build when the base reference matches the regular expression <code>pattern</code>. For example, <code>refs/heads/branch-name</code>. </p> <note> <p> Works with pull request events only. </p> </note> </dd> <dt> FILE_PATH </dt> <dd> <p> A webhook triggers a build when the path of a changed file matches the regular expression <code>pattern</code>. </p> <note> <p> Works with GitHub and GitHub Enterprise push events only. </p> </note> </dd> </dl>"
},
"pattern": {
"shape": "String",
Expand Down
7 changes: 7 additions & 0 deletions apis/ec2-2016-11-15.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -8916,6 +8916,9 @@
"locationName": "totalAvailableAddressCount",
"type": "integer"
},
"NetworkBorderGroup": {
"locationName": "networkBorderGroup"
},
"Tags": {
"shape": "Sj",
"locationName": "tagSet"
Expand Down Expand Up @@ -14800,6 +14803,10 @@
"Description": {},
"DryRun": {
"type": "boolean"
},
"PoolTagSpecifications": {
"shape": "S1l",
"locationName": "PoolTagSpecification"
}
}
},
Expand Down
14 changes: 12 additions & 2 deletions apis/ec2-2016-11-15.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -1036,7 +1036,7 @@
"input": {
"shape": "CreateTagsRequest"
},
"documentation": "<p>Adds or overwrites the specified tags for the specified Amazon EC2 resource or resources. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique per resource.</p> <p>For more information about tags, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html\">Tagging Your Resources</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>. For more information about creating IAM policies that control users' access to resources based on tags, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-iam-actions-resources.html\">Supported Resource-Level Permissions for Amazon EC2 API Actions</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
"documentation": "<p>Adds or overwrites only the specified tags for the specified Amazon EC2 resource or resources. When you specify an existing tag key, the value is overwritten with the new value. Each resource can have a maximum of 50 tags. Each tag consists of a key and optional value. Tag keys must be unique per resource.</p> <p>For more information about tags, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html\">Tagging Your Resources</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>. For more information about creating IAM policies that control users' access to resources based on tags, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ec2-supported-iam-actions-resources.html\">Supported Resource-Level Permissions for Amazon EC2 API Actions</a> in the <i>Amazon Elastic Compute Cloud User Guide</i>.</p>"
},
"CreateTrafficMirrorFilter": {
"name": "CreateTrafficMirrorFilter",
Expand Down Expand Up @@ -30603,6 +30603,11 @@
"DryRun": {
"shape": "Boolean",
"documentation": "<p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>"
},
"PoolTagSpecifications": {
"shape": "TagSpecificationList",
"documentation": "<p>The tags to apply to the address pool.</p>",
"locationName": "PoolTagSpecification"
}
}
},
Expand Down Expand Up @@ -30682,6 +30687,11 @@
"documentation": "<p>The total number of available addresses.</p>",
"locationName": "totalAvailableAddressCount"
},
"NetworkBorderGroup": {
"shape": "String",
"documentation": "<p>The name of the location from which the address pool is advertised. A network border group is a unique set of Availability Zones or Local Zones from where AWS advertises public IP addresses.</p>",
"locationName": "networkBorderGroup"
},
"Tags": {
"shape": "TagList",
"documentation": "<p>Any tags for the address pool.</p>",
Expand Down Expand Up @@ -36249,7 +36259,7 @@
"members": {
"ResourceType": {
"shape": "ResourceType",
"documentation": "<p>The type of resource to tag. Currently, the resource types that support tagging on creation are: <code>capacity-reservation</code> | <code>client-vpn-endpoint</code> | <code>dedicated-host</code> | <code>fleet</code> | <code>fpga-image</code> | <code>instance</code> | <code>key-pair</code> | <code>launch-template</code> | | <code>natgateway</code> | <code>spot-fleet-request</code> | <code>placement-group</code> | <code>snapshot</code> | <code>traffic-mirror-filter</code> | <code>traffic-mirror-session</code> | <code>traffic-mirror-target</code> | <code>transit-gateway</code> | <code>transit-gateway-attachment</code> | <code>transit-gateway-route-table</code> | <code>vpc-endpoint</code> (for interface VPC endpoints)| <code>vpc-endpoint-service</code> (for gateway VPC endpoints) | <code>volume</code> | <code>vpc-flow-log</code>.</p> <p>To tag a resource after it has been created, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html\">CreateTags</a>.</p>",
"documentation": "<p>The type of resource to tag. Currently, the resource types that support tagging on creation are: <code>capacity-reservation</code> | <code>client-vpn-endpoint</code> | <code>dedicated-host</code> | <code>fleet</code> | <code>fpga-image</code> | <code>instance</code> | <code>ipv4pool-ec2</code> | <code>ipv6pool-ec2</code> | <code>key-pair</code> | <code>launch-template</code> | <code>natgateway</code> | <code>spot-fleet-request</code> | <code>placement-group</code> | <code>snapshot</code> | <code>traffic-mirror-filter</code> | <code>traffic-mirror-session</code> | <code>traffic-mirror-target</code> | <code>transit-gateway</code> | <code>transit-gateway-attachment</code> | <code>transit-gateway-route-table</code> | <code>vpc-endpoint</code> (for interface VPC endpoints)| <code>vpc-endpoint-service</code> (for gateway VPC endpoints) | <code>volume</code> | <code>vpc-flow-log</code>.</p> <p>To tag a resource after it has been created, see <a href=\"https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_CreateTags.html\">CreateTags</a>.</p>",
"locationName": "resourceType"
},
"Tags": {
Expand Down
Loading

0 comments on commit 039f9ba

Please sign in to comment.