| 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.ImportBackendAuth
Description
Imports an existing backend authentication resource.
Synopsis
- data ImportBackendAuth = ImportBackendAuth' {}
 - newImportBackendAuth :: Text -> Text -> Text -> Text -> Text -> ImportBackendAuth
 - importBackendAuth_identityPoolId :: Lens' ImportBackendAuth (Maybe Text)
 - importBackendAuth_appId :: Lens' ImportBackendAuth Text
 - importBackendAuth_backendEnvironmentName :: Lens' ImportBackendAuth Text
 - importBackendAuth_userPoolId :: Lens' ImportBackendAuth Text
 - importBackendAuth_nativeClientId :: Lens' ImportBackendAuth Text
 - importBackendAuth_webClientId :: Lens' ImportBackendAuth Text
 - data ImportBackendAuthResponse = ImportBackendAuthResponse' {}
 - newImportBackendAuthResponse :: Int -> ImportBackendAuthResponse
 - importBackendAuthResponse_appId :: Lens' ImportBackendAuthResponse (Maybe Text)
 - importBackendAuthResponse_backendEnvironmentName :: Lens' ImportBackendAuthResponse (Maybe Text)
 - importBackendAuthResponse_error :: Lens' ImportBackendAuthResponse (Maybe Text)
 - importBackendAuthResponse_jobId :: Lens' ImportBackendAuthResponse (Maybe Text)
 - importBackendAuthResponse_operation :: Lens' ImportBackendAuthResponse (Maybe Text)
 - importBackendAuthResponse_status :: Lens' ImportBackendAuthResponse (Maybe Text)
 - importBackendAuthResponse_httpStatus :: Lens' ImportBackendAuthResponse Int
 
Creating a Request
data ImportBackendAuth Source #
The request body for ImportBackendAuth.
See: newImportBackendAuth smart constructor.
Constructors
| ImportBackendAuth' | |
Fields 
  | |
Instances
Create a value of ImportBackendAuth 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:identityPoolId:ImportBackendAuth', importBackendAuth_identityPoolId - The ID of the Amazon Cognito identity pool.
ImportBackendAuth, importBackendAuth_appId - The app ID.
ImportBackendAuth, importBackendAuth_backendEnvironmentName - The name of the backend environment.
$sel:userPoolId:ImportBackendAuth', importBackendAuth_userPoolId - The ID of the Amazon Cognito user pool.
$sel:nativeClientId:ImportBackendAuth', importBackendAuth_nativeClientId - The ID of the Amazon Cognito native client.
$sel:webClientId:ImportBackendAuth', importBackendAuth_webClientId - The ID of the Amazon Cognito web client.
Request Lenses
importBackendAuth_identityPoolId :: Lens' ImportBackendAuth (Maybe Text) Source #
The ID of the Amazon Cognito identity pool.
importBackendAuth_appId :: Lens' ImportBackendAuth Text Source #
The app ID.
importBackendAuth_backendEnvironmentName :: Lens' ImportBackendAuth Text Source #
The name of the backend environment.
importBackendAuth_userPoolId :: Lens' ImportBackendAuth Text Source #
The ID of the Amazon Cognito user pool.
importBackendAuth_nativeClientId :: Lens' ImportBackendAuth Text Source #
The ID of the Amazon Cognito native client.
importBackendAuth_webClientId :: Lens' ImportBackendAuth Text Source #
The ID of the Amazon Cognito web client.
Destructuring the Response
data ImportBackendAuthResponse Source #
See: newImportBackendAuthResponse smart constructor.
Constructors
| ImportBackendAuthResponse' | |
Fields 
  | |
Instances
newImportBackendAuthResponse Source #
Create a value of ImportBackendAuthResponse 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:
ImportBackendAuth, importBackendAuthResponse_appId - The app ID.
ImportBackendAuth, importBackendAuthResponse_backendEnvironmentName - The name of the backend environment.
ImportBackendAuthResponse, importBackendAuthResponse_error - If the request fails, this error is returned.
ImportBackendAuthResponse, importBackendAuthResponse_jobId - The ID for the job.
ImportBackendAuthResponse, importBackendAuthResponse_operation - The name of the operation.
ImportBackendAuthResponse, importBackendAuthResponse_status - The current status of the request.
$sel:httpStatus:ImportBackendAuthResponse', importBackendAuthResponse_httpStatus - The response's http status code.
Response Lenses
importBackendAuthResponse_appId :: Lens' ImportBackendAuthResponse (Maybe Text) Source #
The app ID.
importBackendAuthResponse_backendEnvironmentName :: Lens' ImportBackendAuthResponse (Maybe Text) Source #
The name of the backend environment.
importBackendAuthResponse_error :: Lens' ImportBackendAuthResponse (Maybe Text) Source #
If the request fails, this error is returned.
importBackendAuthResponse_jobId :: Lens' ImportBackendAuthResponse (Maybe Text) Source #
The ID for the job.
importBackendAuthResponse_operation :: Lens' ImportBackendAuthResponse (Maybe Text) Source #
The name of the operation.
importBackendAuthResponse_status :: Lens' ImportBackendAuthResponse (Maybe Text) Source #
The current status of the request.
importBackendAuthResponse_httpStatus :: Lens' ImportBackendAuthResponse Int Source #
The response's http status code.