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 |
Amazonka.OpsWorks.DeregisterVolume
Description
Deregisters an Amazon EBS volume. The volume can then be registered by another stack. 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.
Creating a Request
data DeregisterVolume Source #
See: newDeregisterVolume
smart constructor.
Constructors
DeregisterVolume' | |
Instances
Arguments
:: Text | |
-> DeregisterVolume |
Create a value of DeregisterVolume
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:volumeId:DeregisterVolume'
, deregisterVolume_volumeId
- The AWS OpsWorks Stacks volume ID, which is the GUID that AWS OpsWorks
Stacks assigned to the instance when you registered the volume with the
stack, not the Amazon EC2 volume ID.
Request Lenses
deregisterVolume_volumeId :: Lens' DeregisterVolume Text Source #
The AWS OpsWorks Stacks volume ID, which is the GUID that AWS OpsWorks Stacks assigned to the instance when you registered the volume with the stack, not the Amazon EC2 volume ID.
Destructuring the Response
data DeregisterVolumeResponse Source #
See: newDeregisterVolumeResponse
smart constructor.
Constructors
DeregisterVolumeResponse' | |
Instances
newDeregisterVolumeResponse :: DeregisterVolumeResponse Source #
Create a value of DeregisterVolumeResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.