You are viewing documentation for version 3 of the AWS SDK for Ruby. Version 2 documentation can be found here.

Module: Aws::EC2

Defined in:
gems/aws-sdk-ec2/lib/aws-sdk-ec2/tag.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/customizations/instance.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/customizations/resource.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/plugins/region_validation.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/plugins/copy_encrypted_snapshot.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/vpc.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/image.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/route.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/types.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/client.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/errors.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/subnet.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/volume.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/waiters.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/instance.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/key_pair.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/resource.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/snapshot.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/network_acl.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/route_table.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/vpc_address.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/dhcp_options.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/key_pair_info.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/security_group.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/classic_address.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/placement_group.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/internet_gateway.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/network_interface.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/vpc_peering_connection.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/route_table_association.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2/network_interface_association.rb,
gems/aws-sdk-ec2/lib/aws-sdk-ec2.rb

Overview

This module provides support for Amazon Elastic Compute Cloud. This module is available in the aws-sdk-ec2 gem.

Client

The Client class provides one method for each API operation. Operation methods each accept a hash of request parameters and return a response structure.

See Client for more information.

Errors

Errors returned from Amazon Elastic Compute Cloud all extend Aws::Errors::ServiceError.

begin
  # do stuff
rescue Aws::EC2::Errors::ServiceError
  # rescues all service API errors
end

See Errors for more information.

Defined Under Namespace

Modules: Errors, Plugins, Types, Waiters Classes: ClassicAddress, Client, DhcpOptions, Image, Instance, InternetGateway, KeyPair, KeyPairInfo, NetworkAcl, NetworkInterface, NetworkInterfaceAssociation, PlacementGroup, Resource, Route, RouteTable, RouteTableAssociation, SecurityGroup, Snapshot, Subnet, Tag, Volume, Vpc, VpcAddress, VpcPeeringConnection

Constant Summary

GEM_VERSION =
'1.13.0'