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 an existing filter.
See: Google Analytics API Reference for analytics.management.filters.update
.
Synopsis
- type ManagementFiltersUpdateResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("filters" :> (Capture "filterId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Filter :> Put '[JSON] Filter))))))))
- managementFiltersUpdate :: Text -> Filter -> Text -> ManagementFiltersUpdate
- data ManagementFiltersUpdate
- mfuFilterId :: Lens' ManagementFiltersUpdate Text
- mfuPayload :: Lens' ManagementFiltersUpdate Filter
- mfuAccountId :: Lens' ManagementFiltersUpdate Text
REST Resource
type ManagementFiltersUpdateResource = "analytics" :> ("v3" :> ("management" :> ("accounts" :> (Capture "accountId" Text :> ("filters" :> (Capture "filterId" Text :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Filter :> Put '[JSON] Filter)))))))) Source #
A resource alias for analytics.management.filters.update
method which the
ManagementFiltersUpdate
request conforms to.
Creating a Request
managementFiltersUpdate Source #
Creates a value of ManagementFiltersUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ManagementFiltersUpdate Source #
Updates an existing filter.
See: managementFiltersUpdate
smart constructor.
Instances
Request Lenses
mfuFilterId :: Lens' ManagementFiltersUpdate Text Source #
ID of the filter to be updated.
mfuPayload :: Lens' ManagementFiltersUpdate Filter Source #
Multipart request metadata.
mfuAccountId :: Lens' ManagementFiltersUpdate Text Source #
Account ID to which the filter belongs.