update_volume
¶
update_volume(
*,
config_overrides: Optional[FSxClientConfig] = None,
client_request_token: Optional[ClientRequestToken] = None,
volume_id: Optional[VolumeId] = None,
ontap_configuration: Optional[UpdateOntapVolumeConfiguration] = None,
name: Optional[VolumeName] = None,
open_zfs_configuration: Optional[UpdateOpenZFSVolumeConfiguration] = None,
) -> UpdateVolumeResponse
Updates the configuration of an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.
Parameters:
-
volume_id(Optional[VolumeId], default:None) –The ID of the volume that you want to update, in the format
fsvol-0123456789abcdef0. -
ontap_configuration(Optional[UpdateOntapVolumeConfiguration], default:None) –The configuration of the ONTAP volume that you are updating.
-
name(Optional[VolumeName], default:None) –The name of the OpenZFS volume. OpenZFS root volumes are automatically named
FSX. Child volume names must be unique among their parent volume's children. The name of the volume is part of the mount string for the OpenZFS volume. -
open_zfs_configuration(Optional[UpdateOpenZFSVolumeConfiguration], default:None) –The configuration of the OpenZFS volume that you are updating.
Raises:
-
BadRequest–A generic error indicating a failure with a client request.
-
IncompatibleParameterError–The error returned when a second request is received with the same client request token but different parameters settings. A client request token should always uniquely identify a single request.
-
InternalServerError–A generic error indicating a server-side failure.
-
MissingVolumeConfiguration–A volume configuration is required for this operation.
-
VolumeNotFound–No Amazon FSx volumes were found based upon the supplied parameters.
-
UnknownServiceError–The service returned an error code this client does not model.
Source code in docs_src/capo_fsx/_services/f_sx.py
5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 | |