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 |
Creates a config object for a backend.
Synopsis
- data CreateBackendConfig = CreateBackendConfig' {}
- newCreateBackendConfig :: Text -> CreateBackendConfig
- createBackendConfig_backendManagerAppId :: Lens' CreateBackendConfig (Maybe Text)
- createBackendConfig_appId :: Lens' CreateBackendConfig Text
- data CreateBackendConfigResponse = CreateBackendConfigResponse' {}
- newCreateBackendConfigResponse :: Int -> CreateBackendConfigResponse
- createBackendConfigResponse_status :: Lens' CreateBackendConfigResponse (Maybe Text)
- createBackendConfigResponse_jobId :: Lens' CreateBackendConfigResponse (Maybe Text)
- createBackendConfigResponse_appId :: Lens' CreateBackendConfigResponse (Maybe Text)
- createBackendConfigResponse_backendEnvironmentName :: Lens' CreateBackendConfigResponse (Maybe Text)
- createBackendConfigResponse_httpStatus :: Lens' CreateBackendConfigResponse Int
Creating a Request
data CreateBackendConfig Source #
The request body for CreateBackendConfig.
See: newCreateBackendConfig
smart constructor.
CreateBackendConfig' | |
|
Instances
newCreateBackendConfig Source #
Create a value of CreateBackendConfig
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:backendManagerAppId:CreateBackendConfig'
, createBackendConfig_backendManagerAppId
- The app ID for the backend manager.
$sel:appId:CreateBackendConfig'
, createBackendConfig_appId
- The app ID.
Request Lenses
createBackendConfig_backendManagerAppId :: Lens' CreateBackendConfig (Maybe Text) Source #
The app ID for the backend manager.
createBackendConfig_appId :: Lens' CreateBackendConfig Text Source #
The app ID.
Destructuring the Response
data CreateBackendConfigResponse Source #
See: newCreateBackendConfigResponse
smart constructor.
Instances
newCreateBackendConfigResponse Source #
Create a value of CreateBackendConfigResponse
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:CreateBackendConfigResponse'
, createBackendConfigResponse_status
- The current status of the request.
$sel:jobId:CreateBackendConfigResponse'
, createBackendConfigResponse_jobId
- The ID for the job.
$sel:appId:CreateBackendConfig'
, createBackendConfigResponse_appId
- The app ID.
$sel:backendEnvironmentName:CreateBackendConfigResponse'
, createBackendConfigResponse_backendEnvironmentName
- The name of the backend environment.
$sel:httpStatus:CreateBackendConfigResponse'
, createBackendConfigResponse_httpStatus
- The response's http status code.
Response Lenses
createBackendConfigResponse_status :: Lens' CreateBackendConfigResponse (Maybe Text) Source #
The current status of the request.
createBackendConfigResponse_jobId :: Lens' CreateBackendConfigResponse (Maybe Text) Source #
The ID for the job.
createBackendConfigResponse_appId :: Lens' CreateBackendConfigResponse (Maybe Text) Source #
The app ID.
createBackendConfigResponse_backendEnvironmentName :: Lens' CreateBackendConfigResponse (Maybe Text) Source #
The name of the backend environment.
createBackendConfigResponse_httpStatus :: Lens' CreateBackendConfigResponse Int Source #
The response's http status code.