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 |
Imports an existing backend storage resource.
Synopsis
- data ImportBackendStorage = ImportBackendStorage' {}
- newImportBackendStorage :: Text -> Text -> ServiceName -> ImportBackendStorage
- importBackendStorage_bucketName :: Lens' ImportBackendStorage (Maybe Text)
- importBackendStorage_appId :: Lens' ImportBackendStorage Text
- importBackendStorage_backendEnvironmentName :: Lens' ImportBackendStorage Text
- importBackendStorage_serviceName :: Lens' ImportBackendStorage ServiceName
- data ImportBackendStorageResponse = ImportBackendStorageResponse' {}
- newImportBackendStorageResponse :: Int -> ImportBackendStorageResponse
- importBackendStorageResponse_appId :: Lens' ImportBackendStorageResponse (Maybe Text)
- importBackendStorageResponse_backendEnvironmentName :: Lens' ImportBackendStorageResponse (Maybe Text)
- importBackendStorageResponse_jobId :: Lens' ImportBackendStorageResponse (Maybe Text)
- importBackendStorageResponse_status :: Lens' ImportBackendStorageResponse (Maybe Text)
- importBackendStorageResponse_httpStatus :: Lens' ImportBackendStorageResponse Int
Creating a Request
data ImportBackendStorage Source #
The request body for ImportBackendStorage.
See: newImportBackendStorage
smart constructor.
ImportBackendStorage' | |
|
Instances
newImportBackendStorage Source #
:: Text | |
-> Text | |
-> ServiceName | |
-> ImportBackendStorage |
Create a value of ImportBackendStorage
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:
ImportBackendStorage
, importBackendStorage_bucketName
- The name of the S3 bucket.
ImportBackendStorage
, importBackendStorage_appId
- The app ID.
ImportBackendStorage
, importBackendStorage_backendEnvironmentName
- The name of the backend environment.
ImportBackendStorage
, importBackendStorage_serviceName
- The name of the storage service.
Request Lenses
importBackendStorage_bucketName :: Lens' ImportBackendStorage (Maybe Text) Source #
The name of the S3 bucket.
importBackendStorage_appId :: Lens' ImportBackendStorage Text Source #
The app ID.
importBackendStorage_backendEnvironmentName :: Lens' ImportBackendStorage Text Source #
The name of the backend environment.
importBackendStorage_serviceName :: Lens' ImportBackendStorage ServiceName Source #
The name of the storage service.
Destructuring the Response
data ImportBackendStorageResponse Source #
See: newImportBackendStorageResponse
smart constructor.
Instances
newImportBackendStorageResponse Source #
Create a value of ImportBackendStorageResponse
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:
ImportBackendStorage
, importBackendStorageResponse_appId
- The app ID.
ImportBackendStorage
, importBackendStorageResponse_backendEnvironmentName
- The name of the backend environment.
ImportBackendStorageResponse
, importBackendStorageResponse_jobId
- The ID for the job.
ImportBackendStorageResponse
, importBackendStorageResponse_status
- The current status of the request.
$sel:httpStatus:ImportBackendStorageResponse'
, importBackendStorageResponse_httpStatus
- The response's http status code.
Response Lenses
importBackendStorageResponse_appId :: Lens' ImportBackendStorageResponse (Maybe Text) Source #
The app ID.
importBackendStorageResponse_backendEnvironmentName :: Lens' ImportBackendStorageResponse (Maybe Text) Source #
The name of the backend environment.
importBackendStorageResponse_jobId :: Lens' ImportBackendStorageResponse (Maybe Text) Source #
The ID for the job.
importBackendStorageResponse_status :: Lens' ImportBackendStorageResponse (Maybe Text) Source #
The current status of the request.
importBackendStorageResponse_httpStatus :: Lens' ImportBackendStorageResponse Int Source #
The response's http status code.