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.10.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.9.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.8.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.7.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.6.7 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.6.6 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.6.5 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.6.4 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.6.3 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.6.2 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.5.2 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.5.1 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.5.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.4.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.3.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.2.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
fog-aws-3.1.0 lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.5.0/gems/fog-aws-2.0.1/lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.3.0/gems/fog-aws-2.0.1/lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb
vagrant-packet-0.1.1 vendor/bundle/ruby/2.4.0/gems/fog-aws-2.0.1/lib/fog/aws/requests/cloud_watch/disable_alarm_actions.rb