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 |
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_status :: Lens' ImportBackendAuthResponse (Maybe Text)
- importBackendAuthResponse_jobId :: Lens' ImportBackendAuthResponse (Maybe Text)
- importBackendAuthResponse_operation :: Lens' ImportBackendAuthResponse (Maybe Text)
- importBackendAuthResponse_error :: Lens' ImportBackendAuthResponse (Maybe Text)
- importBackendAuthResponse_appId :: Lens' ImportBackendAuthResponse (Maybe Text)
- importBackendAuthResponse_backendEnvironmentName :: Lens' ImportBackendAuthResponse (Maybe Text)
- importBackendAuthResponse_httpStatus :: Lens' ImportBackendAuthResponse Int
Creating a Request
data ImportBackendAuth Source #
The request body for ImportBackendAuth.
See: newImportBackendAuth
smart constructor.
ImportBackendAuth' | |
|
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.
$sel:appId:ImportBackendAuth'
, importBackendAuth_appId
- The app ID.
$sel:backendEnvironmentName: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.
ImportBackendAuthResponse' | |
|
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:
$sel:status:ImportBackendAuthResponse'
, importBackendAuthResponse_status
- The current status of the request.
$sel:jobId:ImportBackendAuthResponse'
, importBackendAuthResponse_jobId
- The ID for the job.
$sel:operation:ImportBackendAuthResponse'
, importBackendAuthResponse_operation
- The name of the operation.
$sel:error:ImportBackendAuthResponse'
, importBackendAuthResponse_error
- If the request fails, this error is returned.
$sel:appId:ImportBackendAuth'
, importBackendAuthResponse_appId
- The app ID.
$sel:backendEnvironmentName:ImportBackendAuth'
, importBackendAuthResponse_backendEnvironmentName
- The name of the backend environment.
$sel:httpStatus:ImportBackendAuthResponse'
, importBackendAuthResponse_httpStatus
- The response's http status code.
Response Lenses
importBackendAuthResponse_status :: Lens' ImportBackendAuthResponse (Maybe Text) Source #
The current status of the request.
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_error :: Lens' ImportBackendAuthResponse (Maybe Text) Source #
If the request fails, this error is returned.
importBackendAuthResponse_appId :: Lens' ImportBackendAuthResponse (Maybe Text) Source #
The app ID.
importBackendAuthResponse_backendEnvironmentName :: Lens' ImportBackendAuthResponse (Maybe Text) Source #
The name of the backend environment.
importBackendAuthResponse_httpStatus :: Lens' ImportBackendAuthResponse Int Source #
The response's http status code.