/* * 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 connectcases-2022-10-03.normal.json service model. */ using System; using System.Collections.Generic; using System.Net; using Amazon.ConnectCases.Model; using Amazon.ConnectCases.Model.Internal.MarshallTransformations; using Amazon.ConnectCases.Internal; using Amazon.Runtime; using Amazon.Runtime.Internal; using Amazon.Runtime.Internal.Auth; using Amazon.Runtime.Internal.Transform; namespace Amazon.ConnectCases { /// /// Implementation for accessing ConnectCases /// /// With Amazon Connect Cases, your agents can track and manage customer issues that require /// multiple interactions, follow-up tasks, and teams in your contact center. A case represents /// a customer issue. It records the issue, the steps and interactions taken to resolve /// the issue, and the outcome. For more information, see Amazon /// Connect Cases in the Amazon Connect Administrator Guide. /// public partial class AmazonConnectCasesClient : AmazonServiceClient, IAmazonConnectCases { private static IServiceMetadata serviceMetadata = new AmazonConnectCasesMetadata(); #if BCL45 || AWS_ASYNC_ENUMERABLES_API private IConnectCasesPaginatorFactory _paginators; /// /// Paginators for the service /// public IConnectCasesPaginatorFactory Paginators { get { if (this._paginators == null) { this._paginators = new ConnectCasesPaginatorFactory(this); } return this._paginators; } } #endif #region Constructors /// /// Constructs AmazonConnectCasesClient 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 AmazonConnectCasesClient() : base(FallbackCredentialsFactory.GetCredentials(), new AmazonConnectCasesConfig()) { } /// /// Constructs AmazonConnectCasesClient 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 AmazonConnectCasesClient(RegionEndpoint region) : base(FallbackCredentialsFactory.GetCredentials(), new AmazonConnectCasesConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonConnectCasesClient 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 AmazonConnectCasesClient Configuration Object public AmazonConnectCasesClient(AmazonConnectCasesConfig config) : base(FallbackCredentialsFactory.GetCredentials(config), config){} /// /// Constructs AmazonConnectCasesClient with AWS Credentials /// /// AWS Credentials public AmazonConnectCasesClient(AWSCredentials credentials) : this(credentials, new AmazonConnectCasesConfig()) { } /// /// Constructs AmazonConnectCasesClient with AWS Credentials /// /// AWS Credentials /// The region to connect. public AmazonConnectCasesClient(AWSCredentials credentials, RegionEndpoint region) : this(credentials, new AmazonConnectCasesConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonConnectCasesClient with AWS Credentials and an /// AmazonConnectCasesClient Configuration object. /// /// AWS Credentials /// The AmazonConnectCasesClient Configuration Object public AmazonConnectCasesClient(AWSCredentials credentials, AmazonConnectCasesConfig clientConfig) : base(credentials, clientConfig) { } /// /// Constructs AmazonConnectCasesClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key public AmazonConnectCasesClient(string awsAccessKeyId, string awsSecretAccessKey) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonConnectCasesConfig()) { } /// /// Constructs AmazonConnectCasesClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// The region to connect. public AmazonConnectCasesClient(string awsAccessKeyId, string awsSecretAccessKey, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, new AmazonConnectCasesConfig() {RegionEndpoint=region}) { } /// /// Constructs AmazonConnectCasesClient with AWS Access Key ID, AWS Secret Key and an /// AmazonConnectCasesClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// The AmazonConnectCasesClient Configuration Object public AmazonConnectCasesClient(string awsAccessKeyId, string awsSecretAccessKey, AmazonConnectCasesConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, clientConfig) { } /// /// Constructs AmazonConnectCasesClient with AWS Access Key ID and AWS Secret Key /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token public AmazonConnectCasesClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonConnectCasesConfig()) { } /// /// Constructs AmazonConnectCasesClient 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 AmazonConnectCasesClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, RegionEndpoint region) : this(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, new AmazonConnectCasesConfig{RegionEndpoint = region}) { } /// /// Constructs AmazonConnectCasesClient with AWS Access Key ID, AWS Secret Key and an /// AmazonConnectCasesClient Configuration object. /// /// AWS Access Key ID /// AWS Secret Access Key /// AWS Session Token /// The AmazonConnectCasesClient Configuration Object public AmazonConnectCasesClient(string awsAccessKeyId, string awsSecretAccessKey, string awsSessionToken, AmazonConnectCasesConfig clientConfig) : base(awsAccessKeyId, awsSecretAccessKey, awsSessionToken, clientConfig) { } #endregion #region Overrides /// /// Creates the signer for the service. /// protected override AbstractAWSSigner CreateSigner() { return new AWS4Signer(); } /// /// Customize the pipeline /// /// protected override void CustomizeRuntimePipeline(RuntimePipeline pipeline) { pipeline.RemoveHandler(); pipeline.AddHandlerAfter(new AmazonConnectCasesEndpointResolver()); } /// /// 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 BatchGetField /// /// Returns the description for the list of fields in the request parameters. /// /// Container for the necessary parameters to execute the BatchGetField service method. /// /// The response from the BatchGetField service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for BatchGetField Operation public virtual BatchGetFieldResponse BatchGetField(BatchGetFieldRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetFieldRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetFieldResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchGetField operation. /// /// /// Container for the necessary parameters to execute the BatchGetField operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchGetField /// operation. /// REST API Reference for BatchGetField Operation public virtual IAsyncResult BeginBatchGetField(BatchGetFieldRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchGetFieldRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchGetFieldResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchGetField operation. /// /// /// The IAsyncResult returned by the call to BeginBatchGetField. /// /// Returns a BatchGetFieldResult from ConnectCases. /// REST API Reference for BatchGetField Operation public virtual BatchGetFieldResponse EndBatchGetField(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region BatchPutFieldOptions /// /// Creates and updates a set of field options for a single select field in a Cases domain. /// /// Container for the necessary parameters to execute the BatchPutFieldOptions service method. /// /// The response from the BatchPutFieldOptions service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The service quota has been exceeded. For a list of service quotas, see Amazon /// Connect Service Quotas in the Amazon Connect Administrator Guide. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for BatchPutFieldOptions Operation public virtual BatchPutFieldOptionsResponse BatchPutFieldOptions(BatchPutFieldOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = BatchPutFieldOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchPutFieldOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the BatchPutFieldOptions operation. /// /// /// Container for the necessary parameters to execute the BatchPutFieldOptions operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndBatchPutFieldOptions /// operation. /// REST API Reference for BatchPutFieldOptions Operation public virtual IAsyncResult BeginBatchPutFieldOptions(BatchPutFieldOptionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = BatchPutFieldOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = BatchPutFieldOptionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the BatchPutFieldOptions operation. /// /// /// The IAsyncResult returned by the call to BeginBatchPutFieldOptions. /// /// Returns a BatchPutFieldOptionsResult from ConnectCases. /// REST API Reference for BatchPutFieldOptions Operation public virtual BatchPutFieldOptionsResponse EndBatchPutFieldOptions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateCase /// /// Creates a case in the specified Cases domain. Case system and custom fields are taken /// as an array id/value pairs with a declared data types. /// /// /// /// The following fields are required when creating a case: /// ///
 <ul> <li> <p> <code>customer_id</code>
        /// - You must provide the full customer profile ARN in this format: <code>arn:aws:profile:your
        /// AWS Region:your AWS account ID:domains/profiles domain name/profiles/profile ID</code>
        /// </p> </li> <li> <p> <code>title</code> </p>
        /// </li> </ul> </note> 
///
/// Container for the necessary parameters to execute the CreateCase service method. /// /// The response from the CreateCase service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for CreateCase Operation public virtual CreateCaseResponse CreateCase(CreateCaseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCaseRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCaseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateCase operation. /// /// /// Container for the necessary parameters to execute the CreateCase operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateCase /// operation. /// REST API Reference for CreateCase Operation public virtual IAsyncResult BeginCreateCase(CreateCaseRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateCaseRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateCaseResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateCase operation. /// /// /// The IAsyncResult returned by the call to BeginCreateCase. /// /// Returns a CreateCaseResult from ConnectCases. /// REST API Reference for CreateCase Operation public virtual CreateCaseResponse EndCreateCase(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateDomain /// /// Creates a domain, which is a container for all case data, such as cases, fields, templates /// and layouts. Each Amazon Connect instance can be associated with only one Cases domain. /// /// /// /// This will not associate your connect instance to Cases domain. Instead, use the Amazon /// Connect CreateIntegrationAssociation /// API. You need specific IAM permissions to successfully associate the Cases domain. /// For more information, see Onboard /// to Cases. /// ///
 </important> 
///
/// Container for the necessary parameters to execute the CreateDomain service method. /// /// The response from the CreateDomain service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// The service quota has been exceeded. For a list of service quotas, see Amazon /// Connect Service Quotas in the Amazon Connect Administrator Guide. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for CreateDomain Operation public virtual CreateDomainResponse CreateDomain(CreateDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateDomain operation. /// /// /// Container for the necessary parameters to execute the CreateDomain operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateDomain /// operation. /// REST API Reference for CreateDomain Operation public virtual IAsyncResult BeginCreateDomain(CreateDomainRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateDomainResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateDomain operation. /// /// /// The IAsyncResult returned by the call to BeginCreateDomain. /// /// Returns a CreateDomainResult from ConnectCases. /// REST API Reference for CreateDomain Operation public virtual CreateDomainResponse EndCreateDomain(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateField /// /// Creates a field in the Cases domain. This field is used to define the case object /// model (that is, defines what data can be captured on cases) in a Cases domain. /// /// Container for the necessary parameters to execute the CreateField service method. /// /// The response from the CreateField service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The service quota has been exceeded. For a list of service quotas, see Amazon /// Connect Service Quotas in the Amazon Connect Administrator Guide. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for CreateField Operation public virtual CreateFieldResponse CreateField(CreateFieldRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFieldRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFieldResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateField operation. /// /// /// Container for the necessary parameters to execute the CreateField operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateField /// operation. /// REST API Reference for CreateField Operation public virtual IAsyncResult BeginCreateField(CreateFieldRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateFieldRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateFieldResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateField operation. /// /// /// The IAsyncResult returned by the call to BeginCreateField. /// /// Returns a CreateFieldResult from ConnectCases. /// REST API Reference for CreateField Operation public virtual CreateFieldResponse EndCreateField(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateLayout /// /// Creates a layout in the Cases domain. Layouts define the following configuration in /// the top section and More Info tab of the Cases user interface: /// ///
  • /// /// Fields to display to the users /// ///
  • /// /// Field ordering /// ///
/// /// Title and Status fields cannot be part of layouts since they are not configurable. /// /// ///
/// Container for the necessary parameters to execute the CreateLayout service method. /// /// The response from the CreateLayout service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The service quota has been exceeded. For a list of service quotas, see Amazon /// Connect Service Quotas in the Amazon Connect Administrator Guide. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for CreateLayout Operation public virtual CreateLayoutResponse CreateLayout(CreateLayoutRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLayoutRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLayoutResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateLayout operation. /// /// /// Container for the necessary parameters to execute the CreateLayout operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateLayout /// operation. /// REST API Reference for CreateLayout Operation public virtual IAsyncResult BeginCreateLayout(CreateLayoutRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateLayoutRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateLayoutResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateLayout operation. /// /// /// The IAsyncResult returned by the call to BeginCreateLayout. /// /// Returns a CreateLayoutResult from ConnectCases. /// REST API Reference for CreateLayout Operation public virtual CreateLayoutResponse EndCreateLayout(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateRelatedItem /// /// Creates a related item (comments, tasks, and contacts) and associates it with a case. /// /// /// /// A Related Item is a resource that is associated with a case. It may or may not have /// an external identifier linking it to an external resource (for example, a contactArn). /// All Related Items have their own internal identifier, the relatedItemArn. /// Examples of related items include comments and contacts. /// /// /// /// Container for the necessary parameters to execute the CreateRelatedItem service method. /// /// The response from the CreateRelatedItem service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The service quota has been exceeded. For a list of service quotas, see Amazon /// Connect Service Quotas in the Amazon Connect Administrator Guide. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for CreateRelatedItem Operation public virtual CreateRelatedItemResponse CreateRelatedItem(CreateRelatedItemRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRelatedItemRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRelatedItemResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateRelatedItem operation. /// /// /// Container for the necessary parameters to execute the CreateRelatedItem operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateRelatedItem /// operation. /// REST API Reference for CreateRelatedItem Operation public virtual IAsyncResult BeginCreateRelatedItem(CreateRelatedItemRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateRelatedItemRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateRelatedItemResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateRelatedItem operation. /// /// /// The IAsyncResult returned by the call to BeginCreateRelatedItem. /// /// Returns a CreateRelatedItemResult from ConnectCases. /// REST API Reference for CreateRelatedItem Operation public virtual CreateRelatedItemResponse EndCreateRelatedItem(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region CreateTemplate /// /// Creates a template in the Cases domain. This template is used to define the case object /// model (that is, to define what data can be captured on cases) in a Cases domain. A /// template must have a unique name within a domain, and it must reference existing field /// IDs and layout IDs. Additionally, multiple fields with same IDs are not allowed within /// the same Template. A template can be either Active or Inactive, as indicated by its /// status. Inactive templates cannot be used to create cases. /// /// Container for the necessary parameters to execute the CreateTemplate service method. /// /// The response from the CreateTemplate service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The service quota has been exceeded. For a list of service quotas, see Amazon /// Connect Service Quotas in the Amazon Connect Administrator Guide. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for CreateTemplate Operation public virtual CreateTemplateResponse CreateTemplate(CreateTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the CreateTemplate operation. /// /// /// Container for the necessary parameters to execute the CreateTemplate operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndCreateTemplate /// operation. /// REST API Reference for CreateTemplate Operation public virtual IAsyncResult BeginCreateTemplate(CreateTemplateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = CreateTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = CreateTemplateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the CreateTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginCreateTemplate. /// /// Returns a CreateTemplateResult from ConnectCases. /// REST API Reference for CreateTemplate Operation public virtual CreateTemplateResponse EndCreateTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region DeleteDomain /// /// Deletes a Cases domain. /// ///
 <note> <p>After deleting your domain you must disassociate
        /// the deleted domain from your Amazon Connect instance with another API call before
        /// being able to use Cases again with this Amazon Connect instance. See <a href="https://docs.aws.amazon.com/connect/latest/APIReference/API_DeleteIntegrationAssociation.html">DeleteIntegrationAssociation</a>.</p>
        /// </note> 
///
/// Container for the necessary parameters to execute the DeleteDomain service method. /// /// The response from the DeleteDomain service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for DeleteDomain Operation public virtual DeleteDomainResponse DeleteDomain(DeleteDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the DeleteDomain operation. /// /// /// Container for the necessary parameters to execute the DeleteDomain operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndDeleteDomain /// operation. /// REST API Reference for DeleteDomain Operation public virtual IAsyncResult BeginDeleteDomain(DeleteDomainRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = DeleteDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = DeleteDomainResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the DeleteDomain operation. /// /// /// The IAsyncResult returned by the call to BeginDeleteDomain. /// /// Returns a DeleteDomainResult from ConnectCases. /// REST API Reference for DeleteDomain Operation public virtual DeleteDomainResponse EndDeleteDomain(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetCase /// /// Returns information about a specific case if it exists. /// /// Container for the necessary parameters to execute the GetCase service method. /// /// The response from the GetCase service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for GetCase Operation public virtual GetCaseResponse GetCase(GetCaseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCaseRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCaseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetCase operation. /// /// /// Container for the necessary parameters to execute the GetCase operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCase /// operation. /// REST API Reference for GetCase Operation public virtual IAsyncResult BeginGetCase(GetCaseRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCaseRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCaseResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCase operation. /// /// /// The IAsyncResult returned by the call to BeginGetCase. /// /// Returns a GetCaseResult from ConnectCases. /// REST API Reference for GetCase Operation public virtual GetCaseResponse EndGetCase(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetCaseEventConfiguration /// /// Returns the case event publishing configuration. /// /// Container for the necessary parameters to execute the GetCaseEventConfiguration service method. /// /// The response from the GetCaseEventConfiguration service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for GetCaseEventConfiguration Operation public virtual GetCaseEventConfigurationResponse GetCaseEventConfiguration(GetCaseEventConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetCaseEventConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCaseEventConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetCaseEventConfiguration operation. /// /// /// Container for the necessary parameters to execute the GetCaseEventConfiguration operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetCaseEventConfiguration /// operation. /// REST API Reference for GetCaseEventConfiguration Operation public virtual IAsyncResult BeginGetCaseEventConfiguration(GetCaseEventConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetCaseEventConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = GetCaseEventConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetCaseEventConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginGetCaseEventConfiguration. /// /// Returns a GetCaseEventConfigurationResult from ConnectCases. /// REST API Reference for GetCaseEventConfiguration Operation public virtual GetCaseEventConfigurationResponse EndGetCaseEventConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetDomain /// /// Returns information about a specific domain if it exists. /// /// Container for the necessary parameters to execute the GetDomain service method. /// /// The response from the GetDomain service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for GetDomain Operation public virtual GetDomainResponse GetDomain(GetDomainRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDomainResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetDomain operation. /// /// /// Container for the necessary parameters to execute the GetDomain operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetDomain /// operation. /// REST API Reference for GetDomain Operation public virtual IAsyncResult BeginGetDomain(GetDomainRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetDomainRequestMarshaller.Instance; options.ResponseUnmarshaller = GetDomainResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetDomain operation. /// /// /// The IAsyncResult returned by the call to BeginGetDomain. /// /// Returns a GetDomainResult from ConnectCases. /// REST API Reference for GetDomain Operation public virtual GetDomainResponse EndGetDomain(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetLayout /// /// Returns the details for the requested layout. /// /// Container for the necessary parameters to execute the GetLayout service method. /// /// The response from the GetLayout service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for GetLayout Operation public virtual GetLayoutResponse GetLayout(GetLayoutRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetLayoutRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLayoutResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetLayout operation. /// /// /// Container for the necessary parameters to execute the GetLayout operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetLayout /// operation. /// REST API Reference for GetLayout Operation public virtual IAsyncResult BeginGetLayout(GetLayoutRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetLayoutRequestMarshaller.Instance; options.ResponseUnmarshaller = GetLayoutResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetLayout operation. /// /// /// The IAsyncResult returned by the call to BeginGetLayout. /// /// Returns a GetLayoutResult from ConnectCases. /// REST API Reference for GetLayout Operation public virtual GetLayoutResponse EndGetLayout(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region GetTemplate /// /// Returns the details for the requested template. /// /// Container for the necessary parameters to execute the GetTemplate service method. /// /// The response from the GetTemplate service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for GetTemplate Operation public virtual GetTemplateResponse GetTemplate(GetTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = GetTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the GetTemplate operation. /// /// /// Container for the necessary parameters to execute the GetTemplate operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndGetTemplate /// operation. /// REST API Reference for GetTemplate Operation public virtual IAsyncResult BeginGetTemplate(GetTemplateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = GetTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = GetTemplateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the GetTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginGetTemplate. /// /// Returns a GetTemplateResult from ConnectCases. /// REST API Reference for GetTemplate Operation public virtual GetTemplateResponse EndGetTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListCasesForContact /// /// Lists cases for a given contact. /// /// Container for the necessary parameters to execute the ListCasesForContact service method. /// /// The response from the ListCasesForContact service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for ListCasesForContact Operation public virtual ListCasesForContactResponse ListCasesForContact(ListCasesForContactRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListCasesForContactRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCasesForContactResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListCasesForContact operation. /// /// /// Container for the necessary parameters to execute the ListCasesForContact operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListCasesForContact /// operation. /// REST API Reference for ListCasesForContact Operation public virtual IAsyncResult BeginListCasesForContact(ListCasesForContactRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListCasesForContactRequestMarshaller.Instance; options.ResponseUnmarshaller = ListCasesForContactResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListCasesForContact operation. /// /// /// The IAsyncResult returned by the call to BeginListCasesForContact. /// /// Returns a ListCasesForContactResult from ConnectCases. /// REST API Reference for ListCasesForContact Operation public virtual ListCasesForContactResponse EndListCasesForContact(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListDomains /// /// Lists all cases domains in the Amazon Web Services account. Each list item is a condensed /// summary object of the domain. /// /// Container for the necessary parameters to execute the ListDomains service method. /// /// The response from the ListDomains service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for ListDomains Operation public virtual ListDomainsResponse ListDomains(ListDomainsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListDomainsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDomainsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListDomains operation. /// /// /// Container for the necessary parameters to execute the ListDomains operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListDomains /// operation. /// REST API Reference for ListDomains Operation public virtual IAsyncResult BeginListDomains(ListDomainsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListDomainsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListDomainsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListDomains operation. /// /// /// The IAsyncResult returned by the call to BeginListDomains. /// /// Returns a ListDomainsResult from ConnectCases. /// REST API Reference for ListDomains Operation public virtual ListDomainsResponse EndListDomains(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListFieldOptions /// /// Lists all of the field options for a field identifier in the domain. /// /// Container for the necessary parameters to execute the ListFieldOptions service method. /// /// The response from the ListFieldOptions service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for ListFieldOptions Operation public virtual ListFieldOptionsResponse ListFieldOptions(ListFieldOptionsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFieldOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFieldOptionsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListFieldOptions operation. /// /// /// Container for the necessary parameters to execute the ListFieldOptions operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFieldOptions /// operation. /// REST API Reference for ListFieldOptions Operation public virtual IAsyncResult BeginListFieldOptions(ListFieldOptionsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListFieldOptionsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFieldOptionsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListFieldOptions operation. /// /// /// The IAsyncResult returned by the call to BeginListFieldOptions. /// /// Returns a ListFieldOptionsResult from ConnectCases. /// REST API Reference for ListFieldOptions Operation public virtual ListFieldOptionsResponse EndListFieldOptions(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListFields /// /// Lists all fields in a Cases domain. /// /// Container for the necessary parameters to execute the ListFields service method. /// /// The response from the ListFields service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for ListFields Operation public virtual ListFieldsResponse ListFields(ListFieldsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListFieldsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFieldsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListFields operation. /// /// /// Container for the necessary parameters to execute the ListFields operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListFields /// operation. /// REST API Reference for ListFields Operation public virtual IAsyncResult BeginListFields(ListFieldsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListFieldsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListFieldsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListFields operation. /// /// /// The IAsyncResult returned by the call to BeginListFields. /// /// Returns a ListFieldsResult from ConnectCases. /// REST API Reference for ListFields Operation public virtual ListFieldsResponse EndListFields(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListLayouts /// /// Lists all layouts in the given cases domain. Each list item is a condensed summary /// object of the layout. /// /// Container for the necessary parameters to execute the ListLayouts service method. /// /// The response from the ListLayouts service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for ListLayouts Operation public virtual ListLayoutsResponse ListLayouts(ListLayoutsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListLayoutsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLayoutsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListLayouts operation. /// /// /// Container for the necessary parameters to execute the ListLayouts operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListLayouts /// operation. /// REST API Reference for ListLayouts Operation public virtual IAsyncResult BeginListLayouts(ListLayoutsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListLayoutsRequestMarshaller.Instance; options.ResponseUnmarshaller = ListLayoutsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListLayouts operation. /// /// /// The IAsyncResult returned by the call to BeginListLayouts. /// /// Returns a ListLayoutsResult from ConnectCases. /// REST API Reference for ListLayouts Operation public virtual ListLayoutsResponse EndListLayouts(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTagsForResource /// /// Lists tags for a resource. /// /// Container for the necessary parameters to execute the ListTagsForResource service method. /// /// The response from the ListTagsForResource service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse ListTagsForResource(ListTagsForResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTagsForResource operation. /// /// /// Container for the necessary parameters to execute the ListTagsForResource operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTagsForResource /// operation. /// REST API Reference for ListTagsForResource Operation public virtual IAsyncResult BeginListTagsForResource(ListTagsForResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTagsForResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTagsForResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTagsForResource operation. /// /// /// The IAsyncResult returned by the call to BeginListTagsForResource. /// /// Returns a ListTagsForResourceResult from ConnectCases. /// REST API Reference for ListTagsForResource Operation public virtual ListTagsForResourceResponse EndListTagsForResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region ListTemplates /// /// Lists all of the templates in a Cases domain. Each list item is a condensed summary /// object of the template. /// /// Container for the necessary parameters to execute the ListTemplates service method. /// /// The response from the ListTemplates service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for ListTemplates Operation public virtual ListTemplatesResponse ListTemplates(ListTemplatesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = ListTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTemplatesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the ListTemplates operation. /// /// /// Container for the necessary parameters to execute the ListTemplates operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndListTemplates /// operation. /// REST API Reference for ListTemplates Operation public virtual IAsyncResult BeginListTemplates(ListTemplatesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = ListTemplatesRequestMarshaller.Instance; options.ResponseUnmarshaller = ListTemplatesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the ListTemplates operation. /// /// /// The IAsyncResult returned by the call to BeginListTemplates. /// /// Returns a ListTemplatesResult from ConnectCases. /// REST API Reference for ListTemplates Operation public virtual ListTemplatesResponse EndListTemplates(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region PutCaseEventConfiguration /// /// API for adding case event publishing configuration /// /// Container for the necessary parameters to execute the PutCaseEventConfiguration service method. /// /// The response from the PutCaseEventConfiguration service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for PutCaseEventConfiguration Operation public virtual PutCaseEventConfigurationResponse PutCaseEventConfiguration(PutCaseEventConfigurationRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = PutCaseEventConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutCaseEventConfigurationResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the PutCaseEventConfiguration operation. /// /// /// Container for the necessary parameters to execute the PutCaseEventConfiguration operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndPutCaseEventConfiguration /// operation. /// REST API Reference for PutCaseEventConfiguration Operation public virtual IAsyncResult BeginPutCaseEventConfiguration(PutCaseEventConfigurationRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = PutCaseEventConfigurationRequestMarshaller.Instance; options.ResponseUnmarshaller = PutCaseEventConfigurationResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the PutCaseEventConfiguration operation. /// /// /// The IAsyncResult returned by the call to BeginPutCaseEventConfiguration. /// /// Returns a PutCaseEventConfigurationResult from ConnectCases. /// REST API Reference for PutCaseEventConfiguration Operation public virtual PutCaseEventConfigurationResponse EndPutCaseEventConfiguration(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region SearchCases /// /// Searches for cases within their associated Cases domain. Search results are returned /// as a paginated list of abridged case documents. /// /// /// /// For customer_id you must provide the full customer profile ARN in this /// format: arn:aws:profile:your AWS Region:your AWS account ID:domains/profiles /// domain name/profiles/profile ID. /// /// /// /// Container for the necessary parameters to execute the SearchCases service method. /// /// The response from the SearchCases service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for SearchCases Operation public virtual SearchCasesResponse SearchCases(SearchCasesRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchCasesRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchCasesResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the SearchCases operation. /// /// /// Container for the necessary parameters to execute the SearchCases operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndSearchCases /// operation. /// REST API Reference for SearchCases Operation public virtual IAsyncResult BeginSearchCases(SearchCasesRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SearchCasesRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchCasesResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the SearchCases operation. /// /// /// The IAsyncResult returned by the call to BeginSearchCases. /// /// Returns a SearchCasesResult from ConnectCases. /// REST API Reference for SearchCases Operation public virtual SearchCasesResponse EndSearchCases(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region SearchRelatedItems /// /// Searches for related items that are associated with a case. /// /// /// /// If no filters are provided, this returns all related items associated with a case. /// /// /// /// Container for the necessary parameters to execute the SearchRelatedItems service method. /// /// The response from the SearchRelatedItems service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for SearchRelatedItems Operation public virtual SearchRelatedItemsResponse SearchRelatedItems(SearchRelatedItemsRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = SearchRelatedItemsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchRelatedItemsResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the SearchRelatedItems operation. /// /// /// Container for the necessary parameters to execute the SearchRelatedItems operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndSearchRelatedItems /// operation. /// REST API Reference for SearchRelatedItems Operation public virtual IAsyncResult BeginSearchRelatedItems(SearchRelatedItemsRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = SearchRelatedItemsRequestMarshaller.Instance; options.ResponseUnmarshaller = SearchRelatedItemsResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the SearchRelatedItems operation. /// /// /// The IAsyncResult returned by the call to BeginSearchRelatedItems. /// /// Returns a SearchRelatedItemsResult from ConnectCases. /// REST API Reference for SearchRelatedItems Operation public virtual SearchRelatedItemsResponse EndSearchRelatedItems(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region TagResource /// /// Adds tags to a resource. /// /// Container for the necessary parameters to execute the TagResource service method. /// /// The response from the TagResource service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for TagResource Operation public virtual TagResourceResponse TagResource(TagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the TagResource operation. /// /// /// Container for the necessary parameters to execute the TagResource operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndTagResource /// operation. /// REST API Reference for TagResource Operation public virtual IAsyncResult BeginTagResource(TagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = TagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = TagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the TagResource operation. /// /// /// The IAsyncResult returned by the call to BeginTagResource. /// /// Returns a TagResourceResult from ConnectCases. /// REST API Reference for TagResource Operation public virtual TagResourceResponse EndTagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UntagResource /// /// Untags a resource. /// /// Container for the necessary parameters to execute the UntagResource service method. /// /// The response from the UntagResource service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse UntagResource(UntagResourceRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UntagResource operation. /// /// /// Container for the necessary parameters to execute the UntagResource operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUntagResource /// operation. /// REST API Reference for UntagResource Operation public virtual IAsyncResult BeginUntagResource(UntagResourceRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UntagResourceRequestMarshaller.Instance; options.ResponseUnmarshaller = UntagResourceResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UntagResource operation. /// /// /// The IAsyncResult returned by the call to BeginUntagResource. /// /// Returns a UntagResourceResult from ConnectCases. /// REST API Reference for UntagResource Operation public virtual UntagResourceResponse EndUntagResource(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateCase /// /// Updates the values of fields on a case. Fields to be updated are received as an array /// of id/value pairs identical to the CreateCase input . /// /// /// /// If the action is successful, the service sends back an HTTP 200 response with an empty /// HTTP body. /// /// /// Container for the necessary parameters to execute the UpdateCase service method. /// /// The response from the UpdateCase service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for UpdateCase Operation public virtual UpdateCaseResponse UpdateCase(UpdateCaseRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCaseRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCaseResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateCase operation. /// /// /// Container for the necessary parameters to execute the UpdateCase operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateCase /// operation. /// REST API Reference for UpdateCase Operation public virtual IAsyncResult BeginUpdateCase(UpdateCaseRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateCaseRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateCaseResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateCase operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateCase. /// /// Returns a UpdateCaseResult from ConnectCases. /// REST API Reference for UpdateCase Operation public virtual UpdateCaseResponse EndUpdateCase(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateField /// /// Updates the properties of an existing field. /// /// Container for the necessary parameters to execute the UpdateField service method. /// /// The response from the UpdateField service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for UpdateField Operation public virtual UpdateFieldResponse UpdateField(UpdateFieldRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFieldRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFieldResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateField operation. /// /// /// Container for the necessary parameters to execute the UpdateField operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateField /// operation. /// REST API Reference for UpdateField Operation public virtual IAsyncResult BeginUpdateField(UpdateFieldRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateFieldRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateFieldResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateField operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateField. /// /// Returns a UpdateFieldResult from ConnectCases. /// REST API Reference for UpdateField Operation public virtual UpdateFieldResponse EndUpdateField(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateLayout /// /// Updates the attributes of an existing layout. /// /// /// /// If the action is successful, the service sends back an HTTP 200 response with an empty /// HTTP body. /// /// /// /// A ValidationException is returned when you add non-existent fieldIds /// to a layout. /// /// /// /// Title and Status fields cannot be part of layouts because they are not configurable. /// /// /// /// Container for the necessary parameters to execute the UpdateLayout service method. /// /// The response from the UpdateLayout service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The service quota has been exceeded. For a list of service quotas, see Amazon /// Connect Service Quotas in the Amazon Connect Administrator Guide. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for UpdateLayout Operation public virtual UpdateLayoutResponse UpdateLayout(UpdateLayoutRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateLayoutRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateLayoutResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateLayout operation. /// /// /// Container for the necessary parameters to execute the UpdateLayout operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateLayout /// operation. /// REST API Reference for UpdateLayout Operation public virtual IAsyncResult BeginUpdateLayout(UpdateLayoutRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateLayoutRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateLayoutResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateLayout operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateLayout. /// /// Returns a UpdateLayoutResult from ConnectCases. /// REST API Reference for UpdateLayout Operation public virtual UpdateLayoutResponse EndUpdateLayout(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion #region UpdateTemplate /// /// Updates the attributes of an existing template. The template attributes that can be /// modified include name, description, layoutConfiguration, /// requiredFields, and status. At least one of these attributes /// must not be null. If a null value is provided for a given attribute, that attribute /// is ignored and its current value is preserved. /// /// Container for the necessary parameters to execute the UpdateTemplate service method. /// /// The response from the UpdateTemplate service method, as returned by ConnectCases. /// /// You do not have sufficient access to perform this action. /// /// /// The requested operation would cause a conflict with the current state of a service /// resource associated with the request. Resolve the conflict before retrying this request. /// See the accompanying error message for details. /// /// /// We couldn't process your request because of an issue with the server. Try again later. /// /// /// We couldn't find the requested resource. Check that your resources exists and were /// created in the same Amazon Web Services Region as your request, and try your request /// again. /// /// /// The rate has been exceeded for this API. Please try again after a few minutes. /// /// /// The request isn't valid. Check the syntax and try again. /// /// REST API Reference for UpdateTemplate Operation public virtual UpdateTemplateResponse UpdateTemplate(UpdateTemplateRequest request) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTemplateResponseUnmarshaller.Instance; return Invoke(request, options); } /// /// Initiates the asynchronous execution of the UpdateTemplate operation. /// /// /// Container for the necessary parameters to execute the UpdateTemplate operation on AmazonConnectCasesClient. /// An AsyncCallback delegate that is invoked when the operation completes. /// A user-defined state object that is passed to the callback procedure. Retrieve this object from within the callback /// procedure using the AsyncState property. /// /// An IAsyncResult that can be used to poll or wait for results, or both; this value is also needed when invoking EndUpdateTemplate /// operation. /// REST API Reference for UpdateTemplate Operation public virtual IAsyncResult BeginUpdateTemplate(UpdateTemplateRequest request, AsyncCallback callback, object state) { var options = new InvokeOptions(); options.RequestMarshaller = UpdateTemplateRequestMarshaller.Instance; options.ResponseUnmarshaller = UpdateTemplateResponseUnmarshaller.Instance; return BeginInvoke(request, options, callback, state); } /// /// Finishes the asynchronous execution of the UpdateTemplate operation. /// /// /// The IAsyncResult returned by the call to BeginUpdateTemplate. /// /// Returns a UpdateTemplateResult from ConnectCases. /// REST API Reference for UpdateTemplate Operation public virtual UpdateTemplateResponse EndUpdateTemplate(IAsyncResult asyncResult) { return EndInvoke(asyncResult); } #endregion } }