ResetSnapshotAttribute
Description
Resets permission settings for the specified snapshot.
Request Parameters
Name | Description | Required |
---|---|---|
|
Type: |
Ancestor: None
Children: snapshotId
, ResetSnapshotAttributesGroup
snapshotId
The ID of the snapshot.
Type: xsd:string
Default: None
Ancestor: ResetSnapshotAttributeType
Children: None
No
ResetSnapshotAttributesGroup
Snapshot group.
Type: ResetSnapshotAttributesGroup
Ancestor: ResetSnapshotAttributeType
Children: createVolumePermission
createVolumePermission
Create volume permission type.
Type: EmptyElementType
Ancestor: ResetSnapshotAttributesGroup
Children: none
none
These element contains no options.
Type: xsd:string
Default: None
Ancestor: createVolumePermission
Children: None
No
Response Elements
Name | Description |
---|---|
|
Type: ResetSnapshotAttributeResponseType Ancestor: None Children: |
|
The ID of the request. Type: xsd:string Ancestor: Children: None |
|
Specifies whether the snapshot permissions were reset. Type: xsd:boolean Ancestor: 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.
<ResetSnapshotAttribute xmlns="http://ec2.amazonaws.com/doc/2009-08-15/"> <snapshotId>snap-78a54011</snapshotId> <createVolumePermission\> </ResetSnapshotAttribute>
Example Response
<ResetSnapshotAttributeResponse xmlns="http://ec2.amazonaws.com/doc/2009-08-15/"> <return>true</return> </ResetSnapshotAttributeResponse>