| 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.CreateExtendedSourceServer
Description
Create an extended source server in the target Account based on the source server in staging account.
Synopsis
- data CreateExtendedSourceServer = CreateExtendedSourceServer' {}
- newCreateExtendedSourceServer :: Text -> CreateExtendedSourceServer
- createExtendedSourceServer_tags :: Lens' CreateExtendedSourceServer (Maybe (HashMap Text Text))
- createExtendedSourceServer_sourceServerArn :: Lens' CreateExtendedSourceServer Text
- data CreateExtendedSourceServerResponse = CreateExtendedSourceServerResponse' {}
- newCreateExtendedSourceServerResponse :: Int -> CreateExtendedSourceServerResponse
- createExtendedSourceServerResponse_sourceServer :: Lens' CreateExtendedSourceServerResponse (Maybe SourceServer)
- createExtendedSourceServerResponse_httpStatus :: Lens' CreateExtendedSourceServerResponse Int
Creating a Request
data CreateExtendedSourceServer Source #
See: newCreateExtendedSourceServer smart constructor.
Constructors
| CreateExtendedSourceServer' | |
Instances
newCreateExtendedSourceServer Source #
Create a value of CreateExtendedSourceServer 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:
CreateExtendedSourceServer, createExtendedSourceServer_tags - A list of tags associated with the extended source server.
$sel:sourceServerArn:CreateExtendedSourceServer', createExtendedSourceServer_sourceServerArn - This defines the ARN of the source server in staging Account based on
which you want to create an extended source server.
Request Lenses
createExtendedSourceServer_tags :: Lens' CreateExtendedSourceServer (Maybe (HashMap Text Text)) Source #
A list of tags associated with the extended source server.
createExtendedSourceServer_sourceServerArn :: Lens' CreateExtendedSourceServer Text Source #
This defines the ARN of the source server in staging Account based on which you want to create an extended source server.
Destructuring the Response
data CreateExtendedSourceServerResponse Source #
See: newCreateExtendedSourceServerResponse smart constructor.
Constructors
| CreateExtendedSourceServerResponse' | |
Fields
| |
Instances
newCreateExtendedSourceServerResponse Source #
Arguments
| :: Int | |
| -> CreateExtendedSourceServerResponse |
Create a value of CreateExtendedSourceServerResponse 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:sourceServer:CreateExtendedSourceServerResponse', createExtendedSourceServerResponse_sourceServer - Created extended source server.
$sel:httpStatus:CreateExtendedSourceServerResponse', createExtendedSourceServerResponse_httpStatus - The response's http status code.
Response Lenses
createExtendedSourceServerResponse_sourceServer :: Lens' CreateExtendedSourceServerResponse (Maybe SourceServer) Source #
Created extended source server.
createExtendedSourceServerResponse_httpStatus :: Lens' CreateExtendedSourceServerResponse Int Source #
The response's http status code.