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 |
Allows you to trigger a Lambda function at any time while a call is active, and replace the current actions with new actions returned by the invocation.
Synopsis
- data UpdateSipMediaApplicationCall = UpdateSipMediaApplicationCall' {}
- newUpdateSipMediaApplicationCall :: Text -> Text -> UpdateSipMediaApplicationCall
- updateSipMediaApplicationCall_sipMediaApplicationId :: Lens' UpdateSipMediaApplicationCall Text
- updateSipMediaApplicationCall_transactionId :: Lens' UpdateSipMediaApplicationCall Text
- updateSipMediaApplicationCall_arguments :: Lens' UpdateSipMediaApplicationCall (HashMap Text Text)
- data UpdateSipMediaApplicationCallResponse = UpdateSipMediaApplicationCallResponse' {}
- newUpdateSipMediaApplicationCallResponse :: Int -> UpdateSipMediaApplicationCallResponse
- updateSipMediaApplicationCallResponse_sipMediaApplicationCall :: Lens' UpdateSipMediaApplicationCallResponse (Maybe SipMediaApplicationCall)
- updateSipMediaApplicationCallResponse_httpStatus :: Lens' UpdateSipMediaApplicationCallResponse Int
Creating a Request
data UpdateSipMediaApplicationCall Source #
See: newUpdateSipMediaApplicationCall
smart constructor.
UpdateSipMediaApplicationCall' | |
|
Instances
newUpdateSipMediaApplicationCall Source #
Create a value of UpdateSipMediaApplicationCall
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:sipMediaApplicationId:UpdateSipMediaApplicationCall'
, updateSipMediaApplicationCall_sipMediaApplicationId
- The ID of the SIP media application handling the call.
$sel:transactionId:UpdateSipMediaApplicationCall'
, updateSipMediaApplicationCall_transactionId
- The ID of the call transaction.
$sel:arguments:UpdateSipMediaApplicationCall'
, updateSipMediaApplicationCall_arguments
- Arguments made available to the Lambda function as part of the
CALL_UPDATE_REQUESTED
event. Can contain 0-20 key-value pairs.
Request Lenses
updateSipMediaApplicationCall_sipMediaApplicationId :: Lens' UpdateSipMediaApplicationCall Text Source #
The ID of the SIP media application handling the call.
updateSipMediaApplicationCall_transactionId :: Lens' UpdateSipMediaApplicationCall Text Source #
The ID of the call transaction.
updateSipMediaApplicationCall_arguments :: Lens' UpdateSipMediaApplicationCall (HashMap Text Text) Source #
Arguments made available to the Lambda function as part of the
CALL_UPDATE_REQUESTED
event. Can contain 0-20 key-value pairs.
Destructuring the Response
data UpdateSipMediaApplicationCallResponse Source #
See: newUpdateSipMediaApplicationCallResponse
smart constructor.
UpdateSipMediaApplicationCallResponse' | |
|
Instances
newUpdateSipMediaApplicationCallResponse Source #
Create a value of UpdateSipMediaApplicationCallResponse
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:UpdateSipMediaApplicationCallResponse'
, updateSipMediaApplicationCallResponse_sipMediaApplicationCall
- Undocumented member.
$sel:httpStatus:UpdateSipMediaApplicationCallResponse'
, updateSipMediaApplicationCallResponse_httpStatus
- The response's http status code.
Response Lenses
updateSipMediaApplicationCallResponse_sipMediaApplicationCall :: Lens' UpdateSipMediaApplicationCallResponse (Maybe SipMediaApplicationCall) Source #
Undocumented member.
updateSipMediaApplicationCallResponse_httpStatus :: Lens' UpdateSipMediaApplicationCallResponse Int Source #
The response's http status code.