aws-sdk-connectcases 1.49.0 → 1.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -29,35 +29,35 @@ module Aws::ConnectCases
29
29
  # Unique identifier of a case audit history event.
30
30
  # @return [String]
31
31
  #
32
- # @!attribute [rw] fields
33
- # A list of Case Audit History event fields.
34
- # @return [Array<Types::AuditEventField>]
32
+ # @!attribute [rw] type
33
+ # The Type of an audit history event.
34
+ # @return [String]
35
35
  #
36
- # @!attribute [rw] performed_by
37
- # Information of the user which performed the audit.
38
- # @return [Types::AuditEventPerformedBy]
36
+ # @!attribute [rw] related_item_type
37
+ # The Type of the related item.
38
+ # @return [String]
39
39
  #
40
40
  # @!attribute [rw] performed_time
41
41
  # Time at which an Audit History event took place.
42
42
  # @return [Time]
43
43
  #
44
- # @!attribute [rw] related_item_type
45
- # The Type of the related item.
46
- # @return [String]
44
+ # @!attribute [rw] fields
45
+ # A list of Case Audit History event fields.
46
+ # @return [Array<Types::AuditEventField>]
47
47
  #
48
- # @!attribute [rw] type
49
- # The Type of an audit history event.
50
- # @return [String]
48
+ # @!attribute [rw] performed_by
49
+ # Information of the user which performed the audit.
50
+ # @return [Types::AuditEventPerformedBy]
51
51
  #
52
52
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/AuditEvent AWS API Documentation
53
53
  #
54
54
  class AuditEvent < Struct.new(
55
55
  :event_id,
56
- :fields,
57
- :performed_by,
58
- :performed_time,
56
+ :type,
59
57
  :related_item_type,
60
- :type)
58
+ :performed_time,
59
+ :fields,
60
+ :performed_by)
61
61
  SENSITIVE = []
62
62
  include Aws::Structure
63
63
  end
@@ -68,11 +68,11 @@ module Aws::ConnectCases
68
68
  # Unique identifier of field in an Audit History entry.
69
69
  # @return [String]
70
70
  #
71
- # @!attribute [rw] new_value
71
+ # @!attribute [rw] old_value
72
72
  # Union of potential field value types.
73
73
  # @return [Types::AuditEventFieldValueUnion]
74
74
  #
75
- # @!attribute [rw] old_value
75
+ # @!attribute [rw] new_value
76
76
  # Union of potential field value types.
77
77
  # @return [Types::AuditEventFieldValueUnion]
78
78
  #
@@ -80,8 +80,8 @@ module Aws::ConnectCases
80
80
  #
81
81
  class AuditEventField < Struct.new(
82
82
  :event_field_id,
83
- :new_value,
84
- :old_value)
83
+ :old_value,
84
+ :new_value)
85
85
  SENSITIVE = []
86
86
  include Aws::Structure
87
87
  end
@@ -90,16 +90,21 @@ module Aws::ConnectCases
90
90
  #
91
91
  # @note AuditEventFieldValueUnion is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of AuditEventFieldValueUnion corresponding to the set member.
92
92
  #
93
- # @!attribute [rw] boolean_value
94
- # Can be either null, or have a Boolean value type. Only one value can
93
+ # @!attribute [rw] string_value
94
+ # Can be either null, or have a String value type. Only one value can
95
95
  # be provided.
96
- # @return [Boolean]
96
+ # @return [String]
97
97
  #
98
98
  # @!attribute [rw] double_value
99
99
  # Can be either null, or have a Double value type. Only one value can
100
100
  # be provided.
101
101
  # @return [Float]
102
102
  #
103
+ # @!attribute [rw] boolean_value
104
+ # Can be either null, or have a Boolean value type. Only one value can
105
+ # be provided.
106
+ # @return [Boolean]
107
+ #
103
108
  # @!attribute [rw] empty_value
104
109
  # An empty value. You cannot set `EmptyFieldValue` on a field that is
105
110
  # required on a case template.
@@ -108,11 +113,6 @@ module Aws::ConnectCases
108
113
  # empty value on a case field.
109
114
  # @return [Types::EmptyFieldValue]
110
115
  #
111
- # @!attribute [rw] string_value
112
- # Can be either null, or have a String value type. Only one value can
113
- # be provided.
114
- # @return [String]
115
- #
116
116
  # @!attribute [rw] user_arn_value
117
117
  # Can be either null, or have a String value type formatted as an ARN.
118
118
  # Only one value can be provided.
@@ -121,39 +121,39 @@ module Aws::ConnectCases
121
121
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/AuditEventFieldValueUnion AWS API Documentation
122
122
  #
123
123
  class AuditEventFieldValueUnion < Struct.new(
124
- :boolean_value,
124
+ :string_value,
125
125
  :double_value,
126
+ :boolean_value,
126
127
  :empty_value,
127
- :string_value,
128
128
  :user_arn_value,
129
129
  :unknown)
130
130
  SENSITIVE = []
131
131
  include Aws::Structure
132
132
  include Aws::Structure::Union
133
133
 
134
- class BooleanValue < AuditEventFieldValueUnion; end
134
+ class StringValue < AuditEventFieldValueUnion; end
135
135
  class DoubleValue < AuditEventFieldValueUnion; end
136
+ class BooleanValue < AuditEventFieldValueUnion; end
136
137
  class EmptyValue < AuditEventFieldValueUnion; end
137
- class StringValue < AuditEventFieldValueUnion; end
138
138
  class UserArnValue < AuditEventFieldValueUnion; end
139
139
  class Unknown < AuditEventFieldValueUnion; end
140
140
  end
141
141
 
142
142
  # Information of the user which performed the audit.
143
143
  #
144
- # @!attribute [rw] iam_principal_arn
145
- # Unique identifier of an IAM role.
146
- # @return [String]
147
- #
148
144
  # @!attribute [rw] user
149
145
  # Represents the entity that performed the action.
150
146
  # @return [Types::UserUnion]
151
147
  #
148
+ # @!attribute [rw] iam_principal_arn
149
+ # Unique identifier of an IAM role.
150
+ # @return [String]
151
+ #
152
152
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/AuditEventPerformedBy AWS API Documentation
153
153
  #
154
154
  class AuditEventPerformedBy < Struct.new(
155
- :iam_principal_arn,
156
- :user)
155
+ :user,
156
+ :iam_principal_arn)
157
157
  SENSITIVE = []
158
158
  include Aws::Structure
159
159
  end
@@ -161,36 +161,36 @@ module Aws::ConnectCases
161
161
  # Content specific to `BasicLayout` type. It configures fields in the
162
162
  # top panel and More Info tab of agent application.
163
163
  #
164
- # @!attribute [rw] more_info
165
- # This represents sections in a tab of the page layout.
166
- # @return [Types::LayoutSections]
167
- #
168
164
  # @!attribute [rw] top_panel
169
165
  # This represents sections in a panel of the page layout.
170
166
  # @return [Types::LayoutSections]
171
167
  #
168
+ # @!attribute [rw] more_info
169
+ # This represents sections in a tab of the page layout.
170
+ # @return [Types::LayoutSections]
171
+ #
172
172
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/BasicLayout AWS API Documentation
173
173
  #
174
174
  class BasicLayout < Struct.new(
175
- :more_info,
176
- :top_panel)
175
+ :top_panel,
176
+ :more_info)
177
177
  SENSITIVE = []
178
178
  include Aws::Structure
179
179
  end
180
180
 
181
- # @!attribute [rw] case_rules
182
- # List of case rule identifiers.
183
- # @return [Array<Types::CaseRuleIdentifier>]
184
- #
185
181
  # @!attribute [rw] domain_id
186
182
  # Unique identifier of a Cases domain.
187
183
  # @return [String]
188
184
  #
185
+ # @!attribute [rw] case_rules
186
+ # List of case rule identifiers.
187
+ # @return [Array<Types::CaseRuleIdentifier>]
188
+ #
189
189
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/BatchGetCaseRuleRequest AWS API Documentation
190
190
  #
191
191
  class BatchGetCaseRuleRequest < Struct.new(
192
- :case_rules,
193
- :domain_id)
192
+ :domain_id,
193
+ :case_rules)
194
194
  SENSITIVE = []
195
195
  include Aws::Structure
196
196
  end
@@ -229,19 +229,19 @@ module Aws::ConnectCases
229
229
  include Aws::Structure
230
230
  end
231
231
 
232
- # @!attribute [rw] errors
233
- # A list of field errors.
234
- # @return [Array<Types::FieldError>]
235
- #
236
232
  # @!attribute [rw] fields
237
233
  # A list of detailed field information.
238
234
  # @return [Array<Types::GetFieldResponse>]
239
235
  #
236
+ # @!attribute [rw] errors
237
+ # A list of field errors.
238
+ # @return [Array<Types::FieldError>]
239
+ #
240
240
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/BatchGetFieldResponse AWS API Documentation
241
241
  #
242
242
  class BatchGetFieldResponse < Struct.new(
243
- :errors,
244
- :fields)
243
+ :fields,
244
+ :errors)
245
245
  SENSITIVE = []
246
246
  include Aws::Structure
247
247
  end
@@ -365,10 +365,6 @@ module Aws::ConnectCases
365
365
  #
366
366
  # @note CaseFilter is a union - when making an API calls you must set exactly one of the members.
367
367
  #
368
- # @!attribute [rw] and_all
369
- # Provides "and all" filtering.
370
- # @return [Array<Types::CaseFilter>]
371
- #
372
368
  # @!attribute [rw] field
373
369
  # A list of fields to filter on.
374
370
  # @return [Types::FieldFilter]
@@ -377,6 +373,10 @@ module Aws::ConnectCases
377
373
  # A filter for cases. Only one value can be provided.
378
374
  # @return [Types::CaseFilter]
379
375
  #
376
+ # @!attribute [rw] and_all
377
+ # Provides "and all" filtering.
378
+ # @return [Array<Types::CaseFilter>]
379
+ #
380
380
  # @!attribute [rw] or_all
381
381
  # Provides "or all" filtering.
382
382
  # @return [Array<Types::CaseFilter>]
@@ -384,18 +384,18 @@ module Aws::ConnectCases
384
384
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CaseFilter AWS API Documentation
385
385
  #
386
386
  class CaseFilter < Struct.new(
387
- :and_all,
388
387
  :field,
389
388
  :not,
389
+ :and_all,
390
390
  :or_all,
391
391
  :unknown)
392
392
  SENSITIVE = []
393
393
  include Aws::Structure
394
394
  include Aws::Structure::Union
395
395
 
396
- class AndAll < CaseFilter; end
397
396
  class Field < CaseFilter; end
398
397
  class Not < CaseFilter; end
398
+ class AndAll < CaseFilter; end
399
399
  class OrAll < CaseFilter; end
400
400
  class Unknown < CaseFilter; end
401
401
  end
@@ -439,14 +439,14 @@ module Aws::ConnectCases
439
439
  #
440
440
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html
441
441
  #
442
- # @!attribute [rw] error_code
443
- # Error code from getting a case rule.
444
- # @return [String]
445
- #
446
442
  # @!attribute [rw] id
447
443
  # The case rule identifier that caused the error.
448
444
  # @return [String]
449
445
  #
446
+ # @!attribute [rw] error_code
447
+ # Error code from getting a case rule.
448
+ # @return [String]
449
+ #
450
450
  # @!attribute [rw] message
451
451
  # Error message from getting a case rule.
452
452
  # @return [String]
@@ -454,8 +454,8 @@ module Aws::ConnectCases
454
454
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CaseRuleError AWS API Documentation
455
455
  #
456
456
  class CaseRuleError < Struct.new(
457
- :error_code,
458
457
  :id,
458
+ :error_code,
459
459
  :message)
460
460
  SENSITIVE = []
461
461
  include Aws::Structure
@@ -484,34 +484,34 @@ module Aws::ConnectCases
484
484
  #
485
485
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html
486
486
  #
487
- # @!attribute [rw] case_rule_arn
488
- # The Amazon Resource Name (ARN) of the case rule.
489
- # @return [String]
490
- #
491
487
  # @!attribute [rw] case_rule_id
492
488
  # Unique identifier of a case rule.
493
489
  # @return [String]
494
490
  #
495
- # @!attribute [rw] description
496
- # Description of a case rule.
497
- # @return [String]
498
- #
499
491
  # @!attribute [rw] name
500
492
  # Name of the case rule.
501
493
  # @return [String]
502
494
  #
495
+ # @!attribute [rw] case_rule_arn
496
+ # The Amazon Resource Name (ARN) of the case rule.
497
+ # @return [String]
498
+ #
503
499
  # @!attribute [rw] rule_type
504
500
  # Possible types for a rule.
505
501
  # @return [String]
506
502
  #
503
+ # @!attribute [rw] description
504
+ # Description of a case rule.
505
+ # @return [String]
506
+ #
507
507
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CaseRuleSummary AWS API Documentation
508
508
  #
509
509
  class CaseRuleSummary < Struct.new(
510
- :case_rule_arn,
511
510
  :case_rule_id,
512
- :description,
513
511
  :name,
514
- :rule_type)
512
+ :case_rule_arn,
513
+ :rule_type,
514
+ :description)
515
515
  SENSITIVE = []
516
516
  include Aws::Structure
517
517
  end
@@ -578,6 +578,48 @@ module Aws::ConnectCases
578
578
  include Aws::Structure
579
579
  end
580
580
 
581
+ # Represents the content of a Case related item
582
+ #
583
+ # @!attribute [rw] case_id
584
+ # The unique identifier of the related case
585
+ # @return [String]
586
+ #
587
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/ConnectCaseContent AWS API Documentation
588
+ #
589
+ class ConnectCaseContent < Struct.new(
590
+ :case_id)
591
+ SENSITIVE = []
592
+ include Aws::Structure
593
+ end
594
+
595
+ # A filter for related items of type Case
596
+ #
597
+ # @!attribute [rw] case_id
598
+ # The unique identifier of the case to filter by
599
+ # @return [String]
600
+ #
601
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/ConnectCaseFilter AWS API Documentation
602
+ #
603
+ class ConnectCaseFilter < Struct.new(
604
+ :case_id)
605
+ SENSITIVE = []
606
+ include Aws::Structure
607
+ end
608
+
609
+ # Represents the input content of a Case related item
610
+ #
611
+ # @!attribute [rw] case_id
612
+ # The unique identifier of the case to be related
613
+ # @return [String]
614
+ #
615
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/ConnectCaseInputContent AWS API Documentation
616
+ #
617
+ class ConnectCaseInputContent < Struct.new(
618
+ :case_id)
619
+ SENSITIVE = []
620
+ include Aws::Structure
621
+ end
622
+
581
623
  # An object that represents an Amazon Connect contact object.
582
624
  #
583
625
  # @!attribute [rw] contact_arn
@@ -595,6 +637,10 @@ module Aws::ConnectCases
595
637
  # An object that represents a content of an Amazon Connect contact
596
638
  # object.
597
639
  #
640
+ # @!attribute [rw] contact_arn
641
+ # A unique identifier of a contact in Amazon Connect.
642
+ # @return [String]
643
+ #
598
644
  # @!attribute [rw] channel
599
645
  # A list of channels to filter on for related items of type `Contact`.
600
646
  # @return [String]
@@ -604,16 +650,12 @@ module Aws::ConnectCases
604
650
  # `DisconnectTimestamp` of the contact.
605
651
  # @return [Time]
606
652
  #
607
- # @!attribute [rw] contact_arn
608
- # A unique identifier of a contact in Amazon Connect.
609
- # @return [String]
610
- #
611
653
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/ContactContent AWS API Documentation
612
654
  #
613
655
  class ContactContent < Struct.new(
656
+ :contact_arn,
614
657
  :channel,
615
- :connected_to_system_time,
616
- :contact_arn)
658
+ :connected_to_system_time)
617
659
  SENSITIVE = []
618
660
  include Aws::Structure
619
661
  end
@@ -637,6 +679,19 @@ module Aws::ConnectCases
637
679
  include Aws::Structure
638
680
  end
639
681
 
682
+ # @!attribute [rw] domain_id
683
+ # The unique identifier of the Cases domain.
684
+ # @return [String]
685
+ #
686
+ # @!attribute [rw] template_id
687
+ # A unique identifier of a template.
688
+ # @return [String]
689
+ #
690
+ # @!attribute [rw] fields
691
+ # An array of objects with field ID (matching
692
+ # ListFields/DescribeField) and value union data.
693
+ # @return [Array<Types::FieldValue>]
694
+ #
640
695
  # @!attribute [rw] client_token
641
696
  # A unique, case-sensitive identifier that you provide to ensure the
642
697
  # idempotency of the request. If not provided, the Amazon Web Services
@@ -651,56 +706,39 @@ module Aws::ConnectCases
651
706
  # [1]: https://aws.amazon.com/builders-library/making-retries-safe-with-idempotent-APIs/
652
707
  # @return [String]
653
708
  #
654
- # @!attribute [rw] domain_id
655
- # The unique identifier of the Cases domain.
656
- # @return [String]
657
- #
658
- # @!attribute [rw] fields
659
- # An array of objects with field ID (matching
660
- # ListFields/DescribeField) and value union data.
661
- # @return [Array<Types::FieldValue>]
662
- #
663
709
  # @!attribute [rw] performed_by
664
710
  # Represents the entity that performed the action.
665
711
  # @return [Types::UserUnion]
666
712
  #
667
- # @!attribute [rw] template_id
668
- # A unique identifier of a template.
669
- # @return [String]
670
- #
671
713
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CreateCaseRequest AWS API Documentation
672
714
  #
673
715
  class CreateCaseRequest < Struct.new(
674
- :client_token,
675
716
  :domain_id,
717
+ :template_id,
676
718
  :fields,
677
- :performed_by,
678
- :template_id)
719
+ :client_token,
720
+ :performed_by)
679
721
  SENSITIVE = []
680
722
  include Aws::Structure
681
723
  end
682
724
 
683
- # @!attribute [rw] case_arn
684
- # The Amazon Resource Name (ARN) of the case.
685
- # @return [String]
686
- #
687
725
  # @!attribute [rw] case_id
688
726
  # A unique identifier of the case.
689
727
  # @return [String]
690
728
  #
729
+ # @!attribute [rw] case_arn
730
+ # The Amazon Resource Name (ARN) of the case.
731
+ # @return [String]
732
+ #
691
733
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CreateCaseResponse AWS API Documentation
692
734
  #
693
735
  class CreateCaseResponse < Struct.new(
694
- :case_arn,
695
- :case_id)
736
+ :case_id,
737
+ :case_arn)
696
738
  SENSITIVE = []
697
739
  include Aws::Structure
698
740
  end
699
741
 
700
- # @!attribute [rw] description
701
- # The description of a case rule.
702
- # @return [String]
703
- #
704
742
  # @!attribute [rw] domain_id
705
743
  # Unique identifier of a Cases domain.
706
744
  # @return [String]
@@ -709,6 +747,10 @@ module Aws::ConnectCases
709
747
  # Name of the case rule.
710
748
  # @return [String]
711
749
  #
750
+ # @!attribute [rw] description
751
+ # The description of a case rule.
752
+ # @return [String]
753
+ #
712
754
  # @!attribute [rw] rule
713
755
  # Represents what rule type should take place, under what conditions.
714
756
  # @return [Types::CaseRuleDetails]
@@ -716,27 +758,27 @@ module Aws::ConnectCases
716
758
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CreateCaseRuleRequest AWS API Documentation
717
759
  #
718
760
  class CreateCaseRuleRequest < Struct.new(
719
- :description,
720
761
  :domain_id,
721
762
  :name,
763
+ :description,
722
764
  :rule)
723
765
  SENSITIVE = []
724
766
  include Aws::Structure
725
767
  end
726
768
 
727
- # @!attribute [rw] case_rule_arn
728
- # The Amazon Resource Name (ARN) of a case rule.
729
- # @return [String]
730
- #
731
769
  # @!attribute [rw] case_rule_id
732
770
  # Unique identifier of a case rule.
733
771
  # @return [String]
734
772
  #
773
+ # @!attribute [rw] case_rule_arn
774
+ # The Amazon Resource Name (ARN) of a case rule.
775
+ # @return [String]
776
+ #
735
777
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CreateCaseRuleResponse AWS API Documentation
736
778
  #
737
779
  class CreateCaseRuleResponse < Struct.new(
738
- :case_rule_arn,
739
- :case_rule_id)
780
+ :case_rule_id,
781
+ :case_rule_arn)
740
782
  SENSITIVE = []
741
783
  include Aws::Structure
742
784
  end
@@ -754,14 +796,14 @@ module Aws::ConnectCases
754
796
  include Aws::Structure
755
797
  end
756
798
 
757
- # @!attribute [rw] domain_arn
758
- # The Amazon Resource Name (ARN) for the Cases domain.
759
- # @return [String]
760
- #
761
799
  # @!attribute [rw] domain_id
762
800
  # The unique identifier of the Cases domain.
763
801
  # @return [String]
764
802
  #
803
+ # @!attribute [rw] domain_arn
804
+ # The Amazon Resource Name (ARN) for the Cases domain.
805
+ # @return [String]
806
+ #
765
807
  # @!attribute [rw] domain_status
766
808
  # The status of the domain.
767
809
  # @return [String]
@@ -769,17 +811,13 @@ module Aws::ConnectCases
769
811
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CreateDomainResponse AWS API Documentation
770
812
  #
771
813
  class CreateDomainResponse < Struct.new(
772
- :domain_arn,
773
814
  :domain_id,
815
+ :domain_arn,
774
816
  :domain_status)
775
817
  SENSITIVE = []
776
818
  include Aws::Structure
777
819
  end
778
820
 
779
- # @!attribute [rw] description
780
- # The description of the field.
781
- # @return [String]
782
- #
783
821
  # @!attribute [rw] domain_id
784
822
  # The unique identifier of the Cases domain.
785
823
  # @return [String]
@@ -793,39 +831,38 @@ module Aws::ConnectCases
793
831
  # of the field.
794
832
  # @return [String]
795
833
  #
834
+ # @!attribute [rw] description
835
+ # The description of the field.
836
+ # @return [String]
837
+ #
796
838
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CreateFieldRequest AWS API Documentation
797
839
  #
798
840
  class CreateFieldRequest < Struct.new(
799
- :description,
800
841
  :domain_id,
801
842
  :name,
802
- :type)
843
+ :type,
844
+ :description)
803
845
  SENSITIVE = []
804
846
  include Aws::Structure
805
847
  end
806
848
 
807
- # @!attribute [rw] field_arn
808
- # The Amazon Resource Name (ARN) of the field.
809
- # @return [String]
810
- #
811
849
  # @!attribute [rw] field_id
812
850
  # The unique identifier of a field.
813
851
  # @return [String]
814
852
  #
853
+ # @!attribute [rw] field_arn
854
+ # The Amazon Resource Name (ARN) of the field.
855
+ # @return [String]
856
+ #
815
857
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CreateFieldResponse AWS API Documentation
816
858
  #
817
859
  class CreateFieldResponse < Struct.new(
818
- :field_arn,
819
- :field_id)
860
+ :field_id,
861
+ :field_arn)
820
862
  SENSITIVE = []
821
863
  include Aws::Structure
822
864
  end
823
865
 
824
- # @!attribute [rw] content
825
- # Information about which fields will be present in the layout, and
826
- # information about the order of the fields.
827
- # @return [Types::LayoutContent]
828
- #
829
866
  # @!attribute [rw] domain_id
830
867
  # The unique identifier of the Cases domain.
831
868
  # @return [String]
@@ -834,103 +871,112 @@ module Aws::ConnectCases
834
871
  # The name of the layout. It must be unique for the Cases domain.
835
872
  # @return [String]
836
873
  #
874
+ # @!attribute [rw] content
875
+ # Information about which fields will be present in the layout, and
876
+ # information about the order of the fields.
877
+ # @return [Types::LayoutContent]
878
+ #
837
879
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CreateLayoutRequest AWS API Documentation
838
880
  #
839
881
  class CreateLayoutRequest < Struct.new(
840
- :content,
841
882
  :domain_id,
842
- :name)
883
+ :name,
884
+ :content)
843
885
  SENSITIVE = []
844
886
  include Aws::Structure
845
887
  end
846
888
 
847
- # @!attribute [rw] layout_arn
848
- # The Amazon Resource Name (ARN) of the newly created layout.
849
- # @return [String]
850
- #
851
889
  # @!attribute [rw] layout_id
852
890
  # The unique identifier of the layout.
853
891
  # @return [String]
854
892
  #
893
+ # @!attribute [rw] layout_arn
894
+ # The Amazon Resource Name (ARN) of the newly created layout.
895
+ # @return [String]
896
+ #
855
897
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CreateLayoutResponse AWS API Documentation
856
898
  #
857
899
  class CreateLayoutResponse < Struct.new(
858
- :layout_arn,
859
- :layout_id)
900
+ :layout_id,
901
+ :layout_arn)
860
902
  SENSITIVE = []
861
903
  include Aws::Structure
862
904
  end
863
905
 
906
+ # @!attribute [rw] domain_id
907
+ # The unique identifier of the Cases domain.
908
+ # @return [String]
909
+ #
864
910
  # @!attribute [rw] case_id
865
911
  # A unique identifier of the case.
866
912
  # @return [String]
867
913
  #
914
+ # @!attribute [rw] type
915
+ # The type of a related item.
916
+ # @return [String]
917
+ #
868
918
  # @!attribute [rw] content
869
919
  # The content of a related item to be created.
870
920
  # @return [Types::RelatedItemInputContent]
871
921
  #
872
- # @!attribute [rw] domain_id
873
- # The unique identifier of the Cases domain.
874
- # @return [String]
875
- #
876
922
  # @!attribute [rw] performed_by
877
923
  # Represents the creator of the related item.
878
924
  # @return [Types::UserUnion]
879
925
  #
880
- # @!attribute [rw] type
881
- # The type of a related item.
882
- # @return [String]
883
- #
884
926
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CreateRelatedItemRequest AWS API Documentation
885
927
  #
886
928
  class CreateRelatedItemRequest < Struct.new(
929
+ :domain_id,
887
930
  :case_id,
931
+ :type,
888
932
  :content,
889
- :domain_id,
890
- :performed_by,
891
- :type)
933
+ :performed_by)
892
934
  SENSITIVE = []
893
935
  include Aws::Structure
894
936
  end
895
937
 
896
- # @!attribute [rw] related_item_arn
897
- # The Amazon Resource Name (ARN) of the related item.
898
- # @return [String]
899
- #
900
938
  # @!attribute [rw] related_item_id
901
939
  # The unique identifier of the related item.
902
940
  # @return [String]
903
941
  #
942
+ # @!attribute [rw] related_item_arn
943
+ # The Amazon Resource Name (ARN) of the related item.
944
+ # @return [String]
945
+ #
904
946
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CreateRelatedItemResponse AWS API Documentation
905
947
  #
906
948
  class CreateRelatedItemResponse < Struct.new(
907
- :related_item_arn,
908
- :related_item_id)
949
+ :related_item_id,
950
+ :related_item_arn)
909
951
  SENSITIVE = []
910
952
  include Aws::Structure
911
953
  end
912
954
 
913
- # @!attribute [rw] description
914
- # A brief description of the template.
915
- # @return [String]
916
- #
917
955
  # @!attribute [rw] domain_id
918
956
  # The unique identifier of the Cases domain.
919
957
  # @return [String]
920
958
  #
921
- # @!attribute [rw] layout_configuration
922
- # Configuration of layouts associated to the template.
923
- # @return [Types::LayoutConfiguration]
924
- #
925
959
  # @!attribute [rw] name
926
960
  # A name for the template. It must be unique per domain.
927
961
  # @return [String]
928
962
  #
963
+ # @!attribute [rw] description
964
+ # A brief description of the template.
965
+ # @return [String]
966
+ #
967
+ # @!attribute [rw] layout_configuration
968
+ # Configuration of layouts associated to the template.
969
+ # @return [Types::LayoutConfiguration]
970
+ #
929
971
  # @!attribute [rw] required_fields
930
972
  # A list of fields that must contain a value for a case to be
931
973
  # successfully created with this template.
932
974
  # @return [Array<Types::RequiredField>]
933
975
  #
976
+ # @!attribute [rw] status
977
+ # The status of the template.
978
+ # @return [String]
979
+ #
934
980
  # @!attribute [rw] rules
935
981
  # A list of case rules (also known as [case field conditions][1]) on a
936
982
  # template.
@@ -940,54 +986,131 @@ module Aws::ConnectCases
940
986
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html
941
987
  # @return [Array<Types::TemplateRule>]
942
988
  #
943
- # @!attribute [rw] status
944
- # The status of the template.
945
- # @return [String]
946
- #
947
989
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CreateTemplateRequest AWS API Documentation
948
990
  #
949
991
  class CreateTemplateRequest < Struct.new(
950
- :description,
951
992
  :domain_id,
952
- :layout_configuration,
953
993
  :name,
994
+ :description,
995
+ :layout_configuration,
954
996
  :required_fields,
955
- :rules,
956
- :status)
997
+ :status,
998
+ :rules)
957
999
  SENSITIVE = []
958
1000
  include Aws::Structure
959
1001
  end
960
1002
 
961
- # @!attribute [rw] template_arn
962
- # The Amazon Resource Name (ARN) of the newly created template.
963
- # @return [String]
964
- #
965
1003
  # @!attribute [rw] template_id
966
1004
  # A unique identifier of a template.
967
1005
  # @return [String]
968
1006
  #
1007
+ # @!attribute [rw] template_arn
1008
+ # The Amazon Resource Name (ARN) of the newly created template.
1009
+ # @return [String]
1010
+ #
969
1011
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CreateTemplateResponse AWS API Documentation
970
1012
  #
971
1013
  class CreateTemplateResponse < Struct.new(
972
- :template_arn,
973
- :template_id)
1014
+ :template_id,
1015
+ :template_arn)
974
1016
  SENSITIVE = []
975
1017
  include Aws::Structure
976
1018
  end
977
1019
 
978
- # @!attribute [rw] case_id
979
- # A unique identifier of the case.
980
- # @return [String]
1020
+ # Represents the content of a Custom related item
1021
+ #
1022
+ # @!attribute [rw] fields
1023
+ # List of field values for the custom related item
1024
+ # @return [Array<Types::FieldValue>]
1025
+ #
1026
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CustomContent AWS API Documentation
1027
+ #
1028
+ class CustomContent < Struct.new(
1029
+ :fields)
1030
+ SENSITIVE = []
1031
+ include Aws::Structure
1032
+ end
1033
+
1034
+ # A filter for fields in related items of type Custom
1035
+ #
1036
+ # @note CustomFieldsFilter is a union - when making an API calls you must set exactly one of the members.
1037
+ #
1038
+ # @!attribute [rw] field
1039
+ # A filter for fields. Only one value can be provided.
1040
+ # @return [Types::FieldFilter]
1041
+ #
1042
+ # @!attribute [rw] not
1043
+ # Excludes items matching the filter
1044
+ # @return [Types::CustomFieldsFilter]
1045
+ #
1046
+ # @!attribute [rw] and_all
1047
+ # Matches items that satisfy all of the specified filter conditions
1048
+ # @return [Array<Types::CustomFieldsFilter>]
1049
+ #
1050
+ # @!attribute [rw] or_all
1051
+ # Matches items that satisfy any of the specified filter conditions
1052
+ # @return [Array<Types::CustomFieldsFilter>]
1053
+ #
1054
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CustomFieldsFilter AWS API Documentation
1055
+ #
1056
+ class CustomFieldsFilter < Struct.new(
1057
+ :field,
1058
+ :not,
1059
+ :and_all,
1060
+ :or_all,
1061
+ :unknown)
1062
+ SENSITIVE = []
1063
+ include Aws::Structure
1064
+ include Aws::Structure::Union
1065
+
1066
+ class Field < CustomFieldsFilter; end
1067
+ class Not < CustomFieldsFilter; end
1068
+ class AndAll < CustomFieldsFilter; end
1069
+ class OrAll < CustomFieldsFilter; end
1070
+ class Unknown < CustomFieldsFilter; end
1071
+ end
1072
+
1073
+ # A filter for related items of type Custom
1074
+ #
1075
+ # @!attribute [rw] fields
1076
+ # Filter conditions for custom fields
1077
+ # @return [Types::CustomFieldsFilter]
1078
+ #
1079
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CustomFilter AWS API Documentation
1080
+ #
1081
+ class CustomFilter < Struct.new(
1082
+ :fields)
1083
+ SENSITIVE = []
1084
+ include Aws::Structure
1085
+ end
1086
+
1087
+ # Represents the input content of a Custom related item
1088
+ #
1089
+ # @!attribute [rw] fields
1090
+ # List of field values for the custom related item
1091
+ # @return [Array<Types::FieldValue>]
1092
+ #
1093
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CustomInputContent AWS API Documentation
981
1094
  #
1095
+ class CustomInputContent < Struct.new(
1096
+ :fields)
1097
+ SENSITIVE = []
1098
+ include Aws::Structure
1099
+ end
1100
+
982
1101
  # @!attribute [rw] domain_id
983
1102
  # A unique identifier of the Cases domain.
984
1103
  # @return [String]
985
1104
  #
1105
+ # @!attribute [rw] case_id
1106
+ # A unique identifier of the case.
1107
+ # @return [String]
1108
+ #
986
1109
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteCaseRequest AWS API Documentation
987
1110
  #
988
1111
  class DeleteCaseRequest < Struct.new(
989
- :case_id,
990
- :domain_id)
1112
+ :domain_id,
1113
+ :case_id)
991
1114
  SENSITIVE = []
992
1115
  include Aws::Structure
993
1116
  end
@@ -996,19 +1119,19 @@ module Aws::ConnectCases
996
1119
  #
997
1120
  class DeleteCaseResponse < Aws::EmptyStructure; end
998
1121
 
999
- # @!attribute [rw] case_rule_id
1000
- # Unique identifier of a case rule.
1001
- # @return [String]
1002
- #
1003
1122
  # @!attribute [rw] domain_id
1004
1123
  # Unique identifier of a Cases domain.
1005
1124
  # @return [String]
1006
1125
  #
1126
+ # @!attribute [rw] case_rule_id
1127
+ # Unique identifier of a case rule.
1128
+ # @return [String]
1129
+ #
1007
1130
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteCaseRuleRequest AWS API Documentation
1008
1131
  #
1009
1132
  class DeleteCaseRuleRequest < Struct.new(
1010
- :case_rule_id,
1011
- :domain_id)
1133
+ :domain_id,
1134
+ :case_rule_id)
1012
1135
  SENSITIVE = []
1013
1136
  include Aws::Structure
1014
1137
  end
@@ -1075,14 +1198,14 @@ module Aws::ConnectCases
1075
1198
  #
1076
1199
  class DeleteLayoutResponse < Aws::EmptyStructure; end
1077
1200
 
1078
- # @!attribute [rw] case_id
1079
- # A unique identifier of the case.
1080
- # @return [String]
1081
- #
1082
1201
  # @!attribute [rw] domain_id
1083
1202
  # A unique identifier of the Cases domain.
1084
1203
  # @return [String]
1085
1204
  #
1205
+ # @!attribute [rw] case_id
1206
+ # A unique identifier of the case.
1207
+ # @return [String]
1208
+ #
1086
1209
  # @!attribute [rw] related_item_id
1087
1210
  # A unique identifier of a related item.
1088
1211
  # @return [String]
@@ -1090,8 +1213,8 @@ module Aws::ConnectCases
1090
1213
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteRelatedItemRequest AWS API Documentation
1091
1214
  #
1092
1215
  class DeleteRelatedItemRequest < Struct.new(
1093
- :case_id,
1094
1216
  :domain_id,
1217
+ :case_id,
1095
1218
  :related_item_id)
1096
1219
  SENSITIVE = []
1097
1220
  include Aws::Structure
@@ -1124,14 +1247,14 @@ module Aws::ConnectCases
1124
1247
 
1125
1248
  # Object for the summarized details of the domain.
1126
1249
  #
1127
- # @!attribute [rw] domain_arn
1128
- # The Amazon Resource Name (ARN) of the domain.
1129
- # @return [String]
1130
- #
1131
1250
  # @!attribute [rw] domain_id
1132
1251
  # The unique identifier of the domain.
1133
1252
  # @return [String]
1134
1253
  #
1254
+ # @!attribute [rw] domain_arn
1255
+ # The Amazon Resource Name (ARN) of the domain.
1256
+ # @return [String]
1257
+ #
1135
1258
  # @!attribute [rw] name
1136
1259
  # The name of the domain.
1137
1260
  # @return [String]
@@ -1139,8 +1262,8 @@ module Aws::ConnectCases
1139
1262
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DomainSummary AWS API Documentation
1140
1263
  #
1141
1264
  class DomainSummary < Struct.new(
1142
- :domain_arn,
1143
1265
  :domain_id,
1266
+ :domain_arn,
1144
1267
  :name)
1145
1268
  SENSITIVE = []
1146
1269
  include Aws::Structure
@@ -1218,14 +1341,14 @@ module Aws::ConnectCases
1218
1341
 
1219
1342
  # Object for errors on fields.
1220
1343
  #
1221
- # @!attribute [rw] error_code
1222
- # The error code from getting a field.
1223
- # @return [String]
1224
- #
1225
1344
  # @!attribute [rw] id
1226
1345
  # The field identifier that caused the error.
1227
1346
  # @return [String]
1228
1347
  #
1348
+ # @!attribute [rw] error_code
1349
+ # The error code from getting a field.
1350
+ # @return [String]
1351
+ #
1229
1352
  # @!attribute [rw] message
1230
1353
  # The error message from getting a field.
1231
1354
  # @return [String]
@@ -1233,8 +1356,8 @@ module Aws::ConnectCases
1233
1356
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/FieldError AWS API Documentation
1234
1357
  #
1235
1358
  class FieldError < Struct.new(
1236
- :error_code,
1237
1359
  :id,
1360
+ :error_code,
1238
1361
  :message)
1239
1362
  SENSITIVE = []
1240
1363
  include Aws::Structure
@@ -1244,11 +1367,11 @@ module Aws::ConnectCases
1244
1367
  #
1245
1368
  # @note FieldFilter is a union - when making an API calls you must set exactly one of the members.
1246
1369
  #
1247
- # @!attribute [rw] contains
1370
+ # @!attribute [rw] equal_to
1248
1371
  # Object containing field identifier and value information.
1249
1372
  # @return [Types::FieldValue]
1250
1373
  #
1251
- # @!attribute [rw] equal_to
1374
+ # @!attribute [rw] contains
1252
1375
  # Object containing field identifier and value information.
1253
1376
  # @return [Types::FieldValue]
1254
1377
  #
@@ -1271,8 +1394,8 @@ module Aws::ConnectCases
1271
1394
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/FieldFilter AWS API Documentation
1272
1395
  #
1273
1396
  class FieldFilter < Struct.new(
1274
- :contains,
1275
1397
  :equal_to,
1398
+ :contains,
1276
1399
  :greater_than,
1277
1400
  :greater_than_or_equal_to,
1278
1401
  :less_than,
@@ -1282,8 +1405,8 @@ module Aws::ConnectCases
1282
1405
  include Aws::Structure
1283
1406
  include Aws::Structure::Union
1284
1407
 
1285
- class Contains < FieldFilter; end
1286
1408
  class EqualTo < FieldFilter; end
1409
+ class Contains < FieldFilter; end
1287
1410
  class GreaterThan < FieldFilter; end
1288
1411
  class GreaterThanOrEqualTo < FieldFilter; end
1289
1412
  class LessThan < FieldFilter; end
@@ -1293,19 +1416,19 @@ module Aws::ConnectCases
1293
1416
 
1294
1417
  # Object for a group of fields and associated properties.
1295
1418
  #
1296
- # @!attribute [rw] fields
1297
- # Represents an ordered list containing field related information.
1298
- # @return [Array<Types::FieldItem>]
1299
- #
1300
1419
  # @!attribute [rw] name
1301
1420
  # Name of the field group.
1302
1421
  # @return [String]
1303
1422
  #
1423
+ # @!attribute [rw] fields
1424
+ # Represents an ordered list containing field related information.
1425
+ # @return [Array<Types::FieldItem>]
1426
+ #
1304
1427
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/FieldGroup AWS API Documentation
1305
1428
  #
1306
1429
  class FieldGroup < Struct.new(
1307
- :fields,
1308
- :name)
1430
+ :name,
1431
+ :fields)
1309
1432
  SENSITIVE = []
1310
1433
  include Aws::Structure
1311
1434
  end
@@ -1340,11 +1463,6 @@ module Aws::ConnectCases
1340
1463
 
1341
1464
  # Object for field Options information.
1342
1465
  #
1343
- # @!attribute [rw] active
1344
- # Describes whether the `FieldOption` is active (displayed) or
1345
- # inactive.
1346
- # @return [Boolean]
1347
- #
1348
1466
  # @!attribute [rw] name
1349
1467
  # `FieldOptionName` has max length 100 and disallows trailing spaces.
1350
1468
  # @return [String]
@@ -1354,26 +1472,31 @@ module Aws::ConnectCases
1354
1472
  # hyphens and underscores.
1355
1473
  # @return [String]
1356
1474
  #
1475
+ # @!attribute [rw] active
1476
+ # Describes whether the `FieldOption` is active (displayed) or
1477
+ # inactive.
1478
+ # @return [Boolean]
1479
+ #
1357
1480
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/FieldOption AWS API Documentation
1358
1481
  #
1359
1482
  class FieldOption < Struct.new(
1360
- :active,
1361
1483
  :name,
1362
- :value)
1484
+ :value,
1485
+ :active)
1363
1486
  SENSITIVE = []
1364
1487
  include Aws::Structure
1365
1488
  end
1366
1489
 
1367
1490
  # Object for field Options errors.
1368
1491
  #
1369
- # @!attribute [rw] error_code
1370
- # Error code from creating or updating field option.
1371
- # @return [String]
1372
- #
1373
1492
  # @!attribute [rw] message
1374
1493
  # Error message from creating or updating field option.
1375
1494
  # @return [String]
1376
1495
  #
1496
+ # @!attribute [rw] error_code
1497
+ # Error code from creating or updating field option.
1498
+ # @return [String]
1499
+ #
1377
1500
  # @!attribute [rw] value
1378
1501
  # The field option value that caused the error.
1379
1502
  # @return [String]
@@ -1381,8 +1504,8 @@ module Aws::ConnectCases
1381
1504
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/FieldOptionError AWS API Documentation
1382
1505
  #
1383
1506
  class FieldOptionError < Struct.new(
1384
- :error_code,
1385
1507
  :message,
1508
+ :error_code,
1386
1509
  :value)
1387
1510
  SENSITIVE = []
1388
1511
  include Aws::Structure
@@ -1390,34 +1513,34 @@ module Aws::ConnectCases
1390
1513
 
1391
1514
  # Object for the summarized details of the field.
1392
1515
  #
1393
- # @!attribute [rw] field_arn
1394
- # The Amazon Resource Name (ARN) of the field.
1395
- # @return [String]
1396
- #
1397
1516
  # @!attribute [rw] field_id
1398
1517
  # The unique identifier of a field.
1399
1518
  # @return [String]
1400
1519
  #
1401
- # @!attribute [rw] name
1402
- # Name of the field.
1520
+ # @!attribute [rw] field_arn
1521
+ # The Amazon Resource Name (ARN) of the field.
1403
1522
  # @return [String]
1404
1523
  #
1405
- # @!attribute [rw] namespace
1406
- # The namespace of a field.
1524
+ # @!attribute [rw] name
1525
+ # Name of the field.
1407
1526
  # @return [String]
1408
1527
  #
1409
1528
  # @!attribute [rw] type
1410
1529
  # The type of a field.
1411
1530
  # @return [String]
1412
1531
  #
1532
+ # @!attribute [rw] namespace
1533
+ # The namespace of a field.
1534
+ # @return [String]
1535
+ #
1413
1536
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/FieldSummary AWS API Documentation
1414
1537
  #
1415
1538
  class FieldSummary < Struct.new(
1416
- :field_arn,
1417
1539
  :field_id,
1540
+ :field_arn,
1418
1541
  :name,
1419
- :namespace,
1420
- :type)
1542
+ :type,
1543
+ :namespace)
1421
1544
  SENSITIVE = []
1422
1545
  include Aws::Structure
1423
1546
  end
@@ -1452,24 +1575,24 @@ module Aws::ConnectCases
1452
1575
  #
1453
1576
  # @note FieldValueUnion is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of FieldValueUnion corresponding to the set member.
1454
1577
  #
1455
- # @!attribute [rw] boolean_value
1456
- # Can be either null, or have a Boolean value type. Only one value can
1457
- # be provided.
1458
- # @return [Boolean]
1578
+ # @!attribute [rw] string_value
1579
+ # String value type.
1580
+ # @return [String]
1459
1581
  #
1460
1582
  # @!attribute [rw] double_value
1461
1583
  # Can be either null, or have a Double number value type. Only one
1462
1584
  # value can be provided.
1463
1585
  # @return [Float]
1464
1586
  #
1587
+ # @!attribute [rw] boolean_value
1588
+ # Can be either null, or have a Boolean value type. Only one value can
1589
+ # be provided.
1590
+ # @return [Boolean]
1591
+ #
1465
1592
  # @!attribute [rw] empty_value
1466
1593
  # An empty value.
1467
1594
  # @return [Types::EmptyFieldValue]
1468
1595
  #
1469
- # @!attribute [rw] string_value
1470
- # String value type.
1471
- # @return [String]
1472
- #
1473
1596
  # @!attribute [rw] user_arn_value
1474
1597
  # Represents the user that performed the audit.
1475
1598
  # @return [String]
@@ -1477,20 +1600,20 @@ module Aws::ConnectCases
1477
1600
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/FieldValueUnion AWS API Documentation
1478
1601
  #
1479
1602
  class FieldValueUnion < Struct.new(
1480
- :boolean_value,
1603
+ :string_value,
1481
1604
  :double_value,
1605
+ :boolean_value,
1482
1606
  :empty_value,
1483
- :string_value,
1484
1607
  :user_arn_value,
1485
1608
  :unknown)
1486
1609
  SENSITIVE = []
1487
1610
  include Aws::Structure
1488
1611
  include Aws::Structure::Union
1489
1612
 
1490
- class BooleanValue < FieldValueUnion; end
1613
+ class StringValue < FieldValueUnion; end
1491
1614
  class DoubleValue < FieldValueUnion; end
1615
+ class BooleanValue < FieldValueUnion; end
1492
1616
  class EmptyValue < FieldValueUnion; end
1493
- class StringValue < FieldValueUnion; end
1494
1617
  class UserArnValue < FieldValueUnion; end
1495
1618
  class Unknown < FieldValueUnion; end
1496
1619
  end
@@ -1532,9 +1655,8 @@ module Aws::ConnectCases
1532
1655
  # @return [String]
1533
1656
  #
1534
1657
  # @!attribute [rw] max_results
1535
- # The maximum number of audit events to return. The current maximum
1536
- # supported value is 25. This is also the default when no other value
1537
- # is provided.
1658
+ # The maximum number of audit events to return. When no value is
1659
+ # provided, 25 is the default.
1538
1660
  # @return [Integer]
1539
1661
  #
1540
1662
  # @!attribute [rw] next_token
@@ -1554,21 +1676,21 @@ module Aws::ConnectCases
1554
1676
  include Aws::Structure
1555
1677
  end
1556
1678
 
1557
- # @!attribute [rw] audit_events
1558
- # A list of case audits where each represents a particular edit of the
1559
- # case.
1560
- # @return [Array<Types::AuditEvent>]
1561
- #
1562
1679
  # @!attribute [rw] next_token
1563
1680
  # The token for the next set of results. This is null if there are no
1564
1681
  # more results to return.
1565
1682
  # @return [String]
1566
1683
  #
1684
+ # @!attribute [rw] audit_events
1685
+ # A list of case audits where each represents a particular edit of the
1686
+ # case.
1687
+ # @return [Array<Types::AuditEvent>]
1688
+ #
1567
1689
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetCaseAuditEventsResponse AWS API Documentation
1568
1690
  #
1569
1691
  class GetCaseAuditEventsResponse < Struct.new(
1570
- :audit_events,
1571
- :next_token)
1692
+ :next_token,
1693
+ :audit_events)
1572
1694
  SENSITIVE = []
1573
1695
  include Aws::Structure
1574
1696
  end
@@ -1631,6 +1753,10 @@ module Aws::ConnectCases
1631
1753
  # A list of detailed field information.
1632
1754
  # @return [Array<Types::FieldValue>]
1633
1755
  #
1756
+ # @!attribute [rw] template_id
1757
+ # A unique identifier of a template.
1758
+ # @return [String]
1759
+ #
1634
1760
  # @!attribute [rw] next_token
1635
1761
  # The token for the next set of results. This is null if there are no
1636
1762
  # more results to return.
@@ -1641,17 +1767,13 @@ module Aws::ConnectCases
1641
1767
  # are used to organize, track, or control access for this resource.
1642
1768
  # @return [Hash<String,String>]
1643
1769
  #
1644
- # @!attribute [rw] template_id
1645
- # A unique identifier of a template.
1646
- # @return [String]
1647
- #
1648
1770
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetCaseResponse AWS API Documentation
1649
1771
  #
1650
1772
  class GetCaseResponse < Struct.new(
1651
1773
  :fields,
1774
+ :template_id,
1652
1775
  :next_token,
1653
- :tags,
1654
- :template_id)
1776
+ :tags)
1655
1777
  SENSITIVE = []
1656
1778
  include Aws::Structure
1657
1779
  end
@@ -1665,38 +1787,38 @@ module Aws::ConnectCases
1665
1787
  #
1666
1788
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html
1667
1789
  #
1790
+ # @!attribute [rw] case_rule_id
1791
+ # Unique identifier of a case rule.
1792
+ # @return [String]
1793
+ #
1794
+ # @!attribute [rw] name
1795
+ # Name of the case rule.
1796
+ # @return [String]
1797
+ #
1668
1798
  # @!attribute [rw] case_rule_arn
1669
1799
  # The Amazon Resource Name (ARN) of the case rule.
1670
1800
  # @return [String]
1671
1801
  #
1672
- # @!attribute [rw] case_rule_id
1673
- # Unique identifier of a case rule.
1674
- # @return [String]
1802
+ # @!attribute [rw] rule
1803
+ # Represents what rule type should take place, under what conditions.
1804
+ # @return [Types::CaseRuleDetails]
1675
1805
  #
1676
- # @!attribute [rw] created_time
1677
- # Timestamp when the resource was created.
1678
- # @return [Time]
1806
+ # @!attribute [rw] description
1807
+ # Description of a case rule.
1808
+ # @return [String]
1679
1809
  #
1680
1810
  # @!attribute [rw] deleted
1681
1811
  # Indicates whether the resource has been deleted.
1682
1812
  # @return [Boolean]
1683
1813
  #
1684
- # @!attribute [rw] description
1685
- # Description of a case rule.
1686
- # @return [String]
1814
+ # @!attribute [rw] created_time
1815
+ # Timestamp when the resource was created.
1816
+ # @return [Time]
1687
1817
  #
1688
1818
  # @!attribute [rw] last_modified_time
1689
1819
  # Timestamp when the resource was created or last modified.
1690
1820
  # @return [Time]
1691
1821
  #
1692
- # @!attribute [rw] name
1693
- # Name of the case rule.
1694
- # @return [String]
1695
- #
1696
- # @!attribute [rw] rule
1697
- # Represents what rule type should take place, under what conditions.
1698
- # @return [Types::CaseRuleDetails]
1699
- #
1700
1822
  # @!attribute [rw] tags
1701
1823
  # A map of of key-value pairs that represent tags on a resource. Tags
1702
1824
  # are used to organize, track, or control access for this resource.
@@ -1705,14 +1827,14 @@ module Aws::ConnectCases
1705
1827
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetCaseRuleResponse AWS API Documentation
1706
1828
  #
1707
1829
  class GetCaseRuleResponse < Struct.new(
1708
- :case_rule_arn,
1709
1830
  :case_rule_id,
1710
- :created_time,
1711
- :deleted,
1712
- :description,
1713
- :last_modified_time,
1714
1831
  :name,
1832
+ :case_rule_arn,
1715
1833
  :rule,
1834
+ :description,
1835
+ :deleted,
1836
+ :created_time,
1837
+ :last_modified_time,
1716
1838
  :tags)
1717
1839
  SENSITIVE = []
1718
1840
  include Aws::Structure
@@ -1730,26 +1852,26 @@ module Aws::ConnectCases
1730
1852
  include Aws::Structure
1731
1853
  end
1732
1854
 
1733
- # @!attribute [rw] created_time
1734
- # The timestamp when the Cases domain was created.
1735
- # @return [Time]
1855
+ # @!attribute [rw] domain_id
1856
+ # The unique identifier of the Cases domain.
1857
+ # @return [String]
1736
1858
  #
1737
1859
  # @!attribute [rw] domain_arn
1738
1860
  # The Amazon Resource Name (ARN) for the Cases domain.
1739
1861
  # @return [String]
1740
1862
  #
1741
- # @!attribute [rw] domain_id
1742
- # The unique identifier of the Cases domain.
1863
+ # @!attribute [rw] name
1864
+ # The name of the Cases domain.
1743
1865
  # @return [String]
1744
1866
  #
1867
+ # @!attribute [rw] created_time
1868
+ # The timestamp when the Cases domain was created.
1869
+ # @return [Time]
1870
+ #
1745
1871
  # @!attribute [rw] domain_status
1746
1872
  # The status of the Cases domain.
1747
1873
  # @return [String]
1748
1874
  #
1749
- # @!attribute [rw] name
1750
- # The name of the Cases domain.
1751
- # @return [String]
1752
- #
1753
1875
  # @!attribute [rw] tags
1754
1876
  # A map of of key-value pairs that represent tags on a resource. Tags
1755
1877
  # are used to organize, track, or control access for this resource.
@@ -1758,11 +1880,11 @@ module Aws::ConnectCases
1758
1880
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetDomainResponse AWS API Documentation
1759
1881
  #
1760
1882
  class GetDomainResponse < Struct.new(
1761
- :created_time,
1762
- :domain_arn,
1763
1883
  :domain_id,
1764
- :domain_status,
1884
+ :domain_arn,
1765
1885
  :name,
1886
+ :created_time,
1887
+ :domain_status,
1766
1888
  :tags)
1767
1889
  SENSITIVE = []
1768
1890
  include Aws::Structure
@@ -1770,32 +1892,24 @@ module Aws::ConnectCases
1770
1892
 
1771
1893
  # Object to store detailed field information.
1772
1894
  #
1773
- # @!attribute [rw] created_time
1774
- # Timestamp at which the resource was created.
1775
- # @return [Time]
1776
- #
1777
- # @!attribute [rw] deleted
1778
- # Denotes whether or not the resource has been deleted.
1779
- # @return [Boolean]
1895
+ # @!attribute [rw] field_id
1896
+ # Unique identifier of the field.
1897
+ # @return [String]
1780
1898
  #
1781
- # @!attribute [rw] description
1782
- # Description of the field.
1899
+ # @!attribute [rw] name
1900
+ # Name of the field.
1783
1901
  # @return [String]
1784
1902
  #
1785
1903
  # @!attribute [rw] field_arn
1786
1904
  # The Amazon Resource Name (ARN) of the field.
1787
1905
  # @return [String]
1788
1906
  #
1789
- # @!attribute [rw] field_id
1790
- # Unique identifier of the field.
1907
+ # @!attribute [rw] description
1908
+ # Description of the field.
1791
1909
  # @return [String]
1792
- #
1793
- # @!attribute [rw] last_modified_time
1794
- # Timestamp at which the resource was created or last modified.
1795
- # @return [Time]
1796
- #
1797
- # @!attribute [rw] name
1798
- # Name of the field.
1910
+ #
1911
+ # @!attribute [rw] type
1912
+ # Type of the field.
1799
1913
  # @return [String]
1800
1914
  #
1801
1915
  # @!attribute [rw] namespace
@@ -1807,23 +1921,31 @@ module Aws::ConnectCases
1807
1921
  # are used to organize, track, or control access for this resource.
1808
1922
  # @return [Hash<String,String>]
1809
1923
  #
1810
- # @!attribute [rw] type
1811
- # Type of the field.
1812
- # @return [String]
1924
+ # @!attribute [rw] deleted
1925
+ # Denotes whether or not the resource has been deleted.
1926
+ # @return [Boolean]
1927
+ #
1928
+ # @!attribute [rw] created_time
1929
+ # Timestamp at which the resource was created.
1930
+ # @return [Time]
1931
+ #
1932
+ # @!attribute [rw] last_modified_time
1933
+ # Timestamp at which the resource was created or last modified.
1934
+ # @return [Time]
1813
1935
  #
1814
1936
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetFieldResponse AWS API Documentation
1815
1937
  #
1816
1938
  class GetFieldResponse < Struct.new(
1817
- :created_time,
1818
- :deleted,
1819
- :description,
1820
- :field_arn,
1821
1939
  :field_id,
1822
- :last_modified_time,
1823
1940
  :name,
1941
+ :field_arn,
1942
+ :description,
1943
+ :type,
1824
1944
  :namespace,
1825
1945
  :tags,
1826
- :type)
1946
+ :deleted,
1947
+ :created_time,
1948
+ :last_modified_time)
1827
1949
  SENSITIVE = []
1828
1950
  include Aws::Structure
1829
1951
  end
@@ -1845,51 +1967,51 @@ module Aws::ConnectCases
1845
1967
  include Aws::Structure
1846
1968
  end
1847
1969
 
1848
- # @!attribute [rw] content
1849
- # Information about which fields will be present in the layout, the
1850
- # order of the fields, and read-only attribute of the field.
1851
- # @return [Types::LayoutContent]
1852
- #
1853
- # @!attribute [rw] created_time
1854
- # Timestamp at which the resource was created.
1855
- # @return [Time]
1856
- #
1857
- # @!attribute [rw] deleted
1858
- # Denotes whether or not the resource has been deleted.
1859
- # @return [Boolean]
1860
- #
1861
- # @!attribute [rw] last_modified_time
1862
- # Timestamp at which the resource was created or last modified.
1863
- # @return [Time]
1970
+ # @!attribute [rw] layout_id
1971
+ # The unique identifier of the layout.
1972
+ # @return [String]
1864
1973
  #
1865
1974
  # @!attribute [rw] layout_arn
1866
1975
  # The Amazon Resource Name (ARN) of the newly created layout.
1867
1976
  # @return [String]
1868
1977
  #
1869
- # @!attribute [rw] layout_id
1870
- # The unique identifier of the layout.
1871
- # @return [String]
1872
- #
1873
1978
  # @!attribute [rw] name
1874
1979
  # The name of the layout. It must be unique.
1875
1980
  # @return [String]
1876
1981
  #
1982
+ # @!attribute [rw] content
1983
+ # Information about which fields will be present in the layout, the
1984
+ # order of the fields, and read-only attribute of the field.
1985
+ # @return [Types::LayoutContent]
1986
+ #
1877
1987
  # @!attribute [rw] tags
1878
1988
  # A map of of key-value pairs that represent tags on a resource. Tags
1879
1989
  # are used to organize, track, or control access for this resource.
1880
1990
  # @return [Hash<String,String>]
1881
1991
  #
1992
+ # @!attribute [rw] deleted
1993
+ # Denotes whether or not the resource has been deleted.
1994
+ # @return [Boolean]
1995
+ #
1996
+ # @!attribute [rw] created_time
1997
+ # Timestamp at which the resource was created.
1998
+ # @return [Time]
1999
+ #
2000
+ # @!attribute [rw] last_modified_time
2001
+ # Timestamp at which the resource was created or last modified.
2002
+ # @return [Time]
2003
+ #
1882
2004
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetLayoutResponse AWS API Documentation
1883
2005
  #
1884
2006
  class GetLayoutResponse < Struct.new(
1885
- :content,
1886
- :created_time,
1887
- :deleted,
1888
- :last_modified_time,
1889
- :layout_arn,
1890
2007
  :layout_id,
2008
+ :layout_arn,
1891
2009
  :name,
1892
- :tags)
2010
+ :content,
2011
+ :tags,
2012
+ :deleted,
2013
+ :created_time,
2014
+ :last_modified_time)
1893
2015
  SENSITIVE = []
1894
2016
  include Aws::Structure
1895
2017
  end
@@ -1911,35 +2033,52 @@ module Aws::ConnectCases
1911
2033
  include Aws::Structure
1912
2034
  end
1913
2035
 
1914
- # @!attribute [rw] created_time
1915
- # Timestamp at which the resource was created.
1916
- # @return [Time]
2036
+ # @!attribute [rw] template_id
2037
+ # A unique identifier of a template.
2038
+ # @return [String]
1917
2039
  #
1918
- # @!attribute [rw] deleted
1919
- # Denotes whether or not the resource has been deleted.
1920
- # @return [Boolean]
2040
+ # @!attribute [rw] template_arn
2041
+ # The Amazon Resource Name (ARN) of the template.
2042
+ # @return [String]
2043
+ #
2044
+ # @!attribute [rw] name
2045
+ # The name of the template.
2046
+ # @return [String]
1921
2047
  #
1922
2048
  # @!attribute [rw] description
1923
2049
  # A brief description of the template.
1924
2050
  # @return [String]
1925
2051
  #
1926
- # @!attribute [rw] last_modified_time
1927
- # Timestamp at which the resource was created or last modified.
1928
- # @return [Time]
1929
- #
1930
2052
  # @!attribute [rw] layout_configuration
1931
2053
  # Configuration of layouts associated to the template.
1932
2054
  # @return [Types::LayoutConfiguration]
1933
2055
  #
1934
- # @!attribute [rw] name
1935
- # The name of the template.
1936
- # @return [String]
1937
- #
1938
2056
  # @!attribute [rw] required_fields
1939
2057
  # A list of fields that must contain a value for a case to be
1940
2058
  # successfully created with this template.
1941
2059
  # @return [Array<Types::RequiredField>]
1942
2060
  #
2061
+ # @!attribute [rw] tags
2062
+ # A map of of key-value pairs that represent tags on a resource. Tags
2063
+ # are used to organize, track, or control access for this resource.
2064
+ # @return [Hash<String,String>]
2065
+ #
2066
+ # @!attribute [rw] status
2067
+ # The status of the template.
2068
+ # @return [String]
2069
+ #
2070
+ # @!attribute [rw] deleted
2071
+ # Denotes whether or not the resource has been deleted.
2072
+ # @return [Boolean]
2073
+ #
2074
+ # @!attribute [rw] created_time
2075
+ # Timestamp at which the resource was created.
2076
+ # @return [Time]
2077
+ #
2078
+ # @!attribute [rw] last_modified_time
2079
+ # Timestamp at which the resource was created or last modified.
2080
+ # @return [Time]
2081
+ #
1943
2082
  # @!attribute [rw] rules
1944
2083
  # A list of case rules (also known as [case field conditions][1]) on a
1945
2084
  # template.
@@ -1949,38 +2088,21 @@ module Aws::ConnectCases
1949
2088
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html
1950
2089
  # @return [Array<Types::TemplateRule>]
1951
2090
  #
1952
- # @!attribute [rw] status
1953
- # The status of the template.
1954
- # @return [String]
1955
- #
1956
- # @!attribute [rw] tags
1957
- # A map of of key-value pairs that represent tags on a resource. Tags
1958
- # are used to organize, track, or control access for this resource.
1959
- # @return [Hash<String,String>]
1960
- #
1961
- # @!attribute [rw] template_arn
1962
- # The Amazon Resource Name (ARN) of the template.
1963
- # @return [String]
1964
- #
1965
- # @!attribute [rw] template_id
1966
- # A unique identifier of a template.
1967
- # @return [String]
1968
- #
1969
2091
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetTemplateResponse AWS API Documentation
1970
2092
  #
1971
2093
  class GetTemplateResponse < Struct.new(
1972
- :created_time,
1973
- :deleted,
2094
+ :template_id,
2095
+ :template_arn,
2096
+ :name,
1974
2097
  :description,
1975
- :last_modified_time,
1976
2098
  :layout_configuration,
1977
- :name,
1978
2099
  :required_fields,
1979
- :rules,
1980
- :status,
1981
2100
  :tags,
1982
- :template_arn,
1983
- :template_id)
2101
+ :status,
2102
+ :deleted,
2103
+ :created_time,
2104
+ :last_modified_time,
2105
+ :rules)
1984
2106
  SENSITIVE = []
1985
2107
  include Aws::Structure
1986
2108
  end
@@ -2060,14 +2182,14 @@ module Aws::ConnectCases
2060
2182
 
2061
2183
  # Object for the summarized details of the layout.
2062
2184
  #
2063
- # @!attribute [rw] layout_arn
2064
- # The Amazon Resource Name (ARN) of the layout.
2065
- # @return [String]
2066
- #
2067
2185
  # @!attribute [rw] layout_id
2068
2186
  # The unique identifier for of the layout.
2069
2187
  # @return [String]
2070
2188
  #
2189
+ # @!attribute [rw] layout_arn
2190
+ # The Amazon Resource Name (ARN) of the layout.
2191
+ # @return [String]
2192
+ #
2071
2193
  # @!attribute [rw] name
2072
2194
  # The name of the layout.
2073
2195
  # @return [String]
@@ -2075,8 +2197,8 @@ module Aws::ConnectCases
2075
2197
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/LayoutSummary AWS API Documentation
2076
2198
  #
2077
2199
  class LayoutSummary < Struct.new(
2078
- :layout_arn,
2079
2200
  :layout_id,
2201
+ :layout_arn,
2080
2202
  :name)
2081
2203
  SENSITIVE = []
2082
2204
  include Aws::Structure
@@ -2124,14 +2246,14 @@ module Aws::ConnectCases
2124
2246
  include Aws::Structure
2125
2247
  end
2126
2248
 
2127
- # @!attribute [rw] contact_arn
2128
- # A unique identifier of a contact in Amazon Connect.
2129
- # @return [String]
2130
- #
2131
2249
  # @!attribute [rw] domain_id
2132
2250
  # The unique identifier of the Cases domain.
2133
2251
  # @return [String]
2134
2252
  #
2253
+ # @!attribute [rw] contact_arn
2254
+ # A unique identifier of a contact in Amazon Connect.
2255
+ # @return [String]
2256
+ #
2135
2257
  # @!attribute [rw] max_results
2136
2258
  # The maximum number of results to return per page.
2137
2259
  # @return [Integer]
@@ -2145,8 +2267,8 @@ module Aws::ConnectCases
2145
2267
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/ListCasesForContactRequest AWS API Documentation
2146
2268
  #
2147
2269
  class ListCasesForContactRequest < Struct.new(
2148
- :contact_arn,
2149
2270
  :domain_id,
2271
+ :contact_arn,
2150
2272
  :max_results,
2151
2273
  :next_token)
2152
2274
  SENSITIVE = []
@@ -2242,20 +2364,20 @@ module Aws::ConnectCases
2242
2364
  include Aws::Structure
2243
2365
  end
2244
2366
 
2367
+ # @!attribute [rw] options
2368
+ # A list of `FieldOption` objects.
2369
+ # @return [Array<Types::FieldOption>]
2370
+ #
2245
2371
  # @!attribute [rw] next_token
2246
2372
  # The token for the next set of results. This is null if there are no
2247
2373
  # more results to return.
2248
2374
  # @return [String]
2249
2375
  #
2250
- # @!attribute [rw] options
2251
- # A list of `FieldOption` objects.
2252
- # @return [Array<Types::FieldOption>]
2253
- #
2254
2376
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/ListFieldOptionsResponse AWS API Documentation
2255
2377
  #
2256
2378
  class ListFieldOptionsResponse < Struct.new(
2257
- :next_token,
2258
- :options)
2379
+ :options,
2380
+ :next_token)
2259
2381
  SENSITIVE = []
2260
2382
  include Aws::Structure
2261
2383
  end
@@ -2398,20 +2520,20 @@ module Aws::ConnectCases
2398
2520
  include Aws::Structure
2399
2521
  end
2400
2522
 
2523
+ # @!attribute [rw] templates
2524
+ # List of template summary objects.
2525
+ # @return [Array<Types::TemplateSummary>]
2526
+ #
2401
2527
  # @!attribute [rw] next_token
2402
2528
  # The token for the next set of results. This is null if there are no
2403
2529
  # more results to return.
2404
2530
  # @return [String]
2405
2531
  #
2406
- # @!attribute [rw] templates
2407
- # List of template summary objects.
2408
- # @return [Array<Types::TemplateSummary>]
2409
- #
2410
2532
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/ListTemplatesResponse AWS API Documentation
2411
2533
  #
2412
2534
  class ListTemplatesResponse < Struct.new(
2413
- :next_token,
2414
- :templates)
2535
+ :templates,
2536
+ :next_token)
2415
2537
  SENSITIVE = []
2416
2538
  include Aws::Structure
2417
2539
  end
@@ -2459,6 +2581,10 @@ module Aws::ConnectCases
2459
2581
  #
2460
2582
  # @note OperandTwo is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of OperandTwo corresponding to the set member.
2461
2583
  #
2584
+ # @!attribute [rw] string_value
2585
+ # String value type.
2586
+ # @return [String]
2587
+ #
2462
2588
  # @!attribute [rw] boolean_value
2463
2589
  # Boolean value type.
2464
2590
  # @return [Boolean]
@@ -2471,26 +2597,22 @@ module Aws::ConnectCases
2471
2597
  # Empty value type.
2472
2598
  # @return [Types::EmptyOperandValue]
2473
2599
  #
2474
- # @!attribute [rw] string_value
2475
- # String value type.
2476
- # @return [String]
2477
- #
2478
2600
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/OperandTwo AWS API Documentation
2479
2601
  #
2480
2602
  class OperandTwo < Struct.new(
2603
+ :string_value,
2481
2604
  :boolean_value,
2482
2605
  :double_value,
2483
2606
  :empty_value,
2484
- :string_value,
2485
2607
  :unknown)
2486
2608
  SENSITIVE = []
2487
2609
  include Aws::Structure
2488
2610
  include Aws::Structure::Union
2489
2611
 
2612
+ class StringValue < OperandTwo; end
2490
2613
  class BooleanValue < OperandTwo; end
2491
2614
  class DoubleValue < OperandTwo; end
2492
2615
  class EmptyValue < OperandTwo; end
2493
- class StringValue < OperandTwo; end
2494
2616
  class Unknown < OperandTwo; end
2495
2617
  end
2496
2618
 
@@ -2520,14 +2642,14 @@ module Aws::ConnectCases
2520
2642
  #
2521
2643
  # @note RelatedItemContent is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of RelatedItemContent corresponding to the set member.
2522
2644
  #
2523
- # @!attribute [rw] comment
2524
- # Represents the content of a comment to be returned to agents.
2525
- # @return [Types::CommentContent]
2526
- #
2527
2645
  # @!attribute [rw] contact
2528
2646
  # Represents the content of a contact to be returned to agents.
2529
2647
  # @return [Types::ContactContent]
2530
2648
  #
2649
+ # @!attribute [rw] comment
2650
+ # Represents the content of a comment to be returned to agents.
2651
+ # @return [Types::CommentContent]
2652
+ #
2531
2653
  # @!attribute [rw] file
2532
2654
  # Represents the content of a File to be returned to agents.
2533
2655
  # @return [Types::FileContent]
@@ -2536,22 +2658,34 @@ module Aws::ConnectCases
2536
2658
  # Represents the content of an SLA to be returned to agents.
2537
2659
  # @return [Types::SlaContent]
2538
2660
  #
2661
+ # @!attribute [rw] connect_case
2662
+ # Content for a related Connect case
2663
+ # @return [Types::ConnectCaseContent]
2664
+ #
2665
+ # @!attribute [rw] custom
2666
+ # Content for a custom related item
2667
+ # @return [Types::CustomContent]
2668
+ #
2539
2669
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/RelatedItemContent AWS API Documentation
2540
2670
  #
2541
2671
  class RelatedItemContent < Struct.new(
2542
- :comment,
2543
2672
  :contact,
2673
+ :comment,
2544
2674
  :file,
2545
2675
  :sla,
2676
+ :connect_case,
2677
+ :custom,
2546
2678
  :unknown)
2547
2679
  SENSITIVE = []
2548
2680
  include Aws::Structure
2549
2681
  include Aws::Structure::Union
2550
2682
 
2551
- class Comment < RelatedItemContent; end
2552
2683
  class Contact < RelatedItemContent; end
2684
+ class Comment < RelatedItemContent; end
2553
2685
  class File < RelatedItemContent; end
2554
2686
  class Sla < RelatedItemContent; end
2687
+ class ConnectCase < RelatedItemContent; end
2688
+ class Custom < RelatedItemContent; end
2555
2689
  class Unknown < RelatedItemContent; end
2556
2690
  end
2557
2691
 
@@ -2575,15 +2709,15 @@ module Aws::ConnectCases
2575
2709
  #
2576
2710
  # @note RelatedItemInputContent is a union - when making an API calls you must set exactly one of the members.
2577
2711
  #
2578
- # @!attribute [rw] comment
2579
- # Represents the content of a comment to be returned to agents.
2580
- # @return [Types::CommentContent]
2581
- #
2582
2712
  # @!attribute [rw] contact
2583
2713
  # Object representing a contact in Amazon Connect as an API request
2584
2714
  # field.
2585
2715
  # @return [Types::Contact]
2586
2716
  #
2717
+ # @!attribute [rw] comment
2718
+ # Represents the content of a comment to be returned to agents.
2719
+ # @return [Types::CommentContent]
2720
+ #
2587
2721
  # @!attribute [rw] file
2588
2722
  # A file of related items.
2589
2723
  # @return [Types::FileContent]
@@ -2592,22 +2726,34 @@ module Aws::ConnectCases
2592
2726
  # Represents the content of an SLA to be created.
2593
2727
  # @return [Types::SlaInputContent]
2594
2728
  #
2729
+ # @!attribute [rw] connect_case
2730
+ # Input content for a related Connect case
2731
+ # @return [Types::ConnectCaseInputContent]
2732
+ #
2733
+ # @!attribute [rw] custom
2734
+ # Input content for a custom related item
2735
+ # @return [Types::CustomInputContent]
2736
+ #
2595
2737
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/RelatedItemInputContent AWS API Documentation
2596
2738
  #
2597
2739
  class RelatedItemInputContent < Struct.new(
2598
- :comment,
2599
2740
  :contact,
2741
+ :comment,
2600
2742
  :file,
2601
2743
  :sla,
2744
+ :connect_case,
2745
+ :custom,
2602
2746
  :unknown)
2603
2747
  SENSITIVE = []
2604
2748
  include Aws::Structure
2605
2749
  include Aws::Structure::Union
2606
2750
 
2607
- class Comment < RelatedItemInputContent; end
2608
2751
  class Contact < RelatedItemInputContent; end
2752
+ class Comment < RelatedItemInputContent; end
2609
2753
  class File < RelatedItemInputContent; end
2610
2754
  class Sla < RelatedItemInputContent; end
2755
+ class ConnectCase < RelatedItemInputContent; end
2756
+ class Custom < RelatedItemInputContent; end
2611
2757
  class Unknown < RelatedItemInputContent; end
2612
2758
  end
2613
2759
 
@@ -2616,14 +2762,14 @@ module Aws::ConnectCases
2616
2762
  #
2617
2763
  # @note RelatedItemTypeFilter is a union - when making an API calls you must set exactly one of the members.
2618
2764
  #
2619
- # @!attribute [rw] comment
2620
- # A filter for related items of type `Comment`.
2621
- # @return [Types::CommentFilter]
2622
- #
2623
2765
  # @!attribute [rw] contact
2624
2766
  # A filter for related items of type `Contact`.
2625
2767
  # @return [Types::ContactFilter]
2626
2768
  #
2769
+ # @!attribute [rw] comment
2770
+ # A filter for related items of type `Comment`.
2771
+ # @return [Types::CommentFilter]
2772
+ #
2627
2773
  # @!attribute [rw] file
2628
2774
  # A filter for related items of this type of `File`.
2629
2775
  # @return [Types::FileFilter]
@@ -2632,22 +2778,34 @@ module Aws::ConnectCases
2632
2778
  # Filter for related items of type `SLA`.
2633
2779
  # @return [Types::SlaFilter]
2634
2780
  #
2781
+ # @!attribute [rw] connect_case
2782
+ # Filter for related items of type Connect case
2783
+ # @return [Types::ConnectCaseFilter]
2784
+ #
2785
+ # @!attribute [rw] custom
2786
+ # Filter for related items of type Custom
2787
+ # @return [Types::CustomFilter]
2788
+ #
2635
2789
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/RelatedItemTypeFilter AWS API Documentation
2636
2790
  #
2637
2791
  class RelatedItemTypeFilter < Struct.new(
2638
- :comment,
2639
2792
  :contact,
2793
+ :comment,
2640
2794
  :file,
2641
2795
  :sla,
2796
+ :connect_case,
2797
+ :custom,
2642
2798
  :unknown)
2643
2799
  SENSITIVE = []
2644
2800
  include Aws::Structure
2645
2801
  include Aws::Structure::Union
2646
2802
 
2647
- class Comment < RelatedItemTypeFilter; end
2648
2803
  class Contact < RelatedItemTypeFilter; end
2804
+ class Comment < RelatedItemTypeFilter; end
2649
2805
  class File < RelatedItemTypeFilter; end
2650
2806
  class Sla < RelatedItemTypeFilter; end
2807
+ class ConnectCase < RelatedItemTypeFilter; end
2808
+ class Custom < RelatedItemTypeFilter; end
2651
2809
  class Unknown < RelatedItemTypeFilter; end
2652
2810
  end
2653
2811
 
@@ -2660,21 +2818,21 @@ module Aws::ConnectCases
2660
2818
  #
2661
2819
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html
2662
2820
  #
2663
- # @!attribute [rw] conditions
2664
- # List of conditions for the required rule; the first condition to
2665
- # evaluate to true dictates the value of the rule.
2666
- # @return [Array<Types::BooleanCondition>]
2667
- #
2668
2821
  # @!attribute [rw] default_value
2669
2822
  # The value of the rule (that is, whether the field is required)
2670
2823
  # should none of the conditions evaluate to true.
2671
2824
  # @return [Boolean]
2672
2825
  #
2826
+ # @!attribute [rw] conditions
2827
+ # List of conditions for the required rule; the first condition to
2828
+ # evaluate to true dictates the value of the rule.
2829
+ # @return [Array<Types::BooleanCondition>]
2830
+ #
2673
2831
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/RequiredCaseRule AWS API Documentation
2674
2832
  #
2675
2833
  class RequiredCaseRule < Struct.new(
2676
- :conditions,
2677
- :default_value)
2834
+ :default_value,
2835
+ :conditions)
2678
2836
  SENSITIVE = []
2679
2837
  include Aws::Structure
2680
2838
  end
@@ -2722,19 +2880,9 @@ module Aws::ConnectCases
2722
2880
  # The unique identifier of the Cases domain.
2723
2881
  # @return [String]
2724
2882
  #
2725
- # @!attribute [rw] fields
2726
- # The list of field identifiers to be returned as part of the
2727
- # response.
2728
- # @return [Array<Types::FieldIdentifier>]
2729
- #
2730
- # @!attribute [rw] filter
2731
- # A list of filter objects.
2732
- # @return [Types::CaseFilter]
2733
- #
2734
2883
  # @!attribute [rw] max_results
2735
- # The maximum number of cases to return. The current maximum supported
2736
- # value is 25. This is also the default value when no other value is
2737
- # provided.
2884
+ # The maximum number of cases to return. When no value is provided, 25
2885
+ # is the default.
2738
2886
  # @return [Integer]
2739
2887
  #
2740
2888
  # @!attribute [rw] next_token
@@ -2747,40 +2895,49 @@ module Aws::ConnectCases
2747
2895
  # A word or phrase used to perform a quick search.
2748
2896
  # @return [String]
2749
2897
  #
2898
+ # @!attribute [rw] filter
2899
+ # A list of filter objects.
2900
+ # @return [Types::CaseFilter]
2901
+ #
2750
2902
  # @!attribute [rw] sorts
2751
2903
  # A list of sorts where each sort specifies a field and their sort
2752
2904
  # order to be applied to the results.
2753
2905
  # @return [Array<Types::Sort>]
2754
2906
  #
2907
+ # @!attribute [rw] fields
2908
+ # The list of field identifiers to be returned as part of the
2909
+ # response.
2910
+ # @return [Array<Types::FieldIdentifier>]
2911
+ #
2755
2912
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SearchCasesRequest AWS API Documentation
2756
2913
  #
2757
2914
  class SearchCasesRequest < Struct.new(
2758
2915
  :domain_id,
2759
- :fields,
2760
- :filter,
2761
2916
  :max_results,
2762
2917
  :next_token,
2763
2918
  :search_term,
2764
- :sorts)
2919
+ :filter,
2920
+ :sorts,
2921
+ :fields)
2765
2922
  SENSITIVE = []
2766
2923
  include Aws::Structure
2767
2924
  end
2768
2925
 
2769
- # @!attribute [rw] cases
2770
- # A list of case documents where each case contains the properties
2771
- # `CaseId` and `Fields` where each field is a complex union structure.
2772
- # @return [Array<Types::SearchCasesResponseItem>]
2773
- #
2774
2926
  # @!attribute [rw] next_token
2775
2927
  # The token for the next set of results. This is null if there are no
2776
2928
  # more results to return.
2777
2929
  # @return [String]
2778
2930
  #
2931
+ # @!attribute [rw] cases
2932
+ # A list of case documents where each case contains the properties
2933
+ # `CaseId` and `Fields` where each field is a complex union structure.
2934
+ # @return [Array<Types::SearchCasesResponseItem>]
2935
+ #
2779
2936
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SearchCasesResponse AWS API Documentation
2780
2937
  #
2781
2938
  class SearchCasesResponse < Struct.new(
2782
- :cases,
2783
- :next_token)
2939
+ :next_token,
2940
+ :cases)
2784
2941
  SENSITIVE = []
2785
2942
  include Aws::Structure
2786
2943
  end
@@ -2791,6 +2948,10 @@ module Aws::ConnectCases
2791
2948
  # A unique identifier of the case.
2792
2949
  # @return [String]
2793
2950
  #
2951
+ # @!attribute [rw] template_id
2952
+ # A unique identifier of a template.
2953
+ # @return [String]
2954
+ #
2794
2955
  # @!attribute [rw] fields
2795
2956
  # List of case field values.
2796
2957
  # @return [Array<Types::FieldValue>]
@@ -2800,33 +2961,24 @@ module Aws::ConnectCases
2800
2961
  # are used to organize, track, or control access for this resource.
2801
2962
  # @return [Hash<String,String>]
2802
2963
  #
2803
- # @!attribute [rw] template_id
2804
- # A unique identifier of a template.
2805
- # @return [String]
2806
- #
2807
2964
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SearchCasesResponseItem AWS API Documentation
2808
2965
  #
2809
2966
  class SearchCasesResponseItem < Struct.new(
2810
2967
  :case_id,
2968
+ :template_id,
2811
2969
  :fields,
2812
- :tags,
2813
- :template_id)
2970
+ :tags)
2814
2971
  SENSITIVE = []
2815
2972
  include Aws::Structure
2816
2973
  end
2817
2974
 
2818
- # @!attribute [rw] case_id
2819
- # A unique identifier of the case.
2820
- # @return [String]
2821
- #
2822
2975
  # @!attribute [rw] domain_id
2823
2976
  # The unique identifier of the Cases domain.
2824
2977
  # @return [String]
2825
2978
  #
2826
- # @!attribute [rw] filters
2827
- # The list of types of related items and their parameters to use for
2828
- # filtering.
2829
- # @return [Array<Types::RelatedItemTypeFilter>]
2979
+ # @!attribute [rw] case_id
2980
+ # A unique identifier of the case.
2981
+ # @return [String]
2830
2982
  #
2831
2983
  # @!attribute [rw] max_results
2832
2984
  # The maximum number of results to return per page.
@@ -2838,14 +2990,19 @@ module Aws::ConnectCases
2838
2990
  # results.
2839
2991
  # @return [String]
2840
2992
  #
2993
+ # @!attribute [rw] filters
2994
+ # The list of types of related items and their parameters to use for
2995
+ # filtering.
2996
+ # @return [Array<Types::RelatedItemTypeFilter>]
2997
+ #
2841
2998
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SearchRelatedItemsRequest AWS API Documentation
2842
2999
  #
2843
3000
  class SearchRelatedItemsRequest < Struct.new(
2844
- :case_id,
2845
3001
  :domain_id,
2846
- :filters,
3002
+ :case_id,
2847
3003
  :max_results,
2848
- :next_token)
3004
+ :next_token,
3005
+ :filters)
2849
3006
  SENSITIVE = []
2850
3007
  include Aws::Structure
2851
3008
  end
@@ -2870,6 +3027,14 @@ module Aws::ConnectCases
2870
3027
 
2871
3028
  # A list of items that represent RelatedItems.
2872
3029
  #
3030
+ # @!attribute [rw] related_item_id
3031
+ # Unique identifier of a related item.
3032
+ # @return [String]
3033
+ #
3034
+ # @!attribute [rw] type
3035
+ # Type of a related item.
3036
+ # @return [String]
3037
+ #
2873
3038
  # @!attribute [rw] association_time
2874
3039
  # Time at which a related item was associated with a case.
2875
3040
  # @return [Time]
@@ -2878,32 +3043,24 @@ module Aws::ConnectCases
2878
3043
  # Represents the content of a particular type of related item.
2879
3044
  # @return [Types::RelatedItemContent]
2880
3045
  #
2881
- # @!attribute [rw] performed_by
2882
- # Represents the creator of the related item.
2883
- # @return [Types::UserUnion]
2884
- #
2885
- # @!attribute [rw] related_item_id
2886
- # Unique identifier of a related item.
2887
- # @return [String]
2888
- #
2889
3046
  # @!attribute [rw] tags
2890
3047
  # A map of of key-value pairs that represent tags on a resource. Tags
2891
3048
  # are used to organize, track, or control access for this resource.
2892
3049
  # @return [Hash<String,String>]
2893
3050
  #
2894
- # @!attribute [rw] type
2895
- # Type of a related item.
2896
- # @return [String]
3051
+ # @!attribute [rw] performed_by
3052
+ # Represents the creator of the related item.
3053
+ # @return [Types::UserUnion]
2897
3054
  #
2898
3055
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SearchRelatedItemsResponseItem AWS API Documentation
2899
3056
  #
2900
3057
  class SearchRelatedItemsResponseItem < Struct.new(
3058
+ :related_item_id,
3059
+ :type,
2901
3060
  :association_time,
2902
3061
  :content,
2903
- :performed_by,
2904
- :related_item_id,
2905
3062
  :tags,
2906
- :type)
3063
+ :performed_by)
2907
3064
  SENSITIVE = []
2908
3065
  include Aws::Structure
2909
3066
  end
@@ -2952,22 +3109,22 @@ module Aws::ConnectCases
2952
3109
 
2953
3110
  # Represents an SLA configuration.
2954
3111
  #
2955
- # @!attribute [rw] completion_time
2956
- # Time at which an SLA was completed.
2957
- # @return [Time]
2958
- #
2959
- # @!attribute [rw] field_id
2960
- # Unique identifier of a field.
2961
- # @return [String]
2962
- #
2963
3112
  # @!attribute [rw] name
2964
3113
  # Name of an SLA.
2965
3114
  # @return [String]
2966
3115
  #
3116
+ # @!attribute [rw] type
3117
+ # Type of SLA.
3118
+ # @return [String]
3119
+ #
2967
3120
  # @!attribute [rw] status
2968
3121
  # Status of an SLA.
2969
3122
  # @return [String]
2970
3123
  #
3124
+ # @!attribute [rw] field_id
3125
+ # Unique identifier of a field.
3126
+ # @return [String]
3127
+ #
2971
3128
  # @!attribute [rw] target_field_values
2972
3129
  # Represents a list of target field values for the fieldId specified
2973
3130
  # in SlaConfiguration.
@@ -2977,20 +3134,20 @@ module Aws::ConnectCases
2977
3134
  # Target time by which an SLA should be completed.
2978
3135
  # @return [Time]
2979
3136
  #
2980
- # @!attribute [rw] type
2981
- # Type of SLA.
2982
- # @return [String]
3137
+ # @!attribute [rw] completion_time
3138
+ # Time at which an SLA was completed.
3139
+ # @return [Time]
2983
3140
  #
2984
3141
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SlaConfiguration AWS API Documentation
2985
3142
  #
2986
3143
  class SlaConfiguration < Struct.new(
2987
- :completion_time,
2988
- :field_id,
2989
3144
  :name,
3145
+ :type,
2990
3146
  :status,
3147
+ :field_id,
2991
3148
  :target_field_values,
2992
3149
  :target_time,
2993
- :type)
3150
+ :completion_time)
2994
3151
  SENSITIVE = [:name]
2995
3152
  include Aws::Structure
2996
3153
  end
@@ -3030,14 +3187,18 @@ module Aws::ConnectCases
3030
3187
 
3031
3188
  # Represents the input configuration of an SLA being created.
3032
3189
  #
3033
- # @!attribute [rw] field_id
3034
- # Unique identifier of a field.
3035
- # @return [String]
3036
- #
3037
3190
  # @!attribute [rw] name
3038
3191
  # Name of an SLA.
3039
3192
  # @return [String]
3040
3193
  #
3194
+ # @!attribute [rw] type
3195
+ # Type of SLA.
3196
+ # @return [String]
3197
+ #
3198
+ # @!attribute [rw] field_id
3199
+ # Unique identifier of a field.
3200
+ # @return [String]
3201
+ #
3041
3202
  # @!attribute [rw] target_field_values
3042
3203
  # Represents a list of target field values for the fieldId specified
3043
3204
  # in SlaInputConfiguration. The SLA is considered met if any one of
@@ -3048,18 +3209,14 @@ module Aws::ConnectCases
3048
3209
  # Target duration in minutes within which an SLA should be completed.
3049
3210
  # @return [Integer]
3050
3211
  #
3051
- # @!attribute [rw] type
3052
- # Type of SLA.
3053
- # @return [String]
3054
- #
3055
3212
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SlaInputConfiguration AWS API Documentation
3056
3213
  #
3057
3214
  class SlaInputConfiguration < Struct.new(
3058
- :field_id,
3059
3215
  :name,
3216
+ :type,
3217
+ :field_id,
3060
3218
  :target_field_values,
3061
- :target_sla_minutes,
3062
- :type)
3219
+ :target_sla_minutes)
3063
3220
  SENSITIVE = [:name]
3064
3221
  include Aws::Structure
3065
3222
  end
@@ -3150,29 +3307,29 @@ module Aws::ConnectCases
3150
3307
 
3151
3308
  # Template summary information.
3152
3309
  #
3153
- # @!attribute [rw] name
3154
- # The template name.
3155
- # @return [String]
3156
- #
3157
- # @!attribute [rw] status
3158
- # The status of the template.
3310
+ # @!attribute [rw] template_id
3311
+ # The unique identifier for the template.
3159
3312
  # @return [String]
3160
3313
  #
3161
3314
  # @!attribute [rw] template_arn
3162
3315
  # The Amazon Resource Name (ARN) of the template.
3163
3316
  # @return [String]
3164
3317
  #
3165
- # @!attribute [rw] template_id
3166
- # The unique identifier for the template.
3318
+ # @!attribute [rw] name
3319
+ # The template name.
3320
+ # @return [String]
3321
+ #
3322
+ # @!attribute [rw] status
3323
+ # The status of the template.
3167
3324
  # @return [String]
3168
3325
  #
3169
3326
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/TemplateSummary AWS API Documentation
3170
3327
  #
3171
3328
  class TemplateSummary < Struct.new(
3172
- :name,
3173
- :status,
3329
+ :template_id,
3174
3330
  :template_arn,
3175
- :template_id)
3331
+ :name,
3332
+ :status)
3176
3333
  SENSITIVE = []
3177
3334
  include Aws::Structure
3178
3335
  end
@@ -3208,14 +3365,14 @@ module Aws::ConnectCases
3208
3365
  include Aws::Structure
3209
3366
  end
3210
3367
 
3211
- # @!attribute [rw] case_id
3212
- # A unique identifier of the case.
3213
- # @return [String]
3214
- #
3215
3368
  # @!attribute [rw] domain_id
3216
3369
  # The unique identifier of the Cases domain.
3217
3370
  # @return [String]
3218
3371
  #
3372
+ # @!attribute [rw] case_id
3373
+ # A unique identifier of the case.
3374
+ # @return [String]
3375
+ #
3219
3376
  # @!attribute [rw] fields
3220
3377
  # An array of objects with `fieldId` (matching
3221
3378
  # ListFields/DescribeField) and value union data, structured identical
@@ -3229,8 +3386,8 @@ module Aws::ConnectCases
3229
3386
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/UpdateCaseRequest AWS API Documentation
3230
3387
  #
3231
3388
  class UpdateCaseRequest < Struct.new(
3232
- :case_id,
3233
3389
  :domain_id,
3390
+ :case_id,
3234
3391
  :fields,
3235
3392
  :performed_by)
3236
3393
  SENSITIVE = []
@@ -3241,22 +3398,22 @@ module Aws::ConnectCases
3241
3398
  #
3242
3399
  class UpdateCaseResponse < Aws::EmptyStructure; end
3243
3400
 
3244
- # @!attribute [rw] case_rule_id
3245
- # Unique identifier of a case rule.
3246
- # @return [String]
3247
- #
3248
- # @!attribute [rw] description
3249
- # Description of a case rule.
3250
- # @return [String]
3251
- #
3252
3401
  # @!attribute [rw] domain_id
3253
3402
  # Unique identifier of a Cases domain.
3254
3403
  # @return [String]
3255
3404
  #
3405
+ # @!attribute [rw] case_rule_id
3406
+ # Unique identifier of a case rule.
3407
+ # @return [String]
3408
+ #
3256
3409
  # @!attribute [rw] name
3257
3410
  # Name of the case rule.
3258
3411
  # @return [String]
3259
3412
  #
3413
+ # @!attribute [rw] description
3414
+ # Description of a case rule.
3415
+ # @return [String]
3416
+ #
3260
3417
  # @!attribute [rw] rule
3261
3418
  # Represents what rule type should take place, under what conditions.
3262
3419
  # @return [Types::CaseRuleDetails]
@@ -3264,10 +3421,10 @@ module Aws::ConnectCases
3264
3421
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/UpdateCaseRuleRequest AWS API Documentation
3265
3422
  #
3266
3423
  class UpdateCaseRuleRequest < Struct.new(
3267
- :case_rule_id,
3268
- :description,
3269
3424
  :domain_id,
3425
+ :case_rule_id,
3270
3426
  :name,
3427
+ :description,
3271
3428
  :rule)
3272
3429
  SENSITIVE = []
3273
3430
  include Aws::Structure
@@ -3277,10 +3434,6 @@ module Aws::ConnectCases
3277
3434
  #
3278
3435
  class UpdateCaseRuleResponse < Aws::EmptyStructure; end
3279
3436
 
3280
- # @!attribute [rw] description
3281
- # The description of a field.
3282
- # @return [String]
3283
- #
3284
3437
  # @!attribute [rw] domain_id
3285
3438
  # The unique identifier of the Cases domain.
3286
3439
  # @return [String]
@@ -3293,13 +3446,17 @@ module Aws::ConnectCases
3293
3446
  # The name of the field.
3294
3447
  # @return [String]
3295
3448
  #
3449
+ # @!attribute [rw] description
3450
+ # The description of a field.
3451
+ # @return [String]
3452
+ #
3296
3453
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/UpdateFieldRequest AWS API Documentation
3297
3454
  #
3298
3455
  class UpdateFieldRequest < Struct.new(
3299
- :description,
3300
3456
  :domain_id,
3301
3457
  :field_id,
3302
- :name)
3458
+ :name,
3459
+ :description)
3303
3460
  SENSITIVE = []
3304
3461
  include Aws::Structure
3305
3462
  end
@@ -3308,11 +3465,6 @@ module Aws::ConnectCases
3308
3465
  #
3309
3466
  class UpdateFieldResponse < Aws::EmptyStructure; end
3310
3467
 
3311
- # @!attribute [rw] content
3312
- # Information about which fields will be present in the layout, the
3313
- # order of the fields.
3314
- # @return [Types::LayoutContent]
3315
- #
3316
3468
  # @!attribute [rw] domain_id
3317
3469
  # The unique identifier of the Cases domain.
3318
3470
  # @return [String]
@@ -3325,13 +3477,18 @@ module Aws::ConnectCases
3325
3477
  # The name of the layout. It must be unique per domain.
3326
3478
  # @return [String]
3327
3479
  #
3480
+ # @!attribute [rw] content
3481
+ # Information about which fields will be present in the layout, the
3482
+ # order of the fields.
3483
+ # @return [Types::LayoutContent]
3484
+ #
3328
3485
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/UpdateLayoutRequest AWS API Documentation
3329
3486
  #
3330
3487
  class UpdateLayoutRequest < Struct.new(
3331
- :content,
3332
3488
  :domain_id,
3333
3489
  :layout_id,
3334
- :name)
3490
+ :name,
3491
+ :content)
3335
3492
  SENSITIVE = []
3336
3493
  include Aws::Structure
3337
3494
  end
@@ -3340,27 +3497,35 @@ module Aws::ConnectCases
3340
3497
  #
3341
3498
  class UpdateLayoutResponse < Aws::EmptyStructure; end
3342
3499
 
3343
- # @!attribute [rw] description
3344
- # A brief description of the template.
3345
- # @return [String]
3346
- #
3347
3500
  # @!attribute [rw] domain_id
3348
3501
  # The unique identifier of the Cases domain.
3349
3502
  # @return [String]
3350
3503
  #
3351
- # @!attribute [rw] layout_configuration
3352
- # Configuration of layouts associated to the template.
3353
- # @return [Types::LayoutConfiguration]
3504
+ # @!attribute [rw] template_id
3505
+ # A unique identifier for the template.
3506
+ # @return [String]
3354
3507
  #
3355
3508
  # @!attribute [rw] name
3356
3509
  # The name of the template. It must be unique per domain.
3357
3510
  # @return [String]
3358
3511
  #
3512
+ # @!attribute [rw] description
3513
+ # A brief description of the template.
3514
+ # @return [String]
3515
+ #
3516
+ # @!attribute [rw] layout_configuration
3517
+ # Configuration of layouts associated to the template.
3518
+ # @return [Types::LayoutConfiguration]
3519
+ #
3359
3520
  # @!attribute [rw] required_fields
3360
3521
  # A list of fields that must contain a value for a case to be
3361
3522
  # successfully created with this template.
3362
3523
  # @return [Array<Types::RequiredField>]
3363
3524
  #
3525
+ # @!attribute [rw] status
3526
+ # The status of the template.
3527
+ # @return [String]
3528
+ #
3364
3529
  # @!attribute [rw] rules
3365
3530
  # A list of case rules (also known as [case field conditions][1]) on a
3366
3531
  # template.
@@ -3370,25 +3535,17 @@ module Aws::ConnectCases
3370
3535
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html
3371
3536
  # @return [Array<Types::TemplateRule>]
3372
3537
  #
3373
- # @!attribute [rw] status
3374
- # The status of the template.
3375
- # @return [String]
3376
- #
3377
- # @!attribute [rw] template_id
3378
- # A unique identifier for the template.
3379
- # @return [String]
3380
- #
3381
3538
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/UpdateTemplateRequest AWS API Documentation
3382
3539
  #
3383
3540
  class UpdateTemplateRequest < Struct.new(
3384
- :description,
3385
3541
  :domain_id,
3386
- :layout_configuration,
3542
+ :template_id,
3387
3543
  :name,
3544
+ :description,
3545
+ :layout_configuration,
3388
3546
  :required_fields,
3389
- :rules,
3390
3547
  :status,
3391
- :template_id)
3548
+ :rules)
3392
3549
  SENSITIVE = []
3393
3550
  include Aws::Structure
3394
3551
  end
@@ -3403,26 +3560,26 @@ module Aws::ConnectCases
3403
3560
  #
3404
3561
  # @note UserUnion is a union - when returned from an API call exactly one value will be set and the returned type will be a subclass of UserUnion corresponding to the set member.
3405
3562
  #
3406
- # @!attribute [rw] custom_entity
3407
- # Any provided entity.
3408
- # @return [String]
3409
- #
3410
3563
  # @!attribute [rw] user_arn
3411
3564
  # Represents the Amazon Connect ARN of the user.
3412
3565
  # @return [String]
3413
3566
  #
3567
+ # @!attribute [rw] custom_entity
3568
+ # Any provided entity.
3569
+ # @return [String]
3570
+ #
3414
3571
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/UserUnion AWS API Documentation
3415
3572
  #
3416
3573
  class UserUnion < Struct.new(
3417
- :custom_entity,
3418
3574
  :user_arn,
3575
+ :custom_entity,
3419
3576
  :unknown)
3420
3577
  SENSITIVE = [:custom_entity]
3421
3578
  include Aws::Structure
3422
3579
  include Aws::Structure::Union
3423
3580
 
3424
- class CustomEntity < UserUnion; end
3425
3581
  class UserArn < UserUnion; end
3582
+ class CustomEntity < UserUnion; end
3426
3583
  class Unknown < UserUnion; end
3427
3584
  end
3428
3585