| 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.Types.OriginationRoute
Description
Synopsis
- data OriginationRoute = OriginationRoute' {}
- newOriginationRoute :: OriginationRoute
- originationRoute_host :: Lens' OriginationRoute (Maybe Text)
- originationRoute_port :: Lens' OriginationRoute (Maybe Natural)
- originationRoute_priority :: Lens' OriginationRoute (Maybe Natural)
- originationRoute_protocol :: Lens' OriginationRoute (Maybe OriginationRouteProtocol)
- originationRoute_weight :: Lens' OriginationRoute (Maybe Natural)
Documentation
data OriginationRoute Source #
Origination routes define call distribution properties for your SIP hosts to receive inbound calls using your Amazon Chime Voice Connector. Limit: Ten origination routes for each Amazon Chime Voice Connector.
The parameters listed below are not required, but you must use at least one.
See: newOriginationRoute smart constructor.
Constructors
| OriginationRoute' | |
Fields
| |
Instances
newOriginationRoute :: OriginationRoute Source #
Create a value of OriginationRoute 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:host:OriginationRoute', originationRoute_host - The FQDN or IP address to contact for origination traffic.
$sel:port:OriginationRoute', originationRoute_port - The designated origination route port. Defaults to 5060.
$sel:priority:OriginationRoute', originationRoute_priority - The priority associated with the host, with 1 being the highest
priority. Higher priority hosts are attempted first.
$sel:protocol:OriginationRoute', originationRoute_protocol - The protocol to use for the origination route. Encryption-enabled Amazon
Chime Voice Connectors use TCP protocol by default.
$sel:weight:OriginationRoute', originationRoute_weight - The weight associated with the host. If hosts are equal in priority,
calls are redistributed among them based on their relative weight.
originationRoute_host :: Lens' OriginationRoute (Maybe Text) Source #
The FQDN or IP address to contact for origination traffic.
originationRoute_port :: Lens' OriginationRoute (Maybe Natural) Source #
The designated origination route port. Defaults to 5060.
originationRoute_priority :: Lens' OriginationRoute (Maybe Natural) Source #
The priority associated with the host, with 1 being the highest priority. Higher priority hosts are attempted first.
originationRoute_protocol :: Lens' OriginationRoute (Maybe OriginationRouteProtocol) Source #
The protocol to use for the origination route. Encryption-enabled Amazon Chime Voice Connectors use TCP protocol by default.
originationRoute_weight :: Lens' OriginationRoute (Maybe Natural) Source #
The weight associated with the host. If hosts are equal in priority, calls are redistributed among them based on their relative weight.