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 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_status :: Lens' UpdateBackendAuthResponse (Maybe Text)
- updateBackendAuthResponse_jobId :: Lens' UpdateBackendAuthResponse (Maybe Text)
- updateBackendAuthResponse_operation :: Lens' UpdateBackendAuthResponse (Maybe Text)
- updateBackendAuthResponse_error :: Lens' UpdateBackendAuthResponse (Maybe Text)
- updateBackendAuthResponse_appId :: Lens' UpdateBackendAuthResponse (Maybe Text)
- updateBackendAuthResponse_backendEnvironmentName :: Lens' UpdateBackendAuthResponse (Maybe Text)
- updateBackendAuthResponse_httpStatus :: Lens' UpdateBackendAuthResponse Int
Creating a Request
data UpdateBackendAuth Source #
The request body for UpdateBackendAuth.
See: newUpdateBackendAuth
smart constructor.
UpdateBackendAuth' | |
|
Instances
:: 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:
$sel:appId:UpdateBackendAuth'
, updateBackendAuth_appId
- The app ID.
$sel:backendEnvironmentName: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.
UpdateBackendAuthResponse' | |
|
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:
$sel:status:UpdateBackendAuthResponse'
, updateBackendAuthResponse_status
- The current status of the request.
$sel:jobId:UpdateBackendAuthResponse'
, updateBackendAuthResponse_jobId
- The ID for the job.
$sel:operation:UpdateBackendAuthResponse'
, updateBackendAuthResponse_operation
- The name of the operation.
$sel:error:UpdateBackendAuthResponse'
, updateBackendAuthResponse_error
- If the request fails, this error is returned.
$sel:appId:UpdateBackendAuth'
, updateBackendAuthResponse_appId
- The app ID.
$sel:backendEnvironmentName:UpdateBackendAuth'
, updateBackendAuthResponse_backendEnvironmentName
- The name of the backend environment.
$sel:httpStatus:UpdateBackendAuthResponse'
, updateBackendAuthResponse_httpStatus
- The response's http status code.
Response Lenses
updateBackendAuthResponse_status :: Lens' UpdateBackendAuthResponse (Maybe Text) Source #
The current status of the request.
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_error :: Lens' UpdateBackendAuthResponse (Maybe Text) Source #
If the request fails, this error is returned.
updateBackendAuthResponse_appId :: Lens' UpdateBackendAuthResponse (Maybe Text) Source #
The app ID.
updateBackendAuthResponse_backendEnvironmentName :: Lens' UpdateBackendAuthResponse (Maybe Text) Source #
The name of the backend environment.
updateBackendAuthResponse_httpStatus :: Lens' UpdateBackendAuthResponse Int Source #
The response's http status code.