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

Description

Creates an Amazon Chime Voice Connector under the administrator's AWS account. You can choose to create an Amazon Chime Voice Connector in a specific AWS Region.

Enabling CreateVoiceConnectorRequest$RequireEncryption configures your Amazon Chime Voice Connector to use TLS transport for SIP signaling and Secure RTP (SRTP) for media. Inbound calls use TLS transport, and unencrypted outbound calls are blocked.

Synopsis

Creating a Request

data CreateVoiceConnector Source #

See: newCreateVoiceConnector smart constructor.

Constructors

CreateVoiceConnector' 

Fields

Instances

Instances details
Eq CreateVoiceConnector Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

Read CreateVoiceConnector Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

Show CreateVoiceConnector Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

Generic CreateVoiceConnector Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

Associated Types

type Rep CreateVoiceConnector :: Type -> Type #

NFData CreateVoiceConnector Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

Methods

rnf :: CreateVoiceConnector -> () #

Hashable CreateVoiceConnector Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

ToJSON CreateVoiceConnector Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

AWSRequest CreateVoiceConnector Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

Associated Types

type AWSResponse CreateVoiceConnector #

ToHeaders CreateVoiceConnector Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

ToPath CreateVoiceConnector Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

ToQuery CreateVoiceConnector Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

type Rep CreateVoiceConnector Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

type Rep CreateVoiceConnector = D1 ('MetaData "CreateVoiceConnector" "Amazonka.Chime.CreateVoiceConnector" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "CreateVoiceConnector'" 'PrefixI 'True) (S1 ('MetaSel ('Just "awsRegion") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VoiceConnectorAwsRegion)) :*: (S1 ('MetaSel ('Just "name") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text) :*: S1 ('MetaSel ('Just "requireEncryption") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Bool))))
type AWSResponse CreateVoiceConnector Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

newCreateVoiceConnector Source #

Create a value of CreateVoiceConnector 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:awsRegion:CreateVoiceConnector', createVoiceConnector_awsRegion - The AWS Region in which the Amazon Chime Voice Connector is created. Default value: us-east-1 .

$sel:name:CreateVoiceConnector', createVoiceConnector_name - The name of the Amazon Chime Voice Connector.

$sel:requireEncryption:CreateVoiceConnector', createVoiceConnector_requireEncryption - When enabled, requires encryption for the Amazon Chime Voice Connector.

Request Lenses

createVoiceConnector_awsRegion :: Lens' CreateVoiceConnector (Maybe VoiceConnectorAwsRegion) Source #

The AWS Region in which the Amazon Chime Voice Connector is created. Default value: us-east-1 .

createVoiceConnector_name :: Lens' CreateVoiceConnector Text Source #

The name of the Amazon Chime Voice Connector.

createVoiceConnector_requireEncryption :: Lens' CreateVoiceConnector Bool Source #

When enabled, requires encryption for the Amazon Chime Voice Connector.

Destructuring the Response

data CreateVoiceConnectorResponse Source #

See: newCreateVoiceConnectorResponse smart constructor.

Constructors

CreateVoiceConnectorResponse' 

Fields

Instances

Instances details
Eq CreateVoiceConnectorResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

Read CreateVoiceConnectorResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

Show CreateVoiceConnectorResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

Generic CreateVoiceConnectorResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

Associated Types

type Rep CreateVoiceConnectorResponse :: Type -> Type #

NFData CreateVoiceConnectorResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

type Rep CreateVoiceConnectorResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateVoiceConnector

type Rep CreateVoiceConnectorResponse = D1 ('MetaData "CreateVoiceConnectorResponse" "Amazonka.Chime.CreateVoiceConnector" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "CreateVoiceConnectorResponse'" 'PrefixI 'True) (S1 ('MetaSel ('Just "voiceConnector") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe VoiceConnector)) :*: S1 ('MetaSel ('Just "httpStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Int)))

newCreateVoiceConnectorResponse Source #

Create a value of CreateVoiceConnectorResponse 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:voiceConnector:CreateVoiceConnectorResponse', createVoiceConnectorResponse_voiceConnector - The Amazon Chime Voice Connector details.

$sel:httpStatus:CreateVoiceConnectorResponse', createVoiceConnectorResponse_httpStatus - The response's http status code.

Response Lenses