From 98fe4e995585902e14d3acab5c772a5fe0e5a024 Mon Sep 17 00:00:00 2001 From: "adrian.f.cole" Date: Thu, 4 Jun 2009 04:45:12 +0000 Subject: [PATCH] Issue 36: some progress towards merging object models git-svn-id: http://jclouds.googlecode.com/svn/trunk@891 3d8758e0-26b5-11de-8745-db77d3ebf521 --- .../jclouds/codegen/ec2/model/BaseBean.java | 79 +++ .../jclouds/codegen/ec2/model/BeanField.java | 116 ++++ .../org/jclouds/codegen/model/BaseBean.java | 11 +- .../org/jclouds/codegen/model/Parameter.java | 61 +- .../jclouds/codegen/model/ResponseField.java | 51 +- .../jclouds/codegen/util/CodeGenerator.java | 3 +- codegen/src/main/resources/objmodels/ec2.json | 556 +++++++++--------- codegen/src/main/resources/templates/Bean.ftl | 9 +- .../src/main/resources/templates/Command.ftl | 13 +- .../src/main/resources/templates/Handler.ftl | 8 +- .../src/main/resources/templates/Options.ftl | 10 +- .../src/main/resources/templates/Response.ftl | 9 +- .../src/main/resources/templates/Value.ftl | 9 +- 13 files changed, 584 insertions(+), 351 deletions(-) create mode 100644 codegen/src/main/java/org/jclouds/codegen/ec2/model/BaseBean.java create mode 100644 codegen/src/main/java/org/jclouds/codegen/ec2/model/BeanField.java diff --git a/codegen/src/main/java/org/jclouds/codegen/ec2/model/BaseBean.java b/codegen/src/main/java/org/jclouds/codegen/ec2/model/BaseBean.java new file mode 100644 index 0000000000..729a2b478d --- /dev/null +++ b/codegen/src/main/java/org/jclouds/codegen/ec2/model/BaseBean.java @@ -0,0 +1,79 @@ +/** + * + * Copyright (C) 2009 Global Cloud Specialists, Inc. + * + * ==================================================================== + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * ==================================================================== + */ +package org.jclouds.codegen.ec2.model; + +import java.util.Set; + +/** + * + * @author Adrian Cole + */ +public class BaseBean { + + private String type; + private String ancestor; + private Set see; + private String exampleCode; + private Set fields; + + public void setType(String type) { + this.type = type; + } + + public String getType() { + return type; + } + + public void setAncestor(String ancestor) { + this.ancestor = ancestor; + } + + public String getAncestor() { + return ancestor; + } + + public void setSee(Set see) { + this.see = see; + } + + public Set getSee() { + return see; + } + + public void setExampleCode(String exampleCode) { + this.exampleCode = exampleCode; + } + + public String getExampleCode() { + return exampleCode; + } + + public void setFields(Set fields) { + this.fields = fields; + } + + public Set getFields() { + return fields; + } +} diff --git a/codegen/src/main/java/org/jclouds/codegen/ec2/model/BeanField.java b/codegen/src/main/java/org/jclouds/codegen/ec2/model/BeanField.java new file mode 100644 index 0000000000..1464bc3df7 --- /dev/null +++ b/codegen/src/main/java/org/jclouds/codegen/ec2/model/BeanField.java @@ -0,0 +1,116 @@ +/** + * + * Copyright (C) 2009 Global Cloud Specialists, Inc. + * + * ==================================================================== + * Licensed to the Apache Software Foundation (ASF) under one + * or more contributor license agreements. See the NOTICE file + * distributed with this work for additional information + * regarding copyright ownership. The ASF licenses this file + * to you under the Apache License, Version 2.0 (the + * "License"); you may not use this file except in compliance + * with the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, + * software distributed under the License is distributed on an + * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY + * KIND, either express or implied. See the License for the + * specific language governing permissions and limitations + * under the License. + * ==================================================================== + */ +package org.jclouds.codegen.ec2.model; + +import java.util.Map; + +/** + * + * @author Adrian Cole + */ +public class BeanField { + + private String ancestor; + private String children; + private String constraints; + private String defaultValue; + private String desc; + private Map valueMap; + private String name; + private String optional; + private String type; + + public void setAncestor(String ancestor) { + this.ancestor = ancestor; + } + + public String getAncestor() { + return ancestor; + } + + public void setChildren(String children) { + this.children = children; + } + + public String getChildren() { + return children; + } + + public void setConstraints(String constraints) { + this.constraints = constraints; + } + + public String getConstraints() { + return constraints; + } + + public void setDefaultValue(String defaultValue) { + this.defaultValue = defaultValue; + } + + public String getDefaultValue() { + return defaultValue; + } + + public void setDesc(String desc) { + this.desc = desc; + } + + public String getDesc() { + return desc; + } + + public void setValueMap(Map valueMap) { + this.valueMap = valueMap; + } + + public Map getValueMap() { + return valueMap; + } + + public void setName(String name) { + this.name = name; + } + + public String getName() { + return name; + } + + public void setOptional(String optional) { + this.optional = optional; + } + + public String getOptional() { + return optional; + } + + public void setType(String type) { + this.type = type; + } + + public String getType() { + return type; + } + +} diff --git a/codegen/src/main/java/org/jclouds/codegen/model/BaseBean.java b/codegen/src/main/java/org/jclouds/codegen/model/BaseBean.java index 0bd04fc3f1..246ae72e22 100644 --- a/codegen/src/main/java/org/jclouds/codegen/model/BaseBean.java +++ b/codegen/src/main/java/org/jclouds/codegen/model/BaseBean.java @@ -32,7 +32,8 @@ public abstract class BaseBean { private String packageName; private String awsType; private String javaType; - + private String javaName; + public String getJavaType() { return javaType; } @@ -49,4 +50,12 @@ public abstract class BaseBean { return awsType; } + public void setJavaName(String javaName) { + this.javaName = javaName; + } + + public String getJavaName() { + return javaName; + } + } diff --git a/codegen/src/main/java/org/jclouds/codegen/model/Parameter.java b/codegen/src/main/java/org/jclouds/codegen/model/Parameter.java index 261f32f20e..6cd95459b6 100644 --- a/codegen/src/main/java/org/jclouds/codegen/model/Parameter.java +++ b/codegen/src/main/java/org/jclouds/codegen/model/Parameter.java @@ -28,30 +28,39 @@ package org.jclouds.codegen.model; * @author James Murty */ public class Parameter { - private String name; - private String type; - private String javaType; - private String param; - private String desc; - - public String getName() { - return name; - } - - public String getType() { - return type; - } - - public String getJavaType() { - return javaType; - } - - public String getParam() { - return param; - } - - public String getDesc() { - return desc; - } - + private String javaName; + private String name; + private String type; + private String javaType; + private String param; + private String desc; + + public String getName() { + return name; + } + + public String getType() { + return type; + } + + public String getJavaType() { + return javaType; + } + + public String getParam() { + return param; + } + + public String getDesc() { + return desc; + } + + public void setJavaName(String javaName) { + this.javaName = javaName; + } + + public String getJavaName() { + return javaName; + } + } diff --git a/codegen/src/main/java/org/jclouds/codegen/model/ResponseField.java b/codegen/src/main/java/org/jclouds/codegen/model/ResponseField.java index 437140d92f..a93316de41 100644 --- a/codegen/src/main/java/org/jclouds/codegen/model/ResponseField.java +++ b/codegen/src/main/java/org/jclouds/codegen/model/ResponseField.java @@ -28,25 +28,34 @@ package org.jclouds.codegen.model; * @author James Murty */ public class ResponseField { - private String desc; - private String name; - private String type; - private String javaType; - - public String getDesc() { - return desc; - } - - public String getName() { - return name; - } - - public String getType() { - return type; - } - - public String getJavaType() { - return javaType; - } - + private String javaName; + private String desc; + private String name; + private String type; + private String javaType; + + public String getDesc() { + return desc; + } + + public String getName() { + return name; + } + + public String getType() { + return type; + } + + public String getJavaType() { + return javaType; + } + + public void setJavaName(String javaName) { + this.javaName = javaName; + } + + public String getJavaName() { + return javaName; + } + } diff --git a/codegen/src/main/java/org/jclouds/codegen/util/CodeGenerator.java b/codegen/src/main/java/org/jclouds/codegen/util/CodeGenerator.java index 10fd3021df..92c8728b44 100644 --- a/codegen/src/main/java/org/jclouds/codegen/util/CodeGenerator.java +++ b/codegen/src/main/java/org/jclouds/codegen/util/CodeGenerator.java @@ -120,7 +120,8 @@ public class CodeGenerator { "BaseEC2RequestOptions") == -1) { generateClassFile(command.getOptions(), OPTIONS_TEMPLATE_FILENAME); } - if (command.getResponse() != null) { + if (command.getResponse() != null + && !command.getResponse().getJavaType().equals("Boolean")) { generateClassFile(command.getResponse(), RESPONSE_TEMPLATE_FILENAME); } } diff --git a/codegen/src/main/resources/objmodels/ec2.json b/codegen/src/main/resources/objmodels/ec2.json index 3654118506..faa5982d3c 100644 --- a/codegen/src/main/resources/objmodels/ec2.json +++ b/codegen/src/main/resources/objmodels/ec2.json @@ -17,7 +17,7 @@ }, "DeleteKeyPairResponse" : { "ancestor" : "None", - "example_html" : "

Example Response

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

Example Response

<DeleteKeyPairResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</DeleteKeyPairResponse>
\n", "fields" : [ { "desc" : "The ID of the request.", @@ -33,7 +33,7 @@ } ], "type" : "DeleteKeyPairResponse", - "example_code" : "\n true\n", + "exampleCode" : "\n true\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteKeyPair.html" ] @@ -55,7 +55,7 @@ }, "AuthorizeSecurityGroupIngressResponse" : { "ancestor" : "None", - "example_html" : "

Example Response

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

Example Response

<AuthorizeSecurityGroupIngressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</AuthorizeSecurityGroupIngressResponse>
\n", "fields" : [ { "name" : "requestId", @@ -70,7 +70,7 @@ } ], "type" : "AuthorizeSecurityGroupIngressResponse", - "example_code" : "\n true\n", + "exampleCode" : "\n true\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-AuthorizeSecurityGroupIngress.html" ] @@ -130,7 +130,7 @@ }, "DescribeReservedInstancesResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "name" : "requestId", @@ -145,7 +145,7 @@ } ], "type" : "DescribeReservedInstancesResponse", - "example_code" : "\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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeReservedInstances.html" ] @@ -289,7 +289,7 @@ { "desc" : "The current state of the instance.", "name" : "instanceState", - "enum" : { + "valueMap" : { "shutting-down" : "the instance is shutting down", "terminated" : "the instance terminated", "pending" : "the instance is in the process of launching", @@ -371,7 +371,7 @@ }, "DescribeReservedInstancesOfferingsResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "name" : "requestId", @@ -386,7 +386,7 @@ } ], "type" : "DescribeReservedInstancesOfferingsResponse", - "example_code" : "\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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeReservedInstancesOfferings.html" ] @@ -408,7 +408,7 @@ }, "ResetImageAttributeResponse" : { "ancestor" : "None", - "example_html" : "

Example Response

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

Example Response

<ResetImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</ResetImageAttributeResponse>
\n", "fields" : [ { "desc" : "Unique ID of the newly registered machine image.", @@ -424,7 +424,7 @@ } ], "type" : "ResetImageAttributeResponse", - "example_code" : "\n true\n", + "exampleCode" : "\n true\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-ResetImageAttribute.html" ] @@ -446,7 +446,7 @@ }, "RevokeSecurityGroupIngressResponse" : { "ancestor" : "None", - "example_html" : "

Example Response

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

Example Response

<RevokeSecurityGroupIngressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</RevokeSecurityGroupIngressResponse>
\n", "fields" : [ { "name" : "requestId", @@ -461,7 +461,7 @@ } ], "type" : "RevokeSecurityGroupIngressResponse", - "example_code" : "\n true\n", + "exampleCode" : "\n true\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-RevokeSecurityGroupIngress.html" ] @@ -501,7 +501,7 @@ }, "RebootInstancesResponse" : { "ancestor" : "None", - "example_html" : "

Example Response

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

Example Response

<RebootInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</RebootInstancesResponse>
\n", "fields" : [ { "desc" : "The ID of the request.", @@ -517,7 +517,7 @@ } ], "type" : "RebootInstancesResponse", - "example_code" : "\n true\n", + "exampleCode" : "\n true\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-RebootInstances.html" ] @@ -581,7 +581,7 @@ }, "CreateSecurityGroupResponse" : { "ancestor" : "None", - "example_html" : "

Example Response

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

Example Response

<CreateSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</CreateSecurityGroupResponse>
\n", "fields" : [ { "desc" : "The ID of the request.", @@ -597,14 +597,14 @@ } ], "type" : "CreateSecurityGroupResponse", - "example_code" : "\n true\n", + "exampleCode" : "\n true\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-CreateSecurityGroup.html" ] }, "ReleaseAddressResponse" : { "ancestor" : "None", - "example_html" : "

Example Response

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

Example Response

<ReleaseAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</ReleaseAddressResponse>
\n", "fields" : [ { "desc" : "The ID of the request.", @@ -620,7 +620,7 @@ } ], "type" : "ReleaseAddressResponse", - "example_code" : "\n true\n", + "exampleCode" : "\n true\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-ReleaseAddress.html" ] @@ -675,7 +675,7 @@ }, "DescribeSnapshotsResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "The ID of the request.", @@ -691,14 +691,14 @@ } ], "type" : "DescribeSnapshotsResponse", - "example_code" : "\n \n \n snap-78a54011\n vol-4d826724\n pending\n 2008-05-07T12:51:50.000Z\n 80%\n \n \n", + "exampleCode" : "\n \n \n snap-78a54011\n vol-4d826724\n pending\n 2008-05-07T12:51:50.000Z\n 80%\n \n \n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSnapshots.html" ] }, "BundleInstanceResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Bundle task.", @@ -714,7 +714,7 @@ } ], "type" : "BundleInstanceResponse", - "example_code" : "\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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-BundleInstance.html" ] @@ -776,7 +776,7 @@ }, "MonitorInstancesResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Monitor instance response set.", @@ -791,14 +791,14 @@ } ], "type" : "MonitorInstancesResponse", - "example_code" : "\n \n \n i-43a4412a\n \n pending\n \n \n \n i-23a3397d\n \n pending\n \n \n \n", + "exampleCode" : "\n \n \n i-43a4412a\n \n pending\n \n \n \n i-23a3397d\n \n pending\n \n \n \n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-MonitorInstances.html" ] }, "DescribeImagesResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Image set.", @@ -814,7 +814,7 @@ } ], "type" : "DescribeImagesResponse", - "example_code" : "\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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeImages.html" ] @@ -878,7 +878,7 @@ }, "UnmonitorInstancesResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Monitor instance response set.", @@ -893,7 +893,7 @@ } ], "type" : "UnmonitorInstancesResponse", - "example_code" : "\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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-UnmonitorInstances.html" ] @@ -966,7 +966,7 @@ }, "DeleteSecurityGroupResponse" : { "ancestor" : "None", - "example_html" : "

Example Response

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

Example Response

<DeleteSecurityGroupResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</DeleteSecurityGroupResponse>
\n", "fields" : [ { "desc" : "The ID of the request.", @@ -982,14 +982,14 @@ } ], "type" : "DeleteSecurityGroupResponse", - "example_code" : "\n true\n", + "exampleCode" : "\n true\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteSecurityGroup.html" ] }, "RunInstancesResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Group set. ", @@ -1028,14 +1028,14 @@ } ], "type" : "RunInstancesResponse", - "example_code" : "\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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-RunInstances.html" ] }, "DeregisterImageResponse" : { "ancestor" : "None", - "example_html" : "

Example Response

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

Example Response

<DeregisterImageResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</DeregisterImageResponse>
\n", "fields" : [ { "desc" : "The ID of the request.", @@ -1051,14 +1051,14 @@ } ], "type" : "DeregisterImageResponse", - "example_code" : "\n true\n", + "exampleCode" : "\n true\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DeregisterImage.html" ] }, "TerminateInstancesResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Instances set.", @@ -1073,7 +1073,7 @@ } ], "type" : "TerminateInstancesResponse", - "example_code" : "\n \n \n i-3ea74257\n \n 32\n shutting-down\n \n \n 16\n running\n \n \n \n", + "exampleCode" : "\n \n \n i-3ea74257\n \n 32\n shutting-down\n \n \n 16\n running\n \n \n \n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-TerminateInstances.html" ] @@ -1167,7 +1167,7 @@ }, "ConfirmProductInstanceResponse" : { "ancestor" : "None", - "example_html" : "

Example Response

<ConfirmProductInstanceResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n  <ownerId>254933287430</ownerId>\n</ConfirmProductInstanceResponse>
\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", "fields" : [ { "desc" : "The instance owner's account ID. Only present if the product code is attached to the instance.", @@ -1189,14 +1189,14 @@ } ], "type" : "ConfirmProductInstanceResponse", - "example_code" : "\n true\n 254933287430\n", + "exampleCode" : "\n true\n 254933287430\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-ConfirmProductInstance.html" ] }, "CreateKeyPairResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "A SHA-1 digest of the DER encoded private key.", @@ -1224,14 +1224,14 @@ } ], "type" : "CreateKeyPairResponse", - "example_code" : "\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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-CreateKeyPair.html" ] }, "RegisterImageResponse" : { "ancestor" : "None", - "example_html" : "

Example Response

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

Example Response

<RegisterImageResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <imageId>ami-61a54008</imageId>\n</RegisterImageResponse>
\n", "fields" : [ { "desc" : "Unique ID of the newly registered machine image.", @@ -1247,7 +1247,7 @@ } ], "type" : "RegisterImageResponse", - "example_code" : "\n ami-61a54008\n", + "exampleCode" : "\n ami-61a54008\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-RegisterImage.html" ] @@ -1288,7 +1288,7 @@ { "desc" : "A 16-bit unsigned integer. The high byte is an opaque internal value and should be ignored. The low byte is set based on the state represented:", "name" : "code", - "enum" : { + "valueMap" : { "32" : "shutting-down", "0" : "pending", "16" : "running", @@ -1299,7 +1299,7 @@ { "desc" : "The current state of the instance.", "name" : "name", - "enum" : { + "valueMap" : { "shutting-down" : "the instance started shutting down", "terminated" : "the instance terminated", "pending" : "the instance is in the process of being launched", @@ -1411,7 +1411,7 @@ }, "DescribeVolumesResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "The ID of the request.", @@ -1427,7 +1427,7 @@ } ], "type" : "DescribeVolumesResponse", - "example_code" : "\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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeVolumes.html" ] @@ -1449,7 +1449,7 @@ }, "DeleteSnapshotResponse" : { "ancestor" : "None", - "example_html" : "

Example Response

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

Example Response

<DeleteSnapshotResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</DeleteSnapshotResponse>
\n", "fields" : [ { "desc" : "The ID of the request.", @@ -1465,7 +1465,7 @@ } ], "type" : "DeleteSnapshotResponse", - "example_code" : "\n true\n", + "exampleCode" : "\n true\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteSnapshot.html" ] @@ -1487,7 +1487,7 @@ }, "DescribeAvailabilityZonesResponse" : { "ancestor" : "None", - "example_html" : "

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  </availabilityZoneInfo>\n</DescribeAvailabilityZonesResponse>
\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  </availabilityZoneInfo>\n</DescribeAvailabilityZonesResponse>
\n", "fields" : [ { "desc" : "Availability Zone information.", @@ -1503,14 +1503,14 @@ } ], "type" : "DescribeAvailabilityZonesResponse", - "example_code" : "\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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeAvailabilityZones.html" ] }, "CreateVolumeResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Availability Zone in which the volume was created.", @@ -1556,7 +1556,7 @@ } ], "type" : "CreateVolumeResponse", - "example_code" : "\n vol-4d826724\n 800\n creating\n 2008-05-07T11:51:50.000Z\n us-east-1a\n \n", + "exampleCode" : "\n vol-4d826724\n 800\n creating\n 2008-05-07T11:51:50.000Z\n us-east-1a\n \n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-CreateVolume.html" ] @@ -1578,7 +1578,7 @@ }, "DescribeAddressesResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "name" : "addressesSet", @@ -1592,7 +1592,7 @@ } ], "type" : "DescribeAddressesResponse", - "example_code" : "\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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeAddresses.html" ] @@ -1614,7 +1614,7 @@ }, "DetachVolumeResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Time stamp when the association was created.", @@ -1654,14 +1654,14 @@ } ], "type" : "DetachVolumeResponse", - "example_code" : "\n vol-4d826724\n i-6058a509\n /dev/sdh\n detaching\n 2008-05-08T11:51:50.000Z\n", + "exampleCode" : "\n vol-4d826724\n i-6058a509\n /dev/sdh\n detaching\n 2008-05-08T11:51:50.000Z\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DetachVolume.html" ] }, "DescribeKeyPairsResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Information for a key pair.", @@ -1677,14 +1677,14 @@ } ], "type" : "DescribeKeyPairsResponse", - "example_code" : "\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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeKeyPairs.html" ] }, "AttachVolumeResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Time stamp when the attachment was initiated.", @@ -1723,14 +1723,14 @@ } ], "type" : "AttachVolumeResponse", - "example_code" : "\n vol-4d826724\n i-6058a509\n /dev/sdh\n attaching\n 2008-05-07T11:51:50.000Z\n", + "exampleCode" : "\n vol-4d826724\n i-6058a509\n /dev/sdh\n attaching\n 2008-05-07T11:51:50.000Z\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-AttachVolume.html" ] }, "DescribeBundleTasksResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Bundle task set.", @@ -1746,7 +1746,7 @@ } ], "type" : "DescribeBundleTasksResponse", - "example_code" : "\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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeBundleTasks.html" ] @@ -1810,7 +1810,7 @@ }, "DescribeImageAttributeResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Block device mapping set.", @@ -1856,14 +1856,14 @@ } ], "type" : "DescribeImageAttributeResponse", - "example_code" : "\n ami-61a54008\n \n \n all\n \n \n 495219933132\n \n \n", + "exampleCode" : "\n ami-61a54008\n \n \n all\n \n \n 495219933132\n \n \n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeImageAttribute.html" ] }, "PurchaseReservedInstancesOfferingResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "name" : "requestId", @@ -1878,14 +1878,14 @@ } ], "type" : "PurchaseReservedInstancesOfferingResponse", - "example_code" : "\n reservation-1001001\n\t\t\t\t\t\t", + "exampleCode" : "\n reservation-1001001\n\t\t\t\t\t\t", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-PurchaseReservedInstancesOffering.html" ] }, "CreateSnapshotResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "The progress of the snapshot, in percentage.", @@ -1925,7 +1925,7 @@ } ], "type" : "CreateSnapshotResponse", - "example_code" : "\n snap-78a54011\n vol-4d826724\n pending\n 2008-05-07T12:51:50.000Z\n 60%\n", + "exampleCode" : "\n snap-78a54011\n vol-4d826724\n pending\n 2008-05-07T12:51:50.000Z\n 60%\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-CreateSnapshot.html" ] @@ -1962,7 +1962,7 @@ }, "AllocateAddressResponse" : { "ancestor" : "None", - "example_html" : "

Example Response

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

Example Response

<AllocateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <publicIp>67.202.55.255</publicIp>\n</AllocateAddressResponse>
\n", "fields" : [ { "name" : "publicIp", @@ -1976,7 +1976,7 @@ } ], "type" : "AllocateAddressResponse", - "example_code" : "\n 67.202.55.255\n", + "exampleCode" : "\n 67.202.55.255\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-AllocateAddress.html" ] @@ -2047,7 +2047,7 @@ }, "DescribeRegionsResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Region set.", @@ -2063,7 +2063,7 @@ } ], "type" : "DescribeRegionsResponse", - "example_code" : "\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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeRegions.html" ] @@ -2091,7 +2091,7 @@ }, "DescribeInstancesResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "The ID of the request.", @@ -2107,7 +2107,7 @@ } ], "type" : "DescribeInstancesResponse", - "example_code" : "\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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeInstances.html" ] @@ -2224,7 +2224,7 @@ }, "DeleteVolumeResponse" : { "ancestor" : "None", - "example_html" : "

Example Response

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

Example Response

<DeleteVolumeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</DeleteVolumeResponse>
\n", "fields" : [ { "desc" : "The ID of the request.", @@ -2240,7 +2240,7 @@ } ], "type" : "DeleteVolumeResponse", - "example_code" : "\n true\n", + "exampleCode" : "\n true\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteVolume.html" ] @@ -2277,7 +2277,7 @@ }, "DisassociateAddressResponse" : { "ancestor" : "None", - "example_html" : "

Example Response

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

Example Response

<DisassociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</DisassociateAddressResponse>
\n", "fields" : [ { "desc" : "The ID of the request.", @@ -2293,7 +2293,7 @@ } ], "type" : "DisassociateAddressResponse", - "example_code" : "\n true\n", + "exampleCode" : "\n true\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DisassociateAddress.html" ] @@ -2315,7 +2315,7 @@ }, "CancelBundleTaskResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Bundle task to cancel.", @@ -2331,7 +2331,7 @@ } ], "type" : "CancelBundleTaskResponse", - "example_code" : "\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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-CancelBundleTask.html" ] @@ -2422,7 +2422,7 @@ }, "DescribeSecurityGroupsResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "The ID of the request.", @@ -2438,14 +2438,14 @@ } ], "type" : "DescribeSecurityGroupsResponse", - "example_code" : "\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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSecurityGroups.html" ] }, "GetConsoleOutputResponse" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "The instance ID.", @@ -2473,14 +2473,14 @@ } ], "type" : "GetConsoleOutputResponse", - "example_code" : "\n i-28a64341\n 2007-01-03 15:00:00\n TGludXggdmVyc2lvbiAyLjYuMTYteGVuVSAoYnVpbGRlckBwYXRjaGJhdC5hbWF6b25zYSkgKGdj\nYyB2ZXJzaW9uIDQuMC4xIDIwMDUwNzI3IChSZWQgSGF0IDQuMC4xLTUpKSAjMSBTTVAgVGh1IE9j\ndCAyNiAwODo0MToyNiBTQVNUIDIwMDYKQklPUy1wcm92aWRlZCBwaHlzaWNhbCBSQU0gbWFwOgpY\nZW46IDAwMDAwMDAwMDAwMDAwMDAgLSAwMDAwMDAwMDZhNDAwMDAwICh1c2FibGUpCjk4ME1CIEhJ\nR0hNRU0gYXZhaWxhYmxlLgo3MjdNQiBMT1dNRU0gYXZhaWxhYmxlLgpOWCAoRXhlY3V0ZSBEaXNh\nYmxlKSBwcm90ZWN0aW9uOiBhY3RpdmUKSVJRIGxvY2t1cCBkZXRlY3Rpb24gZGlzYWJsZWQKQnVp\nbHQgMSB6b25lbGlzdHMKS2VybmVsIGNvbW1hbmQgbGluZTogcm9vdD0vZGV2L3NkYTEgcm8gNApF\nbmFibGluZyBmYXN0IEZQVSBzYXZlIGFuZCByZXN0b3JlLi4uIGRvbmUuCg==\n", + "exampleCode" : "\n i-28a64341\n 2007-01-03 15:00:00\n TGludXggdmVyc2lvbiAyLjYuMTYteGVuVSAoYnVpbGRlckBwYXRjaGJhdC5hbWF6b25zYSkgKGdj\nYyB2ZXJzaW9uIDQuMC4xIDIwMDUwNzI3IChSZWQgSGF0IDQuMC4xLTUpKSAjMSBTTVAgVGh1IE9j\ndCAyNiAwODo0MToyNiBTQVNUIDIwMDYKQklPUy1wcm92aWRlZCBwaHlzaWNhbCBSQU0gbWFwOgpY\nZW46IDAwMDAwMDAwMDAwMDAwMDAgLSAwMDAwMDAwMDZhNDAwMDAwICh1c2FibGUpCjk4ME1CIEhJ\nR0hNRU0gYXZhaWxhYmxlLgo3MjdNQiBMT1dNRU0gYXZhaWxhYmxlLgpOWCAoRXhlY3V0ZSBEaXNh\nYmxlKSBwcm90ZWN0aW9uOiBhY3RpdmUKSVJRIGxvY2t1cCBkZXRlY3Rpb24gZGlzYWJsZWQKQnVp\nbHQgMSB6b25lbGlzdHMKS2VybmVsIGNvbW1hbmQgbGluZTogcm9vdD0vZGV2L3NkYTEgcm8gNApF\nbmFibGluZyBmYXN0IEZQVSBzYXZlIGFuZCByZXN0b3JlLi4uIGRvbmUuCg==\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-GetConsoleOutput.html" ] }, "ModifyImageAttributeResponse" : { "ancestor" : "None", - "example_html" : "

Example Response

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

Example Response

<ModifyImageAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</ModifyImageAttributeResponse>
\n", "fields" : [ { "desc" : "The ID of the request.", @@ -2496,14 +2496,14 @@ } ], "type" : "ModifyImageAttributeResponse", - "example_code" : "\n true\n", + "exampleCode" : "\n true\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-ModifyImageAttribute.html" ] }, "AssociateAddressResponse" : { "ancestor" : "None", - "example_html" : "

Example Response

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

Example Response

<AssociateAddressResponse xmlns="http://ec2.amazonaws.com/doc/2009-04-04/">\n  <return>true</return>\n</AssociateAddressResponse>
\n", "fields" : [ { "desc" : "IP address.", @@ -2524,7 +2524,7 @@ } ], "type" : "AssociateAddressResponse", - "example_code" : "\n true\n", + "exampleCode" : "\n true\n", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-AssociateAddress.html" ] @@ -2536,25 +2536,25 @@ "queries" : { "ConfirmProductInstance" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "The product code to confirm.", "name" : "ProductCode", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "The instance to confirm.", "name" : "InstanceId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "ConfirmProductInstance", - "example_code" : "https://ec2.amazonaws.com/?Action=ConfirmProductInstance&ProductCode=774F4FF8&InstanceId=i-10a64379&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=ConfirmProductInstance&ProductCode=774F4FF8&InstanceId=i-10a64379&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-ConfirmProductInstance.html", "DescribeInstances", @@ -2569,18 +2569,18 @@ "queries" : { "DeregisterImage" : { "ancestor" : "None", - "example_html" : "

Example Request

This example deregisters the ami-4fa54026 AMI.

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

Example Request

This example deregisters the ami-4fa54026 AMI.

https://ec2.amazonaws.com/?Action=DeregisterImage&ImageId=ami-4fa54026&AuthParams
\n", "fields" : [ { "desc" : "Unique ID of the AMI which was assigned during registration. To register an AMI, use RegisterImage. To view the AMI IDs of AMIs that belong to your account. use DescribeImages.", "name" : "ImageId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "DeregisterImage", - "example_code" : "https://ec2.amazonaws.com/?Action=DeregisterImage&ImageId=ami-4fa54026&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DeregisterImage&ImageId=ami-4fa54026&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DeregisterImage.html", "RegisterImage", @@ -2590,53 +2590,53 @@ }, "ModifyImageAttribute" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "The AMI ID.", "name" : "ImageId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "User IDs associated with the launchPermission attribute.", "name" : "UserId.n", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "Security groups associated with the launchPermission attribute. You can specify the ", "name" : "Group.n", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "User IDs associated with the launchPermission attribute.", "name" : "UserId.n", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "Security groups associated with the launchPermission attribute. You can specify the ", "name" : "Group.n", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "Amazon DevPay product code. Currently only one product code can be associated with an AMI. Once set, the product code cannot be changed or reset.", "name" : "ProductCode.n", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "ModifyImageAttribute", - "example_code" : "https://ec2.amazonaws.com/?Action=ModifyImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&OperationType=add&Group.1=all &UserId.1=495219933132&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=ModifyImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&OperationType=add&Group.1=all &UserId.1=495219933132&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-ModifyImageAttribute.html", "ResetImageAttribute", @@ -2646,60 +2646,60 @@ }, "DescribeImageAttribute" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "The ID of the AMI for which an attribute will be described.", "name" : "ImageId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "Describes the launch permissions of the AMI.", "name" : "LaunchPermission", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "Describes the product code associated with the AMI.", "name" : "ProductCodes", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "Describes the ID of the kernel associated with the AMI.", "name" : "Kernel", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "Describes the ID of the RAM disk associated with the AMI.", "name" : "Ramdisk", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "Describes the mapping that defines native device names to use when exposing virtual devices.", "name" : "BlockDeviceMapping", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "Describes the operating system platform.", "name" : "Platform", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "DescribeImageAttribute", - "example_code" : "https://ec2.amazonaws.com/?Action=DescribeImageAttribute&ImageId=ami-2bb65342&Attribute=launchPermission&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeImageAttribute&ImageId=ami-2bb65342&Attribute=launchPermission&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeImageAttribute.html", "DescribeImages", @@ -2710,7 +2710,7 @@ }, "DescribeImages" : { "ancestor" : "None", - "example_html" : "

Example Request

This example describes the ami-be3adfd7 AMI.

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

Example Request

This example describes the ami-be3adfd7 AMI.

https://ec2.amazonaws.com/?Action=DescribeImages&ImageId.1=ami-be3adfd7&AuthParams
\n", "fields" : [ { "name" : "public", @@ -2726,7 +2726,7 @@ } ], "type" : "DescribeImages", - "example_code" : "https://ec2.amazonaws.com/?Action=DescribeImages&ImageId.1=ami-be3adfd7&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeImages&ImageId.1=ami-be3adfd7&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeImages.html", "DescribeInstances", @@ -2741,18 +2741,18 @@ "queries" : { "DescribeAvailabilityZones" : { "ancestor" : "None", - "example_html" : "

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.1=us-east-1c&AuthParams
\n", + "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.1=us-east-1c&AuthParams
\n", "fields" : [ { "desc" : "Availability Zone name.", "name" : "ZoneName", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "true" } ], "type" : "DescribeAvailabilityZones", - "example_code" : "https://ec2.amazonaws.com/?Action=DescribeAvailabilityZones&ZoneName.0=us-east-1a&ZoneName.1=us-east-1b&ZoneName.1=us-east-1c&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeAvailabilityZones&ZoneName.0=us-east-1a&ZoneName.1=us-east-1b&ZoneName.1=us-east-1c&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeAvailabilityZones.html", "RunInstances", @@ -2762,18 +2762,18 @@ }, "DescribeRegions" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Name of a region.", "name" : "Region.n", "type" : "String", - "default" : "Describes all regions available to the account.", + "defaultValue" : "Describes all regions available to the account.", "optional" : "true" } ], "type" : "DescribeRegions", - "example_code" : "https://ec2.amazonaws.com/?Action=DescribeRegions&RegionName.0=us-east-1&RegionName.1=eu-west-1&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeRegions&RegionName.0=us-east-1&RegionName.1=eu-west-1&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeRegions.html", "DescribeAvailabilityZones", @@ -2788,18 +2788,18 @@ "queries" : { "DeleteVolume" : { "ancestor" : "None", - "example_html" : "

Example Request

This example deletes volume vol-4282672b.

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

Example Request

This example deletes volume vol-4282672b.

https://ec2.amazonaws.com/?Action=DeleteVolume&VolumeId=vol-4282672b&AuthParams
\n", "fields" : [ { "desc" : "The ID of the volume to delete.", "name" : "VolumeId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "DeleteVolume", - "example_code" : "https://ec2.amazonaws.com/?Action=DeleteVolume&VolumeId=vol-4282672b&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DeleteVolume&VolumeId=vol-4282672b&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteVolume.html", "CreateVolume", @@ -2811,18 +2811,18 @@ }, "DescribeSnapshots" : { "ancestor" : "None", - "example_html" : "

Example Request

This example describes snapshot snap-78a54011.

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

Example Request

This example describes snapshot snap-78a54011.

https://ec2.amazonaws.com/?Action=DescribeSnapshots&SnapshotId=snap-78a54011&AuthParams
\n", "fields" : [ { "desc" : "The ID of the Amazon EBS snapshot.", "name" : "SnapshotId.n", "type" : "String", - "default" : "Describes all snapshots that you own.", + "defaultValue" : "Describes all snapshots that you own.", "optional" : "true" } ], "type" : "DescribeSnapshots", - "example_code" : "https://ec2.amazonaws.com/?Action=DescribeSnapshots&SnapshotId=snap-78a54011&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeSnapshots&SnapshotId=snap-78a54011&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSnapshots.html", "CreateSnapshot", @@ -2832,18 +2832,18 @@ }, "DescribeVolumes" : { "ancestor" : "None", - "example_html" : "

Example Request

This example describes all volumes associated with your account.

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

Example Request

This example describes all volumes associated with your account.

https://ec2.amazonaws.com/?Action=DescribeVolumes&AuthParams
\n", "fields" : [ { "desc" : "The ID of the volume to list.", "name" : "VolumeId", "type" : "String", - "default" : "Describes all volumes that you own.", + "defaultValue" : "Describes all volumes that you own.", "optional" : "true" } ], "type" : "DescribeVolumes", - "example_code" : "https://ec2.amazonaws.com/?Action=DescribeVolumes&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeVolumes&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeVolumes.html", "CreateSnapshot", @@ -2853,39 +2853,39 @@ }, "DetachVolume" : { "ancestor" : "None", - "example_html" : "

Example Request

This example detaches volume vol-4d826724.

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

Example Request

This example detaches volume vol-4d826724.

https://ec2.amazonaws.com/?Action=DetachVolume&VolumeId=vol-4d826724\n&InstanceId=i-6058a509&AuthParams
\n", "fields" : [ { "desc" : "The ID of the volume.", "name" : "VolumeId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "The ID of the instance.", "name" : "InstanceId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "true" }, { "desc" : "The device name.", "name" : "Device", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "true" }, { "desc" : "Forces detachment if the previous detachment attempt did not occur cleanly (logging into an instance, unmounting the volume, and detaching normally). This option can lead to data loss or a corrupted file system. Use this option only as a last resort to detach a volume from a failed instance. The instance will not have an opportunity to flush file system caches nor file system meta data.", "name" : "Force", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "true" } ], "type" : "DetachVolume", - "example_code" : "https://ec2.amazonaws.com/?Action=DetachVolume&VolumeId=vol-4d826724\n&InstanceId=i-6058a509&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DetachVolume&VolumeId=vol-4d826724\n&InstanceId=i-6058a509&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DetachVolume.html", "CreateVolume", @@ -2897,32 +2897,32 @@ }, "AttachVolume" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "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.", "name" : "VolumeId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "The ID of the instance to which the volume attaches. The volume and instance must be within the same Availability Zone and the instance must be running.", "name" : "InstanceId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "Specifies how the device is exposed to the instance (e.g., /dev/sdh).", "name" : "Device", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "AttachVolume", - "example_code" : "https://ec2.amazonaws.com/?Action=AttachVolume&VolumeId=vol-4d826724\n&InstanceId=i-6058a509\n&Device=/dev/sdh&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=AttachVolume&VolumeId=vol-4d826724\n&InstanceId=i-6058a509\n&Device=/dev/sdh&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-AttachVolume.html", "CreateVolume", @@ -2934,18 +2934,18 @@ }, "CreateSnapshot" : { "ancestor" : "None", - "example_html" : "

Example Request

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

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

Example Request

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

https://ec2.amazonaws.com/?Action=CreateSnapshot&VolumeId=vol-4d826724&AuthParams
\n", "fields" : [ { "desc" : "The ID of the Amazon EBS volume to take a snapshot of.", "name" : "VolumeId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "CreateSnapshot", - "example_code" : "https://ec2.amazonaws.com/?Action=CreateSnapshot&VolumeId=vol-4d826724&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=CreateSnapshot&VolumeId=vol-4d826724&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-CreateSnapshot.html", "DeleteSnapshot", @@ -2955,33 +2955,33 @@ }, "CreateVolume" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "constraints" : "1-1024", "desc" : "The size of the volume, in GiBs. Required if you are not creating a volume from a snapshot.", "name" : "Size", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "The snapshot from which to create the new volume.", "name" : "SnapshotId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "The Availability Zone in which to create the new volume.", "name" : "AvailabilityZone", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "CreateVolume", - "example_code" : "https://ec2.amazonaws.com/?Action=CreateVolume&Size=800&AvailabilityZone=us-east-1a&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=CreateVolume&Size=800&AvailabilityZone=us-east-1a&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-CreateVolume.html", "DeleteVolume", @@ -2994,18 +2994,18 @@ }, "DeleteSnapshot" : { "ancestor" : "None", - "example_html" : "

Example Request

This example deletes snapshot snap-78a54011.

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

Example Request

This example deletes snapshot snap-78a54011.

https://ec2.amazonaws.com/?Action=DeleteSnapshot&SnapshotId.1=snap-78a54011&AuthParams
\n", "fields" : [ { "desc" : "The ID of the Amazon EBS snapshot to delete.", "name" : "SnapshotId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "DeleteSnapshot", - "example_code" : "https://ec2.amazonaws.com/?Action=DeleteSnapshot&SnapshotId.1=snap-78a54011&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DeleteSnapshot&SnapshotId.1=snap-78a54011&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteSnapshot.html", "CreateSnapshot", @@ -3020,7 +3020,7 @@ "queries" : { "AllocateAddress" : { "ancestor" : "None", - "example_html" : "

Example Request

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

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

Example Request

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

https://ec2.amazonaws.com/?Action=AllocateAddress&AuthParams
\n", "fields" : [ { "ancestor" : "None", @@ -3048,7 +3048,7 @@ } ], "type" : "AllocateAddress", - "example_code" : "https://ec2.amazonaws.com/?Action=AllocateAddress&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=AllocateAddress&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-AllocateAddress.html", "DescribeAddresses", @@ -3060,18 +3060,18 @@ }, "DisassociateAddress" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "IP address that you are disassociating from the instance.", "name" : "PublicIp", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "DisassociateAddress", - "example_code" : "https://ec2.amazonaws.com/?Action=DisassociateAddress&PublicIp=67.202.55.255&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DisassociateAddress&PublicIp=67.202.55.255&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DisassociateAddress.html", "AllocateAddress", @@ -3083,18 +3083,18 @@ }, "ReleaseAddress" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "The IP address that you are releasing from your account.", "name" : "PublicIp", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "ReleaseAddress", - "example_code" : "https://ec2.amazonaws.com/?Action=ReleaseAddress&PublicIp=67.202.55.255&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=ReleaseAddress&PublicIp=67.202.55.255&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-ReleaseAddress.html", "AllocateAddress", @@ -3106,25 +3106,25 @@ }, "AssociateAddress" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "The instance to associate with the IP address.", "name" : "InstanceId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "IP address that you are assigning to the instance.", "name" : "PublicIp", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "AssociateAddress", - "example_code" : "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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-AssociateAddress.html", "AllocateAddress", @@ -3136,18 +3136,18 @@ }, "DescribeAddresses" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Elastic IP address to describe.", "name" : "PublicIp.n", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "true" } ], "type" : "DescribeAddresses", - "example_code" : "https://ec2.amazonaws.com/?Action=DescribeAddresses&PublicIp.1=67.202.55.255\n&PublicIp.1=67.202.55.233&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeAddresses&PublicIp.1=67.202.55.255\n&PublicIp.1=67.202.55.233&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeAddresses.html", "AllocateAddress", @@ -3162,18 +3162,18 @@ "queries" : { "GetConsoleOutput" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "ID of the instance for which you want console output.", "name" : "InstanceId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "GetConsoleOutput", - "example_code" : "https://ec2.amazonaws.com/?Action=GetConsoleOutput&InstanceId=i-10a64379&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=GetConsoleOutput&InstanceId=i-10a64379&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-GetConsoleOutput.html", "RunInstances" @@ -3187,18 +3187,18 @@ "queries" : { "ResetImageAttribute" : { "ancestor" : "None", - "example_html" : "

Example Request

This example resets the launchPermission attribute.

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

Example Request

This example resets the launchPermission attribute.

https://ec2.amazonaws.com/?Action=ResetImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&AuthParams
\n", "fields" : [ { "desc" : "ID of the AMI on which the attribute will be reset.", "name" : "ImageId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "ResetImageAttribute", - "example_code" : "https://ec2.amazonaws.com/?Action=ResetImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=ResetImageAttribute&ImageId=ami-61a54008&Attribute=launchPermission&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-ResetImageAttribute.html", "ModifyImageAttribute", @@ -3208,18 +3208,18 @@ }, "RegisterImage" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Full path to your AMI manifest in Amazon S3 storage.", "name" : "ImageLocation", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "RegisterImage", - "example_code" : "https://ec2.amazonaws.com/?Action=RegisterImage&ImageLocation=mybucket-myimage.manifest.xml&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=RegisterImage&ImageLocation=mybucket-myimage.manifest.xml&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-RegisterImage.html", "DescribeImages", @@ -3234,18 +3234,18 @@ "queries" : { "TerminateInstances" : { "ancestor" : "None", - "example_html" : "

Example Request

This example terminates the i-3ea74257 instance.

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

Example Request

This example terminates the i-3ea74257 instance.

https://ec2.amazonaws.com/?Action=TerminateInstances&InstanceId.1=i-3ea74257&AuthParams
\n", "fields" : [ { "desc" : "Instance ID to terminate.", "name" : "InstanceId.n", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "TerminateInstances", - "example_code" : "https://ec2.amazonaws.com/?Action=TerminateInstances&InstanceId.1=i-3ea74257&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=TerminateInstances&InstanceId.1=i-3ea74257&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-TerminateInstances.html", "DescribeInstances" @@ -3254,18 +3254,18 @@ }, "DescribeInstances" : { "ancestor" : "None", - "example_html" : "

Example Request

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

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

Example Request

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

https://ec2.amazonaws.com/?Action=DescribeInstances&AuthParams
\n", "fields" : [ { "desc" : "Instance IDs to describe.", "name" : "InstanceId.n", "type" : "String", - "default" : "Returns all instances.", + "defaultValue" : "Returns all instances.", "optional" : "true" } ], "type" : "DescribeInstances", - "example_code" : "https://ec2.amazonaws.com/?Action=DescribeInstances&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeInstances&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeInstances.html", "RunInstances", @@ -3275,13 +3275,13 @@ }, "RunInstances" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Unique ID of a machine image, returned by a call to RegisterImage.", "name" : "ImageId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { @@ -3289,7 +3289,7 @@ "desc" : "Minimum number of instances to launch. If the value is more than Amazon EC2 can launch, no instances are launched at all.", "name" : "MinCount", "type" : "Integer", - "default" : "20", + "defaultValue" : "20", "optional" : "false" }, { @@ -3297,55 +3297,55 @@ "desc" : "Maximum number of instances to launch. If the value is more than Amazon EC2 can launch, the largest possible number above minCount will be launched instead.", "name" : "MaxCount", "type" : "Integer", - "default" : "20", + "defaultValue" : "20", "optional" : "false" }, { "desc" : "The name of the key pair.", "name" : "KeyName", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "true" }, { "desc" : "Name of the security group.", "name" : "groupId", "type" : "String", - "default" : "default", + "defaultValue" : "defaultValue", "optional" : "true" }, { "desc" : "The user data.", "name" : "Data", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "true" }, { "desc" : "The version.", "name" : "Version", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "The encoding.", "name" : "Encoding", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "Deprecated.", "name" : "AddressingType", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "true" }, { "desc" : "Specifies the instance type.", "name" : "InstanceType", - "enum" : { + "valueMap" : { "c1.xlarge" : "c1.xlarge", "m1.large" : "m1.large", "m1.xlarge" : "m1.xlarge", @@ -3353,54 +3353,54 @@ "m1.small" : "m1.small" }, "type" : "String", - "default" : "m1.small", + "defaultValue" : "m1.small", "optional" : "true" }, { "desc" : "Specifies the placement constraints (Availability Zones) for launching the instances.", "name" : "AvailabilityZone", "type" : "String", - "default" : "Amazon EC2 selects an Availability Zone.", + "defaultValue" : "Amazon EC2 selects an Availability Zone.", "optional" : "true" }, { "desc" : "The ID of the kernel with which to launch the instance.", "name" : "KernelId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "true" }, { "desc" : "The ID of the RAM disk with which to launch the instance. Some kernels require additional drivers at launch. Check the kernel requirements for information on whether you need to specify a RAM disk. To find kernel requirements, go to the Resource Center and search for the kernel ID.", "name" : "RamdiskId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "true" }, { "desc" : "The virtual name.", "name" : "VirtualName", "type" : "String", - "default" : "None ", + "defaultValue" : "None ", "optional" : "true" }, { "desc" : "The device name (e.g., /dev/sdh).", "name" : "DeviceName", "type" : "String", - "default" : "None ", + "defaultValue" : "None ", "optional" : "true" }, { "desc" : "Enables monitoring for the instance.", "name" : "Monitoring.Enabled", "type" : "Boolean", - "default" : "Disabled", + "defaultValue" : "Disabled", "optional" : "true" } ], "type" : "RunInstances", - "example_code" : "https://ec2.amazonaws.com/?Action=RunInstances&ImageId=ami-60a54009&MaxCount=3&MinCount=1&Placement.AvailabilityZone=us-east-1a&Monitoring.Enabled=true&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=RunInstances&ImageId=ami-60a54009&MaxCount=3&MinCount=1&Placement.AvailabilityZone=us-east-1a&Monitoring.Enabled=true&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-RunInstances.html", "DescribeInstances", @@ -3415,18 +3415,18 @@ }, "RebootInstances" : { "ancestor" : "None", - "example_html" : "

Example Request

This example reboots an instance.

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

Example Request

This example reboots an instance.

https://ec2.amazonaws.com/?Action=RebootInstances&AuthParams
\n", "fields" : [ { "desc" : "One or more instance IDs.", "name" : "InstanceId.n", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "RebootInstances", - "example_code" : "https://ec2.amazonaws.com/?Action=RebootInstances&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=RebootInstances&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-RebootInstances.html", "RunInstances" @@ -3440,18 +3440,18 @@ "queries" : { "DescribeKeyPairs" : { "ancestor" : "None", - "example_html" : "

Example Request

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

https://ec2.amazonaws.com/?Action=DescribeKeyPairs&KeyName.1=gsg-keypair&AuthParams
\n", + "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", "fields" : [ { "desc" : "Key pair to describe.", "name" : "KeyName.n", "type" : "String", - "default" : "Describes all key pairs available to the account.", + "defaultValue" : "Describes all key pairs available to the account.", "optional" : "true" } ], "type" : "DescribeKeyPairs", - "example_code" : "https://ec2.amazonaws.com/?Action=DescribeKeyPairs&KeyName.1=gsg-keypair&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeKeyPairs&KeyName.1=gsg-keypair&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeKeyPairs.html", "DescribeAvailabilityZones", @@ -3461,19 +3461,19 @@ }, "CreateKeyPair" : { "ancestor" : "None", - "example_html" : "

Example Request

This example creates a key pair named gsg-keypair.

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

Example Request

This example creates a key pair named gsg-keypair.

https://ec2.amazonaws.com/?Action=CreateKeyPair&KeyName=gsg-keypair.&AuthParams
\n", "fields" : [ { "constraints" : "Accepts alphanumeric characters, spaces, dashes, and underscores.", "desc" : "A unique name for the key pair.", "name" : "KeyName", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "CreateKeyPair", - "example_code" : "https://ec2.amazonaws.com/?Action=CreateKeyPair&KeyName=gsg-keypair.&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=CreateKeyPair&KeyName=gsg-keypair.&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-CreateKeyPair.html", "RunInstances", @@ -3484,18 +3484,18 @@ }, "DeleteKeyPair" : { "ancestor" : "None", - "example_html" : "

Example Request

This example deletes the gsg-keypair key pair.

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

Example Request

This example deletes the gsg-keypair key pair.

https://ec2.amazonaws.com/?Action=DeleteKeyPair&KeyName=gsg-keypair&AuthParams
\n", "fields" : [ { "desc" : "Name of the key pair to delete.", "name" : "KeyName", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "DeleteKeyPair", - "example_code" : "https://ec2.amazonaws.com/?Action=DeleteKeyPair&KeyName=gsg-keypair&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DeleteKeyPair&KeyName=gsg-keypair&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteKeyPair.html", "CreateKeyPair", @@ -3510,18 +3510,18 @@ "queries" : { "MonitorInstances" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Instance ID.", "name" : "InstanceId.n", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "MonitorInstances", - "example_code" : "https://ec2.amazonaws.com/?Action=MonitorInstances&InstanceId.1=i-43a4412a&InstanceId.2=i-23a3397d&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=MonitorInstances&InstanceId.1=i-43a4412a&InstanceId.2=i-23a3397d&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-MonitorInstances.html", "UnmonitorInstances", @@ -3531,18 +3531,18 @@ }, "UnmonitorInstances" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Instance ID.", "name" : "InstanceId.n", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "UnmonitorInstances", - "example_code" : "https://ec2.amazonaws.com/?Action=UnmonitorInstances&InstanceId.1=i-43a4412a&InstanceId.2=i-23a3397d&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=UnmonitorInstances&InstanceId.1=i-43a4412a&InstanceId.2=i-23a3397d&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-UnmonitorInstances.html", "MonitorInstances", @@ -3557,18 +3557,18 @@ "queries" : { "DescribeReservedInstances" : { "ancestor" : "None", - "example_html" : "

Example Request

This example describes Reserved Instances owned by the account.

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

Example Request

This example describes Reserved Instances owned by the account.

https://ec2.amazonaws.com/?Action=DescribeReservedInstances&AuthParams
\n", "fields" : [ { "desc" : "IDs of the Reserved Instance to describe.", "name" : "ReservedInstancesId.n", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "true" } ], "type" : "DescribeReservedInstances", - "example_code" : "https://ec2.amazonaws.com/?Action=DescribeReservedInstances&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeReservedInstances&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeReservedInstances.html", "PurchaseReservedInstancesOffering", @@ -3578,39 +3578,39 @@ }, "DescribeReservedInstancesOfferings" : { "ancestor" : "None", - "example_html" : "

Example Request

This example describes available Reserved Instance offerings.

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

Example Request

This example describes available Reserved Instance offerings.

https://ec2.amazonaws.com/?Action=DescribeReservedInstancesOfferings&AuthParams
\n", "fields" : [ { "desc" : "ID of the Reserved Instances to describe.", "name" : "ReservedInstancesOfferingId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "true" }, { "desc" : "The instance type on which the Reserved Instance can be used.", "name" : "InstanceType", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "true" }, { "desc" : "The Availability Zone in which the Reserved Instance can be used.", "name" : "AvailabilityZone", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "true" }, { "desc" : "The Reserved Instance description.", "name" : "ProductDescription", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "true" } ], "type" : "DescribeReservedInstancesOfferings", - "example_code" : "https://ec2.amazonaws.com/?Action=DescribeReservedInstancesOfferings&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeReservedInstancesOfferings&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeReservedInstancesOfferings.html", "PurchaseReservedInstancesOffering", @@ -3620,25 +3620,25 @@ }, "PurchaseReservedInstancesOffering" : { "ancestor" : "None", - "example_html" : "

Example Request

This example purchases Reserved Instances.

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

Example Request

This example purchases Reserved Instances.

https://ec2.amazonaws.com/?Action=PurchaseReservedInstancesOffering&OfferingId.1=offering-12345678&instanceCount.1=2&AuthParams
\n", "fields" : [ { "desc" : "The offering ID of the Reserved Instance to purchase.", "name" : "ReservedInstancesOfferingId.n", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "The number of Reserved Instances to purchase.", "name" : "InstanceCount.n", "type" : "Integer", - "default" : "1", + "defaultValue" : "1", "optional" : "true" } ], "type" : "PurchaseReservedInstancesOffering", - "example_code" : "https://ec2.amazonaws.com/?Action=PurchaseReservedInstancesOffering&OfferingId.1=offering-12345678&instanceCount.1=2&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=PurchaseReservedInstancesOffering&OfferingId.1=offering-12345678&instanceCount.1=2&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-PurchaseReservedInstancesOffering.html", "DescribeReservedInstancesOfferings", @@ -3653,18 +3653,18 @@ "queries" : { "DescribeSecurityGroups" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "Name of the security group.", "name" : "GroupName.n", "type" : "String", - "default" : "Describes all groups within the account.", + "defaultValue" : "Describes all groups within the account.", "optional" : "true" } ], "type" : "DescribeSecurityGroups", - "example_code" : "https://ec2.amazonaws.com/?Action=DescribeSecurityGroups&GroupName.1=WebServers&GroupName.2=RangedPortsBySource&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeSecurityGroups&GroupName.1=WebServers&GroupName.2=RangedPortsBySource&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeSecurityGroups.html", "CreateSecurityGroup", @@ -3676,60 +3676,60 @@ }, "AuthorizeSecurityGroupIngress" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "AWS Access Key ID.", "name" : "UserId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "Name of the group to modify. The name must be valid and belong to the account", "name" : "GroupName", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "IP protocol.", "name" : "IpProtocol", - "enum" : { + "valueMap" : { "udp" : "udp", "tcp" : "tcp", "icmp" : "icmp" }, "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "Start of port range for the TCP and UDP protocols, or an ICMP type number. An ICMP type number of -1 indicates a wildcard (i.e., any ICMP type number).", "name" : "FromPort", "type" : "Integer", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "End of port range for the TCP and UDP protocols, or an ICMP code. An ICMP code of -1 indicates a wildcard (i.e., any ICMP code).", "name" : "ToPort", "type" : "Integer", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "AWS User ID of an account.", "name" : "UserId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "Name of the security group.", "name" : "GroupName", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { @@ -3737,12 +3737,12 @@ "desc" : "CIDR range.", "name" : "CidrIp", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "AuthorizeSecurityGroupIngress", - "example_code" : "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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-AuthorizeSecurityGroupIngress.html", "CreateSecurityGroup", @@ -3754,14 +3754,14 @@ }, "CreateSecurityGroup" : { "ancestor" : "None", - "example_html" : "

Example Request

This example creates the websrv security group.

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

Example Request

This example creates the websrv security group.

https://ec2.amazonaws.com/?Action=CreateSecurityGroup&GroupName=websrv&GroupDescription='Web Servers'&AuthParams
\n", "fields" : [ { "constraints" : "Accepts alphanumeric characters, spaces, dashes, and underscores.", "desc" : "Name of the security group.", "name" : "GroupName", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { @@ -3769,12 +3769,12 @@ "desc" : "Description of the group. This is informational only. If the description contains spaces, you must enclose it in single quotes (').", "name" : "GroupDescription", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "CreateSecurityGroup", - "example_code" : "https://ec2.amazonaws.com/?Action=CreateSecurityGroup&GroupName=websrv&GroupDescription='Web Servers'&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=CreateSecurityGroup&GroupName=websrv&GroupDescription='Web Servers'&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-CreateSecurityGroup.html", "RunInstances", @@ -3787,18 +3787,18 @@ }, "DeleteSecurityGroup" : { "ancestor" : "None", - "example_html" : "

Example Request

This example deletes the websrv security group.

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

Example Request

This example deletes the websrv security group.

https://ec2.amazonaws.com/?Action=DeleteSecurityGroup&GroupName=websrv&AuthParams
\n", "fields" : [ { "desc" : "Name of the security group to delete.", "name" : "GroupName", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "DeleteSecurityGroup", - "example_code" : "https://ec2.amazonaws.com/?Action=DeleteSecurityGroup&GroupName=websrv&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DeleteSecurityGroup&GroupName=websrv&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DeleteSecurityGroup.html", "CreateSecurityGroup", @@ -3810,60 +3810,60 @@ }, "RevokeSecurityGroupIngress" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "AWS Access Key ID.", "name" : "UserId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "Name of the group to modify.", "name" : "GroupName", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "IP protocol.", "name" : "IpProtocol", - "enum" : { + "valueMap" : { "udp" : "udp", "tcp" : "tcp", "icmp" : "icmp" }, "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "Start of port range for the TCP and UDP protocols, or an ICMP type number. An ICMP type number of -1 indicates a wildcard (i.e., any ICMP type number).", "name" : "FromPort", "type" : "Integer", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "End of port range for the TCP and UDP protocols, or an ICMP code. An ICMP code of -1 indicates a wildcard (i.e., any ICMP code).", "name" : "ToPort", "type" : "Integer", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "AWS User ID of an account.", "name" : "UserId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "Name of the security group.", "name" : "GroupName", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { @@ -3871,12 +3871,12 @@ "desc" : "CIDR range.", "name" : "CidrIp", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "RevokeSecurityGroupIngress", - "example_code" : "https://ec2.amazonaws.com/?Action=RevokeSecurityGroupIngress&IpProtocol=tcp&FromPort=80&ToPort=80&CidrIp=205.192.0.0/16\n&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=RevokeSecurityGroupIngress&IpProtocol=tcp&FromPort=80&ToPort=80&CidrIp=205.192.0.0/16\n&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-RevokeSecurityGroupIngress.html", "CreateSecurityGroup", @@ -3893,18 +3893,18 @@ "queries" : { "CancelBundleTask" : { "ancestor" : "None", - "example_html" : "

Example Request

This example cancels the bun-cla322b9 bundle task.

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

Example Request

This example cancels the bun-cla322b9 bundle task.

https://ec2.amazonaws.com/?Action=CancelBundleTask&BundleId=bun-cla322b9&AuthParams
\n", "fields" : [ { "desc" : "The ID of the bundle task to cancel.", "name" : "BundleId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "CancelBundleTask", - "example_code" : "https://ec2.amazonaws.com/?Action=CancelBundleTask&BundleId=bun-cla322b9&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=CancelBundleTask&BundleId=bun-cla322b9&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-CancelBundleTask.html", "BundleInstance", @@ -3914,18 +3914,18 @@ }, "DescribeBundleTasks" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "The ID of the bundle task to describe.", "name" : "BundleId", "type" : "String", - "default" : "If no ID is specified, all bundle tasks are described.", + "defaultValue" : "If no ID is specified, all bundle tasks are described.", "optional" : "true" } ], "type" : "DescribeBundleTasks", - "example_code" : "https://ec2.amazonaws.com/?Action=DescribeBundleTasks&bundleId.0=bun-c1a540a8&AuthParams", + "exampleCode" : "https://ec2.amazonaws.com/?Action=DescribeBundleTasks&bundleId.0=bun-c1a540a8&AuthParams", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-DescribeBundleTasks.html", "BundleInstance", @@ -3935,53 +3935,53 @@ }, "BundleInstance" : { "ancestor" : "None", - "example_html" : "

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", + "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", "fields" : [ { "desc" : "The ID of the instance to bundle.", "name" : "InstanceId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "The Access Key ID of the owner of the Amazon S3 bucket.", "name" : "Storage.S3.AWSAccessKeyId", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : " The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.", "name" : "Storage.S3.Bucket", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "Specifies the beginning of the file name of the AMI.", "name" : "Storage.S3.Prefix", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : "An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on the user's behalf. For more information on bundling in Windows, go to the Amazon Elastic Compute Cloud Developer Guide and Amazon Elastic Compute Cloud Getting Started Guide.", "name" : "Storage.S3.UploadPolicy", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" }, { "desc" : " The signature of the Base64 encoded JSON document.", "name" : "Storage.S3.UploadPolicySignature", "type" : "String", - "default" : "None", + "defaultValue" : "None", "optional" : "false" } ], "type" : "BundleInstance", - "example_code" : "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", + "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", "see" : [ "http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-query-BundleInstance.html", "CancelBundleTask", diff --git a/codegen/src/main/resources/templates/Bean.ftl b/codegen/src/main/resources/templates/Bean.ftl index f5e3453d74..8c37e08689 100644 --- a/codegen/src/main/resources/templates/Bean.ftl +++ b/codegen/src/main/resources/templates/Bean.ftl @@ -29,6 +29,9 @@ package ${bean.packageName}; [#if bean.packageName != rootPackageName] import ${rootPackageName}.*; [/#if] +import java.util.Set; +import java.util.List; + /** * @@ -49,14 +52,14 @@ public class ${shortClassName} { * * ${field.desc} */ - private ${field.javaType} ${field.name?uncap_first}; + private ${field.javaType} ${field.javaName?uncap_first}; [/#list] [#-- Print get/set --] [#list bean.parameters![] as field] -[#assign lowerName = field.name?uncap_first] -[#assign upperName = field.name?cap_first] +[#assign lowerName = field.javaName?uncap_first] +[#assign upperName = field.javaName?cap_first] /** * * @return ${field.desc} diff --git a/codegen/src/main/resources/templates/Command.ftl b/codegen/src/main/resources/templates/Command.ftl index 8f848d7d2d..a7f6736865 100644 --- a/codegen/src/main/resources/templates/Command.ftl +++ b/codegen/src/main/resources/templates/Command.ftl @@ -34,6 +34,8 @@ import ${bean.response.packageName}.*; import ${bean.options.packageName}.*; [/#if] import org.jclouds.aws.reference.AWSConstants; +import java.util.Set; +import java.util.List; import org.jclouds.http.commands.callables.xml.ParseSax; @@ -61,18 +63,17 @@ public class ${shortClassName} extends HttpFutureCommand<${RT}> { @Named(AWSConstants.PROPERTY_AWS_SECRETACCESSKEY) String awsSecretAccessKey, ParseSax<${RT}> callable, [#if bean.options.javaType?? ] - @Assisted ${bean.options.javaType} options, + @Assisted ${bean.options.javaType} options [#else] - @Assisted BaseEC2RequestOptions options, + @Assisted BaseEC2RequestOptions options [/#if] [#list bean.parameters![] as param] - @Assisted ${param.javaType} ${param.name?uncap_first}[#rt] -[#if param_has_next],[#else])[/#if] -[/#list] { + ,@Assisted ${param.javaType} ${param.javaName?uncap_first}[#rt] +[/#list]) { super("GET", "/" + options [#list bean.parameters![] as param] - .with${param.name?cap_first}(${param.name?uncap_first}) + .with${param.javaName?cap_first}(${param.javaName?uncap_first}) [/#list] .signWith(awsAccessKeyId,awsSecretAccessKey).buildQueryString(), callable); } diff --git a/codegen/src/main/resources/templates/Handler.ftl b/codegen/src/main/resources/templates/Handler.ftl index f5e3453d74..a82c994f21 100644 --- a/codegen/src/main/resources/templates/Handler.ftl +++ b/codegen/src/main/resources/templates/Handler.ftl @@ -29,6 +29,8 @@ package ${bean.packageName}; [#if bean.packageName != rootPackageName] import ${rootPackageName}.*; [/#if] +import java.util.Set; +import java.util.List; /** * @@ -49,14 +51,14 @@ public class ${shortClassName} { * * ${field.desc} */ - private ${field.javaType} ${field.name?uncap_first}; + private ${field.javaType} ${field.javaName?uncap_first}; [/#list] [#-- Print get/set --] [#list bean.parameters![] as field] -[#assign lowerName = field.name?uncap_first] -[#assign upperName = field.name?cap_first] +[#assign lowerName = field.javaName?uncap_first] +[#assign upperName = field.javaName?cap_first] /** * * @return ${field.desc} diff --git a/codegen/src/main/resources/templates/Options.ftl b/codegen/src/main/resources/templates/Options.ftl index ceaadf47b2..0fb0bcce2c 100644 --- a/codegen/src/main/resources/templates/Options.ftl +++ b/codegen/src/main/resources/templates/Options.ftl @@ -29,6 +29,8 @@ package ${bean.packageName}; [#if bean.packageName != rootPackageName] import ${rootPackageName}.*; [/#if] +import java.util.Set; +import java.util.List; import org.jclouds.aws.ec2.commands.options.BaseEC2RequestOptions; @@ -62,8 +64,8 @@ public class ${shortClassName} extends } [#list bean.parameters![] as field] -[#assign lowerName = field.name?uncap_first] -[#assign upperName = field.name?cap_first] +[#assign lowerName = field.javaName?uncap_first] +[#assign upperName = field.javaName?cap_first] /** * @see ${shortClassName}#with${upperName}(String) @@ -86,8 +88,8 @@ public class ${shortClassName} extends public static class Builder { [#list bean.parameters![] as field] -[#assign lowerName = field.name?uncap_first] -[#assign upperName = field.name?cap_first] +[#assign lowerName = field.javaName?uncap_first] +[#assign upperName = field.javaName?cap_first] /** * @see ${shortClassName}#withId(String) */ diff --git a/codegen/src/main/resources/templates/Response.ftl b/codegen/src/main/resources/templates/Response.ftl index e436964022..9ebbae7890 100644 --- a/codegen/src/main/resources/templates/Response.ftl +++ b/codegen/src/main/resources/templates/Response.ftl @@ -30,7 +30,8 @@ package ${bean.packageName}; import ${rootPackageName}.domain.*; [/#if] import org.joda.time.DateTime; - +import java.util.Set; +import java.util.List; /** * @@ -48,14 +49,14 @@ public class ${shortClassName} { [#-- Print fields --] [#list bean.fields![] as field] - private ${field.javaType} ${field.name?uncap_first}; + private ${field.javaType} ${field.javaName?uncap_first}; [/#list] [#-- Print get/set --] [#list bean.fields![] as field] -[#assign lowerName = field.name?uncap_first] -[#assign upperName = field.name?cap_first] +[#assign lowerName = field.javaName?uncap_first] +[#assign upperName = field.javaName?cap_first] public ${field.javaType} get${upperName}(){ return this.${lowerName}; diff --git a/codegen/src/main/resources/templates/Value.ftl b/codegen/src/main/resources/templates/Value.ftl index 687cdf2339..7ee1fa3682 100644 --- a/codegen/src/main/resources/templates/Value.ftl +++ b/codegen/src/main/resources/templates/Value.ftl @@ -30,7 +30,8 @@ package ${bean.packageName}; import ${rootPackageName}.*; [/#if] import org.joda.time.DateTime; - +import java.util.Set; +import java.util.List; /** * @@ -48,14 +49,14 @@ public class ${shortClassName} { [#-- Print fields --] [#list bean.fields![] as field] - private ${field.javaType} ${field.name?uncap_first}; + private ${field.javaType} ${field.javaName?uncap_first}; [/#list] [#-- Print get/set --] [#list bean.fields![] as field] -[#assign lowerName = field.name?uncap_first] -[#assign upperName = field.name?cap_first] +[#assign lowerName = field.javaName?uncap_first] +[#assign upperName = field.javaName?cap_first] public ${field.javaType} get${upperName}(){ return this.${lowerName};