aws-sdk-cloudwatch 1.47.0 → 1.48.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/aws-sdk-cloudwatch.rb +1 -1
- data/lib/aws-sdk-cloudwatch/client.rb +9 -1
- data/lib/aws-sdk-cloudwatch/client_api.rb +6 -0
- data/lib/aws-sdk-cloudwatch/types.rb +54 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7194220ee610d6437f4aee0392773b8f1b653e63e2c8c7a59c27cf04a2d55f87
|
4
|
+
data.tar.gz: '087d0f828ce22bb1583d719cdaca7c322bfcf9b882fc41098e538fd52eac94e8'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fdadb6fb88d265f82f75860a3405041aa46025494b9e6eebbe0e866e09cc8611a8a45c75fa05d045404c3034ed900ee4531455f3f977eba98f9aaf9484ba06ec
|
7
|
+
data.tar.gz: d0c7b0c6a5cc2222e6a1267cc2331f9a613e189143e456af1e0a779d8763e84e15b619b64cc410220477a8977a48681d00f94ba990dd48f7129337fbb0d58d9a
|
data/lib/aws-sdk-cloudwatch.rb
CHANGED
@@ -1395,6 +1395,11 @@ module Aws::CloudWatch
|
|
1395
1395
|
# The maximum number of data points the request should return before
|
1396
1396
|
# paginating. If you omit this, the default of 100,800 is used.
|
1397
1397
|
#
|
1398
|
+
# @option params [Types::LabelOptions] :label_options
|
1399
|
+
# This structure includes the `Timezone` parameter, which you can use to
|
1400
|
+
# specify your time zone so that the labels of returned data display the
|
1401
|
+
# correct time for your time zone.
|
1402
|
+
#
|
1398
1403
|
# @return [Types::GetMetricDataOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
1399
1404
|
#
|
1400
1405
|
# * {Types::GetMetricDataOutput#metric_data_results #metric_data_results} => Array<Types::MetricDataResult>
|
@@ -1435,6 +1440,9 @@ module Aws::CloudWatch
|
|
1435
1440
|
# next_token: "NextToken",
|
1436
1441
|
# scan_by: "TimestampDescending", # accepts TimestampDescending, TimestampAscending
|
1437
1442
|
# max_datapoints: 1,
|
1443
|
+
# label_options: {
|
1444
|
+
# timezone: "GetMetricDataLabelTimezone",
|
1445
|
+
# },
|
1438
1446
|
# })
|
1439
1447
|
#
|
1440
1448
|
# @example Response structure
|
@@ -2981,7 +2989,7 @@ module Aws::CloudWatch
|
|
2981
2989
|
params: params,
|
2982
2990
|
config: config)
|
2983
2991
|
context[:gem_name] = 'aws-sdk-cloudwatch'
|
2984
|
-
context[:gem_version] = '1.
|
2992
|
+
context[:gem_version] = '1.48.0'
|
2985
2993
|
Seahorse::Client::Request.new(handlers, context)
|
2986
2994
|
end
|
2987
2995
|
|
@@ -103,6 +103,7 @@ module Aws::CloudWatch
|
|
103
103
|
GetInsightRuleReportInput = Shapes::StructureShape.new(name: 'GetInsightRuleReportInput')
|
104
104
|
GetInsightRuleReportOutput = Shapes::StructureShape.new(name: 'GetInsightRuleReportOutput')
|
105
105
|
GetMetricDataInput = Shapes::StructureShape.new(name: 'GetMetricDataInput')
|
106
|
+
GetMetricDataLabelTimezone = Shapes::StringShape.new(name: 'GetMetricDataLabelTimezone')
|
106
107
|
GetMetricDataMaxDatapoints = Shapes::IntegerShape.new(name: 'GetMetricDataMaxDatapoints')
|
107
108
|
GetMetricDataOutput = Shapes::StructureShape.new(name: 'GetMetricDataOutput')
|
108
109
|
GetMetricStatisticsInput = Shapes::StructureShape.new(name: 'GetMetricStatisticsInput')
|
@@ -142,6 +143,7 @@ module Aws::CloudWatch
|
|
142
143
|
InvalidNextToken = Shapes::StructureShape.new(name: 'InvalidNextToken')
|
143
144
|
InvalidParameterCombinationException = Shapes::StructureShape.new(name: 'InvalidParameterCombinationException')
|
144
145
|
InvalidParameterValueException = Shapes::StructureShape.new(name: 'InvalidParameterValueException')
|
146
|
+
LabelOptions = Shapes::StructureShape.new(name: 'LabelOptions')
|
145
147
|
LastModified = Shapes::TimestampShape.new(name: 'LastModified')
|
146
148
|
LimitExceededException = Shapes::StructureShape.new(name: 'LimitExceededException')
|
147
149
|
LimitExceededFault = Shapes::StructureShape.new(name: 'LimitExceededFault')
|
@@ -466,6 +468,7 @@ module Aws::CloudWatch
|
|
466
468
|
GetMetricDataInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
467
469
|
GetMetricDataInput.add_member(:scan_by, Shapes::ShapeRef.new(shape: ScanBy, location_name: "ScanBy"))
|
468
470
|
GetMetricDataInput.add_member(:max_datapoints, Shapes::ShapeRef.new(shape: GetMetricDataMaxDatapoints, location_name: "MaxDatapoints"))
|
471
|
+
GetMetricDataInput.add_member(:label_options, Shapes::ShapeRef.new(shape: LabelOptions, location_name: "LabelOptions"))
|
469
472
|
GetMetricDataInput.struct_class = Types::GetMetricDataInput
|
470
473
|
|
471
474
|
GetMetricDataOutput.add_member(:metric_data_results, Shapes::ShapeRef.new(shape: MetricDataResults, location_name: "MetricDataResults"))
|
@@ -551,6 +554,9 @@ module Aws::CloudWatch
|
|
551
554
|
InvalidParameterValueException.add_member(:message, Shapes::ShapeRef.new(shape: AwsQueryErrorMessage, location_name: "message"))
|
552
555
|
InvalidParameterValueException.struct_class = Types::InvalidParameterValueException
|
553
556
|
|
557
|
+
LabelOptions.add_member(:timezone, Shapes::ShapeRef.new(shape: GetMetricDataLabelTimezone, location_name: "Timezone"))
|
558
|
+
LabelOptions.struct_class = Types::LabelOptions
|
559
|
+
|
554
560
|
LimitExceededException.struct_class = Types::LimitExceededException
|
555
561
|
|
556
562
|
LimitExceededFault.add_member(:message, Shapes::ShapeRef.new(shape: ErrorMessage, location_name: "message"))
|
@@ -1297,6 +1297,9 @@ module Aws::CloudWatch
|
|
1297
1297
|
# next_token: "NextToken",
|
1298
1298
|
# scan_by: "TimestampDescending", # accepts TimestampDescending, TimestampAscending
|
1299
1299
|
# max_datapoints: 1,
|
1300
|
+
# label_options: {
|
1301
|
+
# timezone: "GetMetricDataLabelTimezone",
|
1302
|
+
# },
|
1300
1303
|
# }
|
1301
1304
|
#
|
1302
1305
|
# @!attribute [rw] metric_data_queries
|
@@ -1374,6 +1377,12 @@ module Aws::CloudWatch
|
|
1374
1377
|
# paginating. If you omit this, the default of 100,800 is used.
|
1375
1378
|
# @return [Integer]
|
1376
1379
|
#
|
1380
|
+
# @!attribute [rw] label_options
|
1381
|
+
# This structure includes the `Timezone` parameter, which you can use
|
1382
|
+
# to specify your time zone so that the labels of returned data
|
1383
|
+
# display the correct time for your time zone.
|
1384
|
+
# @return [Types::LabelOptions]
|
1385
|
+
#
|
1377
1386
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricDataInput AWS API Documentation
|
1378
1387
|
#
|
1379
1388
|
class GetMetricDataInput < Struct.new(
|
@@ -1382,7 +1391,8 @@ module Aws::CloudWatch
|
|
1382
1391
|
:end_time,
|
1383
1392
|
:next_token,
|
1384
1393
|
:scan_by,
|
1385
|
-
:max_datapoints
|
1394
|
+
:max_datapoints,
|
1395
|
+
:label_options)
|
1386
1396
|
SENSITIVE = []
|
1387
1397
|
include Aws::Structure
|
1388
1398
|
end
|
@@ -1926,6 +1936,42 @@ module Aws::CloudWatch
|
|
1926
1936
|
include Aws::Structure
|
1927
1937
|
end
|
1928
1938
|
|
1939
|
+
# This structure includes the `Timezone` parameter, which you can use to
|
1940
|
+
# specify your time zone so that the labels that are associated with
|
1941
|
+
# returned metrics display the correct time for your time zone.
|
1942
|
+
#
|
1943
|
+
# The `Timezone` value affects a label only if you have a time-based
|
1944
|
+
# dynamic expression in the label. For more information about dynamic
|
1945
|
+
# expressions in labels, see [Using Dynamic Labels][1].
|
1946
|
+
#
|
1947
|
+
#
|
1948
|
+
#
|
1949
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html
|
1950
|
+
#
|
1951
|
+
# @note When making an API call, you may pass LabelOptions
|
1952
|
+
# data as a hash:
|
1953
|
+
#
|
1954
|
+
# {
|
1955
|
+
# timezone: "GetMetricDataLabelTimezone",
|
1956
|
+
# }
|
1957
|
+
#
|
1958
|
+
# @!attribute [rw] timezone
|
1959
|
+
# The time zone to use for metric data return in this operation. The
|
1960
|
+
# format is `+` or `-` followed by four digits. The first two digits
|
1961
|
+
# indicate the number of hours ahead or behind of UTC, and the final
|
1962
|
+
# two digits are the number of minutes. For example, +0130 indicates a
|
1963
|
+
# time zone that is 1 hour and 30 minutes ahead of UTC. The default is
|
1964
|
+
# +0000.
|
1965
|
+
# @return [String]
|
1966
|
+
#
|
1967
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/LabelOptions AWS API Documentation
|
1968
|
+
#
|
1969
|
+
class LabelOptions < Struct.new(
|
1970
|
+
:timezone)
|
1971
|
+
SENSITIVE = []
|
1972
|
+
include Aws::Structure
|
1973
|
+
end
|
1974
|
+
|
1929
1975
|
# The operation exceeded one or more limits.
|
1930
1976
|
#
|
1931
1977
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/LimitExceededException AWS API Documentation
|
@@ -2445,6 +2491,13 @@ module Aws::CloudWatch
|
|
2445
2491
|
# the value represents. If the metric or expression is shown in a
|
2446
2492
|
# CloudWatch dashboard widget, the label is shown. If Label is
|
2447
2493
|
# omitted, CloudWatch generates a default.
|
2494
|
+
#
|
2495
|
+
# You can put dynamic expressions into a label, so that it is more
|
2496
|
+
# descriptive. For more information, see [Using Dynamic Labels][1].
|
2497
|
+
#
|
2498
|
+
#
|
2499
|
+
#
|
2500
|
+
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/graph-dynamic-labels.html
|
2448
2501
|
# @return [String]
|
2449
2502
|
#
|
2450
2503
|
# @!attribute [rw] return_data
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: aws-sdk-cloudwatch
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.48.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Amazon Web Services
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-01-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|