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 account.
See: Ad Exchange Buyer API Reference for adexchangebuyer.accounts.update
.
Synopsis
- type AccountsUpdateResource = "adexchangebuyer" :> ("v1.4" :> ("accounts" :> (Capture "id" (Textual Int32) :> (QueryParam "confirmUnsafeAccountChange" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Account :> Put '[JSON] Account))))))
- accountsUpdate :: Account -> Int32 -> AccountsUpdate
- data AccountsUpdate
- auPayload :: Lens' AccountsUpdate Account
- auConfirmUnsafeAccountChange :: Lens' AccountsUpdate (Maybe Bool)
- auId :: Lens' AccountsUpdate Int32
REST Resource
type AccountsUpdateResource = "adexchangebuyer" :> ("v1.4" :> ("accounts" :> (Capture "id" (Textual Int32) :> (QueryParam "confirmUnsafeAccountChange" Bool :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Account :> Put '[JSON] Account)))))) Source #
A resource alias for adexchangebuyer.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.
Instances
Request Lenses
auConfirmUnsafeAccountChange :: Lens' AccountsUpdate (Maybe Bool) Source #
Confirmation for erasing bidder and cookie matching urls.