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 content category.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.contentCategories.update
.
Synopsis
- type ContentCategoriesUpdateResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("contentCategories" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ContentCategory :> Put '[JSON] ContentCategory))))))
- contentCategoriesUpdate :: Int64 -> ContentCategory -> ContentCategoriesUpdate
- data ContentCategoriesUpdate
- ccuProFileId :: Lens' ContentCategoriesUpdate Int64
- ccuPayload :: Lens' ContentCategoriesUpdate ContentCategory
REST Resource
type ContentCategoriesUpdateResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("contentCategories" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] ContentCategory :> Put '[JSON] ContentCategory)))))) Source #
A resource alias for dfareporting.contentCategories.update
method which the
ContentCategoriesUpdate
request conforms to.
Creating a Request
contentCategoriesUpdate Source #
Creates a value of ContentCategoriesUpdate
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ContentCategoriesUpdate Source #
Updates an existing content category.
See: contentCategoriesUpdate
smart constructor.
Instances
Request Lenses
ccuProFileId :: Lens' ContentCategoriesUpdate Int64 Source #
User profile ID associated with this request.
ccuPayload :: Lens' ContentCategoriesUpdate ContentCategory Source #
Multipart request metadata.