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 |
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.
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.
CreateExtendedSourceServerResponse' | |
|
Instances
Generic CreateExtendedSourceServerResponse Source # | |
Show CreateExtendedSourceServerResponse Source # | |
NFData CreateExtendedSourceServerResponse Source # | |
Defined in Amazonka.DrS.CreateExtendedSourceServer rnf :: CreateExtendedSourceServerResponse -> () # | |
Eq CreateExtendedSourceServerResponse Source # | |
type Rep CreateExtendedSourceServerResponse Source # | |
Defined in Amazonka.DrS.CreateExtendedSourceServer type Rep CreateExtendedSourceServerResponse = D1 ('MetaData "CreateExtendedSourceServerResponse" "Amazonka.DrS.CreateExtendedSourceServer" "amazonka-drs-2.0-Jcy074h2jPgFhWHQx96blx" 'False) (C1 ('MetaCons "CreateExtendedSourceServerResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "sourceServer") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe SourceServer)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int))) |
newCreateExtendedSourceServerResponse Source #
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.