| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.QuickSight.ListFolders
Description
Lists all folders in an account.
Synopsis
- data ListFolders = ListFolders' {
- maxResults :: Maybe Natural
- nextToken :: Maybe Text
- awsAccountId :: Text
- newListFolders :: Text -> ListFolders
- listFolders_maxResults :: Lens' ListFolders (Maybe Natural)
- listFolders_nextToken :: Lens' ListFolders (Maybe Text)
- listFolders_awsAccountId :: Lens' ListFolders Text
- data ListFoldersResponse = ListFoldersResponse' {}
- newListFoldersResponse :: Int -> ListFoldersResponse
- listFoldersResponse_folderSummaryList :: Lens' ListFoldersResponse (Maybe [FolderSummary])
- listFoldersResponse_nextToken :: Lens' ListFoldersResponse (Maybe Text)
- listFoldersResponse_requestId :: Lens' ListFoldersResponse (Maybe Text)
- listFoldersResponse_status :: Lens' ListFoldersResponse Int
Creating a Request
data ListFolders Source #
See: newListFolders smart constructor.
Constructors
| ListFolders' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListFolders |
Create a value of ListFolders with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:maxResults:ListFolders', listFolders_maxResults - The maximum number of results to be returned per request.
ListFolders, listFolders_nextToken - The token for the next set of results, or null if there are no more
results.
ListFolders, listFolders_awsAccountId - The ID for the Amazon Web Services account that contains the folder.
Request Lenses
listFolders_maxResults :: Lens' ListFolders (Maybe Natural) Source #
The maximum number of results to be returned per request.
listFolders_nextToken :: Lens' ListFolders (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listFolders_awsAccountId :: Lens' ListFolders Text Source #
The ID for the Amazon Web Services account that contains the folder.
Destructuring the Response
data ListFoldersResponse Source #
See: newListFoldersResponse smart constructor.
Constructors
| ListFoldersResponse' | |
Fields
| |
Instances
newListFoldersResponse Source #
Arguments
| :: Int | |
| -> ListFoldersResponse |
Create a value of ListFoldersResponse with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:folderSummaryList:ListFoldersResponse', listFoldersResponse_folderSummaryList - A structure that contains all of the folders in the Amazon Web Services
account. This structure provides basic information about the folders.
ListFolders, listFoldersResponse_nextToken - The token for the next set of results, or null if there are no more
results.
$sel:requestId:ListFoldersResponse', listFoldersResponse_requestId - The Amazon Web Services request ID for this operation.
ListFoldersResponse, listFoldersResponse_status - The HTTP status of the request.
Response Lenses
listFoldersResponse_folderSummaryList :: Lens' ListFoldersResponse (Maybe [FolderSummary]) Source #
A structure that contains all of the folders in the Amazon Web Services account. This structure provides basic information about the folders.
listFoldersResponse_nextToken :: Lens' ListFoldersResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listFoldersResponse_requestId :: Lens' ListFoldersResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
listFoldersResponse_status :: Lens' ListFoldersResponse Int Source #
The HTTP status of the request.