| 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.DrS.DeleteSourceServer
Description
Deletes a single Source Server by ID. The Source Server must be disconnected first.
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 - The ID of the Source Server to be deleted.
Request Lenses
deleteSourceServer_sourceServerID :: Lens' DeleteSourceServer Text Source #
The ID of the Source Server to be deleted.
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.