aws-sdk-cloudwatch 1.38.0 → 1.43.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8eba7875acb25028fa366e64b02a2ba6726566e8904808b6d1ce2543e820a5c
4
- data.tar.gz: 62386addd91c088a25ce9f5ed0d12e05f782e57a7eee987c2b1036477aa1e3fe
3
+ metadata.gz: 11d06cd273b745e7031c29700ae17dfa8342f4f3de2bb558ed4c499fb7f38d0d
4
+ data.tar.gz: 281aa0859d4836e32eb28287be55927d6b9eb31aa0b01d866a3382b8895a5d6b
5
5
  SHA512:
6
- metadata.gz: 6b8c503f9e5ba75f28e9b480442c26c7b810accc9a99ee5cf55b97521971d878c97f2b1d92f48f8001c43218e7d6e046068d12fce4537a89b53b607c7ee49db6
7
- data.tar.gz: 45a3c71136ff2257399f99b5e79fb1918a591523807508d44ca50ac9ae04f64676fec73a2e37bddecfad930b1f6451d76f683eb9cbf10049dab5223e044ccc70
6
+ metadata.gz: 8bd441b9d0af6333dadf1f6a63ca2c56f40094151dfcd65a8e3f30c31a7e1e99aa73059e05540f5431f6e8059316abeb7245e00c26fc913c12f5b6d968d1fdb0
7
+ data.tar.gz: 8d5941f376c3c5adc66680d2e2239fae083820773bf7a1ca007f7b2940760c0bfa939806a43aa50825cb34fd9fc61a25799019464a0b5778d86118a06af1de81
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -46,9 +48,9 @@ require_relative 'aws-sdk-cloudwatch/customizations'
46
48
  #
47
49
  # See {Errors} for more information.
48
50
  #
49
- # @service
51
+ # @!group service
50
52
  module Aws::CloudWatch
51
53
 
52
- GEM_VERSION = '1.38.0'
54
+ GEM_VERSION = '1.43.0'
53
55
 
54
56
  end
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -24,6 +26,7 @@ require 'aws-sdk-core/plugins/jsonvalue_converter.rb'
24
26
  require 'aws-sdk-core/plugins/client_metrics_plugin.rb'
25
27
  require 'aws-sdk-core/plugins/client_metrics_send_plugin.rb'
26
28
  require 'aws-sdk-core/plugins/transfer_encoding.rb'
29
+ require 'aws-sdk-core/plugins/http_checksum.rb'
27
30
  require 'aws-sdk-core/plugins/signature_v4.rb'
28
31
  require 'aws-sdk-core/plugins/protocols/query.rb'
29
32
 
@@ -69,6 +72,7 @@ module Aws::CloudWatch
69
72
  add_plugin(Aws::Plugins::ClientMetricsPlugin)
70
73
  add_plugin(Aws::Plugins::ClientMetricsSendPlugin)
71
74
  add_plugin(Aws::Plugins::TransferEncoding)
75
+ add_plugin(Aws::Plugins::HttpChecksum)
72
76
  add_plugin(Aws::Plugins::SignatureV4)
73
77
  add_plugin(Aws::Plugins::Protocols::Query)
74
78
 
@@ -81,13 +85,28 @@ module Aws::CloudWatch
81
85
  # * `Aws::Credentials` - Used for configuring static, non-refreshing
82
86
  # credentials.
83
87
  #
88
+ # * `Aws::SharedCredentials` - Used for loading static credentials from a
89
+ # shared file, such as `~/.aws/config`.
90
+ #
91
+ # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
92
+ #
93
+ # * `Aws::AssumeRoleWebIdentityCredentials` - Used when you need to
94
+ # assume a role after providing credentials via the web.
95
+ #
96
+ # * `Aws::SSOCredentials` - Used for loading credentials from AWS SSO using an
97
+ # access token generated from `aws login`.
98
+ #
99
+ # * `Aws::ProcessCredentials` - Used for loading credentials from a
100
+ # process that outputs to stdout.
101
+ #
84
102
  # * `Aws::InstanceProfileCredentials` - Used for loading credentials
85
103
  # from an EC2 IMDS on an EC2 instance.
86
104
  #
87
- # * `Aws::SharedCredentials` - Used for loading credentials from a
88
- # shared file, such as `~/.aws/config`.
105
+ # * `Aws::ECSCredentials` - Used for loading credentials from
106
+ # instances running in ECS.
89
107
  #
90
- # * `Aws::AssumeRoleCredentials` - Used when you need to assume a role.
108
+ # * `Aws::CognitoIdentityCredentials` - Used for loading credentials
109
+ # from the Cognito Identity service.
91
110
  #
92
111
  # When `:credentials` are not configured directly, the following
93
112
  # locations will be searched for credentials:
@@ -97,10 +116,10 @@ module Aws::CloudWatch
97
116
  # * ENV['AWS_ACCESS_KEY_ID'], ENV['AWS_SECRET_ACCESS_KEY']
98
117
  # * `~/.aws/credentials`
99
118
  # * `~/.aws/config`
100
- # * EC2 IMDS instance profile - When used by default, the timeouts are
101
- # very aggressive. Construct and pass an instance of
102
- # `Aws::InstanceProfileCredentails` to enable retries and extended
103
- # timeouts.
119
+ # * EC2/ECS IMDS instance profile - When used by default, the timeouts
120
+ # are very aggressive. Construct and pass an instance of
121
+ # `Aws::InstanceProfileCredentails` or `Aws::ECSCredentials` to
122
+ # enable retries and extended timeouts.
104
123
  #
105
124
  # @option options [required, String] :region
106
125
  # The AWS region to connect to. The configured `:region` is
@@ -161,7 +180,7 @@ module Aws::CloudWatch
161
180
  # @option options [String] :endpoint
162
181
  # The client endpoint is normally constructed from the `:region`
163
182
  # option. You should only configure an `:endpoint` when connecting
164
- # to test endpoints. This should be a valid HTTP(S) URI.
183
+ # to test or custom endpoints. This should be a valid HTTP(S) URI.
165
184
  #
166
185
  # @option options [Integer] :endpoint_cache_max_entries (1000)
167
186
  # Used for the maximum size limit of the LRU cache storing endpoints data
@@ -394,7 +413,7 @@ module Aws::CloudWatch
394
413
  req.send_request(options)
395
414
  end
396
415
 
397
- # Deletes all dashboards that you specify. You may specify up to 100
416
+ # Deletes all dashboards that you specify. You can specify up to 100
398
417
  # dashboards to delete. If there is an error during this call, no
399
418
  # dashboards are deleted.
400
419
  #
@@ -421,8 +440,8 @@ module Aws::CloudWatch
421
440
  # Permanently deletes the specified Contributor Insights rules.
422
441
  #
423
442
  # If you create a rule, delete it, and then re-create it with the same
424
- # name, historical data from the first time the rule was created may or
425
- # may not be available.
443
+ # name, historical data from the first time the rule was created might
444
+ # not be available.
426
445
  #
427
446
  # @option params [required, Array<String>] :rule_names
428
447
  # An array of the rule names to delete. If you need to find out the
@@ -566,7 +585,7 @@ module Aws::CloudWatch
566
585
  #
567
586
  # If you specify `ChildrenOfAlarmName`, you cannot specify any other
568
587
  # parameters in the request except for `MaxRecords` and `NextToken`. If
569
- # you do so, you will receive a validation error.
588
+ # you do so, you receive a validation error.
570
589
  #
571
590
  # <note markdown="1"> Only the `Alarm Name`, `ARN`, `StateValue`
572
591
  # (OK/ALARM/INSUFFICIENT\_DATA), and `StateUpdatedTimestamp` information
@@ -587,7 +606,7 @@ module Aws::CloudWatch
587
606
  #
588
607
  # If you specify `ParentsOfAlarmName`, you cannot specify any other
589
608
  # parameters in the request except for `MaxRecords` and `NextToken`. If
590
- # you do so, you will receive a validation error.
609
+ # you do so, you receive a validation error.
591
610
  #
592
611
  # <note markdown="1"> Only the Alarm Name and ARN are returned by this operation when you
593
612
  # use this parameter. To get complete information about these alarms,
@@ -916,7 +935,7 @@ module Aws::CloudWatch
916
935
  #
917
936
  # @option params [Integer] :max_results
918
937
  # This parameter is not currently used. Reserved for future use. If it
919
- # is used in the future, the maximum value may be different.
938
+ # is used in the future, the maximum value might be different.
920
939
  #
921
940
  # @return [Types::DescribeInsightRulesOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
922
941
  #
@@ -1119,8 +1138,8 @@ module Aws::CloudWatch
1119
1138
  # data point.
1120
1139
  #
1121
1140
  # * `MaxContributorValue` -- the value of the top contributor for each
1122
- # data point. The identity of the contributor may change for each data
1123
- # point in the graph.
1141
+ # data point. The identity of the contributor might change for each
1142
+ # data point in the graph.
1124
1143
  #
1125
1144
  # If this rule aggregates by COUNT, the top contributor for each data
1126
1145
  # point is the contributor with the most occurrences in that period.
@@ -1171,8 +1190,8 @@ module Aws::CloudWatch
1171
1190
  # data point.
1172
1191
  #
1173
1192
  # * `MaxContributorValue` -- the value of the top contributor for each
1174
- # data point. The identity of the contributor may change for each data
1175
- # point in the graph.
1193
+ # data point. The identity of the contributor might change for each
1194
+ # data point in the graph.
1176
1195
  #
1177
1196
  # If this rule aggregates by COUNT, the top contributor for each data
1178
1197
  # point is the contributor with the most occurrences in that period.
@@ -1293,10 +1312,10 @@ module Aws::CloudWatch
1293
1312
  # If you omit `Unit` in your request, all data that was collected with
1294
1313
  # any unit is returned, along with the corresponding units that were
1295
1314
  # specified when the data was reported to CloudWatch. If you specify a
1296
- # unit, the operation returns only data data that was collected with
1297
- # that unit specified. If you specify a unit that does not match the
1298
- # data collected, the results of the operation are null. CloudWatch does
1299
- # not perform unit conversions.
1315
+ # unit, the operation returns only data that was collected with that
1316
+ # unit specified. If you specify a unit that does not match the data
1317
+ # collected, the results of the operation are null. CloudWatch does not
1318
+ # perform unit conversions.
1300
1319
  #
1301
1320
  #
1302
1321
  #
@@ -1602,10 +1621,10 @@ module Aws::CloudWatch
1602
1621
  # The unit for a given metric. If you omit `Unit`, all data that was
1603
1622
  # collected with any unit is returned, along with the corresponding
1604
1623
  # units that were specified when the data was reported to CloudWatch. If
1605
- # you specify a unit, the operation returns only data data that was
1606
- # collected with that unit specified. If you specify a unit that does
1607
- # not match the data collected, the results of the operation are null.
1608
- # CloudWatch does not perform unit conversions.
1624
+ # you specify a unit, the operation returns only data that was collected
1625
+ # with that unit specified. If you specify a unit that does not match
1626
+ # the data collected, the results of the operation are null. CloudWatch
1627
+ # does not perform unit conversions.
1609
1628
  #
1610
1629
  # @return [Types::GetMetricStatisticsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1611
1630
  #
@@ -1804,9 +1823,13 @@ module Aws::CloudWatch
1804
1823
  # Up to 500 results are returned for any one call. To retrieve
1805
1824
  # additional results, use the returned token with subsequent calls.
1806
1825
  #
1807
- # After you create a metric, allow up to fifteen minutes before the
1808
- # metric appears. Statistics about the metric, however, are available
1809
- # sooner using [GetMetricData][1] or [GetMetricStatistics][2].
1826
+ # After you create a metric, allow up to 15 minutes before the metric
1827
+ # appears. You can see statistics about the metric sooner by using
1828
+ # [GetMetricData][1] or [GetMetricStatistics][2].
1829
+ #
1830
+ # `ListMetrics` doesn't return information about metrics if those
1831
+ # metrics haven't reported data in the past two weeks. To retrieve
1832
+ # those metrics, use [GetMetricData][1] or [GetMetricStatistics][2].
1810
1833
  #
1811
1834
  #
1812
1835
  #
@@ -1826,6 +1849,16 @@ module Aws::CloudWatch
1826
1849
  # The token returned by a previous call to indicate that there is more
1827
1850
  # data available.
1828
1851
  #
1852
+ # @option params [String] :recently_active
1853
+ # To filter the results to show only metrics that have had data points
1854
+ # published in the past three hours, specify this parameter with a value
1855
+ # of `PT3H`. This is the only valid value for this parameter.
1856
+ #
1857
+ # The results that are returned are an approximation of the value you
1858
+ # specify. There is a low probability that the returned results include
1859
+ # metrics with last published data as much as 40 minutes more than the
1860
+ # specified time interval.
1861
+ #
1829
1862
  # @return [Types::ListMetricsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1830
1863
  #
1831
1864
  # * {Types::ListMetricsOutput#metrics #metrics} => Array&lt;Types::Metric&gt;
@@ -1845,6 +1878,7 @@ module Aws::CloudWatch
1845
1878
  # },
1846
1879
  # ],
1847
1880
  # next_token: "NextToken",
1881
+ # recently_active: "PT3H", # accepts PT3H
1848
1882
  # })
1849
1883
  #
1850
1884
  # @example Response structure
@@ -1878,7 +1912,7 @@ module Aws::CloudWatch
1878
1912
  # The ARN format of a Contributor Insights rule is
1879
1913
  # `arn:aws:cloudwatch:Region:account-id:insight-rule:insight-rule-name `
1880
1914
  #
1881
- # For more information on ARN format, see [ Resource Types Defined by
1915
+ # For more information about ARN format, see [ Resource Types Defined by
1882
1916
  # Amazon CloudWatch][1] in the *Amazon Web Services General Reference*.
1883
1917
  #
1884
1918
  #
@@ -2037,8 +2071,8 @@ module Aws::CloudWatch
2037
2071
  # The description for the composite alarm.
2038
2072
  #
2039
2073
  # @option params [required, String] :alarm_name
2040
- # The name for the composite alarm. This name must be unique within your
2041
- # AWS account.
2074
+ # The name for the composite alarm. This name must be unique within the
2075
+ # Region.
2042
2076
  #
2043
2077
  # @option params [required, String] :alarm_rule
2044
2078
  # An expression that specifies which other alarms are to be evaluated to
@@ -2221,8 +2255,8 @@ module Aws::CloudWatch
2221
2255
  # Contributor Insights to Analyze High-Cardinality Data][1].
2222
2256
  #
2223
2257
  # If you create a rule, delete it, and then re-create it with the same
2224
- # name, historical data from the first time the rule was created may or
2225
- # may not be available.
2258
+ # name, historical data from the first time the rule was created might
2259
+ # not be available.
2226
2260
  #
2227
2261
  #
2228
2262
  #
@@ -2341,8 +2375,7 @@ module Aws::CloudWatch
2341
2375
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html#iam-term-service-linked-role
2342
2376
  #
2343
2377
  # @option params [required, String] :alarm_name
2344
- # The name for the alarm. This name must be unique within your AWS
2345
- # account.
2378
+ # The name for the alarm. This name must be unique within the Region.
2346
2379
  #
2347
2380
  # @option params [String] :alarm_description
2348
2381
  # The description for the alarm.
@@ -2454,8 +2487,8 @@ module Aws::CloudWatch
2454
2487
  # resolution, the alarm still attempts to gather data at the period rate
2455
2488
  # that you specify. In this case, it does not receive data for the
2456
2489
  # attempts that do not correspond to a one-minute data resolution, and
2457
- # the alarm may often lapse into INSUFFICENT\_DATA status. Specifying 10
2458
- # or 30 also sets this alarm as a high-resolution alarm, which has a
2490
+ # the alarm might often lapse into INSUFFICENT\_DATA status. Specifying
2491
+ # 10 or 30 also sets this alarm as a high-resolution alarm, which has a
2459
2492
  # higher charge than other alarms. For more information about pricing,
2460
2493
  # see [Amazon CloudWatch Pricing][1].
2461
2494
  #
@@ -2477,12 +2510,12 @@ module Aws::CloudWatch
2477
2510
  #
2478
2511
  # If you don't specify `Unit`, CloudWatch retrieves all unit types that
2479
2512
  # have been published for the metric and attempts to evaluate the alarm.
2480
- # Usually metrics are published with only one unit, so the alarm will
2481
- # work as intended.
2513
+ # Usually, metrics are published with only one unit, so the alarm works
2514
+ # as intended.
2482
2515
  #
2483
2516
  # However, if the metric is published with multiple types of units and
2484
- # you don't specify a unit, the alarm's behavior is not defined and
2485
- # will behave un-predictably.
2517
+ # you don't specify a unit, the alarm's behavior is not defined and it
2518
+ # behaves predictably.
2486
2519
  #
2487
2520
  # We recommend omitting `Unit` so that you don't inadvertently specify
2488
2521
  # an incorrect unit that is not published for this metric. Doing so
@@ -2580,7 +2613,7 @@ module Aws::CloudWatch
2580
2613
  # associate as many as 50 tags with an alarm.
2581
2614
  #
2582
2615
  # Tags can help you organize and categorize your resources. You can also
2583
- # use them to scope user permissions, by granting a user permission to
2616
+ # use them to scope user permissions by granting a user permission to
2584
2617
  # access or change only resources with certain tag values.
2585
2618
  #
2586
2619
  # @option params [String] :threshold_metric_id
@@ -2779,9 +2812,9 @@ module Aws::CloudWatch
2779
2812
  # CloudWatch console or through [DescribeAlarmHistory][1].
2780
2813
  #
2781
2814
  # If you use `SetAlarmState` on a composite alarm, the composite alarm
2782
- # is not guaranteed to return to its actual state. It will return to its
2815
+ # is not guaranteed to return to its actual state. It returns to its
2783
2816
  # actual state only once any of its children alarms change state. It is
2784
- # also re-evaluated if you update its configuration.
2817
+ # also reevaluated if you update its configuration.
2785
2818
  #
2786
2819
  # If an alarm triggers EC2 Auto Scaling policies or application Auto
2787
2820
  # Scaling policies, you must include information in the
@@ -2793,8 +2826,7 @@ module Aws::CloudWatch
2793
2826
  # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarmHistory.html
2794
2827
  #
2795
2828
  # @option params [required, String] :alarm_name
2796
- # The name for the alarm. This name must be unique within the AWS
2797
- # account. The maximum length is 255 characters.
2829
+ # The name of the alarm.
2798
2830
  #
2799
2831
  # @option params [required, String] :state_value
2800
2832
  # The value of the state.
@@ -2837,7 +2869,7 @@ module Aws::CloudWatch
2837
2869
  # are alarms and Contributor Insights rules.
2838
2870
  #
2839
2871
  # Tags can help you organize and categorize your resources. You can also
2840
- # use them to scope user permissions, by granting a user permission to
2872
+ # use them to scope user permissions by granting a user permission to
2841
2873
  # access or change only resources with certain tag values.
2842
2874
  #
2843
2875
  # Tags don't have any semantic meaning to AWS and are interpreted
@@ -2860,7 +2892,7 @@ module Aws::CloudWatch
2860
2892
  # The ARN format of a Contributor Insights rule is
2861
2893
  # `arn:aws:cloudwatch:Region:account-id:insight-rule:insight-rule-name `
2862
2894
  #
2863
- # For more information on ARN format, see [ Resource Types Defined by
2895
+ # For more information about ARN format, see [ Resource Types Defined by
2864
2896
  # Amazon CloudWatch][1] in the *Amazon Web Services General Reference*.
2865
2897
  #
2866
2898
  #
@@ -2904,7 +2936,7 @@ module Aws::CloudWatch
2904
2936
  # The ARN format of a Contributor Insights rule is
2905
2937
  # `arn:aws:cloudwatch:Region:account-id:insight-rule:insight-rule-name `
2906
2938
  #
2907
- # For more information on ARN format, see [ Resource Types Defined by
2939
+ # For more information about ARN format, see [ Resource Types Defined by
2908
2940
  # Amazon CloudWatch][1] in the *Amazon Web Services General Reference*.
2909
2941
  #
2910
2942
  #
@@ -2945,7 +2977,7 @@ module Aws::CloudWatch
2945
2977
  params: params,
2946
2978
  config: config)
2947
2979
  context[:gem_name] = 'aws-sdk-cloudwatch'
2948
- context[:gem_version] = '1.38.0'
2980
+ context[:gem_version] = '1.43.0'
2949
2981
  Seahorse::Client::Request.new(handlers, context)
2950
2982
  end
2951
2983
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -189,6 +191,7 @@ module Aws::CloudWatch
189
191
  PutMetricAlarmInput = Shapes::StructureShape.new(name: 'PutMetricAlarmInput')
190
192
  PutMetricDataInput = Shapes::StructureShape.new(name: 'PutMetricDataInput')
191
193
  Range = Shapes::StructureShape.new(name: 'Range')
194
+ RecentlyActive = Shapes::StringShape.new(name: 'RecentlyActive')
192
195
  ResourceId = Shapes::StringShape.new(name: 'ResourceId')
193
196
  ResourceList = Shapes::ListShape.new(name: 'ResourceList')
194
197
  ResourceName = Shapes::StringShape.new(name: 'ResourceName')
@@ -565,6 +568,7 @@ module Aws::CloudWatch
565
568
  ListMetricsInput.add_member(:metric_name, Shapes::ShapeRef.new(shape: MetricName, location_name: "MetricName"))
566
569
  ListMetricsInput.add_member(:dimensions, Shapes::ShapeRef.new(shape: DimensionFilters, location_name: "Dimensions"))
567
570
  ListMetricsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
571
+ ListMetricsInput.add_member(:recently_active, Shapes::ShapeRef.new(shape: RecentlyActive, location_name: "RecentlyActive"))
568
572
  ListMetricsInput.struct_class = Types::ListMetricsInput
569
573
 
570
574
  ListMetricsOutput.add_member(:metrics, Shapes::ShapeRef.new(shape: Metrics, location_name: "Metrics"))
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,4 @@
1
+ # frozen_string_literal: true
1
2
  # WARNING ABOUT GENERATED CODE
2
3
  #
3
4
  # This file is generated. See the contributing for info on making contributions:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -288,10 +290,10 @@ module Aws::CloudWatch
288
290
  # The unit for a given metric. If you omit `Unit`, all data that was
289
291
  # collected with any unit is returned, along with the corresponding
290
292
  # units that were specified when the data was reported to CloudWatch. If
291
- # you specify a unit, the operation returns only data data that was
292
- # collected with that unit specified. If you specify a unit that does
293
- # not match the data collected, the results of the operation are null.
294
- # CloudWatch does not perform unit conversions.
293
+ # you specify a unit, the operation returns only data that was collected
294
+ # with that unit specified. If you specify a unit that does not match
295
+ # the data collected, the results of the operation are null. CloudWatch
296
+ # does not perform unit conversions.
295
297
  # @return [Types::GetMetricStatisticsOutput]
296
298
  def get_statistics(options = {})
297
299
  options = options.merge(
@@ -361,8 +363,7 @@ module Aws::CloudWatch
361
363
  # })
362
364
  # @param [Hash] options ({})
363
365
  # @option options [required, String] :alarm_name
364
- # The name for the alarm. This name must be unique within your AWS
365
- # account.
366
+ # The name for the alarm. This name must be unique within the Region.
366
367
  # @option options [String] :alarm_description
367
368
  # The description for the alarm.
368
369
  # @option options [Boolean] :actions_enabled
@@ -452,8 +453,8 @@ module Aws::CloudWatch
452
453
  # resolution, the alarm still attempts to gather data at the period rate
453
454
  # that you specify. In this case, it does not receive data for the
454
455
  # attempts that do not correspond to a one-minute data resolution, and
455
- # the alarm may often lapse into INSUFFICENT\_DATA status. Specifying 10
456
- # or 30 also sets this alarm as a high-resolution alarm, which has a
456
+ # the alarm might often lapse into INSUFFICENT\_DATA status. Specifying
457
+ # 10 or 30 also sets this alarm as a high-resolution alarm, which has a
457
458
  # higher charge than other alarms. For more information about pricing,
458
459
  # see [Amazon CloudWatch Pricing][1].
459
460
  #
@@ -474,12 +475,12 @@ module Aws::CloudWatch
474
475
  #
475
476
  # If you don't specify `Unit`, CloudWatch retrieves all unit types that
476
477
  # have been published for the metric and attempts to evaluate the alarm.
477
- # Usually metrics are published with only one unit, so the alarm will
478
- # work as intended.
478
+ # Usually, metrics are published with only one unit, so the alarm works
479
+ # as intended.
479
480
  #
480
481
  # However, if the metric is published with multiple types of units and
481
- # you don't specify a unit, the alarm's behavior is not defined and
482
- # will behave un-predictably.
482
+ # you don't specify a unit, the alarm's behavior is not defined and it
483
+ # behaves predictably.
483
484
  #
484
485
  # We recommend omitting `Unit` so that you don't inadvertently specify
485
486
  # an incorrect unit that is not published for this metric. Doing so
@@ -569,7 +570,7 @@ module Aws::CloudWatch
569
570
  # associate as many as 50 tags with an alarm.
570
571
  #
571
572
  # Tags can help you organize and categorize your resources. You can also
572
- # use them to scope user permissions, by granting a user permission to
573
+ # use them to scope user permissions by granting a user permission to
573
574
  # access or change only resources with certain tag values.
574
575
  # @option options [String] :threshold_metric_id
575
576
  # If this is an alarm based on an anomaly detection model, make this