ResetSnapshotAttribute
Description
Resets permission settings for the specified snapshot.
Request Parameters
Name | Description | Required |
---|---|---|
| The ID of the snapshot. Type: String Default: None | No |
| Resets the create volume permissions of the snapshot. Type: String Default: None | Yes |
Response Elements
Name | Description |
---|---|
|
Type: |
Ancestor: None
Children: requestId
, return
requestId
The ID of the request.
Type: xsd:string
Ancestor: ResetSnapshotAttributeResponseType
Children: None
return
Specifies whether the snapshot permissions were reset.
Type: xsd:boolean
Ancestor: ResetSnapshotAttributeResponseType
Children: None
Examples
Example Request
This example resets the permissions for snap-78a54011, making it a private snapshot that can only be used by the account that created it.
https://ec2.amazonaws.com/?Action=ResetSnapshotAttribute&SnapshotId.1=snap-78a54011&Attribute=createVolumePermission&AuthParams
Example Response
<ResetSnapshotAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-08-15/"> <return>true</return> </ResetSnapshotAttributeResponse>