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