Sha256: a9df8e1351bf72bf6f31d3597edee848374eddc56665d8b8c34cec18a154b895

Contents?: true

Size: 893 Bytes

Versions: 97

Compression:

Stored size: 893 Bytes

Contents

module Fog
  module AWS
    class CloudWatch
      class Real
        require 'fog/aws/parsers/cloud_watch/disable_alarm_actions'

        # Disables actions for the specified alarms
        # ==== Options
        # * AlarmNames<~Array>: The names of the alarms to disable actions for
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/AmazonCloudWatch/latest/APIReference/API_DisableAlarmActions.html
        #

        def disable_alarm_actions(alarm_names)
          options = {}
          options.merge!(AWS.indexed_param('AlarmNames.member.%d', [*alarm_names]))
          request({
              'Action'    => 'DisableAlarmActions',
              :parser     => Fog::Parsers::AWS::CloudWatch::DisableAlarmActions.new
            }.merge(options))
        end
      end
    end
  end
end

Version data entries

97 entries across 95 versions & 6 rubygems

Version Path
fog-aws-3.29.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.28.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.27.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.26.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.25.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.24.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.23.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.22.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.21.1 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.21.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.20.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.19.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.18.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.17.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.16.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.15.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.14.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.13.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.12.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.11.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb