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 |
Lists all the versions of the themes in the current Amazon Web Services account.
This operation returns paginated results.
Synopsis
- data ListThemeVersions = ListThemeVersions' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- awsAccountId :: Text
- themeId :: Text
- newListThemeVersions :: Text -> Text -> ListThemeVersions
- listThemeVersions_nextToken :: Lens' ListThemeVersions (Maybe Text)
- listThemeVersions_maxResults :: Lens' ListThemeVersions (Maybe Natural)
- listThemeVersions_awsAccountId :: Lens' ListThemeVersions Text
- listThemeVersions_themeId :: Lens' ListThemeVersions Text
- data ListThemeVersionsResponse = ListThemeVersionsResponse' {}
- newListThemeVersionsResponse :: Int -> ListThemeVersionsResponse
- listThemeVersionsResponse_requestId :: Lens' ListThemeVersionsResponse (Maybe Text)
- listThemeVersionsResponse_themeVersionSummaryList :: Lens' ListThemeVersionsResponse (Maybe [ThemeVersionSummary])
- listThemeVersionsResponse_nextToken :: Lens' ListThemeVersionsResponse (Maybe Text)
- listThemeVersionsResponse_status :: Lens' ListThemeVersionsResponse Int
Creating a Request
data ListThemeVersions Source #
See: newListThemeVersions
smart constructor.
ListThemeVersions' | |
|
Instances
:: Text | |
-> Text | |
-> ListThemeVersions |
Create a value of ListThemeVersions
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:ListThemeVersions'
, listThemeVersions_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:maxResults:ListThemeVersions'
, listThemeVersions_maxResults
- The maximum number of results to be returned per request.
$sel:awsAccountId:ListThemeVersions'
, listThemeVersions_awsAccountId
- The ID of the Amazon Web Services account that contains the themes that
you're listing.
$sel:themeId:ListThemeVersions'
, listThemeVersions_themeId
- The ID for the theme.
Request Lenses
listThemeVersions_nextToken :: Lens' ListThemeVersions (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listThemeVersions_maxResults :: Lens' ListThemeVersions (Maybe Natural) Source #
The maximum number of results to be returned per request.
listThemeVersions_awsAccountId :: Lens' ListThemeVersions Text Source #
The ID of the Amazon Web Services account that contains the themes that you're listing.
listThemeVersions_themeId :: Lens' ListThemeVersions Text Source #
The ID for the theme.
Destructuring the Response
data ListThemeVersionsResponse Source #
See: newListThemeVersionsResponse
smart constructor.
ListThemeVersionsResponse' | |
|
Instances
newListThemeVersionsResponse Source #
Create a value of ListThemeVersionsResponse
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:ListThemeVersionsResponse'
, listThemeVersionsResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:themeVersionSummaryList:ListThemeVersionsResponse'
, listThemeVersionsResponse_themeVersionSummaryList
- A structure containing a list of all the versions of the specified
theme.
$sel:nextToken:ListThemeVersions'
, listThemeVersionsResponse_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:status:ListThemeVersionsResponse'
, listThemeVersionsResponse_status
- The HTTP status of the request.
Response Lenses
listThemeVersionsResponse_requestId :: Lens' ListThemeVersionsResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
listThemeVersionsResponse_themeVersionSummaryList :: Lens' ListThemeVersionsResponse (Maybe [ThemeVersionSummary]) Source #
A structure containing a list of all the versions of the specified theme.
listThemeVersionsResponse_nextToken :: Lens' ListThemeVersionsResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listThemeVersionsResponse_status :: Lens' ListThemeVersionsResponse Int Source #
The HTTP status of the request.