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