| 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.CreateBackendStorage
Description
Creates a backend storage resource.
Synopsis
- data CreateBackendStorage = CreateBackendStorage' {}
 - newCreateBackendStorage :: Text -> Text -> Text -> CreateBackendStorageResourceConfig -> CreateBackendStorage
 - createBackendStorage_appId :: Lens' CreateBackendStorage Text
 - createBackendStorage_resourceName :: Lens' CreateBackendStorage Text
 - createBackendStorage_backendEnvironmentName :: Lens' CreateBackendStorage Text
 - createBackendStorage_resourceConfig :: Lens' CreateBackendStorage CreateBackendStorageResourceConfig
 - data CreateBackendStorageResponse = CreateBackendStorageResponse' {}
 - newCreateBackendStorageResponse :: Int -> CreateBackendStorageResponse
 - createBackendStorageResponse_appId :: Lens' CreateBackendStorageResponse (Maybe Text)
 - createBackendStorageResponse_backendEnvironmentName :: Lens' CreateBackendStorageResponse (Maybe Text)
 - createBackendStorageResponse_jobId :: Lens' CreateBackendStorageResponse (Maybe Text)
 - createBackendStorageResponse_status :: Lens' CreateBackendStorageResponse (Maybe Text)
 - createBackendStorageResponse_httpStatus :: Lens' CreateBackendStorageResponse Int
 
Creating a Request
data CreateBackendStorage Source #
The request body for CreateBackendStorage.
See: newCreateBackendStorage smart constructor.
Constructors
| CreateBackendStorage' | |
Fields 
  | |
Instances
newCreateBackendStorage Source #
Arguments
| :: Text | |
| -> Text | |
| -> Text | |
| -> CreateBackendStorageResourceConfig | |
| -> CreateBackendStorage | 
Create a value of CreateBackendStorage 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:
CreateBackendStorage, createBackendStorage_appId - The app ID.
$sel:resourceName:CreateBackendStorage', createBackendStorage_resourceName - The name of the storage resource.
CreateBackendStorage, createBackendStorage_backendEnvironmentName - The name of the backend environment.
$sel:resourceConfig:CreateBackendStorage', createBackendStorage_resourceConfig - The resource configuration for creating backend storage.
Request Lenses
createBackendStorage_appId :: Lens' CreateBackendStorage Text Source #
The app ID.
createBackendStorage_resourceName :: Lens' CreateBackendStorage Text Source #
The name of the storage resource.
createBackendStorage_backendEnvironmentName :: Lens' CreateBackendStorage Text Source #
The name of the backend environment.
createBackendStorage_resourceConfig :: Lens' CreateBackendStorage CreateBackendStorageResourceConfig Source #
The resource configuration for creating backend storage.
Destructuring the Response
data CreateBackendStorageResponse Source #
See: newCreateBackendStorageResponse smart constructor.
Constructors
| CreateBackendStorageResponse' | |
Instances
newCreateBackendStorageResponse Source #
Create a value of CreateBackendStorageResponse 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:
CreateBackendStorage, createBackendStorageResponse_appId - The app ID.
CreateBackendStorage, createBackendStorageResponse_backendEnvironmentName - The name of the backend environment.
CreateBackendStorageResponse, createBackendStorageResponse_jobId - The ID for the job.
CreateBackendStorageResponse, createBackendStorageResponse_status - The current status of the request.
$sel:httpStatus:CreateBackendStorageResponse', createBackendStorageResponse_httpStatus - The response's http status code.
Response Lenses
createBackendStorageResponse_appId :: Lens' CreateBackendStorageResponse (Maybe Text) Source #
The app ID.
createBackendStorageResponse_backendEnvironmentName :: Lens' CreateBackendStorageResponse (Maybe Text) Source #
The name of the backend environment.
createBackendStorageResponse_jobId :: Lens' CreateBackendStorageResponse (Maybe Text) Source #
The ID for the job.
createBackendStorageResponse_status :: Lens' CreateBackendStorageResponse (Maybe Text) Source #
The current status of the request.
createBackendStorageResponse_httpStatus :: Lens' CreateBackendStorageResponse Int Source #
The response's http status code.