/* * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved. * * Licensed under the Apache License, Version 2.0 (the "License"). * You may not use this file except in compliance with the License. * A copy of the License is located at * * http://aws.amazon.com/apache2.0 * * or in the "license" file accompanying this file. This file is distributed * on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either * express or implied. See the License for the specific language governing * permissions and limitations under the License. */ /* * Do not modify this file. This file is generated from the chime-2018-05-01.normal.json service model. */ using System; using System.Collections.Generic; using System.Xml.Serialization; using System.Text; using System.IO; using System.Net; using Amazon.Runtime; using Amazon.Runtime.Internal; namespace Amazon.Chime.Model { /// /// Container for the parameters to the UpdateSipMediaApplicationCall operation. /// 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. /// /// /// public partial class UpdateSipMediaApplicationCallRequest : AmazonChimeRequest { private Dictionary _arguments = new Dictionary(); private string _sipMediaApplicationId; private string _transactionId; /// /// Gets and sets the property Arguments. /// /// Arguments made available to the Lambda function as part of the CALL_UPDATE_REQUESTED /// event. Can contain 0-20 key-value pairs. /// /// [AWSProperty(Required=true, Min=0, Max=20)] public Dictionary Arguments { get { return this._arguments; } set { this._arguments = value; } } // Check to see if Arguments property is set internal bool IsSetArguments() { return this._arguments != null && this._arguments.Count > 0; } /// /// Gets and sets the property SipMediaApplicationId. /// /// The ID of the SIP media application handling the call. /// /// [AWSProperty(Required=true)] public string SipMediaApplicationId { get { return this._sipMediaApplicationId; } set { this._sipMediaApplicationId = value; } } // Check to see if SipMediaApplicationId property is set internal bool IsSetSipMediaApplicationId() { return this._sipMediaApplicationId != null; } /// /// Gets and sets the property TransactionId. /// /// The ID of the call transaction. /// /// [AWSProperty(Required=true)] public string TransactionId { get { return this._transactionId; } set { this._transactionId = value; } } // Check to see if TransactionId property is set internal bool IsSetTransactionId() { return this._transactionId != null; } } }