/* * 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-sdk-identity-2021-04-20.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.ChimeSDKIdentity.Model; using Amazon.ChimeSDKIdentity.Model.Internal.MarshallTransformations; using Amazon.ChimeSDKIdentity.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.ChimeSDKIdentity { /// /// Implementation for accessing ChimeSDKIdentity /// /// The Amazon Chime SDK Identity APIs in this section allow software developers to create /// and manage unique instances of their messaging applications. These APIs provide the /// overarching framework for creating and sending messages. For more information about /// the identity APIs, refer to Amazon /// Chime SDK identity. /// public partial class AmazonChimeSDKIdentityClient : AmazonServiceClient, IAmazonChimeSDKIdentity { private static IServiceMetadata serviceMetadata = new AmazonChimeSDKIdentityMetadata(); #region Constructors /// /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonChimeSDKIdentityConfig()) { } /// /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonChimeSDKIdentityConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient Configuration Object public AmazonChimeSDKIdentityClient(AmazonChimeSDKIdentityConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonChimeSDKIdentityClient with AWS Credentials /// /// AWS Credentials public AmazonChimeSDKIdentityClient(AWSCredentials credentials) : this(credentials, new AmazonChimeSDKIdentityConfig()) { } /// /// Constructs AmazonChimeSDKIdentityClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonChimeSDKIdentityClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonChimeSDKIdentityConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonChimeSDKIdentityClient with AWS Credentials and an /// AmazonChimeSDKIdentityClient Configuration object. /// /// AWS Credentials /// The AmazonChimeSDKIdentityClient Configuration Object public AmazonChimeSDKIdentityClient(AWSCredentials credentials, AmazonChimeSDKIdentityConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonChimeSDKIdentityClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonChimeSDKIdentityConfig()) { } /// /// Constructs AmazonChimeSDKIdentityClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonChimeSDKIdentityConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonChimeSDKIdentityClient with AWS Access Key ID, AWS Secret Key and an /// AmazonChimeSDKIdentityClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonChimeSDKIdentityClient Configuration Object public AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonChimeSDKIdentityConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonChimeSDKIdentityClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonChimeSDKIdentityConfig()) { } /// /// Constructs AmazonChimeSDKIdentityClient 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 AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonChimeSDKIdentityConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonChimeSDKIdentityClient with AWS Access Key ID, AWS Secret Key and an /// AmazonChimeSDKIdentityClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonChimeSDKIdentityClient Configuration Object public AmazonChimeSDKIdentityClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonChimeSDKIdentityConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IChimeSDKIdentityPaginatorFactory _paginators; /// /// Paginators for the service /// public IChimeSDKIdentityPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new ChimeSDKIdentityPaginatorFactory(this); } return this._paginators; } } #endif #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customizes the runtime pipeline. /// /// Runtime pipeline for the current client. protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonChimeSDKIdentityEndpointResolver()); } /// /// 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 CreateAppInstance internal 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. /// /// /// /// identity /// /// /// 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 ChimeSDKIdentity. /// /// 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 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 internal virtual CreateAppInstanceAdminResponse CreateAppInstanceAdmin(CreateAppInstanceAdminRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceAdminResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Promotes an AppInstanceUser or AppInstanceBot to an AppInstanceAdmin. /// The promoted entity can perform the following actions. /// ///
  • /// /// ChannelModerator actions across all channels in the AppInstance. /// ///
  • /// /// DeleteChannelMessage actions. /// ///
/// /// Only an AppInstanceUser and AppInstanceBot 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 ChimeSDKIdentity. /// /// 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 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 CreateAppInstanceBot internal virtual CreateAppInstanceBotResponse CreateAppInstanceBot(CreateAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceBotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a bot under an Amazon Chime AppInstance. The request consists /// of a unique Configuration and Name for that bot. /// /// Container for the necessary parameters to execute the CreateAppInstanceBot service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateAppInstanceBot service method, as returned by ChimeSDKIdentity. /// /// 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 CreateAppInstanceBot Operation public virtual Task CreateAppInstanceBotAsync(CreateAppInstanceBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceBotResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateAppInstanceUser internal 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. /// /// 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 ChimeSDKIdentity. /// /// 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 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 DeleteAppInstance internal 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. /// /// 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 ChimeSDKIdentity. /// /// 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 DeleteAppInstance Operation 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 internal 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 or AppInstanceBot. /// This action does not delete the user. /// /// 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 ChimeSDKIdentity. /// /// 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 DeleteAppInstanceAdmin Operation 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 DeleteAppInstanceBot internal virtual DeleteAppInstanceBotResponse DeleteAppInstanceBot(DeleteAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceBotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an AppInstanceBot. /// /// Container for the necessary parameters to execute the DeleteAppInstanceBot service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteAppInstanceBot service method, as returned by ChimeSDKIdentity. /// /// 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 DeleteAppInstanceBot Operation public virtual Task DeleteAppInstanceBotAsync(DeleteAppInstanceBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceBotResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteAppInstanceUser internal virtual DeleteAppInstanceUserResponse DeleteAppInstanceUser(DeleteAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceUserResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an AppInstanceUser. /// /// 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 ChimeSDKIdentity. /// /// 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 DeleteAppInstanceUser Operation 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 DeregisterAppInstanceUserEndpoint internal virtual DeregisterAppInstanceUserEndpointResponse DeregisterAppInstanceUserEndpoint(DeregisterAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deregisters an AppInstanceUserEndpoint. /// /// Container for the necessary parameters to execute the DeregisterAppInstanceUserEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeregisterAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity. /// /// 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 DeregisterAppInstanceUserEndpoint Operation public virtual Task DeregisterAppInstanceUserEndpointAsync(DeregisterAppInstanceUserEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAppInstance internal 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. /// /// 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 ChimeSDKIdentity. /// /// 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 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 internal 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. /// /// 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 ChimeSDKIdentity. /// /// 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 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 DescribeAppInstanceBot internal virtual DescribeAppInstanceBotResponse DescribeAppInstanceBot(DescribeAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceBotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// The AppInstanceBot's information. /// /// Container for the necessary parameters to execute the DescribeAppInstanceBot service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAppInstanceBot service method, as returned by ChimeSDKIdentity. /// /// 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 DescribeAppInstanceBot Operation public virtual Task DescribeAppInstanceBotAsync(DescribeAppInstanceBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceBotResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAppInstanceUser internal 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. /// /// 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 ChimeSDKIdentity. /// /// 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 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 DescribeAppInstanceUserEndpoint internal virtual DescribeAppInstanceUserEndpointResponse DescribeAppInstanceUserEndpoint(DescribeAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns the full details of an AppInstanceUserEndpoint. /// /// Container for the necessary parameters to execute the DescribeAppInstanceUserEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity. /// /// 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 DescribeAppInstanceUserEndpoint Operation public virtual Task DescribeAppInstanceUserEndpointAsync(DescribeAppInstanceUserEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceUserEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetAppInstanceRetentionSettings internal 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. /// /// 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 ChimeSDKIdentity. /// /// 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 GetAppInstanceRetentionSettings Operation 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 ListAppInstanceAdmins internal virtual ListAppInstanceAdminsResponse ListAppInstanceAdmins(ListAppInstanceAdminsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceAdminsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceAdminsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Returns a list of the administrators in the AppInstance. /// /// Container for the necessary parameters to execute the ListAppInstanceAdmins service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAppInstanceAdmins service method, as returned by ChimeSDKIdentity. /// /// 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 ListAppInstanceAdmins Operation public virtual Task ListAppInstanceAdminsAsync(ListAppInstanceAdminsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceAdminsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceAdminsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAppInstanceBots internal virtual ListAppInstanceBotsResponse ListAppInstanceBots(ListAppInstanceBotsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceBotsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceBotsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all AppInstanceBots created under a single AppInstance. /// /// Container for the necessary parameters to execute the ListAppInstanceBots service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAppInstanceBots service method, as returned by ChimeSDKIdentity. /// /// 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 ListAppInstanceBots Operation public virtual Task ListAppInstanceBotsAsync(ListAppInstanceBotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceBotsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceBotsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAppInstances internal virtual ListAppInstancesResponse ListAppInstances(ListAppInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all Amazon Chime AppInstances created under a single AWS account. /// /// Container for the necessary parameters to execute the ListAppInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAppInstances service method, as returned by ChimeSDKIdentity. /// /// 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 ListAppInstances Operation public virtual Task ListAppInstancesAsync(ListAppInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAppInstanceUserEndpoints internal virtual ListAppInstanceUserEndpointsResponse ListAppInstanceUserEndpoints(ListAppInstanceUserEndpointsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUserEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUserEndpointsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists all the AppInstanceUserEndpoints created under a single AppInstanceUser. /// /// Container for the necessary parameters to execute the ListAppInstanceUserEndpoints service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAppInstanceUserEndpoints service method, as returned by ChimeSDKIdentity. /// /// 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 ListAppInstanceUserEndpoints Operation public virtual Task ListAppInstanceUserEndpointsAsync(ListAppInstanceUserEndpointsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUserEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUserEndpointsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAppInstanceUsers internal virtual ListAppInstanceUsersResponse ListAppInstanceUsers(ListAppInstanceUsersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUsersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List all AppInstanceUsers created under a single AppInstance. /// /// Container for the necessary parameters to execute the ListAppInstanceUsers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAppInstanceUsers service method, as returned by ChimeSDKIdentity. /// /// 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 ListAppInstanceUsers Operation public virtual Task ListAppInstanceUsersAsync(ListAppInstanceUsersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUsersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTagsForResource internal virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the tags applied to an Amazon Chime SDK identity resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTagsForResource service method, as returned by ChimeSDKIdentity. /// /// 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 ListTagsForResource Operation public virtual Task ListTagsForResourceAsync(ListTagsForResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutAppInstanceRetentionSettings internal virtual PutAppInstanceRetentionSettingsResponse PutAppInstanceRetentionSettings(PutAppInstanceRetentionSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceRetentionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceRetentionSettingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Sets the amount of time in days that a given AppInstance retains data. /// /// Container for the necessary parameters to execute the PutAppInstanceRetentionSettings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutAppInstanceRetentionSettings service method, as returned by ChimeSDKIdentity. /// /// 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 PutAppInstanceRetentionSettings Operation public virtual Task PutAppInstanceRetentionSettingsAsync(PutAppInstanceRetentionSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceRetentionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceRetentionSettingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutAppInstanceUserExpirationSettings internal virtual PutAppInstanceUserExpirationSettingsResponse PutAppInstanceUserExpirationSettings(PutAppInstanceUserExpirationSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceUserExpirationSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceUserExpirationSettingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Sets the number of days before the AppInstanceUser is automatically deleted. /// /// /// /// A background process deletes expired AppInstanceUsers within 6 hours /// of expiration. Actual deletion times may vary. /// /// /// /// Expired AppInstanceUsers that have not yet been deleted appear as active, /// and you can update their expiration settings. The system honors the new settings. /// /// /// /// Container for the necessary parameters to execute the PutAppInstanceUserExpirationSettings service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutAppInstanceUserExpirationSettings service method, as returned by ChimeSDKIdentity. /// /// 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 PutAppInstanceUserExpirationSettings Operation public virtual Task PutAppInstanceUserExpirationSettingsAsync(PutAppInstanceUserExpirationSettingsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceUserExpirationSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceUserExpirationSettingsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region RegisterAppInstanceUserEndpoint internal virtual RegisterAppInstanceUserEndpointResponse RegisterAppInstanceUserEndpoint(RegisterAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Registers an endpoint under an Amazon Chime AppInstanceUser. The endpoint /// receives messages for a user. For push notifications, the endpoint is a mobile device /// used to receive mobile push notifications for a user. /// /// Container for the necessary parameters to execute the RegisterAppInstanceUserEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the RegisterAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity. /// /// 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 RegisterAppInstanceUserEndpoint Operation public virtual Task RegisterAppInstanceUserEndpointAsync(RegisterAppInstanceUserEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region TagResource internal virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Applies the specified tags to the specified Amazon Chime SDK identity resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TagResource service method, as returned by ChimeSDKIdentity. /// /// 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 TagResource Operation public virtual Task TagResourceAsync(TagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UntagResource internal virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes the specified tags from the specified Amazon Chime SDK identity resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UntagResource service method, as returned by ChimeSDKIdentity. /// /// 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 UntagResource Operation public virtual Task UntagResourceAsync(UntagResourceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAppInstance internal virtual UpdateAppInstanceResponse UpdateAppInstance(UpdateAppInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates AppInstance metadata. /// /// Container for the necessary parameters to execute the UpdateAppInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAppInstance service method, as returned by ChimeSDKIdentity. /// /// 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 UpdateAppInstance Operation public virtual Task UpdateAppInstanceAsync(UpdateAppInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAppInstanceBot internal virtual UpdateAppInstanceBotResponse UpdateAppInstanceBot(UpdateAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceBotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the name and metadata of an AppInstanceBot. /// /// Container for the necessary parameters to execute the UpdateAppInstanceBot service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAppInstanceBot service method, as returned by ChimeSDKIdentity. /// /// 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 UpdateAppInstanceBot Operation public virtual Task UpdateAppInstanceBotAsync(UpdateAppInstanceBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceBotResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAppInstanceUser internal virtual UpdateAppInstanceUserResponse UpdateAppInstanceUser(UpdateAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the details of an AppInstanceUser. You can update names and metadata. /// /// Container for the necessary parameters to execute the UpdateAppInstanceUser service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAppInstanceUser service method, as returned by ChimeSDKIdentity. /// /// 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 UpdateAppInstanceUser Operation public virtual Task UpdateAppInstanceUserAsync(UpdateAppInstanceUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateAppInstanceUserEndpoint internal virtual UpdateAppInstanceUserEndpointResponse UpdateAppInstanceUserEndpoint(UpdateAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the details of an AppInstanceUserEndpoint. You can update the /// name and AllowMessage values. /// /// Container for the necessary parameters to execute the UpdateAppInstanceUserEndpoint service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAppInstanceUserEndpoint service method, as returned by ChimeSDKIdentity. /// /// 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 UpdateAppInstanceUserEndpoint Operation public virtual Task UpdateAppInstanceUserEndpointAsync(UpdateAppInstanceUserEndpointRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserEndpointResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }