Skip to content

Commit

Permalink
Merge branch 'release-1.12.7'
Browse files Browse the repository at this point in the history
* release-1.12.7:
  Bumping version to 1.12.7
  Update to latest models
  Add extras to inject secretsmanager id
  • Loading branch information
awstools committed Sep 19, 2018
2 parents df53d9a + def6a67 commit 1e29c67
Show file tree
Hide file tree
Showing 8 changed files with 199 additions and 63 deletions.
17 changes: 17 additions & 0 deletions .changes/1.12.7.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
[
{
"category": "``cloudwatch``",
"description": "Update cloudwatch client to latest version",
"type": "api-change"
},
{
"category": "``s3``",
"description": "Update s3 client to latest version",
"type": "api-change"
},
{
"category": "``organizations``",
"description": "Update organizations client to latest version",
"type": "api-change"
}
]
8 changes: 8 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,14 @@
CHANGELOG
=========

1.12.7
======

* api-change:``cloudwatch``: Update cloudwatch client to latest version
* api-change:``s3``: Update s3 client to latest version
* api-change:``organizations``: Update organizations client to latest version


1.12.6
======

Expand Down
2 changes: 1 addition & 1 deletion botocore/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import re
import logging

__version__ = '1.12.6'
__version__ = '1.12.7'


class NullHandler(logging.Handler):
Expand Down
39 changes: 39 additions & 0 deletions botocore/data/cloudwatch/2010-08-01/service-2.json
Original file line number Diff line number Diff line change
Expand Up @@ -158,6 +158,19 @@
],
"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 @@ -866,6 +879,29 @@
}
}
},
"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 @@ -1388,6 +1424,8 @@
},
"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":{"shape":"Metric"}
Expand Down Expand Up @@ -1420,6 +1458,7 @@
"max":1024,
"min":0
},
"OutputFormat":{"type":"string"},
"Period":{
"type":"integer",
"min":1
Expand Down

0 comments on commit 1e29c67

Please sign in to comment.