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 |
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_status :: Lens' CreateBackendAuthResponse (Maybe Text)
- createBackendAuthResponse_jobId :: Lens' CreateBackendAuthResponse (Maybe Text)
- createBackendAuthResponse_operation :: Lens' CreateBackendAuthResponse (Maybe Text)
- createBackendAuthResponse_error :: Lens' CreateBackendAuthResponse (Maybe Text)
- createBackendAuthResponse_appId :: Lens' CreateBackendAuthResponse (Maybe Text)
- createBackendAuthResponse_backendEnvironmentName :: 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:
$sel:appId:CreateBackendAuth'
, createBackendAuth_appId
- The app ID.
$sel:resourceName:CreateBackendAuth'
, createBackendAuth_resourceName
- The name of this resource.
$sel:backendEnvironmentName: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:
$sel:status:CreateBackendAuthResponse'
, createBackendAuthResponse_status
- The current status of the request.
$sel:jobId:CreateBackendAuthResponse'
, createBackendAuthResponse_jobId
- The ID for the job.
$sel:operation:CreateBackendAuthResponse'
, createBackendAuthResponse_operation
- The name of the operation.
$sel:error:CreateBackendAuthResponse'
, createBackendAuthResponse_error
- If the request fails, this error is returned.
$sel:appId:CreateBackendAuth'
, createBackendAuthResponse_appId
- The app ID.
$sel:backendEnvironmentName:CreateBackendAuth'
, createBackendAuthResponse_backendEnvironmentName
- The name of the backend environment.
$sel:httpStatus:CreateBackendAuthResponse'
, createBackendAuthResponse_httpStatus
- The response's http status code.
Response Lenses
createBackendAuthResponse_status :: Lens' CreateBackendAuthResponse (Maybe Text) Source #
The current status of the request.
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_error :: Lens' CreateBackendAuthResponse (Maybe Text) Source #
If the request fails, this error is returned.
createBackendAuthResponse_appId :: Lens' CreateBackendAuthResponse (Maybe Text) Source #
The app ID.
createBackendAuthResponse_backendEnvironmentName :: Lens' CreateBackendAuthResponse (Maybe Text) Source #
The name of the backend environment.
createBackendAuthResponse_httpStatus :: Lens' CreateBackendAuthResponse Int Source #
The response's http status code.