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 |
Returns the permissions that a caller has on the specified source.
See: Cloud Security Command Center API Reference for securitycenter.organizations.sources.testIamPermissions
.
Synopsis
- type OrganizationsSourcesTestIAMPermissionsResource = "v1" :> (CaptureMode "resource" "testIamPermissions" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse))))))))
- organizationsSourcesTestIAMPermissions :: TestIAMPermissionsRequest -> Text -> OrganizationsSourcesTestIAMPermissions
- data OrganizationsSourcesTestIAMPermissions
- ostipXgafv :: Lens' OrganizationsSourcesTestIAMPermissions (Maybe Xgafv)
- ostipUploadProtocol :: Lens' OrganizationsSourcesTestIAMPermissions (Maybe Text)
- ostipAccessToken :: Lens' OrganizationsSourcesTestIAMPermissions (Maybe Text)
- ostipUploadType :: Lens' OrganizationsSourcesTestIAMPermissions (Maybe Text)
- ostipPayload :: Lens' OrganizationsSourcesTestIAMPermissions TestIAMPermissionsRequest
- ostipResource :: Lens' OrganizationsSourcesTestIAMPermissions Text
- ostipCallback :: Lens' OrganizationsSourcesTestIAMPermissions (Maybe Text)
REST Resource
type OrganizationsSourcesTestIAMPermissionsResource = "v1" :> (CaptureMode "resource" "testIamPermissions" Text :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] TestIAMPermissionsRequest :> Post '[JSON] TestIAMPermissionsResponse)))))))) Source #
A resource alias for securitycenter.organizations.sources.testIamPermissions
method which the
OrganizationsSourcesTestIAMPermissions
request conforms to.
Creating a Request
organizationsSourcesTestIAMPermissions Source #
Creates a value of OrganizationsSourcesTestIAMPermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data OrganizationsSourcesTestIAMPermissions Source #
Returns the permissions that a caller has on the specified source.
See: organizationsSourcesTestIAMPermissions
smart constructor.
Instances
Request Lenses
ostipXgafv :: Lens' OrganizationsSourcesTestIAMPermissions (Maybe Xgafv) Source #
V1 error format.
ostipUploadProtocol :: Lens' OrganizationsSourcesTestIAMPermissions (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
ostipAccessToken :: Lens' OrganizationsSourcesTestIAMPermissions (Maybe Text) Source #
OAuth access token.
ostipUploadType :: Lens' OrganizationsSourcesTestIAMPermissions (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
ostipPayload :: Lens' OrganizationsSourcesTestIAMPermissions TestIAMPermissionsRequest Source #
Multipart request metadata.
ostipResource :: Lens' OrganizationsSourcesTestIAMPermissions Text Source #
REQUIRED: The resource for which the policy detail is being requested. See the operation documentation for the appropriate value for this field.