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 |
Generates a model schema for an existing backend API resource.
Synopsis
- data GenerateBackendAPIModels = GenerateBackendAPIModels' {}
- newGenerateBackendAPIModels :: Text -> Text -> Text -> GenerateBackendAPIModels
- generateBackendAPIModels_appId :: Lens' GenerateBackendAPIModels Text
- generateBackendAPIModels_backendEnvironmentName :: Lens' GenerateBackendAPIModels Text
- generateBackendAPIModels_resourceName :: Lens' GenerateBackendAPIModels Text
- data GenerateBackendAPIModelsResponse = GenerateBackendAPIModelsResponse' {}
- newGenerateBackendAPIModelsResponse :: Int -> GenerateBackendAPIModelsResponse
- generateBackendAPIModelsResponse_status :: Lens' GenerateBackendAPIModelsResponse (Maybe Text)
- generateBackendAPIModelsResponse_jobId :: Lens' GenerateBackendAPIModelsResponse (Maybe Text)
- generateBackendAPIModelsResponse_operation :: Lens' GenerateBackendAPIModelsResponse (Maybe Text)
- generateBackendAPIModelsResponse_error :: Lens' GenerateBackendAPIModelsResponse (Maybe Text)
- generateBackendAPIModelsResponse_appId :: Lens' GenerateBackendAPIModelsResponse (Maybe Text)
- generateBackendAPIModelsResponse_backendEnvironmentName :: Lens' GenerateBackendAPIModelsResponse (Maybe Text)
- generateBackendAPIModelsResponse_httpStatus :: Lens' GenerateBackendAPIModelsResponse Int
Creating a Request
data GenerateBackendAPIModels Source #
The request body for GenerateBackendAPIModels.
See: newGenerateBackendAPIModels
smart constructor.
GenerateBackendAPIModels' | |
|
Instances
newGenerateBackendAPIModels Source #
:: Text | |
-> Text | |
-> Text | |
-> GenerateBackendAPIModels |
Create a value of GenerateBackendAPIModels
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:GenerateBackendAPIModels'
, generateBackendAPIModels_appId
- The app ID.
$sel:backendEnvironmentName:GenerateBackendAPIModels'
, generateBackendAPIModels_backendEnvironmentName
- The name of the backend environment.
$sel:resourceName:GenerateBackendAPIModels'
, generateBackendAPIModels_resourceName
- The name of this resource.
Request Lenses
generateBackendAPIModels_appId :: Lens' GenerateBackendAPIModels Text Source #
The app ID.
generateBackendAPIModels_backendEnvironmentName :: Lens' GenerateBackendAPIModels Text Source #
The name of the backend environment.
generateBackendAPIModels_resourceName :: Lens' GenerateBackendAPIModels Text Source #
The name of this resource.
Destructuring the Response
data GenerateBackendAPIModelsResponse Source #
See: newGenerateBackendAPIModelsResponse
smart constructor.
GenerateBackendAPIModelsResponse' | |
|
Instances
newGenerateBackendAPIModelsResponse Source #
Create a value of GenerateBackendAPIModelsResponse
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:GenerateBackendAPIModelsResponse'
, generateBackendAPIModelsResponse_status
- The current status of the request.
$sel:jobId:GenerateBackendAPIModelsResponse'
, generateBackendAPIModelsResponse_jobId
- The ID for the job.
$sel:operation:GenerateBackendAPIModelsResponse'
, generateBackendAPIModelsResponse_operation
- The name of the operation.
$sel:error:GenerateBackendAPIModelsResponse'
, generateBackendAPIModelsResponse_error
- If the request fails, this error is returned.
$sel:appId:GenerateBackendAPIModels'
, generateBackendAPIModelsResponse_appId
- The app ID.
$sel:backendEnvironmentName:GenerateBackendAPIModels'
, generateBackendAPIModelsResponse_backendEnvironmentName
- The name of the backend environment.
$sel:httpStatus:GenerateBackendAPIModelsResponse'
, generateBackendAPIModelsResponse_httpStatus
- The response's http status code.
Response Lenses
generateBackendAPIModelsResponse_status :: Lens' GenerateBackendAPIModelsResponse (Maybe Text) Source #
The current status of the request.
generateBackendAPIModelsResponse_jobId :: Lens' GenerateBackendAPIModelsResponse (Maybe Text) Source #
The ID for the job.
generateBackendAPIModelsResponse_operation :: Lens' GenerateBackendAPIModelsResponse (Maybe Text) Source #
The name of the operation.
generateBackendAPIModelsResponse_error :: Lens' GenerateBackendAPIModelsResponse (Maybe Text) Source #
If the request fails, this error is returned.
generateBackendAPIModelsResponse_appId :: Lens' GenerateBackendAPIModelsResponse (Maybe Text) Source #
The app ID.
generateBackendAPIModelsResponse_backendEnvironmentName :: Lens' GenerateBackendAPIModelsResponse (Maybe Text) Source #
The name of the backend environment.
generateBackendAPIModelsResponse_httpStatus :: Lens' GenerateBackendAPIModelsResponse Int Source #
The response's http status code.