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.
data/sig/client.rbs CHANGED
@@ -85,19 +85,19 @@ module Aws
85
85
  end
86
86
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#batch_get_case_rule-instance_method
87
87
  def batch_get_case_rule: (
88
+ domain_id: ::String,
88
89
  case_rules: Array[
89
90
  {
90
91
  id: ::String
91
92
  },
92
- ],
93
- domain_id: ::String
93
+ ]
94
94
  ) -> _BatchGetCaseRuleResponseSuccess
95
95
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetCaseRuleResponseSuccess
96
96
 
97
97
  interface _BatchGetFieldResponseSuccess
98
98
  include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetFieldResponse]
99
- def errors: () -> ::Array[Types::FieldError]
100
99
  def fields: () -> ::Array[Types::GetFieldResponse]
100
+ def errors: () -> ::Array[Types::FieldError]
101
101
  end
102
102
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#batch_get_field-instance_method
103
103
  def batch_get_field: (
@@ -120,9 +120,9 @@ module Aws
120
120
  field_id: ::String,
121
121
  options: Array[
122
122
  {
123
- active: bool,
124
123
  name: ::String,
125
- value: ::String
124
+ value: ::String,
125
+ active: bool
126
126
  },
127
127
  ]
128
128
  ) -> _BatchPutFieldOptionsResponseSuccess
@@ -130,46 +130,47 @@ module Aws
130
130
 
131
131
  interface _CreateCaseResponseSuccess
132
132
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateCaseResponse]
133
- def case_arn: () -> ::String
134
133
  def case_id: () -> ::String
134
+ def case_arn: () -> ::String
135
135
  end
136
136
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#create_case-instance_method
137
137
  def create_case: (
138
- ?client_token: ::String,
139
138
  domain_id: ::String,
139
+ template_id: ::String,
140
140
  fields: Array[
141
141
  {
142
142
  id: ::String,
143
143
  value: {
144
- boolean_value: bool?,
144
+ string_value: ::String?,
145
145
  double_value: ::Float?,
146
+ boolean_value: bool?,
146
147
  empty_value: {
147
148
  }?,
148
- string_value: ::String?,
149
149
  user_arn_value: ::String?
150
150
  }
151
151
  },
152
152
  ],
153
+ ?client_token: ::String,
153
154
  ?performed_by: {
154
- custom_entity: ::String?,
155
- user_arn: ::String?
156
- },
157
- template_id: ::String
155
+ user_arn: ::String?,
156
+ custom_entity: ::String?
157
+ }
158
158
  ) -> _CreateCaseResponseSuccess
159
159
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateCaseResponseSuccess
160
160
 
161
161
  interface _CreateCaseRuleResponseSuccess
162
162
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateCaseRuleResponse]
163
- def case_rule_arn: () -> ::String
164
163
  def case_rule_id: () -> ::String
164
+ def case_rule_arn: () -> ::String
165
165
  end
166
166
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#create_case_rule-instance_method
167
167
  def create_case_rule: (
168
- ?description: ::String,
169
168
  domain_id: ::String,
170
169
  name: ::String,
170
+ ?description: ::String,
171
171
  rule: {
172
172
  required: {
173
+ default_value: bool,
173
174
  conditions: Array[
174
175
  {
175
176
  equal_to: {
@@ -177,11 +178,11 @@ module Aws
177
178
  field_id: ::String?
178
179
  },
179
180
  operand_two: {
181
+ string_value: ::String?,
180
182
  boolean_value: bool?,
181
183
  double_value: ::Float?,
182
184
  empty_value: {
183
- }?,
184
- string_value: ::String?
185
+ }?
185
186
  },
186
187
  result: bool
187
188
  }?,
@@ -190,17 +191,16 @@ module Aws
190
191
  field_id: ::String?
191
192
  },
192
193
  operand_two: {
194
+ string_value: ::String?,
193
195
  boolean_value: bool?,
194
196
  double_value: ::Float?,
195
197
  empty_value: {
196
- }?,
197
- string_value: ::String?
198
+ }?
198
199
  },
199
200
  result: bool
200
201
  }?
201
202
  },
202
- ],
203
- default_value: bool
203
+ ]
204
204
  }?
205
205
  }
206
206
  ) -> _CreateCaseRuleResponseSuccess
@@ -208,8 +208,8 @@ module Aws
208
208
 
209
209
  interface _CreateDomainResponseSuccess
210
210
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateDomainResponse]
211
- def domain_arn: () -> ::String
212
211
  def domain_id: () -> ::String
212
+ def domain_arn: () -> ::String
213
213
  def domain_status: () -> ("Active" | "CreationInProgress" | "CreationFailed")
214
214
  end
215
215
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#create_domain-instance_method
@@ -220,134 +220,152 @@ module Aws
220
220
 
221
221
  interface _CreateFieldResponseSuccess
222
222
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateFieldResponse]
223
- def field_arn: () -> ::String
224
223
  def field_id: () -> ::String
224
+ def field_arn: () -> ::String
225
225
  end
226
226
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#create_field-instance_method
227
227
  def create_field: (
228
- ?description: ::String,
229
228
  domain_id: ::String,
230
229
  name: ::String,
231
- type: ("Text" | "Number" | "Boolean" | "DateTime" | "SingleSelect" | "Url" | "User")
230
+ type: ("Text" | "Number" | "Boolean" | "DateTime" | "SingleSelect" | "Url" | "User"),
231
+ ?description: ::String
232
232
  ) -> _CreateFieldResponseSuccess
233
233
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateFieldResponseSuccess
234
234
 
235
235
  interface _CreateLayoutResponseSuccess
236
236
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateLayoutResponse]
237
- def layout_arn: () -> ::String
238
237
  def layout_id: () -> ::String
238
+ def layout_arn: () -> ::String
239
239
  end
240
240
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#create_layout-instance_method
241
241
  def create_layout: (
242
+ domain_id: ::String,
243
+ name: ::String,
242
244
  content: {
243
245
  basic: {
244
- more_info: {
246
+ top_panel: {
245
247
  sections: Array[
246
248
  {
247
249
  field_group: {
250
+ name: ::String?,
248
251
  fields: Array[
249
252
  {
250
253
  id: ::String
251
254
  },
252
- ],
253
- name: ::String?
255
+ ]
254
256
  }?
255
257
  },
256
258
  ]?
257
259
  }?,
258
- top_panel: {
260
+ more_info: {
259
261
  sections: Array[
260
262
  {
261
263
  field_group: {
264
+ name: ::String?,
262
265
  fields: Array[
263
266
  {
264
267
  id: ::String
265
268
  },
266
- ],
267
- name: ::String?
269
+ ]
268
270
  }?
269
271
  },
270
272
  ]?
271
273
  }?
272
274
  }?
273
- },
274
- domain_id: ::String,
275
- name: ::String
275
+ }
276
276
  ) -> _CreateLayoutResponseSuccess
277
277
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateLayoutResponseSuccess
278
278
 
279
279
  interface _CreateRelatedItemResponseSuccess
280
280
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateRelatedItemResponse]
281
- def related_item_arn: () -> ::String
282
281
  def related_item_id: () -> ::String
282
+ def related_item_arn: () -> ::String
283
283
  end
284
284
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#create_related_item-instance_method
285
285
  def create_related_item: (
286
+ domain_id: ::String,
286
287
  case_id: ::String,
288
+ type: ("Contact" | "Comment" | "File" | "Sla" | "ConnectCase" | "Custom"),
287
289
  content: {
290
+ contact: {
291
+ contact_arn: ::String
292
+ }?,
288
293
  comment: {
289
294
  body: ::String,
290
295
  content_type: ("Text/Plain")
291
296
  }?,
292
- contact: {
293
- contact_arn: ::String
294
- }?,
295
297
  file: {
296
298
  file_arn: ::String
297
299
  }?,
298
300
  sla: {
299
301
  sla_input_configuration: {
300
- field_id: ::String?,
301
302
  name: ::String,
303
+ type: ("CaseField"),
304
+ field_id: ::String?,
302
305
  target_field_values: Array[
303
306
  {
304
- boolean_value: bool?,
307
+ string_value: ::String?,
305
308
  double_value: ::Float?,
309
+ boolean_value: bool?,
306
310
  empty_value: {
307
311
  }?,
308
- string_value: ::String?,
309
312
  user_arn_value: ::String?
310
313
  },
311
314
  ]?,
312
- target_sla_minutes: ::Integer,
313
- type: ("CaseField")
315
+ target_sla_minutes: ::Integer
314
316
  }?
317
+ }?,
318
+ connect_case: {
319
+ case_id: ::String
320
+ }?,
321
+ custom: {
322
+ fields: Array[
323
+ {
324
+ id: ::String,
325
+ value: {
326
+ string_value: ::String?,
327
+ double_value: ::Float?,
328
+ boolean_value: bool?,
329
+ empty_value: {
330
+ }?,
331
+ user_arn_value: ::String?
332
+ }
333
+ },
334
+ ]
315
335
  }?
316
336
  },
317
- domain_id: ::String,
318
337
  ?performed_by: {
319
- custom_entity: ::String?,
320
- user_arn: ::String?
321
- },
322
- type: ("Contact" | "Comment" | "File" | "Sla")
338
+ user_arn: ::String?,
339
+ custom_entity: ::String?
340
+ }
323
341
  ) -> _CreateRelatedItemResponseSuccess
324
342
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateRelatedItemResponseSuccess
325
343
 
326
344
  interface _CreateTemplateResponseSuccess
327
345
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateTemplateResponse]
328
- def template_arn: () -> ::String
329
346
  def template_id: () -> ::String
347
+ def template_arn: () -> ::String
330
348
  end
331
349
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#create_template-instance_method
332
350
  def create_template: (
333
- ?description: ::String,
334
351
  domain_id: ::String,
352
+ name: ::String,
353
+ ?description: ::String,
335
354
  ?layout_configuration: {
336
355
  default_layout: ::String?
337
356
  },
338
- name: ::String,
339
357
  ?required_fields: Array[
340
358
  {
341
359
  field_id: ::String
342
360
  },
343
361
  ],
362
+ ?status: ("Active" | "Inactive"),
344
363
  ?rules: Array[
345
364
  {
346
365
  case_rule_id: ::String,
347
366
  field_id: ::String
348
367
  },
349
- ],
350
- ?status: ("Active" | "Inactive")
368
+ ]
351
369
  ) -> _CreateTemplateResponseSuccess
352
370
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateTemplateResponseSuccess
353
371
 
@@ -356,8 +374,8 @@ module Aws
356
374
  end
357
375
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#delete_case-instance_method
358
376
  def delete_case: (
359
- case_id: ::String,
360
- domain_id: ::String
377
+ domain_id: ::String,
378
+ case_id: ::String
361
379
  ) -> _DeleteCaseResponseSuccess
362
380
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCaseResponseSuccess
363
381
 
@@ -366,8 +384,8 @@ module Aws
366
384
  end
367
385
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#delete_case_rule-instance_method
368
386
  def delete_case_rule: (
369
- case_rule_id: ::String,
370
- domain_id: ::String
387
+ domain_id: ::String,
388
+ case_rule_id: ::String
371
389
  ) -> _DeleteCaseRuleResponseSuccess
372
390
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteCaseRuleResponseSuccess
373
391
 
@@ -405,8 +423,8 @@ module Aws
405
423
  end
406
424
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#delete_related_item-instance_method
407
425
  def delete_related_item: (
408
- case_id: ::String,
409
426
  domain_id: ::String,
427
+ case_id: ::String,
410
428
  related_item_id: ::String
411
429
  ) -> _DeleteRelatedItemResponseSuccess
412
430
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteRelatedItemResponseSuccess
@@ -424,9 +442,9 @@ module Aws
424
442
  interface _GetCaseResponseSuccess
425
443
  include ::Seahorse::Client::_ResponseSuccess[Types::GetCaseResponse]
426
444
  def fields: () -> ::Array[Types::FieldValue]
445
+ def template_id: () -> ::String
427
446
  def next_token: () -> ::String
428
447
  def tags: () -> ::Hash[::String, ::String]
429
- def template_id: () -> ::String
430
448
  end
431
449
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#get_case-instance_method
432
450
  def get_case: (
@@ -443,8 +461,8 @@ module Aws
443
461
 
444
462
  interface _GetCaseAuditEventsResponseSuccess
445
463
  include ::Seahorse::Client::_ResponseSuccess[Types::GetCaseAuditEventsResponse]
446
- def audit_events: () -> ::Array[Types::AuditEvent]
447
464
  def next_token: () -> ::String
465
+ def audit_events: () -> ::Array[Types::AuditEvent]
448
466
  end
449
467
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#get_case_audit_events-instance_method
450
468
  def get_case_audit_events: (
@@ -467,11 +485,11 @@ module Aws
467
485
 
468
486
  interface _GetDomainResponseSuccess
469
487
  include ::Seahorse::Client::_ResponseSuccess[Types::GetDomainResponse]
470
- def created_time: () -> ::Time
471
- def domain_arn: () -> ::String
472
488
  def domain_id: () -> ::String
473
- def domain_status: () -> ("Active" | "CreationInProgress" | "CreationFailed")
489
+ def domain_arn: () -> ::String
474
490
  def name: () -> ::String
491
+ def created_time: () -> ::Time
492
+ def domain_status: () -> ("Active" | "CreationInProgress" | "CreationFailed")
475
493
  def tags: () -> ::Hash[::String, ::String]
476
494
  end
477
495
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#get_domain-instance_method
@@ -482,14 +500,14 @@ module Aws
482
500
 
483
501
  interface _GetLayoutResponseSuccess
484
502
  include ::Seahorse::Client::_ResponseSuccess[Types::GetLayoutResponse]
485
- def content: () -> Types::LayoutContent
486
- def created_time: () -> ::Time
487
- def deleted: () -> bool
488
- def last_modified_time: () -> ::Time
489
- def layout_arn: () -> ::String
490
503
  def layout_id: () -> ::String
504
+ def layout_arn: () -> ::String
491
505
  def name: () -> ::String
506
+ def content: () -> Types::LayoutContent
492
507
  def tags: () -> ::Hash[::String, ::String]
508
+ def deleted: () -> bool
509
+ def created_time: () -> ::Time
510
+ def last_modified_time: () -> ::Time
493
511
  end
494
512
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#get_layout-instance_method
495
513
  def get_layout: (
@@ -500,18 +518,18 @@ module Aws
500
518
 
501
519
  interface _GetTemplateResponseSuccess
502
520
  include ::Seahorse::Client::_ResponseSuccess[Types::GetTemplateResponse]
503
- def created_time: () -> ::Time
504
- def deleted: () -> bool
521
+ def template_id: () -> ::String
522
+ def template_arn: () -> ::String
523
+ def name: () -> ::String
505
524
  def description: () -> ::String
506
- def last_modified_time: () -> ::Time
507
525
  def layout_configuration: () -> Types::LayoutConfiguration
508
- def name: () -> ::String
509
526
  def required_fields: () -> ::Array[Types::RequiredField]
510
- def rules: () -> ::Array[Types::TemplateRule]
511
- def status: () -> ("Active" | "Inactive")
512
527
  def tags: () -> ::Hash[::String, ::String]
513
- def template_arn: () -> ::String
514
- def template_id: () -> ::String
528
+ def status: () -> ("Active" | "Inactive")
529
+ def deleted: () -> bool
530
+ def created_time: () -> ::Time
531
+ def last_modified_time: () -> ::Time
532
+ def rules: () -> ::Array[Types::TemplateRule]
515
533
  end
516
534
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#get_template-instance_method
517
535
  def get_template: (
@@ -540,8 +558,8 @@ module Aws
540
558
  end
541
559
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#list_cases_for_contact-instance_method
542
560
  def list_cases_for_contact: (
543
- contact_arn: ::String,
544
561
  domain_id: ::String,
562
+ contact_arn: ::String,
545
563
  ?max_results: ::Integer,
546
564
  ?next_token: ::String
547
565
  ) -> _ListCasesForContactResponseSuccess
@@ -561,8 +579,8 @@ module Aws
561
579
 
562
580
  interface _ListFieldOptionsResponseSuccess
563
581
  include ::Seahorse::Client::_ResponseSuccess[Types::ListFieldOptionsResponse]
564
- def next_token: () -> ::String
565
582
  def options: () -> ::Array[Types::FieldOption]
583
+ def next_token: () -> ::String
566
584
  end
567
585
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#list_field_options-instance_method
568
586
  def list_field_options: (
@@ -612,8 +630,8 @@ module Aws
612
630
 
613
631
  interface _ListTemplatesResponseSuccess
614
632
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTemplatesResponse]
615
- def next_token: () -> ::String
616
633
  def templates: () -> ::Array[Types::TemplateSummary]
634
+ def next_token: () -> ::String
617
635
  end
618
636
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#list_templates-instance_method
619
637
  def list_templates: (
@@ -648,104 +666,222 @@ module Aws
648
666
  ) -> _PutCaseEventConfigurationResponseSuccess
649
667
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _PutCaseEventConfigurationResponseSuccess
650
668
 
669
+ interface _SearchAllRelatedItemsResponseSuccess
670
+ include ::Seahorse::Client::_ResponseSuccess[Types::SearchAllRelatedItemsResponse]
671
+ def next_token: () -> ::String
672
+ def related_items: () -> ::Array[Types::SearchAllRelatedItemsResponseItem]
673
+ end
674
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#search_all_related_items-instance_method
675
+ def search_all_related_items: (
676
+ domain_id: ::String,
677
+ ?max_results: ::Integer,
678
+ ?next_token: ::String,
679
+ ?filters: Array[
680
+ {
681
+ contact: {
682
+ channel: Array[::String]?,
683
+ contact_arn: ::String?
684
+ }?,
685
+ comment: {
686
+ }?,
687
+ file: {
688
+ file_arn: ::String?
689
+ }?,
690
+ sla: {
691
+ name: ::String?,
692
+ status: ("Active" | "Overdue" | "Met" | "NotMet")?
693
+ }?,
694
+ connect_case: {
695
+ case_id: ::String?
696
+ }?,
697
+ custom: {
698
+ fields: {
699
+ field: {
700
+ equal_to: {
701
+ id: ::String,
702
+ value: {
703
+ string_value: ::String?,
704
+ double_value: ::Float?,
705
+ boolean_value: bool?,
706
+ empty_value: {
707
+ }?,
708
+ user_arn_value: ::String?
709
+ }
710
+ }?,
711
+ contains: {
712
+ id: ::String,
713
+ value: {
714
+ string_value: ::String?,
715
+ double_value: ::Float?,
716
+ boolean_value: bool?,
717
+ empty_value: {
718
+ }?,
719
+ user_arn_value: ::String?
720
+ }
721
+ }?,
722
+ greater_than: {
723
+ id: ::String,
724
+ value: {
725
+ string_value: ::String?,
726
+ double_value: ::Float?,
727
+ boolean_value: bool?,
728
+ empty_value: {
729
+ }?,
730
+ user_arn_value: ::String?
731
+ }
732
+ }?,
733
+ greater_than_or_equal_to: {
734
+ id: ::String,
735
+ value: {
736
+ string_value: ::String?,
737
+ double_value: ::Float?,
738
+ boolean_value: bool?,
739
+ empty_value: {
740
+ }?,
741
+ user_arn_value: ::String?
742
+ }
743
+ }?,
744
+ less_than: {
745
+ id: ::String,
746
+ value: {
747
+ string_value: ::String?,
748
+ double_value: ::Float?,
749
+ boolean_value: bool?,
750
+ empty_value: {
751
+ }?,
752
+ user_arn_value: ::String?
753
+ }
754
+ }?,
755
+ less_than_or_equal_to: {
756
+ id: ::String,
757
+ value: {
758
+ string_value: ::String?,
759
+ double_value: ::Float?,
760
+ boolean_value: bool?,
761
+ empty_value: {
762
+ }?,
763
+ user_arn_value: ::String?
764
+ }
765
+ }?
766
+ }?,
767
+ not: untyped?,
768
+ and_all: Array[
769
+ untyped,
770
+ ]?,
771
+ or_all: Array[
772
+ untyped,
773
+ ]?
774
+ }?
775
+ }?
776
+ },
777
+ ],
778
+ ?sorts: Array[
779
+ {
780
+ sort_property: ("AssociationTime" | "CaseId"),
781
+ sort_order: ("Asc" | "Desc")
782
+ },
783
+ ]
784
+ ) -> _SearchAllRelatedItemsResponseSuccess
785
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchAllRelatedItemsResponseSuccess
786
+
651
787
  interface _SearchCasesResponseSuccess
652
788
  include ::Seahorse::Client::_ResponseSuccess[Types::SearchCasesResponse]
653
- def cases: () -> ::Array[Types::SearchCasesResponseItem]
654
789
  def next_token: () -> ::String
790
+ def cases: () -> ::Array[Types::SearchCasesResponseItem]
655
791
  end
656
792
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#search_cases-instance_method
657
793
  def search_cases: (
658
794
  domain_id: ::String,
659
- ?fields: Array[
660
- {
661
- id: ::String
662
- },
663
- ],
795
+ ?max_results: ::Integer,
796
+ ?next_token: ::String,
797
+ ?search_term: ::String,
664
798
  ?filter: {
665
- and_all: Array[
666
- untyped,
667
- ]?,
668
799
  field: {
669
- contains: {
800
+ equal_to: {
670
801
  id: ::String,
671
802
  value: {
672
- boolean_value: bool?,
803
+ string_value: ::String?,
673
804
  double_value: ::Float?,
805
+ boolean_value: bool?,
674
806
  empty_value: {
675
807
  }?,
676
- string_value: ::String?,
677
808
  user_arn_value: ::String?
678
809
  }
679
810
  }?,
680
- equal_to: {
811
+ contains: {
681
812
  id: ::String,
682
813
  value: {
683
- boolean_value: bool?,
814
+ string_value: ::String?,
684
815
  double_value: ::Float?,
816
+ boolean_value: bool?,
685
817
  empty_value: {
686
818
  }?,
687
- string_value: ::String?,
688
819
  user_arn_value: ::String?
689
820
  }
690
821
  }?,
691
822
  greater_than: {
692
823
  id: ::String,
693
824
  value: {
694
- boolean_value: bool?,
825
+ string_value: ::String?,
695
826
  double_value: ::Float?,
827
+ boolean_value: bool?,
696
828
  empty_value: {
697
829
  }?,
698
- string_value: ::String?,
699
830
  user_arn_value: ::String?
700
831
  }
701
832
  }?,
702
833
  greater_than_or_equal_to: {
703
834
  id: ::String,
704
835
  value: {
705
- boolean_value: bool?,
836
+ string_value: ::String?,
706
837
  double_value: ::Float?,
838
+ boolean_value: bool?,
707
839
  empty_value: {
708
840
  }?,
709
- string_value: ::String?,
710
841
  user_arn_value: ::String?
711
842
  }
712
843
  }?,
713
844
  less_than: {
714
845
  id: ::String,
715
846
  value: {
716
- boolean_value: bool?,
847
+ string_value: ::String?,
717
848
  double_value: ::Float?,
849
+ boolean_value: bool?,
718
850
  empty_value: {
719
851
  }?,
720
- string_value: ::String?,
721
852
  user_arn_value: ::String?
722
853
  }
723
854
  }?,
724
855
  less_than_or_equal_to: {
725
856
  id: ::String,
726
857
  value: {
727
- boolean_value: bool?,
858
+ string_value: ::String?,
728
859
  double_value: ::Float?,
860
+ boolean_value: bool?,
729
861
  empty_value: {
730
862
  }?,
731
- string_value: ::String?,
732
863
  user_arn_value: ::String?
733
864
  }
734
865
  }?
735
866
  }?,
736
867
  not: untyped?,
868
+ and_all: Array[
869
+ untyped,
870
+ ]?,
737
871
  or_all: Array[
738
872
  untyped,
739
873
  ]?
740
874
  },
741
- ?max_results: ::Integer,
742
- ?next_token: ::String,
743
- ?search_term: ::String,
744
875
  ?sorts: Array[
745
876
  {
746
877
  field_id: ::String,
747
878
  sort_order: ("Asc" | "Desc")
748
879
  },
880
+ ],
881
+ ?fields: Array[
882
+ {
883
+ id: ::String
884
+ },
749
885
  ]
750
886
  ) -> _SearchCasesResponseSuccess
751
887
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchCasesResponseSuccess
@@ -757,27 +893,109 @@ module Aws
757
893
  end
758
894
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#search_related_items-instance_method
759
895
  def search_related_items: (
760
- case_id: ::String,
761
896
  domain_id: ::String,
897
+ case_id: ::String,
898
+ ?max_results: ::Integer,
899
+ ?next_token: ::String,
762
900
  ?filters: Array[
763
901
  {
764
- comment: {
765
- }?,
766
902
  contact: {
767
903
  channel: Array[::String]?,
768
904
  contact_arn: ::String?
769
905
  }?,
906
+ comment: {
907
+ }?,
770
908
  file: {
771
909
  file_arn: ::String?
772
910
  }?,
773
911
  sla: {
774
912
  name: ::String?,
775
913
  status: ("Active" | "Overdue" | "Met" | "NotMet")?
914
+ }?,
915
+ connect_case: {
916
+ case_id: ::String?
917
+ }?,
918
+ custom: {
919
+ fields: {
920
+ field: {
921
+ equal_to: {
922
+ id: ::String,
923
+ value: {
924
+ string_value: ::String?,
925
+ double_value: ::Float?,
926
+ boolean_value: bool?,
927
+ empty_value: {
928
+ }?,
929
+ user_arn_value: ::String?
930
+ }
931
+ }?,
932
+ contains: {
933
+ id: ::String,
934
+ value: {
935
+ string_value: ::String?,
936
+ double_value: ::Float?,
937
+ boolean_value: bool?,
938
+ empty_value: {
939
+ }?,
940
+ user_arn_value: ::String?
941
+ }
942
+ }?,
943
+ greater_than: {
944
+ id: ::String,
945
+ value: {
946
+ string_value: ::String?,
947
+ double_value: ::Float?,
948
+ boolean_value: bool?,
949
+ empty_value: {
950
+ }?,
951
+ user_arn_value: ::String?
952
+ }
953
+ }?,
954
+ greater_than_or_equal_to: {
955
+ id: ::String,
956
+ value: {
957
+ string_value: ::String?,
958
+ double_value: ::Float?,
959
+ boolean_value: bool?,
960
+ empty_value: {
961
+ }?,
962
+ user_arn_value: ::String?
963
+ }
964
+ }?,
965
+ less_than: {
966
+ id: ::String,
967
+ value: {
968
+ string_value: ::String?,
969
+ double_value: ::Float?,
970
+ boolean_value: bool?,
971
+ empty_value: {
972
+ }?,
973
+ user_arn_value: ::String?
974
+ }
975
+ }?,
976
+ less_than_or_equal_to: {
977
+ id: ::String,
978
+ value: {
979
+ string_value: ::String?,
980
+ double_value: ::Float?,
981
+ boolean_value: bool?,
982
+ empty_value: {
983
+ }?,
984
+ user_arn_value: ::String?
985
+ }
986
+ }?
987
+ }?,
988
+ not: untyped?,
989
+ and_all: Array[
990
+ untyped,
991
+ ]?,
992
+ or_all: Array[
993
+ untyped,
994
+ ]?
995
+ }?
776
996
  }?
777
997
  },
778
- ],
779
- ?max_results: ::Integer,
780
- ?next_token: ::String
998
+ ]
781
999
  ) -> _SearchRelatedItemsResponseSuccess
782
1000
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchRelatedItemsResponseSuccess
783
1001
 
@@ -800,24 +1018,24 @@ module Aws
800
1018
  end
801
1019
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#update_case-instance_method
802
1020
  def update_case: (
803
- case_id: ::String,
804
1021
  domain_id: ::String,
1022
+ case_id: ::String,
805
1023
  fields: Array[
806
1024
  {
807
1025
  id: ::String,
808
1026
  value: {
809
- boolean_value: bool?,
1027
+ string_value: ::String?,
810
1028
  double_value: ::Float?,
1029
+ boolean_value: bool?,
811
1030
  empty_value: {
812
1031
  }?,
813
- string_value: ::String?,
814
1032
  user_arn_value: ::String?
815
1033
  }
816
1034
  },
817
1035
  ],
818
1036
  ?performed_by: {
819
- custom_entity: ::String?,
820
- user_arn: ::String?
1037
+ user_arn: ::String?,
1038
+ custom_entity: ::String?
821
1039
  }
822
1040
  ) -> _UpdateCaseResponseSuccess
823
1041
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCaseResponseSuccess
@@ -827,12 +1045,13 @@ module Aws
827
1045
  end
828
1046
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#update_case_rule-instance_method
829
1047
  def update_case_rule: (
830
- case_rule_id: ::String,
831
- ?description: ::String,
832
1048
  domain_id: ::String,
1049
+ case_rule_id: ::String,
833
1050
  ?name: ::String,
1051
+ ?description: ::String,
834
1052
  ?rule: {
835
1053
  required: {
1054
+ default_value: bool,
836
1055
  conditions: Array[
837
1056
  {
838
1057
  equal_to: {
@@ -840,11 +1059,11 @@ module Aws
840
1059
  field_id: ::String?
841
1060
  },
842
1061
  operand_two: {
1062
+ string_value: ::String?,
843
1063
  boolean_value: bool?,
844
1064
  double_value: ::Float?,
845
1065
  empty_value: {
846
- }?,
847
- string_value: ::String?
1066
+ }?
848
1067
  },
849
1068
  result: bool
850
1069
  }?,
@@ -853,17 +1072,16 @@ module Aws
853
1072
  field_id: ::String?
854
1073
  },
855
1074
  operand_two: {
1075
+ string_value: ::String?,
856
1076
  boolean_value: bool?,
857
1077
  double_value: ::Float?,
858
1078
  empty_value: {
859
- }?,
860
- string_value: ::String?
1079
+ }?
861
1080
  },
862
1081
  result: bool
863
1082
  }?
864
1083
  },
865
- ],
866
- default_value: bool
1084
+ ]
867
1085
  }?
868
1086
  }
869
1087
  ) -> _UpdateCaseRuleResponseSuccess
@@ -874,10 +1092,10 @@ module Aws
874
1092
  end
875
1093
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#update_field-instance_method
876
1094
  def update_field: (
877
- ?description: ::String,
878
1095
  domain_id: ::String,
879
1096
  field_id: ::String,
880
- ?name: ::String
1097
+ ?name: ::String,
1098
+ ?description: ::String
881
1099
  ) -> _UpdateFieldResponseSuccess
882
1100
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFieldResponseSuccess
883
1101
 
@@ -886,41 +1104,41 @@ module Aws
886
1104
  end
887
1105
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#update_layout-instance_method
888
1106
  def update_layout: (
1107
+ domain_id: ::String,
1108
+ layout_id: ::String,
1109
+ ?name: ::String,
889
1110
  ?content: {
890
1111
  basic: {
891
- more_info: {
1112
+ top_panel: {
892
1113
  sections: Array[
893
1114
  {
894
1115
  field_group: {
1116
+ name: ::String?,
895
1117
  fields: Array[
896
1118
  {
897
1119
  id: ::String
898
1120
  },
899
- ],
900
- name: ::String?
1121
+ ]
901
1122
  }?
902
1123
  },
903
1124
  ]?
904
1125
  }?,
905
- top_panel: {
1126
+ more_info: {
906
1127
  sections: Array[
907
1128
  {
908
1129
  field_group: {
1130
+ name: ::String?,
909
1131
  fields: Array[
910
1132
  {
911
1133
  id: ::String
912
1134
  },
913
- ],
914
- name: ::String?
1135
+ ]
915
1136
  }?
916
1137
  },
917
1138
  ]?
918
1139
  }?
919
1140
  }?
920
- },
921
- domain_id: ::String,
922
- layout_id: ::String,
923
- ?name: ::String
1141
+ }
924
1142
  ) -> _UpdateLayoutResponseSuccess
925
1143
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLayoutResponseSuccess
926
1144
 
@@ -929,25 +1147,25 @@ module Aws
929
1147
  end
930
1148
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#update_template-instance_method
931
1149
  def update_template: (
932
- ?description: ::String,
933
1150
  domain_id: ::String,
1151
+ template_id: ::String,
1152
+ ?name: ::String,
1153
+ ?description: ::String,
934
1154
  ?layout_configuration: {
935
1155
  default_layout: ::String?
936
1156
  },
937
- ?name: ::String,
938
1157
  ?required_fields: Array[
939
1158
  {
940
1159
  field_id: ::String
941
1160
  },
942
1161
  ],
1162
+ ?status: ("Active" | "Inactive"),
943
1163
  ?rules: Array[
944
1164
  {
945
1165
  case_rule_id: ::String,
946
1166
  field_id: ::String
947
1167
  },
948
- ],
949
- ?status: ("Active" | "Inactive"),
950
- template_id: ::String
1168
+ ]
951
1169
  ) -> _UpdateTemplateResponseSuccess
952
1170
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTemplateResponseSuccess
953
1171
  end