/*
 * 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.Runtime.ExceptionServices;
using System.Threading;
using System.Threading.Tasks;
using System.Collections.Generic;
using System.Net;
using Amazon.Chime.Model;
using Amazon.Chime.Model.Internal.MarshallTransformations;
using Amazon.Chime.Internal;
using Amazon.Runtime;
using Amazon.Runtime.Internal;
using Amazon.Runtime.Internal.Auth;
using Amazon.Runtime.Internal.Transform;
namespace Amazon.Chime
{
    /// 
    /// Implementation for accessing Chime
    ///
    ///  
    /// 
    ///  Most of these APIs are no longer supported and will not be updated. We recommend
    /// using the latest versions in the Amazon
    /// Chime SDK API reference, in the Amazon Chime SDK.
    /// 
    ///  
    /// 
    /// Using the latest versions requires migrating to dedicated namespaces. For more information,
    /// refer to Migrating
    /// from the Amazon Chime namespace in the Amazon Chime SDK Developer Guide.
    /// 
    ///   
    /// 
    /// The Amazon Chime application programming interface (API) is designed so administrators
    /// can perform key tasks, such as creating and managing Amazon Chime accounts, users,
    /// and Voice Connectors. This guide provides detailed information about the Amazon Chime
    /// API, including operations, types, inputs and outputs, and error codes.
    /// 
    ///  
    /// 
    /// You can use an AWS SDK, the AWS Command Line Interface (AWS CLI), or the REST API
    /// to make API calls for Amazon Chime. We recommend using an AWS SDK or the AWS CLI.
    /// The page for each API action contains a See Also section that includes links
    /// to information about using the action with a language-specific AWS SDK or the AWS
    /// CLI.
    /// 
    ///   - Using an AWS SDK
  -  
    /// 
    ///  You don't need to write code to calculate a signature for request authentication.
    /// The SDK clients authenticate your requests by using access keys that you provide.
    /// For more information about AWS SDKs, see the AWS
    /// Developer Center. 
    /// 
    ///  
  - Using the AWS CLI
  -  
    /// 
    /// Use your access keys with the AWS CLI to make API calls. For information about setting
    /// up the AWS CLI, see Installing
    /// the AWS Command Line Interface in the AWS Command Line Interface User Guide.
    /// For a list of available Amazon Chime commands, see the Amazon
    /// Chime commands in the AWS CLI Command Reference. 
    /// 
    ///  
  - Using REST APIs
  -  
    /// 
    /// If you use REST to make API calls, you must authenticate your request by providing
    /// a signature. Amazon Chime supports Signature Version 4. For more information, see
    /// Signature
    /// Version 4 Signing Process in the Amazon Web Services General Reference.
    /// 
    ///  
    /// 
    /// When making REST API calls, use the service name 
chime and REST endpoint
    /// https://service.chime.aws.amazon.com.
    /// 
    ///    
 
    /// 
    /// Administrative permissions are controlled using AWS Identity and Access Management
    /// (IAM). For more information, see Identity
    /// and Access Management for Amazon Chime in the Amazon Chime Administration Guide.
    /// 
    /// 
    public partial class AmazonChimeClient : AmazonServiceClient, IAmazonChime
    {
        private static IServiceMetadata serviceMetadata = new AmazonChimeMetadata();
        private IChimePaginatorFactory _paginators;
        /// 
        /// Paginators for the service
        /// 
        public IChimePaginatorFactory Paginators 
        {
            get 
            {
                if (this._paginators == null) 
                {
                    this._paginators = new ChimePaginatorFactory(this);
                }
                return this._paginators;
            }
        }
        #region Constructors
        /// 
        /// Constructs AmazonChimeClient with the credentials loaded from the application's
        /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
        /// 
        /// Example App.config with credentials set. 
        /// 
        /// <?xml version="1.0" encoding="utf-8" ?>
        /// <configuration>
        ///     <appSettings>
        ///         <add key="AWSProfileName" value="AWS Default"/>
        ///     </appSettings>
        /// </configuration>
        /// 
        ///
        /// 
        public AmazonChimeClient()
            : base(FallbackCredentialsFactory.GetCredentials(), new AmazonChimeConfig()) { }
        /// 
        /// Constructs AmazonChimeClient with the credentials loaded from the application's
        /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
        /// 
        /// Example App.config with credentials set. 
        /// 
        /// <?xml version="1.0" encoding="utf-8" ?>
        /// <configuration>
        ///     <appSettings>
        ///         <add key="AWSProfileName" value="AWS Default"/>
        ///     </appSettings>
        /// </configuration>
        /// 
        ///
        /// 
        /// The region to connect.
        public AmazonChimeClient(RegionEndpoint region)
            : base(FallbackCredentialsFactory.GetCredentials(), new AmazonChimeConfig{RegionEndpoint = region}) { }
        /// 
        /// Constructs AmazonChimeClient with the credentials loaded from the application's
        /// default configuration, and if unsuccessful from the Instance Profile service on an EC2 instance.
        /// 
        /// Example App.config with credentials set. 
        /// 
        /// <?xml version="1.0" encoding="utf-8" ?>
        /// <configuration>
        ///     <appSettings>
        ///         <add key="AWSProfileName" value="AWS Default"/>
        ///     </appSettings>
        /// </configuration>
        /// 
        ///
        /// 
        /// The AmazonChimeClient Configuration Object
        public AmazonChimeClient(AmazonChimeConfig config)
            : base(FallbackCredentialsFactory.GetCredentials(config), config){}
        /// 
        /// Constructs AmazonChimeClient with AWS Credentials
        /// 
        /// AWS Credentials
        public AmazonChimeClient(AWSCredentials credentials)
            : this(credentials, new AmazonChimeConfig())
        {
        }
        /// 
        /// Constructs AmazonChimeClient with AWS Credentials
        /// 
        /// AWS Credentials
        /// The region to connect.
        public AmazonChimeClient(AWSCredentials credentials, RegionEndpoint region)
            : this(credentials, new AmazonChimeConfig{RegionEndpoint = region})
        {
        }
        /// 
        /// Constructs AmazonChimeClient with AWS Credentials and an
        /// AmazonChimeClient Configuration object.
        /// 
        /// AWS Credentials
        /// The AmazonChimeClient Configuration Object
        public AmazonChimeClient(AWSCredentials credentials, AmazonChimeConfig clientConfig)
            : base(credentials, clientConfig)
        {
        }
        /// 
        /// Constructs AmazonChimeClient with AWS Access Key ID and AWS Secret Key
        /// 
        /// AWS Access Key ID
        /// AWS Secret Access Key
        public AmazonChimeClient(string awsAccessKeyId, string awsSecretAccessKey)
            : this(awsAccessKeyId, awsSecretAccessKey, new AmazonChimeConfig())
        {
        }
        /// 
        /// Constructs AmazonChimeClient with AWS Access Key ID and AWS Secret Key
        /// 
        /// AWS Access Key ID
        /// AWS Secret Access Key
        /// The region to connect.
        public AmazonChimeClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region)
            : this(awsAccessKeyId, awsSecretAccessKey, new AmazonChimeConfig() {RegionEndpoint=region})
        {
        }
        /// 
        /// Constructs AmazonChimeClient with AWS Access Key ID, AWS Secret Key and an
        /// AmazonChimeClient Configuration object. 
        /// 
        /// AWS Access Key ID
        /// AWS Secret Access Key
        /// The AmazonChimeClient Configuration Object
        public AmazonChimeClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonChimeConfig clientConfig)
            : base(awsAccessKeyId, awsSecretAccessKey, clientConfig)
        {
        }
        /// 
        /// Constructs AmazonChimeClient with AWS Access Key ID and AWS Secret Key
        /// 
        /// AWS Access Key ID
        /// AWS Secret Access Key
        /// AWS Session Token
        public AmazonChimeClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken)
            : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonChimeConfig())
        {
        }
        /// 
        /// Constructs AmazonChimeClient with AWS Access Key ID and AWS Secret Key
        /// 
        /// AWS Access Key ID
        /// AWS Secret Access Key
        /// AWS Session Token
        /// The region to connect.
        public AmazonChimeClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region)
            : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonChimeConfig{RegionEndpoint = region})
        {
        }
        /// 
        /// Constructs AmazonChimeClient with AWS Access Key ID, AWS Secret Key and an
        /// AmazonChimeClient Configuration object. 
        /// 
        /// AWS Access Key ID
        /// AWS Secret Access Key
        /// AWS Session Token
        /// The AmazonChimeClient Configuration Object
        public AmazonChimeClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonChimeConfig clientConfig)
            : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig)
        {
        }
        #endregion
        #region Overrides
        /// 
        /// Creates the signer for the service.
        /// 
        protected override AbstractAWSSigner CreateSigner()
        {
            return new AWS4Signer();
        }    
        /// 
        /// Customize the pipeline
        /// 
        /// 
        protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline)
        {
            pipeline.RemoveHandler();
            pipeline.AddHandlerAfter(new AmazonChimeEndpointResolver());
        }    
        /// 
        /// Capture metadata for the service.
        /// 
        protected override IServiceMetadata ServiceMetadata
        {
            get
            {
                return serviceMetadata;
            }
        }
        #endregion
        #region Dispose
        /// 
        /// Disposes the service client.
        /// 
        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);
        }
        #endregion
        #region  AssociatePhoneNumbersWithVoiceConnector
        /// 
        /// Associates phone numbers with the specified Amazon Chime Voice Connector.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, AssociatePhoneNumbersWithVoiceConnector,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the AssociatePhoneNumbersWithVoiceConnector service method.
        /// 
        /// The response from the AssociatePhoneNumbersWithVoiceConnector service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for AssociatePhoneNumbersWithVoiceConnector Operation
        [Obsolete("Replaced by AssociatePhoneNumbersWithVoiceConnector in the Amazon Chime SDK Voice Namespace")]
        public virtual AssociatePhoneNumbersWithVoiceConnectorResponse AssociatePhoneNumbersWithVoiceConnector(AssociatePhoneNumbersWithVoiceConnectorRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = AssociatePhoneNumbersWithVoiceConnectorRequestMarshaller.Instance;
            options.ResponseUnmarshaller = AssociatePhoneNumbersWithVoiceConnectorResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Associates phone numbers with the specified Amazon Chime Voice Connector.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, AssociatePhoneNumbersWithVoiceConnector,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the AssociatePhoneNumbersWithVoiceConnector service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the AssociatePhoneNumbersWithVoiceConnector service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for AssociatePhoneNumbersWithVoiceConnector Operation
        [Obsolete("Replaced by AssociatePhoneNumbersWithVoiceConnector in the Amazon Chime SDK Voice Namespace")]
        public virtual Task AssociatePhoneNumbersWithVoiceConnectorAsync(AssociatePhoneNumbersWithVoiceConnectorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = AssociatePhoneNumbersWithVoiceConnectorRequestMarshaller.Instance;
            options.ResponseUnmarshaller = AssociatePhoneNumbersWithVoiceConnectorResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  AssociatePhoneNumbersWithVoiceConnectorGroup
        /// 
        /// Associates phone numbers with the specified Amazon Chime Voice Connector group.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, AssociatePhoneNumbersWithVoiceConnectorGroup,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the AssociatePhoneNumbersWithVoiceConnectorGroup service method.
        /// 
        /// The response from the AssociatePhoneNumbersWithVoiceConnectorGroup service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for AssociatePhoneNumbersWithVoiceConnectorGroup Operation
        [Obsolete("Replaced by AssociatePhoneNumbersWithVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace")]
        public virtual AssociatePhoneNumbersWithVoiceConnectorGroupResponse AssociatePhoneNumbersWithVoiceConnectorGroup(AssociatePhoneNumbersWithVoiceConnectorGroupRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = AssociatePhoneNumbersWithVoiceConnectorGroupRequestMarshaller.Instance;
            options.ResponseUnmarshaller = AssociatePhoneNumbersWithVoiceConnectorGroupResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Associates phone numbers with the specified Amazon Chime Voice Connector group.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, AssociatePhoneNumbersWithVoiceConnectorGroup,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the AssociatePhoneNumbersWithVoiceConnectorGroup service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the AssociatePhoneNumbersWithVoiceConnectorGroup service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for AssociatePhoneNumbersWithVoiceConnectorGroup Operation
        [Obsolete("Replaced by AssociatePhoneNumbersWithVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace")]
        public virtual Task AssociatePhoneNumbersWithVoiceConnectorGroupAsync(AssociatePhoneNumbersWithVoiceConnectorGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = AssociatePhoneNumbersWithVoiceConnectorGroupRequestMarshaller.Instance;
            options.ResponseUnmarshaller = AssociatePhoneNumbersWithVoiceConnectorGroupResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  AssociatePhoneNumberWithUser
        /// 
        /// Associates a phone number with the specified Amazon Chime user.
        /// 
        /// Container for the necessary parameters to execute the AssociatePhoneNumberWithUser service method.
        /// 
        /// The response from the AssociatePhoneNumberWithUser service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for AssociatePhoneNumberWithUser Operation
        public virtual AssociatePhoneNumberWithUserResponse AssociatePhoneNumberWithUser(AssociatePhoneNumberWithUserRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = AssociatePhoneNumberWithUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = AssociatePhoneNumberWithUserResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Associates a phone number with the specified Amazon Chime user.
        /// 
        /// Container for the necessary parameters to execute the AssociatePhoneNumberWithUser service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the AssociatePhoneNumberWithUser service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for AssociatePhoneNumberWithUser Operation
        public virtual Task AssociatePhoneNumberWithUserAsync(AssociatePhoneNumberWithUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = AssociatePhoneNumberWithUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = AssociatePhoneNumberWithUserResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  AssociateSigninDelegateGroupsWithAccount
        /// 
        /// Associates the specified sign-in delegate groups with the specified Amazon Chime account.
        /// 
        /// Container for the necessary parameters to execute the AssociateSigninDelegateGroupsWithAccount service method.
        /// 
        /// The response from the AssociateSigninDelegateGroupsWithAccount service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for AssociateSigninDelegateGroupsWithAccount Operation
        public virtual AssociateSigninDelegateGroupsWithAccountResponse AssociateSigninDelegateGroupsWithAccount(AssociateSigninDelegateGroupsWithAccountRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = AssociateSigninDelegateGroupsWithAccountRequestMarshaller.Instance;
            options.ResponseUnmarshaller = AssociateSigninDelegateGroupsWithAccountResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Associates the specified sign-in delegate groups with the specified Amazon Chime account.
        /// 
        /// Container for the necessary parameters to execute the AssociateSigninDelegateGroupsWithAccount service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the AssociateSigninDelegateGroupsWithAccount service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for AssociateSigninDelegateGroupsWithAccount Operation
        public virtual Task AssociateSigninDelegateGroupsWithAccountAsync(AssociateSigninDelegateGroupsWithAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = AssociateSigninDelegateGroupsWithAccountRequestMarshaller.Instance;
            options.ResponseUnmarshaller = AssociateSigninDelegateGroupsWithAccountResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  BatchCreateAttendee
        /// 
        /// Creates up to 100 new attendees for an active Amazon Chime SDK meeting.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, BatchCreateAttendee,
        /// 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.
        /// 
        ///   
        /// 
        /// For more information about the Amazon Chime SDK, see Using
        /// the Amazon Chime SDK in the Amazon Chime SDK Developer Guide. 
        /// 
        /// 
        /// Container for the necessary parameters to execute the BatchCreateAttendee service method.
        /// 
        /// The response from the BatchCreateAttendee service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for BatchCreateAttendee Operation
        [Obsolete("Replaced by BatchCreateAttendee in the Amazon Chime SDK Meetings Namespace")]
        public virtual BatchCreateAttendeeResponse BatchCreateAttendee(BatchCreateAttendeeRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = BatchCreateAttendeeRequestMarshaller.Instance;
            options.ResponseUnmarshaller = BatchCreateAttendeeResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates up to 100 new attendees for an active Amazon Chime SDK meeting.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, BatchCreateAttendee,
        /// 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.
        /// 
        ///   
        /// 
        /// For more information about the Amazon Chime SDK, see Using
        /// the Amazon Chime SDK in the Amazon Chime SDK Developer Guide. 
        /// 
        /// 
        /// Container for the necessary parameters to execute the BatchCreateAttendee service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the BatchCreateAttendee service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for BatchCreateAttendee Operation
        [Obsolete("Replaced by BatchCreateAttendee in the Amazon Chime SDK Meetings Namespace")]
        public virtual Task BatchCreateAttendeeAsync(BatchCreateAttendeeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = BatchCreateAttendeeRequestMarshaller.Instance;
            options.ResponseUnmarshaller = BatchCreateAttendeeResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  BatchCreateChannelMembership
        /// 
        /// Adds a specified number of users to a channel.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, BatchCreateChannelMembership,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the BatchCreateChannelMembership service method.
        /// 
        /// The response from the BatchCreateChannelMembership service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for BatchCreateChannelMembership Operation
        [Obsolete("Replaced by BatchCreateChannelMembership in the Amazon Chime SDK Messaging Namespace")]
        public virtual BatchCreateChannelMembershipResponse BatchCreateChannelMembership(BatchCreateChannelMembershipRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = BatchCreateChannelMembershipRequestMarshaller.Instance;
            options.ResponseUnmarshaller = BatchCreateChannelMembershipResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Adds a specified number of users to a channel.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, BatchCreateChannelMembership,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the BatchCreateChannelMembership service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the BatchCreateChannelMembership service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for BatchCreateChannelMembership Operation
        [Obsolete("Replaced by BatchCreateChannelMembership in the Amazon Chime SDK Messaging Namespace")]
        public virtual Task BatchCreateChannelMembershipAsync(BatchCreateChannelMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = BatchCreateChannelMembershipRequestMarshaller.Instance;
            options.ResponseUnmarshaller = BatchCreateChannelMembershipResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  BatchCreateRoomMembership
        /// 
        /// Adds up to 50 members to a chat room in an Amazon Chime Enterprise account. Members
        /// can be users or bots. The member role designates whether the member is a chat room
        /// administrator or a general chat room member.
        /// 
        /// Container for the necessary parameters to execute the BatchCreateRoomMembership service method.
        /// 
        /// The response from the BatchCreateRoomMembership service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for BatchCreateRoomMembership Operation
        public virtual BatchCreateRoomMembershipResponse BatchCreateRoomMembership(BatchCreateRoomMembershipRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = BatchCreateRoomMembershipRequestMarshaller.Instance;
            options.ResponseUnmarshaller = BatchCreateRoomMembershipResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Adds up to 50 members to a chat room in an Amazon Chime Enterprise account. Members
        /// can be users or bots. The member role designates whether the member is a chat room
        /// administrator or a general chat room member.
        /// 
        /// Container for the necessary parameters to execute the BatchCreateRoomMembership service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the BatchCreateRoomMembership service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for BatchCreateRoomMembership Operation
        public virtual Task BatchCreateRoomMembershipAsync(BatchCreateRoomMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = BatchCreateRoomMembershipRequestMarshaller.Instance;
            options.ResponseUnmarshaller = BatchCreateRoomMembershipResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  BatchDeletePhoneNumber
        /// 
        /// Moves phone numbers into the Deletion queue. Phone numbers must be disassociated
        /// from any users or Amazon Chime Voice Connectors before they can be deleted. 
        /// 
        ///  
        /// 
        ///  Phone numbers remain in the Deletion queue for 7 days before they are deleted
        /// permanently. 
        /// 
        /// 
        /// Container for the necessary parameters to execute the BatchDeletePhoneNumber service method.
        /// 
        /// The response from the BatchDeletePhoneNumber service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for BatchDeletePhoneNumber Operation
        public virtual BatchDeletePhoneNumberResponse BatchDeletePhoneNumber(BatchDeletePhoneNumberRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = BatchDeletePhoneNumberRequestMarshaller.Instance;
            options.ResponseUnmarshaller = BatchDeletePhoneNumberResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Moves phone numbers into the Deletion queue. Phone numbers must be disassociated
        /// from any users or Amazon Chime Voice Connectors before they can be deleted. 
        /// 
        ///  
        /// 
        ///  Phone numbers remain in the Deletion queue for 7 days before they are deleted
        /// permanently. 
        /// 
        /// 
        /// Container for the necessary parameters to execute the BatchDeletePhoneNumber service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the BatchDeletePhoneNumber service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for BatchDeletePhoneNumber Operation
        public virtual Task BatchDeletePhoneNumberAsync(BatchDeletePhoneNumberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = BatchDeletePhoneNumberRequestMarshaller.Instance;
            options.ResponseUnmarshaller = BatchDeletePhoneNumberResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  BatchSuspendUser
        /// 
        /// Suspends up to 50 users from a Team or EnterpriseLWA Amazon
        /// Chime account. For more information about different account types, see Managing
        /// Your Amazon Chime Accounts in the Amazon Chime Administration Guide.
        /// 
        ///  
        /// 
        /// Users suspended from a Team account are disassociated from the account,but
        /// they can continue to use Amazon Chime as free users. To remove the suspension from
        /// suspended Team account users, invite them to the Team account
        /// again. You can use the InviteUsers action to do so.
        /// 
        ///  
        /// 
        /// Users suspended from an EnterpriseLWA account are immediately signed
        /// out of Amazon Chime and can no longer sign in. To remove the suspension from suspended
        /// EnterpriseLWA account users, use the BatchUnsuspendUser action.
        /// 
        ///  
        /// 
        ///  To sign out users without suspending them, use the LogoutUser action.
        /// 
        /// 
        /// Container for the necessary parameters to execute the BatchSuspendUser service method.
        /// 
        /// The response from the BatchSuspendUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for BatchSuspendUser Operation
        public virtual BatchSuspendUserResponse BatchSuspendUser(BatchSuspendUserRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = BatchSuspendUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = BatchSuspendUserResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Suspends up to 50 users from a Team or EnterpriseLWA Amazon
        /// Chime account. For more information about different account types, see Managing
        /// Your Amazon Chime Accounts in the Amazon Chime Administration Guide.
        /// 
        ///  
        /// 
        /// Users suspended from a Team account are disassociated from the account,but
        /// they can continue to use Amazon Chime as free users. To remove the suspension from
        /// suspended Team account users, invite them to the Team account
        /// again. You can use the InviteUsers action to do so.
        /// 
        ///  
        /// 
        /// Users suspended from an EnterpriseLWA account are immediately signed
        /// out of Amazon Chime and can no longer sign in. To remove the suspension from suspended
        /// EnterpriseLWA account users, use the BatchUnsuspendUser action.
        /// 
        ///  
        /// 
        ///  To sign out users without suspending them, use the LogoutUser action.
        /// 
        /// 
        /// Container for the necessary parameters to execute the BatchSuspendUser service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the BatchSuspendUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for BatchSuspendUser Operation
        public virtual Task BatchSuspendUserAsync(BatchSuspendUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = BatchSuspendUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = BatchSuspendUserResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  BatchUnsuspendUser
        /// 
        /// Removes the suspension from up to 50 previously suspended users for the specified
        /// Amazon Chime EnterpriseLWA account. Only users on EnterpriseLWA
        /// accounts can be unsuspended using this action. For more information about different
        /// account types, see 
        /// Managing Your Amazon Chime Accounts  in the account types, in the Amazon Chime
        /// Administration Guide. 
        /// 
        ///  
        /// 
        /// Previously suspended users who are unsuspended using this action are returned to Registered
        /// status. Users who are not previously suspended are ignored.
        /// 
        /// 
        /// Container for the necessary parameters to execute the BatchUnsuspendUser service method.
        /// 
        /// The response from the BatchUnsuspendUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for BatchUnsuspendUser Operation
        public virtual BatchUnsuspendUserResponse BatchUnsuspendUser(BatchUnsuspendUserRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = BatchUnsuspendUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = BatchUnsuspendUserResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Removes the suspension from up to 50 previously suspended users for the specified
        /// Amazon Chime EnterpriseLWA account. Only users on EnterpriseLWA
        /// accounts can be unsuspended using this action. For more information about different
        /// account types, see 
        /// Managing Your Amazon Chime Accounts  in the account types, in the Amazon Chime
        /// Administration Guide. 
        /// 
        ///  
        /// 
        /// Previously suspended users who are unsuspended using this action are returned to Registered
        /// status. Users who are not previously suspended are ignored.
        /// 
        /// 
        /// Container for the necessary parameters to execute the BatchUnsuspendUser service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the BatchUnsuspendUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for BatchUnsuspendUser Operation
        public virtual Task BatchUnsuspendUserAsync(BatchUnsuspendUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = BatchUnsuspendUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = BatchUnsuspendUserResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  BatchUpdatePhoneNumber
        /// 
        /// Updates phone number product types or calling names. You can update one attribute
        /// at a time for each UpdatePhoneNumberRequestItem. For example, you can
        /// update the product type or the calling name.
        /// 
        ///  
        /// 
        /// For toll-free numbers, you cannot use the Amazon Chime Business Calling product type.
        /// For numbers outside the U.S., you must use the Amazon Chime SIP Media Application
        /// Dial-In product type.
        /// 
        ///  
        /// 
        /// Updates to outbound calling names can take up to 72 hours to complete. Pending updates
        /// to outbound calling names must be complete before you can request another update.
        /// 
        /// 
        /// Container for the necessary parameters to execute the BatchUpdatePhoneNumber service method.
        /// 
        /// The response from the BatchUpdatePhoneNumber service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for BatchUpdatePhoneNumber Operation
        public virtual BatchUpdatePhoneNumberResponse BatchUpdatePhoneNumber(BatchUpdatePhoneNumberRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = BatchUpdatePhoneNumberRequestMarshaller.Instance;
            options.ResponseUnmarshaller = BatchUpdatePhoneNumberResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Updates phone number product types or calling names. You can update one attribute
        /// at a time for each UpdatePhoneNumberRequestItem. For example, you can
        /// update the product type or the calling name.
        /// 
        ///  
        /// 
        /// For toll-free numbers, you cannot use the Amazon Chime Business Calling product type.
        /// For numbers outside the U.S., you must use the Amazon Chime SIP Media Application
        /// Dial-In product type.
        /// 
        ///  
        /// 
        /// Updates to outbound calling names can take up to 72 hours to complete. Pending updates
        /// to outbound calling names must be complete before you can request another update.
        /// 
        /// 
        /// Container for the necessary parameters to execute the BatchUpdatePhoneNumber service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the BatchUpdatePhoneNumber service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for BatchUpdatePhoneNumber Operation
        public virtual Task BatchUpdatePhoneNumberAsync(BatchUpdatePhoneNumberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = BatchUpdatePhoneNumberRequestMarshaller.Instance;
            options.ResponseUnmarshaller = BatchUpdatePhoneNumberResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  BatchUpdateUser
        /// 
        /// Updates user details within the UpdateUserRequestItem object for up to 20 users
        /// for the specified Amazon Chime account. Currently, only LicenseType updates
        /// are supported for this action.
        /// 
        /// Container for the necessary parameters to execute the BatchUpdateUser service method.
        /// 
        /// The response from the BatchUpdateUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for BatchUpdateUser Operation
        public virtual BatchUpdateUserResponse BatchUpdateUser(BatchUpdateUserRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = BatchUpdateUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = BatchUpdateUserResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Updates user details within the UpdateUserRequestItem object for up to 20 users
        /// for the specified Amazon Chime account. Currently, only LicenseType updates
        /// are supported for this action.
        /// 
        /// Container for the necessary parameters to execute the BatchUpdateUser service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the BatchUpdateUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for BatchUpdateUser Operation
        public virtual Task BatchUpdateUserAsync(BatchUpdateUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = BatchUpdateUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = BatchUpdateUserResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateAccount
        /// 
        /// Creates an Amazon Chime account under the administrator's AWS account. Only Team
        /// account types are currently supported for this action. For more information about
        /// different account types, see Managing
        /// Your Amazon Chime Accounts in the Amazon Chime Administration Guide.
        /// 
        /// Container for the necessary parameters to execute the CreateAccount service method.
        /// 
        /// The response from the CreateAccount service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateAccount Operation
        public virtual CreateAccountResponse CreateAccount(CreateAccountRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateAccountRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateAccountResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates an Amazon Chime account under the administrator's AWS account. Only Team
        /// account types are currently supported for this action. For more information about
        /// different account types, see Managing
        /// Your Amazon Chime Accounts in the Amazon Chime Administration Guide.
        /// 
        /// Container for the necessary parameters to execute the CreateAccount service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateAccount service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateAccount Operation
        public virtual Task CreateAccountAsync(CreateAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateAccountRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateAccountResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateAppInstance
        /// 
        /// Creates an Amazon Chime SDK messaging AppInstance under an AWS account.
        /// Only SDK messaging customers use this API. CreateAppInstance supports
        /// idempotency behavior as described in the AWS API Standard.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateAppInstance,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateAppInstance service method.
        /// 
        /// The response from the CreateAppInstance service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateAppInstance Operation
        [Obsolete("Replaced by CreateAppInstance in the Amazon Chime SDK Identity Namespace")]
        public virtual CreateAppInstanceResponse CreateAppInstance(CreateAppInstanceRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateAppInstanceRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateAppInstanceResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates an Amazon Chime SDK messaging AppInstance under an AWS account.
        /// Only SDK messaging customers use this API. CreateAppInstance supports
        /// idempotency behavior as described in the AWS API Standard.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateAppInstance,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateAppInstance service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateAppInstance service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateAppInstance Operation
        [Obsolete("Replaced by CreateAppInstance in the Amazon Chime SDK Identity Namespace")]
        public virtual Task CreateAppInstanceAsync(CreateAppInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateAppInstanceRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateAppInstanceResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateAppInstanceAdmin
        /// 
        /// Promotes an AppInstanceUser to an AppInstanceAdmin. The
        /// promoted user can perform the following actions. 
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateAppInstanceAdmin,
        /// 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.
        /// 
        ///    -  
        /// 
        ///  
ChannelModerator actions across all channels in the AppInstance.
        /// 
        ///    -  
        /// 
        ///  
DeleteChannelMessage actions.
        /// 
        ///    
 
        /// 
        /// Only an AppInstanceUser can be promoted to an AppInstanceAdmin
        /// role.
        /// 
        /// 
        /// Container for the necessary parameters to execute the CreateAppInstanceAdmin service method.
        /// 
        /// The response from the CreateAppInstanceAdmin service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateAppInstanceAdmin Operation
        [Obsolete("Replaced by CreateAppInstanceAdmin in the Amazon Chime SDK Identity Namespace")]
        public virtual CreateAppInstanceAdminResponse CreateAppInstanceAdmin(CreateAppInstanceAdminRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateAppInstanceAdminRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateAppInstanceAdminResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Promotes an AppInstanceUser to an AppInstanceAdmin. The
        /// promoted user can perform the following actions. 
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateAppInstanceAdmin,
        /// 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.
        /// 
        ///    -  
        /// 
        ///  
ChannelModerator actions across all channels in the AppInstance.
        /// 
        ///    -  
        /// 
        ///  
DeleteChannelMessage actions.
        /// 
        ///    
 
        /// 
        /// Only an AppInstanceUser can be promoted to an AppInstanceAdmin
        /// role.
        /// 
        /// 
        /// Container for the necessary parameters to execute the CreateAppInstanceAdmin service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateAppInstanceAdmin service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateAppInstanceAdmin Operation
        [Obsolete("Replaced by CreateAppInstanceAdmin in the Amazon Chime SDK Identity Namespace")]
        public virtual Task CreateAppInstanceAdminAsync(CreateAppInstanceAdminRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateAppInstanceAdminRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateAppInstanceAdminResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateAppInstanceUser
        /// 
        /// Creates a user under an Amazon Chime AppInstance. The request consists
        /// of a unique appInstanceUserId and Name for that user.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateAppInstanceUser,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateAppInstanceUser service method.
        /// 
        /// The response from the CreateAppInstanceUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateAppInstanceUser Operation
        [Obsolete("Replaced by CreateAppInstanceUser in the Amazon Chime SDK Identity Namespace")]
        public virtual CreateAppInstanceUserResponse CreateAppInstanceUser(CreateAppInstanceUserRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateAppInstanceUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateAppInstanceUserResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates a user under an Amazon Chime AppInstance. The request consists
        /// of a unique appInstanceUserId and Name for that user.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateAppInstanceUser,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateAppInstanceUser service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateAppInstanceUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateAppInstanceUser Operation
        [Obsolete("Replaced by CreateAppInstanceUser in the Amazon Chime SDK Identity Namespace")]
        public virtual Task CreateAppInstanceUserAsync(CreateAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateAppInstanceUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateAppInstanceUserResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateAttendee
        /// 
        /// Creates a new attendee for an active Amazon Chime SDK meeting. For more information
        /// about the Amazon Chime SDK, see Using
        /// the Amazon Chime SDK in the Amazon Chime SDK Developer Guide. 
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateAttendee,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateAttendee service method.
        /// 
        /// The response from the CreateAttendee service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateAttendee Operation
        [Obsolete("Replaced by CreateAttendee in the Amazon Chime SDK Meetings Namespace")]
        public virtual CreateAttendeeResponse CreateAttendee(CreateAttendeeRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateAttendeeRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateAttendeeResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates a new attendee for an active Amazon Chime SDK meeting. For more information
        /// about the Amazon Chime SDK, see Using
        /// the Amazon Chime SDK in the Amazon Chime SDK Developer Guide. 
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateAttendee,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateAttendee service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateAttendee service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateAttendee Operation
        [Obsolete("Replaced by CreateAttendee in the Amazon Chime SDK Meetings Namespace")]
        public virtual Task CreateAttendeeAsync(CreateAttendeeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateAttendeeRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateAttendeeResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateBot
        /// 
        /// Creates a bot for an Amazon Chime Enterprise account.
        /// 
        /// Container for the necessary parameters to execute the CreateBot service method.
        /// 
        /// The response from the CreateBot service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateBot Operation
        public virtual CreateBotResponse CreateBot(CreateBotRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateBotRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateBotResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates a bot for an Amazon Chime Enterprise account.
        /// 
        /// Container for the necessary parameters to execute the CreateBot service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateBot service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateBot Operation
        public virtual Task CreateBotAsync(CreateBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateBotRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateBotResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateChannel
        /// 
        /// Creates a channel to which you can add users and send messages.
        /// 
        ///  
        /// 
        ///  Restriction: You can't change a channel's privacy.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateChannel,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateChannel service method.
        /// 
        /// The response from the CreateChannel service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateChannel Operation
        [Obsolete("Replaced by CreateChannel in the Amazon Chime SDK Messaging Namespace")]
        public virtual CreateChannelResponse CreateChannel(CreateChannelRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateChannelRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateChannelResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates a channel to which you can add users and send messages.
        /// 
        ///  
        /// 
        ///  Restriction: You can't change a channel's privacy.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateChannel,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateChannel service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateChannel service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateChannel Operation
        [Obsolete("Replaced by CreateChannel in the Amazon Chime SDK Messaging Namespace")]
        public virtual Task CreateChannelAsync(CreateChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateChannelRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateChannelResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateChannelBan
        /// 
        /// Permanently bans a member from a channel. Moderators can't add banned members to a
        /// channel. To undo a ban, you first have to DeleteChannelBan, and then
        /// CreateChannelMembership. Bans are cleaned up when you delete users or
        /// channels.
        /// 
        ///  
        /// 
        /// If you ban a user who is already part of a channel, that user is automatically kicked
        /// from the channel.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateChannelBan,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateChannelBan service method.
        /// 
        /// The response from the CreateChannelBan service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateChannelBan Operation
        [Obsolete("Replaced by CreateChannelBan in the Amazon Chime SDK Messaging Namespace")]
        public virtual CreateChannelBanResponse CreateChannelBan(CreateChannelBanRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateChannelBanRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateChannelBanResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Permanently bans a member from a channel. Moderators can't add banned members to a
        /// channel. To undo a ban, you first have to DeleteChannelBan, and then
        /// CreateChannelMembership. Bans are cleaned up when you delete users or
        /// channels.
        /// 
        ///  
        /// 
        /// If you ban a user who is already part of a channel, that user is automatically kicked
        /// from the channel.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateChannelBan,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateChannelBan service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateChannelBan service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateChannelBan Operation
        [Obsolete("Replaced by CreateChannelBan in the Amazon Chime SDK Messaging Namespace")]
        public virtual Task CreateChannelBanAsync(CreateChannelBanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateChannelBanRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateChannelBanResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateChannelMembership
        /// 
        /// Adds a user to a channel. The InvitedBy response field is derived from
        /// the request header. A channel member can:
        /// 
        ///   -  
        /// 
        /// List messages
        /// 
        ///  
  -  
        /// 
        /// Send messages
        /// 
        ///  
  -  
        /// 
        /// Receive messages
        /// 
        ///  
  -  
        /// 
        /// Edit their own messages
        /// 
        ///  
  -  
        /// 
        /// Leave the channel
        /// 
        ///  
  
 
        /// 
        /// Privacy settings impact this action as follows:
        /// 
        ///   -  
        /// 
        /// Public Channels: You do not need to be a member to list messages, but you must be
        /// a member to send messages.
        /// 
        ///  
  -  
        /// 
        /// Private Channels: You must be a member to list or send messages.
        /// 
        ///  
  
  
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateChannelMembership,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateChannelMembership service method.
        /// 
        /// The response from the CreateChannelMembership service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateChannelMembership Operation
        [Obsolete("Replaced by CreateChannelMembership in the Amazon Chime SDK Messaging Namespace")]
        public virtual CreateChannelMembershipResponse CreateChannelMembership(CreateChannelMembershipRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateChannelMembershipRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateChannelMembershipResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Adds a user to a channel. The InvitedBy response field is derived from
        /// the request header. A channel member can:
        /// 
        ///   -  
        /// 
        /// List messages
        /// 
        ///  
  -  
        /// 
        /// Send messages
        /// 
        ///  
  -  
        /// 
        /// Receive messages
        /// 
        ///  
  -  
        /// 
        /// Edit their own messages
        /// 
        ///  
  -  
        /// 
        /// Leave the channel
        /// 
        ///  
  
 
        /// 
        /// Privacy settings impact this action as follows:
        /// 
        ///   -  
        /// 
        /// Public Channels: You do not need to be a member to list messages, but you must be
        /// a member to send messages.
        /// 
        ///  
  -  
        /// 
        /// Private Channels: You must be a member to list or send messages.
        /// 
        ///  
  
  
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateChannelMembership,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateChannelMembership service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateChannelMembership service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateChannelMembership Operation
        [Obsolete("Replaced by CreateChannelMembership in the Amazon Chime SDK Messaging Namespace")]
        public virtual Task CreateChannelMembershipAsync(CreateChannelMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateChannelMembershipRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateChannelMembershipResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateChannelModerator
        /// 
        /// Creates a new ChannelModerator. A channel moderator can:
        /// 
        ///   -  
        /// 
        /// Add and remove other members of the channel.
        /// 
        ///  
  -  
        /// 
        /// Add and remove other moderators of the channel.
        /// 
        ///  
  -  
        /// 
        /// Add and remove user bans for the channel.
        /// 
        ///  
  -  
        /// 
        /// Redact messages in the channel.
        /// 
        ///  
  -  
        /// 
        /// List messages in the channel.
        /// 
        ///  
  
  
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateChannelModerator,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateChannelModerator service method.
        /// 
        /// The response from the CreateChannelModerator service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateChannelModerator Operation
        [Obsolete("Replaced by CreateChannelModerator in the Amazon Chime SDK Messaging Namespace")]
        public virtual CreateChannelModeratorResponse CreateChannelModerator(CreateChannelModeratorRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateChannelModeratorRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateChannelModeratorResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates a new ChannelModerator. A channel moderator can:
        /// 
        ///   -  
        /// 
        /// Add and remove other members of the channel.
        /// 
        ///  
  -  
        /// 
        /// Add and remove other moderators of the channel.
        /// 
        ///  
  -  
        /// 
        /// Add and remove user bans for the channel.
        /// 
        ///  
  -  
        /// 
        /// Redact messages in the channel.
        /// 
        ///  
  -  
        /// 
        /// List messages in the channel.
        /// 
        ///  
  
  
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateChannelModerator,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateChannelModerator service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateChannelModerator service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateChannelModerator Operation
        [Obsolete("Replaced by CreateChannelModerator in the Amazon Chime SDK Messaging Namespace")]
        public virtual Task CreateChannelModeratorAsync(CreateChannelModeratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateChannelModeratorRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateChannelModeratorResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateMediaCapturePipeline
        /// 
        /// Creates a media capture pipeline.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateMediaCapturePipeline,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateMediaCapturePipeline service method.
        /// 
        /// The response from the CreateMediaCapturePipeline service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateMediaCapturePipeline Operation
        [Obsolete("Replaced by CreateMediaCapturePipeline in the Amazon Chime SDK Media Pipelines Namespace")]
        public virtual CreateMediaCapturePipelineResponse CreateMediaCapturePipeline(CreateMediaCapturePipelineRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateMediaCapturePipelineRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateMediaCapturePipelineResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates a media capture pipeline.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateMediaCapturePipeline,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateMediaCapturePipeline service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateMediaCapturePipeline service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateMediaCapturePipeline Operation
        [Obsolete("Replaced by CreateMediaCapturePipeline in the Amazon Chime SDK Media Pipelines Namespace")]
        public virtual Task CreateMediaCapturePipelineAsync(CreateMediaCapturePipelineRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateMediaCapturePipelineRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateMediaCapturePipelineResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateMeeting
        /// 
        /// Creates a new Amazon Chime SDK meeting in the specified media Region with no initial
        /// attendees. For more information about specifying media Regions, see Amazon
        /// Chime SDK Media Regions in the Amazon Chime SDK Developer Guide . For more
        /// information about the Amazon Chime SDK, see Using
        /// the Amazon Chime SDK in the Amazon Chime SDK Developer Guide.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateMeeting,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateMeeting service method.
        /// 
        /// The response from the CreateMeeting service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateMeeting Operation
        [Obsolete("Replaced by CreateMeeting in the Amazon Chime SDK Meetings Namespace")]
        public virtual CreateMeetingResponse CreateMeeting(CreateMeetingRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateMeetingRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateMeetingResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates a new Amazon Chime SDK meeting in the specified media Region with no initial
        /// attendees. For more information about specifying media Regions, see Amazon
        /// Chime SDK Media Regions in the Amazon Chime SDK Developer Guide . For more
        /// information about the Amazon Chime SDK, see Using
        /// the Amazon Chime SDK in the Amazon Chime SDK Developer Guide.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateMeeting,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateMeeting service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateMeeting service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateMeeting Operation
        [Obsolete("Replaced by CreateMeeting in the Amazon Chime SDK Meetings Namespace")]
        public virtual Task CreateMeetingAsync(CreateMeetingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateMeetingRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateMeetingResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateMeetingDialOut
        /// 
        /// Uses the join token and call metadata in a meeting request (From number, To number,
        /// and so forth) to initiate an outbound call to a public switched telephone network
        /// (PSTN) and join them into a Chime meeting. Also ensures that the From number belongs
        /// to the customer.
        /// 
        ///  
        /// 
        /// To play welcome audio or implement an interactive voice response (IVR), use the CreateSipMediaApplicationCall
        /// action with the corresponding SIP media application ID.
        /// 
        ///   
        /// 
        ///  This API is is not available in a dedicated namespace. 
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateMeetingDialOut service method.
        /// 
        /// The response from the CreateMeetingDialOut service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateMeetingDialOut Operation
        public virtual CreateMeetingDialOutResponse CreateMeetingDialOut(CreateMeetingDialOutRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateMeetingDialOutRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateMeetingDialOutResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Uses the join token and call metadata in a meeting request (From number, To number,
        /// and so forth) to initiate an outbound call to a public switched telephone network
        /// (PSTN) and join them into a Chime meeting. Also ensures that the From number belongs
        /// to the customer.
        /// 
        ///  
        /// 
        /// To play welcome audio or implement an interactive voice response (IVR), use the CreateSipMediaApplicationCall
        /// action with the corresponding SIP media application ID.
        /// 
        ///   
        /// 
        ///  This API is is not available in a dedicated namespace. 
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateMeetingDialOut service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateMeetingDialOut service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateMeetingDialOut Operation
        public virtual Task CreateMeetingDialOutAsync(CreateMeetingDialOutRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateMeetingDialOutRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateMeetingDialOutResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateMeetingWithAttendees
        /// 
        /// Creates a new Amazon Chime SDK meeting in the specified media Region, with attendees.
        /// For more information about specifying media Regions, see Amazon
        /// Chime SDK Media Regions in the Amazon Chime SDK Developer Guide . For more
        /// information about the Amazon Chime SDK, see Using
        /// the Amazon Chime SDK in the Amazon Chime SDK Developer Guide . 
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateMeetingWithAttendees,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateMeetingWithAttendees service method.
        /// 
        /// The response from the CreateMeetingWithAttendees service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateMeetingWithAttendees Operation
        [Obsolete("Replaced by CreateMeetingWithAttendees in the Amazon Chime SDK Meetings Namespace")]
        public virtual CreateMeetingWithAttendeesResponse CreateMeetingWithAttendees(CreateMeetingWithAttendeesRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateMeetingWithAttendeesRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateMeetingWithAttendeesResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates a new Amazon Chime SDK meeting in the specified media Region, with attendees.
        /// For more information about specifying media Regions, see Amazon
        /// Chime SDK Media Regions in the Amazon Chime SDK Developer Guide . For more
        /// information about the Amazon Chime SDK, see Using
        /// the Amazon Chime SDK in the Amazon Chime SDK Developer Guide . 
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateMeetingWithAttendees,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateMeetingWithAttendees service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateMeetingWithAttendees service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateMeetingWithAttendees Operation
        [Obsolete("Replaced by CreateMeetingWithAttendees in the Amazon Chime SDK Meetings Namespace")]
        public virtual Task CreateMeetingWithAttendeesAsync(CreateMeetingWithAttendeesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateMeetingWithAttendeesRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateMeetingWithAttendeesResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreatePhoneNumberOrder
        /// 
        /// Creates an order for phone numbers to be provisioned. For toll-free numbers, you cannot
        /// use the Amazon Chime Business Calling product type. For numbers outside the U.S.,
        /// you must use the Amazon Chime SIP Media Application Dial-In product type.
        /// 
        /// Container for the necessary parameters to execute the CreatePhoneNumberOrder service method.
        /// 
        /// The response from the CreatePhoneNumberOrder service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreatePhoneNumberOrder Operation
        public virtual CreatePhoneNumberOrderResponse CreatePhoneNumberOrder(CreatePhoneNumberOrderRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreatePhoneNumberOrderRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreatePhoneNumberOrderResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates an order for phone numbers to be provisioned. For toll-free numbers, you cannot
        /// use the Amazon Chime Business Calling product type. For numbers outside the U.S.,
        /// you must use the Amazon Chime SIP Media Application Dial-In product type.
        /// 
        /// Container for the necessary parameters to execute the CreatePhoneNumberOrder service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreatePhoneNumberOrder service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreatePhoneNumberOrder Operation
        public virtual Task CreatePhoneNumberOrderAsync(CreatePhoneNumberOrderRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreatePhoneNumberOrderRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreatePhoneNumberOrderResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateProxySession
        /// 
        /// Creates a proxy session on the specified Amazon Chime Voice Connector for the specified
        /// participant phone numbers.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateProxySession,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateProxySession service method.
        /// 
        /// The response from the CreateProxySession service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateProxySession Operation
        [Obsolete("Replaced by CreateProxySession in the Amazon Chime SDK Voice Namespace")]
        public virtual CreateProxySessionResponse CreateProxySession(CreateProxySessionRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateProxySessionRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateProxySessionResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates a proxy session on the specified Amazon Chime Voice Connector for the specified
        /// participant phone numbers.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateProxySession,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateProxySession service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateProxySession service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateProxySession Operation
        [Obsolete("Replaced by CreateProxySession in the Amazon Chime SDK Voice Namespace")]
        public virtual Task CreateProxySessionAsync(CreateProxySessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateProxySessionRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateProxySessionResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateRoom
        /// 
        /// Creates a chat room for the specified Amazon Chime Enterprise account.
        /// 
        /// Container for the necessary parameters to execute the CreateRoom service method.
        /// 
        /// The response from the CreateRoom service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateRoom Operation
        public virtual CreateRoomResponse CreateRoom(CreateRoomRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateRoomRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateRoomResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates a chat room for the specified Amazon Chime Enterprise account.
        /// 
        /// Container for the necessary parameters to execute the CreateRoom service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateRoom service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateRoom Operation
        public virtual Task CreateRoomAsync(CreateRoomRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateRoomRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateRoomResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateRoomMembership
        /// 
        /// Adds a member to a chat room in an Amazon Chime Enterprise account. A member can be
        /// either a user or a bot. The member role designates whether the member is a chat room
        /// administrator or a general chat room member.
        /// 
        /// Container for the necessary parameters to execute the CreateRoomMembership service method.
        /// 
        /// The response from the CreateRoomMembership service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateRoomMembership Operation
        public virtual CreateRoomMembershipResponse CreateRoomMembership(CreateRoomMembershipRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateRoomMembershipRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateRoomMembershipResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Adds a member to a chat room in an Amazon Chime Enterprise account. A member can be
        /// either a user or a bot. The member role designates whether the member is a chat room
        /// administrator or a general chat room member.
        /// 
        /// Container for the necessary parameters to execute the CreateRoomMembership service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateRoomMembership service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateRoomMembership Operation
        public virtual Task CreateRoomMembershipAsync(CreateRoomMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateRoomMembershipRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateRoomMembershipResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateSipMediaApplication
        /// 
        /// Creates a SIP media application.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateSipMediaApplication,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateSipMediaApplication service method.
        /// 
        /// The response from the CreateSipMediaApplication service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateSipMediaApplication Operation
        [Obsolete("Replaced by CreateSipMediaApplication in the Amazon Chime SDK Voice Namespace")]
        public virtual CreateSipMediaApplicationResponse CreateSipMediaApplication(CreateSipMediaApplicationRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateSipMediaApplicationRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateSipMediaApplicationResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates a SIP media application.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateSipMediaApplication,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateSipMediaApplication service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateSipMediaApplication service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateSipMediaApplication Operation
        [Obsolete("Replaced by CreateSipMediaApplication in the Amazon Chime SDK Voice Namespace")]
        public virtual Task CreateSipMediaApplicationAsync(CreateSipMediaApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateSipMediaApplicationRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateSipMediaApplicationResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateSipMediaApplicationCall
        /// 
        /// Creates an outbound call to a phone number from the phone number specified in the
        /// request, and it invokes the endpoint of the specified sipMediaApplicationId.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateSipMediaApplicationCall,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateSipMediaApplicationCall service method.
        /// 
        /// The response from the CreateSipMediaApplicationCall service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateSipMediaApplicationCall Operation
        [Obsolete("Replaced by CreateSipMediaApplicationCall in the Amazon Chime SDK Voice Namespace")]
        public virtual CreateSipMediaApplicationCallResponse CreateSipMediaApplicationCall(CreateSipMediaApplicationCallRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateSipMediaApplicationCallRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateSipMediaApplicationCallResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates an outbound call to a phone number from the phone number specified in the
        /// request, and it invokes the endpoint of the specified sipMediaApplicationId.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateSipMediaApplicationCall,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateSipMediaApplicationCall service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateSipMediaApplicationCall service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateSipMediaApplicationCall Operation
        [Obsolete("Replaced by CreateSipMediaApplicationCall in the Amazon Chime SDK Voice Namespace")]
        public virtual Task CreateSipMediaApplicationCallAsync(CreateSipMediaApplicationCallRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateSipMediaApplicationCallRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateSipMediaApplicationCallResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateSipRule
        /// 
        /// Creates a SIP rule which can be used to run a SIP media application as a target for
        /// a specific trigger type.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateSipRule,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateSipRule service method.
        /// 
        /// The response from the CreateSipRule service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateSipRule Operation
        [Obsolete("Replaced by CreateSipRule in the Amazon Chime SDK Voice Namespace")]
        public virtual CreateSipRuleResponse CreateSipRule(CreateSipRuleRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateSipRuleRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateSipRuleResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates a SIP rule which can be used to run a SIP media application as a target for
        /// a specific trigger type.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateSipRule,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateSipRule service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateSipRule service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateSipRule Operation
        [Obsolete("Replaced by CreateSipRule in the Amazon Chime SDK Voice Namespace")]
        public virtual Task CreateSipRuleAsync(CreateSipRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateSipRuleRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateSipRuleResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateUser
        /// 
        /// Creates a user under the specified Amazon Chime account.
        /// 
        /// Container for the necessary parameters to execute the CreateUser service method.
        /// 
        /// The response from the CreateUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateUser Operation
        public virtual CreateUserResponse CreateUser(CreateUserRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates a user under the specified Amazon Chime account.
        /// 
        /// Container for the necessary parameters to execute the CreateUser service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateUser Operation
        public virtual Task CreateUserAsync(CreateUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateVoiceConnector
        /// 
        /// Creates an Amazon Chime Voice Connector under the administrator's AWS account. You
        /// can choose to create an Amazon Chime Voice Connector in a specific AWS Region.
        /// 
        ///  
        /// 
        /// Enabling CreateVoiceConnectorRequest$RequireEncryption configures your Amazon
        /// Chime Voice Connector to use TLS transport for SIP signaling and Secure RTP (SRTP)
        /// for media. Inbound calls use TLS transport, and unencrypted outbound calls are blocked.
        /// 
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateVoiceConnector,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateVoiceConnector service method.
        /// 
        /// The response from the CreateVoiceConnector service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateVoiceConnector Operation
        [Obsolete("Replaced by CreateVoiceConnector in the Amazon Chime SDK Voice Namespace")]
        public virtual CreateVoiceConnectorResponse CreateVoiceConnector(CreateVoiceConnectorRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateVoiceConnectorRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateVoiceConnectorResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates an Amazon Chime Voice Connector under the administrator's AWS account. You
        /// can choose to create an Amazon Chime Voice Connector in a specific AWS Region.
        /// 
        ///  
        /// 
        /// Enabling CreateVoiceConnectorRequest$RequireEncryption configures your Amazon
        /// Chime Voice Connector to use TLS transport for SIP signaling and Secure RTP (SRTP)
        /// for media. Inbound calls use TLS transport, and unencrypted outbound calls are blocked.
        /// 
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateVoiceConnector,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateVoiceConnector service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateVoiceConnector service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateVoiceConnector Operation
        [Obsolete("Replaced by CreateVoiceConnector in the Amazon Chime SDK Voice Namespace")]
        public virtual Task CreateVoiceConnectorAsync(CreateVoiceConnectorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateVoiceConnectorRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateVoiceConnectorResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  CreateVoiceConnectorGroup
        /// 
        /// Creates an Amazon Chime Voice Connector group under the administrator's AWS account.
        /// You can associate Amazon Chime Voice Connectors with the Amazon Chime Voice Connector
        /// group by including VoiceConnectorItems in the request.
        /// 
        ///  
        /// 
        /// You can include Amazon Chime Voice Connectors from different AWS Regions in your group.
        /// This creates a fault tolerant mechanism for fallback in case of availability events.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateVoiceConnectorGroup,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateVoiceConnectorGroup service method.
        /// 
        /// The response from the CreateVoiceConnectorGroup service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateVoiceConnectorGroup Operation
        [Obsolete("Replaced by CreateVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace")]
        public virtual CreateVoiceConnectorGroupResponse CreateVoiceConnectorGroup(CreateVoiceConnectorGroupRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateVoiceConnectorGroupRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateVoiceConnectorGroupResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Creates an Amazon Chime Voice Connector group under the administrator's AWS account.
        /// You can associate Amazon Chime Voice Connectors with the Amazon Chime Voice Connector
        /// group by including VoiceConnectorItems in the request.
        /// 
        ///  
        /// 
        /// You can include Amazon Chime Voice Connectors from different AWS Regions in your group.
        /// This creates a fault tolerant mechanism for fallback in case of availability events.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, CreateVoiceConnectorGroup,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the CreateVoiceConnectorGroup service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the CreateVoiceConnectorGroup service method, as returned by Chime.
        /// 
        /// You don't have permissions to perform the requested operation.
        /// 
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for CreateVoiceConnectorGroup Operation
        [Obsolete("Replaced by CreateVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace")]
        public virtual Task CreateVoiceConnectorGroupAsync(CreateVoiceConnectorGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = CreateVoiceConnectorGroupRequestMarshaller.Instance;
            options.ResponseUnmarshaller = CreateVoiceConnectorGroupResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteAccount
        /// 
        /// Deletes the specified Amazon Chime account. You must suspend all users before deleting
        /// Team account. You can use the BatchSuspendUser action to dodo.
        /// 
        ///  
        /// 
        /// For EnterpriseLWA and EnterpriseAD accounts, you must release
        /// the claimed domains for your Amazon Chime account before deletion. As soon as you
        /// release the domain, all users under that account are suspended.
        /// 
        ///  
        /// 
        /// Deleted accounts appear in your Disabled accounts list for 90 days. To
        /// restore deleted account from your Disabled accounts list, you must contact
        /// AWS Support.
        /// 
        ///  
        /// 
        /// After 90 days, deleted accounts are permanently removed from your Disabled
        /// accounts list.
        /// 
        /// 
        /// Container for the necessary parameters to execute the DeleteAccount service method.
        /// 
        /// The response from the DeleteAccount service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// 
        /// The request was well-formed but was unable to be followed due to semantic errors.
        /// 
        /// REST API Reference for DeleteAccount Operation
        public virtual DeleteAccountResponse DeleteAccount(DeleteAccountRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteAccountRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteAccountResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes the specified Amazon Chime account. You must suspend all users before deleting
        /// Team account. You can use the BatchSuspendUser action to dodo.
        /// 
        ///  
        /// 
        /// For EnterpriseLWA and EnterpriseAD accounts, you must release
        /// the claimed domains for your Amazon Chime account before deletion. As soon as you
        /// release the domain, all users under that account are suspended.
        /// 
        ///  
        /// 
        /// Deleted accounts appear in your Disabled accounts list for 90 days. To
        /// restore deleted account from your Disabled accounts list, you must contact
        /// AWS Support.
        /// 
        ///  
        /// 
        /// After 90 days, deleted accounts are permanently removed from your Disabled
        /// accounts list.
        /// 
        /// 
        /// Container for the necessary parameters to execute the DeleteAccount service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteAccount service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// 
        /// The request was well-formed but was unable to be followed due to semantic errors.
        /// 
        /// REST API Reference for DeleteAccount Operation
        public virtual Task DeleteAccountAsync(DeleteAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteAccountRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteAccountResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteAppInstance
        /// 
        /// Deletes an AppInstance and all associated data asynchronously.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteAppInstance,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteAppInstance service method.
        /// 
        /// The response from the DeleteAppInstance service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteAppInstance Operation
        [Obsolete("Replaced by DeleteAppInstance in the Amazon Chime SDK Identity Namespace")]
        public virtual DeleteAppInstanceResponse DeleteAppInstance(DeleteAppInstanceRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteAppInstanceRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteAppInstanceResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes an AppInstance and all associated data asynchronously.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteAppInstance,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteAppInstance service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteAppInstance service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteAppInstance Operation
        [Obsolete("Replaced by DeleteAppInstance in the Amazon Chime SDK Identity Namespace")]
        public virtual Task DeleteAppInstanceAsync(DeleteAppInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteAppInstanceRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteAppInstanceResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteAppInstanceAdmin
        /// 
        /// Demotes an AppInstanceAdmin to an AppInstanceUser. This
        /// action does not delete the user.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteAppInstanceAdmin,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteAppInstanceAdmin service method.
        /// 
        /// The response from the DeleteAppInstanceAdmin service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteAppInstanceAdmin Operation
        [Obsolete("Replaced by DeleteAppInstanceAdmin in the Amazon Chime SDK Identity Namespace")]
        public virtual DeleteAppInstanceAdminResponse DeleteAppInstanceAdmin(DeleteAppInstanceAdminRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteAppInstanceAdminRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteAppInstanceAdminResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Demotes an AppInstanceAdmin to an AppInstanceUser. This
        /// action does not delete the user.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteAppInstanceAdmin,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteAppInstanceAdmin service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteAppInstanceAdmin service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteAppInstanceAdmin Operation
        [Obsolete("Replaced by DeleteAppInstanceAdmin in the Amazon Chime SDK Identity Namespace")]
        public virtual Task DeleteAppInstanceAdminAsync(DeleteAppInstanceAdminRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteAppInstanceAdminRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteAppInstanceAdminResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteAppInstanceStreamingConfigurations
        /// 
        /// Deletes the streaming configurations of an AppInstance.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteAppInstanceStreamingConfigurations,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteAppInstanceStreamingConfigurations service method.
        /// 
        /// The response from the DeleteAppInstanceStreamingConfigurations service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteAppInstanceStreamingConfigurations Operation
        [Obsolete("Replaced by DeleteAppInstanceStreamingConfigurations in the Amazon Chime SDK Messaging Namespace")]
        public virtual DeleteAppInstanceStreamingConfigurationsResponse DeleteAppInstanceStreamingConfigurations(DeleteAppInstanceStreamingConfigurationsRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteAppInstanceStreamingConfigurationsRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteAppInstanceStreamingConfigurationsResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes the streaming configurations of an AppInstance.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteAppInstanceStreamingConfigurations,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteAppInstanceStreamingConfigurations service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteAppInstanceStreamingConfigurations service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteAppInstanceStreamingConfigurations Operation
        [Obsolete("Replaced by DeleteAppInstanceStreamingConfigurations in the Amazon Chime SDK Messaging Namespace")]
        public virtual Task DeleteAppInstanceStreamingConfigurationsAsync(DeleteAppInstanceStreamingConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteAppInstanceStreamingConfigurationsRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteAppInstanceStreamingConfigurationsResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteAppInstanceUser
        /// 
        /// Deletes an AppInstanceUser.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteAppInstanceUser,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteAppInstanceUser service method.
        /// 
        /// The response from the DeleteAppInstanceUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteAppInstanceUser Operation
        [Obsolete("Replaced by DeleteAppInstanceUser in the Amazon Chime SDK Identity Namespace")]
        public virtual DeleteAppInstanceUserResponse DeleteAppInstanceUser(DeleteAppInstanceUserRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteAppInstanceUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteAppInstanceUserResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes an AppInstanceUser.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteAppInstanceUser,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteAppInstanceUser service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteAppInstanceUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteAppInstanceUser Operation
        [Obsolete("Replaced by DeleteAppInstanceUser in the Amazon Chime SDK Identity Namespace")]
        public virtual Task DeleteAppInstanceUserAsync(DeleteAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteAppInstanceUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteAppInstanceUserResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteAttendee
        /// 
        /// Deletes an attendee from the specified Amazon Chime SDK meeting and deletes their
        /// JoinToken. Attendees are automatically deleted when a Amazon Chime SDK
        /// meeting is deleted. For more information about the Amazon Chime SDK, see Using
        /// the Amazon Chime SDK in the Amazon Chime SDK Developer Guide.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteAttendee,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteAttendee service method.
        /// 
        /// The response from the DeleteAttendee service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteAttendee Operation
        [Obsolete("Replaced by DeleteAttendee in the Amazon Chime SDK Meetings Namespace")]
        public virtual DeleteAttendeeResponse DeleteAttendee(DeleteAttendeeRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteAttendeeRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteAttendeeResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes an attendee from the specified Amazon Chime SDK meeting and deletes their
        /// JoinToken. Attendees are automatically deleted when a Amazon Chime SDK
        /// meeting is deleted. For more information about the Amazon Chime SDK, see Using
        /// the Amazon Chime SDK in the Amazon Chime SDK Developer Guide.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteAttendee,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteAttendee service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteAttendee service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteAttendee Operation
        [Obsolete("Replaced by DeleteAttendee in the Amazon Chime SDK Meetings Namespace")]
        public virtual Task DeleteAttendeeAsync(DeleteAttendeeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteAttendeeRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteAttendeeResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteChannel
        /// 
        /// Immediately makes a channel and its memberships inaccessible and marks them for deletion.
        /// This is an irreversible process.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteChannel,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteChannel service method.
        /// 
        /// The response from the DeleteChannel service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteChannel Operation
        [Obsolete("Replaced by DeleteChannel in the Amazon Chime SDK Messaging Namespace")]
        public virtual DeleteChannelResponse DeleteChannel(DeleteChannelRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteChannelRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteChannelResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Immediately makes a channel and its memberships inaccessible and marks them for deletion.
        /// This is an irreversible process.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteChannel,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteChannel service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteChannel service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteChannel Operation
        [Obsolete("Replaced by DeleteChannel in the Amazon Chime SDK Messaging Namespace")]
        public virtual Task DeleteChannelAsync(DeleteChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteChannelRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteChannelResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteChannelBan
        /// 
        /// Removes a user from a channel's ban list.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteChannelBan,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteChannelBan service method.
        /// 
        /// The response from the DeleteChannelBan service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteChannelBan Operation
        [Obsolete("Replaced by DeleteChannelBan in the Amazon Chime SDK Messaging Namespace")]
        public virtual DeleteChannelBanResponse DeleteChannelBan(DeleteChannelBanRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteChannelBanRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteChannelBanResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Removes a user from a channel's ban list.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteChannelBan,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteChannelBan service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteChannelBan service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteChannelBan Operation
        [Obsolete("Replaced by DeleteChannelBan in the Amazon Chime SDK Messaging Namespace")]
        public virtual Task DeleteChannelBanAsync(DeleteChannelBanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteChannelBanRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteChannelBanResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteChannelMembership
        /// 
        /// Removes a member from a channel.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteChannelMembership,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteChannelMembership service method.
        /// 
        /// The response from the DeleteChannelMembership service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteChannelMembership Operation
        [Obsolete("Replaced by DeleteChannelMembership in the Amazon Chime SDK Messaging Namespace")]
        public virtual DeleteChannelMembershipResponse DeleteChannelMembership(DeleteChannelMembershipRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteChannelMembershipRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteChannelMembershipResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Removes a member from a channel.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteChannelMembership,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteChannelMembership service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteChannelMembership service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteChannelMembership Operation
        [Obsolete("Replaced by DeleteChannelMembership in the Amazon Chime SDK Messaging Namespace")]
        public virtual Task DeleteChannelMembershipAsync(DeleteChannelMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteChannelMembershipRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteChannelMembershipResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteChannelMessage
        /// 
        /// Deletes a channel message. Only admins can perform this action. Deletion makes messages
        /// inaccessible immediately. A background process deletes any revisions created by UpdateChannelMessage.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteChannelMessage,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteChannelMessage service method.
        /// 
        /// The response from the DeleteChannelMessage service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteChannelMessage Operation
        [Obsolete("Replaced by DeleteChannelMessage in the Amazon Chime SDK Messaging Namespace")]
        public virtual DeleteChannelMessageResponse DeleteChannelMessage(DeleteChannelMessageRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteChannelMessageRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteChannelMessageResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes a channel message. Only admins can perform this action. Deletion makes messages
        /// inaccessible immediately. A background process deletes any revisions created by UpdateChannelMessage.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteChannelMessage,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteChannelMessage service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteChannelMessage service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteChannelMessage Operation
        [Obsolete("Replaced by DeleteChannelMessage in the Amazon Chime SDK Messaging Namespace")]
        public virtual Task DeleteChannelMessageAsync(DeleteChannelMessageRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteChannelMessageRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteChannelMessageResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteChannelModerator
        /// 
        /// Deletes a channel moderator.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteChannelModerator,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteChannelModerator service method.
        /// 
        /// The response from the DeleteChannelModerator service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteChannelModerator Operation
        [Obsolete("Replaced by DeleteChannelModerator in the Amazon Chime SDK Messaging Namespace")]
        public virtual DeleteChannelModeratorResponse DeleteChannelModerator(DeleteChannelModeratorRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteChannelModeratorRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteChannelModeratorResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes a channel moderator.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteChannelModerator,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteChannelModerator service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteChannelModerator service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteChannelModerator Operation
        [Obsolete("Replaced by DeleteChannelModerator in the Amazon Chime SDK Messaging Namespace")]
        public virtual Task DeleteChannelModeratorAsync(DeleteChannelModeratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteChannelModeratorRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteChannelModeratorResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteEventsConfiguration
        /// 
        /// Deletes the events configuration that allows a bot to receive outgoing events.
        /// 
        /// Container for the necessary parameters to execute the DeleteEventsConfiguration service method.
        /// 
        /// The response from the DeleteEventsConfiguration service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteEventsConfiguration Operation
        public virtual DeleteEventsConfigurationResponse DeleteEventsConfiguration(DeleteEventsConfigurationRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteEventsConfigurationRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteEventsConfigurationResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes the events configuration that allows a bot to receive outgoing events.
        /// 
        /// Container for the necessary parameters to execute the DeleteEventsConfiguration service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteEventsConfiguration service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The request exceeds the resource limit.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteEventsConfiguration Operation
        public virtual Task DeleteEventsConfigurationAsync(DeleteEventsConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteEventsConfigurationRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteEventsConfigurationResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteMediaCapturePipeline
        /// 
        /// Deletes the media capture pipeline.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteMediaCapturePipeline,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteMediaCapturePipeline service method.
        /// 
        /// The response from the DeleteMediaCapturePipeline service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteMediaCapturePipeline Operation
        [Obsolete("Replaced by DeleteMediaCapturePipeline in the Amazon Chime SDK Media Pipelines Namespace")]
        public virtual DeleteMediaCapturePipelineResponse DeleteMediaCapturePipeline(DeleteMediaCapturePipelineRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteMediaCapturePipelineRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteMediaCapturePipelineResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes the media capture pipeline.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteMediaCapturePipeline,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteMediaCapturePipeline service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteMediaCapturePipeline service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteMediaCapturePipeline Operation
        [Obsolete("Replaced by DeleteMediaCapturePipeline in the Amazon Chime SDK Media Pipelines Namespace")]
        public virtual Task DeleteMediaCapturePipelineAsync(DeleteMediaCapturePipelineRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteMediaCapturePipelineRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteMediaCapturePipelineResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteMeeting
        /// 
        /// Deletes the specified Amazon Chime SDK meeting. The operation deletes all attendees,
        /// disconnects all clients, and prevents new clients from joining the meeting. For more
        /// information about the Amazon Chime SDK, see Using
        /// the Amazon Chime SDK in the Amazon Chime SDK Developer Guide.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteMeeting,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteMeeting service method.
        /// 
        /// The response from the DeleteMeeting service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteMeeting Operation
        [Obsolete("Replaced by DeleteMeeting in the Amazon Chime SDK Meetings Namespace")]
        public virtual DeleteMeetingResponse DeleteMeeting(DeleteMeetingRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteMeetingRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteMeetingResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes the specified Amazon Chime SDK meeting. The operation deletes all attendees,
        /// disconnects all clients, and prevents new clients from joining the meeting. For more
        /// information about the Amazon Chime SDK, see Using
        /// the Amazon Chime SDK in the Amazon Chime SDK Developer Guide.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteMeeting,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteMeeting service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteMeeting service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteMeeting Operation
        [Obsolete("Replaced by DeleteMeeting in the Amazon Chime SDK Meetings Namespace")]
        public virtual Task DeleteMeetingAsync(DeleteMeetingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteMeetingRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteMeetingResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeletePhoneNumber
        /// 
        /// Moves the specified phone number into the Deletion queue. A phone number must
        /// be disassociated from any users or Amazon Chime Voice Connectors before it can be
        /// deleted.
        /// 
        ///  
        /// 
        /// Deleted phone numbers remain in the Deletion queue for 7 days before they are
        /// deleted permanently.
        /// 
        /// 
        /// Container for the necessary parameters to execute the DeletePhoneNumber service method.
        /// 
        /// The response from the DeletePhoneNumber service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeletePhoneNumber Operation
        public virtual DeletePhoneNumberResponse DeletePhoneNumber(DeletePhoneNumberRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeletePhoneNumberRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeletePhoneNumberResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Moves the specified phone number into the Deletion queue. A phone number must
        /// be disassociated from any users or Amazon Chime Voice Connectors before it can be
        /// deleted.
        /// 
        ///  
        /// 
        /// Deleted phone numbers remain in the Deletion queue for 7 days before they are
        /// deleted permanently.
        /// 
        /// 
        /// Container for the necessary parameters to execute the DeletePhoneNumber service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeletePhoneNumber service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeletePhoneNumber Operation
        public virtual Task DeletePhoneNumberAsync(DeletePhoneNumberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeletePhoneNumberRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeletePhoneNumberResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteProxySession
        /// 
        /// Deletes the specified proxy session from the specified Amazon Chime Voice Connector.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteProxySession,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteProxySession service method.
        /// 
        /// The response from the DeleteProxySession service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteProxySession Operation
        [Obsolete("Replaced by DeleteProxySession in the Amazon Chime SDK Voice Namespace")]
        public virtual DeleteProxySessionResponse DeleteProxySession(DeleteProxySessionRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteProxySessionRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteProxySessionResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes the specified proxy session from the specified Amazon Chime Voice Connector.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteProxySession,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteProxySession service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteProxySession service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteProxySession Operation
        [Obsolete("Replaced by DeleteProxySession in the Amazon Chime SDK Voice Namespace")]
        public virtual Task DeleteProxySessionAsync(DeleteProxySessionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteProxySessionRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteProxySessionResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteRoom
        /// 
        /// Deletes a chat room in an Amazon Chime Enterprise account.
        /// 
        /// Container for the necessary parameters to execute the DeleteRoom service method.
        /// 
        /// The response from the DeleteRoom service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteRoom Operation
        public virtual DeleteRoomResponse DeleteRoom(DeleteRoomRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteRoomRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteRoomResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes a chat room in an Amazon Chime Enterprise account.
        /// 
        /// Container for the necessary parameters to execute the DeleteRoom service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteRoom service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteRoom Operation
        public virtual Task DeleteRoomAsync(DeleteRoomRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteRoomRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteRoomResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteRoomMembership
        /// 
        /// Removes a member from a chat room in an Amazon Chime Enterprise account.
        /// 
        /// Container for the necessary parameters to execute the DeleteRoomMembership service method.
        /// 
        /// The response from the DeleteRoomMembership service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteRoomMembership Operation
        public virtual DeleteRoomMembershipResponse DeleteRoomMembership(DeleteRoomMembershipRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteRoomMembershipRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteRoomMembershipResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Removes a member from a chat room in an Amazon Chime Enterprise account.
        /// 
        /// Container for the necessary parameters to execute the DeleteRoomMembership service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteRoomMembership service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteRoomMembership Operation
        public virtual Task DeleteRoomMembershipAsync(DeleteRoomMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteRoomMembershipRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteRoomMembershipResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteSipMediaApplication
        /// 
        /// Deletes a SIP media application.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteSipMediaApplication,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteSipMediaApplication service method.
        /// 
        /// The response from the DeleteSipMediaApplication service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteSipMediaApplication Operation
        [Obsolete("Replaced by DeleteSipMediaApplication in the Amazon Chime SDK Voice Namespace")]
        public virtual DeleteSipMediaApplicationResponse DeleteSipMediaApplication(DeleteSipMediaApplicationRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteSipMediaApplicationRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteSipMediaApplicationResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes a SIP media application.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteSipMediaApplication,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteSipMediaApplication service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteSipMediaApplication service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteSipMediaApplication Operation
        [Obsolete("Replaced by DeleteSipMediaApplication in the Amazon Chime SDK Voice Namespace")]
        public virtual Task DeleteSipMediaApplicationAsync(DeleteSipMediaApplicationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteSipMediaApplicationRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteSipMediaApplicationResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteSipRule
        /// 
        /// Deletes a SIP rule. You must disable a SIP rule before you can delete it.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteSipRule,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteSipRule service method.
        /// 
        /// The response from the DeleteSipRule service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteSipRule Operation
        [Obsolete("Replaced by DeleteSipRule in the Amazon Chime SDK Voice Namespace")]
        public virtual DeleteSipRuleResponse DeleteSipRule(DeleteSipRuleRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteSipRuleRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteSipRuleResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes a SIP rule. You must disable a SIP rule before you can delete it.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteSipRule,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteSipRule service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteSipRule service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteSipRule Operation
        [Obsolete("Replaced by DeleteSipRule in the Amazon Chime SDK Voice Namespace")]
        public virtual Task DeleteSipRuleAsync(DeleteSipRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteSipRuleRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteSipRuleResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteVoiceConnector
        /// 
        /// Deletes the specified Amazon Chime Voice Connector. Any phone numbers associated with
        /// the Amazon Chime Voice Connector must be disassociated from it before it can be deleted.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteVoiceConnector,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteVoiceConnector service method.
        /// 
        /// The response from the DeleteVoiceConnector service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteVoiceConnector Operation
        [Obsolete("Replaced by DeleteVoiceConnector in the Amazon Chime SDK Voice Namespace")]
        public virtual DeleteVoiceConnectorResponse DeleteVoiceConnector(DeleteVoiceConnectorRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteVoiceConnectorRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteVoiceConnectorResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes the specified Amazon Chime Voice Connector. Any phone numbers associated with
        /// the Amazon Chime Voice Connector must be disassociated from it before it can be deleted.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteVoiceConnector,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteVoiceConnector service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteVoiceConnector service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteVoiceConnector Operation
        [Obsolete("Replaced by DeleteVoiceConnector in the Amazon Chime SDK Voice Namespace")]
        public virtual Task DeleteVoiceConnectorAsync(DeleteVoiceConnectorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteVoiceConnectorRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteVoiceConnectorResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteVoiceConnectorEmergencyCallingConfiguration
        /// 
        /// Deletes the emergency calling configuration details from the specified Amazon Chime
        /// Voice Connector.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteVoiceConnectorEmergencyCallingConfiguration,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteVoiceConnectorEmergencyCallingConfiguration service method.
        /// 
        /// The response from the DeleteVoiceConnectorEmergencyCallingConfiguration service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteVoiceConnectorEmergencyCallingConfiguration Operation
        [Obsolete("Replaced by DeleteVoiceConnectorEmergencyCallingConfiguration in the Amazon Chime SDK Voice Namespace")]
        public virtual DeleteVoiceConnectorEmergencyCallingConfigurationResponse DeleteVoiceConnectorEmergencyCallingConfiguration(DeleteVoiceConnectorEmergencyCallingConfigurationRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteVoiceConnectorEmergencyCallingConfigurationRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteVoiceConnectorEmergencyCallingConfigurationResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes the emergency calling configuration details from the specified Amazon Chime
        /// Voice Connector.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteVoiceConnectorEmergencyCallingConfiguration,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteVoiceConnectorEmergencyCallingConfiguration service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteVoiceConnectorEmergencyCallingConfiguration service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteVoiceConnectorEmergencyCallingConfiguration Operation
        [Obsolete("Replaced by DeleteVoiceConnectorEmergencyCallingConfiguration in the Amazon Chime SDK Voice Namespace")]
        public virtual Task DeleteVoiceConnectorEmergencyCallingConfigurationAsync(DeleteVoiceConnectorEmergencyCallingConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteVoiceConnectorEmergencyCallingConfigurationRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteVoiceConnectorEmergencyCallingConfigurationResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteVoiceConnectorGroup
        /// 
        /// Deletes the specified Amazon Chime Voice Connector group. Any VoiceConnectorItems
        /// and phone numbers associated with the group must be removed before it can be deleted.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteVoiceConnectorGroup,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteVoiceConnectorGroup service method.
        /// 
        /// The response from the DeleteVoiceConnectorGroup service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteVoiceConnectorGroup Operation
        [Obsolete("Replaced by DeleteVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace")]
        public virtual DeleteVoiceConnectorGroupResponse DeleteVoiceConnectorGroup(DeleteVoiceConnectorGroupRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteVoiceConnectorGroupRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteVoiceConnectorGroupResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes the specified Amazon Chime Voice Connector group. Any VoiceConnectorItems
        /// and phone numbers associated with the group must be removed before it can be deleted.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteVoiceConnectorGroup,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteVoiceConnectorGroup service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteVoiceConnectorGroup service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The request could not be processed because of conflict in the current state of the
        /// resource.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteVoiceConnectorGroup Operation
        [Obsolete("Replaced by DeleteVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace")]
        public virtual Task DeleteVoiceConnectorGroupAsync(DeleteVoiceConnectorGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteVoiceConnectorGroupRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteVoiceConnectorGroupResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteVoiceConnectorOrigination
        /// 
        /// Deletes the origination settings for the specified Amazon Chime Voice Connector.
        /// 
        ///   
        /// 
        /// If emergency calling is configured for the Amazon Chime Voice Connector, it must be
        /// deleted prior to deleting the origination settings.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteVoiceConnectorOrigination,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteVoiceConnectorOrigination service method.
        /// 
        /// The response from the DeleteVoiceConnectorOrigination service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteVoiceConnectorOrigination Operation
        [Obsolete("Replaced by DeleteVoiceConnectorOrigination in the Amazon Chime SDK Voice Namespace")]
        public virtual DeleteVoiceConnectorOriginationResponse DeleteVoiceConnectorOrigination(DeleteVoiceConnectorOriginationRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteVoiceConnectorOriginationRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteVoiceConnectorOriginationResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes the origination settings for the specified Amazon Chime Voice Connector.
        /// 
        ///   
        /// 
        /// If emergency calling is configured for the Amazon Chime Voice Connector, it must be
        /// deleted prior to deleting the origination settings.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteVoiceConnectorOrigination,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteVoiceConnectorOrigination service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteVoiceConnectorOrigination service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteVoiceConnectorOrigination Operation
        [Obsolete("Replaced by DeleteVoiceConnectorOrigination in the Amazon Chime SDK Voice Namespace")]
        public virtual Task DeleteVoiceConnectorOriginationAsync(DeleteVoiceConnectorOriginationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteVoiceConnectorOriginationRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteVoiceConnectorOriginationResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteVoiceConnectorProxy
        /// 
        /// Deletes the proxy configuration from the specified Amazon Chime Voice Connector.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteVoiceProxy,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteVoiceConnectorProxy service method.
        /// 
        /// The response from the DeleteVoiceConnectorProxy service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteVoiceConnectorProxy Operation
        [Obsolete("Replaced by DeleteVoiceConnectorProxy in the Amazon Chime SDK Voice Namespace")]
        public virtual DeleteVoiceConnectorProxyResponse DeleteVoiceConnectorProxy(DeleteVoiceConnectorProxyRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteVoiceConnectorProxyRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteVoiceConnectorProxyResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes the proxy configuration from the specified Amazon Chime Voice Connector.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteVoiceProxy,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteVoiceConnectorProxy service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteVoiceConnectorProxy service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteVoiceConnectorProxy Operation
        [Obsolete("Replaced by DeleteVoiceConnectorProxy in the Amazon Chime SDK Voice Namespace")]
        public virtual Task DeleteVoiceConnectorProxyAsync(DeleteVoiceConnectorProxyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteVoiceConnectorProxyRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteVoiceConnectorProxyResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteVoiceConnectorStreamingConfiguration
        /// 
        /// Deletes the streaming configuration for the specified Amazon Chime Voice Connector.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteVoiceConnectorStreamingConfiguration,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteVoiceConnectorStreamingConfiguration service method.
        /// 
        /// The response from the DeleteVoiceConnectorStreamingConfiguration service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteVoiceConnectorStreamingConfiguration Operation
        [Obsolete("Replaced by DeleteVoiceConnectorStreamingConfiguration in the Amazon Chime SDK Voice Namespace")]
        public virtual DeleteVoiceConnectorStreamingConfigurationResponse DeleteVoiceConnectorStreamingConfiguration(DeleteVoiceConnectorStreamingConfigurationRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteVoiceConnectorStreamingConfigurationRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteVoiceConnectorStreamingConfigurationResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes the streaming configuration for the specified Amazon Chime Voice Connector.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteVoiceConnectorStreamingConfiguration,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteVoiceConnectorStreamingConfiguration service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteVoiceConnectorStreamingConfiguration service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteVoiceConnectorStreamingConfiguration Operation
        [Obsolete("Replaced by DeleteVoiceConnectorStreamingConfiguration in the Amazon Chime SDK Voice Namespace")]
        public virtual Task DeleteVoiceConnectorStreamingConfigurationAsync(DeleteVoiceConnectorStreamingConfigurationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteVoiceConnectorStreamingConfigurationRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteVoiceConnectorStreamingConfigurationResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteVoiceConnectorTermination
        /// 
        /// Deletes the termination settings for the specified Amazon Chime Voice Connector.
        /// 
        ///   
        /// 
        /// If emergency calling is configured for the Amazon Chime Voice Connector, it must be
        /// deleted prior to deleting the termination settings.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteVoiceConnectorTermination,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteVoiceConnectorTermination service method.
        /// 
        /// The response from the DeleteVoiceConnectorTermination service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteVoiceConnectorTermination Operation
        [Obsolete("Replaced by DeleteVoiceConnectorTermination in the Amazon Chime SDK Voice Namespace")]
        public virtual DeleteVoiceConnectorTerminationResponse DeleteVoiceConnectorTermination(DeleteVoiceConnectorTerminationRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteVoiceConnectorTerminationRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteVoiceConnectorTerminationResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes the termination settings for the specified Amazon Chime Voice Connector.
        /// 
        ///   
        /// 
        /// If emergency calling is configured for the Amazon Chime Voice Connector, it must be
        /// deleted prior to deleting the termination settings.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteVoiceConnectorTermination,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteVoiceConnectorTermination service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteVoiceConnectorTermination service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteVoiceConnectorTermination Operation
        [Obsolete("Replaced by DeleteVoiceConnectorTermination in the Amazon Chime SDK Voice Namespace")]
        public virtual Task DeleteVoiceConnectorTerminationAsync(DeleteVoiceConnectorTerminationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteVoiceConnectorTerminationRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteVoiceConnectorTerminationResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DeleteVoiceConnectorTerminationCredentials
        /// 
        /// Deletes the specified SIP credentials used by your equipment to authenticate during
        /// call termination.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteVoiceConnectorTerminationCredentials,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteVoiceConnectorTerminationCredentials service method.
        /// 
        /// The response from the DeleteVoiceConnectorTerminationCredentials service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteVoiceConnectorTerminationCredentials Operation
        [Obsolete("Replaced by DeleteVoiceConnectorTerminationCredentials in the Amazon Chime SDK Voice Namespace")]
        public virtual DeleteVoiceConnectorTerminationCredentialsResponse DeleteVoiceConnectorTerminationCredentials(DeleteVoiceConnectorTerminationCredentialsRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteVoiceConnectorTerminationCredentialsRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteVoiceConnectorTerminationCredentialsResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Deletes the specified SIP credentials used by your equipment to authenticate during
        /// call termination.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DeleteVoiceConnectorTerminationCredentials,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DeleteVoiceConnectorTerminationCredentials service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DeleteVoiceConnectorTerminationCredentials service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DeleteVoiceConnectorTerminationCredentials Operation
        [Obsolete("Replaced by DeleteVoiceConnectorTerminationCredentials in the Amazon Chime SDK Voice Namespace")]
        public virtual Task DeleteVoiceConnectorTerminationCredentialsAsync(DeleteVoiceConnectorTerminationCredentialsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DeleteVoiceConnectorTerminationCredentialsRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DeleteVoiceConnectorTerminationCredentialsResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DescribeAppInstance
        /// 
        /// Returns the full details of an AppInstance.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DescribeAppInstance,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DescribeAppInstance service method.
        /// 
        /// The response from the DescribeAppInstance service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DescribeAppInstance Operation
        [Obsolete("Replaced by DescribeAppInstance in the Amazon Chime SDK Identity Namespace")]
        public virtual DescribeAppInstanceResponse DescribeAppInstance(DescribeAppInstanceRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DescribeAppInstanceRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeAppInstanceResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Returns the full details of an AppInstance.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DescribeAppInstance,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DescribeAppInstance service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DescribeAppInstance service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DescribeAppInstance Operation
        [Obsolete("Replaced by DescribeAppInstance in the Amazon Chime SDK Identity Namespace")]
        public virtual Task DescribeAppInstanceAsync(DescribeAppInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DescribeAppInstanceRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeAppInstanceResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DescribeAppInstanceAdmin
        /// 
        /// Returns the full details of an AppInstanceAdmin.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DescribeAppInstanceAdmin,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DescribeAppInstanceAdmin service method.
        /// 
        /// The response from the DescribeAppInstanceAdmin service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DescribeAppInstanceAdmin Operation
        [Obsolete("Replaced by DescribeAppInstanceAdmin in the Amazon Chime SDK Identity Namespace")]
        public virtual DescribeAppInstanceAdminResponse DescribeAppInstanceAdmin(DescribeAppInstanceAdminRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DescribeAppInstanceAdminRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeAppInstanceAdminResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Returns the full details of an AppInstanceAdmin.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DescribeAppInstanceAdmin,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DescribeAppInstanceAdmin service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DescribeAppInstanceAdmin service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DescribeAppInstanceAdmin Operation
        [Obsolete("Replaced by DescribeAppInstanceAdmin in the Amazon Chime SDK Identity Namespace")]
        public virtual Task DescribeAppInstanceAdminAsync(DescribeAppInstanceAdminRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DescribeAppInstanceAdminRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeAppInstanceAdminResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DescribeAppInstanceUser
        /// 
        /// Returns the full details of an AppInstanceUser.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DescribeAppInstanceUser,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DescribeAppInstanceUser service method.
        /// 
        /// The response from the DescribeAppInstanceUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DescribeAppInstanceUser Operation
        [Obsolete("Replaced by DescribeAppInstanceUser in the Amazon Chime SDK Identity Namespace")]
        public virtual DescribeAppInstanceUserResponse DescribeAppInstanceUser(DescribeAppInstanceUserRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DescribeAppInstanceUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeAppInstanceUserResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Returns the full details of an AppInstanceUser.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DescribeAppInstanceUser,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DescribeAppInstanceUser service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DescribeAppInstanceUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DescribeAppInstanceUser Operation
        [Obsolete("Replaced by DescribeAppInstanceUser in the Amazon Chime SDK Identity Namespace")]
        public virtual Task DescribeAppInstanceUserAsync(DescribeAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DescribeAppInstanceUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeAppInstanceUserResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DescribeChannel
        /// 
        /// Returns the full details of a channel in an Amazon Chime AppInstance.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DescribeChannel,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DescribeChannel service method.
        /// 
        /// The response from the DescribeChannel service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DescribeChannel Operation
        [Obsolete("Replaced by DescribeChannel in the Amazon Chime SDK Messaging Namespace")]
        public virtual DescribeChannelResponse DescribeChannel(DescribeChannelRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DescribeChannelRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeChannelResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Returns the full details of a channel in an Amazon Chime AppInstance.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DescribeChannel,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DescribeChannel service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DescribeChannel service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DescribeChannel Operation
        [Obsolete("Replaced by DescribeChannel in the Amazon Chime SDK Messaging Namespace")]
        public virtual Task DescribeChannelAsync(DescribeChannelRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DescribeChannelRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeChannelResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DescribeChannelBan
        /// 
        /// Returns the full details of a channel ban.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DescribeChannelBan,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DescribeChannelBan service method.
        /// 
        /// The response from the DescribeChannelBan service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DescribeChannelBan Operation
        [Obsolete("Replaced by DescribeChannelBan in the Amazon Chime SDK Messaging Namespace")]
        public virtual DescribeChannelBanResponse DescribeChannelBan(DescribeChannelBanRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DescribeChannelBanRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeChannelBanResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Returns the full details of a channel ban.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DescribeChannelBan,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DescribeChannelBan service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DescribeChannelBan service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DescribeChannelBan Operation
        [Obsolete("Replaced by DescribeChannelBan in the Amazon Chime SDK Messaging Namespace")]
        public virtual Task DescribeChannelBanAsync(DescribeChannelBanRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DescribeChannelBanRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeChannelBanResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DescribeChannelMembership
        /// 
        /// Returns the full details of a user's channel membership.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DescribeChannelMembership,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DescribeChannelMembership service method.
        /// 
        /// The response from the DescribeChannelMembership service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DescribeChannelMembership Operation
        [Obsolete("Replaced by DescribeChannelMembership in the Amazon Chime SDK Messaging Namespace")]
        public virtual DescribeChannelMembershipResponse DescribeChannelMembership(DescribeChannelMembershipRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DescribeChannelMembershipRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeChannelMembershipResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Returns the full details of a user's channel membership.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DescribeChannelMembership,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DescribeChannelMembership service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DescribeChannelMembership service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DescribeChannelMembership Operation
        [Obsolete("Replaced by DescribeChannelMembership in the Amazon Chime SDK Messaging Namespace")]
        public virtual Task DescribeChannelMembershipAsync(DescribeChannelMembershipRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DescribeChannelMembershipRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeChannelMembershipResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DescribeChannelMembershipForAppInstanceUser
        /// 
        /// Returns the details of a channel based on the membership of the specified AppInstanceUser.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DescribeChannelMembershipForAppInstanceUser,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DescribeChannelMembershipForAppInstanceUser service method.
        /// 
        /// The response from the DescribeChannelMembershipForAppInstanceUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DescribeChannelMembershipForAppInstanceUser Operation
        [Obsolete("Replaced by DescribeChannelMembershipForAppInstanceUser in the Amazon Chime SDK Messaging Namespace")]
        public virtual DescribeChannelMembershipForAppInstanceUserResponse DescribeChannelMembershipForAppInstanceUser(DescribeChannelMembershipForAppInstanceUserRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DescribeChannelMembershipForAppInstanceUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeChannelMembershipForAppInstanceUserResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Returns the details of a channel based on the membership of the specified AppInstanceUser.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DescribeChannelMembershipForAppInstanceUser,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DescribeChannelMembershipForAppInstanceUser service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DescribeChannelMembershipForAppInstanceUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DescribeChannelMembershipForAppInstanceUser Operation
        [Obsolete("Replaced by DescribeChannelMembershipForAppInstanceUser in the Amazon Chime SDK Messaging Namespace")]
        public virtual Task DescribeChannelMembershipForAppInstanceUserAsync(DescribeChannelMembershipForAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DescribeChannelMembershipForAppInstanceUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeChannelMembershipForAppInstanceUserResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DescribeChannelModeratedByAppInstanceUser
        /// 
        /// Returns the full details of a channel moderated by the specified AppInstanceUser.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DescribeChannelModeratedByAppInstanceUser,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DescribeChannelModeratedByAppInstanceUser service method.
        /// 
        /// The response from the DescribeChannelModeratedByAppInstanceUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DescribeChannelModeratedByAppInstanceUser Operation
        [Obsolete("Replaced by DescribeChannelModeratedByAppInstanceUser in the Amazon Chime SDK Messaging Namespace")]
        public virtual DescribeChannelModeratedByAppInstanceUserResponse DescribeChannelModeratedByAppInstanceUser(DescribeChannelModeratedByAppInstanceUserRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DescribeChannelModeratedByAppInstanceUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeChannelModeratedByAppInstanceUserResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Returns the full details of a channel moderated by the specified AppInstanceUser.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DescribeChannelModeratedByAppInstanceUser,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DescribeChannelModeratedByAppInstanceUser service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DescribeChannelModeratedByAppInstanceUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DescribeChannelModeratedByAppInstanceUser Operation
        [Obsolete("Replaced by DescribeChannelModeratedByAppInstanceUser in the Amazon Chime SDK Messaging Namespace")]
        public virtual Task DescribeChannelModeratedByAppInstanceUserAsync(DescribeChannelModeratedByAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DescribeChannelModeratedByAppInstanceUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeChannelModeratedByAppInstanceUserResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DescribeChannelModerator
        /// 
        /// Returns the full details of a single ChannelModerator.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DescribeChannelModerator,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DescribeChannelModerator service method.
        /// 
        /// The response from the DescribeChannelModerator service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DescribeChannelModerator Operation
        [Obsolete("Replaced by DescribeChannelModerator in the Amazon Chime SDK Messaging Namespace")]
        public virtual DescribeChannelModeratorResponse DescribeChannelModerator(DescribeChannelModeratorRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DescribeChannelModeratorRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeChannelModeratorResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Returns the full details of a single ChannelModerator.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the AppInstanceUserArn
        /// of the user that makes the API call as the value in the header.
        /// 
        ///    
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DescribeChannelModerator,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DescribeChannelModerator service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DescribeChannelModerator service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DescribeChannelModerator Operation
        [Obsolete("Replaced by DescribeChannelModerator in the Amazon Chime SDK Messaging Namespace")]
        public virtual Task DescribeChannelModeratorAsync(DescribeChannelModeratorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DescribeChannelModeratorRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DescribeChannelModeratorResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DisassociatePhoneNumberFromUser
        /// 
        /// Disassociates the primary provisioned phone number from the specified Amazon Chime
        /// user.
        /// 
        /// Container for the necessary parameters to execute the DisassociatePhoneNumberFromUser service method.
        /// 
        /// The response from the DisassociatePhoneNumberFromUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DisassociatePhoneNumberFromUser Operation
        public virtual DisassociatePhoneNumberFromUserResponse DisassociatePhoneNumberFromUser(DisassociatePhoneNumberFromUserRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DisassociatePhoneNumberFromUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DisassociatePhoneNumberFromUserResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Disassociates the primary provisioned phone number from the specified Amazon Chime
        /// user.
        /// 
        /// Container for the necessary parameters to execute the DisassociatePhoneNumberFromUser service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DisassociatePhoneNumberFromUser service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DisassociatePhoneNumberFromUser Operation
        public virtual Task DisassociatePhoneNumberFromUserAsync(DisassociatePhoneNumberFromUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DisassociatePhoneNumberFromUserRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DisassociatePhoneNumberFromUserResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DisassociatePhoneNumbersFromVoiceConnector
        /// 
        /// Disassociates the specified phone numbers from the specified Amazon Chime Voice Connector.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DisassociatePhoneNumbersFromVoiceConnector,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DisassociatePhoneNumbersFromVoiceConnector service method.
        /// 
        /// The response from the DisassociatePhoneNumbersFromVoiceConnector service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DisassociatePhoneNumbersFromVoiceConnector Operation
        [Obsolete("Replaced by DisassociatePhoneNumbersFromVoiceConnector in the Amazon Chime SDK Voice Namespace")]
        public virtual DisassociatePhoneNumbersFromVoiceConnectorResponse DisassociatePhoneNumbersFromVoiceConnector(DisassociatePhoneNumbersFromVoiceConnectorRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DisassociatePhoneNumbersFromVoiceConnectorRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DisassociatePhoneNumbersFromVoiceConnectorResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Disassociates the specified phone numbers from the specified Amazon Chime Voice Connector.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DisassociatePhoneNumbersFromVoiceConnector,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DisassociatePhoneNumbersFromVoiceConnector service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DisassociatePhoneNumbersFromVoiceConnector service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DisassociatePhoneNumbersFromVoiceConnector Operation
        [Obsolete("Replaced by DisassociatePhoneNumbersFromVoiceConnector in the Amazon Chime SDK Voice Namespace")]
        public virtual Task DisassociatePhoneNumbersFromVoiceConnectorAsync(DisassociatePhoneNumbersFromVoiceConnectorRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DisassociatePhoneNumbersFromVoiceConnectorRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DisassociatePhoneNumbersFromVoiceConnectorResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DisassociatePhoneNumbersFromVoiceConnectorGroup
        /// 
        /// Disassociates the specified phone numbers from the specified Amazon Chime Voice Connector
        /// group.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DisassociatePhoneNumbersFromVoiceConnectorGroup,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DisassociatePhoneNumbersFromVoiceConnectorGroup service method.
        /// 
        /// The response from the DisassociatePhoneNumbersFromVoiceConnectorGroup service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DisassociatePhoneNumbersFromVoiceConnectorGroup Operation
        [Obsolete("Replaced by DisassociatePhoneNumbersFromVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace")]
        public virtual DisassociatePhoneNumbersFromVoiceConnectorGroupResponse DisassociatePhoneNumbersFromVoiceConnectorGroup(DisassociatePhoneNumbersFromVoiceConnectorGroupRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DisassociatePhoneNumbersFromVoiceConnectorGroupRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DisassociatePhoneNumbersFromVoiceConnectorGroupResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Disassociates the specified phone numbers from the specified Amazon Chime Voice Connector
        /// group.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, DisassociatePhoneNumbersFromVoiceConnectorGroup,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the DisassociatePhoneNumbersFromVoiceConnectorGroup service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DisassociatePhoneNumbersFromVoiceConnectorGroup service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DisassociatePhoneNumbersFromVoiceConnectorGroup Operation
        [Obsolete("Replaced by DisassociatePhoneNumbersFromVoiceConnectorGroup in the Amazon Chime SDK Voice Namespace")]
        public virtual Task DisassociatePhoneNumbersFromVoiceConnectorGroupAsync(DisassociatePhoneNumbersFromVoiceConnectorGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DisassociatePhoneNumbersFromVoiceConnectorGroupRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DisassociatePhoneNumbersFromVoiceConnectorGroupResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  DisassociateSigninDelegateGroupsFromAccount
        /// 
        /// Disassociates the specified sign-in delegate groups from the specified Amazon Chime
        /// account.
        /// 
        /// Container for the necessary parameters to execute the DisassociateSigninDelegateGroupsFromAccount service method.
        /// 
        /// The response from the DisassociateSigninDelegateGroupsFromAccount service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DisassociateSigninDelegateGroupsFromAccount Operation
        public virtual DisassociateSigninDelegateGroupsFromAccountResponse DisassociateSigninDelegateGroupsFromAccount(DisassociateSigninDelegateGroupsFromAccountRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DisassociateSigninDelegateGroupsFromAccountRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DisassociateSigninDelegateGroupsFromAccountResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Disassociates the specified sign-in delegate groups from the specified Amazon Chime
        /// account.
        /// 
        /// Container for the necessary parameters to execute the DisassociateSigninDelegateGroupsFromAccount service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the DisassociateSigninDelegateGroupsFromAccount service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for DisassociateSigninDelegateGroupsFromAccount Operation
        public virtual Task DisassociateSigninDelegateGroupsFromAccountAsync(DisassociateSigninDelegateGroupsFromAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = DisassociateSigninDelegateGroupsFromAccountRequestMarshaller.Instance;
            options.ResponseUnmarshaller = DisassociateSigninDelegateGroupsFromAccountResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  GetAccount
        /// 
        /// Retrieves details for the specified Amazon Chime account, such as account type and
        /// supported licenses.
        /// 
        /// Container for the necessary parameters to execute the GetAccount service method.
        /// 
        /// The response from the GetAccount service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for GetAccount Operation
        public virtual GetAccountResponse GetAccount(GetAccountRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = GetAccountRequestMarshaller.Instance;
            options.ResponseUnmarshaller = GetAccountResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Retrieves details for the specified Amazon Chime account, such as account type and
        /// supported licenses.
        /// 
        /// Container for the necessary parameters to execute the GetAccount service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the GetAccount service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for GetAccount Operation
        public virtual Task GetAccountAsync(GetAccountRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = GetAccountRequestMarshaller.Instance;
            options.ResponseUnmarshaller = GetAccountResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  GetAccountSettings
        /// 
        /// Retrieves account settings for the specified Amazon Chime account ID, such as remote
        /// control and dialout settings. For more information about these settings, see Use
        /// the Policies Page in the Amazon Chime Administration Guide.
        /// 
        /// Container for the necessary parameters to execute the GetAccountSettings service method.
        /// 
        /// The response from the GetAccountSettings service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for GetAccountSettings Operation
        public virtual GetAccountSettingsResponse GetAccountSettings(GetAccountSettingsRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = GetAccountSettingsRequestMarshaller.Instance;
            options.ResponseUnmarshaller = GetAccountSettingsResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Retrieves account settings for the specified Amazon Chime account ID, such as remote
        /// control and dialout settings. For more information about these settings, see Use
        /// the Policies Page in the Amazon Chime Administration Guide.
        /// 
        /// Container for the necessary parameters to execute the GetAccountSettings service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the GetAccountSettings service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for GetAccountSettings Operation
        public virtual Task GetAccountSettingsAsync(GetAccountSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = GetAccountSettingsRequestMarshaller.Instance;
            options.ResponseUnmarshaller = GetAccountSettingsResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  GetAppInstanceRetentionSettings
        /// 
        /// Gets the retention settings for an AppInstance.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, GetMessagingRetentionSettings,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the GetAppInstanceRetentionSettings service method.
        /// 
        /// The response from the GetAppInstanceRetentionSettings service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for GetAppInstanceRetentionSettings Operation
        [Obsolete("Replaced by GetAppInstanceRetentionSettings in the Amazon Chime SDK Identity Namespace")]
        public virtual GetAppInstanceRetentionSettingsResponse GetAppInstanceRetentionSettings(GetAppInstanceRetentionSettingsRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = GetAppInstanceRetentionSettingsRequestMarshaller.Instance;
            options.ResponseUnmarshaller = GetAppInstanceRetentionSettingsResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Gets the retention settings for an AppInstance.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, GetMessagingRetentionSettings,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the GetAppInstanceRetentionSettings service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the GetAppInstanceRetentionSettings service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for GetAppInstanceRetentionSettings Operation
        [Obsolete("Replaced by GetAppInstanceRetentionSettings in the Amazon Chime SDK Identity Namespace")]
        public virtual Task GetAppInstanceRetentionSettingsAsync(GetAppInstanceRetentionSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = GetAppInstanceRetentionSettingsRequestMarshaller.Instance;
            options.ResponseUnmarshaller = GetAppInstanceRetentionSettingsResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  GetAppInstanceStreamingConfigurations
        /// 
        /// Gets the streaming settings for an AppInstance.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, GetMessagingStreamingConfigurations,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the GetAppInstanceStreamingConfigurations service method.
        /// 
        /// The response from the GetAppInstanceStreamingConfigurations service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for GetAppInstanceStreamingConfigurations Operation
        [Obsolete("Replaced by GetAppInstanceStreamingConfigurations in the Amazon Chime SDK Messaging Namespace")]
        public virtual GetAppInstanceStreamingConfigurationsResponse GetAppInstanceStreamingConfigurations(GetAppInstanceStreamingConfigurationsRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = GetAppInstanceStreamingConfigurationsRequestMarshaller.Instance;
            options.ResponseUnmarshaller = GetAppInstanceStreamingConfigurationsResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Gets the streaming settings for an AppInstance.
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, GetMessagingStreamingConfigurations,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the GetAppInstanceStreamingConfigurations service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the GetAppInstanceStreamingConfigurations service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for GetAppInstanceStreamingConfigurations Operation
        [Obsolete("Replaced by GetAppInstanceStreamingConfigurations in the Amazon Chime SDK Messaging Namespace")]
        public virtual Task GetAppInstanceStreamingConfigurationsAsync(GetAppInstanceStreamingConfigurationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = GetAppInstanceStreamingConfigurationsRequestMarshaller.Instance;
            options.ResponseUnmarshaller = GetAppInstanceStreamingConfigurationsResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  GetAttendee
        /// 
        /// Gets the Amazon Chime SDK attendee details for a specified meeting ID and attendee
        /// ID. For more information about the Amazon Chime SDK, see Using
        /// the Amazon Chime SDK in the Amazon Chime SDK Developer Guide. 
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, GetAttendee,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the GetAttendee service method.
        /// 
        /// The response from the GetAttendee service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for GetAttendee Operation
        [Obsolete("Replaced by GetAttendee in the Amazon Chime SDK Meetings Namespace")]
        public virtual GetAttendeeResponse GetAttendee(GetAttendeeRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = GetAttendeeRequestMarshaller.Instance;
            options.ResponseUnmarshaller = GetAttendeeResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Gets the Amazon Chime SDK attendee details for a specified meeting ID and attendee
        /// ID. For more information about the Amazon Chime SDK, see Using
        /// the Amazon Chime SDK in the Amazon Chime SDK Developer Guide. 
        /// 
        ///   
        /// 
        ///  This API is is no longer supported and will not be updated. We recommend using
        /// the latest version, GetAttendee,
        /// 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.
        /// 
        ///  
        /// 
        /// Container for the necessary parameters to execute the GetAttendee service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the GetAttendee service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for GetAttendee Operation
        [Obsolete("Replaced by GetAttendee in the Amazon Chime SDK Meetings Namespace")]
        public virtual Task GetAttendeeAsync(GetAttendeeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = GetAttendeeRequestMarshaller.Instance;
            options.ResponseUnmarshaller = GetAttendeeResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  GetBot
        /// 
        /// Retrieves details for the specified bot, such as bot email address, bot type, status,
        /// and display name.
        /// 
        /// Container for the necessary parameters to execute the GetBot service method.
        /// 
        /// The response from the GetBot service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for GetBot Operation
        public virtual GetBotResponse GetBot(GetBotRequest request)
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = GetBotRequestMarshaller.Instance;
            options.ResponseUnmarshaller = GetBotResponseUnmarshaller.Instance;
            return Invoke(request, options);
        }
        /// 
        /// Retrieves details for the specified bot, such as bot email address, bot type, status,
        /// and display name.
        /// 
        /// Container for the necessary parameters to execute the GetBot service method.
        /// 
        ///     A cancellation token that can be used by other objects or threads to receive notice of cancellation.
        /// 
        /// 
        /// The response from the GetBot service method, as returned by Chime.
        /// 
        /// The input parameters don't match the service's restrictions.
        /// 
        /// 
        /// The client is permanently forbidden from making the request.
        /// 
        /// 
        /// One or more of the resources in the request does not exist in the system.
        /// 
        /// 
        /// The service encountered an unexpected error.
        /// 
        /// 
        /// The service is currently unavailable.
        /// 
        /// 
        /// The client exceeded its request rate limit.
        /// 
        /// 
        /// The client is not currently authorized to make the request.
        /// 
        /// REST API Reference for GetBot Operation
        public virtual Task GetBotAsync(GetBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken))
        {
            var options = new InvokeOptions();
            options.RequestMarshaller = GetBotRequestMarshaller.Instance;
            options.ResponseUnmarshaller = GetBotResponseUnmarshaller.Instance;
            
            return InvokeAsync(request, options, cancellationToken);
        }
        #endregion
        
        #region  GetChannelMessage
        /// 
        /// Gets the full details of a channel message.
        /// 
        ///   
        /// 
        /// The x-amz-chime-bearer request header is mandatory. Use the