Copyright | (c) 2013-2023 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | Safe-Inferred |
Language | Haskell2010 |
Updates the configuration of an Amazon FSx for NetApp ONTAP or Amazon FSx for OpenZFS volume.
Synopsis
- data UpdateVolume = UpdateVolume' {}
- newUpdateVolume :: Text -> UpdateVolume
- updateVolume_clientRequestToken :: Lens' UpdateVolume (Maybe Text)
- updateVolume_name :: Lens' UpdateVolume (Maybe Text)
- updateVolume_ontapConfiguration :: Lens' UpdateVolume (Maybe UpdateOntapVolumeConfiguration)
- updateVolume_openZFSConfiguration :: Lens' UpdateVolume (Maybe UpdateOpenZFSVolumeConfiguration)
- updateVolume_volumeId :: Lens' UpdateVolume Text
- data UpdateVolumeResponse = UpdateVolumeResponse' {
- volume :: Maybe Volume
- httpStatus :: Int
- newUpdateVolumeResponse :: Int -> UpdateVolumeResponse
- updateVolumeResponse_volume :: Lens' UpdateVolumeResponse (Maybe Volume)
- updateVolumeResponse_httpStatus :: Lens' UpdateVolumeResponse Int
Creating a Request
data UpdateVolume Source #
See: newUpdateVolume
smart constructor.
UpdateVolume' | |
|
Instances
Create a value of UpdateVolume
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:clientRequestToken:UpdateVolume'
, updateVolume_clientRequestToken
- Undocumented member.
UpdateVolume
, updateVolume_name
- 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.
UpdateVolume
, updateVolume_ontapConfiguration
- The configuration of the ONTAP volume that you are updating.
UpdateVolume
, updateVolume_openZFSConfiguration
- The configuration of the OpenZFS volume that you are updating.
UpdateVolume
, updateVolume_volumeId
- The ID of the volume that you want to update, in the format
fsvol-0123456789abcdef0
.
Request Lenses
updateVolume_clientRequestToken :: Lens' UpdateVolume (Maybe Text) Source #
Undocumented member.
updateVolume_name :: Lens' UpdateVolume (Maybe Text) Source #
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.
updateVolume_ontapConfiguration :: Lens' UpdateVolume (Maybe UpdateOntapVolumeConfiguration) Source #
The configuration of the ONTAP volume that you are updating.
updateVolume_openZFSConfiguration :: Lens' UpdateVolume (Maybe UpdateOpenZFSVolumeConfiguration) Source #
The configuration of the OpenZFS volume that you are updating.
updateVolume_volumeId :: Lens' UpdateVolume Text Source #
The ID of the volume that you want to update, in the format
fsvol-0123456789abcdef0
.
Destructuring the Response
data UpdateVolumeResponse Source #
See: newUpdateVolumeResponse
smart constructor.
UpdateVolumeResponse' | |
|
Instances
newUpdateVolumeResponse Source #
Create a value of UpdateVolumeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
UpdateVolumeResponse
, updateVolumeResponse_volume
- A description of the volume just updated. Returned after a successful
UpdateVolume
API operation.
$sel:httpStatus:UpdateVolumeResponse'
, updateVolumeResponse_httpStatus
- The response's http status code.
Response Lenses
updateVolumeResponse_volume :: Lens' UpdateVolumeResponse (Maybe Volume) Source #
A description of the volume just updated. Returned after a successful
UpdateVolume
API operation.
updateVolumeResponse_httpStatus :: Lens' UpdateVolumeResponse Int Source #
The response's http status code.