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 a GTM Account.
See: Tag Manager API Reference for tagmanager.accounts.update
.
- type AccountsUpdateResource = "tagmanager" :> ("v1" :> ("accounts" :> (Capture "accountId" Text :> (QueryParam "fingerprint" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Account :> Put '[JSON] Account))))))
- accountsUpdate :: Account -> Text -> AccountsUpdate
- data AccountsUpdate
- auFingerprint :: Lens' AccountsUpdate (Maybe Text)
- auPayload :: Lens' AccountsUpdate Account
- auAccountId :: Lens' AccountsUpdate Text
REST Resource
type AccountsUpdateResource = "tagmanager" :> ("v1" :> ("accounts" :> (Capture "accountId" Text :> (QueryParam "fingerprint" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Account :> Put '[JSON] Account)))))) Source #
A resource alias for tagmanager.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 a GTM Account.
See: accountsUpdate
smart constructor.
Request Lenses
auFingerprint :: Lens' AccountsUpdate (Maybe Text) Source #
When provided, this fingerprint must match the fingerprint of the account in storage.
auAccountId :: Lens' AccountsUpdate Text Source #
The GTM Account ID.