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 user profile.
See: DCM/DFA Reporting And Trafficking API Reference for dfareporting.files.list
.
Synopsis
- type FilesListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("files" :> (QueryParam "sortOrder" FilesListSortOrder :> (QueryParam "scope" FilesListScope :> (QueryParam "pageToken" Text :> (QueryParam "sortField" FilesListSortField :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] FileList))))))))))
- filesList :: Int64 -> FilesList
- data FilesList
- flProFileId :: Lens' FilesList Int64
- flSortOrder :: Lens' FilesList FilesListSortOrder
- flScope :: Lens' FilesList FilesListScope
- flPageToken :: Lens' FilesList (Maybe Text)
- flSortField :: Lens' FilesList FilesListSortField
- flMaxResults :: Lens' FilesList Int32
REST Resource
type FilesListResource = "dfareporting" :> ("v3.2" :> ("userprofiles" :> (Capture "profileId" (Textual Int64) :> ("files" :> (QueryParam "sortOrder" FilesListSortOrder :> (QueryParam "scope" FilesListScope :> (QueryParam "pageToken" Text :> (QueryParam "sortField" FilesListSortField :> (QueryParam "maxResults" (Textual Int32) :> (QueryParam "alt" AltJSON :> Get '[JSON] FileList)))))))))) Source #
A resource alias for dfareporting.files.list
method which the
FilesList
request conforms to.
Creating a Request
Creates a value of FilesList
with the minimum fields required to make a request.
Use one of the following lenses to modify other fields as desired:
Lists files for a user profile.
See: filesList
smart constructor.
Instances
Request Lenses
flSortOrder :: Lens' FilesList FilesListSortOrder Source #
Order of sorted results.
flScope :: Lens' FilesList FilesListScope Source #
The scope that defines which results are returned.
flPageToken :: Lens' FilesList (Maybe Text) Source #
The value of the nextToken from the previous result page.
flSortField :: Lens' FilesList FilesListSortField Source #
The field by which to sort the list.