Copyright | (c) 2015 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 metros.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.metros.list
.
- type MetrosListResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("metros" :> (QueryParam "alt" AltJSON :> Get `[JSON]` MetrosListResponse)))))
- metrosList :: Int64 -> MetrosList
- data MetrosList
- mlProFileId :: Lens' MetrosList Int64
REST Resource
type MetrosListResource = "dfareporting" :> ("v2.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("metros" :> (QueryParam "alt" AltJSON :> Get `[JSON]` MetrosListResponse))))) Source
A resource alias for dfareporting.metros.list
method which the
MetrosList
request conforms to.
Creating a Request
Creates a value of MetrosList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data MetrosList Source
Retrieves a list of metros.
See: metrosList
smart constructor.
Request Lenses
mlProFileId :: Lens' MetrosList Int64 Source
User profile ID associated with this request.