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 |
Inserts a new size.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.sizes.insert
.
Synopsis
- type SizesInsertResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("sizes" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Size :> Post '[JSON] Size))))))
- sizesInsert :: Int64 -> Size -> SizesInsert
- data SizesInsert
- siProFileId :: Lens' SizesInsert Int64
- siPayload :: Lens' SizesInsert Size
REST Resource
type SizesInsertResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("sizes" :> (QueryParam "alt" AltJSON :> (ReqBody '[JSON] Size :> Post '[JSON] Size)))))) Source #
A resource alias for dfareporting.sizes.insert
method which the
SizesInsert
request conforms to.
Creating a Request
Creates a value of SizesInsert
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data SizesInsert Source #
Inserts a new size.
See: sizesInsert
smart constructor.
Instances
Request Lenses
siProFileId :: Lens' SizesInsert Int64 Source #
User profile ID associated with this request.