| 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.AmplifyBackend.CreateBackendConfig
Description
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_appId :: Lens' CreateBackendConfigResponse (Maybe Text)
- createBackendConfigResponse_backendEnvironmentName :: Lens' CreateBackendConfigResponse (Maybe Text)
- createBackendConfigResponse_jobId :: Lens' CreateBackendConfigResponse (Maybe Text)
- createBackendConfigResponse_status :: Lens' CreateBackendConfigResponse (Maybe Text)
- createBackendConfigResponse_httpStatus :: Lens' CreateBackendConfigResponse Int
Creating a Request
data CreateBackendConfig Source #
The request body for CreateBackendConfig.
See: newCreateBackendConfig smart constructor.
Constructors
| CreateBackendConfig' | |
Fields
| |
Instances
newCreateBackendConfig Source #
Arguments
| :: Text | |
| -> CreateBackendConfig |
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.
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.
Constructors
| CreateBackendConfigResponse' | |
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:
CreateBackendConfig, createBackendConfigResponse_appId - The app ID.
CreateBackendConfigResponse, createBackendConfigResponse_backendEnvironmentName - The name of the backend environment.
CreateBackendConfigResponse, createBackendConfigResponse_jobId - The ID for the job.
CreateBackendConfigResponse, createBackendConfigResponse_status - The current status of the request.
$sel:httpStatus:CreateBackendConfigResponse', createBackendConfigResponse_httpStatus - The response's http status code.
Response Lenses
createBackendConfigResponse_appId :: Lens' CreateBackendConfigResponse (Maybe Text) Source #
The app ID.
createBackendConfigResponse_backendEnvironmentName :: Lens' CreateBackendConfigResponse (Maybe Text) Source #
The name of the backend environment.
createBackendConfigResponse_jobId :: Lens' CreateBackendConfigResponse (Maybe Text) Source #
The ID for the job.
createBackendConfigResponse_status :: Lens' CreateBackendConfigResponse (Maybe Text) Source #
The current status of the request.
createBackendConfigResponse_httpStatus :: Lens' CreateBackendConfigResponse Int Source #
The response's http status code.