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.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.accounts.update
.
- type AccountsUpdateResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("accounts" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Account :> Put `[JSON]` Account))))))
- accountsUpdate :: Int64 -> Account -> AccountsUpdate
- data AccountsUpdate
- auuProFileId :: Lens' AccountsUpdate Int64
- auuPayload :: Lens' AccountsUpdate Account
REST Resource
type AccountsUpdateResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("accounts" :> (QueryParam "alt" AltJSON :> (ReqBody `[JSON]` Account :> Put `[JSON]` Account)))))) Source
A resource alias for dfareporting.accounts.update
method which the
AccountsUpdate
request conforms to.
Creating a Request
Creates a value of AccountsUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsUpdate Source
Updates an existing account.
See: accountsUpdate
smart constructor.
Request Lenses
auuProFileId :: Lens' AccountsUpdate Int64 Source
User profile ID associated with this request.
auuPayload :: Lens' AccountsUpdate Account Source
Multipart request metadata.