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 details for all the accesses you have on your server.
Synopsis
- data ListAccesses = ListAccesses' {}
- newListAccesses :: Text -> ListAccesses
- listAccesses_nextToken :: Lens' ListAccesses (Maybe Text)
- listAccesses_maxResults :: Lens' ListAccesses (Maybe Natural)
- listAccesses_serverId :: Lens' ListAccesses Text
- data ListAccessesResponse = ListAccessesResponse' {
- nextToken :: Maybe Text
- httpStatus :: Int
- serverId :: Text
- accesses :: [ListedAccess]
- newListAccessesResponse :: Int -> Text -> ListAccessesResponse
- listAccessesResponse_nextToken :: Lens' ListAccessesResponse (Maybe Text)
- listAccessesResponse_httpStatus :: Lens' ListAccessesResponse Int
- listAccessesResponse_serverId :: Lens' ListAccessesResponse Text
- listAccessesResponse_accesses :: Lens' ListAccessesResponse [ListedAccess]
Creating a Request
data ListAccesses Source #
See: newListAccesses
smart constructor.
ListAccesses' | |
|
Instances
Create a value of ListAccesses
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:ListAccesses'
, listAccesses_nextToken
- When you can get additional results from the ListAccesses
call, a
NextToken
parameter is returned in the output. You can then pass in a
subsequent command to the NextToken
parameter to continue listing
additional accesses.
$sel:maxResults:ListAccesses'
, listAccesses_maxResults
- Specifies the maximum number of access SIDs to return.
$sel:serverId:ListAccesses'
, listAccesses_serverId
- A system-assigned unique identifier for a server that has users assigned
to it.
Request Lenses
listAccesses_nextToken :: Lens' ListAccesses (Maybe Text) Source #
When you can get additional results from the ListAccesses
call, a
NextToken
parameter is returned in the output. You can then pass in a
subsequent command to the NextToken
parameter to continue listing
additional accesses.
listAccesses_maxResults :: Lens' ListAccesses (Maybe Natural) Source #
Specifies the maximum number of access SIDs to return.
listAccesses_serverId :: Lens' ListAccesses Text Source #
A system-assigned unique identifier for a server that has users assigned to it.
Destructuring the Response
data ListAccessesResponse Source #
See: newListAccessesResponse
smart constructor.
ListAccessesResponse' | |
|
Instances
newListAccessesResponse Source #
:: Int | |
-> Text | |
-> ListAccessesResponse |
Create a value of ListAccessesResponse
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:ListAccesses'
, listAccessesResponse_nextToken
- When you can get additional results from the ListAccesses
call, a
NextToken
parameter is returned in the output. You can then pass in a
subsequent command to the NextToken
parameter to continue listing
additional accesses.
$sel:httpStatus:ListAccessesResponse'
, listAccessesResponse_httpStatus
- The response's http status code.
$sel:serverId:ListAccesses'
, listAccessesResponse_serverId
- A system-assigned unique identifier for a server that has users assigned
to it.
$sel:accesses:ListAccessesResponse'
, listAccessesResponse_accesses
- Returns the accesses and their properties for the ServerId
value that
you specify.
Response Lenses
listAccessesResponse_nextToken :: Lens' ListAccessesResponse (Maybe Text) Source #
When you can get additional results from the ListAccesses
call, a
NextToken
parameter is returned in the output. You can then pass in a
subsequent command to the NextToken
parameter to continue listing
additional accesses.
listAccessesResponse_httpStatus :: Lens' ListAccessesResponse Int Source #
The response's http status code.
listAccessesResponse_serverId :: Lens' ListAccessesResponse Text Source #
A system-assigned unique identifier for a server that has users assigned to it.
listAccessesResponse_accesses :: Lens' ListAccessesResponse [ListedAccess] Source #
Returns the accesses and their properties for the ServerId
value that
you specify.