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 |
Creates a new backend authentication resource.
Synopsis
- data CreateBackendAuth = CreateBackendAuth' {}
- newCreateBackendAuth :: Text -> Text -> Text -> CreateBackendAuthResourceConfig -> CreateBackendAuth
- createBackendAuth_appId :: Lens' CreateBackendAuth Text
- createBackendAuth_resourceName :: Lens' CreateBackendAuth Text
- createBackendAuth_backendEnvironmentName :: Lens' CreateBackendAuth Text
- createBackendAuth_resourceConfig :: Lens' CreateBackendAuth CreateBackendAuthResourceConfig
- data CreateBackendAuthResponse = CreateBackendAuthResponse' {}
- newCreateBackendAuthResponse :: Int -> CreateBackendAuthResponse
- createBackendAuthResponse_appId :: Lens' CreateBackendAuthResponse (Maybe Text)
- createBackendAuthResponse_backendEnvironmentName :: Lens' CreateBackendAuthResponse (Maybe Text)
- createBackendAuthResponse_error :: Lens' CreateBackendAuthResponse (Maybe Text)
- createBackendAuthResponse_jobId :: Lens' CreateBackendAuthResponse (Maybe Text)
- createBackendAuthResponse_operation :: Lens' CreateBackendAuthResponse (Maybe Text)
- createBackendAuthResponse_status :: Lens' CreateBackendAuthResponse (Maybe Text)
- createBackendAuthResponse_httpStatus :: Lens' CreateBackendAuthResponse Int
Creating a Request
data CreateBackendAuth Source #
The request body for CreateBackendAuth.
See: newCreateBackendAuth
smart constructor.
CreateBackendAuth' | |
|
Instances
:: Text | |
-> Text | |
-> Text | |
-> CreateBackendAuthResourceConfig | |
-> CreateBackendAuth |
Create a value of CreateBackendAuth
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:
CreateBackendAuth
, createBackendAuth_appId
- The app ID.
$sel:resourceName:CreateBackendAuth'
, createBackendAuth_resourceName
- The name of this resource.
CreateBackendAuth
, createBackendAuth_backendEnvironmentName
- The name of the backend environment.
$sel:resourceConfig:CreateBackendAuth'
, createBackendAuth_resourceConfig
- The resource configuration for this request object.
Request Lenses
createBackendAuth_appId :: Lens' CreateBackendAuth Text Source #
The app ID.
createBackendAuth_resourceName :: Lens' CreateBackendAuth Text Source #
The name of this resource.
createBackendAuth_backendEnvironmentName :: Lens' CreateBackendAuth Text Source #
The name of the backend environment.
createBackendAuth_resourceConfig :: Lens' CreateBackendAuth CreateBackendAuthResourceConfig Source #
The resource configuration for this request object.
Destructuring the Response
data CreateBackendAuthResponse Source #
See: newCreateBackendAuthResponse
smart constructor.
CreateBackendAuthResponse' | |
|
Instances
newCreateBackendAuthResponse Source #
Create a value of CreateBackendAuthResponse
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:
CreateBackendAuth
, createBackendAuthResponse_appId
- The app ID.
CreateBackendAuth
, createBackendAuthResponse_backendEnvironmentName
- The name of the backend environment.
CreateBackendAuthResponse
, createBackendAuthResponse_error
- If the request fails, this error is returned.
CreateBackendAuthResponse
, createBackendAuthResponse_jobId
- The ID for the job.
CreateBackendAuthResponse
, createBackendAuthResponse_operation
- The name of the operation.
CreateBackendAuthResponse
, createBackendAuthResponse_status
- The current status of the request.
$sel:httpStatus:CreateBackendAuthResponse'
, createBackendAuthResponse_httpStatus
- The response's http status code.
Response Lenses
createBackendAuthResponse_appId :: Lens' CreateBackendAuthResponse (Maybe Text) Source #
The app ID.
createBackendAuthResponse_backendEnvironmentName :: Lens' CreateBackendAuthResponse (Maybe Text) Source #
The name of the backend environment.
createBackendAuthResponse_error :: Lens' CreateBackendAuthResponse (Maybe Text) Source #
If the request fails, this error is returned.
createBackendAuthResponse_jobId :: Lens' CreateBackendAuthResponse (Maybe Text) Source #
The ID for the job.
createBackendAuthResponse_operation :: Lens' CreateBackendAuthResponse (Maybe Text) Source #
The name of the operation.
createBackendAuthResponse_status :: Lens' CreateBackendAuthResponse (Maybe Text) Source #
The current status of the request.
createBackendAuthResponse_httpStatus :: Lens' CreateBackendAuthResponse Int Source #
The response's http status code.