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