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 |
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_ascendingOrder :: Lens' ListRoleAliases (Maybe Bool)
- listRoleAliases_marker :: Lens' ListRoleAliases (Maybe Text)
- listRoleAliases_pageSize :: Lens' ListRoleAliases (Maybe Natural)
- data ListRoleAliasesResponse = ListRoleAliasesResponse' {
- nextMarker :: Maybe Text
- roleAliases :: Maybe [Text]
- httpStatus :: Int
- newListRoleAliasesResponse :: Int -> ListRoleAliasesResponse
- listRoleAliasesResponse_nextMarker :: Lens' ListRoleAliasesResponse (Maybe Text)
- listRoleAliasesResponse_roleAliases :: 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:ascendingOrder:ListRoleAliases'
, listRoleAliases_ascendingOrder
- Return the list of role aliases in ascending alphabetical order.
$sel:marker:ListRoleAliases'
, listRoleAliases_marker
- A marker used to get the next set of results.
$sel:pageSize:ListRoleAliases'
, listRoleAliases_pageSize
- The maximum number of results to return at one time.
Request Lenses
listRoleAliases_ascendingOrder :: Lens' ListRoleAliases (Maybe Bool) Source #
Return the list of role aliases in ascending alphabetical order.
listRoleAliases_marker :: Lens' ListRoleAliases (Maybe Text) Source #
A marker used to get the next set of results.
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:nextMarker:ListRoleAliasesResponse'
, listRoleAliasesResponse_nextMarker
- A marker used to get the next set of results.
$sel:roleAliases:ListRoleAliasesResponse'
, listRoleAliasesResponse_roleAliases
- The role aliases.
$sel:httpStatus:ListRoleAliasesResponse'
, listRoleAliasesResponse_httpStatus
- The response's http status code.
Response Lenses
listRoleAliasesResponse_nextMarker :: Lens' ListRoleAliasesResponse (Maybe Text) Source #
A marker used to get the next set of results.
listRoleAliasesResponse_roleAliases :: Lens' ListRoleAliasesResponse (Maybe [Text]) Source #
The role aliases.
listRoleAliasesResponse_httpStatus :: Lens' ListRoleAliasesResponse Int Source #
The response's http status code.