aws-sdk-cloudwatch 1.70.0 → 1.71.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 +8 -1
- data/VERSION +1 -1
- data/lib/aws-sdk-cloudwatch/client.rb +14 -1
- data/lib/aws-sdk-cloudwatch/client_api.rb +3 -0
- data/lib/aws-sdk-cloudwatch/endpoint_provider.rb +38 -100
- data/lib/aws-sdk-cloudwatch/types.rb +15 -2
- 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: 4adc9c0178915aa194475a2669cc64b83540093841112732128e55c232358a18
|
4
|
+
data.tar.gz: 070d7945b97e5c15b10114c0ff432f509211e497971ca1ab661deed36eaa96b6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ef94f4cda0da9af2169f6636b75a94fd90ce14db0cad3ea2d25fe45d5acefe82fab2f8f6cf64f5cf2ae3b04da8d673c569cca9c23c5f37bec60d1cf4fa9d4fe
|
7
|
+
data.tar.gz: 91b3c748198f5a3e9493ce6b413a7857e759c6335eebb9cae4d82d31e6283e142f43ca0e6f34242202e7940e60cbdfa4df7eeddb02f5740673dc40c0d6d447a1
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.71.0 (2023-01-18)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - Enable cross-account streams in CloudWatch Metric Streams via Observability Access Manager.
|
8
|
+
|
9
|
+
* Issue - Replace runtime endpoint resolution approach with generated ruby code.
|
10
|
+
|
4
11
|
1.70.0 (2022-12-14)
|
5
12
|
------------------
|
6
13
|
|
@@ -422,4 +429,4 @@ Unreleased Changes
|
|
422
429
|
1.0.0.rc1 (2016-12-05)
|
423
430
|
------------------
|
424
431
|
|
425
|
-
* Feature - Initial preview release of the `aws-sdk-cloudwatch` gem.
|
432
|
+
* Feature - Initial preview release of the `aws-sdk-cloudwatch` gem.
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.71.0
|
@@ -1934,6 +1934,7 @@ module Aws::CloudWatch
|
|
1934
1934
|
# * {Types::GetMetricStreamOutput#last_update_date #last_update_date} => Time
|
1935
1935
|
# * {Types::GetMetricStreamOutput#output_format #output_format} => String
|
1936
1936
|
# * {Types::GetMetricStreamOutput#statistics_configurations #statistics_configurations} => Array<Types::MetricStreamStatisticsConfiguration>
|
1937
|
+
# * {Types::GetMetricStreamOutput#include_linked_accounts_metrics #include_linked_accounts_metrics} => Boolean
|
1937
1938
|
#
|
1938
1939
|
# @example Request syntax with placeholder values
|
1939
1940
|
#
|
@@ -1961,6 +1962,7 @@ module Aws::CloudWatch
|
|
1961
1962
|
# resp.statistics_configurations[0].include_metrics[0].metric_name #=> String
|
1962
1963
|
# resp.statistics_configurations[0].additional_statistics #=> Array
|
1963
1964
|
# resp.statistics_configurations[0].additional_statistics[0] #=> String
|
1965
|
+
# resp.include_linked_accounts_metrics #=> Boolean
|
1964
1966
|
#
|
1965
1967
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStream AWS API Documentation
|
1966
1968
|
#
|
@@ -3446,10 +3448,16 @@ module Aws::CloudWatch
|
|
3446
3448
|
# stream is created in the `running` state. If you use it to update an
|
3447
3449
|
# existing stream, the state of the stream is not changed.
|
3448
3450
|
#
|
3451
|
+
# If you are using CloudWatch cross-account observability and you create
|
3452
|
+
# a metric stream in a monitoring account, you can choose whether to
|
3453
|
+
# include metrics from source accounts in the stream. For more
|
3454
|
+
# information, see [CloudWatch cross-account observability][3].
|
3455
|
+
#
|
3449
3456
|
#
|
3450
3457
|
#
|
3451
3458
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Metric-Streams.html
|
3452
3459
|
# [2]: https://aws.amazon.com/cloudwatch/pricing/
|
3460
|
+
# [3]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Unified-Cross-Account.html
|
3453
3461
|
#
|
3454
3462
|
# @option params [required, String] :name
|
3455
3463
|
# If you are creating a new metric stream, this is the name for the new
|
@@ -3538,6 +3546,10 @@ module Aws::CloudWatch
|
|
3538
3546
|
#
|
3539
3547
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html
|
3540
3548
|
#
|
3549
|
+
# @option params [Boolean] :include_linked_accounts_metrics
|
3550
|
+
# If you are creating a metric stream in a monitoring account, specify
|
3551
|
+
# `true` to include metrics from source accounts in the metric stream.
|
3552
|
+
#
|
3541
3553
|
# @return [Types::PutMetricStreamOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3542
3554
|
#
|
3543
3555
|
# * {Types::PutMetricStreamOutput#arn #arn} => String
|
@@ -3576,6 +3588,7 @@ module Aws::CloudWatch
|
|
3576
3588
|
# additional_statistics: ["MetricStreamStatistic"], # required
|
3577
3589
|
# },
|
3578
3590
|
# ],
|
3591
|
+
# include_linked_accounts_metrics: false,
|
3579
3592
|
# })
|
3580
3593
|
#
|
3581
3594
|
# @example Response structure
|
@@ -3821,7 +3834,7 @@ module Aws::CloudWatch
|
|
3821
3834
|
params: params,
|
3822
3835
|
config: config)
|
3823
3836
|
context[:gem_name] = 'aws-sdk-cloudwatch'
|
3824
|
-
context[:gem_version] = '1.
|
3837
|
+
context[:gem_version] = '1.71.0'
|
3825
3838
|
Seahorse::Client::Request.new(handlers, context)
|
3826
3839
|
end
|
3827
3840
|
|
@@ -124,6 +124,7 @@ module Aws::CloudWatch
|
|
124
124
|
HistoryItemType = Shapes::StringShape.new(name: 'HistoryItemType')
|
125
125
|
HistorySummary = Shapes::StringShape.new(name: 'HistorySummary')
|
126
126
|
IncludeLinkedAccounts = Shapes::BooleanShape.new(name: 'IncludeLinkedAccounts')
|
127
|
+
IncludeLinkedAccountsMetrics = Shapes::BooleanShape.new(name: 'IncludeLinkedAccountsMetrics')
|
127
128
|
InsightRule = Shapes::StructureShape.new(name: 'InsightRule')
|
128
129
|
InsightRuleAggregationStatistic = Shapes::StringShape.new(name: 'InsightRuleAggregationStatistic')
|
129
130
|
InsightRuleContributor = Shapes::StructureShape.new(name: 'InsightRuleContributor')
|
@@ -572,6 +573,7 @@ module Aws::CloudWatch
|
|
572
573
|
GetMetricStreamOutput.add_member(:last_update_date, Shapes::ShapeRef.new(shape: Timestamp, location_name: "LastUpdateDate"))
|
573
574
|
GetMetricStreamOutput.add_member(:output_format, Shapes::ShapeRef.new(shape: MetricStreamOutputFormat, location_name: "OutputFormat"))
|
574
575
|
GetMetricStreamOutput.add_member(:statistics_configurations, Shapes::ShapeRef.new(shape: MetricStreamStatisticsConfigurations, location_name: "StatisticsConfigurations"))
|
576
|
+
GetMetricStreamOutput.add_member(:include_linked_accounts_metrics, Shapes::ShapeRef.new(shape: IncludeLinkedAccountsMetrics, location_name: "IncludeLinkedAccountsMetrics"))
|
575
577
|
GetMetricStreamOutput.struct_class = Types::GetMetricStreamOutput
|
576
578
|
|
577
579
|
GetMetricWidgetImageInput.add_member(:metric_widget, Shapes::ShapeRef.new(shape: MetricWidget, required: true, location_name: "MetricWidget"))
|
@@ -922,6 +924,7 @@ module Aws::CloudWatch
|
|
922
924
|
PutMetricStreamInput.add_member(:output_format, Shapes::ShapeRef.new(shape: MetricStreamOutputFormat, required: true, location_name: "OutputFormat"))
|
923
925
|
PutMetricStreamInput.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
|
924
926
|
PutMetricStreamInput.add_member(:statistics_configurations, Shapes::ShapeRef.new(shape: MetricStreamStatisticsConfigurations, location_name: "StatisticsConfigurations"))
|
927
|
+
PutMetricStreamInput.add_member(:include_linked_accounts_metrics, Shapes::ShapeRef.new(shape: IncludeLinkedAccountsMetrics, location_name: "IncludeLinkedAccountsMetrics"))
|
925
928
|
PutMetricStreamInput.struct_class = Types::PutMetricStreamInput
|
926
929
|
|
927
930
|
PutMetricStreamOutput.add_member(:arn, Shapes::ShapeRef.new(shape: AmazonResourceName, location_name: "Arn"))
|
@@ -9,108 +9,46 @@
|
|
9
9
|
|
10
10
|
module Aws::CloudWatch
|
11
11
|
class EndpointProvider
|
12
|
-
def
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
12
|
+
def resolve_endpoint(parameters)
|
13
|
+
region = parameters.region
|
14
|
+
use_dual_stack = parameters.use_dual_stack
|
15
|
+
use_fips = parameters.use_fips
|
16
|
+
endpoint = parameters.endpoint
|
17
|
+
if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
|
18
|
+
if Aws::Endpoints::Matchers.set?(endpoint)
|
19
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
20
|
+
raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
|
21
|
+
end
|
22
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
23
|
+
raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
|
24
|
+
end
|
25
|
+
return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
|
26
|
+
end
|
27
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
28
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS")) && Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
29
|
+
return Aws::Endpoints::Endpoint.new(url: "https://monitoring-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
30
|
+
end
|
31
|
+
raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
|
32
|
+
end
|
33
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
|
34
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
|
35
|
+
if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
|
36
|
+
return Aws::Endpoints::Endpoint.new(url: "https://monitoring.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
37
|
+
end
|
38
|
+
return Aws::Endpoints::Endpoint.new(url: "https://monitoring-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
39
|
+
end
|
40
|
+
raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
|
41
|
+
end
|
42
|
+
if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
|
43
|
+
if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
|
44
|
+
return Aws::Endpoints::Endpoint.new(url: "https://monitoring.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
|
45
|
+
end
|
46
|
+
raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
|
47
|
+
end
|
48
|
+
return Aws::Endpoints::Endpoint.new(url: "https://monitoring.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
|
21
49
|
end
|
22
|
-
|
23
|
-
end
|
50
|
+
raise ArgumentError, 'No endpoint could be resolved'
|
24
51
|
|
25
|
-
def resolve_endpoint(parameters)
|
26
|
-
@provider.resolve_endpoint(parameters)
|
27
52
|
end
|
28
|
-
|
29
|
-
# @api private
|
30
|
-
RULES = <<-JSON
|
31
|
-
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQ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6Ly9tb25p
|
110
|
-
dG9yaW5nLntSZWdpb259LntQYXJ0aXRpb25SZXN1bHQjZG5zU3VmZml4fSIs
|
111
|
-
InByb3BlcnRpZXMiOnt9LCJoZWFkZXJzIjp7fX0sInR5cGUiOiJlbmRwb2lu
|
112
|
-
dCJ9XX1dfQ==
|
113
|
-
|
114
|
-
JSON
|
115
53
|
end
|
116
54
|
end
|
@@ -1565,6 +1565,12 @@ module Aws::CloudWatch
|
|
1565
1565
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html
|
1566
1566
|
# @return [Array<Types::MetricStreamStatisticsConfiguration>]
|
1567
1567
|
#
|
1568
|
+
# @!attribute [rw] include_linked_accounts_metrics
|
1569
|
+
# If this is `true` and this metric stream is in a monitoring account,
|
1570
|
+
# then the stream includes metrics from source accounts that the
|
1571
|
+
# monitoring account is linked to.
|
1572
|
+
# @return [Boolean]
|
1573
|
+
#
|
1568
1574
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricStreamOutput AWS API Documentation
|
1569
1575
|
#
|
1570
1576
|
class GetMetricStreamOutput < Struct.new(
|
@@ -1578,7 +1584,8 @@ module Aws::CloudWatch
|
|
1578
1584
|
:creation_date,
|
1579
1585
|
:last_update_date,
|
1580
1586
|
:output_format,
|
1581
|
-
:statistics_configurations
|
1587
|
+
:statistics_configurations,
|
1588
|
+
:include_linked_accounts_metrics)
|
1582
1589
|
SENSITIVE = []
|
1583
1590
|
include Aws::Structure
|
1584
1591
|
end
|
@@ -3914,6 +3921,11 @@ module Aws::CloudWatch
|
|
3914
3921
|
# [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Statistics-definitions.html.html
|
3915
3922
|
# @return [Array<Types::MetricStreamStatisticsConfiguration>]
|
3916
3923
|
#
|
3924
|
+
# @!attribute [rw] include_linked_accounts_metrics
|
3925
|
+
# If you are creating a metric stream in a monitoring account, specify
|
3926
|
+
# `true` to include metrics from source accounts in the metric stream.
|
3927
|
+
# @return [Boolean]
|
3928
|
+
#
|
3917
3929
|
# @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricStreamInput AWS API Documentation
|
3918
3930
|
#
|
3919
3931
|
class PutMetricStreamInput < Struct.new(
|
@@ -3924,7 +3936,8 @@ module Aws::CloudWatch
|
|
3924
3936
|
:role_arn,
|
3925
3937
|
:output_format,
|
3926
3938
|
:tags,
|
3927
|
-
:statistics_configurations
|
3939
|
+
:statistics_configurations,
|
3940
|
+
:include_linked_accounts_metrics)
|
3928
3941
|
SENSITIVE = []
|
3929
3942
|
include Aws::Structure
|
3930
3943
|
end
|
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.71.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: 2023-01-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: aws-sdk-core
|