Skip to content

Commit

Permalink
Updates SDK to v2.390.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Jan 17, 2019
1 parent 989a7f8 commit fa49246
Show file tree
Hide file tree
Showing 22 changed files with 620 additions and 517 deletions.
22 changes: 22 additions & 0 deletions .changes/2.390.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
[
{
"type": "feature",
"category": "Lightsail",
"description": "This release adds functionality to the CreateDiskSnapshot API that allows users to snapshot instance root volumes. It also adds various documentation updates."
},
{
"type": "feature",
"category": "Pinpoint",
"description": "This release updates the PutEvents operation. AppPackageName, AppTitle, AppVersionCode, SdkName fields will now be accepted as a part of the event when submitting events."
},
{
"type": "feature",
"category": "Rekognition",
"description": "GetLabelDetection now returns bounding box information for common objects and a hierarchical taxonomy of detected labels. The version of the model used for video label detection is also returned. DetectModerationLabels now returns the version of the model used for detecting unsafe content."
},
{
"type": "feature",
"category": "credentials",
"description": "make resolvedProfile cached inenumerable"
}
]
5 changes: 0 additions & 5 deletions .changes/next-release/feature-credentials-8088d9bc.json

This file was deleted.

8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,13 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.389.0-->
<!--LATEST=2.390.0-->
<!--ENTRYINSERT-->

## 2.390.0
* feature: Lightsail: This release adds functionality to the CreateDiskSnapshot API that allows users to snapshot instance root volumes. It also adds various documentation updates.
* feature: Pinpoint: This release updates the PutEvents operation. AppPackageName, AppTitle, AppVersionCode, SdkName fields will now be accepted as a part of the event when submitting events.
* feature: Rekognition: GetLabelDetection now returns bounding box information for common objects and a hierarchical taxonomy of detected labels. The version of the model used for video label detection is also returned. DetectModerationLabels now returns the version of the model used for detecting unsafe content.
* feature: credentials: make resolvedProfile cached inenumerable

## 2.389.0
* feature: Backup: AWS Backup is a unified backup service designed to protect AWS services and their associated data. AWS Backup simplifies the creation, migration, restoration, and deletion of backups, while also providing reporting and auditing
* feature: DynamoDB: Amazon DynamoDB now integrates with AWS Backup, a centralized backup service that makes it easy for customers to configure and audit the AWS resources they want to backup, automate backup scheduling, set retention policies, and monitor all recent backup and restore activity. AWS Backup provides a fully managed, policy-based backup solution, simplifying your backup management, and helping you meet your business and regulatory backup compliance requirements. For more information, see the Amazon DynamoDB Developer Guide.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,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.389.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.390.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
6 changes: 3 additions & 3 deletions apis/lambda-2015-03-31.examples.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
"MemorySize": 128,
"Publish": true,
"Role": "arn:aws:iam::123456789012:role/service-role/role-name",
"Runtime": "nodejs4.3",
"Runtime": "nodejs8.10",
"Timeout": 15,
"VpcConfig": {
}
Expand All @@ -51,7 +51,7 @@
"LastModified": "2016-11-21T19:49:20.006+0000",
"MemorySize": 128,
"Role": "arn:aws:iam::123456789012:role/service-role/role-name",
"Runtime": "nodejs4.3",
"Runtime": "nodejs8.10",
"Timeout": 123,
"Version": "1",
"VpcConfig": {
Expand Down Expand Up @@ -226,7 +226,7 @@
"LastModified": "2016-11-21T19:49:20.006+0000",
"MemorySize": 128,
"Role": "arn:aws:iam::123456789012:role/lambda_basic_execution",
"Runtime": "nodejs4.3",
"Runtime": "nodejs8.10",
"Timeout": 3,
"Version": "$LATEST",
"VpcConfig": {
Expand Down
330 changes: 164 additions & 166 deletions apis/lambda-2015-03-31.normal.json

Large diffs are not rendered by default.

6 changes: 4 additions & 2 deletions apis/lightsail-2016-11-28.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,12 @@
"input": {
"type": "structure",
"required": [
"diskName",
"diskSnapshotName"
],
"members": {
"diskName": {},
"diskSnapshotName": {},
"instanceName": {},
"tags": {
"shape": "S12"
}
Expand Down Expand Up @@ -2763,7 +2763,9 @@
"state": {},
"progress": {},
"fromDiskName": {},
"fromDiskArn": {}
"fromDiskArn": {},
"fromInstanceName": {},
"fromInstanceArn": {}
}
},
"S46": {
Expand Down
34 changes: 23 additions & 11 deletions apis/lightsail-2016-11-28.normal.json
Original file line number Diff line number Diff line change
Expand Up @@ -417,7 +417,7 @@
"shape": "UnauthenticatedException"
}
],
"documentation": "<p>Creates a snapshot of a block storage disk. You can use snapshots for backups, to make copies of disks, and to save data before shutting down a Lightsail instance.</p> <p>You can take a snapshot of an attached disk that is in use; however, snapshots only capture data that has been written to your disk at the time the snapshot command is issued. This may exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the disk long enough to take a snapshot, your snapshot should be complete. Nevertheless, if you cannot pause all file writes to the disk, you should unmount the disk from within the Lightsail instance, issue the create disk snapshot command, and then remount the disk to ensure a consistent and complete snapshot. You may remount and use your disk while the snapshot status is pending.</p> <p>The <code>create disk snapshot</code> operation supports tag-based access control via request tags. For more information, see the <a href=\"https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags\">Lightsail Dev Guide</a>.</p>"
"documentation": "<p>Creates a snapshot of a block storage disk. You can use snapshots for backups, to make copies of disks, and to save data before shutting down a Lightsail instance.</p> <p>You can take a snapshot of an attached disk that is in use; however, snapshots only capture data that has been written to your disk at the time the snapshot command is issued. This may exclude any data that has been cached by any applications or the operating system. If you can pause any file systems on the disk long enough to take a snapshot, your snapshot should be complete. Nevertheless, if you cannot pause all file writes to the disk, you should unmount the disk from within the Lightsail instance, issue the create disk snapshot command, and then remount the disk to ensure a consistent and complete snapshot. You may remount and use your disk while the snapshot status is pending.</p> <p>You can also use this operation to create a snapshot of an instance's system volume. You might want to do this, for example, to recover data from the system volume of a botched instance or to create a backup of the system volume like you would for a block storage disk. To create a snapshot of a system volume, just define the <code>instance name</code> parameter when issuing the snapshot command, and a snapshot of the defined instance's system volume will be created. After the snapshot is available, you can create a block storage disk from the snapshot and attach it to a running instance to access the data on the disk.</p> <p>The <code>create disk snapshot</code> operation supports tag-based access control via request tags. For more information, see the <a href=\"https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags\">Lightsail Dev Guide</a>.</p>"
},
"CreateDomain": {
"name": "CreateDomain",
Expand Down Expand Up @@ -1416,7 +1416,7 @@
"shape": "UnauthenticatedException"
}
],
"documentation": "<p>Exports a Amazon Lightsail instance or block storage disk snapshot to Amazon Elastic Compute Cloud (Amazon EC2). This operation results in an export snapshot record that can be used with the <code>create cloud formation stack</code> operation to create new Amazon EC2 instances.</p> <p>Exported instance snapshots appear in Amazon EC2 as Amazon Machine Images (AMIs), and the instance system disk appears as an Amazon Elastic Block Store (Amazon EBS) volume. Exported disk snapshots appear in Amazon EC2 as Amazon EBS volumes. Snapshots are exported to the same Amazon Web Services Region in Amazon EC2 as the source Lightsail snapshot.</p> <p/> <p>The <code>export snapshot</code> operation supports tag-based access control via resource tags applied to the resource identified by sourceSnapshotName. For more information, see the <a href=\"https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags\">Lightsail Dev Guide</a>.</p> <note> <p>Use the <code>get instance snapshots</code> or <code>get disk snapshots</code> operations to get a list of snapshots that you can export to Amazon EC2.</p> </note>"
"documentation": "<p>Exports an Amazon Lightsail instance or block storage disk snapshot to Amazon Elastic Compute Cloud (Amazon EC2). This operation results in an export snapshot record that can be used with the <code>create cloud formation stack</code> operation to create new Amazon EC2 instances.</p> <p>Exported instance snapshots appear in Amazon EC2 as Amazon Machine Images (AMIs), and the instance system disk appears as an Amazon Elastic Block Store (Amazon EBS) volume. Exported disk snapshots appear in Amazon EC2 as Amazon EBS volumes. Snapshots are exported to the same Amazon Web Services Region in Amazon EC2 as the source Lightsail snapshot.</p> <p/> <p>The <code>export snapshot</code> operation supports tag-based access control via resource tags applied to the resource identified by sourceSnapshotName. For more information, see the <a href=\"https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags\">Lightsail Dev Guide</a>.</p> <note> <p>Use the <code>get instance snapshots</code> or <code>get disk snapshots</code> operations to get a list of snapshots that you can export to Amazon EC2.</p> </note>"
},
"GetActiveNames": {
"name": "GetActiveNames",
Expand Down Expand Up @@ -3229,7 +3229,7 @@
"shape": "UnauthenticatedException"
}
],
"documentation": "<p>Restarts a specific instance. When your Amazon Lightsail instance is finished rebooting, Lightsail assigns a new public IP address. To use the same IP address after restarting, create a static IP address and attach it to the instance.</p> <p>The <code>reboot instance</code> operation supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the <a href=\"https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags\">Lightsail Dev Guide</a>.</p>"
"documentation": "<p>Restarts a specific instance.</p> <p>The <code>reboot instance</code> operation supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the <a href=\"https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags\">Lightsail Dev Guide</a>.</p>"
},
"RebootRelationalDatabase": {
"name": "RebootRelationalDatabase",
Expand Down Expand Up @@ -3340,7 +3340,7 @@
"shape": "UnauthenticatedException"
}
],
"documentation": "<p>Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the reboot instance operation.</p> <p>The <code>start instance</code> operation supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the <a href=\"https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags\">Lightsail Dev Guide</a>.</p>"
"documentation": "<p>Starts a specific Amazon Lightsail instance from a stopped state. To restart an instance, use the <code>reboot instance</code> operation.</p> <note> <p>When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the <a href=\"https://lightsail.aws.amazon.com/ls/docs/en/articles/lightsail-create-static-ip\">Lightsail Dev Guide</a>.</p> </note> <p>The <code>start instance</code> operation supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the <a href=\"https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags\">Lightsail Dev Guide</a>.</p>"
},
"StartRelationalDatabase": {
"name": "StartRelationalDatabase",
Expand Down Expand Up @@ -3414,7 +3414,7 @@
"shape": "UnauthenticatedException"
}
],
"documentation": "<p>Stops a specific Amazon Lightsail instance that is currently running.</p> <p>The <code>stop instance</code> operation supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the <a href=\"https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags\">Lightsail Dev Guide</a>.</p>"
"documentation": "<p>Stops a specific Amazon Lightsail instance that is currently running.</p> <note> <p>When you start a stopped instance, Lightsail assigns a new public IP address to the instance. To use the same IP address after stopping and starting an instance, create a static IP address and attach it to the instance. For more information, see the <a href=\"https://lightsail.aws.amazon.com/ls/docs/en/articles/lightsail-create-static-ip\">Lightsail Dev Guide</a>.</p> </note> <p>The <code>stop instance</code> operation supports tag-based access control via resource tags applied to the resource identified by instanceName. For more information, see the <a href=\"https://lightsail.aws.amazon.com/ls/docs/en/articles/amazon-lightsail-controlling-access-using-tags\">Lightsail Dev Guide</a>.</p>"
},
"StopRelationalDatabase": {
"name": "StopRelationalDatabase",
Expand Down Expand Up @@ -4236,18 +4236,21 @@
"CreateDiskSnapshotRequest": {
"type": "structure",
"required": [
"diskName",
"diskSnapshotName"
],
"members": {
"diskName": {
"shape": "ResourceName",
"documentation": "<p>The unique name of the source disk (e.g., <code>my-source-disk</code>).</p>"
"documentation": "<p>The unique name of the source disk (e.g., <code>Disk-Virginia-1</code>).</p> <note> <p>This parameter cannot be defined together with the <code>instance name</code> parameter. The <code>disk name</code> and <code>instance name</code> parameters are mutually exclusive.</p> </note>"
},
"diskSnapshotName": {
"shape": "ResourceName",
"documentation": "<p>The name of the destination disk snapshot (e.g., <code>my-disk-snapshot</code>) based on the source disk.</p>"
},
"instanceName": {
"shape": "ResourceName",
"documentation": "<p>The unique name of the source instance (e.g., <code>Amazon_Linux-512MB-Virginia-1</code>). When this is defined, a snapshot of the instance's system volume is created.</p> <note> <p>This parameter cannot be defined together with the <code>disk name</code> parameter. The <code>instance name</code> and <code>disk name</code> parameters are mutually exclusive.</p> </note>"
},
"tags": {
"shape": "TagList",
"documentation": "<p>The tag keys and optional values to add to the resource during create.</p> <p>To tag a resource after it has been created, see the <code>tag resource</code> operation.</p>"
Expand Down Expand Up @@ -5225,11 +5228,19 @@
},
"fromDiskName": {
"shape": "ResourceName",
"documentation": "<p>The unique name of the source disk from which you are creating the disk snapshot.</p>"
"documentation": "<p>The unique name of the source disk from which the disk snapshot was created.</p>"
},
"fromDiskArn": {
"shape": "NonEmptyString",
"documentation": "<p>The Amazon Resource Name (ARN) of the source disk from which you are creating the disk snapshot.</p>"
"documentation": "<p>The Amazon Resource Name (ARN) of the source disk from which the disk snapshot was created.</p>"
},
"fromInstanceName": {
"shape": "ResourceName",
"documentation": "<p>The unique name of the source instance from which the disk (system volume) snapshot was created.</p>"
},
"fromInstanceArn": {
"shape": "NonEmptyString",
"documentation": "<p>The Amazon Resource Name (ARN) of the source instance from which the disk (system volume) snapshot was created.</p>"
}
},
"documentation": "<p>Describes a block storage disk snapshot.</p>"
Expand Down Expand Up @@ -6783,7 +6794,7 @@
},
"portInfoSource": {
"shape": "PortInfoSourceType",
"documentation": "<p>The port configuration to use for the new Amazon EC2 instance.</p> <p>The following configuration options are available:</p> <ul> <li> <p>DEFAULT — Use the default firewall settings from the image.</p> </li> <li> <p>INSTANCE — Use the firewall settings from the source Lightsail instance.</p> </li> <li> <p>NONE — Default to Amazon EC2.</p> </li> </ul>"
"documentation": "<p>The port configuration to use for the new Amazon EC2 instance.</p> <p>The following configuration options are available:</p> <ul> <li> <p>DEFAULT — Use the default firewall settings from the image.</p> </li> <li> <p>INSTANCE — Use the firewall settings from the source Lightsail instance.</p> </li> <li> <p>NONE — Default to Amazon EC2.</p> </li> <li> <p>CLOSED — All ports closed.</p> </li> </ul>"
},
"userData": {
"shape": "string",
Expand Down Expand Up @@ -7933,7 +7944,8 @@
"enum": [
"DEFAULT",
"INSTANCE",
"NONE"
"NONE",
"CLOSED"
]
},
"PortList": {
Expand Down
4 changes: 4 additions & 0 deletions apis/pinpoint-2016-12-01.min.json
Original file line number Diff line number Diff line change
Expand Up @@ -2082,6 +2082,9 @@
"value": {
"type": "structure",
"members": {
"AppPackageName": {},
"AppTitle": {},
"AppVersionCode": {},
"Attributes": {
"shape": "S6a"
},
Expand All @@ -2090,6 +2093,7 @@
"Metrics": {
"shape": "S33"
},
"SdkName": {},
"Session": {
"type": "structure",
"members": {
Expand Down
Loading

0 comments on commit fa49246

Please sign in to comment.