list_volume_recovery_points
async
¶
list_volume_recovery_points(
gateway_arn: GatewayARN,
*,
config_overrides: Optional[AsyncStorageGatewayClientConfig] = None,
) -> ListVolumeRecoveryPointsOutput
Lists the recovery points for a specified gateway. This operation is only supported in the cached volume gateway type.
Each cache volume has one recovery point. A volume recovery point is a point in time at which all data of the volume is consistent and from which you can create a snapshot or clone a new cached volume from a source volume. To create a snapshot from a volume recovery point use the CreateSnapshotFromVolumeRecoveryPoint operation.
Raises:
-
InternalServerError–An internal server error has occurred during the request. For more information, see the error and message fields.
-
InvalidGatewayRequestException–An exception occurred because an invalid gateway request was issued to the service. For more information, see the error and message fields.
-
UnknownServiceError–The service returned an error code this client does not model.
Examples:
To list recovery points for a gateway Lists the recovery points for a specified gateway in which all data of the volume is consistent and can be used to create a snapshot.
>>> await client.list_volume_recovery_points(gateway_arn='arn:aws:storagegateway:us-east-1:111122223333:gateway/sgw-12A3456B')