@ThreadSafe @Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AmazonConnectCasesClient extends AmazonWebServiceClient implements AmazonConnectCases
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.
LOGGING_AWS_REQUEST_METRIC
ENDPOINT_PREFIX
Modifier and Type | Method and Description |
---|---|
BatchGetFieldResult |
batchGetField(BatchGetFieldRequest request)
Returns the description for the list of fields in the request parameters.
|
BatchPutFieldOptionsResult |
batchPutFieldOptions(BatchPutFieldOptionsRequest request)
Creates and updates a set of field options for a single select field in a Cases domain.
|
static AmazonConnectCasesClientBuilder |
builder() |
CreateCaseResult |
createCase(CreateCaseRequest request)
|
CreateDomainResult |
createDomain(CreateDomainRequest request)
Creates a domain, which is a container for all case data, such as cases, fields, templates and layouts.
|
CreateFieldResult |
createField(CreateFieldRequest request)
Creates a field in the Cases domain.
|
CreateLayoutResult |
createLayout(CreateLayoutRequest request)
Creates a layout in the Cases domain.
|
CreateRelatedItemResult |
createRelatedItem(CreateRelatedItemRequest request)
Creates a related item (comments, tasks, and contacts) and associates it with a case.
|
CreateTemplateResult |
createTemplate(CreateTemplateRequest request)
Creates a template in the Cases domain.
|
DeleteDomainResult |
deleteDomain(DeleteDomainRequest request)
Deletes a Cases domain.
|
DeleteFieldResult |
deleteField(DeleteFieldRequest request)
Deletes a field from a cases template.
|
DeleteLayoutResult |
deleteLayout(DeleteLayoutRequest request)
Deletes a layout from a cases template.
|
DeleteTemplateResult |
deleteTemplate(DeleteTemplateRequest request)
Deletes a cases template.
|
ResponseMetadata |
getCachedResponseMetadata(AmazonWebServiceRequest request)
Returns additional metadata for a previously executed successful, request, typically used for debugging issues
where a service isn't acting as expected.
|
GetCaseResult |
getCase(GetCaseRequest request)
Returns information about a specific case if it exists.
|
GetCaseAuditEventsResult |
getCaseAuditEvents(GetCaseAuditEventsRequest request)
Returns the audit history about a specific case if it exists.
|
GetCaseEventConfigurationResult |
getCaseEventConfiguration(GetCaseEventConfigurationRequest request)
Returns the case event publishing configuration.
|
GetDomainResult |
getDomain(GetDomainRequest request)
Returns information about a specific domain if it exists.
|
GetLayoutResult |
getLayout(GetLayoutRequest request)
Returns the details for the requested layout.
|
GetTemplateResult |
getTemplate(GetTemplateRequest request)
Returns the details for the requested template.
|
ListCasesForContactResult |
listCasesForContact(ListCasesForContactRequest request)
Lists cases for a given contact.
|
ListDomainsResult |
listDomains(ListDomainsRequest request)
Lists all cases domains in the Amazon Web Services account.
|
ListFieldOptionsResult |
listFieldOptions(ListFieldOptionsRequest request)
Lists all of the field options for a field identifier in the domain.
|
ListFieldsResult |
listFields(ListFieldsRequest request)
Lists all fields in a Cases domain.
|
ListLayoutsResult |
listLayouts(ListLayoutsRequest request)
Lists all layouts in the given cases domain.
|
ListTagsForResourceResult |
listTagsForResource(ListTagsForResourceRequest request)
Lists tags for a resource.
|
ListTemplatesResult |
listTemplates(ListTemplatesRequest request)
Lists all of the templates in a Cases domain.
|
PutCaseEventConfigurationResult |
putCaseEventConfiguration(PutCaseEventConfigurationRequest request)
Adds case event publishing configuration.
|
SearchCasesResult |
searchCases(SearchCasesRequest request)
Searches for cases within their associated Cases domain.
|
SearchRelatedItemsResult |
searchRelatedItems(SearchRelatedItemsRequest request)
Searches for related items that are associated with a case.
|
void |
shutdown()
Shuts down this client object, releasing any resources that might be held
open.
|
TagResourceResult |
tagResource(TagResourceRequest request)
Adds tags to a resource.
|
UntagResourceResult |
untagResource(UntagResourceRequest request)
Untags a resource.
|
UpdateCaseResult |
updateCase(UpdateCaseRequest request)
|
UpdateFieldResult |
updateField(UpdateFieldRequest request)
Updates the properties of an existing field.
|
UpdateLayoutResult |
updateLayout(UpdateLayoutRequest request)
Updates the attributes of an existing layout.
|
UpdateTemplateResult |
updateTemplate(UpdateTemplateRequest request)
Updates the attributes of an existing template.
|
addRequestHandler, addRequestHandler, configureRegion, getClientConfiguration, getEndpointPrefix, getMonitoringListeners, getRequestMetricsCollector, getServiceName, getSignerByURI, getSignerOverride, getSignerRegionOverride, getTimeOffset, makeImmutable, removeRequestHandler, removeRequestHandler, setEndpoint, setEndpoint, setRegion, setServiceNameIntern, setSignerRegionOverride, setTimeOffset, withEndpoint, withRegion, withRegion, withTimeOffset
public static AmazonConnectCasesClientBuilder builder()
public BatchGetFieldResult batchGetField(BatchGetFieldRequest request)
Returns the description for the list of fields in the request parameters.
batchGetField
in interface AmazonConnectCases
batchGetFieldRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public BatchPutFieldOptionsResult batchPutFieldOptions(BatchPutFieldOptionsRequest request)
Creates and updates a set of field options for a single select field in a Cases domain.
batchPutFieldOptions
in interface AmazonConnectCases
batchPutFieldOptionsRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.ServiceQuotaExceededException
- The service quota has been exceeded. For a list of service quotas, see Amazon
Connect Service Quotas in the Amazon Connect Administrator Guide.public CreateCaseResult createCase(CreateCaseRequest request)
If you provide a value for PerformedBy.UserArn
you must also have connect:DescribeUser
permission on the User ARN resource that you provide
<p>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.</p> <p>The following fields are required when creating a case:</p> <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/your_profiles_domain_name/profiles/profile_ID</code> </p> </li> <li> <p> <code>title</code> </p> </li> </ul>
createCase
in interface AmazonConnectCases
createCaseRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- 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.public CreateDomainResult createDomain(CreateDomainRequest request)
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>
createDomain
in interface AmazonConnectCases
createDomainRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- 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.ServiceQuotaExceededException
- The service quota has been exceeded. For a list of service quotas, see Amazon
Connect Service Quotas in the Amazon Connect Administrator Guide.public CreateFieldResult createField(CreateFieldRequest request)
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.
createField
in interface AmazonConnectCases
createFieldRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- 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.ServiceQuotaExceededException
- The service quota has been exceeded. For a list of service quotas, see Amazon
Connect Service Quotas in the Amazon Connect Administrator Guide.public CreateLayoutResult createLayout(CreateLayoutRequest request)
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.
createLayout
in interface AmazonConnectCases
createLayoutRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- 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.ServiceQuotaExceededException
- The service quota has been exceeded. For a list of service quotas, see Amazon
Connect Service Quotas in the Amazon Connect Administrator Guide.public CreateRelatedItemResult createRelatedItem(CreateRelatedItemRequest request)
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
.
If you provide a value for performedBy.userArn
you must also have DescribeUser permission
on the ARN of the user that you provide.
</note>
createRelatedItem
in interface AmazonConnectCases
createRelatedItemRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.ServiceQuotaExceededException
- The service quota has been exceeded. For a list of service quotas, see Amazon
Connect Service Quotas in the Amazon Connect Administrator Guide.public CreateTemplateResult createTemplate(CreateTemplateRequest request)
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.
createTemplate
in interface AmazonConnectCases
createTemplateRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- 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.ServiceQuotaExceededException
- The service quota has been exceeded. For a list of service quotas, see Amazon
Connect Service Quotas in the Amazon Connect Administrator Guide.public DeleteDomainResult deleteDomain(DeleteDomainRequest request)
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>
deleteDomain
in interface AmazonConnectCases
deleteDomainRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- 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.public DeleteFieldResult deleteField(DeleteFieldRequest request)
Deletes a field from a cases template. You can delete up to 100 fields per domain.
After a field is deleted:
You can still retrieve the field by calling BatchGetField
.
You cannot update a deleted field by calling UpdateField
; it throws a
ValidationException
.
Deleted fields are not included in the ListFields
response.
Calling CreateCase
with a deleted field throws a ValidationException
denoting which
field IDs in the request have been deleted.
Calling GetCase
with a deleted field ID returns the deleted field's value if one exists.
Calling UpdateCase
with a deleted field ID throws a ValidationException
if the case
does not already contain a value for the deleted field. Otherwise it succeeds, allowing you to update or remove
(using emptyValue: {}
) the field's value from the case.
GetTemplate
does not return field IDs for deleted fields.
GetLayout
does not return field IDs for deleted fields.
Calling SearchCases
with the deleted field ID as a filter returns any cases that have a value for
the deleted field that matches the filter criteria.
Calling SearchCases
with a searchTerm
value that matches a deleted field's value on a
case returns the case in the response.
Calling BatchPutFieldOptions
with a deleted field ID throw a ValidationException
.
Calling GetCaseEventConfiguration
does not return field IDs for deleted fields.
deleteField
in interface AmazonConnectCases
deleteFieldRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- 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.ServiceQuotaExceededException
- The service quota has been exceeded. For a list of service quotas, see Amazon
Connect Service Quotas in the Amazon Connect Administrator Guide.public DeleteLayoutResult deleteLayout(DeleteLayoutRequest request)
Deletes a layout from a cases template. You can delete up to 100 layouts per domain.
<p>After a layout is deleted:</p> <ul> <li> <p>You can still retrieve the layout by calling <code>GetLayout</code>.</p> </li> <li> <p>You cannot update a deleted layout by calling <code>UpdateLayout</code>; it throws a <code>ValidationException</code>.</p> </li> <li> <p>Deleted layouts are not included in the <code>ListLayouts</code> response.</p> </li> </ul>
deleteLayout
in interface AmazonConnectCases
deleteLayoutRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- 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.public DeleteTemplateResult deleteTemplate(DeleteTemplateRequest request)
Deletes a cases template. You can delete up to 100 templates per domain.
<p>After a cases template is deleted:</p> <ul> <li> <p>You can still retrieve the template by calling <code>GetTemplate</code>.</p> </li> <li> <p>You cannot update the template. </p> </li> <li> <p>You cannot create a case by using the deleted template.</p> </li> <li> <p>Deleted templates are not included in the <code>ListTemplates</code> response.</p> </li> </ul>
deleteTemplate
in interface AmazonConnectCases
deleteTemplateRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- 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.public GetCaseResult getCase(GetCaseRequest request)
Returns information about a specific case if it exists.
getCase
in interface AmazonConnectCases
getCaseRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public GetCaseAuditEventsResult getCaseAuditEvents(GetCaseAuditEventsRequest request)
Returns the audit history about a specific case if it exists.
getCaseAuditEvents
in interface AmazonConnectCases
getCaseAuditEventsRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public GetCaseEventConfigurationResult getCaseEventConfiguration(GetCaseEventConfigurationRequest request)
Returns the case event publishing configuration.
getCaseEventConfiguration
in interface AmazonConnectCases
getCaseEventConfigurationRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public GetDomainResult getDomain(GetDomainRequest request)
Returns information about a specific domain if it exists.
getDomain
in interface AmazonConnectCases
getDomainRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public GetLayoutResult getLayout(GetLayoutRequest request)
Returns the details for the requested layout.
getLayout
in interface AmazonConnectCases
getLayoutRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public GetTemplateResult getTemplate(GetTemplateRequest request)
Returns the details for the requested template.
getTemplate
in interface AmazonConnectCases
getTemplateRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public ListCasesForContactResult listCasesForContact(ListCasesForContactRequest request)
Lists cases for a given contact.
listCasesForContact
in interface AmazonConnectCases
listCasesForContactRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public ListDomainsResult listDomains(ListDomainsRequest request)
Lists all cases domains in the Amazon Web Services account. Each list item is a condensed summary object of the domain.
listDomains
in interface AmazonConnectCases
listDomainsRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public ListFieldOptionsResult listFieldOptions(ListFieldOptionsRequest request)
Lists all of the field options for a field identifier in the domain.
listFieldOptions
in interface AmazonConnectCases
listFieldOptionsRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public ListFieldsResult listFields(ListFieldsRequest request)
Lists all fields in a Cases domain.
listFields
in interface AmazonConnectCases
listFieldsRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public ListLayoutsResult listLayouts(ListLayoutsRequest request)
Lists all layouts in the given cases domain. Each list item is a condensed summary object of the layout.
listLayouts
in interface AmazonConnectCases
listLayoutsRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public ListTagsForResourceResult listTagsForResource(ListTagsForResourceRequest request)
Lists tags for a resource.
listTagsForResource
in interface AmazonConnectCases
listTagsForResourceRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public ListTemplatesResult listTemplates(ListTemplatesRequest request)
Lists all of the templates in a Cases domain. Each list item is a condensed summary object of the template.
listTemplates
in interface AmazonConnectCases
listTemplatesRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public PutCaseEventConfigurationResult putCaseEventConfiguration(PutCaseEventConfigurationRequest request)
Adds case event publishing configuration. For a complete list of fields you can add to the event message, see Create case fields in the Amazon Connect Administrator Guide
putCaseEventConfiguration
in interface AmazonConnectCases
putCaseEventConfigurationRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public SearchCasesResult searchCases(SearchCasesRequest request)
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
.
searchCases
in interface AmazonConnectCases
searchCasesRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public SearchRelatedItemsResult searchRelatedItems(SearchRelatedItemsRequest request)
Searches for related items that are associated with a case.
If no filters are provided, this returns all related items associated with a case.
searchRelatedItems
in interface AmazonConnectCases
searchRelatedItemsRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public TagResourceResult tagResource(TagResourceRequest request)
Adds tags to a resource.
tagResource
in interface AmazonConnectCases
tagResourceRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public UntagResourceResult untagResource(UntagResourceRequest request)
Untags a resource.
untagResource
in interface AmazonConnectCases
untagResourceRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public UpdateCaseResult updateCase(UpdateCaseRequest request)
If you provide a value for PerformedBy.UserArn
you must also have connect:DescribeUser
permission on the User ARN resource that you provide
<p>Updates the values of fields on a case. Fields to be updated are received as an array of id/value pairs identical to the <code>CreateCase</code> input .</p> <p>If the action is successful, the service sends back an HTTP 200 response with an empty HTTP body.</p>
updateCase
in interface AmazonConnectCases
updateCaseRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.public UpdateFieldResult updateField(UpdateFieldRequest request)
Updates the properties of an existing field.
updateField
in interface AmazonConnectCases
updateFieldRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- 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.public UpdateLayoutResult updateLayout(UpdateLayoutRequest request)
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.
updateLayout
in interface AmazonConnectCases
updateLayoutRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- 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.ServiceQuotaExceededException
- The service quota has been exceeded. For a list of service quotas, see Amazon
Connect Service Quotas in the Amazon Connect Administrator Guide.public UpdateTemplateResult updateTemplate(UpdateTemplateRequest request)
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.
updateTemplate
in interface AmazonConnectCases
updateTemplateRequest
- InternalServerException
- We couldn't process your request because of an issue with the server. Try again later.ResourceNotFoundException
- 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.ValidationException
- The request isn't valid. Check the syntax and try again.ThrottlingException
- The rate has been exceeded for this API. Please try again after a few minutes.AccessDeniedException
- You do not have sufficient access to perform this action.ConflictException
- 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.public ResponseMetadata getCachedResponseMetadata(AmazonWebServiceRequest request)
Response metadata is only cached for a limited period of time, so if you need to access this extra diagnostic information for an executed request, you should use this method to retrieve it as soon as possible after executing the request.
getCachedResponseMetadata
in interface AmazonConnectCases
request
- The originally executed requestpublic void shutdown()
AmazonWebServiceClient
shutdown
in interface AmazonConnectCases
shutdown
in class AmazonWebServiceClient