Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
This operation clones an existing backend.
Synopsis
- data CloneBackend = CloneBackend' {}
- newCloneBackend :: Text -> Text -> Text -> CloneBackend
- cloneBackend_appId :: Lens' CloneBackend Text
- cloneBackend_backendEnvironmentName :: Lens' CloneBackend Text
- cloneBackend_targetEnvironmentName :: Lens' CloneBackend Text
- data CloneBackendResponse = CloneBackendResponse' {}
- newCloneBackendResponse :: Int -> CloneBackendResponse
- cloneBackendResponse_status :: Lens' CloneBackendResponse (Maybe Text)
- cloneBackendResponse_jobId :: Lens' CloneBackendResponse (Maybe Text)
- cloneBackendResponse_operation :: Lens' CloneBackendResponse (Maybe Text)
- cloneBackendResponse_error :: Lens' CloneBackendResponse (Maybe Text)
- cloneBackendResponse_appId :: Lens' CloneBackendResponse (Maybe Text)
- cloneBackendResponse_backendEnvironmentName :: Lens' CloneBackendResponse (Maybe Text)
- cloneBackendResponse_httpStatus :: Lens' CloneBackendResponse Int
Creating a Request
data CloneBackend Source #
The request body for CloneBackend.
See: newCloneBackend
smart constructor.
CloneBackend' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> CloneBackend |
Create a value of CloneBackend
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:appId:CloneBackend'
, cloneBackend_appId
- The app ID.
$sel:backendEnvironmentName:CloneBackend'
, cloneBackend_backendEnvironmentName
- The name of the backend environment.
$sel:targetEnvironmentName:CloneBackend'
, cloneBackend_targetEnvironmentName
- The name of the destination backend environment to be created.
Request Lenses
cloneBackend_appId :: Lens' CloneBackend Text Source #
The app ID.
cloneBackend_backendEnvironmentName :: Lens' CloneBackend Text Source #
The name of the backend environment.
cloneBackend_targetEnvironmentName :: Lens' CloneBackend Text Source #
The name of the destination backend environment to be created.
Destructuring the Response
data CloneBackendResponse Source #
See: newCloneBackendResponse
smart constructor.
CloneBackendResponse' | |
|
Instances
newCloneBackendResponse Source #
Create a value of CloneBackendResponse
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:status:CloneBackendResponse'
, cloneBackendResponse_status
- The current status of the request.
$sel:jobId:CloneBackendResponse'
, cloneBackendResponse_jobId
- The ID for the job.
$sel:operation:CloneBackendResponse'
, cloneBackendResponse_operation
- The name of the operation.
$sel:error:CloneBackendResponse'
, cloneBackendResponse_error
- If the request fails, this error is returned.
$sel:appId:CloneBackend'
, cloneBackendResponse_appId
- The app ID.
$sel:backendEnvironmentName:CloneBackend'
, cloneBackendResponse_backendEnvironmentName
- The name of the backend environment.
$sel:httpStatus:CloneBackendResponse'
, cloneBackendResponse_httpStatus
- The response's http status code.
Response Lenses
cloneBackendResponse_status :: Lens' CloneBackendResponse (Maybe Text) Source #
The current status of the request.
cloneBackendResponse_jobId :: Lens' CloneBackendResponse (Maybe Text) Source #
The ID for the job.
cloneBackendResponse_operation :: Lens' CloneBackendResponse (Maybe Text) Source #
The name of the operation.
cloneBackendResponse_error :: Lens' CloneBackendResponse (Maybe Text) Source #
If the request fails, this error is returned.
cloneBackendResponse_appId :: Lens' CloneBackendResponse (Maybe Text) Source #
The app ID.
cloneBackendResponse_backendEnvironmentName :: Lens' CloneBackendResponse (Maybe Text) Source #
The name of the backend environment.
cloneBackendResponse_httpStatus :: Lens' CloneBackendResponse Int Source #
The response's http status code.