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