diff --git a/codegen/core/src/main/java/org/jclouds/codegen/model/TopLevelType.java b/codegen/core/src/main/java/org/jclouds/codegen/model/TopLevelType.java index c5f05cbe5c..b206c7806b 100644 --- a/codegen/core/src/main/java/org/jclouds/codegen/model/TopLevelType.java +++ b/codegen/core/src/main/java/org/jclouds/codegen/model/TopLevelType.java @@ -23,12 +23,13 @@ */ package org.jclouds.codegen.model; +import java.util.List; public class TopLevelType extends Type { private String ancestor; - private String exampleCode; - private String exampleHTML; + private List exampleCode; + private List exampleHTML; public void setAncestor(String ancestor) { this.ancestor = ancestor; @@ -38,19 +39,19 @@ public class TopLevelType extends Type { return ancestor; } - public void setExampleCode(String exampleCode) { + public void setExampleCode(List exampleCode) { this.exampleCode = exampleCode; } - public String getExampleCode() { + public List getExampleCode() { return exampleCode; } - public void setExampleHTML(String exampleHTML) { + public void setExampleHTML(List exampleHTML) { this.exampleHTML = exampleHTML; } - public String getExampleHTML() { + public List getExampleHTML() { return exampleHTML; } diff --git a/codegen/ec2/src/main/bin/parse_ec2.pl b/codegen/ec2/src/main/bin/parse_ec2.pl index bfc07a9fb4..54722b1545 100755 --- a/codegen/ec2/src/main/bin/parse_ec2.pl +++ b/codegen/ec2/src/main/bin/parse_ec2.pl @@ -233,7 +233,7 @@ sub build_contents { } push @params, \%param; } - + # Attribute query parameters come in as separate parameters, so # we coallate them into one my %attribute; @@ -298,14 +298,20 @@ sub build_item { $item->{description} = ${descriptionDiv}->look_down( '_tag', 'p' )->as_text(); } - my $id = "ApiReference-query-${_}-Example-${class}-1"; - my ${requestExampleDiv} = - $tree->look_down( '_tag', 'h3', 'id', "$id" ) - ->look_up( '_tag', 'div', 'class', 'section' ); - $item->{exampleHTML} = ${requestExampleDiv}->as_HTML(); - $item->{exampleCode} = - ${requestExampleDiv} - ->look_down( '_tag', 'pre', 'class', 'programlisting' )->as_text(); + for my $I ( 1 .. 10 ) { + my $id = "ApiReference-query-${_}-Example-${class}-$I"; + my ${requestExampleH3} = + $tree->look_down( '_tag', 'h3', 'id', "$id" ); + last unless defined ${requestExampleH3}; + my ${requestExampleDiv} = + ${requestExampleH3}->look_up( '_tag', 'div', 'class', 'section' ); + push @{ $item->{exampleHTML} }, ${requestExampleDiv}->as_HTML(); + push @{ $item->{exampleCode} }, + ${requestExampleDiv} + ->look_down( '_tag', 'pre', 'class', 'programlisting' ) + ->as_text(); + } + $tree->eof; $tree->delete; diff --git a/codegen/ec2/src/main/java/org/jclouds/codegen/ec2/queryapi/DataType.java b/codegen/ec2/src/main/java/org/jclouds/codegen/ec2/queryapi/DataType.java index ad15049035..646a0b3ad5 100644 --- a/codegen/ec2/src/main/java/org/jclouds/codegen/ec2/queryapi/DataType.java +++ b/codegen/ec2/src/main/java/org/jclouds/codegen/ec2/queryapi/DataType.java @@ -23,6 +23,7 @@ */ package org.jclouds.codegen.ec2.queryapi; +import java.util.List; import java.util.Set; public class DataType { @@ -30,8 +31,8 @@ public class DataType { private String type; private String ancestor; private Set see; - private String exampleCode; - private String exampleHTML; + private List exampleCode; + private List exampleHTML; private Set contents; public DataType() { @@ -62,14 +63,6 @@ public class DataType { return see; } - public void setExampleCode(String exampleCode) { - this.exampleCode = exampleCode; - } - - public String getExampleCode() { - return exampleCode; - } - public void setContents(Set contents) { this.contents = contents; } @@ -78,11 +71,19 @@ public class DataType { return contents; } - public void setExampleHTML(String exampleHTML) { + public void setExampleCode(List exampleCode) { + this.exampleCode = exampleCode; + } + + public List getExampleCode() { + return exampleCode; + } + + public void setExampleHTML(List exampleHTML) { this.exampleHTML = exampleHTML; } - public String getExampleHTML() { + public List getExampleHTML() { return exampleHTML; } diff --git a/codegen/ec2/src/main/resources/objmodels/ec2.json b/codegen/ec2/src/main/resources/objmodels/ec2.json index dea93dacd5..b908af10ee 100644 --- a/codegen/ec2/src/main/resources/objmodels/ec2.json +++ b/codegen/ec2/src/main/resources/objmodels/ec2.json @@ -4,8 +4,12 @@ "name" : "Instances", "queries" : { "TerminateInstances" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=TerminateInstances&InstanceId.1=i-3ea74257&AuthParams", - "exampleHTML" : "

Example Request

This example terminates the i-3ea74257 instance.

https://ec2.amazonaws.com/?Action=TerminateInstances&InstanceId.1=i-3ea74257&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=TerminateInstances&InstanceId.1=i-3ea74257&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example terminates the i-3ea74257 instance.

https://ec2.amazonaws.com/?Action=TerminateInstances&InstanceId.1=i-3ea74257&AuthParams
\n" + ], "contents" : [ { "desc" : "Instance ID to terminate.", @@ -24,8 +28,12 @@ "responseType" : "TerminateInstancesResponse" }, "DescribeInstances" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeInstances&AuthParams", - "exampleHTML" : "

Example Request

This example describes the current state of the instances owned by this user.

https://ec2.amazonaws.com/?Action=DescribeInstances&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DescribeInstances&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example describes the current state of the instances owned by this user.

https://ec2.amazonaws.com/?Action=DescribeInstances&AuthParams
\n" + ], "contents" : [ { "desc" : "Instance IDs to describe.", @@ -45,8 +53,12 @@ "responseType" : "DescribeInstancesResponse" }, "RunInstances" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=RunInstances&ImageId=ami-60a54009&MaxCount=3&MinCount=1&Placement.AvailabilityZone=us-east-1a&Monitoring.Enabled=true&AuthParams", - "exampleHTML" : "

Example Request

This example launches three instances of the ami-60a54009 AMI.

https://ec2.amazonaws.com/?Action=RunInstances&ImageId=ami-60a54009&MaxCount=3&MinCount=1&Placement.AvailabilityZone=us-east-1a&Monitoring.Enabled=true&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=RunInstances&ImageId=ami-60a54009&MaxCount=3&MinCount=1&Placement.AvailabilityZone=us-east-1a&Monitoring.Enabled=true&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example launches three instances of the ami-60a54009 AMI.

https://ec2.amazonaws.com/?Action=RunInstances&ImageId=ami-60a54009&MaxCount=3&MinCount=1&Placement.AvailabilityZone=us-east-1a&Monitoring.Enabled=true&AuthParams
\n" + ], "contents" : [ { "desc" : "Unique ID of a machine image, returned by a call to ", @@ -185,8 +197,12 @@ "responseType" : "RunInstancesResponse" }, "RebootInstances" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=RebootInstances&AuthParams", - "exampleHTML" : "

Example Request

This example reboots an instance.

https://ec2.amazonaws.com/?Action=RebootInstances&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=RebootInstances&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example reboots an instance.

https://ec2.amazonaws.com/?Action=RebootInstances&AuthParams
\n" + ], "contents" : [ { "desc" : "One or more instance IDs.", @@ -210,8 +226,12 @@ "name" : "AMIs", "queries" : { "DeregisterImage" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DeregisterImage&ImageId=ami-4fa54026&AuthParams", - "exampleHTML" : "

Example Request

This example deregisters the ami-4fa54026 AMI.

https://ec2.amazonaws.com/?Action=DeregisterImage&ImageId=ami-4fa54026&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DeregisterImage&ImageId=ami-4fa54026&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example deregisters the ami-4fa54026 AMI.

https://ec2.amazonaws.com/?Action=DeregisterImage&ImageId=ami-4fa54026&AuthParams
\n" + ], "contents" : [ { "desc" : "Unique ID of the AMI which was assigned during registration. To register an AMI, use ", @@ -231,8 +251,14 @@ "responseType" : "DeregisterImageResponse" }, "ModifyImageAttribute" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=ModifyImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&OperationType=add&Group.1=all &UserId.1=495219933132&AuthParams", - "exampleHTML" : "

Example Request

This example makes this a public AMI and grants specific permissions to a user.

https://ec2.amazonaws.com/?Action=ModifyImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&OperationType=add&Group.1=all &UserId.1=495219933132&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=ModifyImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&OperationType=add&Group.1=all &UserId.1=495219933132&AuthParams", + "https://ec2.amazonaws.com/?Action=ModifyImageAttribute?Action=ModifyImageAttribute&ImageId=ami-61a54008&Attribute=productCodes&ProductCode.1=774F4FF8&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example makes this a public AMI and grants specific permissions to a user.

https://ec2.amazonaws.com/?Action=ModifyImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&OperationType=add&Group.1=all &UserId.1=495219933132&AuthParams
\n", + "

Example Request

The following example adds the 774F4FF8 product code to the ami-2bb65342 AMI:

https://ec2.amazonaws.com/?Action=ModifyImageAttribute?Action=ModifyImageAttribute&ImageId=ami-61a54008&Attribute=productCodes&ProductCode.1=774F4FF8&AuthParams
\n" + ], "contents" : [ { "desc" : "The AMI ID.", @@ -287,8 +313,14 @@ "responseType" : "ModifyImageAttributeResponse" }, "DescribeImageAttribute" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeImageAttribute&ImageId=ami-2bb65342&Attribute=launchPermission&AuthParams", - "exampleHTML" : "

Example Request

This example lists the launch permissions for the ami-61a54008 AMI

https://ec2.amazonaws.com/?Action=DescribeImageAttribute&ImageId=ami-2bb65342&Attribute=launchPermission&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DescribeImageAttribute&ImageId=ami-2bb65342&Attribute=launchPermission&AuthParams", + "https://ec2.amazonaws.com/?Action=DescribeImageAttribute&ImageId=ami-2bb65342&Attribute=productCodes&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example lists the launch permissions for the ami-61a54008 AMI

https://ec2.amazonaws.com/?Action=DescribeImageAttribute&ImageId=ami-2bb65342&Attribute=launchPermission&AuthParams
\n", + "

Example Request

This example lists the product code for the ami-2bb65342AMI.

https://ec2.amazonaws.com/?Action=DescribeImageAttribute&ImageId=ami-2bb65342&Attribute=productCodes&AuthParams
\n" + ], "contents" : [ { "desc" : "The ID of the AMI for which an attribute will be described.", @@ -323,8 +355,12 @@ "responseType" : "DescribeImageAttributeResponse" }, "DescribeImages" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeImages&ImageId.1=ami-be3adfd7&AuthParams", - "exampleHTML" : "

Example Request

This example describes the ami-be3adfd7 AMI.

https://ec2.amazonaws.com/?Action=DescribeImages&ImageId.1=ami-be3adfd7&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DescribeImages&ImageId.1=ami-be3adfd7&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example describes the ami-be3adfd7 AMI.

https://ec2.amazonaws.com/?Action=DescribeImages&ImageId.1=ami-be3adfd7&AuthParams
\n" + ], "contents" : [ { "name" : "public", @@ -354,8 +390,12 @@ "name" : "Monitoring", "queries" : { "MonitorInstances" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=MonitorInstances&InstanceId.1=i-43a4412a&InstanceId.2=i-23a3397d&AuthParams", - "exampleHTML" : "

Example Request

This example enables monitoring for i-43a4412a and i-23a3397d.

https://ec2.amazonaws.com/?Action=MonitorInstances&InstanceId.1=i-43a4412a&InstanceId.2=i-23a3397d&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=MonitorInstances&InstanceId.1=i-43a4412a&InstanceId.2=i-23a3397d&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example enables monitoring for i-43a4412a and i-23a3397d.

https://ec2.amazonaws.com/?Action=MonitorInstances&InstanceId.1=i-43a4412a&InstanceId.2=i-23a3397d&AuthParams
\n" + ], "contents" : [ { "desc" : "Instance ID.", @@ -375,8 +415,12 @@ "responseType" : "MonitorInstancesResponse" }, "UnmonitorInstances" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=UnmonitorInstances&InstanceId.1=i-43a4412a&InstanceId.2=i-23a3397d&AuthParams", - "exampleHTML" : "

Example Request

This example disables monitoring for i-43a4412a and i-23a3397d.

https://ec2.amazonaws.com/?Action=UnmonitorInstances&InstanceId.1=i-43a4412a&InstanceId.2=i-23a3397d&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=UnmonitorInstances&InstanceId.1=i-43a4412a&InstanceId.2=i-23a3397d&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example disables monitoring for i-43a4412a and i-23a3397d.

https://ec2.amazonaws.com/?Action=UnmonitorInstances&InstanceId.1=i-43a4412a&InstanceId.2=i-23a3397d&AuthParams
\n" + ], "contents" : [ { "desc" : "Instance ID.", @@ -401,8 +445,12 @@ "name" : "Security Groups", "queries" : { "DescribeSecurityGroups" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeSecurityGroups&GroupName.1=WebServers&GroupName.2=RangedPortsBySource&AuthParams", - "exampleHTML" : "

Example Request

This example returns information about two security groups that are configured for the account.

https://ec2.amazonaws.com/?Action=DescribeSecurityGroups&GroupName.1=WebServers&GroupName.2=RangedPortsBySource&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DescribeSecurityGroups&GroupName.1=WebServers&GroupName.2=RangedPortsBySource&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example returns information about two security groups that are configured for the account.

https://ec2.amazonaws.com/?Action=DescribeSecurityGroups&GroupName.1=WebServers&GroupName.2=RangedPortsBySource&AuthParams
\n" + ], "contents" : [ { "desc" : "Name of the security group.", @@ -424,8 +472,12 @@ "responseType" : "DescribeSecurityGroupsResponse" }, "AuthorizeSecurityGroupIngress" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=AuthorizeSecurityGroupIngress&GroupName=websrv\n&IpProtocol=tcp\n&FromPort=80\n&ToPort=80\n&CidrIp=205.192.0.0/16\n&AuthParams", - "exampleHTML" : "

Example Request

This example grants TCP port 80 access from the 205.192.0.0/16 address range to the websrv security group.

https://ec2.amazonaws.com/?Action=AuthorizeSecurityGroupIngress&GroupName=websrv\n&IpProtocol=tcp\n&FromPort=80\n&ToPort=80\n&CidrIp=205.192.0.0/16\n&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=AuthorizeSecurityGroupIngress&GroupName=websrv\n&IpProtocol=tcp\n&FromPort=80\n&ToPort=80\n&CidrIp=205.192.0.0/16\n&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example grants TCP port 80 access from the 205.192.0.0/16 address range to the websrv security group.

https://ec2.amazonaws.com/?Action=AuthorizeSecurityGroupIngress&GroupName=websrv\n&IpProtocol=tcp\n&FromPort=80\n&ToPort=80\n&CidrIp=205.192.0.0/16\n&AuthParams
\n" + ], "contents" : [ { "desc" : "AWS Access Key ID.", @@ -502,8 +554,12 @@ "responseType" : "AuthorizeSecurityGroupIngressResponse" }, "CreateSecurityGroup" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=CreateSecurityGroup&GroupName=websrv&GroupDescription='Web Servers'&AuthParams", - "exampleHTML" : "

Example Request

This example creates the websrv security group.

https://ec2.amazonaws.com/?Action=CreateSecurityGroup&GroupName=websrv&GroupDescription='Web Servers'&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=CreateSecurityGroup&GroupName=websrv&GroupDescription='Web Servers'&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example creates the websrv security group.

https://ec2.amazonaws.com/?Action=CreateSecurityGroup&GroupName=websrv&GroupDescription='Web Servers'&AuthParams
\n" + ], "contents" : [ { "constraints" : "Accepts alphanumeric characters, spaces, dashes, and underscores.", @@ -535,8 +591,12 @@ "responseType" : "CreateSecurityGroupResponse" }, "DeleteSecurityGroup" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DeleteSecurityGroup&GroupName=websrv&AuthParams", - "exampleHTML" : "

Example Request

This example deletes the websrv security group.

https://ec2.amazonaws.com/?Action=DeleteSecurityGroup&GroupName=websrv&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DeleteSecurityGroup&GroupName=websrv&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example deletes the websrv security group.

https://ec2.amazonaws.com/?Action=DeleteSecurityGroup&GroupName=websrv&AuthParams
\n" + ], "contents" : [ { "desc" : "Name of the security group to delete.", @@ -558,8 +618,12 @@ "responseType" : "DeleteSecurityGroupResponse" }, "RevokeSecurityGroupIngress" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=RevokeSecurityGroupIngress&IpProtocol=tcp&FromPort=80&ToPort=80&CidrIp=205.192.0.0/16\n&AuthParams", - "exampleHTML" : "

Example Request

This example revokes TCP port 80 access from the 205.192.0.0/16 address range for the websrv security group.

https://ec2.amazonaws.com/?Action=RevokeSecurityGroupIngress&IpProtocol=tcp&FromPort=80&ToPort=80&CidrIp=205.192.0.0/16\n&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=RevokeSecurityGroupIngress&IpProtocol=tcp&FromPort=80&ToPort=80&CidrIp=205.192.0.0/16\n&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example revokes TCP port 80 access from the 205.192.0.0/16 address range for the websrv security group.

https://ec2.amazonaws.com/?Action=RevokeSecurityGroupIngress&IpProtocol=tcp&FromPort=80&ToPort=80&CidrIp=205.192.0.0/16\n&AuthParams
\n" + ], "contents" : [ { "desc" : "AWS Access Key ID.", @@ -641,8 +705,12 @@ "name" : "Images", "queries" : { "ResetImageAttribute" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=ResetImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&AuthParams", - "exampleHTML" : "

Example Request

This example resets the launchPermission attribute.

https://ec2.amazonaws.com/?Action=ResetImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=ResetImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example resets the launchPermission attribute.

https://ec2.amazonaws.com/?Action=ResetImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&AuthParams
\n" + ], "contents" : [ { "desc" : "ID of the AMI on which the attribute will be reset.", @@ -662,8 +730,12 @@ "responseType" : "ResetImageAttributeResponse" }, "RegisterImage" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=RegisterImage&ImageLocation=mybucket-myimage.manifest.xml&AuthParams", - "exampleHTML" : "

Example Request

This example registers the AMI specified in the image.manifest.xml manifest file.

https://ec2.amazonaws.com/?Action=RegisterImage&ImageLocation=mybucket-myimage.manifest.xml&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=RegisterImage&ImageLocation=mybucket-myimage.manifest.xml&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example registers the AMI specified in the image.manifest.xml manifest file.

https://ec2.amazonaws.com/?Action=RegisterImage&ImageLocation=mybucket-myimage.manifest.xml&AuthParams
\n" + ], "contents" : [ { "desc" : "Full path to your AMI manifest in Amazon S3 storage.", @@ -688,8 +760,12 @@ "name" : "Availability Zones and Regions", "queries" : { "DescribeAvailabilityZones" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeAvailabilityZones&ZoneName.0=us-east-1a&ZoneName.1=us-east-1b&ZoneName.2=us-east-1c&ZoneName.3=us-east-1d&AuthParams", - "exampleHTML" : "

Example Request

This example displays information about Availability Zones that are available to the account.

https://ec2.amazonaws.com/?Action=DescribeAvailabilityZones&ZoneName.0=us-east-1a&ZoneName.1=us-east-1b&ZoneName.2=us-east-1c&ZoneName.3=us-east-1d&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DescribeAvailabilityZones&ZoneName.0=us-east-1a&ZoneName.1=us-east-1b&ZoneName.2=us-east-1c&ZoneName.3=us-east-1d&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example displays information about Availability Zones that are available to the account.

https://ec2.amazonaws.com/?Action=DescribeAvailabilityZones&ZoneName.0=us-east-1a&ZoneName.1=us-east-1b&ZoneName.2=us-east-1c&ZoneName.3=us-east-1d&AuthParams
\n" + ], "contents" : [ { "desc" : "Availability Zone name.", @@ -709,8 +785,12 @@ "responseType" : "DescribeAvailabilityZonesResponse" }, "DescribeRegions" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeRegions&RegionName.0=us-east-1&RegionName.1=eu-west-1&AuthParams", - "exampleHTML" : "

Example Request

This example displays regions that are available to the account.

https://ec2.amazonaws.com/?Action=DescribeRegions&RegionName.0=us-east-1&RegionName.1=eu-west-1&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DescribeRegions&RegionName.0=us-east-1&RegionName.1=eu-west-1&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example displays regions that are available to the account.

https://ec2.amazonaws.com/?Action=DescribeRegions&RegionName.0=us-east-1&RegionName.1=eu-west-1&AuthParams
\n" + ], "contents" : [ { "desc" : "Name of a region.", @@ -735,8 +815,12 @@ "name" : "Windows", "queries" : { "CancelBundleTask" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=CancelBundleTask&BundleId=bun-cla322b9&AuthParams", - "exampleHTML" : "

Example Request

This example cancels the bun-cla322b9 bundle task.

https://ec2.amazonaws.com/?Action=CancelBundleTask&BundleId=bun-cla322b9&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=CancelBundleTask&BundleId=bun-cla322b9&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example cancels the bun-cla322b9 bundle task.

https://ec2.amazonaws.com/?Action=CancelBundleTask&BundleId=bun-cla322b9&AuthParams
\n" + ], "contents" : [ { "desc" : "The ID of the bundle task to cancel.", @@ -756,8 +840,12 @@ "responseType" : "CancelBundleTaskResponse" }, "DescribeBundleTasks" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeBundleTasks&bundleId.0=bun-c1a540a8&AuthParams", - "exampleHTML" : "

Example Request

This example describes the status of the bun-57a5403e bundle task.

https://ec2.amazonaws.com/?Action=DescribeBundleTasks&bundleId.0=bun-c1a540a8&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DescribeBundleTasks&bundleId.0=bun-c1a540a8&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example describes the status of the bun-57a5403e bundle task.

https://ec2.amazonaws.com/?Action=DescribeBundleTasks&bundleId.0=bun-c1a540a8&AuthParams
\n" + ], "contents" : [ { "desc" : "The ID of the bundle task to describe.", @@ -777,8 +865,12 @@ "responseType" : "DescribeBundleTasksResponse" }, "BundleInstance" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=BundleInstance&InstanceId=-i-e468cd8d\n&Storage.S3.AWSAccessKeyId=10QMXFEV71ZS32XQFTR2\n&Storage.S3.Bucket=my-bucket\n&Storage.S3.Prefix=winami\n&Storage.S3.UploadPolicy=eyJleHBpcmF0aW9uIjogIjIwMDgtMDgtMzBUMDg6NDk6MDlaIiwiY29uZGl0aW9ucyI6IFt7ImJ1Y2tldCI6ICJteS1idWNrZXQifSxbInN0YXJ0cy13aXRoIiwgIiRrZXkiLCAibXktbmV3LWltYWdlIl1dfQ%3D%3D\n&Storage.S3.UploadPolicySignature=w6BZu2oxGsiiLZnoBmQSErotuMA%3D\n&AuthParams", - "exampleHTML" : "

Example Request

This example bundles the i-e468cd8d instance.

https://ec2.amazonaws.com/?Action=BundleInstance&InstanceId=-i-e468cd8d\n&Storage.S3.AWSAccessKeyId=10QMXFEV71ZS32XQFTR2\n&Storage.S3.Bucket=my-bucket\n&Storage.S3.Prefix=winami\n&Storage.S3.UploadPolicy=eyJleHBpcmF0aW9uIjogIjIwMDgtMDgtMzBUMDg6NDk6MDlaIiwiY29uZGl0aW9ucyI6IFt7ImJ1Y2tldCI6ICJteS1idWNrZXQifSxbInN0YXJ0cy13aXRoIiwgIiRrZXkiLCAibXktbmV3LWltYWdlIl1dfQ%3D%3D\n&Storage.S3.UploadPolicySignature=w6BZu2oxGsiiLZnoBmQSErotuMA%3D\n&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=BundleInstance&InstanceId=-i-e468cd8d\n&Storage.S3.AWSAccessKeyId=10QMXFEV71ZS32XQFTR2\n&Storage.S3.Bucket=my-bucket\n&Storage.S3.Prefix=winami\n&Storage.S3.UploadPolicy=eyJleHBpcmF0aW9uIjogIjIwMDgtMDgtMzBUMDg6NDk6MDlaIiwiY29uZGl0aW9ucyI6IFt7ImJ1Y2tldCI6ICJteS1idWNrZXQifSxbInN0YXJ0cy13aXRoIiwgIiRrZXkiLCAibXktbmV3LWltYWdlIl1dfQ%3D%3D\n&Storage.S3.UploadPolicySignature=w6BZu2oxGsiiLZnoBmQSErotuMA%3D\n&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example bundles the i-e468cd8d instance.

https://ec2.amazonaws.com/?Action=BundleInstance&InstanceId=-i-e468cd8d\n&Storage.S3.AWSAccessKeyId=10QMXFEV71ZS32XQFTR2\n&Storage.S3.Bucket=my-bucket\n&Storage.S3.Prefix=winami\n&Storage.S3.UploadPolicy=eyJleHBpcmF0aW9uIjogIjIwMDgtMDgtMzBUMDg6NDk6MDlaIiwiY29uZGl0aW9ucyI6IFt7ImJ1Y2tldCI6ICJteS1idWNrZXQifSxbInN0YXJ0cy13aXRoIiwgIiRrZXkiLCAibXktbmV3LWltYWdlIl1dfQ%3D%3D\n&Storage.S3.UploadPolicySignature=w6BZu2oxGsiiLZnoBmQSErotuMA%3D\n&AuthParams
\n" + ], "contents" : [ { "desc" : "The ID of the instance to bundle.", @@ -838,8 +930,12 @@ "name" : "Amazon DevPay", "queries" : { "ConfirmProductInstance" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=ConfirmProductInstance&ProductCode=774F4FF8&InstanceId=i-10a64379&AuthParams", - "exampleHTML" : "

Example Request

This example describes the confirms the product code is associated with the instance.

https://ec2.amazonaws.com/?Action=ConfirmProductInstance&ProductCode=774F4FF8&InstanceId=i-10a64379&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=ConfirmProductInstance&ProductCode=774F4FF8&InstanceId=i-10a64379&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example describes the confirms the product code is associated with the instance.

https://ec2.amazonaws.com/?Action=ConfirmProductInstance&ProductCode=774F4FF8&InstanceId=i-10a64379&AuthParams
\n" + ], "contents" : [ { "desc" : "The product code to confirm.", @@ -871,8 +967,12 @@ "name" : "General", "queries" : { "GetConsoleOutput" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=GetConsoleOutput&InstanceId=i-10a64379&AuthParams", - "exampleHTML" : "

Example Request

This example retrieves the console output for the i-10a64379 Linux and UNIX instance.

https://ec2.amazonaws.com/?Action=GetConsoleOutput&InstanceId=i-10a64379&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=GetConsoleOutput&InstanceId=i-10a64379&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example retrieves the console output for the i-10a64379 Linux and UNIX instance.

https://ec2.amazonaws.com/?Action=GetConsoleOutput&InstanceId=i-10a64379&AuthParams
\n" + ], "contents" : [ { "desc" : "ID of the instance for which you want console output.", @@ -896,8 +996,12 @@ "name" : "Reserved Instances", "queries" : { "DescribeReservedInstances" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeReservedInstances&AuthParams", - "exampleHTML" : "

Example Request

This example describes Reserved Instances owned by the account.

https://ec2.amazonaws.com/?Action=DescribeReservedInstances&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DescribeReservedInstances&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example describes Reserved Instances owned by the account.

https://ec2.amazonaws.com/?Action=DescribeReservedInstances&AuthParams
\n" + ], "contents" : [ { "desc" : "IDs of the Reserved Instance to describe.", @@ -917,8 +1021,12 @@ "responseType" : "DescribeReservedInstancesResponse" }, "DescribeReservedInstancesOfferings" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeReservedInstancesOfferings&AuthParams", - "exampleHTML" : "

Example Request

This example describes available Reserved Instance offerings.

https://ec2.amazonaws.com/?Action=DescribeReservedInstancesOfferings&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DescribeReservedInstancesOfferings&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example describes available Reserved Instance offerings.

https://ec2.amazonaws.com/?Action=DescribeReservedInstancesOfferings&AuthParams
\n" + ], "contents" : [ { "desc" : "ID of the Reserved Instances to describe.", @@ -959,8 +1067,12 @@ "responseType" : "DescribeReservedInstancesOfferingsResponse" }, "PurchaseReservedInstancesOffering" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=PurchaseReservedInstancesOffering&OfferingId.1=offering-12345678&instanceCount.1=2&AuthParams", - "exampleHTML" : "

Example Request

This example purchases Reserved Instances.

https://ec2.amazonaws.com/?Action=PurchaseReservedInstancesOffering&OfferingId.1=offering-12345678&instanceCount.1=2&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=PurchaseReservedInstancesOffering&OfferingId.1=offering-12345678&instanceCount.1=2&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example purchases Reserved Instances.

https://ec2.amazonaws.com/?Action=PurchaseReservedInstancesOffering&OfferingId.1=offering-12345678&instanceCount.1=2&AuthParams
\n" + ], "contents" : [ { "desc" : "The offering ID of the Reserved Instance to purchase.", @@ -992,8 +1104,12 @@ "name" : "Key Pairs", "queries" : { "DescribeKeyPairs" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeKeyPairs&KeyName.1=gsg-keypair&AuthParams", - "exampleHTML" : "

Example Request

This example describes the state of the gsg-keypair key.

https://ec2.amazonaws.com/?Action=DescribeKeyPairs&KeyName.1=gsg-keypair&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DescribeKeyPairs&KeyName.1=gsg-keypair&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example describes the state of the gsg-keypair key.

https://ec2.amazonaws.com/?Action=DescribeKeyPairs&KeyName.1=gsg-keypair&AuthParams
\n" + ], "contents" : [ { "desc" : "Key pair to describe.", @@ -1013,8 +1129,12 @@ "responseType" : "DescribeKeyPairsResponse" }, "CreateKeyPair" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=CreateKeyPair&KeyName=gsg-keypair.&AuthParams", - "exampleHTML" : "

Example Request

This example creates a key pair named gsg-keypair.

https://ec2.amazonaws.com/?Action=CreateKeyPair&KeyName=gsg-keypair.&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=CreateKeyPair&KeyName=gsg-keypair.&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example creates a key pair named gsg-keypair.

https://ec2.amazonaws.com/?Action=CreateKeyPair&KeyName=gsg-keypair.&AuthParams
\n" + ], "contents" : [ { "constraints" : "Accepts alphanumeric characters, spaces, dashes, and underscores.", @@ -1036,8 +1156,12 @@ "responseType" : "CreateKeyPairResponse" }, "DeleteKeyPair" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DeleteKeyPair&KeyName=gsg-keypair&AuthParams", - "exampleHTML" : "

Example Request

This example deletes the gsg-keypair key pair.

https://ec2.amazonaws.com/?Action=DeleteKeyPair&KeyName=gsg-keypair&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DeleteKeyPair&KeyName=gsg-keypair&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example deletes the gsg-keypair key pair.

https://ec2.amazonaws.com/?Action=DeleteKeyPair&KeyName=gsg-keypair&AuthParams
\n" + ], "contents" : [ { "desc" : "Name of the key pair to delete.", @@ -1062,8 +1186,12 @@ "name" : "Elastic IP Addresses", "queries" : { "AllocateAddress" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=AllocateAddress&AuthParams", - "exampleHTML" : "

Example Request

This example returns an elastic IP address for use with the account.

https://ec2.amazonaws.com/?Action=AllocateAddress&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=AllocateAddress&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example returns an elastic IP address for use with the account.

https://ec2.amazonaws.com/?Action=AllocateAddress&AuthParams
\n" + ], "contents" : [ { "desc" : "Children: requestId, publicIp", @@ -1096,8 +1224,12 @@ "responseType" : "AllocateAddressResponse" }, "DisassociateAddress" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DisassociateAddress&PublicIp=67.202.55.255&AuthParams", - "exampleHTML" : "

Example Request

This example disassociates the 67.202.55.255 IP address from the instance to which it is assigned.

https://ec2.amazonaws.com/?Action=DisassociateAddress&PublicIp=67.202.55.255&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DisassociateAddress&PublicIp=67.202.55.255&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example disassociates the 67.202.55.255 IP address from the instance to which it is assigned.

https://ec2.amazonaws.com/?Action=DisassociateAddress&PublicIp=67.202.55.255&AuthParams
\n" + ], "contents" : [ { "desc" : "IP address that you are disassociating from the instance.", @@ -1119,8 +1251,12 @@ "responseType" : "DisassociateAddressResponse" }, "ReleaseAddress" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=ReleaseAddress&PublicIp=67.202.55.255&AuthParams", - "exampleHTML" : "

Example Request

This example releases an elastic IP address associated with the account.

https://ec2.amazonaws.com/?Action=ReleaseAddress&PublicIp=67.202.55.255&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=ReleaseAddress&PublicIp=67.202.55.255&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example releases an elastic IP address associated with the account.

https://ec2.amazonaws.com/?Action=ReleaseAddress&PublicIp=67.202.55.255&AuthParams
\n" + ], "contents" : [ { "desc" : "The IP address that you are releasing from your account.", @@ -1142,8 +1278,12 @@ "responseType" : "ReleaseAddressResponse" }, "AssociateAddress" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=AssociateAddress\n\t\t\t\t\t\t&InstanceId=i-2ea64347\n\t\t\t\t\t\t&PublicIp=67.202.55.255\n\t\t\t\t\t\t&AuthParams", - "exampleHTML" : "

Example Request

This example associates an IP address with an instance.

https://ec2.amazonaws.com/?Action=AssociateAddress\n\t\t\t\t\t\t&InstanceId=i-2ea64347\n\t\t\t\t\t\t&PublicIp=67.202.55.255\n\t\t\t\t\t\t&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=AssociateAddress\n\t\t\t\t\t\t&InstanceId=i-2ea64347\n\t\t\t\t\t\t&PublicIp=67.202.55.255\n\t\t\t\t\t\t&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example associates an IP address with an instance.

https://ec2.amazonaws.com/?Action=AssociateAddress\n\t\t\t\t\t\t&InstanceId=i-2ea64347\n\t\t\t\t\t\t&PublicIp=67.202.55.255\n\t\t\t\t\t\t&AuthParams
\n" + ], "contents" : [ { "desc" : "The instance to associate with the IP address.", @@ -1172,8 +1312,12 @@ "responseType" : "AssociateAddressResponse" }, "DescribeAddresses" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeAddresses&PublicIp.1=67.202.55.255\n&PublicIp.1=67.202.55.233&AuthParams", - "exampleHTML" : "

Example Request

This example describes elastic IP addresses assigned to the account. Amazon EC2 returns 67.202.55.255 which is assigned to instance i-f15ebb98 and 67.202.55.233 which is not assigned to an instance.

https://ec2.amazonaws.com/?Action=DescribeAddresses&PublicIp.1=67.202.55.255\n&PublicIp.1=67.202.55.233&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DescribeAddresses&PublicIp.1=67.202.55.255\n&PublicIp.1=67.202.55.233&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example describes elastic IP addresses assigned to the account. Amazon EC2 returns 67.202.55.255 which is assigned to instance i-f15ebb98 and 67.202.55.233 which is not assigned to an instance.

https://ec2.amazonaws.com/?Action=DescribeAddresses&PublicIp.1=67.202.55.255\n&PublicIp.1=67.202.55.233&AuthParams
\n" + ], "contents" : [ { "desc" : "Elastic IP address to describe.", @@ -1198,8 +1342,12 @@ "name" : "Elastic Block Store", "queries" : { "DeleteVolume" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DeleteVolume&VolumeId=vol-4282672b&AuthParams", - "exampleHTML" : "

Example Request

This example deletes volume vol-4282672b.

https://ec2.amazonaws.com/?Action=DeleteVolume&VolumeId=vol-4282672b&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DeleteVolume&VolumeId=vol-4282672b&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example deletes volume vol-4282672b.

https://ec2.amazonaws.com/?Action=DeleteVolume&VolumeId=vol-4282672b&AuthParams
\n" + ], "contents" : [ { "desc" : "The ID of the volume to delete. The volume remains in the ", @@ -1221,8 +1369,12 @@ "responseType" : "DeleteVolumeResponse" }, "DescribeSnapshots" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeSnapshots&SnapshotId=snap-78a54011&AuthParams", - "exampleHTML" : "

Example Request

This example describes snapshot snap-78a54011.

https://ec2.amazonaws.com/?Action=DescribeSnapshots&SnapshotId=snap-78a54011&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DescribeSnapshots&SnapshotId=snap-78a54011&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example describes snapshot snap-78a54011.

https://ec2.amazonaws.com/?Action=DescribeSnapshots&SnapshotId=snap-78a54011&AuthParams
\n" + ], "contents" : [ { "desc" : "The ID of the Amazon EBS snapshot.", @@ -1242,8 +1394,12 @@ "responseType" : "DescribeSnapshotsResponse" }, "DescribeVolumes" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeVolumes&AuthParams", - "exampleHTML" : "

Example Request

This example describes all volumes associated with your account.

https://ec2.amazonaws.com/?Action=DescribeVolumes&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DescribeVolumes&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example describes all volumes associated with your account.

https://ec2.amazonaws.com/?Action=DescribeVolumes&AuthParams
\n" + ], "contents" : [ { "desc" : "The ID of the volume to list.", @@ -1263,8 +1419,12 @@ "responseType" : "DescribeVolumesResponse" }, "DetachVolume" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DetachVolume&VolumeId=vol-4d826724\n&InstanceId=i-6058a509&AuthParams", - "exampleHTML" : "

Example Request

This example detaches volume vol-4d826724.

https://ec2.amazonaws.com/?Action=DetachVolume&VolumeId=vol-4d826724\n&InstanceId=i-6058a509&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DetachVolume&VolumeId=vol-4d826724\n&InstanceId=i-6058a509&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example detaches volume vol-4d826724.

https://ec2.amazonaws.com/?Action=DetachVolume&VolumeId=vol-4d826724\n&InstanceId=i-6058a509&AuthParams
\n" + ], "contents" : [ { "desc" : "The ID of the volume.", @@ -1307,8 +1467,12 @@ "responseType" : "DetachVolumeResponse" }, "AttachVolume" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=AttachVolume&VolumeId=vol-4d826724\n&InstanceId=i-6058a509\n&Device=/dev/sdh&AuthParams", - "exampleHTML" : "

Example Request

This example attaches volume vol-4d826724 to instance i-6058a509 and exposes it as /dev/sdh. For information on standard storage locations, go to the Amazon Elastic Compute Cloud Developer Guide.

https://ec2.amazonaws.com/?Action=AttachVolume&VolumeId=vol-4d826724\n&InstanceId=i-6058a509\n&Device=/dev/sdh&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=AttachVolume&VolumeId=vol-4d826724\n&InstanceId=i-6058a509\n&Device=/dev/sdh&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example attaches volume vol-4d826724 to instance i-6058a509 and exposes it as /dev/sdh. For information on standard storage locations, go to the Amazon Elastic Compute Cloud Developer Guide.

https://ec2.amazonaws.com/?Action=AttachVolume&VolumeId=vol-4d826724\n&InstanceId=i-6058a509\n&Device=/dev/sdh&AuthParams
\n" + ], "contents" : [ { "desc" : "The ID of the Amazon EBS volume. The volume and instance must be within the same Availability Zone and the instance must be running.", @@ -1344,8 +1508,12 @@ "responseType" : "AttachVolumeResponse" }, "CreateSnapshot" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=CreateSnapshot&VolumeId=vol-4d826724&AuthParams", - "exampleHTML" : "

Example Request

This example creates a snapshot of volume vol-4d826724.

https://ec2.amazonaws.com/?Action=CreateSnapshot&VolumeId=vol-4d826724&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=CreateSnapshot&VolumeId=vol-4d826724&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example creates a snapshot of volume vol-4d826724.

https://ec2.amazonaws.com/?Action=CreateSnapshot&VolumeId=vol-4d826724&AuthParams
\n" + ], "contents" : [ { "desc" : "The ID of the Amazon EBS volume to take a snapshot of.", @@ -1365,8 +1533,12 @@ "responseType" : "CreateSnapshotResponse" }, "CreateVolume" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=CreateVolume&Size=800&AvailabilityZone=us-east-1a&AuthParams", - "exampleHTML" : "

Example Request

This example creates a new 800 GiB volume in Availability Zone us-east-1a.

https://ec2.amazonaws.com/?Action=CreateVolume&Size=800&AvailabilityZone=us-east-1a&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=CreateVolume&Size=800&AvailabilityZone=us-east-1a&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example creates a new 800 GiB volume in Availability Zone us-east-1a.

https://ec2.amazonaws.com/?Action=CreateVolume&Size=800&AvailabilityZone=us-east-1a&AuthParams
\n" + ], "contents" : [ { "constraints" : "1-1024", @@ -1404,8 +1576,12 @@ "responseType" : "CreateVolumeResponse" }, "DeleteSnapshot" : { - "exampleCode" : "https://ec2.amazonaws.com/?Action=DeleteSnapshot&SnapshotId.1=snap-78a54011&AuthParams", - "exampleHTML" : "

Example Request

This example deletes snapshot snap-78a54011.

https://ec2.amazonaws.com/?Action=DeleteSnapshot&SnapshotId.1=snap-78a54011&AuthParams
\n", + "exampleCode" : [ + "https://ec2.amazonaws.com/?Action=DeleteSnapshot&SnapshotId.1=snap-78a54011&AuthParams" + ], + "exampleHTML" : [ + "

Example Request

This example deletes snapshot snap-78a54011.

https://ec2.amazonaws.com/?Action=DeleteSnapshot&SnapshotId.1=snap-78a54011&AuthParams
\n" + ], "contents" : [ { "desc" : "The ID of the Amazon EBS snapshot to delete.", @@ -1444,8 +1620,12 @@ ] }, "DeleteKeyPairResponse" : { - "exampleCode" : "\n true\n", - "exampleHTML" : "

Example Response

<DeleteKeyPairResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</DeleteKeyPairResponse>
\n", + "exampleCode" : [ + "\n true\n" + ], + "exampleHTML" : [ + "

Example Response

<DeleteKeyPairResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</DeleteKeyPairResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -1481,8 +1661,12 @@ ] }, "AuthorizeSecurityGroupIngressResponse" : { - "exampleCode" : "\n true\n", - "exampleHTML" : "

Example Response

<AuthorizeSecurityGroupIngressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</AuthorizeSecurityGroupIngressResponse>
\n", + "exampleCode" : [ + "\n true\n" + ], + "exampleHTML" : [ + "

Example Response

<AuthorizeSecurityGroupIngressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</AuthorizeSecurityGroupIngressResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -1557,8 +1741,12 @@ ] }, "DescribeReservedInstancesResponse" : { - "exampleCode" : "\n \n \n 4b2293b4-5813-4cc8-9ce3-1957fc1dcfc8\n m1.small\n us-east-1a\n 12\n 0.00\n 0.00\n 19\n m1.small offering in us-east-1a\n Active\n \n \n\t\t\t\t\t\t", - "exampleHTML" : "

Example Response

<DescribeReservedInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <reservedInstancesSet>\n    <item>\n      <reservedInstancesId>4b2293b4-5813-4cc8-9ce3-1957fc1dcfc8</reservedInstancesId>\n      <instanceType>m1.small</instanceType>\n      <availabilityZone>us-east-1a</availabilityZone>\n      <duration>12</duration>\n      <usagePrice>0.00</usagePrice>\n      <fixedPrice>0.00</fixedPrice>\n      <instanceCount>19</instanceCount>\n      <productDescription>m1.small offering in us-east-1a</productDescription>\n      <state>Active</state>\n    </item>\n  </reservedInstancesSet>\n\t\t\t\t\t\t</DescribeReservedInstancesResponse>
\n", + "exampleCode" : [ + "\n \n \n 4b2293b4-5813-4cc8-9ce3-1957fc1dcfc8\n m1.small\n us-east-1a\n 12\n 0.00\n 0.00\n 19\n m1.small offering in us-east-1a\n Active\n \n \n\t\t\t\t\t\t" + ], + "exampleHTML" : [ + "

Example Response

<DescribeReservedInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <reservedInstancesSet>\n    <item>\n      <reservedInstancesId>4b2293b4-5813-4cc8-9ce3-1957fc1dcfc8</reservedInstancesId>\n      <instanceType>m1.small</instanceType>\n      <availabilityZone>us-east-1a</availabilityZone>\n      <duration>12</duration>\n      <usagePrice>0.00</usagePrice>\n      <fixedPrice>0.00</fixedPrice>\n      <instanceCount>19</instanceCount>\n      <productDescription>m1.small offering in us-east-1a</productDescription>\n      <state>Active</state>\n    </item>\n  </reservedInstancesSet>\n\t\t\t\t\t\t</DescribeReservedInstancesResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -1795,8 +1983,12 @@ ] }, "DescribeReservedInstancesOfferingsResponse" : { - "exampleCode" : "\n \n \n 4b2293b4-5813-4cc8-9ce3-1957fc1dcfc8\n m1.small\n us-east-1a\n 12\n 0.00\n 0.00\n m1.small offering in us-east-1a\n \n \n\t\t\t\t\t\t", - "exampleHTML" : "

Example Response

<DescribeReservedInstancesOfferingsResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <reservedInstancesOfferingsSet>\n    <item>\n      <reservedInstancesOfferingId>4b2293b4-5813-4cc8-9ce3-1957fc1dcfc8</reservedInstancesOfferingId>\n      <instanceType>m1.small</instanceType>\n      <availabilityZone>us-east-1a</availabilityZone>\n      <duration>12</duration>\n      <fixedPrice>0.00</fixedPrice>\n      <usagePrice>0.00</usagePrice>\n      <productDescription>m1.small offering in us-east-1a</productDescription>\n    </item>\n  </reservedInstancesOfferingsSet>\n\t\t\t\t\t\t</DescribeReservedInstancesOfferingsResponse>
\n", + "exampleCode" : [ + "\n \n \n 4b2293b4-5813-4cc8-9ce3-1957fc1dcfc8\n m1.small\n us-east-1a\n 12\n 0.00\n 0.00\n m1.small offering in us-east-1a\n \n \n\t\t\t\t\t\t" + ], + "exampleHTML" : [ + "

Example Response

<DescribeReservedInstancesOfferingsResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <reservedInstancesOfferingsSet>\n    <item>\n      <reservedInstancesOfferingId>4b2293b4-5813-4cc8-9ce3-1957fc1dcfc8</reservedInstancesOfferingId>\n      <instanceType>m1.small</instanceType>\n      <availabilityZone>us-east-1a</availabilityZone>\n      <duration>12</duration>\n      <fixedPrice>0.00</fixedPrice>\n      <usagePrice>0.00</usagePrice>\n      <productDescription>m1.small offering in us-east-1a</productDescription>\n    </item>\n  </reservedInstancesOfferingsSet>\n\t\t\t\t\t\t</DescribeReservedInstancesOfferingsResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -1832,8 +2024,12 @@ ] }, "ResetImageAttributeResponse" : { - "exampleCode" : "\n true\n", - "exampleHTML" : "

Example Response

<ResetImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</ResetImageAttributeResponse>
\n", + "exampleCode" : [ + "\n true\n" + ], + "exampleHTML" : [ + "

Example Response

<ResetImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</ResetImageAttributeResponse>
\n" + ], "contents" : [ { "desc" : "Unique ID of the newly registered machine image.", @@ -1869,8 +2065,12 @@ ] }, "RevokeSecurityGroupIngressResponse" : { - "exampleCode" : "\n true\n", - "exampleHTML" : "

Example Response

<RevokeSecurityGroupIngressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</RevokeSecurityGroupIngressResponse>
\n", + "exampleCode" : [ + "\n true\n" + ], + "exampleHTML" : [ + "

Example Response

<RevokeSecurityGroupIngressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</RevokeSecurityGroupIngressResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -1924,8 +2124,12 @@ ] }, "RebootInstancesResponse" : { - "exampleCode" : "\n true\n", - "exampleHTML" : "

Example Response

<RebootInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</RebootInstancesResponse>
\n", + "exampleCode" : [ + "\n true\n" + ], + "exampleHTML" : [ + "

Example Response

<RebootInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</RebootInstancesResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -2003,8 +2207,12 @@ ] }, "CreateSecurityGroupResponse" : { - "exampleCode" : "\n true\n", - "exampleHTML" : "

Example Response

<CreateSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</CreateSecurityGroupResponse>
\n", + "exampleCode" : [ + "\n true\n" + ], + "exampleHTML" : [ + "

Example Response

<CreateSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</CreateSecurityGroupResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -2025,8 +2233,12 @@ ] }, "ReleaseAddressResponse" : { - "exampleCode" : "\n true\n", - "exampleHTML" : "

Example Response

<ReleaseAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</ReleaseAddressResponse>
\n", + "exampleCode" : [ + "\n true\n" + ], + "exampleHTML" : [ + "

Example Response

<ReleaseAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</ReleaseAddressResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -2095,8 +2307,12 @@ ] }, "DescribeSnapshotsResponse" : { - "exampleCode" : "\n \n \n snap-78a54011\n vol-4d826724\n pending\n 2008-05-07T12:51:50.000Z\n 80%\n \n \n", - "exampleHTML" : "

Example Response

<DescribeSnapshotsResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <snapshotSet>\n    <item>\n      <snapshotId>snap-78a54011</snapshotId>\n      <volumeId>vol-4d826724</volumeId>\n      <status>pending</status>\n      <startTime>2008-05-07T12:51:50.000Z</startTime>\n      <progress>80%</progress>\n    </item>\n  </snapshotSet>\n</DescribeSnapshotsResponse>
\n", + "exampleCode" : [ + "\n \n \n snap-78a54011\n vol-4d826724\n pending\n 2008-05-07T12:51:50.000Z\n 80%\n \n \n" + ], + "exampleHTML" : [ + "

Example Response

<DescribeSnapshotsResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <snapshotSet>\n    <item>\n      <snapshotId>snap-78a54011</snapshotId>\n      <volumeId>vol-4d826724</volumeId>\n      <status>pending</status>\n      <startTime>2008-05-07T12:51:50.000Z</startTime>\n      <progress>80%</progress>\n    </item>\n  </snapshotSet>\n</DescribeSnapshotsResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -2117,8 +2333,12 @@ ] }, "BundleInstanceResponse" : { - "exampleCode" : "\n bun-c1a540a8\n \n i-12345678\n bun-c1a540a8\n bundling\n 2008-10-07T11:41:50.000Z\n 2008-10-07T11:51:50.000Z\n 70%\n \n \n my-bucket\n winami\n \n \n \n", - "exampleHTML" : "

Example Response

<BundleInstanceResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <requestId>bun-c1a540a8</requestId>\n  <bundleInstanceTask>\n      <instanceId>i-12345678</instanceId>\n      <bundleId>bun-c1a540a8</bundleId>\n      <state>bundling</state>\n      <startTime>2008-10-07T11:41:50.000Z</startTime>\n      <updateTime>2008-10-07T11:51:50.000Z</updateTime>\n      <progress>70%</progress>\n      <storage>\n        <S3>\n          <bucket>my-bucket</bucket>\n          <prefix>winami</prefix>\n        </S3>\n      </storage>\n  </bundleInstanceTask>\n</BundleInstanceResponse>
\n", + "exampleCode" : [ + "\n bun-c1a540a8\n \n i-12345678\n bun-c1a540a8\n bundling\n 2008-10-07T11:41:50.000Z\n 2008-10-07T11:51:50.000Z\n 70%\n \n \n my-bucket\n winami\n \n \n \n" + ], + "exampleHTML" : [ + "

Example Response

<BundleInstanceResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <requestId>bun-c1a540a8</requestId>\n  <bundleInstanceTask>\n      <instanceId>i-12345678</instanceId>\n      <bundleId>bun-c1a540a8</bundleId>\n      <state>bundling</state>\n      <startTime>2008-10-07T11:41:50.000Z</startTime>\n      <updateTime>2008-10-07T11:51:50.000Z</updateTime>\n      <progress>70%</progress>\n      <storage>\n        <S3>\n          <bucket>my-bucket</bucket>\n          <prefix>winami</prefix>\n        </S3>\n      </storage>\n  </bundleInstanceTask>\n</BundleInstanceResponse>
\n" + ], "contents" : [ { "desc" : "Bundle task.", @@ -2196,8 +2416,12 @@ ] }, "MonitorInstancesResponse" : { - "exampleCode" : "\n \n \n i-43a4412a\n \n pending\n \n \n \n i-23a3397d\n \n pending\n \n \n \n", - "exampleHTML" : "

Example Response

<MonitorInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n    <instancesSet>\n      <item>\n        <instanceId>i-43a4412a</instanceId>\n        <monitoring>\n          <state>pending</state>\n        </monitoring>\n    </item>\n    <item>\n      <instanceId>i-23a3397d</instanceId>\n        <monitoring>\n          <state>pending</state>\n        </monitoring>\n      </item>\n    </instancesSet>\n</MonitorInstancesResponse>
\n", + "exampleCode" : [ + "\n \n \n i-43a4412a\n \n pending\n \n \n \n i-23a3397d\n \n pending\n \n \n \n" + ], + "exampleHTML" : [ + "

Example Response

<MonitorInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n    <instancesSet>\n      <item>\n        <instanceId>i-43a4412a</instanceId>\n        <monitoring>\n          <state>pending</state>\n        </monitoring>\n    </item>\n    <item>\n      <instanceId>i-23a3397d</instanceId>\n        <monitoring>\n          <state>pending</state>\n        </monitoring>\n      </item>\n    </instancesSet>\n</MonitorInstancesResponse>
\n" + ], "contents" : [ { "desc" : "Monitor instance response set.", @@ -2218,8 +2442,12 @@ ] }, "DescribeImagesResponse" : { - "exampleCode" : "\n \n \n ami-be3adfd7\n ec2-public-images/fedora-8-i386-base-v1.04.manifest.xml\n \n available\n 206029621532\n false\n i386\n machine\n aki-4438dd2d\n ari-4538dd2c\n \n \n", - "exampleHTML" : "

Example Response

<DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <imagesSet>\n    <item>\n      <imageId>ami-be3adfd7</imageId>\n      <imageLocation>ec2-public-images/fedora-8-i386-base-v1.04.manifest.xml\n      </imageLocation>\n      <imageState>available</imageState>\n      <imageOwnerId>206029621532</imageOwnerId>\n      <isPublic>false</isPublic>\n      <architecture>i386</architecture>\n      <imageType>machine</imageType>\n      <kernelId>aki-4438dd2d</kernelId>\n      <ramdiskId>ari-4538dd2c</ramdiskId>\n    </item>\n  </imagesSet>\n</DescribeImagesResponse>
\n", + "exampleCode" : [ + "\n \n \n ami-be3adfd7\n ec2-public-images/fedora-8-i386-base-v1.04.manifest.xml\n \n available\n 206029621532\n false\n i386\n machine\n aki-4438dd2d\n ari-4538dd2c\n \n \n" + ], + "exampleHTML" : [ + "

Example Response

<DescribeImagesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <imagesSet>\n    <item>\n      <imageId>ami-be3adfd7</imageId>\n      <imageLocation>ec2-public-images/fedora-8-i386-base-v1.04.manifest.xml\n      </imageLocation>\n      <imageState>available</imageState>\n      <imageOwnerId>206029621532</imageOwnerId>\n      <isPublic>false</isPublic>\n      <architecture>i386</architecture>\n      <imageType>machine</imageType>\n      <kernelId>aki-4438dd2d</kernelId>\n      <ramdiskId>ari-4538dd2c</ramdiskId>\n    </item>\n  </imagesSet>\n</DescribeImagesResponse>
\n" + ], "contents" : [ { "desc" : "Image set.", @@ -2297,8 +2525,12 @@ ] }, "UnmonitorInstancesResponse" : { - "exampleCode" : "\n \n\t \n\t i-43a4412a\n\t \n\t pending\n\t \n\t \n\t \n\t i-23a3397d\n\t \n\t pending\n\t \n\t \n \n", - "exampleHTML" : "

Example Response

<UnmonitorInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n    <instancesSet>\n\t  <item>\n\t    <instanceId> i-43a4412a</instanceId>\n\t    <monitoring>\n\t      <state>pending</state>\n\t    </monitoring>\n\t  </item>\n\t  <item>\n\t    <instanceId>i-23a3397d</instanceId>\n\t    <monitoring>\n\t      <state>pending</state>\n\t    </monitoring>\n\t  </item>\n    </instancesSet>\n</UnmonitorInstancesResponse>
\n", + "exampleCode" : [ + "\n \n\t \n\t i-43a4412a\n\t \n\t pending\n\t \n\t \n\t \n\t i-23a3397d\n\t \n\t pending\n\t \n\t \n \n" + ], + "exampleHTML" : [ + "

Example Response

<UnmonitorInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n    <instancesSet>\n\t  <item>\n\t    <instanceId> i-43a4412a</instanceId>\n\t    <monitoring>\n\t      <state>pending</state>\n\t    </monitoring>\n\t  </item>\n\t  <item>\n\t    <instanceId>i-23a3397d</instanceId>\n\t    <monitoring>\n\t      <state>pending</state>\n\t    </monitoring>\n\t  </item>\n    </instancesSet>\n</UnmonitorInstancesResponse>
\n" + ], "contents" : [ { "desc" : "Monitor instance response set.", @@ -2385,8 +2617,12 @@ ] }, "DeleteSecurityGroupResponse" : { - "exampleCode" : "\n true\n", - "exampleHTML" : "

Example Response

<DeleteSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</DeleteSecurityGroupResponse>
\n", + "exampleCode" : [ + "\n true\n" + ], + "exampleHTML" : [ + "

Example Response

<DeleteSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</DeleteSecurityGroupResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -2407,8 +2643,12 @@ ] }, "RunInstancesResponse" : { - "exampleCode" : "\n r-47a5402e\n AIDADH4IGTRXXKCD\n \n \n default\n \n \n \n \n i-2ba64342\n ami-60a54009\n \n 0\n pending\n \n \n \n example-key-name\n 0\n m1.small\n 2007-08-07T11:51:50.000Z\n \n us-east-1b\n \n \n true\n \n\n \n \n i-2bc64242\n ami-60a54009\n \n 0\n pending\n \n \n \n example-key-name\n 1\n m1.small\n 2007-08-07T11:51:50.000Z\n \n\t\t us-east-1b\n \n \n true\n \n \n \n i-2be64332\n ami-60a54009\n \n 0\n pending\n \n \n \n example-key-name\n 2\n m1.small\n 2007-08-07T11:51:50.000Z\n \n\t\t us-east-1b\n \n \n true\n \n \n \n", - "exampleHTML" : "

Example Response

<RunInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <reservationId>r-47a5402e</reservationId>\n  <ownerId>AIDADH4IGTRXXKCD</ownerId>\n  <groupSet>\n    <item>\n      <groupId>default</groupId>\n    </item>\n  </groupSet>\n  <instancesSet>\n    <item>\n      <instanceId>i-2ba64342</instanceId>\n      <imageId>ami-60a54009</imageId>\n      <instanceState>\n        <code>0</code>\n        <name>pending</name>\n      </instanceState>\n      <privateDnsName></privateDnsName>\n      <dnsName></dnsName>\n      <keyName>example-key-name</keyName>\n      <amiLaunchIndex>0</amiLaunchIndex>\n      <instanceType>m1.small</instanceType>\n      <launchTime>2007-08-07T11:51:50.000Z</launchTime>\n      <placement>\n        <availabilityZone>us-east-1b</availabilityZone>\n      </placement>\n      <monitoring>\n        <enabled>true</enabled>\n      </monitoring>\n\n    </item>\n    <item>\n      <instanceId>i-2bc64242</instanceId>\n      <imageId>ami-60a54009</imageId>\n      <instanceState>\n        <code>0</code>\n        <name>pending</name>\n      </instanceState>\n      <privateDnsName></privateDnsName>\n      <dnsName></dnsName>\n      <keyName>example-key-name</keyName>\n      <amiLaunchIndex>1</amiLaunchIndex>\n      <instanceType>m1.small</instanceType>\n      <launchTime>2007-08-07T11:51:50.000Z</launchTime>\n      <placement>\n\t\t  <availabilityZone>us-east-1b</availabilityZone>\n      </placement>\n      <monitoring>\n        <enabled>true</enabled>\n      </monitoring>\n    </item>\n    <item>\n      <instanceId>i-2be64332</instanceId>\n      <imageId>ami-60a54009</imageId>\n      <instanceState>\n        <code>0</code>\n        <name>pending</name>\n      </instanceState>\n      <privateDnsName></privateDnsName>\n      <dnsName></dnsName>\n      <keyName>example-key-name</keyName>\n      <amiLaunchIndex>2</amiLaunchIndex>\n      <instanceType>m1.small</instanceType>\n      <launchTime>2007-08-07T11:51:50.000Z</launchTime>\n      <placement>\n\t\t  <availabilityZone>us-east-1b</availabilityZone>\n      </placement>\n      <monitoring>\n        <enabled>true</enabled>\n      </monitoring>\n    </item>\n  </instancesSet>\n</RunInstancesResponse>
\n", + "exampleCode" : [ + "\n r-47a5402e\n AIDADH4IGTRXXKCD\n \n \n default\n \n \n \n \n i-2ba64342\n ami-60a54009\n \n 0\n pending\n \n \n \n example-key-name\n 0\n m1.small\n 2007-08-07T11:51:50.000Z\n \n us-east-1b\n \n \n true\n \n\n \n \n i-2bc64242\n ami-60a54009\n \n 0\n pending\n \n \n \n example-key-name\n 1\n m1.small\n 2007-08-07T11:51:50.000Z\n \n\t\t us-east-1b\n \n \n true\n \n \n \n i-2be64332\n ami-60a54009\n \n 0\n pending\n \n \n \n example-key-name\n 2\n m1.small\n 2007-08-07T11:51:50.000Z\n \n\t\t us-east-1b\n \n \n true\n \n \n \n" + ], + "exampleHTML" : [ + "

Example Response

<RunInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <reservationId>r-47a5402e</reservationId>\n  <ownerId>AIDADH4IGTRXXKCD</ownerId>\n  <groupSet>\n    <item>\n      <groupId>default</groupId>\n    </item>\n  </groupSet>\n  <instancesSet>\n    <item>\n      <instanceId>i-2ba64342</instanceId>\n      <imageId>ami-60a54009</imageId>\n      <instanceState>\n        <code>0</code>\n        <name>pending</name>\n      </instanceState>\n      <privateDnsName></privateDnsName>\n      <dnsName></dnsName>\n      <keyName>example-key-name</keyName>\n      <amiLaunchIndex>0</amiLaunchIndex>\n      <instanceType>m1.small</instanceType>\n      <launchTime>2007-08-07T11:51:50.000Z</launchTime>\n      <placement>\n        <availabilityZone>us-east-1b</availabilityZone>\n      </placement>\n      <monitoring>\n        <enabled>true</enabled>\n      </monitoring>\n\n    </item>\n    <item>\n      <instanceId>i-2bc64242</instanceId>\n      <imageId>ami-60a54009</imageId>\n      <instanceState>\n        <code>0</code>\n        <name>pending</name>\n      </instanceState>\n      <privateDnsName></privateDnsName>\n      <dnsName></dnsName>\n      <keyName>example-key-name</keyName>\n      <amiLaunchIndex>1</amiLaunchIndex>\n      <instanceType>m1.small</instanceType>\n      <launchTime>2007-08-07T11:51:50.000Z</launchTime>\n      <placement>\n\t\t  <availabilityZone>us-east-1b</availabilityZone>\n      </placement>\n      <monitoring>\n        <enabled>true</enabled>\n      </monitoring>\n    </item>\n    <item>\n      <instanceId>i-2be64332</instanceId>\n      <imageId>ami-60a54009</imageId>\n      <instanceState>\n        <code>0</code>\n        <name>pending</name>\n      </instanceState>\n      <privateDnsName></privateDnsName>\n      <dnsName></dnsName>\n      <keyName>example-key-name</keyName>\n      <amiLaunchIndex>2</amiLaunchIndex>\n      <instanceType>m1.small</instanceType>\n      <launchTime>2007-08-07T11:51:50.000Z</launchTime>\n      <placement>\n\t\t  <availabilityZone>us-east-1b</availabilityZone>\n      </placement>\n      <monitoring>\n        <enabled>true</enabled>\n      </monitoring>\n    </item>\n  </instancesSet>\n</RunInstancesResponse>
\n" + ], "contents" : [ { "desc" : "Group set. ", @@ -2453,8 +2693,12 @@ ] }, "DeregisterImageResponse" : { - "exampleCode" : "\n true\n", - "exampleHTML" : "

Example Response

<DeregisterImageResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</DeregisterImageResponse>
\n", + "exampleCode" : [ + "\n true\n" + ], + "exampleHTML" : [ + "

Example Response

<DeregisterImageResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</DeregisterImageResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -2475,8 +2719,12 @@ ] }, "TerminateInstancesResponse" : { - "exampleCode" : "\n \n \n i-3ea74257\n \n 32\n shutting-down\n \n \n 16\n running\n \n \n \n", - "exampleHTML" : "

Example Response

<TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <instancesSet>\n    <item>\n      <instanceId>i-3ea74257</instanceId>\n      <shutdownState>\n        <code>32</code>\n        <name>shutting-down</name>\n      </shutdownState>\n      <previousState>\n        <code>16</code>\n        <name>running</name>\n      </previousState>\n    </item>\n  </instancesSet>\n</TerminateInstancesResponse>
\n", + "exampleCode" : [ + "\n \n \n i-3ea74257\n \n 32\n shutting-down\n \n \n 16\n running\n \n \n \n" + ], + "exampleHTML" : [ + "

Example Response

<TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <instancesSet>\n    <item>\n      <instanceId>i-3ea74257</instanceId>\n      <shutdownState>\n        <code>32</code>\n        <name>shutting-down</name>\n      </shutdownState>\n      <previousState>\n        <code>16</code>\n        <name>running</name>\n      </previousState>\n    </item>\n  </instancesSet>\n</TerminateInstancesResponse>
\n" + ], "contents" : [ { "desc" : "Instances set.", @@ -2584,8 +2832,12 @@ ] }, "ConfirmProductInstanceResponse" : { - "exampleCode" : "\n true\n 254933287430\n", - "exampleHTML" : "

Example Response

<ConfirmProductInstanceResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n  <ownerId>254933287430</ownerId>\n</ConfirmProductInstanceResponse>
\n", + "exampleCode" : [ + "\n true\n 254933287430\n" + ], + "exampleHTML" : [ + "

Example Response

<ConfirmProductInstanceResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n  <ownerId>254933287430</ownerId>\n</ConfirmProductInstanceResponse>
\n" + ], "contents" : [ { "desc" : "The instance owner's account ID. Only present if the product code is attached to the instance.", @@ -2612,8 +2864,12 @@ ] }, "CreateKeyPairResponse" : { - "exampleCode" : "\n gsg-keypair\n 1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f\n -----BEGIN RSA PRIVATE KEY-----\nMIIEoQIBAAKCAQBuLFg5ujHrtm1jnutSuoO8Xe56LlT+HM8v/xkaa39EstM3/aFxTHgElQiJLChp\nHungXQ29VTc8rc1bW0lkdi23OH5eqkMHGhvEwqa0HWASUMll4o3o/IX+0f2UcPoKCOVUR+jx71Sg\n5AU52EQfanIn3ZQ8lFW7Edp5a3q4DhjGlUKToHVbicL5E+g45zfB95wIyywWZfeW/UUF3LpGZyq/\nebIUlq1qTbHkLbCC2r7RTn8vpQWp47BGVYGtGSBMpTRP5hnbzzuqj3itkiLHjU39S2sJCJ0TrJx5\ni8BygR4s3mHKBj8l+ePQxG1kGbF6R4yg6sECmXn17MRQVXODNHZbAgMBAAECggEAY1tsiUsIwDl5\n91CXirkYGuVfLyLflXenxfI50mDFms/mumTqloHO7tr0oriHDR5K7wMcY/YY5YkcXNo7mvUVD1pM\nZNUJs7rw9gZRTrf7LylaJ58kOcyajw8TsC4e4LPbFaHwS1d6K8rXh64o6WgW4SrsB6ICmr1kGQI7\n3wcfgt5ecIu4TZf0OE9IHjn+2eRlsrjBdeORi7KiUNC/pAG23I6MdDOFEQRcCSigCj+4/mciFUSA\nSWS4dMbrpb9FNSIcf9dcLxVM7/6KxgJNfZc9XWzUw77Jg8x92Zd0fVhHOux5IZC+UvSKWB4dyfcI\ntE8C3p9bbU9VGyY5vLCAiIb4qQKBgQDLiO24GXrIkswF32YtBBMuVgLGCwU9h9HlO9mKAc2m8Cm1\njUE5IpzRjTedc9I2qiIMUTwtgnw42auSCzbUeYMURPtDqyQ7p6AjMujp9EPemcSVOK9vXYL0Ptco\nxW9MC0dtV6iPkCN7gOqiZXPRKaFbWADp16p8UAIvS/a5XXk5jwKBgQCKkpHi2EISh1uRkhxljyWC\niDCiK6JBRsMvpLbc0v5dKwP5alo1fmdR5PJaV2qvZSj5CYNpMAy1/EDNTY5OSIJU+0KFmQbyhsbm\nrdLNLDL4+TcnT7c62/aH01ohYaf/VCbRhtLlBfqGoQc7+sAc8vmKkesnF7CqCEKDyF/dhrxYdQKB\ngC0iZzzNAapayz1+JcVTwwEid6j9JqNXbBc+Z2YwMi+T0Fv/P/hwkX/ypeOXnIUcw0Ih/YtGBVAC\nDQbsz7LcY1HqXiHKYNWNvXgwwO+oiChjxvEkSdsTTIfnK4VSCvU9BxDbQHjdiNDJbL6oar92UN7V\nrBYvChJZF7LvUH4YmVpHAoGAbZ2X7XvoeEO+uZ58/BGKOIGHByHBDiXtzMhdJr15HTYjxK7OgTZm\ngK+8zp4L9IbvLGDMJO8vft32XPEWuvI8twCzFH+CsWLQADZMZKSsBasOZ/h1FwhdMgCMcY+Qlzd4\nJZKjTSu3i7vhvx6RzdSedXEMNTZWN4qlIx3kR5aHcukCgYA9T+Zrvm1F0seQPbLknn7EqhXIjBaT\nP8TTvW/6bdPi23ExzxZn7KOdrfclYRph1LHMpAONv/x2xALIf91UB+v5ohy1oDoasL0gij1houRe\n2ERKKdwz0ZL9SWq6VTdhr/5G994CK72fy5WhyERbDjUIdHaK3M849JJuf8cSrvSb4g==\n-----END RSA PRIVATE KEY-----\n", - "exampleHTML" : "

Example Response

<CreateKeyPairResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <keyName>gsg-keypair</keyName>\n  <keyFingerprint>1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f</keyFingerprint>\n  <keyMaterial>-----BEGIN RSA PRIVATE KEY-----\nMIIEoQIBAAKCAQBuLFg5ujHrtm1jnutSuoO8Xe56LlT+HM8v/xkaa39EstM3/aFxTHgElQiJLChp\nHungXQ29VTc8rc1bW0lkdi23OH5eqkMHGhvEwqa0HWASUMll4o3o/IX+0f2UcPoKCOVUR+jx71Sg\n5AU52EQfanIn3ZQ8lFW7Edp5a3q4DhjGlUKToHVbicL5E+g45zfB95wIyywWZfeW/UUF3LpGZyq/\nebIUlq1qTbHkLbCC2r7RTn8vpQWp47BGVYGtGSBMpTRP5hnbzzuqj3itkiLHjU39S2sJCJ0TrJx5\ni8BygR4s3mHKBj8l+ePQxG1kGbF6R4yg6sECmXn17MRQVXODNHZbAgMBAAECggEAY1tsiUsIwDl5\n91CXirkYGuVfLyLflXenxfI50mDFms/mumTqloHO7tr0oriHDR5K7wMcY/YY5YkcXNo7mvUVD1pM\nZNUJs7rw9gZRTrf7LylaJ58kOcyajw8TsC4e4LPbFaHwS1d6K8rXh64o6WgW4SrsB6ICmr1kGQI7\n3wcfgt5ecIu4TZf0OE9IHjn+2eRlsrjBdeORi7KiUNC/pAG23I6MdDOFEQRcCSigCj+4/mciFUSA\nSWS4dMbrpb9FNSIcf9dcLxVM7/6KxgJNfZc9XWzUw77Jg8x92Zd0fVhHOux5IZC+UvSKWB4dyfcI\ntE8C3p9bbU9VGyY5vLCAiIb4qQKBgQDLiO24GXrIkswF32YtBBMuVgLGCwU9h9HlO9mKAc2m8Cm1\njUE5IpzRjTedc9I2qiIMUTwtgnw42auSCzbUeYMURPtDqyQ7p6AjMujp9EPemcSVOK9vXYL0Ptco\nxW9MC0dtV6iPkCN7gOqiZXPRKaFbWADp16p8UAIvS/a5XXk5jwKBgQCKkpHi2EISh1uRkhxljyWC\niDCiK6JBRsMvpLbc0v5dKwP5alo1fmdR5PJaV2qvZSj5CYNpMAy1/EDNTY5OSIJU+0KFmQbyhsbm\nrdLNLDL4+TcnT7c62/aH01ohYaf/VCbRhtLlBfqGoQc7+sAc8vmKkesnF7CqCEKDyF/dhrxYdQKB\ngC0iZzzNAapayz1+JcVTwwEid6j9JqNXbBc+Z2YwMi+T0Fv/P/hwkX/ypeOXnIUcw0Ih/YtGBVAC\nDQbsz7LcY1HqXiHKYNWNvXgwwO+oiChjxvEkSdsTTIfnK4VSCvU9BxDbQHjdiNDJbL6oar92UN7V\nrBYvChJZF7LvUH4YmVpHAoGAbZ2X7XvoeEO+uZ58/BGKOIGHByHBDiXtzMhdJr15HTYjxK7OgTZm\ngK+8zp4L9IbvLGDMJO8vft32XPEWuvI8twCzFH+CsWLQADZMZKSsBasOZ/h1FwhdMgCMcY+Qlzd4\nJZKjTSu3i7vhvx6RzdSedXEMNTZWN4qlIx3kR5aHcukCgYA9T+Zrvm1F0seQPbLknn7EqhXIjBaT\nP8TTvW/6bdPi23ExzxZn7KOdrfclYRph1LHMpAONv/x2xALIf91UB+v5ohy1oDoasL0gij1houRe\n2ERKKdwz0ZL9SWq6VTdhr/5G994CK72fy5WhyERbDjUIdHaK3M849JJuf8cSrvSb4g==\n-----END RSA PRIVATE KEY-----</keyMaterial>\n</CreateKeyPairResponse>
\n", + "exampleCode" : [ + "\n gsg-keypair\n 1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f\n -----BEGIN RSA PRIVATE KEY-----\nMIIEoQIBAAKCAQBuLFg5ujHrtm1jnutSuoO8Xe56LlT+HM8v/xkaa39EstM3/aFxTHgElQiJLChp\nHungXQ29VTc8rc1bW0lkdi23OH5eqkMHGhvEwqa0HWASUMll4o3o/IX+0f2UcPoKCOVUR+jx71Sg\n5AU52EQfanIn3ZQ8lFW7Edp5a3q4DhjGlUKToHVbicL5E+g45zfB95wIyywWZfeW/UUF3LpGZyq/\nebIUlq1qTbHkLbCC2r7RTn8vpQWp47BGVYGtGSBMpTRP5hnbzzuqj3itkiLHjU39S2sJCJ0TrJx5\ni8BygR4s3mHKBj8l+ePQxG1kGbF6R4yg6sECmXn17MRQVXODNHZbAgMBAAECggEAY1tsiUsIwDl5\n91CXirkYGuVfLyLflXenxfI50mDFms/mumTqloHO7tr0oriHDR5K7wMcY/YY5YkcXNo7mvUVD1pM\nZNUJs7rw9gZRTrf7LylaJ58kOcyajw8TsC4e4LPbFaHwS1d6K8rXh64o6WgW4SrsB6ICmr1kGQI7\n3wcfgt5ecIu4TZf0OE9IHjn+2eRlsrjBdeORi7KiUNC/pAG23I6MdDOFEQRcCSigCj+4/mciFUSA\nSWS4dMbrpb9FNSIcf9dcLxVM7/6KxgJNfZc9XWzUw77Jg8x92Zd0fVhHOux5IZC+UvSKWB4dyfcI\ntE8C3p9bbU9VGyY5vLCAiIb4qQKBgQDLiO24GXrIkswF32YtBBMuVgLGCwU9h9HlO9mKAc2m8Cm1\njUE5IpzRjTedc9I2qiIMUTwtgnw42auSCzbUeYMURPtDqyQ7p6AjMujp9EPemcSVOK9vXYL0Ptco\nxW9MC0dtV6iPkCN7gOqiZXPRKaFbWADp16p8UAIvS/a5XXk5jwKBgQCKkpHi2EISh1uRkhxljyWC\niDCiK6JBRsMvpLbc0v5dKwP5alo1fmdR5PJaV2qvZSj5CYNpMAy1/EDNTY5OSIJU+0KFmQbyhsbm\nrdLNLDL4+TcnT7c62/aH01ohYaf/VCbRhtLlBfqGoQc7+sAc8vmKkesnF7CqCEKDyF/dhrxYdQKB\ngC0iZzzNAapayz1+JcVTwwEid6j9JqNXbBc+Z2YwMi+T0Fv/P/hwkX/ypeOXnIUcw0Ih/YtGBVAC\nDQbsz7LcY1HqXiHKYNWNvXgwwO+oiChjxvEkSdsTTIfnK4VSCvU9BxDbQHjdiNDJbL6oar92UN7V\nrBYvChJZF7LvUH4YmVpHAoGAbZ2X7XvoeEO+uZ58/BGKOIGHByHBDiXtzMhdJr15HTYjxK7OgTZm\ngK+8zp4L9IbvLGDMJO8vft32XPEWuvI8twCzFH+CsWLQADZMZKSsBasOZ/h1FwhdMgCMcY+Qlzd4\nJZKjTSu3i7vhvx6RzdSedXEMNTZWN4qlIx3kR5aHcukCgYA9T+Zrvm1F0seQPbLknn7EqhXIjBaT\nP8TTvW/6bdPi23ExzxZn7KOdrfclYRph1LHMpAONv/x2xALIf91UB+v5ohy1oDoasL0gij1houRe\n2ERKKdwz0ZL9SWq6VTdhr/5G994CK72fy5WhyERbDjUIdHaK3M849JJuf8cSrvSb4g==\n-----END RSA PRIVATE KEY-----\n" + ], + "exampleHTML" : [ + "

Example Response

<CreateKeyPairResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <keyName>gsg-keypair</keyName>\n  <keyFingerprint>1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f</keyFingerprint>\n  <keyMaterial>-----BEGIN RSA PRIVATE KEY-----\nMIIEoQIBAAKCAQBuLFg5ujHrtm1jnutSuoO8Xe56LlT+HM8v/xkaa39EstM3/aFxTHgElQiJLChp\nHungXQ29VTc8rc1bW0lkdi23OH5eqkMHGhvEwqa0HWASUMll4o3o/IX+0f2UcPoKCOVUR+jx71Sg\n5AU52EQfanIn3ZQ8lFW7Edp5a3q4DhjGlUKToHVbicL5E+g45zfB95wIyywWZfeW/UUF3LpGZyq/\nebIUlq1qTbHkLbCC2r7RTn8vpQWp47BGVYGtGSBMpTRP5hnbzzuqj3itkiLHjU39S2sJCJ0TrJx5\ni8BygR4s3mHKBj8l+ePQxG1kGbF6R4yg6sECmXn17MRQVXODNHZbAgMBAAECggEAY1tsiUsIwDl5\n91CXirkYGuVfLyLflXenxfI50mDFms/mumTqloHO7tr0oriHDR5K7wMcY/YY5YkcXNo7mvUVD1pM\nZNUJs7rw9gZRTrf7LylaJ58kOcyajw8TsC4e4LPbFaHwS1d6K8rXh64o6WgW4SrsB6ICmr1kGQI7\n3wcfgt5ecIu4TZf0OE9IHjn+2eRlsrjBdeORi7KiUNC/pAG23I6MdDOFEQRcCSigCj+4/mciFUSA\nSWS4dMbrpb9FNSIcf9dcLxVM7/6KxgJNfZc9XWzUw77Jg8x92Zd0fVhHOux5IZC+UvSKWB4dyfcI\ntE8C3p9bbU9VGyY5vLCAiIb4qQKBgQDLiO24GXrIkswF32YtBBMuVgLGCwU9h9HlO9mKAc2m8Cm1\njUE5IpzRjTedc9I2qiIMUTwtgnw42auSCzbUeYMURPtDqyQ7p6AjMujp9EPemcSVOK9vXYL0Ptco\nxW9MC0dtV6iPkCN7gOqiZXPRKaFbWADp16p8UAIvS/a5XXk5jwKBgQCKkpHi2EISh1uRkhxljyWC\niDCiK6JBRsMvpLbc0v5dKwP5alo1fmdR5PJaV2qvZSj5CYNpMAy1/EDNTY5OSIJU+0KFmQbyhsbm\nrdLNLDL4+TcnT7c62/aH01ohYaf/VCbRhtLlBfqGoQc7+sAc8vmKkesnF7CqCEKDyF/dhrxYdQKB\ngC0iZzzNAapayz1+JcVTwwEid6j9JqNXbBc+Z2YwMi+T0Fv/P/hwkX/ypeOXnIUcw0Ih/YtGBVAC\nDQbsz7LcY1HqXiHKYNWNvXgwwO+oiChjxvEkSdsTTIfnK4VSCvU9BxDbQHjdiNDJbL6oar92UN7V\nrBYvChJZF7LvUH4YmVpHAoGAbZ2X7XvoeEO+uZ58/BGKOIGHByHBDiXtzMhdJr15HTYjxK7OgTZm\ngK+8zp4L9IbvLGDMJO8vft32XPEWuvI8twCzFH+CsWLQADZMZKSsBasOZ/h1FwhdMgCMcY+Qlzd4\nJZKjTSu3i7vhvx6RzdSedXEMNTZWN4qlIx3kR5aHcukCgYA9T+Zrvm1F0seQPbLknn7EqhXIjBaT\nP8TTvW/6bdPi23ExzxZn7KOdrfclYRph1LHMpAONv/x2xALIf91UB+v5ohy1oDoasL0gij1houRe\n2ERKKdwz0ZL9SWq6VTdhr/5G994CK72fy5WhyERbDjUIdHaK3M849JJuf8cSrvSb4g==\n-----END RSA PRIVATE KEY-----</keyMaterial>\n</CreateKeyPairResponse>
\n" + ], "contents" : [ { "desc" : "A SHA-1 digest of the DER encoded private key.", @@ -2646,8 +2902,12 @@ ] }, "RegisterImageResponse" : { - "exampleCode" : "\n ami-61a54008\n", - "exampleHTML" : "

Example Response

<RegisterImageResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <imageId>ami-61a54008</imageId>\n</RegisterImageResponse>
\n", + "exampleCode" : [ + "\n ami-61a54008\n" + ], + "exampleHTML" : [ + "

Example Response

<RegisterImageResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <imageId>ami-61a54008</imageId>\n</RegisterImageResponse>
\n" + ], "contents" : [ { "desc" : "Unique ID of the newly registered machine image.", @@ -2825,8 +3085,12 @@ ] }, "DescribeVolumesResponse" : { - "exampleCode" : "\n\n \n vol-4282672b\n 800\n \n us-east-1a\n in-use\n 2008-05-07T11:51:50.000Z\n \n \n vol-4282672b\n i-6058a509\n /dev/sdh\n attached\n 2008-05-07T12:51:50.000Z\n \n \n \n", - "exampleHTML" : "

Example Response

<DescribeVolumesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n<volumeSet>\n  <item>\n    <volumeId>vol-4282672b</volumeId>\n    <size>800</size>\n    <snapshotId/>\n    <availabilityZone>us-east-1a</availabilityZone>\n    <status>in-use</status>\n    <createTime>2008-05-07T11:51:50.000Z</createTime>\n    <attachmentSet>\n      <item>\n        <volumeId>vol-4282672b</volumeId>\n        <instanceId>i-6058a509</instanceId>\n        <device>/dev/sdh</device>\n        <status>attached</status>\n        <attachTime>2008-05-07T12:51:50.000Z</attachTime>\n      </item>\n    </attachmentSet>\n  </item>\n</DescribeVolumesResponse>
\n", + "exampleCode" : [ + "\n\n \n vol-4282672b\n 800\n \n us-east-1a\n in-use\n 2008-05-07T11:51:50.000Z\n \n \n vol-4282672b\n i-6058a509\n /dev/sdh\n attached\n 2008-05-07T12:51:50.000Z\n \n \n \n" + ], + "exampleHTML" : [ + "

Example Response

<DescribeVolumesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n<volumeSet>\n  <item>\n    <volumeId>vol-4282672b</volumeId>\n    <size>800</size>\n    <snapshotId/>\n    <availabilityZone>us-east-1a</availabilityZone>\n    <status>in-use</status>\n    <createTime>2008-05-07T11:51:50.000Z</createTime>\n    <attachmentSet>\n      <item>\n        <volumeId>vol-4282672b</volumeId>\n        <instanceId>i-6058a509</instanceId>\n        <device>/dev/sdh</device>\n        <status>attached</status>\n        <attachTime>2008-05-07T12:51:50.000Z</attachTime>\n      </item>\n    </attachmentSet>\n  </item>\n</DescribeVolumesResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -2862,8 +3126,12 @@ ] }, "DeleteSnapshotResponse" : { - "exampleCode" : "\n true\n", - "exampleHTML" : "

Example Response

<DeleteSnapshotResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</DeleteSnapshotResponse>
\n", + "exampleCode" : [ + "\n true\n" + ], + "exampleHTML" : [ + "

Example Response

<DeleteSnapshotResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</DeleteSnapshotResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -2899,8 +3167,12 @@ ] }, "DescribeAvailabilityZonesResponse" : { - "exampleCode" : "\n \n \n us-east-1a\n available\n \n \n us-east-1b\n available\n \n \n us-east-1c\n available\n \n \n us-east-1d\n available\n \n \n", - "exampleHTML" : "

Example Response

<DescribeAvailabilityZonesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <availabilityZoneInfo>\n    <item>\n      <zoneName>us-east-1a</zoneName>\n      <zoneState>available</zoneState>\n    </item>\n    <item>\n      <zoneName>us-east-1b</zoneName>\n      <zoneState>available</zoneState>\n    </item>\n    <item>\n      <zoneName>us-east-1c</zoneName>\n      <zoneState>available</zoneState>\n    </item>\n    <item>\n      <zoneName>us-east-1d</zoneName>\n      <zoneState>available</zoneState>\n    </item>\n  </availabilityZoneInfo>\n</DescribeAvailabilityZonesResponse>
\n", + "exampleCode" : [ + "\n \n \n us-east-1a\n available\n \n \n us-east-1b\n available\n \n \n us-east-1c\n available\n \n \n us-east-1d\n available\n \n \n" + ], + "exampleHTML" : [ + "

Example Response

<DescribeAvailabilityZonesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <availabilityZoneInfo>\n    <item>\n      <zoneName>us-east-1a</zoneName>\n      <zoneState>available</zoneState>\n    </item>\n    <item>\n      <zoneName>us-east-1b</zoneName>\n      <zoneState>available</zoneState>\n    </item>\n    <item>\n      <zoneName>us-east-1c</zoneName>\n      <zoneState>available</zoneState>\n    </item>\n    <item>\n      <zoneName>us-east-1d</zoneName>\n      <zoneState>available</zoneState>\n    </item>\n  </availabilityZoneInfo>\n</DescribeAvailabilityZonesResponse>
\n" + ], "contents" : [ { "desc" : "Availability Zone information.", @@ -2921,8 +3193,12 @@ ] }, "CreateVolumeResponse" : { - "exampleCode" : "\n vol-4d826724\n 800\n creating\n 2008-05-07T11:51:50.000Z\n us-east-1a\n \n", - "exampleHTML" : "

Example Response

<CreateVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <volumeId>vol-4d826724</volumeId>\n  <size>800</size>\n  <status>creating</status>\n  <createTime>2008-05-07T11:51:50.000Z</createTime>\n  <availabilityZone>us-east-1a</availabilityZone>\n  <snapshotId></snapshotId>\n</CreateVolumeResponse>
\n", + "exampleCode" : [ + "\n vol-4d826724\n 800\n creating\n 2008-05-07T11:51:50.000Z\n us-east-1a\n \n" + ], + "exampleHTML" : [ + "

Example Response

<CreateVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <volumeId>vol-4d826724</volumeId>\n  <size>800</size>\n  <status>creating</status>\n  <createTime>2008-05-07T11:51:50.000Z</createTime>\n  <availabilityZone>us-east-1a</availabilityZone>\n  <snapshotId></snapshotId>\n</CreateVolumeResponse>
\n" + ], "contents" : [ { "desc" : "Availability Zone in which the volume was created.", @@ -2988,8 +3264,12 @@ ] }, "DescribeAddressesResponse" : { - "exampleCode" : "\n \n \n i-f15ebb98\n 67.202.55.255\n \n \n 67.202.55.233\n \n \n\t\t\t\t\t\t", - "exampleHTML" : "

Example Response

<DescribeAddressesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <addressesSet>\n    <item>\n      <instanceId>i-f15ebb98</instanceId>\n      <publicIp>67.202.55.255</publicIp>\n    </item>\n    <item>\n      <publicIp>67.202.55.233</publicIp>\n    </item>\n  </addressesSet>\n\t\t\t\t\t\t</DescribeAddressesResponse>
\n", + "exampleCode" : [ + "\n \n \n i-f15ebb98\n 67.202.55.255\n \n \n 67.202.55.233\n \n \n\t\t\t\t\t\t" + ], + "exampleHTML" : [ + "

Example Response

<DescribeAddressesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <addressesSet>\n    <item>\n      <instanceId>i-f15ebb98</instanceId>\n      <publicIp>67.202.55.255</publicIp>\n    </item>\n    <item>\n      <publicIp>67.202.55.233</publicIp>\n    </item>\n  </addressesSet>\n\t\t\t\t\t\t</DescribeAddressesResponse>
\n" + ], "contents" : [ { "desc" : "The set of IP addresses.", @@ -3025,8 +3305,12 @@ ] }, "DetachVolumeResponse" : { - "exampleCode" : "\n vol-4d826724\n i-6058a509\n /dev/sdh\n detaching\n 2008-05-08T11:51:50.000Z\n", - "exampleHTML" : "

Example Response

<DetachVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <volumeId>vol-4d826724</volumeId>\n  <instanceId>i-6058a509</instanceId>\n  <device>/dev/sdh</device>\n  <status>detaching</status>\n  <attachTime>2008-05-08T11:51:50.000Z</attachTime>\n</DetachVolumeResponse>
\n", + "exampleCode" : [ + "\n vol-4d826724\n i-6058a509\n /dev/sdh\n detaching\n 2008-05-08T11:51:50.000Z\n" + ], + "exampleHTML" : [ + "

Example Response

<DetachVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <volumeId>vol-4d826724</volumeId>\n  <instanceId>i-6058a509</instanceId>\n  <device>/dev/sdh</device>\n  <status>detaching</status>\n  <attachTime>2008-05-08T11:51:50.000Z</attachTime>\n</DetachVolumeResponse>
\n" + ], "contents" : [ { "desc" : "Time stamp when the association was created.", @@ -3071,8 +3355,12 @@ ] }, "DescribeKeyPairsResponse" : { - "exampleCode" : "\n \n \n gsg-keypair\n 1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f\n \n \n", - "exampleHTML" : "

Example Response

<DescribeKeyPairsResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <keySet>\n    <item>\n      <keyName>gsg-keypair</keyName>\n      <keyFingerprint>1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f</keyFingerprint>\n    </item>\n  </keySet>\n</DescribeKeyPairsResponse>
\n", + "exampleCode" : [ + "\n \n \n gsg-keypair\n 1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f\n \n \n" + ], + "exampleHTML" : [ + "

Example Response

<DescribeKeyPairsResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <keySet>\n    <item>\n      <keyName>gsg-keypair</keyName>\n      <keyFingerprint>1f:51:ae:28:bf:89:e9:d8:1f:25:5d:37:2d:7d:b8:ca:9f:f5:f1:6f</keyFingerprint>\n    </item>\n  </keySet>\n</DescribeKeyPairsResponse>
\n" + ], "contents" : [ { "desc" : "Information for a key pair.", @@ -3093,8 +3381,12 @@ ] }, "AttachVolumeResponse" : { - "exampleCode" : "\n vol-4d826724\n i-6058a509\n /dev/sdh\n attaching\n 2008-05-07T11:51:50.000Z\n", - "exampleHTML" : "

Example Response

<AttachVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <volumeId>vol-4d826724</volumeId>\n  <instanceId>i-6058a509</instanceId>\n  <device>/dev/sdh</device>\n  <status>attaching</status>\n  <attachTime>2008-05-07T11:51:50.000Z</attachTime>\n</AttachVolumeResponse>
\n", + "exampleCode" : [ + "\n vol-4d826724\n i-6058a509\n /dev/sdh\n attaching\n 2008-05-07T11:51:50.000Z\n" + ], + "exampleHTML" : [ + "

Example Response

<AttachVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <volumeId>vol-4d826724</volumeId>\n  <instanceId>i-6058a509</instanceId>\n  <device>/dev/sdh</device>\n  <status>attaching</status>\n  <attachTime>2008-05-07T11:51:50.000Z</attachTime>\n</AttachVolumeResponse>
\n" + ], "contents" : [ { "desc" : "Time stamp when the attachment was initiated.", @@ -3139,8 +3431,12 @@ ] }, "DescribeBundleTasksResponse" : { - "exampleCode" : "\n \n \n i-12345678\n bun-c1a540a8\n canceling\n 2008-10-07T11:41:50.000Z\n 2008-10-07T11:51:50.000Z\n 20%\n \n \n my-bucket\n winami\n \n \n \n \n", - "exampleHTML" : "

Example Response

<DescribeBundleTasksResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <bundleInstanceTasksSet>\n    <item>\n        <instanceId>i-12345678</instanceId>\n        <bundleId>bun-c1a540a8</bundleId>\n        <state>canceling</state>\n        <startTime>2008-10-07T11:41:50.000Z</startTime>\n        <updateTime>2008-10-07T11:51:50.000Z</updateTime>\n        <progress>20%</progress>\n        <storage>\n          <S3>\n            <bucket>my-bucket</bucket>\n            <prefix>winami</prefix>\n          </S3>\n        </storage>\n    </item>\n  <bundleInstanceTasksSet>\n</DescribeBundleTasksResponse>
\n", + "exampleCode" : [ + "\n \n \n i-12345678\n bun-c1a540a8\n canceling\n 2008-10-07T11:41:50.000Z\n 2008-10-07T11:51:50.000Z\n 20%\n \n \n my-bucket\n winami\n \n \n \n \n" + ], + "exampleHTML" : [ + "

Example Response

<DescribeBundleTasksResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <bundleInstanceTasksSet>\n    <item>\n        <instanceId>i-12345678</instanceId>\n        <bundleId>bun-c1a540a8</bundleId>\n        <state>canceling</state>\n        <startTime>2008-10-07T11:41:50.000Z</startTime>\n        <updateTime>2008-10-07T11:51:50.000Z</updateTime>\n        <progress>20%</progress>\n        <storage>\n          <S3>\n            <bucket>my-bucket</bucket>\n            <prefix>winami</prefix>\n          </S3>\n        </storage>\n    </item>\n  <bundleInstanceTasksSet>\n</DescribeBundleTasksResponse>
\n" + ], "contents" : [ { "desc" : "Bundle task set.", @@ -3218,8 +3514,14 @@ ] }, "DescribeImageAttributeResponse" : { - "exampleCode" : "\n ami-61a54008\n \n \n all\n \n \n 495219933132\n \n \n", - "exampleHTML" : "

Example Response

<DescribeImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <imageId>ami-61a54008</imageId>\n  <launchPermission>\n    <item>\n      <group>all</group>\n    </item>\n    <item>\n      <userId>495219933132</userId>\n    </item>\n  </launchPermission>\n</DescribeImageAttributeResponse>
\n", + "exampleCode" : [ + "\n ami-61a54008\n \n \n all\n \n \n 495219933132\n \n \n", + "\n ami-61a54008\n \n \n 774F4FF8\n \n \n\t\t\t\t\t\t" + ], + "exampleHTML" : [ + "

Example Response

<DescribeImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <imageId>ami-61a54008</imageId>\n  <launchPermission>\n    <item>\n      <group>all</group>\n    </item>\n    <item>\n      <userId>495219933132</userId>\n    </item>\n  </launchPermission>\n</DescribeImageAttributeResponse>
\n", + "

Example Response

<DescribeImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <imageId>ami-61a54008</imageId>\n  <productCodes>\n    <item>\n      <productCode>774F4FF8</productCode>\n    </item>\n  </productCodes>\n\t\t\t\t\t\t</DescribeImageAttributeResponse>
\n" + ], "contents" : [ { "desc" : "Block device mapping set.", @@ -3270,8 +3572,12 @@ ] }, "PurchaseReservedInstancesOfferingResponse" : { - "exampleCode" : "\n reservation-1001001\n\t\t\t\t\t\t", - "exampleHTML" : "

Example Response

<PurchaseReservedInstancesOfferingResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n   <reservedInstancesId>reservation-1001001</reservedInstancesId>\n\t\t\t\t\t\t</PurchaseReservedInstancesOfferingResponse>
\n", + "exampleCode" : [ + "\n reservation-1001001\n\t\t\t\t\t\t" + ], + "exampleHTML" : [ + "

Example Response

<PurchaseReservedInstancesOfferingResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n   <reservedInstancesId>reservation-1001001</reservedInstancesId>\n\t\t\t\t\t\t</PurchaseReservedInstancesOfferingResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -3292,8 +3598,12 @@ ] }, "CreateSnapshotResponse" : { - "exampleCode" : "\n snap-78a54011\n vol-4d826724\n pending\n 2008-05-07T12:51:50.000Z\n 60%\n", - "exampleHTML" : "

Example Response

<CreateSnapshotResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <snapshotId>snap-78a54011</snapshotId>\n  <volumeId>vol-4d826724</volumeId>\n  <status>pending</status>\n  <startTime>2008-05-07T12:51:50.000Z</startTime>\n  <progress>60%</progress>\n</CreateSnapshotResponse>
\n", + "exampleCode" : [ + "\n snap-78a54011\n vol-4d826724\n pending\n 2008-05-07T12:51:50.000Z\n 60%\n" + ], + "exampleHTML" : [ + "

Example Response

<CreateSnapshotResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <snapshotId>snap-78a54011</snapshotId>\n  <volumeId>vol-4d826724</volumeId>\n  <status>pending</status>\n  <startTime>2008-05-07T12:51:50.000Z</startTime>\n  <progress>60%</progress>\n</CreateSnapshotResponse>
\n" + ], "contents" : [ { "desc" : "The progress of the snapshot, in percentage.", @@ -3368,8 +3678,12 @@ ] }, "AllocateAddressResponse" : { - "exampleCode" : "\n 67.202.55.255\n", - "exampleHTML" : "

Example Response

<AllocateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <publicIp>67.202.55.255</publicIp>\n</AllocateAddressResponse>
\n", + "exampleCode" : [ + "\n 67.202.55.255\n" + ], + "exampleHTML" : [ + "

Example Response

<AllocateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <publicIp>67.202.55.255</publicIp>\n</AllocateAddressResponse>
\n" + ], "contents" : [ { "desc" : "IP address for use with your account.", @@ -3456,8 +3770,12 @@ ] }, "DescribeRegionsResponse" : { - "exampleCode" : "\n \n \n us-east-1\n us-east-1.ec2.amazonaws.com\n \n \n eu-west-1\n eu-west-1.ec2.amazonaws.com\n \n \n", - "exampleHTML" : "

Example Response

<DescribeRegionsResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <regionInfo>\n    <item>\n      <regionName>us-east-1</regionName>\n      <regionEndpoint>us-east-1.ec2.amazonaws.com</regionEndpoint>\n    </item>\n    <item>\n      <regionName>eu-west-1</regionName>\n      <regionUrl>eu-west-1.ec2.amazonaws.com</regionUrl>\n    </item>\n  </regionInfo>\n</DescribeRegionsResponse>
\n", + "exampleCode" : [ + "\n \n \n us-east-1\n us-east-1.ec2.amazonaws.com\n \n \n eu-west-1\n eu-west-1.ec2.amazonaws.com\n \n \n" + ], + "exampleHTML" : [ + "

Example Response

<DescribeRegionsResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <regionInfo>\n    <item>\n      <regionName>us-east-1</regionName>\n      <regionEndpoint>us-east-1.ec2.amazonaws.com</regionEndpoint>\n    </item>\n    <item>\n      <regionName>eu-west-1</regionName>\n      <regionUrl>eu-west-1.ec2.amazonaws.com</regionUrl>\n    </item>\n  </regionInfo>\n</DescribeRegionsResponse>
\n" + ], "contents" : [ { "desc" : "Region set.", @@ -3499,8 +3817,12 @@ ] }, "DescribeInstancesResponse" : { - "exampleCode" : "\n \n \n r-44a5402d\n UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM\n \n \n default\n \n \n \n \n i-28a64341\n ami-6ea54007\n \n 0\n running\n \n 10-251-50-132.ec2.internal\n ec2-72-44-33-4.compute-1.amazonaws.com\n example-key-name\n 23\n \n 774F4FF8\n \n m1.large\n 2007-08-07T11:54:42.000Z\n \n\t\t\t us-east-1b\n\t \n\t aki-ba3adfd3\n\t ari-badbad00\n \n \n i-28a64435\n ami-6ea54007\n \n 0\n running\n \n 10-251-50-134.ec2.internal\n ec2-72-44-33-6.compute-1.amazonaws.com\n example-key-name\n 23\n \n 774F4FF8\n \n m1.large\n 2007-08-07T11:54:42.000Z\n \n\t\t\t us-east-1b\n\t \n\t aki-ba3adfd3\n\t ari-badbad00\n \n \n \n \n", - "exampleHTML" : "

Example Response

<DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <reservationSet>\n    <item>\n      <reservationId>r-44a5402d</reservationId>\n      <ownerId>UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM</ownerId>\n      <groupSet>\n        <item>\n          <groupId>default</groupId>\n        </item>\n      </groupSet>\n      <instancesSet>\n        <item>\n          <instanceId>i-28a64341</instanceId>\n          <imageId>ami-6ea54007</imageId>\n          <instanceState>\n            <code>0</code>\n            <name>running</name>\n          </instanceState>\n          <privateDnsName>10-251-50-132.ec2.internal</privateDnsName>\n          <dnsName>ec2-72-44-33-4.compute-1.amazonaws.com</dnsName>\n          <keyName>example-key-name</keyName>\n          <amiLaunchIndex>23</amiLaunchIndex>\n          <productCodesSet>\n            <item><productCode>774F4FF8</productCode></item>\n          </productCodesSet>\n          <instanceType>m1.large</instanceType>\n          <launchTime>2007-08-07T11:54:42.000Z</launchTime>\n          <placement>\n\t\t\t  <availabilityZone>us-east-1b</availabilityZone>\n\t  </placement>\n\t  <kernelId>aki-ba3adfd3</kernelId>\n\t  <ramdiskId>ari-badbad00</ramdiskId>\n        </item>\n        <item>\n          <instanceId>i-28a64435</instanceId>\n          <imageId>ami-6ea54007</imageId>\n          <instanceState>\n            <code>0</code>\n            <name>running</name>\n          </instanceState>\n          <privateDnsName>10-251-50-134.ec2.internal</privateDnsName>\n          <dnsName>ec2-72-44-33-6.compute-1.amazonaws.com</dnsName>\n          <keyName>example-key-name</keyName>\n          <amiLaunchIndex>23</amiLaunchIndex>\n          <productCodesSet>\n            <item><productCode>774F4FF8</productCode></item>\n          </productCodesSet>\n          <instanceType>m1.large</instanceType>\n          <launchTime>2007-08-07T11:54:42.000Z</launchTime>\n          <placement>\n\t\t\t  <availabilityZone>us-east-1b</availabilityZone>\n\t  </placement>\n\t  <kernelId>aki-ba3adfd3</kernelId>\n\t  <ramdiskId>ari-badbad00</ramdiskId>\n        </item>\n      </instancesSet>\n    </item>\n  </reservationSet>\n</DescribeInstancesResponse>
\n", + "exampleCode" : [ + "\n \n \n r-44a5402d\n UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM\n \n \n default\n \n \n \n \n i-28a64341\n ami-6ea54007\n \n 0\n running\n \n 10-251-50-132.ec2.internal\n ec2-72-44-33-4.compute-1.amazonaws.com\n example-key-name\n 23\n \n 774F4FF8\n \n m1.large\n 2007-08-07T11:54:42.000Z\n \n\t\t\t us-east-1b\n\t \n\t aki-ba3adfd3\n\t ari-badbad00\n \n \n i-28a64435\n ami-6ea54007\n \n 0\n running\n \n 10-251-50-134.ec2.internal\n ec2-72-44-33-6.compute-1.amazonaws.com\n example-key-name\n 23\n \n 774F4FF8\n \n m1.large\n 2007-08-07T11:54:42.000Z\n \n\t\t\t us-east-1b\n\t \n\t aki-ba3adfd3\n\t ari-badbad00\n \n \n \n \n" + ], + "exampleHTML" : [ + "

Example Response

<DescribeInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <reservationSet>\n    <item>\n      <reservationId>r-44a5402d</reservationId>\n      <ownerId>UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM</ownerId>\n      <groupSet>\n        <item>\n          <groupId>default</groupId>\n        </item>\n      </groupSet>\n      <instancesSet>\n        <item>\n          <instanceId>i-28a64341</instanceId>\n          <imageId>ami-6ea54007</imageId>\n          <instanceState>\n            <code>0</code>\n            <name>running</name>\n          </instanceState>\n          <privateDnsName>10-251-50-132.ec2.internal</privateDnsName>\n          <dnsName>ec2-72-44-33-4.compute-1.amazonaws.com</dnsName>\n          <keyName>example-key-name</keyName>\n          <amiLaunchIndex>23</amiLaunchIndex>\n          <productCodesSet>\n            <item><productCode>774F4FF8</productCode></item>\n          </productCodesSet>\n          <instanceType>m1.large</instanceType>\n          <launchTime>2007-08-07T11:54:42.000Z</launchTime>\n          <placement>\n\t\t\t  <availabilityZone>us-east-1b</availabilityZone>\n\t  </placement>\n\t  <kernelId>aki-ba3adfd3</kernelId>\n\t  <ramdiskId>ari-badbad00</ramdiskId>\n        </item>\n        <item>\n          <instanceId>i-28a64435</instanceId>\n          <imageId>ami-6ea54007</imageId>\n          <instanceState>\n            <code>0</code>\n            <name>running</name>\n          </instanceState>\n          <privateDnsName>10-251-50-134.ec2.internal</privateDnsName>\n          <dnsName>ec2-72-44-33-6.compute-1.amazonaws.com</dnsName>\n          <keyName>example-key-name</keyName>\n          <amiLaunchIndex>23</amiLaunchIndex>\n          <productCodesSet>\n            <item><productCode>774F4FF8</productCode></item>\n          </productCodesSet>\n          <instanceType>m1.large</instanceType>\n          <launchTime>2007-08-07T11:54:42.000Z</launchTime>\n          <placement>\n\t\t\t  <availabilityZone>us-east-1b</availabilityZone>\n\t  </placement>\n\t  <kernelId>aki-ba3adfd3</kernelId>\n\t  <ramdiskId>ari-badbad00</ramdiskId>\n        </item>\n      </instancesSet>\n    </item>\n  </reservationSet>\n</DescribeInstancesResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -3632,8 +3954,12 @@ ] }, "DeleteVolumeResponse" : { - "exampleCode" : "\n true\n", - "exampleHTML" : "

Example Response

<DeleteVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</DeleteVolumeResponse>
\n", + "exampleCode" : [ + "\n true\n" + ], + "exampleHTML" : [ + "

Example Response

<DeleteVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</DeleteVolumeResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -3684,8 +4010,12 @@ ] }, "DisassociateAddressResponse" : { - "exampleCode" : "\n true\n", - "exampleHTML" : "

Example Response

<DisassociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</DisassociateAddressResponse>
\n", + "exampleCode" : [ + "\n true\n" + ], + "exampleHTML" : [ + "

Example Response

<DisassociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</DisassociateAddressResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -3721,8 +4051,12 @@ ] }, "CancelBundleTaskResponse" : { - "exampleCode" : "\n \n i-12345678\n bun-cla322b9\n canceling\n 2008-10-07T11:41:50.000Z\n 2008-10-07T11:51:50.000Z\n 20%\n \n \n my-bucket\n my-new-image\n \n \n \n", - "exampleHTML" : "

Example Response

<CancelBundleTaskResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <bundleInstanceTask>\n      <instanceId>i-12345678</instanceId>\n      <bundleId>bun-cla322b9</bundleId>\n      <state>canceling</state>\n      <startTime>2008-10-07T11:41:50.000Z</startTime>\n      <updateTime>2008-10-07T11:51:50.000Z</updateTime>\n      <progress>20%</progress>\n      <storage>\n        <S3>\n          <bucket>my-bucket</bucket>\n          <prefix>my-new-image</prefix>\n        </S3>\n      </storage>\n  </bundleInstanceTask>\n</CancelBundleTaskResponse>
\n", + "exampleCode" : [ + "\n \n i-12345678\n bun-cla322b9\n canceling\n 2008-10-07T11:41:50.000Z\n 2008-10-07T11:51:50.000Z\n 20%\n \n \n my-bucket\n my-new-image\n \n \n \n" + ], + "exampleHTML" : [ + "

Example Response

<CancelBundleTaskResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <bundleInstanceTask>\n      <instanceId>i-12345678</instanceId>\n      <bundleId>bun-cla322b9</bundleId>\n      <state>canceling</state>\n      <startTime>2008-10-07T11:41:50.000Z</startTime>\n      <updateTime>2008-10-07T11:51:50.000Z</updateTime>\n      <progress>20%</progress>\n      <storage>\n        <S3>\n          <bucket>my-bucket</bucket>\n          <prefix>my-new-image</prefix>\n        </S3>\n      </storage>\n  </bundleInstanceTask>\n</CancelBundleTaskResponse>
\n" + ], "contents" : [ { "desc" : "Bundle task to cancel.", @@ -3827,8 +4161,12 @@ ] }, "DescribeSecurityGroupsResponse" : { - "exampleCode" : "\n \n \n UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM\n WebServers\n Web Servers\n \n \n \t tcp\n\t 80\n\t 80\n\t \n\t \n\t \n\t 0.0.0.0/0\n\t \n\t \n \n \n \n \n UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM\n RangedPortsBySource\n Group A\n \n \t\n\t tcp\n\t 6000\n\t 7000\n\t \n\t \n\t\n \n \n \n", - "exampleHTML" : "

Example Response

<DescribeSecurityGroupsResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <securityGroupInfo>\n    <item>\n      <ownerId>UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM</ownerId>\n      <groupName>WebServers</groupName>\n      <groupDescription>Web Servers</groupDescription>\n      <ipPermissions>\n        <item>\n  \t  <ipProtocol>tcp</ipProtocol>\n\t  <fromPort>80</fromPort>\n\t  <toPort>80</toPort>\n\t  <groups/>\n\t  <ipRanges>\n\t    <item>\n\t      <cidrIp>0.0.0.0/0</cidrIp>\n\t    </item>\n\t  </ipRanges>\n         </item>\n      </ipPermissions>\n    </item>\n    <item>\n      <ownerId>UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM</ownerId>\n      <groupName>RangedPortsBySource</groupName>\n      <groupDescription>Group A</groupDescription>\n      <ipPermissions>\n \t<item>\n\t  <ipProtocol>tcp</ipProtocol>\n\t  <fromPort>6000</fromPort>\n\t  <toPort>7000</toPort>\n\t  <groups/>\n\t  <ipRanges/>\n\t</item>\n      </ipPermissions>\n    </item>\n  </securityGroupInfo>\n</DescribeSecurityGroupsResponse>
\n", + "exampleCode" : [ + "\n \n \n UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM\n WebServers\n Web Servers\n \n \n \t tcp\n\t 80\n\t 80\n\t \n\t \n\t \n\t 0.0.0.0/0\n\t \n\t \n \n \n \n \n UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM\n RangedPortsBySource\n Group A\n \n \t\n\t tcp\n\t 6000\n\t 7000\n\t \n\t \n\t\n \n \n \n" + ], + "exampleHTML" : [ + "

Example Response

<DescribeSecurityGroupsResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <securityGroupInfo>\n    <item>\n      <ownerId>UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM</ownerId>\n      <groupName>WebServers</groupName>\n      <groupDescription>Web Servers</groupDescription>\n      <ipPermissions>\n        <item>\n  \t  <ipProtocol>tcp</ipProtocol>\n\t  <fromPort>80</fromPort>\n\t  <toPort>80</toPort>\n\t  <groups/>\n\t  <ipRanges>\n\t    <item>\n\t      <cidrIp>0.0.0.0/0</cidrIp>\n\t    </item>\n\t  </ipRanges>\n         </item>\n      </ipPermissions>\n    </item>\n    <item>\n      <ownerId>UYY3TLBUXIEON5NQVUUX6OMPWBZIQNFM</ownerId>\n      <groupName>RangedPortsBySource</groupName>\n      <groupDescription>Group A</groupDescription>\n      <ipPermissions>\n \t<item>\n\t  <ipProtocol>tcp</ipProtocol>\n\t  <fromPort>6000</fromPort>\n\t  <toPort>7000</toPort>\n\t  <groups/>\n\t  <ipRanges/>\n\t</item>\n      </ipPermissions>\n    </item>\n  </securityGroupInfo>\n</DescribeSecurityGroupsResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -3849,8 +4187,12 @@ ] }, "GetConsoleOutputResponse" : { - "exampleCode" : "\n i-28a64341\n 2007-01-03 15:00:00\n TGludXggdmVyc2lvbiAyLjYuMTYteGVuVSAoYnVpbGRlckBwYXRjaGJhdC5hbWF6b25zYSkgKGdj\nYyB2ZXJzaW9uIDQuMC4xIDIwMDUwNzI3IChSZWQgSGF0IDQuMC4xLTUpKSAjMSBTTVAgVGh1IE9j\ndCAyNiAwODo0MToyNiBTQVNUIDIwMDYKQklPUy1wcm92aWRlZCBwaHlzaWNhbCBSQU0gbWFwOgpY\nZW46IDAwMDAwMDAwMDAwMDAwMDAgLSAwMDAwMDAwMDZhNDAwMDAwICh1c2FibGUpCjk4ME1CIEhJ\nR0hNRU0gYXZhaWxhYmxlLgo3MjdNQiBMT1dNRU0gYXZhaWxhYmxlLgpOWCAoRXhlY3V0ZSBEaXNh\nYmxlKSBwcm90ZWN0aW9uOiBhY3RpdmUKSVJRIGxvY2t1cCBkZXRlY3Rpb24gZGlzYWJsZWQKQnVp\nbHQgMSB6b25lbGlzdHMKS2VybmVsIGNvbW1hbmQgbGluZTogcm9vdD0vZGV2L3NkYTEgcm8gNApF\nbmFibGluZyBmYXN0IEZQVSBzYXZlIGFuZCByZXN0b3JlLi4uIGRvbmUuCg==\n", - "exampleHTML" : "

Example Response

<GetConsoleOutputResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <instanceId>i-28a64341</instanceId>\n  <timestamp>2007-01-03 15:00:00</timestamp>\n  <output>TGludXggdmVyc2lvbiAyLjYuMTYteGVuVSAoYnVpbGRlckBwYXRjaGJhdC5hbWF6b25zYSkgKGdj\nYyB2ZXJzaW9uIDQuMC4xIDIwMDUwNzI3IChSZWQgSGF0IDQuMC4xLTUpKSAjMSBTTVAgVGh1IE9j\ndCAyNiAwODo0MToyNiBTQVNUIDIwMDYKQklPUy1wcm92aWRlZCBwaHlzaWNhbCBSQU0gbWFwOgpY\nZW46IDAwMDAwMDAwMDAwMDAwMDAgLSAwMDAwMDAwMDZhNDAwMDAwICh1c2FibGUpCjk4ME1CIEhJ\nR0hNRU0gYXZhaWxhYmxlLgo3MjdNQiBMT1dNRU0gYXZhaWxhYmxlLgpOWCAoRXhlY3V0ZSBEaXNh\nYmxlKSBwcm90ZWN0aW9uOiBhY3RpdmUKSVJRIGxvY2t1cCBkZXRlY3Rpb24gZGlzYWJsZWQKQnVp\nbHQgMSB6b25lbGlzdHMKS2VybmVsIGNvbW1hbmQgbGluZTogcm9vdD0vZGV2L3NkYTEgcm8gNApF\nbmFibGluZyBmYXN0IEZQVSBzYXZlIGFuZCByZXN0b3JlLi4uIGRvbmUuCg==</output>\n</GetConsoleOutputResponse>
\n", + "exampleCode" : [ + "\n i-28a64341\n 2007-01-03 15:00:00\n TGludXggdmVyc2lvbiAyLjYuMTYteGVuVSAoYnVpbGRlckBwYXRjaGJhdC5hbWF6b25zYSkgKGdj\nYyB2ZXJzaW9uIDQuMC4xIDIwMDUwNzI3IChSZWQgSGF0IDQuMC4xLTUpKSAjMSBTTVAgVGh1IE9j\ndCAyNiAwODo0MToyNiBTQVNUIDIwMDYKQklPUy1wcm92aWRlZCBwaHlzaWNhbCBSQU0gbWFwOgpY\nZW46IDAwMDAwMDAwMDAwMDAwMDAgLSAwMDAwMDAwMDZhNDAwMDAwICh1c2FibGUpCjk4ME1CIEhJ\nR0hNRU0gYXZhaWxhYmxlLgo3MjdNQiBMT1dNRU0gYXZhaWxhYmxlLgpOWCAoRXhlY3V0ZSBEaXNh\nYmxlKSBwcm90ZWN0aW9uOiBhY3RpdmUKSVJRIGxvY2t1cCBkZXRlY3Rpb24gZGlzYWJsZWQKQnVp\nbHQgMSB6b25lbGlzdHMKS2VybmVsIGNvbW1hbmQgbGluZTogcm9vdD0vZGV2L3NkYTEgcm8gNApF\nbmFibGluZyBmYXN0IEZQVSBzYXZlIGFuZCByZXN0b3JlLi4uIGRvbmUuCg==\n" + ], + "exampleHTML" : [ + "

Example Response

<GetConsoleOutputResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <instanceId>i-28a64341</instanceId>\n  <timestamp>2007-01-03 15:00:00</timestamp>\n  <output>TGludXggdmVyc2lvbiAyLjYuMTYteGVuVSAoYnVpbGRlckBwYXRjaGJhdC5hbWF6b25zYSkgKGdj\nYyB2ZXJzaW9uIDQuMC4xIDIwMDUwNzI3IChSZWQgSGF0IDQuMC4xLTUpKSAjMSBTTVAgVGh1IE9j\ndCAyNiAwODo0MToyNiBTQVNUIDIwMDYKQklPUy1wcm92aWRlZCBwaHlzaWNhbCBSQU0gbWFwOgpY\nZW46IDAwMDAwMDAwMDAwMDAwMDAgLSAwMDAwMDAwMDZhNDAwMDAwICh1c2FibGUpCjk4ME1CIEhJ\nR0hNRU0gYXZhaWxhYmxlLgo3MjdNQiBMT1dNRU0gYXZhaWxhYmxlLgpOWCAoRXhlY3V0ZSBEaXNh\nYmxlKSBwcm90ZWN0aW9uOiBhY3RpdmUKSVJRIGxvY2t1cCBkZXRlY3Rpb24gZGlzYWJsZWQKQnVp\nbHQgMSB6b25lbGlzdHMKS2VybmVsIGNvbW1hbmQgbGluZTogcm9vdD0vZGV2L3NkYTEgcm8gNApF\nbmFibGluZyBmYXN0IEZQVSBzYXZlIGFuZCByZXN0b3JlLi4uIGRvbmUuCg==</output>\n</GetConsoleOutputResponse>
\n" + ], "contents" : [ { "desc" : "The instance ID.", @@ -3883,8 +4225,14 @@ ] }, "ModifyImageAttributeResponse" : { - "exampleCode" : "\n true\n", - "exampleHTML" : "

Example Response

<ModifyImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</ModifyImageAttributeResponse>
\n", + "exampleCode" : [ + "\n true\n", + "\n true\n" + ], + "exampleHTML" : [ + "

Example Response

<ModifyImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</ModifyImageAttributeResponse>
\n", + "

Example Response

<ModifyImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</ModifyImageAttributeResponse>
\n" + ], "contents" : [ { "desc" : "The ID of the request.", @@ -3905,8 +4253,12 @@ ] }, "AssociateAddressResponse" : { - "exampleCode" : "\n true\n", - "exampleHTML" : "

Example Response

<AssociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</AssociateAddressResponse>
\n", + "exampleCode" : [ + "\n true\n" + ], + "exampleHTML" : [ + "

Example Response

<AssociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</AssociateAddressResponse>
\n" + ], "contents" : [ { "desc" : "IP address.",