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