Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
Amazonka.QuickSight.ListThemes
Description
Lists all the themes in the current Amazon Web Services account.
This operation returns paginated results.
Synopsis
- data ListThemes = ListThemes' {}
- newListThemes :: Text -> ListThemes
- listThemes_nextToken :: Lens' ListThemes (Maybe Text)
- listThemes_type :: Lens' ListThemes (Maybe ThemeType)
- listThemes_maxResults :: Lens' ListThemes (Maybe Natural)
- listThemes_awsAccountId :: Lens' ListThemes Text
- data ListThemesResponse = ListThemesResponse' {}
- newListThemesResponse :: Int -> ListThemesResponse
- listThemesResponse_requestId :: Lens' ListThemesResponse (Maybe Text)
- listThemesResponse_themeSummaryList :: Lens' ListThemesResponse (Maybe [ThemeSummary])
- listThemesResponse_nextToken :: Lens' ListThemesResponse (Maybe Text)
- listThemesResponse_status :: Lens' ListThemesResponse Int
Creating a Request
data ListThemes Source #
See: newListThemes
smart constructor.
Constructors
ListThemes' | |
Fields
|
Instances
Arguments
:: Text | |
-> ListThemes |
Create a value of ListThemes
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:nextToken:ListThemes'
, listThemes_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:type':ListThemes'
, listThemes_type
- The type of themes that you want to list. Valid options include the
following:
ALL (default)
- Display all existing themes.CUSTOM
- Display only the themes created by people using Amazon QuickSight.QUICKSIGHT
- Display only the starting themes defined by Amazon QuickSight.
$sel:maxResults:ListThemes'
, listThemes_maxResults
- The maximum number of results to be returned per request.
$sel:awsAccountId:ListThemes'
, listThemes_awsAccountId
- The ID of the Amazon Web Services account that contains the themes that
you're listing.
Request Lenses
listThemes_nextToken :: Lens' ListThemes (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listThemes_type :: Lens' ListThemes (Maybe ThemeType) Source #
The type of themes that you want to list. Valid options include the following:
ALL (default)
- Display all existing themes.CUSTOM
- Display only the themes created by people using Amazon QuickSight.QUICKSIGHT
- Display only the starting themes defined by Amazon QuickSight.
listThemes_maxResults :: Lens' ListThemes (Maybe Natural) Source #
The maximum number of results to be returned per request.
listThemes_awsAccountId :: Lens' ListThemes Text Source #
The ID of the Amazon Web Services account that contains the themes that you're listing.
Destructuring the Response
data ListThemesResponse Source #
See: newListThemesResponse
smart constructor.
Constructors
ListThemesResponse' | |
Fields
|
Instances
newListThemesResponse Source #
Arguments
:: Int | |
-> ListThemesResponse |
Create a value of ListThemesResponse
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:requestId:ListThemesResponse'
, listThemesResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:themeSummaryList:ListThemesResponse'
, listThemesResponse_themeSummaryList
- Information about the themes in the list.
$sel:nextToken:ListThemes'
, listThemesResponse_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:status:ListThemesResponse'
, listThemesResponse_status
- The HTTP status of the request.
Response Lenses
listThemesResponse_requestId :: Lens' ListThemesResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
listThemesResponse_themeSummaryList :: Lens' ListThemesResponse (Maybe [ThemeSummary]) Source #
Information about the themes in the list.
listThemesResponse_nextToken :: Lens' ListThemesResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listThemesResponse_status :: Lens' ListThemesResponse Int Source #
The HTTP status of the request.