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 |
Updates (replaces) workflow template. The updated template must contain version that matches the current server version.
See: Cloud Dataproc API Reference for dataproc.projects.regions.workflowTemplates.update
.
Synopsis
- type ProjectsRegionsWorkflowTemplatesUpdateResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WorkflowTemplate :> Put '[JSON] WorkflowTemplate))))))))
- projectsRegionsWorkflowTemplatesUpdate :: WorkflowTemplate -> Text -> ProjectsRegionsWorkflowTemplatesUpdate
- data ProjectsRegionsWorkflowTemplatesUpdate
- prwtuXgafv :: Lens' ProjectsRegionsWorkflowTemplatesUpdate (Maybe Xgafv)
- prwtuUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesUpdate (Maybe Text)
- prwtuAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesUpdate (Maybe Text)
- prwtuUploadType :: Lens' ProjectsRegionsWorkflowTemplatesUpdate (Maybe Text)
- prwtuPayload :: Lens' ProjectsRegionsWorkflowTemplatesUpdate WorkflowTemplate
- prwtuName :: Lens' ProjectsRegionsWorkflowTemplatesUpdate Text
- prwtuCallback :: Lens' ProjectsRegionsWorkflowTemplatesUpdate (Maybe Text)
REST Resource
type ProjectsRegionsWorkflowTemplatesUpdateResource = "v1" :> (Capture "name" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] WorkflowTemplate :> Put '[JSON] WorkflowTemplate)))))))) Source #
A resource alias for dataproc.projects.regions.workflowTemplates.update
method which the
ProjectsRegionsWorkflowTemplatesUpdate
request conforms to.
Creating a Request
projectsRegionsWorkflowTemplatesUpdate Source #
Creates a value of ProjectsRegionsWorkflowTemplatesUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRegionsWorkflowTemplatesUpdate Source #
Updates (replaces) workflow template. The updated template must contain version that matches the current server version.
See: projectsRegionsWorkflowTemplatesUpdate
smart constructor.
Instances
Request Lenses
prwtuXgafv :: Lens' ProjectsRegionsWorkflowTemplatesUpdate (Maybe Xgafv) Source #
V1 error format.
prwtuUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesUpdate (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prwtuAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesUpdate (Maybe Text) Source #
OAuth access token.
prwtuUploadType :: Lens' ProjectsRegionsWorkflowTemplatesUpdate (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prwtuPayload :: Lens' ProjectsRegionsWorkflowTemplatesUpdate WorkflowTemplate Source #
Multipart request metadata.