PATH:
usr
/
local
/
jetapps
/
var
/
lib
/
aws
/
lib
/
python2.7
/
site-packages
/
awscli
/
examples
/
ec2
**To delete a key pair** This example deletes the key pair named ``MyKeyPair``. If the command succeeds, no output is returned. Command:: aws ec2 delete-key-pair --key-name MyKeyPair For more information, see `Using Key Pairs`_ in the *AWS Command Line Interface User Guide*. .. _`Using Key Pairs`: http://docs.aws.amazon.com/cli/latest/userguide/cli-ec2-keypairs.html
[+]
..
[-] purchase-host-reservation.rst
[edit]
[-] create-fpga-image.rst
[edit]
[-] modify-vpc-endpoint-service-configuration.rst
[edit]
[-] describe-spot-fleet-instances.rst
[edit]
[-] create-network-interface-permission.rst
[edit]
[-] update-security-group-rule-descriptions-egress.rst
[edit]
[-] describe-stale-security-groups.rst
[edit]
[-] describe-volume-status.rst
[edit]
[-] describe-elastic-gpus.rst
[edit]
[-] cancel-conversion-task.rst
[edit]
[-] get-console-output.rst
[edit]
[-] release-address.rst
[edit]
[-] create-tags.rst
[edit]
[-] revoke-security-group-egress.rst
[edit]
[-] delete-volume.rst
[edit]
[-] describe-egress-only-internet-gateways.rst
[edit]
[-] describe-hosts.rst
[edit]
[-] modify-instance-event-start-time.rst
[edit]
[-] describe-snapshot-attribute.rst
[edit]
[-] enable-volume-io.rst
[edit]
[-] modify-volume-attribute.rst
[edit]
[-] allocate-hosts.rst
[edit]
[-] describe-vpc-classic-link-dns-support.rst
[edit]
[-] delete-launch-template-versions.rst
[edit]
[-] release-hosts.rst
[edit]
[-] authorize-security-group-egress.rst
[edit]
[-] restore-address-to-classic.rst
[edit]
[-] describe-vpc-classic-link.rst
[edit]
[-] disable-vpc-classic-link.rst
[edit]
[-] delete-network-interface.rst
[edit]
[-] describe-principal-id-format.rst
[edit]
[-] delete-internet-gateway.rst
[edit]
[-] delete-route.rst
[edit]
[-] enable-vpc-classic-link-dns-support.rst
[edit]
[-] delete-security-group.rst
[edit]
[-] describe-classic-link-instances.rst
[edit]
[-] associate-route-table.rst
[edit]
[-] describe-scheduled-instance-availability.rst
[edit]
[-] replace-network-acl-association.rst
[edit]
[-] detach-vpn-gateway.rst
[edit]
[-] describe-network-interface-attribute.rst
[edit]
[-] modify-vpc-endpoint.rst
[edit]
[-] describe-host-reservations.rst
[edit]
[-] create-snapshot.rst
[edit]
[-] run-instances.rst
[edit]
[-] create-network-acl.rst
[edit]
[-] deregister-image.rst
[edit]
[-] report-instance-status.rst
[edit]
[-] describe-instance-attribute.rst
[edit]
[-] replace-iam-instance-profile.rst
[edit]
[-] modify-vpc-endpoint-connection-notification.rst
[edit]
[-] get-reserved-instances-exchange-quote.rst
[edit]
[-] describe-route-tables.rst
[edit]
[-] update-security-group-rule-descriptions-ingress.rst
[edit]
[-] describe-availability-zones.rst
[edit]
[-] describe-internet-gateways.rst
[edit]
[-] create-security-group.rst
[edit]
[-] create-spot-datafeed-subscription.rst
[edit]
[-] associate-subnet-cidr-block.rst
[edit]
[-] describe-security-groups.rst
[edit]
[-] describe-aggregate-id-format.rst
[edit]
[-] create-network-acl-entry.rst
[edit]
[-] describe-prefix-lists.rst
[edit]
[-] delete-vpc-peering-connection.rst
[edit]
[-] create-default-subnet.rst
[edit]
[-] create-vpn-gateway.rst
[edit]
[-] detach-network-interface.rst
[edit]
[-] describe-network-acls.rst
[edit]
[-] create-default-vpc.rst
[edit]
[-] describe-snapshots.rst
[edit]
[-] create-vpn-connection.rst
[edit]
[-] delete-customer-gateway.rst
[edit]
[-] create-vpc-endpoint-connection-notification.rst
[edit]
[-] attach-classic-link-vpc.rst
[edit]
[-] describe-subnets.rst
[edit]
[-] create-instance-export-task.rst
[edit]
[-] associate-address.rst
[edit]
[-] reboot-instances.rst
[edit]
[-] delete-snapshot.rst
[edit]
[-] describe-vpc-attribute.rst
[edit]
[-] monitor-instances.rst
[edit]
[-] create-nat-gateway.rst
[edit]
[-] create-vpc-endpoint.rst
[edit]
[-] get-password-data.rst
[edit]
[-] describe-spot-fleet-requests.rst
[edit]
[-] describe-instances.rst
[edit]
[-] import-key-pair.rst
[edit]
[-] create-subnet.rst
[edit]
[-] describe-vpn-connections.rst
[edit]
[-] create-volume.rst
[edit]
[-] describe-conversion-tasks.rst
[edit]
[-] modify-launch-template.rst
[edit]
[-] delete-vpn-gateway.rst
[edit]
[-] describe-volumes.rst
[edit]
[-] delete-launch-template.rst
[edit]
[-] associate-iam-instance-profile.rst
[edit]
[-] delete-spot-datafeed-subscription.rst
[edit]
[-] purchase-reserved-instances-offering.rst
[edit]
[-] unassign-private-ip-addresses.rst
[edit]
[-] describe-bundle-tasks.rst
[edit]
[-] describe-key-pairs.rst
[edit]
[-] create-internet-gateway.rst
[edit]
[-] describe-spot-fleet-request-history.rst
[edit]
[-] create-flow-logs.rst
[edit]
[-] purchase-scheduled-instances.rst
[edit]
[-] modify-instance-placement.rst
[edit]
[-] modify-hosts.rst
[edit]
[-] delete-vpc-endpoint-connection-notifications.rst
[edit]
[-] enable-vpc-classic-link.rst
[edit]
[-] describe-dhcp-options.rst
[edit]
[-] modify-instance-attribute.rst
[edit]
[-] disable-vpc-classic-link-dns-support.rst
[edit]
[-] describe-host-reservation-offerings.rst
[edit]
[-] get-host-reservation-purchase-preview.rst
[edit]
[-] delete-network-acl.rst
[edit]
[-] describe-security-group-references.rst
[edit]
[-] replace-route.rst
[edit]
[-] reject-vpc-peering-connection.rst
[edit]
[-] create-customer-gateway.rst
[edit]
[-] describe-id-format.rst
[edit]
[-] assign-ipv6-addresses.rst
[edit]
[-] delete-subnet.rst
[edit]
[-] run-scheduled-instances.rst
[edit]
[-] reset-fpga-image-attribute.rst
[edit]
[-] modify-id-format.rst
[edit]
[-] delete-route-table.rst
[edit]
[-] describe-images.rst
[edit]
[-] stop-instances.rst
[edit]
[-] request-spot-instances.rst
[edit]
[-] create-vpc-endpoint-service-configuration.rst
[edit]
[-] create-launch-template-version.rst
[edit]
[-] describe-flow-logs.rst
[edit]
[-] enable-vgw-route-propagation.rst
[edit]
[-] describe-account-attributes.rst
[edit]
[-] describe-export-tasks.rst
[edit]
[-] create-egress-only-internet-gateway.rst
[edit]
[-] disable-vgw-route-propagation.rst
[edit]
[-] cancel-export-task.rst
[edit]
[-] create-image.rst
[edit]
[-] describe-image-attribute.rst
[edit]
[-] attach-volume.rst
[edit]
[-] create-placement-group.rst
[edit]
[-] create-launch-template.rst
[edit]
[-] modify-vpc-attribute.rst
[edit]
[-] delete-vpn-connection-route.rst
[edit]
[-] disassociate-subnet-cidr-block.rst
[edit]
[-] delete-dhcp-options.rst
[edit]
[-] describe-customer-gateways.rst
[edit]
[-] disassociate-route-table.rst
[edit]
[-] modify-vpc-tenancy.rst
[edit]
[-] delete-vpc.rst
[edit]
[-] describe-scheduled-instances.rst
[edit]
[-] disassociate-vpc-cidr-block.rst
[edit]
[-] describe-tags.rst
[edit]
[-] attach-internet-gateway.rst
[edit]
[-] cancel-bundle-task.rst
[edit]
[-] describe-addresses.rst
[edit]
[-] modify-subnet-attribute.rst
[edit]
[-] bundle-instance.rst
[edit]
[-] describe-regions.rst
[edit]
[-] reset-image-attribute.rst
[edit]
[-] revoke-security-group-ingress.rst
[edit]
[-] copy-fpga-image.rst
[edit]
[-] reset-instance-attribute.rst
[edit]
[-] describe-nat-gateways.rst
[edit]
[-] modify-fpga-image-attribute.rst
[edit]
[-] reset-snapshot-attribute.rst
[edit]
[-] delete-placement-group.rst
[edit]
[-] delete-egress-only-internet-gateway.rst
[edit]
[-] terminate-instances.rst
[edit]
[-] describe-launch-template-versions.rst
[edit]
[-] describe-volume-attribute.rst
[edit]
[-] create-route.rst
[edit]
[-] delete-fpga-image.rst
[edit]
[-] associate-vpc-cidr-block.rst
[edit]
[-] disassociate-iam-instance-profile.rst
[edit]
[-] create-dhcp-options.rst
[edit]
[-] modify-instance-credit-specification.rst
[edit]
[-] cancel-spot-instance-requests.rst
[edit]
[-] delete-vpc-endpoint-service-configurations.rst
[edit]
[-] describe-iam-instance-profile-associations.rst
[edit]
[-] detach-classic-link-vpc.rst
[edit]
[-] delete-network-interface-permission.rst
[edit]
[-] create-route-table.rst
[edit]
[-] attach-network-interface.rst
[edit]
[-] create-network-interface.rst
[edit]
[-] detach-volume.rst
[edit]
[-] delete-key-pair.rst
[edit]
[-] describe-reserved-instances-modifications.rst
[edit]
[-] describe-instance-status.rst
[edit]
[-] modify-spot-fleet-request.rst
[edit]
[-] describe-network-interface-permissions.rst
[edit]
[-] describe-fpga-image-attribute.rst
[edit]
[-] copy-image.rst
[edit]
[-] describe-vpc-peering-connections.rst
[edit]
[-] describe-instance-credit-specifications.rst
[edit]
[-] modify-snapshot-attribute.rst
[edit]
[-] create-key-pair.rst
[edit]
[-] attach-vpn-gateway.rst
[edit]
[-] describe-placement-groups.rst
[edit]
[-] create-vpn-connection-route.rst
[edit]
[-] delete-nat-gateway.rst
[edit]
[-] replace-route-table-association.rst
[edit]
[-] describe-spot-datafeed-subscription.rst
[edit]
[-] describe-vpn-gateways.rst
[edit]
[-] delete-network-acl-entry.rst
[edit]
[-] modify-vpc-endpoint-service-permissions.rst
[edit]
[-] unmonitor-instances.rst
[edit]
[-] describe-vpcs.rst
[edit]
[-] reject-vpc-endpoint-connections.rst
[edit]
[-] describe-reserved-instances.rst
[edit]
[-] cancel-spot-fleet-requests.rst
[edit]
[-] modify-reserved-instances.rst
[edit]
[-] describe-vpc-endpoint-services.rst
[edit]
[-] describe-identity-id-format.rst
[edit]
[-] accept-vpc-endpoint-connections.rst
[edit]
[-] describe-spot-instance-requests.rst
[edit]
[-] move-address-to-vpc.rst
[edit]
[-] describe-moving-addresses.rst
[edit]
[-] modify-identity-id-format.rst
[edit]
[-] describe-spot-price-history.rst
[edit]
[-] describe-launch-templates.rst
[edit]
[-] modify-network-interface-attribute.rst
[edit]
[-] describe-vpc-endpoint-service-configurations.rst
[edit]
[-] describe-vpc-endpoint-service-permissions.rst
[edit]
[-] describe-reserved-instances-offerings.rst
[edit]
[-] request-spot-fleet.rst
[edit]
[-] disassociate-address.rst
[edit]
[-] describe-vpc-endpoints.rst
[edit]
[-] delete-tags.rst
[edit]
[-] create-vpc.rst
[edit]
[-] replace-network-acl-entry.rst
[edit]
[-] associate-dhcp-options.rst
[edit]
[-] accept-reserved-instances-exchange-quote.rst
[edit]
[-] register-image.rst
[edit]
[-] assign-private-ip-addresses.rst
[edit]
[-] modify-image-attribute.rst
[edit]
[-] start-instances.rst
[edit]
[-] copy-snapshot.rst
[edit]
[-] detach-internet-gateway.rst
[edit]
[-] authorize-security-group-ingress.rst
[edit]
[-] unassign-ipv6-addresses.rst
[edit]
[-] confirm-product-instance.rst
[edit]
[-] delete-vpn-connection.rst
[edit]
[-] get-launch-template-data.rst
[edit]
[-] describe-vpc-endpoint-connection-notifications.rst
[edit]
[-] accept-vpc-peering-connection.rst
[edit]
[-] describe-vpc-endpoint-connections.rst
[edit]
[-] delete-vpc-endpoints.rst
[edit]
[-] describe-network-interfaces.rst
[edit]
[-] delete-flow-logs.rst
[edit]
[-] modify-vpc-peering-connection-options.rst
[edit]
[-] allocate-address.rst
[edit]
[-] describe-fpga-images.rst
[edit]
[-] create-vpc-peering-connection.rst
[edit]