| 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.GetBackendAuth
Description
Gets a backend auth details.
Synopsis
- data GetBackendAuth = GetBackendAuth' {}
 - newGetBackendAuth :: Text -> Text -> Text -> GetBackendAuth
 - getBackendAuth_appId :: Lens' GetBackendAuth Text
 - getBackendAuth_backendEnvironmentName :: Lens' GetBackendAuth Text
 - getBackendAuth_resourceName :: Lens' GetBackendAuth Text
 - data GetBackendAuthResponse = GetBackendAuthResponse' {}
 - newGetBackendAuthResponse :: Int -> GetBackendAuthResponse
 - getBackendAuthResponse_appId :: Lens' GetBackendAuthResponse (Maybe Text)
 - getBackendAuthResponse_backendEnvironmentName :: Lens' GetBackendAuthResponse (Maybe Text)
 - getBackendAuthResponse_error :: Lens' GetBackendAuthResponse (Maybe Text)
 - getBackendAuthResponse_resourceConfig :: Lens' GetBackendAuthResponse (Maybe CreateBackendAuthResourceConfig)
 - getBackendAuthResponse_resourceName :: Lens' GetBackendAuthResponse (Maybe Text)
 - getBackendAuthResponse_httpStatus :: Lens' GetBackendAuthResponse Int
 
Creating a Request
data GetBackendAuth Source #
The request body for GetBackendAuth.
See: newGetBackendAuth smart constructor.
Constructors
| GetBackendAuth' | |
Fields 
  | |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> GetBackendAuth | 
Create a value of GetBackendAuth 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:
GetBackendAuth, getBackendAuth_appId - The app ID.
GetBackendAuth, getBackendAuth_backendEnvironmentName - The name of the backend environment.
GetBackendAuth, getBackendAuth_resourceName - The name of this resource.
Request Lenses
getBackendAuth_appId :: Lens' GetBackendAuth Text Source #
The app ID.
getBackendAuth_backendEnvironmentName :: Lens' GetBackendAuth Text Source #
The name of the backend environment.
getBackendAuth_resourceName :: Lens' GetBackendAuth Text Source #
The name of this resource.
Destructuring the Response
data GetBackendAuthResponse Source #
See: newGetBackendAuthResponse smart constructor.
Constructors
| GetBackendAuthResponse' | |
Fields 
  | |
Instances
newGetBackendAuthResponse Source #
Create a value of GetBackendAuthResponse 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:
GetBackendAuth, getBackendAuthResponse_appId - The app ID.
GetBackendAuth, getBackendAuthResponse_backendEnvironmentName - The name of the backend environment.
GetBackendAuthResponse, getBackendAuthResponse_error - If the request fails, this error is returned.
$sel:resourceConfig:GetBackendAuthResponse', getBackendAuthResponse_resourceConfig - The resource configuration for authorization requests to the backend of
 your Amplify project.
GetBackendAuth, getBackendAuthResponse_resourceName - The name of this resource.
$sel:httpStatus:GetBackendAuthResponse', getBackendAuthResponse_httpStatus - The response's http status code.
Response Lenses
getBackendAuthResponse_appId :: Lens' GetBackendAuthResponse (Maybe Text) Source #
The app ID.
getBackendAuthResponse_backendEnvironmentName :: Lens' GetBackendAuthResponse (Maybe Text) Source #
The name of the backend environment.
getBackendAuthResponse_error :: Lens' GetBackendAuthResponse (Maybe Text) Source #
If the request fails, this error is returned.
getBackendAuthResponse_resourceConfig :: Lens' GetBackendAuthResponse (Maybe CreateBackendAuthResourceConfig) Source #
The resource configuration for authorization requests to the backend of your Amplify project.
getBackendAuthResponse_resourceName :: Lens' GetBackendAuthResponse (Maybe Text) Source #
The name of this resource.
getBackendAuthResponse_httpStatus :: Lens' GetBackendAuthResponse Int Source #
The response's http status code.