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 list of reports.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.reports.list
.
Synopsis
- type ReportsListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> (QueryParam "sortOrder" ReportsListSortOrder :> (QueryParam "scope" ReportsListScope :> (QueryParam "pageToken" Text :> (QueryParam "sortField" ReportsListSortField :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ReportList))))))))))
- reportsList :: Int64 -> ReportsList
- data ReportsList
- rlProFileId :: Lens' ReportsList Int64
- rlSortOrder :: Lens' ReportsList ReportsListSortOrder
- rlScope :: Lens' ReportsList ReportsListScope
- rlPageToken :: Lens' ReportsList (Maybe Text)
- rlSortField :: Lens' ReportsList ReportsListSortField
- rlMaxResults :: Lens' ReportsList Int32
REST Resource
type ReportsListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> (QueryParam "sortOrder" ReportsListSortOrder :> (QueryParam "scope" ReportsListScope :> (QueryParam "pageToken" Text :> (QueryParam "sortField" ReportsListSortField :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] ReportList)))))))))) Source #
A resource alias for dfareporting.reports.list
method which the
ReportsList
request conforms to.
Creating a Request
Creates a value of ReportsList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReportsList Source #
Retrieves list of reports.
See: reportsList
smart constructor.
Instances
Request Lenses
rlProFileId :: Lens' ReportsList Int64 Source #
The DFA user profile ID.
rlSortOrder :: Lens' ReportsList ReportsListSortOrder Source #
Order of sorted results.
rlScope :: Lens' ReportsList ReportsListScope Source #
The scope that defines which results are returned.
rlPageToken :: Lens' ReportsList (Maybe Text) Source #
The value of the nextToken from the previous result page.
rlSortField :: Lens' ReportsList ReportsListSortField Source #
The field by which to sort the list.
rlMaxResults :: Lens' ReportsList Int32 Source #
Maximum number of results to return.