| 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.UpdateBackendConfig
Description
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_appId :: Lens' UpdateBackendConfigResponse (Maybe Text)
- updateBackendConfigResponse_backendManagerAppId :: Lens' UpdateBackendConfigResponse (Maybe Text)
- updateBackendConfigResponse_error :: 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.
Constructors
| UpdateBackendConfig' | |
Fields
| |
Instances
newUpdateBackendConfig Source #
Arguments
| :: Text | |
| -> UpdateBackendConfig |
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:
UpdateBackendConfig, updateBackendConfig_loginAuthConfig - Describes the Amazon Cognito configuration for Admin UI access.
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.
Constructors
| UpdateBackendConfigResponse' | |
Fields
| |
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:
UpdateBackendConfig, updateBackendConfigResponse_appId - The app ID.
$sel:backendManagerAppId:UpdateBackendConfigResponse', updateBackendConfigResponse_backendManagerAppId - The app ID for the backend manager.
UpdateBackendConfigResponse, updateBackendConfigResponse_error - If the request fails, this error is returned.
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_appId :: Lens' UpdateBackendConfigResponse (Maybe Text) Source #
The app ID.
updateBackendConfigResponse_backendManagerAppId :: Lens' UpdateBackendConfigResponse (Maybe Text) Source #
The app ID for the backend manager.
updateBackendConfigResponse_error :: Lens' UpdateBackendConfigResponse (Maybe Text) Source #
If the request fails, this error is returned.
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.