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 role aliases registered in your account.
Requires permission to access the ListRoleAliases action.
This operation returns paginated results.
Synopsis
- data ListRoleAliases = ListRoleAliases' {}
- newListRoleAliases :: ListRoleAliases
- listRoleAliases_marker :: Lens' ListRoleAliases (Maybe Text)
- listRoleAliases_ascendingOrder :: Lens' ListRoleAliases (Maybe Bool)
- listRoleAliases_pageSize :: Lens' ListRoleAliases (Maybe Natural)
- data ListRoleAliasesResponse = ListRoleAliasesResponse' {
- roleAliases :: Maybe [Text]
- nextMarker :: Maybe Text
- httpStatus :: Int
- newListRoleAliasesResponse :: Int -> ListRoleAliasesResponse
- listRoleAliasesResponse_roleAliases :: Lens' ListRoleAliasesResponse (Maybe [Text])
- listRoleAliasesResponse_nextMarker :: Lens' ListRoleAliasesResponse (Maybe Text)
- listRoleAliasesResponse_httpStatus :: Lens' ListRoleAliasesResponse Int
Creating a Request
data ListRoleAliases Source #
See: newListRoleAliases
smart constructor.
Instances
newListRoleAliases :: ListRoleAliases Source #
Create a value of ListRoleAliases
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:marker:ListRoleAliases'
, listRoleAliases_marker
- A marker used to get the next set of results.
$sel:ascendingOrder:ListRoleAliases'
, listRoleAliases_ascendingOrder
- Return the list of role aliases in ascending alphabetical order.
$sel:pageSize:ListRoleAliases'
, listRoleAliases_pageSize
- The maximum number of results to return at one time.
Request Lenses
listRoleAliases_marker :: Lens' ListRoleAliases (Maybe Text) Source #
A marker used to get the next set of results.
listRoleAliases_ascendingOrder :: Lens' ListRoleAliases (Maybe Bool) Source #
Return the list of role aliases in ascending alphabetical order.
listRoleAliases_pageSize :: Lens' ListRoleAliases (Maybe Natural) Source #
The maximum number of results to return at one time.
Destructuring the Response
data ListRoleAliasesResponse Source #
See: newListRoleAliasesResponse
smart constructor.
ListRoleAliasesResponse' | |
|
Instances
newListRoleAliasesResponse Source #
Create a value of ListRoleAliasesResponse
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:roleAliases:ListRoleAliasesResponse'
, listRoleAliasesResponse_roleAliases
- The role aliases.
$sel:nextMarker:ListRoleAliasesResponse'
, listRoleAliasesResponse_nextMarker
- A marker used to get the next set of results.
$sel:httpStatus:ListRoleAliasesResponse'
, listRoleAliasesResponse_httpStatus
- The response's http status code.
Response Lenses
listRoleAliasesResponse_roleAliases :: Lens' ListRoleAliasesResponse (Maybe [Text]) Source #
The role aliases.
listRoleAliasesResponse_nextMarker :: Lens' ListRoleAliasesResponse (Maybe Text) Source #
A marker used to get the next set of results.
listRoleAliasesResponse_httpStatus :: Lens' ListRoleAliasesResponse Int Source #
The response's http status code.