| 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.RolesAnywhere.ListTrustAnchors
Description
Lists the trust anchors in the authenticated account and Amazon Web Services Region.
Required permissions: rolesanywhere:ListTrustAnchors.
This operation returns paginated results.
Synopsis
- data ListTrustAnchors = ListTrustAnchors' {}
- newListTrustAnchors :: ListTrustAnchors
- listTrustAnchors_nextToken :: Lens' ListTrustAnchors (Maybe Text)
- listTrustAnchors_pageSize :: Lens' ListTrustAnchors (Maybe Int)
- data ListTrustAnchorsResponse = ListTrustAnchorsResponse' {}
- newListTrustAnchorsResponse :: Int -> ListTrustAnchorsResponse
- listTrustAnchorsResponse_nextToken :: Lens' ListTrustAnchorsResponse (Maybe Text)
- listTrustAnchorsResponse_trustAnchors :: Lens' ListTrustAnchorsResponse (Maybe [TrustAnchorDetail])
- listTrustAnchorsResponse_httpStatus :: Lens' ListTrustAnchorsResponse Int
Creating a Request
data ListTrustAnchors Source #
See: newListTrustAnchors smart constructor.
Constructors
| ListTrustAnchors' | |
Instances
newListTrustAnchors :: ListTrustAnchors Source #
Create a value of ListTrustAnchors 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:
ListTrustAnchors, listTrustAnchors_nextToken - A token that indicates where the output should continue from, if a
previous operation did not show all results. To get the next results,
call the operation again with this value.
ListTrustAnchors, listTrustAnchors_pageSize - The number of resources in the paginated list.
Request Lenses
listTrustAnchors_nextToken :: Lens' ListTrustAnchors (Maybe Text) Source #
A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.
listTrustAnchors_pageSize :: Lens' ListTrustAnchors (Maybe Int) Source #
The number of resources in the paginated list.
Destructuring the Response
data ListTrustAnchorsResponse Source #
See: newListTrustAnchorsResponse smart constructor.
Constructors
| ListTrustAnchorsResponse' | |
Fields
| |
Instances
newListTrustAnchorsResponse Source #
Create a value of ListTrustAnchorsResponse 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:
ListTrustAnchors, listTrustAnchorsResponse_nextToken - A token that indicates where the output should continue from, if a
previous operation did not show all results. To get the next results,
call the operation again with this value.
$sel:trustAnchors:ListTrustAnchorsResponse', listTrustAnchorsResponse_trustAnchors - A list of trust anchors.
$sel:httpStatus:ListTrustAnchorsResponse', listTrustAnchorsResponse_httpStatus - The response's http status code.
Response Lenses
listTrustAnchorsResponse_nextToken :: Lens' ListTrustAnchorsResponse (Maybe Text) Source #
A token that indicates where the output should continue from, if a previous operation did not show all results. To get the next results, call the operation again with this value.
listTrustAnchorsResponse_trustAnchors :: Lens' ListTrustAnchorsResponse (Maybe [TrustAnchorDetail]) Source #
A list of trust anchors.
listTrustAnchorsResponse_httpStatus :: Lens' ListTrustAnchorsResponse Int Source #
The response's http status code.