aws-sdk-cloudwatch 1.71.0 → 1.73.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 +147 -58
- data/lib/aws-sdk-cloudwatch/client_api.rb +4 -0
- data/lib/aws-sdk-cloudwatch/endpoint_parameters.rb +0 -3
- data/lib/aws-sdk-cloudwatch/endpoint_provider.rb +29 -26
- data/lib/aws-sdk-cloudwatch/metric.rb +123 -53
- data/lib/aws-sdk-cloudwatch/types.rb +159 -56
- 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: f026df9017d75a5c86fa19e049dc5eecb9c0300f082310a5faf7330977e7e3d8
         | 
| 4 | 
            +
              data.tar.gz: a3699d39fadb29a0f26fcba3de7ec039e33f8a2f131e3f58a975e2bbe8229899
         | 
| 5 5 | 
             
            SHA512:
         | 
| 6 | 
            -
              metadata.gz:  | 
| 7 | 
            -
              data.tar.gz:  | 
| 6 | 
            +
              metadata.gz: 2bd09cca9f567a2f4c8d84d0d72b498cc4b692a10effa969b6919ab7fcc2016c180194123491be4990b5317dcd248a41fdc7c2eb4c7f40634e596b8316e285fc
         | 
| 7 | 
            +
              data.tar.gz: c037ee9e83dac40d5f83843ca29323d375393b3036a153c0439ff61dbdc8a163e78bf907db61ff376b6511a9b13e1d94b0a49d403664ace3ffe4a42febfbafa7
         | 
    
        data/CHANGELOG.md
    CHANGED
    
    | @@ -1,6 +1,16 @@ | |
| 1 1 | 
             
            Unreleased Changes
         | 
| 2 2 | 
             
            ------------------
         | 
| 3 3 |  | 
| 4 | 
            +
            1.73.0 (2023-05-04)
         | 
| 5 | 
            +
            ------------------
         | 
| 6 | 
            +
             | 
| 7 | 
            +
            * Feature - Adds support for filtering by metric names in CloudWatch Metric Streams.
         | 
| 8 | 
            +
             | 
| 9 | 
            +
            1.72.0 (2023-03-24)
         | 
| 10 | 
            +
            ------------------
         | 
| 11 | 
            +
             | 
| 12 | 
            +
            * Feature - Doc-only update to correct alarm actions list
         | 
| 13 | 
            +
             | 
| 4 14 | 
             
            1.71.0 (2023-01-18)
         | 
| 5 15 | 
             
            ------------------
         | 
| 6 16 |  | 
    
        data/VERSION
    CHANGED
    
    | @@ -1 +1 @@ | |
| 1 | 
            -
            1. | 
| 1 | 
            +
            1.73.0
         | 
| @@ -374,7 +374,10 @@ module Aws::CloudWatch | |
| 374 374 | 
             
                # composite alarms with one operation, but you can't delete two
         | 
| 375 375 | 
             
                # composite alarms with one operation.
         | 
| 376 376 | 
             
                #
         | 
| 377 | 
            -
                #  | 
| 377 | 
            +
                # If you specify an incorrect alarm name or make any other error in the
         | 
| 378 | 
            +
                # operation, no alarms are deleted. To confirm that alarms were deleted
         | 
| 379 | 
            +
                # successfully, you can use the [DescribeAlarms][1] operation after
         | 
| 380 | 
            +
                # using `DeleteAlarms`.
         | 
| 378 381 | 
             
                #
         | 
| 379 382 | 
             
                # <note markdown="1"> It is possible to create a loop or cycle of composite alarms, where
         | 
| 380 383 | 
             
                # composite alarm A depends on composite alarm B, and composite alarm B
         | 
| @@ -394,8 +397,13 @@ module Aws::CloudWatch | |
| 394 397 | 
             
                #
         | 
| 395 398 | 
             
                #  </note>
         | 
| 396 399 | 
             
                #
         | 
| 400 | 
            +
                #
         | 
| 401 | 
            +
                #
         | 
| 402 | 
            +
                # [1]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_DescribeAlarms.html
         | 
| 403 | 
            +
                #
         | 
| 397 404 | 
             
                # @option params [required, Array<String>] :alarm_names
         | 
| 398 | 
            -
                #   The alarms to be deleted.
         | 
| 405 | 
            +
                #   The alarms to be deleted. Do not enclose the alarm names in quote
         | 
| 406 | 
            +
                #   marks.
         | 
| 399 407 | 
             
                #
         | 
| 400 408 | 
             
                # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
         | 
| 401 409 | 
             
                #
         | 
| @@ -1948,8 +1956,12 @@ module Aws::CloudWatch | |
| 1948 1956 | 
             
                #   resp.name #=> String
         | 
| 1949 1957 | 
             
                #   resp.include_filters #=> Array
         | 
| 1950 1958 | 
             
                #   resp.include_filters[0].namespace #=> String
         | 
| 1959 | 
            +
                #   resp.include_filters[0].metric_names #=> Array
         | 
| 1960 | 
            +
                #   resp.include_filters[0].metric_names[0] #=> String
         | 
| 1951 1961 | 
             
                #   resp.exclude_filters #=> Array
         | 
| 1952 1962 | 
             
                #   resp.exclude_filters[0].namespace #=> String
         | 
| 1963 | 
            +
                #   resp.exclude_filters[0].metric_names #=> Array
         | 
| 1964 | 
            +
                #   resp.exclude_filters[0].metric_names[0] #=> String
         | 
| 1953 1965 | 
             
                #   resp.firehose_arn #=> String
         | 
| 1954 1966 | 
             
                #   resp.role_arn #=> String
         | 
| 1955 1967 | 
             
                #   resp.state #=> String
         | 
| @@ -2614,7 +2626,7 @@ module Aws::CloudWatch | |
| 2614 2626 | 
             
                #   Alarm names specified in `AlarmRule` can be surrounded with
         | 
| 2615 2627 | 
             
                #   double-quotes ("), but do not have to be.
         | 
| 2616 2628 | 
             
                #
         | 
| 2617 | 
            -
                #   The following are some examples of `AlarmRule | 
| 2629 | 
            +
                #   The following are some examples of `AlarmRule`:
         | 
| 2618 2630 | 
             
                #
         | 
| 2619 2631 | 
             
                #   * `ALARM(CPUUtilizationTooHigh) AND ALARM(DiskReadOpsTooHigh)`
         | 
| 2620 2632 | 
             
                #     specifies that the composite alarm goes into ALARM state only if
         | 
| @@ -2923,10 +2935,11 @@ module Aws::CloudWatch | |
| 2923 2935 | 
             
                # If you are an IAM user, you must have Amazon EC2 permissions for some
         | 
| 2924 2936 | 
             
                # alarm operations:
         | 
| 2925 2937 | 
             
                #
         | 
| 2926 | 
            -
                # * The `iam:CreateServiceLinkedRole` for all alarms with EC2 | 
| 2938 | 
            +
                # * The `iam:CreateServiceLinkedRole` permission for all alarms with EC2
         | 
| 2939 | 
            +
                #   actions
         | 
| 2927 2940 | 
             
                #
         | 
| 2928 | 
            -
                # * The `iam:CreateServiceLinkedRole` to create an alarm | 
| 2929 | 
            -
                #   Manager OpsItem actions.
         | 
| 2941 | 
            +
                # * The `iam:CreateServiceLinkedRole` permissions to create an alarm
         | 
| 2942 | 
            +
                #   with Systems Manager OpsItem or response plan actions.
         | 
| 2930 2943 | 
             
                #
         | 
| 2931 2944 | 
             
                # The first time you create an alarm in the Amazon Web Services
         | 
| 2932 2945 | 
             
                # Management Console, the CLI, or by using the PutMetricAlarm API,
         | 
| @@ -2935,6 +2948,9 @@ module Aws::CloudWatch | |
| 2935 2948 | 
             
                # and `AWSServiceRoleForCloudWatchAlarms_ActionSSM`. For more
         | 
| 2936 2949 | 
             
                # information, see [Amazon Web Services service-linked role][2].
         | 
| 2937 2950 | 
             
                #
         | 
| 2951 | 
            +
                # Each `PutMetricAlarm` action has a maximum uncompressed payload of 120
         | 
| 2952 | 
            +
                # KB.
         | 
| 2953 | 
            +
                #
         | 
| 2938 2954 | 
             
                # **Cross-account alarms**
         | 
| 2939 2955 | 
             
                #
         | 
| 2940 2956 | 
             
                # You can set an alarm on metrics in the current account, or in another
         | 
| @@ -2966,6 +2982,9 @@ module Aws::CloudWatch | |
| 2966 2982 | 
             
                # @option params [required, String] :alarm_name
         | 
| 2967 2983 | 
             
                #   The name for the alarm. This name must be unique within the Region.
         | 
| 2968 2984 | 
             
                #
         | 
| 2985 | 
            +
                #   The name must contain only UTF-8 characters, and can't contain ASCII
         | 
| 2986 | 
            +
                #   control characters
         | 
| 2987 | 
            +
                #
         | 
| 2969 2988 | 
             
                # @option params [String] :alarm_description
         | 
| 2970 2989 | 
             
                #   The description for the alarm.
         | 
| 2971 2990 | 
             
                #
         | 
| @@ -2976,67 +2995,134 @@ module Aws::CloudWatch | |
| 2976 2995 | 
             
                # @option params [Array<String>] :ok_actions
         | 
| 2977 2996 | 
             
                #   The actions to execute when this alarm transitions to an `OK` state
         | 
| 2978 2997 | 
             
                #   from any other state. Each action is specified as an Amazon Resource
         | 
| 2979 | 
            -
                #   Name (ARN).
         | 
| 2998 | 
            +
                #   Name (ARN). Valid values:
         | 
| 2999 | 
            +
                #
         | 
| 3000 | 
            +
                #   **EC2 actions:**
         | 
| 3001 | 
            +
                #
         | 
| 3002 | 
            +
                #   * `arn:aws:automate:region:ec2:stop`
         | 
| 3003 | 
            +
                #
         | 
| 3004 | 
            +
                #   * `arn:aws:automate:region:ec2:terminate`
         | 
| 3005 | 
            +
                #
         | 
| 3006 | 
            +
                #   * `arn:aws:automate:region:ec2:reboot`
         | 
| 3007 | 
            +
                #
         | 
| 3008 | 
            +
                #   * `arn:aws:automate:region:ec2:recover`
         | 
| 3009 | 
            +
                #
         | 
| 3010 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0`
         | 
| 3011 | 
            +
                #
         | 
| 3012 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0`
         | 
| 3013 | 
            +
                #
         | 
| 3014 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0`
         | 
| 3015 | 
            +
                #
         | 
| 3016 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0`
         | 
| 2980 3017 | 
             
                #
         | 
| 2981 | 
            -
                #    | 
| 2982 | 
            -
                # | 
| 2983 | 
            -
                #   `arn:aws: | 
| 2984 | 
            -
                # | 
| 2985 | 
            -
                # | 
| 2986 | 
            -
                #    | 
| 2987 | 
            -
                # | 
| 2988 | 
            -
                #
         | 
| 2989 | 
            -
                # | 
| 2990 | 
            -
                #   `arn:aws: | 
| 2991 | 
            -
                # | 
| 2992 | 
            -
                # | 
| 2993 | 
            -
                #    | 
| 2994 | 
            -
                # | 
| 2995 | 
            -
                #    | 
| 2996 | 
            -
                # | 
| 3018 | 
            +
                #   **Autoscaling action:**
         | 
| 3019 | 
            +
                #
         | 
| 3020 | 
            +
                #   * `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 3021 | 
            +
                #     `
         | 
| 3022 | 
            +
                #
         | 
| 3023 | 
            +
                #   ^
         | 
| 3024 | 
            +
                #
         | 
| 3025 | 
            +
                #   **SNS notification action:**
         | 
| 3026 | 
            +
                #
         | 
| 3027 | 
            +
                #   * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 3028 | 
            +
                #     `
         | 
| 3029 | 
            +
                #
         | 
| 3030 | 
            +
                #   ^
         | 
| 3031 | 
            +
                #
         | 
| 3032 | 
            +
                #   **SSM integration actions:**
         | 
| 3033 | 
            +
                #
         | 
| 3034 | 
            +
                #   * `arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name
         | 
| 3035 | 
            +
                #     `
         | 
| 3036 | 
            +
                #
         | 
| 3037 | 
            +
                #   * `arn:aws:ssm-incidents::account-id:responseplan/response-plan-name `
         | 
| 2997 3038 | 
             
                #
         | 
| 2998 3039 | 
             
                # @option params [Array<String>] :alarm_actions
         | 
| 2999 3040 | 
             
                #   The actions to execute when this alarm transitions to the `ALARM`
         | 
| 3000 3041 | 
             
                #   state from any other state. Each action is specified as an Amazon
         | 
| 3001 | 
            -
                #   Resource Name (ARN).
         | 
| 3042 | 
            +
                #   Resource Name (ARN). Valid values:
         | 
| 3043 | 
            +
                #
         | 
| 3044 | 
            +
                #   **EC2 actions:**
         | 
| 3045 | 
            +
                #
         | 
| 3046 | 
            +
                #   * `arn:aws:automate:region:ec2:stop`
         | 
| 3047 | 
            +
                #
         | 
| 3048 | 
            +
                #   * `arn:aws:automate:region:ec2:terminate`
         | 
| 3049 | 
            +
                #
         | 
| 3050 | 
            +
                #   * `arn:aws:automate:region:ec2:reboot`
         | 
| 3051 | 
            +
                #
         | 
| 3052 | 
            +
                #   * `arn:aws:automate:region:ec2:recover`
         | 
| 3053 | 
            +
                #
         | 
| 3054 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0`
         | 
| 3002 3055 | 
             
                #
         | 
| 3003 | 
            -
                #    | 
| 3004 | 
            -
                # | 
| 3005 | 
            -
                #   `arn:aws: | 
| 3006 | 
            -
                # | 
| 3007 | 
            -
                #   `arn:aws: | 
| 3008 | 
            -
                # | 
| 3009 | 
            -
                #    | 
| 3010 | 
            -
                # | 
| 3011 | 
            -
                #
         | 
| 3012 | 
            -
                # | 
| 3013 | 
            -
                # | 
| 3014 | 
            -
                #    | 
| 3015 | 
            -
                # | 
| 3016 | 
            -
                #    | 
| 3017 | 
            -
                # | 
| 3018 | 
            -
                #    | 
| 3019 | 
            -
                # | 
| 3056 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0`
         | 
| 3057 | 
            +
                #
         | 
| 3058 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0`
         | 
| 3059 | 
            +
                #
         | 
| 3060 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0`
         | 
| 3061 | 
            +
                #
         | 
| 3062 | 
            +
                #   **Autoscaling action:**
         | 
| 3063 | 
            +
                #
         | 
| 3064 | 
            +
                #   * `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 3065 | 
            +
                #     `
         | 
| 3066 | 
            +
                #
         | 
| 3067 | 
            +
                #   ^
         | 
| 3068 | 
            +
                #
         | 
| 3069 | 
            +
                #   **SNS notification action:**
         | 
| 3070 | 
            +
                #
         | 
| 3071 | 
            +
                #   * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 3072 | 
            +
                #     `
         | 
| 3073 | 
            +
                #
         | 
| 3074 | 
            +
                #   ^
         | 
| 3075 | 
            +
                #
         | 
| 3076 | 
            +
                #   **SSM integration actions:**
         | 
| 3077 | 
            +
                #
         | 
| 3078 | 
            +
                #   * `arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name
         | 
| 3079 | 
            +
                #     `
         | 
| 3080 | 
            +
                #
         | 
| 3081 | 
            +
                #   * `arn:aws:ssm-incidents::account-id:responseplan/response-plan-name `
         | 
| 3020 3082 | 
             
                #
         | 
| 3021 3083 | 
             
                # @option params [Array<String>] :insufficient_data_actions
         | 
| 3022 3084 | 
             
                #   The actions to execute when this alarm transitions to the
         | 
| 3023 3085 | 
             
                #   `INSUFFICIENT_DATA` state from any other state. Each action is
         | 
| 3024 | 
            -
                #   specified as an Amazon Resource Name (ARN).
         | 
| 3086 | 
            +
                #   specified as an Amazon Resource Name (ARN). Valid values:
         | 
| 3087 | 
            +
                #
         | 
| 3088 | 
            +
                #   **EC2 actions:**
         | 
| 3089 | 
            +
                #
         | 
| 3090 | 
            +
                #   * `arn:aws:automate:region:ec2:stop`
         | 
| 3091 | 
            +
                #
         | 
| 3092 | 
            +
                #   * `arn:aws:automate:region:ec2:terminate`
         | 
| 3093 | 
            +
                #
         | 
| 3094 | 
            +
                #   * `arn:aws:automate:region:ec2:reboot`
         | 
| 3095 | 
            +
                #
         | 
| 3096 | 
            +
                #   * `arn:aws:automate:region:ec2:recover`
         | 
| 3097 | 
            +
                #
         | 
| 3098 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0`
         | 
| 3099 | 
            +
                #
         | 
| 3100 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0`
         | 
| 3101 | 
            +
                #
         | 
| 3102 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0`
         | 
| 3103 | 
            +
                #
         | 
| 3104 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0`
         | 
| 3105 | 
            +
                #
         | 
| 3106 | 
            +
                #   **Autoscaling action:**
         | 
| 3107 | 
            +
                #
         | 
| 3108 | 
            +
                #   * `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 3109 | 
            +
                #     `
         | 
| 3110 | 
            +
                #
         | 
| 3111 | 
            +
                #   ^
         | 
| 3112 | 
            +
                #
         | 
| 3113 | 
            +
                #   **SNS notification action:**
         | 
| 3114 | 
            +
                #
         | 
| 3115 | 
            +
                #   * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 3116 | 
            +
                #     `
         | 
| 3117 | 
            +
                #
         | 
| 3118 | 
            +
                #   ^
         | 
| 3119 | 
            +
                #
         | 
| 3120 | 
            +
                #   **SSM integration actions:**
         | 
| 3121 | 
            +
                #
         | 
| 3122 | 
            +
                #   * `arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name
         | 
| 3123 | 
            +
                #     `
         | 
| 3025 3124 | 
             
                #
         | 
| 3026 | 
            -
                #    | 
| 3027 | 
            -
                #   `arn:aws:automate:region:ec2:terminate` \|
         | 
| 3028 | 
            -
                #   `arn:aws:automate:region:ec2:recover` \|
         | 
| 3029 | 
            -
                #   `arn:aws:automate:region:ec2:reboot` \|
         | 
| 3030 | 
            -
                #   `arn:aws:sns:region:account-id:sns-topic-name ` \|
         | 
| 3031 | 
            -
                #   `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 3032 | 
            -
                #   `
         | 
| 3033 | 
            -
                #
         | 
| 3034 | 
            -
                #   Valid Values (for use with IAM roles):
         | 
| 3035 | 
            -
                #   `>arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0`
         | 
| 3036 | 
            -
                #   \|
         | 
| 3037 | 
            -
                #   `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0`
         | 
| 3038 | 
            -
                #   \|
         | 
| 3039 | 
            -
                #   `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0`
         | 
| 3125 | 
            +
                #   * `arn:aws:ssm-incidents::account-id:responseplan/response-plan-name `
         | 
| 3040 3126 | 
             
                #
         | 
| 3041 3127 | 
             
                # @option params [String] :metric_name
         | 
| 3042 3128 | 
             
                #   The name for the metric associated with the alarm. For each
         | 
| @@ -3366,7 +3452,8 @@ module Aws::CloudWatch | |
| 3366 3452 | 
             
                # [4]: https://docs.aws.amazon.com/AmazonCloudWatch/latest/APIReference/API_GetMetricStatistics.html
         | 
| 3367 3453 | 
             
                #
         | 
| 3368 3454 | 
             
                # @option params [required, String] :namespace
         | 
| 3369 | 
            -
                #   The namespace for the metric data.
         | 
| 3455 | 
            +
                #   The namespace for the metric data. You can use ASCII characters for
         | 
| 3456 | 
            +
                #   the namespace, except for control characters which are not supported.
         | 
| 3370 3457 | 
             
                #
         | 
| 3371 3458 | 
             
                #   To avoid conflicts with Amazon Web Services service namespaces, you
         | 
| 3372 3459 | 
             
                #   should not specify a namespace that begins with `AWS/`
         | 
| @@ -3561,11 +3648,13 @@ module Aws::CloudWatch | |
| 3561 3648 | 
             
                #     include_filters: [
         | 
| 3562 3649 | 
             
                #       {
         | 
| 3563 3650 | 
             
                #         namespace: "Namespace",
         | 
| 3651 | 
            +
                #         metric_names: ["MetricName"],
         | 
| 3564 3652 | 
             
                #       },
         | 
| 3565 3653 | 
             
                #     ],
         | 
| 3566 3654 | 
             
                #     exclude_filters: [
         | 
| 3567 3655 | 
             
                #       {
         | 
| 3568 3656 | 
             
                #         namespace: "Namespace",
         | 
| 3657 | 
            +
                #         metric_names: ["MetricName"],
         | 
| 3569 3658 | 
             
                #       },
         | 
| 3570 3659 | 
             
                #     ],
         | 
| 3571 3660 | 
             
                #     firehose_arn: "AmazonResourceName", # required
         | 
| @@ -3834,7 +3923,7 @@ module Aws::CloudWatch | |
| 3834 3923 | 
             
                    params: params,
         | 
| 3835 3924 | 
             
                    config: config)
         | 
| 3836 3925 | 
             
                  context[:gem_name] = 'aws-sdk-cloudwatch'
         | 
| 3837 | 
            -
                  context[:gem_version] = '1. | 
| 3926 | 
            +
                  context[:gem_version] = '1.73.0'
         | 
| 3838 3927 | 
             
                  Seahorse::Client::Request.new(handlers, context)
         | 
| 3839 3928 | 
             
                end
         | 
| 3840 3929 |  | 
| @@ -201,6 +201,7 @@ module Aws::CloudWatch | |
| 201 201 | 
             
                MetricStreamEntries = Shapes::ListShape.new(name: 'MetricStreamEntries')
         | 
| 202 202 | 
             
                MetricStreamEntry = Shapes::StructureShape.new(name: 'MetricStreamEntry')
         | 
| 203 203 | 
             
                MetricStreamFilter = Shapes::StructureShape.new(name: 'MetricStreamFilter')
         | 
| 204 | 
            +
                MetricStreamFilterMetricNames = Shapes::ListShape.new(name: 'MetricStreamFilterMetricNames')
         | 
| 204 205 | 
             
                MetricStreamFilters = Shapes::ListShape.new(name: 'MetricStreamFilters')
         | 
| 205 206 | 
             
                MetricStreamName = Shapes::StringShape.new(name: 'MetricStreamName')
         | 
| 206 207 | 
             
                MetricStreamNames = Shapes::ListShape.new(name: 'MetricStreamNames')
         | 
| @@ -810,8 +811,11 @@ module Aws::CloudWatch | |
| 810 811 | 
             
                MetricStreamEntry.struct_class = Types::MetricStreamEntry
         | 
| 811 812 |  | 
| 812 813 | 
             
                MetricStreamFilter.add_member(:namespace, Shapes::ShapeRef.new(shape: Namespace, location_name: "Namespace"))
         | 
| 814 | 
            +
                MetricStreamFilter.add_member(:metric_names, Shapes::ShapeRef.new(shape: MetricStreamFilterMetricNames, location_name: "MetricNames"))
         | 
| 813 815 | 
             
                MetricStreamFilter.struct_class = Types::MetricStreamFilter
         | 
| 814 816 |  | 
| 817 | 
            +
                MetricStreamFilterMetricNames.member = Shapes::ShapeRef.new(shape: MetricName)
         | 
| 818 | 
            +
             | 
| 815 819 | 
             
                MetricStreamFilters.member = Shapes::ShapeRef.new(shape: MetricStreamFilter)
         | 
| 816 820 |  | 
| 817 821 | 
             
                MetricStreamNames.member = Shapes::ShapeRef.new(shape: MetricStreamName)
         | 
| @@ -50,9 +50,6 @@ module Aws::CloudWatch | |
| 50 50 |  | 
| 51 51 | 
             
                def initialize(options = {})
         | 
| 52 52 | 
             
                  self[:region] = options[:region]
         | 
| 53 | 
            -
                  if self[:region].nil?
         | 
| 54 | 
            -
                    raise ArgumentError, "Missing required EndpointParameter: :region"
         | 
| 55 | 
            -
                  end
         | 
| 56 53 | 
             
                  self[:use_dual_stack] = options[:use_dual_stack]
         | 
| 57 54 | 
             
                  self[:use_dual_stack] = false if self[:use_dual_stack].nil?
         | 
| 58 55 | 
             
                  if self[:use_dual_stack].nil?
         | 
| @@ -14,39 +14,42 @@ module Aws::CloudWatch | |
| 14 14 | 
             
                  use_dual_stack = parameters.use_dual_stack
         | 
| 15 15 | 
             
                  use_fips = parameters.use_fips
         | 
| 16 16 | 
             
                  endpoint = parameters.endpoint
         | 
| 17 | 
            -
                  if  | 
| 18 | 
            -
                    if Aws::Endpoints::Matchers. | 
| 19 | 
            -
                       | 
| 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: {})
         | 
| 17 | 
            +
                  if Aws::Endpoints::Matchers.set?(endpoint)
         | 
| 18 | 
            +
                    if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
         | 
| 19 | 
            +
                      raise ArgumentError, "Invalid Configuration: FIPS and custom endpoint are not supported"
         | 
| 26 20 | 
             
                    end
         | 
| 27 | 
            -
                    if Aws::Endpoints::Matchers.boolean_equals?( | 
| 28 | 
            -
                       | 
| 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"
         | 
| 21 | 
            +
                    if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         | 
| 22 | 
            +
                      raise ArgumentError, "Invalid Configuration: Dualstack and custom endpoint are not supported"
         | 
| 32 23 | 
             
                    end
         | 
| 33 | 
            -
                     | 
| 34 | 
            -
             | 
| 35 | 
            -
             | 
| 36 | 
            -
             | 
| 24 | 
            +
                    return Aws::Endpoints::Endpoint.new(url: endpoint, headers: {}, properties: {})
         | 
| 25 | 
            +
                  end
         | 
| 26 | 
            +
                  if Aws::Endpoints::Matchers.set?(region)
         | 
| 27 | 
            +
                    if (partition_result = Aws::Endpoints::Matchers.aws_partition(region))
         | 
| 28 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true) && Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         | 
| 29 | 
            +
                        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"))
         | 
| 30 | 
            +
                          return Aws::Endpoints::Endpoint.new(url: "https://monitoring-fips.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
         | 
| 37 31 | 
             
                        end
         | 
| 38 | 
            -
                         | 
| 32 | 
            +
                        raise ArgumentError, "FIPS and DualStack are enabled, but this partition does not support one or both"
         | 
| 39 33 | 
             
                      end
         | 
| 40 | 
            -
                       | 
| 41 | 
            -
             | 
| 42 | 
            -
             | 
| 43 | 
            -
             | 
| 44 | 
            -
             | 
| 34 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(use_fips, true)
         | 
| 35 | 
            +
                        if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsFIPS"))
         | 
| 36 | 
            +
                          if Aws::Endpoints::Matchers.string_equals?("aws-us-gov", Aws::Endpoints::Matchers.attr(partition_result, "name"))
         | 
| 37 | 
            +
                            return Aws::Endpoints::Endpoint.new(url: "https://monitoring.#{region}.amazonaws.com", headers: {}, properties: {})
         | 
| 38 | 
            +
                          end
         | 
| 39 | 
            +
                          return Aws::Endpoints::Endpoint.new(url: "https://monitoring-fips.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
         | 
| 40 | 
            +
                        end
         | 
| 41 | 
            +
                        raise ArgumentError, "FIPS is enabled but this partition does not support FIPS"
         | 
| 42 | 
            +
                      end
         | 
| 43 | 
            +
                      if Aws::Endpoints::Matchers.boolean_equals?(use_dual_stack, true)
         | 
| 44 | 
            +
                        if Aws::Endpoints::Matchers.boolean_equals?(true, Aws::Endpoints::Matchers.attr(partition_result, "supportsDualStack"))
         | 
| 45 | 
            +
                          return Aws::Endpoints::Endpoint.new(url: "https://monitoring.#{region}.#{partition_result['dualStackDnsSuffix']}", headers: {}, properties: {})
         | 
| 46 | 
            +
                        end
         | 
| 47 | 
            +
                        raise ArgumentError, "DualStack is enabled but this partition does not support DualStack"
         | 
| 45 48 | 
             
                      end
         | 
| 46 | 
            -
                       | 
| 49 | 
            +
                      return Aws::Endpoints::Endpoint.new(url: "https://monitoring.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
         | 
| 47 50 | 
             
                    end
         | 
| 48 | 
            -
                    return Aws::Endpoints::Endpoint.new(url: "https://monitoring.#{region}.#{partition_result['dnsSuffix']}", headers: {}, properties: {})
         | 
| 49 51 | 
             
                  end
         | 
| 52 | 
            +
                  raise ArgumentError, "Invalid Configuration: Missing Region"
         | 
| 50 53 | 
             
                  raise ArgumentError, 'No endpoint could be resolved'
         | 
| 51 54 |  | 
| 52 55 | 
             
                end
         | 
| @@ -365,6 +365,9 @@ module Aws::CloudWatch | |
| 365 365 | 
             
                # @param [Hash] options ({})
         | 
| 366 366 | 
             
                # @option options [required, String] :alarm_name
         | 
| 367 367 | 
             
                #   The name for the alarm. This name must be unique within the Region.
         | 
| 368 | 
            +
                #
         | 
| 369 | 
            +
                #   The name must contain only UTF-8 characters, and can't contain ASCII
         | 
| 370 | 
            +
                #   control characters
         | 
| 368 371 | 
             
                # @option options [String] :alarm_description
         | 
| 369 372 | 
             
                #   The description for the alarm.
         | 
| 370 373 | 
             
                # @option options [Boolean] :actions_enabled
         | 
| @@ -373,65 +376,132 @@ module Aws::CloudWatch | |
| 373 376 | 
             
                # @option options [Array<String>] :ok_actions
         | 
| 374 377 | 
             
                #   The actions to execute when this alarm transitions to an `OK` state
         | 
| 375 378 | 
             
                #   from any other state. Each action is specified as an Amazon Resource
         | 
| 376 | 
            -
                #   Name (ARN).
         | 
| 377 | 
            -
                #
         | 
| 378 | 
            -
                #    | 
| 379 | 
            -
                # | 
| 380 | 
            -
                #   `arn:aws:automate:region:ec2: | 
| 381 | 
            -
                # | 
| 382 | 
            -
                #   `arn:aws: | 
| 383 | 
            -
                # | 
| 384 | 
            -
                #   `
         | 
| 385 | 
            -
                #
         | 
| 386 | 
            -
                #    | 
| 387 | 
            -
                # | 
| 388 | 
            -
                #    | 
| 389 | 
            -
                # | 
| 390 | 
            -
                #    | 
| 391 | 
            -
                # | 
| 392 | 
            -
                #    | 
| 393 | 
            -
                # | 
| 379 | 
            +
                #   Name (ARN). Valid values:
         | 
| 380 | 
            +
                #
         | 
| 381 | 
            +
                #   **EC2 actions:**
         | 
| 382 | 
            +
                #
         | 
| 383 | 
            +
                #   * `arn:aws:automate:region:ec2:stop`
         | 
| 384 | 
            +
                #
         | 
| 385 | 
            +
                #   * `arn:aws:automate:region:ec2:terminate`
         | 
| 386 | 
            +
                #
         | 
| 387 | 
            +
                #   * `arn:aws:automate:region:ec2:reboot`
         | 
| 388 | 
            +
                #
         | 
| 389 | 
            +
                #   * `arn:aws:automate:region:ec2:recover`
         | 
| 390 | 
            +
                #
         | 
| 391 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0`
         | 
| 392 | 
            +
                #
         | 
| 393 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0`
         | 
| 394 | 
            +
                #
         | 
| 395 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0`
         | 
| 396 | 
            +
                #
         | 
| 397 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0`
         | 
| 398 | 
            +
                #
         | 
| 399 | 
            +
                #   **Autoscaling action:**
         | 
| 400 | 
            +
                #
         | 
| 401 | 
            +
                #   * `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 402 | 
            +
                #     `
         | 
| 403 | 
            +
                #
         | 
| 404 | 
            +
                #   ^
         | 
| 405 | 
            +
                #
         | 
| 406 | 
            +
                #   **SNS notification action:**
         | 
| 407 | 
            +
                #
         | 
| 408 | 
            +
                #   * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 409 | 
            +
                #     `
         | 
| 410 | 
            +
                #
         | 
| 411 | 
            +
                #   ^
         | 
| 412 | 
            +
                #
         | 
| 413 | 
            +
                #   **SSM integration actions:**
         | 
| 414 | 
            +
                #
         | 
| 415 | 
            +
                #   * `arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name
         | 
| 416 | 
            +
                #     `
         | 
| 417 | 
            +
                #
         | 
| 418 | 
            +
                #   * `arn:aws:ssm-incidents::account-id:responseplan/response-plan-name `
         | 
| 394 419 | 
             
                # @option options [Array<String>] :alarm_actions
         | 
| 395 420 | 
             
                #   The actions to execute when this alarm transitions to the `ALARM`
         | 
| 396 421 | 
             
                #   state from any other state. Each action is specified as an Amazon
         | 
| 397 | 
            -
                #   Resource Name (ARN).
         | 
| 398 | 
            -
                #
         | 
| 399 | 
            -
                #    | 
| 400 | 
            -
                # | 
| 401 | 
            -
                #   `arn:aws:automate:region:ec2: | 
| 402 | 
            -
                # | 
| 403 | 
            -
                #   `arn:aws: | 
| 404 | 
            -
                # | 
| 405 | 
            -
                #    | 
| 406 | 
            -
                # | 
| 407 | 
            -
                #
         | 
| 408 | 
            -
                # | 
| 409 | 
            -
                #   `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0`
         | 
| 410 | 
            -
                # | 
| 411 | 
            -
                #   `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0`
         | 
| 412 | 
            -
                # | 
| 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`
         | 
| 422 | 
            +
                #   Resource Name (ARN). Valid values:
         | 
| 423 | 
            +
                #
         | 
| 424 | 
            +
                #   **EC2 actions:**
         | 
| 425 | 
            +
                #
         | 
| 426 | 
            +
                #   * `arn:aws:automate:region:ec2:stop`
         | 
| 427 | 
            +
                #
         | 
| 428 | 
            +
                #   * `arn:aws:automate:region:ec2:terminate`
         | 
| 429 | 
            +
                #
         | 
| 430 | 
            +
                #   * `arn:aws:automate:region:ec2:reboot`
         | 
| 431 | 
            +
                #
         | 
| 432 | 
            +
                #   * `arn:aws:automate:region:ec2:recover`
         | 
| 433 | 
            +
                #
         | 
| 434 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0`
         | 
| 435 | 
            +
                #
         | 
| 436 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0`
         | 
| 437 | 
            +
                #
         | 
| 438 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0`
         | 
| 439 | 
            +
                #
         | 
| 440 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0`
         | 
| 441 | 
            +
                #
         | 
| 442 | 
            +
                #   **Autoscaling action:**
         | 
| 443 | 
            +
                #
         | 
| 444 | 
            +
                #   * `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 445 | 
            +
                #     `
         | 
| 446 | 
            +
                #
         | 
| 447 | 
            +
                #   ^
         | 
| 448 | 
            +
                #
         | 
| 449 | 
            +
                #   **SNS notification action:**
         | 
| 450 | 
            +
                #
         | 
| 451 | 
            +
                #   * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 452 | 
            +
                #     `
         | 
| 453 | 
            +
                #
         | 
| 454 | 
            +
                #   ^
         | 
| 455 | 
            +
                #
         | 
| 456 | 
            +
                #   **SSM integration actions:**
         | 
| 457 | 
            +
                #
         | 
| 458 | 
            +
                #   * `arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name
         | 
| 459 | 
            +
                #     `
         | 
| 460 | 
            +
                #
         | 
| 461 | 
            +
                #   * `arn:aws:ssm-incidents::account-id:responseplan/response-plan-name `
         | 
| 416 462 | 
             
                # @option options [Array<String>] :insufficient_data_actions
         | 
| 417 463 | 
             
                #   The actions to execute when this alarm transitions to the
         | 
| 418 464 | 
             
                #   `INSUFFICIENT_DATA` state from any other state. Each action is
         | 
| 419 | 
            -
                #   specified as an Amazon Resource Name (ARN).
         | 
| 420 | 
            -
                #
         | 
| 421 | 
            -
                #    | 
| 422 | 
            -
                # | 
| 423 | 
            -
                #   `arn:aws:automate:region:ec2: | 
| 424 | 
            -
                # | 
| 425 | 
            -
                #   `arn:aws: | 
| 426 | 
            -
                # | 
| 427 | 
            -
                #   `
         | 
| 428 | 
            -
                #
         | 
| 429 | 
            -
                #    | 
| 430 | 
            -
                # | 
| 431 | 
            -
                #    | 
| 432 | 
            -
                # | 
| 433 | 
            -
                #    | 
| 434 | 
            -
                # | 
| 465 | 
            +
                #   specified as an Amazon Resource Name (ARN). Valid values:
         | 
| 466 | 
            +
                #
         | 
| 467 | 
            +
                #   **EC2 actions:**
         | 
| 468 | 
            +
                #
         | 
| 469 | 
            +
                #   * `arn:aws:automate:region:ec2:stop`
         | 
| 470 | 
            +
                #
         | 
| 471 | 
            +
                #   * `arn:aws:automate:region:ec2:terminate`
         | 
| 472 | 
            +
                #
         | 
| 473 | 
            +
                #   * `arn:aws:automate:region:ec2:reboot`
         | 
| 474 | 
            +
                #
         | 
| 475 | 
            +
                #   * `arn:aws:automate:region:ec2:recover`
         | 
| 476 | 
            +
                #
         | 
| 477 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0`
         | 
| 478 | 
            +
                #
         | 
| 479 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0`
         | 
| 480 | 
            +
                #
         | 
| 481 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0`
         | 
| 482 | 
            +
                #
         | 
| 483 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0`
         | 
| 484 | 
            +
                #
         | 
| 485 | 
            +
                #   **Autoscaling action:**
         | 
| 486 | 
            +
                #
         | 
| 487 | 
            +
                #   * `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 488 | 
            +
                #     `
         | 
| 489 | 
            +
                #
         | 
| 490 | 
            +
                #   ^
         | 
| 491 | 
            +
                #
         | 
| 492 | 
            +
                #   **SNS notification action:**
         | 
| 493 | 
            +
                #
         | 
| 494 | 
            +
                #   * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 495 | 
            +
                #     `
         | 
| 496 | 
            +
                #
         | 
| 497 | 
            +
                #   ^
         | 
| 498 | 
            +
                #
         | 
| 499 | 
            +
                #   **SSM integration actions:**
         | 
| 500 | 
            +
                #
         | 
| 501 | 
            +
                #   * `arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name
         | 
| 502 | 
            +
                #     `
         | 
| 503 | 
            +
                #
         | 
| 504 | 
            +
                #   * `arn:aws:ssm-incidents::account-id:responseplan/response-plan-name `
         | 
| 435 505 | 
             
                # @option options [String] :statistic
         | 
| 436 506 | 
             
                #   The statistic for the metric specified in `MetricName`, other than
         | 
| 437 507 | 
             
                #   percentile. For percentile statistics, use `ExtendedStatistic`. When
         | 
| @@ -410,7 +410,8 @@ module Aws::CloudWatch | |
| 410 410 | 
             
                end
         | 
| 411 411 |  | 
| 412 412 | 
             
                # @!attribute [rw] alarm_names
         | 
| 413 | 
            -
                #   The alarms to be deleted.
         | 
| 413 | 
            +
                #   The alarms to be deleted. Do not enclose the alarm names in quote
         | 
| 414 | 
            +
                #   marks.
         | 
| 414 415 | 
             
                #   @return [Array<String>]
         | 
| 415 416 | 
             
                #
         | 
| 416 417 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/DeleteAlarmsInput AWS API Documentation
         | 
| @@ -929,12 +930,15 @@ module Aws::CloudWatch | |
| 929 930 | 
             
                # @!attribute [rw] name
         | 
| 930 931 | 
             
                #   The name of the dimension. Dimension names must contain only ASCII
         | 
| 931 932 | 
             
                #   characters, must include at least one non-whitespace character, and
         | 
| 932 | 
            -
                #   cannot start with a colon (`:`).
         | 
| 933 | 
            +
                #   cannot start with a colon (`:`). ASCII control characters are not
         | 
| 934 | 
            +
                #   supported as part of dimension names.
         | 
| 933 935 | 
             
                #   @return [String]
         | 
| 934 936 | 
             
                #
         | 
| 935 937 | 
             
                # @!attribute [rw] value
         | 
| 936 938 | 
             
                #   The value of the dimension. Dimension values must contain only ASCII
         | 
| 937 939 | 
             
                #   characters and must include at least one non-whitespace character.
         | 
| 940 | 
            +
                #   ASCII control characters are not supported as part of dimension
         | 
| 941 | 
            +
                #   values.
         | 
| 938 942 | 
             
                #   @return [String]
         | 
| 939 943 | 
             
                #
         | 
| 940 944 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/Dimension AWS API Documentation
         | 
| @@ -2982,17 +2986,42 @@ module Aws::CloudWatch | |
| 2982 2986 | 
             
                  include Aws::Structure
         | 
| 2983 2987 | 
             
                end
         | 
| 2984 2988 |  | 
| 2985 | 
            -
                # This structure contains  | 
| 2986 | 
            -
                #  | 
| 2989 | 
            +
                # This structure contains a metric namespace and optionally, a list of
         | 
| 2990 | 
            +
                # metric names, to either include in a metric stream or exclude from a
         | 
| 2991 | 
            +
                # metric stream.
         | 
| 2992 | 
            +
                #
         | 
| 2993 | 
            +
                # A metric stream's filters can include up to 1000 total names. This
         | 
| 2994 | 
            +
                # limit applies to the sum of namespace names and metric names in the
         | 
| 2995 | 
            +
                # filters. For example, this could include 10 metric namespace filters
         | 
| 2996 | 
            +
                # with 99 metrics each, or 20 namespace filters with 49 metrics
         | 
| 2997 | 
            +
                # specified in each filter.
         | 
| 2987 2998 | 
             
                #
         | 
| 2988 2999 | 
             
                # @!attribute [rw] namespace
         | 
| 2989 | 
            -
                #   The name of the metric namespace  | 
| 3000 | 
            +
                #   The name of the metric namespace for this filter.
         | 
| 3001 | 
            +
                #
         | 
| 3002 | 
            +
                #   The namespace can contain only ASCII printable characters (ASCII
         | 
| 3003 | 
            +
                #   range 32 through 126). It must contain at least one non-whitespace
         | 
| 3004 | 
            +
                #   character.
         | 
| 2990 3005 | 
             
                #   @return [String]
         | 
| 2991 3006 | 
             
                #
         | 
| 3007 | 
            +
                # @!attribute [rw] metric_names
         | 
| 3008 | 
            +
                #   The names of the metrics to either include or exclude from the
         | 
| 3009 | 
            +
                #   metric stream.
         | 
| 3010 | 
            +
                #
         | 
| 3011 | 
            +
                #   If you omit this parameter, all metrics in the namespace are
         | 
| 3012 | 
            +
                #   included or excluded, depending on whether this filter is specified
         | 
| 3013 | 
            +
                #   as an exclude filter or an include filter.
         | 
| 3014 | 
            +
                #
         | 
| 3015 | 
            +
                #   Each metric name can contain only ASCII printable characters (ASCII
         | 
| 3016 | 
            +
                #   range 32 through 126). Each metric name must contain at least one
         | 
| 3017 | 
            +
                #   non-whitespace character.
         | 
| 3018 | 
            +
                #   @return [Array<String>]
         | 
| 3019 | 
            +
                #
         | 
| 2992 3020 | 
             
                # @see http://docs.aws.amazon.com/goto/WebAPI/monitoring-2010-08-01/MetricStreamFilter AWS API Documentation
         | 
| 2993 3021 | 
             
                #
         | 
| 2994 3022 | 
             
                class MetricStreamFilter < Struct.new(
         | 
| 2995 | 
            -
                  :namespace | 
| 3023 | 
            +
                  :namespace,
         | 
| 3024 | 
            +
                  :metric_names)
         | 
| 2996 3025 | 
             
                  SENSITIVE = []
         | 
| 2997 3026 | 
             
                  include Aws::Structure
         | 
| 2998 3027 | 
             
                end
         | 
| @@ -3253,7 +3282,7 @@ module Aws::CloudWatch | |
| 3253 3282 | 
             
                #   Alarm names specified in `AlarmRule` can be surrounded with
         | 
| 3254 3283 | 
             
                #   double-quotes ("), but do not have to be.
         | 
| 3255 3284 | 
             
                #
         | 
| 3256 | 
            -
                #   The following are some examples of `AlarmRule | 
| 3285 | 
            +
                #   The following are some examples of `AlarmRule`:
         | 
| 3257 3286 | 
             
                #
         | 
| 3258 3287 | 
             
                #   * `ALARM(CPUUtilizationTooHigh) AND ALARM(DiskReadOpsTooHigh)`
         | 
| 3259 3288 | 
             
                #     specifies that the composite alarm goes into ALARM state only if
         | 
| @@ -3476,6 +3505,9 @@ module Aws::CloudWatch | |
| 3476 3505 |  | 
| 3477 3506 | 
             
                # @!attribute [rw] alarm_name
         | 
| 3478 3507 | 
             
                #   The name for the alarm. This name must be unique within the Region.
         | 
| 3508 | 
            +
                #
         | 
| 3509 | 
            +
                #   The name must contain only UTF-8 characters, and can't contain
         | 
| 3510 | 
            +
                #   ASCII control characters
         | 
| 3479 3511 | 
             
                #   @return [String]
         | 
| 3480 3512 | 
             
                #
         | 
| 3481 3513 | 
             
                # @!attribute [rw] alarm_description
         | 
| @@ -3490,70 +3522,139 @@ module Aws::CloudWatch | |
| 3490 3522 | 
             
                # @!attribute [rw] ok_actions
         | 
| 3491 3523 | 
             
                #   The actions to execute when this alarm transitions to an `OK` state
         | 
| 3492 3524 | 
             
                #   from any other state. Each action is specified as an Amazon Resource
         | 
| 3493 | 
            -
                #   Name (ARN).
         | 
| 3525 | 
            +
                #   Name (ARN). Valid values:
         | 
| 3494 3526 | 
             
                #
         | 
| 3495 | 
            -
                #    | 
| 3496 | 
            -
                # | 
| 3497 | 
            -
                #   `arn:aws:automate:region:ec2: | 
| 3498 | 
            -
                # | 
| 3499 | 
            -
                #   `arn:aws: | 
| 3500 | 
            -
                # | 
| 3501 | 
            -
                #   `
         | 
| 3527 | 
            +
                #   **EC2 actions:**
         | 
| 3528 | 
            +
                #
         | 
| 3529 | 
            +
                #   * `arn:aws:automate:region:ec2:stop`
         | 
| 3530 | 
            +
                #
         | 
| 3531 | 
            +
                #   * `arn:aws:automate:region:ec2:terminate`
         | 
| 3532 | 
            +
                #
         | 
| 3533 | 
            +
                #   * `arn:aws:automate:region:ec2:reboot`
         | 
| 3534 | 
            +
                #
         | 
| 3535 | 
            +
                #   * `arn:aws:automate:region:ec2:recover`
         | 
| 3502 3536 | 
             
                #
         | 
| 3503 | 
            -
                #    | 
| 3504 | 
            -
                # | 
| 3505 | 
            -
                #    | 
| 3506 | 
            -
                # | 
| 3507 | 
            -
                #    | 
| 3508 | 
            -
                # | 
| 3509 | 
            -
                #    | 
| 3510 | 
            -
                # | 
| 3537 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0`
         | 
| 3538 | 
            +
                #
         | 
| 3539 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0`
         | 
| 3540 | 
            +
                #
         | 
| 3541 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0`
         | 
| 3542 | 
            +
                #
         | 
| 3543 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0`
         | 
| 3544 | 
            +
                #
         | 
| 3545 | 
            +
                #   **Autoscaling action:**
         | 
| 3546 | 
            +
                #
         | 
| 3547 | 
            +
                #   * `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 3548 | 
            +
                #     `
         | 
| 3549 | 
            +
                #
         | 
| 3550 | 
            +
                #   ^
         | 
| 3551 | 
            +
                #
         | 
| 3552 | 
            +
                #   **SNS notification action:**
         | 
| 3553 | 
            +
                #
         | 
| 3554 | 
            +
                #   * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 3555 | 
            +
                #     `
         | 
| 3556 | 
            +
                #
         | 
| 3557 | 
            +
                #   ^
         | 
| 3558 | 
            +
                #
         | 
| 3559 | 
            +
                #   **SSM integration actions:**
         | 
| 3560 | 
            +
                #
         | 
| 3561 | 
            +
                #   * `arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name
         | 
| 3562 | 
            +
                #     `
         | 
| 3563 | 
            +
                #
         | 
| 3564 | 
            +
                #   * `arn:aws:ssm-incidents::account-id:responseplan/response-plan-name
         | 
| 3565 | 
            +
                #     `
         | 
| 3511 3566 | 
             
                #   @return [Array<String>]
         | 
| 3512 3567 | 
             
                #
         | 
| 3513 3568 | 
             
                # @!attribute [rw] alarm_actions
         | 
| 3514 3569 | 
             
                #   The actions to execute when this alarm transitions to the `ALARM`
         | 
| 3515 3570 | 
             
                #   state from any other state. Each action is specified as an Amazon
         | 
| 3516 | 
            -
                #   Resource Name (ARN).
         | 
| 3571 | 
            +
                #   Resource Name (ARN). Valid values:
         | 
| 3517 3572 | 
             
                #
         | 
| 3518 | 
            -
                #    | 
| 3519 | 
            -
                # | 
| 3520 | 
            -
                #   `arn:aws:automate:region:ec2: | 
| 3521 | 
            -
                # | 
| 3522 | 
            -
                #   `arn:aws: | 
| 3523 | 
            -
                #   `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 3524 | 
            -
                #   ` \| `arn:aws:ssm:region:account-id:opsitem:severity ` \|
         | 
| 3525 | 
            -
                #   `arn:aws:ssm-incidents::account-id:response-plan:response-plan-name
         | 
| 3526 | 
            -
                #   `
         | 
| 3573 | 
            +
                #   **EC2 actions:**
         | 
| 3574 | 
            +
                #
         | 
| 3575 | 
            +
                #   * `arn:aws:automate:region:ec2:stop`
         | 
| 3576 | 
            +
                #
         | 
| 3577 | 
            +
                #   * `arn:aws:automate:region:ec2:terminate`
         | 
| 3527 3578 | 
             
                #
         | 
| 3528 | 
            -
                #    | 
| 3529 | 
            -
                # | 
| 3530 | 
            -
                #    | 
| 3531 | 
            -
                # | 
| 3532 | 
            -
                #    | 
| 3533 | 
            -
                # | 
| 3534 | 
            -
                #    | 
| 3535 | 
            -
                # | 
| 3579 | 
            +
                #   * `arn:aws:automate:region:ec2:reboot`
         | 
| 3580 | 
            +
                #
         | 
| 3581 | 
            +
                #   * `arn:aws:automate:region:ec2:recover`
         | 
| 3582 | 
            +
                #
         | 
| 3583 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0`
         | 
| 3584 | 
            +
                #
         | 
| 3585 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0`
         | 
| 3586 | 
            +
                #
         | 
| 3587 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0`
         | 
| 3588 | 
            +
                #
         | 
| 3589 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0`
         | 
| 3590 | 
            +
                #
         | 
| 3591 | 
            +
                #   **Autoscaling action:**
         | 
| 3592 | 
            +
                #
         | 
| 3593 | 
            +
                #   * `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 3594 | 
            +
                #     `
         | 
| 3595 | 
            +
                #
         | 
| 3596 | 
            +
                #   ^
         | 
| 3597 | 
            +
                #
         | 
| 3598 | 
            +
                #   **SNS notification action:**
         | 
| 3599 | 
            +
                #
         | 
| 3600 | 
            +
                #   * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 3601 | 
            +
                #     `
         | 
| 3602 | 
            +
                #
         | 
| 3603 | 
            +
                #   ^
         | 
| 3604 | 
            +
                #
         | 
| 3605 | 
            +
                #   **SSM integration actions:**
         | 
| 3606 | 
            +
                #
         | 
| 3607 | 
            +
                #   * `arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name
         | 
| 3608 | 
            +
                #     `
         | 
| 3609 | 
            +
                #
         | 
| 3610 | 
            +
                #   * `arn:aws:ssm-incidents::account-id:responseplan/response-plan-name
         | 
| 3611 | 
            +
                #     `
         | 
| 3536 3612 | 
             
                #   @return [Array<String>]
         | 
| 3537 3613 | 
             
                #
         | 
| 3538 3614 | 
             
                # @!attribute [rw] insufficient_data_actions
         | 
| 3539 3615 | 
             
                #   The actions to execute when this alarm transitions to the
         | 
| 3540 3616 | 
             
                #   `INSUFFICIENT_DATA` state from any other state. Each action is
         | 
| 3541 | 
            -
                #   specified as an Amazon Resource Name (ARN).
         | 
| 3617 | 
            +
                #   specified as an Amazon Resource Name (ARN). Valid values:
         | 
| 3542 3618 | 
             
                #
         | 
| 3543 | 
            -
                #    | 
| 3544 | 
            -
                # | 
| 3545 | 
            -
                #   `arn:aws:automate:region:ec2: | 
| 3546 | 
            -
                # | 
| 3547 | 
            -
                #   `arn:aws: | 
| 3548 | 
            -
                # | 
| 3549 | 
            -
                #   `
         | 
| 3619 | 
            +
                #   **EC2 actions:**
         | 
| 3620 | 
            +
                #
         | 
| 3621 | 
            +
                #   * `arn:aws:automate:region:ec2:stop`
         | 
| 3622 | 
            +
                #
         | 
| 3623 | 
            +
                #   * `arn:aws:automate:region:ec2:terminate`
         | 
| 3624 | 
            +
                #
         | 
| 3625 | 
            +
                #   * `arn:aws:automate:region:ec2:reboot`
         | 
| 3626 | 
            +
                #
         | 
| 3627 | 
            +
                #   * `arn:aws:automate:region:ec2:recover`
         | 
| 3628 | 
            +
                #
         | 
| 3629 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Stop/1.0`
         | 
| 3630 | 
            +
                #
         | 
| 3631 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0`
         | 
| 3632 | 
            +
                #
         | 
| 3633 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0`
         | 
| 3634 | 
            +
                #
         | 
| 3635 | 
            +
                #   * `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Recover/1.0`
         | 
| 3636 | 
            +
                #
         | 
| 3637 | 
            +
                #   **Autoscaling action:**
         | 
| 3638 | 
            +
                #
         | 
| 3639 | 
            +
                #   * `arn:aws:autoscaling:region:account-id:scalingPolicy:policy-id:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 3640 | 
            +
                #     `
         | 
| 3641 | 
            +
                #
         | 
| 3642 | 
            +
                #   ^
         | 
| 3643 | 
            +
                #
         | 
| 3644 | 
            +
                #   **SNS notification action:**
         | 
| 3645 | 
            +
                #
         | 
| 3646 | 
            +
                #   * `arn:aws:sns:region:account-id:sns-topic-name:autoScalingGroupName/group-friendly-name:policyName/policy-friendly-name
         | 
| 3647 | 
            +
                #     `
         | 
| 3648 | 
            +
                #
         | 
| 3649 | 
            +
                #   ^
         | 
| 3650 | 
            +
                #
         | 
| 3651 | 
            +
                #   **SSM integration actions:**
         | 
| 3652 | 
            +
                #
         | 
| 3653 | 
            +
                #   * `arn:aws:ssm:region:account-id:opsitem:severity#CATEGORY=category-name
         | 
| 3654 | 
            +
                #     `
         | 
| 3550 3655 | 
             
                #
         | 
| 3551 | 
            -
                #    | 
| 3552 | 
            -
                # | 
| 3553 | 
            -
                #   \|
         | 
| 3554 | 
            -
                #   `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Terminate/1.0`
         | 
| 3555 | 
            -
                #   \|
         | 
| 3556 | 
            -
                #   `arn:aws:swf:region:account-id:action/actions/AWS_EC2.InstanceId.Reboot/1.0`
         | 
| 3656 | 
            +
                #   * `arn:aws:ssm-incidents::account-id:responseplan/response-plan-name
         | 
| 3657 | 
            +
                #     `
         | 
| 3557 3658 | 
             
                #   @return [Array<String>]
         | 
| 3558 3659 | 
             
                #
         | 
| 3559 3660 | 
             
                # @!attribute [rw] metric_name
         | 
| @@ -3804,7 +3905,9 @@ module Aws::CloudWatch | |
| 3804 3905 | 
             
                end
         | 
| 3805 3906 |  | 
| 3806 3907 | 
             
                # @!attribute [rw] namespace
         | 
| 3807 | 
            -
                #   The namespace for the metric data.
         | 
| 3908 | 
            +
                #   The namespace for the metric data. You can use ASCII characters for
         | 
| 3909 | 
            +
                #   the namespace, except for control characters which are not
         | 
| 3910 | 
            +
                #   supported.
         | 
| 3808 3911 | 
             
                #
         | 
| 3809 3912 | 
             
                #   To avoid conflicts with Amazon Web Services service namespaces, you
         | 
| 3810 3913 | 
             
                #   should not specify a namespace that begins with `AWS/`
         | 
    
        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.73.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: 2023- | 
| 11 | 
            +
            date: 2023-05-04 00:00:00.000000000 Z
         | 
| 12 12 | 
             
            dependencies:
         | 
| 13 13 | 
             
            - !ruby/object:Gem::Dependency
         | 
| 14 14 | 
             
              name: aws-sdk-core
         |