Sha256: 5eb3d50a6103fe0071731daa1e04d49015b0bea7f5302245d3c5cd6e29625173

Contents?: true

Size: 1.38 KB

Versions: 6

Compression:

Stored size: 1.38 KB

Contents

module Fog
  module AWS
    class AutoScaling

      class Real

        require '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

6 entries across 6 versions & 3 rubygems

Version Path
fog-parser-fix-1.6.1 lib/fog/aws/requests/auto_scaling/delete_notification_configuration.rb
fog-test-again-1.6.0 lib/fog/aws/requests/auto_scaling/delete_notification_configuration.rb
fog-parser-fix-1.6.0 lib/fog/aws/requests/auto_scaling/delete_notification_configuration.rb
fog-1.6.0 lib/fog/aws/requests/auto_scaling/delete_notification_configuration.rb
fog-1.5.0 lib/fog/aws/requests/auto_scaling/delete_notification_configuration.rb
fog-1.4.0 lib/fog/aws/requests/auto_scaling/delete_notification_configuration.rb