| 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.UpdateBackendAuth
Description
Updates an existing backend authentication resource.
Synopsis
- data UpdateBackendAuth = UpdateBackendAuth' {}
- newUpdateBackendAuth :: Text -> Text -> Text -> UpdateBackendAuthResourceConfig -> UpdateBackendAuth
- updateBackendAuth_appId :: Lens' UpdateBackendAuth Text
- updateBackendAuth_backendEnvironmentName :: Lens' UpdateBackendAuth Text
- updateBackendAuth_resourceName :: Lens' UpdateBackendAuth Text
- updateBackendAuth_resourceConfig :: Lens' UpdateBackendAuth UpdateBackendAuthResourceConfig
- data UpdateBackendAuthResponse = UpdateBackendAuthResponse' {}
- newUpdateBackendAuthResponse :: Int -> UpdateBackendAuthResponse
- updateBackendAuthResponse_appId :: Lens' UpdateBackendAuthResponse (Maybe Text)
- updateBackendAuthResponse_backendEnvironmentName :: Lens' UpdateBackendAuthResponse (Maybe Text)
- updateBackendAuthResponse_error :: Lens' UpdateBackendAuthResponse (Maybe Text)
- updateBackendAuthResponse_jobId :: Lens' UpdateBackendAuthResponse (Maybe Text)
- updateBackendAuthResponse_operation :: Lens' UpdateBackendAuthResponse (Maybe Text)
- updateBackendAuthResponse_status :: Lens' UpdateBackendAuthResponse (Maybe Text)
- updateBackendAuthResponse_httpStatus :: Lens' UpdateBackendAuthResponse Int
Creating a Request
data UpdateBackendAuth Source #
The request body for UpdateBackendAuth.
See: newUpdateBackendAuth smart constructor.
Constructors
| UpdateBackendAuth' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> UpdateBackendAuthResourceConfig | |
| -> UpdateBackendAuth |
Create a value of UpdateBackendAuth 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:
UpdateBackendAuth, updateBackendAuth_appId - The app ID.
UpdateBackendAuth, updateBackendAuth_backendEnvironmentName - The name of the backend environment.
$sel:resourceName:UpdateBackendAuth', updateBackendAuth_resourceName - The name of this resource.
$sel:resourceConfig:UpdateBackendAuth', updateBackendAuth_resourceConfig - The resource configuration for this request object.
Request Lenses
updateBackendAuth_appId :: Lens' UpdateBackendAuth Text Source #
The app ID.
updateBackendAuth_backendEnvironmentName :: Lens' UpdateBackendAuth Text Source #
The name of the backend environment.
updateBackendAuth_resourceName :: Lens' UpdateBackendAuth Text Source #
The name of this resource.
updateBackendAuth_resourceConfig :: Lens' UpdateBackendAuth UpdateBackendAuthResourceConfig Source #
The resource configuration for this request object.
Destructuring the Response
data UpdateBackendAuthResponse Source #
See: newUpdateBackendAuthResponse smart constructor.
Constructors
| UpdateBackendAuthResponse' | |
Fields
| |
Instances
newUpdateBackendAuthResponse Source #
Create a value of UpdateBackendAuthResponse 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:
UpdateBackendAuth, updateBackendAuthResponse_appId - The app ID.
UpdateBackendAuth, updateBackendAuthResponse_backendEnvironmentName - The name of the backend environment.
UpdateBackendAuthResponse, updateBackendAuthResponse_error - If the request fails, this error is returned.
UpdateBackendAuthResponse, updateBackendAuthResponse_jobId - The ID for the job.
UpdateBackendAuthResponse, updateBackendAuthResponse_operation - The name of the operation.
UpdateBackendAuthResponse, updateBackendAuthResponse_status - The current status of the request.
$sel:httpStatus:UpdateBackendAuthResponse', updateBackendAuthResponse_httpStatus - The response's http status code.
Response Lenses
updateBackendAuthResponse_appId :: Lens' UpdateBackendAuthResponse (Maybe Text) Source #
The app ID.
updateBackendAuthResponse_backendEnvironmentName :: Lens' UpdateBackendAuthResponse (Maybe Text) Source #
The name of the backend environment.
updateBackendAuthResponse_error :: Lens' UpdateBackendAuthResponse (Maybe Text) Source #
If the request fails, this error is returned.
updateBackendAuthResponse_jobId :: Lens' UpdateBackendAuthResponse (Maybe Text) Source #
The ID for the job.
updateBackendAuthResponse_operation :: Lens' UpdateBackendAuthResponse (Maybe Text) Source #
The name of the operation.
updateBackendAuthResponse_status :: Lens' UpdateBackendAuthResponse (Maybe Text) Source #
The current status of the request.
updateBackendAuthResponse_httpStatus :: Lens' UpdateBackendAuthResponse Int Source #
The response's http status code.