aws-sdk-customerprofiles 1.28.0 → 1.30.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -291,6 +291,44 @@ module Aws::CustomerProfiles
291
291
  include Aws::Structure
292
292
  end
293
293
 
294
+ # Mathematical expression and a list of attribute items specified in
295
+ # that expression.
296
+ #
297
+ # @!attribute [rw] attributes
298
+ # A list of attribute items specified in the mathematical expression.
299
+ # @return [Array<Types::AttributeItem>]
300
+ #
301
+ # @!attribute [rw] expression
302
+ # Mathematical expression that is performed on attribute items
303
+ # provided in the attribute list. Each element in the expression
304
+ # should follow the structure of
305
+ # \\"\\\{ObjectTypeName.AttributeName\\}\\".
306
+ # @return [String]
307
+ #
308
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/AttributeDetails AWS API Documentation
309
+ #
310
+ class AttributeDetails < Struct.new(
311
+ :attributes,
312
+ :expression)
313
+ SENSITIVE = []
314
+ include Aws::Structure
315
+ end
316
+
317
+ # The details of a single attribute item specified in the mathematical
318
+ # expression.
319
+ #
320
+ # @!attribute [rw] name
321
+ # The name of an attribute defined in a profile object type.
322
+ # @return [String]
323
+ #
324
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/AttributeItem AWS API Documentation
325
+ #
326
+ class AttributeItem < Struct.new(
327
+ :name)
328
+ SENSITIVE = []
329
+ include Aws::Structure
330
+ end
331
+
294
332
  # Configuration settings for how to perform the auto-merging of
295
333
  # profiles.
296
334
  #
@@ -363,6 +401,32 @@ module Aws::CustomerProfiles
363
401
  include Aws::Structure
364
402
  end
365
403
 
404
+ # The conditions including range, object count, and threshold for the
405
+ # calculated attribute.
406
+ #
407
+ # @!attribute [rw] range
408
+ # The relative time period over which data is included in the
409
+ # aggregation.
410
+ # @return [Types::Range]
411
+ #
412
+ # @!attribute [rw] object_count
413
+ # The number of profile objects used for the calculated attribute.
414
+ # @return [Integer]
415
+ #
416
+ # @!attribute [rw] threshold
417
+ # The threshold for the calculated attribute.
418
+ # @return [Types::Threshold]
419
+ #
420
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/Conditions AWS API Documentation
421
+ #
422
+ class Conditions < Struct.new(
423
+ :range,
424
+ :object_count,
425
+ :threshold)
426
+ SENSITIVE = []
427
+ include Aws::Structure
428
+ end
429
+
366
430
  # How the auto-merging process should resolve conflicts between
367
431
  # different profiles.
368
432
  #
@@ -443,6 +507,113 @@ module Aws::CustomerProfiles
443
507
  include Aws::Structure
444
508
  end
445
509
 
510
+ # @!attribute [rw] domain_name
511
+ # The unique name of the domain.
512
+ # @return [String]
513
+ #
514
+ # @!attribute [rw] calculated_attribute_name
515
+ # The unique name of the calculated attribute.
516
+ # @return [String]
517
+ #
518
+ # @!attribute [rw] display_name
519
+ # The display name of the calculated attribute.
520
+ # @return [String]
521
+ #
522
+ # @!attribute [rw] description
523
+ # The description of the calculated attribute.
524
+ # @return [String]
525
+ #
526
+ # @!attribute [rw] attribute_details
527
+ # Mathematical expression and a list of attribute items specified in
528
+ # that expression.
529
+ # @return [Types::AttributeDetails]
530
+ #
531
+ # @!attribute [rw] conditions
532
+ # The conditions including range, object count, and threshold for the
533
+ # calculated attribute.
534
+ # @return [Types::Conditions]
535
+ #
536
+ # @!attribute [rw] statistic
537
+ # The aggregation operation to perform for the calculated attribute.
538
+ # @return [String]
539
+ #
540
+ # @!attribute [rw] tags
541
+ # The tags used to organize, track, or control access for this
542
+ # resource.
543
+ # @return [Hash<String,String>]
544
+ #
545
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateCalculatedAttributeDefinitionRequest AWS API Documentation
546
+ #
547
+ class CreateCalculatedAttributeDefinitionRequest < Struct.new(
548
+ :domain_name,
549
+ :calculated_attribute_name,
550
+ :display_name,
551
+ :description,
552
+ :attribute_details,
553
+ :conditions,
554
+ :statistic,
555
+ :tags)
556
+ SENSITIVE = []
557
+ include Aws::Structure
558
+ end
559
+
560
+ # @!attribute [rw] calculated_attribute_name
561
+ # The unique name of the calculated attribute.
562
+ # @return [String]
563
+ #
564
+ # @!attribute [rw] display_name
565
+ # The display name of the calculated attribute.
566
+ # @return [String]
567
+ #
568
+ # @!attribute [rw] description
569
+ # The description of the calculated attribute.
570
+ # @return [String]
571
+ #
572
+ # @!attribute [rw] attribute_details
573
+ # Mathematical expression and a list of attribute items specified in
574
+ # that expression.
575
+ # @return [Types::AttributeDetails]
576
+ #
577
+ # @!attribute [rw] conditions
578
+ # The conditions including range, object count, and threshold for the
579
+ # calculated attribute.
580
+ # @return [Types::Conditions]
581
+ #
582
+ # @!attribute [rw] statistic
583
+ # The aggregation operation to perform for the calculated attribute.
584
+ # @return [String]
585
+ #
586
+ # @!attribute [rw] created_at
587
+ # The timestamp of when the calculated attribute definition was
588
+ # created.
589
+ # @return [Time]
590
+ #
591
+ # @!attribute [rw] last_updated_at
592
+ # The timestamp of when the calculated attribute definition was most
593
+ # recently edited.
594
+ # @return [Time]
595
+ #
596
+ # @!attribute [rw] tags
597
+ # The tags used to organize, track, or control access for this
598
+ # resource.
599
+ # @return [Hash<String,String>]
600
+ #
601
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateCalculatedAttributeDefinitionResponse AWS API Documentation
602
+ #
603
+ class CreateCalculatedAttributeDefinitionResponse < Struct.new(
604
+ :calculated_attribute_name,
605
+ :display_name,
606
+ :description,
607
+ :attribute_details,
608
+ :conditions,
609
+ :statistic,
610
+ :created_at,
611
+ :last_updated_at,
612
+ :tags)
613
+ SENSITIVE = []
614
+ include Aws::Structure
615
+ end
616
+
446
617
  # @!attribute [rw] domain_name
447
618
  # The unique name of the domain.
448
619
  # @return [String]
@@ -566,6 +737,53 @@ module Aws::CustomerProfiles
566
737
  include Aws::Structure
567
738
  end
568
739
 
740
+ # @!attribute [rw] domain_name
741
+ # The unique name of the domain.
742
+ # @return [String]
743
+ #
744
+ # @!attribute [rw] uri
745
+ # The StreamARN of the destination to deliver profile events to. For
746
+ # example, arn:aws:kinesis:region:account-id:stream/stream-name
747
+ # @return [String]
748
+ #
749
+ # @!attribute [rw] event_stream_name
750
+ # The name of the event stream.
751
+ # @return [String]
752
+ #
753
+ # @!attribute [rw] tags
754
+ # The tags used to organize, track, or control access for this
755
+ # resource.
756
+ # @return [Hash<String,String>]
757
+ #
758
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateEventStreamRequest AWS API Documentation
759
+ #
760
+ class CreateEventStreamRequest < Struct.new(
761
+ :domain_name,
762
+ :uri,
763
+ :event_stream_name,
764
+ :tags)
765
+ SENSITIVE = []
766
+ include Aws::Structure
767
+ end
768
+
769
+ # @!attribute [rw] event_stream_arn
770
+ # A unique identifier for the event stream.
771
+ # @return [String]
772
+ #
773
+ # @!attribute [rw] tags
774
+ # The tags used to organize, track, or control access for this
775
+ # resource.
776
+ # @return [Hash<String,String>]
777
+ #
778
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateEventStreamResponse AWS API Documentation
779
+ #
780
+ class CreateEventStreamResponse < Struct.new(
781
+ :event_stream_arn,
782
+ :tags)
783
+ SENSITIVE = []
784
+ include Aws::Structure
785
+ end
786
+
569
787
  # @!attribute [rw] domain_name
570
788
  # The unique name of the domain.
571
789
  # @return [String]
@@ -766,6 +984,27 @@ module Aws::CustomerProfiles
766
984
  include Aws::Structure
767
985
  end
768
986
 
987
+ # @!attribute [rw] domain_name
988
+ # The unique name of the domain.
989
+ # @return [String]
990
+ #
991
+ # @!attribute [rw] calculated_attribute_name
992
+ # The unique name of the calculated attribute.
993
+ # @return [String]
994
+ #
995
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteCalculatedAttributeDefinitionRequest AWS API Documentation
996
+ #
997
+ class DeleteCalculatedAttributeDefinitionRequest < Struct.new(
998
+ :domain_name,
999
+ :calculated_attribute_name)
1000
+ SENSITIVE = []
1001
+ include Aws::Structure
1002
+ end
1003
+
1004
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteCalculatedAttributeDefinitionResponse AWS API Documentation
1005
+ #
1006
+ class DeleteCalculatedAttributeDefinitionResponse < Aws::EmptyStructure; end
1007
+
769
1008
  # @!attribute [rw] domain_name
770
1009
  # The unique name of the domain.
771
1010
  # @return [String]
@@ -790,6 +1029,27 @@ module Aws::CustomerProfiles
790
1029
  include Aws::Structure
791
1030
  end
792
1031
 
1032
+ # @!attribute [rw] domain_name
1033
+ # The unique name of the domain.
1034
+ # @return [String]
1035
+ #
1036
+ # @!attribute [rw] event_stream_name
1037
+ # The name of the event stream
1038
+ # @return [String]
1039
+ #
1040
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteEventStreamRequest AWS API Documentation
1041
+ #
1042
+ class DeleteEventStreamRequest < Struct.new(
1043
+ :domain_name,
1044
+ :event_stream_name)
1045
+ SENSITIVE = []
1046
+ include Aws::Structure
1047
+ end
1048
+
1049
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DeleteEventStreamResponse AWS API Documentation
1050
+ #
1051
+ class DeleteEventStreamResponse < Aws::EmptyStructure; end
1052
+
793
1053
  # @!attribute [rw] domain_name
794
1054
  # The unique name of the domain.
795
1055
  # @return [String]
@@ -977,6 +1237,32 @@ module Aws::CustomerProfiles
977
1237
  #
978
1238
  class DeleteWorkflowResponse < Aws::EmptyStructure; end
979
1239
 
1240
+ # Summary information about the Kinesis data stream
1241
+ #
1242
+ # @!attribute [rw] uri
1243
+ # The StreamARN of the destination to deliver profile events to. For
1244
+ # example, arn:aws:kinesis:region:account-id:stream/stream-name.
1245
+ # @return [String]
1246
+ #
1247
+ # @!attribute [rw] status
1248
+ # The status of enabling the Kinesis stream as a destination for
1249
+ # export.
1250
+ # @return [String]
1251
+ #
1252
+ # @!attribute [rw] unhealthy_since
1253
+ # The timestamp when the status last changed to `UNHEALHY`.
1254
+ # @return [Time]
1255
+ #
1256
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/DestinationSummary AWS API Documentation
1257
+ #
1258
+ class DestinationSummary < Struct.new(
1259
+ :uri,
1260
+ :status,
1261
+ :unhealthy_since)
1262
+ SENSITIVE = []
1263
+ include Aws::Structure
1264
+ end
1265
+
980
1266
  # Usage-specific statistics about the domain.
981
1267
  #
982
1268
  # @!attribute [rw] profile_count
@@ -1009,6 +1295,83 @@ module Aws::CustomerProfiles
1009
1295
  include Aws::Structure
1010
1296
  end
1011
1297
 
1298
+ # Details of the destination being used for the EventStream.
1299
+ #
1300
+ # @!attribute [rw] uri
1301
+ # The StreamARN of the destination to deliver profile events to. For
1302
+ # example, arn:aws:kinesis:region:account-id:stream/stream-name.
1303
+ # @return [String]
1304
+ #
1305
+ # @!attribute [rw] status
1306
+ # The status of enabling the Kinesis stream as a destination for
1307
+ # export.
1308
+ # @return [String]
1309
+ #
1310
+ # @!attribute [rw] unhealthy_since
1311
+ # The timestamp when the status last changed to `UNHEALHY`.
1312
+ # @return [Time]
1313
+ #
1314
+ # @!attribute [rw] message
1315
+ # The human-readable string that corresponds to the error or success
1316
+ # while enabling the streaming destination.
1317
+ # @return [String]
1318
+ #
1319
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/EventStreamDestinationDetails AWS API Documentation
1320
+ #
1321
+ class EventStreamDestinationDetails < Struct.new(
1322
+ :uri,
1323
+ :status,
1324
+ :unhealthy_since,
1325
+ :message)
1326
+ SENSITIVE = []
1327
+ include Aws::Structure
1328
+ end
1329
+
1330
+ # An instance of EventStream in a list of EventStreams.
1331
+ #
1332
+ # @!attribute [rw] domain_name
1333
+ # The unique name of the domain.
1334
+ # @return [String]
1335
+ #
1336
+ # @!attribute [rw] event_stream_name
1337
+ # The name of the event stream.
1338
+ # @return [String]
1339
+ #
1340
+ # @!attribute [rw] event_stream_arn
1341
+ # A unique identifier for the event stream.
1342
+ # @return [String]
1343
+ #
1344
+ # @!attribute [rw] state
1345
+ # The operational state of destination stream for export.
1346
+ # @return [String]
1347
+ #
1348
+ # @!attribute [rw] stopped_since
1349
+ # The timestamp when the `State` changed to `STOPPED`.
1350
+ # @return [Time]
1351
+ #
1352
+ # @!attribute [rw] destination_summary
1353
+ # Summary information about the Kinesis data stream.
1354
+ # @return [Types::DestinationSummary]
1355
+ #
1356
+ # @!attribute [rw] tags
1357
+ # The tags used to organize, track, or control access for this
1358
+ # resource.
1359
+ # @return [Hash<String,String>]
1360
+ #
1361
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/EventStreamSummary AWS API Documentation
1362
+ #
1363
+ class EventStreamSummary < Struct.new(
1364
+ :domain_name,
1365
+ :event_stream_name,
1366
+ :event_stream_arn,
1367
+ :state,
1368
+ :stopped_since,
1369
+ :destination_summary,
1370
+ :tags)
1371
+ SENSITIVE = []
1372
+ include Aws::Structure
1373
+ end
1374
+
1012
1375
  # Configuration information about the S3 bucket where Identity
1013
1376
  # Resolution Jobs writes result files.
1014
1377
  #
@@ -1286,11 +1649,135 @@ module Aws::CustomerProfiles
1286
1649
  #
1287
1650
  # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetAutoMergingPreviewResponse AWS API Documentation
1288
1651
  #
1289
- class GetAutoMergingPreviewResponse < Struct.new(
1290
- :domain_name,
1291
- :number_of_matches_in_sample,
1292
- :number_of_profiles_in_sample,
1293
- :number_of_profiles_will_be_merged)
1652
+ class GetAutoMergingPreviewResponse < Struct.new(
1653
+ :domain_name,
1654
+ :number_of_matches_in_sample,
1655
+ :number_of_profiles_in_sample,
1656
+ :number_of_profiles_will_be_merged)
1657
+ SENSITIVE = []
1658
+ include Aws::Structure
1659
+ end
1660
+
1661
+ # @!attribute [rw] domain_name
1662
+ # The unique name of the domain.
1663
+ # @return [String]
1664
+ #
1665
+ # @!attribute [rw] calculated_attribute_name
1666
+ # The unique name of the calculated attribute.
1667
+ # @return [String]
1668
+ #
1669
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetCalculatedAttributeDefinitionRequest AWS API Documentation
1670
+ #
1671
+ class GetCalculatedAttributeDefinitionRequest < Struct.new(
1672
+ :domain_name,
1673
+ :calculated_attribute_name)
1674
+ SENSITIVE = []
1675
+ include Aws::Structure
1676
+ end
1677
+
1678
+ # @!attribute [rw] calculated_attribute_name
1679
+ # The unique name of the calculated attribute.
1680
+ # @return [String]
1681
+ #
1682
+ # @!attribute [rw] display_name
1683
+ # The display name of the calculated attribute.
1684
+ # @return [String]
1685
+ #
1686
+ # @!attribute [rw] description
1687
+ # The description of the calculated attribute.
1688
+ # @return [String]
1689
+ #
1690
+ # @!attribute [rw] created_at
1691
+ # The timestamp of when the calculated attribute definition was
1692
+ # created.
1693
+ # @return [Time]
1694
+ #
1695
+ # @!attribute [rw] last_updated_at
1696
+ # The timestamp of when the calculated attribute definition was most
1697
+ # recently edited.
1698
+ # @return [Time]
1699
+ #
1700
+ # @!attribute [rw] statistic
1701
+ # The aggregation operation to perform for the calculated attribute.
1702
+ # @return [String]
1703
+ #
1704
+ # @!attribute [rw] conditions
1705
+ # The conditions including range, object count, and threshold for the
1706
+ # calculated attribute.
1707
+ # @return [Types::Conditions]
1708
+ #
1709
+ # @!attribute [rw] attribute_details
1710
+ # Mathematical expression and a list of attribute items specified in
1711
+ # that expression.
1712
+ # @return [Types::AttributeDetails]
1713
+ #
1714
+ # @!attribute [rw] tags
1715
+ # The tags used to organize, track, or control access for this
1716
+ # resource.
1717
+ # @return [Hash<String,String>]
1718
+ #
1719
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetCalculatedAttributeDefinitionResponse AWS API Documentation
1720
+ #
1721
+ class GetCalculatedAttributeDefinitionResponse < Struct.new(
1722
+ :calculated_attribute_name,
1723
+ :display_name,
1724
+ :description,
1725
+ :created_at,
1726
+ :last_updated_at,
1727
+ :statistic,
1728
+ :conditions,
1729
+ :attribute_details,
1730
+ :tags)
1731
+ SENSITIVE = []
1732
+ include Aws::Structure
1733
+ end
1734
+
1735
+ # @!attribute [rw] domain_name
1736
+ # The unique name of the domain.
1737
+ # @return [String]
1738
+ #
1739
+ # @!attribute [rw] profile_id
1740
+ # The unique identifier of a customer profile.
1741
+ # @return [String]
1742
+ #
1743
+ # @!attribute [rw] calculated_attribute_name
1744
+ # The unique name of the calculated attribute.
1745
+ # @return [String]
1746
+ #
1747
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetCalculatedAttributeForProfileRequest AWS API Documentation
1748
+ #
1749
+ class GetCalculatedAttributeForProfileRequest < Struct.new(
1750
+ :domain_name,
1751
+ :profile_id,
1752
+ :calculated_attribute_name)
1753
+ SENSITIVE = []
1754
+ include Aws::Structure
1755
+ end
1756
+
1757
+ # @!attribute [rw] calculated_attribute_name
1758
+ # The unique name of the calculated attribute.
1759
+ # @return [String]
1760
+ #
1761
+ # @!attribute [rw] display_name
1762
+ # The display name of the calculated attribute.
1763
+ # @return [String]
1764
+ #
1765
+ # @!attribute [rw] is_data_partial
1766
+ # Indicates whether the calculated attribute’s value is based on
1767
+ # partial data. If data is partial, it is set to true.
1768
+ # @return [String]
1769
+ #
1770
+ # @!attribute [rw] value
1771
+ # The value of the calculated attribute.
1772
+ # @return [String]
1773
+ #
1774
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetCalculatedAttributeForProfileResponse AWS API Documentation
1775
+ #
1776
+ class GetCalculatedAttributeForProfileResponse < Struct.new(
1777
+ :calculated_attribute_name,
1778
+ :display_name,
1779
+ :is_data_partial,
1780
+ :value)
1294
1781
  SENSITIVE = []
1295
1782
  include Aws::Structure
1296
1783
  end
@@ -1377,6 +1864,66 @@ module Aws::CustomerProfiles
1377
1864
  include Aws::Structure
1378
1865
  end
1379
1866
 
1867
+ # @!attribute [rw] domain_name
1868
+ # The unique name of the domain.
1869
+ # @return [String]
1870
+ #
1871
+ # @!attribute [rw] event_stream_name
1872
+ # The name of the event stream provided during create operations.
1873
+ # @return [String]
1874
+ #
1875
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetEventStreamRequest AWS API Documentation
1876
+ #
1877
+ class GetEventStreamRequest < Struct.new(
1878
+ :domain_name,
1879
+ :event_stream_name)
1880
+ SENSITIVE = []
1881
+ include Aws::Structure
1882
+ end
1883
+
1884
+ # @!attribute [rw] domain_name
1885
+ # The unique name of the domain.
1886
+ # @return [String]
1887
+ #
1888
+ # @!attribute [rw] event_stream_arn
1889
+ # A unique identifier for the event stream.
1890
+ # @return [String]
1891
+ #
1892
+ # @!attribute [rw] created_at
1893
+ # The timestamp of when the export was created.
1894
+ # @return [Time]
1895
+ #
1896
+ # @!attribute [rw] state
1897
+ # The operational state of destination stream for export.
1898
+ # @return [String]
1899
+ #
1900
+ # @!attribute [rw] stopped_since
1901
+ # The timestamp when the `State` changed to `STOPPED`.
1902
+ # @return [Time]
1903
+ #
1904
+ # @!attribute [rw] destination_details
1905
+ # Details regarding the Kinesis stream.
1906
+ # @return [Types::EventStreamDestinationDetails]
1907
+ #
1908
+ # @!attribute [rw] tags
1909
+ # The tags used to organize, track, or control access for this
1910
+ # resource.
1911
+ # @return [Hash<String,String>]
1912
+ #
1913
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetEventStreamResponse AWS API Documentation
1914
+ #
1915
+ class GetEventStreamResponse < Struct.new(
1916
+ :domain_name,
1917
+ :event_stream_arn,
1918
+ :created_at,
1919
+ :state,
1920
+ :stopped_since,
1921
+ :destination_details,
1922
+ :tags)
1923
+ SENSITIVE = []
1924
+ include Aws::Structure
1925
+ end
1926
+
1380
1927
  # @!attribute [rw] domain_name
1381
1928
  # The unique name of the domain.
1382
1929
  # @return [String]
@@ -2095,6 +2642,165 @@ module Aws::CustomerProfiles
2095
2642
  include Aws::Structure
2096
2643
  end
2097
2644
 
2645
+ # The details of a single calculated attribute definition.
2646
+ #
2647
+ # @!attribute [rw] calculated_attribute_name
2648
+ # The unique name of the calculated attribute.
2649
+ # @return [String]
2650
+ #
2651
+ # @!attribute [rw] display_name
2652
+ # The display name of the calculated attribute.
2653
+ # @return [String]
2654
+ #
2655
+ # @!attribute [rw] description
2656
+ # The threshold for the calculated attribute.
2657
+ # @return [String]
2658
+ #
2659
+ # @!attribute [rw] created_at
2660
+ # The threshold for the calculated attribute.
2661
+ # @return [Time]
2662
+ #
2663
+ # @!attribute [rw] last_updated_at
2664
+ # The timestamp of when the calculated attribute definition was most
2665
+ # recently edited.
2666
+ # @return [Time]
2667
+ #
2668
+ # @!attribute [rw] tags
2669
+ # The tags used to organize, track, or control access for this
2670
+ # resource.
2671
+ # @return [Hash<String,String>]
2672
+ #
2673
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListCalculatedAttributeDefinitionItem AWS API Documentation
2674
+ #
2675
+ class ListCalculatedAttributeDefinitionItem < Struct.new(
2676
+ :calculated_attribute_name,
2677
+ :display_name,
2678
+ :description,
2679
+ :created_at,
2680
+ :last_updated_at,
2681
+ :tags)
2682
+ SENSITIVE = []
2683
+ include Aws::Structure
2684
+ end
2685
+
2686
+ # @!attribute [rw] domain_name
2687
+ # The unique name of the domain.
2688
+ # @return [String]
2689
+ #
2690
+ # @!attribute [rw] next_token
2691
+ # The pagination token from the previous call to
2692
+ # ListCalculatedAttributeDefinitions.
2693
+ # @return [String]
2694
+ #
2695
+ # @!attribute [rw] max_results
2696
+ # The maximum number of calculated attribute definitions returned per
2697
+ # page.
2698
+ # @return [Integer]
2699
+ #
2700
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListCalculatedAttributeDefinitionsRequest AWS API Documentation
2701
+ #
2702
+ class ListCalculatedAttributeDefinitionsRequest < Struct.new(
2703
+ :domain_name,
2704
+ :next_token,
2705
+ :max_results)
2706
+ SENSITIVE = []
2707
+ include Aws::Structure
2708
+ end
2709
+
2710
+ # @!attribute [rw] items
2711
+ # The list of calculated attribute definitions.
2712
+ # @return [Array<Types::ListCalculatedAttributeDefinitionItem>]
2713
+ #
2714
+ # @!attribute [rw] next_token
2715
+ # The pagination token from the previous call to
2716
+ # ListCalculatedAttributeDefinitions.
2717
+ # @return [String]
2718
+ #
2719
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListCalculatedAttributeDefinitionsResponse AWS API Documentation
2720
+ #
2721
+ class ListCalculatedAttributeDefinitionsResponse < Struct.new(
2722
+ :items,
2723
+ :next_token)
2724
+ SENSITIVE = []
2725
+ include Aws::Structure
2726
+ end
2727
+
2728
+ # The details of a single calculated attribute for a profile.
2729
+ #
2730
+ # @!attribute [rw] calculated_attribute_name
2731
+ # The unique name of the calculated attribute.
2732
+ # @return [String]
2733
+ #
2734
+ # @!attribute [rw] display_name
2735
+ # The display name of the calculated attribute.
2736
+ # @return [String]
2737
+ #
2738
+ # @!attribute [rw] is_data_partial
2739
+ # Indicates whether the calculated attribute’s value is based on
2740
+ # partial data. If data is partial, it is set to true.
2741
+ # @return [String]
2742
+ #
2743
+ # @!attribute [rw] value
2744
+ # The value of the calculated attribute.
2745
+ # @return [String]
2746
+ #
2747
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListCalculatedAttributeForProfileItem AWS API Documentation
2748
+ #
2749
+ class ListCalculatedAttributeForProfileItem < Struct.new(
2750
+ :calculated_attribute_name,
2751
+ :display_name,
2752
+ :is_data_partial,
2753
+ :value)
2754
+ SENSITIVE = []
2755
+ include Aws::Structure
2756
+ end
2757
+
2758
+ # @!attribute [rw] next_token
2759
+ # The pagination token from the previous call to
2760
+ # ListCalculatedAttributesForProfile.
2761
+ # @return [String]
2762
+ #
2763
+ # @!attribute [rw] max_results
2764
+ # The maximum number of calculated attributes returned per page.
2765
+ # @return [Integer]
2766
+ #
2767
+ # @!attribute [rw] domain_name
2768
+ # The unique name of the domain.
2769
+ # @return [String]
2770
+ #
2771
+ # @!attribute [rw] profile_id
2772
+ # The unique identifier of a customer profile.
2773
+ # @return [String]
2774
+ #
2775
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListCalculatedAttributesForProfileRequest AWS API Documentation
2776
+ #
2777
+ class ListCalculatedAttributesForProfileRequest < Struct.new(
2778
+ :next_token,
2779
+ :max_results,
2780
+ :domain_name,
2781
+ :profile_id)
2782
+ SENSITIVE = []
2783
+ include Aws::Structure
2784
+ end
2785
+
2786
+ # @!attribute [rw] items
2787
+ # The list of calculated attributes.
2788
+ # @return [Array<Types::ListCalculatedAttributeForProfileItem>]
2789
+ #
2790
+ # @!attribute [rw] next_token
2791
+ # The pagination token from the previous call to
2792
+ # ListCalculatedAttributesForProfile.
2793
+ # @return [String]
2794
+ #
2795
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListCalculatedAttributesForProfileResponse AWS API Documentation
2796
+ #
2797
+ class ListCalculatedAttributesForProfileResponse < Struct.new(
2798
+ :items,
2799
+ :next_token)
2800
+ SENSITIVE = []
2801
+ include Aws::Structure
2802
+ end
2803
+
2098
2804
  # An object in a list that represents a domain.
2099
2805
  #
2100
2806
  # @!attribute [rw] domain_name
@@ -2159,6 +2865,45 @@ module Aws::CustomerProfiles
2159
2865
  include Aws::Structure
2160
2866
  end
2161
2867
 
2868
+ # @!attribute [rw] domain_name
2869
+ # The unique name of the domain.
2870
+ # @return [String]
2871
+ #
2872
+ # @!attribute [rw] next_token
2873
+ # Identifies the next page of results to return.
2874
+ # @return [String]
2875
+ #
2876
+ # @!attribute [rw] max_results
2877
+ # The maximum number of objects returned per page.
2878
+ # @return [Integer]
2879
+ #
2880
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListEventStreamsRequest AWS API Documentation
2881
+ #
2882
+ class ListEventStreamsRequest < Struct.new(
2883
+ :domain_name,
2884
+ :next_token,
2885
+ :max_results)
2886
+ SENSITIVE = []
2887
+ include Aws::Structure
2888
+ end
2889
+
2890
+ # @!attribute [rw] items
2891
+ # Contains summary information about an EventStream.
2892
+ # @return [Array<Types::EventStreamSummary>]
2893
+ #
2894
+ # @!attribute [rw] next_token
2895
+ # Identifies the next page of results to return.
2896
+ # @return [String]
2897
+ #
2898
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListEventStreamsResponse AWS API Documentation
2899
+ #
2900
+ class ListEventStreamsResponse < Struct.new(
2901
+ :items,
2902
+ :next_token)
2903
+ SENSITIVE = []
2904
+ include Aws::Structure
2905
+ end
2906
+
2162
2907
  # @!attribute [rw] domain_name
2163
2908
  # The unique name of the domain.
2164
2909
  # @return [String]
@@ -2490,8 +3235,7 @@ module Aws::CustomerProfiles
2490
3235
  #
2491
3236
  # @!attribute [rw] object_filter
2492
3237
  # Applies a filter to the response to include profile objects with the
2493
- # specified index values. This filter is only supported for
2494
- # ObjectTypeName \_asset, \_case and \_order.
3238
+ # specified index values.
2495
3239
  # @return [Types::ObjectFilter]
2496
3240
  #
2497
3241
  # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListProfileObjectsRequest AWS API Documentation
@@ -2803,16 +3547,15 @@ module Aws::CustomerProfiles
2803
3547
  include Aws::Structure
2804
3548
  end
2805
3549
 
2806
- # The filter applied to ListProfileObjects response to include profile
2807
- # objects with the specified index values. This filter is only supported
2808
- # for ObjectTypeName \_asset, \_case and \_order.
3550
+ # The filter applied to `ListProfileObjects` response to include profile
3551
+ # objects with the specified index values.
2809
3552
  #
2810
3553
  # @!attribute [rw] key_name
2811
- # A searchable identifier of a standard profile object. The predefined
2812
- # keys you can use to search for \_asset include: \_assetId,
2813
- # \_assetName, \_serialNumber. The predefined keys you can use to
2814
- # search for \_case include: \_caseId. The predefined keys you can use
2815
- # to search for \_order include: \_orderId.
3554
+ # A searchable identifier of a profile object. The predefined keys you
3555
+ # can use to search for `_asset` include: `_assetId`, `_assetName`,
3556
+ # and `_serialNumber`. The predefined keys you can use to search for
3557
+ # `_case` include: `_caseId`. The predefined keys you can use to
3558
+ # search for `_order` include: `_orderId`.
2816
3559
  # @return [String]
2817
3560
  #
2818
3561
  # @!attribute [rw] values
@@ -3346,6 +4089,26 @@ module Aws::CustomerProfiles
3346
4089
  include Aws::Structure
3347
4090
  end
3348
4091
 
4092
+ # The relative time period over which data is included in the
4093
+ # aggregation.
4094
+ #
4095
+ # @!attribute [rw] value
4096
+ # The amount of time of the specified unit.
4097
+ # @return [Integer]
4098
+ #
4099
+ # @!attribute [rw] unit
4100
+ # The unit of time.
4101
+ # @return [String]
4102
+ #
4103
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/Range AWS API Documentation
4104
+ #
4105
+ class Range < Struct.new(
4106
+ :value,
4107
+ :unit)
4108
+ SENSITIVE = []
4109
+ include Aws::Structure
4110
+ end
4111
+
3349
4112
  # The requested resource does not exist, or access was denied.
3350
4113
  #
3351
4114
  # @!attribute [rw] message
@@ -3738,6 +4501,25 @@ module Aws::CustomerProfiles
3738
4501
  include Aws::Structure
3739
4502
  end
3740
4503
 
4504
+ # The threshold for the calculated attribute.
4505
+ #
4506
+ # @!attribute [rw] value
4507
+ # The value of the threshold.
4508
+ # @return [String]
4509
+ #
4510
+ # @!attribute [rw] operator
4511
+ # The operator of the threshold.
4512
+ # @return [String]
4513
+ #
4514
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/Threshold AWS API Documentation
4515
+ #
4516
+ class Threshold < Struct.new(
4517
+ :value,
4518
+ :operator)
4519
+ SENSITIVE = []
4520
+ include Aws::Structure
4521
+ end
4522
+
3741
4523
  # You exceeded the maximum number of requests.
3742
4524
  #
3743
4525
  # @!attribute [rw] message
@@ -3871,6 +4653,96 @@ module Aws::CustomerProfiles
3871
4653
  include Aws::Structure
3872
4654
  end
3873
4655
 
4656
+ # @!attribute [rw] domain_name
4657
+ # The unique name of the domain.
4658
+ # @return [String]
4659
+ #
4660
+ # @!attribute [rw] calculated_attribute_name
4661
+ # The unique name of the calculated attribute.
4662
+ # @return [String]
4663
+ #
4664
+ # @!attribute [rw] display_name
4665
+ # The display name of the calculated attribute.
4666
+ # @return [String]
4667
+ #
4668
+ # @!attribute [rw] description
4669
+ # The description of the calculated attribute.
4670
+ # @return [String]
4671
+ #
4672
+ # @!attribute [rw] conditions
4673
+ # The conditions including range, object count, and threshold for the
4674
+ # calculated attribute.
4675
+ # @return [Types::Conditions]
4676
+ #
4677
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/UpdateCalculatedAttributeDefinitionRequest AWS API Documentation
4678
+ #
4679
+ class UpdateCalculatedAttributeDefinitionRequest < Struct.new(
4680
+ :domain_name,
4681
+ :calculated_attribute_name,
4682
+ :display_name,
4683
+ :description,
4684
+ :conditions)
4685
+ SENSITIVE = []
4686
+ include Aws::Structure
4687
+ end
4688
+
4689
+ # @!attribute [rw] calculated_attribute_name
4690
+ # The unique name of the calculated attribute.
4691
+ # @return [String]
4692
+ #
4693
+ # @!attribute [rw] display_name
4694
+ # The display name of the calculated attribute.
4695
+ # @return [String]
4696
+ #
4697
+ # @!attribute [rw] description
4698
+ # The description of the calculated attribute.
4699
+ # @return [String]
4700
+ #
4701
+ # @!attribute [rw] created_at
4702
+ # The timestamp of when the calculated attribute definition was
4703
+ # created.
4704
+ # @return [Time]
4705
+ #
4706
+ # @!attribute [rw] last_updated_at
4707
+ # The timestamp of when the calculated attribute definition was most
4708
+ # recently edited.
4709
+ # @return [Time]
4710
+ #
4711
+ # @!attribute [rw] statistic
4712
+ # The aggregation operation to perform for the calculated attribute.
4713
+ # @return [String]
4714
+ #
4715
+ # @!attribute [rw] conditions
4716
+ # The conditions including range, object count, and threshold for the
4717
+ # calculated attribute.
4718
+ # @return [Types::Conditions]
4719
+ #
4720
+ # @!attribute [rw] attribute_details
4721
+ # The mathematical expression and a list of attribute items specified
4722
+ # in that expression.
4723
+ # @return [Types::AttributeDetails]
4724
+ #
4725
+ # @!attribute [rw] tags
4726
+ # The tags used to organize, track, or control access for this
4727
+ # resource.
4728
+ # @return [Hash<String,String>]
4729
+ #
4730
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/UpdateCalculatedAttributeDefinitionResponse AWS API Documentation
4731
+ #
4732
+ class UpdateCalculatedAttributeDefinitionResponse < Struct.new(
4733
+ :calculated_attribute_name,
4734
+ :display_name,
4735
+ :description,
4736
+ :created_at,
4737
+ :last_updated_at,
4738
+ :statistic,
4739
+ :conditions,
4740
+ :attribute_details,
4741
+ :tags)
4742
+ SENSITIVE = []
4743
+ include Aws::Structure
4744
+ end
4745
+
3874
4746
  # @!attribute [rw] domain_name
3875
4747
  # The unique name of the domain.
3876
4748
  # @return [String]