Describes the most recent volume modification request for the specified EBS volumes.
If a volume has never been modified, some information in the output will be null.
If a volume has been modified more than once, the output includes only the most
recent modification request.
Describes the most recent volume modification request for the specified EBS volumes.
If a volume has never been modified, some information in the output will be null. If a volume has been modified more than once, the output includes only the most recent modification request.
You can also use CloudWatch Events to check the status of a modification to an EBS volume. For information about CloudWatch Events, see the Amazon CloudWatch Events User Guide. For more information, see Monitor the progress of volume modifications 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, DescribeVolumesModificationsCommand } from "@aws-sdk/client-ec2"; // ES Modules import // const { EC2Client, DescribeVolumesModificationsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import const client = new EC2Client(config); const command = new DescribeVolumesModificationsCommand(input); const response = await client.send(command);
DescribeVolumesModificationsCommandInput for command's
input
shape.DescribeVolumesModificationsCommandOutput for command's
response
shape.config for EC2Client's
config
shape.