aws-sdk-personalize 1.21.0 → 1.26.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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 49b4b511cf2f4253b8bba808b4cefb56bcfa33cc5e0291e125749d8c5a129e6b
4
- data.tar.gz: 849188f744079e86f732866dac04b99f8ac1b7b8839a9cda4da2bc1c2dfa01e0
3
+ metadata.gz: 194be392d73123ca313a31dacb7e886f024b6e71534c2730f4381df224bdf743
4
+ data.tar.gz: 52fb96d262b4e0a6e0cf7227d3b0d5724c8546f4f045167b60b5fdb3f1e44dd2
5
5
  SHA512:
6
- metadata.gz: e9307b65504c54c54466aff32c2423730ac7b7f51c22908a8fe8f902b2d26a23771d67d118c6745ab98aee261bbc8e35d56ab48531310a1e8abcffec0279cc96
7
- data.tar.gz: b241d1eb81b5da38f708662ab8afd1a4055768f6fe947b082cf18b3303d6f769ee55d38d64b43019229fb49ca0214179db46fece4807e7c0c2b84b66b0e9d3d4
6
+ metadata.gz: 99b75866b7ddee9238297bd436b285a36962777ffbfad7f0b744b14ebbacdd8010d252399691b3dc0c80d4d2933007e9c2e6a2929ce74cf63e24b7aedecd5769
7
+ data.tar.gz: ccf78c81ae3bb28fea0e160f1bf4e0ef989fc94c683412491e3b80f61fdbd76c6b8a07473afa7cf054da47a33683dba093f6930a01a3ff3684e3a5d20cd576d5
data/CHANGELOG.md ADDED
@@ -0,0 +1,143 @@
1
+ Unreleased Changes
2
+ ------------------
3
+
4
+ 1.26.0 (2021-05-20)
5
+ ------------------
6
+
7
+ * Feature - Added new API to stop a solution version creation that is pending or in progress for Amazon Personalize
8
+
9
+ 1.25.0 (2021-05-18)
10
+ ------------------
11
+
12
+ * Feature - Amazon Personalize now supports the ability to optimize a solution for a custom objective in addition to maximizing relevance.
13
+
14
+ 1.24.0 (2021-04-30)
15
+ ------------------
16
+
17
+ * Feature - Update URL for dataset export job documentation.
18
+
19
+ 1.23.0 (2021-04-26)
20
+ ------------------
21
+
22
+ * Feature - Added support for exporting data imported into an Amazon Personalize dataset to a specified data source (Amazon S3 bucket).
23
+
24
+ 1.22.0 (2021-03-10)
25
+ ------------------
26
+
27
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
28
+
29
+ 1.21.0 (2021-02-02)
30
+ ------------------
31
+
32
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
33
+
34
+ 1.20.0 (2021-01-13)
35
+ ------------------
36
+
37
+ * Feature - Miscellaneous updates and improvements to the documentation
38
+
39
+ 1.19.0 (2020-09-30)
40
+ ------------------
41
+
42
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
43
+
44
+ 1.18.0 (2020-09-15)
45
+ ------------------
46
+
47
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
48
+
49
+ 1.17.0 (2020-08-25)
50
+ ------------------
51
+
52
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
53
+
54
+ 1.16.0 (2020-08-06)
55
+ ------------------
56
+
57
+ * Feature - Add 'exploration' functionality
58
+
59
+ 1.15.0 (2020-06-23)
60
+ ------------------
61
+
62
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
63
+
64
+ 1.14.1 (2020-06-11)
65
+ ------------------
66
+
67
+ * Issue - Republish previous version with correct dependency on `aws-sdk-core`.
68
+
69
+ 1.14.0 (2020-06-10)
70
+ ------------------
71
+
72
+ * Issue - This version has been yanked. (#2327).
73
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
74
+
75
+ 1.13.0 (2020-06-05)
76
+ ------------------
77
+
78
+ * Feature - Adds ability to create and apply filters.
79
+
80
+ 1.12.0 (2020-05-28)
81
+ ------------------
82
+
83
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
84
+
85
+ 1.11.0 (2020-05-07)
86
+ ------------------
87
+
88
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
89
+
90
+ 1.10.0 (2020-03-18)
91
+ ------------------
92
+
93
+ * Feature - Adds support for returning hyperparameter values of the best performing model in a HPO job.
94
+
95
+ 1.9.0 (2020-03-09)
96
+ ------------------
97
+
98
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
99
+
100
+ 1.8.0 (2019-11-14)
101
+ ------------------
102
+
103
+ * Feature - Adds ability to get batch recommendations by creating a batch inference job.
104
+
105
+ 1.7.0 (2019-10-23)
106
+ ------------------
107
+
108
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
109
+
110
+ 1.6.0 (2019-10-14)
111
+ ------------------
112
+
113
+ * Feature - Adds ability to create a solution version using FULL or UPDATE training mode
114
+
115
+ 1.5.0 (2019-09-17)
116
+ ------------------
117
+
118
+ * Feature - Adds trainingHours to solutionVersion properties.
119
+
120
+ 1.4.0 (2019-07-25)
121
+ ------------------
122
+
123
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
124
+
125
+ 1.3.0 (2019-07-01)
126
+ ------------------
127
+
128
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
129
+
130
+ 1.2.0 (2019-06-17)
131
+ ------------------
132
+
133
+ * Feature - Code Generated Changes, see `./build_tools` or `aws-sdk-core`'s CHANGELOG.md for details.
134
+
135
+ 1.1.0 (2019-06-14)
136
+ ------------------
137
+
138
+ * Feature - Documentation updates for Amazon Personalize.
139
+
140
+ 1.0.0 (2019-06-10)
141
+ ------------------
142
+
143
+ * Feature - Initial release of `aws-sdk-personalize`.
data/LICENSE.txt ADDED
@@ -0,0 +1,202 @@
1
+
2
+ Apache License
3
+ Version 2.0, January 2004
4
+ http://www.apache.org/licenses/
5
+
6
+ TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
+
8
+ 1. Definitions.
9
+
10
+ "License" shall mean the terms and conditions for use, reproduction,
11
+ and distribution as defined by Sections 1 through 9 of this document.
12
+
13
+ "Licensor" shall mean the copyright owner or entity authorized by
14
+ the copyright owner that is granting the License.
15
+
16
+ "Legal Entity" shall mean the union of the acting entity and all
17
+ other entities that control, are controlled by, or are under common
18
+ control with that entity. For the purposes of this definition,
19
+ "control" means (i) the power, direct or indirect, to cause the
20
+ direction or management of such entity, whether by contract or
21
+ otherwise, or (ii) ownership of fifty percent (50%) or more of the
22
+ outstanding shares, or (iii) beneficial ownership of such entity.
23
+
24
+ "You" (or "Your") shall mean an individual or Legal Entity
25
+ exercising permissions granted by this License.
26
+
27
+ "Source" form shall mean the preferred form for making modifications,
28
+ including but not limited to software source code, documentation
29
+ source, and configuration files.
30
+
31
+ "Object" form shall mean any form resulting from mechanical
32
+ transformation or translation of a Source form, including but
33
+ not limited to compiled object code, generated documentation,
34
+ and conversions to other media types.
35
+
36
+ "Work" shall mean the work of authorship, whether in Source or
37
+ Object form, made available under the License, as indicated by a
38
+ copyright notice that is included in or attached to the work
39
+ (an example is provided in the Appendix below).
40
+
41
+ "Derivative Works" shall mean any work, whether in Source or Object
42
+ form, that is based on (or derived from) the Work and for which the
43
+ editorial revisions, annotations, elaborations, or other modifications
44
+ represent, as a whole, an original work of authorship. For the purposes
45
+ of this License, Derivative Works shall not include works that remain
46
+ separable from, or merely link (or bind by name) to the interfaces of,
47
+ the Work and Derivative Works thereof.
48
+
49
+ "Contribution" shall mean any work of authorship, including
50
+ the original version of the Work and any modifications or additions
51
+ to that Work or Derivative Works thereof, that is intentionally
52
+ submitted to Licensor for inclusion in the Work by the copyright owner
53
+ or by an individual or Legal Entity authorized to submit on behalf of
54
+ the copyright owner. For the purposes of this definition, "submitted"
55
+ means any form of electronic, verbal, or written communication sent
56
+ to the Licensor or its representatives, including but not limited to
57
+ communication on electronic mailing lists, source code control systems,
58
+ and issue tracking systems that are managed by, or on behalf of, the
59
+ Licensor for the purpose of discussing and improving the Work, but
60
+ excluding communication that is conspicuously marked or otherwise
61
+ designated in writing by the copyright owner as "Not a Contribution."
62
+
63
+ "Contributor" shall mean Licensor and any individual or Legal Entity
64
+ on behalf of whom a Contribution has been received by Licensor and
65
+ subsequently incorporated within the Work.
66
+
67
+ 2. Grant of Copyright License. Subject to the terms and conditions of
68
+ this License, each Contributor hereby grants to You a perpetual,
69
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70
+ copyright license to reproduce, prepare Derivative Works of,
71
+ publicly display, publicly perform, sublicense, and distribute the
72
+ Work and such Derivative Works in Source or Object form.
73
+
74
+ 3. Grant of Patent License. Subject to the terms and conditions of
75
+ this License, each Contributor hereby grants to You a perpetual,
76
+ worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77
+ (except as stated in this section) patent license to make, have made,
78
+ use, offer to sell, sell, import, and otherwise transfer the Work,
79
+ where such license applies only to those patent claims licensable
80
+ by such Contributor that are necessarily infringed by their
81
+ Contribution(s) alone or by combination of their Contribution(s)
82
+ with the Work to which such Contribution(s) was submitted. If You
83
+ institute patent litigation against any entity (including a
84
+ cross-claim or counterclaim in a lawsuit) alleging that the Work
85
+ or a Contribution incorporated within the Work constitutes direct
86
+ or contributory patent infringement, then any patent licenses
87
+ granted to You under this License for that Work shall terminate
88
+ as of the date such litigation is filed.
89
+
90
+ 4. Redistribution. You may reproduce and distribute copies of the
91
+ Work or Derivative Works thereof in any medium, with or without
92
+ modifications, and in Source or Object form, provided that You
93
+ meet the following conditions:
94
+
95
+ (a) You must give any other recipients of the Work or
96
+ Derivative Works a copy of this License; and
97
+
98
+ (b) You must cause any modified files to carry prominent notices
99
+ stating that You changed the files; and
100
+
101
+ (c) You must retain, in the Source form of any Derivative Works
102
+ that You distribute, all copyright, patent, trademark, and
103
+ attribution notices from the Source form of the Work,
104
+ excluding those notices that do not pertain to any part of
105
+ the Derivative Works; and
106
+
107
+ (d) If the Work includes a "NOTICE" text file as part of its
108
+ distribution, then any Derivative Works that You distribute must
109
+ include a readable copy of the attribution notices contained
110
+ within such NOTICE file, excluding those notices that do not
111
+ pertain to any part of the Derivative Works, in at least one
112
+ of the following places: within a NOTICE text file distributed
113
+ as part of the Derivative Works; within the Source form or
114
+ documentation, if provided along with the Derivative Works; or,
115
+ within a display generated by the Derivative Works, if and
116
+ wherever such third-party notices normally appear. The contents
117
+ of the NOTICE file are for informational purposes only and
118
+ do not modify the License. You may add Your own attribution
119
+ notices within Derivative Works that You distribute, alongside
120
+ or as an addendum to the NOTICE text from the Work, provided
121
+ that such additional attribution notices cannot be construed
122
+ as modifying the License.
123
+
124
+ You may add Your own copyright statement to Your modifications and
125
+ may provide additional or different license terms and conditions
126
+ for use, reproduction, or distribution of Your modifications, or
127
+ for any such Derivative Works as a whole, provided Your use,
128
+ reproduction, and distribution of the Work otherwise complies with
129
+ the conditions stated in this License.
130
+
131
+ 5. Submission of Contributions. Unless You explicitly state otherwise,
132
+ any Contribution intentionally submitted for inclusion in the Work
133
+ by You to the Licensor shall be under the terms and conditions of
134
+ this License, without any additional terms or conditions.
135
+ Notwithstanding the above, nothing herein shall supersede or modify
136
+ the terms of any separate license agreement you may have executed
137
+ with Licensor regarding such Contributions.
138
+
139
+ 6. Trademarks. This License does not grant permission to use the trade
140
+ names, trademarks, service marks, or product names of the Licensor,
141
+ except as required for reasonable and customary use in describing the
142
+ origin of the Work and reproducing the content of the NOTICE file.
143
+
144
+ 7. Disclaimer of Warranty. Unless required by applicable law or
145
+ agreed to in writing, Licensor provides the Work (and each
146
+ Contributor provides its Contributions) on an "AS IS" BASIS,
147
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148
+ implied, including, without limitation, any warranties or conditions
149
+ of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150
+ PARTICULAR PURPOSE. You are solely responsible for determining the
151
+ appropriateness of using or redistributing the Work and assume any
152
+ risks associated with Your exercise of permissions under this License.
153
+
154
+ 8. Limitation of Liability. In no event and under no legal theory,
155
+ whether in tort (including negligence), contract, or otherwise,
156
+ unless required by applicable law (such as deliberate and grossly
157
+ negligent acts) or agreed to in writing, shall any Contributor be
158
+ liable to You for damages, including any direct, indirect, special,
159
+ incidental, or consequential damages of any character arising as a
160
+ result of this License or out of the use or inability to use the
161
+ Work (including but not limited to damages for loss of goodwill,
162
+ work stoppage, computer failure or malfunction, or any and all
163
+ other commercial damages or losses), even if such Contributor
164
+ has been advised of the possibility of such damages.
165
+
166
+ 9. Accepting Warranty or Additional Liability. While redistributing
167
+ the Work or Derivative Works thereof, You may choose to offer,
168
+ and charge a fee for, acceptance of support, warranty, indemnity,
169
+ or other liability obligations and/or rights consistent with this
170
+ License. However, in accepting such obligations, You may act only
171
+ on Your own behalf and on Your sole responsibility, not on behalf
172
+ of any other Contributor, and only if You agree to indemnify,
173
+ defend, and hold each Contributor harmless for any liability
174
+ incurred by, or claims asserted against, such Contributor by reason
175
+ of your accepting any such warranty or additional liability.
176
+
177
+ END OF TERMS AND CONDITIONS
178
+
179
+ APPENDIX: How to apply the Apache License to your work.
180
+
181
+ To apply the Apache License to your work, attach the following
182
+ boilerplate notice, with the fields enclosed by brackets "[]"
183
+ replaced with your own identifying information. (Don't include
184
+ the brackets!) The text should be enclosed in the appropriate
185
+ comment syntax for the file format. We also recommend that a
186
+ file or class name and description of purpose be included on the
187
+ same "printed page" as the copyright notice for easier
188
+ identification within third-party archives.
189
+
190
+ Copyright [yyyy] [name of copyright owner]
191
+
192
+ Licensed under the Apache License, Version 2.0 (the "License");
193
+ you may not use this file except in compliance with the License.
194
+ You may obtain a copy of the License at
195
+
196
+ http://www.apache.org/licenses/LICENSE-2.0
197
+
198
+ Unless required by applicable law or agreed to in writing, software
199
+ distributed under the License is distributed on an "AS IS" BASIS,
200
+ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201
+ See the License for the specific language governing permissions and
202
+ limitations under the License.
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 1.26.0
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -48,6 +48,6 @@ require_relative 'aws-sdk-personalize/customizations'
48
48
  # @!group service
49
49
  module Aws::Personalize
50
50
 
51
- GEM_VERSION = '1.21.0'
51
+ GEM_VERSION = '1.26.0'
52
52
 
53
53
  end
@@ -3,7 +3,7 @@
3
3
  # WARNING ABOUT GENERATED CODE
4
4
  #
5
5
  # This file is generated. See the contributing guide for more information:
6
- # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
6
+ # https://github.com/aws/aws-sdk-ruby/blob/version-3/CONTRIBUTING.md
7
7
  #
8
8
  # WARNING ABOUT GENERATED CODE
9
9
 
@@ -350,8 +350,12 @@ module Aws::Personalize
350
350
  #
351
351
  # @option params [String] :filter_arn
352
352
  # The ARN of the filter to apply to the batch inference job. For more
353
- # information on using filters, see Using Filters with Amazon
354
- # Personalize.
353
+ # information on using filters, see [Filtering Batch
354
+ # Recommendations][1]..
355
+ #
356
+ #
357
+ #
358
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/filter-batch.html
355
359
  #
356
360
  # @option params [Integer] :num_results
357
361
  # The number of recommendations to retreive.
@@ -366,8 +370,8 @@ module Aws::Personalize
366
370
  #
367
371
  # @option params [required, String] :role_arn
368
372
  # The ARN of the Amazon Identity and Access Management role that has
369
- # permissions to read and write to your input and out Amazon S3 buckets
370
- # respectively.
373
+ # permissions to read and write to your input and output Amazon S3
374
+ # buckets respectively.
371
375
  #
372
376
  # @option params [Types::BatchInferenceJobConfig] :batch_inference_job_config
373
377
  # The configuration details of a batch inference job.
@@ -597,6 +601,86 @@ module Aws::Personalize
597
601
  req.send_request(options)
598
602
  end
599
603
 
604
+ # Creates a job that exports data from your dataset to an Amazon S3
605
+ # bucket. To allow Amazon Personalize to export the training data, you
606
+ # must specify an service-linked AWS Identity and Access Management
607
+ # (IAM) role that gives Amazon Personalize `PutObject` permissions for
608
+ # your Amazon S3 bucket. For information, see [Exporting a dataset][1]
609
+ # in the Amazon Personalize developer guide.
610
+ #
611
+ # **Status**
612
+ #
613
+ # A dataset export job can be in one of the following states:
614
+ #
615
+ # * CREATE PENDING > CREATE IN\_PROGRESS > ACTIVE -or- CREATE
616
+ # FAILED
617
+ #
618
+ # ^
619
+ #
620
+ # To get the status of the export job, call DescribeDatasetExportJob,
621
+ # and specify the Amazon Resource Name (ARN) of the dataset export job.
622
+ # The dataset export is complete when the status shows as ACTIVE. If the
623
+ # status shows as CREATE FAILED, the response includes a `failureReason`
624
+ # key, which describes why the job failed.
625
+ #
626
+ #
627
+ #
628
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/export-data.html
629
+ #
630
+ # @option params [required, String] :job_name
631
+ # The name for the dataset export job.
632
+ #
633
+ # @option params [required, String] :dataset_arn
634
+ # The Amazon Resource Name (ARN) of the dataset that contains the data
635
+ # to export.
636
+ #
637
+ # @option params [String] :ingestion_mode
638
+ # The data to export, based on how you imported the data. You can choose
639
+ # to export only `BULK` data that you imported using a dataset import
640
+ # job, only `PUT` data that you imported incrementally (using the
641
+ # console, PutEvents, PutUsers and PutItems operations), or `ALL` for
642
+ # both types. The default value is `PUT`.
643
+ #
644
+ # @option params [required, String] :role_arn
645
+ # The Amazon Resource Name (ARN) of the AWS Identity and Access
646
+ # Management service role that has permissions to add data to your
647
+ # output Amazon S3 bucket.
648
+ #
649
+ # @option params [required, Types::DatasetExportJobOutput] :job_output
650
+ # The path to the Amazon S3 bucket where the job's output is stored.
651
+ #
652
+ # @return [Types::CreateDatasetExportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
653
+ #
654
+ # * {Types::CreateDatasetExportJobResponse#dataset_export_job_arn #dataset_export_job_arn} => String
655
+ #
656
+ # @example Request syntax with placeholder values
657
+ #
658
+ # resp = client.create_dataset_export_job({
659
+ # job_name: "Name", # required
660
+ # dataset_arn: "Arn", # required
661
+ # ingestion_mode: "BULK", # accepts BULK, PUT, ALL
662
+ # role_arn: "RoleArn", # required
663
+ # job_output: { # required
664
+ # s3_data_destination: { # required
665
+ # path: "S3Location", # required
666
+ # kms_key_arn: "KmsKeyArn",
667
+ # },
668
+ # },
669
+ # })
670
+ #
671
+ # @example Response structure
672
+ #
673
+ # resp.dataset_export_job_arn #=> String
674
+ #
675
+ # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/CreateDatasetExportJob AWS API Documentation
676
+ #
677
+ # @overload create_dataset_export_job(params = {})
678
+ # @param [Hash] params ({})
679
+ def create_dataset_export_job(params = {}, options = {})
680
+ req = build_request(:create_dataset_export_job, params)
681
+ req.send_request(options)
682
+ end
683
+
600
684
  # Creates an empty dataset group. A dataset group contains related
601
685
  # datasets that supply data for training a model. A dataset group can
602
686
  # contain at most three datasets, one for each type of dataset:
@@ -687,9 +771,11 @@ module Aws::Personalize
687
771
  # Creates a job that imports training data from your data source (an
688
772
  # Amazon S3 bucket) to an Amazon Personalize dataset. To allow Amazon
689
773
  # Personalize to import the training data, you must specify an AWS
690
- # Identity and Access Management (IAM) role that has permission to read
691
- # from the data source, as Amazon Personalize makes a copy of your data
692
- # and processes it in an internal AWS system.
774
+ # Identity and Access Management (IAM) service role that has permission
775
+ # to read from the data source, as Amazon Personalize makes a copy of
776
+ # your data and processes it in an internal AWS system. For information
777
+ # on granting access to your Amazon S3 bucket, see [Giving Amazon
778
+ # Personalize Access to Amazon S3 Resources][1].
693
779
  #
694
780
  # The dataset import job replaces any existing data in the dataset that
695
781
  # you imported in bulk.
@@ -720,6 +806,10 @@ module Aws::Personalize
720
806
  #
721
807
  # * DescribeDatasetImportJob
722
808
  #
809
+ #
810
+ #
811
+ # [1]: https://docs.aws.amazon.com/personalize/latest/dg/granting-personalize-s3-access.html
812
+ #
723
813
  # @option params [required, String] :job_name
724
814
  # The name for the dataset import job.
725
815
  #
@@ -1079,6 +1169,10 @@ module Aws::Personalize
1079
1169
  # metric_name: "MetricName",
1080
1170
  # recipe_list: ["Arn"],
1081
1171
  # },
1172
+ # optimization_objective: {
1173
+ # item_attribute: "ItemAttribute",
1174
+ # objective_sensitivity: "LOW", # accepts LOW, MEDIUM, HIGH, OFF
1175
+ # },
1082
1176
  # },
1083
1177
  # })
1084
1178
  #
@@ -1104,10 +1198,17 @@ module Aws::Personalize
1104
1198
  #
1105
1199
  # A solution version can be in one of the following states:
1106
1200
  #
1107
- # * CREATE PENDING > CREATE IN\_PROGRESS > ACTIVE -or- CREATE
1108
- # FAILED
1201
+ # * CREATE PENDING
1109
1202
  #
1110
- # ^
1203
+ # * CREATE IN\_PROGRESS
1204
+ #
1205
+ # * ACTIVE
1206
+ #
1207
+ # * CREATE FAILED
1208
+ #
1209
+ # * CREATE STOPPING
1210
+ #
1211
+ # * CREATE STOPPED
1111
1212
  #
1112
1213
  # To get the status of the version, call DescribeSolutionVersion. Wait
1113
1214
  # until the status shows as ACTIVE before calling `CreateCampaign`.
@@ -1549,6 +1650,45 @@ module Aws::Personalize
1549
1650
  req.send_request(options)
1550
1651
  end
1551
1652
 
1653
+ # Describes the dataset export job created by CreateDatasetExportJob,
1654
+ # including the export job status.
1655
+ #
1656
+ # @option params [required, String] :dataset_export_job_arn
1657
+ # The Amazon Resource Name (ARN) of the dataset export job to describe.
1658
+ #
1659
+ # @return [Types::DescribeDatasetExportJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
1660
+ #
1661
+ # * {Types::DescribeDatasetExportJobResponse#dataset_export_job #dataset_export_job} => Types::DatasetExportJob
1662
+ #
1663
+ # @example Request syntax with placeholder values
1664
+ #
1665
+ # resp = client.describe_dataset_export_job({
1666
+ # dataset_export_job_arn: "Arn", # required
1667
+ # })
1668
+ #
1669
+ # @example Response structure
1670
+ #
1671
+ # resp.dataset_export_job.job_name #=> String
1672
+ # resp.dataset_export_job.dataset_export_job_arn #=> String
1673
+ # resp.dataset_export_job.dataset_arn #=> String
1674
+ # resp.dataset_export_job.ingestion_mode #=> String, one of "BULK", "PUT", "ALL"
1675
+ # resp.dataset_export_job.role_arn #=> String
1676
+ # resp.dataset_export_job.status #=> String
1677
+ # resp.dataset_export_job.job_output.s3_data_destination.path #=> String
1678
+ # resp.dataset_export_job.job_output.s3_data_destination.kms_key_arn #=> String
1679
+ # resp.dataset_export_job.creation_date_time #=> Time
1680
+ # resp.dataset_export_job.last_updated_date_time #=> Time
1681
+ # resp.dataset_export_job.failure_reason #=> String
1682
+ #
1683
+ # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/DescribeDatasetExportJob AWS API Documentation
1684
+ #
1685
+ # @overload describe_dataset_export_job(params = {})
1686
+ # @param [Hash] params ({})
1687
+ def describe_dataset_export_job(params = {}, options = {})
1688
+ req = build_request(:describe_dataset_export_job, params)
1689
+ req.send_request(options)
1690
+ end
1691
+
1552
1692
  # Describes the given dataset group. For more information on dataset
1553
1693
  # groups, see CreateDatasetGroup.
1554
1694
  #
@@ -1867,6 +2007,8 @@ module Aws::Personalize
1867
2007
  # resp.solution.solution_config.auto_ml_config.metric_name #=> String
1868
2008
  # resp.solution.solution_config.auto_ml_config.recipe_list #=> Array
1869
2009
  # resp.solution.solution_config.auto_ml_config.recipe_list[0] #=> String
2010
+ # resp.solution.solution_config.optimization_objective.item_attribute #=> String
2011
+ # resp.solution.solution_config.optimization_objective.objective_sensitivity #=> String, one of "LOW", "MEDIUM", "HIGH", "OFF"
1870
2012
  # resp.solution.auto_ml_result.best_recipe_arn #=> String
1871
2013
  # resp.solution.status #=> String
1872
2014
  # resp.solution.creation_date_time #=> Time
@@ -1936,6 +2078,8 @@ module Aws::Personalize
1936
2078
  # resp.solution_version.solution_config.auto_ml_config.metric_name #=> String
1937
2079
  # resp.solution_version.solution_config.auto_ml_config.recipe_list #=> Array
1938
2080
  # resp.solution_version.solution_config.auto_ml_config.recipe_list[0] #=> String
2081
+ # resp.solution_version.solution_config.optimization_objective.item_attribute #=> String
2082
+ # resp.solution_version.solution_config.optimization_objective.objective_sensitivity #=> String, one of "LOW", "MEDIUM", "HIGH", "OFF"
1939
2083
  # resp.solution_version.training_hours #=> Float
1940
2084
  # resp.solution_version.training_mode #=> String, one of "FULL", "UPDATE"
1941
2085
  # resp.solution_version.tuned_hpo_params.algorithm_hyper_parameters #=> Hash
@@ -2089,6 +2233,59 @@ module Aws::Personalize
2089
2233
  req.send_request(options)
2090
2234
  end
2091
2235
 
2236
+ # Returns a list of dataset export jobs that use the given dataset. When
2237
+ # a dataset is not specified, all the dataset export jobs associated
2238
+ # with the account are listed. The response provides the properties for
2239
+ # each dataset export job, including the Amazon Resource Name (ARN). For
2240
+ # more information on dataset export jobs, see CreateDatasetExportJob.
2241
+ # For more information on datasets, see CreateDataset.
2242
+ #
2243
+ # @option params [String] :dataset_arn
2244
+ # The Amazon Resource Name (ARN) of the dataset to list the dataset
2245
+ # export jobs for.
2246
+ #
2247
+ # @option params [String] :next_token
2248
+ # A token returned from the previous call to `ListDatasetExportJobs` for
2249
+ # getting the next set of dataset export jobs (if they exist).
2250
+ #
2251
+ # @option params [Integer] :max_results
2252
+ # The maximum number of dataset export jobs to return.
2253
+ #
2254
+ # @return [Types::ListDatasetExportJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
2255
+ #
2256
+ # * {Types::ListDatasetExportJobsResponse#dataset_export_jobs #dataset_export_jobs} => Array<Types::DatasetExportJobSummary>
2257
+ # * {Types::ListDatasetExportJobsResponse#next_token #next_token} => String
2258
+ #
2259
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2260
+ #
2261
+ # @example Request syntax with placeholder values
2262
+ #
2263
+ # resp = client.list_dataset_export_jobs({
2264
+ # dataset_arn: "Arn",
2265
+ # next_token: "NextToken",
2266
+ # max_results: 1,
2267
+ # })
2268
+ #
2269
+ # @example Response structure
2270
+ #
2271
+ # resp.dataset_export_jobs #=> Array
2272
+ # resp.dataset_export_jobs[0].dataset_export_job_arn #=> String
2273
+ # resp.dataset_export_jobs[0].job_name #=> String
2274
+ # resp.dataset_export_jobs[0].status #=> String
2275
+ # resp.dataset_export_jobs[0].creation_date_time #=> Time
2276
+ # resp.dataset_export_jobs[0].last_updated_date_time #=> Time
2277
+ # resp.dataset_export_jobs[0].failure_reason #=> String
2278
+ # resp.next_token #=> String
2279
+ #
2280
+ # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/ListDatasetExportJobs AWS API Documentation
2281
+ #
2282
+ # @overload list_dataset_export_jobs(params = {})
2283
+ # @param [Hash] params ({})
2284
+ def list_dataset_export_jobs(params = {}, options = {})
2285
+ req = build_request(:list_dataset_export_jobs, params)
2286
+ req.send_request(options)
2287
+ end
2288
+
2092
2289
  # Returns a list of dataset groups. The response provides the properties
2093
2290
  # for each dataset group, including the Amazon Resource Name (ARN). For
2094
2291
  # more information on dataset groups, see CreateDatasetGroup.
@@ -2304,6 +2501,8 @@ module Aws::Personalize
2304
2501
  # * {Types::ListFiltersResponse#filters #filters} => Array<Types::FilterSummary>
2305
2502
  # * {Types::ListFiltersResponse#next_token #next_token} => String
2306
2503
  #
2504
+ # The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
2505
+ #
2307
2506
  # @example Request syntax with placeholder values
2308
2507
  #
2309
2508
  # resp = client.list_filters({
@@ -2524,6 +2723,43 @@ module Aws::Personalize
2524
2723
  req.send_request(options)
2525
2724
  end
2526
2725
 
2726
+ # Stops creating a solution version that is in a state of
2727
+ # CREATE\_PENDING or CREATE IN\_PROGRESS.
2728
+ #
2729
+ # Depending on the current state of the solution version, the solution
2730
+ # version state changes as follows:
2731
+ #
2732
+ # * CREATE\_PENDING > CREATE\_STOPPED
2733
+ #
2734
+ # or
2735
+ #
2736
+ # * CREATE\_IN\_PROGRESS > CREATE\_STOPPING > CREATE\_STOPPED
2737
+ #
2738
+ # You are billed for all of the training completed up until you stop the
2739
+ # solution version creation. You cannot resume creating a solution
2740
+ # version once it has been stopped.
2741
+ #
2742
+ # @option params [required, String] :solution_version_arn
2743
+ # The Amazon Resource Name (ARN) of the solution version you want to
2744
+ # stop creating.
2745
+ #
2746
+ # @return [Struct] Returns an empty {Seahorse::Client::Response response}.
2747
+ #
2748
+ # @example Request syntax with placeholder values
2749
+ #
2750
+ # resp = client.stop_solution_version_creation({
2751
+ # solution_version_arn: "Arn", # required
2752
+ # })
2753
+ #
2754
+ # @see http://docs.aws.amazon.com/goto/WebAPI/personalize-2018-05-22/StopSolutionVersionCreation AWS API Documentation
2755
+ #
2756
+ # @overload stop_solution_version_creation(params = {})
2757
+ # @param [Hash] params ({})
2758
+ def stop_solution_version_creation(params = {}, options = {})
2759
+ req = build_request(:stop_solution_version_creation, params)
2760
+ req.send_request(options)
2761
+ end
2762
+
2527
2763
  # Updates a campaign by either deploying a new solution or changing the
2528
2764
  # value of the campaign's `minProvisionedTPS` parameter.
2529
2765
  #
@@ -2593,7 +2829,7 @@ module Aws::Personalize
2593
2829
  params: params,
2594
2830
  config: config)
2595
2831
  context[:gem_name] = 'aws-sdk-personalize'
2596
- context[:gem_version] = '1.21.0'
2832
+ context[:gem_version] = '1.26.0'
2597
2833
  Seahorse::Client::Request.new(handlers, context)
2598
2834
  end
2599
2835