Struct aws_sdk_chime::operation::update_sip_media_application_call::builders::UpdateSipMediaApplicationCallFluentBuilder
source · pub struct UpdateSipMediaApplicationCallFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to UpdateSipMediaApplicationCall
.
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.
This API is is no longer supported and will not be updated. We recommend using the latest version, UpdateSipMediaApplicationCall, in the Amazon Chime SDK.
Using the latest version requires migrating to a dedicated namespace. For more information, refer to Migrating from the Amazon Chime namespace in the Amazon Chime SDK Developer Guide.
Implementations§
source§impl UpdateSipMediaApplicationCallFluentBuilder
impl UpdateSipMediaApplicationCallFluentBuilder
sourcepub fn as_input(&self) -> &UpdateSipMediaApplicationCallInputBuilder
pub fn as_input(&self) -> &UpdateSipMediaApplicationCallInputBuilder
Access the UpdateSipMediaApplicationCall as a reference.
sourcepub async fn send(
self
) -> Result<UpdateSipMediaApplicationCallOutput, SdkError<UpdateSipMediaApplicationCallError, HttpResponse>>
pub async fn send( self ) -> Result<UpdateSipMediaApplicationCallOutput, SdkError<UpdateSipMediaApplicationCallError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<UpdateSipMediaApplicationCallOutput, UpdateSipMediaApplicationCallError, Self>
pub fn customize( self ) -> CustomizableOperation<UpdateSipMediaApplicationCallOutput, UpdateSipMediaApplicationCallError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn sip_media_application_id(self, input: impl Into<String>) -> Self
pub fn sip_media_application_id(self, input: impl Into<String>) -> Self
The ID of the SIP media application handling the call.
sourcepub fn set_sip_media_application_id(self, input: Option<String>) -> Self
pub fn set_sip_media_application_id(self, input: Option<String>) -> Self
The ID of the SIP media application handling the call.
sourcepub fn get_sip_media_application_id(&self) -> &Option<String>
pub fn get_sip_media_application_id(&self) -> &Option<String>
The ID of the SIP media application handling the call.
sourcepub fn transaction_id(self, input: impl Into<String>) -> Self
pub fn transaction_id(self, input: impl Into<String>) -> Self
The ID of the call transaction.
sourcepub fn set_transaction_id(self, input: Option<String>) -> Self
pub fn set_transaction_id(self, input: Option<String>) -> Self
The ID of the call transaction.
sourcepub fn get_transaction_id(&self) -> &Option<String>
pub fn get_transaction_id(&self) -> &Option<String>
The ID of the call transaction.
sourcepub fn arguments(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn arguments(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to Arguments
.
To override the contents of this collection use set_arguments
.
Arguments made available to the Lambda function as part of the CALL_UPDATE_REQUESTED
event. Can contain 0-20 key-value pairs.
Trait Implementations§
source§impl Clone for UpdateSipMediaApplicationCallFluentBuilder
impl Clone for UpdateSipMediaApplicationCallFluentBuilder
source§fn clone(&self) -> UpdateSipMediaApplicationCallFluentBuilder
fn clone(&self) -> UpdateSipMediaApplicationCallFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more