aws-sdk-connectcases 1.49.0 → 1.51.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
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: (
@@ -650,102 +668,102 @@ module Aws
650
668
 
651
669
  interface _SearchCasesResponseSuccess
652
670
  include ::Seahorse::Client::_ResponseSuccess[Types::SearchCasesResponse]
653
- def cases: () -> ::Array[Types::SearchCasesResponseItem]
654
671
  def next_token: () -> ::String
672
+ def cases: () -> ::Array[Types::SearchCasesResponseItem]
655
673
  end
656
674
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#search_cases-instance_method
657
675
  def search_cases: (
658
676
  domain_id: ::String,
659
- ?fields: Array[
660
- {
661
- id: ::String
662
- },
663
- ],
677
+ ?max_results: ::Integer,
678
+ ?next_token: ::String,
679
+ ?search_term: ::String,
664
680
  ?filter: {
665
- and_all: Array[
666
- untyped,
667
- ]?,
668
681
  field: {
669
- contains: {
682
+ equal_to: {
670
683
  id: ::String,
671
684
  value: {
672
- boolean_value: bool?,
685
+ string_value: ::String?,
673
686
  double_value: ::Float?,
687
+ boolean_value: bool?,
674
688
  empty_value: {
675
689
  }?,
676
- string_value: ::String?,
677
690
  user_arn_value: ::String?
678
691
  }
679
692
  }?,
680
- equal_to: {
693
+ contains: {
681
694
  id: ::String,
682
695
  value: {
683
- boolean_value: bool?,
696
+ string_value: ::String?,
684
697
  double_value: ::Float?,
698
+ boolean_value: bool?,
685
699
  empty_value: {
686
700
  }?,
687
- string_value: ::String?,
688
701
  user_arn_value: ::String?
689
702
  }
690
703
  }?,
691
704
  greater_than: {
692
705
  id: ::String,
693
706
  value: {
694
- boolean_value: bool?,
707
+ string_value: ::String?,
695
708
  double_value: ::Float?,
709
+ boolean_value: bool?,
696
710
  empty_value: {
697
711
  }?,
698
- string_value: ::String?,
699
712
  user_arn_value: ::String?
700
713
  }
701
714
  }?,
702
715
  greater_than_or_equal_to: {
703
716
  id: ::String,
704
717
  value: {
705
- boolean_value: bool?,
718
+ string_value: ::String?,
706
719
  double_value: ::Float?,
720
+ boolean_value: bool?,
707
721
  empty_value: {
708
722
  }?,
709
- string_value: ::String?,
710
723
  user_arn_value: ::String?
711
724
  }
712
725
  }?,
713
726
  less_than: {
714
727
  id: ::String,
715
728
  value: {
716
- boolean_value: bool?,
729
+ string_value: ::String?,
717
730
  double_value: ::Float?,
731
+ boolean_value: bool?,
718
732
  empty_value: {
719
733
  }?,
720
- string_value: ::String?,
721
734
  user_arn_value: ::String?
722
735
  }
723
736
  }?,
724
737
  less_than_or_equal_to: {
725
738
  id: ::String,
726
739
  value: {
727
- boolean_value: bool?,
740
+ string_value: ::String?,
728
741
  double_value: ::Float?,
742
+ boolean_value: bool?,
729
743
  empty_value: {
730
744
  }?,
731
- string_value: ::String?,
732
745
  user_arn_value: ::String?
733
746
  }
734
747
  }?
735
748
  }?,
736
749
  not: untyped?,
750
+ and_all: Array[
751
+ untyped,
752
+ ]?,
737
753
  or_all: Array[
738
754
  untyped,
739
755
  ]?
740
756
  },
741
- ?max_results: ::Integer,
742
- ?next_token: ::String,
743
- ?search_term: ::String,
744
757
  ?sorts: Array[
745
758
  {
746
759
  field_id: ::String,
747
760
  sort_order: ("Asc" | "Desc")
748
761
  },
762
+ ],
763
+ ?fields: Array[
764
+ {
765
+ id: ::String
766
+ },
749
767
  ]
750
768
  ) -> _SearchCasesResponseSuccess
751
769
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchCasesResponseSuccess
@@ -757,27 +775,109 @@ module Aws
757
775
  end
758
776
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#search_related_items-instance_method
759
777
  def search_related_items: (
760
- case_id: ::String,
761
778
  domain_id: ::String,
779
+ case_id: ::String,
780
+ ?max_results: ::Integer,
781
+ ?next_token: ::String,
762
782
  ?filters: Array[
763
783
  {
764
- comment: {
765
- }?,
766
784
  contact: {
767
785
  channel: Array[::String]?,
768
786
  contact_arn: ::String?
769
787
  }?,
788
+ comment: {
789
+ }?,
770
790
  file: {
771
791
  file_arn: ::String?
772
792
  }?,
773
793
  sla: {
774
794
  name: ::String?,
775
795
  status: ("Active" | "Overdue" | "Met" | "NotMet")?
796
+ }?,
797
+ connect_case: {
798
+ case_id: ::String?
799
+ }?,
800
+ custom: {
801
+ fields: {
802
+ field: {
803
+ equal_to: {
804
+ id: ::String,
805
+ value: {
806
+ string_value: ::String?,
807
+ double_value: ::Float?,
808
+ boolean_value: bool?,
809
+ empty_value: {
810
+ }?,
811
+ user_arn_value: ::String?
812
+ }
813
+ }?,
814
+ contains: {
815
+ id: ::String,
816
+ value: {
817
+ string_value: ::String?,
818
+ double_value: ::Float?,
819
+ boolean_value: bool?,
820
+ empty_value: {
821
+ }?,
822
+ user_arn_value: ::String?
823
+ }
824
+ }?,
825
+ greater_than: {
826
+ id: ::String,
827
+ value: {
828
+ string_value: ::String?,
829
+ double_value: ::Float?,
830
+ boolean_value: bool?,
831
+ empty_value: {
832
+ }?,
833
+ user_arn_value: ::String?
834
+ }
835
+ }?,
836
+ greater_than_or_equal_to: {
837
+ id: ::String,
838
+ value: {
839
+ string_value: ::String?,
840
+ double_value: ::Float?,
841
+ boolean_value: bool?,
842
+ empty_value: {
843
+ }?,
844
+ user_arn_value: ::String?
845
+ }
846
+ }?,
847
+ less_than: {
848
+ id: ::String,
849
+ value: {
850
+ string_value: ::String?,
851
+ double_value: ::Float?,
852
+ boolean_value: bool?,
853
+ empty_value: {
854
+ }?,
855
+ user_arn_value: ::String?
856
+ }
857
+ }?,
858
+ less_than_or_equal_to: {
859
+ id: ::String,
860
+ value: {
861
+ string_value: ::String?,
862
+ double_value: ::Float?,
863
+ boolean_value: bool?,
864
+ empty_value: {
865
+ }?,
866
+ user_arn_value: ::String?
867
+ }
868
+ }?
869
+ }?,
870
+ not: untyped?,
871
+ and_all: Array[
872
+ untyped,
873
+ ]?,
874
+ or_all: Array[
875
+ untyped,
876
+ ]?
877
+ }?
776
878
  }?
777
879
  },
778
- ],
779
- ?max_results: ::Integer,
780
- ?next_token: ::String
880
+ ]
781
881
  ) -> _SearchRelatedItemsResponseSuccess
782
882
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchRelatedItemsResponseSuccess
783
883
 
@@ -800,24 +900,24 @@ module Aws
800
900
  end
801
901
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#update_case-instance_method
802
902
  def update_case: (
803
- case_id: ::String,
804
903
  domain_id: ::String,
904
+ case_id: ::String,
805
905
  fields: Array[
806
906
  {
807
907
  id: ::String,
808
908
  value: {
809
- boolean_value: bool?,
909
+ string_value: ::String?,
810
910
  double_value: ::Float?,
911
+ boolean_value: bool?,
811
912
  empty_value: {
812
913
  }?,
813
- string_value: ::String?,
814
914
  user_arn_value: ::String?
815
915
  }
816
916
  },
817
917
  ],
818
918
  ?performed_by: {
819
- custom_entity: ::String?,
820
- user_arn: ::String?
919
+ user_arn: ::String?,
920
+ custom_entity: ::String?
821
921
  }
822
922
  ) -> _UpdateCaseResponseSuccess
823
923
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateCaseResponseSuccess
@@ -827,12 +927,13 @@ module Aws
827
927
  end
828
928
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#update_case_rule-instance_method
829
929
  def update_case_rule: (
830
- case_rule_id: ::String,
831
- ?description: ::String,
832
930
  domain_id: ::String,
931
+ case_rule_id: ::String,
833
932
  ?name: ::String,
933
+ ?description: ::String,
834
934
  ?rule: {
835
935
  required: {
936
+ default_value: bool,
836
937
  conditions: Array[
837
938
  {
838
939
  equal_to: {
@@ -840,11 +941,11 @@ module Aws
840
941
  field_id: ::String?
841
942
  },
842
943
  operand_two: {
944
+ string_value: ::String?,
843
945
  boolean_value: bool?,
844
946
  double_value: ::Float?,
845
947
  empty_value: {
846
- }?,
847
- string_value: ::String?
948
+ }?
848
949
  },
849
950
  result: bool
850
951
  }?,
@@ -853,17 +954,16 @@ module Aws
853
954
  field_id: ::String?
854
955
  },
855
956
  operand_two: {
957
+ string_value: ::String?,
856
958
  boolean_value: bool?,
857
959
  double_value: ::Float?,
858
960
  empty_value: {
859
- }?,
860
- string_value: ::String?
961
+ }?
861
962
  },
862
963
  result: bool
863
964
  }?
864
965
  },
865
- ],
866
- default_value: bool
966
+ ]
867
967
  }?
868
968
  }
869
969
  ) -> _UpdateCaseRuleResponseSuccess
@@ -874,10 +974,10 @@ module Aws
874
974
  end
875
975
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#update_field-instance_method
876
976
  def update_field: (
877
- ?description: ::String,
878
977
  domain_id: ::String,
879
978
  field_id: ::String,
880
- ?name: ::String
979
+ ?name: ::String,
980
+ ?description: ::String
881
981
  ) -> _UpdateFieldResponseSuccess
882
982
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateFieldResponseSuccess
883
983
 
@@ -886,41 +986,41 @@ module Aws
886
986
  end
887
987
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#update_layout-instance_method
888
988
  def update_layout: (
989
+ domain_id: ::String,
990
+ layout_id: ::String,
991
+ ?name: ::String,
889
992
  ?content: {
890
993
  basic: {
891
- more_info: {
994
+ top_panel: {
892
995
  sections: Array[
893
996
  {
894
997
  field_group: {
998
+ name: ::String?,
895
999
  fields: Array[
896
1000
  {
897
1001
  id: ::String
898
1002
  },
899
- ],
900
- name: ::String?
1003
+ ]
901
1004
  }?
902
1005
  },
903
1006
  ]?
904
1007
  }?,
905
- top_panel: {
1008
+ more_info: {
906
1009
  sections: Array[
907
1010
  {
908
1011
  field_group: {
1012
+ name: ::String?,
909
1013
  fields: Array[
910
1014
  {
911
1015
  id: ::String
912
1016
  },
913
- ],
914
- name: ::String?
1017
+ ]
915
1018
  }?
916
1019
  },
917
1020
  ]?
918
1021
  }?
919
1022
  }?
920
- },
921
- domain_id: ::String,
922
- layout_id: ::String,
923
- ?name: ::String
1023
+ }
924
1024
  ) -> _UpdateLayoutResponseSuccess
925
1025
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateLayoutResponseSuccess
926
1026
 
@@ -929,25 +1029,25 @@ module Aws
929
1029
  end
930
1030
  # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/ConnectCases/Client.html#update_template-instance_method
931
1031
  def update_template: (
932
- ?description: ::String,
933
1032
  domain_id: ::String,
1033
+ template_id: ::String,
1034
+ ?name: ::String,
1035
+ ?description: ::String,
934
1036
  ?layout_configuration: {
935
1037
  default_layout: ::String?
936
1038
  },
937
- ?name: ::String,
938
1039
  ?required_fields: Array[
939
1040
  {
940
1041
  field_id: ::String
941
1042
  },
942
1043
  ],
1044
+ ?status: ("Active" | "Inactive"),
943
1045
  ?rules: Array[
944
1046
  {
945
1047
  case_rule_id: ::String,
946
1048
  field_id: ::String
947
1049
  },
948
- ],
949
- ?status: ("Active" | "Inactive"),
950
- template_id: ::String
1050
+ ]
951
1051
  ) -> _UpdateTemplateResponseSuccess
952
1052
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _UpdateTemplateResponseSuccess
953
1053
  end