libZSservicesZSamazonka-chimeZSamazonka-chime
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.Chime.Types.OriginationRoute

Description

 
Synopsis

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

  • priority :: Maybe Natural

    The priority associated with the host, with 1 being the highest priority. Higher priority hosts are attempted first.

  • weight :: Maybe Natural

    The weight associated with the host. If hosts are equal in priority, calls are redistributed among them based on their relative weight.

  • protocol :: Maybe OriginationRouteProtocol

    The protocol to use for the origination route. Encryption-enabled Amazon Chime Voice Connectors use TCP protocol by default.

  • host :: Maybe Text

    The FQDN or IP address to contact for origination traffic.

  • port :: Maybe Natural

    The designated origination route port. Defaults to 5060.

Instances

Instances details
Eq OriginationRoute Source # 
Instance details

Defined in Amazonka.Chime.Types.OriginationRoute

Read OriginationRoute Source # 
Instance details

Defined in Amazonka.Chime.Types.OriginationRoute

Show OriginationRoute Source # 
Instance details

Defined in Amazonka.Chime.Types.OriginationRoute

Generic OriginationRoute Source # 
Instance details

Defined in Amazonka.Chime.Types.OriginationRoute

Associated Types

type Rep OriginationRoute :: Type -> Type #

NFData OriginationRoute Source # 
Instance details

Defined in Amazonka.Chime.Types.OriginationRoute

Methods

rnf :: OriginationRoute -> () #

Hashable OriginationRoute Source # 
Instance details

Defined in Amazonka.Chime.Types.OriginationRoute

ToJSON OriginationRoute Source # 
Instance details

Defined in Amazonka.Chime.Types.OriginationRoute

FromJSON OriginationRoute Source # 
Instance details

Defined in Amazonka.Chime.Types.OriginationRoute

type Rep OriginationRoute Source # 
Instance details

Defined in Amazonka.Chime.Types.OriginationRoute

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:priority:OriginationRoute', originationRoute_priority - The priority associated with the host, with 1 being the highest priority. Higher priority hosts are attempted first.

$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.

$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: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.

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_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.

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_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.