Sha256: 90bcb53a0bb3d90df218b7b3012732ae40b5bb28b5c3eaa7a0d3bcb21a31fe4c

Contents?: true

Size: 1.39 KB

Versions: 1

Compression:

Stored size: 1.39 KB

Contents

module Fog
  module AWS
    class AutoScaling

      class Real

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

        # Deletes notifications created by put_notification_configuration.
        #
        # ==== Parameters
        # * auto_scaling_group_name<~String> - The name of the Auto Scaling
        #   group.
        # * topic_arn<~String> - The Amazon Resource Name (ARN) of the Amazon Simple Notification Service (SNS) topic
        #   you wish 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_DeleteNotificationConfiguration.html
        #
        def delete_notification_configuration(auto_scaling_group_name, topic_arn)
          request({
            'Action'               => 'DeleteNotificationConfiguration',
            'AutoScalingGroupName' => auto_scaling_group_name,
            'TopicARN'           => topic_arn,
            :parser                => Fog::Parsers::AWS::AutoScaling::Basic.new
          })
        end

      end

      class Mock

        def delete_notification_configuration(auto_scaling_group_name, topic_arn)
          Fog::Mock.not_implemented
        end

      end

    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rackspace-fog-1.4.2 lib/rackspace-fog/aws/requests/auto_scaling/delete_notification_configuration.rb