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 |
Deletes a custom location.
Before deleting a custom location, review any fleets currently using the custom location and deregister the location if it is in use. For more information see, DeregisterCompute.
Synopsis
- data DeleteLocation = DeleteLocation' {
- locationName :: Text
- newDeleteLocation :: Text -> DeleteLocation
- deleteLocation_locationName :: Lens' DeleteLocation Text
- data DeleteLocationResponse = DeleteLocationResponse' {
- httpStatus :: Int
- newDeleteLocationResponse :: Int -> DeleteLocationResponse
- deleteLocationResponse_httpStatus :: Lens' DeleteLocationResponse Int
Creating a Request
data DeleteLocation Source #
See: newDeleteLocation
smart constructor.
DeleteLocation' | |
|
Instances
Create a value of DeleteLocation
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:
DeleteLocation
, deleteLocation_locationName
- The location name of the custom location to be deleted.
Request Lenses
deleteLocation_locationName :: Lens' DeleteLocation Text Source #
The location name of the custom location to be deleted.
Destructuring the Response
data DeleteLocationResponse Source #
See: newDeleteLocationResponse
smart constructor.
DeleteLocationResponse' | |
|
Instances
newDeleteLocationResponse Source #
Create a value of DeleteLocationResponse
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:DeleteLocationResponse'
, deleteLocationResponse_httpStatus
- The response's http status code.
Response Lenses
deleteLocationResponse_httpStatus :: Lens' DeleteLocationResponse Int Source #
The response's http status code.