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 the names of stored connections to GitHub accounts.
This operation returns paginated results.
Synopsis
- data ListGitHubAccountTokenNames = ListGitHubAccountTokenNames' {}
- newListGitHubAccountTokenNames :: ListGitHubAccountTokenNames
- listGitHubAccountTokenNames_nextToken :: Lens' ListGitHubAccountTokenNames (Maybe Text)
- data ListGitHubAccountTokenNamesResponse = ListGitHubAccountTokenNamesResponse' {
- tokenNameList :: Maybe [Text]
- nextToken :: Maybe Text
- httpStatus :: Int
- newListGitHubAccountTokenNamesResponse :: Int -> ListGitHubAccountTokenNamesResponse
- listGitHubAccountTokenNamesResponse_tokenNameList :: Lens' ListGitHubAccountTokenNamesResponse (Maybe [Text])
- listGitHubAccountTokenNamesResponse_nextToken :: Lens' ListGitHubAccountTokenNamesResponse (Maybe Text)
- listGitHubAccountTokenNamesResponse_httpStatus :: Lens' ListGitHubAccountTokenNamesResponse Int
Creating a Request
data ListGitHubAccountTokenNames Source #
Represents the input of a ListGitHubAccountTokenNames
operation.
See: newListGitHubAccountTokenNames
smart constructor.
Instances
newListGitHubAccountTokenNames :: ListGitHubAccountTokenNames Source #
Create a value of ListGitHubAccountTokenNames
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:ListGitHubAccountTokenNames'
, listGitHubAccountTokenNames_nextToken
- An identifier returned from the previous ListGitHubAccountTokenNames
call. It can be used to return the next set of names in the list.
Request Lenses
listGitHubAccountTokenNames_nextToken :: Lens' ListGitHubAccountTokenNames (Maybe Text) Source #
An identifier returned from the previous ListGitHubAccountTokenNames
call. It can be used to return the next set of names in the list.
Destructuring the Response
data ListGitHubAccountTokenNamesResponse Source #
Represents the output of a ListGitHubAccountTokenNames
operation.
See: newListGitHubAccountTokenNamesResponse
smart constructor.
ListGitHubAccountTokenNamesResponse' | |
|
Instances
newListGitHubAccountTokenNamesResponse Source #
Create a value of ListGitHubAccountTokenNamesResponse
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:tokenNameList:ListGitHubAccountTokenNamesResponse'
, listGitHubAccountTokenNamesResponse_tokenNameList
- A list of names of connections to GitHub accounts.
$sel:nextToken:ListGitHubAccountTokenNames'
, listGitHubAccountTokenNamesResponse_nextToken
- If a large amount of information is returned, an identifier is also
returned. It can be used in a subsequent ListGitHubAccountTokenNames
call to return the next set of names in the list.
$sel:httpStatus:ListGitHubAccountTokenNamesResponse'
, listGitHubAccountTokenNamesResponse_httpStatus
- The response's http status code.
Response Lenses
listGitHubAccountTokenNamesResponse_tokenNameList :: Lens' ListGitHubAccountTokenNamesResponse (Maybe [Text]) Source #
A list of names of connections to GitHub accounts.
listGitHubAccountTokenNamesResponse_nextToken :: Lens' ListGitHubAccountTokenNamesResponse (Maybe Text) Source #
If a large amount of information is returned, an identifier is also
returned. It can be used in a subsequent ListGitHubAccountTokenNames
call to return the next set of names in the list.
listGitHubAccountTokenNamesResponse_httpStatus :: Lens' ListGitHubAccountTokenNamesResponse Int Source #
The response's http status code.