| 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.LicenseManager.ListTokens
Description
Lists your tokens.
Synopsis
- data ListTokens = ListTokens' {}
- newListTokens :: ListTokens
- listTokens_filters :: Lens' ListTokens (Maybe [Filter])
- listTokens_maxResults :: Lens' ListTokens (Maybe Natural)
- listTokens_nextToken :: Lens' ListTokens (Maybe Text)
- listTokens_tokenIds :: Lens' ListTokens (Maybe [Text])
- data ListTokensResponse = ListTokensResponse' {}
- newListTokensResponse :: Int -> ListTokensResponse
- listTokensResponse_nextToken :: Lens' ListTokensResponse (Maybe Text)
- listTokensResponse_tokens :: Lens' ListTokensResponse (Maybe [TokenData])
- listTokensResponse_httpStatus :: Lens' ListTokensResponse Int
Creating a Request
data ListTokens Source #
See: newListTokens smart constructor.
Constructors
| ListTokens' | |
Instances
newListTokens :: ListTokens Source #
Create a value of ListTokens 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:filters:ListTokens', listTokens_filters - Filters to scope the results. The following filter is supported:
LicenseArns
$sel:maxResults:ListTokens', listTokens_maxResults - Maximum number of results to return in a single call.
ListTokens, listTokens_nextToken - Token for the next set of results.
$sel:tokenIds:ListTokens', listTokens_tokenIds - Token IDs.
Request Lenses
listTokens_filters :: Lens' ListTokens (Maybe [Filter]) Source #
Filters to scope the results. The following filter is supported:
LicenseArns
listTokens_maxResults :: Lens' ListTokens (Maybe Natural) Source #
Maximum number of results to return in a single call.
listTokens_nextToken :: Lens' ListTokens (Maybe Text) Source #
Token for the next set of results.
listTokens_tokenIds :: Lens' ListTokens (Maybe [Text]) Source #
Token IDs.
Destructuring the Response
data ListTokensResponse Source #
See: newListTokensResponse smart constructor.
Constructors
| ListTokensResponse' | |
Instances
newListTokensResponse Source #
Arguments
| :: Int | |
| -> ListTokensResponse |
Create a value of ListTokensResponse 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:
ListTokens, listTokensResponse_nextToken - Token for the next set of results.
$sel:tokens:ListTokensResponse', listTokensResponse_tokens - Received token details.
$sel:httpStatus:ListTokensResponse', listTokensResponse_httpStatus - The response's http status code.
Response Lenses
listTokensResponse_nextToken :: Lens' ListTokensResponse (Maybe Text) Source #
Token for the next set of results.
listTokensResponse_tokens :: Lens' ListTokensResponse (Maybe [TokenData]) Source #
Received token details.
listTokensResponse_httpStatus :: Lens' ListTokensResponse Int Source #
The response's http status code.