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 on the specified Source.
See: Cloud Security Command Center API Reference for securitycenter.organizations.sources.getIamPolicy
.
Synopsis
- type OrganizationsSourcesGetIAMPolicyResource = "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))))))))
- organizationsSourcesGetIAMPolicy :: GetIAMPolicyRequest -> Text -> OrganizationsSourcesGetIAMPolicy
- data OrganizationsSourcesGetIAMPolicy
- osgipXgafv :: Lens' OrganizationsSourcesGetIAMPolicy (Maybe Xgafv)
- osgipUploadProtocol :: Lens' OrganizationsSourcesGetIAMPolicy (Maybe Text)
- osgipAccessToken :: Lens' OrganizationsSourcesGetIAMPolicy (Maybe Text)
- osgipUploadType :: Lens' OrganizationsSourcesGetIAMPolicy (Maybe Text)
- osgipPayload :: Lens' OrganizationsSourcesGetIAMPolicy GetIAMPolicyRequest
- osgipResource :: Lens' OrganizationsSourcesGetIAMPolicy Text
- osgipCallback :: Lens' OrganizationsSourcesGetIAMPolicy (Maybe Text)
REST Resource
type OrganizationsSourcesGetIAMPolicyResource = "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 securitycenter.organizations.sources.getIamPolicy
method which the
OrganizationsSourcesGetIAMPolicy
request conforms to.
Creating a Request
organizationsSourcesGetIAMPolicy Source #
Creates a value of OrganizationsSourcesGetIAMPolicy
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsSourcesGetIAMPolicy Source #
Gets the access control policy on the specified Source.
See: organizationsSourcesGetIAMPolicy
smart constructor.
Instances
Request Lenses
osgipXgafv :: Lens' OrganizationsSourcesGetIAMPolicy (Maybe Xgafv) Source #
V1 error format.
osgipUploadProtocol :: Lens' OrganizationsSourcesGetIAMPolicy (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
osgipAccessToken :: Lens' OrganizationsSourcesGetIAMPolicy (Maybe Text) Source #
OAuth access token.
osgipUploadType :: Lens' OrganizationsSourcesGetIAMPolicy (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
osgipPayload :: Lens' OrganizationsSourcesGetIAMPolicy GetIAMPolicyRequest Source #
Multipart request metadata.
osgipResource :: Lens' OrganizationsSourcesGetIAMPolicy Text Source #
REQUIRED: The resource for which the policy is being requested. See the operation documentation for the appropriate value for this field.