Sha256: aaccfc3a70a0fdca6e640af582cdb8a4294ab1c66b937ac3680ee9d5d017cca1
Contents?: true
Size: 797 Bytes
Versions: 8
Compression:
Stored size: 797 Bytes
Contents
module Fog module AWS class Compute class Real require 'fog/compute/parsers/aws/start_stop_instances' # Start specified instance # # ==== Parameters # * instance_id<~Array> - Id of instance to start # # ==== Returns # * response<~Excon::Response>: # * body<~Hash>: # * 'requestId'<~String> - Id of request # * TODO: fill in the blanks def start_instances(instance_id) params = AWS.indexed_param('InstanceId', instance_id) request({ 'Action' => 'StartInstances', :idempotent => true, :parser => Fog::Parsers::AWS::Compute::StartStopInstances.new }.merge!(params)) end end end end end
Version data entries
8 entries across 8 versions & 1 rubygems