DescribeSnapshotAttribute
Description
Returns information about an attribute of a snapshot. Only one attribute can be specified per call.
Request Parameters
| Name | Description | Required |
|---|---|---|
|
Type: |
Ancestor: None
Children: snapshotId, DescribeSnapshotAttributesGroup
snapshotId
The ID of the Amazon EBS snapshot.
Type: xsd:string
Default: None
Ancestor: DescribeSnapshotAttributeType
Children: None
No
DescribeSnapshotAttributesGroup
Describe snapshot attribute element.
Type: DescribeSnapshotAttributesGroup
Ancestor: DescribeSnapshotAttributeType
Children: createVolumePermission
createVolumePermission
Describes the snapshot attributes group.
Type: EmptyElementType
Ancestor: DescribeSnapshotAttributesGroup
Children: none
none
This element contains no options.
Type: xsd:string
Default: None
Ancestor: createVolumePermission
Children: None
No
Response Elements
| Name | Description |
|---|---|
|
|
Type: DescribeSnapshotAttributeResponseType Ancestor: None Children: |
|
The ID of the request. Type: xsd:string Ancestor: Children: None |
|
The ID of the Amazon EBS snapshot. Type: xsd:string Ancestor: Children: None |
|
Create volume permission element. Type: CreateVolumePermissionListType Ancestor: Children: |
|
Volume permission item. Type: CreateVolumePermissionItemType Ancestor: Children: |
|
User ID of a user that can create volumes from the snapshot. Type: xsd:string Ancestor: Children: None |
|
Group that is allowed to create volumes from the snapshot (currently supports "all"). Type: xsd:string Ancestor: Children: None |
Examples
Example Request
This example describes permissions for the snap-78a54011 snapshot.
<DescribeSnapshotAttribute xmlns="http://ec2.amazonaws.com/doc/2009-10-31/"> <snapshotId>snap-78a54011</snapshotId> <createVolumePermission /> </DescribeSnapshotAttribute>
Example Response
<DescribeSnapshotAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-10-31/">
<snapshotId></snapshotId>
<createVolumePermission>
<item>
<group>all</group>
</item>
</createVolumePermission>
</DescribeSnapshotAttributeResponse>