Copyright | (c) 2015 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 account user profile. This method supports patch semantics.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.accountUserProfiles.patch
.
- type AccountUserProFilesPatchResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("accountUserProfiles" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` AccountUserProFile :> Patch `[JSON]` AccountUserProFile)))))))
- accountUserProFilesPatch :: Int64 -> AccountUserProFile -> Int64 -> AccountUserProFilesPatch
- data AccountUserProFilesPatch
- aupfpProFileId :: Lens' AccountUserProFilesPatch Int64
- aupfpPayload :: Lens' AccountUserProFilesPatch AccountUserProFile
- aupfpId :: Lens' AccountUserProFilesPatch Int64
REST Resource
type AccountUserProFilesPatchResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("accountUserProfiles" :> (QueryParam "id" (Textual Int64) :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` AccountUserProFile :> Patch `[JSON]` AccountUserProFile))))))) Source
A resource alias for dfareporting.accountUserProfiles.patch
method which the
AccountUserProFilesPatch
request conforms to.
Creating a Request
accountUserProFilesPatch Source
Creates a value of AccountUserProFilesPatch
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountUserProFilesPatch Source
Updates an existing account user profile. This method supports patch semantics.
See: accountUserProFilesPatch
smart constructor.
Request Lenses
aupfpProFileId :: Lens' AccountUserProFilesPatch Int64 Source
User profile ID associated with this request.
aupfpPayload :: Lens' AccountUserProFilesPatch AccountUserProFile Source
Multipart request metadata.
aupfpId :: Lens' AccountUserProFilesPatch Int64 Source
User profile ID.