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 |
Instantiates a template and begins execution.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata.On successful completion, Operation.response will be Empty.
See: Cloud Dataproc API Reference for dataproc.projects.regions.workflowTemplates.instantiate
.
Synopsis
- type ProjectsRegionsWorkflowTemplatesInstantiateResource = "v1" :> (CaptureMode "name" "instantiate" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstantiateWorkflowTemplateRequest :> Post '[JSON] Operation))))))))
- projectsRegionsWorkflowTemplatesInstantiate :: InstantiateWorkflowTemplateRequest -> Text -> ProjectsRegionsWorkflowTemplatesInstantiate
- data ProjectsRegionsWorkflowTemplatesInstantiate
- prwtiXgafv :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate (Maybe Xgafv)
- prwtiUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate (Maybe Text)
- prwtiAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate (Maybe Text)
- prwtiUploadType :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate (Maybe Text)
- prwtiPayload :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate InstantiateWorkflowTemplateRequest
- prwtiName :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate Text
- prwtiCallback :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate (Maybe Text)
REST Resource
type ProjectsRegionsWorkflowTemplatesInstantiateResource = "v1" :> (CaptureMode "name" "instantiate" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] InstantiateWorkflowTemplateRequest :> Post '[JSON] Operation)))))))) Source #
A resource alias for dataproc.projects.regions.workflowTemplates.instantiate
method which the
ProjectsRegionsWorkflowTemplatesInstantiate
request conforms to.
Creating a Request
projectsRegionsWorkflowTemplatesInstantiate Source #
Creates a value of ProjectsRegionsWorkflowTemplatesInstantiate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRegionsWorkflowTemplatesInstantiate Source #
Instantiates a template and begins execution.The returned Operation can be used to track execution of workflow by polling operations.get. The Operation will complete when entire workflow is finished.The running workflow can be aborted via operations.cancel. This will cause any inflight jobs to be cancelled and workflow-owned clusters to be deleted.The Operation.metadata will be WorkflowMetadata.On successful completion, Operation.response will be Empty.
See: projectsRegionsWorkflowTemplatesInstantiate
smart constructor.
Instances
Request Lenses
prwtiXgafv :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate (Maybe Xgafv) Source #
V1 error format.
prwtiUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prwtiAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate (Maybe Text) Source #
OAuth access token.
prwtiUploadType :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prwtiPayload :: Lens' ProjectsRegionsWorkflowTemplatesInstantiate InstantiateWorkflowTemplateRequest Source #
Multipart request metadata.