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 |
Creates a GTM Trigger.
See: Tag Manager API Reference for tagmanager.accounts.containers.workspaces.triggers.create
.
Synopsis
- type AccountsContainersWorkspacesTriggersCreateResource = "tagmanager" :> ("v2" :> (Capture "parent" Text :> ("triggers" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Trigger :> Post '[JSON] Trigger)))))
- accountsContainersWorkspacesTriggersCreate :: Text -> Trigger -> AccountsContainersWorkspacesTriggersCreate
- data AccountsContainersWorkspacesTriggersCreate
- acwtcParent :: Lens' AccountsContainersWorkspacesTriggersCreate Text
- acwtcPayload :: Lens' AccountsContainersWorkspacesTriggersCreate Trigger
REST Resource
type AccountsContainersWorkspacesTriggersCreateResource = "tagmanager" :> ("v2" :> (Capture "parent" Text :> ("triggers" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Trigger :> Post '[JSON] Trigger))))) Source #
A resource alias for tagmanager.accounts.containers.workspaces.triggers.create
method which the
AccountsContainersWorkspacesTriggersCreate
request conforms to.
Creating a Request
accountsContainersWorkspacesTriggersCreate Source #
Creates a value of AccountsContainersWorkspacesTriggersCreate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data AccountsContainersWorkspacesTriggersCreate Source #
Creates a GTM Trigger.
See: accountsContainersWorkspacesTriggersCreate
smart constructor.
Instances
Request Lenses
acwtcParent :: Lens' AccountsContainersWorkspacesTriggersCreate Text Source #
GTM Workspaces's API relative path. Example: accounts/{account_id}/containers/{container_id}/workspaces/{workspace_id}
acwtcPayload :: Lens' AccountsContainersWorkspacesTriggersCreate Trigger Source #
Multipart request metadata.