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 |
Updates the specified proxy session details, such as voice or SMS capabilities.
Synopsis
- data UpdateProxySession = UpdateProxySession' {}
- newUpdateProxySession :: Text -> Text -> UpdateProxySession
- updateProxySession_expiryMinutes :: Lens' UpdateProxySession (Maybe Natural)
- updateProxySession_capabilities :: Lens' UpdateProxySession [Capability]
- updateProxySession_voiceConnectorId :: Lens' UpdateProxySession Text
- updateProxySession_proxySessionId :: Lens' UpdateProxySession Text
- data UpdateProxySessionResponse = UpdateProxySessionResponse' {}
- newUpdateProxySessionResponse :: Int -> UpdateProxySessionResponse
- updateProxySessionResponse_proxySession :: Lens' UpdateProxySessionResponse (Maybe ProxySession)
- updateProxySessionResponse_httpStatus :: Lens' UpdateProxySessionResponse Int
Creating a Request
data UpdateProxySession Source #
See: newUpdateProxySession
smart constructor.
UpdateProxySession' | |
|
Instances
newUpdateProxySession Source #
:: Text | |
-> Text | |
-> UpdateProxySession |
Create a value of UpdateProxySession
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:expiryMinutes:UpdateProxySession'
, updateProxySession_expiryMinutes
- The number of minutes allowed for the proxy session.
$sel:capabilities:UpdateProxySession'
, updateProxySession_capabilities
- The proxy session capabilities.
$sel:voiceConnectorId:UpdateProxySession'
, updateProxySession_voiceConnectorId
- The Amazon Chime voice connector ID.
$sel:proxySessionId:UpdateProxySession'
, updateProxySession_proxySessionId
- The proxy session ID.
Request Lenses
updateProxySession_expiryMinutes :: Lens' UpdateProxySession (Maybe Natural) Source #
The number of minutes allowed for the proxy session.
updateProxySession_capabilities :: Lens' UpdateProxySession [Capability] Source #
The proxy session capabilities.
updateProxySession_voiceConnectorId :: Lens' UpdateProxySession Text Source #
The Amazon Chime voice connector ID.
updateProxySession_proxySessionId :: Lens' UpdateProxySession Text Source #
The proxy session ID.
Destructuring the Response
data UpdateProxySessionResponse Source #
See: newUpdateProxySessionResponse
smart constructor.
UpdateProxySessionResponse' | |
|
Instances
newUpdateProxySessionResponse Source #
Create a value of UpdateProxySessionResponse
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:proxySession:UpdateProxySessionResponse'
, updateProxySessionResponse_proxySession
- The proxy session details.
$sel:httpStatus:UpdateProxySessionResponse'
, updateProxySessionResponse_httpStatus
- The response's http status code.
Response Lenses
updateProxySessionResponse_proxySession :: Lens' UpdateProxySessionResponse (Maybe ProxySession) Source #
The proxy session details.
updateProxySessionResponse_httpStatus :: Lens' UpdateProxySessionResponse Int Source #
The response's http status code.