Amazon Elastic Compute Cloud API Reference API Version 2014-10-01 Amazon Elastic Compute Cloud API Reference Amazon Elastic Compute Cloud: API Reference Copyright © 2014 Amazon Web Services, Inc. and/or its affiliates. All rights reserved. The following are trademarks of Amazon Web Services, Inc.: Amazon, Amazon Web Services Design, AWS, Amazon CloudFront, Cloudfront, CloudTrail, Amazon DevPay, DynamoDB, ElastiCache, Amazon EC2, Amazon Elastic Compute Cloud, Amazon Glacier, Kinesis, Kindle, Kindle Fire, AWS Marketplace Design, Mechanical Turk, Amazon Redshift, Amazon Route 53, Amazon S3, Amazon VPC. In addition, Amazon.com graphics, logos, page headers, button icons, scripts, and service names are trademarks, or trade dress of Amazon in the U.S. and/or other countries. Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon. Amazon Elastic Compute Cloud API Reference Table of Contents Welcome ..................................................................................................................................... 1 List of Actions by Function.............................................................................................................. 2 Actions ........................................................................................................................................ 8 AcceptVpcPeeringConnection................................................................................................ 12 Description ................................................................................................................. 12 Request Parameters .................................................................................................... 12 Response Elements ..................................................................................................... 12 Errors ........................................................................................................................ 12 Examples ................................................................................................................... 12 Related Actions........................................................................................................... 13 AllocateAddress .................................................................................................................. 13 Description ................................................................................................................. 13 Request Parameters .................................................................................................... 13 Response Elements ..................................................................................................... 14 Errors ........................................................................................................................ 14 Examples ................................................................................................................... 14 Related Actions........................................................................................................... 15 AssignPrivateIpAddresses..................................................................................................... 16 Description ................................................................................................................. 16 Request Parameters .................................................................................................... 16 Response Elements ..................................................................................................... 16 Errors ........................................................................................................................ 17 Examples ................................................................................................................... 17 Related Actions........................................................................................................... 18 AssociateAddress ................................................................................................................ 19 Description ................................................................................................................. 19 Request Parameters .................................................................................................... 19 Response Elements ..................................................................................................... 20 Errors ........................................................................................................................ 20 Examples ................................................................................................................... 20 Related Actions........................................................................................................... 21 AssociateDhcpOptions ......................................................................................................... 22 Description ................................................................................................................. 22 Request Parameters .................................................................................................... 22 Response Elements ..................................................................................................... 22 Errors ........................................................................................................................ 22 Examples ................................................................................................................... 23 Related Actions........................................................................................................... 23 AssociateRouteTable............................................................................................................ 24 Description ................................................................................................................. 24 Request Parameters .................................................................................................... 24 Response Elements ..................................................................................................... 24 Errors ........................................................................................................................ 24 Examples ................................................................................................................... 25 Related Actions........................................................................................................... 25 AttachInternetGateway ......................................................................................................... 26 Description ................................................................................................................. 26 Request Parameters .................................................................................................... 26 Response Elements ..................................................................................................... 26 Errors ........................................................................................................................ 26 Examples ................................................................................................................... 27 Related Actions........................................................................................................... 27 AttachNetworkInterface......................................................................................................... 28 Description ................................................................................................................. 28 Request Parameters .................................................................................................... 28 API Version 2014-10-01 iii Amazon Elastic Compute Cloud API Reference Response Elements ..................................................................................................... 28 Errors ........................................................................................................................ 28 Examples ................................................................................................................... 29 Related Actions........................................................................................................... 29 AttachVolume...................................................................................................................... 30 Description ................................................................................................................. 30 Request Parameters .................................................................................................... 30 Response Elements ..................................................................................................... 30 Errors ........................................................................................................................ 31 Examples ................................................................................................................... 31 Related Actions........................................................................................................... 32 AttachVpnGateway .............................................................................................................. 33 Description ................................................................................................................. 33 Request Parameters .................................................................................................... 33 Response Elements ..................................................................................................... 33 Errors ........................................................................................................................ 33 Examples ................................................................................................................... 34 Related Actions........................................................................................................... 34 AuthorizeSecurityGroupEgress .............................................................................................. 35 Description ................................................................................................................. 35 Request Parameters .................................................................................................... 35 Response Elements ..................................................................................................... 36 Errors ........................................................................................................................ 36 Examples ................................................................................................................... 36 Related Actions........................................................................................................... 37 AuthorizeSecurityGroupIngress .............................................................................................. 38 Description ................................................................................................................. 38 Request Parameters .................................................................................................... 38 Response Elements ..................................................................................................... 39 Errors ........................................................................................................................ 40 Examples ................................................................................................................... 40 Related Actions........................................................................................................... 41 BundleInstance ................................................................................................................... 42 Description ................................................................................................................. 42 Request Parameters .................................................................................................... 42 JSON Parameters........................................................................................................ 43 Response Elements ..................................................................................................... 43 Errors ........................................................................................................................ 43 Examples ................................................................................................................... 43 Related Actions........................................................................................................... 44 CancelBundleTask ............................................................................................................... 45 Description ................................................................................................................. 45 Request Parameters .................................................................................................... 45 Response Elements ..................................................................................................... 45 Errors ........................................................................................................................ 45 Examples ................................................................................................................... 45 Related Actions........................................................................................................... 46 CancelConversionTask ......................................................................................................... 47 Description ................................................................................................................. 47 Request Parameters .................................................................................................... 47 Response Elements ..................................................................................................... 47 Errors ........................................................................................................................ 47 Examples ................................................................................................................... 47 Related Actions........................................................................................................... 48 CancelExportTask................................................................................................................ 49 Description ................................................................................................................. 49 Request Parameters .................................................................................................... 49 Response Elements ..................................................................................................... 49 API Version 2014-10-01 iv Amazon Elastic Compute Cloud API Reference Errors ........................................................................................................................ 49 Examples ................................................................................................................... 49 Related Actions........................................................................................................... 50 CancelReservedInstancesListing............................................................................................ 51 Description ................................................................................................................. 51 Request Parameters .................................................................................................... 51 Response Elements ..................................................................................................... 51 Errors ........................................................................................................................ 51 Examples ................................................................................................................... 51 Related Actions........................................................................................................... 53 CancelSpotInstanceRequests ................................................................................................ 54 Description ................................................................................................................. 54 Request Parameters .................................................................................................... 54 Response Elements ..................................................................................................... 54 Errors ........................................................................................................................ 54 Examples ................................................................................................................... 54 Related Actions........................................................................................................... 56 ConfirmProductInstance ....................................................................................................... 57 Description ................................................................................................................. 57 Request Parameters .................................................................................................... 57 Response Elements ..................................................................................................... 57 Errors ........................................................................................................................ 57 Examples ................................................................................................................... 58 Related Actions........................................................................................................... 58 CopyImage ......................................................................................................................... 59 Description ................................................................................................................. 59 Request Parameters .................................................................................................... 59 Response Elements ..................................................................................................... 59 Errors ........................................................................................................................ 60 Examples ................................................................................................................... 60 CopySnapshot .................................................................................................................... 61 Description ................................................................................................................. 61 Request Parameters .................................................................................................... 61 Response Elements ..................................................................................................... 62 Errors ........................................................................................................................ 62 Examples ................................................................................................................... 62 Related Actions........................................................................................................... 63 CreateCustomerGateway ...................................................................................................... 64 Description ................................................................................................................. 64 Request Parameters .................................................................................................... 64 Response Elements ..................................................................................................... 64 Errors ........................................................................................................................ 65 Examples ................................................................................................................... 65 Related Actions........................................................................................................... 65 CreateDhcpOptions ............................................................................................................. 66 Description ................................................................................................................. 66 Request Parameters .................................................................................................... 66 Response Elements ..................................................................................................... 67 Errors ........................................................................................................................ 67 Examples ................................................................................................................... 67 Related Actions........................................................................................................... 68 CreateImage....................................................................................................................... 69 Description ................................................................................................................. 69 Request Parameters .................................................................................................... 69 Response Elements ..................................................................................................... 71 Errors ........................................................................................................................ 71 Examples ................................................................................................................... 71 Related Actions........................................................................................................... 72 API Version 2014-10-01 v Amazon Elastic Compute Cloud API Reference CreateInstanceExportTask .................................................................................................... 73 Description ................................................................................................................. 73 Request Parameters .................................................................................................... 73 Response Elements ..................................................................................................... 74 Errors ........................................................................................................................ 74 Examples ................................................................................................................... 74 Related Actions........................................................................................................... 75 CreateInternetGateway ......................................................................................................... 76 Description ................................................................................................................. 76 Request Parameters .................................................................................................... 76 Response Elements ..................................................................................................... 76 Errors ........................................................................................................................ 76 Examples ................................................................................................................... 76 Related Actions........................................................................................................... 77 CreateKeyPair..................................................................................................................... 78 Description ................................................................................................................. 78 Request Parameters .................................................................................................... 78 Response Elements ..................................................................................................... 78 Errors ........................................................................................................................ 78 Examples ................................................................................................................... 79 Related Actions........................................................................................................... 80 CreateNetworkAcl................................................................................................................ 81 Description ................................................................................................................. 81 Request Parameters .................................................................................................... 81 Response Elements ..................................................................................................... 81 Errors ........................................................................................................................ 81 Examples ................................................................................................................... 81 Related Actions........................................................................................................... 82 CreateNetworkAclEntry ........................................................................................................ 83 Description ................................................................................................................. 83 Request Parameters .................................................................................................... 83 Response Elements ..................................................................................................... 84 Errors ........................................................................................................................ 85 Examples ................................................................................................................... 85 Related Actions........................................................................................................... 85 CreateNetworkInterface ........................................................................................................ 86 Description ................................................................................................................. 86 Request Parameters .................................................................................................... 86 Response Elements ..................................................................................................... 87 Errors ........................................................................................................................ 87 Examples ................................................................................................................... 87 Related Actions........................................................................................................... 90 CreatePlacementGroup ........................................................................................................ 91 Description ................................................................................................................. 91 Request Parameters .................................................................................................... 91 Response Elements ..................................................................................................... 91 Errors ........................................................................................................................ 91 Examples ................................................................................................................... 92 Related Actions........................................................................................................... 92 CreateReservedInstancesListing ............................................................................................ 93 Description ................................................................................................................. 93 Request Parameters .................................................................................................... 93 Response Elements ..................................................................................................... 93 Errors ........................................................................................................................ 94 Examples ................................................................................................................... 94 Related Actions ......................................................................................................... 101 CreateRoute ..................................................................................................................... 102 Description ............................................................................................................... 102 API Version 2014-10-01 vi Amazon Elastic Compute Cloud API Reference Request Parameters................................................................................................... 102 Response Elements ................................................................................................... 103 Errors ...................................................................................................................... 103 Examples ................................................................................................................. 103 Related Actions ......................................................................................................... 104 CreateRouteTable .............................................................................................................. 105 Description ............................................................................................................... 105 Request Parameters................................................................................................... 105 Response Elements ................................................................................................... 105 Errors ...................................................................................................................... 105 Examples ................................................................................................................. 105 Related Actions ......................................................................................................... 106 CreateSecurityGroup .......................................................................................................... 107 Description ............................................................................................................... 107 Request Parameters................................................................................................... 107 Response Elements ................................................................................................... 108 Errors ...................................................................................................................... 108 Examples ................................................................................................................. 108 Related Actions ......................................................................................................... 109 CreateSnapshot................................................................................................................. 110 Description ............................................................................................................... 110 Request Parameters................................................................................................... 110 Response Elements ................................................................................................... 110 Errors ...................................................................................................................... 111 Examples ................................................................................................................. 112 Related Actions ......................................................................................................... 112 CreateSpotDatafeedSubscription .......................................................................................... 113 Description ............................................................................................................... 113 Request Parameters................................................................................................... 113 Response Elements ................................................................................................... 113 Examples ................................................................................................................. 113 Related Actions ......................................................................................................... 114 CreateSubnet.................................................................................................................... 115 Description ............................................................................................................... 115 Request Parameters................................................................................................... 115 Response Elements ................................................................................................... 116 Errors ...................................................................................................................... 116 Examples ................................................................................................................. 116 Related Actions ......................................................................................................... 117 CreateTags ....................................................................................................................... 118 Description ............................................................................................................... 118 Request Parameters................................................................................................... 118 Response Elements ................................................................................................... 118 Errors ...................................................................................................................... 119 Examples ................................................................................................................. 119 Related Actions ......................................................................................................... 120 CreateVolume ................................................................................................................... 121 Description ............................................................................................................... 121 Request Parameters................................................................................................... 121 Response Elements ................................................................................................... 122 Errors ...................................................................................................................... 123 Examples ................................................................................................................. 123 Related Actions ......................................................................................................... 125 CreateVpc ........................................................................................................................ 126 Description ............................................................................................................... 126 Request Parameters................................................................................................... 126 Response Elements ................................................................................................... 126 Errors ...................................................................................................................... 126 API Version 2014-10-01 vii Amazon Elastic Compute Cloud API Reference Examples ................................................................................................................. 127 Related Actions ......................................................................................................... 128 CreateVpcPeeringConnection .............................................................................................. 128 Description ............................................................................................................... 128 Request Parameters................................................................................................... 128 Response Elements ................................................................................................... 128 Errors ...................................................................................................................... 129 Examples ................................................................................................................. 129 Related Actions ......................................................................................................... 130 CreateVpnConnection......................................................................................................... 131 Description ............................................................................................................... 131 Request Parameters................................................................................................... 131 Response Elements ................................................................................................... 132 Errors ...................................................................................................................... 132 Examples ................................................................................................................. 132 Related Actions ......................................................................................................... 133 CreateVpnConnectionRoute ................................................................................................ 134 Description ............................................................................................................... 134 Request Parameters................................................................................................... 134 Response Elements ................................................................................................... 134 Errors ...................................................................................................................... 134 Examples ................................................................................................................. 135 Related Actions ......................................................................................................... 135 CreateVpnGateway ............................................................................................................ 136 Description ............................................................................................................... 136 Request Parameters................................................................................................... 136 Response Elements ................................................................................................... 136 Errors ...................................................................................................................... 136 Examples ................................................................................................................. 136 Related Actions ......................................................................................................... 137 DeleteCustomerGateway..................................................................................................... 138 Description ............................................................................................................... 138 Request Parameters................................................................................................... 138 Response Elements ................................................................................................... 138 Errors ...................................................................................................................... 138 Examples ................................................................................................................. 138 Related Actions ......................................................................................................... 139 DeleteDhcpOptions ............................................................................................................ 140 Description ............................................................................................................... 140 Request Parameters................................................................................................... 140 Response Elements ................................................................................................... 140 Errors ...................................................................................................................... 140 Examples ................................................................................................................. 140 Related Actions ......................................................................................................... 141 DeleteInternetGateway ....................................................................................................... 142 Description ............................................................................................................... 142 Request Parameters................................................................................................... 142 Response Elements ................................................................................................... 142 Errors ...................................................................................................................... 142 Examples ................................................................................................................. 142 Related Actions ......................................................................................................... 143 DeleteKeyPair ................................................................................................................... 144 Description ............................................................................................................... 144 Request Parameters................................................................................................... 144 Response Elements ................................................................................................... 144 Errors ...................................................................................................................... 144 Examples ................................................................................................................. 144 Related Actions ......................................................................................................... 145 API Version 2014-10-01 viii Amazon Elastic Compute Cloud API Reference DeleteNetworkAcl .............................................................................................................. 146 Description ............................................................................................................... 146 Request Parameters................................................................................................... 146 Response Elements ................................................................................................... 146 Errors ...................................................................................................................... 146 Examples ................................................................................................................. 146 Related Actions ......................................................................................................... 147 DeleteNetworkAclEntry ....................................................................................................... 148 Description ............................................................................................................... 148 Request Parameters................................................................................................... 148 Response Elements ................................................................................................... 148 Errors ...................................................................................................................... 148 Examples ................................................................................................................. 149 Related Actions ......................................................................................................... 149 DeleteNetworkInterface....................................................................................................... 150 Description ............................................................................................................... 150 Request Parameters................................................................................................... 150 Response Elements ................................................................................................... 150 Errors ...................................................................................................................... 150 Examples ................................................................................................................. 150 Related Actions ......................................................................................................... 151 DeletePlacementGroup ....................................................................................................... 152 Description ............................................................................................................... 152 Request Parameters................................................................................................... 152 Response Elements ................................................................................................... 152 Errors ...................................................................................................................... 152 Examples ................................................................................................................. 152 Related Actions ......................................................................................................... 153 DeleteRoute...................................................................................................................... 154 Description ............................................................................................................... 154 Request Parameters................................................................................................... 154 Response Elements ................................................................................................... 154 Errors ...................................................................................................................... 154 Examples ................................................................................................................. 154 Related Actions ......................................................................................................... 155 DeleteRouteTable .............................................................................................................. 156 Description ............................................................................................................... 156 Request Parameters................................................................................................... 156 Response Elements ................................................................................................... 156 Errors ...................................................................................................................... 156 Examples ................................................................................................................. 156 Related Actions ......................................................................................................... 157 DeleteSecurityGroup .......................................................................................................... 158 Description ............................................................................................................... 158 Request Parameters................................................................................................... 158 Response Elements ................................................................................................... 158 Errors ...................................................................................................................... 158 Examples ................................................................................................................. 159 Related Actions ......................................................................................................... 159 DeleteSnapshot ................................................................................................................. 160 Description ............................................................................................................... 160 Request Parameters................................................................................................... 160 Response Elements ................................................................................................... 160 Errors ...................................................................................................................... 160 Examples ................................................................................................................. 161 Related Actions ......................................................................................................... 161 DeleteSpotDatafeedSubscription .......................................................................................... 162 Description ............................................................................................................... 162 API Version 2014-10-01 ix Amazon Elastic Compute Cloud API Reference Request Parameters................................................................................................... 162 Response Elements ................................................................................................... 162 Examples ................................................................................................................. 162 Related Actions ......................................................................................................... 162 DeleteSubnet .................................................................................................................... 163 Description ............................................................................................................... 163 Request Parameters................................................................................................... 163 Response Elements ................................................................................................... 163 Errors ...................................................................................................................... 163 Examples ................................................................................................................. 163 Related Actions ......................................................................................................... 164 DeleteTags ....................................................................................................................... 165 Description ............................................................................................................... 165 Request Parameters................................................................................................... 165 Response Elements ................................................................................................... 165 Errors ...................................................................................................................... 165 Examples ................................................................................................................. 166 Related Actions ......................................................................................................... 167 DeleteVolume.................................................................................................................... 168 Description ............................................................................................................... 168 Request Parameters................................................................................................... 168 Response Elements ................................................................................................... 168 Errors ...................................................................................................................... 168 Examples ................................................................................................................. 168 Related Actions ......................................................................................................... 169 DeleteVpc......................................................................................................................... 170 Description ............................................................................................................... 170 Request Parameters................................................................................................... 170 Response Elements ................................................................................................... 170 Errors ...................................................................................................................... 170 Examples ................................................................................................................. 170 Related Actions ......................................................................................................... 171 DeleteVpcPeeringConnection............................................................................................... 171 Description ............................................................................................................... 171 Request Parameters................................................................................................... 171 Response Elements ................................................................................................... 171 Errors ...................................................................................................................... 172 Examples ................................................................................................................. 172 Related Actions ......................................................................................................... 172 DeleteVpnConnection ......................................................................................................... 173 Description ............................................................................................................... 173 Request Parameters................................................................................................... 173 Response Elements ................................................................................................... 173 Errors ...................................................................................................................... 173 Examples ................................................................................................................. 174 Related Actions ......................................................................................................... 174 DeleteVpnConnectionRoute................................................................................................. 175 Description ............................................................................................................... 175 Request Parameters................................................................................................... 175 Response Elements ................................................................................................... 175 Errors ...................................................................................................................... 175 Examples ................................................................................................................. 176 Related Actions ......................................................................................................... 176 DeleteVpnGateway ............................................................................................................ 177 Description ............................................................................................................... 177 Request Parameters................................................................................................... 177 Response Elements ................................................................................................... 177 Errors ...................................................................................................................... 177 API Version 2014-10-01 x
Description: