paws.compute (version 0.1.0)

ec2: Amazon Elastic Compute Cloud

Description

Amazon Elastic Compute Cloud (Amazon EC2) provides secure and resizable computing capacity in the AWS cloud. Using Amazon EC2 eliminates the need to invest in hardware up front, so you can develop and deploy applications faster.

To learn more about Amazon EC2, Amazon EBS, and Amazon VPC, see the following resources:

Usage

ec2()

Arguments

Operations

accept_reserved_instances_exchange_quote Accepts the Convertible Reserved Instance exchange quote described in the GetReservedInstancesExchangeQuote call
accept_transit_gateway_vpc_attachment Accepts a request to attach a VPC to a transit gateway
accept_vpc_endpoint_connections Accepts one or more interface VPC endpoint connection requests to your VPC endpoint service
accept_vpc_peering_connection Accept a VPC peering connection request
advertise_byoip_cidr Advertises an IPv4 address range that is provisioned for use with your AWS resources through bring your own IP addresses (BYOIP)
allocate_address Allocates an Elastic IP address to your AWS account
allocate_hosts Allocates a Dedicated Host to your account
apply_security_groups_to_client_vpn_target_network Applies a security group to the association between the target network and the Client VPN endpoint
assign_ipv_6_addresses Assigns one or more IPv6 addresses to the specified network interface
assign_private_ip_addresses Assigns one or more secondary private IP addresses to the specified network interface
associate_address Associates an Elastic IP address with an instance or a network interface
associate_client_vpn_target_network Associates a target network with a Client VPN endpoint
associate_dhcp_options Associates a set of DHCP options (that you've previously created) with the specified VPC, or associates no DHCP options with the VPC
associate_iam_instance_profile Associates an IAM instance profile with a running or stopped instance
associate_route_table Associates a subnet with a route table
associate_subnet_cidr_block Associates a CIDR block with your subnet
associate_transit_gateway_route_table Associates the specified attachment with the specified transit gateway route table
associate_vpc_cidr_block Associates a CIDR block with your VPC
attach_classic_link_vpc Links an EC2-Classic instance to a ClassicLink-enabled VPC through one or more of the VPC's security groups
attach_internet_gateway Attaches an internet gateway to a VPC, enabling connectivity between the internet and the VPC
attach_network_interface Attaches a network interface to an instance
attach_volume Attaches an EBS volume to a running or stopped instance and exposes it to the instance with the specified device name
attach_vpn_gateway Attaches a virtual private gateway to a VPC
authorize_client_vpn_ingress Adds an ingress authorization rule to a Client VPN endpoint
authorize_security_group_egress [EC2-VPC only] Adds one or more egress rules to a security group for use with a VPC
authorize_security_group_ingress Adds one or more ingress rules to a security group
bundle_instance Bundles an Amazon instance store-backed Windows instance
cancel_bundle_task Cancels a bundling operation for an instance store-backed Windows instance
cancel_capacity_reservation Cancels the specified Capacity Reservation, releases the reserved capacity, and changes the Capacity Reservation's state to cancelled
cancel_conversion_task Cancels an active conversion task
cancel_export_task Cancels an active export task
cancel_import_task Cancels an in-process import virtual machine or import snapshot task
cancel_reserved_instances_listing Cancels the specified Reserved Instance listing in the Reserved Instance Marketplace
cancel_spot_fleet_requests Cancels the specified Spot Fleet requests
cancel_spot_instance_requests Cancels one or more Spot Instance requests
confirm_product_instance Determines whether a product code is associated with an instance
copy_fpga_image Copies the specified Amazon FPGA Image (AFI) to the current region
copy_image Initiates the copy of an AMI from the specified source region to the current region
copy_snapshot Copies a point-in-time snapshot of an EBS volume and stores it in Amazon S3
create_capacity_reservation Creates a new Capacity Reservation with the specified attributes
create_client_vpn_endpoint Creates a Client VPN endpoint
create_client_vpn_route Adds a route to a network to a Client VPN endpoint
create_customer_gateway Provides information to AWS about your VPN customer gateway device
create_default_subnet Creates a default subnet with a size /20 IPv4 CIDR block in the specified Availability Zone in your default VPC
create_default_vpc Creates a default VPC with a size /16 IPv4 CIDR block and a default subnet in each Availability Zone
create_dhcp_options Creates a set of DHCP options for your VPC
create_egress_only_internet_gateway [IPv6 only] Creates an egress-only internet gateway for your VPC
create_fleet Launches an EC2 Fleet
create_flow_logs Creates one or more flow logs to capture information about IP traffic for a specific network interface, subnet, or VPC
create_fpga_image Creates an Amazon FPGA Image (AFI) from the specified design checkpoint (DCP)
create_image Creates an Amazon EBS-backed AMI from an Amazon EBS-backed instance that is either running or stopped
create_instance_export_task Exports a running or stopped instance to an S3 bucket
create_internet_gateway Creates an internet gateway for use with a VPC
create_key_pair Creates a 2048-bit RSA key pair with the specified name
create_launch_template Creates a launch template
create_launch_template_version Creates a new version for a launch template
create_nat_gateway Creates a NAT gateway in the specified public subnet
create_network_acl Creates a network ACL in a VPC
create_network_acl_entry Creates an entry (a rule) in a network ACL with the specified rule number
create_network_interface Creates a network interface in the specified subnet
create_network_interface_permission Grants an AWS-authorized account permission to attach the specified network interface to an instance in their account
create_placement_group Creates a placement group in which to launch instances
create_reserved_instances_listing Creates a listing for Amazon EC2 Standard Reserved Instances to be sold in the Reserved Instance Marketplace
create_route Creates a route in a route table within a VPC
create_route_table Creates a route table for the specified VPC
create_security_group Creates a security group
create_snapshot Creates a snapshot of an EBS volume and stores it in Amazon S3
create_spot_datafeed_subscription Creates a data feed for Spot Instances, enabling you to view Spot Instance usage logs
create_subnet Creates a subnet in an existing VPC
create_tags Adds or overwrites one or more tags for the specified Amazon EC2 resource or resources
create_transit_gateway Creates a transit gateway
create_transit_gateway_route Creates a static route for the specified transit gateway route table
create_transit_gateway_route_table Creates a route table for the specified transit gateway
create_transit_gateway_vpc_attachment Attaches the specified VPC to the specified transit gateway
create_volume Creates an EBS volume that can be attached to an instance in the same Availability Zone
create_vpc Creates a VPC with the specified IPv4 CIDR block
create_vpc_endpoint Creates a VPC endpoint for a specified service
create_vpc_endpoint_connection_notification Creates a connection notification for a specified VPC endpoint or VPC endpoint service
create_vpc_endpoint_service_configuration Creates a VPC endpoint service configuration to which service consumers (AWS accounts, IAM users, and IAM roles) can connect
create_vpc_peering_connection Requests a VPC peering connection between two VPCs: a requester VPC that you own and an accepter VPC with which to create the connection
create_vpn_connection Creates a VPN connection between an existing virtual private gateway and a VPN customer gateway
create_vpn_connection_route Creates a static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway
create_vpn_gateway Creates a virtual private gateway
delete_client_vpn_endpoint Deletes the specified Client VPN endpoint
delete_client_vpn_route Deletes a route from a Client VPN endpoint
delete_customer_gateway Deletes the specified customer gateway
delete_dhcp_options Deletes the specified set of DHCP options
delete_egress_only_internet_gateway Deletes an egress-only internet gateway
delete_fleets Deletes the specified EC2 Fleet
delete_flow_logs Deletes one or more flow logs
delete_fpga_image Deletes the specified Amazon FPGA Image (AFI)
delete_internet_gateway Deletes the specified internet gateway
delete_key_pair Deletes the specified key pair, by removing the public key from Amazon EC2
delete_launch_template Deletes a launch template
delete_launch_template_versions Deletes one or more versions of a launch template
delete_nat_gateway Deletes the specified NAT gateway
delete_network_acl Deletes the specified network ACL
delete_network_acl_entry Deletes the specified ingress or egress entry (rule) from the specified network ACL
delete_network_interface Deletes the specified network interface
delete_network_interface_permission Deletes a permission for a network interface
delete_placement_group Deletes the specified placement group
delete_route Deletes the specified route from the specified route table
delete_route_table Deletes the specified route table
delete_security_group Deletes a security group
delete_snapshot Deletes the specified snapshot
delete_spot_datafeed_subscription Deletes the data feed for Spot Instances
delete_subnet Deletes the specified subnet
delete_tags Deletes the specified set of tags from the specified set of resources
delete_transit_gateway Deletes the specified transit gateway
delete_transit_gateway_route Deletes the specified route from the specified transit gateway route table
delete_transit_gateway_route_table Deletes the specified transit gateway route table
delete_transit_gateway_vpc_attachment Deletes the specified VPC attachment
delete_volume Deletes the specified EBS volume
delete_vpc Deletes the specified VPC
delete_vpc_endpoint_connection_notifications Deletes one or more VPC endpoint connection notifications
delete_vpc_endpoint_service_configurations Deletes one or more VPC endpoint service configurations in your account
delete_vpc_endpoints Deletes one or more specified VPC endpoints
delete_vpc_peering_connection Deletes a VPC peering connection
delete_vpn_connection Deletes the specified VPN connection
delete_vpn_connection_route Deletes the specified static route associated with a VPN connection between an existing virtual private gateway and a VPN customer gateway
delete_vpn_gateway Deletes the specified virtual private gateway
deprovision_byoip_cidr Releases the specified address range that you provisioned for use with your AWS resources through bring your own IP addresses (BYOIP) and deletes the corresponding address pool
deregister_image Deregisters the specified AMI
describe_account_attributes Describes attributes of your AWS account
describe_addresses Describes one or more of your Elastic IP addresses
describe_aggregate_id_format Describes the longer ID format settings for all resource types in a specific region
describe_availability_zones Describes one or more of the Availability Zones that are available to you
describe_bundle_tasks Describes one or more of your bundling tasks
describe_byoip_cidrs Describes the IP address ranges that were specified in calls to ProvisionByoipCidr
describe_capacity_reservations Describes one or more of your Capacity Reservations
describe_classic_link_instances Describes one or more of your linked EC2-Classic instances
describe_client_vpn_authorization_rules Describes the authorization rules for a specified Client VPN endpoint
describe_client_vpn_connections Describes active client connections and connections that have been terminated within the last 60 minutes for the specified Client VPN endpoint
describe_client_vpn_endpoints Describes one or more Client VPN endpoints in the account
describe_client_vpn_routes Describes the routes for the specified Client VPN endpoint
describe_client_vpn_target_networks Describes the target networks associated with the specified Client VPN endpoint
describe_conversion_tasks Describes one or more of your conversion tasks
describe_customer_gateways Describes one or more of your VPN customer gateways
describe_dhcp_options Describes one or more of your DHCP options sets
describe_egress_only_internet_gateways Describes one or more of your egress-only internet gateways
describe_elastic_gpus Describes the Elastic Graphics accelerator associated with your instances
describe_export_tasks Describes one or more of your export tasks
describe_fleet_history Describes the events for the specified EC2 Fleet during the specified time
describe_fleet_instances Describes the running instances for the specified EC2 Fleet
describe_fleets Describes one or more of your EC2 Fleets
describe_flow_logs Describes one or more flow logs
describe_fpga_image_attribute Describes the specified attribute of the specified Amazon FPGA Image (AFI)
describe_fpga_images Describes one or more available Amazon FPGA Images (AFIs)
describe_host_reservation_offerings Describes the Dedicated Host reservations that are available to purchase
describe_host_reservations Describes reservations that are associated with Dedicated Hosts in your account
describe_hosts Describes one or more of your Dedicated Hosts
describe_iam_instance_profile_associations Describes your IAM instance profile associations
describe_id_format Describes the ID format settings for your resources on a per-region basis, for example, to view which resource types are enabled for longer IDs
describe_identity_id_format Describes the ID format settings for resources for the specified IAM user, IAM role, or root user
describe_image_attribute Describes the specified attribute of the specified AMI
describe_images Describes one or more of the images (AMIs, AKIs, and ARIs) available to you
describe_import_image_tasks Displays details about an import virtual machine or import snapshot tasks that are already created
describe_import_snapshot_tasks Describes your import snapshot tasks
describe_instance_attribute Describes the specified attribute of the specified instance
describe_instance_credit_specifications Describes the credit option for CPU usage of one or more of your T2 or T3 instances
describe_instance_status Describes the status of one or more instances
describe_instances Describes one or more of your instances
describe_internet_gateways Describes one or more of your internet gateways
describe_key_pairs Describes one or more of your key pairs
describe_launch_template_versions Describes one or more versions of a specified launch template
describe_launch_templates Describes one or more launch templates
describe_moving_addresses Describes your Elastic IP addresses that are being moved to the EC2-VPC platform, or that are being restored to the EC2-Classic platform
describe_nat_gateways Describes one or more of your NAT gateways
describe_network_acls Describes one or more of your network ACLs
describe_network_interface_attribute Describes a network interface attribute
describe_network_interface_permissions Describes the permissions for your network interfaces
describe_network_interfaces Describes one or more of your network interfaces
describe_placement_groups Describes one or more of your placement groups
describe_prefix_lists Describes available AWS services in a prefix list format, which includes the prefix list name and prefix list ID of the service and the IP address range for the service
describe_principal_id_format Describes the ID format settings for the root user and all IAM roles and IAM users that have explicitly specified a longer ID (17-character ID) preference
describe_public_ipv_4_pools Describes the specified IPv4 address pools
describe_regions Describes one or more regions that are currently available to you
describe_reserved_instances Describes one or more of the Reserved Instances that you purchased
describe_reserved_instances_listings Describes your account's Reserved Instance listings in the Reserved Instance Marketplace
describe_reserved_instances_modifications Describes the modifications made to your Reserved Instances
describe_reserved_instances_offerings Describes Reserved Instance offerings that are available for purchase
describe_route_tables Describes one or more of your route tables
describe_scheduled_instance_availability Finds available schedules that meet the specified criteria
describe_scheduled_instances Describes one or more of your Scheduled Instances
describe_security_group_references [EC2-VPC only] Describes the VPCs on the other side of a VPC peering connection that are referencing the security groups you've specified in this request
describe_security_groups Describes one or more of your security groups
describe_snapshot_attribute Describes the specified attribute of the specified snapshot
describe_snapshots Describes one or more of the EBS snapshots available to you
describe_spot_datafeed_subscription Describes the data feed for Spot Instances
describe_spot_fleet_instances Describes the running instances for the specified Spot Fleet
describe_spot_fleet_request_history Describes the events for the specified Spot Fleet request during the specified time
describe_spot_fleet_requests Describes your Spot Fleet requests
describe_spot_instance_requests Describes the specified Spot Instance requests
describe_spot_price_history Describes the Spot price history
describe_stale_security_groups [EC2-VPC only] Describes the stale security group rules for security groups in a specified VPC
describe_subnets Describes one or more of your subnets
describe_tags Describes one or more of the tags for your EC2 resources
describe_transit_gateway_attachments Describes one or more attachments between resources and transit gateways
describe_transit_gateway_route_tables Describes one or more transit gateway route tables
describe_transit_gateway_vpc_attachments Describes one or more VPC attachments
describe_transit_gateways Describes one or more transit gateways
describe_volume_attribute Describes the specified attribute of the specified volume
describe_volume_status Describes the status of the specified volumes
describe_volumes Describes the specified EBS volumes
describe_volumes_modifications Reports the current modification status of EBS volumes
describe_vpc_attribute Describes the specified attribute of the specified VPC
describe_vpc_classic_link Describes the ClassicLink status of one or more VPCs
describe_vpc_classic_link_dns_support Describes the ClassicLink DNS support status of one or more VPCs
describe_vpc_endpoint_connection_notifications Describes the connection notifications for VPC endpoints and VPC endpoint services
describe_vpc_endpoint_connections Describes the VPC endpoint connections to your VPC endpoint services, including any endpoints that are pending your acceptance
describe_vpc_endpoint_service_configurations Describes the VPC endpoint service configurations in your account (your services)
describe_vpc_endpoint_service_permissions Describes the principals (service consumers) that are permitted to discover your VPC endpoint service
describe_vpc_endpoint_services Describes available services to which you can create a VPC endpoint
describe_vpc_endpoints Describes one or more of your VPC endpoints
describe_vpc_peering_connections Describes one or more of your VPC peering connections
describe_vpcs Describes one or more of your VPCs
describe_vpn_connections Describes one or more of your VPN connections
describe_vpn_gateways Describes one or more of your virtual private gateways
detach_classic_link_vpc Unlinks (detaches) a linked EC2-Classic instance from a VPC
detach_internet_gateway Detaches an internet gateway from a VPC, disabling connectivity between the internet and the VPC
detach_network_interface Detaches a network interface from an instance
detach_volume Detaches an EBS volume from an instance
detach_vpn_gateway Detaches a virtual private gateway from a VPC
disable_transit_gateway_route_table_propagation Disables the specified resource attachment from propagating routes to the specified propagation route table
disable_vgw_route_propagation Disables a virtual private gateway (VGW) from propagating routes to a specified route table of a VPC
disable_vpc_classic_link Disables ClassicLink for a VPC
disable_vpc_classic_link_dns_support Disables ClassicLink DNS support for a VPC
disassociate_address Disassociates an Elastic IP address from the instance or network interface it's associated with
disassociate_client_vpn_target_network Disassociates a target network from the specified Client VPN endpoint
disassociate_iam_instance_profile Disassociates an IAM instance profile from a running or stopped instance
disassociate_route_table Disassociates a subnet from a route table
disassociate_subnet_cidr_block Disassociates a CIDR block from a subnet
disassociate_transit_gateway_route_table Disassociates a resource attachment from a transit gateway route table
disassociate_vpc_cidr_block Disassociates a CIDR block from a VPC
enable_transit_gateway_route_table_propagation Enables the specified attachment to propagate routes to the specified propagation route table
enable_vgw_route_propagation Enables a virtual private gateway (VGW) to propagate routes to the specified route table of a VPC
enable_volume_io Enables I/O operations for a volume that had I/O operations disabled because the data on the volume was potentially inconsistent
enable_vpc_classic_link Enables a VPC for ClassicLink
enable_vpc_classic_link_dns_support Enables a VPC to support DNS hostname resolution for ClassicLink
export_client_vpn_client_certificate_revocation_list Downloads the client certificate revocation list for the specified Client VPN endpoint
export_client_vpn_client_configuration Downloads the contents of the Client VPN endpoint configuration file for the specified Client VPN endpoint
export_transit_gateway_routes Exports routes from the specified transit gateway route table to the specified S3 bucket
get_console_output Gets the console output for the specified instance
get_console_screenshot Retrieve a JPG-format screenshot of a running instance to help with troubleshooting
get_host_reservation_purchase_preview Preview a reservation purchase with configurations that match those of your Dedicated Host
get_launch_template_data Retrieves the configuration data of the specified instance
get_password_data Retrieves the encrypted administrator password for a running Windows instance
get_reserved_instances_exchange_quote Returns a quote and exchange information for exchanging one or more specified Convertible Reserved Instances for a new Convertible Reserved Instance
get_transit_gateway_attachment_propagations Lists the route tables to which the specified resource attachment propagates routes
get_transit_gateway_route_table_associations Gets information about the associations for the specified transit gateway route table
get_transit_gateway_route_table_propagations Gets information about the route table propagations for the specified transit gateway route table
import_client_vpn_client_certificate_revocation_list Uploads a client certificate revocation list to the specified Client VPN endpoint
import_image Import single or multi-volume disk images or EBS snapshots into an Amazon Machine Image (AMI)
import_instance Creates an import instance task using metadata from the specified disk image
import_key_pair Imports the public key from an RSA key pair that you created with a third-party tool
import_snapshot Imports a disk into an EBS snapshot
import_volume Creates an import volume task using metadata from the specified disk image
modify_capacity_reservation Modifies a Capacity Reservation's capacity and the conditions under which it is to be released
modify_client_vpn_endpoint Modifies the specified Client VPN endpoint
modify_fleet Modifies the specified EC2 Fleet
modify_fpga_image_attribute Modifies the specified attribute of the specified Amazon FPGA Image (AFI)
modify_hosts Modify the auto-placement setting of a Dedicated Host
modify_id_format Modifies the ID format for the specified resource on a per-region basis
modify_identity_id_format Modifies the ID format of a resource for a specified IAM user, IAM role, or the root user for an account; or all IAM users, IAM roles, and the root user for an account
modify_image_attribute Modifies the specified attribute of the specified AMI
modify_instance_attribute Modifies the specified attribute of the specified instance
modify_instance_capacity_reservation_attributes Modifies the Capacity Reservation settings for a stopped instance
modify_instance_credit_specification Modifies the credit option for CPU usage on a running or stopped T2 or T3 instance
modify_instance_event_start_time Modifies the start time for a scheduled Amazon EC2 instance event
modify_instance_placement Modifies the placement attributes for a specified instance
modify_launch_template Modifies a launch template
modify_network_interface_attribute Modifies the specified network interface attribute
modify_reserved_instances Modifies the Availability Zone, instance count, instance type, or network platform (EC2-Classic or EC2-VPC) of your Reserved Instances
modify_snapshot_attribute Adds or removes permission settings for the specified snapshot
modify_spot_fleet_request Modifies the specified Spot Fleet request
modify_subnet_attribute Modifies a subnet attribute
modify_transit_gateway_vpc_attachment Modifies the specified VPC attachment
modify_volume You can modify several parameters of an existing EBS volume, including volume size, volume type, and IOPS capacity
modify_volume_attribute Modifies a volume attribute
modify_vpc_attribute Modifies the specified attribute of the specified VPC
modify_vpc_endpoint Modifies attributes of a specified VPC endpoint
modify_vpc_endpoint_connection_notification Modifies a connection notification for VPC endpoint or VPC endpoint service
modify_vpc_endpoint_service_configuration Modifies the attributes of your VPC endpoint service configuration
modify_vpc_endpoint_service_permissions Modifies the permissions for your VPC endpoint service
modify_vpc_peering_connection_options Modifies the VPC peering connection options on one side of a VPC peering connection
modify_vpc_tenancy Modifies the instance tenancy attribute of the specified VPC
monitor_instances Enables detailed monitoring for a running instance
move_address_to_vpc Moves an Elastic IP address from the EC2-Classic platform to the EC2-VPC platform
provision_byoip_cidr Provisions an address range for use with your AWS resources through bring your own IP addresses (BYOIP) and creates a corresponding address pool
purchase_host_reservation Purchase a reservation with configurations that match those of your Dedicated Host
purchase_reserved_instances_offering Purchases a Reserved Instance for use with your account
purchase_scheduled_instances Purchases one or more Scheduled Instances with the specified schedule
reboot_instances Requests a reboot of one or more instances
register_image Registers an AMI
reject_transit_gateway_vpc_attachment Rejects a request to attach a VPC to a transit gateway
reject_vpc_endpoint_connections Rejects one or more VPC endpoint connection requests to your VPC endpoint service
reject_vpc_peering_connection Rejects a VPC peering connection request
release_address Releases the specified Elastic IP address
release_hosts When you no longer want to use an On-Demand Dedicated Host it can be released
replace_iam_instance_profile_association Replaces an IAM instance profile for the specified running instance
replace_network_acl_association Changes which network ACL a subnet is associated with
replace_network_acl_entry Replaces an entry (rule) in a network ACL
replace_route Replaces an existing route within a route table in a VPC
replace_route_table_association Changes the route table associated with a given subnet in a VPC
replace_transit_gateway_route Replaces the specified route in the specified transit gateway route table
report_instance_status Submits feedback about the status of an instance
request_spot_fleet Creates a Spot Fleet request
request_spot_instances Creates a Spot Instance request
reset_fpga_image_attribute Resets the specified attribute of the specified Amazon FPGA Image (AFI) to its default value
reset_image_attribute Resets an attribute of an AMI to its default value
reset_instance_attribute Resets an attribute of an instance to its default value
reset_network_interface_attribute Resets a network interface attribute
reset_snapshot_attribute Resets permission settings for the specified snapshot
restore_address_to_classic Restores an Elastic IP address that was previously moved to the EC2-VPC platform back to the EC2-Classic platform
revoke_client_vpn_ingress Removes an ingress authorization rule from a Client VPN endpoint

Examples

Run this code
# NOT RUN {
# This example allocates an Elastic IP address to use with an instance in
# a VPC.
# }
# NOT RUN {
svc <- ec2()
svc$allocate_address(
  Domain = "vpc"
)
# }
# NOT RUN {
# }

Run the code above in your browser using DataCamp Workspace