aws-sdk-cloudwatch 1.67.0 → 1.69.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatch/client.rb +62 -21
- data/lib/aws-sdk-cloudwatch/client_api.rb +7 -0
- data/lib/aws-sdk-cloudwatch/endpoint_parameters.rb +66 -0
- data/lib/aws-sdk-cloudwatch/endpoint_provider.rb +117 -0
- data/lib/aws-sdk-cloudwatch/endpoints.rb +547 -0
- data/lib/aws-sdk-cloudwatch/plugins/endpoints.rb +144 -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 +5 -1
- metadata +8 -4
@@ -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
@@ -13,10 +13,14 @@ require 'aws-sigv4'
|
|
13
13
|
|
14
14
|
require_relative 'aws-sdk-cloudwatch/types'
|
15
15
|
require_relative 'aws-sdk-cloudwatch/client_api'
|
16
|
+
require_relative 'aws-sdk-cloudwatch/plugins/endpoints.rb'
|
16
17
|
require_relative 'aws-sdk-cloudwatch/client'
|
17
18
|
require_relative 'aws-sdk-cloudwatch/errors'
|
18
19
|
require_relative 'aws-sdk-cloudwatch/waiters'
|
19
20
|
require_relative 'aws-sdk-cloudwatch/resource'
|
21
|
+
require_relative 'aws-sdk-cloudwatch/endpoint_parameters'
|
22
|
+
require_relative 'aws-sdk-cloudwatch/endpoint_provider'
|
23
|
+
require_relative 'aws-sdk-cloudwatch/endpoints'
|
20
24
|
require_relative 'aws-sdk-cloudwatch/alarm'
|
21
25
|
require_relative 'aws-sdk-cloudwatch/composite_alarm'
|
22
26
|
require_relative 'aws-sdk-cloudwatch/metric'
|
@@ -52,6 +56,6 @@ require_relative 'aws-sdk-cloudwatch/customizations'
|
|
52
56
|
# @!group service
|
53
57
|
module Aws::CloudWatch
|
54
58
|
|
55
|
-
GEM_VERSION = '1.
|
59
|
+
GEM_VERSION = '1.69.0'
|
56
60
|
|
57
61
|
end
|
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
|
@@ -19,7 +19,7 @@ dependencies:
|
|
19
19
|
version: '3'
|
20
20
|
- - ">="
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 3.
|
22
|
+
version: 3.165.0
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
@@ -29,7 +29,7 @@ dependencies:
|
|
29
29
|
version: '3'
|
30
30
|
- - ">="
|
31
31
|
- !ruby/object:Gem::Version
|
32
|
-
version: 3.
|
32
|
+
version: 3.165.0
|
33
33
|
- !ruby/object:Gem::Dependency
|
34
34
|
name: aws-sigv4
|
35
35
|
requirement: !ruby/object:Gem::Requirement
|
@@ -61,8 +61,12 @@ files:
|
|
61
61
|
- lib/aws-sdk-cloudwatch/client_api.rb
|
62
62
|
- lib/aws-sdk-cloudwatch/composite_alarm.rb
|
63
63
|
- lib/aws-sdk-cloudwatch/customizations.rb
|
64
|
+
- lib/aws-sdk-cloudwatch/endpoint_parameters.rb
|
65
|
+
- lib/aws-sdk-cloudwatch/endpoint_provider.rb
|
66
|
+
- lib/aws-sdk-cloudwatch/endpoints.rb
|
64
67
|
- lib/aws-sdk-cloudwatch/errors.rb
|
65
68
|
- lib/aws-sdk-cloudwatch/metric.rb
|
69
|
+
- lib/aws-sdk-cloudwatch/plugins/endpoints.rb
|
66
70
|
- lib/aws-sdk-cloudwatch/resource.rb
|
67
71
|
- lib/aws-sdk-cloudwatch/types.rb
|
68
72
|
- lib/aws-sdk-cloudwatch/waiters.rb
|