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 aliases of a theme.
Synopsis
- data ListThemeAliases = ListThemeAliases' {
- nextToken :: Maybe Text
- maxResults :: Maybe Natural
- awsAccountId :: Text
- themeId :: Text
- newListThemeAliases :: Text -> Text -> ListThemeAliases
- listThemeAliases_nextToken :: Lens' ListThemeAliases (Maybe Text)
- listThemeAliases_maxResults :: Lens' ListThemeAliases (Maybe Natural)
- listThemeAliases_awsAccountId :: Lens' ListThemeAliases Text
- listThemeAliases_themeId :: Lens' ListThemeAliases Text
- data ListThemeAliasesResponse = ListThemeAliasesResponse' {}
- newListThemeAliasesResponse :: Int -> ListThemeAliasesResponse
- listThemeAliasesResponse_requestId :: Lens' ListThemeAliasesResponse (Maybe Text)
- listThemeAliasesResponse_nextToken :: Lens' ListThemeAliasesResponse (Maybe Text)
- listThemeAliasesResponse_themeAliasList :: Lens' ListThemeAliasesResponse (Maybe [ThemeAlias])
- listThemeAliasesResponse_status :: Lens' ListThemeAliasesResponse Int
Creating a Request
data ListThemeAliases Source #
See: newListThemeAliases
smart constructor.
ListThemeAliases' | |
|
Instances
Create a value of ListThemeAliases
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:ListThemeAliases'
, listThemeAliases_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:maxResults:ListThemeAliases'
, listThemeAliases_maxResults
- The maximum number of results to be returned per request.
$sel:awsAccountId:ListThemeAliases'
, listThemeAliases_awsAccountId
- The ID of the Amazon Web Services account that contains the theme
aliases that you're listing.
$sel:themeId:ListThemeAliases'
, listThemeAliases_themeId
- The ID for the theme.
Request Lenses
listThemeAliases_nextToken :: Lens' ListThemeAliases (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listThemeAliases_maxResults :: Lens' ListThemeAliases (Maybe Natural) Source #
The maximum number of results to be returned per request.
listThemeAliases_awsAccountId :: Lens' ListThemeAliases Text Source #
The ID of the Amazon Web Services account that contains the theme aliases that you're listing.
listThemeAliases_themeId :: Lens' ListThemeAliases Text Source #
The ID for the theme.
Destructuring the Response
data ListThemeAliasesResponse Source #
See: newListThemeAliasesResponse
smart constructor.
ListThemeAliasesResponse' | |
|
Instances
newListThemeAliasesResponse Source #
Create a value of ListThemeAliasesResponse
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:ListThemeAliasesResponse'
, listThemeAliasesResponse_requestId
- The Amazon Web Services request ID for this operation.
$sel:nextToken:ListThemeAliases'
, listThemeAliasesResponse_nextToken
- The token for the next set of results, or null if there are no more
results.
$sel:themeAliasList:ListThemeAliasesResponse'
, listThemeAliasesResponse_themeAliasList
- A structure containing the list of the theme's aliases.
$sel:status:ListThemeAliasesResponse'
, listThemeAliasesResponse_status
- The HTTP status of the request.
Response Lenses
listThemeAliasesResponse_requestId :: Lens' ListThemeAliasesResponse (Maybe Text) Source #
The Amazon Web Services request ID for this operation.
listThemeAliasesResponse_nextToken :: Lens' ListThemeAliasesResponse (Maybe Text) Source #
The token for the next set of results, or null if there are no more results.
listThemeAliasesResponse_themeAliasList :: Lens' ListThemeAliasesResponse (Maybe [ThemeAlias]) Source #
A structure containing the list of the theme's aliases.
listThemeAliasesResponse_status :: Lens' ListThemeAliasesResponse Int Source #
The HTTP status of the request.