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 |
Updates an existing backend storage resource.
Synopsis
- data UpdateBackendStorage = UpdateBackendStorage' {}
- newUpdateBackendStorage :: Text -> Text -> Text -> UpdateBackendStorageResourceConfig -> UpdateBackendStorage
- updateBackendStorage_appId :: Lens' UpdateBackendStorage Text
- updateBackendStorage_backendEnvironmentName :: Lens' UpdateBackendStorage Text
- updateBackendStorage_resourceName :: Lens' UpdateBackendStorage Text
- updateBackendStorage_resourceConfig :: Lens' UpdateBackendStorage UpdateBackendStorageResourceConfig
- data UpdateBackendStorageResponse = UpdateBackendStorageResponse' {}
- newUpdateBackendStorageResponse :: Int -> UpdateBackendStorageResponse
- updateBackendStorageResponse_appId :: Lens' UpdateBackendStorageResponse (Maybe Text)
- updateBackendStorageResponse_backendEnvironmentName :: Lens' UpdateBackendStorageResponse (Maybe Text)
- updateBackendStorageResponse_jobId :: Lens' UpdateBackendStorageResponse (Maybe Text)
- updateBackendStorageResponse_status :: Lens' UpdateBackendStorageResponse (Maybe Text)
- updateBackendStorageResponse_httpStatus :: Lens' UpdateBackendStorageResponse Int
Creating a Request
data UpdateBackendStorage Source #
The request body for UpdateBackendStorage.
See: newUpdateBackendStorage
smart constructor.
UpdateBackendStorage' | |
|
Instances
newUpdateBackendStorage Source #
Create a value of UpdateBackendStorage
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:
UpdateBackendStorage
, updateBackendStorage_appId
- The app ID.
UpdateBackendStorage
, updateBackendStorage_backendEnvironmentName
- The name of the backend environment.
$sel:resourceName:UpdateBackendStorage'
, updateBackendStorage_resourceName
- The name of the storage resource.
$sel:resourceConfig:UpdateBackendStorage'
, updateBackendStorage_resourceConfig
- The resource configuration for updating backend storage.
Request Lenses
updateBackendStorage_appId :: Lens' UpdateBackendStorage Text Source #
The app ID.
updateBackendStorage_backendEnvironmentName :: Lens' UpdateBackendStorage Text Source #
The name of the backend environment.
updateBackendStorage_resourceName :: Lens' UpdateBackendStorage Text Source #
The name of the storage resource.
updateBackendStorage_resourceConfig :: Lens' UpdateBackendStorage UpdateBackendStorageResourceConfig Source #
The resource configuration for updating backend storage.
Destructuring the Response
data UpdateBackendStorageResponse Source #
See: newUpdateBackendStorageResponse
smart constructor.
Instances
newUpdateBackendStorageResponse Source #
Create a value of UpdateBackendStorageResponse
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:
UpdateBackendStorage
, updateBackendStorageResponse_appId
- The app ID.
UpdateBackendStorage
, updateBackendStorageResponse_backendEnvironmentName
- The name of the backend environment.
UpdateBackendStorageResponse
, updateBackendStorageResponse_jobId
- The ID for the job.
UpdateBackendStorageResponse
, updateBackendStorageResponse_status
- The current status of the request.
$sel:httpStatus:UpdateBackendStorageResponse'
, updateBackendStorageResponse_httpStatus
- The response's http status code.
Response Lenses
updateBackendStorageResponse_appId :: Lens' UpdateBackendStorageResponse (Maybe Text) Source #
The app ID.
updateBackendStorageResponse_backendEnvironmentName :: Lens' UpdateBackendStorageResponse (Maybe Text) Source #
The name of the backend environment.
updateBackendStorageResponse_jobId :: Lens' UpdateBackendStorageResponse (Maybe Text) Source #
The ID for the job.
updateBackendStorageResponse_status :: Lens' UpdateBackendStorageResponse (Maybe Text) Source #
The current status of the request.
updateBackendStorageResponse_httpStatus :: Lens' UpdateBackendStorageResponse Int Source #
The response's http status code.