retrieve_tape_recovery_point
async
¶
retrieve_tape_recovery_point(
tape_arn: TapeARN,
gateway_arn: GatewayARN,
*,
config_overrides: Optional[AsyncStorageGatewayClientConfig] = None,
) -> RetrieveTapeRecoveryPointOutput
Retrieves the recovery point for the specified virtual tape. This operation is only supported in the tape gateway type.
A recovery point is a point in time view of a virtual tape at which all the data on the tape is consistent. If your gateway crashes, virtual tapes that have recovery points can be recovered to a new gateway.
The virtual tape can be retrieved to only one gateway. The retrieved tape is read-only. The virtual tape can be retrieved to only a tape gateway. There is no charge for retrieving recovery points.
Parameters:
-
tape_arn(TapeARN) –The Amazon Resource Name (ARN) of the virtual tape for which you want to retrieve the recovery point.
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 retrieve the recovery point of a virtual tape Retrieves the recovery point for the specified virtual tape.
>>> await client.retrieve_tape_recovery_point(tape_arn='arn:aws:storagegateway:us-east-1:999999999999:tape/TEST0AA2AF', gateway_arn='arn:aws:storagegateway:us-east-1:999999999999:gateway/sgw-12A3456B')