AmazonEC2Client Class

.NET Framework 3.5
 
 
 
Did this page help you?  Yes  No   Tell us about it...
Implementation for accessing AmazonEC2.

Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers.

Amazon EC2's simple web service interface allows you to obtain and configure capacity with minimal friction. It provides you with complete control of your computing resources and lets you run on Amazon's proven computing environment. Amazon EC2 reduces the time required to obtain and boot new server instances to minutes, allowing you to quickly scale capacity, both up and down, as your computing requirements change. Amazon EC2 changes the economics of computing by allowing you to pay only for capacity that you actually use. Amazon EC2 provides developers the tools to build failure resilient applications and isolate themselves from common failure scenarios.

Visit http://aws.amazon.com/ec2/ for more information.

Inheritance Hierarchy

Namespace: Amazon.EC2
Assembly: AWSSDK.dll
Version: 2.0.0.3

Syntax

C#
public class AmazonEC2Client : AmazonWebServiceClient
         IAmazonEC2, IDisposable

The AmazonEC2Client type exposes the following members

Constructors

  Name Description
Public Method AmazonEC2Client() Constructs AmazonEC2Client with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSAccessKey" value="********************"/>
        <add key="AWSSecretKey" value="****************************************"/>
    </appSettings>
</configuration>
             
Public Method AmazonEC2Client(RegionEndpoint) Constructs AmazonEC2Client with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSAccessKey" value="********************"/>
        <add key="AWSSecretKey" value="****************************************"/>
    </appSettings>
</configuration>
             
Public Method AmazonEC2Client(AmazonEC2Config) Constructs AmazonEC2Client with the credentials loaded from the application's default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance. Example App.config with credentials set.
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
    <appSettings>
        <add key="AWSAccessKey" value="********************"/>
        <add key="AWSSecretKey" value="****************************************"/>
    </appSettings>
</configuration>
             
Public Method AmazonEC2Client(AWSCredentials) Constructs AmazonEC2Client with AWS Credentials
Public Method AmazonEC2Client(AWSCredentials, RegionEndpoint) Constructs AmazonEC2Client with AWS Credentials
Public Method AmazonEC2Client(AWSCredentials, AmazonEC2Config) Constructs AmazonEC2Client with AWS Credentials and an AmazonEC2Client Configuration object.
Public Method AmazonEC2Client(string, string) Constructs AmazonEC2Client with AWS Access Key ID and AWS Secret Key
Public Method AmazonEC2Client(string, string, RegionEndpoint) Constructs AmazonEC2Client with AWS Access Key ID and AWS Secret Key
Public Method AmazonEC2Client(string, string, AmazonEC2Config) Constructs AmazonEC2Client with AWS Access Key ID, AWS Secret Key and an AmazonEC2Client Configuration object.
Public Method AmazonEC2Client(string, string, string) Constructs AmazonEC2Client with AWS Access Key ID and AWS Secret Key
Public Method AmazonEC2Client(string, string, string, RegionEndpoint) Constructs AmazonEC2Client with AWS Access Key ID and AWS Secret Key
Public Method AmazonEC2Client(string, string, string, AmazonEC2Config) Constructs AmazonEC2Client with AWS Access Key ID, AWS Secret Key and an AmazonEC2Client Configuration object.

Methods

  Name Description
Public Method AllocateAddress(AllocateAddressRequest)

The AllocateAddress operation acquires an elastic IP address for use with your account.

Public Method AllocateAddress()

The AllocateAddress operation acquires an elastic IP address for use with your account.

Public Method AssignPrivateIpAddresses(AssignPrivateIpAddressesRequest)
Public Method AssociateAddress(AssociateAddressRequest)

The AssociateAddress operation associates an elastic IP address with an instance.

If the IP address is currently assigned to another instance, the IP address is assigned to the new instance. This is an idempotent operation. If you enter it more than once, Amazon EC2 does not return an error.

Public Method AssociateDhcpOptions(AssociateDhcpOptionsRequest)

Associates a set of DHCP options (that you've previously created) with the specified VPC. Or, associates the default DHCP options with the VPC. The default set consists of the standard EC2 host name, no domain name, no DNS server, no NTP server, and no NetBIOS server or node type. After you associate the options with the VPC, any existing instances and all new instances that you launch in that VPC use the options. For more information about the supported DHCP options and using them with Amazon VPC, go to Using DHCP Options in the Amazon Virtual Private Cloud Developer Guide.

Public Method AssociateRouteTable(AssociateRouteTableRequest)

Associates a subnet with a route table. The subnet and route table must be in the same VPC. This association causes traffic originating from the subnet to be routed according to the routes in the route table. The action returns an association ID, which you need if you want to disassociate the route table from the subnet later. A route table can be associated with multiple subnets.

For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.

Public Method AttachInternetGateway(AttachInternetGatewayRequest)

Attaches an Internet gateway to a VPC, enabling connectivity between the Internet and the VPC. For more information about your VPC and Internet gateway, go to the Amazon Virtual Private Cloud User Guide.

Public Method AttachNetworkInterface(AttachNetworkInterfaceRequest)
Public Method AttachVolume(AttachVolumeRequest)

Attach a previously created volume to a running instance.

Public Method AttachVpnGateway(AttachVpnGatewayRequest)

Attaches a VPN gateway to a VPC. This is the last step required to get your VPC fully connected to your data center before launching instances in it. For more information, go to Process for Using Amazon VPC in the Amazon Virtual Private Cloud Developer Guide.

Public Method AuthorizeSecurityGroupEgress(AuthorizeSecurityGroupEgressRequest)

This action applies only to security groups in a VPC; it's not supported for EC2 security groups. For information about Amazon Virtual Private Cloud and VPC security groups, go to the Amazon Virtual Private Cloud User Guide.

The action adds one or more egress rules to a VPC security group. Specifically, this permits instances in a security group to send traffic to either one or more destination CIDR IP address ranges, or to one or more destination security groups in the same VPC.

Each rule consists of the protocol (e.g., TCP), plus either a CIDR range, or a source group. For the TCP and UDP protocols, you must also specify the destination port or port range. For the ICMP protocol, you must also specify the ICMP type and code. You can use -1 as a wildcard for the ICMP type or code.

Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.

Important: For VPC security groups: You can have up to 50 rules total per group (covering both ingress and egress).

Public Method AuthorizeSecurityGroupIngress(AuthorizeSecurityGroupIngressRequest)

The AuthorizeSecurityGroupIngress operation adds permissions to a security group.

Permissions are specified by the IP protocol (TCP, UDP or ICMP), the source of the request (by IP range or an Amazon EC2 user-group pair), the source and destination port ranges (for TCP and UDP), and the ICMP codes and types (for ICMP). When authorizing ICMP, -1 can be used as a wildcard in the type and code fields.

Permission changes are propagated to instances within the security group as quickly as possible. However, depending on the number of instances, a small delay might occur.

Public Method AuthorizeSecurityGroupIngress()

The AuthorizeSecurityGroupIngress operation adds permissions to a security group.

Permissions are specified by the IP protocol (TCP, UDP or ICMP), the source of the request (by IP range or an Amazon EC2 user-group pair), the source and destination port ranges (for TCP and UDP), and the ICMP codes and types (for ICMP). When authorizing ICMP, -1 can be used as a wildcard in the type and code fields.

Permission changes are propagated to instances within the security group as quickly as possible. However, depending on the number of instances, a small delay might occur.

Public Method BeginAllocateAddress(AllocateAddressRequest, AsyncCallback, object) Initiates the asynchronous execution of the AllocateAddress operation.
Public Method BeginAssignPrivateIpAddresses(AssignPrivateIpAddressesRequest, AsyncCallback, object) Initiates the asynchronous execution of the AssignPrivateIpAddresses operation.
Public Method BeginAssociateAddress(AssociateAddressRequest, AsyncCallback, object) Initiates the asynchronous execution of the AssociateAddress operation.
Public Method BeginAssociateDhcpOptions(AssociateDhcpOptionsRequest, AsyncCallback, object) Initiates the asynchronous execution of the AssociateDhcpOptions operation.
Public Method BeginAssociateRouteTable(AssociateRouteTableRequest, AsyncCallback, object) Initiates the asynchronous execution of the AssociateRouteTable operation.
Public Method BeginAttachInternetGateway(AttachInternetGatewayRequest, AsyncCallback, object) Initiates the asynchronous execution of the AttachInternetGateway operation.
Public Method BeginAttachNetworkInterface(AttachNetworkInterfaceRequest, AsyncCallback, object) Initiates the asynchronous execution of the AttachNetworkInterface operation.
Public Method BeginAttachVolume(AttachVolumeRequest, AsyncCallback, object) Initiates the asynchronous execution of the AttachVolume operation.
Public Method BeginAttachVpnGateway(AttachVpnGatewayRequest, AsyncCallback, object) Initiates the asynchronous execution of the AttachVpnGateway operation.
Public Method BeginAuthorizeSecurityGroupEgress(AuthorizeSecurityGroupEgressRequest, AsyncCallback, object) Initiates the asynchronous execution of the AuthorizeSecurityGroupEgress operation.
Public Method BeginAuthorizeSecurityGroupIngress(AuthorizeSecurityGroupIngressRequest, AsyncCallback, object) Initiates the asynchronous execution of the AuthorizeSecurityGroupIngress operation.
Public Method BeginBundleInstance(BundleInstanceRequest, AsyncCallback, object) Initiates the asynchronous execution of the BundleInstance operation.
Public Method BeginCancelBundleTask(CancelBundleTaskRequest, AsyncCallback, object) Initiates the asynchronous execution of the CancelBundleTask operation.
Public Method BeginCancelConversionTask(CancelConversionTaskRequest, AsyncCallback, object) Initiates the asynchronous execution of the CancelConversionTask operation.
Public Method BeginCancelExportTask(CancelExportTaskRequest, AsyncCallback, object) Initiates the asynchronous execution of the CancelExportTask operation.
Public Method BeginCancelReservedInstancesListing(CancelReservedInstancesListingRequest, AsyncCallback, object) Initiates the asynchronous execution of the CancelReservedInstancesListing operation.
Public Method BeginCancelSpotInstanceRequests(CancelSpotInstanceRequestsRequest, AsyncCallback, object) Initiates the asynchronous execution of the CancelSpotInstanceRequests operation.
Public Method BeginConfirmProductInstance(ConfirmProductInstanceRequest, AsyncCallback, object) Initiates the asynchronous execution of the ConfirmProductInstance operation.
Public Method BeginCopyImage(CopyImageRequest, AsyncCallback, object) Initiates the asynchronous execution of the CopyImage operation.
Public Method BeginCopySnapshot(CopySnapshotRequest, AsyncCallback, object) Initiates the asynchronous execution of the CopySnapshot operation.
Public Method BeginCreateCustomerGateway(CreateCustomerGatewayRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateCustomerGateway operation.
Public Method BeginCreateDhcpOptions(CreateDhcpOptionsRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateDhcpOptions operation.
Public Method BeginCreateImage(CreateImageRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateImage operation.
Public Method BeginCreateInstanceExportTask(CreateInstanceExportTaskRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateInstanceExportTask operation.
Public Method BeginCreateInternetGateway(CreateInternetGatewayRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateInternetGateway operation.
Public Method BeginCreateKeyPair(CreateKeyPairRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateKeyPair operation.
Public Method BeginCreateNetworkAcl(CreateNetworkAclRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateNetworkAcl operation.
Public Method BeginCreateNetworkAclEntry(CreateNetworkAclEntryRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateNetworkAclEntry operation.
Public Method BeginCreateNetworkInterface(CreateNetworkInterfaceRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateNetworkInterface operation.
Public Method BeginCreatePlacementGroup(CreatePlacementGroupRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreatePlacementGroup operation.
Public Method BeginCreateReservedInstancesListing(CreateReservedInstancesListingRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateReservedInstancesListing operation.
Public Method BeginCreateRoute(CreateRouteRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateRoute operation.
Public Method BeginCreateRouteTable(CreateRouteTableRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateRouteTable operation.
Public Method BeginCreateSecurityGroup(CreateSecurityGroupRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateSecurityGroup operation.
Public Method BeginCreateSnapshot(CreateSnapshotRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateSnapshot operation.
Public Method BeginCreateSpotDatafeedSubscription(CreateSpotDatafeedSubscriptionRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateSpotDatafeedSubscription operation.
Public Method BeginCreateSubnet(CreateSubnetRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateSubnet operation.
Public Method BeginCreateTags(CreateTagsRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateTags operation.
Public Method BeginCreateVolume(CreateVolumeRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateVolume operation.
Public Method BeginCreateVpc(CreateVpcRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateVpc operation.
Public Method BeginCreateVpnConnection(CreateVpnConnectionRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateVpnConnection operation.
Public Method BeginCreateVpnConnectionRoute(CreateVpnConnectionRouteRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateVpnConnectionRoute operation.
Public Method BeginCreateVpnGateway(CreateVpnGatewayRequest, AsyncCallback, object) Initiates the asynchronous execution of the CreateVpnGateway operation.
Public Method BeginDeleteCustomerGateway(DeleteCustomerGatewayRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteCustomerGateway operation.
Public Method BeginDeleteDhcpOptions(DeleteDhcpOptionsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteDhcpOptions operation.
Public Method BeginDeleteInternetGateway(DeleteInternetGatewayRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteInternetGateway operation.
Public Method BeginDeleteKeyPair(DeleteKeyPairRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteKeyPair operation.
Public Method BeginDeleteNetworkAcl(DeleteNetworkAclRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteNetworkAcl operation.
Public Method BeginDeleteNetworkAclEntry(DeleteNetworkAclEntryRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteNetworkAclEntry operation.
Public Method BeginDeleteNetworkInterface(DeleteNetworkInterfaceRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteNetworkInterface operation.
Public Method BeginDeletePlacementGroup(DeletePlacementGroupRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeletePlacementGroup operation.
Public Method BeginDeleteRoute(DeleteRouteRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteRoute operation.
Public Method BeginDeleteRouteTable(DeleteRouteTableRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteRouteTable operation.
Public Method BeginDeleteSecurityGroup(DeleteSecurityGroupRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteSecurityGroup operation.
Public Method BeginDeleteSnapshot(DeleteSnapshotRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteSnapshot operation.
Public Method BeginDeleteSpotDatafeedSubscription(DeleteSpotDatafeedSubscriptionRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteSpotDatafeedSubscription operation.
Public Method BeginDeleteSubnet(DeleteSubnetRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteSubnet operation.
Public Method BeginDeleteTags(DeleteTagsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteTags operation.
Public Method BeginDeleteVolume(DeleteVolumeRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteVolume operation.
Public Method BeginDeleteVpc(DeleteVpcRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteVpc operation.
Public Method BeginDeleteVpnConnection(DeleteVpnConnectionRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteVpnConnection operation.
Public Method BeginDeleteVpnConnectionRoute(DeleteVpnConnectionRouteRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteVpnConnectionRoute operation.
Public Method BeginDeleteVpnGateway(DeleteVpnGatewayRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeleteVpnGateway operation.
Public Method BeginDeregisterImage(DeregisterImageRequest, AsyncCallback, object) Initiates the asynchronous execution of the DeregisterImage operation.
Public Method BeginDescribeAccountAttributes(DescribeAccountAttributesRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeAccountAttributes operation.
Public Method BeginDescribeAddresses(DescribeAddressesRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeAddresses operation.
Public Method BeginDescribeAvailabilityZones(DescribeAvailabilityZonesRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeAvailabilityZones operation.
Public Method BeginDescribeBundleTasks(DescribeBundleTasksRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeBundleTasks operation.
Public Method BeginDescribeConversionTasks(DescribeConversionTasksRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeConversionTasks operation.
Public Method BeginDescribeCustomerGateways(DescribeCustomerGatewaysRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeCustomerGateways operation.
Public Method BeginDescribeDhcpOptions(DescribeDhcpOptionsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeDhcpOptions operation.
Public Method BeginDescribeExportTasks(DescribeExportTasksRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeExportTasks operation.
Public Method BeginDescribeImageAttribute(DescribeImageAttributeRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeImageAttribute operation.
Public Method BeginDescribeImages(DescribeImagesRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeImages operation.
Public Method BeginDescribeInstanceAttribute(DescribeInstanceAttributeRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeInstanceAttribute operation.
Public Method BeginDescribeInstances(DescribeInstancesRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeInstances operation.
Public Method BeginDescribeInstanceStatus(DescribeInstanceStatusRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeInstanceStatus operation.
Public Method BeginDescribeInternetGateways(DescribeInternetGatewaysRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeInternetGateways operation.
Public Method BeginDescribeKeyPairs(DescribeKeyPairsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeKeyPairs operation.
Public Method BeginDescribeNetworkAcls(DescribeNetworkAclsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeNetworkAcls operation.
Public Method BeginDescribeNetworkInterfaceAttribute(DescribeNetworkInterfaceAttributeRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeNetworkInterfaceAttribute operation.
Public Method BeginDescribeNetworkInterfaces(DescribeNetworkInterfacesRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeNetworkInterfaces operation.
Public Method BeginDescribePlacementGroups(DescribePlacementGroupsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribePlacementGroups operation.
Public Method BeginDescribeRegions(DescribeRegionsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeRegions operation.
Public Method BeginDescribeReservedInstances(DescribeReservedInstancesRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeReservedInstances operation.
Public Method BeginDescribeReservedInstancesListings(DescribeReservedInstancesListingsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeReservedInstancesListings operation.
Public Method BeginDescribeReservedInstancesOfferings(DescribeReservedInstancesOfferingsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeReservedInstancesOfferings operation.
Public Method BeginDescribeRouteTables(DescribeRouteTablesRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeRouteTables operation.
Public Method BeginDescribeSecurityGroups(DescribeSecurityGroupsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeSecurityGroups operation.
Public Method BeginDescribeSnapshotAttribute(DescribeSnapshotAttributeRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeSnapshotAttribute operation.
Public Method BeginDescribeSnapshots(DescribeSnapshotsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeSnapshots operation.
Public Method BeginDescribeSpotDatafeedSubscription(DescribeSpotDatafeedSubscriptionRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeSpotDatafeedSubscription operation.
Public Method BeginDescribeSpotInstanceRequests(DescribeSpotInstanceRequestsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeSpotInstanceRequests operation.
Public Method BeginDescribeSpotPriceHistory(DescribeSpotPriceHistoryRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeSpotPriceHistory operation.
Public Method BeginDescribeSubnets(DescribeSubnetsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeSubnets operation.
Public Method BeginDescribeTags(DescribeTagsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeTags operation.
Public Method BeginDescribeVolumeAttribute(DescribeVolumeAttributeRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeVolumeAttribute operation.
Public Method BeginDescribeVolumes(DescribeVolumesRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeVolumes operation.
Public Method BeginDescribeVolumeStatus(DescribeVolumeStatusRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeVolumeStatus operation.
Public Method BeginDescribeVpcAttribute(DescribeVpcAttributeRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeVpcAttribute operation.
Public Method BeginDescribeVpcs(DescribeVpcsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeVpcs operation.
Public Method BeginDescribeVpnConnections(DescribeVpnConnectionsRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeVpnConnections operation.
Public Method BeginDescribeVpnGateways(DescribeVpnGatewaysRequest, AsyncCallback, object) Initiates the asynchronous execution of the DescribeVpnGateways operation.
Public Method BeginDetachInternetGateway(DetachInternetGatewayRequest, AsyncCallback, object) Initiates the asynchronous execution of the DetachInternetGateway operation.
Public Method BeginDetachNetworkInterface(DetachNetworkInterfaceRequest, AsyncCallback, object) Initiates the asynchronous execution of the DetachNetworkInterface operation.
Public Method BeginDetachVolume(DetachVolumeRequest, AsyncCallback, object) Initiates the asynchronous execution of the DetachVolume operation.
Public Method BeginDetachVpnGateway(DetachVpnGatewayRequest, AsyncCallback, object) Initiates the asynchronous execution of the DetachVpnGateway operation.
Public Method BeginDisableVgwRoutePropagation(DisableVgwRoutePropagationRequest, AsyncCallback, object) Initiates the asynchronous execution of the DisableVgwRoutePropagation operation.
Public Method BeginDisassociateAddress(DisassociateAddressRequest, AsyncCallback, object) Initiates the asynchronous execution of the DisassociateAddress operation.
Public Method BeginDisassociateRouteTable(DisassociateRouteTableRequest, AsyncCallback, object) Initiates the asynchronous execution of the DisassociateRouteTable operation.
Public Method BeginEnableVgwRoutePropagation(EnableVgwRoutePropagationRequest, AsyncCallback, object) Initiates the asynchronous execution of the EnableVgwRoutePropagation operation.
Public Method BeginEnableVolumeIO(EnableVolumeIORequest, AsyncCallback, object) Initiates the asynchronous execution of the EnableVolumeIO operation.
Public Method BeginGetConsoleOutput(GetConsoleOutputRequest, AsyncCallback, object) Initiates the asynchronous execution of the GetConsoleOutput operation.
Public Method BeginGetPasswordData(GetPasswordDataRequest, AsyncCallback, object) Initiates the asynchronous execution of the GetPasswordData operation.
Public Method BeginImportInstance(ImportInstanceRequest, AsyncCallback, object) Initiates the asynchronous execution of the ImportInstance operation.
Public Method BeginImportKeyPair(ImportKeyPairRequest, AsyncCallback, object) Initiates the asynchronous execution of the ImportKeyPair operation.
Public Method BeginImportVolume(ImportVolumeRequest, AsyncCallback, object) Initiates the asynchronous execution of the ImportVolume operation.
Public Method BeginModifyImageAttribute(ModifyImageAttributeRequest, AsyncCallback, object) Initiates the asynchronous execution of the ModifyImageAttribute operation.
Public Method BeginModifyInstanceAttribute(ModifyInstanceAttributeRequest, AsyncCallback, object) Initiates the asynchronous execution of the ModifyInstanceAttribute operation.
Public Method BeginModifyNetworkInterfaceAttribute(ModifyNetworkInterfaceAttributeRequest, AsyncCallback, object) Initiates the asynchronous execution of the ModifyNetworkInterfaceAttribute operation.
Public Method BeginModifySnapshotAttribute(ModifySnapshotAttributeRequest, AsyncCallback, object) Initiates the asynchronous execution of the ModifySnapshotAttribute operation.
Public Method BeginModifyVolumeAttribute(ModifyVolumeAttributeRequest, AsyncCallback, object) Initiates the asynchronous execution of the ModifyVolumeAttribute operation.
Public Method BeginModifyVpcAttribute(ModifyVpcAttributeRequest, AsyncCallback, object) Initiates the asynchronous execution of the ModifyVpcAttribute operation.
Public Method BeginMonitorInstances(MonitorInstancesRequest, AsyncCallback, object) Initiates the asynchronous execution of the MonitorInstances operation.
Public Method BeginPurchaseReservedInstancesOffering(PurchaseReservedInstancesOfferingRequest, AsyncCallback, object) Initiates the asynchronous execution of the PurchaseReservedInstancesOffering operation.
Public Method BeginRebootInstances(RebootInstancesRequest, AsyncCallback, object) Initiates the asynchronous execution of the RebootInstances operation.
Public Method BeginRegisterImage(RegisterImageRequest, AsyncCallback, object) Initiates the asynchronous execution of the RegisterImage operation.
Public Method BeginReleaseAddress(ReleaseAddressRequest, AsyncCallback, object) Initiates the asynchronous execution of the ReleaseAddress operation.
Public Method BeginReplaceNetworkAclAssociation(ReplaceNetworkAclAssociationRequest, AsyncCallback, object) Initiates the asynchronous execution of the ReplaceNetworkAclAssociation operation.
Public Method BeginReplaceNetworkAclEntry(ReplaceNetworkAclEntryRequest, AsyncCallback, object) Initiates the asynchronous execution of the ReplaceNetworkAclEntry operation.
Public Method BeginReplaceRoute(ReplaceRouteRequest, AsyncCallback, object) Initiates the asynchronous execution of the ReplaceRoute operation.
Public Method BeginReplaceRouteTableAssociation(ReplaceRouteTableAssociationRequest, AsyncCallback, object) Initiates the asynchronous execution of the ReplaceRouteTableAssociation operation.
Public Method BeginReportInstanceStatus(ReportInstanceStatusRequest, AsyncCallback, object) Initiates the asynchronous execution of the ReportInstanceStatus operation.
Public Method BeginRequestSpotInstances(RequestSpotInstancesRequest, AsyncCallback, object) Initiates the asynchronous execution of the RequestSpotInstances operation.
Public Method BeginResetImageAttribute(ResetImageAttributeRequest, AsyncCallback, object) Initiates the asynchronous execution of the ResetImageAttribute operation.
Public Method BeginResetInstanceAttribute(ResetInstanceAttributeRequest, AsyncCallback, object) Initiates the asynchronous execution of the ResetInstanceAttribute operation.
Public Method BeginResetNetworkInterfaceAttribute(ResetNetworkInterfaceAttributeRequest, AsyncCallback, object) Initiates the asynchronous execution of the ResetNetworkInterfaceAttribute operation.
Public Method BeginResetSnapshotAttribute(ResetSnapshotAttributeRequest, AsyncCallback, object) Initiates the asynchronous execution of the ResetSnapshotAttribute operation.
Public Method BeginRevokeSecurityGroupEgress(RevokeSecurityGroupEgressRequest, AsyncCallback, object) Initiates the asynchronous execution of the RevokeSecurityGroupEgress operation.
Public Method BeginRevokeSecurityGroupIngress(RevokeSecurityGroupIngressRequest, AsyncCallback, object) Initiates the asynchronous execution of the RevokeSecurityGroupIngress operation.
Public Method BeginRunInstances(RunInstancesRequest, AsyncCallback, object) Initiates the asynchronous execution of the RunInstances operation.
Public Method BeginStartInstances(StartInstancesRequest, AsyncCallback, object) Initiates the asynchronous execution of the StartInstances operation.
Public Method BeginStopInstances(StopInstancesRequest, AsyncCallback, object) Initiates the asynchronous execution of the StopInstances operation.
Public Method BeginTerminateInstances(TerminateInstancesRequest, AsyncCallback, object) Initiates the asynchronous execution of the TerminateInstances operation.
Public Method BeginUnassignPrivateIpAddresses(UnassignPrivateIpAddressesRequest, AsyncCallback, object) Initiates the asynchronous execution of the UnassignPrivateIpAddresses operation.
Public Method BeginUnmonitorInstances(UnmonitorInstancesRequest, AsyncCallback, object) Initiates the asynchronous execution of the UnmonitorInstances operation.
Public Method BundleInstance(BundleInstanceRequest)

The BundleInstance operation request that an instance is bundled the next time it boots. The bundling process creates a new image from a running instance and stores the AMI data in S3. Once bundled, the image must be registered in the normal way using the RegisterImage API.

Public Method CancelBundleTask(CancelBundleTaskRequest)

CancelBundleTask operation cancels a pending or in-progress bundling task. This is an asynchronous call and it make take a while for the task to be canceled. If a task is canceled while it is storing items, there may be parts of the incomplete AMI stored in S3. It is up to the caller to clean up these parts from S3.

Public Method CancelConversionTask(CancelConversionTaskRequest)
Public Method CancelExportTask(CancelExportTaskRequest)
Public Method CancelReservedInstancesListing(CancelReservedInstancesListingRequest)
Public Method CancelSpotInstanceRequests(CancelSpotInstanceRequestsRequest)

Cancels one or more Spot Instance requests.

Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests.

For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .

Public Method ConfirmProductInstance(ConfirmProductInstanceRequest)

The ConfirmProductInstance operation returns true if the specified product code is attached to the specified instance. The operation returns false if the product code is not attached to the instance.

The ConfirmProductInstance operation can only be executed by the owner of the AMI. This feature is useful when an AMI owner is providing support and wants to verify whether a user's instance is eligible.

Public Method CopyImage(CopyImageRequest)
Public Method CopySnapshot(CopySnapshotRequest)
Public Method CreateCustomerGateway(CreateCustomerGatewayRequest)

Provides information to AWS about your customer gateway device. The customer gateway is the appliance at your end of the VPN connection (compared to the VPN gateway, which is the device at the AWS side of the VPN connection). You can have a single active customer gateway per AWS account (active means that you've created a VPN connection to use with the customer gateway). AWS might delete any customer gateway that you create with this operation if you leave it inactive for an extended period of time.

You must provide the Internet-routable IP address of the customer gateway's external interface. The IP address must be static.

You must also provide the device's Border Gateway Protocol (BGP) Autonomous System Number (ASN). You can use an existing ASN assigned to your network. If you don't have an ASN already, you can use a private ASN (in the 64512 - 65534 range). For more information about ASNs, go to http://en.wikipedia.org/wiki/Autonomous_system_%28Internet%29.

Public Method CreateDhcpOptions(CreateDhcpOptionsRequest)

Creates a set of DHCP options that you can then associate with one or more VPCs, causing all existing and new instances that you launch in those VPCs to use the set of DHCP options. The following table lists the individual DHCP options you can specify. For more information about the options, go to http://www.ietf.org/rfc/rfc2132.txt

Public Method CreateImage(CreateImageRequest)

Creates an Amazon EBS-backed AMI from a "running" or "stopped" instance. AMIs that use an Amazon EBS root device boot faster than AMIs that use instance stores. They can be up to 1 TiB in size, use storage that persists on instance failure, and can be stopped and started.

Public Method CreateInstanceExportTask(CreateInstanceExportTaskRequest)
Public Method CreateInternetGateway(CreateInternetGatewayRequest)

Creates a new Internet gateway in your AWS account. After creating the Internet gateway, you then attach it to a VPC using AttachInternetGateway . For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.

Public Method CreateInternetGateway()

Creates a new Internet gateway in your AWS account. After creating the Internet gateway, you then attach it to a VPC using AttachInternetGateway . For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.

Public Method CreateKeyPair(CreateKeyPairRequest)

The CreateKeyPair operation creates a new 2048 bit RSA key pair and returns a unique ID that can be used to reference this key pair when launching new instances. For more information, see RunInstances.

Public Method CreateNetworkAcl(CreateNetworkAclRequest)

Creates a new network ACL in a VPC. Network ACLs provide an optional layer of security (on top of security groups) for the instances in your VPC. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.

Public Method CreateNetworkAclEntry(CreateNetworkAclEntryRequest)

Creates an entry (i.e., rule) in a network ACL with a rule number you specify. Each network ACL has a set of numbered ingress rules and a separate set of numbered egress rules. When determining whether a packet should be allowed in or out of a subnet associated with the ACL, Amazon VPC processes the entries in the ACL according to the rule numbers, in ascending order.

Important: We recommend that you leave room between the rules (e.g., 100, 110, 120, etc.), and not number them sequentially (101, 102, 103, etc.). This allows you to easily add a new rule between existing ones without having to renumber the rules.

After you add an entry, you can't modify it; you must either replace it, or create a new entry and delete the old one.

For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.

Public Method CreateNetworkInterface(CreateNetworkInterfaceRequest)
Public Method CreatePlacementGroup(CreatePlacementGroupRequest)

Creates a PlacementGroup into which multiple Amazon EC2 instances can be launched. Users must give the group a name unique within the scope of the user account.

Public Method CreateReservedInstancesListing(CreateReservedInstancesListingRequest)
Public Method CreateRoute(CreateRouteRequest)

Creates a new route in a route table within a VPC. The route's target can be either a gateway attached to the VPC or a NAT instance in the VPC.

When determining how to route traffic, we use the route with the most specific match. For example, let's say the traffic is destined for 192.0.2.3 , and the route table includes the following two routes:

  • 192.0.2.0/24 (goes to some target A)
  • 192.0.2.0/28 (goes to some target B)

Both routes apply to the traffic destined for 192.0.2.3 . However, the second route in the list is more specific, so we use that route to determine where to target the traffic.

For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.

Public Method CreateRouteTable(CreateRouteTableRequest)

Creates a new route table within a VPC. After you create a new route table, you can add routes and associate the table with a subnet. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.

Public Method CreateSecurityGroup(CreateSecurityGroupRequest)

The CreateSecurityGroup operation creates a new security group.

Every instance is launched in a security group. If no security group is specified during launch, the instances are launched in the default security group. Instances within the same security group have unrestricted network access to each other. Instances will reject network access attempts from other instances in a different security group. As the owner of instances you can grant or revoke specific permissions using the AuthorizeSecurityGroupIngress and RevokeSecurityGroupIngress operations.

Public Method CreateSnapshot(CreateSnapshotRequest)

Create a snapshot of the volume identified by volume ID. A volume does not have to be detached at the time the snapshot is taken.

NOTE: Snapshot creation requires that the system is in a consistent state. For instance, this means that if taking a snapshot of a database, the tables must be read-only locked to ensure that the snapshot will not contain a corrupted version of the database. Therefore, be careful when using this API to ensure that the system remains in the consistent state until the create snapshot status has returned.

Public Method CreateSpotDatafeedSubscription(CreateSpotDatafeedSubscriptionRequest)

Creates the data feed for Spot Instances, enabling you to view Spot Instance usage logs. You can create one data feed per account.

For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .

Public Method CreateSubnet(CreateSubnetRequest)

Creates a subnet in an existing VPC. You can create up to 20 subnets in a VPC. If you add more than one subnet to a VPC, they're set up in a star topology with a logical router in the middle. When you create each subnet, you provide the VPC ID and the CIDR block you want for the subnet. Once you create a subnet, you can't change its CIDR block. The subnet's CIDR block can be the same as the VPC's CIDR block (assuming you want only a single subnet in the VPC), or a subset of the VPC's CIDR block. If you create more than one subnet in a VPC, the subnets' CIDR blocks must not overlap. The smallest subnet (and VPC) you can create uses a /28 netmask (16 IP addresses), and the largest uses a /18 netmask (16,384 IP addresses).

IMPORTANT: AWS reserves both the first four and the last IP address in each subnet's CIDR block. They're not available for use.

Public Method CreateTags(CreateTagsRequest)

Adds or overwrites tags for the specified resources. Each resource can have a maximum of 10 tags. Each tag consists of a key-value pair. Tag keys must be unique per resource.

Public Method CreateVolume(CreateVolumeRequest)

Initializes an empty volume of a given size.

Public Method CreateVpc(CreateVpcRequest)

Creates a VPC with the CIDR block you specify. The smallest VPC you can create uses a /28 netmask (16 IP addresses), and the largest uses a /18 netmask (16,384 IP addresses). To help you decide how big to make your VPC, go to the topic about creating VPCs in the Amazon Virtual Private Cloud Developer Guide.

By default, each instance you launch in the VPC has the default DHCP options (the standard EC2 host name, no domain name, no DNS server, no NTP server, and no NetBIOS server or node type).

Public Method CreateVpnConnection(CreateVpnConnectionRequest)

Creates a new VPN connection between an existing VPN gateway and customer gateway. The only supported connection type is ipsec.1.

The response includes information that you need to configure your customer gateway, in XML format. We recommend you use the command line version of this operation ( ec2-create-vpn-connection ), which takes an -f option (for format) and returns configuration information formatted as expected by the vendor you specified, or in a generic, human readable format. For information about the command, go to ec2-create-vpn-connection in the Amazon Virtual Private Cloud Command Line Reference.

IMPORTANT: We strongly recommend you use HTTPS when calling this operation because the response contains sensitive cryptographic information for configuring your customer gateway. If you decide to shut down your VPN connection for any reason and then create a new one, you must re-configure your customer gateway with the new information returned from this call.

Public Method CreateVpnConnectionRoute(CreateVpnConnectionRouteRequest)
Public Method CreateVpnGateway(CreateVpnGatewayRequest)

Creates a new VPN gateway. A VPN gateway is the VPC-side endpoint for your VPN connection. You can create a VPN gateway before creating the VPC itself.

Public Method DeleteCustomerGateway(DeleteCustomerGatewayRequest)

Deletes a customer gateway. You must delete the VPN connection before deleting the customer gateway.

You can have a single active customer gateway per AWS account (active means that you've created a VPN connection with that customer gateway). AWS might delete any customer gateway you leave inactive for an extended period of time.

Public Method DeleteDhcpOptions(DeleteDhcpOptionsRequest)

Deletes a set of DHCP options that you specify. Amazon VPC returns an error if the set of options you specify is currently associated with a VPC. You can disassociate the set of options by associating either a new set of options or the default options with the VPC.

Public Method DeleteInternetGateway(DeleteInternetGatewayRequest)

Deletes an Internet gateway from your AWS account. The gateway must not be attached to a VPC. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.

Public Method DeleteKeyPair(DeleteKeyPairRequest)

The DeleteKeyPair operation deletes a key pair.

Public Method DeleteNetworkAcl(DeleteNetworkAclRequest)

Deletes a network ACL from a VPC. The ACL must not have any subnets associated with it. You can't delete the default network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.

Public Method DeleteNetworkAclEntry(DeleteNetworkAclEntryRequest)

Deletes an ingress or egress entry (i.e., rule) from a network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.

Public Method DeleteNetworkInterface(DeleteNetworkInterfaceRequest)
Public Method DeletePlacementGroup(DeletePlacementGroupRequest)

Deletes a PlacementGroup from a user's account. Terminate all Amazon EC2 instances in the placement group before deletion.

Public Method DeleteRoute(DeleteRouteRequest)

Deletes a route from a route table in a VPC. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.

Public Method DeleteRouteTable(DeleteRouteTableRequest)

Deletes a route table from a VPC. The route table must not be associated with a subnet. You can't delete the main route table. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.

Public Method DeleteSecurityGroup(DeleteSecurityGroupRequest)

The DeleteSecurityGroup operation deletes a security group.

NOTE: If you attempt to delete a security group that contains instances, a fault is returned. If you attempt to delete a security group that is referenced by another security group, a fault is returned. For example, if security group B has a rule that allows access from security group A, security group A cannot be deleted until the allow rule is removed.

Public Method DeleteSecurityGroup()

The DeleteSecurityGroup operation deletes a security group.

NOTE: If you attempt to delete a security group that contains instances, a fault is returned. If you attempt to delete a security group that is referenced by another security group, a fault is returned. For example, if security group B has a rule that allows access from security group A, security group A cannot be deleted until the allow rule is removed.

Public Method DeleteSnapshot(DeleteSnapshotRequest)

Deletes the snapshot identified by snapshotId .

Public Method DeleteSpotDatafeedSubscription(DeleteSpotDatafeedSubscriptionRequest)

Deletes the data feed for Spot Instances.

For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .

Public Method DeleteSpotDatafeedSubscription()

Deletes the data feed for Spot Instances.

For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .

Public Method DeleteSubnet(DeleteSubnetRequest)

Deletes a subnet from a VPC. You must terminate all running instances in the subnet before deleting it, otherwise Amazon VPC returns an error.

Public Method DeleteTags(DeleteTagsRequest)

Deletes tags from the specified Amazon EC2 resources.

Public Method DeleteVolume(DeleteVolumeRequest)

Deletes a previously created volume. Once successfully deleted, a new volume can be created with the same name.

Public Method DeleteVpc(DeleteVpcRequest)

Deletes a VPC. You must detach or delete all gateways or other objects that are dependent on the VPC first. For example, you must terminate all running instances, delete all VPC security groups (except the default), delete all the route tables (except the default), etc.

Public Method DeleteVpnConnection(DeleteVpnConnectionRequest)

Deletes a VPN connection. Use this if you want to delete a VPC and all its associated components. Another reason to use this operation is if you believe the tunnel credentials for your VPN connection have been compromised. In that situation, you can delete the VPN connection and create a new one that has new keys, without needing to delete the VPC or VPN gateway. If you create a new VPN connection, you must reconfigure the customer gateway using the new configuration information returned with the new VPN connection ID.

If you're deleting the VPC and all its associated parts, we recommend you detach the VPN gateway from the VPC and delete the VPC before deleting the VPN connection.

Public Method DeleteVpnConnectionRoute(DeleteVpnConnectionRouteRequest)
Public Method DeleteVpnGateway(DeleteVpnGatewayRequest)

Deletes a VPN gateway. Use this when you want to delete a VPC and all its associated components because you no longer need them. We recommend that before you delete a VPN gateway, you detach it from the VPC and delete the VPN connection. Note that you don't need to delete the VPN gateway if you just want to delete and re-create the VPN connection between your VPC and data center.

Public Method DeregisterImage(DeregisterImageRequest)

The DeregisterImage operation deregisters an AMI. Once deregistered, instances of the AMI can no longer be launched.

Public Method DescribeAccountAttributes(DescribeAccountAttributesRequest)
Public Method DescribeAccountAttributes()
Public Method DescribeAddresses(DescribeAddressesRequest)

The DescribeAddresses operation lists elastic IP addresses assigned to your account.

Public Method DescribeAddresses()

The DescribeAddresses operation lists elastic IP addresses assigned to your account.

Public Method DescribeAvailabilityZones(DescribeAvailabilityZonesRequest)

The DescribeAvailabilityZones operation describes availability zones that are currently available to the account and their states.

Availability zones are not the same across accounts. The availability zone us-east-1a for account A is not necessarily the same as us-east-1a for account B. Zone assignments are mapped independently for each account.

Public Method DescribeAvailabilityZones()

The DescribeAvailabilityZones operation describes availability zones that are currently available to the account and their states.

Availability zones are not the same across accounts. The availability zone us-east-1a for account A is not necessarily the same as us-east-1a for account B. Zone assignments are mapped independently for each account.

Public Method DescribeBundleTasks(DescribeBundleTasksRequest)

The DescribeBundleTasks operation describes in-progress and recent bundle tasks. Complete and failed tasks are removed from the list a short time after completion. If no bundle ids are given, all bundle tasks are returned.

Public Method DescribeBundleTasks()

The DescribeBundleTasks operation describes in-progress and recent bundle tasks. Complete and failed tasks are removed from the list a short time after completion. If no bundle ids are given, all bundle tasks are returned.

Public Method DescribeConversionTasks(DescribeConversionTasksRequest)
Public Method DescribeConversionTasks()
Public Method DescribeCustomerGateways(DescribeCustomerGatewaysRequest)

Gives you information about your customer gateways. You can filter the results to return information only about customer gateways that match criteria you specify. For example, you could ask to get information about a particular customer gateway (or all) only if the gateway's state is pending or available. You can specify multiple filters (e.g., the customer gateway has a particular IP address for the Internet-routable external interface, and the gateway's state is pending or available). The result includes information for a particular customer gateway only if the gateway matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.

Public Method DescribeCustomerGateways()

Gives you information about your customer gateways. You can filter the results to return information only about customer gateways that match criteria you specify. For example, you could ask to get information about a particular customer gateway (or all) only if the gateway's state is pending or available. You can specify multiple filters (e.g., the customer gateway has a particular IP address for the Internet-routable external interface, and the gateway's state is pending or available). The result includes information for a particular customer gateway only if the gateway matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.

Public Method DescribeDhcpOptions(DescribeDhcpOptionsRequest)

Gives you information about one or more sets of DHCP options. You can specify one or more DHCP options set IDs, or no IDs (to describe all your sets of DHCP options). The returned information consists of:

  • The DHCP options set ID
  • The options
Public Method DescribeDhcpOptions()

Gives you information about one or more sets of DHCP options. You can specify one or more DHCP options set IDs, or no IDs (to describe all your sets of DHCP options). The returned information consists of:

  • The DHCP options set ID
  • The options
Public Method DescribeExportTasks(DescribeExportTasksRequest)
Public Method DescribeExportTasks()
Public Method DescribeImageAttribute(DescribeImageAttributeRequest)

The DescribeImageAttribute operation returns information about an attribute of an AMI. Only one attribute can be specified per call.

Public Method DescribeImages(DescribeImagesRequest)

The DescribeImages operation returns information about AMIs, AKIs, and ARIs available to the user. Information returned includes image type, product codes, architecture, and kernel and RAM disk IDs. Images available to the user include public images available for any user to launch, private images owned by the user making the request, and private images owned by other users for which the user has explicit launch permissions.

Launch permissions fall into three categories:

  • Public: The owner of the AMI granted launch permissions for the AMI to the all group. All users have launch permissions for these AMIs.
  • Explicit: The owner of the AMI granted launch permissions to a specific user.
  • Implicit: A user has implicit launch permissions for all AMIs he or she owns.

The list of AMIs returned can be modified by specifying AMI IDs, AMI owners, or users with launch permissions. If no options are specified, Amazon EC2 returns all AMIs for which the user has launch permissions.

If you specify one or more AMI IDs, only AMIs that have the specified IDs are returned. If you specify an invalid AMI ID, a fault is returned. If you specify an AMI ID for which you do not have access, it will not be included in the returned results.

If you specify one or more AMI owners, only AMIs from the specified owners and for which you have access are returned. The results can include the account IDs of the specified owners, amazon for AMIs owned by Amazon or self for AMIs that you own.

If you specify a list of executable users, only users that have launch permissions for the AMIs are returned. You can specify account IDs (if you own the AMI(s)), self for AMIs for which you own or have explicit permissions, or all for public AMIs.

NOTE: Deregistered images are included in the returned results for an unspecified interval after deregistration.

Public Method DescribeImages()

The DescribeImages operation returns information about AMIs, AKIs, and ARIs available to the user. Information returned includes image type, product codes, architecture, and kernel and RAM disk IDs. Images available to the user include public images available for any user to launch, private images owned by the user making the request, and private images owned by other users for which the user has explicit launch permissions.

Launch permissions fall into three categories:

  • Public: The owner of the AMI granted launch permissions for the AMI to the all group. All users have launch permissions for these AMIs.
  • Explicit: The owner of the AMI granted launch permissions to a specific user.
  • Implicit: A user has implicit launch permissions for all AMIs he or she owns.

The list of AMIs returned can be modified by specifying AMI IDs, AMI owners, or users with launch permissions. If no options are specified, Amazon EC2 returns all AMIs for which the user has launch permissions.

If you specify one or more AMI IDs, only AMIs that have the specified IDs are returned. If you specify an invalid AMI ID, a fault is returned. If you specify an AMI ID for which you do not have access, it will not be included in the returned results.

If you specify one or more AMI owners, only AMIs from the specified owners and for which you have access are returned. The results can include the account IDs of the specified owners, amazon for AMIs owned by Amazon or self for AMIs that you own.

If you specify a list of executable users, only users that have launch permissions for the AMIs are returned. You can specify account IDs (if you own the AMI(s)), self for AMIs for which you own or have explicit permissions, or all for public AMIs.

NOTE: Deregistered images are included in the returned results for an unspecified interval after deregistration.

Public Method DescribeInstanceAttribute(DescribeInstanceAttributeRequest)

Returns information about an attribute of an instance. Only one attribute can be specified per call.

Public Method DescribeInstances(DescribeInstancesRequest)

The DescribeInstances operation returns information about instances that you own.

If you specify one or more instance IDs, Amazon EC2 returns information for those instances. If you do not specify instance IDs, Amazon EC2 returns information for all relevant instances. If you specify an invalid instance ID, a fault is returned. If you specify an instance that you do not own, it will not be included in the returned results.

Recently terminated instances might appear in the returned results. This interval is usually less than one hour.

Public Method DescribeInstances()

The DescribeInstances operation returns information about instances that you own.

If you specify one or more instance IDs, Amazon EC2 returns information for those instances. If you do not specify instance IDs, Amazon EC2 returns information for all relevant instances. If you specify an invalid instance ID, a fault is returned. If you specify an instance that you do not own, it will not be included in the returned results.

Recently terminated instances might appear in the returned results. This interval is usually less than one hour.

Public Method DescribeInstanceStatus(DescribeInstanceStatusRequest)

Describes the status of an Amazon Elastic Compute Cloud (Amazon EC2) instance. Instance status provides information about two types of scheduled events for an instance that may require your attention:

  • Scheduled Reboot: When Amazon EC2 determines that an instance must be rebooted, the instance's status will return one of two event codes: system-reboot or instance-reboot . System reboot commonly occurs if certain maintenance or upgrade operations require a reboot of the underlying host that supports an instance. Instance reboot commonly occurs if the instance must be rebooted, rather than the underlying host. Rebooting events include a scheduled start and end time.
  • Scheduled Retirement: When Amazon EC2 determines that an instance must be shut down, the instance's status will return an event code called instance-retirement . Retirement commonly occurs when the underlying host is degraded and must be replaced. Retirement events include a scheduled start and end time. You're also notified by email if one of your instances is set to retiring. The email message indicates when your instance will be permanently retired.

If your instance is permanently retired, it will not be restarted. You can avoid retirement by manually restarting your instance when its event code is instance-retirement . This ensures that your instance is started on a healthy host.

DescribeInstanceStatus returns information only for instances in the running state.

You can filter the results to return information only about instances that match criteria you specify. For example, you could get information about instances in a specific Availability Zone. You can specify multiple values for a filter (e.g., more than one Availability Zone). An instance must match at least one of the specified values for it to be included in the results.

You can specify multiple filters. An instance must match all the filters for it to be included in the results. If there's no match, no special message is returned; the response is simply empty.

You can use wildcards with the filter values: * matches zero or more characters, and ? matches exactly one character. You can escape special characters using a backslash before the character. For example, a value of \*amazon\?\\ searches for the literal string *amazon?\ .

The following filters are available:

  • availability-zone - Filter on an instance's availability zone.
  • instance-state-name - Filter on the intended state of the instance, e.g., running.
  • instance-state-code - Filter on the intended state code of the instance, e.g., 16.
Public Method DescribeInstanceStatus()

Describes the status of an Amazon Elastic Compute Cloud (Amazon EC2) instance. Instance status provides information about two types of scheduled events for an instance that may require your attention:

  • Scheduled Reboot: When Amazon EC2 determines that an instance must be rebooted, the instance's status will return one of two event codes: system-reboot or instance-reboot . System reboot commonly occurs if certain maintenance or upgrade operations require a reboot of the underlying host that supports an instance. Instance reboot commonly occurs if the instance must be rebooted, rather than the underlying host. Rebooting events include a scheduled start and end time.
  • Scheduled Retirement: When Amazon EC2 determines that an instance must be shut down, the instance's status will return an event code called instance-retirement . Retirement commonly occurs when the underlying host is degraded and must be replaced. Retirement events include a scheduled start and end time. You're also notified by email if one of your instances is set to retiring. The email message indicates when your instance will be permanently retired.

If your instance is permanently retired, it will not be restarted. You can avoid retirement by manually restarting your instance when its event code is instance-retirement . This ensures that your instance is started on a healthy host.

DescribeInstanceStatus returns information only for instances in the running state.

You can filter the results to return information only about instances that match criteria you specify. For example, you could get information about instances in a specific Availability Zone. You can specify multiple values for a filter (e.g., more than one Availability Zone). An instance must match at least one of the specified values for it to be included in the results.

You can specify multiple filters. An instance must match all the filters for it to be included in the results. If there's no match, no special message is returned; the response is simply empty.

You can use wildcards with the filter values: * matches zero or more characters, and ? matches exactly one character. You can escape special characters using a backslash before the character. For example, a value of \*amazon\?\\ searches for the literal string *amazon?\ .

The following filters are available:

  • availability-zone - Filter on an instance's availability zone.
  • instance-state-name - Filter on the intended state of the instance, e.g., running.
  • instance-state-code - Filter on the intended state code of the instance, e.g., 16.
Public Method DescribeInternetGateways()

Gives you information about your Internet gateways. You can filter the results to return information only about Internet gateways that match criteria you specify. For example, you could get information only about gateways with particular tags. The Internet gateway must match at least one of the specified values for it to be included in the results.

You can specify multiple filters (e.g., the Internet gateway is attached to a particular VPC and is tagged with a particular value). The result includes information for a particular Internet gateway only if the gateway matches all your filters. If there's no match, no special message is returned; the response is simply empty.

You can use wildcards with the filter values: an asterisk matches zero or more characters, and ? matches exactly one character. You can escape special characters using a backslash before the character. For example, a value of \*amazon\?\\ searches for the literal string *amazon?\ .

Public Method DescribeInternetGateways(DescribeInternetGatewaysRequest)

Gives you information about your Internet gateways. You can filter the results to return information only about Internet gateways that match criteria you specify. For example, you could get information only about gateways with particular tags. The Internet gateway must match at least one of the specified values for it to be included in the results.

You can specify multiple filters (e.g., the Internet gateway is attached to a particular VPC and is tagged with a particular value). The result includes information for a particular Internet gateway only if the gateway matches all your filters. If there's no match, no special message is returned; the response is simply empty.

You can use wildcards with the filter values: an asterisk matches zero or more characters, and ? matches exactly one character. You can escape special characters using a backslash before the character. For example, a value of \*amazon\?\\ searches for the literal string *amazon?\ .

Public Method DescribeKeyPairs(DescribeKeyPairsRequest)

The DescribeKeyPairs operation returns information about key pairs available to you. If you specify key pairs, information about those key pairs is returned. Otherwise, information for all registered key pairs is returned.

Public Method DescribeKeyPairs()

The DescribeKeyPairs operation returns information about key pairs available to you. If you specify key pairs, information about those key pairs is returned. Otherwise, information for all registered key pairs is returned.

Public Method DescribeNetworkAcls(DescribeNetworkAclsRequest)

Gives you information about the network ACLs in your VPC. You can filter the results to return information only about ACLs that match criteria you specify. For example, you could get information only the ACL associated with a particular subnet. The ACL must match at least one of the specified values for it to be included in the results.

You can specify multiple filters (e.g., the ACL is associated with a particular subnet and has an egress entry that denies traffic to a particular port). The result includes information for a particular ACL only if it matches all your filters. If there's no match, no special message is returned; the response is simply empty.

You can use wildcards with the filter values: an asterisk matches zero or more characters, and ? matches exactly one character. You can escape special characters using a backslash before the character. For example, a value of \*amazon\?\\ searches for the literal string *amazon?\ .

Public Method DescribeNetworkAcls()

Gives you information about the network ACLs in your VPC. You can filter the results to return information only about ACLs that match criteria you specify. For example, you could get information only the ACL associated with a particular subnet. The ACL must match at least one of the specified values for it to be included in the results.

You can specify multiple filters (e.g., the ACL is associated with a particular subnet and has an egress entry that denies traffic to a particular port). The result includes information for a particular ACL only if it matches all your filters. If there's no match, no special message is returned; the response is simply empty.

You can use wildcards with the filter values: an asterisk matches zero or more characters, and ? matches exactly one character. You can escape special characters using a backslash before the character. For example, a value of \*amazon\?\\ searches for the literal string *amazon?\ .

Public Method DescribeNetworkInterfaceAttribute(DescribeNetworkInterfaceAttributeRequest)
Public Method DescribeNetworkInterfaces(DescribeNetworkInterfacesRequest)
Public Method DescribeNetworkInterfaces()
Public Method DescribePlacementGroups(DescribePlacementGroupsRequest)

Returns information about one or more PlacementGroup instances in a user's account.

Public Method DescribePlacementGroups()

Returns information about one or more PlacementGroup instances in a user's account.

Public Method DescribeRegions(DescribeRegionsRequest)

The DescribeRegions operation describes regions zones that are currently available to the account.

Public Method DescribeRegions()

The DescribeRegions operation describes regions zones that are currently available to the account.

Public Method DescribeReservedInstances(DescribeReservedInstancesRequest)

The DescribeReservedInstances operation describes Reserved Instances that were purchased for use with your account.

Public Method DescribeReservedInstances()

The DescribeReservedInstances operation describes Reserved Instances that were purchased for use with your account.

Public Method DescribeReservedInstancesListings(DescribeReservedInstancesListingsRequest)
Public Method DescribeReservedInstancesListings()
Public Method DescribeReservedInstancesOfferings(DescribeReservedInstancesOfferingsRequest)

The DescribeReservedInstancesOfferings operation describes Reserved Instance offerings that are available for purchase. With Amazon EC2 Reserved Instances, you purchase the right to launch Amazon EC2 instances for a period of time (without getting insufficient capacity errors) and pay a lower usage rate for the actual time used.

Public Method DescribeReservedInstancesOfferings()

The DescribeReservedInstancesOfferings operation describes Reserved Instance offerings that are available for purchase. With Amazon EC2 Reserved Instances, you purchase the right to launch Amazon EC2 instances for a period of time (without getting insufficient capacity errors) and pay a lower usage rate for the actual time used.

Public Method DescribeRouteTables(DescribeRouteTablesRequest)

Gives you information about your route tables. You can filter the results to return information only about tables that match criteria you specify. For example, you could get information only about a table associated with a particular subnet. You can specify multiple values for the filter. The table must match at least one of the specified values for it to be included in the results.

You can specify multiple filters (e.g., the table has a particular route, and is associated with a particular subnet). The result includes information for a particular table only if it matches all your filters. If there's no match, no special message is returned; the response is simply empty.

You can use wildcards with the filter values: an asterisk matches zero or more characters, and ? matches exactly one character. You can escape special characters using a backslash before the character. For example, a value of \*amazon\?\\ searches for the literal string *amazon?\ .

Public Method DescribeRouteTables()

Gives you information about your route tables. You can filter the results to return information only about tables that match criteria you specify. For example, you could get information only about a table associated with a particular subnet. You can specify multiple values for the filter. The table must match at least one of the specified values for it to be included in the results.

You can specify multiple filters (e.g., the table has a particular route, and is associated with a particular subnet). The result includes information for a particular table only if it matches all your filters. If there's no match, no special message is returned; the response is simply empty.

You can use wildcards with the filter values: an asterisk matches zero or more characters, and ? matches exactly one character. You can escape special characters using a backslash before the character. For example, a value of \*amazon\?\\ searches for the literal string *amazon?\ .

Public Method DescribeSecurityGroups(DescribeSecurityGroupsRequest)

The DescribeSecurityGroups operation returns information about security groups that you own.

If you specify security group names, information about those security group is returned. Otherwise, information for all security group is returned. If you specify a group that does not exist, a fault is returned.

Public Method DescribeSecurityGroups()

The DescribeSecurityGroups operation returns information about security groups that you own.

If you specify security group names, information about those security group is returned. Otherwise, information for all security group is returned. If you specify a group that does not exist, a fault is returned.

Public Method DescribeSnapshotAttribute(DescribeSnapshotAttributeRequest)

Returns information about an attribute of a snapshot. Only one attribute can be specified per call.

Public Method DescribeSnapshots(DescribeSnapshotsRequest)

Returns information about the Amazon EBS snapshots available to you. Snapshots available to you include public snapshots available for any AWS account to launch, private snapshots you own, and private snapshots owned by another AWS account but for which you've been given explicit create volume permissions.

Public Method DescribeSnapshots()

Returns information about the Amazon EBS snapshots available to you. Snapshots available to you include public snapshots available for any AWS account to launch, private snapshots you own, and private snapshots owned by another AWS account but for which you've been given explicit create volume permissions.

Public Method DescribeSpotDatafeedSubscription(DescribeSpotDatafeedSubscriptionRequest)

Describes the data feed for Spot Instances.

For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .

Public Method DescribeSpotDatafeedSubscription()

Describes the data feed for Spot Instances.

For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .

Public Method DescribeSpotInstanceRequests(DescribeSpotInstanceRequestsRequest)

Describes Spot Instance requests. Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests. For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide.

You can filter the results to return information only about Spot Instance requests that match criteria you specify. For example, you could get information about requests where the Spot Price you specified is a certain value (you can't use greater than or less than comparison, but you can use * and ? wildcards). You can specify multiple values for a filter. A Spot Instance request must match at least one of the specified values for it to be included in the results.

You can specify multiple filters (e.g., the Spot Price is equal to a particular value, and the instance type is m1.small ). The result includes information for a particular request only if it matches all your filters. If there's no match, no special message is returned; the response is simply empty.

You can use wildcards with the filter values: an asterisk matches zero or more characters, and ? matches exactly one character. You can escape special characters using a backslash before the character. For example, a value of \*amazon\?\\ searches for the literal string *amazon?\ .

Public Method DescribeSpotInstanceRequests()

Describes Spot Instance requests. Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests. For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide.

You can filter the results to return information only about Spot Instance requests that match criteria you specify. For example, you could get information about requests where the Spot Price you specified is a certain value (you can't use greater than or less than comparison, but you can use * and ? wildcards). You can specify multiple values for a filter. A Spot Instance request must match at least one of the specified values for it to be included in the results.

You can specify multiple filters (e.g., the Spot Price is equal to a particular value, and the instance type is m1.small ). The result includes information for a particular request only if it matches all your filters. If there's no match, no special message is returned; the response is simply empty.

You can use wildcards with the filter values: an asterisk matches zero or more characters, and ? matches exactly one character. You can escape special characters using a backslash before the character. For example, a value of \*amazon\?\\ searches for the literal string *amazon?\ .

Public Method DescribeSpotPriceHistory(DescribeSpotPriceHistoryRequest)

Describes the Spot Price history.

Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests.

For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .

Public Method DescribeSpotPriceHistory()

Describes the Spot Price history.

Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests.

For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide .

Public Method DescribeSubnets(DescribeSubnetsRequest)

Gives you information about your subnets. You can filter the results to return information only about subnets that match criteria you specify.

For example, you could ask to get information about a particular subnet (or all) only if the subnet's state is available. You can specify multiple filters (e.g., the subnet is in a particular VPC, and the subnet's state is available).

The result includes information for a particular subnet only if the subnet matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.

Public Method DescribeSubnets()

Gives you information about your subnets. You can filter the results to return information only about subnets that match criteria you specify.

For example, you could ask to get information about a particular subnet (or all) only if the subnet's state is available. You can specify multiple filters (e.g., the subnet is in a particular VPC, and the subnet's state is available).

The result includes information for a particular subnet only if the subnet matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.

Public Method DescribeTags(DescribeTagsRequest)

Describes the tags for the specified resources.

Public Method DescribeTags()

Describes the tags for the specified resources.

Public Method DescribeVolumeAttribute(DescribeVolumeAttributeRequest)
Public Method DescribeVolumes(DescribeVolumesRequest)

Describes the status of the indicated volume or, in lieu of any specified, all volumes belonging to the caller. Volumes that have been deleted are not described.

Public Method DescribeVolumes()

Describes the status of the indicated volume or, in lieu of any specified, all volumes belonging to the caller. Volumes that have been deleted are not described.

Public Method DescribeVolumeStatus(DescribeVolumeStatusRequest)

Describes the status of a volume.

Public Method DescribeVolumeStatus()

Describes the status of a volume.

Public Method DescribeVpcAttribute(DescribeVpcAttributeRequest)
Public Method DescribeVpcs(DescribeVpcsRequest)

Gives you information about your VPCs. You can filter the results to return information only about VPCs that match criteria you specify.

For example, you could ask to get information about a particular VPC or VPCs (or all your VPCs) only if the VPC's state is available. You can specify multiple filters (e.g., the VPC uses one of several sets of DHCP options, and the VPC's state is available). The result includes information for a particular VPC only if the VPC matches all your filters.

If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.

Public Method DescribeVpcs()

Gives you information about your VPCs. You can filter the results to return information only about VPCs that match criteria you specify.

For example, you could ask to get information about a particular VPC or VPCs (or all your VPCs) only if the VPC's state is available. You can specify multiple filters (e.g., the VPC uses one of several sets of DHCP options, and the VPC's state is available). The result includes information for a particular VPC only if the VPC matches all your filters.

If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.

Public Method DescribeVpnConnections()

Gives you information about your VPN connections.

IMPORTANT: We strongly recommend you use HTTPS when calling this operation because the response contains sensitive cryptographic information for configuring your customer gateway. You can filter the results to return information only about VPN connections that match criteria you specify. For example, you could ask to get information about a particular VPN connection (or all) only if the VPN's state is pending or available. You can specify multiple filters (e.g., the VPN connection is associated with a particular VPN gateway, and the gateway's state is pending or available). The result includes information for a particular VPN connection only if the VPN connection matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.

Public Method DescribeVpnConnections(DescribeVpnConnectionsRequest)

Gives you information about your VPN connections.

IMPORTANT: We strongly recommend you use HTTPS when calling this operation because the response contains sensitive cryptographic information for configuring your customer gateway. You can filter the results to return information only about VPN connections that match criteria you specify. For example, you could ask to get information about a particular VPN connection (or all) only if the VPN's state is pending or available. You can specify multiple filters (e.g., the VPN connection is associated with a particular VPN gateway, and the gateway's state is pending or available). The result includes information for a particular VPN connection only if the VPN connection matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.

Public Method DescribeVpnGateways(DescribeVpnGatewaysRequest)

Gives you information about your VPN gateways. You can filter the results to return information only about VPN gateways that match criteria you specify.

For example, you could ask to get information about a particular VPN gateway (or all) only if the gateway's state is pending or available. You can specify multiple filters (e.g., the VPN gateway is in a particular Availability Zone and the gateway's state is pending or available).

The result includes information for a particular VPN gateway only if the gateway matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.

Public Method DescribeVpnGateways()

Gives you information about your VPN gateways. You can filter the results to return information only about VPN gateways that match criteria you specify.

For example, you could ask to get information about a particular VPN gateway (or all) only if the gateway's state is pending or available. You can specify multiple filters (e.g., the VPN gateway is in a particular Availability Zone and the gateway's state is pending or available).

The result includes information for a particular VPN gateway only if the gateway matches all your filters. If there's no match, no special message is returned; the response is simply empty. The following table shows the available filters.

Public Method DetachInternetGateway(DetachInternetGatewayRequest)

Detaches an Internet gateway from a VPC, disabling connectivity between the Internet and the VPC. The VPC must not contain any running instances with elastic IP addresses. For more information about your VPC and Internet gateway, go to Amazon Virtual Private Cloud User Guide.

For more information about Amazon Virtual Private Cloud and Internet gateways, go to the Amazon Virtual Private Cloud User Guide.

Public Method DetachNetworkInterface(DetachNetworkInterfaceRequest)
Public Method DetachVolume(DetachVolumeRequest)

Detach a previously attached volume from a running instance.

Public Method DetachVpnGateway(DetachVpnGatewayRequest)

Detaches a VPN gateway from a VPC. You do this if you're planning to turn off the VPC and not use it anymore. You can confirm a VPN gateway has been completely detached from a VPC by describing the VPN gateway (any attachments to the VPN gateway are also described).

You must wait for the attachment's state to switch to detached before you can delete the VPC or attach a different VPC to the VPN gateway.

Public Method DisableVgwRoutePropagation(DisableVgwRoutePropagationRequest)
Public Method DisassociateAddress(DisassociateAddressRequest)

The DisassociateAddress operation disassociates the specified elastic IP address from the instance to which it is assigned. This is an idempotent operation. If you enter it more than once, Amazon EC2 does not return an error.

Public Method DisassociateAddress()

The DisassociateAddress operation disassociates the specified elastic IP address from the instance to which it is assigned. This is an idempotent operation. If you enter it more than once, Amazon EC2 does not return an error.

Public Method DisassociateRouteTable(DisassociateRouteTableRequest)

Disassociates a subnet from a route table.

After you perform this action, the subnet no longer uses the routes in the route table. Instead it uses the routes in the VPC's main route table. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.

Public Method Dispose() Disposes of all managed and unmanaged resources.
Public Method EnableVgwRoutePropagation(EnableVgwRoutePropagationRequest)
Public Method EnableVolumeIO(EnableVolumeIORequest)

Enable IO on the volume after an event has occured.

Public Method EndAllocateAddress(IAsyncResult) Finishes the asynchronous execution of the AllocateAddress operation.
Public Method EndAssignPrivateIpAddresses(IAsyncResult) Finishes the asynchronous execution of the AssignPrivateIpAddresses operation.
Public Method EndAssociateAddress(IAsyncResult) Finishes the asynchronous execution of the AssociateAddress operation.
Public Method EndAssociateDhcpOptions(IAsyncResult) Finishes the asynchronous execution of the AssociateDhcpOptions operation.
Public Method EndAssociateRouteTable(IAsyncResult) Finishes the asynchronous execution of the AssociateRouteTable operation.
Public Method EndAttachInternetGateway(IAsyncResult) Finishes the asynchronous execution of the AttachInternetGateway operation.
Public Method EndAttachNetworkInterface(IAsyncResult) Finishes the asynchronous execution of the AttachNetworkInterface operation.
Public Method EndAttachVolume(IAsyncResult) Finishes the asynchronous execution of the AttachVolume operation.
Public Method EndAttachVpnGateway(IAsyncResult) Finishes the asynchronous execution of the AttachVpnGateway operation.
Public Method EndAuthorizeSecurityGroupEgress(IAsyncResult) Finishes the asynchronous execution of the AuthorizeSecurityGroupEgress operation.
Public Method EndAuthorizeSecurityGroupIngress(IAsyncResult) Finishes the asynchronous execution of the AuthorizeSecurityGroupIngress operation.
Public Method EndBundleInstance(IAsyncResult) Finishes the asynchronous execution of the BundleInstance operation.
Public Method EndCancelBundleTask(IAsyncResult) Finishes the asynchronous execution of the CancelBundleTask operation.
Public Method EndCancelConversionTask(IAsyncResult) Finishes the asynchronous execution of the CancelConversionTask operation.
Public Method EndCancelExportTask(IAsyncResult) Finishes the asynchronous execution of the CancelExportTask operation.
Public Method EndCancelReservedInstancesListing(IAsyncResult) Finishes the asynchronous execution of the CancelReservedInstancesListing operation.
Public Method EndCancelSpotInstanceRequests(IAsyncResult) Finishes the asynchronous execution of the CancelSpotInstanceRequests operation.
Public Method EndConfirmProductInstance(IAsyncResult) Finishes the asynchronous execution of the ConfirmProductInstance operation.
Public Method EndCopyImage(IAsyncResult) Finishes the asynchronous execution of the CopyImage operation.
Public Method EndCopySnapshot(IAsyncResult) Finishes the asynchronous execution of the CopySnapshot operation.
Public Method EndCreateCustomerGateway(IAsyncResult) Finishes the asynchronous execution of the CreateCustomerGateway operation.
Public Method EndCreateDhcpOptions(IAsyncResult) Finishes the asynchronous execution of the CreateDhcpOptions operation.
Public Method EndCreateImage(IAsyncResult) Finishes the asynchronous execution of the CreateImage operation.
Public Method EndCreateInstanceExportTask(IAsyncResult) Finishes the asynchronous execution of the CreateInstanceExportTask operation.
Public Method EndCreateInternetGateway(IAsyncResult) Finishes the asynchronous execution of the CreateInternetGateway operation.
Public Method EndCreateKeyPair(IAsyncResult) Finishes the asynchronous execution of the CreateKeyPair operation.
Public Method EndCreateNetworkAcl(IAsyncResult) Finishes the asynchronous execution of the CreateNetworkAcl operation.
Public Method EndCreateNetworkAclEntry(IAsyncResult) Finishes the asynchronous execution of the CreateNetworkAclEntry operation.
Public Method EndCreateNetworkInterface(IAsyncResult) Finishes the asynchronous execution of the CreateNetworkInterface operation.
Public Method EndCreatePlacementGroup(IAsyncResult) Finishes the asynchronous execution of the CreatePlacementGroup operation.
Public Method EndCreateReservedInstancesListing(IAsyncResult) Finishes the asynchronous execution of the CreateReservedInstancesListing operation.
Public Method EndCreateRoute(IAsyncResult) Finishes the asynchronous execution of the CreateRoute operation.
Public Method EndCreateRouteTable(IAsyncResult) Finishes the asynchronous execution of the CreateRouteTable operation.
Public Method EndCreateSecurityGroup(IAsyncResult) Finishes the asynchronous execution of the CreateSecurityGroup operation.
Public Method EndCreateSnapshot(IAsyncResult) Finishes the asynchronous execution of the CreateSnapshot operation.
Public Method EndCreateSpotDatafeedSubscription(IAsyncResult) Finishes the asynchronous execution of the CreateSpotDatafeedSubscription operation.
Public Method EndCreateSubnet(IAsyncResult) Finishes the asynchronous execution of the CreateSubnet operation.
Public Method EndCreateTags(IAsyncResult) Finishes the asynchronous execution of the CreateTags operation.
Public Method EndCreateVolume(IAsyncResult) Finishes the asynchronous execution of the CreateVolume operation.
Public Method EndCreateVpc(IAsyncResult) Finishes the asynchronous execution of the CreateVpc operation.
Public Method EndCreateVpnConnection(IAsyncResult) Finishes the asynchronous execution of the CreateVpnConnection operation.
Public Method EndCreateVpnConnectionRoute(IAsyncResult) Finishes the asynchronous execution of the CreateVpnConnectionRoute operation.
Public Method EndCreateVpnGateway(IAsyncResult) Finishes the asynchronous execution of the CreateVpnGateway operation.
Public Method EndDeleteCustomerGateway(IAsyncResult) Finishes the asynchronous execution of the DeleteCustomerGateway operation.
Public Method EndDeleteDhcpOptions(IAsyncResult) Finishes the asynchronous execution of the DeleteDhcpOptions operation.
Public Method EndDeleteInternetGateway(IAsyncResult) Finishes the asynchronous execution of the DeleteInternetGateway operation.
Public Method EndDeleteKeyPair(IAsyncResult) Finishes the asynchronous execution of the DeleteKeyPair operation.
Public Method EndDeleteNetworkAcl(IAsyncResult) Finishes the asynchronous execution of the DeleteNetworkAcl operation.
Public Method EndDeleteNetworkAclEntry(IAsyncResult) Finishes the asynchronous execution of the DeleteNetworkAclEntry operation.
Public Method EndDeleteNetworkInterface(IAsyncResult) Finishes the asynchronous execution of the DeleteNetworkInterface operation.
Public Method EndDeletePlacementGroup(IAsyncResult) Finishes the asynchronous execution of the DeletePlacementGroup operation.
Public Method EndDeleteRoute(IAsyncResult) Finishes the asynchronous execution of the DeleteRoute operation.
Public Method EndDeleteRouteTable(IAsyncResult) Finishes the asynchronous execution of the DeleteRouteTable operation.
Public Method EndDeleteSecurityGroup(IAsyncResult) Finishes the asynchronous execution of the DeleteSecurityGroup operation.
Public Method EndDeleteSnapshot(IAsyncResult) Finishes the asynchronous execution of the DeleteSnapshot operation.
Public Method EndDeleteSpotDatafeedSubscription(IAsyncResult) Finishes the asynchronous execution of the DeleteSpotDatafeedSubscription operation.
Public Method EndDeleteSubnet(IAsyncResult) Finishes the asynchronous execution of the DeleteSubnet operation.
Public Method EndDeleteTags(IAsyncResult) Finishes the asynchronous execution of the DeleteTags operation.
Public Method EndDeleteVolume(IAsyncResult) Finishes the asynchronous execution of the DeleteVolume operation.
Public Method EndDeleteVpc(IAsyncResult) Finishes the asynchronous execution of the DeleteVpc operation.
Public Method EndDeleteVpnConnection(IAsyncResult) Finishes the asynchronous execution of the DeleteVpnConnection operation.
Public Method EndDeleteVpnConnectionRoute(IAsyncResult) Finishes the asynchronous execution of the DeleteVpnConnectionRoute operation.
Public Method EndDeleteVpnGateway(IAsyncResult) Finishes the asynchronous execution of the DeleteVpnGateway operation.
Public Method EndDeregisterImage(IAsyncResult) Finishes the asynchronous execution of the DeregisterImage operation.
Public Method EndDescribeAccountAttributes(IAsyncResult) Finishes the asynchronous execution of the DescribeAccountAttributes operation.
Public Method EndDescribeAddresses(IAsyncResult) Finishes the asynchronous execution of the DescribeAddresses operation.
Public Method EndDescribeAvailabilityZones(IAsyncResult) Finishes the asynchronous execution of the DescribeAvailabilityZones operation.
Public Method EndDescribeBundleTasks(IAsyncResult) Finishes the asynchronous execution of the DescribeBundleTasks operation.
Public Method EndDescribeConversionTasks(IAsyncResult) Finishes the asynchronous execution of the DescribeConversionTasks operation.
Public Method EndDescribeCustomerGateways(IAsyncResult) Finishes the asynchronous execution of the DescribeCustomerGateways operation.
Public Method EndDescribeDhcpOptions(IAsyncResult) Finishes the asynchronous execution of the DescribeDhcpOptions operation.
Public Method EndDescribeExportTasks(IAsyncResult) Finishes the asynchronous execution of the DescribeExportTasks operation.
Public Method EndDescribeImageAttribute(IAsyncResult) Finishes the asynchronous execution of the DescribeImageAttribute operation.
Public Method EndDescribeImages(IAsyncResult) Finishes the asynchronous execution of the DescribeImages operation.
Public Method EndDescribeInstanceAttribute(IAsyncResult) Finishes the asynchronous execution of the DescribeInstanceAttribute operation.
Public Method EndDescribeInstances(IAsyncResult) Finishes the asynchronous execution of the DescribeInstances operation.
Public Method EndDescribeInstanceStatus(IAsyncResult) Finishes the asynchronous execution of the DescribeInstanceStatus operation.
Public Method EndDescribeInternetGateways(IAsyncResult) Finishes the asynchronous execution of the DescribeInternetGateways operation.
Public Method EndDescribeKeyPairs(IAsyncResult) Finishes the asynchronous execution of the DescribeKeyPairs operation.
Public Method EndDescribeNetworkAcls(IAsyncResult) Finishes the asynchronous execution of the DescribeNetworkAcls operation.
Public Method EndDescribeNetworkInterfaceAttribute(IAsyncResult) Finishes the asynchronous execution of the DescribeNetworkInterfaceAttribute operation.
Public Method EndDescribeNetworkInterfaces(IAsyncResult) Finishes the asynchronous execution of the DescribeNetworkInterfaces operation.
Public Method EndDescribePlacementGroups(IAsyncResult) Finishes the asynchronous execution of the DescribePlacementGroups operation.
Public Method EndDescribeRegions(IAsyncResult) Finishes the asynchronous execution of the DescribeRegions operation.
Public Method EndDescribeReservedInstances(IAsyncResult) Finishes the asynchronous execution of the DescribeReservedInstances operation.
Public Method EndDescribeReservedInstancesListings(IAsyncResult) Finishes the asynchronous execution of the DescribeReservedInstancesListings operation.
Public Method EndDescribeReservedInstancesOfferings(IAsyncResult) Finishes the asynchronous execution of the DescribeReservedInstancesOfferings operation.
Public Method EndDescribeRouteTables(IAsyncResult) Finishes the asynchronous execution of the DescribeRouteTables operation.
Public Method EndDescribeSecurityGroups(IAsyncResult) Finishes the asynchronous execution of the DescribeSecurityGroups operation.
Public Method EndDescribeSnapshotAttribute(IAsyncResult) Finishes the asynchronous execution of the DescribeSnapshotAttribute operation.
Public Method EndDescribeSnapshots(IAsyncResult) Finishes the asynchronous execution of the DescribeSnapshots operation.
Public Method EndDescribeSpotDatafeedSubscription(IAsyncResult) Finishes the asynchronous execution of the DescribeSpotDatafeedSubscription operation.
Public Method EndDescribeSpotInstanceRequests(IAsyncResult) Finishes the asynchronous execution of the DescribeSpotInstanceRequests operation.
Public Method EndDescribeSpotPriceHistory(IAsyncResult) Finishes the asynchronous execution of the DescribeSpotPriceHistory operation.
Public Method EndDescribeSubnets(IAsyncResult) Finishes the asynchronous execution of the DescribeSubnets operation.
Public Method EndDescribeTags(IAsyncResult) Finishes the asynchronous execution of the DescribeTags operation.
Public Method EndDescribeVolumeAttribute(IAsyncResult) Finishes the asynchronous execution of the DescribeVolumeAttribute operation.
Public Method EndDescribeVolumes(IAsyncResult) Finishes the asynchronous execution of the DescribeVolumes operation.
Public Method EndDescribeVolumeStatus(IAsyncResult) Finishes the asynchronous execution of the DescribeVolumeStatus operation.
Public Method EndDescribeVpcAttribute(IAsyncResult) Finishes the asynchronous execution of the DescribeVpcAttribute operation.
Public Method EndDescribeVpcs(IAsyncResult) Finishes the asynchronous execution of the DescribeVpcs operation.
Public Method EndDescribeVpnConnections(IAsyncResult) Finishes the asynchronous execution of the DescribeVpnConnections operation.
Public Method EndDescribeVpnGateways(IAsyncResult) Finishes the asynchronous execution of the DescribeVpnGateways operation.
Public Method EndDetachInternetGateway(IAsyncResult) Finishes the asynchronous execution of the DetachInternetGateway operation.
Public Method EndDetachNetworkInterface(IAsyncResult) Finishes the asynchronous execution of the DetachNetworkInterface operation.
Public Method EndDetachVolume(IAsyncResult) Finishes the asynchronous execution of the DetachVolume operation.
Public Method EndDetachVpnGateway(IAsyncResult) Finishes the asynchronous execution of the DetachVpnGateway operation.
Public Method EndDisableVgwRoutePropagation(IAsyncResult) Finishes the asynchronous execution of the DisableVgwRoutePropagation operation.
Public Method EndDisassociateAddress(IAsyncResult) Finishes the asynchronous execution of the DisassociateAddress operation.
Public Method EndDisassociateRouteTable(IAsyncResult) Finishes the asynchronous execution of the DisassociateRouteTable operation.
Public Method EndEnableVgwRoutePropagation(IAsyncResult) Finishes the asynchronous execution of the EnableVgwRoutePropagation operation.
Public Method EndEnableVolumeIO(IAsyncResult) Finishes the asynchronous execution of the EnableVolumeIO operation.
Public Method EndGetConsoleOutput(IAsyncResult) Finishes the asynchronous execution of the GetConsoleOutput operation.
Public Method EndGetPasswordData(IAsyncResult) Finishes the asynchronous execution of the GetPasswordData operation.
Public Method EndImportInstance(IAsyncResult) Finishes the asynchronous execution of the ImportInstance operation.
Public Method EndImportKeyPair(IAsyncResult) Finishes the asynchronous execution of the ImportKeyPair operation.
Public Method EndImportVolume(IAsyncResult) Finishes the asynchronous execution of the ImportVolume operation.
Public Method EndModifyImageAttribute(IAsyncResult) Finishes the asynchronous execution of the ModifyImageAttribute operation.
Public Method EndModifyInstanceAttribute(IAsyncResult) Finishes the asynchronous execution of the ModifyInstanceAttribute operation.
Public Method EndModifyNetworkInterfaceAttribute(IAsyncResult) Finishes the asynchronous execution of the ModifyNetworkInterfaceAttribute operation.
Public Method EndModifySnapshotAttribute(IAsyncResult) Finishes the asynchronous execution of the ModifySnapshotAttribute operation.
Public Method EndModifyVolumeAttribute(IAsyncResult) Finishes the asynchronous execution of the ModifyVolumeAttribute operation.
Public Method EndModifyVpcAttribute(IAsyncResult) Finishes the asynchronous execution of the ModifyVpcAttribute operation.
Public Method EndMonitorInstances(IAsyncResult) Finishes the asynchronous execution of the MonitorInstances operation.
Public Method EndPurchaseReservedInstancesOffering(IAsyncResult) Finishes the asynchronous execution of the PurchaseReservedInstancesOffering operation.
Public Method EndRebootInstances(IAsyncResult) Finishes the asynchronous execution of the RebootInstances operation.
Public Method EndRegisterImage(IAsyncResult) Finishes the asynchronous execution of the RegisterImage operation.
Public Method EndReleaseAddress(IAsyncResult) Finishes the asynchronous execution of the ReleaseAddress operation.
Public Method EndReplaceNetworkAclAssociation(IAsyncResult) Finishes the asynchronous execution of the ReplaceNetworkAclAssociation operation.
Public Method EndReplaceNetworkAclEntry(IAsyncResult) Finishes the asynchronous execution of the ReplaceNetworkAclEntry operation.
Public Method EndReplaceRoute(IAsyncResult) Finishes the asynchronous execution of the ReplaceRoute operation.
Public Method EndReplaceRouteTableAssociation(IAsyncResult) Finishes the asynchronous execution of the ReplaceRouteTableAssociation operation.
Public Method EndReportInstanceStatus(IAsyncResult) Finishes the asynchronous execution of the ReportInstanceStatus operation.
Public Method EndRequestSpotInstances(IAsyncResult) Finishes the asynchronous execution of the RequestSpotInstances operation.
Public Method EndResetImageAttribute(IAsyncResult) Finishes the asynchronous execution of the ResetImageAttribute operation.
Public Method EndResetInstanceAttribute(IAsyncResult) Finishes the asynchronous execution of the ResetInstanceAttribute operation.
Public Method EndResetNetworkInterfaceAttribute(IAsyncResult) Finishes the asynchronous execution of the ResetNetworkInterfaceAttribute operation.
Public Method EndResetSnapshotAttribute(IAsyncResult) Finishes the asynchronous execution of the ResetSnapshotAttribute operation.
Public Method EndRevokeSecurityGroupEgress(IAsyncResult) Finishes the asynchronous execution of the RevokeSecurityGroupEgress operation.
Public Method EndRevokeSecurityGroupIngress(IAsyncResult) Finishes the asynchronous execution of the RevokeSecurityGroupIngress operation.
Public Method EndRunInstances(IAsyncResult) Finishes the asynchronous execution of the RunInstances operation.
Public Method EndStartInstances(IAsyncResult) Finishes the asynchronous execution of the StartInstances operation.
Public Method EndStopInstances(IAsyncResult) Finishes the asynchronous execution of the StopInstances operation.
Public Method EndTerminateInstances(IAsyncResult) Finishes the asynchronous execution of the TerminateInstances operation.
Public Method EndUnassignPrivateIpAddresses(IAsyncResult) Finishes the asynchronous execution of the UnassignPrivateIpAddresses operation.
Public Method EndUnmonitorInstances(IAsyncResult) Finishes the asynchronous execution of the UnmonitorInstances operation.
Public Method GetConsoleOutput(GetConsoleOutputRequest)

The GetConsoleOutput operation retrieves console output for the specified instance.

Instance console output is buffered and posted shortly after instance boot, reboot, and termination. Amazon EC2 preserves the most recent 64 KB output which will be available for at least one hour after the most recent post.

Public Method GetPasswordData(GetPasswordDataRequest)

Retrieves the encrypted administrator password for the instances running Windows.

NOTE: The Windows password is only generated the first time an AMI is launched. It is not generated for rebundled AMIs or after the password is changed on an instance. The password is encrypted using the key pair that you provided.

Public Method ImportInstance(ImportInstanceRequest)
Public Method ImportKeyPair(ImportKeyPairRequest)

Imports the public key from an RSA key pair created with a third-party tool. This operation differs from CreateKeyPair as the private key is never transferred between the caller and AWS servers.

RSA key pairs are easily created on Microsoft Windows and Linux OS systems using the ssh-keygen command line tool provided with the standard OpenSSH installation. Standard library support for RSA key pair creation is also available for Java, Ruby, Python, and many other programming languages.

The following formats are supported:

  • OpenSSH public key format,
  • Base64 encoded DER format.
  • SSH public key file format as specified in RFC4716 .
Public Method ImportVolume(ImportVolumeRequest)
Public Method ImportVolume()
Public Method ModifyImageAttribute(ModifyImageAttributeRequest)

The ModifyImageAttribute operation modifies an attribute of an AMI.

Public Method ModifyInstanceAttribute(ModifyInstanceAttributeRequest)

Modifies an attribute of an instance.

Public Method ModifyNetworkInterfaceAttribute(ModifyNetworkInterfaceAttributeRequest)
Public Method ModifySnapshotAttribute(ModifySnapshotAttributeRequest)

Adds or remove permission settings for the specified snapshot.

Public Method ModifyVolumeAttribute(ModifyVolumeAttributeRequest)
Public Method ModifyVpcAttribute(ModifyVpcAttributeRequest)
Public Method MonitorInstances(MonitorInstancesRequest)

Enables monitoring for a running instance.

Public Method PurchaseReservedInstancesOffering(PurchaseReservedInstancesOfferingRequest)

The PurchaseReservedInstancesOffering operation purchases a Reserved Instance for use with your account. With Amazon EC2 Reserved Instances, you purchase the right to launch Amazon EC2 instances for a period of time (without getting insufficient capacity errors) and pay a lower usage rate for the actual time used.

Public Method RebootInstances(RebootInstancesRequest)

The RebootInstances operation requests a reboot of one or more instances. This operation is asynchronous; it only queues a request to reboot the specified instance(s). The operation will succeed if the instances are valid and belong to the user. Requests to reboot terminated instances are ignored.

Public Method RegisterImage(RegisterImageRequest)

The RegisterImage operation registers an AMI with Amazon EC2. Images must be registered before they can be launched. For more information, see RunInstances.

Each AMI is associated with an unique ID which is provided by the Amazon EC2 service through the RegisterImage operation. During registration, Amazon EC2 retrieves the specified image manifest from Amazon S3 and verifies that the image is owned by the user registering the image.

The image manifest is retrieved once and stored within the Amazon EC2. Any modifications to an image in Amazon S3 invalidates this registration. If you make changes to an image, deregister the previous image and register the new image. For more information, see DeregisterImage.

Public Method RegisterImage()

The RegisterImage operation registers an AMI with Amazon EC2. Images must be registered before they can be launched. For more information, see RunInstances.

Each AMI is associated with an unique ID which is provided by the Amazon EC2 service through the RegisterImage operation. During registration, Amazon EC2 retrieves the specified image manifest from Amazon S3 and verifies that the image is owned by the user registering the image.

The image manifest is retrieved once and stored within the Amazon EC2. Any modifications to an image in Amazon S3 invalidates this registration. If you make changes to an image, deregister the previous image and register the new image. For more information, see DeregisterImage.

Public Method ReleaseAddress(ReleaseAddressRequest)

The ReleaseAddress operation releases an elastic IP address associated with your account.

NOTE: Releasing an IP address automatically disassociates it from any instance with which it is associated. For more information, see DisassociateAddress.

IMPORTANT: After releasing an elastic IP address, it is released to the IP address pool and might no longer be available to your account. Make sure to update your DNS records and any servers or devices that communicate with the address. If you run this operation on an elastic IP address that is already released, the address might be assigned to another account which will cause Amazon EC2 to return an error.

Public Method ReleaseAddress()

The ReleaseAddress operation releases an elastic IP address associated with your account.

NOTE: Releasing an IP address automatically disassociates it from any instance with which it is associated. For more information, see DisassociateAddress.

IMPORTANT: After releasing an elastic IP address, it is released to the IP address pool and might no longer be available to your account. Make sure to update your DNS records and any servers or devices that communicate with the address. If you run this operation on an elastic IP address that is already released, the address might be assigned to another account which will cause Amazon EC2 to return an error.

Public Method ReplaceNetworkAclAssociation(ReplaceNetworkAclAssociationRequest)

Changes which network ACL a subnet is associated with. By default when you create a subnet, it's automatically associated with the default network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.

Public Method ReplaceNetworkAclEntry(ReplaceNetworkAclEntryRequest)

Replaces an entry (i.e., rule) in a network ACL. For more information about network ACLs, go to Network ACLs in the Amazon Virtual Private Cloud User Guide.

Public Method ReplaceRoute(ReplaceRouteRequest)

Replaces an existing route within a route table in a VPC. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.

Public Method ReplaceRouteTableAssociation(ReplaceRouteTableAssociationRequest)

Changes the route table associated with a given subnet in a VPC. After you execute this action, the subnet uses the routes in the new route table it's associated with. For more information about route tables, go to Route Tables in the Amazon Virtual Private Cloud User Guide.

You can also use this to change which table is the main route table in the VPC. You just specify the main route table's association ID and the route table that you want to be the new main route table.

Public Method ReportInstanceStatus(ReportInstanceStatusRequest)
Public Method ReportInstanceStatus()
Public Method RequestSpotInstances(RequestSpotInstancesRequest)

Creates a Spot Instance request.

Spot Instances are instances that Amazon EC2 starts on your behalf when the maximum price that you specify exceeds the current Spot Price. Amazon EC2 periodically sets the Spot Price based on available Spot Instance capacity and current spot instance requests.

For conceptual information about Spot Instances, refer to the Amazon Elastic Compute Cloud Developer Guide or Amazon Elastic Compute Cloud User Guide.

Public Method ResetImageAttribute(ResetImageAttributeRequest)

The ResetImageAttribute operation resets an attribute of an AMI to its default value.

NOTE: The productCodes attribute cannot be reset.

Public Method ResetInstanceAttribute(ResetInstanceAttributeRequest)

Resets an attribute of an instance to its default value.

Public Method ResetNetworkInterfaceAttribute(ResetNetworkInterfaceAttributeRequest)
Public Method ResetSnapshotAttribute(ResetSnapshotAttributeRequest)

Resets permission settings for the specified snapshot.

Public Method RevokeSecurityGroupEgress(RevokeSecurityGroupEgressRequest)

This action applies only to security groups in a VPC. It doesn't work with EC2 security groups. For information about Amazon Virtual Private Cloud and VPC security groups, go to the Amazon Virtual Private Cloud User Guide.

The action removes one or more egress rules from a VPC security group. The values that you specify in the revoke request (e.g., ports, etc.) must match the existing rule's values in order for the rule to be revoked.

Each rule consists of the protocol, and the CIDR range or destination security group. For the TCP and UDP protocols, you must also specify the destination port or range of ports. For the ICMP protocol, you must also specify the ICMP type and code.

Rule changes are propagated to instances within the security group as quickly as possible. However, a small delay might occur.

Public Method RevokeSecurityGroupIngress(RevokeSecurityGroupIngressRequest)

The RevokeSecurityGroupIngress operation revokes permissions from a security group. The permissions used to revoke must be specified using the same values used to grant the permissions.

Permissions are specified by IP protocol (TCP, UDP, or ICMP), the source of the request (by IP range or an Amazon EC2 user-group pair), the source and destination port ranges (for TCP and UDP), and the ICMP codes and types (for ICMP).

Permission changes are quickly propagated to instances within the security group. However, depending on the number of instances in the group, a small delay might occur.

Public Method RevokeSecurityGroupIngress()

The RevokeSecurityGroupIngress operation revokes permissions from a security group. The permissions used to revoke must be specified using the same values used to grant the permissions.

Permissions are specified by IP protocol (TCP, UDP, or ICMP), the source of the request (by IP range or an Amazon EC2 user-group pair), the source and destination port ranges (for TCP and UDP), and the ICMP codes and types (for ICMP).

Permission changes are quickly propagated to instances within the security group. However, depending on the number of instances in the group, a small delay might occur.

Public Method RunInstances(RunInstancesRequest)

The RunInstances operation launches a specified number of instances.

If Amazon EC2 cannot launch the minimum number AMIs you request, no instances launch. If there is insufficient capacity to launch the maximum number of AMIs you request, Amazon EC2 launches as many as possible to satisfy the requested maximum values.

Every instance is launched in a security group. If you do not specify a security group at launch, the instances start in your default security group. For more information on creating security groups, see CreateSecurityGroup.

An optional instance type can be specified. For information about instance types, see Instance Types.

You can provide an optional key pair ID for each image in the launch request (for more information, see CreateKeyPair). All instances that are created from images that use this key pair will have access to the associated public key at boot. You can use this key to provide secure access to an instance of an image on a per-instance basis. Amazon EC2 public images use this feature to provide secure access without passwords.

IMPORTANT: Launching public images without a key pair ID will leave them inaccessible. The public key material is made available to the instance at boot time by placing it in the openssh_id.pub file on a logical device that is exposed to the instance as /dev/sda2 (the ephemeral store). The format of this file is suitable for use as an entry within ~/.ssh/authorized_keys (the OpenSSH format). This can be done at boot (e.g., as part of rc.local) allowing for secure access without passwords. Optional user data can be provided in the launch request. All instances that collectively comprise the launch request have access to this data For more information, see Instance Metadata.

NOTE: If any of the AMIs have a product code attached for which the user has not subscribed, the RunInstances call will fail.

IMPORTANT: We strongly recommend using the 2.6.18 Xen stock kernel with the c1.medium and c1.xlarge instances. Although the default Amazon EC2 kernels will work, the new kernels provide greater stability and performance for these instance types. For more information about kernels, see Kernels, RAM Disks, and Block Device Mappings.

Public Method StartInstances(StartInstancesRequest)

Starts an instance that uses an Amazon EBS volume as its root device. Instances that use Amazon EBS volumes as their root devices can be quickly stopped and started. When an instance is stopped, the compute resources are released and you are not billed for hourly instance usage. However, your root partition Amazon EBS volume remains, continues to persist your data, and you are charged for Amazon EBS volume usage. You can restart your instance at any time.

NOTE: Performing this operation on an instance that uses an instance store as its root device returns an error.

Public Method StopInstances(StopInstancesRequest)

Stops an instance that uses an Amazon EBS volume as its root device. Instances that use Amazon EBS volumes as their root devices can be quickly stopped and started. When an instance is stopped, the compute resources are released and you are not billed for hourly instance usage. However, your root partition Amazon EBS volume remains, continues to persist your data, and you are charged for Amazon EBS volume usage. You can restart your instance at any time.

NOTE: Before stopping an instance, make sure it is in a state from which it can be restarted. Stopping an instance does not preserve data stored in RAM. Performing this operation on an instance that uses an instance store as its root device returns an error.

Public Method TerminateInstances(TerminateInstancesRequest)

The TerminateInstances operation shuts down one or more instances. This operation is idempotent; if you terminate an instance more than once, each call will succeed.

Terminated instances will remain visible after termination (approximately one hour).

Public Method UnassignPrivateIpAddresses(UnassignPrivateIpAddressesRequest)
Public Method UnmonitorInstances(UnmonitorInstancesRequest)

Disables monitoring for a running instance.

Version Information

.NET Framework:
Supported in: 4.5, 4.0, 3.5

.NET for Windows Store apps:
Supported in: Windows 8

.NET for Windows Phone:
Supported in: Window Phone 8