ModifySnapshotAttribute

GET /?Action=ModifySnapshotAttribute
Description

Modifies the permissions for a specified snapshot.
You can add or remove permissions for specified account IDs or groups. You can share a snapshot with a user that is in the same Region. The user can create a copy of the snapshot you shared, obtaining all the rights for the copy of the snapshot. For more information, see CopySnapshot.

Body parameter

Required: false
Name: ModifySnapshotAttributeRequest

Name Description Required Schema Default Example

CreateVolumePermission

Enables you to modify the permissions to create a volume for account IDs or groups.

false

CreateVolumePermissionModifications

DryRun

If set to true, checks whether you have the required permissions to perform the action.

false

boolean

SnapshotId

The ID of the snapshot.

true

string

Responses
HTTP Code 200
HTTP Code Description Schema

200

ModifySnapshotAttributeResult

Response 200

Response 200

Name Description Required Schema Default Example

requestId

The ID of the request.

false

string

return

If true, the request succeeds. Otherwise, an error is returned.

false

boolean