View Source AWS.ConnectCases (aws-elixir v1.0.4)
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.
Link to this section Summary
Functions
Returns the description for the list of fields in the request parameters.
Creates and updates a set of field options for a single select field in a Cases domain.
If you provide a value for PerformedBy.UserArn
you must also have
connect:DescribeUser
permission on the User ARN resource that you provide
Creates a domain, which is a container for all case data, such as cases, fields, templates and layouts.
Creates a field in the Cases domain.
Creates a layout in the Cases domain.
Creates a related item (comments, tasks, and contacts) and associates it with a case.
Creates a template in the Cases domain.
Deletes a Cases domain.
Deletes a field from a cases template.
Deletes a layout from a cases template.
Deletes a cases template.
Returns information about a specific case if it exists.
Returns the audit history about a specific case if it exists.
Returns the case event publishing configuration.
Returns information about a specific domain if it exists.
Returns the details for the requested layout.
Returns the details for the requested template.
Lists cases for a given contact.
Lists all cases domains in the Amazon Web Services account.
Lists all of the field options for a field identifier in the domain.
Lists all fields in a Cases domain.
Lists all layouts in the given cases domain.
Lists tags for a resource.
Lists all of the templates in a Cases domain.
Adds case event publishing configuration.
Searches for cases within their associated Cases domain.
Searches for related items that are associated with a case.
Adds tags to a resource.
Untags a resource.
If you provide a value for PerformedBy.UserArn
you must also have
connect:DescribeUser
permission on the User ARN resource that you provide
Updates the properties of an existing field.
Updates the attributes of an existing layout.
Updates the attributes of an existing template.
Link to this section Functions
Returns the description for the list of fields in the request parameters.
batch_put_field_options(client, domain_id, field_id, input, options \\ [])
View SourceCreates and updates a set of field options for a single select field in a Cases domain.
If you provide a value for PerformedBy.UserArn
you must also have
connect:DescribeUser
permission on the User ARN resource that you provide
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:
*
customer_id
- You must provide the full customer profile ARN in this format:
arn:aws:profile:your_AWS_Region:your_AWS_account
ID:domains/your_profiles_domain_name/profiles/profile_ID
*
title
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.
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.
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.
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.
Deletes a Cases domain.
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 DeleteIntegrationAssociation.
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.
Deletes a layout from a cases template.
You can delete up to 100 layouts per domain.
After a layout is deleted:
*
You can still retrieve the layout by calling GetLayout
.
*
You cannot update a deleted layout by calling UpdateLayout
; it throws a
ValidationException
.
*
Deleted layouts are not included in the ListLayouts
response.
delete_template(client, domain_id, template_id, input, options \\ [])
View SourceDeletes a cases template.
You can delete up to 100 templates per domain.
After a cases template is deleted:
*
You can still retrieve the template by calling GetTemplate
.
* You cannot update the template.
* You cannot create a case by using the deleted template.
*
Deleted templates are not included in the ListTemplates
response.
Returns information about a specific case if it exists.
get_case_audit_events(client, case_id, domain_id, input, options \\ [])
View SourceReturns the audit history about a specific case if it exists.
get_case_event_configuration(client, domain_id, input, options \\ [])
View SourceReturns the case event publishing configuration.
Returns information about a specific domain if it exists.
Returns the details for the requested layout.
get_template(client, domain_id, template_id, input, options \\ [])
View SourceReturns the details for the requested template.
Lists cases for a given contact.
Lists all cases domains in the Amazon Web Services account.
Each list item is a condensed summary object of the domain.
list_field_options(client, domain_id, field_id, input, options \\ [])
View SourceLists all of the field options for a field identifier in the domain.
Lists all fields in a Cases domain.
Lists all layouts in the given cases domain.
Each list item is a condensed summary object of the layout.
Lists tags for a resource.
Lists all of the templates in a Cases domain.
Each list item is a condensed summary object of the template.
put_case_event_configuration(client, domain_id, input, options \\ [])
View SourceAdds 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
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
.
Adds tags to a resource.
Untags a resource.
If you provide a value for PerformedBy.UserArn
you must also have
connect:DescribeUser
permission on the User ARN resource that you provide
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.
Updates the properties of an existing field.
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.
update_template(client, domain_id, template_id, input, options \\ [])
View SourceUpdates 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.