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 |
Lists files for a report.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.reports.files.list
.
Synopsis
- type ReportsFilesListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> (Capture "reportId" (Textual Int64) :> ("files" :> (QueryParam "sortOrder" ReportsFilesListSortOrder :> (QueryParam "pageToken" Text :> (QueryParam "sortField" ReportsFilesListSortField :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] FileList)))))))))))
- reportsFilesList :: Int64 -> Int64 -> ReportsFilesList
- data ReportsFilesList
- rflReportId :: Lens' ReportsFilesList Int64
- rflProFileId :: Lens' ReportsFilesList Int64
- rflSortOrder :: Lens' ReportsFilesList ReportsFilesListSortOrder
- rflPageToken :: Lens' ReportsFilesList (Maybe Text)
- rflSortField :: Lens' ReportsFilesList ReportsFilesListSortField
- rflMaxResults :: Lens' ReportsFilesList Int32
REST Resource
type ReportsFilesListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("reports" :> (Capture "reportId" (Textual Int64) :> ("files" :> (QueryParam "sortOrder" ReportsFilesListSortOrder :> (QueryParam "pageToken" Text :> (QueryParam "sortField" ReportsFilesListSortField :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] FileList))))))))))) Source #
A resource alias for dfareporting.reports.files.list
method which the
ReportsFilesList
request conforms to.
Creating a Request
Creates a value of ReportsFilesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
data ReportsFilesList Source #
Lists files for a report.
See: reportsFilesList
smart constructor.
Instances
Request Lenses
rflReportId :: Lens' ReportsFilesList Int64 Source #
The ID of the parent report.
rflProFileId :: Lens' ReportsFilesList Int64 Source #
The DFA profile ID.
rflSortOrder :: Lens' ReportsFilesList ReportsFilesListSortOrder Source #
Order of sorted results.
rflPageToken :: Lens' ReportsFilesList (Maybe Text) Source #
The value of the nextToken from the previous result page.
rflSortField :: Lens' ReportsFilesList ReportsFilesListSortField Source #
The field by which to sort the list.
rflMaxResults :: Lens' ReportsFilesList Int32 Source #
Maximum number of results to return.