class AWS::EC2::Client
Client class for Amazon Elastic Compute Cloud (EC2).
Constants
- API_VERSION
- CACHEABLE_REQUESTS
@api private
Public Instance Methods
retryable_error?(response)
click to toggle source
Calls superclass method
AWS::Core::Client#retryable_error?
# File lib/aws/ec2/client.rb, line 24 def retryable_error?(response) if response.error.is_a?(Errors::InsufficientInstanceCapacity) false else super end end
Protected Instance Methods
v2_signer()
click to toggle source
@return [Core::Signers::Version2]
# File lib/aws/ec2/client.rb, line 74 def v2_signer @v2_signer ||= Core::Signers::Version2.new(credential_provider) end
v4_signer()
click to toggle source
@return [Core::Signers::Version4]
# File lib/aws/ec2/client.rb, line 79 def v4_signer @v4_signer ||= Core::Signers::Version4.new(credential_provider, 'ec2', @region) end