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 |
Updates an existing user role. This method supports patch semantics.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.userRoles.patch
.
Synopsis
- type UserRolesPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("userRoles" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UserRole :> Patch '[JSON] UserRole)))))))
- userRolesPatch :: Int64 -> UserRole -> Int64 -> UserRolesPatch
- data UserRolesPatch
- urpProFileId :: Lens' UserRolesPatch Int64
- urpPayload :: Lens' UserRolesPatch UserRole
- urpId :: Lens' UserRolesPatch Int64
REST Resource
type UserRolesPatchResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("userRoles" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] UserRole :> Patch '[JSON] UserRole))))))) Source #
A resource alias for dfareporting.userRoles.patch
method which the
UserRolesPatch
request conforms to.
Creating a Request
Creates a value of UserRolesPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data UserRolesPatch Source #
Updates an existing user role. This method supports patch semantics.
See: userRolesPatch
smart constructor.
Instances
Request Lenses
urpProFileId :: Lens' UserRolesPatch Int64 Source #
User profile ID associated with this request.
urpPayload :: Lens' UserRolesPatch UserRole Source #
Multipart request metadata.