Sha256: d71eda92ba5a1fabd7d12f8c4203f19c1348763b0feb9e001970676a6d22bac9

Contents?: true

Size: 878 Bytes

Versions: 25

Compression:

Stored size: 878 Bytes

Contents

module Fog
  module AWS
    class RDS
      class Real

        require 'fog/aws/parsers/rds/reboot_db_instance'

        # reboots a database instance
        # http://docs.amazonwebservices.com/AmazonRDS/latest/APIReference/API_RebootDBInstance.html
        # ==== Parameters
        # * DBInstanceIdentifier <~String> - name of the db instance to reboot
        # ==== Returns
        # * response<~Excon::Response>:
        #   * body<~Hash>:
        def reboot_db_instance(instance_identifier)
          request({
            'Action'  => 'RebootDBInstance',
            'DBInstanceIdentifier' => instance_identifier,
            :parser   => Fog::Parsers::AWS::RDS::RebootDBInstance.new,
          })
        end

      end

      class Mock

        def reboot_db_instance(instance_identifier)
          Fog::Mock.not_implemented
        end

      end
    end
  end
end

Version data entries

25 entries across 25 versions & 5 rubygems

Version Path
brightbox-cli-0.17.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/reboot_db_instance.rb
brightbox-cli-0.17.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/reboot_db_instance.rb
fog_tractical-1.1.4 lib/fog/aws/requests/rds/reboot_db_instance.rb
fog_tractical-1.1.3 lib/fog/aws/requests/rds/reboot_db_instance.rb
brightbox-cli-0.16.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/reboot_db_instance.rb
fog-1.1.1 lib/fog/aws/requests/rds/reboot_db_instance.rb
fog-1.1.0 lib/fog/aws/requests/rds/reboot_db_instance.rb
brightbox-cli-0.15.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/reboot_db_instance.rb
tag-fog-1.0.1 lib/fog/aws/requests/rds/reboot_db_instance.rb
brightbox-cli-0.14.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/reboot_db_instance.rb
brightbox-cli-0.14.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/reboot_db_instance.rb
fog-1.0.0 lib/fog/aws/requests/rds/reboot_db_instance.rb
brightbox-cli-0.13.1 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/reboot_db_instance.rb
brightbox-cli-0.13.0 lib/brightbox-cli/vendor/fog/lib/fog/aws/requests/rds/reboot_db_instance.rb
fog-0.11.0 lib/fog/aws/requests/rds/reboot_db_instance.rb
fog-0.10.0 lib/fog/aws/requests/rds/reboot_db_instance.rb
fog4encbs-0.9.0.1 lib/fog/aws/requests/rds/reboot_db_instance.rb
fog4encbs-0.9.0 lib/fog/aws/requests/rds/reboot_db_instance.rb
fog-0.9.0 lib/fog/aws/requests/rds/reboot_db_instance.rb
fog-0.8.2 lib/fog/aws/requests/rds/reboot_db_instance.rb