/* * 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.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(); #if BCL45 || 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 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 #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 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 /// /// 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. /// /// 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 CreateAppInstanceResponse CreateAppInstance(CreateAppInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateAppInstance operation. /// /// /// Container for the necessary parameters to execute the CreateAppInstance operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAppInstance /// operation. /// REST API Reference for CreateAppInstance Operation public virtual IAsyncResult BeginCreateAppInstance(CreateAppInstanceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateAppInstance operation. /// /// /// The IAsyncResult returned by the call to BeginCreateAppInstance. /// /// Returns a CreateAppInstanceResult from ChimeSDKIdentity. /// REST API Reference for CreateAppInstance Operation public virtual CreateAppInstanceResponse EndCreateAppInstance(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateAppInstanceAdmin /// /// 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. /// /// 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 CreateAppInstanceAdminResponse CreateAppInstanceAdmin(CreateAppInstanceAdminRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceAdminResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateAppInstanceAdmin operation. /// /// /// Container for the necessary parameters to execute the CreateAppInstanceAdmin operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAppInstanceAdmin /// operation. /// REST API Reference for CreateAppInstanceAdmin Operation public virtual IAsyncResult BeginCreateAppInstanceAdmin(CreateAppInstanceAdminRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceAdminResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateAppInstanceAdmin operation. /// /// /// The IAsyncResult returned by the call to BeginCreateAppInstanceAdmin. /// /// Returns a CreateAppInstanceAdminResult from ChimeSDKIdentity. /// REST API Reference for CreateAppInstanceAdmin Operation public virtual CreateAppInstanceAdminResponse EndCreateAppInstanceAdmin(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateAppInstanceBot /// /// 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. /// /// 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 CreateAppInstanceBotResponse CreateAppInstanceBot(CreateAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceBotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateAppInstanceBot operation. /// /// /// Container for the necessary parameters to execute the CreateAppInstanceBot operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAppInstanceBot /// operation. /// REST API Reference for CreateAppInstanceBot Operation public virtual IAsyncResult BeginCreateAppInstanceBot(CreateAppInstanceBotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceBotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateAppInstanceBot operation. /// /// /// The IAsyncResult returned by the call to BeginCreateAppInstanceBot. /// /// Returns a CreateAppInstanceBotResult from ChimeSDKIdentity. /// REST API Reference for CreateAppInstanceBot Operation public virtual CreateAppInstanceBotResponse EndCreateAppInstanceBot(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateAppInstanceUser /// /// 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. /// /// 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 CreateAppInstanceUserResponse CreateAppInstanceUser(CreateAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceUserResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateAppInstanceUser operation. /// /// /// Container for the necessary parameters to execute the CreateAppInstanceUser operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateAppInstanceUser /// operation. /// REST API Reference for CreateAppInstanceUser Operation public virtual IAsyncResult BeginCreateAppInstanceUser(CreateAppInstanceUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAppInstanceUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateAppInstanceUser operation. /// /// /// The IAsyncResult returned by the call to BeginCreateAppInstanceUser. /// /// Returns a CreateAppInstanceUserResult from ChimeSDKIdentity. /// REST API Reference for CreateAppInstanceUser Operation public virtual CreateAppInstanceUserResponse EndCreateAppInstanceUser(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteAppInstance /// /// Deletes an AppInstance and all associated data asynchronously. /// /// Container for the necessary parameters to execute the DeleteAppInstance service method. /// /// 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 DeleteAppInstanceResponse DeleteAppInstance(DeleteAppInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteAppInstance operation. /// /// /// Container for the necessary parameters to execute the DeleteAppInstance operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAppInstance /// operation. /// REST API Reference for DeleteAppInstance Operation public virtual IAsyncResult BeginDeleteAppInstance(DeleteAppInstanceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteAppInstance operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAppInstance. /// /// Returns a DeleteAppInstanceResult from ChimeSDKIdentity. /// REST API Reference for DeleteAppInstance Operation public virtual DeleteAppInstanceResponse EndDeleteAppInstance(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteAppInstanceAdmin /// /// 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. /// /// 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 DeleteAppInstanceAdminResponse DeleteAppInstanceAdmin(DeleteAppInstanceAdminRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceAdminResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteAppInstanceAdmin operation. /// /// /// Container for the necessary parameters to execute the DeleteAppInstanceAdmin operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAppInstanceAdmin /// operation. /// REST API Reference for DeleteAppInstanceAdmin Operation public virtual IAsyncResult BeginDeleteAppInstanceAdmin(DeleteAppInstanceAdminRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceAdminResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteAppInstanceAdmin operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAppInstanceAdmin. /// /// Returns a DeleteAppInstanceAdminResult from ChimeSDKIdentity. /// REST API Reference for DeleteAppInstanceAdmin Operation public virtual DeleteAppInstanceAdminResponse EndDeleteAppInstanceAdmin(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteAppInstanceBot /// /// Deletes an AppInstanceBot. /// /// Container for the necessary parameters to execute the DeleteAppInstanceBot service method. /// /// 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 DeleteAppInstanceBotResponse DeleteAppInstanceBot(DeleteAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceBotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteAppInstanceBot operation. /// /// /// Container for the necessary parameters to execute the DeleteAppInstanceBot operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAppInstanceBot /// operation. /// REST API Reference for DeleteAppInstanceBot Operation public virtual IAsyncResult BeginDeleteAppInstanceBot(DeleteAppInstanceBotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceBotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteAppInstanceBot operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAppInstanceBot. /// /// Returns a DeleteAppInstanceBotResult from ChimeSDKIdentity. /// REST API Reference for DeleteAppInstanceBot Operation public virtual DeleteAppInstanceBotResponse EndDeleteAppInstanceBot(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteAppInstanceUser /// /// Deletes an AppInstanceUser. /// /// Container for the necessary parameters to execute the DeleteAppInstanceUser service method. /// /// 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 DeleteAppInstanceUserResponse DeleteAppInstanceUser(DeleteAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceUserResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteAppInstanceUser operation. /// /// /// Container for the necessary parameters to execute the DeleteAppInstanceUser operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteAppInstanceUser /// operation. /// REST API Reference for DeleteAppInstanceUser Operation public virtual IAsyncResult BeginDeleteAppInstanceUser(DeleteAppInstanceUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteAppInstanceUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteAppInstanceUser operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteAppInstanceUser. /// /// Returns a DeleteAppInstanceUserResult from ChimeSDKIdentity. /// REST API Reference for DeleteAppInstanceUser Operation public virtual DeleteAppInstanceUserResponse EndDeleteAppInstanceUser(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeregisterAppInstanceUserEndpoint /// /// Deregisters an AppInstanceUserEndpoint. /// /// Container for the necessary parameters to execute the DeregisterAppInstanceUserEndpoint service method. /// /// 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 DeregisterAppInstanceUserEndpointResponse DeregisterAppInstanceUserEndpoint(DeregisterAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeregisterAppInstanceUserEndpoint operation. /// /// /// Container for the necessary parameters to execute the DeregisterAppInstanceUserEndpoint operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeregisterAppInstanceUserEndpoint /// operation. /// REST API Reference for DeregisterAppInstanceUserEndpoint Operation public virtual IAsyncResult BeginDeregisterAppInstanceUserEndpoint(DeregisterAppInstanceUserEndpointRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeregisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DeregisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeregisterAppInstanceUserEndpoint operation. /// /// /// The IAsyncResult returned by the call to BeginDeregisterAppInstanceUserEndpoint. /// /// Returns a DeregisterAppInstanceUserEndpointResult from ChimeSDKIdentity. /// REST API Reference for DeregisterAppInstanceUserEndpoint Operation public virtual DeregisterAppInstanceUserEndpointResponse EndDeregisterAppInstanceUserEndpoint(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeAppInstance /// /// Returns the full details of an AppInstance. /// /// Container for the necessary parameters to execute the DescribeAppInstance service method. /// /// 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 DescribeAppInstanceResponse DescribeAppInstance(DescribeAppInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeAppInstance operation. /// /// /// Container for the necessary parameters to execute the DescribeAppInstance operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAppInstance /// operation. /// REST API Reference for DescribeAppInstance Operation public virtual IAsyncResult BeginDescribeAppInstance(DescribeAppInstanceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeAppInstance operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeAppInstance. /// /// Returns a DescribeAppInstanceResult from ChimeSDKIdentity. /// REST API Reference for DescribeAppInstance Operation public virtual DescribeAppInstanceResponse EndDescribeAppInstance(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeAppInstanceAdmin /// /// Returns the full details of an AppInstanceAdmin. /// /// Container for the necessary parameters to execute the DescribeAppInstanceAdmin service method. /// /// 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 DescribeAppInstanceAdminResponse DescribeAppInstanceAdmin(DescribeAppInstanceAdminRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceAdminResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeAppInstanceAdmin operation. /// /// /// Container for the necessary parameters to execute the DescribeAppInstanceAdmin operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAppInstanceAdmin /// operation. /// REST API Reference for DescribeAppInstanceAdmin Operation public virtual IAsyncResult BeginDescribeAppInstanceAdmin(DescribeAppInstanceAdminRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceAdminRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceAdminResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeAppInstanceAdmin operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeAppInstanceAdmin. /// /// Returns a DescribeAppInstanceAdminResult from ChimeSDKIdentity. /// REST API Reference for DescribeAppInstanceAdmin Operation public virtual DescribeAppInstanceAdminResponse EndDescribeAppInstanceAdmin(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeAppInstanceBot /// /// The AppInstanceBot's information. /// /// Container for the necessary parameters to execute the DescribeAppInstanceBot service method. /// /// 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 DescribeAppInstanceBotResponse DescribeAppInstanceBot(DescribeAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceBotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeAppInstanceBot operation. /// /// /// Container for the necessary parameters to execute the DescribeAppInstanceBot operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAppInstanceBot /// operation. /// REST API Reference for DescribeAppInstanceBot Operation public virtual IAsyncResult BeginDescribeAppInstanceBot(DescribeAppInstanceBotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceBotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeAppInstanceBot operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeAppInstanceBot. /// /// Returns a DescribeAppInstanceBotResult from ChimeSDKIdentity. /// REST API Reference for DescribeAppInstanceBot Operation public virtual DescribeAppInstanceBotResponse EndDescribeAppInstanceBot(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeAppInstanceUser /// /// Returns the full details of an AppInstanceUser. /// /// Container for the necessary parameters to execute the DescribeAppInstanceUser service method. /// /// 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 DescribeAppInstanceUserResponse DescribeAppInstanceUser(DescribeAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceUserResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeAppInstanceUser operation. /// /// /// Container for the necessary parameters to execute the DescribeAppInstanceUser operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAppInstanceUser /// operation. /// REST API Reference for DescribeAppInstanceUser Operation public virtual IAsyncResult BeginDescribeAppInstanceUser(DescribeAppInstanceUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeAppInstanceUser operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeAppInstanceUser. /// /// Returns a DescribeAppInstanceUserResult from ChimeSDKIdentity. /// REST API Reference for DescribeAppInstanceUser Operation public virtual DescribeAppInstanceUserResponse EndDescribeAppInstanceUser(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DescribeAppInstanceUserEndpoint /// /// Returns the full details of an AppInstanceUserEndpoint. /// /// Container for the necessary parameters to execute the DescribeAppInstanceUserEndpoint service method. /// /// 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 DescribeAppInstanceUserEndpointResponse DescribeAppInstanceUserEndpoint(DescribeAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DescribeAppInstanceUserEndpoint operation. /// /// /// Container for the necessary parameters to execute the DescribeAppInstanceUserEndpoint operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDescribeAppInstanceUserEndpoint /// operation. /// REST API Reference for DescribeAppInstanceUserEndpoint Operation public virtual IAsyncResult BeginDescribeAppInstanceUserEndpoint(DescribeAppInstanceUserEndpointRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAppInstanceUserEndpointResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DescribeAppInstanceUserEndpoint operation. /// /// /// The IAsyncResult returned by the call to BeginDescribeAppInstanceUserEndpoint. /// /// Returns a DescribeAppInstanceUserEndpointResult from ChimeSDKIdentity. /// REST API Reference for DescribeAppInstanceUserEndpoint Operation public virtual DescribeAppInstanceUserEndpointResponse EndDescribeAppInstanceUserEndpoint(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetAppInstanceRetentionSettings /// /// Gets the retention settings for an AppInstance. /// /// Container for the necessary parameters to execute the GetAppInstanceRetentionSettings service method. /// /// 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 GetAppInstanceRetentionSettingsResponse GetAppInstanceRetentionSettings(GetAppInstanceRetentionSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetAppInstanceRetentionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAppInstanceRetentionSettingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetAppInstanceRetentionSettings operation. /// /// /// Container for the necessary parameters to execute the GetAppInstanceRetentionSettings operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetAppInstanceRetentionSettings /// operation. /// REST API Reference for GetAppInstanceRetentionSettings Operation public virtual IAsyncResult BeginGetAppInstanceRetentionSettings(GetAppInstanceRetentionSettingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetAppInstanceRetentionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = GetAppInstanceRetentionSettingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetAppInstanceRetentionSettings operation. /// /// /// The IAsyncResult returned by the call to BeginGetAppInstanceRetentionSettings. /// /// Returns a GetAppInstanceRetentionSettingsResult from ChimeSDKIdentity. /// REST API Reference for GetAppInstanceRetentionSettings Operation public virtual GetAppInstanceRetentionSettingsResponse EndGetAppInstanceRetentionSettings(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAppInstanceAdmins /// /// Returns a list of the administrators in the AppInstance. /// /// Container for the necessary parameters to execute the ListAppInstanceAdmins service method. /// /// 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 ListAppInstanceAdminsResponse ListAppInstanceAdmins(ListAppInstanceAdminsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceAdminsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceAdminsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAppInstanceAdmins operation. /// /// /// Container for the necessary parameters to execute the ListAppInstanceAdmins operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAppInstanceAdmins /// operation. /// REST API Reference for ListAppInstanceAdmins Operation public virtual IAsyncResult BeginListAppInstanceAdmins(ListAppInstanceAdminsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceAdminsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceAdminsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAppInstanceAdmins operation. /// /// /// The IAsyncResult returned by the call to BeginListAppInstanceAdmins. /// /// Returns a ListAppInstanceAdminsResult from ChimeSDKIdentity. /// REST API Reference for ListAppInstanceAdmins Operation public virtual ListAppInstanceAdminsResponse EndListAppInstanceAdmins(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAppInstanceBots /// /// Lists all AppInstanceBots created under a single AppInstance. /// /// Container for the necessary parameters to execute the ListAppInstanceBots service method. /// /// 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 ListAppInstanceBotsResponse ListAppInstanceBots(ListAppInstanceBotsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceBotsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceBotsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAppInstanceBots operation. /// /// /// Container for the necessary parameters to execute the ListAppInstanceBots operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAppInstanceBots /// operation. /// REST API Reference for ListAppInstanceBots Operation public virtual IAsyncResult BeginListAppInstanceBots(ListAppInstanceBotsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceBotsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceBotsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAppInstanceBots operation. /// /// /// The IAsyncResult returned by the call to BeginListAppInstanceBots. /// /// Returns a ListAppInstanceBotsResult from ChimeSDKIdentity. /// REST API Reference for ListAppInstanceBots Operation public virtual ListAppInstanceBotsResponse EndListAppInstanceBots(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAppInstances /// /// Lists all Amazon Chime AppInstances created under a single AWS account. /// /// Container for the necessary parameters to execute the ListAppInstances service method. /// /// 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 ListAppInstancesResponse ListAppInstances(ListAppInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAppInstances operation. /// /// /// Container for the necessary parameters to execute the ListAppInstances operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAppInstances /// operation. /// REST API Reference for ListAppInstances Operation public virtual IAsyncResult BeginListAppInstances(ListAppInstancesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstancesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAppInstances operation. /// /// /// The IAsyncResult returned by the call to BeginListAppInstances. /// /// Returns a ListAppInstancesResult from ChimeSDKIdentity. /// REST API Reference for ListAppInstances Operation public virtual ListAppInstancesResponse EndListAppInstances(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAppInstanceUserEndpoints /// /// Lists all the AppInstanceUserEndpoints created under a single AppInstanceUser. /// /// Container for the necessary parameters to execute the ListAppInstanceUserEndpoints service method. /// /// 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 ListAppInstanceUserEndpointsResponse ListAppInstanceUserEndpoints(ListAppInstanceUserEndpointsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUserEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUserEndpointsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAppInstanceUserEndpoints operation. /// /// /// Container for the necessary parameters to execute the ListAppInstanceUserEndpoints operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAppInstanceUserEndpoints /// operation. /// REST API Reference for ListAppInstanceUserEndpoints Operation public virtual IAsyncResult BeginListAppInstanceUserEndpoints(ListAppInstanceUserEndpointsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUserEndpointsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUserEndpointsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAppInstanceUserEndpoints operation. /// /// /// The IAsyncResult returned by the call to BeginListAppInstanceUserEndpoints. /// /// Returns a ListAppInstanceUserEndpointsResult from ChimeSDKIdentity. /// REST API Reference for ListAppInstanceUserEndpoints Operation public virtual ListAppInstanceUserEndpointsResponse EndListAppInstanceUserEndpoints(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListAppInstanceUsers /// /// List all AppInstanceUsers created under a single AppInstance. /// /// Container for the necessary parameters to execute the ListAppInstanceUsers service method. /// /// 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 ListAppInstanceUsersResponse ListAppInstanceUsers(ListAppInstanceUsersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUsersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListAppInstanceUsers operation. /// /// /// Container for the necessary parameters to execute the ListAppInstanceUsers operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListAppInstanceUsers /// operation. /// REST API Reference for ListAppInstanceUsers Operation public virtual IAsyncResult BeginListAppInstanceUsers(ListAppInstanceUsersRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListAppInstanceUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAppInstanceUsersResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListAppInstanceUsers operation. /// /// /// The IAsyncResult returned by the call to BeginListAppInstanceUsers. /// /// Returns a ListAppInstanceUsersResult from ChimeSDKIdentity. /// REST API Reference for ListAppInstanceUsers Operation public virtual ListAppInstanceUsersResponse EndListAppInstanceUsers(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// Lists the tags applied to an Amazon Chime SDK identity resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// 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 ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from ChimeSDKIdentity. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutAppInstanceRetentionSettings /// /// Sets the amount of time in days that a given AppInstance retains data. /// /// Container for the necessary parameters to execute the PutAppInstanceRetentionSettings service method. /// /// 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 PutAppInstanceRetentionSettingsResponse PutAppInstanceRetentionSettings(PutAppInstanceRetentionSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceRetentionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceRetentionSettingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutAppInstanceRetentionSettings operation. /// /// /// Container for the necessary parameters to execute the PutAppInstanceRetentionSettings operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutAppInstanceRetentionSettings /// operation. /// REST API Reference for PutAppInstanceRetentionSettings Operation public virtual IAsyncResult BeginPutAppInstanceRetentionSettings(PutAppInstanceRetentionSettingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceRetentionSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceRetentionSettingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutAppInstanceRetentionSettings operation. /// /// /// The IAsyncResult returned by the call to BeginPutAppInstanceRetentionSettings. /// /// Returns a PutAppInstanceRetentionSettingsResult from ChimeSDKIdentity. /// REST API Reference for PutAppInstanceRetentionSettings Operation public virtual PutAppInstanceRetentionSettingsResponse EndPutAppInstanceRetentionSettings(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutAppInstanceUserExpirationSettings /// /// 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. /// /// 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 PutAppInstanceUserExpirationSettingsResponse PutAppInstanceUserExpirationSettings(PutAppInstanceUserExpirationSettingsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceUserExpirationSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceUserExpirationSettingsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutAppInstanceUserExpirationSettings operation. /// /// /// Container for the necessary parameters to execute the PutAppInstanceUserExpirationSettings operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutAppInstanceUserExpirationSettings /// operation. /// REST API Reference for PutAppInstanceUserExpirationSettings Operation public virtual IAsyncResult BeginPutAppInstanceUserExpirationSettings(PutAppInstanceUserExpirationSettingsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutAppInstanceUserExpirationSettingsRequestMarshaller.Instance; options.ResponseUnmarshaller = PutAppInstanceUserExpirationSettingsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutAppInstanceUserExpirationSettings operation. /// /// /// The IAsyncResult returned by the call to BeginPutAppInstanceUserExpirationSettings. /// /// Returns a PutAppInstanceUserExpirationSettingsResult from ChimeSDKIdentity. /// REST API Reference for PutAppInstanceUserExpirationSettings Operation public virtual PutAppInstanceUserExpirationSettingsResponse EndPutAppInstanceUserExpirationSettings(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region RegisterAppInstanceUserEndpoint /// /// 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. /// /// 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 RegisterAppInstanceUserEndpointResponse RegisterAppInstanceUserEndpoint(RegisterAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the RegisterAppInstanceUserEndpoint operation. /// /// /// Container for the necessary parameters to execute the RegisterAppInstanceUserEndpoint operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndRegisterAppInstanceUserEndpoint /// operation. /// REST API Reference for RegisterAppInstanceUserEndpoint Operation public virtual IAsyncResult BeginRegisterAppInstanceUserEndpoint(RegisterAppInstanceUserEndpointRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = RegisterAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = RegisterAppInstanceUserEndpointResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the RegisterAppInstanceUserEndpoint operation. /// /// /// The IAsyncResult returned by the call to BeginRegisterAppInstanceUserEndpoint. /// /// Returns a RegisterAppInstanceUserEndpointResult from ChimeSDKIdentity. /// REST API Reference for RegisterAppInstanceUserEndpoint Operation public virtual RegisterAppInstanceUserEndpointResponse EndRegisterAppInstanceUserEndpoint(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// Applies the specified tags to the specified Amazon Chime SDK identity resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// 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 TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from ChimeSDKIdentity. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// Removes the specified tags from the specified Amazon Chime SDK identity resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// 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 UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from ChimeSDKIdentity. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateAppInstance /// /// Updates AppInstance metadata. /// /// Container for the necessary parameters to execute the UpdateAppInstance service method. /// /// 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 UpdateAppInstanceResponse UpdateAppInstance(UpdateAppInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateAppInstance operation. /// /// /// Container for the necessary parameters to execute the UpdateAppInstance operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateAppInstance /// operation. /// REST API Reference for UpdateAppInstance Operation public virtual IAsyncResult BeginUpdateAppInstance(UpdateAppInstanceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateAppInstance operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateAppInstance. /// /// Returns a UpdateAppInstanceResult from ChimeSDKIdentity. /// REST API Reference for UpdateAppInstance Operation public virtual UpdateAppInstanceResponse EndUpdateAppInstance(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateAppInstanceBot /// /// Updates the name and metadata of an AppInstanceBot. /// /// Container for the necessary parameters to execute the UpdateAppInstanceBot service method. /// /// 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 UpdateAppInstanceBotResponse UpdateAppInstanceBot(UpdateAppInstanceBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceBotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateAppInstanceBot operation. /// /// /// Container for the necessary parameters to execute the UpdateAppInstanceBot operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateAppInstanceBot /// operation. /// REST API Reference for UpdateAppInstanceBot Operation public virtual IAsyncResult BeginUpdateAppInstanceBot(UpdateAppInstanceBotRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceBotRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceBotResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateAppInstanceBot operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateAppInstanceBot. /// /// Returns a UpdateAppInstanceBotResult from ChimeSDKIdentity. /// REST API Reference for UpdateAppInstanceBot Operation public virtual UpdateAppInstanceBotResponse EndUpdateAppInstanceBot(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateAppInstanceUser /// /// Updates the details of an AppInstanceUser. You can update names and metadata. /// /// Container for the necessary parameters to execute the UpdateAppInstanceUser service method. /// /// 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 UpdateAppInstanceUserResponse UpdateAppInstanceUser(UpdateAppInstanceUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateAppInstanceUser operation. /// /// /// Container for the necessary parameters to execute the UpdateAppInstanceUser operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateAppInstanceUser /// operation. /// REST API Reference for UpdateAppInstanceUser Operation public virtual IAsyncResult BeginUpdateAppInstanceUser(UpdateAppInstanceUserRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateAppInstanceUser operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateAppInstanceUser. /// /// Returns a UpdateAppInstanceUserResult from ChimeSDKIdentity. /// REST API Reference for UpdateAppInstanceUser Operation public virtual UpdateAppInstanceUserResponse EndUpdateAppInstanceUser(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateAppInstanceUserEndpoint /// /// 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. /// /// 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 UpdateAppInstanceUserEndpointResponse UpdateAppInstanceUserEndpoint(UpdateAppInstanceUserEndpointRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserEndpointResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateAppInstanceUserEndpoint operation. /// /// /// Container for the necessary parameters to execute the UpdateAppInstanceUserEndpoint operation on AmazonChimeSDKIdentityClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateAppInstanceUserEndpoint /// operation. /// REST API Reference for UpdateAppInstanceUserEndpoint Operation public virtual IAsyncResult BeginUpdateAppInstanceUserEndpoint(UpdateAppInstanceUserEndpointRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAppInstanceUserEndpointRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAppInstanceUserEndpointResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateAppInstanceUserEndpoint operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateAppInstanceUserEndpoint. /// /// Returns a UpdateAppInstanceUserEndpointResult from ChimeSDKIdentity. /// REST API Reference for UpdateAppInstanceUserEndpoint Operation public virtual UpdateAppInstanceUserEndpointResponse EndUpdateAppInstanceUserEndpoint(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }