aws-sdk-personalize 1.10.0 → 1.15.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.
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -6,13 +8,7 @@
6
8
  # WARNING ABOUT GENERATED CODE
7
9
 
8
10
  module Aws::Personalize
9
- # This class provides a resource oriented interface for Personalize.
10
- # To create a resource object:
11
- # resource = Aws::Personalize::Resource.new(region: 'us-west-2')
12
- # You can supply a client object with custom configuration that will be used for all resource operations.
13
- # If you do not pass +:client+, a default client will be constructed.
14
- # client = Aws::Personalize::Client.new(region: 'us-west-2')
15
- # resource = Aws::Personalize::Resource.new(client: client)
11
+
16
12
  class Resource
17
13
 
18
14
  # @param options ({})
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  # WARNING ABOUT GENERATED CODE
2
4
  #
3
5
  # This file is generated. See the contributing guide for more information:
@@ -67,6 +69,7 @@ module Aws::Personalize
67
69
  :role_arn,
68
70
  :creation_date_time,
69
71
  :last_updated_date_time)
72
+ SENSITIVE = []
70
73
  include Aws::Structure
71
74
  end
72
75
 
@@ -85,6 +88,7 @@ module Aws::Personalize
85
88
  class AlgorithmImage < Struct.new(
86
89
  :name,
87
90
  :docker_uri)
91
+ SENSITIVE = []
88
92
  include Aws::Structure
89
93
  end
90
94
 
@@ -114,6 +118,7 @@ module Aws::Personalize
114
118
  class AutoMLConfig < Struct.new(
115
119
  :metric_name,
116
120
  :recipe_list)
121
+ SENSITIVE = []
117
122
  include Aws::Structure
118
123
  end
119
124
 
@@ -129,6 +134,7 @@ module Aws::Personalize
129
134
  #
130
135
  class AutoMLResult < Struct.new(
131
136
  :best_recipe_arn)
137
+ SENSITIVE = []
132
138
  include Aws::Structure
133
139
  end
134
140
 
@@ -142,6 +148,10 @@ module Aws::Personalize
142
148
  # The Amazon Resource Name (ARN) of the batch inference job.
143
149
  # @return [String]
144
150
  #
151
+ # @!attribute [rw] filter_arn
152
+ # The ARN of the filter used on the batch inference job.
153
+ # @return [String]
154
+ #
145
155
  # @!attribute [rw] failure_reason
146
156
  # If the batch inference job failed, the reason for the failure.
147
157
  # @return [String]
@@ -198,6 +208,7 @@ module Aws::Personalize
198
208
  class BatchInferenceJob < Struct.new(
199
209
  :job_name,
200
210
  :batch_inference_job_arn,
211
+ :filter_arn,
201
212
  :failure_reason,
202
213
  :solution_version_arn,
203
214
  :num_results,
@@ -207,6 +218,7 @@ module Aws::Personalize
207
218
  :status,
208
219
  :creation_date_time,
209
220
  :last_updated_date_time)
221
+ SENSITIVE = []
210
222
  include Aws::Structure
211
223
  end
212
224
 
@@ -232,6 +244,7 @@ module Aws::Personalize
232
244
  #
233
245
  class BatchInferenceJobInput < Struct.new(
234
246
  :s3_data_source)
247
+ SENSITIVE = []
235
248
  include Aws::Structure
236
249
  end
237
250
 
@@ -256,6 +269,7 @@ module Aws::Personalize
256
269
  #
257
270
  class BatchInferenceJobOutput < Struct.new(
258
271
  :s3_data_destination)
272
+ SENSITIVE = []
259
273
  include Aws::Structure
260
274
  end
261
275
 
@@ -310,6 +324,7 @@ module Aws::Personalize
310
324
  :last_updated_date_time,
311
325
  :failure_reason,
312
326
  :solution_version_arn)
327
+ SENSITIVE = []
313
328
  include Aws::Structure
314
329
  end
315
330
 
@@ -375,6 +390,7 @@ module Aws::Personalize
375
390
  :creation_date_time,
376
391
  :last_updated_date_time,
377
392
  :latest_campaign_update)
393
+ SENSITIVE = []
378
394
  include Aws::Structure
379
395
  end
380
396
 
@@ -421,6 +437,7 @@ module Aws::Personalize
421
437
  :creation_date_time,
422
438
  :last_updated_date_time,
423
439
  :failure_reason)
440
+ SENSITIVE = []
424
441
  include Aws::Structure
425
442
  end
426
443
 
@@ -470,6 +487,7 @@ module Aws::Personalize
470
487
  :failure_reason,
471
488
  :creation_date_time,
472
489
  :last_updated_date_time)
490
+ SENSITIVE = []
473
491
  include Aws::Structure
474
492
  end
475
493
 
@@ -496,6 +514,7 @@ module Aws::Personalize
496
514
  class CategoricalHyperParameterRange < Struct.new(
497
515
  :name,
498
516
  :values)
517
+ SENSITIVE = []
499
518
  include Aws::Structure
500
519
  end
501
520
 
@@ -528,6 +547,7 @@ module Aws::Personalize
528
547
  :name,
529
548
  :min_value,
530
549
  :max_value)
550
+ SENSITIVE = []
531
551
  include Aws::Structure
532
552
  end
533
553
 
@@ -537,6 +557,7 @@ module Aws::Personalize
537
557
  # {
538
558
  # job_name: "Name", # required
539
559
  # solution_version_arn: "Arn", # required
560
+ # filter_arn: "Arn",
540
561
  # num_results: 1,
541
562
  # job_input: { # required
542
563
  # s3_data_source: { # required
@@ -562,6 +583,12 @@ module Aws::Personalize
562
583
  # used to generate the batch inference recommendations.
563
584
  # @return [String]
564
585
  #
586
+ # @!attribute [rw] filter_arn
587
+ # The ARN of the filter to apply to the batch inference job. For more
588
+ # information on using filters, see Using Filters with Amazon
589
+ # Personalize.
590
+ # @return [String]
591
+ #
565
592
  # @!attribute [rw] num_results
566
593
  # The number of recommendations to retreive.
567
594
  # @return [Integer]
@@ -587,10 +614,12 @@ module Aws::Personalize
587
614
  class CreateBatchInferenceJobRequest < Struct.new(
588
615
  :job_name,
589
616
  :solution_version_arn,
617
+ :filter_arn,
590
618
  :num_results,
591
619
  :job_input,
592
620
  :job_output,
593
621
  :role_arn)
622
+ SENSITIVE = []
594
623
  include Aws::Structure
595
624
  end
596
625
 
@@ -602,6 +631,7 @@ module Aws::Personalize
602
631
  #
603
632
  class CreateBatchInferenceJobResponse < Struct.new(
604
633
  :batch_inference_job_arn)
634
+ SENSITIVE = []
605
635
  include Aws::Structure
606
636
  end
607
637
 
@@ -634,6 +664,7 @@ module Aws::Personalize
634
664
  :name,
635
665
  :solution_version_arn,
636
666
  :min_provisioned_tps)
667
+ SENSITIVE = []
637
668
  include Aws::Structure
638
669
  end
639
670
 
@@ -645,6 +676,7 @@ module Aws::Personalize
645
676
  #
646
677
  class CreateCampaignResponse < Struct.new(
647
678
  :campaign_arn)
679
+ SENSITIVE = []
648
680
  include Aws::Structure
649
681
  end
650
682
 
@@ -677,6 +709,7 @@ module Aws::Personalize
677
709
  :name,
678
710
  :role_arn,
679
711
  :kms_key_arn)
712
+ SENSITIVE = []
680
713
  include Aws::Structure
681
714
  end
682
715
 
@@ -688,6 +721,7 @@ module Aws::Personalize
688
721
  #
689
722
  class CreateDatasetGroupResponse < Struct.new(
690
723
  :dataset_group_arn)
724
+ SENSITIVE = []
691
725
  include Aws::Structure
692
726
  end
693
727
 
@@ -727,6 +761,7 @@ module Aws::Personalize
727
761
  :dataset_arn,
728
762
  :data_source,
729
763
  :role_arn)
764
+ SENSITIVE = []
730
765
  include Aws::Structure
731
766
  end
732
767
 
@@ -738,6 +773,7 @@ module Aws::Personalize
738
773
  #
739
774
  class CreateDatasetImportJobResponse < Struct.new(
740
775
  :dataset_import_job_arn)
776
+ SENSITIVE = []
741
777
  include Aws::Structure
742
778
  end
743
779
 
@@ -784,6 +820,7 @@ module Aws::Personalize
784
820
  :schema_arn,
785
821
  :dataset_group_arn,
786
822
  :dataset_type)
823
+ SENSITIVE = []
787
824
  include Aws::Structure
788
825
  end
789
826
 
@@ -795,6 +832,7 @@ module Aws::Personalize
795
832
  #
796
833
  class CreateDatasetResponse < Struct.new(
797
834
  :dataset_arn)
835
+ SENSITIVE = []
798
836
  include Aws::Structure
799
837
  end
800
838
 
@@ -820,6 +858,7 @@ module Aws::Personalize
820
858
  class CreateEventTrackerRequest < Struct.new(
821
859
  :name,
822
860
  :dataset_group_arn)
861
+ SENSITIVE = []
823
862
  include Aws::Structure
824
863
  end
825
864
 
@@ -841,6 +880,59 @@ module Aws::Personalize
841
880
  class CreateEventTrackerResponse < Struct.new(
842
881
  :event_tracker_arn,
843
882
  :tracking_id)
883
+ SENSITIVE = []
884
+ include Aws::Structure
885
+ end
886
+
887
+ # @note When making an API call, you may pass CreateFilterRequest
888
+ # data as a hash:
889
+ #
890
+ # {
891
+ # name: "Name", # required
892
+ # dataset_group_arn: "Arn", # required
893
+ # filter_expression: "FilterExpression", # required
894
+ # }
895
+ #
896
+ # @!attribute [rw] name
897
+ # The name of the filter to create.
898
+ # @return [String]
899
+ #
900
+ # @!attribute [rw] dataset_group_arn
901
+ # The ARN of the dataset group that the filter will belong to.
902
+ # @return [String]
903
+ #
904
+ # @!attribute [rw] filter_expression
905
+ # The filter expression that designates the interaction types that the
906
+ # filter will filter out. A filter expression must follow the
907
+ # following format:
908
+ #
909
+ # `EXCLUDE itemId WHERE INTERACTIONS.event_type in ("EVENT_TYPE")`
910
+ #
911
+ # Where "EVENT\_TYPE" is the type of event to filter out. To filter
912
+ # out all items with any interactions history, set `"*"` as the
913
+ # EVENT\_TYPE. For more information, see Using Filters with Amazon
914
+ # Personalize.
915
+ # @return [String]
916
+ #
917
+ # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateFilterRequest AWS API Documentation
918
+ #
919
+ class CreateFilterRequest < Struct.new(
920
+ :name,
921
+ :dataset_group_arn,
922
+ :filter_expression)
923
+ SENSITIVE = [:filter_expression]
924
+ include Aws::Structure
925
+ end
926
+
927
+ # @!attribute [rw] filter_arn
928
+ # The ARN of the new filter.
929
+ # @return [String]
930
+ #
931
+ # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateFilterResponse AWS API Documentation
932
+ #
933
+ class CreateFilterResponse < Struct.new(
934
+ :filter_arn)
935
+ SENSITIVE = []
844
936
  include Aws::Structure
845
937
  end
846
938
 
@@ -865,6 +957,7 @@ module Aws::Personalize
865
957
  class CreateSchemaRequest < Struct.new(
866
958
  :name,
867
959
  :schema)
960
+ SENSITIVE = []
868
961
  include Aws::Structure
869
962
  end
870
963
 
@@ -876,6 +969,7 @@ module Aws::Personalize
876
969
  #
877
970
  class CreateSchemaResponse < Struct.new(
878
971
  :schema_arn)
972
+ SENSITIVE = []
879
973
  include Aws::Structure
880
974
  end
881
975
 
@@ -993,6 +1087,7 @@ module Aws::Personalize
993
1087
  :dataset_group_arn,
994
1088
  :event_type,
995
1089
  :solution_config)
1090
+ SENSITIVE = []
996
1091
  include Aws::Structure
997
1092
  end
998
1093
 
@@ -1004,6 +1099,7 @@ module Aws::Personalize
1004
1099
  #
1005
1100
  class CreateSolutionResponse < Struct.new(
1006
1101
  :solution_arn)
1102
+ SENSITIVE = []
1007
1103
  include Aws::Structure
1008
1104
  end
1009
1105
 
@@ -1040,6 +1136,7 @@ module Aws::Personalize
1040
1136
  class CreateSolutionVersionRequest < Struct.new(
1041
1137
  :solution_arn,
1042
1138
  :training_mode)
1139
+ SENSITIVE = []
1043
1140
  include Aws::Structure
1044
1141
  end
1045
1142
 
@@ -1051,6 +1148,7 @@ module Aws::Personalize
1051
1148
  #
1052
1149
  class CreateSolutionVersionResponse < Struct.new(
1053
1150
  :solution_version_arn)
1151
+ SENSITIVE = []
1054
1152
  include Aws::Structure
1055
1153
  end
1056
1154
 
@@ -1075,6 +1173,7 @@ module Aws::Personalize
1075
1173
  #
1076
1174
  class DataSource < Struct.new(
1077
1175
  :data_location)
1176
+ SENSITIVE = []
1078
1177
  include Aws::Structure
1079
1178
  end
1080
1179
 
@@ -1137,6 +1236,7 @@ module Aws::Personalize
1137
1236
  :status,
1138
1237
  :creation_date_time,
1139
1238
  :last_updated_date_time)
1239
+ SENSITIVE = []
1140
1240
  include Aws::Structure
1141
1241
  end
1142
1242
 
@@ -1202,6 +1302,7 @@ module Aws::Personalize
1202
1302
  :creation_date_time,
1203
1303
  :last_updated_date_time,
1204
1304
  :failure_reason)
1305
+ SENSITIVE = []
1205
1306
  include Aws::Structure
1206
1307
  end
1207
1308
 
@@ -1249,6 +1350,7 @@ module Aws::Personalize
1249
1350
  :creation_date_time,
1250
1351
  :last_updated_date_time,
1251
1352
  :failure_reason)
1353
+ SENSITIVE = []
1252
1354
  include Aws::Structure
1253
1355
  end
1254
1356
 
@@ -1320,6 +1422,7 @@ module Aws::Personalize
1320
1422
  :creation_date_time,
1321
1423
  :last_updated_date_time,
1322
1424
  :failure_reason)
1425
+ SENSITIVE = []
1323
1426
  include Aws::Structure
1324
1427
  end
1325
1428
 
@@ -1367,6 +1470,7 @@ module Aws::Personalize
1367
1470
  :creation_date_time,
1368
1471
  :last_updated_date_time,
1369
1472
  :failure_reason)
1473
+ SENSITIVE = []
1370
1474
  include Aws::Structure
1371
1475
  end
1372
1476
 
@@ -1401,6 +1505,7 @@ module Aws::Personalize
1401
1505
  :schema,
1402
1506
  :creation_date_time,
1403
1507
  :last_updated_date_time)
1508
+ SENSITIVE = []
1404
1509
  include Aws::Structure
1405
1510
  end
1406
1511
 
@@ -1430,6 +1535,7 @@ module Aws::Personalize
1430
1535
  :schema_arn,
1431
1536
  :creation_date_time,
1432
1537
  :last_updated_date_time)
1538
+ SENSITIVE = []
1433
1539
  include Aws::Structure
1434
1540
  end
1435
1541
 
@@ -1484,6 +1590,7 @@ module Aws::Personalize
1484
1590
  :status,
1485
1591
  :creation_date_time,
1486
1592
  :last_updated_date_time)
1593
+ SENSITIVE = []
1487
1594
  include Aws::Structure
1488
1595
  end
1489
1596
 
@@ -1510,6 +1617,7 @@ module Aws::Personalize
1510
1617
  :name,
1511
1618
  :values,
1512
1619
  :is_tunable)
1620
+ SENSITIVE = []
1513
1621
  include Aws::Structure
1514
1622
  end
1515
1623
 
@@ -1540,6 +1648,7 @@ module Aws::Personalize
1540
1648
  :min_value,
1541
1649
  :max_value,
1542
1650
  :is_tunable)
1651
+ SENSITIVE = []
1543
1652
  include Aws::Structure
1544
1653
  end
1545
1654
 
@@ -1564,6 +1673,7 @@ module Aws::Personalize
1564
1673
  :integer_hyper_parameter_ranges,
1565
1674
  :continuous_hyper_parameter_ranges,
1566
1675
  :categorical_hyper_parameter_ranges)
1676
+ SENSITIVE = []
1567
1677
  include Aws::Structure
1568
1678
  end
1569
1679
 
@@ -1595,6 +1705,7 @@ module Aws::Personalize
1595
1705
  :min_value,
1596
1706
  :max_value,
1597
1707
  :is_tunable)
1708
+ SENSITIVE = []
1598
1709
  include Aws::Structure
1599
1710
  end
1600
1711
 
@@ -1613,6 +1724,7 @@ module Aws::Personalize
1613
1724
  #
1614
1725
  class DeleteCampaignRequest < Struct.new(
1615
1726
  :campaign_arn)
1727
+ SENSITIVE = []
1616
1728
  include Aws::Structure
1617
1729
  end
1618
1730
 
@@ -1631,6 +1743,7 @@ module Aws::Personalize
1631
1743
  #
1632
1744
  class DeleteDatasetGroupRequest < Struct.new(
1633
1745
  :dataset_group_arn)
1746
+ SENSITIVE = []
1634
1747
  include Aws::Structure
1635
1748
  end
1636
1749
 
@@ -1649,6 +1762,7 @@ module Aws::Personalize
1649
1762
  #
1650
1763
  class DeleteDatasetRequest < Struct.new(
1651
1764
  :dataset_arn)
1765
+ SENSITIVE = []
1652
1766
  include Aws::Structure
1653
1767
  end
1654
1768
 
@@ -1667,6 +1781,26 @@ module Aws::Personalize
1667
1781
  #
1668
1782
  class DeleteEventTrackerRequest < Struct.new(
1669
1783
  :event_tracker_arn)
1784
+ SENSITIVE = []
1785
+ include Aws::Structure
1786
+ end
1787
+
1788
+ # @note When making an API call, you may pass DeleteFilterRequest
1789
+ # data as a hash:
1790
+ #
1791
+ # {
1792
+ # filter_arn: "Arn", # required
1793
+ # }
1794
+ #
1795
+ # @!attribute [rw] filter_arn
1796
+ # The ARN of the filter to delete.
1797
+ # @return [String]
1798
+ #
1799
+ # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DeleteFilterRequest AWS API Documentation
1800
+ #
1801
+ class DeleteFilterRequest < Struct.new(
1802
+ :filter_arn)
1803
+ SENSITIVE = []
1670
1804
  include Aws::Structure
1671
1805
  end
1672
1806
 
@@ -1685,6 +1819,7 @@ module Aws::Personalize
1685
1819
  #
1686
1820
  class DeleteSchemaRequest < Struct.new(
1687
1821
  :schema_arn)
1822
+ SENSITIVE = []
1688
1823
  include Aws::Structure
1689
1824
  end
1690
1825
 
@@ -1703,6 +1838,7 @@ module Aws::Personalize
1703
1838
  #
1704
1839
  class DeleteSolutionRequest < Struct.new(
1705
1840
  :solution_arn)
1841
+ SENSITIVE = []
1706
1842
  include Aws::Structure
1707
1843
  end
1708
1844
 
@@ -1721,6 +1857,7 @@ module Aws::Personalize
1721
1857
  #
1722
1858
  class DescribeAlgorithmRequest < Struct.new(
1723
1859
  :algorithm_arn)
1860
+ SENSITIVE = []
1724
1861
  include Aws::Structure
1725
1862
  end
1726
1863
 
@@ -1732,6 +1869,7 @@ module Aws::Personalize
1732
1869
  #
1733
1870
  class DescribeAlgorithmResponse < Struct.new(
1734
1871
  :algorithm)
1872
+ SENSITIVE = []
1735
1873
  include Aws::Structure
1736
1874
  end
1737
1875
 
@@ -1750,6 +1888,7 @@ module Aws::Personalize
1750
1888
  #
1751
1889
  class DescribeBatchInferenceJobRequest < Struct.new(
1752
1890
  :batch_inference_job_arn)
1891
+ SENSITIVE = []
1753
1892
  include Aws::Structure
1754
1893
  end
1755
1894
 
@@ -1761,6 +1900,7 @@ module Aws::Personalize
1761
1900
  #
1762
1901
  class DescribeBatchInferenceJobResponse < Struct.new(
1763
1902
  :batch_inference_job)
1903
+ SENSITIVE = []
1764
1904
  include Aws::Structure
1765
1905
  end
1766
1906
 
@@ -1779,6 +1919,7 @@ module Aws::Personalize
1779
1919
  #
1780
1920
  class DescribeCampaignRequest < Struct.new(
1781
1921
  :campaign_arn)
1922
+ SENSITIVE = []
1782
1923
  include Aws::Structure
1783
1924
  end
1784
1925
 
@@ -1790,6 +1931,7 @@ module Aws::Personalize
1790
1931
  #
1791
1932
  class DescribeCampaignResponse < Struct.new(
1792
1933
  :campaign)
1934
+ SENSITIVE = []
1793
1935
  include Aws::Structure
1794
1936
  end
1795
1937
 
@@ -1808,6 +1950,7 @@ module Aws::Personalize
1808
1950
  #
1809
1951
  class DescribeDatasetGroupRequest < Struct.new(
1810
1952
  :dataset_group_arn)
1953
+ SENSITIVE = []
1811
1954
  include Aws::Structure
1812
1955
  end
1813
1956
 
@@ -1819,6 +1962,7 @@ module Aws::Personalize
1819
1962
  #
1820
1963
  class DescribeDatasetGroupResponse < Struct.new(
1821
1964
  :dataset_group)
1965
+ SENSITIVE = []
1822
1966
  include Aws::Structure
1823
1967
  end
1824
1968
 
@@ -1838,6 +1982,7 @@ module Aws::Personalize
1838
1982
  #
1839
1983
  class DescribeDatasetImportJobRequest < Struct.new(
1840
1984
  :dataset_import_job_arn)
1985
+ SENSITIVE = []
1841
1986
  include Aws::Structure
1842
1987
  end
1843
1988
 
@@ -1859,6 +2004,7 @@ module Aws::Personalize
1859
2004
  #
1860
2005
  class DescribeDatasetImportJobResponse < Struct.new(
1861
2006
  :dataset_import_job)
2007
+ SENSITIVE = []
1862
2008
  include Aws::Structure
1863
2009
  end
1864
2010
 
@@ -1877,6 +2023,7 @@ module Aws::Personalize
1877
2023
  #
1878
2024
  class DescribeDatasetRequest < Struct.new(
1879
2025
  :dataset_arn)
2026
+ SENSITIVE = []
1880
2027
  include Aws::Structure
1881
2028
  end
1882
2029
 
@@ -1888,6 +2035,7 @@ module Aws::Personalize
1888
2035
  #
1889
2036
  class DescribeDatasetResponse < Struct.new(
1890
2037
  :dataset)
2038
+ SENSITIVE = []
1891
2039
  include Aws::Structure
1892
2040
  end
1893
2041
 
@@ -1906,6 +2054,7 @@ module Aws::Personalize
1906
2054
  #
1907
2055
  class DescribeEventTrackerRequest < Struct.new(
1908
2056
  :event_tracker_arn)
2057
+ SENSITIVE = []
1909
2058
  include Aws::Structure
1910
2059
  end
1911
2060
 
@@ -1917,6 +2066,7 @@ module Aws::Personalize
1917
2066
  #
1918
2067
  class DescribeEventTrackerResponse < Struct.new(
1919
2068
  :event_tracker)
2069
+ SENSITIVE = []
1920
2070
  include Aws::Structure
1921
2071
  end
1922
2072
 
@@ -1936,6 +2086,7 @@ module Aws::Personalize
1936
2086
  #
1937
2087
  class DescribeFeatureTransformationRequest < Struct.new(
1938
2088
  :feature_transformation_arn)
2089
+ SENSITIVE = []
1939
2090
  include Aws::Structure
1940
2091
  end
1941
2092
 
@@ -1947,6 +2098,38 @@ module Aws::Personalize
1947
2098
  #
1948
2099
  class DescribeFeatureTransformationResponse < Struct.new(
1949
2100
  :feature_transformation)
2101
+ SENSITIVE = []
2102
+ include Aws::Structure
2103
+ end
2104
+
2105
+ # @note When making an API call, you may pass DescribeFilterRequest
2106
+ # data as a hash:
2107
+ #
2108
+ # {
2109
+ # filter_arn: "Arn", # required
2110
+ # }
2111
+ #
2112
+ # @!attribute [rw] filter_arn
2113
+ # The ARN of the filter to describe.
2114
+ # @return [String]
2115
+ #
2116
+ # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeFilterRequest AWS API Documentation
2117
+ #
2118
+ class DescribeFilterRequest < Struct.new(
2119
+ :filter_arn)
2120
+ SENSITIVE = []
2121
+ include Aws::Structure
2122
+ end
2123
+
2124
+ # @!attribute [rw] filter
2125
+ # The filter's details.
2126
+ # @return [Types::Filter]
2127
+ #
2128
+ # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeFilterResponse AWS API Documentation
2129
+ #
2130
+ class DescribeFilterResponse < Struct.new(
2131
+ :filter)
2132
+ SENSITIVE = []
1950
2133
  include Aws::Structure
1951
2134
  end
1952
2135
 
@@ -1965,6 +2148,7 @@ module Aws::Personalize
1965
2148
  #
1966
2149
  class DescribeRecipeRequest < Struct.new(
1967
2150
  :recipe_arn)
2151
+ SENSITIVE = []
1968
2152
  include Aws::Structure
1969
2153
  end
1970
2154
 
@@ -1976,6 +2160,7 @@ module Aws::Personalize
1976
2160
  #
1977
2161
  class DescribeRecipeResponse < Struct.new(
1978
2162
  :recipe)
2163
+ SENSITIVE = []
1979
2164
  include Aws::Structure
1980
2165
  end
1981
2166
 
@@ -1994,6 +2179,7 @@ module Aws::Personalize
1994
2179
  #
1995
2180
  class DescribeSchemaRequest < Struct.new(
1996
2181
  :schema_arn)
2182
+ SENSITIVE = []
1997
2183
  include Aws::Structure
1998
2184
  end
1999
2185
 
@@ -2005,6 +2191,7 @@ module Aws::Personalize
2005
2191
  #
2006
2192
  class DescribeSchemaResponse < Struct.new(
2007
2193
  :schema)
2194
+ SENSITIVE = []
2008
2195
  include Aws::Structure
2009
2196
  end
2010
2197
 
@@ -2023,6 +2210,7 @@ module Aws::Personalize
2023
2210
  #
2024
2211
  class DescribeSolutionRequest < Struct.new(
2025
2212
  :solution_arn)
2213
+ SENSITIVE = []
2026
2214
  include Aws::Structure
2027
2215
  end
2028
2216
 
@@ -2034,6 +2222,7 @@ module Aws::Personalize
2034
2222
  #
2035
2223
  class DescribeSolutionResponse < Struct.new(
2036
2224
  :solution)
2225
+ SENSITIVE = []
2037
2226
  include Aws::Structure
2038
2227
  end
2039
2228
 
@@ -2052,6 +2241,7 @@ module Aws::Personalize
2052
2241
  #
2053
2242
  class DescribeSolutionVersionRequest < Struct.new(
2054
2243
  :solution_version_arn)
2244
+ SENSITIVE = []
2055
2245
  include Aws::Structure
2056
2246
  end
2057
2247
 
@@ -2063,6 +2253,7 @@ module Aws::Personalize
2063
2253
  #
2064
2254
  class DescribeSolutionVersionResponse < Struct.new(
2065
2255
  :solution_version)
2256
+ SENSITIVE = []
2066
2257
  include Aws::Structure
2067
2258
  end
2068
2259
 
@@ -2126,6 +2317,7 @@ module Aws::Personalize
2126
2317
  :status,
2127
2318
  :creation_date_time,
2128
2319
  :last_updated_date_time)
2320
+ SENSITIVE = []
2129
2321
  include Aws::Structure
2130
2322
  end
2131
2323
 
@@ -2168,6 +2360,7 @@ module Aws::Personalize
2168
2360
  :status,
2169
2361
  :creation_date_time,
2170
2362
  :last_updated_date_time)
2363
+ SENSITIVE = []
2171
2364
  include Aws::Structure
2172
2365
  end
2173
2366
 
@@ -2217,6 +2410,108 @@ module Aws::Personalize
2217
2410
  :creation_date_time,
2218
2411
  :last_updated_date_time,
2219
2412
  :status)
2413
+ SENSITIVE = []
2414
+ include Aws::Structure
2415
+ end
2416
+
2417
+ # Contains information on a recommendation filter, including its ARN,
2418
+ # status, and filter expression.
2419
+ #
2420
+ # @!attribute [rw] name
2421
+ # The name of the filter.
2422
+ # @return [String]
2423
+ #
2424
+ # @!attribute [rw] filter_arn
2425
+ # The ARN of the filter.
2426
+ # @return [String]
2427
+ #
2428
+ # @!attribute [rw] creation_date_time
2429
+ # The time at which the filter was created.
2430
+ # @return [Time]
2431
+ #
2432
+ # @!attribute [rw] last_updated_date_time
2433
+ # The time at which the filter was last updated.
2434
+ # @return [Time]
2435
+ #
2436
+ # @!attribute [rw] dataset_group_arn
2437
+ # The ARN of the dataset group to which the filter belongs.
2438
+ # @return [String]
2439
+ #
2440
+ # @!attribute [rw] failure_reason
2441
+ # If the filter failed, the reason for its failure.
2442
+ # @return [String]
2443
+ #
2444
+ # @!attribute [rw] filter_expression
2445
+ # Specifies the type of item interactions to filter out of
2446
+ # recommendation results. The filter expression must follow the
2447
+ # following format:
2448
+ #
2449
+ # `EXCLUDE itemId WHERE INTERACTIONS.event_type in ("EVENT_TYPE")`
2450
+ #
2451
+ # Where "EVENT\_TYPE" is the type of event to filter out. For more
2452
+ # information, see Using Filters with Amazon Personalize.
2453
+ # @return [String]
2454
+ #
2455
+ # @!attribute [rw] status
2456
+ # The status of the filter.
2457
+ # @return [String]
2458
+ #
2459
+ # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/Filter AWS API Documentation
2460
+ #
2461
+ class Filter < Struct.new(
2462
+ :name,
2463
+ :filter_arn,
2464
+ :creation_date_time,
2465
+ :last_updated_date_time,
2466
+ :dataset_group_arn,
2467
+ :failure_reason,
2468
+ :filter_expression,
2469
+ :status)
2470
+ SENSITIVE = [:filter_expression]
2471
+ include Aws::Structure
2472
+ end
2473
+
2474
+ # A short summary of a filter's attributes.
2475
+ #
2476
+ # @!attribute [rw] name
2477
+ # The name of the filter.
2478
+ # @return [String]
2479
+ #
2480
+ # @!attribute [rw] filter_arn
2481
+ # The ARN of the filter.
2482
+ # @return [String]
2483
+ #
2484
+ # @!attribute [rw] creation_date_time
2485
+ # The time at which the filter was created.
2486
+ # @return [Time]
2487
+ #
2488
+ # @!attribute [rw] last_updated_date_time
2489
+ # The time at which the filter was last updated.
2490
+ # @return [Time]
2491
+ #
2492
+ # @!attribute [rw] dataset_group_arn
2493
+ # The ARN of the dataset group to which the filter belongs.
2494
+ # @return [String]
2495
+ #
2496
+ # @!attribute [rw] failure_reason
2497
+ # If the filter failed, the reason for the failure.
2498
+ # @return [String]
2499
+ #
2500
+ # @!attribute [rw] status
2501
+ # The status of the filter.
2502
+ # @return [String]
2503
+ #
2504
+ # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/FilterSummary AWS API Documentation
2505
+ #
2506
+ class FilterSummary < Struct.new(
2507
+ :name,
2508
+ :filter_arn,
2509
+ :creation_date_time,
2510
+ :last_updated_date_time,
2511
+ :dataset_group_arn,
2512
+ :failure_reason,
2513
+ :status)
2514
+ SENSITIVE = []
2220
2515
  include Aws::Structure
2221
2516
  end
2222
2517
 
@@ -2236,6 +2531,7 @@ module Aws::Personalize
2236
2531
  #
2237
2532
  class GetSolutionMetricsRequest < Struct.new(
2238
2533
  :solution_version_arn)
2534
+ SENSITIVE = []
2239
2535
  include Aws::Structure
2240
2536
  end
2241
2537
 
@@ -2252,6 +2548,7 @@ module Aws::Personalize
2252
2548
  class GetSolutionMetricsResponse < Struct.new(
2253
2549
  :solution_version_arn,
2254
2550
  :metrics)
2551
+ SENSITIVE = []
2255
2552
  include Aws::Structure
2256
2553
  end
2257
2554
 
@@ -2314,6 +2611,7 @@ module Aws::Personalize
2314
2611
  :hpo_objective,
2315
2612
  :hpo_resource_config,
2316
2613
  :algorithm_hyper_parameter_ranges)
2614
+ SENSITIVE = []
2317
2615
  include Aws::Structure
2318
2616
  end
2319
2617
 
@@ -2347,6 +2645,7 @@ module Aws::Personalize
2347
2645
  :type,
2348
2646
  :metric_name,
2349
2647
  :metric_regex)
2648
+ SENSITIVE = []
2350
2649
  include Aws::Structure
2351
2650
  end
2352
2651
 
@@ -2377,6 +2676,7 @@ module Aws::Personalize
2377
2676
  class HPOResourceConfig < Struct.new(
2378
2677
  :max_number_of_training_jobs,
2379
2678
  :max_parallel_training_jobs)
2679
+ SENSITIVE = []
2380
2680
  include Aws::Structure
2381
2681
  end
2382
2682
 
@@ -2427,6 +2727,7 @@ module Aws::Personalize
2427
2727
  :integer_hyper_parameter_ranges,
2428
2728
  :continuous_hyper_parameter_ranges,
2429
2729
  :categorical_hyper_parameter_ranges)
2730
+ SENSITIVE = []
2430
2731
  include Aws::Structure
2431
2732
  end
2432
2733
 
@@ -2459,6 +2760,7 @@ module Aws::Personalize
2459
2760
  :name,
2460
2761
  :min_value,
2461
2762
  :max_value)
2763
+ SENSITIVE = []
2462
2764
  include Aws::Structure
2463
2765
  end
2464
2766
 
@@ -2471,6 +2773,7 @@ module Aws::Personalize
2471
2773
  #
2472
2774
  class InvalidInputException < Struct.new(
2473
2775
  :message)
2776
+ SENSITIVE = []
2474
2777
  include Aws::Structure
2475
2778
  end
2476
2779
 
@@ -2483,6 +2786,7 @@ module Aws::Personalize
2483
2786
  #
2484
2787
  class InvalidNextTokenException < Struct.new(
2485
2788
  :message)
2789
+ SENSITIVE = []
2486
2790
  include Aws::Structure
2487
2791
  end
2488
2792
 
@@ -2495,6 +2799,7 @@ module Aws::Personalize
2495
2799
  #
2496
2800
  class LimitExceededException < Struct.new(
2497
2801
  :message)
2802
+ SENSITIVE = []
2498
2803
  include Aws::Structure
2499
2804
  end
2500
2805
 
@@ -2527,6 +2832,7 @@ module Aws::Personalize
2527
2832
  :solution_version_arn,
2528
2833
  :next_token,
2529
2834
  :max_results)
2835
+ SENSITIVE = []
2530
2836
  include Aws::Structure
2531
2837
  end
2532
2838
 
@@ -2544,6 +2850,7 @@ module Aws::Personalize
2544
2850
  class ListBatchInferenceJobsResponse < Struct.new(
2545
2851
  :batch_inference_jobs,
2546
2852
  :next_token)
2853
+ SENSITIVE = []
2547
2854
  include Aws::Structure
2548
2855
  end
2549
2856
 
@@ -2577,6 +2884,7 @@ module Aws::Personalize
2577
2884
  :solution_arn,
2578
2885
  :next_token,
2579
2886
  :max_results)
2887
+ SENSITIVE = []
2580
2888
  include Aws::Structure
2581
2889
  end
2582
2890
 
@@ -2593,6 +2901,7 @@ module Aws::Personalize
2593
2901
  class ListCampaignsResponse < Struct.new(
2594
2902
  :campaigns,
2595
2903
  :next_token)
2904
+ SENSITIVE = []
2596
2905
  include Aws::Structure
2597
2906
  end
2598
2907
 
@@ -2618,6 +2927,7 @@ module Aws::Personalize
2618
2927
  class ListDatasetGroupsRequest < Struct.new(
2619
2928
  :next_token,
2620
2929
  :max_results)
2930
+ SENSITIVE = []
2621
2931
  include Aws::Structure
2622
2932
  end
2623
2933
 
@@ -2634,6 +2944,7 @@ module Aws::Personalize
2634
2944
  class ListDatasetGroupsResponse < Struct.new(
2635
2945
  :dataset_groups,
2636
2946
  :next_token)
2947
+ SENSITIVE = []
2637
2948
  include Aws::Structure
2638
2949
  end
2639
2950
 
@@ -2666,6 +2977,7 @@ module Aws::Personalize
2666
2977
  :dataset_arn,
2667
2978
  :next_token,
2668
2979
  :max_results)
2980
+ SENSITIVE = []
2669
2981
  include Aws::Structure
2670
2982
  end
2671
2983
 
@@ -2683,6 +2995,7 @@ module Aws::Personalize
2683
2995
  class ListDatasetImportJobsResponse < Struct.new(
2684
2996
  :dataset_import_jobs,
2685
2997
  :next_token)
2998
+ SENSITIVE = []
2686
2999
  include Aws::Structure
2687
3000
  end
2688
3001
 
@@ -2715,6 +3028,7 @@ module Aws::Personalize
2715
3028
  :dataset_group_arn,
2716
3029
  :next_token,
2717
3030
  :max_results)
3031
+ SENSITIVE = []
2718
3032
  include Aws::Structure
2719
3033
  end
2720
3034
 
@@ -2732,6 +3046,7 @@ module Aws::Personalize
2732
3046
  class ListDatasetsResponse < Struct.new(
2733
3047
  :datasets,
2734
3048
  :next_token)
3049
+ SENSITIVE = []
2735
3050
  include Aws::Structure
2736
3051
  end
2737
3052
 
@@ -2763,6 +3078,7 @@ module Aws::Personalize
2763
3078
  :dataset_group_arn,
2764
3079
  :next_token,
2765
3080
  :max_results)
3081
+ SENSITIVE = []
2766
3082
  include Aws::Structure
2767
3083
  end
2768
3084
 
@@ -2779,6 +3095,56 @@ module Aws::Personalize
2779
3095
  class ListEventTrackersResponse < Struct.new(
2780
3096
  :event_trackers,
2781
3097
  :next_token)
3098
+ SENSITIVE = []
3099
+ include Aws::Structure
3100
+ end
3101
+
3102
+ # @note When making an API call, you may pass ListFiltersRequest
3103
+ # data as a hash:
3104
+ #
3105
+ # {
3106
+ # dataset_group_arn: "Arn",
3107
+ # next_token: "NextToken",
3108
+ # max_results: 1,
3109
+ # }
3110
+ #
3111
+ # @!attribute [rw] dataset_group_arn
3112
+ # The ARN of the dataset group that contains the filters.
3113
+ # @return [String]
3114
+ #
3115
+ # @!attribute [rw] next_token
3116
+ # A token returned from the previous call to `ListFilters` for getting
3117
+ # the next set of filters (if they exist).
3118
+ # @return [String]
3119
+ #
3120
+ # @!attribute [rw] max_results
3121
+ # The maximum number of filters to return.
3122
+ # @return [Integer]
3123
+ #
3124
+ # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListFiltersRequest AWS API Documentation
3125
+ #
3126
+ class ListFiltersRequest < Struct.new(
3127
+ :dataset_group_arn,
3128
+ :next_token,
3129
+ :max_results)
3130
+ SENSITIVE = []
3131
+ include Aws::Structure
3132
+ end
3133
+
3134
+ # @!attribute [rw] filters
3135
+ # A list of returned filters.
3136
+ # @return [Array<Types::FilterSummary>]
3137
+ #
3138
+ # @!attribute [rw] next_token
3139
+ # A token for getting the next set of filters (if they exist).
3140
+ # @return [String]
3141
+ #
3142
+ # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListFiltersResponse AWS API Documentation
3143
+ #
3144
+ class ListFiltersResponse < Struct.new(
3145
+ :filters,
3146
+ :next_token)
3147
+ SENSITIVE = []
2782
3148
  include Aws::Structure
2783
3149
  end
2784
3150
 
@@ -2810,6 +3176,7 @@ module Aws::Personalize
2810
3176
  :recipe_provider,
2811
3177
  :next_token,
2812
3178
  :max_results)
3179
+ SENSITIVE = []
2813
3180
  include Aws::Structure
2814
3181
  end
2815
3182
 
@@ -2826,6 +3193,7 @@ module Aws::Personalize
2826
3193
  class ListRecipesResponse < Struct.new(
2827
3194
  :recipes,
2828
3195
  :next_token)
3196
+ SENSITIVE = []
2829
3197
  include Aws::Structure
2830
3198
  end
2831
3199
 
@@ -2851,6 +3219,7 @@ module Aws::Personalize
2851
3219
  class ListSchemasRequest < Struct.new(
2852
3220
  :next_token,
2853
3221
  :max_results)
3222
+ SENSITIVE = []
2854
3223
  include Aws::Structure
2855
3224
  end
2856
3225
 
@@ -2867,6 +3236,7 @@ module Aws::Personalize
2867
3236
  class ListSchemasResponse < Struct.new(
2868
3237
  :schemas,
2869
3238
  :next_token)
3239
+ SENSITIVE = []
2870
3240
  include Aws::Structure
2871
3241
  end
2872
3242
 
@@ -2898,6 +3268,7 @@ module Aws::Personalize
2898
3268
  :solution_arn,
2899
3269
  :next_token,
2900
3270
  :max_results)
3271
+ SENSITIVE = []
2901
3272
  include Aws::Structure
2902
3273
  end
2903
3274
 
@@ -2915,6 +3286,7 @@ module Aws::Personalize
2915
3286
  class ListSolutionVersionsResponse < Struct.new(
2916
3287
  :solution_versions,
2917
3288
  :next_token)
3289
+ SENSITIVE = []
2918
3290
  include Aws::Structure
2919
3291
  end
2920
3292
 
@@ -2946,6 +3318,7 @@ module Aws::Personalize
2946
3318
  :dataset_group_arn,
2947
3319
  :next_token,
2948
3320
  :max_results)
3321
+ SENSITIVE = []
2949
3322
  include Aws::Structure
2950
3323
  end
2951
3324
 
@@ -2962,6 +3335,7 @@ module Aws::Personalize
2962
3335
  class ListSolutionsResponse < Struct.new(
2963
3336
  :solutions,
2964
3337
  :next_token)
3338
+ SENSITIVE = []
2965
3339
  include Aws::Structure
2966
3340
  end
2967
3341
 
@@ -3024,6 +3398,7 @@ module Aws::Personalize
3024
3398
  :creation_date_time,
3025
3399
  :recipe_type,
3026
3400
  :last_updated_date_time)
3401
+ SENSITIVE = []
3027
3402
  include Aws::Structure
3028
3403
  end
3029
3404
 
@@ -3058,6 +3433,7 @@ module Aws::Personalize
3058
3433
  :status,
3059
3434
  :creation_date_time,
3060
3435
  :last_updated_date_time)
3436
+ SENSITIVE = []
3061
3437
  include Aws::Structure
3062
3438
  end
3063
3439
 
@@ -3070,6 +3446,7 @@ module Aws::Personalize
3070
3446
  #
3071
3447
  class ResourceAlreadyExistsException < Struct.new(
3072
3448
  :message)
3449
+ SENSITIVE = []
3073
3450
  include Aws::Structure
3074
3451
  end
3075
3452
 
@@ -3082,6 +3459,7 @@ module Aws::Personalize
3082
3459
  #
3083
3460
  class ResourceInUseException < Struct.new(
3084
3461
  :message)
3462
+ SENSITIVE = []
3085
3463
  include Aws::Structure
3086
3464
  end
3087
3465
 
@@ -3094,6 +3472,7 @@ module Aws::Personalize
3094
3472
  #
3095
3473
  class ResourceNotFoundException < Struct.new(
3096
3474
  :message)
3475
+ SENSITIVE = []
3097
3476
  include Aws::Structure
3098
3477
  end
3099
3478
 
@@ -3122,6 +3501,7 @@ module Aws::Personalize
3122
3501
  class S3DataConfig < Struct.new(
3123
3502
  :path,
3124
3503
  :kms_key_arn)
3504
+ SENSITIVE = []
3125
3505
  include Aws::Structure
3126
3506
  end
3127
3507
 
@@ -3210,6 +3590,7 @@ module Aws::Personalize
3210
3590
  :creation_date_time,
3211
3591
  :last_updated_date_time,
3212
3592
  :latest_solution_version)
3593
+ SENSITIVE = []
3213
3594
  include Aws::Structure
3214
3595
  end
3215
3596
 
@@ -3295,6 +3676,7 @@ module Aws::Personalize
3295
3676
  :algorithm_hyper_parameters,
3296
3677
  :feature_transformation_parameters,
3297
3678
  :auto_ml_config)
3679
+ SENSITIVE = []
3298
3680
  include Aws::Structure
3299
3681
  end
3300
3682
 
@@ -3336,6 +3718,7 @@ module Aws::Personalize
3336
3718
  :status,
3337
3719
  :creation_date_time,
3338
3720
  :last_updated_date_time)
3721
+ SENSITIVE = []
3339
3722
  include Aws::Structure
3340
3723
  end
3341
3724
 
@@ -3449,6 +3832,7 @@ module Aws::Personalize
3449
3832
  :failure_reason,
3450
3833
  :creation_date_time,
3451
3834
  :last_updated_date_time)
3835
+ SENSITIVE = []
3452
3836
  include Aws::Structure
3453
3837
  end
3454
3838
 
@@ -3492,6 +3876,7 @@ module Aws::Personalize
3492
3876
  :creation_date_time,
3493
3877
  :last_updated_date_time,
3494
3878
  :failure_reason)
3879
+ SENSITIVE = []
3495
3880
  include Aws::Structure
3496
3881
  end
3497
3882
 
@@ -3506,6 +3891,7 @@ module Aws::Personalize
3506
3891
  #
3507
3892
  class TunedHPOParams < Struct.new(
3508
3893
  :algorithm_hyper_parameters)
3894
+ SENSITIVE = []
3509
3895
  include Aws::Structure
3510
3896
  end
3511
3897
 
@@ -3537,6 +3923,7 @@ module Aws::Personalize
3537
3923
  :campaign_arn,
3538
3924
  :solution_version_arn,
3539
3925
  :min_provisioned_tps)
3926
+ SENSITIVE = []
3540
3927
  include Aws::Structure
3541
3928
  end
3542
3929
 
@@ -3548,6 +3935,7 @@ module Aws::Personalize
3548
3935
  #
3549
3936
  class UpdateCampaignResponse < Struct.new(
3550
3937
  :campaign_arn)
3938
+ SENSITIVE = []
3551
3939
  include Aws::Structure
3552
3940
  end
3553
3941