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.This method is equivalent to executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.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.instantiateInline
.
Synopsis
- type ProjectsLocationsWorkflowTemplatesInstantiateInlineResource = "v1" :> (Capture "parent" Text :> ("workflowTemplates:instantiateInline" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "requestId" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WorkflowTemplate :> Post '[JSON] Operation))))))))))
- projectsLocationsWorkflowTemplatesInstantiateInline :: Text -> WorkflowTemplate -> ProjectsLocationsWorkflowTemplatesInstantiateInline
- data ProjectsLocationsWorkflowTemplatesInstantiateInline
- plwtiiParent :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline Text
- plwtiiXgafv :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline (Maybe Xgafv)
- plwtiiRequestId :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline (Maybe Text)
- plwtiiUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline (Maybe Text)
- plwtiiAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline (Maybe Text)
- plwtiiUploadType :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline (Maybe Text)
- plwtiiPayload :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline WorkflowTemplate
- plwtiiCallback :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline (Maybe Text)
REST Resource
type ProjectsLocationsWorkflowTemplatesInstantiateInlineResource = "v1" :> (Capture "parent" Text :> ("workflowTemplates:instantiateInline" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "requestId" Text :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WorkflowTemplate :> Post '[JSON] Operation)))))))))) Source #
A resource alias for dataproc.projects.locations.workflowTemplates.instantiateInline
method which the
ProjectsLocationsWorkflowTemplatesInstantiateInline
request conforms to.
Creating a Request
projectsLocationsWorkflowTemplatesInstantiateInline Source #
Creates a value of ProjectsLocationsWorkflowTemplatesInstantiateInline
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsLocationsWorkflowTemplatesInstantiateInline Source #
Instantiates a template and begins execution.This method is equivalent to executing the sequence CreateWorkflowTemplate, InstantiateWorkflowTemplate, DeleteWorkflowTemplate.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: projectsLocationsWorkflowTemplatesInstantiateInline
smart constructor.
Instances
Request Lenses
plwtiiParent :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline Text Source #
Required. The "resource name" of the workflow template region, as described in https://cloud.google.com/apis/design/resource_names of the form projects/{project_id}/regions/{region}
plwtiiXgafv :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline (Maybe Xgafv) Source #
V1 error format.
plwtiiRequestId :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline (Maybe Text) Source #
Optional. A tag that prevents multiple concurrent workflow instances with the same tag from running. This mitigates risk of concurrent instances started due to retries.It is recommended to always set this value to a UUID (https://en.wikipedia.org/wiki/Universally_unique_identifier).The tag must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
plwtiiUploadProtocol :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
plwtiiAccessToken :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline (Maybe Text) Source #
OAuth access token.
plwtiiUploadType :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
plwtiiPayload :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline WorkflowTemplate Source #
Multipart request metadata.