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 |
Lists the permissions testable on a resource. A permission is testable if it can be tested for an identity on a resource.
See: Identity and Access Management (IAM) API Reference for iam.permissions.queryTestablePermissions
.
Synopsis
- type PermissionsQueryTestablePermissionsResource = "v1" :> ("permissions:queryTestablePermissions" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] QueryTestablePermissionsRequest :> Post '[JSON] QueryTestablePermissionsResponse))))))))
- permissionsQueryTestablePermissions :: QueryTestablePermissionsRequest -> PermissionsQueryTestablePermissions
- data PermissionsQueryTestablePermissions
- pqtpXgafv :: Lens' PermissionsQueryTestablePermissions (Maybe Xgafv)
- pqtpUploadProtocol :: Lens' PermissionsQueryTestablePermissions (Maybe Text)
- pqtpAccessToken :: Lens' PermissionsQueryTestablePermissions (Maybe Text)
- pqtpUploadType :: Lens' PermissionsQueryTestablePermissions (Maybe Text)
- pqtpPayload :: Lens' PermissionsQueryTestablePermissions QueryTestablePermissionsRequest
- pqtpCallback :: Lens' PermissionsQueryTestablePermissions (Maybe Text)
REST Resource
type PermissionsQueryTestablePermissionsResource = "v1" :> ("permissions:queryTestablePermissions" :> (QueryParam "$.xgafv" Xgafv :> (QueryParam "upload_protocol" Text :> (QueryParam "access_token" Text :> (QueryParam "uploadType" Text :> (QueryParam "callback" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] QueryTestablePermissionsRequest :> Post '[JSON] QueryTestablePermissionsResponse)))))))) Source #
A resource alias for iam.permissions.queryTestablePermissions
method which the
PermissionsQueryTestablePermissions
request conforms to.
Creating a Request
permissionsQueryTestablePermissions Source #
Creates a value of PermissionsQueryTestablePermissions
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data PermissionsQueryTestablePermissions Source #
Lists the permissions testable on a resource. A permission is testable if it can be tested for an identity on a resource.
See: permissionsQueryTestablePermissions
smart constructor.
Instances
Request Lenses
pqtpUploadProtocol :: Lens' PermissionsQueryTestablePermissions (Maybe Text) Source #
Upload protocol for media (e.g. "raw", "multipart").
pqtpAccessToken :: Lens' PermissionsQueryTestablePermissions (Maybe Text) Source #
OAuth access token.
pqtpUploadType :: Lens' PermissionsQueryTestablePermissions (Maybe Text) Source #
Legacy upload protocol for media (e.g. "media", "multipart").
pqtpPayload :: Lens' PermissionsQueryTestablePermissions QueryTestablePermissionsRequest Source #
Multipart request metadata.