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

Description

Creates an outbound call to a phone number from the phone number specified in the request, and it invokes the endpoint of the specified sipMediaApplicationId.

Synopsis

Creating a Request

data CreateSipMediaApplicationCall Source #

See: newCreateSipMediaApplicationCall smart constructor.

Constructors

CreateSipMediaApplicationCall' 

Fields

Instances

Instances details
Eq CreateSipMediaApplicationCall Source # 
Instance details

Defined in Amazonka.Chime.CreateSipMediaApplicationCall

Show CreateSipMediaApplicationCall Source # 
Instance details

Defined in Amazonka.Chime.CreateSipMediaApplicationCall

Generic CreateSipMediaApplicationCall Source # 
Instance details

Defined in Amazonka.Chime.CreateSipMediaApplicationCall

Associated Types

type Rep CreateSipMediaApplicationCall :: Type -> Type #

NFData CreateSipMediaApplicationCall Source # 
Instance details

Defined in Amazonka.Chime.CreateSipMediaApplicationCall

Hashable CreateSipMediaApplicationCall Source # 
Instance details

Defined in Amazonka.Chime.CreateSipMediaApplicationCall

ToJSON CreateSipMediaApplicationCall Source # 
Instance details

Defined in Amazonka.Chime.CreateSipMediaApplicationCall

AWSRequest CreateSipMediaApplicationCall Source # 
Instance details

Defined in Amazonka.Chime.CreateSipMediaApplicationCall

ToHeaders CreateSipMediaApplicationCall Source # 
Instance details

Defined in Amazonka.Chime.CreateSipMediaApplicationCall

ToPath CreateSipMediaApplicationCall Source # 
Instance details

Defined in Amazonka.Chime.CreateSipMediaApplicationCall

ToQuery CreateSipMediaApplicationCall Source # 
Instance details

Defined in Amazonka.Chime.CreateSipMediaApplicationCall

type Rep CreateSipMediaApplicationCall Source # 
Instance details

Defined in Amazonka.Chime.CreateSipMediaApplicationCall

type Rep CreateSipMediaApplicationCall = D1 ('MetaData "CreateSipMediaApplicationCall" "Amazonka.Chime.CreateSipMediaApplicationCall" "libZSservicesZSamazonka-chimeZSamazonka-chime" 'False) (C1 ('MetaCons "CreateSipMediaApplicationCall'" 'PrefixI 'True) ((S1 ('MetaSel ('Just "sipHeaders") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe (HashMap Text (Sensitive Text)))) :*: S1 ('MetaSel ('Just "fromPhoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text))) :*: (S1 ('MetaSel ('Just "toPhoneNumber") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Sensitive Text)) :*: S1 ('MetaSel ('Just "sipMediaApplicationId") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 Text))))
type AWSResponse CreateSipMediaApplicationCall Source # 
Instance details

Defined in Amazonka.Chime.CreateSipMediaApplicationCall

newCreateSipMediaApplicationCall Source #

Create a value of CreateSipMediaApplicationCall 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:sipHeaders:CreateSipMediaApplicationCall', createSipMediaApplicationCall_sipHeaders - The SIP headers added to an outbound call leg.

$sel:fromPhoneNumber:CreateSipMediaApplicationCall', createSipMediaApplicationCall_fromPhoneNumber - The phone number that a user calls from. This is a phone number in your Amazon Chime phone number inventory.

$sel:toPhoneNumber:CreateSipMediaApplicationCall', createSipMediaApplicationCall_toPhoneNumber - The phone number that the service should call.

$sel:sipMediaApplicationId:CreateSipMediaApplicationCall', createSipMediaApplicationCall_sipMediaApplicationId - The ID of the SIP media application.

Request Lenses

createSipMediaApplicationCall_fromPhoneNumber :: Lens' CreateSipMediaApplicationCall Text Source #

The phone number that a user calls from. This is a phone number in your Amazon Chime phone number inventory.

Destructuring the Response

data CreateSipMediaApplicationCallResponse Source #

Constructors

CreateSipMediaApplicationCallResponse' 

Fields

Instances

Instances details
Eq CreateSipMediaApplicationCallResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateSipMediaApplicationCall

Read CreateSipMediaApplicationCallResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateSipMediaApplicationCall

Show CreateSipMediaApplicationCallResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateSipMediaApplicationCall

Generic CreateSipMediaApplicationCallResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateSipMediaApplicationCall

NFData CreateSipMediaApplicationCallResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateSipMediaApplicationCall

type Rep CreateSipMediaApplicationCallResponse Source # 
Instance details

Defined in Amazonka.Chime.CreateSipMediaApplicationCall

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

Response Lenses