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 a list of user role permissions, possibly filtered.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.userRolePermissions.list
.
Synopsis
- type UserRolePermissionsListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("userRolePermissions" :> (QueryParams "ids" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] UserRolePermissionsListResponse))))))
- userRolePermissionsList :: Int64 -> UserRolePermissionsList
- data UserRolePermissionsList
- urplIds :: Lens' UserRolePermissionsList [Int64]
- urplProFileId :: Lens' UserRolePermissionsList Int64
REST Resource
type UserRolePermissionsListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("userRolePermissions" :> (QueryParams "ids" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] UserRolePermissionsListResponse)))))) Source #
A resource alias for dfareporting.userRolePermissions.list
method which the
UserRolePermissionsList
request conforms to.
Creating a Request
userRolePermissionsList Source #
Creates a value of UserRolePermissionsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UserRolePermissionsList Source #
Gets a list of user role permissions, possibly filtered.
See: userRolePermissionsList
smart constructor.
Instances
Request Lenses
urplIds :: Lens' UserRolePermissionsList [Int64] Source #
Select only user role permissions with these IDs.
urplProFileId :: Lens' UserRolePermissionsList Int64 Source #
User profile ID associated with this request.