Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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
- data CreateSipMediaApplicationCall = CreateSipMediaApplicationCall' {}
- newCreateSipMediaApplicationCall :: Text -> Text -> Text -> CreateSipMediaApplicationCall
- createSipMediaApplicationCall_sipHeaders :: Lens' CreateSipMediaApplicationCall (Maybe (HashMap Text Text))
- createSipMediaApplicationCall_fromPhoneNumber :: Lens' CreateSipMediaApplicationCall Text
- createSipMediaApplicationCall_toPhoneNumber :: Lens' CreateSipMediaApplicationCall Text
- createSipMediaApplicationCall_sipMediaApplicationId :: Lens' CreateSipMediaApplicationCall Text
- data CreateSipMediaApplicationCallResponse = CreateSipMediaApplicationCallResponse' {}
- newCreateSipMediaApplicationCallResponse :: Int -> CreateSipMediaApplicationCallResponse
- createSipMediaApplicationCallResponse_sipMediaApplicationCall :: Lens' CreateSipMediaApplicationCallResponse (Maybe SipMediaApplicationCall)
- createSipMediaApplicationCallResponse_httpStatus :: Lens' CreateSipMediaApplicationCallResponse Int
Creating a Request
data CreateSipMediaApplicationCall Source #
See: newCreateSipMediaApplicationCall
smart constructor.
CreateSipMediaApplicationCall' | |
|
Instances
newCreateSipMediaApplicationCall Source #
:: Text | |
-> Text | |
-> Text | |
-> CreateSipMediaApplicationCall |
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_sipHeaders :: Lens' CreateSipMediaApplicationCall (Maybe (HashMap Text Text)) Source #
The SIP headers added to an outbound call leg.
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.
createSipMediaApplicationCall_toPhoneNumber :: Lens' CreateSipMediaApplicationCall Text Source #
The phone number that the service should call.
createSipMediaApplicationCall_sipMediaApplicationId :: Lens' CreateSipMediaApplicationCall Text Source #
The ID of the SIP media application.
Destructuring the Response
data CreateSipMediaApplicationCallResponse Source #
See: newCreateSipMediaApplicationCallResponse
smart constructor.
CreateSipMediaApplicationCallResponse' | |
|
Instances
newCreateSipMediaApplicationCallResponse Source #
Create a value of CreateSipMediaApplicationCallResponse
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:sipMediaApplicationCall:CreateSipMediaApplicationCallResponse'
, createSipMediaApplicationCallResponse_sipMediaApplicationCall
- The actual call.
$sel:httpStatus:CreateSipMediaApplicationCallResponse'
, createSipMediaApplicationCallResponse_httpStatus
- The response's http status code.
Response Lenses
createSipMediaApplicationCallResponse_sipMediaApplicationCall :: Lens' CreateSipMediaApplicationCallResponse (Maybe SipMediaApplicationCall) Source #
The actual call.
createSipMediaApplicationCallResponse_httpStatus :: Lens' CreateSipMediaApplicationCallResponse Int Source #
The response's http status code.