resetSnapshotAttribute
abstract suspend fun resetSnapshotAttribute(input: ResetSnapshotAttributeRequest): ResetSnapshotAttributeResponse
Resets permission settings for the specified snapshot.
For more information about modifying snapshot permissions, see Share a snapshot in the Amazon EBS User Guide.
Samples
// This example resets the create volume permissions for snapshot snap 1234567890abcdef0 If the command
// succeeds, no output is returned.
val resp = ec2Client.resetSnapshotAttribute {
snapshotId = "snap-1234567890abcdef0"
attribute = SnapshotAttributeName.fromValue("createVolumePermission")
}Content copied to clipboard