Sha256: e17fd4c215f5baf73818f88b94e36cac7b524b190d0d8c2bfc35838b6fdd0e13

Contents?: true

Size: 1.37 KB

Versions: 107

Compression:

Stored size: 1.37 KB

Contents

module Fog
  module AWS
    class AutoScaling

      class Real

        require 'fog/aws/parsers/auto_scaling/basic'

        # Deletes a scheduled action previously created using the
        # put_scheduled_update_group_action.
        #
        # ==== Parameters
        # * auto_scaling_group_name<~String> - The name of the Auto Scaling
        #   group.
        # * scheduled_action_name<~String> - The name of the action you want to
        #   delete.
        #
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        #     * 'ResponseMetadata'<~Hash>:
        #       * 'RequestId'<~String> - Id of request
        #
        # ==== See Also
        # http://docs.amazonwebservices.com/AutoScaling/latest/APIReference/API_DeleteScheduledAction.html
        #
        def delete_scheduled_action(auto_scaling_group_name, scheduled_action_name)
          request({
            'Action'               => 'DeleteScheduledAction',
            'AutoScalingGroupName' => auto_scaling_group_name,
            'ScheduledActionName'  => scheduled_action_name,
            :parser                => Fog::Parsers::AWS::AutoScaling::Basic.new
          })
        end

      end

      class Mock

        def delete_scheduled_action(auto_scaling_group_name, scheduled_action_name)
          Fog::Mock.not_implemented
        end

      end

    end
  end
end

Version data entries

107 entries across 107 versions & 17 rubygems

Version Path
fog-1.22.0 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-1.21.0 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-maestrodev-1.20.0.20140305101839 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-maestrodev-1.20.0.20140305101305 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-maestrodev-1.19.0.20140212012611 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-1.20.0 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-maestrodev-1.19.0.20140110004459 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-maestrodev-1.19.0.20140110003812 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-maestrodev-1.19.0.20140109202555 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-maestrodev-1.19.0.20140107192102 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-maestrodev-1.19.0.20140107142106 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-maestrodev-1.19.0.20131219203941 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-maestrodev-1.18.0.20131219193542 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-1.19.0 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-maestrodev-1.18.0.20131219033443 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-maestrodev-1.18.0.20131219032002 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-maestrodev-1.18.0.20131219030716 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-maestrodev-1.18.0.20131219022322 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-maestrodev-1.18.0.20131218202447 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb
fog-maestrodev-1.18.0.20131209091424 lib/fog/aws/requests/auto_scaling/delete_scheduled_action.rb