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