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 Container.
See: Tag Manager API Reference for tagmanager.accounts.containers.update
.
Synopsis
- type AccountsContainersUpdateResource = "tagmanager" :> ("v2" :> (Capture "path" Text :> (QueryParam "fingerprint" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Container :> Put '[JSON] Container)))))
- accountsContainersUpdate :: Text -> Container -> AccountsContainersUpdate
- data AccountsContainersUpdate
- acuPath :: Lens' AccountsContainersUpdate Text
- acuFingerprint :: Lens' AccountsContainersUpdate (Maybe Text)
- acuPayload :: Lens' AccountsContainersUpdate Container
REST Resource
type AccountsContainersUpdateResource = "tagmanager" :> ("v2" :> (Capture "path" Text :> (QueryParam "fingerprint" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Container :> Put '[JSON] Container))))) Source #
A resource alias for tagmanager.accounts.containers.update
method which the
AccountsContainersUpdate
request conforms to.
Creating a Request
accountsContainersUpdate Source #
Creates a value of AccountsContainersUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsContainersUpdate Source #
Updates a Container.
See: accountsContainersUpdate
smart constructor.
Instances
Request Lenses
acuPath :: Lens' AccountsContainersUpdate Text Source #
GTM Container's API relative path. Example: accounts/{account_id}/containers/{container_id}
acuFingerprint :: Lens' AccountsContainersUpdate (Maybe Text) Source #
When provided, this fingerprint must match the fingerprint of the container in storage.
acuPayload :: Lens' AccountsContainersUpdate Container Source #
Multipart request metadata.