| 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.AssociateSourceServers
Description
Associate source servers to application.
Synopsis
- data AssociateSourceServers = AssociateSourceServers' {}
- newAssociateSourceServers :: Text -> NonEmpty Text -> AssociateSourceServers
- associateSourceServers_applicationID :: Lens' AssociateSourceServers Text
- associateSourceServers_sourceServerIDs :: Lens' AssociateSourceServers (NonEmpty Text)
- data AssociateSourceServersResponse = AssociateSourceServersResponse' {
- httpStatus :: Int
- newAssociateSourceServersResponse :: Int -> AssociateSourceServersResponse
- associateSourceServersResponse_httpStatus :: Lens' AssociateSourceServersResponse Int
Creating a Request
data AssociateSourceServers Source #
See: newAssociateSourceServers smart constructor.
Constructors
| AssociateSourceServers' | |
Fields
| |
Instances
newAssociateSourceServers Source #
Arguments
| :: Text | |
| -> NonEmpty Text | |
| -> AssociateSourceServers |
Create a value of AssociateSourceServers 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:
AssociateSourceServers, associateSourceServers_applicationID - Application ID.
AssociateSourceServers, associateSourceServers_sourceServerIDs - Source server IDs list.
Request Lenses
associateSourceServers_applicationID :: Lens' AssociateSourceServers Text Source #
Application ID.
associateSourceServers_sourceServerIDs :: Lens' AssociateSourceServers (NonEmpty Text) Source #
Source server IDs list.
Destructuring the Response
data AssociateSourceServersResponse Source #
See: newAssociateSourceServersResponse smart constructor.
Constructors
| AssociateSourceServersResponse' | |
Fields
| |
Instances
newAssociateSourceServersResponse Source #
Create a value of AssociateSourceServersResponse 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:AssociateSourceServersResponse', associateSourceServersResponse_httpStatus - The response's http status code.
Response Lenses
associateSourceServersResponse_httpStatus :: Lens' AssociateSourceServersResponse Int Source #
The response's http status code.