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.DisassociateSourceServers
Description
Disassociate source servers from application.
Synopsis
- data DisassociateSourceServers = DisassociateSourceServers' {}
- newDisassociateSourceServers :: Text -> NonEmpty Text -> DisassociateSourceServers
- disassociateSourceServers_applicationID :: Lens' DisassociateSourceServers Text
- disassociateSourceServers_sourceServerIDs :: Lens' DisassociateSourceServers (NonEmpty Text)
- data DisassociateSourceServersResponse = DisassociateSourceServersResponse' {
- httpStatus :: Int
- newDisassociateSourceServersResponse :: Int -> DisassociateSourceServersResponse
- disassociateSourceServersResponse_httpStatus :: Lens' DisassociateSourceServersResponse Int
Creating a Request
data DisassociateSourceServers Source #
See: newDisassociateSourceServers
smart constructor.
Constructors
DisassociateSourceServers' | |
Fields
|
Instances
newDisassociateSourceServers Source #
Arguments
:: Text | |
-> NonEmpty Text | |
-> DisassociateSourceServers |
Create a value of DisassociateSourceServers
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:
DisassociateSourceServers
, disassociateSourceServers_applicationID
- Application ID.
DisassociateSourceServers
, disassociateSourceServers_sourceServerIDs
- Source server IDs list.
Request Lenses
disassociateSourceServers_applicationID :: Lens' DisassociateSourceServers Text Source #
Application ID.
disassociateSourceServers_sourceServerIDs :: Lens' DisassociateSourceServers (NonEmpty Text) Source #
Source server IDs list.
Destructuring the Response
data DisassociateSourceServersResponse Source #
See: newDisassociateSourceServersResponse
smart constructor.
Constructors
DisassociateSourceServersResponse' | |
Fields
|
Instances
newDisassociateSourceServersResponse Source #
Arguments
:: Int | |
-> DisassociateSourceServersResponse |
Create a value of DisassociateSourceServersResponse
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:DisassociateSourceServersResponse'
, disassociateSourceServersResponse_httpStatus
- The response's http status code.
Response Lenses
disassociateSourceServersResponse_httpStatus :: Lens' DisassociateSourceServersResponse Int Source #
The response's http status code.