Copyright | (c) 2013-2018 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 |
Language | Haskell2010 |
Deletes a specific Amazon Lightsail virtual private server, or instance .
Creating a Request
Creates a value of DeleteInstance
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
diInstanceName
- The name of the instance to delete.
data DeleteInstance Source #
See: deleteInstance
smart constructor.
Request Lenses
diInstanceName :: Lens' DeleteInstance Text Source #
The name of the instance to delete.
Destructuring the Response
deleteInstanceResponse Source #
Creates a value of DeleteInstanceResponse
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
dirsOperations
- An array of key-value pairs containing information about the results of your delete instance request.dirsResponseStatus
- -- | The response status code.
data DeleteInstanceResponse Source #
See: deleteInstanceResponse
smart constructor.
Response Lenses
dirsOperations :: Lens' DeleteInstanceResponse [Operation] Source #
An array of key-value pairs containing information about the results of your delete instance request.
dirsResponseStatus :: Lens' DeleteInstanceResponse Int Source #
- - | The response status code.