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.
Implementations§
source§impl UpdateSipMediaApplicationCallFluentBuilder
impl UpdateSipMediaApplicationCallFluentBuilder
sourcepub async fn send(
self
) -> Result<UpdateSipMediaApplicationCallOutput, SdkError<UpdateSipMediaApplicationCallError>>
pub async fn send( self ) -> Result<UpdateSipMediaApplicationCallOutput, SdkError<UpdateSipMediaApplicationCallError>>
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 async fn customize(
self
) -> Result<CustomizableOperation<UpdateSipMediaApplicationCall, AwsResponseRetryClassifier>, SdkError<UpdateSipMediaApplicationCallError>>
pub async fn customize( self ) -> Result<CustomizableOperation<UpdateSipMediaApplicationCall, AwsResponseRetryClassifier>, SdkError<UpdateSipMediaApplicationCallError>>
Consumes this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
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 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 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