aws-sdk-cloudwatch 1.68.0 → 1.69.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatch/client.rb +43 -19
- data/lib/aws-sdk-cloudwatch/client_api.rb +7 -0
- data/lib/aws-sdk-cloudwatch/resource.rb +12 -0
- data/lib/aws-sdk-cloudwatch/types.rb +54 -22
- data/lib/aws-sdk-cloudwatch.rb +1 -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: f87924964c2cfaf2682c68eaee5b97e974cac3c6ed450071ba31e5513a636a28
|
4
|
+
data.tar.gz: 0cf2c4d9f1287382c7bff3f63e63e523abeb5c9beeb3074e46463ecbe3b0da4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a33ba6949fea82d1387a8a4ac41e1c0eda31119fb7cc72be5cb12c8bacc8b834a92c3be40c91e8a1e06f47fa7428f988eaaecf43950e7da7f5c2d20eddf77cdc
|
7
|
+
data.tar.gz: ad59c5669328545e20fcfd1a666a98085a0666ef4ff48146045f42b13b3e226e944b0a0e3c24222465b672bb219b4b4e69fab1e5093b3ca964d1ac5d480d9468
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.69.0 (2022-11-28)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Adds cross-account support to the GetMetricData API. Adds cross-account support to the ListMetrics API through the usage of the IncludeLinkedAccounts flag and the new OwningAccounts field.
|
8
|
+
|
4
9
|
1.68.0 (2022-10-25)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.69.0
|
@@ -387,7 +387,7 @@ module Aws::CloudWatch
|
|
387
387
|
# the rule of one of the composite alarms in the cycle to remove a
|
388
388
|
# dependency that creates the cycle. The simplest change to make to
|
389
389
|
# break a cycle is to change the `AlarmRule` of one of the alarms to
|
390
|
-
# `
|
390
|
+
# `false`.
|
391
391
|
#
|
392
392
|
# Additionally, the evaluation of composite alarms stops if CloudWatch
|
393
393
|
# detects a cycle in the evaluation path.
|
@@ -1680,7 +1680,7 @@ module Aws::CloudWatch
|
|
1680
1680
|
# resp.metric_data_results[0].timestamps[0] #=> Time
|
1681
1681
|
# resp.metric_data_results[0].values #=> Array
|
1682
1682
|
# resp.metric_data_results[0].values[0] #=> Float
|
1683
|
-
# resp.metric_data_results[0].status_code #=> String, one of "Complete", "InternalError", "PartialData"
|
1683
|
+
# resp.metric_data_results[0].status_code #=> String, one of "Complete", "InternalError", "PartialData", "Forbidden"
|
1684
1684
|
# resp.metric_data_results[0].messages #=> Array
|
1685
1685
|
# resp.metric_data_results[0].messages[0].code #=> String
|
1686
1686
|
# resp.metric_data_results[0].messages[0].value #=> String
|
@@ -2204,15 +2204,20 @@ module Aws::CloudWatch
|
|
2204
2204
|
end
|
2205
2205
|
|
2206
2206
|
# List the specified metrics. You can use the returned metrics with
|
2207
|
-
# [GetMetricData][1] or [GetMetricStatistics][2] to
|
2207
|
+
# [GetMetricData][1] or [GetMetricStatistics][2] to get statistical
|
2208
2208
|
# data.
|
2209
2209
|
#
|
2210
2210
|
# Up to 500 results are returned for any one call. To retrieve
|
2211
2211
|
# additional results, use the returned token with subsequent calls.
|
2212
2212
|
#
|
2213
|
-
# After you create a metric, allow up to 15 minutes
|
2214
|
-
#
|
2215
|
-
# [
|
2213
|
+
# After you create a metric, allow up to 15 minutes for the metric to
|
2214
|
+
# appear. To see metric statistics sooner, use [GetMetricData][1] or
|
2215
|
+
# [GetMetricStatistics][2].
|
2216
|
+
#
|
2217
|
+
# If you are using CloudWatch cross-account observability, you can use
|
2218
|
+
# this operation in a monitoring account and view metrics from the
|
2219
|
+
# linked source accounts. For more information, see [CloudWatch
|
2220
|
+
# cross-account observability][3].
|
2216
2221
|
#
|
2217
2222
|
# `ListMetrics` doesn't return information about metrics if those
|
2218
2223
|
# metrics haven't reported data in the past two weeks. To retrieve
|
@@ -2222,6 +2227,7 @@ module Aws::CloudWatch
|
|
2222
2227
|
#
|
2223
2228
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricData.html
|
2224
2229
|
# [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html
|
2230
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html
|
2225
2231
|
#
|
2226
2232
|
# @option params [String] :namespace
|
2227
2233
|
# The metric namespace to filter against. Only the namespace that
|
@@ -2249,10 +2255,23 @@ module Aws::CloudWatch
|
|
2249
2255
|
# metrics with last published data as much as 40 minutes more than the
|
2250
2256
|
# specified time interval.
|
2251
2257
|
#
|
2258
|
+
# @option params [Boolean] :include_linked_accounts
|
2259
|
+
# If you are using this operation in a monitoring account, specify
|
2260
|
+
# `true` to include metrics from source accounts in the returned data.
|
2261
|
+
#
|
2262
|
+
# The default is `false`.
|
2263
|
+
#
|
2264
|
+
# @option params [String] :owning_account
|
2265
|
+
# When you use this operation in a monitoring account, use this field to
|
2266
|
+
# return metrics only from one source account. To do so, specify that
|
2267
|
+
# source account ID in this field, and also specify `true` for
|
2268
|
+
# `IncludeLinkedAccounts`.
|
2269
|
+
#
|
2252
2270
|
# @return [Types::ListMetricsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2253
2271
|
#
|
2254
2272
|
# * {Types::ListMetricsOutput#metrics #metrics} => Array<Types::Metric>
|
2255
2273
|
# * {Types::ListMetricsOutput#next_token #next_token} => String
|
2274
|
+
# * {Types::ListMetricsOutput#owning_accounts #owning_accounts} => Array<String>
|
2256
2275
|
#
|
2257
2276
|
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
2258
2277
|
#
|
@@ -2269,6 +2288,8 @@ module Aws::CloudWatch
|
|
2269
2288
|
# ],
|
2270
2289
|
# next_token: "NextToken",
|
2271
2290
|
# recently_active: "PT3H", # accepts PT3H
|
2291
|
+
# include_linked_accounts: false,
|
2292
|
+
# owning_account: "AccountId",
|
2272
2293
|
# })
|
2273
2294
|
#
|
2274
2295
|
# @example Response structure
|
@@ -2280,6 +2301,8 @@ module Aws::CloudWatch
|
|
2280
2301
|
# resp.metrics[0].dimensions[0].name #=> String
|
2281
2302
|
# resp.metrics[0].dimensions[0].value #=> String
|
2282
2303
|
# resp.next_token #=> String
|
2304
|
+
# resp.owning_accounts #=> Array
|
2305
|
+
# resp.owning_accounts[0] #=> String
|
2283
2306
|
#
|
2284
2307
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetrics AWS API Documentation
|
2285
2308
|
#
|
@@ -2508,7 +2531,7 @@ module Aws::CloudWatch
|
|
2508
2531
|
# the rule of one of the composite alarms in the cycle to remove a
|
2509
2532
|
# dependency that creates the cycle. The simplest change to make to
|
2510
2533
|
# break a cycle is to change the `AlarmRule` of one of the alarms to
|
2511
|
-
# `
|
2534
|
+
# `false`.
|
2512
2535
|
#
|
2513
2536
|
# Additionally, the evaluation of composite alarms stops if CloudWatch
|
2514
2537
|
# detects a cycle in the evaluation path.
|
@@ -3383,12 +3406,12 @@ module Aws::CloudWatch
|
|
3383
3406
|
end
|
3384
3407
|
|
3385
3408
|
# Creates or updates a metric stream. Metric streams can automatically
|
3386
|
-
# stream CloudWatch metrics to Amazon Web Services destinations
|
3387
|
-
# including Amazon S3 and to many third-party solutions.
|
3409
|
+
# stream CloudWatch metrics to Amazon Web Services destinations,
|
3410
|
+
# including Amazon S3, and to many third-party solutions.
|
3388
3411
|
#
|
3389
3412
|
# For more information, see [ Using Metric Streams][1].
|
3390
3413
|
#
|
3391
|
-
# To create a metric stream, you must be
|
3414
|
+
# To create a metric stream, you must be signed in to an account that
|
3392
3415
|
# has the `iam:PassRole` permission and either the
|
3393
3416
|
# `CloudWatchFullAccess` policy or the `cloudwatch:PutMetricStream`
|
3394
3417
|
# permission.
|
@@ -3407,7 +3430,7 @@ module Aws::CloudWatch
|
|
3407
3430
|
# By default, a metric stream always sends the `MAX`, `MIN`, `SUM`, and
|
3408
3431
|
# `SAMPLECOUNT` statistics for each metric that is streamed. You can use
|
3409
3432
|
# the `StatisticsConfigurations` parameter to have the metric stream
|
3410
|
-
#
|
3433
|
+
# send additional statistics in the stream. Streaming additional
|
3411
3434
|
# statistics incurs additional costs. For more information, see [Amazon
|
3412
3435
|
# CloudWatch Pricing][2].
|
3413
3436
|
#
|
@@ -3445,15 +3468,16 @@ module Aws::CloudWatch
|
|
3445
3468
|
# operation.
|
3446
3469
|
#
|
3447
3470
|
# @option params [required, String] :firehose_arn
|
3448
|
-
# The ARN of the Amazon Kinesis Firehose delivery stream to use for
|
3449
|
-
# metric stream. This Amazon Kinesis Firehose delivery stream
|
3450
|
-
# already exist and must be in the same account as the metric
|
3471
|
+
# The ARN of the Amazon Kinesis Data Firehose delivery stream to use for
|
3472
|
+
# this metric stream. This Amazon Kinesis Data Firehose delivery stream
|
3473
|
+
# must already exist and must be in the same account as the metric
|
3474
|
+
# stream.
|
3451
3475
|
#
|
3452
3476
|
# @option params [required, String] :role_arn
|
3453
3477
|
# The ARN of an IAM role that this metric stream will use to access
|
3454
|
-
# Amazon Kinesis Firehose resources. This IAM role must already
|
3455
|
-
# and must be in the same account as the metric stream. This IAM
|
3456
|
-
# must include the following permissions:
|
3478
|
+
# Amazon Kinesis Data Firehose resources. This IAM role must already
|
3479
|
+
# exist and must be in the same account as the metric stream. This IAM
|
3480
|
+
# role must include the following permissions:
|
3457
3481
|
#
|
3458
3482
|
# * firehose:PutRecord
|
3459
3483
|
#
|
@@ -3500,7 +3524,7 @@ module Aws::CloudWatch
|
|
3500
3524
|
# additional statistic that is supported by CloudWatch, listed in [
|
3501
3525
|
# CloudWatch statistics definitions][1]. If the `OutputFormat` is
|
3502
3526
|
# `opentelemetry0.7`, you can stream percentile statistics such as p95,
|
3503
|
-
# p99.9 and so on.
|
3527
|
+
# p99.9, and so on.
|
3504
3528
|
#
|
3505
3529
|
#
|
3506
3530
|
#
|
@@ -3789,7 +3813,7 @@ module Aws::CloudWatch
|
|
3789
3813
|
params: params,
|
3790
3814
|
config: config)
|
3791
3815
|
context[:gem_name] = 'aws-sdk-cloudwatch'
|
3792
|
-
context[:gem_version] = '1.
|
3816
|
+
context[:gem_version] = '1.69.0'
|
3793
3817
|
Seahorse::Client::Request.new(handlers, context)
|
3794
3818
|
end
|
3795
3819
|
|
@@ -122,6 +122,7 @@ module Aws::CloudWatch
|
|
122
122
|
HistoryData = Shapes::StringShape.new(name: 'HistoryData')
|
123
123
|
HistoryItemType = Shapes::StringShape.new(name: 'HistoryItemType')
|
124
124
|
HistorySummary = Shapes::StringShape.new(name: 'HistorySummary')
|
125
|
+
IncludeLinkedAccounts = Shapes::BooleanShape.new(name: 'IncludeLinkedAccounts')
|
125
126
|
InsightRule = Shapes::StructureShape.new(name: 'InsightRule')
|
126
127
|
InsightRuleAggregationStatistic = Shapes::StringShape.new(name: 'InsightRuleAggregationStatistic')
|
127
128
|
InsightRuleContributor = Shapes::StructureShape.new(name: 'InsightRuleContributor')
|
@@ -216,6 +217,7 @@ module Aws::CloudWatch
|
|
216
217
|
Namespace = Shapes::StringShape.new(name: 'Namespace')
|
217
218
|
NextToken = Shapes::StringShape.new(name: 'NextToken')
|
218
219
|
OutputFormat = Shapes::StringShape.new(name: 'OutputFormat')
|
220
|
+
OwningAccounts = Shapes::ListShape.new(name: 'OwningAccounts')
|
219
221
|
PartialFailure = Shapes::StructureShape.new(name: 'PartialFailure')
|
220
222
|
Period = Shapes::IntegerShape.new(name: 'Period')
|
221
223
|
PutAnomalyDetectorInput = Shapes::StructureShape.new(name: 'PutAnomalyDetectorInput')
|
@@ -673,10 +675,13 @@ module Aws::CloudWatch
|
|
673
675
|
ListMetricsInput.add_member(:dimensions, Shapes::ShapeRef.new(shape: DimensionFilters, location_name: "Dimensions"))
|
674
676
|
ListMetricsInput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
675
677
|
ListMetricsInput.add_member(:recently_active, Shapes::ShapeRef.new(shape: RecentlyActive, location_name: "RecentlyActive"))
|
678
|
+
ListMetricsInput.add_member(:include_linked_accounts, Shapes::ShapeRef.new(shape: IncludeLinkedAccounts, location_name: "IncludeLinkedAccounts"))
|
679
|
+
ListMetricsInput.add_member(:owning_account, Shapes::ShapeRef.new(shape: AccountId, location_name: "OwningAccount"))
|
676
680
|
ListMetricsInput.struct_class = Types::ListMetricsInput
|
677
681
|
|
678
682
|
ListMetricsOutput.add_member(:metrics, Shapes::ShapeRef.new(shape: Metrics, location_name: "Metrics"))
|
679
683
|
ListMetricsOutput.add_member(:next_token, Shapes::ShapeRef.new(shape: NextToken, location_name: "NextToken"))
|
684
|
+
ListMetricsOutput.add_member(:owning_accounts, Shapes::ShapeRef.new(shape: OwningAccounts, location_name: "OwningAccounts"))
|
680
685
|
ListMetricsOutput.struct_class = Types::ListMetricsOutput
|
681
686
|
|
682
687
|
ListTagsForResourceInput.add_member(:resource_arn, Shapes::ShapeRef.new(shape: AmazonResourceName, required: true, location_name: "ResourceARN"))
|
@@ -825,6 +830,8 @@ module Aws::CloudWatch
|
|
825
830
|
MissingRequiredParameterException.add_member(:message, Shapes::ShapeRef.new(shape: AwsQueryErrorMessage, location_name: "message"))
|
826
831
|
MissingRequiredParameterException.struct_class = Types::MissingRequiredParameterException
|
827
832
|
|
833
|
+
OwningAccounts.member = Shapes::ShapeRef.new(shape: AccountId)
|
834
|
+
|
828
835
|
PartialFailure.add_member(:failure_resource, Shapes::ShapeRef.new(shape: FailureResource, location_name: "FailureResource"))
|
829
836
|
PartialFailure.add_member(:exception_type, Shapes::ShapeRef.new(shape: ExceptionType, location_name: "ExceptionType"))
|
830
837
|
PartialFailure.add_member(:failure_code, Shapes::ShapeRef.new(shape: FailureCode, location_name: "FailureCode"))
|
@@ -254,6 +254,8 @@ module Aws::CloudWatch
|
|
254
254
|
# },
|
255
255
|
# ],
|
256
256
|
# recently_active: "PT3H", # accepts PT3H
|
257
|
+
# include_linked_accounts: false,
|
258
|
+
# owning_account: "AccountId",
|
257
259
|
# })
|
258
260
|
# @param [Hash] options ({})
|
259
261
|
# @option options [String] :namespace
|
@@ -274,6 +276,16 @@ module Aws::CloudWatch
|
|
274
276
|
# specify. There is a low probability that the returned results include
|
275
277
|
# metrics with last published data as much as 40 minutes more than the
|
276
278
|
# specified time interval.
|
279
|
+
# @option options [Boolean] :include_linked_accounts
|
280
|
+
# If you are using this operation in a monitoring account, specify
|
281
|
+
# `true` to include metrics from source accounts in the returned data.
|
282
|
+
#
|
283
|
+
# The default is `false`.
|
284
|
+
# @option options [String] :owning_account
|
285
|
+
# When you use this operation in a monitoring account, use this field to
|
286
|
+
# return metrics only from one source account. To do so, specify that
|
287
|
+
# source account ID in this field, and also specify `true` for
|
288
|
+
# `IncludeLinkedAccounts`.
|
277
289
|
# @return [Metric::Collection]
|
278
290
|
def metrics(options = {})
|
279
291
|
batches = Enumerator.new do |y|
|
@@ -1818,8 +1818,8 @@ module Aws::CloudWatch
|
|
1818
1818
|
# @return [Array<Types::MetricStreamFilter>]
|
1819
1819
|
#
|
1820
1820
|
# @!attribute [rw] firehose_arn
|
1821
|
-
# The ARN of the Amazon Kinesis Firehose delivery stream that is
|
1822
|
-
# by this metric stream.
|
1821
|
+
# The ARN of the Amazon Kinesis Data Firehose delivery stream that is
|
1822
|
+
# used by this metric stream.
|
1823
1823
|
# @return [String]
|
1824
1824
|
#
|
1825
1825
|
# @!attribute [rw] role_arn
|
@@ -2445,6 +2445,8 @@ module Aws::CloudWatch
|
|
2445
2445
|
# ],
|
2446
2446
|
# next_token: "NextToken",
|
2447
2447
|
# recently_active: "PT3H", # accepts PT3H
|
2448
|
+
# include_linked_accounts: false,
|
2449
|
+
# owning_account: "AccountId",
|
2448
2450
|
# }
|
2449
2451
|
#
|
2450
2452
|
# @!attribute [rw] namespace
|
@@ -2478,6 +2480,20 @@ module Aws::CloudWatch
|
|
2478
2480
|
# than the specified time interval.
|
2479
2481
|
# @return [String]
|
2480
2482
|
#
|
2483
|
+
# @!attribute [rw] include_linked_accounts
|
2484
|
+
# If you are using this operation in a monitoring account, specify
|
2485
|
+
# `true` to include metrics from source accounts in the returned data.
|
2486
|
+
#
|
2487
|
+
# The default is `false`.
|
2488
|
+
# @return [Boolean]
|
2489
|
+
#
|
2490
|
+
# @!attribute [rw] owning_account
|
2491
|
+
# When you use this operation in a monitoring account, use this field
|
2492
|
+
# to return metrics only from one source account. To do so, specify
|
2493
|
+
# that source account ID in this field, and also specify `true` for
|
2494
|
+
# `IncludeLinkedAccounts`.
|
2495
|
+
# @return [String]
|
2496
|
+
#
|
2481
2497
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetricsInput AWS API Documentation
|
2482
2498
|
#
|
2483
2499
|
class ListMetricsInput < Struct.new(
|
@@ -2485,7 +2501,9 @@ module Aws::CloudWatch
|
|
2485
2501
|
:metric_name,
|
2486
2502
|
:dimensions,
|
2487
2503
|
:next_token,
|
2488
|
-
:recently_active
|
2504
|
+
:recently_active,
|
2505
|
+
:include_linked_accounts,
|
2506
|
+
:owning_account)
|
2489
2507
|
SENSITIVE = []
|
2490
2508
|
include Aws::Structure
|
2491
2509
|
end
|
@@ -2499,11 +2517,21 @@ module Aws::CloudWatch
|
|
2499
2517
|
# results.
|
2500
2518
|
# @return [String]
|
2501
2519
|
#
|
2520
|
+
# @!attribute [rw] owning_accounts
|
2521
|
+
# If you are using this operation in a monitoring account, this array
|
2522
|
+
# contains the account IDs of the source accounts where the metrics in
|
2523
|
+
# the returned data are from.
|
2524
|
+
#
|
2525
|
+
# This field is a 1:1 mapping between each metric that is returned and
|
2526
|
+
# the ID of the owning account.
|
2527
|
+
# @return [Array<String>]
|
2528
|
+
#
|
2502
2529
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetricsOutput AWS API Documentation
|
2503
2530
|
#
|
2504
2531
|
class ListMetricsOutput < Struct.new(
|
2505
2532
|
:metrics,
|
2506
|
-
:next_token
|
2533
|
+
:next_token,
|
2534
|
+
:owning_accounts)
|
2507
2535
|
SENSITIVE = []
|
2508
2536
|
include Aws::Structure
|
2509
2537
|
end
|
@@ -2914,7 +2942,7 @@ module Aws::CloudWatch
|
|
2914
2942
|
# structures can include as many as 10 structures that contain a
|
2915
2943
|
# `MetricStat` parameter to retrieve a metric, and as many as 10
|
2916
2944
|
# structures that contain the `Expression` parameter to perform a math
|
2917
|
-
# expression. Of those `Expression` structures, one must have `
|
2945
|
+
# expression. Of those `Expression` structures, one must have `true` as
|
2918
2946
|
# the value for `ReturnData`. The result of this expression is the value
|
2919
2947
|
# the alarm watches.
|
2920
2948
|
#
|
@@ -3017,10 +3045,10 @@ module Aws::CloudWatch
|
|
3017
3045
|
# When used in `GetMetricData`, this option indicates whether to
|
3018
3046
|
# return the timestamps and raw data values of this metric. If you are
|
3019
3047
|
# performing this call just to do math expressions and do not also
|
3020
|
-
# need the raw data returned, you can specify `
|
3021
|
-
# this, the default of `
|
3048
|
+
# need the raw data returned, you can specify `false`. If you omit
|
3049
|
+
# this, the default of `true` is used.
|
3022
3050
|
#
|
3023
|
-
# When used in `PutMetricAlarm`, specify `
|
3051
|
+
# When used in `PutMetricAlarm`, specify `true` for the one expression
|
3024
3052
|
# result to use as the alarm. For all other metrics and expressions in
|
3025
3053
|
# the same `PutMetricAlarm` operation, specify `ReturnData` as False.
|
3026
3054
|
# @return [Boolean]
|
@@ -3037,11 +3065,15 @@ module Aws::CloudWatch
|
|
3037
3065
|
# @return [Integer]
|
3038
3066
|
#
|
3039
3067
|
# @!attribute [rw] account_id
|
3040
|
-
# The ID of the account where the metrics are located
|
3041
|
-
#
|
3068
|
+
# The ID of the account where the metrics are located.
|
3069
|
+
#
|
3070
|
+
# If you are performing a `GetMetricData` operation in a monitoring
|
3071
|
+
# account, use this to specify which account to retrieve this metric
|
3072
|
+
# from.
|
3042
3073
|
#
|
3043
|
-
#
|
3044
|
-
#
|
3074
|
+
# If you are performing a `PutMetricAlarm` operation, use this to
|
3075
|
+
# specify which account contains the metric that the alarm is
|
3076
|
+
# watching.
|
3045
3077
|
# @return [String]
|
3046
3078
|
#
|
3047
3079
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricDataQuery AWS API Documentation
|
@@ -3272,9 +3304,9 @@ module Aws::CloudWatch
|
|
3272
3304
|
# Each item in `MetricDataQueries` gets a metric or performs a math
|
3273
3305
|
# expression. One item in `MetricDataQueries` is the expression that
|
3274
3306
|
# provides the time series that the anomaly detector uses as input.
|
3275
|
-
# Designate the expression by setting `ReturnData` to `
|
3307
|
+
# Designate the expression by setting `ReturnData` to `true` for this
|
3276
3308
|
# object in the array. For all other expressions and metrics, set
|
3277
|
-
# `ReturnData` to `
|
3309
|
+
# `ReturnData` to `false`. The designated expression must return a
|
3278
3310
|
# single time series.
|
3279
3311
|
# @return [Array<Types::MetricDataQuery>]
|
3280
3312
|
#
|
@@ -4567,17 +4599,17 @@ module Aws::CloudWatch
|
|
4567
4599
|
# @return [Array<Types::MetricStreamFilter>]
|
4568
4600
|
#
|
4569
4601
|
# @!attribute [rw] firehose_arn
|
4570
|
-
# The ARN of the Amazon Kinesis Firehose delivery stream to use
|
4571
|
-
# this metric stream. This Amazon Kinesis Firehose delivery
|
4572
|
-
# must already exist and must be in the same account as the
|
4573
|
-
# stream.
|
4602
|
+
# The ARN of the Amazon Kinesis Data Firehose delivery stream to use
|
4603
|
+
# for this metric stream. This Amazon Kinesis Data Firehose delivery
|
4604
|
+
# stream must already exist and must be in the same account as the
|
4605
|
+
# metric stream.
|
4574
4606
|
# @return [String]
|
4575
4607
|
#
|
4576
4608
|
# @!attribute [rw] role_arn
|
4577
4609
|
# The ARN of an IAM role that this metric stream will use to access
|
4578
|
-
# Amazon Kinesis Firehose resources. This IAM role must already
|
4579
|
-
# and must be in the same account as the metric stream. This IAM
|
4580
|
-
# must include the following permissions:
|
4610
|
+
# Amazon Kinesis Data Firehose resources. This IAM role must already
|
4611
|
+
# exist and must be in the same account as the metric stream. This IAM
|
4612
|
+
# role must include the following permissions:
|
4581
4613
|
#
|
4582
4614
|
# * firehose:PutRecord
|
4583
4615
|
#
|
@@ -4629,7 +4661,7 @@ module Aws::CloudWatch
|
|
4629
4661
|
# additional statistic that is supported by CloudWatch, listed in [
|
4630
4662
|
# CloudWatch statistics definitions][1]. If the `OutputFormat` is
|
4631
4663
|
# `opentelemetry0.7`, you can stream percentile statistics such as
|
4632
|
-
# p95, p99.9 and so on.
|
4664
|
+
# p95, p99.9, and so on.
|
4633
4665
|
#
|
4634
4666
|
#
|
4635
4667
|
#
|
data/lib/aws-sdk-cloudwatch.rb
CHANGED
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.69.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: 2022-
|
11
|
+
date: 2022-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|