| 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.UpdateProxySession
Description
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.
Constructors
| UpdateProxySession' | |
Fields
| |
Instances
newUpdateProxySession Source #
Arguments
| :: 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:
UpdateProxySession, updateProxySession_expiryMinutes - The number of minutes allowed for the proxy session.
UpdateProxySession, updateProxySession_capabilities - The proxy session capabilities.
UpdateProxySession, updateProxySession_voiceConnectorId - The Amazon Chime voice connector ID.
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.
Constructors
| UpdateProxySessionResponse' | |
Fields
| |
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.