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 |
Updates the AWS resources required to access the Amplify Admin UI.
Synopsis
- data UpdateBackendConfig = UpdateBackendConfig' {}
- newUpdateBackendConfig :: Text -> UpdateBackendConfig
- updateBackendConfig_loginAuthConfig :: Lens' UpdateBackendConfig (Maybe LoginAuthConfigReqObj)
- updateBackendConfig_appId :: Lens' UpdateBackendConfig Text
- data UpdateBackendConfigResponse = UpdateBackendConfigResponse' {}
- newUpdateBackendConfigResponse :: Int -> UpdateBackendConfigResponse
- updateBackendConfigResponse_error :: Lens' UpdateBackendConfigResponse (Maybe Text)
- updateBackendConfigResponse_appId :: Lens' UpdateBackendConfigResponse (Maybe Text)
- updateBackendConfigResponse_backendManagerAppId :: Lens' UpdateBackendConfigResponse (Maybe Text)
- updateBackendConfigResponse_loginAuthConfig :: Lens' UpdateBackendConfigResponse (Maybe LoginAuthConfigReqObj)
- updateBackendConfigResponse_httpStatus :: Lens' UpdateBackendConfigResponse Int
Creating a Request
data UpdateBackendConfig Source #
The request body for UpdateBackendConfig.
See: newUpdateBackendConfig
smart constructor.
UpdateBackendConfig' | |
|
Instances
newUpdateBackendConfig Source #
Create a value of UpdateBackendConfig
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:loginAuthConfig:UpdateBackendConfig'
, updateBackendConfig_loginAuthConfig
- Describes the Amazon Cognito configuration for Admin UI access.
$sel:appId:UpdateBackendConfig'
, updateBackendConfig_appId
- The app ID.
Request Lenses
updateBackendConfig_loginAuthConfig :: Lens' UpdateBackendConfig (Maybe LoginAuthConfigReqObj) Source #
Describes the Amazon Cognito configuration for Admin UI access.
updateBackendConfig_appId :: Lens' UpdateBackendConfig Text Source #
The app ID.
Destructuring the Response
data UpdateBackendConfigResponse Source #
See: newUpdateBackendConfigResponse
smart constructor.
UpdateBackendConfigResponse' | |
|
Instances
newUpdateBackendConfigResponse Source #
Create a value of UpdateBackendConfigResponse
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:error:UpdateBackendConfigResponse'
, updateBackendConfigResponse_error
- If the request fails, this error is returned.
$sel:appId:UpdateBackendConfig'
, updateBackendConfigResponse_appId
- The app ID.
$sel:backendManagerAppId:UpdateBackendConfigResponse'
, updateBackendConfigResponse_backendManagerAppId
- The app ID for the backend manager.
$sel:loginAuthConfig:UpdateBackendConfig'
, updateBackendConfigResponse_loginAuthConfig
- Describes the Amazon Cognito configurations for the Admin UI auth
resource to log in with.
$sel:httpStatus:UpdateBackendConfigResponse'
, updateBackendConfigResponse_httpStatus
- The response's http status code.
Response Lenses
updateBackendConfigResponse_error :: Lens' UpdateBackendConfigResponse (Maybe Text) Source #
If the request fails, this error is returned.
updateBackendConfigResponse_appId :: Lens' UpdateBackendConfigResponse (Maybe Text) Source #
The app ID.
updateBackendConfigResponse_backendManagerAppId :: Lens' UpdateBackendConfigResponse (Maybe Text) Source #
The app ID for the backend manager.
updateBackendConfigResponse_loginAuthConfig :: Lens' UpdateBackendConfigResponse (Maybe LoginAuthConfigReqObj) Source #
Describes the Amazon Cognito configurations for the Admin UI auth resource to log in with.
updateBackendConfigResponse_httpStatus :: Lens' UpdateBackendConfigResponse Int Source #
The response's http status code.