aws-sdk-customerprofiles 1.56.0 → 1.57.0

Sign up to get free protection for your applications and to get access to all the features.
data/sig/client.rbs CHANGED
@@ -89,6 +89,39 @@ module Aws
89
89
  ) -> _AddProfileKeyResponseSuccess
90
90
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _AddProfileKeyResponseSuccess
91
91
 
92
+ interface _BatchGetCalculatedAttributeForProfileResponseSuccess
93
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetCalculatedAttributeForProfileResponse]
94
+ def errors: () -> ::Array[Types::BatchGetCalculatedAttributeForProfileError]
95
+ def calculated_attribute_values: () -> ::Array[Types::CalculatedAttributeValue]
96
+ def condition_overrides: () -> Types::ConditionOverrides
97
+ end
98
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#batch_get_calculated_attribute_for_profile-instance_method
99
+ def batch_get_calculated_attribute_for_profile: (
100
+ calculated_attribute_name: ::String,
101
+ domain_name: ::String,
102
+ profile_ids: Array[::String],
103
+ ?condition_overrides: {
104
+ range: {
105
+ start: ::Integer,
106
+ end: ::Integer?,
107
+ unit: ("DAYS")
108
+ }?
109
+ }
110
+ ) -> _BatchGetCalculatedAttributeForProfileResponseSuccess
111
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetCalculatedAttributeForProfileResponseSuccess
112
+
113
+ interface _BatchGetProfileResponseSuccess
114
+ include ::Seahorse::Client::_ResponseSuccess[Types::BatchGetProfileResponse]
115
+ def errors: () -> ::Array[Types::BatchGetProfileError]
116
+ def profiles: () -> ::Array[Types::Profile]
117
+ end
118
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#batch_get_profile-instance_method
119
+ def batch_get_profile: (
120
+ domain_name: ::String,
121
+ profile_ids: Array[::String]
122
+ ) -> _BatchGetProfileResponseSuccess
123
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetProfileResponseSuccess
124
+
92
125
  interface _CreateCalculatedAttributeDefinitionResponseSuccess
93
126
  include ::Seahorse::Client::_ResponseSuccess[Types::CreateCalculatedAttributeDefinitionResponse]
94
127
  def calculated_attribute_name: () -> ::String
@@ -96,6 +129,7 @@ module Aws
96
129
  def description: () -> ::String
97
130
  def attribute_details: () -> Types::AttributeDetails
98
131
  def conditions: () -> Types::Conditions
132
+ def filter: () -> Types::Filter
99
133
  def statistic: () -> ("FIRST_OCCURRENCE" | "LAST_OCCURRENCE" | "COUNT" | "SUM" | "MINIMUM" | "MAXIMUM" | "AVERAGE" | "MAX_OCCURRENCE")
100
134
  def created_at: () -> ::Time
101
135
  def last_updated_at: () -> ::Time
@@ -126,6 +160,22 @@ module Aws
126
160
  operator: ("EQUAL_TO" | "GREATER_THAN" | "LESS_THAN" | "NOT_EQUAL_TO")
127
161
  }?
128
162
  },
163
+ ?filter: {
164
+ include: ("ALL" | "ANY" | "NONE"),
165
+ groups: Array[
166
+ {
167
+ type: ("ALL" | "ANY" | "NONE"),
168
+ dimensions: Array[
169
+ {
170
+ attributes: Hash[::String, {
171
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH" | "BEFORE" | "AFTER" | "BETWEEN" | "NOT_BETWEEN" | "ON" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL" | "EQUAL"),
172
+ values: Array[::String]
173
+ }]
174
+ },
175
+ ]
176
+ },
177
+ ]
178
+ },
129
179
  statistic: ("FIRST_OCCURRENCE" | "LAST_OCCURRENCE" | "COUNT" | "SUM" | "MINIMUM" | "MAXIMUM" | "AVERAGE" | "MAX_OCCURRENCE"),
130
180
  ?tags: Hash[::String, ::String]
131
181
  ) -> _CreateCalculatedAttributeDefinitionResponseSuccess
@@ -382,6 +432,458 @@ module Aws
382
432
  ) -> _CreateProfileResponseSuccess
383
433
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateProfileResponseSuccess
384
434
 
435
+ interface _CreateSegmentDefinitionResponseSuccess
436
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSegmentDefinitionResponse]
437
+ def segment_definition_name: () -> ::String
438
+ def display_name: () -> ::String
439
+ def description: () -> ::String
440
+ def created_at: () -> ::Time
441
+ def segment_definition_arn: () -> ::String
442
+ def tags: () -> ::Hash[::String, ::String]
443
+ end
444
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#create_segment_definition-instance_method
445
+ def create_segment_definition: (
446
+ domain_name: ::String,
447
+ segment_definition_name: ::String,
448
+ display_name: ::String,
449
+ ?description: ::String,
450
+ segment_groups: {
451
+ groups: Array[
452
+ {
453
+ dimensions: Array[
454
+ {
455
+ profile_attributes: {
456
+ account_number: {
457
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
458
+ values: Array[::String]
459
+ }?,
460
+ additional_information: {
461
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
462
+ values: Array[::String]
463
+ }?,
464
+ first_name: {
465
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
466
+ values: Array[::String]
467
+ }?,
468
+ last_name: {
469
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
470
+ values: Array[::String]
471
+ }?,
472
+ middle_name: {
473
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
474
+ values: Array[::String]
475
+ }?,
476
+ gender_string: {
477
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
478
+ values: Array[::String]
479
+ }?,
480
+ party_type_string: {
481
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
482
+ values: Array[::String]
483
+ }?,
484
+ birth_date: {
485
+ dimension_type: ("BEFORE" | "AFTER" | "BETWEEN" | "NOT_BETWEEN" | "ON"),
486
+ values: Array[::String]
487
+ }?,
488
+ phone_number: {
489
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
490
+ values: Array[::String]
491
+ }?,
492
+ business_name: {
493
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
494
+ values: Array[::String]
495
+ }?,
496
+ business_phone_number: {
497
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
498
+ values: Array[::String]
499
+ }?,
500
+ home_phone_number: {
501
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
502
+ values: Array[::String]
503
+ }?,
504
+ mobile_phone_number: {
505
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
506
+ values: Array[::String]
507
+ }?,
508
+ email_address: {
509
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
510
+ values: Array[::String]
511
+ }?,
512
+ personal_email_address: {
513
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
514
+ values: Array[::String]
515
+ }?,
516
+ business_email_address: {
517
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
518
+ values: Array[::String]
519
+ }?,
520
+ address: {
521
+ city: {
522
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
523
+ values: Array[::String]
524
+ }?,
525
+ country: {
526
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
527
+ values: Array[::String]
528
+ }?,
529
+ county: {
530
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
531
+ values: Array[::String]
532
+ }?,
533
+ postal_code: {
534
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
535
+ values: Array[::String]
536
+ }?,
537
+ province: {
538
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
539
+ values: Array[::String]
540
+ }?,
541
+ state: {
542
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
543
+ values: Array[::String]
544
+ }?
545
+ }?,
546
+ shipping_address: {
547
+ city: {
548
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
549
+ values: Array[::String]
550
+ }?,
551
+ country: {
552
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
553
+ values: Array[::String]
554
+ }?,
555
+ county: {
556
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
557
+ values: Array[::String]
558
+ }?,
559
+ postal_code: {
560
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
561
+ values: Array[::String]
562
+ }?,
563
+ province: {
564
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
565
+ values: Array[::String]
566
+ }?,
567
+ state: {
568
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
569
+ values: Array[::String]
570
+ }?
571
+ }?,
572
+ mailing_address: {
573
+ city: {
574
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
575
+ values: Array[::String]
576
+ }?,
577
+ country: {
578
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
579
+ values: Array[::String]
580
+ }?,
581
+ county: {
582
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
583
+ values: Array[::String]
584
+ }?,
585
+ postal_code: {
586
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
587
+ values: Array[::String]
588
+ }?,
589
+ province: {
590
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
591
+ values: Array[::String]
592
+ }?,
593
+ state: {
594
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
595
+ values: Array[::String]
596
+ }?
597
+ }?,
598
+ billing_address: {
599
+ city: {
600
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
601
+ values: Array[::String]
602
+ }?,
603
+ country: {
604
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
605
+ values: Array[::String]
606
+ }?,
607
+ county: {
608
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
609
+ values: Array[::String]
610
+ }?,
611
+ postal_code: {
612
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
613
+ values: Array[::String]
614
+ }?,
615
+ province: {
616
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
617
+ values: Array[::String]
618
+ }?,
619
+ state: {
620
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
621
+ values: Array[::String]
622
+ }?
623
+ }?,
624
+ attributes: Hash[::String, {
625
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH" | "BEFORE" | "AFTER" | "BETWEEN" | "NOT_BETWEEN" | "ON" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL" | "EQUAL"),
626
+ values: Array[::String]
627
+ }]?
628
+ }?,
629
+ calculated_attributes: Hash[::String, {
630
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH" | "BEFORE" | "AFTER" | "BETWEEN" | "NOT_BETWEEN" | "ON" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL" | "EQUAL"),
631
+ values: Array[::String],
632
+ condition_overrides: {
633
+ range: {
634
+ start: ::Integer,
635
+ end: ::Integer?,
636
+ unit: ("DAYS")
637
+ }?
638
+ }?
639
+ }]?
640
+ },
641
+ ]?,
642
+ source_segments: Array[
643
+ {
644
+ segment_definition_name: ::String?
645
+ },
646
+ ]?,
647
+ source_type: ("ALL" | "ANY" | "NONE")?,
648
+ type: ("ALL" | "ANY" | "NONE")?
649
+ },
650
+ ]?,
651
+ include: ("ALL" | "ANY" | "NONE")?
652
+ },
653
+ ?tags: Hash[::String, ::String]
654
+ ) -> _CreateSegmentDefinitionResponseSuccess
655
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSegmentDefinitionResponseSuccess
656
+
657
+ interface _CreateSegmentEstimateResponseSuccess
658
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSegmentEstimateResponse]
659
+ def domain_name: () -> ::String
660
+ def estimate_id: () -> ::String
661
+ def status_code: () -> ::Integer
662
+ end
663
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#create_segment_estimate-instance_method
664
+ def create_segment_estimate: (
665
+ domain_name: ::String,
666
+ segment_query: {
667
+ groups: Array[
668
+ {
669
+ dimensions: Array[
670
+ {
671
+ profile_attributes: {
672
+ account_number: {
673
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
674
+ values: Array[::String]
675
+ }?,
676
+ additional_information: {
677
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
678
+ values: Array[::String]
679
+ }?,
680
+ first_name: {
681
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
682
+ values: Array[::String]
683
+ }?,
684
+ last_name: {
685
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
686
+ values: Array[::String]
687
+ }?,
688
+ middle_name: {
689
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
690
+ values: Array[::String]
691
+ }?,
692
+ gender_string: {
693
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
694
+ values: Array[::String]
695
+ }?,
696
+ party_type_string: {
697
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
698
+ values: Array[::String]
699
+ }?,
700
+ birth_date: {
701
+ dimension_type: ("BEFORE" | "AFTER" | "BETWEEN" | "NOT_BETWEEN" | "ON"),
702
+ values: Array[::String]
703
+ }?,
704
+ phone_number: {
705
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
706
+ values: Array[::String]
707
+ }?,
708
+ business_name: {
709
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
710
+ values: Array[::String]
711
+ }?,
712
+ business_phone_number: {
713
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
714
+ values: Array[::String]
715
+ }?,
716
+ home_phone_number: {
717
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
718
+ values: Array[::String]
719
+ }?,
720
+ mobile_phone_number: {
721
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
722
+ values: Array[::String]
723
+ }?,
724
+ email_address: {
725
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
726
+ values: Array[::String]
727
+ }?,
728
+ personal_email_address: {
729
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
730
+ values: Array[::String]
731
+ }?,
732
+ business_email_address: {
733
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
734
+ values: Array[::String]
735
+ }?,
736
+ address: {
737
+ city: {
738
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
739
+ values: Array[::String]
740
+ }?,
741
+ country: {
742
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
743
+ values: Array[::String]
744
+ }?,
745
+ county: {
746
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
747
+ values: Array[::String]
748
+ }?,
749
+ postal_code: {
750
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
751
+ values: Array[::String]
752
+ }?,
753
+ province: {
754
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
755
+ values: Array[::String]
756
+ }?,
757
+ state: {
758
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
759
+ values: Array[::String]
760
+ }?
761
+ }?,
762
+ shipping_address: {
763
+ city: {
764
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
765
+ values: Array[::String]
766
+ }?,
767
+ country: {
768
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
769
+ values: Array[::String]
770
+ }?,
771
+ county: {
772
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
773
+ values: Array[::String]
774
+ }?,
775
+ postal_code: {
776
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
777
+ values: Array[::String]
778
+ }?,
779
+ province: {
780
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
781
+ values: Array[::String]
782
+ }?,
783
+ state: {
784
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
785
+ values: Array[::String]
786
+ }?
787
+ }?,
788
+ mailing_address: {
789
+ city: {
790
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
791
+ values: Array[::String]
792
+ }?,
793
+ country: {
794
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
795
+ values: Array[::String]
796
+ }?,
797
+ county: {
798
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
799
+ values: Array[::String]
800
+ }?,
801
+ postal_code: {
802
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
803
+ values: Array[::String]
804
+ }?,
805
+ province: {
806
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
807
+ values: Array[::String]
808
+ }?,
809
+ state: {
810
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
811
+ values: Array[::String]
812
+ }?
813
+ }?,
814
+ billing_address: {
815
+ city: {
816
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
817
+ values: Array[::String]
818
+ }?,
819
+ country: {
820
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
821
+ values: Array[::String]
822
+ }?,
823
+ county: {
824
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
825
+ values: Array[::String]
826
+ }?,
827
+ postal_code: {
828
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
829
+ values: Array[::String]
830
+ }?,
831
+ province: {
832
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
833
+ values: Array[::String]
834
+ }?,
835
+ state: {
836
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH"),
837
+ values: Array[::String]
838
+ }?
839
+ }?,
840
+ attributes: Hash[::String, {
841
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH" | "BEFORE" | "AFTER" | "BETWEEN" | "NOT_BETWEEN" | "ON" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL" | "EQUAL"),
842
+ values: Array[::String]
843
+ }]?
844
+ }?,
845
+ calculated_attributes: Hash[::String, {
846
+ dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH" | "BEFORE" | "AFTER" | "BETWEEN" | "NOT_BETWEEN" | "ON" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL" | "EQUAL"),
847
+ values: Array[::String],
848
+ condition_overrides: {
849
+ range: {
850
+ start: ::Integer,
851
+ end: ::Integer?,
852
+ unit: ("DAYS")
853
+ }?
854
+ }?
855
+ }]?
856
+ },
857
+ ]?,
858
+ source_segments: Array[
859
+ {
860
+ segment_definition_name: ::String?
861
+ },
862
+ ]?,
863
+ source_type: ("ALL" | "ANY" | "NONE")?,
864
+ type: ("ALL" | "ANY" | "NONE")?
865
+ },
866
+ ]?,
867
+ include: ("ALL" | "ANY" | "NONE")?
868
+ }
869
+ ) -> _CreateSegmentEstimateResponseSuccess
870
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSegmentEstimateResponseSuccess
871
+
872
+ interface _CreateSegmentSnapshotResponseSuccess
873
+ include ::Seahorse::Client::_ResponseSuccess[Types::CreateSegmentSnapshotResponse]
874
+ def snapshot_id: () -> ::String
875
+ end
876
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#create_segment_snapshot-instance_method
877
+ def create_segment_snapshot: (
878
+ domain_name: ::String,
879
+ segment_definition_name: ::String,
880
+ data_format: ("CSV" | "JSONL" | "ORC"),
881
+ ?encryption_key: ::String,
882
+ ?role_arn: ::String,
883
+ ?destination_uri: ::String
884
+ ) -> _CreateSegmentSnapshotResponseSuccess
885
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSegmentSnapshotResponseSuccess
886
+
385
887
  interface _DeleteCalculatedAttributeDefinitionResponseSuccess
386
888
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCalculatedAttributeDefinitionResponse]
387
889
  end
@@ -471,6 +973,17 @@ module Aws
471
973
  ) -> _DeleteProfileObjectTypeResponseSuccess
472
974
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteProfileObjectTypeResponseSuccess
473
975
 
976
+ interface _DeleteSegmentDefinitionResponseSuccess
977
+ include ::Seahorse::Client::_ResponseSuccess[Types::DeleteSegmentDefinitionResponse]
978
+ def message: () -> ::String
979
+ end
980
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#delete_segment_definition-instance_method
981
+ def delete_segment_definition: (
982
+ domain_name: ::String,
983
+ segment_definition_name: ::String
984
+ ) -> _DeleteSegmentDefinitionResponseSuccess
985
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _DeleteSegmentDefinitionResponseSuccess
986
+
474
987
  interface _DeleteWorkflowResponseSuccess
475
988
  include ::Seahorse::Client::_ResponseSuccess[Types::DeleteWorkflowResponse]
476
989
  end
@@ -523,6 +1036,7 @@ module Aws
523
1036
  def created_at: () -> ::Time
524
1037
  def last_updated_at: () -> ::Time
525
1038
  def statistic: () -> ("FIRST_OCCURRENCE" | "LAST_OCCURRENCE" | "COUNT" | "SUM" | "MINIMUM" | "MAXIMUM" | "AVERAGE" | "MAX_OCCURRENCE")
1039
+ def filter: () -> Types::Filter
526
1040
  def conditions: () -> Types::Conditions
527
1041
  def attribute_details: () -> Types::AttributeDetails
528
1042
  def tags: () -> ::Hash[::String, ::String]
@@ -681,6 +1195,71 @@ module Aws
681
1195
  ) -> _GetProfileObjectTypeTemplateResponseSuccess
682
1196
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProfileObjectTypeTemplateResponseSuccess
683
1197
 
1198
+ interface _GetSegmentDefinitionResponseSuccess
1199
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSegmentDefinitionResponse]
1200
+ def segment_definition_name: () -> ::String
1201
+ def display_name: () -> ::String
1202
+ def description: () -> ::String
1203
+ def segment_groups: () -> Types::SegmentGroup
1204
+ def segment_definition_arn: () -> ::String
1205
+ def created_at: () -> ::Time
1206
+ def tags: () -> ::Hash[::String, ::String]
1207
+ end
1208
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#get_segment_definition-instance_method
1209
+ def get_segment_definition: (
1210
+ domain_name: ::String,
1211
+ segment_definition_name: ::String
1212
+ ) -> _GetSegmentDefinitionResponseSuccess
1213
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSegmentDefinitionResponseSuccess
1214
+
1215
+ interface _GetSegmentEstimateResponseSuccess
1216
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSegmentEstimateResponse]
1217
+ def domain_name: () -> ::String
1218
+ def estimate_id: () -> ::String
1219
+ def status: () -> ("RUNNING" | "SUCCEEDED" | "FAILED")
1220
+ def estimate: () -> ::String
1221
+ def message: () -> ::String
1222
+ def status_code: () -> ::Integer
1223
+ end
1224
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#get_segment_estimate-instance_method
1225
+ def get_segment_estimate: (
1226
+ domain_name: ::String,
1227
+ estimate_id: ::String
1228
+ ) -> _GetSegmentEstimateResponseSuccess
1229
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSegmentEstimateResponseSuccess
1230
+
1231
+ interface _GetSegmentMembershipResponseSuccess
1232
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSegmentMembershipResponse]
1233
+ def segment_definition_name: () -> ::String
1234
+ def profiles: () -> ::Array[Types::ProfileQueryResult]
1235
+ def failures: () -> ::Array[Types::ProfileQueryFailures]
1236
+ end
1237
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#get_segment_membership-instance_method
1238
+ def get_segment_membership: (
1239
+ domain_name: ::String,
1240
+ segment_definition_name: ::String,
1241
+ profile_ids: Array[::String]
1242
+ ) -> _GetSegmentMembershipResponseSuccess
1243
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSegmentMembershipResponseSuccess
1244
+
1245
+ interface _GetSegmentSnapshotResponseSuccess
1246
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetSegmentSnapshotResponse]
1247
+ def snapshot_id: () -> ::String
1248
+ def status: () -> ("COMPLETED" | "IN_PROGRESS" | "FAILED")
1249
+ def status_message: () -> ::String
1250
+ def data_format: () -> ("CSV" | "JSONL" | "ORC")
1251
+ def encryption_key: () -> ::String
1252
+ def role_arn: () -> ::String
1253
+ def destination_uri: () -> ::String
1254
+ end
1255
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#get_segment_snapshot-instance_method
1256
+ def get_segment_snapshot: (
1257
+ domain_name: ::String,
1258
+ segment_definition_name: ::String,
1259
+ snapshot_id: ::String
1260
+ ) -> _GetSegmentSnapshotResponseSuccess
1261
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSegmentSnapshotResponseSuccess
1262
+
684
1263
  interface _GetSimilarProfilesResponseSuccess
685
1264
  include ::Seahorse::Client::_ResponseSuccess[Types::GetSimilarProfilesResponse]
686
1265
  def profile_ids: () -> ::Array[::String]
@@ -828,6 +1407,34 @@ module Aws
828
1407
  ) -> _ListIntegrationsResponseSuccess
829
1408
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListIntegrationsResponseSuccess
830
1409
 
1410
+ interface _ListObjectTypeAttributesResponseSuccess
1411
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListObjectTypeAttributesResponse]
1412
+ def items: () -> ::Array[Types::ListObjectTypeAttributeItem]
1413
+ def next_token: () -> ::String
1414
+ end
1415
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#list_object_type_attributes-instance_method
1416
+ def list_object_type_attributes: (
1417
+ ?next_token: ::String,
1418
+ ?max_results: ::Integer,
1419
+ domain_name: ::String,
1420
+ object_type_name: ::String
1421
+ ) -> _ListObjectTypeAttributesResponseSuccess
1422
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListObjectTypeAttributesResponseSuccess
1423
+
1424
+ interface _ListProfileAttributeValuesResponseSuccess
1425
+ include ::Seahorse::Client::_ResponseSuccess[Types::ProfileAttributeValuesResponse]
1426
+ def domain_name: () -> ::String
1427
+ def attribute_name: () -> ::String
1428
+ def items: () -> ::Array[Types::AttributeValueItem]
1429
+ def status_code: () -> ::Integer
1430
+ end
1431
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#list_profile_attribute_values-instance_method
1432
+ def list_profile_attribute_values: (
1433
+ domain_name: ::String,
1434
+ attribute_name: ::String
1435
+ ) -> _ListProfileAttributeValuesResponseSuccess
1436
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProfileAttributeValuesResponseSuccess
1437
+
831
1438
  interface _ListProfileObjectTypeTemplatesResponseSuccess
832
1439
  include ::Seahorse::Client::_ResponseSuccess[Types::ListProfileObjectTypeTemplatesResponse]
833
1440
  def items: () -> ::Array[Types::ListProfileObjectTypeTemplateItem]
@@ -885,6 +1492,19 @@ module Aws
885
1492
  ) -> _ListRuleBasedMatchesResponseSuccess
886
1493
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListRuleBasedMatchesResponseSuccess
887
1494
 
1495
+ interface _ListSegmentDefinitionsResponseSuccess
1496
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListSegmentDefinitionsResponse]
1497
+ def next_token: () -> ::String
1498
+ def items: () -> ::Array[Types::SegmentDefinitionItem]
1499
+ end
1500
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#list_segment_definitions-instance_method
1501
+ def list_segment_definitions: (
1502
+ domain_name: ::String,
1503
+ ?max_results: ::Integer,
1504
+ ?next_token: ::String
1505
+ ) -> _ListSegmentDefinitionsResponseSuccess
1506
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListSegmentDefinitionsResponseSuccess
1507
+
888
1508
  interface _ListTagsForResourceResponseSuccess
889
1509
  include ::Seahorse::Client::_ResponseSuccess[Types::ListTagsForResourceResponse]
890
1510
  def tags: () -> ::Hash[::String, ::String]
@@ -1079,7 +1699,7 @@ module Aws
1079
1699
  }],
1080
1700
  ?keys: Hash[::String, Array[
1081
1701
  {
1082
- standard_identifiers: Array[("PROFILE" | "ASSET" | "CASE" | "UNIQUE" | "SECONDARY" | "LOOKUP_ONLY" | "NEW_ONLY" | "ORDER")]?,
1702
+ standard_identifiers: Array[("PROFILE" | "ASSET" | "CASE" | "ORDER" | "COMMUNICATION_RECORD" | "UNIQUE" | "SECONDARY" | "LOOKUP_ONLY" | "NEW_ONLY")]?,
1083
1703
  field_names: Array[::String]?
1084
1704
  },
1085
1705
  ]],