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