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 one account permission by ID.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.accountPermissions.get
.
Synopsis
- type AccountPermissionsGetResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("accountPermissions" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] AccountPermission))))))
- accountPermissionsGet :: Int64 -> Int64 -> AccountPermissionsGet
- data AccountPermissionsGet
- apgProFileId :: Lens' AccountPermissionsGet Int64
- apgId :: Lens' AccountPermissionsGet Int64
REST Resource
type AccountPermissionsGetResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("accountPermissions" :> (Capture "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> Get '[JSON] AccountPermission)))))) Source #
A resource alias for dfareporting.accountPermissions.get
method which the
AccountPermissionsGet
request conforms to.
Creating a Request
accountPermissionsGet Source #
Creates a value of AccountPermissionsGet
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountPermissionsGet Source #
Gets one account permission by ID.
See: accountPermissionsGet
smart constructor.
Instances
Request Lenses
apgProFileId :: Lens' AccountPermissionsGet Int64 Source #
User profile ID associated with this request.