aws-sdk-cloudwatch 1.51.0 → 1.52.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: 4564760b7b8d0aaad992dcca3f21ab5826f3adcf37f4be062726ce64253b0d8d
4
- data.tar.gz: 888a205121f81f9ffe4b3c39d04bc7e3365493a096503b0f6a30ed38f8decf4f
3
+ metadata.gz: b09a499a0ebd8466f0cf1e54facc543fedd2fd9370d9cb09d45869315cde8eff
4
+ data.tar.gz: 541e2421917ea47f92a462103aabffeb1a1c9faedf990ff52f85e13f6de2c717
5
5
  SHA512:
6
- metadata.gz: c42f3480584c4a8513b7f6c33549b8c232ff6a5fd2463e8fb727a6a6e9105ec1f4d843d72cdb10d802ec860e551ee15df7b425e7b52b1b8ed07a2e041fb39ac5
7
- data.tar.gz: b26baaa6c7288b95c1786c8931cbe0919f2727f27969e4df5e911664223181f4aa0599b9224bb1c552fa98a11dc6725ff2f373ac95ad6a783422c5384c86dadd
6
+ metadata.gz: 9e2fb5a2f727e7a2bbc352c4a465fa1bdad1b4861af26da5d426509de50996e756df0042557ba4aab71e83e6aa7edf096788282907b1ea4bb86a92b059d61712
7
+ data.tar.gz: b55dc1d9fb04f29a942356f5d4eff1162ca1b9eca8b8c430934b893d1638b8c5314951aa5425742d6495a0e6a176af4780a76c1720d25dfc7f2306d3fa9fe4ea
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.52.0 (2021-07-26)
5
+ ------------------
6
+
7
+ * Feature - SDK update to support creation of Cross-Account Metric Alarms and update API documentation.
8
+
4
9
  1.51.0 (2021-03-30)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.51.0
1
+ 1.52.0
@@ -52,6 +52,6 @@ require_relative 'aws-sdk-cloudwatch/customizations'
52
52
  # @!group service
53
53
  module Aws::CloudWatch
54
54
 
55
- GEM_VERSION = '1.51.0'
55
+ GEM_VERSION = '1.52.0'
56
56
 
57
57
  end
@@ -740,6 +740,7 @@ module Aws::CloudWatch
740
740
  # resp.metric_alarms[0].metrics[0].label #=> String
741
741
  # resp.metric_alarms[0].metrics[0].return_data #=> Boolean
742
742
  # resp.metric_alarms[0].metrics[0].period #=> Integer
743
+ # resp.metric_alarms[0].metrics[0].account_id #=> String
743
744
  # resp.metric_alarms[0].threshold_metric_id #=> String
744
745
  # resp.next_token #=> String
745
746
  #
@@ -859,6 +860,7 @@ module Aws::CloudWatch
859
860
  # resp.metric_alarms[0].metrics[0].label #=> String
860
861
  # resp.metric_alarms[0].metrics[0].return_data #=> Boolean
861
862
  # resp.metric_alarms[0].metrics[0].period #=> Integer
863
+ # resp.metric_alarms[0].metrics[0].account_id #=> String
862
864
  # resp.metric_alarms[0].threshold_metric_id #=> String
863
865
  #
864
866
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DescribeAlarmsForMetric AWS API Documentation
@@ -1455,6 +1457,7 @@ module Aws::CloudWatch
1455
1457
  # label: "MetricLabel",
1456
1458
  # return_data: false,
1457
1459
  # period: 1,
1460
+ # account_id: "AccountId",
1458
1461
  # },
1459
1462
  # ],
1460
1463
  # start_time: Time.now, # required
@@ -1549,8 +1552,8 @@ module Aws::CloudWatch
1549
1552
  # CloudWatch started retaining 5-minute and 1-hour metric data as of
1550
1553
  # July 9, 2016.
1551
1554
  #
1552
- # For information about metrics and dimensions supported by AWS
1553
- # services, see the [Amazon CloudWatch Metrics and Dimensions
1555
+ # For information about metrics and dimensions supported by Amazon Web
1556
+ # Services services, see the [Amazon CloudWatch Metrics and Dimensions
1554
1557
  # Reference][1] in the *Amazon CloudWatch User Guide*.
1555
1558
  #
1556
1559
  #
@@ -1819,8 +1822,8 @@ module Aws::CloudWatch
1819
1822
  # `</GetMetricWidgetImageResponse>`
1820
1823
  #
1821
1824
  # The `image/png` setting is intended only for custom HTTP requests. For
1822
- # most use cases, and all actions using an AWS SDK, you should use
1823
- # `png`. If you specify `image/png`, the HTTP response has a
1825
+ # most use cases, and all actions using an Amazon Web Services SDK, you
1826
+ # should use `png`. If you specify `image/png`, the HTTP response has a
1824
1827
  # content-type set to `image/png`, and the body of the response is a PNG
1825
1828
  # image.
1826
1829
  #
@@ -1911,7 +1914,7 @@ module Aws::CloudWatch
1911
1914
  # @return [Types::ListMetricStreamsOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1912
1915
  #
1913
1916
  # * {Types::ListMetricStreamsOutput#next_token #next_token} => String
1914
- # * {Types::ListMetricStreamsOutput#entries #entries} => Array&lt;Types::MetricStreamEntry&gt;
1917
+ # * {Types::ListMetricStreamsOutput#entries #data.entries} => Array&lt;Types::MetricStreamEntry&gt; (This method conflicts with a method on Response, call it through the data member)
1915
1918
  #
1916
1919
  # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
1917
1920
  #
@@ -1925,14 +1928,14 @@ module Aws::CloudWatch
1925
1928
  # @example Response structure
1926
1929
  #
1927
1930
  # resp.next_token #=> String
1928
- # resp.entries #=> Array
1929
- # resp.entries[0].arn #=> String
1930
- # resp.entries[0].creation_date #=> Time
1931
- # resp.entries[0].last_update_date #=> Time
1932
- # resp.entries[0].name #=> String
1933
- # resp.entries[0].firehose_arn #=> String
1934
- # resp.entries[0].state #=> String
1935
- # resp.entries[0].output_format #=> String, one of "json", "opentelemetry0.7"
1931
+ # resp.data.entries #=> Array
1932
+ # resp.data.entries[0].arn #=> String
1933
+ # resp.data.entries[0].creation_date #=> Time
1934
+ # resp.data.entries[0].last_update_date #=> Time
1935
+ # resp.data.entries[0].name #=> String
1936
+ # resp.data.entries[0].firehose_arn #=> String
1937
+ # resp.data.entries[0].state #=> String
1938
+ # resp.data.entries[0].output_format #=> String, one of "json", "opentelemetry0.7"
1936
1939
  #
1937
1940
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/ListMetricStreams AWS API Documentation
1938
1941
  #
@@ -2476,16 +2479,39 @@ module Aws::CloudWatch
2476
2479
  # * The `iam:CreateServiceLinkedRole` to create an alarm with Systems
2477
2480
  # Manager OpsItem actions.
2478
2481
  #
2479
- # The first time you create an alarm in the AWS Management Console, the
2480
- # CLI, or by using the PutMetricAlarm API, CloudWatch creates the
2481
- # necessary service-linked role for you. The service-linked roles are
2482
- # called `AWSServiceRoleForCloudWatchEvents` and
2482
+ # The first time you create an alarm in the Management Console, the CLI,
2483
+ # or by using the PutMetricAlarm API, CloudWatch creates the necessary
2484
+ # service-linked role for you. The service-linked roles are called
2485
+ # `AWSServiceRoleForCloudWatchEvents` and
2483
2486
  # `AWSServiceRoleForCloudWatchAlarms_ActionSSM`. For more information,
2484
- # see [AWS service-linked role][1].
2487
+ # see [Amazon Web Services service-linked role][1].
2488
+ #
2489
+ # **Cross-account alarms**
2490
+ #
2491
+ # You can set an alarm on metrics in the current account, or in another
2492
+ # account. To create a cross-account alarm that watches a metric in a
2493
+ # different account, you must have completed the following
2494
+ # pre-requisites:
2495
+ #
2496
+ # * The account where the metrics are located (the *sharing account*)
2497
+ # must already have a sharing role named
2498
+ # **CloudWatch-CrossAccountSharingRole**. If it does not already have
2499
+ # this role, you must create it using the instructions in **Set up a
2500
+ # sharing account** in [ Cross-account cross-Region CloudWatch
2501
+ # console][2]. The policy for that role must grant access to the ID of
2502
+ # the account where you are creating the alarm.
2503
+ #
2504
+ # * The account where you are creating the alarm (the *monitoring
2505
+ # account*) must already have a service-linked role named
2506
+ # **AWSServiceRoleForCloudWatchCrossAccount** to allow CloudWatch to
2507
+ # assume the sharing role in the sharing account. If it does not, you
2508
+ # must create it following the directions in **Set up a monitoring
2509
+ # account** in [ Cross-account cross-Region CloudWatch console][2].
2485
2510
  #
2486
2511
  #
2487
2512
  #
2488
2513
  # [1]: https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html#iam-term-service-linked-role
2514
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/Cross-Account-Cross-Region.html#enable-cross-account-cross-Region
2489
2515
  #
2490
2516
  # @option params [required, String] :alarm_name
2491
2517
  # The name for the alarm. This name must be unique within the Region.
@@ -2530,7 +2556,8 @@ module Aws::CloudWatch
2530
2556
  # `arn:aws:automate:region:ec2:reboot` \|
2531
2557
  # `arn:aws:sns:region:account-id:sns-topic-name ` \|
2532
2558
  # `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
2533
- # ` \| `arn:aws:ssm:region:account-id:opsitem:severity `
2559
+ # ` \| `arn:aws:ssm:region:account-id:opsitem:severity ` \|
2560
+ # `arn:aws:ssm-incidents::account-id:response-plan:response-plan-name `
2534
2561
  #
2535
2562
  # Valid Values (for use with IAM roles):
2536
2563
  # `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0`
@@ -2538,6 +2565,8 @@ module Aws::CloudWatch
2538
2565
  # `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0`
2539
2566
  # \|
2540
2567
  # `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0`
2568
+ # \|
2569
+ # `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0`
2541
2570
  #
2542
2571
  # @option params [Array<String>] :insufficient_data_actions
2543
2572
  # The actions to execute when this alarm transitions to the
@@ -2801,6 +2830,7 @@ module Aws::CloudWatch
2801
2830
  # label: "MetricLabel",
2802
2831
  # return_data: false,
2803
2832
  # period: 1,
2833
+ # account_id: "AccountId",
2804
2834
  # },
2805
2835
  # ],
2806
2836
  # tags: [
@@ -2881,8 +2911,8 @@ module Aws::CloudWatch
2881
2911
  # @option params [required, String] :namespace
2882
2912
  # The namespace for the metric data.
2883
2913
  #
2884
- # To avoid conflicts with AWS service namespaces, you should not specify
2885
- # a namespace that begins with `AWS/`
2914
+ # To avoid conflicts with Amazon Web Services service namespaces, you
2915
+ # should not specify a namespace that begins with `AWS/`
2886
2916
  #
2887
2917
  # @option params [required, Array<Types::MetricDatum>] :metric_data
2888
2918
  # The data for the metric. The array can include no more than 20 metrics
@@ -2929,8 +2959,8 @@ module Aws::CloudWatch
2929
2959
  end
2930
2960
 
2931
2961
  # Creates or updates a metric stream. Metric streams can automatically
2932
- # stream CloudWatch metrics to AWS destinations including Amazon S3 and
2933
- # to many third-party solutions.
2962
+ # stream CloudWatch metrics to Amazon Web Services destinations
2963
+ # including Amazon S3 and to many third-party solutions.
2934
2964
  #
2935
2965
  # For more information, see [ Using Metric Streams][1].
2936
2966
  #
@@ -3014,6 +3044,17 @@ module Aws::CloudWatch
3014
3044
  # use them to scope user permissions by granting a user permission to
3015
3045
  # access or change only resources with certain tag values.
3016
3046
  #
3047
+ # You can use this parameter only when you are creating a new metric
3048
+ # stream. If you are using this operation to update an existing metric
3049
+ # stream, any tags you specify in this parameter are ignored. To change
3050
+ # the tags of an existing metric stream, use [TagResource][1] or
3051
+ # [UntagResource][2].
3052
+ #
3053
+ #
3054
+ #
3055
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html
3056
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UntagResource.html
3057
+ #
3017
3058
  # @return [Types::PutMetricStreamOutput] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3018
3059
  #
3019
3060
  # * {Types::PutMetricStreamOutput#arn #arn} => String
@@ -3181,8 +3222,8 @@ module Aws::CloudWatch
3181
3222
  # use them to scope user permissions by granting a user permission to
3182
3223
  # access or change only resources with certain tag values.
3183
3224
  #
3184
- # Tags don't have any semantic meaning to AWS and are interpreted
3185
- # strictly as strings of characters.
3225
+ # Tags don't have any semantic meaning to Amazon Web Services and are
3226
+ # interpreted strictly as strings of characters.
3186
3227
  #
3187
3228
  # You can use the `TagResource` action with an alarm that already has
3188
3229
  # tags. If you specify a new tag key for the alarm, this tag is appended
@@ -3286,7 +3327,7 @@ module Aws::CloudWatch
3286
3327
  params: params,
3287
3328
  config: config)
3288
3329
  context[:gem_name] = 'aws-sdk-cloudwatch'
3289
- context[:gem_version] = '1.51.0'
3330
+ context[:gem_version] = '1.52.0'
3290
3331
  Seahorse::Client::Request.new(handlers, context)
3291
3332
  end
3292
3333
 
@@ -13,6 +13,7 @@ module Aws::CloudWatch
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AccountId = Shapes::StringShape.new(name: 'AccountId')
16
17
  ActionPrefix = Shapes::StringShape.new(name: 'ActionPrefix')
17
18
  ActionsEnabled = Shapes::BooleanShape.new(name: 'ActionsEnabled')
18
19
  AlarmArn = Shapes::StringShape.new(name: 'AlarmArn')
@@ -686,6 +687,7 @@ module Aws::CloudWatch
686
687
  MetricDataQuery.add_member(:label, Shapes::ShapeRef.new(shape: MetricLabel, location_name: "Label"))
687
688
  MetricDataQuery.add_member(:return_data, Shapes::ShapeRef.new(shape: ReturnData, location_name: "ReturnData"))
688
689
  MetricDataQuery.add_member(:period, Shapes::ShapeRef.new(shape: Period, location_name: "Period"))
690
+ MetricDataQuery.add_member(:account_id, Shapes::ShapeRef.new(shape: AccountId, location_name: "AccountId"))
689
691
  MetricDataQuery.struct_class = Types::MetricDataQuery
690
692
 
691
693
  MetricDataResult.add_member(:id, Shapes::ShapeRef.new(shape: MetricId, location_name: "Id"))
@@ -351,6 +351,7 @@ module Aws::CloudWatch
351
351
  # label: "MetricLabel",
352
352
  # return_data: false,
353
353
  # period: 1,
354
+ # account_id: "AccountId",
354
355
  # },
355
356
  # ],
356
357
  # tags: [
@@ -401,7 +402,8 @@ module Aws::CloudWatch
401
402
  # `arn:aws:automate:region:ec2:reboot` \|
402
403
  # `arn:aws:sns:region:account-id:sns-topic-name ` \|
403
404
  # `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
404
- # ` \| `arn:aws:ssm:region:account-id:opsitem:severity `
405
+ # ` \| `arn:aws:ssm:region:account-id:opsitem:severity ` \|
406
+ # `arn:aws:ssm-incidents::account-id:response-plan:response-plan-name `
405
407
  #
406
408
  # Valid Values (for use with IAM roles):
407
409
  # `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0`
@@ -409,6 +411,8 @@ module Aws::CloudWatch
409
411
  # `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0`
410
412
  # \|
411
413
  # `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0`
414
+ # \|
415
+ # `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0`
412
416
  # @option options [Array<String>] :insufficient_data_actions
413
417
  # The actions to execute when this alarm transitions to the
414
418
  # `INSUFFICIENT_DATA` state from any other state. Each action is
@@ -945,13 +945,13 @@ module Aws::CloudWatch
945
945
  # }
946
946
  #
947
947
  # @!attribute [rw] name
948
- # The name of the dimension. Dimension names cannot contain blank
949
- # spaces or non-ASCII characters.
948
+ # The name of the dimension. Dimension names must contain only ASCII
949
+ # characters and must include at least one non-whitespace character.
950
950
  # @return [String]
951
951
  #
952
952
  # @!attribute [rw] value
953
- # The value of the dimension. Dimension values cannot contain blank
954
- # spaces or non-ASCII characters.
953
+ # The value of the dimension. Dimension values must contain only ASCII
954
+ # characters and must include at least one non-whitespace character.
955
955
  # @return [String]
956
956
  #
957
957
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/Dimension AWS API Documentation
@@ -1313,6 +1313,7 @@ module Aws::CloudWatch
1313
1313
  # label: "MetricLabel",
1314
1314
  # return_data: false,
1315
1315
  # period: 1,
1316
+ # account_id: "AccountId",
1316
1317
  # },
1317
1318
  # ],
1318
1319
  # start_time: Time.now, # required
@@ -1756,10 +1757,10 @@ module Aws::CloudWatch
1756
1757
  # `</GetMetricWidgetImageResponse>`
1757
1758
  #
1758
1759
  # The `image/png` setting is intended only for custom HTTP requests.
1759
- # For most use cases, and all actions using an AWS SDK, you should use
1760
- # `png`. If you specify `image/png`, the HTTP response has a
1761
- # content-type set to `image/png`, and the body of the response is a
1762
- # PNG image.
1760
+ # For most use cases, and all actions using an Amazon Web Services
1761
+ # SDK, you should use `png`. If you specify `image/png`, the HTTP
1762
+ # response has a content-type set to `image/png`, and the body of the
1763
+ # response is a PNG image.
1763
1764
  # @return [String]
1764
1765
  #
1765
1766
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/GetMetricWidgetImageInput AWS API Documentation
@@ -2316,6 +2317,11 @@ module Aws::CloudWatch
2316
2317
  # A message returned by the `GetMetricData`API, including a code and a
2317
2318
  # description.
2318
2319
  #
2320
+ # If a cross-Region `GetMetricData` operation fails with a code of
2321
+ # `Forbidden` and a value of `Authentication too complex to retrieve
2322
+ # cross region data`, you can correct the problem by running the
2323
+ # `GetMetricData` operation in the same Region where the metric data is.
2324
+ #
2319
2325
  # @!attribute [rw] code
2320
2326
  # The error code or status code associated with the message.
2321
2327
  # @return [String]
@@ -2599,6 +2605,7 @@ module Aws::CloudWatch
2599
2605
  # label: "MetricLabel",
2600
2606
  # return_data: false,
2601
2607
  # period: 1,
2608
+ # account_id: "AccountId",
2602
2609
  # }
2603
2610
  #
2604
2611
  # @!attribute [rw] id
@@ -2674,6 +2681,14 @@ module Aws::CloudWatch
2674
2681
  # second`.
2675
2682
  # @return [Integer]
2676
2683
  #
2684
+ # @!attribute [rw] account_id
2685
+ # The ID of the account where the metrics are located, if this is a
2686
+ # cross-account alarm.
2687
+ #
2688
+ # Use this field only for `PutMetricAlarm` operations. It is not used
2689
+ # in `GetMetricData` operations.
2690
+ # @return [String]
2691
+ #
2677
2692
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricDataQuery AWS API Documentation
2678
2693
  #
2679
2694
  class MetricDataQuery < Struct.new(
@@ -2682,7 +2697,8 @@ module Aws::CloudWatch
2682
2697
  :expression,
2683
2698
  :label,
2684
2699
  :return_data,
2685
- :period)
2700
+ :period,
2701
+ :account_id)
2686
2702
  SENSITIVE = []
2687
2703
  include Aws::Structure
2688
2704
  end
@@ -3441,6 +3457,7 @@ module Aws::CloudWatch
3441
3457
  # label: "MetricLabel",
3442
3458
  # return_data: false,
3443
3459
  # period: 1,
3460
+ # account_id: "AccountId",
3444
3461
  # },
3445
3462
  # ],
3446
3463
  # tags: [
@@ -3499,7 +3516,9 @@ module Aws::CloudWatch
3499
3516
  # `arn:aws:automate:region:ec2:reboot` \|
3500
3517
  # `arn:aws:sns:region:account-id:sns-topic-name ` \|
3501
3518
  # `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
3502
- # ` \| `arn:aws:ssm:region:account-id:opsitem:severity `
3519
+ # ` \| `arn:aws:ssm:region:account-id:opsitem:severity ` \|
3520
+ # `arn:aws:ssm-incidents::account-id:response-plan:response-plan-name
3521
+ # `
3503
3522
  #
3504
3523
  # Valid Values (for use with IAM roles):
3505
3524
  # `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0`
@@ -3507,6 +3526,8 @@ module Aws::CloudWatch
3507
3526
  # `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0`
3508
3527
  # \|
3509
3528
  # `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0`
3529
+ # \|
3530
+ # `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0`
3510
3531
  # @return [Array<String>]
3511
3532
  #
3512
3533
  # @!attribute [rw] insufficient_data_actions
@@ -3803,8 +3824,8 @@ module Aws::CloudWatch
3803
3824
  # @!attribute [rw] namespace
3804
3825
  # The namespace for the metric data.
3805
3826
  #
3806
- # To avoid conflicts with AWS service namespaces, you should not
3807
- # specify a namespace that begins with `AWS/`
3827
+ # To avoid conflicts with Amazon Web Services service namespaces, you
3828
+ # should not specify a namespace that begins with `AWS/`
3808
3829
  # @return [String]
3809
3830
  #
3810
3831
  # @!attribute [rw] metric_data
@@ -3910,6 +3931,17 @@ module Aws::CloudWatch
3910
3931
  # also use them to scope user permissions by granting a user
3911
3932
  # permission to access or change only resources with certain tag
3912
3933
  # values.
3934
+ #
3935
+ # You can use this parameter only when you are creating a new metric
3936
+ # stream. If you are using this operation to update an existing metric
3937
+ # stream, any tags you specify in this parameter are ignored. To
3938
+ # change the tags of an existing metric stream, use [TagResource][1]
3939
+ # or [UntagResource][2].
3940
+ #
3941
+ #
3942
+ #
3943
+ # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_TagResource.html
3944
+ # [2]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_UntagResource.html
3913
3945
  # @return [Array<Types::Tag>]
3914
3946
  #
3915
3947
  # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/PutMetricStreamInput AWS API Documentation
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.51.0
4
+ version: 1.52.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: 2021-03-30 00:00:00.000000000 Z
11
+ date: 2021-07-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: aws-sdk-core
@@ -87,8 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
87
87
  - !ruby/object:Gem::Version
88
88
  version: '0'
89
89
  requirements: []
90
- rubyforge_project:
91
- rubygems_version: 2.7.6.2
90
+ rubygems_version: 3.1.6
92
91
  signing_key:
93
92
  specification_version: 4
94
93
  summary: AWS SDK for Ruby - CloudWatch