| 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.Transfer.ListAccesses
Description
Lists the details for all the accesses you have on your server.
This operation returns paginated results.
Synopsis
- data ListAccesses = ListAccesses' {}
- newListAccesses :: Text -> ListAccesses
- listAccesses_maxResults :: Lens' ListAccesses (Maybe Natural)
- listAccesses_nextToken :: Lens' ListAccesses (Maybe Text)
- 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.
Constructors
| ListAccesses' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListAccesses |
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:maxResults:ListAccesses', listAccesses_maxResults - Specifies the maximum number of access SIDs to return.
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.
ListAccesses, listAccesses_serverId - A system-assigned unique identifier for a server that has users assigned
to it.
Request Lenses
listAccesses_maxResults :: Lens' ListAccesses (Maybe Natural) Source #
Specifies the maximum number of access SIDs to return.
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_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.
Constructors
| ListAccessesResponse' | |
Fields
| |
Instances
newListAccessesResponse Source #
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:
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.
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.