| 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.Chime.ListProxySessions
Description
Lists the proxy sessions for the specified Amazon Chime Voice Connector.
Synopsis
- data ListProxySessions = ListProxySessions' {}
- newListProxySessions :: Text -> ListProxySessions
- listProxySessions_maxResults :: Lens' ListProxySessions (Maybe Natural)
- listProxySessions_nextToken :: Lens' ListProxySessions (Maybe Text)
- listProxySessions_status :: Lens' ListProxySessions (Maybe ProxySessionStatus)
- listProxySessions_voiceConnectorId :: Lens' ListProxySessions Text
- data ListProxySessionsResponse = ListProxySessionsResponse' {
- nextToken :: Maybe Text
- proxySessions :: Maybe [ProxySession]
- httpStatus :: Int
- newListProxySessionsResponse :: Int -> ListProxySessionsResponse
- listProxySessionsResponse_nextToken :: Lens' ListProxySessionsResponse (Maybe Text)
- listProxySessionsResponse_proxySessions :: Lens' ListProxySessionsResponse (Maybe [ProxySession])
- listProxySessionsResponse_httpStatus :: Lens' ListProxySessionsResponse Int
Creating a Request
data ListProxySessions Source #
See: newListProxySessions smart constructor.
Constructors
| ListProxySessions' | |
Fields
| |
Instances
Arguments
| :: Text | |
| -> ListProxySessions |
Create a value of ListProxySessions 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:ListProxySessions', listProxySessions_maxResults - The maximum number of results to return in a single call.
ListProxySessions, listProxySessions_nextToken - The token to use to retrieve the next page of results.
ListProxySessions, listProxySessions_status - The proxy session status.
ListProxySessions, listProxySessions_voiceConnectorId - The Amazon Chime voice connector ID.
Request Lenses
listProxySessions_maxResults :: Lens' ListProxySessions (Maybe Natural) Source #
The maximum number of results to return in a single call.
listProxySessions_nextToken :: Lens' ListProxySessions (Maybe Text) Source #
The token to use to retrieve the next page of results.
listProxySessions_status :: Lens' ListProxySessions (Maybe ProxySessionStatus) Source #
The proxy session status.
listProxySessions_voiceConnectorId :: Lens' ListProxySessions Text Source #
The Amazon Chime voice connector ID.
Destructuring the Response
data ListProxySessionsResponse Source #
See: newListProxySessionsResponse smart constructor.
Constructors
| ListProxySessionsResponse' | |
Fields
| |
Instances
newListProxySessionsResponse Source #
Create a value of ListProxySessionsResponse 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:
ListProxySessions, listProxySessionsResponse_nextToken - The token to use to retrieve the next page of results.
$sel:proxySessions:ListProxySessionsResponse', listProxySessionsResponse_proxySessions - The proxy session details.
$sel:httpStatus:ListProxySessionsResponse', listProxySessionsResponse_httpStatus - The response's http status code.
Response Lenses
listProxySessionsResponse_nextToken :: Lens' ListProxySessionsResponse (Maybe Text) Source #
The token to use to retrieve the next page of results.
listProxySessionsResponse_proxySessions :: Lens' ListProxySessionsResponse (Maybe [ProxySession]) Source #
The proxy session details.
listProxySessionsResponse_httpStatus :: Lens' ListProxySessionsResponse Int Source #
The response's http status code.