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 |
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
See: Cloud Dataproc API Reference for dataproc.projects.regions.workflowTemplates.getIamPolicy
.
Synopsis
- type ProjectsRegionsWorkflowTemplatesGetIAMPolicyResource = "v1" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GetIAMPolicyRequest :> Post '[JSON] Policy))))))))
- projectsRegionsWorkflowTemplatesGetIAMPolicy :: GetIAMPolicyRequest -> Text -> ProjectsRegionsWorkflowTemplatesGetIAMPolicy
- data ProjectsRegionsWorkflowTemplatesGetIAMPolicy
- prwtgipXgafv :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy (Maybe Xgafv)
- prwtgipUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy (Maybe Text)
- prwtgipAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy (Maybe Text)
- prwtgipUploadType :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy (Maybe Text)
- prwtgipPayload :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy GetIAMPolicyRequest
- prwtgipResource :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy Text
- prwtgipCallback :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy (Maybe Text)
REST Resource
type ProjectsRegionsWorkflowTemplatesGetIAMPolicyResource = "v1" :> (CaptureMode "resource" "getIamPolicy" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] GetIAMPolicyRequest :> Post '[JSON] Policy)))))))) Source #
A resource alias for dataproc.projects.regions.workflowTemplates.getIamPolicy
method which the
ProjectsRegionsWorkflowTemplatesGetIAMPolicy
request conforms to.
Creating a Request
projectsRegionsWorkflowTemplatesGetIAMPolicy Source #
Creates a value of ProjectsRegionsWorkflowTemplatesGetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ProjectsRegionsWorkflowTemplatesGetIAMPolicy Source #
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
See: projectsRegionsWorkflowTemplatesGetIAMPolicy
smart constructor.
Instances
Request Lenses
prwtgipXgafv :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
prwtgipUploadProtocol :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
prwtgipAccessToken :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy (Maybe Text) Source #
OAuth access token.
prwtgipUploadType :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
prwtgipPayload :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy GetIAMPolicyRequest Source #
Multipart request metadata.
prwtgipResource :: Lens' ProjectsRegionsWorkflowTemplatesGetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.