here's what my own command returns (pretty-printed). these public images were the basis for the tests:
// $ ./aws images -all architecture=i386 description="http://bitnami.org" image-type="machine" ec2.Image{ ImageId:"ami-fd20ff94",
Location:"aws-marketplace/bitnami-webpack-1.0-0-linux-ubuntu-10.04.3-i386-mp-0b295d82-395d-4b81-89df-5ac5f0b66975-ami-3820fc51.1",
State:"available", Owner:"679593333241", Public:true, Architecture:"i386", ImageType:"machine", ProductCodes:[]string(nil), KernelId:"aki-805ea7e9", RamdiskId:"", Platform:"", StateReason:"", OwnerAlias:"aws-marketplace",
Name:"bitnami-webpack-1.0-0-linux-ubuntu-10.04.3-i386-mp-0b295d82-395d-4b81-89df-5ac5f0b66975-ami-3820fc51.1",
Description:"http://bitnami.org", RootDeviceType:"ebs", RootDeviceName:"/dev/sda1", VirtualizationType:"paravirtual", Hypervisor:"xen", BlockDevices:[]ec2.BlockDeviceMapping{ ec2.BlockDeviceMapping{ DeviceName:"/dev/sda1", VirtualName:"", Ebs:ec2.EbsBlockDevice{ SnapshotId:"snap-5d581d27", VolumeSize:10, DeleteOnTermination:true, VolumeType:"", Iops:0 } } } }
// $ ./aws snapshots snapshot-id=snap-9df717f4 status=completed start-time=2008-11-19T10:03:00.000Z ec2.Snapshot{ SnapshotId:"snap-9df717f4", VolumeId:"vol-37ac485e", Status:"completed", StartTime:"2008-11-19T10:03:00.000Z", Progress:"100%", OwnerId:"947081328633", VolumeSize:"2", Description:"1980 US Census (Linux)", OwnerAlias:"amazon", Tags:[]ec2.Tag(nil) }
https://codereview.appspot.com/6745044/
« Back to merge proposal
here's what my own command returns (pretty-printed). these public images
were the basis for the tests:
// $ ./aws images -all architecture=i386 bitnami. org" image-type= "machine" "ami-fd20ff94" ,
description="http://
ec2.Image{
ImageId:
Location: "aws-marketplac e/bitnami- webpack- 1.0-0-linux- ubuntu- 10.04.3- i386-mp- 0b295d82- 395d-4b81- 89df-5ac5f0b669 75-ami- 3820fc51. 1",
State: "available" , "679593333241" , e:"i386" , "machine" , ProductCodes: []string( nil), "aki-805ea7e9" , RamdiskId:"", Platform:"", "aws-marketplac e",
Owner:
Public:true,
Architectur
ImageType:
KernelId:
StateReason:"",
OwnerAlias:
Name:"bitnami- webpack- 1.0-0-linux- ubuntu- 10.04.3- i386-mp- 0b295d82- 395d-4b81- 89df-5ac5f0b669 75-ami- 3820fc51. 1",
Description:"http:// bitnami. org", ype:"ebs" , ame:"/dev/ sda1", ionType: "paravirtual" , "xen", s:[]ec2. BlockDeviceMapp ing{ BlockDeviceMapp ing{ e:"/dev/ sda1", me:"", ec2.EbsBlockDev ice{
SnapshotId: "snap-5d581d27" ,
VolumeSize: 10,
DeleteOnTermina tion:true,
VolumeType: "",
RootDeviceT
RootDeviceN
Virtualizat
Hypervisor:
BlockDevice
ec2.
DeviceNam
VirtualNa
Ebs:
Iops:0
}
}
}
}
// $ ./aws snapshots snapshot- id=snap- 9df717f4 status=completed 2008-11- 19T10:03: 00.000Z "snap-9df717f4" , "vol-37ac485e" , "completed" , "2008-11- 19T10:03: 00.000Z" , "100%", "947081328633" , :"1980 US Census (Linux)", "amazon" , []ec2.Tag( nil)
start-time=
ec2.Snapshot{
SnapshotId:
VolumeId:
Status:
StartTime:
Progress:
OwnerId:
VolumeSize:"2",
Description
OwnerAlias:
Tags:
}
https:/ /codereview. appspot. com/6745044/