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 |
The worker uses this method to retrieve the assigned operation and provide periodic status updates.
See: Genomics API Reference for genomics.workers.checkIn
.
Synopsis
- type WorkersCheckInResource = "v2alpha1" :> ("workers" :> (CaptureMode "id" "checkIn" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CheckInRequest :> Post '[JSON] CheckInResponse)))))))))
- workersCheckIn :: CheckInRequest -> Text -> WorkersCheckIn
- data WorkersCheckIn
- wciXgafv :: Lens' WorkersCheckIn (Maybe Xgafv)
- wciUploadProtocol :: Lens' WorkersCheckIn (Maybe Text)
- wciAccessToken :: Lens' WorkersCheckIn (Maybe Text)
- wciUploadType :: Lens' WorkersCheckIn (Maybe Text)
- wciPayload :: Lens' WorkersCheckIn CheckInRequest
- wciId :: Lens' WorkersCheckIn Text
- wciCallback :: Lens' WorkersCheckIn (Maybe Text)
REST Resource
type WorkersCheckInResource = "v2alpha1" :> ("workers" :> (CaptureMode "id" "checkIn" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] CheckInRequest :> Post '[JSON] CheckInResponse))))))))) Source #
A resource alias for genomics.workers.checkIn
method which the
WorkersCheckIn
request conforms to.
Creating a Request
Creates a value of WorkersCheckIn
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data WorkersCheckIn Source #
The worker uses this method to retrieve the assigned operation and provide periodic status updates.
See: workersCheckIn
smart constructor.
Instances
Request Lenses
wciUploadProtocol :: Lens' WorkersCheckIn (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
wciAccessToken :: Lens' WorkersCheckIn (Maybe Text) Source #
OAuth access token.
wciUploadType :: Lens' WorkersCheckIn (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
wciPayload :: Lens' WorkersCheckIn CheckInRequest Source #
Multipart request metadata.
wciCallback :: Lens' WorkersCheckIn (Maybe Text) Source #
JSONP