EC2

Client

class EC2.Client

A low-level client representing Amazon Elastic Compute Cloud (EC2)

This is the Amazon EC2 API Reference. It provides descriptions, API request parameters, and the XML response for each of the Amazon EC2 Query API actions. Note that the Amazon EC2 API includes actions for Amazon EC2 plus additional services, such as Amazon EBS and Amazon VPC.

Learn more

Alternatively, use one of the following methods to access the Amazon EC2 API, instead of using the Query API directly:

import boto3

client = boto3.client('ec2')

These are the available methods:

Paginators

Paginators are available on a client instance via the get_paginator method. For more detailed instructions and examples on the usage of paginators, see the paginators user guide.

The available paginators are:

Waiters

Waiters are available on a client instance via the get_waiter method. For more detailed instructions and examples on the usage or waiters, see the waiters user guide.

The available waiters are:

Resources

Resources are available in boto3 via the resource method. For more detailed instructions and examples on the usage of resources, see the resources user guide.

The available resources are: