Class: Aws::ConnectCases::Types::StartMergeCasesRequest

Inherits:
Struct
  • Object
show all
Defined in:
gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb

Overview

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#case_id ⇒ String

The unique identifier of the primary case. The primary case remains active and receives the merged field values and related items. The cases can use different templates, and the primary case keeps its template.

Returns:

  • (String)


4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 4357

class StartMergeCasesRequest < Struct.new(
  :domain_id,
  :case_id,
  :secondary_case_ids,
  :fields_configuration,
  :related_items_configuration,
  :performed_by)
  SENSITIVE = []
  include Aws::Structure
end

#domain_id ⇒ String

The unique identifier of the Cases domain.

Returns:

  • (String)


4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 4357

class StartMergeCasesRequest < Struct.new(
  :domain_id,
  :case_id,
  :secondary_case_ids,
  :fields_configuration,
  :related_items_configuration,
  :performed_by)
  SENSITIVE = []
  include Aws::Structure
end

#fields_configuration ⇒ Array<Types::FieldsConfiguration>

The fields whose values to take from the secondary case. You can only merge custom fields and the following system fields: assigned_queue, assigned_user, summary, and case_reason. If you select any other system field, the request fails with a ValidationException.

For each field that can be merged, the merge works as follows:

  • If you select the field, the primary case gets the secondary case's value. If the secondary case's value is empty, the primary case's value is cleared.

  • If you don't select the field and the primary case has a value for it, the primary case keeps its value.

  • If you don't select the field and the primary case doesn't have the field, or its value is empty, the primary case gets the secondary case's value. This applies even when the field isn't on the primary case's template.

Field values are read from both cases when the merge runs, so changes that you make to the primary case after you start the merge are taken into account.

Specify at most one entry, and set its sourceCaseId to the secondary case ID.

Returns:



4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 4357

class StartMergeCasesRequest < Struct.new(
  :domain_id,
  :case_id,
  :secondary_case_ids,
  :fields_configuration,
  :related_items_configuration,
  :performed_by)
  SENSITIVE = []
  include Aws::Structure
end

#performed_by ⇒ Types::UserUnion

The user who performed the merge. If you provide userArn, you must also have DescribeUser permission on the ARN of that user.

Returns:



4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 4357

class StartMergeCasesRequest < Struct.new(
  :domain_id,
  :case_id,
  :secondary_case_ids,
  :fields_configuration,
  :related_items_configuration,
  :performed_by)
  SENSITIVE = []
  include Aws::Structure
end

The types of related items to move from the secondary case to the primary case. Related items of a type that you don't select, or set to false, stay on the closed secondary case. If you omit this parameter, no related items are moved.

File, SLA, and work plan related items are never moved. They stay on the secondary case.



4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 4357

class StartMergeCasesRequest < Struct.new(
  :domain_id,
  :case_id,
  :secondary_case_ids,
  :fields_configuration,
  :related_items_configuration,
  :performed_by)
  SENSITIVE = []
  include Aws::Structure
end

#secondary_case_ids ⇒ Array<String>

The unique identifier of the secondary case to merge into the primary case. The secondary case is closed when the merge finishes. Specify exactly one case ID.

Returns:

  • (Array<String>)


4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
# File 'gems/aws-sdk-connectcases/lib/aws-sdk-connectcases/types.rb', line 4357

class StartMergeCasesRequest < Struct.new(
  :domain_id,
  :case_id,
  :secondary_case_ids,
  :fields_configuration,
  :related_items_configuration,
  :performed_by)
  SENSITIVE = []
  include Aws::Structure
end