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 |
Gets details for a backend storage resource.
Synopsis
- data GetBackendStorage = GetBackendStorage' {}
- newGetBackendStorage :: Text -> Text -> Text -> GetBackendStorage
- getBackendStorage_appId :: Lens' GetBackendStorage Text
- getBackendStorage_backendEnvironmentName :: Lens' GetBackendStorage Text
- getBackendStorage_resourceName :: Lens' GetBackendStorage Text
- data GetBackendStorageResponse = GetBackendStorageResponse' {}
- newGetBackendStorageResponse :: Int -> GetBackendStorageResponse
- getBackendStorageResponse_appId :: Lens' GetBackendStorageResponse (Maybe Text)
- getBackendStorageResponse_backendEnvironmentName :: Lens' GetBackendStorageResponse (Maybe Text)
- getBackendStorageResponse_resourceConfig :: Lens' GetBackendStorageResponse (Maybe GetBackendStorageResourceConfig)
- getBackendStorageResponse_resourceName :: Lens' GetBackendStorageResponse (Maybe Text)
- getBackendStorageResponse_httpStatus :: Lens' GetBackendStorageResponse Int
Creating a Request
data GetBackendStorage Source #
The request body for GetBackendStorage.
See: newGetBackendStorage
smart constructor.
GetBackendStorage' | |
|
Instances
Create a value of GetBackendStorage
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:
GetBackendStorage
, getBackendStorage_appId
- The app ID.
GetBackendStorage
, getBackendStorage_backendEnvironmentName
- The name of the backend environment.
GetBackendStorage
, getBackendStorage_resourceName
- The name of the storage resource.
Request Lenses
getBackendStorage_appId :: Lens' GetBackendStorage Text Source #
The app ID.
getBackendStorage_backendEnvironmentName :: Lens' GetBackendStorage Text Source #
The name of the backend environment.
getBackendStorage_resourceName :: Lens' GetBackendStorage Text Source #
The name of the storage resource.
Destructuring the Response
data GetBackendStorageResponse Source #
See: newGetBackendStorageResponse
smart constructor.
GetBackendStorageResponse' | |
|
Instances
newGetBackendStorageResponse Source #
Create a value of GetBackendStorageResponse
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:
GetBackendStorage
, getBackendStorageResponse_appId
- The app ID.
GetBackendStorage
, getBackendStorageResponse_backendEnvironmentName
- The name of the backend environment.
$sel:resourceConfig:GetBackendStorageResponse'
, getBackendStorageResponse_resourceConfig
- The resource configuration for the backend storage resource.
GetBackendStorage
, getBackendStorageResponse_resourceName
- The name of the storage resource.
$sel:httpStatus:GetBackendStorageResponse'
, getBackendStorageResponse_httpStatus
- The response's http status code.
Response Lenses
getBackendStorageResponse_appId :: Lens' GetBackendStorageResponse (Maybe Text) Source #
The app ID.
getBackendStorageResponse_backendEnvironmentName :: Lens' GetBackendStorageResponse (Maybe Text) Source #
The name of the backend environment.
getBackendStorageResponse_resourceConfig :: Lens' GetBackendStorageResponse (Maybe GetBackendStorageResourceConfig) Source #
The resource configuration for the backend storage resource.
getBackendStorageResponse_resourceName :: Lens' GetBackendStorageResponse (Maybe Text) Source #
The name of the storage resource.
getBackendStorageResponse_httpStatus :: Lens' GetBackendStorageResponse Int Source #
The response's http status code.