Skip to content

Commit

Permalink
Updates SDK to v2.318.0
Browse files Browse the repository at this point in the history
  • Loading branch information
awstools committed Sep 19, 2018
1 parent dc705e0 commit 01039b3
Show file tree
Hide file tree
Showing 18 changed files with 3,187 additions and 2,427 deletions.
17 changes: 17 additions & 0 deletions .changes/2.318.0.json
@@ -0,0 +1,17 @@
[
{
"type": "feature",
"category": "CloudWatch",
"description": "Amazon CloudWatch adds the ability to request png image snapshots of metric widgets using the GetMetricWidgetImage API."
},
{
"type": "feature",
"category": "Organizations",
"description": "Introducing a new exception - AccountOwnerNotVerifiedException which will be returned for InviteAccountToOrganization call for unverified accounts."
},
{
"type": "feature",
"category": "S3",
"description": "S3 Cross Region Replication now allows customers to use S3 object tags to filter the scope of replication. By using S3 object tags, customers can identify individual objects for replication across AWS Regions for compliance and data protection. Cross Region Replication for S3 enables automatic and asynchronous replication of objects to another AWS Region, and with this release customers can replicate at a bucket level, prefix level or by using object tags."
}
]
7 changes: 6 additions & 1 deletion CHANGELOG.md
@@ -1,7 +1,12 @@
# Changelog for AWS SDK for JavaScript
<!--LATEST=2.317.0-->
<!--LATEST=2.318.0-->
<!--ENTRYINSERT-->

## 2.318.0
* feature: CloudWatch: Amazon CloudWatch adds the ability to request png image snapshots of metric widgets using the GetMetricWidgetImage API.
* feature: Organizations: Introducing a new exception - AccountOwnerNotVerifiedException which will be returned for InviteAccountToOrganization call for unverified accounts.
* feature: S3: S3 Cross Region Replication now allows customers to use S3 object tags to filter the scope of replication. By using S3 object tags, customers can identify individual objects for replication across AWS Regions for compliance and data protection. Cross Region Replication for S3 enables automatic and asynchronous replication of objects to another AWS Region, and with this release customers can replicate at a bucket level, prefix level or by using object tags.

## 2.317.0
* feature: ES: Amazon Elasticsearch Service adds support for node-to-node encryption for new domains running Elasticsearch version 6.0 and above
* feature: Rekognition: This release updates the Amazon Rekognition IndexFaces API operation. It introduces a QualityFilter parameter that allows you to automatically filter out detected faces that are deemed to be of low quality by Amazon Rekognition. The quality bar is based on a variety of common use cases. You can filter low-quality detected faces by setting QualityFilter to AUTO, which is also the default setting. To index all detected faces regardless of quality, you can specify NONE. This release also provides a MaxFaces parameter that is useful when you want to only index the most prominent and largest faces in an image and don't want to index other faces detected in the image, such as smaller faces belonging to people standing in the background.
Expand Down
2 changes: 1 addition & 1 deletion README.md
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.317.0.min.js"></script>
<script src="https://sdk.amazonaws.com/js/aws-sdk-2.318.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
21 changes: 21 additions & 0 deletions apis/monitoring-2010-08-01.min.json
Expand Up @@ -375,6 +375,27 @@
}
}
},
"GetMetricWidgetImage": {
"input": {
"type": "structure",
"required": [
"MetricWidget"
],
"members": {
"MetricWidget": {},
"OutputFormat": {}
}
},
"output": {
"resultWrapper": "GetMetricWidgetImageResult",
"type": "structure",
"members": {
"MetricWidgetImage": {
"type": "blob"
}
}
}
},
"ListDashboards": {
"input": {
"type": "structure",
Expand Down
49 changes: 49 additions & 0 deletions apis/monitoring-2010-08-01.normal.json
Expand Up @@ -206,6 +206,21 @@
],
"documentation": "<p>Gets statistics for the specified metric.</p> <p>The maximum number of data points returned from a single call is 1,440. If you request more than 1,440 data points, CloudWatch returns an error. To reduce the number of data points, you can narrow the specified time range and make multiple requests across adjacent time ranges, or you can increase the specified period. Data points are not returned in chronological order.</p> <p>CloudWatch aggregates data points based on the length of the period that you specify. For example, if you request statistics with a one-hour period, CloudWatch aggregates all data points with time stamps that fall within each one-hour period. Therefore, the number of values aggregated by CloudWatch is larger than the number of data points returned.</p> <p>CloudWatch needs raw data points to calculate percentile statistics. If you publish data using a statistic set instead, you can only retrieve percentile statistics for this data if one of the following conditions is true:</p> <ul> <li> <p>The SampleCount value of the statistic set is 1.</p> </li> <li> <p>The Min and the Max values of the statistic set are equal.</p> </li> </ul> <p>Percentile statistics are not available for metrics when any of the metric values are negative numbers.</p> <p>Amazon CloudWatch retains metric data as follows:</p> <ul> <li> <p>Data points with a period of less than 60 seconds are available for 3 hours. These data points are high-resolution metrics and are available only for custom metrics that have been defined with a <code>StorageResolution</code> of 1.</p> </li> <li> <p>Data points with a period of 60 seconds (1-minute) are available for 15 days.</p> </li> <li> <p>Data points with a period of 300 seconds (5-minute) are available for 63 days.</p> </li> <li> <p>Data points with a period of 3600 seconds (1 hour) are available for 455 days (15 months).</p> </li> </ul> <p>Data points that are initially published with a shorter period are aggregated together for long-term storage. For example, if you collect data using a period of 1 minute, the data remains available for 15 days with 1-minute resolution. After 15 days, this data is still available, but is aggregated and retrievable only with a resolution of 5 minutes. After 63 days, the data is further aggregated and is available with a resolution of 1 hour.</p> <p>CloudWatch started retaining 5-minute and 1-hour metric data as of July 9, 2016.</p> <p>For information about metrics and dimensions supported by AWS services, see the <a href=\"http://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CW_Support_For_AWS.html\">Amazon CloudWatch Metrics and Dimensions Reference</a> in the <i>Amazon CloudWatch User Guide</i>.</p>"
},
"GetMetricWidgetImage": {
"name": "GetMetricWidgetImage",
"http": {
"method": "POST",
"requestUri": "/"
},
"input": {
"shape": "GetMetricWidgetImageInput"
},
"output": {
"shape": "GetMetricWidgetImageOutput",
"resultWrapper": "GetMetricWidgetImageResult"
},
"documentation": "<p>You can use the <code>GetMetricWidgetImage</code> API to retrieve a snapshot graph of one or more Amazon CloudWatch metrics as a bitmap image. You can then embed this image into your services and products, such as wiki pages, reports, and documents. You could also retrieve images regularly, such as every minute, and create your own custom live dashboard.</p> <p>The graph you retrieve can include all CloudWatch metric graph features, including metric math and horizontal and vertical annotations.</p> <p>There is a limit of 20 transactions per second for this API. Each <code>GetMetricWidgetImage</code> action has the following limits:</p> <ul> <li> <p>As many as 100 metrics in the graph.</p> </li> <li> <p>Up to 100 KB uncompressed payload.</p> </li> </ul>"
},
"ListDashboards": {
"name": "ListDashboards",
"http": {
Expand Down Expand Up @@ -970,6 +985,31 @@
}
}
},
"GetMetricWidgetImageInput": {
"type": "structure",
"required": [
"MetricWidget"
],
"members": {
"MetricWidget": {
"shape": "MetricWidget",
"documentation": "<p>A JSON string that defines the bitmap graph to be retrieved. The string includes the metrics to include in the graph, statistics, annotations, title, axis limits, and so on. You can include only one <code>MetricWidget</code> parameter in each <code>GetMetricWidgetImage</code> call.</p> <p>For more information about the syntax of <code>MetricWidget</code> see <a>CloudWatch-Metric-Widget-Structure</a>.</p> <p>If any metric on the graph could not load all the requested data points, an orange triangle with an exclamation point appears next to the graph legend.</p>"
},
"OutputFormat": {
"shape": "OutputFormat",
"documentation": "<p>The format of the resulting image. Only PNG images are supported.</p> <p>The default is <code>png</code>. If you specify <code>png</code>, the API returns an HTTP response with the content-type set to <code>text/xml</code>. The image data is in a <code>MetricWidgetImage</code> field. For example:</p> <p> <code> &lt;GetMetricWidgetImageResponse xmlns=\"http://monitoring.amazonaws.com/doc/2010-08-01/\"&gt;</code> </p> <p> <code> &lt;GetMetricWidgetImageResult&gt;</code> </p> <p> <code> &lt;MetricWidgetImage&gt;</code> </p> <p> <code> iVBORw0KGgoAAAANSUhEUgAAAlgAAAGQEAYAAAAip...</code> </p> <p> <code> &lt;/MetricWidgetImage&gt;</code> </p> <p> <code> &lt;/GetMetricWidgetImageResult&gt;</code> </p> <p> <code> &lt;ResponseMetadata&gt;</code> </p> <p> <code> &lt;RequestId&gt;6f0d4192-4d42-11e8-82c1-f539a07e0e3b&lt;/RequestId&gt;</code> </p> <p> <code> &lt;/ResponseMetadata&gt;</code> </p> <p> <code>&lt;/GetMetricWidgetImageResponse&gt;</code> </p> <p>The <code>image/png</code> setting is intended only for custom HTTP requests. For most use cases, and all actions using an AWS SDK, you should use <code>png</code>. If you specify <code>image/png</code>, the HTTP response has a content-type set to <code>image/png</code>, and the body of the response is a PNG image. </p>"
}
}
},
"GetMetricWidgetImageOutput": {
"type": "structure",
"members": {
"MetricWidgetImage": {
"shape": "MetricWidgetImage",
"documentation": "<p>The image of the graph, in the output format specified.</p>"
}
}
},
"HistoryData": {
"type": "string",
"max": 4095,
Expand Down Expand Up @@ -1418,6 +1458,12 @@
},
"documentation": "<p>This structure defines the metric to be returned, along with the statistics, period, and units.</p>"
},
"MetricWidget": {
"type": "string"
},
"MetricWidgetImage": {
"type": "blob"
},
"Metrics": {
"type": "list",
"member": {
Expand All @@ -1435,6 +1481,9 @@
"max": 1024,
"min": 0
},
"OutputFormat": {
"type": "string"
},
"Period": {
"type": "integer",
"min": 1
Expand Down
1 change: 0 additions & 1 deletion apis/organizations-2016-11-28.min.json
Expand Up @@ -10,7 +10,6 @@
"serviceId": "Organizations",
"signatureVersion": "v4",
"targetPrefix": "AWSOrganizationsV20161128",
"timestampFormat": "unixTimestamp",
"uid": "organizations-2016-11-28"
},
"operations": {
Expand Down

0 comments on commit 01039b3

Please sign in to comment.