/* * 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 connect-2017-08-08.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.Connect.Model; using Amazon.Connect.Model.Internal.MarshallTransformations; using Amazon.Connect.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.Connect { /// /// Implementation for accessing Connect /// /// Amazon Connect is a cloud-based contact center solution that you use to set up and /// manage a customer contact center and provide reliable customer engagement at any scale. /// /// /// /// Amazon Connect provides metrics and real-time reporting that enable you to optimize /// contact routing. You can also resolve customer issues more efficiently by getting /// customers in touch with the appropriate agents. /// /// /// /// There are limits to the number of Amazon Connect resources that you can create. There /// are also limits to the number of requests that you can make per second. For more information, /// see Amazon /// Connect Service Quotas in the Amazon Connect Administrator Guide. /// /// /// /// You can connect programmatically to an Amazon Web Services service by using an endpoint. /// For a list of Amazon Connect endpoints, see Amazon /// Connect Endpoints. /// /// public partial class AmazonConnectClient : AmazonServiceClient, IAmazonConnect { private static IServiceMetadata serviceMetadata = new AmazonConnectMetadata(); #region Constructors /// /// Constructs AmazonConnectClient 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 AmazonConnectClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonConnectConfig()) { } /// /// Constructs AmazonConnectClient 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 AmazonConnectClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonConnectConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonConnectClient 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 AmazonConnectClient Configuration Object public AmazonConnectClient(AmazonConnectConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonConnectClient with AWS Credentials /// /// AWS Credentials public AmazonConnectClient(AWSCredentials credentials) : this(credentials, new AmazonConnectConfig()) { } /// /// Constructs AmazonConnectClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonConnectClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonConnectConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonConnectClient with AWS Credentials and an /// AmazonConnectClient Configuration object. /// /// AWS Credentials /// The AmazonConnectClient Configuration Object public AmazonConnectClient(AWSCredentials credentials, AmazonConnectConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonConnectClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonConnectClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonConnectConfig()) { } /// /// Constructs AmazonConnectClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonConnectClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonConnectConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonConnectClient with AWS Access Key ID, AWS Secret Key and an /// AmazonConnectClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonConnectClient Configuration Object public AmazonConnectClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonConnectConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonConnectClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonConnectClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonConnectConfig()) { } /// /// Constructs AmazonConnectClient 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 AmazonConnectClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonConnectConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonConnectClient with AWS Access Key ID, AWS Secret Key and an /// AmazonConnectClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonConnectClient Configuration Object public AmazonConnectClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonConnectConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #if AWS_ASYNC_ENUMERABLES_API private IConnectPaginatorFactory _paginators; /// /// Paginators for the service /// public IConnectPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new ConnectPaginatorFactory(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 AmazonConnectEndpointResolver()); } /// /// 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 ActivateEvaluationForm internal virtual ActivateEvaluationFormResponse ActivateEvaluationForm(ActivateEvaluationFormRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ActivateEvaluationFormRequestMarshaller.Instance; options.ResponseUnmarshaller = ActivateEvaluationFormResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Activates an evaluation form in the specified Amazon Connect instance. After the evaluation /// form is activated, it is available to start new evaluations based on the form. /// /// Container for the necessary parameters to execute the ActivateEvaluationForm service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ActivateEvaluationForm service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ActivateEvaluationForm Operation public virtual Task ActivateEvaluationFormAsync(ActivateEvaluationFormRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ActivateEvaluationFormRequestMarshaller.Instance; options.ResponseUnmarshaller = ActivateEvaluationFormResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateApprovedOrigin internal virtual AssociateApprovedOriginResponse AssociateApprovedOrigin(AssociateApprovedOriginRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateApprovedOriginRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateApprovedOriginResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Associates an approved origin to an Amazon Connect instance. /// /// /// Container for the necessary parameters to execute the AssociateApprovedOrigin service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateApprovedOrigin service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for AssociateApprovedOrigin Operation public virtual Task AssociateApprovedOriginAsync(AssociateApprovedOriginRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateApprovedOriginRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateApprovedOriginResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateBot internal virtual AssociateBotResponse AssociateBot(AssociateBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateBotRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateBotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Allows the specified Amazon Connect instance to access the specified Amazon Lex or /// Amazon Lex V2 bot. /// /// /// Container for the necessary parameters to execute the AssociateBot service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateBot service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The allowed limit for the resource has been exceeded. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for AssociateBot Operation public virtual Task AssociateBotAsync(AssociateBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateBotRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateBotResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateDefaultVocabulary internal virtual AssociateDefaultVocabularyResponse AssociateDefaultVocabulary(AssociateDefaultVocabularyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateDefaultVocabularyRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateDefaultVocabularyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates an existing vocabulary as the default. Contact Lens for Amazon Connect /// uses the vocabulary in post-call and real-time analysis sessions for the given language. /// /// Container for the necessary parameters to execute the AssociateDefaultVocabulary service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateDefaultVocabulary service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for AssociateDefaultVocabulary Operation public virtual Task AssociateDefaultVocabularyAsync(AssociateDefaultVocabularyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateDefaultVocabularyRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateDefaultVocabularyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateInstanceStorageConfig internal virtual AssociateInstanceStorageConfigResponse AssociateInstanceStorageConfig(AssociateInstanceStorageConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateInstanceStorageConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateInstanceStorageConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Associates a storage resource type for the first time. You can only associate one /// type of storage configuration in a single call. This means, for example, that you /// can't define an instance with multiple S3 buckets for storing chat transcripts. /// /// /// /// This API does not create a resource that doesn't exist. It only associates it to the /// instance. Ensure that the resource being specified in the storage configuration, like /// an S3 bucket, exists when being used for association. /// /// /// Container for the necessary parameters to execute the AssociateInstanceStorageConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateInstanceStorageConfig service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for AssociateInstanceStorageConfig Operation public virtual Task AssociateInstanceStorageConfigAsync(AssociateInstanceStorageConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateInstanceStorageConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateInstanceStorageConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateLambdaFunction internal virtual AssociateLambdaFunctionResponse AssociateLambdaFunction(AssociateLambdaFunctionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateLambdaFunctionRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateLambdaFunctionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Allows the specified Amazon Connect instance to access the specified Lambda function. /// /// /// Container for the necessary parameters to execute the AssociateLambdaFunction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateLambdaFunction service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for AssociateLambdaFunction Operation public virtual Task AssociateLambdaFunctionAsync(AssociateLambdaFunctionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateLambdaFunctionRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateLambdaFunctionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateLexBot internal virtual AssociateLexBotResponse AssociateLexBot(AssociateLexBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateLexBotRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateLexBotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Allows the specified Amazon Connect instance to access the specified Amazon Lex V1 /// bot. This API only supports the association of Amazon Lex V1 bots. /// /// /// Container for the necessary parameters to execute the AssociateLexBot service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateLexBot service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for AssociateLexBot Operation public virtual Task AssociateLexBotAsync(AssociateLexBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateLexBotRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateLexBotResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociatePhoneNumberContactFlow internal virtual AssociatePhoneNumberContactFlowResponse AssociatePhoneNumberContactFlow(AssociatePhoneNumberContactFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociatePhoneNumberContactFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociatePhoneNumberContactFlowResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates a flow with a phone number claimed to your Amazon Connect instance. /// /// /// /// If the number is claimed to a traffic distribution group, and you are calling this /// API using an instance in the Amazon Web Services Region where the traffic distribution /// group was created, you can use either a full phone number ARN or UUID value for the /// PhoneNumberId URI request parameter. However, if the number is claimed /// to a traffic distribution group and you are calling this API using an instance in /// the alternate Amazon Web Services Region associated with the traffic distribution /// group, you must provide a full phone number ARN. If a UUID is provided in this scenario, /// you will receive a ResourceNotFoundException. /// /// /// /// Container for the necessary parameters to execute the AssociatePhoneNumberContactFlow service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociatePhoneNumberContactFlow service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for AssociatePhoneNumberContactFlow Operation public virtual Task AssociatePhoneNumberContactFlowAsync(AssociatePhoneNumberContactFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociatePhoneNumberContactFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociatePhoneNumberContactFlowResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateQueueQuickConnects internal virtual AssociateQueueQuickConnectsResponse AssociateQueueQuickConnects(AssociateQueueQuickConnectsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateQueueQuickConnectsRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateQueueQuickConnectsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Associates a set of quick connects with a queue. /// /// /// Container for the necessary parameters to execute the AssociateQueueQuickConnects service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateQueueQuickConnects service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The allowed limit for the resource has been exceeded. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for AssociateQueueQuickConnects Operation public virtual Task AssociateQueueQuickConnectsAsync(AssociateQueueQuickConnectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateQueueQuickConnectsRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateQueueQuickConnectsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateRoutingProfileQueues internal virtual AssociateRoutingProfileQueuesResponse AssociateRoutingProfileQueues(AssociateRoutingProfileQueuesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateRoutingProfileQueuesRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateRoutingProfileQueuesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Associates a set of queues with a routing profile. /// /// Container for the necessary parameters to execute the AssociateRoutingProfileQueues service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateRoutingProfileQueues service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for AssociateRoutingProfileQueues Operation public virtual Task AssociateRoutingProfileQueuesAsync(AssociateRoutingProfileQueuesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateRoutingProfileQueuesRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateRoutingProfileQueuesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region AssociateSecurityKey internal virtual AssociateSecurityKeyResponse AssociateSecurityKey(AssociateSecurityKeyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateSecurityKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateSecurityKeyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Associates a security key to the instance. /// /// /// Container for the necessary parameters to execute the AssociateSecurityKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the AssociateSecurityKey service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for AssociateSecurityKey Operation public virtual Task AssociateSecurityKeyAsync(AssociateSecurityKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = AssociateSecurityKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = AssociateSecurityKeyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ClaimPhoneNumber internal virtual ClaimPhoneNumberResponse ClaimPhoneNumber(ClaimPhoneNumberRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ClaimPhoneNumberRequestMarshaller.Instance; options.ResponseUnmarshaller = ClaimPhoneNumberResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Claims an available phone number to your Amazon Connect instance or traffic distribution /// group. You can call this API only in the same Amazon Web Services Region where the /// Amazon Connect instance or traffic distribution group was created. /// /// /// /// For more information about how to use this operation, see Claim /// a phone number in your country and Claim /// phone numbers to traffic distribution groups in the Amazon Connect Administrator /// Guide. /// /// /// /// You can call the SearchAvailablePhoneNumbers /// API for available phone numbers that you can claim. Call the DescribePhoneNumber /// API to verify the status of a previous ClaimPhoneNumber /// operation. /// /// /// /// If you plan to claim and release numbers frequently during a 30 day period, contact /// us for a service quota exception. Otherwise, it is possible you will be blocked from /// claiming and releasing any more numbers until 30 days past the oldest number released /// has expired. /// /// /// /// By default you can claim and release up to 200% of your maximum number of active phone /// numbers during any 30 day period. If you claim and release phone numbers using the /// UI or API during a rolling 30 day cycle that exceeds 200% of your phone number service /// level quota, you will be blocked from claiming any more numbers until 30 days past /// the oldest number released has expired. /// /// /// /// For example, if you already have 99 claimed numbers and a service level quota of 99 /// phone numbers, and in any 30 day period you release 99, claim 99, and then release /// 99, you will have exceeded the 200% limit. At that point you are blocked from claiming /// any more numbers until you open an Amazon Web Services support ticket. /// /// /// Container for the necessary parameters to execute the ClaimPhoneNumber service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ClaimPhoneNumber service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// An entity with the same name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ClaimPhoneNumber Operation public virtual Task ClaimPhoneNumberAsync(ClaimPhoneNumberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ClaimPhoneNumberRequestMarshaller.Instance; options.ResponseUnmarshaller = ClaimPhoneNumberResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateAgentStatus internal virtual CreateAgentStatusResponse CreateAgentStatus(CreateAgentStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAgentStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAgentStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Creates an agent status for the specified Amazon Connect instance. /// /// /// Container for the necessary parameters to execute the CreateAgentStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateAgentStatus service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The allowed limit for the resource has been exceeded. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateAgentStatus Operation public virtual Task CreateAgentStatusAsync(CreateAgentStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateAgentStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateAgentStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateContactFlow internal virtual CreateContactFlowResponse CreateContactFlow(CreateContactFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateContactFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateContactFlowResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a flow for the specified Amazon Connect instance. /// /// /// /// You can also create and update flows using the Amazon /// Connect Flow language. /// /// /// Container for the necessary parameters to execute the CreateContactFlow service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateContactFlow service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The flow is not valid. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The allowed limit for the resource has been exceeded. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateContactFlow Operation public virtual Task CreateContactFlowAsync(CreateContactFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateContactFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateContactFlowResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateContactFlowModule internal virtual CreateContactFlowModuleResponse CreateContactFlowModule(CreateContactFlowModuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateContactFlowModuleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateContactFlowModuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a flow module for the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the CreateContactFlowModule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateContactFlowModule service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// A resource with the specified name already exists. /// /// /// An entity with the same name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The problems with the module. Please fix before trying again. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The allowed limit for the resource has been exceeded. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateContactFlowModule Operation public virtual Task CreateContactFlowModuleAsync(CreateContactFlowModuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateContactFlowModuleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateContactFlowModuleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateEvaluationForm internal virtual CreateEvaluationFormResponse CreateEvaluationForm(CreateEvaluationFormRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEvaluationFormRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEvaluationFormResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an evaluation form in the specified Amazon Connect instance. The form can /// be used to define questions related to agent performance, and create sections to organize /// such questions. Question and section identifiers cannot be duplicated within the same /// evaluation form. /// /// Container for the necessary parameters to execute the CreateEvaluationForm service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateEvaluationForm service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateEvaluationForm Operation public virtual Task CreateEvaluationFormAsync(CreateEvaluationFormRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateEvaluationFormRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateEvaluationFormResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateHoursOfOperation internal virtual CreateHoursOfOperationResponse CreateHoursOfOperation(CreateHoursOfOperationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateHoursOfOperationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateHoursOfOperationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Creates hours of operation. /// /// /// Container for the necessary parameters to execute the CreateHoursOfOperation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateHoursOfOperation service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The allowed limit for the resource has been exceeded. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateHoursOfOperation Operation public virtual Task CreateHoursOfOperationAsync(CreateHoursOfOperationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateHoursOfOperationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateHoursOfOperationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateInstance internal virtual CreateInstanceResponse CreateInstance(CreateInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Initiates an Amazon Connect instance with all the supported channels enabled. It does /// not attach any storage, such as Amazon Simple Storage Service (Amazon S3) or Amazon /// Kinesis. It also does not allow for any configurations on features, such as Contact /// Lens for Amazon Connect. /// /// /// /// Amazon Connect enforces a limit on the total number of instances that you can create /// or delete in 30 days. If you exceed this limit, you will get an error message indicating /// there has been an excessive number of attempts at creating or deleting instances. /// You must wait 30 days before you can restart creating and deleting instances in your /// account. /// /// /// Container for the necessary parameters to execute the CreateInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateInstance service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateInstance Operation public virtual Task CreateInstanceAsync(CreateInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateInstanceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateIntegrationAssociation internal virtual CreateIntegrationAssociationResponse CreateIntegrationAssociation(CreateIntegrationAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIntegrationAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIntegrationAssociationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates an Amazon Web Services resource association with an Amazon Connect instance. /// /// Container for the necessary parameters to execute the CreateIntegrationAssociation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateIntegrationAssociation service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateIntegrationAssociation Operation public virtual Task CreateIntegrationAssociationAsync(CreateIntegrationAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateIntegrationAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateIntegrationAssociationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateParticipant internal virtual CreateParticipantResponse CreateParticipant(CreateParticipantRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateParticipantRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateParticipantResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Adds a new participant into an on-going chat contact. For more information, see Customize /// chat flow experiences by integrating custom participants. /// /// Container for the necessary parameters to execute the CreateParticipant service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateParticipant service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateParticipant Operation public virtual Task CreateParticipantAsync(CreateParticipantRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateParticipantRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateParticipantResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreatePrompt internal virtual CreatePromptResponse CreatePrompt(CreatePromptRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePromptRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePromptResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a prompt. For more information about prompts, such as supported file types /// and maximum length, see Create /// prompts in the Amazon Connect Administrator's Guide. /// /// Container for the necessary parameters to execute the CreatePrompt service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreatePrompt service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The allowed limit for the resource has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreatePrompt Operation public virtual Task CreatePromptAsync(CreatePromptRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreatePromptRequestMarshaller.Instance; options.ResponseUnmarshaller = CreatePromptResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateQueue internal virtual CreateQueueResponse CreateQueue(CreateQueueRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateQueueRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateQueueResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Creates a new queue for the specified Amazon Connect instance. /// /// /// /// If the number being used in the input is claimed to a traffic distribution group, /// and you are calling this API using an instance in the Amazon Web Services Region where /// the traffic distribution group was created, you can use either a full phone number /// ARN or UUID value for the OutboundCallerIdNumberId value of the OutboundCallerConfig /// request body parameter. However, if the number is claimed to a traffic distribution /// group and you are calling this API using an instance in the alternate Amazon Web Services /// Region associated with the traffic distribution group, you must provide a full phone /// number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException. /// /// /// /// Only use the phone number ARN format that doesn't contain instance in /// the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid. /// This is the same ARN format that is returned when you call the ListPhoneNumbersV2 /// API. /// /// /// /// Container for the necessary parameters to execute the CreateQueue service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateQueue service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The allowed limit for the resource has been exceeded. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateQueue Operation public virtual Task CreateQueueAsync(CreateQueueRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateQueueRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateQueueResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateQuickConnect internal virtual CreateQuickConnectResponse CreateQuickConnect(CreateQuickConnectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateQuickConnectRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateQuickConnectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a quick connect for the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the CreateQuickConnect service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateQuickConnect service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The allowed limit for the resource has been exceeded. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateQuickConnect Operation public virtual Task CreateQuickConnectAsync(CreateQuickConnectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateQuickConnectRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateQuickConnectResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateRoutingProfile internal virtual CreateRoutingProfileResponse CreateRoutingProfile(CreateRoutingProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRoutingProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRoutingProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new routing profile. /// /// Container for the necessary parameters to execute the CreateRoutingProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRoutingProfile service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The allowed limit for the resource has been exceeded. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateRoutingProfile Operation public virtual Task CreateRoutingProfileAsync(CreateRoutingProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRoutingProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRoutingProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateRule internal virtual CreateRuleResponse CreateRule(CreateRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a rule for the specified Amazon Connect instance. /// /// /// /// Use the Rules /// Function language to code conditions for the rule. /// /// /// Container for the necessary parameters to execute the CreateRule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateRule service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateRule Operation public virtual Task CreateRuleAsync(CreateRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRuleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateSecurityProfile internal virtual CreateSecurityProfileResponse CreateSecurityProfile(CreateSecurityProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSecurityProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Creates a security profile. /// /// /// Container for the necessary parameters to execute the CreateSecurityProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateSecurityProfile service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The allowed limit for the resource has been exceeded. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateSecurityProfile Operation public virtual Task CreateSecurityProfileAsync(CreateSecurityProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateSecurityProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTaskTemplate internal virtual CreateTaskTemplateResponse CreateTaskTemplate(CreateTaskTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTaskTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTaskTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new task template in the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the CreateTaskTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTaskTemplate service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The property is not valid. /// /// /// The specified resource was not found. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateTaskTemplate Operation public virtual Task CreateTaskTemplateAsync(CreateTaskTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTaskTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTaskTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateTrafficDistributionGroup internal virtual CreateTrafficDistributionGroupResponse CreateTrafficDistributionGroup(CreateTrafficDistributionGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTrafficDistributionGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTrafficDistributionGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a traffic distribution group given an Amazon Connect instance that has been /// replicated. /// /// /// /// For more information about creating traffic distribution groups, see Set /// up traffic distribution groups in the Amazon Connect Administrator Guide. /// /// /// /// Container for the necessary parameters to execute the CreateTrafficDistributionGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateTrafficDistributionGroup service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The resource is not ready. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateTrafficDistributionGroup Operation public virtual Task CreateTrafficDistributionGroupAsync(CreateTrafficDistributionGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTrafficDistributionGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTrafficDistributionGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateUseCase internal virtual CreateUseCaseResponse CreateUseCase(CreateUseCaseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUseCaseRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUseCaseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a use case for an integration association. /// /// Container for the necessary parameters to execute the CreateUseCase service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateUseCase service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateUseCase Operation public virtual Task CreateUseCaseAsync(CreateUseCaseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUseCaseRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUseCaseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateUser internal virtual CreateUserResponse CreateUser(CreateUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a user account for the specified Amazon Connect instance. /// /// /// /// For information about how to create user accounts using the Amazon Connect console, /// see Add /// Users in the Amazon Connect Administrator Guide. /// /// /// Container for the necessary parameters to execute the CreateUser service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateUser service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The allowed limit for the resource has been exceeded. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateUser Operation public virtual Task CreateUserAsync(CreateUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUserRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUserResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateUserHierarchyGroup internal virtual CreateUserHierarchyGroupResponse CreateUserHierarchyGroup(CreateUserHierarchyGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUserHierarchyGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUserHierarchyGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a new user hierarchy group. /// /// Container for the necessary parameters to execute the CreateUserHierarchyGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateUserHierarchyGroup service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The allowed limit for the resource has been exceeded. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateUserHierarchyGroup Operation public virtual Task CreateUserHierarchyGroupAsync(CreateUserHierarchyGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateUserHierarchyGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateUserHierarchyGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region CreateVocabulary internal virtual CreateVocabularyResponse CreateVocabulary(CreateVocabularyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVocabularyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVocabularyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates a custom vocabulary associated with your Amazon Connect instance. You can /// set a custom vocabulary to be your default vocabulary for a given language. Contact /// Lens for Amazon Connect uses the default vocabulary in post-call and real-time contact /// analysis sessions for that language. /// /// Container for the necessary parameters to execute the CreateVocabulary service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the CreateVocabulary service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for CreateVocabulary Operation public virtual Task CreateVocabularyAsync(CreateVocabularyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = CreateVocabularyRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateVocabularyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeactivateEvaluationForm internal virtual DeactivateEvaluationFormResponse DeactivateEvaluationForm(DeactivateEvaluationFormRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeactivateEvaluationFormRequestMarshaller.Instance; options.ResponseUnmarshaller = DeactivateEvaluationFormResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deactivates an evaluation form in the specified Amazon Connect instance. After a form /// is deactivated, it is no longer available for users to start new evaluations based /// on the form. /// /// Container for the necessary parameters to execute the DeactivateEvaluationForm service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeactivateEvaluationForm service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeactivateEvaluationForm Operation public virtual Task DeactivateEvaluationFormAsync(DeactivateEvaluationFormRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeactivateEvaluationFormRequestMarshaller.Instance; options.ResponseUnmarshaller = DeactivateEvaluationFormResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteContactEvaluation internal virtual DeleteContactEvaluationResponse DeleteContactEvaluation(DeleteContactEvaluationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteContactEvaluationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteContactEvaluationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a contact evaluation in the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the DeleteContactEvaluation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteContactEvaluation service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteContactEvaluation Operation public virtual Task DeleteContactEvaluationAsync(DeleteContactEvaluationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteContactEvaluationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteContactEvaluationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteContactFlow internal virtual DeleteContactFlowResponse DeleteContactFlow(DeleteContactFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteContactFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteContactFlowResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a flow for the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the DeleteContactFlow service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteContactFlow service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteContactFlow Operation public virtual Task DeleteContactFlowAsync(DeleteContactFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteContactFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteContactFlowResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteContactFlowModule internal virtual DeleteContactFlowModuleResponse DeleteContactFlowModule(DeleteContactFlowModuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteContactFlowModuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteContactFlowModuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the specified flow module. /// /// Container for the necessary parameters to execute the DeleteContactFlowModule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteContactFlowModule service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteContactFlowModule Operation public virtual Task DeleteContactFlowModuleAsync(DeleteContactFlowModuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteContactFlowModuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteContactFlowModuleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteEvaluationForm internal virtual DeleteEvaluationFormResponse DeleteEvaluationForm(DeleteEvaluationFormRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEvaluationFormRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEvaluationFormResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an evaluation form in the specified Amazon Connect instance. /// ///
  • /// /// If the version property is provided, only the specified version of the evaluation /// form is deleted. /// ///
  • /// /// If no version is provided, then the full form (all versions) is deleted. /// ///
///
/// Container for the necessary parameters to execute the DeleteEvaluationForm service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteEvaluationForm service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteEvaluationForm Operation public virtual Task DeleteEvaluationFormAsync(DeleteEvaluationFormRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteEvaluationFormRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteEvaluationFormResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteHoursOfOperation internal virtual DeleteHoursOfOperationResponse DeleteHoursOfOperation(DeleteHoursOfOperationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteHoursOfOperationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteHoursOfOperationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Deletes an hours of operation. /// /// /// Container for the necessary parameters to execute the DeleteHoursOfOperation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteHoursOfOperation service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteHoursOfOperation Operation public virtual Task DeleteHoursOfOperationAsync(DeleteHoursOfOperationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteHoursOfOperationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteHoursOfOperationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteInstance internal virtual DeleteInstanceResponse DeleteInstance(DeleteInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Deletes the Amazon Connect instance. /// /// /// /// Amazon Connect enforces a limit on the total number of instances that you can create /// or delete in 30 days. If you exceed this limit, you will get an error message indicating /// there has been an excessive number of attempts at creating or deleting instances. /// You must wait 30 days before you can restart creating and deleting instances in your /// account. /// /// /// Container for the necessary parameters to execute the DeleteInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteInstance service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// REST API Reference for DeleteInstance Operation public virtual Task DeleteInstanceAsync(DeleteInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteInstanceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteIntegrationAssociation internal virtual DeleteIntegrationAssociationResponse DeleteIntegrationAssociation(DeleteIntegrationAssociationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIntegrationAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIntegrationAssociationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an Amazon Web Services resource association from an Amazon Connect instance. /// The association must not have any use cases associated with it. /// /// Container for the necessary parameters to execute the DeleteIntegrationAssociation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteIntegrationAssociation service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteIntegrationAssociation Operation public virtual Task DeleteIntegrationAssociationAsync(DeleteIntegrationAssociationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteIntegrationAssociationRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteIntegrationAssociationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeletePrompt internal virtual DeletePromptResponse DeletePrompt(DeletePromptRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePromptRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePromptResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a prompt. /// /// Container for the necessary parameters to execute the DeletePrompt service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeletePrompt service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeletePrompt Operation public virtual Task DeletePromptAsync(DeletePromptRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeletePromptRequestMarshaller.Instance; options.ResponseUnmarshaller = DeletePromptResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteQueue internal virtual DeleteQueueResponse DeleteQueue(DeleteQueueRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteQueueRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteQueueResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a queue. /// /// Container for the necessary parameters to execute the DeleteQueue service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteQueue service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// That resource is already in use. Please try another. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteQueue Operation public virtual Task DeleteQueueAsync(DeleteQueueRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteQueueRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteQueueResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteQuickConnect internal virtual DeleteQuickConnectResponse DeleteQuickConnect(DeleteQuickConnectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteQuickConnectRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteQuickConnectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a quick connect. /// /// Container for the necessary parameters to execute the DeleteQuickConnect service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteQuickConnect service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteQuickConnect Operation public virtual Task DeleteQuickConnectAsync(DeleteQuickConnectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteQuickConnectRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteQuickConnectResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteRoutingProfile internal virtual DeleteRoutingProfileResponse DeleteRoutingProfile(DeleteRoutingProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRoutingProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRoutingProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a routing profile. /// /// Container for the necessary parameters to execute the DeleteRoutingProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRoutingProfile service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// That resource is already in use. Please try another. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteRoutingProfile Operation public virtual Task DeleteRoutingProfileAsync(DeleteRoutingProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRoutingProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRoutingProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteRule internal virtual DeleteRuleResponse DeleteRule(DeleteRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a rule for the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the DeleteRule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteRule service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteRule Operation public virtual Task DeleteRuleAsync(DeleteRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteRuleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteSecurityProfile internal virtual DeleteSecurityProfileResponse DeleteSecurityProfile(DeleteSecurityProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSecurityProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Deletes a security profile. /// /// /// Container for the necessary parameters to execute the DeleteSecurityProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteSecurityProfile service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// That resource is already in use. Please try another. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteSecurityProfile Operation public virtual Task DeleteSecurityProfileAsync(DeleteSecurityProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteSecurityProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTaskTemplate internal virtual DeleteTaskTemplateResponse DeleteTaskTemplate(DeleteTaskTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTaskTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTaskTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the task template. /// /// Container for the necessary parameters to execute the DeleteTaskTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTaskTemplate service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteTaskTemplate Operation public virtual Task DeleteTaskTemplateAsync(DeleteTaskTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTaskTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTaskTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteTrafficDistributionGroup internal virtual DeleteTrafficDistributionGroupResponse DeleteTrafficDistributionGroup(DeleteTrafficDistributionGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTrafficDistributionGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTrafficDistributionGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a traffic distribution group. This API can be called only in the Region where /// the traffic distribution group is created. /// /// /// /// For more information about deleting traffic distribution groups, see Delete /// traffic distribution groups in the Amazon Connect Administrator Guide. /// /// /// Container for the necessary parameters to execute the DeleteTrafficDistributionGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteTrafficDistributionGroup service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// That resource is already in use. Please try another. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteTrafficDistributionGroup Operation public virtual Task DeleteTrafficDistributionGroupAsync(DeleteTrafficDistributionGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteTrafficDistributionGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteTrafficDistributionGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteUseCase internal virtual DeleteUseCaseResponse DeleteUseCase(DeleteUseCaseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUseCaseRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUseCaseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a use case from an integration association. /// /// Container for the necessary parameters to execute the DeleteUseCase service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteUseCase service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteUseCase Operation public virtual Task DeleteUseCaseAsync(DeleteUseCaseRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUseCaseRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUseCaseResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteUser internal virtual DeleteUserResponse DeleteUser(DeleteUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUserResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes a user account from the specified Amazon Connect instance. /// /// /// /// For information about what happens to a user's data when their account is deleted, /// see Delete /// Users from Your Amazon Connect Instance in the Amazon Connect Administrator /// Guide. /// /// /// Container for the necessary parameters to execute the DeleteUser service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteUser service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteUser Operation public virtual Task DeleteUserAsync(DeleteUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUserResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteUserHierarchyGroup internal virtual DeleteUserHierarchyGroupResponse DeleteUserHierarchyGroup(DeleteUserHierarchyGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUserHierarchyGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUserHierarchyGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes an existing user hierarchy group. It must not be associated with any agents /// or have any active child groups. /// /// Container for the necessary parameters to execute the DeleteUserHierarchyGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteUserHierarchyGroup service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// That resource is already in use. Please try another. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteUserHierarchyGroup Operation public virtual Task DeleteUserHierarchyGroupAsync(DeleteUserHierarchyGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteUserHierarchyGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteUserHierarchyGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DeleteVocabulary internal virtual DeleteVocabularyResponse DeleteVocabulary(DeleteVocabularyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVocabularyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVocabularyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Deletes the vocabulary that has the given identifier. /// /// Container for the necessary parameters to execute the DeleteVocabulary service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DeleteVocabulary service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// That resource is already in use. Please try another. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DeleteVocabulary Operation public virtual Task DeleteVocabularyAsync(DeleteVocabularyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteVocabularyRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteVocabularyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeAgentStatus internal virtual DescribeAgentStatusResponse DescribeAgentStatus(DescribeAgentStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAgentStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAgentStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Describes an agent status. /// /// /// Container for the necessary parameters to execute the DescribeAgentStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeAgentStatus service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeAgentStatus Operation public virtual Task DescribeAgentStatusAsync(DescribeAgentStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeAgentStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeAgentStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeContact internal virtual DescribeContactResponse DescribeContact(DescribeContactRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeContactRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeContactResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Describes the specified contact. /// /// /// /// Contact information remains available in Amazon Connect for 24 months, and then it /// is deleted. /// /// /// /// Only data from November 12, 2021, and later is returned by this API. /// /// /// /// Container for the necessary parameters to execute the DescribeContact service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeContact service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeContact Operation public virtual Task DescribeContactAsync(DescribeContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeContactRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeContactResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeContactEvaluation internal virtual DescribeContactEvaluationResponse DescribeContactEvaluation(DescribeContactEvaluationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeContactEvaluationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeContactEvaluationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes a contact evaluation in the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the DescribeContactEvaluation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeContactEvaluation service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeContactEvaluation Operation public virtual Task DescribeContactEvaluationAsync(DescribeContactEvaluationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeContactEvaluationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeContactEvaluationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeContactFlow internal virtual DescribeContactFlowResponse DescribeContactFlow(DescribeContactFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeContactFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeContactFlowResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified flow. /// /// /// /// You can also create and update flows using the Amazon /// Connect Flow language. /// /// /// Container for the necessary parameters to execute the DescribeContactFlow service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeContactFlow service method, as returned by Connect. /// /// The flow has not been published. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeContactFlow Operation public virtual Task DescribeContactFlowAsync(DescribeContactFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeContactFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeContactFlowResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeContactFlowModule internal virtual DescribeContactFlowModuleResponse DescribeContactFlowModule(DescribeContactFlowModuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeContactFlowModuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeContactFlowModuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified flow module. /// /// Container for the necessary parameters to execute the DescribeContactFlowModule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeContactFlowModule service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeContactFlowModule Operation public virtual Task DescribeContactFlowModuleAsync(DescribeContactFlowModuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeContactFlowModuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeContactFlowModuleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeEvaluationForm internal virtual DescribeEvaluationFormResponse DescribeEvaluationForm(DescribeEvaluationFormRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEvaluationFormRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEvaluationFormResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes an evaluation form in the specified Amazon Connect instance. If the version /// property is not provided, the latest version of the evaluation form is described. /// /// Container for the necessary parameters to execute the DescribeEvaluationForm service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeEvaluationForm service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeEvaluationForm Operation public virtual Task DescribeEvaluationFormAsync(DescribeEvaluationFormRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeEvaluationFormRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeEvaluationFormResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeHoursOfOperation internal virtual DescribeHoursOfOperationResponse DescribeHoursOfOperation(DescribeHoursOfOperationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeHoursOfOperationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeHoursOfOperationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Describes the hours of operation. /// /// /// Container for the necessary parameters to execute the DescribeHoursOfOperation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeHoursOfOperation service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeHoursOfOperation Operation public virtual Task DescribeHoursOfOperationAsync(DescribeHoursOfOperationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeHoursOfOperationRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeHoursOfOperationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeInstance internal virtual DescribeInstanceResponse DescribeInstance(DescribeInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Returns the current state of the specified instance identifier. It tracks the instance /// while it is being created and returns an error status, if applicable. /// /// /// /// If an instance is not created successfully, the instance status reason field returns /// details relevant to the reason. The instance in a failed state is returned only for /// 24 hours after the CreateInstance API was invoked. /// /// /// Container for the necessary parameters to execute the DescribeInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeInstance service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// REST API Reference for DescribeInstance Operation public virtual Task DescribeInstanceAsync(DescribeInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeInstanceAttribute internal virtual DescribeInstanceAttributeResponse DescribeInstanceAttribute(DescribeInstanceAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Describes the specified instance attribute. /// /// /// Container for the necessary parameters to execute the DescribeInstanceAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeInstanceAttribute service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeInstanceAttribute Operation public virtual Task DescribeInstanceAttributeAsync(DescribeInstanceAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeInstanceStorageConfig internal virtual DescribeInstanceStorageConfigResponse DescribeInstanceStorageConfig(DescribeInstanceStorageConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceStorageConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceStorageConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Retrieves the current storage configurations for the specified resource type, association /// ID, and instance ID. /// /// /// Container for the necessary parameters to execute the DescribeInstanceStorageConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeInstanceStorageConfig service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeInstanceStorageConfig Operation public virtual Task DescribeInstanceStorageConfigAsync(DescribeInstanceStorageConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeInstanceStorageConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeInstanceStorageConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribePhoneNumber internal virtual DescribePhoneNumberResponse DescribePhoneNumber(DescribePhoneNumberRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePhoneNumberRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePhoneNumberResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets details and status of a phone number that’s claimed to your Amazon Connect instance /// or traffic distribution group. /// /// /// /// If the number is claimed to a traffic distribution group, and you are calling in the /// Amazon Web Services Region where the traffic distribution group was created, you can /// use either a phone number ARN or UUID value for the PhoneNumberId URI /// request parameter. However, if the number is claimed to a traffic distribution group /// and you are calling this API in the alternate Amazon Web Services Region associated /// with the traffic distribution group, you must provide a full phone number ARN. If /// a UUID is provided in this scenario, you will receive a ResourceNotFoundException. /// /// /// /// Container for the necessary parameters to execute the DescribePhoneNumber service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribePhoneNumber service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribePhoneNumber Operation public virtual Task DescribePhoneNumberAsync(DescribePhoneNumberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePhoneNumberRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePhoneNumberResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribePrompt internal virtual DescribePromptResponse DescribePrompt(DescribePromptRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePromptRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePromptResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the prompt. /// /// Container for the necessary parameters to execute the DescribePrompt service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribePrompt service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribePrompt Operation public virtual Task DescribePromptAsync(DescribePromptRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribePromptRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribePromptResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeQueue internal virtual DescribeQueueResponse DescribeQueue(DescribeQueueRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeQueueRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeQueueResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Describes the specified queue. /// /// /// Container for the necessary parameters to execute the DescribeQueue service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeQueue service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeQueue Operation public virtual Task DescribeQueueAsync(DescribeQueueRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeQueueRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeQueueResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeQuickConnect internal virtual DescribeQuickConnectResponse DescribeQuickConnect(DescribeQuickConnectRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeQuickConnectRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeQuickConnectResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the quick connect. /// /// Container for the necessary parameters to execute the DescribeQuickConnect service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeQuickConnect service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeQuickConnect Operation public virtual Task DescribeQuickConnectAsync(DescribeQuickConnectRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeQuickConnectRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeQuickConnectResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeRoutingProfile internal virtual DescribeRoutingProfileResponse DescribeRoutingProfile(DescribeRoutingProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRoutingProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRoutingProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified routing profile. /// /// Container for the necessary parameters to execute the DescribeRoutingProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeRoutingProfile service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeRoutingProfile Operation public virtual Task DescribeRoutingProfileAsync(DescribeRoutingProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRoutingProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRoutingProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeRule internal virtual DescribeRuleResponse DescribeRule(DescribeRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes a rule for the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the DescribeRule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeRule service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeRule Operation public virtual Task DescribeRuleAsync(DescribeRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeRuleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeSecurityProfile internal virtual DescribeSecurityProfileResponse DescribeSecurityProfile(DescribeSecurityProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSecurityProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Gets basic information about the security profle. /// /// /// Container for the necessary parameters to execute the DescribeSecurityProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeSecurityProfile service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeSecurityProfile Operation public virtual Task DescribeSecurityProfileAsync(DescribeSecurityProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeSecurityProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeTrafficDistributionGroup internal virtual DescribeTrafficDistributionGroupResponse DescribeTrafficDistributionGroup(DescribeTrafficDistributionGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTrafficDistributionGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTrafficDistributionGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets details and status of a traffic distribution group. /// /// Container for the necessary parameters to execute the DescribeTrafficDistributionGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeTrafficDistributionGroup service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeTrafficDistributionGroup Operation public virtual Task DescribeTrafficDistributionGroupAsync(DescribeTrafficDistributionGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeTrafficDistributionGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeTrafficDistributionGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeUser internal virtual DescribeUserResponse DescribeUser(DescribeUserRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUserResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified user account. You can find /// the instance ID in the Amazon Connect console (it’s the final part of the ARN). /// The console does not display the user IDs. Instead, list the users and note the IDs /// provided in the output. /// /// Container for the necessary parameters to execute the DescribeUser service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeUser service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeUser Operation public virtual Task DescribeUserAsync(DescribeUserRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUserRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUserResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeUserHierarchyGroup internal virtual DescribeUserHierarchyGroupResponse DescribeUserHierarchyGroup(DescribeUserHierarchyGroupRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUserHierarchyGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUserHierarchyGroupResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified hierarchy group. /// /// Container for the necessary parameters to execute the DescribeUserHierarchyGroup service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeUserHierarchyGroup service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeUserHierarchyGroup Operation public virtual Task DescribeUserHierarchyGroupAsync(DescribeUserHierarchyGroupRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUserHierarchyGroupRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUserHierarchyGroupResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeUserHierarchyStructure internal virtual DescribeUserHierarchyStructureResponse DescribeUserHierarchyStructure(DescribeUserHierarchyStructureRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUserHierarchyStructureRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUserHierarchyStructureResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the hierarchy structure of the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the DescribeUserHierarchyStructure service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeUserHierarchyStructure service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeUserHierarchyStructure Operation public virtual Task DescribeUserHierarchyStructureAsync(DescribeUserHierarchyStructureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeUserHierarchyStructureRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeUserHierarchyStructureResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DescribeVocabulary internal virtual DescribeVocabularyResponse DescribeVocabulary(DescribeVocabularyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVocabularyRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVocabularyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Describes the specified vocabulary. /// /// Container for the necessary parameters to execute the DescribeVocabulary service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DescribeVocabulary service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DescribeVocabulary Operation public virtual Task DescribeVocabularyAsync(DescribeVocabularyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DescribeVocabularyRequestMarshaller.Instance; options.ResponseUnmarshaller = DescribeVocabularyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateApprovedOrigin internal virtual DisassociateApprovedOriginResponse DisassociateApprovedOrigin(DisassociateApprovedOriginRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateApprovedOriginRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateApprovedOriginResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Revokes access to integrated applications from Amazon Connect. /// /// /// Container for the necessary parameters to execute the DisassociateApprovedOrigin service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateApprovedOrigin service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DisassociateApprovedOrigin Operation public virtual Task DisassociateApprovedOriginAsync(DisassociateApprovedOriginRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateApprovedOriginRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateApprovedOriginResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateBot internal virtual DisassociateBotResponse DisassociateBot(DisassociateBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateBotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Revokes authorization from the specified instance to access the specified Amazon Lex /// or Amazon Lex V2 bot. /// /// /// Container for the necessary parameters to execute the DisassociateBot service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateBot service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DisassociateBot Operation public virtual Task DisassociateBotAsync(DisassociateBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateBotResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateInstanceStorageConfig internal virtual DisassociateInstanceStorageConfigResponse DisassociateInstanceStorageConfig(DisassociateInstanceStorageConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateInstanceStorageConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateInstanceStorageConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Removes the storage type configurations for the specified resource type and association /// ID. /// /// /// Container for the necessary parameters to execute the DisassociateInstanceStorageConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateInstanceStorageConfig service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DisassociateInstanceStorageConfig Operation public virtual Task DisassociateInstanceStorageConfigAsync(DisassociateInstanceStorageConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateInstanceStorageConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateInstanceStorageConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateLambdaFunction internal virtual DisassociateLambdaFunctionResponse DisassociateLambdaFunction(DisassociateLambdaFunctionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateLambdaFunctionRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateLambdaFunctionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Remove the Lambda function from the dropdown options available in the relevant flow /// blocks. /// /// /// Container for the necessary parameters to execute the DisassociateLambdaFunction service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateLambdaFunction service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DisassociateLambdaFunction Operation public virtual Task DisassociateLambdaFunctionAsync(DisassociateLambdaFunctionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateLambdaFunctionRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateLambdaFunctionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateLexBot internal virtual DisassociateLexBotResponse DisassociateLexBot(DisassociateLexBotRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateLexBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateLexBotResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Revokes authorization from the specified instance to access the specified Amazon Lex /// bot. /// /// /// Container for the necessary parameters to execute the DisassociateLexBot service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateLexBot service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DisassociateLexBot Operation public virtual Task DisassociateLexBotAsync(DisassociateLexBotRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateLexBotRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateLexBotResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociatePhoneNumberContactFlow internal virtual DisassociatePhoneNumberContactFlowResponse DisassociatePhoneNumberContactFlow(DisassociatePhoneNumberContactFlowRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociatePhoneNumberContactFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociatePhoneNumberContactFlowResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Removes the flow association from a phone number claimed to your Amazon Connect instance. /// /// /// /// If the number is claimed to a traffic distribution group, and you are calling this /// API using an instance in the Amazon Web Services Region where the traffic distribution /// group was created, you can use either a full phone number ARN or UUID value for the /// PhoneNumberId URI request parameter. However, if the number is claimed /// to a traffic distribution group and you are calling this API using an instance in /// the alternate Amazon Web Services Region associated with the traffic distribution /// group, you must provide a full phone number ARN. If a UUID is provided in this scenario, /// you will receive a ResourceNotFoundException. /// /// /// /// Container for the necessary parameters to execute the DisassociatePhoneNumberContactFlow service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociatePhoneNumberContactFlow service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DisassociatePhoneNumberContactFlow Operation public virtual Task DisassociatePhoneNumberContactFlowAsync(DisassociatePhoneNumberContactFlowRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociatePhoneNumberContactFlowRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociatePhoneNumberContactFlowResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateQueueQuickConnects internal virtual DisassociateQueueQuickConnectsResponse DisassociateQueueQuickConnects(DisassociateQueueQuickConnectsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateQueueQuickConnectsRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateQueueQuickConnectsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Disassociates a set of quick connects from a queue. /// /// /// Container for the necessary parameters to execute the DisassociateQueueQuickConnects service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateQueueQuickConnects service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DisassociateQueueQuickConnects Operation public virtual Task DisassociateQueueQuickConnectsAsync(DisassociateQueueQuickConnectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateQueueQuickConnectsRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateQueueQuickConnectsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateRoutingProfileQueues internal virtual DisassociateRoutingProfileQueuesResponse DisassociateRoutingProfileQueues(DisassociateRoutingProfileQueuesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateRoutingProfileQueuesRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateRoutingProfileQueuesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Disassociates a set of queues from a routing profile. /// /// Container for the necessary parameters to execute the DisassociateRoutingProfileQueues service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateRoutingProfileQueues service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DisassociateRoutingProfileQueues Operation public virtual Task DisassociateRoutingProfileQueuesAsync(DisassociateRoutingProfileQueuesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateRoutingProfileQueuesRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateRoutingProfileQueuesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DisassociateSecurityKey internal virtual DisassociateSecurityKeyResponse DisassociateSecurityKey(DisassociateSecurityKeyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateSecurityKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateSecurityKeyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Deletes the specified security key. /// /// /// Container for the necessary parameters to execute the DisassociateSecurityKey service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DisassociateSecurityKey service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DisassociateSecurityKey Operation public virtual Task DisassociateSecurityKeyAsync(DisassociateSecurityKeyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DisassociateSecurityKeyRequestMarshaller.Instance; options.ResponseUnmarshaller = DisassociateSecurityKeyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region DismissUserContact internal virtual DismissUserContactResponse DismissUserContact(DismissUserContactRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DismissUserContactRequestMarshaller.Instance; options.ResponseUnmarshaller = DismissUserContactResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Dismisses contacts from an agent’s CCP and returns the agent to an available state, /// which allows the agent to receive a new routed contact. Contacts can only be dismissed /// if they are in a MISSED, ERROR, ENDED, or REJECTED /// state in the Agent /// Event Stream. /// /// Container for the necessary parameters to execute the DismissUserContact service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the DismissUserContact service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for DismissUserContact Operation public virtual Task DismissUserContactAsync(DismissUserContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = DismissUserContactRequestMarshaller.Instance; options.ResponseUnmarshaller = DismissUserContactResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetContactAttributes internal virtual GetContactAttributesResponse GetContactAttributes(GetContactAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetContactAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContactAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the contact attributes for the specified contact. /// /// Container for the necessary parameters to execute the GetContactAttributes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetContactAttributes service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// REST API Reference for GetContactAttributes Operation public virtual Task GetContactAttributesAsync(GetContactAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetContactAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = GetContactAttributesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetCurrentMetricData internal virtual GetCurrentMetricDataResponse GetCurrentMetricData(GetCurrentMetricDataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCurrentMetricDataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCurrentMetricDataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the real-time metric data from the specified Amazon Connect instance. /// /// /// /// For a description of each metric, see Real-time /// Metrics Definitions in the Amazon Connect Administrator Guide. /// /// /// Container for the necessary parameters to execute the GetCurrentMetricData service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCurrentMetricData service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for GetCurrentMetricData Operation public virtual Task GetCurrentMetricDataAsync(GetCurrentMetricDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetCurrentMetricDataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCurrentMetricDataResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetCurrentUserData internal virtual GetCurrentUserDataResponse GetCurrentUserData(GetCurrentUserDataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCurrentUserDataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCurrentUserDataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the real-time active user data from the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the GetCurrentUserData service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetCurrentUserData service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for GetCurrentUserData Operation public virtual Task GetCurrentUserDataAsync(GetCurrentUserDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetCurrentUserDataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCurrentUserDataResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetFederationToken internal virtual GetFederationTokenResponse GetFederationToken(GetFederationTokenRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetFederationTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFederationTokenResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves a token for federation. /// /// /// /// This API doesn't support root users. If you try to invoke GetFederationToken with /// root credentials, an error message similar to the following one appears: /// /// /// /// Provided identity: Principal: .... User: .... cannot be used for federation /// with Amazon Connect /// /// /// /// Container for the necessary parameters to execute the GetFederationToken service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetFederationToken service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// No user with the specified credentials was found in the Amazon Connect instance. /// /// REST API Reference for GetFederationToken Operation public virtual Task GetFederationTokenAsync(GetFederationTokenRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetFederationTokenRequestMarshaller.Instance; options.ResponseUnmarshaller = GetFederationTokenResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetMetricData internal virtual GetMetricDataResponse GetMetricData(GetMetricDataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMetricDataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMetricDataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets historical metric data from the specified Amazon Connect instance. /// /// /// /// For a description of each historical metric, see Historical /// Metrics Definitions in the Amazon Connect Administrator Guide. /// /// /// Container for the necessary parameters to execute the GetMetricData service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetMetricData service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for GetMetricData Operation public virtual Task GetMetricDataAsync(GetMetricDataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetMetricDataRequestMarshaller.Instance; options.ResponseUnmarshaller = GetMetricDataResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetMetricDataV2 internal virtual GetMetricDataV2Response GetMetricDataV2(GetMetricDataV2Request request) { var options = new InvokeOptions(); options.RequestMarshaller = GetMetricDataV2RequestMarshaller.Instance; options.ResponseUnmarshaller = GetMetricDataV2ResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets metric data from the specified Amazon Connect instance. /// /// /// /// GetMetricDataV2 offers more features than GetMetricData, /// the previous version of this API. It has new metrics, offers filtering at a metric /// level, and offers the ability to filter and group data by channels, queues, routing /// profiles, agents, and agent hierarchy levels. It can retrieve historical data for /// the last 35 days, in 24-hour intervals. /// /// /// /// For a description of the historical metrics that are supported by GetMetricDataV2 /// and GetMetricData, see Historical /// metrics definitions in the Amazon Connect Administrator's Guide. /// /// /// Container for the necessary parameters to execute the GetMetricDataV2 service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetMetricDataV2 service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for GetMetricDataV2 Operation public virtual Task GetMetricDataV2Async(GetMetricDataV2Request request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetMetricDataV2RequestMarshaller.Instance; options.ResponseUnmarshaller = GetMetricDataV2ResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetPromptFile internal virtual GetPromptFileResponse GetPromptFile(GetPromptFileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetPromptFileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPromptFileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets the prompt file. /// /// Container for the necessary parameters to execute the GetPromptFile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetPromptFile service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for GetPromptFile Operation public virtual Task GetPromptFileAsync(GetPromptFileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetPromptFileRequestMarshaller.Instance; options.ResponseUnmarshaller = GetPromptFileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetTaskTemplate internal virtual GetTaskTemplateResponse GetTaskTemplate(GetTaskTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTaskTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTaskTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Gets details about a specific task template in the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the GetTaskTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTaskTemplate service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for GetTaskTemplate Operation public virtual Task GetTaskTemplateAsync(GetTaskTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTaskTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTaskTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region GetTrafficDistribution internal virtual GetTrafficDistributionResponse GetTrafficDistribution(GetTrafficDistributionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTrafficDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTrafficDistributionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Retrieves the current traffic distribution for a given traffic distribution group. /// /// Container for the necessary parameters to execute the GetTrafficDistribution service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the GetTrafficDistribution service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for GetTrafficDistribution Operation public virtual Task GetTrafficDistributionAsync(GetTrafficDistributionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = GetTrafficDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTrafficDistributionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListAgentStatuses internal virtual ListAgentStatusesResponse ListAgentStatuses(ListAgentStatusesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListAgentStatusesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAgentStatusesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Lists agent statuses. /// /// /// Container for the necessary parameters to execute the ListAgentStatuses service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListAgentStatuses service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListAgentStatuses Operation public virtual Task ListAgentStatusesAsync(ListAgentStatusesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListAgentStatusesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListAgentStatusesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListApprovedOrigins internal virtual ListApprovedOriginsResponse ListApprovedOrigins(ListApprovedOriginsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListApprovedOriginsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListApprovedOriginsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Returns a paginated list of all approved origins associated with the instance. /// /// /// Container for the necessary parameters to execute the ListApprovedOrigins service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListApprovedOrigins service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListApprovedOrigins Operation public virtual Task ListApprovedOriginsAsync(ListApprovedOriginsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListApprovedOriginsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListApprovedOriginsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListBots internal virtual ListBotsResponse ListBots(ListBotsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListBotsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBotsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// For the specified version of Amazon Lex, returns a paginated list of all the Amazon /// Lex bots currently associated with the instance. Use this API to returns both Amazon /// Lex V1 and V2 bots. /// /// /// Container for the necessary parameters to execute the ListBots service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListBots service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListBots Operation public virtual Task ListBotsAsync(ListBotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListBotsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListBotsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListContactEvaluations internal virtual ListContactEvaluationsResponse ListContactEvaluations(ListContactEvaluationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListContactEvaluationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListContactEvaluationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists contact evaluations in the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the ListContactEvaluations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListContactEvaluations service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListContactEvaluations Operation public virtual Task ListContactEvaluationsAsync(ListContactEvaluationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListContactEvaluationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListContactEvaluationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListContactFlowModules internal virtual ListContactFlowModulesResponse ListContactFlowModules(ListContactFlowModulesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListContactFlowModulesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListContactFlowModulesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides information about the flow modules for the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the ListContactFlowModules service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListContactFlowModules service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListContactFlowModules Operation public virtual Task ListContactFlowModulesAsync(ListContactFlowModulesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListContactFlowModulesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListContactFlowModulesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListContactFlows internal virtual ListContactFlowsResponse ListContactFlows(ListContactFlowsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListContactFlowsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListContactFlowsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides information about the flows for the specified Amazon Connect instance. /// /// /// /// You can also create and update flows using the Amazon /// Connect Flow language. /// /// /// /// For more information about flows, see Flows /// in the Amazon Connect Administrator Guide. /// /// /// Container for the necessary parameters to execute the ListContactFlows service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListContactFlows service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListContactFlows Operation public virtual Task ListContactFlowsAsync(ListContactFlowsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListContactFlowsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListContactFlowsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListContactReferences internal virtual ListContactReferencesResponse ListContactReferences(ListContactReferencesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListContactReferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListContactReferencesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// For the specified referenceTypes, returns a list of references associated /// with the contact. /// /// /// Container for the necessary parameters to execute the ListContactReferences service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListContactReferences service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListContactReferences Operation public virtual Task ListContactReferencesAsync(ListContactReferencesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListContactReferencesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListContactReferencesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListDefaultVocabularies internal virtual ListDefaultVocabulariesResponse ListDefaultVocabularies(ListDefaultVocabulariesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDefaultVocabulariesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDefaultVocabulariesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the default vocabularies for the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the ListDefaultVocabularies service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListDefaultVocabularies service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListDefaultVocabularies Operation public virtual Task ListDefaultVocabulariesAsync(ListDefaultVocabulariesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListDefaultVocabulariesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDefaultVocabulariesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListEvaluationForms internal virtual ListEvaluationFormsResponse ListEvaluationForms(ListEvaluationFormsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListEvaluationFormsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEvaluationFormsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists evaluation forms in the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the ListEvaluationForms service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListEvaluationForms service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListEvaluationForms Operation public virtual Task ListEvaluationFormsAsync(ListEvaluationFormsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListEvaluationFormsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEvaluationFormsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListEvaluationFormVersions internal virtual ListEvaluationFormVersionsResponse ListEvaluationFormVersions(ListEvaluationFormVersionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListEvaluationFormVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEvaluationFormVersionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists versions of an evaluation form in the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the ListEvaluationFormVersions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListEvaluationFormVersions service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListEvaluationFormVersions Operation public virtual Task ListEvaluationFormVersionsAsync(ListEvaluationFormVersionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListEvaluationFormVersionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListEvaluationFormVersionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListHoursOfOperations internal virtual ListHoursOfOperationsResponse ListHoursOfOperations(ListHoursOfOperationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListHoursOfOperationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListHoursOfOperationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides information about the hours of operation for the specified Amazon Connect /// instance. /// /// /// /// For more information about hours of operation, see Set /// the Hours of Operation for a Queue in the Amazon Connect Administrator Guide. /// /// /// Container for the necessary parameters to execute the ListHoursOfOperations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListHoursOfOperations service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListHoursOfOperations Operation public virtual Task ListHoursOfOperationsAsync(ListHoursOfOperationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListHoursOfOperationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListHoursOfOperationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListInstanceAttributes internal virtual ListInstanceAttributesResponse ListInstanceAttributes(ListInstanceAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListInstanceAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListInstanceAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Returns a paginated list of all attribute types for the given instance. /// /// /// Container for the necessary parameters to execute the ListInstanceAttributes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListInstanceAttributes service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListInstanceAttributes Operation public virtual Task ListInstanceAttributesAsync(ListInstanceAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListInstanceAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListInstanceAttributesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListInstances internal virtual ListInstancesResponse ListInstances(ListInstancesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListInstancesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Return a list of instances which are in active state, creation-in-progress state, /// and failed state. Instances that aren't successfully created (they are in a failed /// state) are returned only for 24 hours after the CreateInstance API was invoked. /// /// /// Container for the necessary parameters to execute the ListInstances service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListInstances service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// REST API Reference for ListInstances Operation public virtual Task ListInstancesAsync(ListInstancesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListInstancesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListInstancesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListInstanceStorageConfigs internal virtual ListInstanceStorageConfigsResponse ListInstanceStorageConfigs(ListInstanceStorageConfigsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListInstanceStorageConfigsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListInstanceStorageConfigsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Returns a paginated list of storage configs for the identified instance and resource /// type. /// /// /// Container for the necessary parameters to execute the ListInstanceStorageConfigs service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListInstanceStorageConfigs service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListInstanceStorageConfigs Operation public virtual Task ListInstanceStorageConfigsAsync(ListInstanceStorageConfigsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListInstanceStorageConfigsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListInstanceStorageConfigsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListIntegrationAssociations internal virtual ListIntegrationAssociationsResponse ListIntegrationAssociations(ListIntegrationAssociationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListIntegrationAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIntegrationAssociationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides summary information about the Amazon Web Services resource associations for /// the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the ListIntegrationAssociations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListIntegrationAssociations service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListIntegrationAssociations Operation public virtual Task ListIntegrationAssociationsAsync(ListIntegrationAssociationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListIntegrationAssociationsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListIntegrationAssociationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListLambdaFunctions internal virtual ListLambdaFunctionsResponse ListLambdaFunctions(ListLambdaFunctionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListLambdaFunctionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLambdaFunctionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Returns a paginated list of all Lambda functions that display in the dropdown options /// in the relevant flow blocks. /// /// /// Container for the necessary parameters to execute the ListLambdaFunctions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListLambdaFunctions service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListLambdaFunctions Operation public virtual Task ListLambdaFunctionsAsync(ListLambdaFunctionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListLambdaFunctionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLambdaFunctionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListLexBots internal virtual ListLexBotsResponse ListLexBots(ListLexBotsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListLexBotsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLexBotsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Returns a paginated list of all the Amazon Lex V1 bots currently associated with the /// instance. To return both Amazon Lex V1 and V2 bots, use the ListBots /// API. /// /// /// Container for the necessary parameters to execute the ListLexBots service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListLexBots service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListLexBots Operation public virtual Task ListLexBotsAsync(ListLexBotsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListLexBotsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLexBotsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListPhoneNumbers internal virtual ListPhoneNumbersResponse ListPhoneNumbers(ListPhoneNumbersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPhoneNumbersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPhoneNumbersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides information about the phone numbers for the specified Amazon Connect instance. /// /// /// /// /// For more information about phone numbers, see Set /// Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator /// Guide. /// /// /// /// The phone number Arn value that is returned from each of the items in /// the PhoneNumberSummaryList /// cannot be used to tag phone number resources. It will fail with a ResourceNotFoundException. /// Instead, use the ListPhoneNumbersV2 /// API. It returns the new phone number ARN that can be used to tag phone number resources. /// /// /// /// Container for the necessary parameters to execute the ListPhoneNumbers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListPhoneNumbers service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListPhoneNumbers Operation public virtual Task ListPhoneNumbersAsync(ListPhoneNumbersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListPhoneNumbersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPhoneNumbersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListPhoneNumbersV2 internal virtual ListPhoneNumbersV2Response ListPhoneNumbersV2(ListPhoneNumbersV2Request request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPhoneNumbersV2RequestMarshaller.Instance; options.ResponseUnmarshaller = ListPhoneNumbersV2ResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists phone numbers claimed to your Amazon Connect instance or traffic distribution /// group. If the provided TargetArn is a traffic distribution group, you /// can call this API in both Amazon Web Services Regions associated with traffic distribution /// group. /// /// /// /// For more information about phone numbers, see Set /// Up Phone Numbers for Your Contact Center in the Amazon Connect Administrator /// Guide. /// /// /// Container for the necessary parameters to execute the ListPhoneNumbersV2 service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListPhoneNumbersV2 service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListPhoneNumbersV2 Operation public virtual Task ListPhoneNumbersV2Async(ListPhoneNumbersV2Request request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListPhoneNumbersV2RequestMarshaller.Instance; options.ResponseUnmarshaller = ListPhoneNumbersV2ResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListPrompts internal virtual ListPromptsResponse ListPrompts(ListPromptsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListPromptsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPromptsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides information about the prompts for the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the ListPrompts service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListPrompts service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListPrompts Operation public virtual Task ListPromptsAsync(ListPromptsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListPromptsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListPromptsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListQueueQuickConnects internal virtual ListQueueQuickConnectsResponse ListQueueQuickConnects(ListQueueQuickConnectsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListQueueQuickConnectsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListQueueQuickConnectsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Lists the quick connects associated with a queue. /// /// /// Container for the necessary parameters to execute the ListQueueQuickConnects service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListQueueQuickConnects service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListQueueQuickConnects Operation public virtual Task ListQueueQuickConnectsAsync(ListQueueQuickConnectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListQueueQuickConnectsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListQueueQuickConnectsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListQueues internal virtual ListQueuesResponse ListQueues(ListQueuesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListQueuesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListQueuesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides information about the queues for the specified Amazon Connect instance. /// /// /// /// If you do not specify a QueueTypes parameter, both standard and agent /// queues are returned. This might cause an unexpected truncation of results if you have /// more than 1000 agents and you limit the number of results of the API call in code. /// /// /// /// For more information about queues, see Queues: /// Standard and Agent in the Amazon Connect Administrator Guide. /// /// /// Container for the necessary parameters to execute the ListQueues service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListQueues service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListQueues Operation public virtual Task ListQueuesAsync(ListQueuesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListQueuesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListQueuesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListQuickConnects internal virtual ListQuickConnectsResponse ListQuickConnects(ListQuickConnectsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListQuickConnectsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListQuickConnectsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides information about the quick connects for the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the ListQuickConnects service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListQuickConnects service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListQuickConnects Operation public virtual Task ListQuickConnectsAsync(ListQuickConnectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListQuickConnectsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListQuickConnectsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListRoutingProfileQueues internal virtual ListRoutingProfileQueuesResponse ListRoutingProfileQueues(ListRoutingProfileQueuesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRoutingProfileQueuesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRoutingProfileQueuesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the queues associated with a routing profile. /// /// Container for the necessary parameters to execute the ListRoutingProfileQueues service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListRoutingProfileQueues service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListRoutingProfileQueues Operation public virtual Task ListRoutingProfileQueuesAsync(ListRoutingProfileQueuesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRoutingProfileQueuesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRoutingProfileQueuesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListRoutingProfiles internal virtual ListRoutingProfilesResponse ListRoutingProfiles(ListRoutingProfilesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRoutingProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRoutingProfilesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides summary information about the routing profiles for the specified Amazon Connect /// instance. /// /// /// /// For more information about routing profiles, see Routing /// Profiles and Create /// a Routing Profile in the Amazon Connect Administrator Guide. /// /// /// Container for the necessary parameters to execute the ListRoutingProfiles service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListRoutingProfiles service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListRoutingProfiles Operation public virtual Task ListRoutingProfilesAsync(ListRoutingProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRoutingProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRoutingProfilesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListRules internal virtual ListRulesResponse ListRules(ListRulesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRulesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// List all rules for the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the ListRules service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListRules service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListRules Operation public virtual Task ListRulesAsync(ListRulesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListRulesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListRulesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListSecurityKeys internal virtual ListSecurityKeysResponse ListSecurityKeys(ListSecurityKeysRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSecurityKeysRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSecurityKeysResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Returns a paginated list of all security keys associated with the instance. /// /// /// Container for the necessary parameters to execute the ListSecurityKeys service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSecurityKeys service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListSecurityKeys Operation public virtual Task ListSecurityKeysAsync(ListSecurityKeysRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListSecurityKeysRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSecurityKeysResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListSecurityProfilePermissions internal virtual ListSecurityProfilePermissionsResponse ListSecurityProfilePermissions(ListSecurityProfilePermissionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSecurityProfilePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSecurityProfilePermissionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Lists the permissions granted to a security profile. /// /// /// Container for the necessary parameters to execute the ListSecurityProfilePermissions service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSecurityProfilePermissions service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListSecurityProfilePermissions Operation public virtual Task ListSecurityProfilePermissionsAsync(ListSecurityProfilePermissionsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListSecurityProfilePermissionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSecurityProfilePermissionsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListSecurityProfiles internal virtual ListSecurityProfilesResponse ListSecurityProfiles(ListSecurityProfilesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListSecurityProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSecurityProfilesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides summary information about the security profiles for the specified Amazon /// Connect instance. /// /// /// /// For more information about security profiles, see Security /// Profiles in the Amazon Connect Administrator Guide. /// /// /// Container for the necessary parameters to execute the ListSecurityProfiles service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListSecurityProfiles service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListSecurityProfiles Operation public virtual Task ListSecurityProfilesAsync(ListSecurityProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListSecurityProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListSecurityProfilesResponseUnmarshaller.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 for the specified resource. /// /// /// /// For sample policies that use tags, see Amazon /// Connect Identity-Based Policy Examples in the Amazon Connect Administrator /// Guide. /// /// /// 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 Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// 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 ListTaskTemplates internal virtual ListTaskTemplatesResponse ListTaskTemplates(ListTaskTemplatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTaskTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTaskTemplatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists task templates for the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the ListTaskTemplates service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTaskTemplates service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListTaskTemplates Operation public virtual Task ListTaskTemplatesAsync(ListTaskTemplatesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTaskTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTaskTemplatesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListTrafficDistributionGroups internal virtual ListTrafficDistributionGroupsResponse ListTrafficDistributionGroups(ListTrafficDistributionGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTrafficDistributionGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTrafficDistributionGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists traffic distribution groups. /// /// Container for the necessary parameters to execute the ListTrafficDistributionGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListTrafficDistributionGroups service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListTrafficDistributionGroups Operation public virtual Task ListTrafficDistributionGroupsAsync(ListTrafficDistributionGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListTrafficDistributionGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTrafficDistributionGroupsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListUseCases internal virtual ListUseCasesResponse ListUseCases(ListUseCasesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListUseCasesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListUseCasesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Lists the use cases for the integration association. /// /// Container for the necessary parameters to execute the ListUseCases service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListUseCases service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListUseCases Operation public virtual Task ListUseCasesAsync(ListUseCasesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListUseCasesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListUseCasesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListUserHierarchyGroups internal virtual ListUserHierarchyGroupsResponse ListUserHierarchyGroups(ListUserHierarchyGroupsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListUserHierarchyGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListUserHierarchyGroupsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides summary information about the hierarchy groups for the specified Amazon Connect /// instance. /// /// /// /// For more information about agent hierarchies, see Set /// Up Agent Hierarchies in the Amazon Connect Administrator Guide. /// /// /// Container for the necessary parameters to execute the ListUserHierarchyGroups service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListUserHierarchyGroups service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListUserHierarchyGroups Operation public virtual Task ListUserHierarchyGroupsAsync(ListUserHierarchyGroupsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListUserHierarchyGroupsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListUserHierarchyGroupsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ListUsers internal virtual ListUsersResponse ListUsers(ListUsersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListUsersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Provides summary information about the users for the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the ListUsers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ListUsers service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ListUsers Operation public virtual Task ListUsersAsync(ListUsersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ListUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = ListUsersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region MonitorContact internal virtual MonitorContactResponse MonitorContact(MonitorContactRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = MonitorContactRequestMarshaller.Instance; options.ResponseUnmarshaller = MonitorContactResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates silent monitoring of a contact. The Contact Control Panel (CCP) of the user /// specified by userId will be set to silent monitoring mode on the contact. /// /// Container for the necessary parameters to execute the MonitorContact service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the MonitorContact service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// An entity with the same name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for MonitorContact Operation public virtual Task MonitorContactAsync(MonitorContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = MonitorContactRequestMarshaller.Instance; options.ResponseUnmarshaller = MonitorContactResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region PutUserStatus internal virtual PutUserStatusResponse PutUserStatus(PutUserStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutUserStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = PutUserStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Changes the current status of a user or agent in Amazon Connect. If the agent is currently /// handling a contact, this sets the agent's next status. /// /// /// /// For more information, see Agent /// status and Set /// your next status in the Amazon Connect Administrator Guide. /// /// /// Container for the necessary parameters to execute the PutUserStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the PutUserStatus service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for PutUserStatus Operation public virtual Task PutUserStatusAsync(PutUserStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = PutUserStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = PutUserStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ReleasePhoneNumber internal virtual ReleasePhoneNumberResponse ReleasePhoneNumber(ReleasePhoneNumberRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReleasePhoneNumberRequestMarshaller.Instance; options.ResponseUnmarshaller = ReleasePhoneNumberResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Releases a phone number previously claimed to an Amazon Connect instance or traffic /// distribution group. You can call this API only in the Amazon Web Services Region where /// the number was claimed. /// /// /// /// To release phone numbers from a traffic distribution group, use the ReleasePhoneNumber /// API, not the Amazon Connect console. /// /// /// /// After releasing a phone number, the phone number enters into a cooldown period of /// 30 days. It cannot be searched for or claimed again until the period has ended. If /// you accidentally release a phone number, contact Amazon Web Services Support. /// /// /// /// If you plan to claim and release numbers frequently during a 30 day period, contact /// us for a service quota exception. Otherwise, it is possible you will be blocked from /// claiming and releasing any more numbers until 30 days past the oldest number released /// has expired. /// /// /// /// By default you can claim and release up to 200% of your maximum number of active phone /// numbers during any 30 day period. If you claim and release phone numbers using the /// UI or API during a rolling 30 day cycle that exceeds 200% of your phone number service /// level quota, you will be blocked from claiming any more numbers until 30 days past /// the oldest number released has expired. /// /// /// /// For example, if you already have 99 claimed numbers and a service level quota of 99 /// phone numbers, and in any 30 day period you release 99, claim 99, and then release /// 99, you will have exceeded the 200% limit. At that point you are blocked from claiming /// any more numbers until you open an Amazon Web Services support ticket. /// /// /// Container for the necessary parameters to execute the ReleasePhoneNumber service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ReleasePhoneNumber service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// An entity with the same name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// That resource is already in use. Please try another. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ReleasePhoneNumber Operation public virtual Task ReleasePhoneNumberAsync(ReleasePhoneNumberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ReleasePhoneNumberRequestMarshaller.Instance; options.ResponseUnmarshaller = ReleasePhoneNumberResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ReplicateInstance internal virtual ReplicateInstanceResponse ReplicateInstance(ReplicateInstanceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ReplicateInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = ReplicateInstanceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Replicates an Amazon Connect instance in the specified Amazon Web Services Region. /// /// /// /// For more information about replicating an Amazon Connect instance, see Create /// a replica of your existing Amazon Connect instance in the Amazon Connect Administrator /// Guide. /// /// /// Container for the necessary parameters to execute the ReplicateInstance service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ReplicateInstance service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The resource is not ready. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for ReplicateInstance Operation public virtual Task ReplicateInstanceAsync(ReplicateInstanceRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ReplicateInstanceRequestMarshaller.Instance; options.ResponseUnmarshaller = ReplicateInstanceResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region ResumeContactRecording internal virtual ResumeContactRecordingResponse ResumeContactRecording(ResumeContactRecordingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ResumeContactRecordingRequestMarshaller.Instance; options.ResponseUnmarshaller = ResumeContactRecordingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// When a contact is being recorded, and the recording has been suspended using SuspendContactRecording, /// this API resumes recording the call or screen. /// /// /// /// Voice and screen recordings are supported. /// /// /// Container for the necessary parameters to execute the ResumeContactRecording service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the ResumeContactRecording service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// REST API Reference for ResumeContactRecording Operation public virtual Task ResumeContactRecordingAsync(ResumeContactRecordingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = ResumeContactRecordingRequestMarshaller.Instance; options.ResponseUnmarshaller = ResumeContactRecordingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SearchAvailablePhoneNumbers internal virtual SearchAvailablePhoneNumbersResponse SearchAvailablePhoneNumbers(SearchAvailablePhoneNumbersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchAvailablePhoneNumbersRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchAvailablePhoneNumbersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Searches for available phone numbers that you can claim to your Amazon Connect instance /// or traffic distribution group. If the provided TargetArn is a traffic /// distribution group, you can call this API in both Amazon Web Services Regions associated /// with the traffic distribution group. /// /// Container for the necessary parameters to execute the SearchAvailablePhoneNumbers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchAvailablePhoneNumbers service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for SearchAvailablePhoneNumbers Operation public virtual Task SearchAvailablePhoneNumbersAsync(SearchAvailablePhoneNumbersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SearchAvailablePhoneNumbersRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchAvailablePhoneNumbersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SearchHoursOfOperations internal virtual SearchHoursOfOperationsResponse SearchHoursOfOperations(SearchHoursOfOperationsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchHoursOfOperationsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchHoursOfOperationsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Searches the hours of operation in an Amazon Connect instance, with optional filtering. /// /// Container for the necessary parameters to execute the SearchHoursOfOperations service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchHoursOfOperations service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for SearchHoursOfOperations Operation public virtual Task SearchHoursOfOperationsAsync(SearchHoursOfOperationsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SearchHoursOfOperationsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchHoursOfOperationsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SearchPrompts internal virtual SearchPromptsResponse SearchPrompts(SearchPromptsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchPromptsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchPromptsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Searches prompts in an Amazon Connect instance, with optional filtering. /// /// Container for the necessary parameters to execute the SearchPrompts service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchPrompts service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for SearchPrompts Operation public virtual Task SearchPromptsAsync(SearchPromptsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SearchPromptsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchPromptsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SearchQueues internal virtual SearchQueuesResponse SearchQueues(SearchQueuesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchQueuesRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchQueuesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Searches queues in an Amazon Connect instance, with optional filtering. /// /// Container for the necessary parameters to execute the SearchQueues service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchQueues service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for SearchQueues Operation public virtual Task SearchQueuesAsync(SearchQueuesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SearchQueuesRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchQueuesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SearchQuickConnects internal virtual SearchQuickConnectsResponse SearchQuickConnects(SearchQuickConnectsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchQuickConnectsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchQuickConnectsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Searches quick connects in an Amazon Connect instance, with optional filtering. /// /// Container for the necessary parameters to execute the SearchQuickConnects service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchQuickConnects service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for SearchQuickConnects Operation public virtual Task SearchQuickConnectsAsync(SearchQuickConnectsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SearchQuickConnectsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchQuickConnectsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SearchResourceTags internal virtual SearchResourceTagsResponse SearchResourceTags(SearchResourceTagsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchResourceTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchResourceTagsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Searches tags used in an Amazon Connect instance using optional search criteria. /// /// Container for the necessary parameters to execute the SearchResourceTags service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchResourceTags service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// Maximum number (1000) of tags have been returned with current request. Consider changing /// request parameters to get more tags. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for SearchResourceTags Operation public virtual Task SearchResourceTagsAsync(SearchResourceTagsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SearchResourceTagsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchResourceTagsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SearchRoutingProfiles internal virtual SearchRoutingProfilesResponse SearchRoutingProfiles(SearchRoutingProfilesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchRoutingProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchRoutingProfilesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Searches routing profiles in an Amazon Connect instance, with optional filtering. /// /// Container for the necessary parameters to execute the SearchRoutingProfiles service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchRoutingProfiles service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for SearchRoutingProfiles Operation public virtual Task SearchRoutingProfilesAsync(SearchRoutingProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SearchRoutingProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchRoutingProfilesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SearchSecurityProfiles internal virtual SearchSecurityProfilesResponse SearchSecurityProfiles(SearchSecurityProfilesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchSecurityProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchSecurityProfilesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Searches security profiles in an Amazon Connect instance, with optional filtering. /// /// Container for the necessary parameters to execute the SearchSecurityProfiles service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchSecurityProfiles service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for SearchSecurityProfiles Operation public virtual Task SearchSecurityProfilesAsync(SearchSecurityProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SearchSecurityProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchSecurityProfilesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SearchUsers internal virtual SearchUsersResponse SearchUsers(SearchUsersRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchUsersResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Searches users in an Amazon Connect instance, with optional filtering. /// /// /// /// AfterContactWorkTimeLimit is returned in milliseconds. /// /// /// /// Container for the necessary parameters to execute the SearchUsers service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchUsers service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for SearchUsers Operation public virtual Task SearchUsersAsync(SearchUsersRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SearchUsersRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchUsersResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SearchVocabularies internal virtual SearchVocabulariesResponse SearchVocabularies(SearchVocabulariesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchVocabulariesRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchVocabulariesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Searches for vocabularies within a specific Amazon Connect instance using State, /// NameStartsWith, and LanguageCode. /// /// Container for the necessary parameters to execute the SearchVocabularies service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SearchVocabularies service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for SearchVocabularies Operation public virtual Task SearchVocabulariesAsync(SearchVocabulariesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SearchVocabulariesRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchVocabulariesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartChatContact internal virtual StartChatContactResponse StartChatContact(StartChatContactRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartChatContactRequestMarshaller.Instance; options.ResponseUnmarshaller = StartChatContactResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates a flow to start a new chat for the customer. Response of this API provides /// a token required to obtain credentials from the CreateParticipantConnection /// API in the Amazon Connect Participant Service. /// /// /// /// When a new chat contact is successfully created, clients must subscribe to the participant’s /// connection for the created chat within 5 minutes. This is achieved by invoking CreateParticipantConnection /// with WEBSOCKET and CONNECTION_CREDENTIALS. /// /// /// /// A 429 error occurs in the following situations: /// ///
  • /// /// API rate limit is exceeded. API TPS throttling returns a TooManyRequests /// exception. /// ///
  • /// /// The quota /// for concurrent active chats is exceeded. Active chat throttling returns a LimitExceededException. /// ///
/// /// If you use the ChatDurationInMinutes parameter and receive a 400 error, /// your account may not support the ability to configure custom chat durations. For more /// information, contact Amazon Web Services Support. /// /// /// /// For more information about chat, see Chat /// in the Amazon Connect Administrator Guide. /// ///
/// Container for the necessary parameters to execute the StartChatContact service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartChatContact service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The allowed limit for the resource has been exceeded. /// /// /// The specified resource was not found. /// /// REST API Reference for StartChatContact Operation public virtual Task StartChatContactAsync(StartChatContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartChatContactRequestMarshaller.Instance; options.ResponseUnmarshaller = StartChatContactResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartContactEvaluation internal virtual StartContactEvaluationResponse StartContactEvaluation(StartContactEvaluationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartContactEvaluationRequestMarshaller.Instance; options.ResponseUnmarshaller = StartContactEvaluationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Starts an empty evaluation in the specified Amazon Connect instance, using the given /// evaluation form for the particular contact. The evaluation form version used for the /// contact evaluation corresponds to the currently activated version. If no version is /// activated for the evaluation form, the contact evaluation cannot be started. /// /// /// /// Evaluations created through the public API do not contain answer values suggested /// from automation. /// /// /// /// Container for the necessary parameters to execute the StartContactEvaluation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartContactEvaluation service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for StartContactEvaluation Operation public virtual Task StartContactEvaluationAsync(StartContactEvaluationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartContactEvaluationRequestMarshaller.Instance; options.ResponseUnmarshaller = StartContactEvaluationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartContactRecording internal virtual StartContactRecordingResponse StartContactRecording(StartContactRecordingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartContactRecordingRequestMarshaller.Instance; options.ResponseUnmarshaller = StartContactRecordingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Starts recording the contact: /// ///
  • /// /// If the API is called before the agent joins the call, recording starts when /// the agent joins the call. /// ///
  • /// /// If the API is called after the agent joins the call, recording starts at the /// time of the API call. /// ///
/// /// StartContactRecording is a one-time action. For example, if you use StopContactRecording /// to stop recording an ongoing call, you can't use StartContactRecording to restart /// it. For scenarios where the recording has started and you want to suspend and resume /// it, such as when collecting sensitive information (for example, a credit card number), /// use SuspendContactRecording and ResumeContactRecording. /// /// /// /// You can use this API to override the recording behavior configured in the Set /// recording behavior block. /// /// /// /// Only voice recordings are supported at this time. /// ///
/// Container for the necessary parameters to execute the StartContactRecording service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartContactRecording service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// REST API Reference for StartContactRecording Operation public virtual Task StartContactRecordingAsync(StartContactRecordingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartContactRecordingRequestMarshaller.Instance; options.ResponseUnmarshaller = StartContactRecordingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartContactStreaming internal virtual StartContactStreamingResponse StartContactStreaming(StartContactStreamingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartContactStreamingRequestMarshaller.Instance; options.ResponseUnmarshaller = StartContactStreamingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates real-time message streaming for a new chat contact. /// /// /// /// For more information about message streaming, see Enable /// real-time chat message streaming in the Amazon Connect Administrator Guide. /// /// /// Container for the necessary parameters to execute the StartContactStreaming service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartContactStreaming service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The allowed limit for the resource has been exceeded. /// /// /// The specified resource was not found. /// /// REST API Reference for StartContactStreaming Operation public virtual Task StartContactStreamingAsync(StartContactStreamingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartContactStreamingRequestMarshaller.Instance; options.ResponseUnmarshaller = StartContactStreamingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartOutboundVoiceContact internal virtual StartOutboundVoiceContactResponse StartOutboundVoiceContact(StartOutboundVoiceContactRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartOutboundVoiceContactRequestMarshaller.Instance; options.ResponseUnmarshaller = StartOutboundVoiceContactResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Places an outbound call to a contact, and then initiates the flow. It performs the /// actions in the flow that's specified (in ContactFlowId). /// /// /// /// Agents do not initiate the outbound API, which means that they do not dial the contact. /// If the flow places an outbound call to a contact, and then puts the contact in queue, /// the call is then routed to the agent, like any other inbound case. /// /// /// /// There is a 60-second dialing timeout for this operation. If the call is not connected /// after 60 seconds, it fails. /// /// /// /// UK numbers with a 447 prefix are not allowed by default. Before you can dial these /// UK mobile numbers, you must submit a service quota increase request. For more information, /// see Amazon /// Connect Service Quotas in the Amazon Connect Administrator Guide. /// /// /// /// Campaign calls are not allowed by default. Before you can make a call with TrafficType /// = CAMPAIGN, you must submit a service quota increase request to the quota /// Amazon /// Connect campaigns. /// /// /// /// Container for the necessary parameters to execute the StartOutboundVoiceContact service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartOutboundVoiceContact service method, as returned by Connect. /// /// Outbound calls to the destination number are not allowed. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The allowed limit for the resource has been exceeded. /// /// /// The contact is not permitted. /// /// /// The specified resource was not found. /// /// REST API Reference for StartOutboundVoiceContact Operation public virtual Task StartOutboundVoiceContactAsync(StartOutboundVoiceContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartOutboundVoiceContactRequestMarshaller.Instance; options.ResponseUnmarshaller = StartOutboundVoiceContactResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StartTaskContact internal virtual StartTaskContactResponse StartTaskContact(StartTaskContactRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StartTaskContactRequestMarshaller.Instance; options.ResponseUnmarshaller = StartTaskContactResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates a flow to start a new task. /// /// Container for the necessary parameters to execute the StartTaskContact service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StartTaskContact service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for StartTaskContact Operation public virtual Task StartTaskContactAsync(StartTaskContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StartTaskContactRequestMarshaller.Instance; options.ResponseUnmarshaller = StartTaskContactResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StopContact internal virtual StopContactResponse StopContact(StopContactRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopContactRequestMarshaller.Instance; options.ResponseUnmarshaller = StopContactResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Ends the specified contact. This call does not work for the following initiation methods: /// ///
  • /// /// DISCONNECT /// ///
  • /// /// TRANSFER /// ///
  • /// /// QUEUE_TRANSFER /// ///
///
/// Container for the necessary parameters to execute the StopContact service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopContact service method, as returned by Connect. /// /// The contact with the specified ID is not active or does not exist. Applies to Voice /// calls only, not to Chat, Task, or Voice Callback. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// REST API Reference for StopContact Operation public virtual Task StopContactAsync(StopContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopContactRequestMarshaller.Instance; options.ResponseUnmarshaller = StopContactResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StopContactRecording internal virtual StopContactRecordingResponse StopContactRecording(StopContactRecordingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopContactRecordingRequestMarshaller.Instance; options.ResponseUnmarshaller = StopContactRecordingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Stops recording a call when a contact is being recorded. StopContactRecording is a /// one-time action. If you use StopContactRecording to stop recording an ongoing call, /// you can't use StartContactRecording to restart it. For scenarios where the recording /// has started and you want to suspend it for sensitive information (for example, to /// collect a credit card number), and then restart it, use SuspendContactRecording and /// ResumeContactRecording. /// /// /// /// Only voice recordings are supported at this time. /// /// /// Container for the necessary parameters to execute the StopContactRecording service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopContactRecording service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// REST API Reference for StopContactRecording Operation public virtual Task StopContactRecordingAsync(StopContactRecordingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopContactRecordingRequestMarshaller.Instance; options.ResponseUnmarshaller = StopContactRecordingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region StopContactStreaming internal virtual StopContactStreamingResponse StopContactStreaming(StopContactStreamingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = StopContactStreamingRequestMarshaller.Instance; options.ResponseUnmarshaller = StopContactStreamingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Ends message streaming on a specified contact. To restart message streaming on that /// contact, call the StartContactStreaming /// API. /// /// Container for the necessary parameters to execute the StopContactStreaming service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the StopContactStreaming service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// REST API Reference for StopContactStreaming Operation public virtual Task StopContactStreamingAsync(StopContactStreamingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = StopContactStreamingRequestMarshaller.Instance; options.ResponseUnmarshaller = StopContactStreamingResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SubmitContactEvaluation internal virtual SubmitContactEvaluationResponse SubmitContactEvaluation(SubmitContactEvaluationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SubmitContactEvaluationRequestMarshaller.Instance; options.ResponseUnmarshaller = SubmitContactEvaluationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Submits a contact evaluation in the specified Amazon Connect instance. Answers included /// in the request are merged with existing answers for the given evaluation. If no answers /// or notes are passed, the evaluation is submitted with the existing answers and notes. /// You can delete an answer or note by passing an empty object ({}) to the /// question identifier. /// /// /// /// If a contact evaluation is already in submitted state, this operation will trigger /// a resubmission. /// /// /// Container for the necessary parameters to execute the SubmitContactEvaluation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SubmitContactEvaluation service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for SubmitContactEvaluation Operation public virtual Task SubmitContactEvaluationAsync(SubmitContactEvaluationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SubmitContactEvaluationRequestMarshaller.Instance; options.ResponseUnmarshaller = SubmitContactEvaluationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region SuspendContactRecording internal virtual SuspendContactRecordingResponse SuspendContactRecording(SuspendContactRecordingRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SuspendContactRecordingRequestMarshaller.Instance; options.ResponseUnmarshaller = SuspendContactRecordingResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// When a contact is being recorded, this API suspends recording the call or screen. /// For example, you might suspend the call or screen recording while collecting sensitive /// information, such as a credit card number. Then use ResumeContactRecording to restart /// recording. /// /// /// /// The period of time that the recording is suspended is filled with silence in the final /// recording. /// /// /// /// Voice and screen recordings are supported. /// /// /// Container for the necessary parameters to execute the SuspendContactRecording service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the SuspendContactRecording service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// REST API Reference for SuspendContactRecording Operation public virtual Task SuspendContactRecordingAsync(SuspendContactRecordingRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = SuspendContactRecordingRequestMarshaller.Instance; options.ResponseUnmarshaller = SuspendContactRecordingResponseUnmarshaller.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); } /// /// Adds the specified tags to the specified resource. /// /// /// /// Some of the supported resource types are agents, routing profiles, queues, quick connects, /// contact flows, agent statuses, hours of operation, phone numbers, security profiles, /// and task templates. For a complete list, see Tagging /// resources in Amazon Connect. /// /// /// /// For sample policies that use tags, see Amazon /// Connect Identity-Based Policy Examples in the Amazon Connect Administrator /// Guide. /// /// /// 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 Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// 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 TransferContact internal virtual TransferContactResponse TransferContact(TransferContactRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TransferContactRequestMarshaller.Instance; options.ResponseUnmarshaller = TransferContactResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Transfers contacts from one agent or queue to another agent or queue at any point /// after a contact is created. You can transfer a contact to another queue by providing /// the flow which orchestrates the contact to the destination queue. This gives you more /// control over contact handling and helps you adhere to the service level agreement /// (SLA) guaranteed to your customers. /// /// /// /// Note the following requirements: /// ///
  • /// /// Transfer is supported for only TASK contacts. /// ///
  • /// /// Do not use both QueueId and UserId in the same call. /// ///
  • /// /// The following flow types are supported: Inbound flow, Transfer to agent flow, and /// Transfer to queue flow. /// ///
  • /// /// The TransferContact API can be called only on active contacts. /// ///
  • /// /// A contact cannot be transferred more than 11 times. /// ///
///
/// Container for the necessary parameters to execute the TransferContact service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the TransferContact service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// An entity with the same name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for TransferContact Operation public virtual Task TransferContactAsync(TransferContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = TransferContactRequestMarshaller.Instance; options.ResponseUnmarshaller = TransferContactResponseUnmarshaller.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 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 Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// 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 UpdateAgentStatus internal virtual UpdateAgentStatusResponse UpdateAgentStatus(UpdateAgentStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAgentStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAgentStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Updates agent status. /// /// /// Container for the necessary parameters to execute the UpdateAgentStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateAgentStatus service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The allowed limit for the resource has been exceeded. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateAgentStatus Operation public virtual Task UpdateAgentStatusAsync(UpdateAgentStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateAgentStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateAgentStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateContact internal virtual UpdateContactResponse UpdateContact(UpdateContactRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Adds or updates user-defined contact information associated with the specified contact. /// At least one field to be updated must be present in the request. /// /// /// /// You can add or update user-defined contact information for both ongoing and completed /// contacts. /// /// /// /// Container for the necessary parameters to execute the UpdateContact service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateContact service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateContact Operation public virtual Task UpdateContactAsync(UpdateContactRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateContactAttributes internal virtual UpdateContactAttributesResponse UpdateContactAttributes(UpdateContactAttributesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactAttributesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Creates or updates user-defined contact attributes associated with the specified contact. /// /// /// /// You can create or update user-defined attributes for both ongoing and completed contacts. /// For example, while the call is active, you can update the customer's name or the reason /// the customer called. You can add notes about steps that the agent took during the /// call that display to the next agent that takes the call. You can also update attributes /// for a contact using data from your CRM application and save the data with the contact /// in Amazon Connect. You could also flag calls for additional analysis, such as legal /// review or to identify abusive callers. /// /// /// /// Contact attributes are available in Amazon Connect for 24 months, and are then deleted. /// For information about contact record retention and the maximum size of the contact /// record attributes section, see Feature /// specifications in the Amazon Connect Administrator Guide. /// /// /// Container for the necessary parameters to execute the UpdateContactAttributes service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateContactAttributes service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// REST API Reference for UpdateContactAttributes Operation public virtual Task UpdateContactAttributesAsync(UpdateContactAttributesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactAttributesRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactAttributesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateContactEvaluation internal virtual UpdateContactEvaluationResponse UpdateContactEvaluation(UpdateContactEvaluationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactEvaluationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactEvaluationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates details about a contact evaluation in the specified Amazon Connect instance. /// A contact evaluation must be in draft state. Answers included in the request are merged /// with existing answers for the given evaluation. An answer or note can be deleted by /// passing an empty object ({}) to the question identifier. /// /// Container for the necessary parameters to execute the UpdateContactEvaluation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateContactEvaluation service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateContactEvaluation Operation public virtual Task UpdateContactEvaluationAsync(UpdateContactEvaluationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactEvaluationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactEvaluationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateContactFlowContent internal virtual UpdateContactFlowContentResponse UpdateContactFlowContent(UpdateContactFlowContentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactFlowContentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactFlowContentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the specified flow. /// /// /// /// You can also create and update flows using the Amazon /// Connect Flow language. /// /// /// Container for the necessary parameters to execute the UpdateContactFlowContent service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateContactFlowContent service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// The flow is not valid. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateContactFlowContent Operation public virtual Task UpdateContactFlowContentAsync(UpdateContactFlowContentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactFlowContentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactFlowContentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateContactFlowMetadata internal virtual UpdateContactFlowMetadataResponse UpdateContactFlowMetadata(UpdateContactFlowMetadataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactFlowMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactFlowMetadataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates metadata about specified flow. /// /// Container for the necessary parameters to execute the UpdateContactFlowMetadata service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateContactFlowMetadata service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateContactFlowMetadata Operation public virtual Task UpdateContactFlowMetadataAsync(UpdateContactFlowMetadataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactFlowMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactFlowMetadataResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateContactFlowModuleContent internal virtual UpdateContactFlowModuleContentResponse UpdateContactFlowModuleContent(UpdateContactFlowModuleContentRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactFlowModuleContentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactFlowModuleContentResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates specified flow module for the specified Amazon Connect instance. /// /// Container for the necessary parameters to execute the UpdateContactFlowModuleContent service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateContactFlowModuleContent service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The problems with the module. Please fix before trying again. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateContactFlowModuleContent Operation public virtual Task UpdateContactFlowModuleContentAsync(UpdateContactFlowModuleContentRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactFlowModuleContentRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactFlowModuleContentResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateContactFlowModuleMetadata internal virtual UpdateContactFlowModuleMetadataResponse UpdateContactFlowModuleMetadata(UpdateContactFlowModuleMetadataRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactFlowModuleMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactFlowModuleMetadataResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates metadata about specified flow module. /// /// Container for the necessary parameters to execute the UpdateContactFlowModuleMetadata service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateContactFlowModuleMetadata service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateContactFlowModuleMetadata Operation public virtual Task UpdateContactFlowModuleMetadataAsync(UpdateContactFlowModuleMetadataRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactFlowModuleMetadataRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactFlowModuleMetadataResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateContactFlowName internal virtual UpdateContactFlowNameResponse UpdateContactFlowName(UpdateContactFlowNameRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactFlowNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactFlowNameResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// The name of the flow. /// /// /// /// You can also create and update flows using the Amazon /// Connect Flow language. /// /// /// Container for the necessary parameters to execute the UpdateContactFlowName service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateContactFlowName service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateContactFlowName Operation public virtual Task UpdateContactFlowNameAsync(UpdateContactFlowNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactFlowNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactFlowNameResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateContactSchedule internal virtual UpdateContactScheduleResponse UpdateContactSchedule(UpdateContactScheduleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactScheduleRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactScheduleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the scheduled time of a task contact that is already scheduled. /// /// Container for the necessary parameters to execute the UpdateContactSchedule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateContactSchedule service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The allowed limit for the resource has been exceeded. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateContactSchedule Operation public virtual Task UpdateContactScheduleAsync(UpdateContactScheduleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateContactScheduleRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateContactScheduleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateEvaluationForm internal virtual UpdateEvaluationFormResponse UpdateEvaluationForm(UpdateEvaluationFormRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEvaluationFormRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEvaluationFormResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates details about a specific evaluation form version in the specified Amazon Connect /// instance. Question and section identifiers cannot be duplicated within the same evaluation /// form. /// /// /// /// This operation does not support partial updates. Instead it does a full update of /// evaluation form content. /// /// /// Container for the necessary parameters to execute the UpdateEvaluationForm service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateEvaluationForm service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateEvaluationForm Operation public virtual Task UpdateEvaluationFormAsync(UpdateEvaluationFormRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateEvaluationFormRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateEvaluationFormResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateHoursOfOperation internal virtual UpdateHoursOfOperationResponse UpdateHoursOfOperation(UpdateHoursOfOperationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateHoursOfOperationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateHoursOfOperationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Updates the hours of operation. /// /// /// Container for the necessary parameters to execute the UpdateHoursOfOperation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateHoursOfOperation service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateHoursOfOperation Operation public virtual Task UpdateHoursOfOperationAsync(UpdateHoursOfOperationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateHoursOfOperationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateHoursOfOperationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateInstanceAttribute internal virtual UpdateInstanceAttributeResponse UpdateInstanceAttribute(UpdateInstanceAttributeRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateInstanceAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateInstanceAttributeResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Updates the value for the specified attribute type. /// /// /// Container for the necessary parameters to execute the UpdateInstanceAttribute service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateInstanceAttribute service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateInstanceAttribute Operation public virtual Task UpdateInstanceAttributeAsync(UpdateInstanceAttributeRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateInstanceAttributeRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateInstanceAttributeResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateInstanceStorageConfig internal virtual UpdateInstanceStorageConfigResponse UpdateInstanceStorageConfig(UpdateInstanceStorageConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateInstanceStorageConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateInstanceStorageConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Updates an existing configuration for a resource type. This API is idempotent. /// /// /// Container for the necessary parameters to execute the UpdateInstanceStorageConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateInstanceStorageConfig service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateInstanceStorageConfig Operation public virtual Task UpdateInstanceStorageConfigAsync(UpdateInstanceStorageConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateInstanceStorageConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateInstanceStorageConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateParticipantRoleConfig internal virtual UpdateParticipantRoleConfigResponse UpdateParticipantRoleConfig(UpdateParticipantRoleConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateParticipantRoleConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateParticipantRoleConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates timeouts for when human chat participants are to be considered idle, and when /// agents are automatically disconnected from a chat due to idleness. You can set four /// timers: /// ///
  • /// /// Customer idle timeout /// ///
  • /// /// Customer auto-disconnect timeout /// ///
  • /// /// Agent idle timeout /// ///
  • /// /// Agent auto-disconnect timeout /// ///
/// /// For more information about how chat timeouts work, see Set /// up chat timeouts for human participants. /// ///
/// Container for the necessary parameters to execute the UpdateParticipantRoleConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateParticipantRoleConfig service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateParticipantRoleConfig Operation public virtual Task UpdateParticipantRoleConfigAsync(UpdateParticipantRoleConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateParticipantRoleConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateParticipantRoleConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdatePhoneNumber internal virtual UpdatePhoneNumberResponse UpdatePhoneNumber(UpdatePhoneNumberRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePhoneNumberRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePhoneNumberResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates your claimed phone number from its current Amazon Connect instance or traffic /// distribution group to another Amazon Connect instance or traffic distribution group /// in the same Amazon Web Services Region. /// /// /// /// After using this API, you must verify that the phone number is attached to the correct /// flow in the target instance or traffic distribution group. You need to do this because /// the API switches only the phone number to a new instance or traffic distribution group. /// It doesn't migrate the flow configuration of the phone number, too. /// /// /// /// You can call DescribePhoneNumber /// API to verify the status of a previous UpdatePhoneNumber /// operation. /// /// /// /// Container for the necessary parameters to execute the UpdatePhoneNumber service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdatePhoneNumber service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// An entity with the same name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// That resource is already in use. Please try another. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdatePhoneNumber Operation public virtual Task UpdatePhoneNumberAsync(UpdatePhoneNumberRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePhoneNumberRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePhoneNumberResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdatePrompt internal virtual UpdatePromptResponse UpdatePrompt(UpdatePromptRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePromptRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePromptResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a prompt. /// /// Container for the necessary parameters to execute the UpdatePrompt service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdatePrompt service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdatePrompt Operation public virtual Task UpdatePromptAsync(UpdatePromptRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdatePromptRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdatePromptResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateQueueHoursOfOperation internal virtual UpdateQueueHoursOfOperationResponse UpdateQueueHoursOfOperation(UpdateQueueHoursOfOperationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateQueueHoursOfOperationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateQueueHoursOfOperationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Updates the hours of operation for the specified queue. /// /// /// Container for the necessary parameters to execute the UpdateQueueHoursOfOperation service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateQueueHoursOfOperation service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateQueueHoursOfOperation Operation public virtual Task UpdateQueueHoursOfOperationAsync(UpdateQueueHoursOfOperationRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateQueueHoursOfOperationRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateQueueHoursOfOperationResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateQueueMaxContacts internal virtual UpdateQueueMaxContactsResponse UpdateQueueMaxContacts(UpdateQueueMaxContactsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateQueueMaxContactsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateQueueMaxContactsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Updates the maximum number of contacts allowed in a queue before it is considered /// full. /// /// /// Container for the necessary parameters to execute the UpdateQueueMaxContacts service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateQueueMaxContacts service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateQueueMaxContacts Operation public virtual Task UpdateQueueMaxContactsAsync(UpdateQueueMaxContactsRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateQueueMaxContactsRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateQueueMaxContactsResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateQueueName internal virtual UpdateQueueNameResponse UpdateQueueName(UpdateQueueNameRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateQueueNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateQueueNameResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Updates the name and description of a queue. At least Name or Description /// must be provided. /// /// /// Container for the necessary parameters to execute the UpdateQueueName service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateQueueName service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateQueueName Operation public virtual Task UpdateQueueNameAsync(UpdateQueueNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateQueueNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateQueueNameResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateQueueOutboundCallerConfig internal virtual UpdateQueueOutboundCallerConfigResponse UpdateQueueOutboundCallerConfig(UpdateQueueOutboundCallerConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateQueueOutboundCallerConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateQueueOutboundCallerConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Updates the outbound caller ID name, number, and outbound whisper flow for a specified /// queue. /// /// /// /// If the number being used in the input is claimed to a traffic distribution group, /// and you are calling this API using an instance in the Amazon Web Services Region where /// the traffic distribution group was created, you can use either a full phone number /// ARN or UUID value for the OutboundCallerIdNumberId value of the OutboundCallerConfig /// request body parameter. However, if the number is claimed to a traffic distribution /// group and you are calling this API using an instance in the alternate Amazon Web Services /// Region associated with the traffic distribution group, you must provide a full phone /// number ARN. If a UUID is provided in this scenario, you will receive a ResourceNotFoundException. /// /// /// /// Only use the phone number ARN format that doesn't contain instance in /// the path, for example, arn:aws:connect:us-east-1:1234567890:phone-number/uuid. /// This is the same ARN format that is returned when you call the ListPhoneNumbersV2 /// API. /// /// /// /// Container for the necessary parameters to execute the UpdateQueueOutboundCallerConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateQueueOutboundCallerConfig service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateQueueOutboundCallerConfig Operation public virtual Task UpdateQueueOutboundCallerConfigAsync(UpdateQueueOutboundCallerConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateQueueOutboundCallerConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateQueueOutboundCallerConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateQueueStatus internal virtual UpdateQueueStatusResponse UpdateQueueStatus(UpdateQueueStatusRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateQueueStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateQueueStatusResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Updates the status of the queue. /// /// /// Container for the necessary parameters to execute the UpdateQueueStatus service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateQueueStatus service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateQueueStatus Operation public virtual Task UpdateQueueStatusAsync(UpdateQueueStatusRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateQueueStatusRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateQueueStatusResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateQuickConnectConfig internal virtual UpdateQuickConnectConfigResponse UpdateQuickConnectConfig(UpdateQuickConnectConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateQuickConnectConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateQuickConnectConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the configuration settings for the specified quick connect. /// /// Container for the necessary parameters to execute the UpdateQuickConnectConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateQuickConnectConfig service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateQuickConnectConfig Operation public virtual Task UpdateQuickConnectConfigAsync(UpdateQuickConnectConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateQuickConnectConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateQuickConnectConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateQuickConnectName internal virtual UpdateQuickConnectNameResponse UpdateQuickConnectName(UpdateQuickConnectNameRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateQuickConnectNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateQuickConnectNameResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the name and description of a quick connect. The request accepts the following /// data in JSON format. At least Name or Description must be /// provided. /// /// Container for the necessary parameters to execute the UpdateQuickConnectName service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateQuickConnectName service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateQuickConnectName Operation public virtual Task UpdateQuickConnectNameAsync(UpdateQuickConnectNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateQuickConnectNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateQuickConnectNameResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRoutingProfileConcurrency internal virtual UpdateRoutingProfileConcurrencyResponse UpdateRoutingProfileConcurrency(UpdateRoutingProfileConcurrencyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRoutingProfileConcurrencyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRoutingProfileConcurrencyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the channels that agents can handle in the Contact Control Panel (CCP) for /// a routing profile. /// /// Container for the necessary parameters to execute the UpdateRoutingProfileConcurrency service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRoutingProfileConcurrency service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateRoutingProfileConcurrency Operation public virtual Task UpdateRoutingProfileConcurrencyAsync(UpdateRoutingProfileConcurrencyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRoutingProfileConcurrencyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRoutingProfileConcurrencyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRoutingProfileDefaultOutboundQueue internal virtual UpdateRoutingProfileDefaultOutboundQueueResponse UpdateRoutingProfileDefaultOutboundQueue(UpdateRoutingProfileDefaultOutboundQueueRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRoutingProfileDefaultOutboundQueueRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRoutingProfileDefaultOutboundQueueResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the default outbound queue of a routing profile. /// /// Container for the necessary parameters to execute the UpdateRoutingProfileDefaultOutboundQueue service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRoutingProfileDefaultOutboundQueue service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateRoutingProfileDefaultOutboundQueue Operation public virtual Task UpdateRoutingProfileDefaultOutboundQueueAsync(UpdateRoutingProfileDefaultOutboundQueueRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRoutingProfileDefaultOutboundQueueRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRoutingProfileDefaultOutboundQueueResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRoutingProfileName internal virtual UpdateRoutingProfileNameResponse UpdateRoutingProfileName(UpdateRoutingProfileNameRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRoutingProfileNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRoutingProfileNameResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the name and description of a routing profile. The request accepts the following /// data in JSON format. At least Name or Description must be /// provided. /// /// Container for the necessary parameters to execute the UpdateRoutingProfileName service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRoutingProfileName service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateRoutingProfileName Operation public virtual Task UpdateRoutingProfileNameAsync(UpdateRoutingProfileNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRoutingProfileNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRoutingProfileNameResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRoutingProfileQueues internal virtual UpdateRoutingProfileQueuesResponse UpdateRoutingProfileQueues(UpdateRoutingProfileQueuesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRoutingProfileQueuesRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRoutingProfileQueuesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the properties associated with a set of queues for a routing profile. /// /// Container for the necessary parameters to execute the UpdateRoutingProfileQueues service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRoutingProfileQueues service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateRoutingProfileQueues Operation public virtual Task UpdateRoutingProfileQueuesAsync(UpdateRoutingProfileQueuesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRoutingProfileQueuesRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRoutingProfileQueuesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateRule internal virtual UpdateRuleResponse UpdateRule(UpdateRuleRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRuleResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates a rule for the specified Amazon Connect instance. /// /// /// /// Use the Rules /// Function language to code conditions for the rule. /// /// /// Container for the necessary parameters to execute the UpdateRule service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateRule service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateRule Operation public virtual Task UpdateRuleAsync(UpdateRuleRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateRuleRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateRuleResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateSecurityProfile internal virtual UpdateSecurityProfileResponse UpdateSecurityProfile(UpdateSecurityProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSecurityProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// This API is in preview release for Amazon Connect and is subject to change. /// /// /// /// Updates a security profile. /// /// /// Container for the necessary parameters to execute the UpdateSecurityProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateSecurityProfile service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateSecurityProfile Operation public virtual Task UpdateSecurityProfileAsync(UpdateSecurityProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateSecurityProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateSecurityProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateTaskTemplate internal virtual UpdateTaskTemplateResponse UpdateTaskTemplate(UpdateTaskTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTaskTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTaskTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates details about a specific task template in the specified Amazon Connect instance. /// This operation does not support partial updates. Instead it does a full update of /// template content. /// /// Container for the necessary parameters to execute the UpdateTaskTemplate service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateTaskTemplate service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The property is not valid. /// /// /// The specified resource was not found. /// /// /// The service quota has been exceeded. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateTaskTemplate Operation public virtual Task UpdateTaskTemplateAsync(UpdateTaskTemplateRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTaskTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTaskTemplateResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateTrafficDistribution internal virtual UpdateTrafficDistributionResponse UpdateTrafficDistribution(UpdateTrafficDistributionRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTrafficDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTrafficDistributionResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the traffic distribution for a given traffic distribution group. /// /// /// /// For more information about updating a traffic distribution group, see Update /// telephony traffic distribution across Amazon Web Services Regions in the Amazon /// Connect Administrator Guide. /// /// /// Container for the necessary parameters to execute the UpdateTrafficDistribution service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateTrafficDistribution service method, as returned by Connect. /// /// You do not have sufficient permissions to perform this action. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// The request is not valid. /// /// /// A resource already has that name. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateTrafficDistribution Operation public virtual Task UpdateTrafficDistributionAsync(UpdateTrafficDistributionRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTrafficDistributionRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTrafficDistributionResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateUserHierarchy internal virtual UpdateUserHierarchyResponse UpdateUserHierarchy(UpdateUserHierarchyRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUserHierarchyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUserHierarchyResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Assigns the specified hierarchy group to the specified user. /// /// Container for the necessary parameters to execute the UpdateUserHierarchy service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateUserHierarchy service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateUserHierarchy Operation public virtual Task UpdateUserHierarchyAsync(UpdateUserHierarchyRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUserHierarchyRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUserHierarchyResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateUserHierarchyGroupName internal virtual UpdateUserHierarchyGroupNameResponse UpdateUserHierarchyGroupName(UpdateUserHierarchyGroupNameRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUserHierarchyGroupNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUserHierarchyGroupNameResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the name of the user hierarchy group. /// /// Container for the necessary parameters to execute the UpdateUserHierarchyGroupName service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateUserHierarchyGroupName service method, as returned by Connect. /// /// A resource with the specified name already exists. /// /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateUserHierarchyGroupName Operation public virtual Task UpdateUserHierarchyGroupNameAsync(UpdateUserHierarchyGroupNameRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUserHierarchyGroupNameRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUserHierarchyGroupNameResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateUserHierarchyStructure internal virtual UpdateUserHierarchyStructureResponse UpdateUserHierarchyStructure(UpdateUserHierarchyStructureRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUserHierarchyStructureRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUserHierarchyStructureResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the user hierarchy structure: add, remove, and rename user hierarchy levels. /// /// Container for the necessary parameters to execute the UpdateUserHierarchyStructure service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateUserHierarchyStructure service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// That resource is already in use. Please try another. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateUserHierarchyStructure Operation public virtual Task UpdateUserHierarchyStructureAsync(UpdateUserHierarchyStructureRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUserHierarchyStructureRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUserHierarchyStructureResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateUserIdentityInfo internal virtual UpdateUserIdentityInfoResponse UpdateUserIdentityInfo(UpdateUserIdentityInfoRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUserIdentityInfoRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUserIdentityInfoResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the identity information for the specified user. /// /// /// /// We strongly recommend limiting who has the ability to invoke UpdateUserIdentityInfo. /// Someone with that ability can change the login credentials of other users by changing /// their email address. This poses a security risk to your organization. They can change /// the email address of a user to the attacker's email address, and then reset the password /// through email. For more information, see Best /// Practices for Security Profiles in the Amazon Connect Administrator Guide. /// /// /// /// Container for the necessary parameters to execute the UpdateUserIdentityInfo service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateUserIdentityInfo service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateUserIdentityInfo Operation public virtual Task UpdateUserIdentityInfoAsync(UpdateUserIdentityInfoRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUserIdentityInfoRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUserIdentityInfoResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateUserPhoneConfig internal virtual UpdateUserPhoneConfigResponse UpdateUserPhoneConfig(UpdateUserPhoneConfigRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUserPhoneConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUserPhoneConfigResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Updates the phone configuration settings for the specified user. /// /// Container for the necessary parameters to execute the UpdateUserPhoneConfig service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateUserPhoneConfig service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateUserPhoneConfig Operation public virtual Task UpdateUserPhoneConfigAsync(UpdateUserPhoneConfigRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUserPhoneConfigRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUserPhoneConfigResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateUserRoutingProfile internal virtual UpdateUserRoutingProfileResponse UpdateUserRoutingProfile(UpdateUserRoutingProfileRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUserRoutingProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUserRoutingProfileResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Assigns the specified routing profile to the specified user. /// /// Container for the necessary parameters to execute the UpdateUserRoutingProfile service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateUserRoutingProfile service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateUserRoutingProfile Operation public virtual Task UpdateUserRoutingProfileAsync(UpdateUserRoutingProfileRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUserRoutingProfileRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUserRoutingProfileResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion #region UpdateUserSecurityProfiles internal virtual UpdateUserSecurityProfilesResponse UpdateUserSecurityProfiles(UpdateUserSecurityProfilesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUserSecurityProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUserSecurityProfilesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Assigns the specified security profiles to the specified user. /// /// Container for the necessary parameters to execute the UpdateUserSecurityProfiles service method. /// /// A cancellation token that can be used by other objects or threads to receive notice of cancellation. /// /// /// The response from the UpdateUserSecurityProfiles service method, as returned by Connect. /// /// Request processing failed because of an error or failure with the service. /// /// /// One or more of the specified parameters are not valid. /// /// /// The request is not valid. /// /// /// The specified resource was not found. /// /// /// The throttling limit has been exceeded. /// /// REST API Reference for UpdateUserSecurityProfiles Operation public virtual Task UpdateUserSecurityProfilesAsync(UpdateUserSecurityProfilesRequest request, System.Threading.CancellationToken cancellationToken = default(CancellationToken)) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateUserSecurityProfilesRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateUserSecurityProfilesResponseUnmarshaller.Instance; return InvokeAsync(request, options, cancellationToken); } #endregion } }