/* * Copyright 2018-2023 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. */ package com.amazonaws.services.connectcases; import javax.annotation.Generated; import com.amazonaws.services.connectcases.model.*; /** * Interface for accessing ConnectCases asynchronously. Each asynchronous method will return a Java Future object * representing the asynchronous operation; overloads which accept an {@code AsyncHandler} can be used to receive * notification when an asynchronous operation completes. *

* Note: Do not directly implement this interface, new methods are added to it regularly. Extend from * {@link com.amazonaws.services.connectcases.AbstractAmazonConnectCasesAsync} instead. *

*

*

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

*/ @Generated("com.amazonaws:aws-java-sdk-code-generator") public interface AmazonConnectCasesAsync extends AmazonConnectCases { /** *

* Returns the description for the list of fields in the request parameters. *

* * @param batchGetFieldRequest * @return A Java Future containing the result of the BatchGetField operation returned by the service. * @sample AmazonConnectCasesAsync.BatchGetField * @see AWS API * Documentation */ java.util.concurrent.Future batchGetFieldAsync(BatchGetFieldRequest batchGetFieldRequest); /** *

* Returns the description for the list of fields in the request parameters. *

* * @param batchGetFieldRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the BatchGetField operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.BatchGetField * @see AWS API * Documentation */ java.util.concurrent.Future batchGetFieldAsync(BatchGetFieldRequest batchGetFieldRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Creates and updates a set of field options for a single select field in a Cases domain. *

* * @param batchPutFieldOptionsRequest * @return A Java Future containing the result of the BatchPutFieldOptions operation returned by the service. * @sample AmazonConnectCasesAsync.BatchPutFieldOptions * @see AWS API Documentation */ java.util.concurrent.Future batchPutFieldOptionsAsync(BatchPutFieldOptionsRequest batchPutFieldOptionsRequest); /** *

* Creates and updates a set of field options for a single select field in a Cases domain. *

* * @param batchPutFieldOptionsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the BatchPutFieldOptions operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.BatchPutFieldOptions * @see AWS API Documentation */ java.util.concurrent.Future batchPutFieldOptionsAsync(BatchPutFieldOptionsRequest batchPutFieldOptionsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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> 
     * 
* * @param createCaseRequest * @return A Java Future containing the result of the CreateCase operation returned by the service. * @sample AmazonConnectCasesAsync.CreateCase * @see AWS API * Documentation */ java.util.concurrent.Future createCaseAsync(CreateCaseRequest createCaseRequest); /** *

* 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> 
     * 
* * @param createCaseRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateCase operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.CreateCase * @see AWS API * Documentation */ java.util.concurrent.Future createCaseAsync(CreateCaseRequest createCaseRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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> 
     * 
* * @param createDomainRequest * @return A Java Future containing the result of the CreateDomain operation returned by the service. * @sample AmazonConnectCasesAsync.CreateDomain * @see AWS API * Documentation */ java.util.concurrent.Future createDomainAsync(CreateDomainRequest createDomainRequest); /** *

* 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> 
     * 
* * @param createDomainRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateDomain operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.CreateDomain * @see AWS API * Documentation */ java.util.concurrent.Future createDomainAsync(CreateDomainRequest createDomainRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

* * @param createFieldRequest * @return A Java Future containing the result of the CreateField operation returned by the service. * @sample AmazonConnectCasesAsync.CreateField * @see AWS API * Documentation */ java.util.concurrent.Future createFieldAsync(CreateFieldRequest createFieldRequest); /** *

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

* * @param createFieldRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateField operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.CreateField * @see AWS API * Documentation */ java.util.concurrent.Future createFieldAsync(CreateFieldRequest createFieldRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

*
* * @param createLayoutRequest * @return A Java Future containing the result of the CreateLayout operation returned by the service. * @sample AmazonConnectCasesAsync.CreateLayout * @see AWS API * Documentation */ java.util.concurrent.Future createLayoutAsync(CreateLayoutRequest createLayoutRequest); /** *

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

*
* * @param createLayoutRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateLayout operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.CreateLayout * @see AWS API * Documentation */ java.util.concurrent.Future createLayoutAsync(CreateLayoutRequest createLayoutRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

*
* * @param createRelatedItemRequest * @return A Java Future containing the result of the CreateRelatedItem operation returned by the service. * @sample AmazonConnectCasesAsync.CreateRelatedItem * @see AWS * API Documentation */ java.util.concurrent.Future createRelatedItemAsync(CreateRelatedItemRequest createRelatedItemRequest); /** *

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

*
* * @param createRelatedItemRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateRelatedItem operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.CreateRelatedItem * @see AWS * API Documentation */ java.util.concurrent.Future createRelatedItemAsync(CreateRelatedItemRequest createRelatedItemRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

* * @param createTemplateRequest * @return A Java Future containing the result of the CreateTemplate operation returned by the service. * @sample AmazonConnectCasesAsync.CreateTemplate * @see AWS * API Documentation */ java.util.concurrent.Future createTemplateAsync(CreateTemplateRequest createTemplateRequest); /** *

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

* * @param createTemplateRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the CreateTemplate operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.CreateTemplate * @see AWS * API Documentation */ java.util.concurrent.Future createTemplateAsync(CreateTemplateRequest createTemplateRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* 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> 
     * 
* * @param deleteDomainRequest * @return A Java Future containing the result of the DeleteDomain operation returned by the service. * @sample AmazonConnectCasesAsync.DeleteDomain * @see AWS API * Documentation */ java.util.concurrent.Future deleteDomainAsync(DeleteDomainRequest deleteDomainRequest); /** *

* 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> 
     * 
* * @param deleteDomainRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the DeleteDomain operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.DeleteDomain * @see AWS API * Documentation */ java.util.concurrent.Future deleteDomainAsync(DeleteDomainRequest deleteDomainRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns information about a specific case if it exists. *

* * @param getCaseRequest * @return A Java Future containing the result of the GetCase operation returned by the service. * @sample AmazonConnectCasesAsync.GetCase * @see AWS API * Documentation */ java.util.concurrent.Future getCaseAsync(GetCaseRequest getCaseRequest); /** *

* Returns information about a specific case if it exists. *

* * @param getCaseRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetCase operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.GetCase * @see AWS API * Documentation */ java.util.concurrent.Future getCaseAsync(GetCaseRequest getCaseRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns the case event publishing configuration. *

* * @param getCaseEventConfigurationRequest * @return A Java Future containing the result of the GetCaseEventConfiguration operation returned by the service. * @sample AmazonConnectCasesAsync.GetCaseEventConfiguration * @see AWS API Documentation */ java.util.concurrent.Future getCaseEventConfigurationAsync( GetCaseEventConfigurationRequest getCaseEventConfigurationRequest); /** *

* Returns the case event publishing configuration. *

* * @param getCaseEventConfigurationRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetCaseEventConfiguration operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.GetCaseEventConfiguration * @see AWS API Documentation */ java.util.concurrent.Future getCaseEventConfigurationAsync( GetCaseEventConfigurationRequest getCaseEventConfigurationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns information about a specific domain if it exists. *

* * @param getDomainRequest * @return A Java Future containing the result of the GetDomain operation returned by the service. * @sample AmazonConnectCasesAsync.GetDomain * @see AWS API * Documentation */ java.util.concurrent.Future getDomainAsync(GetDomainRequest getDomainRequest); /** *

* Returns information about a specific domain if it exists. *

* * @param getDomainRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetDomain operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.GetDomain * @see AWS API * Documentation */ java.util.concurrent.Future getDomainAsync(GetDomainRequest getDomainRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns the details for the requested layout. *

* * @param getLayoutRequest * @return A Java Future containing the result of the GetLayout operation returned by the service. * @sample AmazonConnectCasesAsync.GetLayout * @see AWS API * Documentation */ java.util.concurrent.Future getLayoutAsync(GetLayoutRequest getLayoutRequest); /** *

* Returns the details for the requested layout. *

* * @param getLayoutRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetLayout operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.GetLayout * @see AWS API * Documentation */ java.util.concurrent.Future getLayoutAsync(GetLayoutRequest getLayoutRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Returns the details for the requested template. *

* * @param getTemplateRequest * @return A Java Future containing the result of the GetTemplate operation returned by the service. * @sample AmazonConnectCasesAsync.GetTemplate * @see AWS API * Documentation */ java.util.concurrent.Future getTemplateAsync(GetTemplateRequest getTemplateRequest); /** *

* Returns the details for the requested template. *

* * @param getTemplateRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the GetTemplate operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.GetTemplate * @see AWS API * Documentation */ java.util.concurrent.Future getTemplateAsync(GetTemplateRequest getTemplateRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists cases for a given contact. *

* * @param listCasesForContactRequest * @return A Java Future containing the result of the ListCasesForContact operation returned by the service. * @sample AmazonConnectCasesAsync.ListCasesForContact * @see AWS API Documentation */ java.util.concurrent.Future listCasesForContactAsync(ListCasesForContactRequest listCasesForContactRequest); /** *

* Lists cases for a given contact. *

* * @param listCasesForContactRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListCasesForContact operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.ListCasesForContact * @see AWS API Documentation */ java.util.concurrent.Future listCasesForContactAsync(ListCasesForContactRequest listCasesForContactRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists all cases domains in the Amazon Web Services account. Each list item is a condensed summary object of the * domain. *

* * @param listDomainsRequest * @return A Java Future containing the result of the ListDomains operation returned by the service. * @sample AmazonConnectCasesAsync.ListDomains * @see AWS API * Documentation */ java.util.concurrent.Future listDomainsAsync(ListDomainsRequest listDomainsRequest); /** *

* Lists all cases domains in the Amazon Web Services account. Each list item is a condensed summary object of the * domain. *

* * @param listDomainsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListDomains operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.ListDomains * @see AWS API * Documentation */ java.util.concurrent.Future listDomainsAsync(ListDomainsRequest listDomainsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists all of the field options for a field identifier in the domain. *

* * @param listFieldOptionsRequest * @return A Java Future containing the result of the ListFieldOptions operation returned by the service. * @sample AmazonConnectCasesAsync.ListFieldOptions * @see AWS * API Documentation */ java.util.concurrent.Future listFieldOptionsAsync(ListFieldOptionsRequest listFieldOptionsRequest); /** *

* Lists all of the field options for a field identifier in the domain. *

* * @param listFieldOptionsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListFieldOptions operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.ListFieldOptions * @see AWS * API Documentation */ java.util.concurrent.Future listFieldOptionsAsync(ListFieldOptionsRequest listFieldOptionsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists all fields in a Cases domain. *

* * @param listFieldsRequest * @return A Java Future containing the result of the ListFields operation returned by the service. * @sample AmazonConnectCasesAsync.ListFields * @see AWS API * Documentation */ java.util.concurrent.Future listFieldsAsync(ListFieldsRequest listFieldsRequest); /** *

* Lists all fields in a Cases domain. *

* * @param listFieldsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListFields operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.ListFields * @see AWS API * Documentation */ java.util.concurrent.Future listFieldsAsync(ListFieldsRequest listFieldsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists all layouts in the given cases domain. Each list item is a condensed summary object of the layout. *

* * @param listLayoutsRequest * @return A Java Future containing the result of the ListLayouts operation returned by the service. * @sample AmazonConnectCasesAsync.ListLayouts * @see AWS API * Documentation */ java.util.concurrent.Future listLayoutsAsync(ListLayoutsRequest listLayoutsRequest); /** *

* Lists all layouts in the given cases domain. Each list item is a condensed summary object of the layout. *

* * @param listLayoutsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListLayouts operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.ListLayouts * @see AWS API * Documentation */ java.util.concurrent.Future listLayoutsAsync(ListLayoutsRequest listLayoutsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists tags for a resource. *

* * @param listTagsForResourceRequest * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AmazonConnectCasesAsync.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest); /** *

* Lists tags for a resource. *

* * @param listTagsForResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListTagsForResource operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.ListTagsForResource * @see AWS API Documentation */ java.util.concurrent.Future listTagsForResourceAsync(ListTagsForResourceRequest listTagsForResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Lists all of the templates in a Cases domain. Each list item is a condensed summary object of the template. *

* * @param listTemplatesRequest * @return A Java Future containing the result of the ListTemplates operation returned by the service. * @sample AmazonConnectCasesAsync.ListTemplates * @see AWS API * Documentation */ java.util.concurrent.Future listTemplatesAsync(ListTemplatesRequest listTemplatesRequest); /** *

* Lists all of the templates in a Cases domain. Each list item is a condensed summary object of the template. *

* * @param listTemplatesRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the ListTemplates operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.ListTemplates * @see AWS API * Documentation */ java.util.concurrent.Future listTemplatesAsync(ListTemplatesRequest listTemplatesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* API for adding case event publishing configuration *

* * @param putCaseEventConfigurationRequest * @return A Java Future containing the result of the PutCaseEventConfiguration operation returned by the service. * @sample AmazonConnectCasesAsync.PutCaseEventConfiguration * @see AWS API Documentation */ java.util.concurrent.Future putCaseEventConfigurationAsync( PutCaseEventConfigurationRequest putCaseEventConfigurationRequest); /** *

* API for adding case event publishing configuration *

* * @param putCaseEventConfigurationRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the PutCaseEventConfiguration operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.PutCaseEventConfiguration * @see AWS API Documentation */ java.util.concurrent.Future putCaseEventConfigurationAsync( PutCaseEventConfigurationRequest putCaseEventConfigurationRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

*
* * @param searchCasesRequest * @return A Java Future containing the result of the SearchCases operation returned by the service. * @sample AmazonConnectCasesAsync.SearchCases * @see AWS API * Documentation */ java.util.concurrent.Future searchCasesAsync(SearchCasesRequest searchCasesRequest); /** *

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

*
* * @param searchCasesRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the SearchCases operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.SearchCases * @see AWS API * Documentation */ java.util.concurrent.Future searchCasesAsync(SearchCasesRequest searchCasesRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Searches for related items that are associated with a case. *

* *

* If no filters are provided, this returns all related items associated with a case. *

*
* * @param searchRelatedItemsRequest * @return A Java Future containing the result of the SearchRelatedItems operation returned by the service. * @sample AmazonConnectCasesAsync.SearchRelatedItems * @see AWS API Documentation */ java.util.concurrent.Future searchRelatedItemsAsync(SearchRelatedItemsRequest searchRelatedItemsRequest); /** *

* Searches for related items that are associated with a case. *

* *

* If no filters are provided, this returns all related items associated with a case. *

*
* * @param searchRelatedItemsRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the SearchRelatedItems operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.SearchRelatedItems * @see AWS API Documentation */ java.util.concurrent.Future searchRelatedItemsAsync(SearchRelatedItemsRequest searchRelatedItemsRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Adds tags to a resource. *

* * @param tagResourceRequest * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AmazonConnectCasesAsync.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest); /** *

* Adds tags to a resource. *

* * @param tagResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the TagResource operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.TagResource * @see AWS API * Documentation */ java.util.concurrent.Future tagResourceAsync(TagResourceRequest tagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Untags a resource. *

* * @param untagResourceRequest * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AmazonConnectCasesAsync.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest); /** *

* Untags a resource. *

* * @param untagResourceRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UntagResource operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.UntagResource * @see AWS API * Documentation */ java.util.concurrent.Future untagResourceAsync(UntagResourceRequest untagResourceRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

* * @param updateCaseRequest * @return A Java Future containing the result of the UpdateCase operation returned by the service. * @sample AmazonConnectCasesAsync.UpdateCase * @see AWS API * Documentation */ java.util.concurrent.Future updateCaseAsync(UpdateCaseRequest updateCaseRequest); /** *

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

* * @param updateCaseRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateCase operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.UpdateCase * @see AWS API * Documentation */ java.util.concurrent.Future updateCaseAsync(UpdateCaseRequest updateCaseRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

* Updates the properties of an existing field. *

* * @param updateFieldRequest * @return A Java Future containing the result of the UpdateField operation returned by the service. * @sample AmazonConnectCasesAsync.UpdateField * @see AWS API * Documentation */ java.util.concurrent.Future updateFieldAsync(UpdateFieldRequest updateFieldRequest); /** *

* Updates the properties of an existing field. *

* * @param updateFieldRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateField operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.UpdateField * @see AWS API * Documentation */ java.util.concurrent.Future updateFieldAsync(UpdateFieldRequest updateFieldRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

*
* * @param updateLayoutRequest * @return A Java Future containing the result of the UpdateLayout operation returned by the service. * @sample AmazonConnectCasesAsync.UpdateLayout * @see AWS API * Documentation */ java.util.concurrent.Future updateLayoutAsync(UpdateLayoutRequest updateLayoutRequest); /** *

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

*
* * @param updateLayoutRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateLayout operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.UpdateLayout * @see AWS API * Documentation */ java.util.concurrent.Future updateLayoutAsync(UpdateLayoutRequest updateLayoutRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); /** *

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

* * @param updateTemplateRequest * @return A Java Future containing the result of the UpdateTemplate operation returned by the service. * @sample AmazonConnectCasesAsync.UpdateTemplate * @see AWS * API Documentation */ java.util.concurrent.Future updateTemplateAsync(UpdateTemplateRequest updateTemplateRequest); /** *

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

* * @param updateTemplateRequest * @param asyncHandler * Asynchronous callback handler for events in the lifecycle of the request. Users can provide an * implementation of the callback methods in this interface to receive notification of successful or * unsuccessful completion of the operation. * @return A Java Future containing the result of the UpdateTemplate operation returned by the service. * @sample AmazonConnectCasesAsyncHandler.UpdateTemplate * @see AWS * API Documentation */ java.util.concurrent.Future updateTemplateAsync(UpdateTemplateRequest updateTemplateRequest, com.amazonaws.handlers.AsyncHandler asyncHandler); }