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