Resets permission settings for the specified snapshot.
For more information about modifying snapshot permissions, see Share a snapshot in the Amazon Elastic Compute Cloud User Guide.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, ResetSnapshotAttributeCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, ResetSnapshotAttributeCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new ResetSnapshotAttributeCommand(input); const response = await client.send(command);
ResetSnapshotAttributeCommandInput for command's input shape.
input
ResetSnapshotAttributeCommandOutput for command's response shape.
response
config for EC2Client's config shape.
config
Resets permission settings for the specified snapshot.
For more information about modifying snapshot permissions, see Share a snapshot in the Amazon Elastic Compute Cloud User Guide.
Use a bare-bones client and the command you need to make an API call.
import { EC2Client, ResetSnapshotAttributeCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, ResetSnapshotAttributeCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new ResetSnapshotAttributeCommand(input); const response = await client.send(command);
ResetSnapshotAttributeCommandInput for command's
input
shape.ResetSnapshotAttributeCommandOutput for command's
response
shape.config for EC2Client's
config
shape.