Module | Rudy::AWS::EC2::Volumes |
In: |
lib/rudy/aws/ec2/volume.rb
|
KNOWN_STATES | = | [:available, :creating, :deleting, :attached, :detaching].freeze |
Creates a Rudy::AWS::EC2::Volume object from:
volumeSet: item: - status: available size: "1" snapshotId: availabilityZone: us-east-1b attachmentSet: createTime: "2009-03-17T20:10:48.000Z" volumeId: vol-48826421 attachmentSet: item: - attachTime: "2009-03-17T21:49:54.000Z" status: attached device: /dev/sdh instanceId: i-956af3fc volumeId: vol-48826421 requestId: 8fc30e5b-a9c3-4fe0-a979-0f71e639a7c7