lib/aws-sdk-cloudwatch/resource.rb in aws-sdk-cloudwatch-1.78.0 vs lib/aws-sdk-cloudwatch/resource.rb in aws-sdk-cloudwatch-1.79.0

- old
+ new

@@ -65,11 +65,19 @@ # # If this parameter is specified, you cannot specify `AlarmNames`. # @option options [Array<String>] :alarm_types # Use this parameter to specify whether you want the operation to return # metric alarms or composite alarms. If you omit this parameter, only - # metric alarms are returned. + # metric alarms are returned, even if composite alarms exist in the + # account. + # + # For example, if you omit this parameter or specify `MetricAlarms`, the + # operation returns only a list of metric alarms. It does not return any + # composite alarms, even if composite alarms exist in the account. + # + # If you specify `CompositeAlarms`, the operation returns only a list of + # composite alarms, and does not return any metric alarms. # @option options [String] :children_of_alarm_name # If you use this parameter and specify the name of a composite alarm, # the operation returns information about the "children" alarms of the # alarm you specify. These are the metric alarms and composite alarms # referenced in the `AlarmRule` field of the composite alarm that you @@ -165,10 +173,18 @@ # # If this parameter is specified, you cannot specify `AlarmNames`. # @option options [Array<String>] :alarm_types # Use this parameter to specify whether you want the operation to return # metric alarms or composite alarms. If you omit this parameter, only - # metric alarms are returned. + # metric alarms are returned, even if composite alarms exist in the + # account. + # + # For example, if you omit this parameter or specify `MetricAlarms`, the + # operation returns only a list of metric alarms. It does not return any + # composite alarms, even if composite alarms exist in the account. + # + # If you specify `CompositeAlarms`, the operation returns only a list of + # composite alarms, and does not return any metric alarms. # @option options [String] :children_of_alarm_name # If you use this parameter and specify the name of a composite alarm, # the operation returns information about the "children" alarms of the # alarm you specify. These are the metric alarms and composite alarms # referenced in the `AlarmRule` field of the composite alarm that you