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 |
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.
DisassociateSourceServers' | |
|
Instances
newDisassociateSourceServers Source #
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.
DisassociateSourceServersResponse' | |
|
Instances
Generic DisassociateSourceServersResponse Source # | |
Read DisassociateSourceServersResponse Source # | |
Show DisassociateSourceServersResponse Source # | |
Defined in Amazonka.MGN.DisassociateSourceServers | |
NFData DisassociateSourceServersResponse Source # | |
Defined in Amazonka.MGN.DisassociateSourceServers rnf :: DisassociateSourceServersResponse -> () # | |
Eq DisassociateSourceServersResponse Source # | |
type Rep DisassociateSourceServersResponse Source # | |
Defined in Amazonka.MGN.DisassociateSourceServers type Rep DisassociateSourceServersResponse = D1 ('MetaData "DisassociateSourceServersResponse" "Amazonka.MGN.DisassociateSourceServers" "amazonka-mgn-2.0-BuezedRYkBsCUJQfnWhjEk" 'False) (C1 ('MetaCons "DisassociateSourceServersResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newDisassociateSourceServersResponse Source #
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.