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