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 |
Deletes a job.
See: YouTube Reporting API Reference for youtubereporting.jobs.delete
.
Synopsis
- type JobsDeleteResource = "v1" :> ("jobs" :> (Capture "jobId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty)))))))))
- jobsDelete :: Text -> JobsDelete
- data JobsDelete
- jdXgafv :: Lens' JobsDelete (Maybe Xgafv)
- jdJobId :: Lens' JobsDelete Text
- jdUploadProtocol :: Lens' JobsDelete (Maybe Text)
- jdAccessToken :: Lens' JobsDelete (Maybe Text)
- jdUploadType :: Lens' JobsDelete (Maybe Text)
- jdOnBehalfOfContentOwner :: Lens' JobsDelete (Maybe Text)
- jdCallback :: Lens' JobsDelete (Maybe Text)
REST Resource
type JobsDeleteResource = "v1" :> ("jobs" :> (Capture "jobId" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "onBehalfOfContentOwner" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> Delete '[JSON] Empty))))))))) Source #
A resource alias for youtubereporting.jobs.delete
method which the
JobsDelete
request conforms to.
Creating a Request
:: Text | |
-> JobsDelete |
Creates a value of JobsDelete
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data JobsDelete Source #
Deletes a job.
See: jobsDelete
smart constructor.
Instances
Request Lenses
jdUploadProtocol :: Lens' JobsDelete (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
jdAccessToken :: Lens' JobsDelete (Maybe Text) Source #
OAuth access token.
jdUploadType :: Lens' JobsDelete (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
jdOnBehalfOfContentOwner :: Lens' JobsDelete (Maybe Text) Source #
The content owner's external ID on which behalf the user is acting on. If not set, the user is acting for himself (his own channel).
jdCallback :: Lens' JobsDelete (Maybe Text) Source #
JSONP