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
3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 | |