Copyright | (c) 2015-2016 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Language | Haskell2010 |
Resumes a transfer operation that is paused.
See: Storage Transfer API Reference for storagetransfer.transferOperations.resume
.
Synopsis
- type TransferOperationsResumeResource = "v1" :> (CaptureMode "name" "resume" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ResumeTransferOperationRequest :> Post '[JSON] Empty))))))))
- transferOperationsResume :: ResumeTransferOperationRequest -> Text -> TransferOperationsResume
- data TransferOperationsResume
- torXgafv :: Lens' TransferOperationsResume (Maybe Xgafv)
- torUploadProtocol :: Lens' TransferOperationsResume (Maybe Text)
- torAccessToken :: Lens' TransferOperationsResume (Maybe Text)
- torUploadType :: Lens' TransferOperationsResume (Maybe Text)
- torPayload :: Lens' TransferOperationsResume ResumeTransferOperationRequest
- torName :: Lens' TransferOperationsResume Text
- torCallback :: Lens' TransferOperationsResume (Maybe Text)
REST Resource
type TransferOperationsResumeResource = "v1" :> (CaptureMode "name" "resume" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ResumeTransferOperationRequest :> Post '[JSON] Empty)))))))) Source #
A resource alias for storagetransfer.transferOperations.resume
method which the
TransferOperationsResume
request conforms to.
Creating a Request
transferOperationsResume Source #
Creates a value of TransferOperationsResume
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TransferOperationsResume Source #
Resumes a transfer operation that is paused.
See: transferOperationsResume
smart constructor.
Instances
Request Lenses
torUploadProtocol :: Lens' TransferOperationsResume (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
torAccessToken :: Lens' TransferOperationsResume (Maybe Text) Source #
OAuth access token.
torUploadType :: Lens' TransferOperationsResume (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
torPayload :: Lens' TransferOperationsResume ResumeTransferOperationRequest Source #
Multipart request metadata.
torName :: Lens' TransferOperationsResume Text Source #
The name of the transfer operation. Required.
torCallback :: Lens' TransferOperationsResume (Maybe Text) Source #
JSONP