aws-sdk-connectcases 1.50.0 → 1.52.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 `ConnectCase` type related item.
582
+ #
583
+ # @!attribute [rw] case_id
584
+ # A unique identifier of the 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 `ConnectCase`.
596
+ #
597
+ # @!attribute [rw] case_id
598
+ # A unique identifier of the case.
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 content of a `ConnectCase` related item.
610
+ #
611
+ # @!attribute [rw] case_id
612
+ # A unique identifier of the case.
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,132 @@ 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` type 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 `Custom` type related items. Only one value can
1035
+ # be provided.
1036
+ #
1037
+ # @note CustomFieldsFilter is a union - when making an API calls you must set exactly one of the members.
1038
+ #
1039
+ # @!attribute [rw] field
1040
+ # A filter for fields. Only one value can be provided.
1041
+ # @return [Types::FieldFilter]
1042
+ #
1043
+ # @!attribute [rw] not
1044
+ # Excludes items matching the filter.
1045
+ # @return [Types::CustomFieldsFilter]
1046
+ #
1047
+ # @!attribute [rw] and_all
1048
+ # Provides "and all" filtering.
1049
+ # @return [Array<Types::CustomFieldsFilter>]
1050
+ #
1051
+ # @!attribute [rw] or_all
1052
+ # Provides "or all" filtering.
1053
+ # @return [Array<Types::CustomFieldsFilter>]
1054
+ #
1055
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CustomFieldsFilter AWS API Documentation
1056
+ #
1057
+ class CustomFieldsFilter < Struct.new(
1058
+ :field,
1059
+ :not,
1060
+ :and_all,
1061
+ :or_all,
1062
+ :unknown)
1063
+ SENSITIVE = []
1064
+ include Aws::Structure
1065
+ include Aws::Structure::Union
1066
+
1067
+ class Field < CustomFieldsFilter; end
1068
+ class Not < CustomFieldsFilter; end
1069
+ class AndAll < CustomFieldsFilter; end
1070
+ class OrAll < CustomFieldsFilter; end
1071
+ class Unknown < CustomFieldsFilter; end
1072
+ end
1073
+
1074
+ # A filter for related items of type `Custom`.
1075
+ #
1076
+ # @!attribute [rw] fields
1077
+ # Filter conditions for custom fields.
1078
+ # @return [Types::CustomFieldsFilter]
1079
+ #
1080
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CustomFilter AWS API Documentation
1081
+ #
1082
+ class CustomFilter < Struct.new(
1083
+ :fields)
1084
+ SENSITIVE = []
1085
+ include Aws::Structure
1086
+ end
1087
+
1088
+ # Represents the content of a `Custom` related item.
1089
+ #
1090
+ # @!attribute [rw] fields
1091
+ # List of field values for the `Custom` related item.
1092
+ # @return [Array<Types::FieldValue>]
981
1093
  #
1094
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/CustomInputContent AWS API Documentation
1095
+ #
1096
+ class CustomInputContent < Struct.new(
1097
+ :fields)
1098
+ SENSITIVE = []
1099
+ include Aws::Structure
1100
+ end
1101
+
982
1102
  # @!attribute [rw] domain_id
983
1103
  # A unique identifier of the Cases domain.
984
1104
  # @return [String]
985
1105
  #
1106
+ # @!attribute [rw] case_id
1107
+ # A unique identifier of the case.
1108
+ # @return [String]
1109
+ #
986
1110
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteCaseRequest AWS API Documentation
987
1111
  #
988
1112
  class DeleteCaseRequest < Struct.new(
989
- :case_id,
990
- :domain_id)
1113
+ :domain_id,
1114
+ :case_id)
991
1115
  SENSITIVE = []
992
1116
  include Aws::Structure
993
1117
  end
@@ -996,19 +1120,19 @@ module Aws::ConnectCases
996
1120
  #
997
1121
  class DeleteCaseResponse < Aws::EmptyStructure; end
998
1122
 
999
- # @!attribute [rw] case_rule_id
1000
- # Unique identifier of a case rule.
1001
- # @return [String]
1002
- #
1003
1123
  # @!attribute [rw] domain_id
1004
1124
  # Unique identifier of a Cases domain.
1005
1125
  # @return [String]
1006
1126
  #
1127
+ # @!attribute [rw] case_rule_id
1128
+ # Unique identifier of a case rule.
1129
+ # @return [String]
1130
+ #
1007
1131
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteCaseRuleRequest AWS API Documentation
1008
1132
  #
1009
1133
  class DeleteCaseRuleRequest < Struct.new(
1010
- :case_rule_id,
1011
- :domain_id)
1134
+ :domain_id,
1135
+ :case_rule_id)
1012
1136
  SENSITIVE = []
1013
1137
  include Aws::Structure
1014
1138
  end
@@ -1075,14 +1199,14 @@ module Aws::ConnectCases
1075
1199
  #
1076
1200
  class DeleteLayoutResponse < Aws::EmptyStructure; end
1077
1201
 
1078
- # @!attribute [rw] case_id
1079
- # A unique identifier of the case.
1080
- # @return [String]
1081
- #
1082
1202
  # @!attribute [rw] domain_id
1083
1203
  # A unique identifier of the Cases domain.
1084
1204
  # @return [String]
1085
1205
  #
1206
+ # @!attribute [rw] case_id
1207
+ # A unique identifier of the case.
1208
+ # @return [String]
1209
+ #
1086
1210
  # @!attribute [rw] related_item_id
1087
1211
  # A unique identifier of a related item.
1088
1212
  # @return [String]
@@ -1090,8 +1214,8 @@ module Aws::ConnectCases
1090
1214
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DeleteRelatedItemRequest AWS API Documentation
1091
1215
  #
1092
1216
  class DeleteRelatedItemRequest < Struct.new(
1093
- :case_id,
1094
1217
  :domain_id,
1218
+ :case_id,
1095
1219
  :related_item_id)
1096
1220
  SENSITIVE = []
1097
1221
  include Aws::Structure
@@ -1124,14 +1248,14 @@ module Aws::ConnectCases
1124
1248
 
1125
1249
  # Object for the summarized details of the domain.
1126
1250
  #
1127
- # @!attribute [rw] domain_arn
1128
- # The Amazon Resource Name (ARN) of the domain.
1129
- # @return [String]
1130
- #
1131
1251
  # @!attribute [rw] domain_id
1132
1252
  # The unique identifier of the domain.
1133
1253
  # @return [String]
1134
1254
  #
1255
+ # @!attribute [rw] domain_arn
1256
+ # The Amazon Resource Name (ARN) of the domain.
1257
+ # @return [String]
1258
+ #
1135
1259
  # @!attribute [rw] name
1136
1260
  # The name of the domain.
1137
1261
  # @return [String]
@@ -1139,8 +1263,8 @@ module Aws::ConnectCases
1139
1263
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/DomainSummary AWS API Documentation
1140
1264
  #
1141
1265
  class DomainSummary < Struct.new(
1142
- :domain_arn,
1143
1266
  :domain_id,
1267
+ :domain_arn,
1144
1268
  :name)
1145
1269
  SENSITIVE = []
1146
1270
  include Aws::Structure
@@ -1218,14 +1342,14 @@ module Aws::ConnectCases
1218
1342
 
1219
1343
  # Object for errors on fields.
1220
1344
  #
1221
- # @!attribute [rw] error_code
1222
- # The error code from getting a field.
1223
- # @return [String]
1224
- #
1225
1345
  # @!attribute [rw] id
1226
1346
  # The field identifier that caused the error.
1227
1347
  # @return [String]
1228
1348
  #
1349
+ # @!attribute [rw] error_code
1350
+ # The error code from getting a field.
1351
+ # @return [String]
1352
+ #
1229
1353
  # @!attribute [rw] message
1230
1354
  # The error message from getting a field.
1231
1355
  # @return [String]
@@ -1233,8 +1357,8 @@ module Aws::ConnectCases
1233
1357
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/FieldError AWS API Documentation
1234
1358
  #
1235
1359
  class FieldError < Struct.new(
1236
- :error_code,
1237
1360
  :id,
1361
+ :error_code,
1238
1362
  :message)
1239
1363
  SENSITIVE = []
1240
1364
  include Aws::Structure
@@ -1244,11 +1368,11 @@ module Aws::ConnectCases
1244
1368
  #
1245
1369
  # @note FieldFilter is a union - when making an API calls you must set exactly one of the members.
1246
1370
  #
1247
- # @!attribute [rw] contains
1371
+ # @!attribute [rw] equal_to
1248
1372
  # Object containing field identifier and value information.
1249
1373
  # @return [Types::FieldValue]
1250
1374
  #
1251
- # @!attribute [rw] equal_to
1375
+ # @!attribute [rw] contains
1252
1376
  # Object containing field identifier and value information.
1253
1377
  # @return [Types::FieldValue]
1254
1378
  #
@@ -1271,8 +1395,8 @@ module Aws::ConnectCases
1271
1395
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/FieldFilter AWS API Documentation
1272
1396
  #
1273
1397
  class FieldFilter < Struct.new(
1274
- :contains,
1275
1398
  :equal_to,
1399
+ :contains,
1276
1400
  :greater_than,
1277
1401
  :greater_than_or_equal_to,
1278
1402
  :less_than,
@@ -1282,8 +1406,8 @@ module Aws::ConnectCases
1282
1406
  include Aws::Structure
1283
1407
  include Aws::Structure::Union
1284
1408
 
1285
- class Contains < FieldFilter; end
1286
1409
  class EqualTo < FieldFilter; end
1410
+ class Contains < FieldFilter; end
1287
1411
  class GreaterThan < FieldFilter; end
1288
1412
  class GreaterThanOrEqualTo < FieldFilter; end
1289
1413
  class LessThan < FieldFilter; end
@@ -1293,19 +1417,19 @@ module Aws::ConnectCases
1293
1417
 
1294
1418
  # Object for a group of fields and associated properties.
1295
1419
  #
1296
- # @!attribute [rw] fields
1297
- # Represents an ordered list containing field related information.
1298
- # @return [Array<Types::FieldItem>]
1299
- #
1300
1420
  # @!attribute [rw] name
1301
1421
  # Name of the field group.
1302
1422
  # @return [String]
1303
1423
  #
1424
+ # @!attribute [rw] fields
1425
+ # Represents an ordered list containing field related information.
1426
+ # @return [Array<Types::FieldItem>]
1427
+ #
1304
1428
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/FieldGroup AWS API Documentation
1305
1429
  #
1306
1430
  class FieldGroup < Struct.new(
1307
- :fields,
1308
- :name)
1431
+ :name,
1432
+ :fields)
1309
1433
  SENSITIVE = []
1310
1434
  include Aws::Structure
1311
1435
  end
@@ -1340,11 +1464,6 @@ module Aws::ConnectCases
1340
1464
 
1341
1465
  # Object for field Options information.
1342
1466
  #
1343
- # @!attribute [rw] active
1344
- # Describes whether the `FieldOption` is active (displayed) or
1345
- # inactive.
1346
- # @return [Boolean]
1347
- #
1348
1467
  # @!attribute [rw] name
1349
1468
  # `FieldOptionName` has max length 100 and disallows trailing spaces.
1350
1469
  # @return [String]
@@ -1354,26 +1473,31 @@ module Aws::ConnectCases
1354
1473
  # hyphens and underscores.
1355
1474
  # @return [String]
1356
1475
  #
1476
+ # @!attribute [rw] active
1477
+ # Describes whether the `FieldOption` is active (displayed) or
1478
+ # inactive.
1479
+ # @return [Boolean]
1480
+ #
1357
1481
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/FieldOption AWS API Documentation
1358
1482
  #
1359
1483
  class FieldOption < Struct.new(
1360
- :active,
1361
1484
  :name,
1362
- :value)
1485
+ :value,
1486
+ :active)
1363
1487
  SENSITIVE = []
1364
1488
  include Aws::Structure
1365
1489
  end
1366
1490
 
1367
1491
  # Object for field Options errors.
1368
1492
  #
1369
- # @!attribute [rw] error_code
1370
- # Error code from creating or updating field option.
1371
- # @return [String]
1372
- #
1373
1493
  # @!attribute [rw] message
1374
1494
  # Error message from creating or updating field option.
1375
1495
  # @return [String]
1376
1496
  #
1497
+ # @!attribute [rw] error_code
1498
+ # Error code from creating or updating field option.
1499
+ # @return [String]
1500
+ #
1377
1501
  # @!attribute [rw] value
1378
1502
  # The field option value that caused the error.
1379
1503
  # @return [String]
@@ -1381,8 +1505,8 @@ module Aws::ConnectCases
1381
1505
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/FieldOptionError AWS API Documentation
1382
1506
  #
1383
1507
  class FieldOptionError < Struct.new(
1384
- :error_code,
1385
1508
  :message,
1509
+ :error_code,
1386
1510
  :value)
1387
1511
  SENSITIVE = []
1388
1512
  include Aws::Structure
@@ -1390,34 +1514,34 @@ module Aws::ConnectCases
1390
1514
 
1391
1515
  # Object for the summarized details of the field.
1392
1516
  #
1393
- # @!attribute [rw] field_arn
1394
- # The Amazon Resource Name (ARN) of the field.
1395
- # @return [String]
1396
- #
1397
1517
  # @!attribute [rw] field_id
1398
1518
  # The unique identifier of a field.
1399
1519
  # @return [String]
1400
1520
  #
1401
- # @!attribute [rw] name
1402
- # Name of the field.
1521
+ # @!attribute [rw] field_arn
1522
+ # The Amazon Resource Name (ARN) of the field.
1403
1523
  # @return [String]
1404
1524
  #
1405
- # @!attribute [rw] namespace
1406
- # The namespace of a field.
1525
+ # @!attribute [rw] name
1526
+ # Name of the field.
1407
1527
  # @return [String]
1408
1528
  #
1409
1529
  # @!attribute [rw] type
1410
1530
  # The type of a field.
1411
1531
  # @return [String]
1412
1532
  #
1533
+ # @!attribute [rw] namespace
1534
+ # The namespace of a field.
1535
+ # @return [String]
1536
+ #
1413
1537
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/FieldSummary AWS API Documentation
1414
1538
  #
1415
1539
  class FieldSummary < Struct.new(
1416
- :field_arn,
1417
1540
  :field_id,
1541
+ :field_arn,
1418
1542
  :name,
1419
- :namespace,
1420
- :type)
1543
+ :type,
1544
+ :namespace)
1421
1545
  SENSITIVE = []
1422
1546
  include Aws::Structure
1423
1547
  end
@@ -1452,24 +1576,24 @@ module Aws::ConnectCases
1452
1576
  #
1453
1577
  # @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
1578
  #
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]
1579
+ # @!attribute [rw] string_value
1580
+ # String value type.
1581
+ # @return [String]
1459
1582
  #
1460
1583
  # @!attribute [rw] double_value
1461
1584
  # Can be either null, or have a Double number value type. Only one
1462
1585
  # value can be provided.
1463
1586
  # @return [Float]
1464
1587
  #
1588
+ # @!attribute [rw] boolean_value
1589
+ # Can be either null, or have a Boolean value type. Only one value can
1590
+ # be provided.
1591
+ # @return [Boolean]
1592
+ #
1465
1593
  # @!attribute [rw] empty_value
1466
1594
  # An empty value.
1467
1595
  # @return [Types::EmptyFieldValue]
1468
1596
  #
1469
- # @!attribute [rw] string_value
1470
- # String value type.
1471
- # @return [String]
1472
- #
1473
1597
  # @!attribute [rw] user_arn_value
1474
1598
  # Represents the user that performed the audit.
1475
1599
  # @return [String]
@@ -1477,20 +1601,20 @@ module Aws::ConnectCases
1477
1601
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/FieldValueUnion AWS API Documentation
1478
1602
  #
1479
1603
  class FieldValueUnion < Struct.new(
1480
- :boolean_value,
1604
+ :string_value,
1481
1605
  :double_value,
1606
+ :boolean_value,
1482
1607
  :empty_value,
1483
- :string_value,
1484
1608
  :user_arn_value,
1485
1609
  :unknown)
1486
1610
  SENSITIVE = []
1487
1611
  include Aws::Structure
1488
1612
  include Aws::Structure::Union
1489
1613
 
1490
- class BooleanValue < FieldValueUnion; end
1614
+ class StringValue < FieldValueUnion; end
1491
1615
  class DoubleValue < FieldValueUnion; end
1616
+ class BooleanValue < FieldValueUnion; end
1492
1617
  class EmptyValue < FieldValueUnion; end
1493
- class StringValue < FieldValueUnion; end
1494
1618
  class UserArnValue < FieldValueUnion; end
1495
1619
  class Unknown < FieldValueUnion; end
1496
1620
  end
@@ -1532,9 +1656,8 @@ module Aws::ConnectCases
1532
1656
  # @return [String]
1533
1657
  #
1534
1658
  # @!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.
1659
+ # The maximum number of audit events to return. When no value is
1660
+ # provided, 25 is the default.
1538
1661
  # @return [Integer]
1539
1662
  #
1540
1663
  # @!attribute [rw] next_token
@@ -1554,21 +1677,21 @@ module Aws::ConnectCases
1554
1677
  include Aws::Structure
1555
1678
  end
1556
1679
 
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
1680
  # @!attribute [rw] next_token
1563
1681
  # The token for the next set of results. This is null if there are no
1564
1682
  # more results to return.
1565
1683
  # @return [String]
1566
1684
  #
1685
+ # @!attribute [rw] audit_events
1686
+ # A list of case audits where each represents a particular edit of the
1687
+ # case.
1688
+ # @return [Array<Types::AuditEvent>]
1689
+ #
1567
1690
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetCaseAuditEventsResponse AWS API Documentation
1568
1691
  #
1569
1692
  class GetCaseAuditEventsResponse < Struct.new(
1570
- :audit_events,
1571
- :next_token)
1693
+ :next_token,
1694
+ :audit_events)
1572
1695
  SENSITIVE = []
1573
1696
  include Aws::Structure
1574
1697
  end
@@ -1631,6 +1754,10 @@ module Aws::ConnectCases
1631
1754
  # A list of detailed field information.
1632
1755
  # @return [Array<Types::FieldValue>]
1633
1756
  #
1757
+ # @!attribute [rw] template_id
1758
+ # A unique identifier of a template.
1759
+ # @return [String]
1760
+ #
1634
1761
  # @!attribute [rw] next_token
1635
1762
  # The token for the next set of results. This is null if there are no
1636
1763
  # more results to return.
@@ -1641,17 +1768,13 @@ module Aws::ConnectCases
1641
1768
  # are used to organize, track, or control access for this resource.
1642
1769
  # @return [Hash<String,String>]
1643
1770
  #
1644
- # @!attribute [rw] template_id
1645
- # A unique identifier of a template.
1646
- # @return [String]
1647
- #
1648
1771
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetCaseResponse AWS API Documentation
1649
1772
  #
1650
1773
  class GetCaseResponse < Struct.new(
1651
1774
  :fields,
1775
+ :template_id,
1652
1776
  :next_token,
1653
- :tags,
1654
- :template_id)
1777
+ :tags)
1655
1778
  SENSITIVE = []
1656
1779
  include Aws::Structure
1657
1780
  end
@@ -1665,38 +1788,38 @@ module Aws::ConnectCases
1665
1788
  #
1666
1789
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html
1667
1790
  #
1791
+ # @!attribute [rw] case_rule_id
1792
+ # Unique identifier of a case rule.
1793
+ # @return [String]
1794
+ #
1795
+ # @!attribute [rw] name
1796
+ # Name of the case rule.
1797
+ # @return [String]
1798
+ #
1668
1799
  # @!attribute [rw] case_rule_arn
1669
1800
  # The Amazon Resource Name (ARN) of the case rule.
1670
1801
  # @return [String]
1671
1802
  #
1672
- # @!attribute [rw] case_rule_id
1673
- # Unique identifier of a case rule.
1674
- # @return [String]
1803
+ # @!attribute [rw] rule
1804
+ # Represents what rule type should take place, under what conditions.
1805
+ # @return [Types::CaseRuleDetails]
1675
1806
  #
1676
- # @!attribute [rw] created_time
1677
- # Timestamp when the resource was created.
1678
- # @return [Time]
1807
+ # @!attribute [rw] description
1808
+ # Description of a case rule.
1809
+ # @return [String]
1679
1810
  #
1680
1811
  # @!attribute [rw] deleted
1681
1812
  # Indicates whether the resource has been deleted.
1682
1813
  # @return [Boolean]
1683
1814
  #
1684
- # @!attribute [rw] description
1685
- # Description of a case rule.
1686
- # @return [String]
1815
+ # @!attribute [rw] created_time
1816
+ # Timestamp when the resource was created.
1817
+ # @return [Time]
1687
1818
  #
1688
1819
  # @!attribute [rw] last_modified_time
1689
1820
  # Timestamp when the resource was created or last modified.
1690
1821
  # @return [Time]
1691
1822
  #
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
1823
  # @!attribute [rw] tags
1701
1824
  # A map of of key-value pairs that represent tags on a resource. Tags
1702
1825
  # are used to organize, track, or control access for this resource.
@@ -1705,14 +1828,14 @@ module Aws::ConnectCases
1705
1828
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetCaseRuleResponse AWS API Documentation
1706
1829
  #
1707
1830
  class GetCaseRuleResponse < Struct.new(
1708
- :case_rule_arn,
1709
1831
  :case_rule_id,
1710
- :created_time,
1711
- :deleted,
1712
- :description,
1713
- :last_modified_time,
1714
1832
  :name,
1833
+ :case_rule_arn,
1715
1834
  :rule,
1835
+ :description,
1836
+ :deleted,
1837
+ :created_time,
1838
+ :last_modified_time,
1716
1839
  :tags)
1717
1840
  SENSITIVE = []
1718
1841
  include Aws::Structure
@@ -1730,26 +1853,26 @@ module Aws::ConnectCases
1730
1853
  include Aws::Structure
1731
1854
  end
1732
1855
 
1733
- # @!attribute [rw] created_time
1734
- # The timestamp when the Cases domain was created.
1735
- # @return [Time]
1856
+ # @!attribute [rw] domain_id
1857
+ # The unique identifier of the Cases domain.
1858
+ # @return [String]
1736
1859
  #
1737
1860
  # @!attribute [rw] domain_arn
1738
1861
  # The Amazon Resource Name (ARN) for the Cases domain.
1739
1862
  # @return [String]
1740
1863
  #
1741
- # @!attribute [rw] domain_id
1742
- # The unique identifier of the Cases domain.
1864
+ # @!attribute [rw] name
1865
+ # The name of the Cases domain.
1743
1866
  # @return [String]
1744
1867
  #
1868
+ # @!attribute [rw] created_time
1869
+ # The timestamp when the Cases domain was created.
1870
+ # @return [Time]
1871
+ #
1745
1872
  # @!attribute [rw] domain_status
1746
1873
  # The status of the Cases domain.
1747
1874
  # @return [String]
1748
1875
  #
1749
- # @!attribute [rw] name
1750
- # The name of the Cases domain.
1751
- # @return [String]
1752
- #
1753
1876
  # @!attribute [rw] tags
1754
1877
  # A map of of key-value pairs that represent tags on a resource. Tags
1755
1878
  # are used to organize, track, or control access for this resource.
@@ -1758,11 +1881,11 @@ module Aws::ConnectCases
1758
1881
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetDomainResponse AWS API Documentation
1759
1882
  #
1760
1883
  class GetDomainResponse < Struct.new(
1761
- :created_time,
1762
- :domain_arn,
1763
1884
  :domain_id,
1764
- :domain_status,
1885
+ :domain_arn,
1765
1886
  :name,
1887
+ :created_time,
1888
+ :domain_status,
1766
1889
  :tags)
1767
1890
  SENSITIVE = []
1768
1891
  include Aws::Structure
@@ -1770,32 +1893,24 @@ module Aws::ConnectCases
1770
1893
 
1771
1894
  # Object to store detailed field information.
1772
1895
  #
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]
1896
+ # @!attribute [rw] field_id
1897
+ # Unique identifier of the field.
1898
+ # @return [String]
1780
1899
  #
1781
- # @!attribute [rw] description
1782
- # Description of the field.
1900
+ # @!attribute [rw] name
1901
+ # Name of the field.
1783
1902
  # @return [String]
1784
1903
  #
1785
1904
  # @!attribute [rw] field_arn
1786
1905
  # The Amazon Resource Name (ARN) of the field.
1787
1906
  # @return [String]
1788
1907
  #
1789
- # @!attribute [rw] field_id
1790
- # Unique identifier of the field.
1908
+ # @!attribute [rw] description
1909
+ # Description of the field.
1791
1910
  # @return [String]
1792
1911
  #
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.
1912
+ # @!attribute [rw] type
1913
+ # Type of the field.
1799
1914
  # @return [String]
1800
1915
  #
1801
1916
  # @!attribute [rw] namespace
@@ -1807,23 +1922,31 @@ module Aws::ConnectCases
1807
1922
  # are used to organize, track, or control access for this resource.
1808
1923
  # @return [Hash<String,String>]
1809
1924
  #
1810
- # @!attribute [rw] type
1811
- # Type of the field.
1812
- # @return [String]
1925
+ # @!attribute [rw] deleted
1926
+ # Denotes whether or not the resource has been deleted.
1927
+ # @return [Boolean]
1928
+ #
1929
+ # @!attribute [rw] created_time
1930
+ # Timestamp at which the resource was created.
1931
+ # @return [Time]
1932
+ #
1933
+ # @!attribute [rw] last_modified_time
1934
+ # Timestamp at which the resource was created or last modified.
1935
+ # @return [Time]
1813
1936
  #
1814
1937
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetFieldResponse AWS API Documentation
1815
1938
  #
1816
1939
  class GetFieldResponse < Struct.new(
1817
- :created_time,
1818
- :deleted,
1819
- :description,
1820
- :field_arn,
1821
1940
  :field_id,
1822
- :last_modified_time,
1823
1941
  :name,
1942
+ :field_arn,
1943
+ :description,
1944
+ :type,
1824
1945
  :namespace,
1825
1946
  :tags,
1826
- :type)
1947
+ :deleted,
1948
+ :created_time,
1949
+ :last_modified_time)
1827
1950
  SENSITIVE = []
1828
1951
  include Aws::Structure
1829
1952
  end
@@ -1845,51 +1968,51 @@ module Aws::ConnectCases
1845
1968
  include Aws::Structure
1846
1969
  end
1847
1970
 
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]
1971
+ # @!attribute [rw] layout_id
1972
+ # The unique identifier of the layout.
1973
+ # @return [String]
1864
1974
  #
1865
1975
  # @!attribute [rw] layout_arn
1866
1976
  # The Amazon Resource Name (ARN) of the newly created layout.
1867
1977
  # @return [String]
1868
1978
  #
1869
- # @!attribute [rw] layout_id
1870
- # The unique identifier of the layout.
1871
- # @return [String]
1872
- #
1873
1979
  # @!attribute [rw] name
1874
1980
  # The name of the layout. It must be unique.
1875
1981
  # @return [String]
1876
1982
  #
1983
+ # @!attribute [rw] content
1984
+ # Information about which fields will be present in the layout, the
1985
+ # order of the fields, and read-only attribute of the field.
1986
+ # @return [Types::LayoutContent]
1987
+ #
1877
1988
  # @!attribute [rw] tags
1878
1989
  # A map of of key-value pairs that represent tags on a resource. Tags
1879
1990
  # are used to organize, track, or control access for this resource.
1880
1991
  # @return [Hash<String,String>]
1881
1992
  #
1993
+ # @!attribute [rw] deleted
1994
+ # Denotes whether or not the resource has been deleted.
1995
+ # @return [Boolean]
1996
+ #
1997
+ # @!attribute [rw] created_time
1998
+ # Timestamp at which the resource was created.
1999
+ # @return [Time]
2000
+ #
2001
+ # @!attribute [rw] last_modified_time
2002
+ # Timestamp at which the resource was created or last modified.
2003
+ # @return [Time]
2004
+ #
1882
2005
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetLayoutResponse AWS API Documentation
1883
2006
  #
1884
2007
  class GetLayoutResponse < Struct.new(
1885
- :content,
1886
- :created_time,
1887
- :deleted,
1888
- :last_modified_time,
1889
- :layout_arn,
1890
2008
  :layout_id,
2009
+ :layout_arn,
1891
2010
  :name,
1892
- :tags)
2011
+ :content,
2012
+ :tags,
2013
+ :deleted,
2014
+ :created_time,
2015
+ :last_modified_time)
1893
2016
  SENSITIVE = []
1894
2017
  include Aws::Structure
1895
2018
  end
@@ -1911,35 +2034,52 @@ module Aws::ConnectCases
1911
2034
  include Aws::Structure
1912
2035
  end
1913
2036
 
1914
- # @!attribute [rw] created_time
1915
- # Timestamp at which the resource was created.
1916
- # @return [Time]
2037
+ # @!attribute [rw] template_id
2038
+ # A unique identifier of a template.
2039
+ # @return [String]
2040
+ #
2041
+ # @!attribute [rw] template_arn
2042
+ # The Amazon Resource Name (ARN) of the template.
2043
+ # @return [String]
2044
+ #
2045
+ # @!attribute [rw] name
2046
+ # The name of the template.
2047
+ # @return [String]
2048
+ #
2049
+ # @!attribute [rw] description
2050
+ # A brief description of the template.
2051
+ # @return [String]
2052
+ #
2053
+ # @!attribute [rw] layout_configuration
2054
+ # Configuration of layouts associated to the template.
2055
+ # @return [Types::LayoutConfiguration]
2056
+ #
2057
+ # @!attribute [rw] required_fields
2058
+ # A list of fields that must contain a value for a case to be
2059
+ # successfully created with this template.
2060
+ # @return [Array<Types::RequiredField>]
2061
+ #
2062
+ # @!attribute [rw] tags
2063
+ # A map of of key-value pairs that represent tags on a resource. Tags
2064
+ # are used to organize, track, or control access for this resource.
2065
+ # @return [Hash<String,String>]
2066
+ #
2067
+ # @!attribute [rw] status
2068
+ # The status of the template.
2069
+ # @return [String]
1917
2070
  #
1918
2071
  # @!attribute [rw] deleted
1919
2072
  # Denotes whether or not the resource has been deleted.
1920
2073
  # @return [Boolean]
1921
2074
  #
1922
- # @!attribute [rw] description
1923
- # A brief description of the template.
1924
- # @return [String]
2075
+ # @!attribute [rw] created_time
2076
+ # Timestamp at which the resource was created.
2077
+ # @return [Time]
1925
2078
  #
1926
2079
  # @!attribute [rw] last_modified_time
1927
2080
  # Timestamp at which the resource was created or last modified.
1928
2081
  # @return [Time]
1929
2082
  #
1930
- # @!attribute [rw] layout_configuration
1931
- # Configuration of layouts associated to the template.
1932
- # @return [Types::LayoutConfiguration]
1933
- #
1934
- # @!attribute [rw] name
1935
- # The name of the template.
1936
- # @return [String]
1937
- #
1938
- # @!attribute [rw] required_fields
1939
- # A list of fields that must contain a value for a case to be
1940
- # successfully created with this template.
1941
- # @return [Array<Types::RequiredField>]
1942
- #
1943
2083
  # @!attribute [rw] rules
1944
2084
  # A list of case rules (also known as [case field conditions][1]) on a
1945
2085
  # template.
@@ -1949,38 +2089,21 @@ module Aws::ConnectCases
1949
2089
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html
1950
2090
  # @return [Array<Types::TemplateRule>]
1951
2091
  #
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
2092
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/GetTemplateResponse AWS API Documentation
1970
2093
  #
1971
2094
  class GetTemplateResponse < Struct.new(
1972
- :created_time,
1973
- :deleted,
2095
+ :template_id,
2096
+ :template_arn,
2097
+ :name,
1974
2098
  :description,
1975
- :last_modified_time,
1976
2099
  :layout_configuration,
1977
- :name,
1978
2100
  :required_fields,
1979
- :rules,
1980
- :status,
1981
2101
  :tags,
1982
- :template_arn,
1983
- :template_id)
2102
+ :status,
2103
+ :deleted,
2104
+ :created_time,
2105
+ :last_modified_time,
2106
+ :rules)
1984
2107
  SENSITIVE = []
1985
2108
  include Aws::Structure
1986
2109
  end
@@ -2060,14 +2183,14 @@ module Aws::ConnectCases
2060
2183
 
2061
2184
  # Object for the summarized details of the layout.
2062
2185
  #
2063
- # @!attribute [rw] layout_arn
2064
- # The Amazon Resource Name (ARN) of the layout.
2065
- # @return [String]
2066
- #
2067
2186
  # @!attribute [rw] layout_id
2068
2187
  # The unique identifier for of the layout.
2069
2188
  # @return [String]
2070
2189
  #
2190
+ # @!attribute [rw] layout_arn
2191
+ # The Amazon Resource Name (ARN) of the layout.
2192
+ # @return [String]
2193
+ #
2071
2194
  # @!attribute [rw] name
2072
2195
  # The name of the layout.
2073
2196
  # @return [String]
@@ -2075,8 +2198,8 @@ module Aws::ConnectCases
2075
2198
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/LayoutSummary AWS API Documentation
2076
2199
  #
2077
2200
  class LayoutSummary < Struct.new(
2078
- :layout_arn,
2079
2201
  :layout_id,
2202
+ :layout_arn,
2080
2203
  :name)
2081
2204
  SENSITIVE = []
2082
2205
  include Aws::Structure
@@ -2124,14 +2247,14 @@ module Aws::ConnectCases
2124
2247
  include Aws::Structure
2125
2248
  end
2126
2249
 
2127
- # @!attribute [rw] contact_arn
2128
- # A unique identifier of a contact in Amazon Connect.
2129
- # @return [String]
2130
- #
2131
2250
  # @!attribute [rw] domain_id
2132
2251
  # The unique identifier of the Cases domain.
2133
2252
  # @return [String]
2134
2253
  #
2254
+ # @!attribute [rw] contact_arn
2255
+ # A unique identifier of a contact in Amazon Connect.
2256
+ # @return [String]
2257
+ #
2135
2258
  # @!attribute [rw] max_results
2136
2259
  # The maximum number of results to return per page.
2137
2260
  # @return [Integer]
@@ -2145,8 +2268,8 @@ module Aws::ConnectCases
2145
2268
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/ListCasesForContactRequest AWS API Documentation
2146
2269
  #
2147
2270
  class ListCasesForContactRequest < Struct.new(
2148
- :contact_arn,
2149
2271
  :domain_id,
2272
+ :contact_arn,
2150
2273
  :max_results,
2151
2274
  :next_token)
2152
2275
  SENSITIVE = []
@@ -2242,20 +2365,20 @@ module Aws::ConnectCases
2242
2365
  include Aws::Structure
2243
2366
  end
2244
2367
 
2368
+ # @!attribute [rw] options
2369
+ # A list of `FieldOption` objects.
2370
+ # @return [Array<Types::FieldOption>]
2371
+ #
2245
2372
  # @!attribute [rw] next_token
2246
2373
  # The token for the next set of results. This is null if there are no
2247
2374
  # more results to return.
2248
2375
  # @return [String]
2249
2376
  #
2250
- # @!attribute [rw] options
2251
- # A list of `FieldOption` objects.
2252
- # @return [Array<Types::FieldOption>]
2253
- #
2254
2377
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/ListFieldOptionsResponse AWS API Documentation
2255
2378
  #
2256
2379
  class ListFieldOptionsResponse < Struct.new(
2257
- :next_token,
2258
- :options)
2380
+ :options,
2381
+ :next_token)
2259
2382
  SENSITIVE = []
2260
2383
  include Aws::Structure
2261
2384
  end
@@ -2398,20 +2521,20 @@ module Aws::ConnectCases
2398
2521
  include Aws::Structure
2399
2522
  end
2400
2523
 
2524
+ # @!attribute [rw] templates
2525
+ # List of template summary objects.
2526
+ # @return [Array<Types::TemplateSummary>]
2527
+ #
2401
2528
  # @!attribute [rw] next_token
2402
2529
  # The token for the next set of results. This is null if there are no
2403
2530
  # more results to return.
2404
2531
  # @return [String]
2405
2532
  #
2406
- # @!attribute [rw] templates
2407
- # List of template summary objects.
2408
- # @return [Array<Types::TemplateSummary>]
2409
- #
2410
2533
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/ListTemplatesResponse AWS API Documentation
2411
2534
  #
2412
2535
  class ListTemplatesResponse < Struct.new(
2413
- :next_token,
2414
- :templates)
2536
+ :templates,
2537
+ :next_token)
2415
2538
  SENSITIVE = []
2416
2539
  include Aws::Structure
2417
2540
  end
@@ -2459,6 +2582,10 @@ module Aws::ConnectCases
2459
2582
  #
2460
2583
  # @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
2584
  #
2585
+ # @!attribute [rw] string_value
2586
+ # String value type.
2587
+ # @return [String]
2588
+ #
2462
2589
  # @!attribute [rw] boolean_value
2463
2590
  # Boolean value type.
2464
2591
  # @return [Boolean]
@@ -2471,26 +2598,22 @@ module Aws::ConnectCases
2471
2598
  # Empty value type.
2472
2599
  # @return [Types::EmptyOperandValue]
2473
2600
  #
2474
- # @!attribute [rw] string_value
2475
- # String value type.
2476
- # @return [String]
2477
- #
2478
2601
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/OperandTwo AWS API Documentation
2479
2602
  #
2480
2603
  class OperandTwo < Struct.new(
2604
+ :string_value,
2481
2605
  :boolean_value,
2482
2606
  :double_value,
2483
2607
  :empty_value,
2484
- :string_value,
2485
2608
  :unknown)
2486
2609
  SENSITIVE = []
2487
2610
  include Aws::Structure
2488
2611
  include Aws::Structure::Union
2489
2612
 
2613
+ class StringValue < OperandTwo; end
2490
2614
  class BooleanValue < OperandTwo; end
2491
2615
  class DoubleValue < OperandTwo; end
2492
2616
  class EmptyValue < OperandTwo; end
2493
- class StringValue < OperandTwo; end
2494
2617
  class Unknown < OperandTwo; end
2495
2618
  end
2496
2619
 
@@ -2520,14 +2643,14 @@ module Aws::ConnectCases
2520
2643
  #
2521
2644
  # @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
2645
  #
2523
- # @!attribute [rw] comment
2524
- # Represents the content of a comment to be returned to agents.
2525
- # @return [Types::CommentContent]
2526
- #
2527
2646
  # @!attribute [rw] contact
2528
2647
  # Represents the content of a contact to be returned to agents.
2529
2648
  # @return [Types::ContactContent]
2530
2649
  #
2650
+ # @!attribute [rw] comment
2651
+ # Represents the content of a comment to be returned to agents.
2652
+ # @return [Types::CommentContent]
2653
+ #
2531
2654
  # @!attribute [rw] file
2532
2655
  # Represents the content of a File to be returned to agents.
2533
2656
  # @return [Types::FileContent]
@@ -2536,22 +2659,34 @@ module Aws::ConnectCases
2536
2659
  # Represents the content of an SLA to be returned to agents.
2537
2660
  # @return [Types::SlaContent]
2538
2661
  #
2662
+ # @!attribute [rw] connect_case
2663
+ # Represents the Amazon Connect case to be created as a related item.
2664
+ # @return [Types::ConnectCaseContent]
2665
+ #
2666
+ # @!attribute [rw] custom
2667
+ # Represents the content of a `Custom` type related item.
2668
+ # @return [Types::CustomContent]
2669
+ #
2539
2670
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/RelatedItemContent AWS API Documentation
2540
2671
  #
2541
2672
  class RelatedItemContent < Struct.new(
2542
- :comment,
2543
2673
  :contact,
2674
+ :comment,
2544
2675
  :file,
2545
2676
  :sla,
2677
+ :connect_case,
2678
+ :custom,
2546
2679
  :unknown)
2547
2680
  SENSITIVE = []
2548
2681
  include Aws::Structure
2549
2682
  include Aws::Structure::Union
2550
2683
 
2551
- class Comment < RelatedItemContent; end
2552
2684
  class Contact < RelatedItemContent; end
2685
+ class Comment < RelatedItemContent; end
2553
2686
  class File < RelatedItemContent; end
2554
2687
  class Sla < RelatedItemContent; end
2688
+ class ConnectCase < RelatedItemContent; end
2689
+ class Custom < RelatedItemContent; end
2555
2690
  class Unknown < RelatedItemContent; end
2556
2691
  end
2557
2692
 
@@ -2575,15 +2710,15 @@ module Aws::ConnectCases
2575
2710
  #
2576
2711
  # @note RelatedItemInputContent is a union - when making an API calls you must set exactly one of the members.
2577
2712
  #
2578
- # @!attribute [rw] comment
2579
- # Represents the content of a comment to be returned to agents.
2580
- # @return [Types::CommentContent]
2581
- #
2582
2713
  # @!attribute [rw] contact
2583
2714
  # Object representing a contact in Amazon Connect as an API request
2584
2715
  # field.
2585
2716
  # @return [Types::Contact]
2586
2717
  #
2718
+ # @!attribute [rw] comment
2719
+ # Represents the content of a comment to be returned to agents.
2720
+ # @return [Types::CommentContent]
2721
+ #
2587
2722
  # @!attribute [rw] file
2588
2723
  # A file of related items.
2589
2724
  # @return [Types::FileContent]
@@ -2592,22 +2727,34 @@ module Aws::ConnectCases
2592
2727
  # Represents the content of an SLA to be created.
2593
2728
  # @return [Types::SlaInputContent]
2594
2729
  #
2730
+ # @!attribute [rw] connect_case
2731
+ # Represents the Amazon Connect case to be created as a related item.
2732
+ # @return [Types::ConnectCaseInputContent]
2733
+ #
2734
+ # @!attribute [rw] custom
2735
+ # Represents the content of a `Custom` type related item.
2736
+ # @return [Types::CustomInputContent]
2737
+ #
2595
2738
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/RelatedItemInputContent AWS API Documentation
2596
2739
  #
2597
2740
  class RelatedItemInputContent < Struct.new(
2598
- :comment,
2599
2741
  :contact,
2742
+ :comment,
2600
2743
  :file,
2601
2744
  :sla,
2745
+ :connect_case,
2746
+ :custom,
2602
2747
  :unknown)
2603
2748
  SENSITIVE = []
2604
2749
  include Aws::Structure
2605
2750
  include Aws::Structure::Union
2606
2751
 
2607
- class Comment < RelatedItemInputContent; end
2608
2752
  class Contact < RelatedItemInputContent; end
2753
+ class Comment < RelatedItemInputContent; end
2609
2754
  class File < RelatedItemInputContent; end
2610
2755
  class Sla < RelatedItemInputContent; end
2756
+ class ConnectCase < RelatedItemInputContent; end
2757
+ class Custom < RelatedItemInputContent; end
2611
2758
  class Unknown < RelatedItemInputContent; end
2612
2759
  end
2613
2760
 
@@ -2616,14 +2763,14 @@ module Aws::ConnectCases
2616
2763
  #
2617
2764
  # @note RelatedItemTypeFilter is a union - when making an API calls you must set exactly one of the members.
2618
2765
  #
2619
- # @!attribute [rw] comment
2620
- # A filter for related items of type `Comment`.
2621
- # @return [Types::CommentFilter]
2622
- #
2623
2766
  # @!attribute [rw] contact
2624
2767
  # A filter for related items of type `Contact`.
2625
2768
  # @return [Types::ContactFilter]
2626
2769
  #
2770
+ # @!attribute [rw] comment
2771
+ # A filter for related items of type `Comment`.
2772
+ # @return [Types::CommentFilter]
2773
+ #
2627
2774
  # @!attribute [rw] file
2628
2775
  # A filter for related items of this type of `File`.
2629
2776
  # @return [Types::FileFilter]
@@ -2632,22 +2779,34 @@ module Aws::ConnectCases
2632
2779
  # Filter for related items of type `SLA`.
2633
2780
  # @return [Types::SlaFilter]
2634
2781
  #
2782
+ # @!attribute [rw] connect_case
2783
+ # Represents the Amazon Connect case to be created as a related item.
2784
+ # @return [Types::ConnectCaseFilter]
2785
+ #
2786
+ # @!attribute [rw] custom
2787
+ # Represents the content of a `Custom` type related item.
2788
+ # @return [Types::CustomFilter]
2789
+ #
2635
2790
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/RelatedItemTypeFilter AWS API Documentation
2636
2791
  #
2637
2792
  class RelatedItemTypeFilter < Struct.new(
2638
- :comment,
2639
2793
  :contact,
2794
+ :comment,
2640
2795
  :file,
2641
2796
  :sla,
2797
+ :connect_case,
2798
+ :custom,
2642
2799
  :unknown)
2643
2800
  SENSITIVE = []
2644
2801
  include Aws::Structure
2645
2802
  include Aws::Structure::Union
2646
2803
 
2647
- class Comment < RelatedItemTypeFilter; end
2648
2804
  class Contact < RelatedItemTypeFilter; end
2805
+ class Comment < RelatedItemTypeFilter; end
2649
2806
  class File < RelatedItemTypeFilter; end
2650
2807
  class Sla < RelatedItemTypeFilter; end
2808
+ class ConnectCase < RelatedItemTypeFilter; end
2809
+ class Custom < RelatedItemTypeFilter; end
2651
2810
  class Unknown < RelatedItemTypeFilter; end
2652
2811
  end
2653
2812
 
@@ -2660,21 +2819,21 @@ module Aws::ConnectCases
2660
2819
  #
2661
2820
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html
2662
2821
  #
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
2822
  # @!attribute [rw] default_value
2669
2823
  # The value of the rule (that is, whether the field is required)
2670
2824
  # should none of the conditions evaluate to true.
2671
2825
  # @return [Boolean]
2672
2826
  #
2827
+ # @!attribute [rw] conditions
2828
+ # List of conditions for the required rule; the first condition to
2829
+ # evaluate to true dictates the value of the rule.
2830
+ # @return [Array<Types::BooleanCondition>]
2831
+ #
2673
2832
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/RequiredCaseRule AWS API Documentation
2674
2833
  #
2675
2834
  class RequiredCaseRule < Struct.new(
2676
- :conditions,
2677
- :default_value)
2835
+ :default_value,
2836
+ :conditions)
2678
2837
  SENSITIVE = []
2679
2838
  include Aws::Structure
2680
2839
  end
@@ -2722,19 +2881,138 @@ module Aws::ConnectCases
2722
2881
  # The unique identifier of the Cases domain.
2723
2882
  # @return [String]
2724
2883
  #
2725
- # @!attribute [rw] fields
2726
- # The list of field identifiers to be returned as part of the
2727
- # response.
2728
- # @return [Array<Types::FieldIdentifier>]
2884
+ # @!attribute [rw] max_results
2885
+ # The maximum number of results to return per page.
2886
+ # @return [Integer]
2729
2887
  #
2730
- # @!attribute [rw] filter
2731
- # A list of filter objects.
2732
- # @return [Types::CaseFilter]
2888
+ # @!attribute [rw] next_token
2889
+ # The token for the next set of results. Use the value returned in the
2890
+ # previous response in the next request to retrieve the next set of
2891
+ # results.
2892
+ # @return [String]
2893
+ #
2894
+ # @!attribute [rw] filters
2895
+ # The list of types of related items and their parameters to use for
2896
+ # filtering. The filters work as an OR condition: caller gets back
2897
+ # related items that match any of the specified filter types.
2898
+ # @return [Array<Types::RelatedItemTypeFilter>]
2899
+ #
2900
+ # @!attribute [rw] sorts
2901
+ # A structured set of sort terms to specify the order in which related
2902
+ # items should be returned. Supports sorting by association time or
2903
+ # case ID. The sorts work in the order specified: first sort term
2904
+ # takes precedence over subsequent terms.
2905
+ # @return [Array<Types::SearchAllRelatedItemsSort>]
2906
+ #
2907
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SearchAllRelatedItemsRequest AWS API Documentation
2908
+ #
2909
+ class SearchAllRelatedItemsRequest < Struct.new(
2910
+ :domain_id,
2911
+ :max_results,
2912
+ :next_token,
2913
+ :filters,
2914
+ :sorts)
2915
+ SENSITIVE = []
2916
+ include Aws::Structure
2917
+ end
2918
+
2919
+ # @!attribute [rw] next_token
2920
+ # The token for the next set of results. This is null if there are no
2921
+ # more results to return.
2922
+ # @return [String]
2923
+ #
2924
+ # @!attribute [rw] related_items
2925
+ # A list of items related to a case.
2926
+ # @return [Array<Types::SearchAllRelatedItemsResponseItem>]
2927
+ #
2928
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SearchAllRelatedItemsResponse AWS API Documentation
2929
+ #
2930
+ class SearchAllRelatedItemsResponse < Struct.new(
2931
+ :next_token,
2932
+ :related_items)
2933
+ SENSITIVE = []
2934
+ include Aws::Structure
2935
+ end
2936
+
2937
+ # A list of items that represent RelatedItems. This data type is similar
2938
+ # to [SearchRelatedItemsResponseItem][1] except
2939
+ # Search**All**RelatedItemsResponseItem has a caseId field.
2940
+ #
2941
+ #
2942
+ #
2943
+ # [1]: https://docs.aws.amazon.com/connect/latest/APIReference/API_connect-cases_SearchRelatedItemsResponseItem.html
2944
+ #
2945
+ # @!attribute [rw] related_item_id
2946
+ # Unique identifier of a related item.
2947
+ # @return [String]
2948
+ #
2949
+ # @!attribute [rw] case_id
2950
+ # A unique identifier of the case.
2951
+ # @return [String]
2952
+ #
2953
+ # @!attribute [rw] type
2954
+ # Type of a related item.
2955
+ # @return [String]
2956
+ #
2957
+ # @!attribute [rw] association_time
2958
+ # Time at which a related item was associated with a case.
2959
+ # @return [Time]
2960
+ #
2961
+ # @!attribute [rw] content
2962
+ # Represents the content of a particular type of related item.
2963
+ # @return [Types::RelatedItemContent]
2964
+ #
2965
+ # @!attribute [rw] performed_by
2966
+ # Represents the entity that performed the action.
2967
+ # @return [Types::UserUnion]
2968
+ #
2969
+ # @!attribute [rw] tags
2970
+ # A map of of key-value pairs that represent tags on a resource. Tags
2971
+ # are used to organize, track, or control access for this resource.
2972
+ # @return [Hash<String,String>]
2973
+ #
2974
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SearchAllRelatedItemsResponseItem AWS API Documentation
2975
+ #
2976
+ class SearchAllRelatedItemsResponseItem < Struct.new(
2977
+ :related_item_id,
2978
+ :case_id,
2979
+ :type,
2980
+ :association_time,
2981
+ :content,
2982
+ :performed_by,
2983
+ :tags)
2984
+ SENSITIVE = []
2985
+ include Aws::Structure
2986
+ end
2987
+
2988
+ # The order in which all returned related items should be sorted.
2989
+ #
2990
+ # @!attribute [rw] sort_property
2991
+ # Whether related items should be sorted in ascending or descending
2992
+ # order.
2993
+ # @return [String]
2994
+ #
2995
+ # @!attribute [rw] sort_order
2996
+ # Whether related items should be sorted by association time or case
2997
+ # ID.
2998
+ # @return [String]
2999
+ #
3000
+ # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SearchAllRelatedItemsSort AWS API Documentation
3001
+ #
3002
+ class SearchAllRelatedItemsSort < Struct.new(
3003
+ :sort_property,
3004
+ :sort_order)
3005
+ SENSITIVE = []
3006
+ include Aws::Structure
3007
+ end
3008
+
3009
+ # @!attribute [rw] domain_id
3010
+ # The unique identifier of the Cases domain.
3011
+ # @return [String]
2733
3012
  #
2734
3013
  # @!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.
3014
+ # The maximum number of cases to return. When no value is provided, 25
3015
+ # is the default.
2738
3016
  # @return [Integer]
2739
3017
  #
2740
3018
  # @!attribute [rw] next_token
@@ -2747,40 +3025,49 @@ module Aws::ConnectCases
2747
3025
  # A word or phrase used to perform a quick search.
2748
3026
  # @return [String]
2749
3027
  #
3028
+ # @!attribute [rw] filter
3029
+ # A list of filter objects.
3030
+ # @return [Types::CaseFilter]
3031
+ #
2750
3032
  # @!attribute [rw] sorts
2751
3033
  # A list of sorts where each sort specifies a field and their sort
2752
3034
  # order to be applied to the results.
2753
3035
  # @return [Array<Types::Sort>]
2754
3036
  #
3037
+ # @!attribute [rw] fields
3038
+ # The list of field identifiers to be returned as part of the
3039
+ # response.
3040
+ # @return [Array<Types::FieldIdentifier>]
3041
+ #
2755
3042
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SearchCasesRequest AWS API Documentation
2756
3043
  #
2757
3044
  class SearchCasesRequest < Struct.new(
2758
3045
  :domain_id,
2759
- :fields,
2760
- :filter,
2761
3046
  :max_results,
2762
3047
  :next_token,
2763
3048
  :search_term,
2764
- :sorts)
3049
+ :filter,
3050
+ :sorts,
3051
+ :fields)
2765
3052
  SENSITIVE = []
2766
3053
  include Aws::Structure
2767
3054
  end
2768
3055
 
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
3056
  # @!attribute [rw] next_token
2775
3057
  # The token for the next set of results. This is null if there are no
2776
3058
  # more results to return.
2777
3059
  # @return [String]
2778
3060
  #
3061
+ # @!attribute [rw] cases
3062
+ # A list of case documents where each case contains the properties
3063
+ # `CaseId` and `Fields` where each field is a complex union structure.
3064
+ # @return [Array<Types::SearchCasesResponseItem>]
3065
+ #
2779
3066
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SearchCasesResponse AWS API Documentation
2780
3067
  #
2781
3068
  class SearchCasesResponse < Struct.new(
2782
- :cases,
2783
- :next_token)
3069
+ :next_token,
3070
+ :cases)
2784
3071
  SENSITIVE = []
2785
3072
  include Aws::Structure
2786
3073
  end
@@ -2791,6 +3078,10 @@ module Aws::ConnectCases
2791
3078
  # A unique identifier of the case.
2792
3079
  # @return [String]
2793
3080
  #
3081
+ # @!attribute [rw] template_id
3082
+ # A unique identifier of a template.
3083
+ # @return [String]
3084
+ #
2794
3085
  # @!attribute [rw] fields
2795
3086
  # List of case field values.
2796
3087
  # @return [Array<Types::FieldValue>]
@@ -2800,33 +3091,24 @@ module Aws::ConnectCases
2800
3091
  # are used to organize, track, or control access for this resource.
2801
3092
  # @return [Hash<String,String>]
2802
3093
  #
2803
- # @!attribute [rw] template_id
2804
- # A unique identifier of a template.
2805
- # @return [String]
2806
- #
2807
3094
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SearchCasesResponseItem AWS API Documentation
2808
3095
  #
2809
3096
  class SearchCasesResponseItem < Struct.new(
2810
3097
  :case_id,
3098
+ :template_id,
2811
3099
  :fields,
2812
- :tags,
2813
- :template_id)
3100
+ :tags)
2814
3101
  SENSITIVE = []
2815
3102
  include Aws::Structure
2816
3103
  end
2817
3104
 
2818
- # @!attribute [rw] case_id
2819
- # A unique identifier of the case.
2820
- # @return [String]
2821
- #
2822
3105
  # @!attribute [rw] domain_id
2823
3106
  # The unique identifier of the Cases domain.
2824
3107
  # @return [String]
2825
3108
  #
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>]
3109
+ # @!attribute [rw] case_id
3110
+ # A unique identifier of the case.
3111
+ # @return [String]
2830
3112
  #
2831
3113
  # @!attribute [rw] max_results
2832
3114
  # The maximum number of results to return per page.
@@ -2838,14 +3120,19 @@ module Aws::ConnectCases
2838
3120
  # results.
2839
3121
  # @return [String]
2840
3122
  #
3123
+ # @!attribute [rw] filters
3124
+ # The list of types of related items and their parameters to use for
3125
+ # filtering.
3126
+ # @return [Array<Types::RelatedItemTypeFilter>]
3127
+ #
2841
3128
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SearchRelatedItemsRequest AWS API Documentation
2842
3129
  #
2843
3130
  class SearchRelatedItemsRequest < Struct.new(
2844
- :case_id,
2845
3131
  :domain_id,
2846
- :filters,
3132
+ :case_id,
2847
3133
  :max_results,
2848
- :next_token)
3134
+ :next_token,
3135
+ :filters)
2849
3136
  SENSITIVE = []
2850
3137
  include Aws::Structure
2851
3138
  end
@@ -2870,6 +3157,14 @@ module Aws::ConnectCases
2870
3157
 
2871
3158
  # A list of items that represent RelatedItems.
2872
3159
  #
3160
+ # @!attribute [rw] related_item_id
3161
+ # Unique identifier of a related item.
3162
+ # @return [String]
3163
+ #
3164
+ # @!attribute [rw] type
3165
+ # Type of a related item.
3166
+ # @return [String]
3167
+ #
2873
3168
  # @!attribute [rw] association_time
2874
3169
  # Time at which a related item was associated with a case.
2875
3170
  # @return [Time]
@@ -2878,32 +3173,24 @@ module Aws::ConnectCases
2878
3173
  # Represents the content of a particular type of related item.
2879
3174
  # @return [Types::RelatedItemContent]
2880
3175
  #
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
3176
  # @!attribute [rw] tags
2890
3177
  # A map of of key-value pairs that represent tags on a resource. Tags
2891
3178
  # are used to organize, track, or control access for this resource.
2892
3179
  # @return [Hash<String,String>]
2893
3180
  #
2894
- # @!attribute [rw] type
2895
- # Type of a related item.
2896
- # @return [String]
3181
+ # @!attribute [rw] performed_by
3182
+ # Represents the creator of the related item.
3183
+ # @return [Types::UserUnion]
2897
3184
  #
2898
3185
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SearchRelatedItemsResponseItem AWS API Documentation
2899
3186
  #
2900
3187
  class SearchRelatedItemsResponseItem < Struct.new(
3188
+ :related_item_id,
3189
+ :type,
2901
3190
  :association_time,
2902
3191
  :content,
2903
- :performed_by,
2904
- :related_item_id,
2905
3192
  :tags,
2906
- :type)
3193
+ :performed_by)
2907
3194
  SENSITIVE = []
2908
3195
  include Aws::Structure
2909
3196
  end
@@ -2952,22 +3239,22 @@ module Aws::ConnectCases
2952
3239
 
2953
3240
  # Represents an SLA configuration.
2954
3241
  #
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
3242
  # @!attribute [rw] name
2964
3243
  # Name of an SLA.
2965
3244
  # @return [String]
2966
3245
  #
3246
+ # @!attribute [rw] type
3247
+ # Type of SLA.
3248
+ # @return [String]
3249
+ #
2967
3250
  # @!attribute [rw] status
2968
3251
  # Status of an SLA.
2969
3252
  # @return [String]
2970
3253
  #
3254
+ # @!attribute [rw] field_id
3255
+ # Unique identifier of a field.
3256
+ # @return [String]
3257
+ #
2971
3258
  # @!attribute [rw] target_field_values
2972
3259
  # Represents a list of target field values for the fieldId specified
2973
3260
  # in SlaConfiguration.
@@ -2977,20 +3264,20 @@ module Aws::ConnectCases
2977
3264
  # Target time by which an SLA should be completed.
2978
3265
  # @return [Time]
2979
3266
  #
2980
- # @!attribute [rw] type
2981
- # Type of SLA.
2982
- # @return [String]
3267
+ # @!attribute [rw] completion_time
3268
+ # Time at which an SLA was completed.
3269
+ # @return [Time]
2983
3270
  #
2984
3271
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SlaConfiguration AWS API Documentation
2985
3272
  #
2986
3273
  class SlaConfiguration < Struct.new(
2987
- :completion_time,
2988
- :field_id,
2989
3274
  :name,
3275
+ :type,
2990
3276
  :status,
3277
+ :field_id,
2991
3278
  :target_field_values,
2992
3279
  :target_time,
2993
- :type)
3280
+ :completion_time)
2994
3281
  SENSITIVE = [:name]
2995
3282
  include Aws::Structure
2996
3283
  end
@@ -3030,14 +3317,18 @@ module Aws::ConnectCases
3030
3317
 
3031
3318
  # Represents the input configuration of an SLA being created.
3032
3319
  #
3033
- # @!attribute [rw] field_id
3034
- # Unique identifier of a field.
3035
- # @return [String]
3036
- #
3037
3320
  # @!attribute [rw] name
3038
3321
  # Name of an SLA.
3039
3322
  # @return [String]
3040
3323
  #
3324
+ # @!attribute [rw] type
3325
+ # Type of SLA.
3326
+ # @return [String]
3327
+ #
3328
+ # @!attribute [rw] field_id
3329
+ # Unique identifier of a field.
3330
+ # @return [String]
3331
+ #
3041
3332
  # @!attribute [rw] target_field_values
3042
3333
  # Represents a list of target field values for the fieldId specified
3043
3334
  # in SlaInputConfiguration. The SLA is considered met if any one of
@@ -3048,18 +3339,14 @@ module Aws::ConnectCases
3048
3339
  # Target duration in minutes within which an SLA should be completed.
3049
3340
  # @return [Integer]
3050
3341
  #
3051
- # @!attribute [rw] type
3052
- # Type of SLA.
3053
- # @return [String]
3054
- #
3055
3342
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/SlaInputConfiguration AWS API Documentation
3056
3343
  #
3057
3344
  class SlaInputConfiguration < Struct.new(
3058
- :field_id,
3059
3345
  :name,
3346
+ :type,
3347
+ :field_id,
3060
3348
  :target_field_values,
3061
- :target_sla_minutes,
3062
- :type)
3349
+ :target_sla_minutes)
3063
3350
  SENSITIVE = [:name]
3064
3351
  include Aws::Structure
3065
3352
  end
@@ -3150,29 +3437,29 @@ module Aws::ConnectCases
3150
3437
 
3151
3438
  # Template summary information.
3152
3439
  #
3153
- # @!attribute [rw] name
3154
- # The template name.
3155
- # @return [String]
3156
- #
3157
- # @!attribute [rw] status
3158
- # The status of the template.
3440
+ # @!attribute [rw] template_id
3441
+ # The unique identifier for the template.
3159
3442
  # @return [String]
3160
3443
  #
3161
3444
  # @!attribute [rw] template_arn
3162
3445
  # The Amazon Resource Name (ARN) of the template.
3163
3446
  # @return [String]
3164
3447
  #
3165
- # @!attribute [rw] template_id
3166
- # The unique identifier for the template.
3448
+ # @!attribute [rw] name
3449
+ # The template name.
3450
+ # @return [String]
3451
+ #
3452
+ # @!attribute [rw] status
3453
+ # The status of the template.
3167
3454
  # @return [String]
3168
3455
  #
3169
3456
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/TemplateSummary AWS API Documentation
3170
3457
  #
3171
3458
  class TemplateSummary < Struct.new(
3172
- :name,
3173
- :status,
3459
+ :template_id,
3174
3460
  :template_arn,
3175
- :template_id)
3461
+ :name,
3462
+ :status)
3176
3463
  SENSITIVE = []
3177
3464
  include Aws::Structure
3178
3465
  end
@@ -3208,14 +3495,14 @@ module Aws::ConnectCases
3208
3495
  include Aws::Structure
3209
3496
  end
3210
3497
 
3211
- # @!attribute [rw] case_id
3212
- # A unique identifier of the case.
3213
- # @return [String]
3214
- #
3215
3498
  # @!attribute [rw] domain_id
3216
3499
  # The unique identifier of the Cases domain.
3217
3500
  # @return [String]
3218
3501
  #
3502
+ # @!attribute [rw] case_id
3503
+ # A unique identifier of the case.
3504
+ # @return [String]
3505
+ #
3219
3506
  # @!attribute [rw] fields
3220
3507
  # An array of objects with `fieldId` (matching
3221
3508
  # ListFields/DescribeField) and value union data, structured identical
@@ -3229,8 +3516,8 @@ module Aws::ConnectCases
3229
3516
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/UpdateCaseRequest AWS API Documentation
3230
3517
  #
3231
3518
  class UpdateCaseRequest < Struct.new(
3232
- :case_id,
3233
3519
  :domain_id,
3520
+ :case_id,
3234
3521
  :fields,
3235
3522
  :performed_by)
3236
3523
  SENSITIVE = []
@@ -3241,22 +3528,22 @@ module Aws::ConnectCases
3241
3528
  #
3242
3529
  class UpdateCaseResponse < Aws::EmptyStructure; end
3243
3530
 
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
3531
  # @!attribute [rw] domain_id
3253
3532
  # Unique identifier of a Cases domain.
3254
3533
  # @return [String]
3255
3534
  #
3535
+ # @!attribute [rw] case_rule_id
3536
+ # Unique identifier of a case rule.
3537
+ # @return [String]
3538
+ #
3256
3539
  # @!attribute [rw] name
3257
3540
  # Name of the case rule.
3258
3541
  # @return [String]
3259
3542
  #
3543
+ # @!attribute [rw] description
3544
+ # Description of a case rule.
3545
+ # @return [String]
3546
+ #
3260
3547
  # @!attribute [rw] rule
3261
3548
  # Represents what rule type should take place, under what conditions.
3262
3549
  # @return [Types::CaseRuleDetails]
@@ -3264,10 +3551,10 @@ module Aws::ConnectCases
3264
3551
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/UpdateCaseRuleRequest AWS API Documentation
3265
3552
  #
3266
3553
  class UpdateCaseRuleRequest < Struct.new(
3267
- :case_rule_id,
3268
- :description,
3269
3554
  :domain_id,
3555
+ :case_rule_id,
3270
3556
  :name,
3557
+ :description,
3271
3558
  :rule)
3272
3559
  SENSITIVE = []
3273
3560
  include Aws::Structure
@@ -3277,10 +3564,6 @@ module Aws::ConnectCases
3277
3564
  #
3278
3565
  class UpdateCaseRuleResponse < Aws::EmptyStructure; end
3279
3566
 
3280
- # @!attribute [rw] description
3281
- # The description of a field.
3282
- # @return [String]
3283
- #
3284
3567
  # @!attribute [rw] domain_id
3285
3568
  # The unique identifier of the Cases domain.
3286
3569
  # @return [String]
@@ -3293,13 +3576,17 @@ module Aws::ConnectCases
3293
3576
  # The name of the field.
3294
3577
  # @return [String]
3295
3578
  #
3579
+ # @!attribute [rw] description
3580
+ # The description of a field.
3581
+ # @return [String]
3582
+ #
3296
3583
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/UpdateFieldRequest AWS API Documentation
3297
3584
  #
3298
3585
  class UpdateFieldRequest < Struct.new(
3299
- :description,
3300
3586
  :domain_id,
3301
3587
  :field_id,
3302
- :name)
3588
+ :name,
3589
+ :description)
3303
3590
  SENSITIVE = []
3304
3591
  include Aws::Structure
3305
3592
  end
@@ -3308,11 +3595,6 @@ module Aws::ConnectCases
3308
3595
  #
3309
3596
  class UpdateFieldResponse < Aws::EmptyStructure; end
3310
3597
 
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
3598
  # @!attribute [rw] domain_id
3317
3599
  # The unique identifier of the Cases domain.
3318
3600
  # @return [String]
@@ -3325,13 +3607,18 @@ module Aws::ConnectCases
3325
3607
  # The name of the layout. It must be unique per domain.
3326
3608
  # @return [String]
3327
3609
  #
3610
+ # @!attribute [rw] content
3611
+ # Information about which fields will be present in the layout, the
3612
+ # order of the fields.
3613
+ # @return [Types::LayoutContent]
3614
+ #
3328
3615
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/UpdateLayoutRequest AWS API Documentation
3329
3616
  #
3330
3617
  class UpdateLayoutRequest < Struct.new(
3331
- :content,
3332
3618
  :domain_id,
3333
3619
  :layout_id,
3334
- :name)
3620
+ :name,
3621
+ :content)
3335
3622
  SENSITIVE = []
3336
3623
  include Aws::Structure
3337
3624
  end
@@ -3340,27 +3627,35 @@ module Aws::ConnectCases
3340
3627
  #
3341
3628
  class UpdateLayoutResponse < Aws::EmptyStructure; end
3342
3629
 
3343
- # @!attribute [rw] description
3344
- # A brief description of the template.
3345
- # @return [String]
3346
- #
3347
3630
  # @!attribute [rw] domain_id
3348
3631
  # The unique identifier of the Cases domain.
3349
3632
  # @return [String]
3350
3633
  #
3351
- # @!attribute [rw] layout_configuration
3352
- # Configuration of layouts associated to the template.
3353
- # @return [Types::LayoutConfiguration]
3634
+ # @!attribute [rw] template_id
3635
+ # A unique identifier for the template.
3636
+ # @return [String]
3354
3637
  #
3355
3638
  # @!attribute [rw] name
3356
3639
  # The name of the template. It must be unique per domain.
3357
3640
  # @return [String]
3358
3641
  #
3642
+ # @!attribute [rw] description
3643
+ # A brief description of the template.
3644
+ # @return [String]
3645
+ #
3646
+ # @!attribute [rw] layout_configuration
3647
+ # Configuration of layouts associated to the template.
3648
+ # @return [Types::LayoutConfiguration]
3649
+ #
3359
3650
  # @!attribute [rw] required_fields
3360
3651
  # A list of fields that must contain a value for a case to be
3361
3652
  # successfully created with this template.
3362
3653
  # @return [Array<Types::RequiredField>]
3363
3654
  #
3655
+ # @!attribute [rw] status
3656
+ # The status of the template.
3657
+ # @return [String]
3658
+ #
3364
3659
  # @!attribute [rw] rules
3365
3660
  # A list of case rules (also known as [case field conditions][1]) on a
3366
3661
  # template.
@@ -3370,25 +3665,17 @@ module Aws::ConnectCases
3370
3665
  # [1]: https://docs.aws.amazon.com/connect/latest/adminguide/case-field-conditions.html
3371
3666
  # @return [Array<Types::TemplateRule>]
3372
3667
  #
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
3668
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/UpdateTemplateRequest AWS API Documentation
3382
3669
  #
3383
3670
  class UpdateTemplateRequest < Struct.new(
3384
- :description,
3385
3671
  :domain_id,
3386
- :layout_configuration,
3672
+ :template_id,
3387
3673
  :name,
3674
+ :description,
3675
+ :layout_configuration,
3388
3676
  :required_fields,
3389
- :rules,
3390
3677
  :status,
3391
- :template_id)
3678
+ :rules)
3392
3679
  SENSITIVE = []
3393
3680
  include Aws::Structure
3394
3681
  end
@@ -3403,26 +3690,26 @@ module Aws::ConnectCases
3403
3690
  #
3404
3691
  # @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
3692
  #
3406
- # @!attribute [rw] custom_entity
3407
- # Any provided entity.
3408
- # @return [String]
3409
- #
3410
3693
  # @!attribute [rw] user_arn
3411
3694
  # Represents the Amazon Connect ARN of the user.
3412
3695
  # @return [String]
3413
3696
  #
3697
+ # @!attribute [rw] custom_entity
3698
+ # Any provided entity.
3699
+ # @return [String]
3700
+ #
3414
3701
  # @see http://docs.aws.amazon.com/goto/WebAPI/connectcases-2022-10-03/UserUnion AWS API Documentation
3415
3702
  #
3416
3703
  class UserUnion < Struct.new(
3417
- :custom_entity,
3418
3704
  :user_arn,
3705
+ :custom_entity,
3419
3706
  :unknown)
3420
3707
  SENSITIVE = [:custom_entity]
3421
3708
  include Aws::Structure
3422
3709
  include Aws::Structure::Union
3423
3710
 
3424
- class CustomEntity < UserUnion; end
3425
3711
  class UserArn < UserUnion; end
3712
+ class CustomEntity < UserUnion; end
3426
3713
  class Unknown < UserUnion; end
3427
3714
  end
3428
3715