gogol-dataproc-0.4.0: Google Cloud Dataproc SDK.

Copyright(c) 2015-2016 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone
LanguageHaskell2010

Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline

Contents

Description

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

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

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
Eq ProjectsLocationsWorkflowTemplatesInstantiateInline Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline

Data ProjectsLocationsWorkflowTemplatesInstantiateInline Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline

Methods

gfoldl :: (forall d b. Data d => c (d -> b) -> d -> c b) -> (forall g. g -> c g) -> ProjectsLocationsWorkflowTemplatesInstantiateInline -> c ProjectsLocationsWorkflowTemplatesInstantiateInline #

gunfold :: (forall b r. Data b => c (b -> r) -> c r) -> (forall r. r -> c r) -> Constr -> c ProjectsLocationsWorkflowTemplatesInstantiateInline #

toConstr :: ProjectsLocationsWorkflowTemplatesInstantiateInline -> Constr #

dataTypeOf :: ProjectsLocationsWorkflowTemplatesInstantiateInline -> DataType #

dataCast1 :: Typeable t => (forall d. Data d => c (t d)) -> Maybe (c ProjectsLocationsWorkflowTemplatesInstantiateInline) #

dataCast2 :: Typeable t => (forall d e. (Data d, Data e) => c (t d e)) -> Maybe (c ProjectsLocationsWorkflowTemplatesInstantiateInline) #

gmapT :: (forall b. Data b => b -> b) -> ProjectsLocationsWorkflowTemplatesInstantiateInline -> ProjectsLocationsWorkflowTemplatesInstantiateInline #

gmapQl :: (r -> r' -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsLocationsWorkflowTemplatesInstantiateInline -> r #

gmapQr :: (r' -> r -> r) -> r -> (forall d. Data d => d -> r') -> ProjectsLocationsWorkflowTemplatesInstantiateInline -> r #

gmapQ :: (forall d. Data d => d -> u) -> ProjectsLocationsWorkflowTemplatesInstantiateInline -> [u] #

gmapQi :: Int -> (forall d. Data d => d -> u) -> ProjectsLocationsWorkflowTemplatesInstantiateInline -> u #

gmapM :: Monad m => (forall d. Data d => d -> m d) -> ProjectsLocationsWorkflowTemplatesInstantiateInline -> m ProjectsLocationsWorkflowTemplatesInstantiateInline #

gmapMp :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsLocationsWorkflowTemplatesInstantiateInline -> m ProjectsLocationsWorkflowTemplatesInstantiateInline #

gmapMo :: MonadPlus m => (forall d. Data d => d -> m d) -> ProjectsLocationsWorkflowTemplatesInstantiateInline -> m ProjectsLocationsWorkflowTemplatesInstantiateInline #

Show ProjectsLocationsWorkflowTemplatesInstantiateInline Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline

Generic ProjectsLocationsWorkflowTemplatesInstantiateInline Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline

GoogleRequest ProjectsLocationsWorkflowTemplatesInstantiateInline Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline

type Rep ProjectsLocationsWorkflowTemplatesInstantiateInline Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline

type Rep ProjectsLocationsWorkflowTemplatesInstantiateInline = D1 (MetaData "ProjectsLocationsWorkflowTemplatesInstantiateInline" "Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline" "gogol-dataproc-0.4.0-1udjiqosCX7iHPt6mLpl8" False) (C1 (MetaCons "ProjectsLocationsWorkflowTemplatesInstantiateInline'" PrefixI True) (((S1 (MetaSel (Just "_plwtiiParent") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 Text) :*: S1 (MetaSel (Just "_plwtiiXgafv") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Xgafv))) :*: (S1 (MetaSel (Just "_plwtiiRequestId") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plwtiiUploadProtocol") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)))) :*: ((S1 (MetaSel (Just "_plwtiiAccessToken") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text)) :*: S1 (MetaSel (Just "_plwtiiUploadType") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))) :*: (S1 (MetaSel (Just "_plwtiiPayload") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 WorkflowTemplate) :*: S1 (MetaSel (Just "_plwtiiCallback") NoSourceUnpackedness SourceStrict DecidedStrict) (Rec0 (Maybe Text))))))
type Scopes ProjectsLocationsWorkflowTemplatesInstantiateInline Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline

type Scopes ProjectsLocationsWorkflowTemplatesInstantiateInline = "https://www.googleapis.com/auth/cloud-platform" ': ([] :: [Symbol])
type Rs ProjectsLocationsWorkflowTemplatesInstantiateInline Source # 
Instance details

Defined in Network.Google.Resource.Dataproc.Projects.Locations.WorkflowTemplates.InstantiateInline

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}

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").

plwtiiUploadType :: Lens' ProjectsLocationsWorkflowTemplatesInstantiateInline (Maybe Text) Source #

Legacy upload protocol for media (e.g. "media", "multipart").