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 |
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_resourceName :: Lens' GetBackendAuthResponse (Maybe Text)
- getBackendAuthResponse_error :: Lens' GetBackendAuthResponse (Maybe Text)
- getBackendAuthResponse_appId :: Lens' GetBackendAuthResponse (Maybe Text)
- getBackendAuthResponse_resourceConfig :: Lens' GetBackendAuthResponse (Maybe CreateBackendAuthResourceConfig)
- getBackendAuthResponse_backendEnvironmentName :: Lens' GetBackendAuthResponse (Maybe Text)
- getBackendAuthResponse_httpStatus :: Lens' GetBackendAuthResponse Int
Creating a Request
data GetBackendAuth Source #
The request body for GetBackendAuth.
See: newGetBackendAuth
smart constructor.
GetBackendAuth' | |
|
Instances
:: 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:
$sel:appId:GetBackendAuth'
, getBackendAuth_appId
- The app ID.
$sel:backendEnvironmentName:GetBackendAuth'
, getBackendAuth_backendEnvironmentName
- The name of the backend environment.
$sel:resourceName: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.
GetBackendAuthResponse' | |
|
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:
$sel:resourceName:GetBackendAuth'
, getBackendAuthResponse_resourceName
- The name of this resource.
$sel:error:GetBackendAuthResponse'
, getBackendAuthResponse_error
- If the request fails, this error is returned.
$sel:appId:GetBackendAuth'
, getBackendAuthResponse_appId
- The app ID.
$sel:resourceConfig:GetBackendAuthResponse'
, getBackendAuthResponse_resourceConfig
- The resource configuration for authorization requests to the backend of
your Amplify project.
$sel:backendEnvironmentName:GetBackendAuth'
, getBackendAuthResponse_backendEnvironmentName
- The name of the backend environment.
$sel:httpStatus:GetBackendAuthResponse'
, getBackendAuthResponse_httpStatus
- The response's http status code.
Response Lenses
getBackendAuthResponse_resourceName :: Lens' GetBackendAuthResponse (Maybe Text) Source #
The name of this resource.
getBackendAuthResponse_error :: Lens' GetBackendAuthResponse (Maybe Text) Source #
If the request fails, this error is returned.
getBackendAuthResponse_appId :: Lens' GetBackendAuthResponse (Maybe Text) Source #
The app ID.
getBackendAuthResponse_resourceConfig :: Lens' GetBackendAuthResponse (Maybe CreateBackendAuthResourceConfig) Source #
The resource configuration for authorization requests to the backend of your Amplify project.
getBackendAuthResponse_backendEnvironmentName :: Lens' GetBackendAuthResponse (Maybe Text) Source #
The name of the backend environment.
getBackendAuthResponse_httpStatus :: Lens' GetBackendAuthResponse Int Source #
The response's http status code.