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