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 |
Create a new filter.
See: Google Analytics API Reference for analytics.management.filters.insert
.
Synopsis
- type ManagementFiltersInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("filters" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Filter :> Post '[JSON] Filter)))))))
- managementFiltersInsert :: Filter -> Text -> ManagementFiltersInsert
- data ManagementFiltersInsert
- mfiPayload :: Lens' ManagementFiltersInsert Filter
- mfiAccountId :: Lens' ManagementFiltersInsert Text
REST Resource
type ManagementFiltersInsertResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("filters" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Filter :> Post '[JSON] Filter))))))) Source #
A resource alias for analytics.management.filters.insert
method which the
ManagementFiltersInsert
request conforms to.
Creating a Request
managementFiltersInsert Source #
Creates a value of ManagementFiltersInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementFiltersInsert Source #
Create a new filter.
See: managementFiltersInsert
smart constructor.
Instances
Request Lenses
mfiPayload :: Lens' ManagementFiltersInsert Filter Source #
Multipart request metadata.
mfiAccountId :: Lens' ManagementFiltersInsert Text Source #
Account ID to create filter for.