mirror of https://github.com/apache/jclouds.git
Issue 36: further revision on Response object types
git-svn-id: http://jclouds.googlecode.com/svn/trunk@887 3d8758e0-26b5-11de-8745-db77d3ebf521
This commit is contained in:
parent
ac6e90430b
commit
34698fb78a
|
@ -86,10 +86,10 @@ sub parse_java_type {
|
||||||
s/xsd:boolean/Boolean/;
|
s/xsd:boolean/Boolean/;
|
||||||
s/xsd:Int/Integer/;
|
s/xsd:Int/Integer/;
|
||||||
s/xsd:dateTime/DateTime/;
|
s/xsd:dateTime/DateTime/;
|
||||||
if (/Type/) {
|
if (/Type/ || /Item/) {
|
||||||
my $awsType = $_;
|
my $awsType = $_;
|
||||||
my $javaType = get_java_name($awsType);
|
my $javaType = get_java_name($awsType);
|
||||||
if ( !/Response/ ) {
|
#if ( !/Response/ || /ResponseInfoType/ || $javaType =~ /Set/ ) {
|
||||||
$domain->{$awsType} = {
|
$domain->{$awsType} = {
|
||||||
awsType => $awsType,
|
awsType => $awsType,
|
||||||
javaType => $javaType,
|
javaType => $javaType,
|
||||||
|
@ -99,7 +99,7 @@ sub parse_java_type {
|
||||||
fields =>
|
fields =>
|
||||||
build_fields("${refUrl}/ApiReference-ItemType-$awsType.html")
|
build_fields("${refUrl}/ApiReference-ItemType-$awsType.html")
|
||||||
};
|
};
|
||||||
}
|
#}
|
||||||
$_ = $javaType;
|
$_ = $javaType;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -112,9 +112,16 @@ sub get_java_name {
|
||||||
s/sSetType//;
|
s/sSetType//;
|
||||||
return "Set<$_>";
|
return "Set<$_>";
|
||||||
}
|
}
|
||||||
|
if (/sResponseInfoType/){
|
||||||
|
s/sResponseInfoType//;
|
||||||
|
return "Set<$_>";
|
||||||
|
}
|
||||||
if (/sSetItemType/) {
|
if (/sSetItemType/) {
|
||||||
s/sSetItemType//;
|
s/sSetItemType//;
|
||||||
}
|
}
|
||||||
|
if (/sResponseItemType/){
|
||||||
|
s/sResponseItemType//;
|
||||||
|
}
|
||||||
if (/sItemType/) {
|
if (/sItemType/) {
|
||||||
s/sItemType//;
|
s/sItemType//;
|
||||||
}
|
}
|
||||||
|
|
|
@ -376,11 +376,11 @@
|
||||||
"desc" : "Image set.",
|
"desc" : "Image set.",
|
||||||
"name" : "imagesSet",
|
"name" : "imagesSet",
|
||||||
"type" : "DescribeImagesResponseInfoType",
|
"type" : "DescribeImagesResponseInfoType",
|
||||||
"javaType" : "DescribeImagesResponseInfo"
|
"javaType" : "Set<DescribeImage>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"awsType" : "DescribeImagesResponse",
|
"awsType" : "DescribeImagesResponse",
|
||||||
"javaType" : "DescribeImagesResponseInfo",
|
"javaType" : "Set<DescribeImage>",
|
||||||
"packageName" : "org.jclouds.aws.ec2.commands.response.amis",
|
"packageName" : "org.jclouds.aws.ec2.commands.response.amis",
|
||||||
"see" : [
|
"see" : [
|
||||||
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-DescribeImagesResponse.html"
|
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-DescribeImagesResponse.html"
|
||||||
|
@ -1503,11 +1503,11 @@
|
||||||
{
|
{
|
||||||
"name" : "addressesSet",
|
"name" : "addressesSet",
|
||||||
"type" : "DescribeAddressesResponseInfoType",
|
"type" : "DescribeAddressesResponseInfoType",
|
||||||
"javaType" : "DescribeAddressesResponseInfo"
|
"javaType" : "Set<DescribeAddresse>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"awsType" : "DescribeAddressesResponse",
|
"awsType" : "DescribeAddressesResponse",
|
||||||
"javaType" : "DescribeAddressesResponseInfo",
|
"javaType" : "Set<DescribeAddresse>",
|
||||||
"packageName" : "org.jclouds.aws.ec2.commands.response.elasticipaddresses",
|
"packageName" : "org.jclouds.aws.ec2.commands.response.elasticipaddresses",
|
||||||
"see" : [
|
"see" : [
|
||||||
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-DescribeAddressesResponse.html"
|
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-DescribeAddressesResponse.html"
|
||||||
|
@ -2252,11 +2252,11 @@
|
||||||
"desc" : "Instances set.",
|
"desc" : "Instances set.",
|
||||||
"name" : "instancesSet",
|
"name" : "instancesSet",
|
||||||
"type" : "TerminateInstancesResponseInfoType",
|
"type" : "TerminateInstancesResponseInfoType",
|
||||||
"javaType" : "TerminateInstancesResponseInfo"
|
"javaType" : "Set<TerminateInstance>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"awsType" : "TerminateInstancesResponse",
|
"awsType" : "TerminateInstancesResponse",
|
||||||
"javaType" : "TerminateInstancesResponseInfo",
|
"javaType" : "Set<TerminateInstance>",
|
||||||
"packageName" : "org.jclouds.aws.ec2.commands.response.instances",
|
"packageName" : "org.jclouds.aws.ec2.commands.response.instances",
|
||||||
"see" : [
|
"see" : [
|
||||||
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-TerminateInstancesResponse.html"
|
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-TerminateInstancesResponse.html"
|
||||||
|
@ -2461,11 +2461,11 @@
|
||||||
"desc" : "Information for a key pair.",
|
"desc" : "Information for a key pair.",
|
||||||
"name" : "keySet",
|
"name" : "keySet",
|
||||||
"type" : "DescribeKeyPairsResponseInfoType",
|
"type" : "DescribeKeyPairsResponseInfoType",
|
||||||
"javaType" : "DescribeKeyPairsResponseInfo"
|
"javaType" : "Set<DescribeKeyPair>"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"awsType" : "DescribeKeyPairsResponse",
|
"awsType" : "DescribeKeyPairsResponse",
|
||||||
"javaType" : "DescribeKeyPairsResponseInfo",
|
"javaType" : "Set<DescribeKeyPair>",
|
||||||
"packageName" : "org.jclouds.aws.ec2.commands.response.keypairs",
|
"packageName" : "org.jclouds.aws.ec2.commands.response.keypairs",
|
||||||
"see" : [
|
"see" : [
|
||||||
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-DescribeKeyPairsResponse.html"
|
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-DescribeKeyPairsResponse.html"
|
||||||
|
@ -3628,6 +3628,73 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"domain" : {
|
"domain" : {
|
||||||
|
"DescribeKeyPairsResponseItemType" : {
|
||||||
|
"awsType" : "DescribeKeyPairsResponseItemType",
|
||||||
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
"see" : [
|
||||||
|
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-DescribeKeyPairsResponseItemType.html"
|
||||||
|
],
|
||||||
|
"className" : "org.jclouds.aws.ec2.domain.DescribeKeyPair",
|
||||||
|
"fields" : [
|
||||||
|
{
|
||||||
|
"desc" : "A SHA-1 digest of the DER encoded private key.",
|
||||||
|
"name" : "keyFingerprint",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The key pair name provided in the original request.",
|
||||||
|
"name" : "keyName",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"javaType" : "DescribeKeyPair"
|
||||||
|
},
|
||||||
|
"DescribeAddressesResponseItemType" : {
|
||||||
|
"awsType" : "DescribeAddressesResponseItemType",
|
||||||
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
"see" : [
|
||||||
|
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-DescribeAddressesResponseItemType.html"
|
||||||
|
],
|
||||||
|
"className" : "org.jclouds.aws.ec2.domain.DescribeAddresse",
|
||||||
|
"fields" : [
|
||||||
|
{
|
||||||
|
"name" : "instanceId",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"name" : "publicIp",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"javaType" : "DescribeAddresse"
|
||||||
|
},
|
||||||
|
"InstanceStateType" : {
|
||||||
|
"awsType" : "InstanceStateType",
|
||||||
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
"see" : [
|
||||||
|
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-InstanceStateType.html"
|
||||||
|
],
|
||||||
|
"className" : "org.jclouds.aws.ec2.domain.InstanceState",
|
||||||
|
"fields" : [
|
||||||
|
{
|
||||||
|
"desc" : "48: terminated",
|
||||||
|
"name" : "code",
|
||||||
|
"type" : "xsd:Int",
|
||||||
|
"javaType" : "Integer"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "terminated: the instance terminated",
|
||||||
|
"name" : "name",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"javaType" : "InstanceState"
|
||||||
|
},
|
||||||
"ProductCodesSetItemType" : {
|
"ProductCodesSetItemType" : {
|
||||||
"awsType" : "ProductCodesSetItemType",
|
"awsType" : "ProductCodesSetItemType",
|
||||||
"packageName" : "org.jclouds.aws.ec2.domain",
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
@ -3645,6 +3712,139 @@
|
||||||
],
|
],
|
||||||
"javaType" : "ProductCode"
|
"javaType" : "ProductCode"
|
||||||
},
|
},
|
||||||
|
"MonitorInstancesResponseSetItemType" : {
|
||||||
|
"awsType" : "MonitorInstancesResponseSetItemType",
|
||||||
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
"see" : [
|
||||||
|
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-MonitorInstancesResponseSetItemType.html"
|
||||||
|
],
|
||||||
|
"className" : "org.jclouds.aws.ec2.domain.MonitorInstancesResponse",
|
||||||
|
"fields" : [
|
||||||
|
{
|
||||||
|
"desc" : "Instance ID.",
|
||||||
|
"name" : "instanceId",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "Monitoring information.",
|
||||||
|
"name" : "monitoring",
|
||||||
|
"type" : "InstanceMonitoringStateType",
|
||||||
|
"javaType" : "InstanceMonitoringState"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"javaType" : "MonitorInstancesResponse"
|
||||||
|
},
|
||||||
|
"DescribeReservedInstancesOfferingsResponseSetItemType" : {
|
||||||
|
"awsType" : "DescribeReservedInstancesOfferingsResponseSetItemType",
|
||||||
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
"see" : [
|
||||||
|
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-DescribeReservedInstancesOfferingsResponseSetItemType.html"
|
||||||
|
],
|
||||||
|
"className" : "org.jclouds.aws.ec2.domain.DescribeReservedInstancesOfferingsResponse",
|
||||||
|
"fields" : [
|
||||||
|
{
|
||||||
|
"desc" : "The Availability Zone in which the Reserved Instance can be used.",
|
||||||
|
"name" : "availabilityZone",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The duration of the Reserved Instance, in seconds.",
|
||||||
|
"name" : "duration",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The purchase price of the Reserved Instance.",
|
||||||
|
"name" : "fixedPrice",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The instance type on which the Reserved Instance can be used.",
|
||||||
|
"name" : "instanceType",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The Reserved Instance description.",
|
||||||
|
"name" : "productDescription",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The ID of the Reserved Instance offering.",
|
||||||
|
"name" : "reservedInstancesOfferingId",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The usage price of the Reserved Instance, per hour.",
|
||||||
|
"name" : "usagePrice",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"javaType" : "DescribeReservedInstancesOfferingsResponse"
|
||||||
|
},
|
||||||
|
"AttachmentSetItemResponseType" : {
|
||||||
|
"awsType" : "AttachmentSetItemResponseType",
|
||||||
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
"see" : [
|
||||||
|
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-AttachmentSetItemResponseType.html"
|
||||||
|
],
|
||||||
|
"className" : "org.jclouds.aws.ec2.domain.AttachmentResponse",
|
||||||
|
"fields" : [
|
||||||
|
{
|
||||||
|
"desc" : "Time stamp when the association was created.",
|
||||||
|
"name" : "attachTime",
|
||||||
|
"type" : "xsd:dateTime",
|
||||||
|
"javaType" : "DateTime"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "Specifies how the device is exposed to the instance (e.g., /dev/sdh).",
|
||||||
|
"name" : "device",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The ID of the instance.",
|
||||||
|
"name" : "instanceId",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "Attachment state.",
|
||||||
|
"name" : "status",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The ID of the volume.",
|
||||||
|
"name" : "volumeId",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"javaType" : "AttachmentResponse"
|
||||||
|
},
|
||||||
|
"ProductCodeItemType" : {
|
||||||
|
"awsType" : "ProductCodeItemType",
|
||||||
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
"see" : [
|
||||||
|
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-ProductCodeItemType.html"
|
||||||
|
],
|
||||||
|
"className" : "org.jclouds.aws.ec2.domain.ProductCode",
|
||||||
|
"fields" : [
|
||||||
|
{
|
||||||
|
"name" : "productCode",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"javaType" : "ProductCode"
|
||||||
|
},
|
||||||
"UserIdGroupPairType" : {
|
"UserIdGroupPairType" : {
|
||||||
"awsType" : "UserIdGroupPairType",
|
"awsType" : "UserIdGroupPairType",
|
||||||
"packageName" : "org.jclouds.aws.ec2.domain",
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
@ -3668,22 +3868,6 @@
|
||||||
],
|
],
|
||||||
"javaType" : "UserIdGroupPair"
|
"javaType" : "UserIdGroupPair"
|
||||||
},
|
},
|
||||||
"ProductCodeItemType" : {
|
|
||||||
"awsType" : "ProductCodeItemType",
|
|
||||||
"packageName" : "org.jclouds.aws.ec2.domain",
|
|
||||||
"see" : [
|
|
||||||
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-ProductCodeItemType.html"
|
|
||||||
],
|
|
||||||
"className" : "org.jclouds.aws.ec2.domain.ProductCode",
|
|
||||||
"fields" : [
|
|
||||||
{
|
|
||||||
"name" : "productCode",
|
|
||||||
"type" : "xsd:string",
|
|
||||||
"javaType" : "String"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"javaType" : "ProductCode"
|
|
||||||
},
|
|
||||||
"BundleInstanceS3StorageType" : {
|
"BundleInstanceS3StorageType" : {
|
||||||
"awsType" : "BundleInstanceS3StorageType",
|
"awsType" : "BundleInstanceS3StorageType",
|
||||||
"packageName" : "org.jclouds.aws.ec2.domain",
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
@ -3754,6 +3938,59 @@
|
||||||
],
|
],
|
||||||
"javaType" : "BundleInstanceTaskError"
|
"javaType" : "BundleInstanceTaskError"
|
||||||
},
|
},
|
||||||
|
"DescribeVolumesSetItemResponseType" : {
|
||||||
|
"awsType" : "DescribeVolumesSetItemResponseType",
|
||||||
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
"see" : [
|
||||||
|
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-DescribeVolumesSetItemResponseType.html"
|
||||||
|
],
|
||||||
|
"className" : "org.jclouds.aws.ec2.domain.DescribeVolumeResponse",
|
||||||
|
"fields" : [
|
||||||
|
{
|
||||||
|
"desc" : "Attachment set.",
|
||||||
|
"name" : "attachmentSet",
|
||||||
|
"type" : "AttachmentSetResponseType",
|
||||||
|
"javaType" : "AttachmentResponse"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "Availability Zone in which the volume was created.",
|
||||||
|
"name" : "availabilityZone",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "Time stamp when volume creation was initiated.",
|
||||||
|
"name" : "createTime",
|
||||||
|
"type" : "xsd:dateTime",
|
||||||
|
"javaType" : "DateTime"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The size of the volume, in GiBs.",
|
||||||
|
"name" : "size",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "Snapshot from which the volume was created (optional).",
|
||||||
|
"name" : "snapshotId",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "Volume state (e.g., creating, available)",
|
||||||
|
"name" : "status",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The ID of the volume.",
|
||||||
|
"name" : "volumeId",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"javaType" : "DescribeVolumeResponse"
|
||||||
|
},
|
||||||
"IpPermissionType" : {
|
"IpPermissionType" : {
|
||||||
"awsType" : "IpPermissionType",
|
"awsType" : "IpPermissionType",
|
||||||
"packageName" : "org.jclouds.aws.ec2.domain",
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
@ -3914,6 +4151,47 @@
|
||||||
],
|
],
|
||||||
"javaType" : "RunningInstance"
|
"javaType" : "RunningInstance"
|
||||||
},
|
},
|
||||||
|
"DescribeSnapshotsSetItemResponseType" : {
|
||||||
|
"awsType" : "DescribeSnapshotsSetItemResponseType",
|
||||||
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
"see" : [
|
||||||
|
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-DescribeSnapshotsSetItemResponseType.html"
|
||||||
|
],
|
||||||
|
"className" : "org.jclouds.aws.ec2.domain.DescribeSnapshotResponse",
|
||||||
|
"fields" : [
|
||||||
|
{
|
||||||
|
"desc" : "The progress of the snapshot, in percentage.",
|
||||||
|
"name" : "progress",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The ID of the snapshot.",
|
||||||
|
"name" : "snapshotId",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "Time stamp when the snapshot was initiated.",
|
||||||
|
"name" : "startTime",
|
||||||
|
"type" : "xsd:dateTime",
|
||||||
|
"javaType" : "DateTime"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "Snapshot state (e.g., pending, completed).",
|
||||||
|
"name" : "status",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The ID of the volume.",
|
||||||
|
"name" : "volumeId",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"javaType" : "DescribeSnapshotResponse"
|
||||||
|
},
|
||||||
"LaunchPermissionItemType" : {
|
"LaunchPermissionItemType" : {
|
||||||
"awsType" : "LaunchPermissionItemType",
|
"awsType" : "LaunchPermissionItemType",
|
||||||
"packageName" : "org.jclouds.aws.ec2.domain",
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
@ -3975,22 +4253,82 @@
|
||||||
],
|
],
|
||||||
"javaType" : "Region"
|
"javaType" : "Region"
|
||||||
},
|
},
|
||||||
"InstanceMonitoringStateType" : {
|
"DescribeImagesResponseItemType" : {
|
||||||
"awsType" : "InstanceMonitoringStateType",
|
"awsType" : "DescribeImagesResponseItemType",
|
||||||
"packageName" : "org.jclouds.aws.ec2.domain",
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
"see" : [
|
"see" : [
|
||||||
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-InstanceMonitoringStateType.html"
|
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-DescribeImagesResponseItemType.html"
|
||||||
],
|
],
|
||||||
"className" : "org.jclouds.aws.ec2.domain.InstanceMonitoringState",
|
"className" : "org.jclouds.aws.ec2.domain.DescribeImage",
|
||||||
"fields" : [
|
"fields" : [
|
||||||
{
|
{
|
||||||
"desc" : "State of monitoring for the instance.",
|
"desc" : "The architecture of the image (i386 or x86_64).",
|
||||||
"name" : "state",
|
"name" : "architecture",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The ID of the AMI.",
|
||||||
|
"name" : "imageId",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The location of the AMI.",
|
||||||
|
"name" : "imageLocation",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "AWS Access Key ID of the image owner. ",
|
||||||
|
"name" : "imageOwnerId",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "If the operation returns deregistered, the image is deregistered and no longer available for launching. ",
|
||||||
|
"name" : "imageState",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The type of image (machine, kernel, or ramdisk).",
|
||||||
|
"name" : "imageType",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "Returns true if this image has public launch permissions. Returns false if it only has implicit and explicit launch permissions. ",
|
||||||
|
"name" : "isPublic",
|
||||||
|
"type" : "xsd:boolean",
|
||||||
|
"javaType" : "Boolean"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The kernel associated with the image, if any. Only applicable for machine images.",
|
||||||
|
"name" : "kernelId",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The operating platform of the instance.",
|
||||||
|
"name" : "platform",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "Product codes of the AMI. ",
|
||||||
|
"name" : "productCodes",
|
||||||
|
"type" : "ProductCodesSetType",
|
||||||
|
"javaType" : "Set<ProductCode>"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The RAM disk associated with the image, if any. Only applicable for machine images.",
|
||||||
|
"name" : "ramdiskId",
|
||||||
"type" : "xsd:string",
|
"type" : "xsd:string",
|
||||||
"javaType" : "String"
|
"javaType" : "String"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"javaType" : "InstanceMonitoringState"
|
"javaType" : "DescribeImage"
|
||||||
},
|
},
|
||||||
"BlockDeviceMappingItemType" : {
|
"BlockDeviceMappingItemType" : {
|
||||||
"awsType" : "BlockDeviceMappingItemType",
|
"awsType" : "BlockDeviceMappingItemType",
|
||||||
|
@ -4015,6 +4353,23 @@
|
||||||
],
|
],
|
||||||
"javaType" : "BlockDeviceMapping"
|
"javaType" : "BlockDeviceMapping"
|
||||||
},
|
},
|
||||||
|
"InstanceMonitoringStateType" : {
|
||||||
|
"awsType" : "InstanceMonitoringStateType",
|
||||||
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
"see" : [
|
||||||
|
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-InstanceMonitoringStateType.html"
|
||||||
|
],
|
||||||
|
"className" : "org.jclouds.aws.ec2.domain.InstanceMonitoringState",
|
||||||
|
"fields" : [
|
||||||
|
{
|
||||||
|
"desc" : "State of monitoring for the instance.",
|
||||||
|
"name" : "state",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"javaType" : "InstanceMonitoringState"
|
||||||
|
},
|
||||||
"ReservationInfoType" : {
|
"ReservationInfoType" : {
|
||||||
"awsType" : "ReservationInfoType",
|
"awsType" : "ReservationInfoType",
|
||||||
"packageName" : "org.jclouds.aws.ec2.domain",
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
@ -4050,6 +4405,23 @@
|
||||||
],
|
],
|
||||||
"javaType" : "ReservationInfo"
|
"javaType" : "ReservationInfo"
|
||||||
},
|
},
|
||||||
|
"IpRangeItemType" : {
|
||||||
|
"awsType" : "IpRangeItemType",
|
||||||
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
"see" : [
|
||||||
|
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-IpRangeItemType.html"
|
||||||
|
],
|
||||||
|
"className" : "org.jclouds.aws.ec2.domain.IpRange",
|
||||||
|
"fields" : [
|
||||||
|
{
|
||||||
|
"desc" : "CIDR range.",
|
||||||
|
"name" : "cidrIp ",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"javaType" : "IpRange"
|
||||||
|
},
|
||||||
"BundleInstanceTaskType" : {
|
"BundleInstanceTaskType" : {
|
||||||
"awsType" : "BundleInstanceTaskType",
|
"awsType" : "BundleInstanceTaskType",
|
||||||
"packageName" : "org.jclouds.aws.ec2.domain",
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
@ -4109,22 +4481,34 @@
|
||||||
],
|
],
|
||||||
"javaType" : "BundleInstanceTask"
|
"javaType" : "BundleInstanceTask"
|
||||||
},
|
},
|
||||||
"IpRangeItemType" : {
|
"TerminateInstancesResponseItemType" : {
|
||||||
"awsType" : "IpRangeItemType",
|
"awsType" : "TerminateInstancesResponseItemType",
|
||||||
"packageName" : "org.jclouds.aws.ec2.domain",
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
"see" : [
|
"see" : [
|
||||||
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-IpRangeItemType.html"
|
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-TerminateInstancesResponseItemType.html"
|
||||||
],
|
],
|
||||||
"className" : "org.jclouds.aws.ec2.domain.IpRange",
|
"className" : "org.jclouds.aws.ec2.domain.TerminateInstance",
|
||||||
"fields" : [
|
"fields" : [
|
||||||
{
|
{
|
||||||
"desc" : "CIDR range.",
|
"desc" : "Instance ID.",
|
||||||
"name" : "cidrIp ",
|
"name" : "instanceId",
|
||||||
"type" : "xsd:string",
|
"type" : "xsd:string",
|
||||||
"javaType" : "String"
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "Previous state.",
|
||||||
|
"name" : "previousState",
|
||||||
|
"type" : "InstanceStateType",
|
||||||
|
"javaType" : "InstanceState"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "Shutdown state.",
|
||||||
|
"name" : "shutdownState",
|
||||||
|
"type" : "InstanceStateType",
|
||||||
|
"javaType" : "InstanceState"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"javaType" : "IpRange"
|
"javaType" : "TerminateInstance"
|
||||||
},
|
},
|
||||||
"GroupItemType" : {
|
"GroupItemType" : {
|
||||||
"awsType" : "GroupItemType",
|
"awsType" : "GroupItemType",
|
||||||
|
@ -4143,6 +4527,77 @@
|
||||||
],
|
],
|
||||||
"javaType" : "Group"
|
"javaType" : "Group"
|
||||||
},
|
},
|
||||||
|
"DescribeReservedInstancesResponseSetItemType" : {
|
||||||
|
"awsType" : "DescribeReservedInstancesResponseSetItemType",
|
||||||
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
"see" : [
|
||||||
|
"http://docs.amazonwebservices.com/AWSEC2/latest/APIReference/ApiReference-ItemType-DescribeReservedInstancesResponseSetItemType.html"
|
||||||
|
],
|
||||||
|
"className" : "org.jclouds.aws.ec2.domain.DescribeReservedInstancesResponse",
|
||||||
|
"fields" : [
|
||||||
|
{
|
||||||
|
"desc" : "The Availability Zone in which the Reserved Instance can be used.",
|
||||||
|
"name" : "availabilityZone",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The duration of the Reserved Instance, in seconds.",
|
||||||
|
"name" : "duration",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The purchase price of the Reserved Instance.",
|
||||||
|
"name" : "fixedPrice",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The number of Reserved Instances purchased.",
|
||||||
|
"name" : "instanceCount",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The instance type on which the Reserved Instance can be used.",
|
||||||
|
"name" : "instanceType",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The Reserved Instance description.",
|
||||||
|
"name" : "productDescription",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The ID of the Reserved Instance.",
|
||||||
|
"name" : "reservedInstancesId",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The date and time the Reserved Instance started.",
|
||||||
|
"name" : "start",
|
||||||
|
"type" : "xsd:dateTime",
|
||||||
|
"javaType" : "DateTime"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The state of the Reserved Instance purchase.",
|
||||||
|
"name" : "state",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"desc" : "The usage price of the Reserved Instance, per hour.",
|
||||||
|
"name" : "usagePrice",
|
||||||
|
"type" : "xsd:string",
|
||||||
|
"javaType" : "String"
|
||||||
|
}
|
||||||
|
],
|
||||||
|
"javaType" : "DescribeReservedInstancesResponse"
|
||||||
|
},
|
||||||
"AvailabilityZoneItemType" : {
|
"AvailabilityZoneItemType" : {
|
||||||
"awsType" : "AvailabilityZoneItemType",
|
"awsType" : "AvailabilityZoneItemType",
|
||||||
"packageName" : "org.jclouds.aws.ec2.domain",
|
"packageName" : "org.jclouds.aws.ec2.domain",
|
||||||
|
|
Loading…
Reference in New Issue