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 |
Pauses a transfer operation.
See: Storage Transfer API Reference for storagetransfer.transferOperations.pause
.
Synopsis
- type TransferOperationsPauseResource = "v1" :> (CaptureMode "name" "pause" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PauseTransferOperationRequest :> Post '[JSON] Empty))))))))
- transferOperationsPause :: PauseTransferOperationRequest -> Text -> TransferOperationsPause
- data TransferOperationsPause
- topXgafv :: Lens' TransferOperationsPause (Maybe Xgafv)
- topUploadProtocol :: Lens' TransferOperationsPause (Maybe Text)
- topAccessToken :: Lens' TransferOperationsPause (Maybe Text)
- topUploadType :: Lens' TransferOperationsPause (Maybe Text)
- topPayload :: Lens' TransferOperationsPause PauseTransferOperationRequest
- topName :: Lens' TransferOperationsPause Text
- topCallback :: Lens' TransferOperationsPause (Maybe Text)
REST Resource
type TransferOperationsPauseResource = "v1" :> (CaptureMode "name" "pause" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] PauseTransferOperationRequest :> Post '[JSON] Empty)))))))) Source #
A resource alias for storagetransfer.transferOperations.pause
method which the
TransferOperationsPause
request conforms to.
Creating a Request
transferOperationsPause Source #
Creates a value of TransferOperationsPause
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data TransferOperationsPause Source #
Pauses a transfer operation.
See: transferOperationsPause
smart constructor.
Instances
Request Lenses
topUploadProtocol :: Lens' TransferOperationsPause (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
topAccessToken :: Lens' TransferOperationsPause (Maybe Text) Source #
OAuth access token.
topUploadType :: Lens' TransferOperationsPause (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
topPayload :: Lens' TransferOperationsPause PauseTransferOperationRequest Source #
Multipart request metadata.
topCallback :: Lens' TransferOperationsPause (Maybe Text) Source #
JSONP