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 |
Retrieves a list of countries.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.countries.list
.
Synopsis
- type CountriesListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("countries" :> (QueryParam "alt" AltJSON :> Get '[JSON] CountriesListResponse)))))
- countriesList :: Int64 -> CountriesList
- data CountriesList
- couProFileId :: Lens' CountriesList Int64
REST Resource
type CountriesListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("countries" :> (QueryParam "alt" AltJSON :> Get '[JSON] CountriesListResponse))))) Source #
A resource alias for dfareporting.countries.list
method which the
CountriesList
request conforms to.
Creating a Request
Creates a value of CountriesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data CountriesList Source #
Retrieves a list of countries.
See: countriesList
smart constructor.
Instances
Request Lenses
couProFileId :: Lens' CountriesList Int64 Source #
User profile ID associated with this request.