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 |
Removes a compute resource from the specified fleet. Deregister your compute resources before you delete the compute.
Synopsis
- data DeregisterCompute = DeregisterCompute' {
- fleetId :: Text
- computeName :: Text
- newDeregisterCompute :: Text -> Text -> DeregisterCompute
- deregisterCompute_fleetId :: Lens' DeregisterCompute Text
- deregisterCompute_computeName :: Lens' DeregisterCompute Text
- data DeregisterComputeResponse = DeregisterComputeResponse' {
- httpStatus :: Int
- newDeregisterComputeResponse :: Int -> DeregisterComputeResponse
- deregisterComputeResponse_httpStatus :: Lens' DeregisterComputeResponse Int
Creating a Request
data DeregisterCompute Source #
See: newDeregisterCompute
smart constructor.
DeregisterCompute' | |
|
Instances
Create a value of DeregisterCompute
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:
DeregisterCompute
, deregisterCompute_fleetId
- >A unique identifier for the fleet the compute resource is registered
to.
DeregisterCompute
, deregisterCompute_computeName
- The name of the compute resource you want to delete.
Request Lenses
deregisterCompute_fleetId :: Lens' DeregisterCompute Text Source #
A unique identifier for the fleet the compute resource is registered
to.
deregisterCompute_computeName :: Lens' DeregisterCompute Text Source #
The name of the compute resource you want to delete.
Destructuring the Response
data DeregisterComputeResponse Source #
See: newDeregisterComputeResponse
smart constructor.
DeregisterComputeResponse' | |
|
Instances
newDeregisterComputeResponse Source #
Create a value of DeregisterComputeResponse
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:httpStatus:DeregisterComputeResponse'
, deregisterComputeResponse_httpStatus
- The response's http status code.
Response Lenses
deregisterComputeResponse_httpStatus :: Lens' DeregisterComputeResponse Int Source #
The response's http status code.