Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Updates an Amazon EBS volume's name or mount point. For more information, see Resource Management.
Required Permissions: To use this action, an IAM user must have a Manage permissions level for the stack, or an attached policy that explicitly grants permissions. For more information on user permissions, see Managing User Permissions.
Synopsis
- data UpdateVolume = UpdateVolume' {}
- newUpdateVolume :: Text -> UpdateVolume
- updateVolume_name :: Lens' UpdateVolume (Maybe Text)
- updateVolume_mountPoint :: Lens' UpdateVolume (Maybe Text)
- updateVolume_volumeId :: Lens' UpdateVolume Text
- data UpdateVolumeResponse = UpdateVolumeResponse' {
- newUpdateVolumeResponse :: UpdateVolumeResponse
Creating a Request
data UpdateVolume Source #
See: newUpdateVolume
smart constructor.
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:name:UpdateVolume'
, updateVolume_name
- The new name.
$sel:mountPoint:UpdateVolume'
, updateVolume_mountPoint
- The new mount point.
$sel:volumeId:UpdateVolume'
, updateVolume_volumeId
- The volume ID.
Request Lenses
updateVolume_name :: Lens' UpdateVolume (Maybe Text) Source #
The new name.
updateVolume_mountPoint :: Lens' UpdateVolume (Maybe Text) Source #
The new mount point.
updateVolume_volumeId :: Lens' UpdateVolume Text Source #
The volume ID.
Destructuring the Response
data UpdateVolumeResponse Source #
See: newUpdateVolumeResponse
smart constructor.
Instances
Eq UpdateVolumeResponse Source # | |
Defined in Amazonka.OpsWorks.UpdateVolume (==) :: UpdateVolumeResponse -> UpdateVolumeResponse -> Bool # (/=) :: UpdateVolumeResponse -> UpdateVolumeResponse -> Bool # | |
Read UpdateVolumeResponse Source # | |
Show UpdateVolumeResponse Source # | |
Defined in Amazonka.OpsWorks.UpdateVolume showsPrec :: Int -> UpdateVolumeResponse -> ShowS # show :: UpdateVolumeResponse -> String # showList :: [UpdateVolumeResponse] -> ShowS # | |
Generic UpdateVolumeResponse Source # | |
Defined in Amazonka.OpsWorks.UpdateVolume type Rep UpdateVolumeResponse :: Type -> Type # from :: UpdateVolumeResponse -> Rep UpdateVolumeResponse x # to :: Rep UpdateVolumeResponse x -> UpdateVolumeResponse # | |
NFData UpdateVolumeResponse Source # | |
Defined in Amazonka.OpsWorks.UpdateVolume rnf :: UpdateVolumeResponse -> () # | |
type Rep UpdateVolumeResponse Source # | |
newUpdateVolumeResponse :: UpdateVolumeResponse Source #
Create a value of UpdateVolumeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.