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