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