delete_kx_volume
async
¶
delete_kx_volume(
environment_id: KxEnvironmentId,
volume_name: KxVolumeName,
*,
config_overrides: Optional[AsyncfinspaceClientConfig] = None,
client_token: Optional[ClientTokenString] = None,
) -> DeleteKxVolumeResponse
Deletes a volume. You can only delete a volume if it's not attached to a cluster or a dataview. When a volume is deleted, any data on the volume is lost. This action is irreversible.
Parameters:
-
environment_id(KxEnvironmentId) –A unique identifier for the kdb environment, whose clusters can attach to the volume.
-
volume_name(KxVolumeName) –The name of the volume that you want to delete.
-
client_token(Optional[ClientTokenString], default:None) –A token that ensures idempotency. This token expires in 10 minutes.
Raises:
-
AccessDeniedException–You do not have sufficient access to perform this action.
-
ConflictException–There was a conflict with this action, and it could not be completed.
-
InternalServerException–The request processing has failed because of an unknown error, exception or failure.
-
LimitExceededException–A service limit or quota is exceeded.
-
ResourceNotFoundException–One or more resources can't be found.
-
ThrottlingException–The request was denied due to request throttling.
-
ValidationException–The input fails to satisfy the constraints specified by an AWS service.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_finspace/_services/async_finspace.py
1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 | |