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 |
Provides project-level details for your Amplify UI project.
Synopsis
- data GetBackend = GetBackend' {}
- newGetBackend :: Text -> GetBackend
- getBackend_backendEnvironmentName :: Lens' GetBackend (Maybe Text)
- getBackend_appId :: Lens' GetBackend Text
- data GetBackendResponse = GetBackendResponse' {}
- newGetBackendResponse :: Int -> GetBackendResponse
- getBackendResponse_error :: Lens' GetBackendResponse (Maybe Text)
- getBackendResponse_appName :: Lens' GetBackendResponse (Maybe Text)
- getBackendResponse_amplifyMetaConfig :: Lens' GetBackendResponse (Maybe Text)
- getBackendResponse_appId :: Lens' GetBackendResponse (Maybe Text)
- getBackendResponse_amplifyFeatureFlags :: Lens' GetBackendResponse (Maybe Text)
- getBackendResponse_backendEnvironmentList :: Lens' GetBackendResponse (Maybe [Text])
- getBackendResponse_backendEnvironmentName :: Lens' GetBackendResponse (Maybe Text)
- getBackendResponse_httpStatus :: Lens' GetBackendResponse Int
Creating a Request
data GetBackend Source #
The request body for GetBackend.
See: newGetBackend
smart constructor.
GetBackend' | |
|
Instances
Create a value of GetBackend
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:backendEnvironmentName:GetBackend'
, getBackend_backendEnvironmentName
- The name of the backend environment.
$sel:appId:GetBackend'
, getBackend_appId
- The app ID.
Request Lenses
getBackend_backendEnvironmentName :: Lens' GetBackend (Maybe Text) Source #
The name of the backend environment.
getBackend_appId :: Lens' GetBackend Text Source #
The app ID.
Destructuring the Response
data GetBackendResponse Source #
See: newGetBackendResponse
smart constructor.
GetBackendResponse' | |
|
Instances
newGetBackendResponse Source #
Create a value of GetBackendResponse
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:error:GetBackendResponse'
, getBackendResponse_error
- If the request failed, this is the returned error.
$sel:appName:GetBackendResponse'
, getBackendResponse_appName
- The name of the app.
$sel:amplifyMetaConfig:GetBackendResponse'
, getBackendResponse_amplifyMetaConfig
- A stringified version of the current configs for your Amplify project.
$sel:appId:GetBackend'
, getBackendResponse_appId
- The app ID.
$sel:amplifyFeatureFlags:GetBackendResponse'
, getBackendResponse_amplifyFeatureFlags
- A stringified version of the cli.json file for your Amplify project.
$sel:backendEnvironmentList:GetBackendResponse'
, getBackendResponse_backendEnvironmentList
- A list of backend environments in an array.
$sel:backendEnvironmentName:GetBackend'
, getBackendResponse_backendEnvironmentName
- The name of the backend environment.
$sel:httpStatus:GetBackendResponse'
, getBackendResponse_httpStatus
- The response's http status code.
Response Lenses
getBackendResponse_error :: Lens' GetBackendResponse (Maybe Text) Source #
If the request failed, this is the returned error.
getBackendResponse_appName :: Lens' GetBackendResponse (Maybe Text) Source #
The name of the app.
getBackendResponse_amplifyMetaConfig :: Lens' GetBackendResponse (Maybe Text) Source #
A stringified version of the current configs for your Amplify project.
getBackendResponse_appId :: Lens' GetBackendResponse (Maybe Text) Source #
The app ID.
getBackendResponse_amplifyFeatureFlags :: Lens' GetBackendResponse (Maybe Text) Source #
A stringified version of the cli.json file for your Amplify project.
getBackendResponse_backendEnvironmentList :: Lens' GetBackendResponse (Maybe [Text]) Source #
A list of backend environments in an array.
getBackendResponse_backendEnvironmentName :: Lens' GetBackendResponse (Maybe Text) Source #
The name of the backend environment.
getBackendResponse_httpStatus :: Lens' GetBackendResponse Int Source #
The response's http status code.