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 proxy sessions for the specified Amazon Chime Voice Connector.
Synopsis
- data ListProxySessions = ListProxySessions' {}
- newListProxySessions :: Text -> ListProxySessions
- listProxySessions_status :: Lens' ListProxySessions (Maybe ProxySessionStatus)
- listProxySessions_nextToken :: Lens' ListProxySessions (Maybe Text)
- listProxySessions_maxResults :: Lens' ListProxySessions (Maybe Natural)
- 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.
ListProxySessions' | |
|
Instances
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:status:ListProxySessions'
, listProxySessions_status
- The proxy session status.
$sel:nextToken:ListProxySessions'
, listProxySessions_nextToken
- The token to use to retrieve the next page of results.
$sel:maxResults:ListProxySessions'
, listProxySessions_maxResults
- The maximum number of results to return in a single call.
$sel:voiceConnectorId:ListProxySessions'
, listProxySessions_voiceConnectorId
- The Amazon Chime voice connector ID.
Request Lenses
listProxySessions_status :: Lens' ListProxySessions (Maybe ProxySessionStatus) Source #
The proxy session status.
listProxySessions_nextToken :: Lens' ListProxySessions (Maybe Text) Source #
The token to use to retrieve the next page of results.
listProxySessions_maxResults :: Lens' ListProxySessions (Maybe Natural) Source #
The maximum number of results to return in a single call.
listProxySessions_voiceConnectorId :: Lens' ListProxySessions Text Source #
The Amazon Chime voice connector ID.
Destructuring the Response
data ListProxySessionsResponse Source #
See: newListProxySessionsResponse
smart constructor.
ListProxySessionsResponse' | |
|
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:
$sel:nextToken: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.