Skip to content

Commit

Permalink
Updates SDK to v2.501.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jul 26, 2019
1 parent 046b177 commit 4d7c4a3
Show file tree
Hide file tree
Showing 32 changed files with 2,531 additions and 749 deletions.
37 changes: 37 additions & 0 deletions .changes/2.501.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
[
{
"type": "feature",
"category": "Batch",
"description": "AWS Batch now supports SDK auto-pagination and Job-level docker devices."
},
{
"type": "feature",
"category": "CloudWatchLogs",
"description": "Allow for specifying multiple log groups in an Insights query, and deprecate storedByte field for LogStreams and interleaved field for FilterLogEventsRequest."
},
{
"type": "feature",
"category": "CostExplorer",
"description": "Adds support for resource optimization recommendations."
},
{
"type": "feature",
"category": "EC2",
"description": "You can now create EC2 Capacity Reservations using Availability Zone ID or Availability Zone name. You can view usage of Amazon EC2 Capacity Reservations per AWS account."
},
{
"type": "feature",
"category": "Glue",
"description": "This release provides GetJobBookmark and GetJobBookmarks APIs. These APIs enable users to look at specific versions or all versions of the JobBookmark for a specific job. This release also enables resetting the job bookmark to a specific run via an enhancement of the ResetJobBookmark API."
},
{
"type": "feature",
"category": "Greengrass",
"description": "Greengrass OTA service supports openwrt/aarch64 and openwrt/armv7l platforms."
},
{
"type": "feature",
"category": "MediaConnect",
"description": "This release adds support for the Zixi pull protocol on outputs."
}
]
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.500.0-->
<!--LATEST=2.501.0-->
<!--ENTRYINSERT-->

## 2.501.0
* feature: Batch: AWS Batch now supports SDK auto-pagination and Job-level docker devices.
* feature: CloudWatchLogs: Allow for specifying multiple log groups in an Insights query, and deprecate storedByte field for LogStreams and interleaved field for FilterLogEventsRequest.
* feature: CostExplorer: Adds support for resource optimization recommendations.
* feature: EC2: You can now create EC2 Capacity Reservations using Availability Zone ID or Availability Zone name. You can view usage of Amazon EC2 Capacity Reservations per AWS account.
* feature: Glue: This release provides GetJobBookmark and GetJobBookmarks APIs. These APIs enable users to look at specific versions or all versions of the JobBookmark for a specific job. This release also enables resetting the job bookmark to a specific run via an enhancement of the ResetJobBookmark API.
* feature: Greengrass: Greengrass OTA service supports openwrt/aarch64 and openwrt/armv7l platforms.
* feature: MediaConnect: This release adds support for the Zixi pull protocol on outputs.

## 2.500.0
* feature: ECR: This release adds support for immutable image tags.
* feature: MediaConvert: AWS Elemental MediaConvert has added several features including support for: audio normalization using ITU BS.1770-3, 1770-4 algorithms, extension of job progress indicators, input cropping rectangle & output position rectangle filters per input, and dual SCC caption mapping to additional codecs and containers.
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.500.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.501.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
62 changes: 45 additions & 17 deletions apis/batch-2016-08-10.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -245,10 +245,10 @@
"shape": "S10"
},
"timeout": {
"shape": "S1e"
"shape": "S1j"
},
"nodeProperties": {
"shape": "S1f"
"shape": "S1k"
}
}
}
Expand Down Expand Up @@ -357,7 +357,7 @@
"reason": {},
"logStreamName": {},
"networkInterfaces": {
"shape": "S1v"
"shape": "S20"
}
}
},
Expand Down Expand Up @@ -385,7 +385,7 @@
"type": "long"
},
"dependsOn": {
"shape": "S1y"
"shape": "S23"
},
"jobDefinition": {},
"parameters": {
Expand Down Expand Up @@ -433,10 +433,13 @@
"logStreamName": {},
"instanceType": {},
"networkInterfaces": {
"shape": "S1v"
"shape": "S20"
},
"resourceRequirements": {
"shape": "S1b"
},
"linuxParameters": {
"shape": "S1e"
}
}
},
Expand All @@ -452,7 +455,7 @@
}
},
"nodeProperties": {
"shape": "S1f"
"shape": "S1k"
},
"arrayProperties": {
"type": "structure",
Expand All @@ -473,7 +476,7 @@
}
},
"timeout": {
"shape": "S1e"
"shape": "S1j"
}
}
}
Expand Down Expand Up @@ -587,13 +590,13 @@
"shape": "S10"
},
"nodeProperties": {
"shape": "S1f"
"shape": "S1k"
},
"retryStrategy": {
"shape": "Sz"
},
"timeout": {
"shape": "S1e"
"shape": "S1j"
}
}
},
Expand Down Expand Up @@ -636,14 +639,14 @@
}
},
"dependsOn": {
"shape": "S1y"
"shape": "S23"
},
"jobDefinition": {},
"parameters": {
"shape": "Sy"
},
"containerOverrides": {
"shape": "S2h"
"shape": "S2m"
},
"nodeOverrides": {
"type": "structure",
Expand All @@ -661,7 +664,7 @@
"members": {
"targetNodes": {},
"containerOverrides": {
"shape": "S2h"
"shape": "S2m"
}
}
}
Expand All @@ -672,7 +675,7 @@
"shape": "Sz"
},
"timeout": {
"shape": "S1e"
"shape": "S1j"
}
}
},
Expand Down Expand Up @@ -897,6 +900,9 @@
"instanceType": {},
"resourceRequirements": {
"shape": "S1b"
},
"linuxParameters": {
"shape": "S1e"
}
}
},
Expand Down Expand Up @@ -973,14 +979,36 @@
}
},
"S1e": {
"type": "structure",
"members": {
"devices": {
"type": "list",
"member": {
"type": "structure",
"required": [
"hostPath"
],
"members": {
"hostPath": {},
"containerPath": {},
"permissions": {
"type": "list",
"member": {}
}
}
}
}
}
},
"S1j": {
"type": "structure",
"members": {
"attemptDurationSeconds": {
"type": "integer"
}
}
},
"S1f": {
"S1k": {
"type": "structure",
"required": [
"numNodes",
Expand Down Expand Up @@ -1011,7 +1039,7 @@
}
}
},
"S1v": {
"S20": {
"type": "list",
"member": {
"type": "structure",
Expand All @@ -1022,7 +1050,7 @@
}
}
},
"S1y": {
"S23": {
"type": "list",
"member": {
"type": "structure",
Expand All @@ -1032,7 +1060,7 @@
}
}
},
"S2h": {
"S2m": {
"type": "structure",
"members": {
"vcpus": {
Expand Down
63 changes: 61 additions & 2 deletions apis/batch-2016-08-10.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -652,7 +652,7 @@
},
"subnets": {
"shape": "StringList",
"documentation": "<p>The VPC subnets into which the compute resources are launched. </p>"
"documentation": "<p>The VPC subnets into which the compute resources are launched. For more information, see <a href=\"https://docs.aws.amazon.com/vpc/latest/userguide/VPC_Subnets.html\">VPCs and Subnets</a> in the <i>Amazon VPC User Guide</i>.</p>"
},
"securityGroupIds": {
"shape": "StringList",
Expand Down Expand Up @@ -789,6 +789,10 @@
"resourceRequirements": {
"shape": "ResourceRequirements",
"documentation": "<p>The type and amount of a resource to assign to a container. Currently, the only supported resource is <code>GPU</code>.</p>"
},
"linuxParameters": {
"shape": "LinuxParameters",
"documentation": "<p>Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.</p>"
}
},
"documentation": "<p>An object representing the details of a container that is part of a job.</p>"
Expand Down Expand Up @@ -881,6 +885,10 @@
"resourceRequirements": {
"shape": "ResourceRequirements",
"documentation": "<p>The type and amount of a resource to assign to a container. Currently, the only supported resource is <code>GPU</code>.</p>"
},
"linuxParameters": {
"shape": "LinuxParameters",
"documentation": "<p>Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.</p>"
}
},
"documentation": "<p>Container properties are used in job definitions to describe the container that is launched as part of a job.</p>"
Expand Down Expand Up @@ -1152,6 +1160,47 @@
}
}
},
"Device": {
"type": "structure",
"required": [
"hostPath"
],
"members": {
"hostPath": {
"shape": "String",
"documentation": "<p>The path for the device on the host container instance.</p>"
},
"containerPath": {
"shape": "String",
"documentation": "<p>The path inside the container at which to expose the host device.</p>"
},
"permissions": {
"shape": "DeviceCgroupPermissions",
"documentation": "<p>The explicit permissions to provide to the container for the device. By default, the container has permissions for <code>read</code>, <code>write</code>, and <code>mknod</code> for the device.</p>"
}
},
"documentation": "<p>An object representing a container instance host device.</p>"
},
"DeviceCgroupPermission": {
"type": "string",
"enum": [
"READ",
"WRITE",
"MKNOD"
]
},
"DeviceCgroupPermissions": {
"type": "list",
"member": {
"shape": "DeviceCgroupPermission"
}
},
"DevicesList": {
"type": "list",
"member": {
"shape": "Device"
}
},
"EnvironmentVariables": {
"type": "list",
"member": {
Expand Down Expand Up @@ -1299,7 +1348,7 @@
},
"status": {
"shape": "JobStatus",
"documentation": "<p>The current status for the job. </p> <note> <p>If your jobs do not progress to <code>STARTING</code>, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#job_stuck_in_runnable\">Jobs Stuck in <code>RUNNABLE</code> Status</a> in the troubleshooting section of the <i>AWS Batch User Guide</i>.</p> </note>"
"documentation": "<p>The current status for the job. </p> <note> <p>If your jobs do not progress to <code>STARTING</code>, see <a href=\"https://docs.aws.amazon.com/batch/latest/userguide/troubleshooting.html#job_stuck_in_runnable\">Jobs Stuck in RUNNABLE Status</a> in the troubleshooting section of the <i>AWS Batch User Guide</i>.</p> </note>"
},
"attempts": {
"shape": "AttemptDetails",
Expand Down Expand Up @@ -1523,6 +1572,16 @@
},
"documentation": "<p>An object representing a launch template associated with a compute resource. You must specify either the launch template ID or launch template name in the request, but not both. </p>"
},
"LinuxParameters": {
"type": "structure",
"members": {
"devices": {
"shape": "DevicesList",
"documentation": "<p>Any host devices to expose to the container. This parameter maps to <code>Devices</code> in the <a href=\"https://docs.docker.com/engine/api/v1.23/#create-a-container\">Create a container</a> section of the <a href=\"https://docs.docker.com/engine/api/v1.23/\">Docker Remote API</a> and the <code>--device</code> option to <a href=\"https://docs.docker.com/engine/reference/run/\">docker run</a>.</p>"
}
},
"documentation": "<p>Linux-specific modifications that are applied to the container, such as Linux kernel capabilities.</p>"
},
"ListJobsRequest": {
"type": "structure",
"members": {
Expand Down
24 changes: 24 additions & 0 deletions apis/batch-2016-08-10.paginators.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,28 @@
{
"pagination": {
"DescribeComputeEnvironments": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "computeEnvironments"
},
"DescribeJobDefinitions": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "jobDefinitions"
},
"DescribeJobQueues": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "jobQueues"
},
"ListJobs": {
"input_token": "nextToken",
"output_token": "nextToken",
"limit_key": "maxResults",
"result_key": "jobSummaryList"
}
}
}
Loading

0 comments on commit 4d7c4a3

Please sign in to comment.