/*
* 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