| Copyright | (c) 2013-2023 Brendan Hay |
|---|---|
| License | Mozilla Public License, v. 2.0. |
| Maintainer | Brendan Hay |
| Stability | auto-generated |
| Portability | non-portable (GHC extensions) |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Amazonka.Chime.UpdateSipMediaApplicationCall
Description
Invokes the AWS Lambda function associated with the SIP media application and transaction ID in an update request. The Lambda function can then return a new set of actions.
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.
Constructors
| UpdateSipMediaApplicationCall' | |
Fields
| |
Instances
newUpdateSipMediaApplicationCall Source #
Arguments
| :: Text | |
| -> Text | |
| -> UpdateSipMediaApplicationCall |
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:
UpdateSipMediaApplicationCall, updateSipMediaApplicationCall_sipMediaApplicationId - The ID of the SIP media application handling the call.
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.
Constructors
| UpdateSipMediaApplicationCallResponse' | |
Fields
| |
Instances
newUpdateSipMediaApplicationCallResponse Source #
Arguments
| :: Int | |
| -> UpdateSipMediaApplicationCallResponse |
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.