ModifySnapshotAttribute
Description
Adds or remove permission settings for the specified snapshot.
Request Parameters
Name | Description | Required |
---|---|---|
|
Type: |
Ancestor: None
Children: snapshotId
, createVolumePermission
snapshotId
The ID of the snapshot.
Type: xsd:string
Default: None
Ancestor: ModifySnapshotAttributeType
Children: None
Yes
createVolumePermission
Create volume permission element.
Type: ???
Ancestor: ModifySnapshotAttributeType
Children:
CreateVolumePermissionOperationType
Response Elements
Name | Description |
---|---|
|
Type: ModifySnapshotAttributeResponseType Ancestor: None Children: |
|
The ID of the request. Type: xsd:string Ancestor: Children: None |
|
Returns Type: xsd:boolean Ancestor: Children: None |
Examples
Example Request
This example makes the snap-78a54011 snapshot public.
<ModifySnapshotAttribute xmlns="http://ec2.amazonaws.com/doc/2009-08-15/"> <snapshotId>snap-78a54011</snapshotId> <createVolumePermission> <add> <item> <group>all</group> </item> </add> </createVolumePermission> </ModifySnapshotAttribute>
Example Response
<ModifySnapshotAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-08-15/"> <return>true</return> </ModifySnapshotAttributeResponse>