| 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 |
Amazonka.MGN.DeleteSourceServer
Description
Deletes a single source server by ID.
Synopsis
- data DeleteSourceServer = DeleteSourceServer' {}
- newDeleteSourceServer :: Text -> DeleteSourceServer
- deleteSourceServer_sourceServerID :: Lens' DeleteSourceServer Text
- data DeleteSourceServerResponse = DeleteSourceServerResponse' {
- httpStatus :: Int
- newDeleteSourceServerResponse :: Int -> DeleteSourceServerResponse
- deleteSourceServerResponse_httpStatus :: Lens' DeleteSourceServerResponse Int
Creating a Request
data DeleteSourceServer Source #
See: newDeleteSourceServer smart constructor.
Constructors
| DeleteSourceServer' | |
Fields
| |
Instances
newDeleteSourceServer Source #
Arguments
| :: Text | |
| -> DeleteSourceServer |
Create a value of DeleteSourceServer 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:
DeleteSourceServer, deleteSourceServer_sourceServerID - Request to delete Source Server from service by Server ID.
Request Lenses
deleteSourceServer_sourceServerID :: Lens' DeleteSourceServer Text Source #
Request to delete Source Server from service by Server ID.
Destructuring the Response
data DeleteSourceServerResponse Source #
See: newDeleteSourceServerResponse smart constructor.
Constructors
| DeleteSourceServerResponse' | |
Fields
| |
Instances
newDeleteSourceServerResponse Source #
Create a value of DeleteSourceServerResponse 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:DeleteSourceServerResponse', deleteSourceServerResponse_httpStatus - The response's http status code.
Response Lenses
deleteSourceServerResponse_httpStatus :: Lens' DeleteSourceServerResponse Int Source #
The response's http status code.