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.locations.workflowTemplates.instantiate
.
Synopsis
- type ProjectsLocationsWorkflowTemplatesInstantiateResource = "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))))))))
- projectsLocationsWorkflowTemplatesInstantiate :: InstantiateWorkflowTemplateRequest -> Text -> ProjectsLocationsWorkflowTemplatesInstantiate
- data ProjectsLocationsWorkflowTemplatesInstantiate
- plwtiXgafv :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate (Maybe Xgafv)
- plwtiUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate (Maybe Text)
- plwtiAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate (Maybe Text)
- plwtiUploadType :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate (Maybe Text)
- plwtiPayload :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate InstantiateWorkflowTemplateRequest
- plwtiName :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate Text
- plwtiCallback :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate (Maybe Text)
REST Resource
type ProjectsLocationsWorkflowTemplatesInstantiateResource = "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.locations.workflowTemplates.instantiate
method which the
ProjectsLocationsWorkflowTemplatesInstantiate
request conforms to.
Creating a Request
projectsLocationsWorkflowTemplatesInstantiate Source #
Creates a value of ProjectsLocationsWorkflowTemplatesInstantiate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsWorkflowTemplatesInstantiate 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: projectsLocationsWorkflowTemplatesInstantiate
smart constructor.
Instances
Request Lenses
plwtiXgafv :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate (Maybe Xgafv) Source #
V1 error format.
plwtiUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plwtiAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate (Maybe Text) Source #
OAuth access token.
plwtiUploadType :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plwtiPayload :: Lens' ProjectsLocationsWorkflowTemplatesInstantiate InstantiateWorkflowTemplateRequest Source #
Multipart request metadata.