aws-sdk-customerprofiles 1.65.0 → 1.66.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 +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-customerprofiles/client.rb +264 -14
- data/lib/aws-sdk-customerprofiles/client_api.rb +174 -1
- data/lib/aws-sdk-customerprofiles/types.rb +354 -0
- data/lib/aws-sdk-customerprofiles.rb +1 -1
- data/sig/client.rbs +84 -0
- data/sig/types.rbs +96 -0
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85b5da852426f74960adfe1a21d870982ecd5220a5258f21b80a0f493ce1ef43
|
4
|
+
data.tar.gz: 8459a44e915d4eb0de88c6518a1d5dee181af0bc923d2b2a90191795f33d05f9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ca51417b78604203a0b4b886dc32b6713f56585464a9623bf3fd9293fbedda17e91b5e6237e3bd5dba94e0b3b636bf0dcdf32c687fd2c364da33b19a8f6c014a
|
7
|
+
data.tar.gz: 38e8ae746dbf50ada8e2eaa361c2ebfb25ea14dc6dc30f2e9f74a02b88b8acaa06af283f76a01349844fa44da600585ddb57636a4fe7271e6db9fb1b30989063
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.66.0 (2025-07-03)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release introduces capability of create Segments via importing a CSV file directly. This consumes the CSV file and creates/updates corresponding profiles for the particular domain.
|
8
|
+
|
4
9
|
1.65.0 (2025-06-09)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.66.0
|
@@ -2177,6 +2177,62 @@ module Aws::CustomerProfiles
|
|
2177
2177
|
req.send_request(options)
|
2178
2178
|
end
|
2179
2179
|
|
2180
|
+
# Creates an Upload job to ingest data for segment imports. The metadata
|
2181
|
+
# is created for the job with the provided field mapping and unique key.
|
2182
|
+
#
|
2183
|
+
# @option params [required, String] :domain_name
|
2184
|
+
# The unique name of the domain. Domain should be exists for the upload
|
2185
|
+
# job to be created.
|
2186
|
+
#
|
2187
|
+
# @option params [required, String] :display_name
|
2188
|
+
# The unique name of the upload job. Could be a file name to identify
|
2189
|
+
# the upload job.
|
2190
|
+
#
|
2191
|
+
# @option params [required, Hash<String,Types::ObjectTypeField>] :fields
|
2192
|
+
# The mapping between CSV Columns and Profile Object attributes. A map
|
2193
|
+
# of the name and ObjectType field.
|
2194
|
+
#
|
2195
|
+
# @option params [required, String] :unique_key
|
2196
|
+
# The unique key columns for de-duping the profiles used to map data to
|
2197
|
+
# the profile.
|
2198
|
+
#
|
2199
|
+
# @option params [Integer] :data_expiry
|
2200
|
+
# The expiry duration for the profiles ingested with the job. If not
|
2201
|
+
# provided, the system default of 2 weeks is used.
|
2202
|
+
#
|
2203
|
+
# @return [Types::CreateUploadJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2204
|
+
#
|
2205
|
+
# * {Types::CreateUploadJobResponse#job_id #job_id} => String
|
2206
|
+
#
|
2207
|
+
# @example Request syntax with placeholder values
|
2208
|
+
#
|
2209
|
+
# resp = client.create_upload_job({
|
2210
|
+
# domain_name: "name", # required
|
2211
|
+
# display_name: "string1To255", # required
|
2212
|
+
# fields: { # required
|
2213
|
+
# "fieldName" => {
|
2214
|
+
# source: "text",
|
2215
|
+
# target: "text",
|
2216
|
+
# content_type: "STRING", # accepts STRING, NUMBER, PHONE_NUMBER, EMAIL_ADDRESS, NAME
|
2217
|
+
# },
|
2218
|
+
# },
|
2219
|
+
# unique_key: "text", # required
|
2220
|
+
# data_expiry: 1,
|
2221
|
+
# })
|
2222
|
+
#
|
2223
|
+
# @example Response structure
|
2224
|
+
#
|
2225
|
+
# resp.job_id #=> String
|
2226
|
+
#
|
2227
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateUploadJob AWS API Documentation
|
2228
|
+
#
|
2229
|
+
# @overload create_upload_job(params = {})
|
2230
|
+
# @param [Hash] params ({})
|
2231
|
+
def create_upload_job(params = {}, options = {})
|
2232
|
+
req = build_request(:create_upload_job, params)
|
2233
|
+
req.send_request(options)
|
2234
|
+
end
|
2235
|
+
|
2180
2236
|
# Deletes an existing calculated attribute definition. Note that
|
2181
2237
|
# deleting a default calculated attribute is possible, however once
|
2182
2238
|
# deleted, you will be unable to undo that action and will need to
|
@@ -2598,9 +2654,9 @@ module Aws::CustomerProfiles
|
|
2598
2654
|
# resp.detected_profile_object_types #=> Array
|
2599
2655
|
# resp.detected_profile_object_types[0].source_last_updated_timestamp_format #=> String
|
2600
2656
|
# resp.detected_profile_object_types[0].fields #=> Hash
|
2601
|
-
# resp.detected_profile_object_types[0].fields["
|
2602
|
-
# resp.detected_profile_object_types[0].fields["
|
2603
|
-
# resp.detected_profile_object_types[0].fields["
|
2657
|
+
# resp.detected_profile_object_types[0].fields["fieldName"].source #=> String
|
2658
|
+
# resp.detected_profile_object_types[0].fields["fieldName"].target #=> String
|
2659
|
+
# resp.detected_profile_object_types[0].fields["fieldName"].content_type #=> String, one of "STRING", "NUMBER", "PHONE_NUMBER", "EMAIL_ADDRESS", "NAME"
|
2604
2660
|
# resp.detected_profile_object_types[0].keys #=> Hash
|
2605
2661
|
# resp.detected_profile_object_types[0].keys["name"] #=> Array
|
2606
2662
|
# resp.detected_profile_object_types[0].keys["name"][0].standard_identifiers #=> Array
|
@@ -3312,9 +3368,9 @@ module Aws::CustomerProfiles
|
|
3312
3368
|
# resp.max_available_profile_object_count #=> Integer
|
3313
3369
|
# resp.max_profile_object_count #=> Integer
|
3314
3370
|
# resp.fields #=> Hash
|
3315
|
-
# resp.fields["
|
3316
|
-
# resp.fields["
|
3317
|
-
# resp.fields["
|
3371
|
+
# resp.fields["fieldName"].source #=> String
|
3372
|
+
# resp.fields["fieldName"].target #=> String
|
3373
|
+
# resp.fields["fieldName"].content_type #=> String, one of "STRING", "NUMBER", "PHONE_NUMBER", "EMAIL_ADDRESS", "NAME"
|
3318
3374
|
# resp.keys #=> Hash
|
3319
3375
|
# resp.keys["name"] #=> Array
|
3320
3376
|
# resp.keys["name"][0].standard_identifiers #=> Array
|
@@ -3370,9 +3426,9 @@ module Aws::CustomerProfiles
|
|
3370
3426
|
# resp.allow_profile_creation #=> Boolean
|
3371
3427
|
# resp.source_last_updated_timestamp_format #=> String
|
3372
3428
|
# resp.fields #=> Hash
|
3373
|
-
# resp.fields["
|
3374
|
-
# resp.fields["
|
3375
|
-
# resp.fields["
|
3429
|
+
# resp.fields["fieldName"].source #=> String
|
3430
|
+
# resp.fields["fieldName"].target #=> String
|
3431
|
+
# resp.fields["fieldName"].content_type #=> String, one of "STRING", "NUMBER", "PHONE_NUMBER", "EMAIL_ADDRESS", "NAME"
|
3376
3432
|
# resp.keys #=> Hash
|
3377
3433
|
# resp.keys["name"] #=> Array
|
3378
3434
|
# resp.keys["name"][0].standard_identifiers #=> Array
|
@@ -3836,6 +3892,99 @@ module Aws::CustomerProfiles
|
|
3836
3892
|
req.send_request(options)
|
3837
3893
|
end
|
3838
3894
|
|
3895
|
+
# This API retrieves the details of a specific upload job.
|
3896
|
+
#
|
3897
|
+
# @option params [required, String] :domain_name
|
3898
|
+
# The unique name of the domain containing the upload job.
|
3899
|
+
#
|
3900
|
+
# @option params [required, String] :job_id
|
3901
|
+
# The unique identifier of the upload job to retrieve.
|
3902
|
+
#
|
3903
|
+
# @return [Types::GetUploadJobResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3904
|
+
#
|
3905
|
+
# * {Types::GetUploadJobResponse#job_id #job_id} => String
|
3906
|
+
# * {Types::GetUploadJobResponse#display_name #display_name} => String
|
3907
|
+
# * {Types::GetUploadJobResponse#status #status} => String
|
3908
|
+
# * {Types::GetUploadJobResponse#status_reason #status_reason} => String
|
3909
|
+
# * {Types::GetUploadJobResponse#created_at #created_at} => Time
|
3910
|
+
# * {Types::GetUploadJobResponse#completed_at #completed_at} => Time
|
3911
|
+
# * {Types::GetUploadJobResponse#fields #fields} => Hash<String,Types::ObjectTypeField>
|
3912
|
+
# * {Types::GetUploadJobResponse#unique_key #unique_key} => String
|
3913
|
+
# * {Types::GetUploadJobResponse#results_summary #results_summary} => Types::ResultsSummary
|
3914
|
+
# * {Types::GetUploadJobResponse#data_expiry #data_expiry} => Integer
|
3915
|
+
#
|
3916
|
+
# @example Request syntax with placeholder values
|
3917
|
+
#
|
3918
|
+
# resp = client.get_upload_job({
|
3919
|
+
# domain_name: "name", # required
|
3920
|
+
# job_id: "uuid", # required
|
3921
|
+
# })
|
3922
|
+
#
|
3923
|
+
# @example Response structure
|
3924
|
+
#
|
3925
|
+
# resp.job_id #=> String
|
3926
|
+
# resp.display_name #=> String
|
3927
|
+
# resp.status #=> String, one of "CREATED", "IN_PROGRESS", "PARTIALLY_SUCCEEDED", "SUCCEEDED", "FAILED", "STOPPED"
|
3928
|
+
# resp.status_reason #=> String, one of "VALIDATION_FAILURE", "INTERNAL_FAILURE"
|
3929
|
+
# resp.created_at #=> Time
|
3930
|
+
# resp.completed_at #=> Time
|
3931
|
+
# resp.fields #=> Hash
|
3932
|
+
# resp.fields["fieldName"].source #=> String
|
3933
|
+
# resp.fields["fieldName"].target #=> String
|
3934
|
+
# resp.fields["fieldName"].content_type #=> String, one of "STRING", "NUMBER", "PHONE_NUMBER", "EMAIL_ADDRESS", "NAME"
|
3935
|
+
# resp.unique_key #=> String
|
3936
|
+
# resp.results_summary.updated_records #=> Integer
|
3937
|
+
# resp.results_summary.created_records #=> Integer
|
3938
|
+
# resp.results_summary.failed_records #=> Integer
|
3939
|
+
# resp.data_expiry #=> Integer
|
3940
|
+
#
|
3941
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetUploadJob AWS API Documentation
|
3942
|
+
#
|
3943
|
+
# @overload get_upload_job(params = {})
|
3944
|
+
# @param [Hash] params ({})
|
3945
|
+
def get_upload_job(params = {}, options = {})
|
3946
|
+
req = build_request(:get_upload_job, params)
|
3947
|
+
req.send_request(options)
|
3948
|
+
end
|
3949
|
+
|
3950
|
+
# This API retrieves the pre-signed URL and client token for uploading
|
3951
|
+
# the file associated with the upload job.
|
3952
|
+
#
|
3953
|
+
# @option params [required, String] :domain_name
|
3954
|
+
# The unique name of the domain containing the upload job.
|
3955
|
+
#
|
3956
|
+
# @option params [required, String] :job_id
|
3957
|
+
# The unique identifier of the upload job to retrieve the upload path
|
3958
|
+
# for. This is generated from the CreateUploadJob API.
|
3959
|
+
#
|
3960
|
+
# @return [Types::GetUploadJobPathResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
3961
|
+
#
|
3962
|
+
# * {Types::GetUploadJobPathResponse#url #url} => String
|
3963
|
+
# * {Types::GetUploadJobPathResponse#client_token #client_token} => String
|
3964
|
+
# * {Types::GetUploadJobPathResponse#valid_until #valid_until} => Time
|
3965
|
+
#
|
3966
|
+
# @example Request syntax with placeholder values
|
3967
|
+
#
|
3968
|
+
# resp = client.get_upload_job_path({
|
3969
|
+
# domain_name: "name", # required
|
3970
|
+
# job_id: "name", # required
|
3971
|
+
# })
|
3972
|
+
#
|
3973
|
+
# @example Response structure
|
3974
|
+
#
|
3975
|
+
# resp.url #=> String
|
3976
|
+
# resp.client_token #=> String
|
3977
|
+
# resp.valid_until #=> Time
|
3978
|
+
#
|
3979
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetUploadJobPath AWS API Documentation
|
3980
|
+
#
|
3981
|
+
# @overload get_upload_job_path(params = {})
|
3982
|
+
# @param [Hash] params ({})
|
3983
|
+
def get_upload_job_path(params = {}, options = {})
|
3984
|
+
req = build_request(:get_upload_job_path, params)
|
3985
|
+
req.send_request(options)
|
3986
|
+
end
|
3987
|
+
|
3839
3988
|
# Get details of specified workflow.
|
3840
3989
|
#
|
3841
3990
|
# @option params [required, String] :domain_name
|
@@ -4742,6 +4891,54 @@ module Aws::CustomerProfiles
|
|
4742
4891
|
req.send_request(options)
|
4743
4892
|
end
|
4744
4893
|
|
4894
|
+
# This API retrieves a list of upload jobs for the specified domain.
|
4895
|
+
#
|
4896
|
+
# @option params [required, String] :domain_name
|
4897
|
+
# The unique name of the domain to list upload jobs for.
|
4898
|
+
#
|
4899
|
+
# @option params [Integer] :max_results
|
4900
|
+
# The maximum number of upload jobs to return per page.
|
4901
|
+
#
|
4902
|
+
# @option params [String] :next_token
|
4903
|
+
# The pagination token from the previous call to retrieve the next page
|
4904
|
+
# of results.
|
4905
|
+
#
|
4906
|
+
# @return [Types::ListUploadJobsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
4907
|
+
#
|
4908
|
+
# * {Types::ListUploadJobsResponse#next_token #next_token} => String
|
4909
|
+
# * {Types::ListUploadJobsResponse#items #items} => Array<Types::UploadJobItem>
|
4910
|
+
#
|
4911
|
+
# The returned {Seahorse::Client::Response response} is a pageable response and is Enumerable. For details on usage see {Aws::PageableResponse PageableResponse}.
|
4912
|
+
#
|
4913
|
+
# @example Request syntax with placeholder values
|
4914
|
+
#
|
4915
|
+
# resp = client.list_upload_jobs({
|
4916
|
+
# domain_name: "name", # required
|
4917
|
+
# max_results: 1,
|
4918
|
+
# next_token: "token",
|
4919
|
+
# })
|
4920
|
+
#
|
4921
|
+
# @example Response structure
|
4922
|
+
#
|
4923
|
+
# resp.next_token #=> String
|
4924
|
+
# resp.items #=> Array
|
4925
|
+
# resp.items[0].job_id #=> String
|
4926
|
+
# resp.items[0].display_name #=> String
|
4927
|
+
# resp.items[0].status #=> String, one of "CREATED", "IN_PROGRESS", "PARTIALLY_SUCCEEDED", "SUCCEEDED", "FAILED", "STOPPED"
|
4928
|
+
# resp.items[0].status_reason #=> String, one of "VALIDATION_FAILURE", "INTERNAL_FAILURE"
|
4929
|
+
# resp.items[0].created_at #=> Time
|
4930
|
+
# resp.items[0].completed_at #=> Time
|
4931
|
+
# resp.items[0].data_expiry #=> Integer
|
4932
|
+
#
|
4933
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListUploadJobs AWS API Documentation
|
4934
|
+
#
|
4935
|
+
# @overload list_upload_jobs(params = {})
|
4936
|
+
# @param [Hash] params ({})
|
4937
|
+
def list_upload_jobs(params = {}, options = {})
|
4938
|
+
req = build_request(:list_upload_jobs, params)
|
4939
|
+
req.send_request(options)
|
4940
|
+
end
|
4941
|
+
|
4745
4942
|
# Query to list all workflows.
|
4746
4943
|
#
|
4747
4944
|
# @option params [required, String] :domain_name
|
@@ -5209,7 +5406,7 @@ module Aws::CustomerProfiles
|
|
5209
5406
|
# source_last_updated_timestamp_format: "string1To255",
|
5210
5407
|
# max_profile_object_count: 1,
|
5211
5408
|
# fields: {
|
5212
|
-
# "
|
5409
|
+
# "fieldName" => {
|
5213
5410
|
# source: "text",
|
5214
5411
|
# target: "text",
|
5215
5412
|
# content_type: "STRING", # accepts STRING, NUMBER, PHONE_NUMBER, EMAIL_ADDRESS, NAME
|
@@ -5240,9 +5437,9 @@ module Aws::CustomerProfiles
|
|
5240
5437
|
# resp.max_profile_object_count #=> Integer
|
5241
5438
|
# resp.max_available_profile_object_count #=> Integer
|
5242
5439
|
# resp.fields #=> Hash
|
5243
|
-
# resp.fields["
|
5244
|
-
# resp.fields["
|
5245
|
-
# resp.fields["
|
5440
|
+
# resp.fields["fieldName"].source #=> String
|
5441
|
+
# resp.fields["fieldName"].target #=> String
|
5442
|
+
# resp.fields["fieldName"].content_type #=> String, one of "STRING", "NUMBER", "PHONE_NUMBER", "EMAIL_ADDRESS", "NAME"
|
5246
5443
|
# resp.keys #=> Hash
|
5247
5444
|
# resp.keys["name"] #=> Array
|
5248
5445
|
# resp.keys["name"][0].standard_identifiers #=> Array
|
@@ -5423,6 +5620,59 @@ module Aws::CustomerProfiles
|
|
5423
5620
|
req.send_request(options)
|
5424
5621
|
end
|
5425
5622
|
|
5623
|
+
# This API starts the processing of an upload job to ingest profile
|
5624
|
+
# data.
|
5625
|
+
#
|
5626
|
+
# @option params [required, String] :domain_name
|
5627
|
+
# The unique name of the domain containing the upload job to start.
|
5628
|
+
#
|
5629
|
+
# @option params [required, String] :job_id
|
5630
|
+
# The unique identifier of the upload job to start.
|
5631
|
+
#
|
5632
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
5633
|
+
#
|
5634
|
+
# @example Request syntax with placeholder values
|
5635
|
+
#
|
5636
|
+
# resp = client.start_upload_job({
|
5637
|
+
# domain_name: "name", # required
|
5638
|
+
# job_id: "name", # required
|
5639
|
+
# })
|
5640
|
+
#
|
5641
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/StartUploadJob AWS API Documentation
|
5642
|
+
#
|
5643
|
+
# @overload start_upload_job(params = {})
|
5644
|
+
# @param [Hash] params ({})
|
5645
|
+
def start_upload_job(params = {}, options = {})
|
5646
|
+
req = build_request(:start_upload_job, params)
|
5647
|
+
req.send_request(options)
|
5648
|
+
end
|
5649
|
+
|
5650
|
+
# This API stops the processing of an upload job.
|
5651
|
+
#
|
5652
|
+
# @option params [required, String] :domain_name
|
5653
|
+
# The unique name of the domain containing the upload job to stop.
|
5654
|
+
#
|
5655
|
+
# @option params [required, String] :job_id
|
5656
|
+
# The unique identifier of the upload job to stop.
|
5657
|
+
#
|
5658
|
+
# @return [Struct] Returns an empty {Seahorse::Client::Response response}.
|
5659
|
+
#
|
5660
|
+
# @example Request syntax with placeholder values
|
5661
|
+
#
|
5662
|
+
# resp = client.stop_upload_job({
|
5663
|
+
# domain_name: "name", # required
|
5664
|
+
# job_id: "name", # required
|
5665
|
+
# })
|
5666
|
+
#
|
5667
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/StopUploadJob AWS API Documentation
|
5668
|
+
#
|
5669
|
+
# @overload stop_upload_job(params = {})
|
5670
|
+
# @param [Hash] params ({})
|
5671
|
+
def stop_upload_job(params = {}, options = {})
|
5672
|
+
req = build_request(:stop_upload_job, params)
|
5673
|
+
req.send_request(options)
|
5674
|
+
end
|
5675
|
+
|
5426
5676
|
# Assigns one or more tags (key-value pairs) to the specified Amazon
|
5427
5677
|
# Connect Customer Profiles resource. Tags can help you organize and
|
5428
5678
|
# categorize your resources. You can also use them to scope user
|
@@ -6175,7 +6425,7 @@ module Aws::CustomerProfiles
|
|
6175
6425
|
tracer: tracer
|
6176
6426
|
)
|
6177
6427
|
context[:gem_name] = 'aws-sdk-customerprofiles'
|
6178
|
-
context[:gem_version] = '1.
|
6428
|
+
context[:gem_version] = '1.66.0'
|
6179
6429
|
Seahorse::Client::Request.new(handlers, context)
|
6180
6430
|
end
|
6181
6431
|
|
@@ -87,6 +87,8 @@ module Aws::CustomerProfiles
|
|
87
87
|
CreateSegmentEstimateResponse = Shapes::StructureShape.new(name: 'CreateSegmentEstimateResponse')
|
88
88
|
CreateSegmentSnapshotRequest = Shapes::StructureShape.new(name: 'CreateSegmentSnapshotRequest')
|
89
89
|
CreateSegmentSnapshotResponse = Shapes::StructureShape.new(name: 'CreateSegmentSnapshotResponse')
|
90
|
+
CreateUploadJobRequest = Shapes::StructureShape.new(name: 'CreateUploadJobRequest')
|
91
|
+
CreateUploadJobResponse = Shapes::StructureShape.new(name: 'CreateUploadJobResponse')
|
90
92
|
CustomAttributes = Shapes::MapShape.new(name: 'CustomAttributes')
|
91
93
|
DataFormat = Shapes::StringShape.new(name: 'DataFormat')
|
92
94
|
DataPullMode = Shapes::StringShape.new(name: 'DataPullMode')
|
@@ -205,6 +207,10 @@ module Aws::CustomerProfiles
|
|
205
207
|
GetSegmentSnapshotResponse = Shapes::StructureShape.new(name: 'GetSegmentSnapshotResponse')
|
206
208
|
GetSimilarProfilesRequest = Shapes::StructureShape.new(name: 'GetSimilarProfilesRequest')
|
207
209
|
GetSimilarProfilesResponse = Shapes::StructureShape.new(name: 'GetSimilarProfilesResponse')
|
210
|
+
GetUploadJobPathRequest = Shapes::StructureShape.new(name: 'GetUploadJobPathRequest')
|
211
|
+
GetUploadJobPathResponse = Shapes::StructureShape.new(name: 'GetUploadJobPathResponse')
|
212
|
+
GetUploadJobRequest = Shapes::StructureShape.new(name: 'GetUploadJobRequest')
|
213
|
+
GetUploadJobResponse = Shapes::StructureShape.new(name: 'GetUploadJobResponse')
|
208
214
|
GetWorkflowRequest = Shapes::StructureShape.new(name: 'GetWorkflowRequest')
|
209
215
|
GetWorkflowResponse = Shapes::StructureShape.new(name: 'GetWorkflowResponse')
|
210
216
|
GetWorkflowStepsRequest = Shapes::StructureShape.new(name: 'GetWorkflowStepsRequest')
|
@@ -270,6 +276,8 @@ module Aws::CustomerProfiles
|
|
270
276
|
ListSegmentDefinitionsResponse = Shapes::StructureShape.new(name: 'ListSegmentDefinitionsResponse')
|
271
277
|
ListTagsForResourceRequest = Shapes::StructureShape.new(name: 'ListTagsForResourceRequest')
|
272
278
|
ListTagsForResourceResponse = Shapes::StructureShape.new(name: 'ListTagsForResourceResponse')
|
279
|
+
ListUploadJobsRequest = Shapes::StructureShape.new(name: 'ListUploadJobsRequest')
|
280
|
+
ListUploadJobsResponse = Shapes::StructureShape.new(name: 'ListUploadJobsResponse')
|
273
281
|
ListWorkflowsItem = Shapes::StructureShape.new(name: 'ListWorkflowsItem')
|
274
282
|
ListWorkflowsRequest = Shapes::StructureShape.new(name: 'ListWorkflowsRequest')
|
275
283
|
ListWorkflowsResponse = Shapes::StructureShape.new(name: 'ListWorkflowsResponse')
|
@@ -338,6 +346,7 @@ module Aws::CustomerProfiles
|
|
338
346
|
Readiness = Shapes::StructureShape.new(name: 'Readiness')
|
339
347
|
ReadinessStatus = Shapes::StringShape.new(name: 'ReadinessStatus')
|
340
348
|
ResourceNotFoundException = Shapes::StructureShape.new(name: 'ResourceNotFoundException')
|
349
|
+
ResultsSummary = Shapes::StructureShape.new(name: 'ResultsSummary')
|
341
350
|
RoleArn = Shapes::StringShape.new(name: 'RoleArn')
|
342
351
|
RuleBasedMatchingRequest = Shapes::StructureShape.new(name: 'RuleBasedMatchingRequest')
|
343
352
|
RuleBasedMatchingResponse = Shapes::StructureShape.new(name: 'RuleBasedMatchingResponse')
|
@@ -372,9 +381,14 @@ module Aws::CustomerProfiles
|
|
372
381
|
StandardIdentifier = Shapes::StringShape.new(name: 'StandardIdentifier')
|
373
382
|
StandardIdentifierList = Shapes::ListShape.new(name: 'StandardIdentifierList')
|
374
383
|
Start = Shapes::IntegerShape.new(name: 'Start')
|
384
|
+
StartUploadJobRequest = Shapes::StructureShape.new(name: 'StartUploadJobRequest')
|
385
|
+
StartUploadJobResponse = Shapes::StructureShape.new(name: 'StartUploadJobResponse')
|
375
386
|
Statistic = Shapes::StringShape.new(name: 'Statistic')
|
376
387
|
Status = Shapes::StringShape.new(name: 'Status')
|
377
388
|
StatusCode = Shapes::IntegerShape.new(name: 'StatusCode')
|
389
|
+
StatusReason = Shapes::StringShape.new(name: 'StatusReason')
|
390
|
+
StopUploadJobRequest = Shapes::StructureShape.new(name: 'StopUploadJobRequest')
|
391
|
+
StopUploadJobResponse = Shapes::StructureShape.new(name: 'StopUploadJobResponse')
|
378
392
|
String = Shapes::StringShape.new(name: 'String')
|
379
393
|
StringDimensionType = Shapes::StringShape.new(name: 'StringDimensionType')
|
380
394
|
TagArn = Shapes::StringShape.new(name: 'TagArn')
|
@@ -410,6 +424,9 @@ module Aws::CustomerProfiles
|
|
410
424
|
UpdateEventTriggerResponse = Shapes::StructureShape.new(name: 'UpdateEventTriggerResponse')
|
411
425
|
UpdateProfileRequest = Shapes::StructureShape.new(name: 'UpdateProfileRequest')
|
412
426
|
UpdateProfileResponse = Shapes::StructureShape.new(name: 'UpdateProfileResponse')
|
427
|
+
UploadJobItem = Shapes::StructureShape.new(name: 'UploadJobItem')
|
428
|
+
UploadJobStatus = Shapes::StringShape.new(name: 'UploadJobStatus')
|
429
|
+
UploadJobsList = Shapes::ListShape.new(name: 'UploadJobsList')
|
413
430
|
Value = Shapes::IntegerShape.new(name: 'Value')
|
414
431
|
ValueList = Shapes::ListShape.new(name: 'ValueList')
|
415
432
|
ValueRange = Shapes::StructureShape.new(name: 'ValueRange')
|
@@ -836,6 +853,16 @@ module Aws::CustomerProfiles
|
|
836
853
|
CreateSegmentSnapshotResponse.add_member(:snapshot_id, Shapes::ShapeRef.new(shape: uuid, required: true, location_name: "SnapshotId"))
|
837
854
|
CreateSegmentSnapshotResponse.struct_class = Types::CreateSegmentSnapshotResponse
|
838
855
|
|
856
|
+
CreateUploadJobRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
|
857
|
+
CreateUploadJobRequest.add_member(:display_name, Shapes::ShapeRef.new(shape: string1To255, required: true, location_name: "DisplayName"))
|
858
|
+
CreateUploadJobRequest.add_member(:fields, Shapes::ShapeRef.new(shape: FieldMap, required: true, location_name: "Fields"))
|
859
|
+
CreateUploadJobRequest.add_member(:unique_key, Shapes::ShapeRef.new(shape: text, required: true, location_name: "UniqueKey"))
|
860
|
+
CreateUploadJobRequest.add_member(:data_expiry, Shapes::ShapeRef.new(shape: expirationDaysInteger, location_name: "DataExpiry"))
|
861
|
+
CreateUploadJobRequest.struct_class = Types::CreateUploadJobRequest
|
862
|
+
|
863
|
+
CreateUploadJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: uuid, required: true, location_name: "JobId"))
|
864
|
+
CreateUploadJobResponse.struct_class = Types::CreateUploadJobResponse
|
865
|
+
|
839
866
|
CustomAttributes.key = Shapes::ShapeRef.new(shape: typeName)
|
840
867
|
CustomAttributes.value = Shapes::ShapeRef.new(shape: AttributeDimension)
|
841
868
|
|
@@ -1028,7 +1055,7 @@ module Aws::CustomerProfiles
|
|
1028
1055
|
|
1029
1056
|
Failures.member = Shapes::ShapeRef.new(shape: ProfileQueryFailures)
|
1030
1057
|
|
1031
|
-
FieldMap.key = Shapes::ShapeRef.new(shape:
|
1058
|
+
FieldMap.key = Shapes::ShapeRef.new(shape: fieldName)
|
1032
1059
|
FieldMap.value = Shapes::ShapeRef.new(shape: ObjectTypeField)
|
1033
1060
|
|
1034
1061
|
FieldNameList.member = Shapes::ShapeRef.new(shape: name)
|
@@ -1329,6 +1356,31 @@ module Aws::CustomerProfiles
|
|
1329
1356
|
GetSimilarProfilesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location_name: "NextToken"))
|
1330
1357
|
GetSimilarProfilesResponse.struct_class = Types::GetSimilarProfilesResponse
|
1331
1358
|
|
1359
|
+
GetUploadJobPathRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
|
1360
|
+
GetUploadJobPathRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "JobId"))
|
1361
|
+
GetUploadJobPathRequest.struct_class = Types::GetUploadJobPathRequest
|
1362
|
+
|
1363
|
+
GetUploadJobPathResponse.add_member(:url, Shapes::ShapeRef.new(shape: stringTo2048, required: true, location_name: "Url"))
|
1364
|
+
GetUploadJobPathResponse.add_member(:client_token, Shapes::ShapeRef.new(shape: text, location_name: "ClientToken"))
|
1365
|
+
GetUploadJobPathResponse.add_member(:valid_until, Shapes::ShapeRef.new(shape: timestamp, location_name: "ValidUntil"))
|
1366
|
+
GetUploadJobPathResponse.struct_class = Types::GetUploadJobPathResponse
|
1367
|
+
|
1368
|
+
GetUploadJobRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
|
1369
|
+
GetUploadJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: uuid, required: true, location: "uri", location_name: "JobId"))
|
1370
|
+
GetUploadJobRequest.struct_class = Types::GetUploadJobRequest
|
1371
|
+
|
1372
|
+
GetUploadJobResponse.add_member(:job_id, Shapes::ShapeRef.new(shape: uuid, location_name: "JobId"))
|
1373
|
+
GetUploadJobResponse.add_member(:display_name, Shapes::ShapeRef.new(shape: string1To255, location_name: "DisplayName"))
|
1374
|
+
GetUploadJobResponse.add_member(:status, Shapes::ShapeRef.new(shape: UploadJobStatus, location_name: "Status"))
|
1375
|
+
GetUploadJobResponse.add_member(:status_reason, Shapes::ShapeRef.new(shape: StatusReason, location_name: "StatusReason"))
|
1376
|
+
GetUploadJobResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreatedAt"))
|
1377
|
+
GetUploadJobResponse.add_member(:completed_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletedAt"))
|
1378
|
+
GetUploadJobResponse.add_member(:fields, Shapes::ShapeRef.new(shape: FieldMap, location_name: "Fields"))
|
1379
|
+
GetUploadJobResponse.add_member(:unique_key, Shapes::ShapeRef.new(shape: text, location_name: "UniqueKey"))
|
1380
|
+
GetUploadJobResponse.add_member(:results_summary, Shapes::ShapeRef.new(shape: ResultsSummary, location_name: "ResultsSummary"))
|
1381
|
+
GetUploadJobResponse.add_member(:data_expiry, Shapes::ShapeRef.new(shape: expirationDaysInteger, location_name: "DataExpiry"))
|
1382
|
+
GetUploadJobResponse.struct_class = Types::GetUploadJobResponse
|
1383
|
+
|
1332
1384
|
GetWorkflowRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
|
1333
1385
|
GetWorkflowRequest.add_member(:workflow_id, Shapes::ShapeRef.new(shape: uuid, required: true, location: "uri", location_name: "WorkflowId"))
|
1334
1386
|
GetWorkflowRequest.struct_class = Types::GetWorkflowRequest
|
@@ -1617,6 +1669,15 @@ module Aws::CustomerProfiles
|
|
1617
1669
|
ListTagsForResourceResponse.add_member(:tags, Shapes::ShapeRef.new(shape: TagMap, location_name: "tags"))
|
1618
1670
|
ListTagsForResourceResponse.struct_class = Types::ListTagsForResourceResponse
|
1619
1671
|
|
1672
|
+
ListUploadJobsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
|
1673
|
+
ListUploadJobsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxSize500, location: "querystring", location_name: "max-results"))
|
1674
|
+
ListUploadJobsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location: "querystring", location_name: "next-token"))
|
1675
|
+
ListUploadJobsRequest.struct_class = Types::ListUploadJobsRequest
|
1676
|
+
|
1677
|
+
ListUploadJobsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location_name: "NextToken"))
|
1678
|
+
ListUploadJobsResponse.add_member(:items, Shapes::ShapeRef.new(shape: UploadJobsList, location_name: "Items"))
|
1679
|
+
ListUploadJobsResponse.struct_class = Types::ListUploadJobsResponse
|
1680
|
+
|
1620
1681
|
ListWorkflowsItem.add_member(:workflow_type, Shapes::ShapeRef.new(shape: WorkflowType, required: true, location_name: "WorkflowType"))
|
1621
1682
|
ListWorkflowsItem.add_member(:workflow_id, Shapes::ShapeRef.new(shape: string1To255, required: true, location_name: "WorkflowId"))
|
1622
1683
|
ListWorkflowsItem.add_member(:status, Shapes::ShapeRef.new(shape: Status, required: true, location_name: "Status"))
|
@@ -1890,6 +1951,11 @@ module Aws::CustomerProfiles
|
|
1890
1951
|
ResourceNotFoundException.add_member(:message, Shapes::ShapeRef.new(shape: message, location_name: "Message"))
|
1891
1952
|
ResourceNotFoundException.struct_class = Types::ResourceNotFoundException
|
1892
1953
|
|
1954
|
+
ResultsSummary.add_member(:updated_records, Shapes::ShapeRef.new(shape: optionalLong, location_name: "UpdatedRecords"))
|
1955
|
+
ResultsSummary.add_member(:created_records, Shapes::ShapeRef.new(shape: optionalLong, location_name: "CreatedRecords"))
|
1956
|
+
ResultsSummary.add_member(:failed_records, Shapes::ShapeRef.new(shape: optionalLong, location_name: "FailedRecords"))
|
1957
|
+
ResultsSummary.struct_class = Types::ResultsSummary
|
1958
|
+
|
1893
1959
|
RuleBasedMatchingRequest.add_member(:enabled, Shapes::ShapeRef.new(shape: optionalBoolean, required: true, location_name: "Enabled"))
|
1894
1960
|
RuleBasedMatchingRequest.add_member(:matching_rules, Shapes::ShapeRef.new(shape: MatchingRules, location_name: "MatchingRules"))
|
1895
1961
|
RuleBasedMatchingRequest.add_member(:max_allowed_rule_level_for_merging, Shapes::ShapeRef.new(shape: MaxAllowedRuleLevelForMerging, location_name: "MaxAllowedRuleLevelForMerging"))
|
@@ -1993,6 +2059,18 @@ module Aws::CustomerProfiles
|
|
1993
2059
|
|
1994
2060
|
StandardIdentifierList.member = Shapes::ShapeRef.new(shape: StandardIdentifier)
|
1995
2061
|
|
2062
|
+
StartUploadJobRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
|
2063
|
+
StartUploadJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "JobId"))
|
2064
|
+
StartUploadJobRequest.struct_class = Types::StartUploadJobRequest
|
2065
|
+
|
2066
|
+
StartUploadJobResponse.struct_class = Types::StartUploadJobResponse
|
2067
|
+
|
2068
|
+
StopUploadJobRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
|
2069
|
+
StopUploadJobRequest.add_member(:job_id, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "JobId"))
|
2070
|
+
StopUploadJobRequest.struct_class = Types::StopUploadJobRequest
|
2071
|
+
|
2072
|
+
StopUploadJobResponse.struct_class = Types::StopUploadJobResponse
|
2073
|
+
|
1996
2074
|
TagKeyList.member = Shapes::ShapeRef.new(shape: TagKey)
|
1997
2075
|
|
1998
2076
|
TagMap.key = Shapes::ShapeRef.new(shape: TagKey)
|
@@ -2163,6 +2241,17 @@ module Aws::CustomerProfiles
|
|
2163
2241
|
UpdateProfileResponse.add_member(:profile_id, Shapes::ShapeRef.new(shape: uuid, required: true, location_name: "ProfileId"))
|
2164
2242
|
UpdateProfileResponse.struct_class = Types::UpdateProfileResponse
|
2165
2243
|
|
2244
|
+
UploadJobItem.add_member(:job_id, Shapes::ShapeRef.new(shape: uuid, location_name: "JobId"))
|
2245
|
+
UploadJobItem.add_member(:display_name, Shapes::ShapeRef.new(shape: string1To255, location_name: "DisplayName"))
|
2246
|
+
UploadJobItem.add_member(:status, Shapes::ShapeRef.new(shape: UploadJobStatus, location_name: "Status"))
|
2247
|
+
UploadJobItem.add_member(:status_reason, Shapes::ShapeRef.new(shape: StatusReason, location_name: "StatusReason"))
|
2248
|
+
UploadJobItem.add_member(:created_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreatedAt"))
|
2249
|
+
UploadJobItem.add_member(:completed_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "CompletedAt"))
|
2250
|
+
UploadJobItem.add_member(:data_expiry, Shapes::ShapeRef.new(shape: expirationDaysInteger, location_name: "DataExpiry"))
|
2251
|
+
UploadJobItem.struct_class = Types::UploadJobItem
|
2252
|
+
|
2253
|
+
UploadJobsList.member = Shapes::ShapeRef.new(shape: UploadJobItem)
|
2254
|
+
|
2166
2255
|
ValueList.member = Shapes::ShapeRef.new(shape: string1To255)
|
2167
2256
|
|
2168
2257
|
ValueRange.add_member(:start, Shapes::ShapeRef.new(shape: ValueRangeStart, required: true, location_name: "Start"))
|
@@ -2383,6 +2472,19 @@ module Aws::CustomerProfiles
|
|
2383
2472
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2384
2473
|
end)
|
2385
2474
|
|
2475
|
+
api.add_operation(:create_upload_job, Seahorse::Model::Operation.new.tap do |o|
|
2476
|
+
o.name = "CreateUploadJob"
|
2477
|
+
o.http_method = "POST"
|
2478
|
+
o.http_request_uri = "/domains/{DomainName}/upload-jobs"
|
2479
|
+
o.input = Shapes::ShapeRef.new(shape: CreateUploadJobRequest)
|
2480
|
+
o.output = Shapes::ShapeRef.new(shape: CreateUploadJobResponse)
|
2481
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2482
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2483
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2484
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2485
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2486
|
+
end)
|
2487
|
+
|
2386
2488
|
api.add_operation(:delete_calculated_attribute_definition, Seahorse::Model::Operation.new.tap do |o|
|
2387
2489
|
o.name = "DeleteCalculatedAttributeDefinition"
|
2388
2490
|
o.http_method = "DELETE"
|
@@ -2779,6 +2881,32 @@ module Aws::CustomerProfiles
|
|
2779
2881
|
)
|
2780
2882
|
end)
|
2781
2883
|
|
2884
|
+
api.add_operation(:get_upload_job, Seahorse::Model::Operation.new.tap do |o|
|
2885
|
+
o.name = "GetUploadJob"
|
2886
|
+
o.http_method = "GET"
|
2887
|
+
o.http_request_uri = "/domains/{DomainName}/upload-jobs/{JobId}"
|
2888
|
+
o.input = Shapes::ShapeRef.new(shape: GetUploadJobRequest)
|
2889
|
+
o.output = Shapes::ShapeRef.new(shape: GetUploadJobResponse)
|
2890
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2891
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2892
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2893
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2894
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2895
|
+
end)
|
2896
|
+
|
2897
|
+
api.add_operation(:get_upload_job_path, Seahorse::Model::Operation.new.tap do |o|
|
2898
|
+
o.name = "GetUploadJobPath"
|
2899
|
+
o.http_method = "GET"
|
2900
|
+
o.http_request_uri = "/domains/{DomainName}/upload-jobs/{JobId}/path"
|
2901
|
+
o.input = Shapes::ShapeRef.new(shape: GetUploadJobPathRequest)
|
2902
|
+
o.output = Shapes::ShapeRef.new(shape: GetUploadJobPathResponse)
|
2903
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
2904
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
2905
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
2906
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
2907
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
2908
|
+
end)
|
2909
|
+
|
2782
2910
|
api.add_operation(:get_workflow, Seahorse::Model::Operation.new.tap do |o|
|
2783
2911
|
o.name = "GetWorkflow"
|
2784
2912
|
o.http_method = "GET"
|
@@ -3060,6 +3188,25 @@ module Aws::CustomerProfiles
|
|
3060
3188
|
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3061
3189
|
end)
|
3062
3190
|
|
3191
|
+
api.add_operation(:list_upload_jobs, Seahorse::Model::Operation.new.tap do |o|
|
3192
|
+
o.name = "ListUploadJobs"
|
3193
|
+
o.http_method = "GET"
|
3194
|
+
o.http_request_uri = "/domains/{DomainName}/upload-jobs"
|
3195
|
+
o.input = Shapes::ShapeRef.new(shape: ListUploadJobsRequest)
|
3196
|
+
o.output = Shapes::ShapeRef.new(shape: ListUploadJobsResponse)
|
3197
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3198
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3199
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3200
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3201
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3202
|
+
o[:pager] = Aws::Pager.new(
|
3203
|
+
limit_key: "max_results",
|
3204
|
+
tokens: {
|
3205
|
+
"next_token" => "next_token"
|
3206
|
+
}
|
3207
|
+
)
|
3208
|
+
end)
|
3209
|
+
|
3063
3210
|
api.add_operation(:list_workflows, Seahorse::Model::Operation.new.tap do |o|
|
3064
3211
|
o.name = "ListWorkflows"
|
3065
3212
|
o.http_method = "POST"
|
@@ -3137,6 +3284,32 @@ module Aws::CustomerProfiles
|
|
3137
3284
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3138
3285
|
end)
|
3139
3286
|
|
3287
|
+
api.add_operation(:start_upload_job, Seahorse::Model::Operation.new.tap do |o|
|
3288
|
+
o.name = "StartUploadJob"
|
3289
|
+
o.http_method = "PUT"
|
3290
|
+
o.http_request_uri = "/domains/{DomainName}/upload-jobs/{JobId}"
|
3291
|
+
o.input = Shapes::ShapeRef.new(shape: StartUploadJobRequest)
|
3292
|
+
o.output = Shapes::ShapeRef.new(shape: StartUploadJobResponse)
|
3293
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3294
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3295
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3296
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3297
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3298
|
+
end)
|
3299
|
+
|
3300
|
+
api.add_operation(:stop_upload_job, Seahorse::Model::Operation.new.tap do |o|
|
3301
|
+
o.name = "StopUploadJob"
|
3302
|
+
o.http_method = "PUT"
|
3303
|
+
o.http_request_uri = "/domains/{DomainName}/upload-jobs/{JobId}/stop"
|
3304
|
+
o.input = Shapes::ShapeRef.new(shape: StopUploadJobRequest)
|
3305
|
+
o.output = Shapes::ShapeRef.new(shape: StopUploadJobResponse)
|
3306
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
3307
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
3308
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
3309
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
3310
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
3311
|
+
end)
|
3312
|
+
|
3140
3313
|
api.add_operation(:tag_resource, Seahorse::Model::Operation.new.tap do |o|
|
3141
3314
|
o.name = "TagResource"
|
3142
3315
|
o.http_method = "POST"
|
@@ -1819,6 +1819,55 @@ module Aws::CustomerProfiles
|
|
1819
1819
|
include Aws::Structure
|
1820
1820
|
end
|
1821
1821
|
|
1822
|
+
# @!attribute [rw] domain_name
|
1823
|
+
# The unique name of the domain. Domain should be exists for the
|
1824
|
+
# upload job to be created.
|
1825
|
+
# @return [String]
|
1826
|
+
#
|
1827
|
+
# @!attribute [rw] display_name
|
1828
|
+
# The unique name of the upload job. Could be a file name to identify
|
1829
|
+
# the upload job.
|
1830
|
+
# @return [String]
|
1831
|
+
#
|
1832
|
+
# @!attribute [rw] fields
|
1833
|
+
# The mapping between CSV Columns and Profile Object attributes. A map
|
1834
|
+
# of the name and ObjectType field.
|
1835
|
+
# @return [Hash<String,Types::ObjectTypeField>]
|
1836
|
+
#
|
1837
|
+
# @!attribute [rw] unique_key
|
1838
|
+
# The unique key columns for de-duping the profiles used to map data
|
1839
|
+
# to the profile.
|
1840
|
+
# @return [String]
|
1841
|
+
#
|
1842
|
+
# @!attribute [rw] data_expiry
|
1843
|
+
# The expiry duration for the profiles ingested with the job. If not
|
1844
|
+
# provided, the system default of 2 weeks is used.
|
1845
|
+
# @return [Integer]
|
1846
|
+
#
|
1847
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateUploadJobRequest AWS API Documentation
|
1848
|
+
#
|
1849
|
+
class CreateUploadJobRequest < Struct.new(
|
1850
|
+
:domain_name,
|
1851
|
+
:display_name,
|
1852
|
+
:fields,
|
1853
|
+
:unique_key,
|
1854
|
+
:data_expiry)
|
1855
|
+
SENSITIVE = [:fields]
|
1856
|
+
include Aws::Structure
|
1857
|
+
end
|
1858
|
+
|
1859
|
+
# @!attribute [rw] job_id
|
1860
|
+
# The unique identifier for the created upload job.
|
1861
|
+
# @return [String]
|
1862
|
+
#
|
1863
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/CreateUploadJobResponse AWS API Documentation
|
1864
|
+
#
|
1865
|
+
class CreateUploadJobResponse < Struct.new(
|
1866
|
+
:job_id)
|
1867
|
+
SENSITIVE = []
|
1868
|
+
include Aws::Structure
|
1869
|
+
end
|
1870
|
+
|
1822
1871
|
# Object that segments on various Customer Profile's date fields.
|
1823
1872
|
#
|
1824
1873
|
# @!attribute [rw] dimension_type
|
@@ -4061,6 +4110,159 @@ module Aws::CustomerProfiles
|
|
4061
4110
|
include Aws::Structure
|
4062
4111
|
end
|
4063
4112
|
|
4113
|
+
# @!attribute [rw] domain_name
|
4114
|
+
# The unique name of the domain containing the upload job.
|
4115
|
+
# @return [String]
|
4116
|
+
#
|
4117
|
+
# @!attribute [rw] job_id
|
4118
|
+
# The unique identifier of the upload job to retrieve the upload path
|
4119
|
+
# for. This is generated from the CreateUploadJob API.
|
4120
|
+
# @return [String]
|
4121
|
+
#
|
4122
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetUploadJobPathRequest AWS API Documentation
|
4123
|
+
#
|
4124
|
+
class GetUploadJobPathRequest < Struct.new(
|
4125
|
+
:domain_name,
|
4126
|
+
:job_id)
|
4127
|
+
SENSITIVE = []
|
4128
|
+
include Aws::Structure
|
4129
|
+
end
|
4130
|
+
|
4131
|
+
# @!attribute [rw] url
|
4132
|
+
# The pre-signed S3 URL for uploading the CSV file associated with the
|
4133
|
+
# upload job.
|
4134
|
+
# @return [String]
|
4135
|
+
#
|
4136
|
+
# @!attribute [rw] client_token
|
4137
|
+
# The plaintext data key used to encrypt the upload file.
|
4138
|
+
#
|
4139
|
+
# To persist to the pre-signed url, use the client token and MD5
|
4140
|
+
# client token as header. The required headers are as follows:
|
4141
|
+
#
|
4142
|
+
# * x-amz-server-side-encryption-customer-key: Client Token
|
4143
|
+
#
|
4144
|
+
# * x-amz-server-side-encryption-customer-key-MD5: MD5 Client Token
|
4145
|
+
#
|
4146
|
+
# * x-amz-server-side-encryption-customer-algorithm: AES256
|
4147
|
+
# @return [String]
|
4148
|
+
#
|
4149
|
+
# @!attribute [rw] valid_until
|
4150
|
+
# The expiry timestamp for the pre-signed URL, after which the URL
|
4151
|
+
# will no longer be valid.
|
4152
|
+
# @return [Time]
|
4153
|
+
#
|
4154
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetUploadJobPathResponse AWS API Documentation
|
4155
|
+
#
|
4156
|
+
class GetUploadJobPathResponse < Struct.new(
|
4157
|
+
:url,
|
4158
|
+
:client_token,
|
4159
|
+
:valid_until)
|
4160
|
+
SENSITIVE = []
|
4161
|
+
include Aws::Structure
|
4162
|
+
end
|
4163
|
+
|
4164
|
+
# @!attribute [rw] domain_name
|
4165
|
+
# The unique name of the domain containing the upload job.
|
4166
|
+
# @return [String]
|
4167
|
+
#
|
4168
|
+
# @!attribute [rw] job_id
|
4169
|
+
# The unique identifier of the upload job to retrieve.
|
4170
|
+
# @return [String]
|
4171
|
+
#
|
4172
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetUploadJobRequest AWS API Documentation
|
4173
|
+
#
|
4174
|
+
class GetUploadJobRequest < Struct.new(
|
4175
|
+
:domain_name,
|
4176
|
+
:job_id)
|
4177
|
+
SENSITIVE = []
|
4178
|
+
include Aws::Structure
|
4179
|
+
end
|
4180
|
+
|
4181
|
+
# @!attribute [rw] job_id
|
4182
|
+
# The unique identifier of the upload job.
|
4183
|
+
# @return [String]
|
4184
|
+
#
|
4185
|
+
# @!attribute [rw] display_name
|
4186
|
+
# The unique name of the upload job. Could be a file name to identify
|
4187
|
+
# the upload job.
|
4188
|
+
# @return [String]
|
4189
|
+
#
|
4190
|
+
# @!attribute [rw] status
|
4191
|
+
# The status describing the status for the upload job. The following
|
4192
|
+
# are Valid Values:
|
4193
|
+
#
|
4194
|
+
# * **CREATED**: The upload job has been created, but has not started
|
4195
|
+
# processing yet.
|
4196
|
+
#
|
4197
|
+
# * **IN\_PROGRESS**: The upload job is currently in progress,
|
4198
|
+
# ingesting and processing the profile data.
|
4199
|
+
#
|
4200
|
+
# * **PARTIALLY\_SUCCEEDED**: The upload job has successfully
|
4201
|
+
# completed the ingestion and processing of all profile data.
|
4202
|
+
#
|
4203
|
+
# * **SUCCEEDED**: The upload job has successfully completed the
|
4204
|
+
# ingestion and processing of all profile data.
|
4205
|
+
#
|
4206
|
+
# * **FAILED**: The upload job has failed to complete.
|
4207
|
+
#
|
4208
|
+
# * **STOPPED**: The upload job has been manually stopped or
|
4209
|
+
# terminated before completion.
|
4210
|
+
# @return [String]
|
4211
|
+
#
|
4212
|
+
# @!attribute [rw] status_reason
|
4213
|
+
# The reason for the current status of the upload job. Possible
|
4214
|
+
# reasons:
|
4215
|
+
#
|
4216
|
+
# * **VALIDATION\_FAILURE**: The upload job has encountered an error
|
4217
|
+
# or issue and was unable to complete the profile data ingestion.
|
4218
|
+
#
|
4219
|
+
# * **INTERNAL\_FAILURE**: Failure caused from service side
|
4220
|
+
# @return [String]
|
4221
|
+
#
|
4222
|
+
# @!attribute [rw] created_at
|
4223
|
+
# The timestamp when the upload job was created.
|
4224
|
+
# @return [Time]
|
4225
|
+
#
|
4226
|
+
# @!attribute [rw] completed_at
|
4227
|
+
# The timestamp when the upload job was completed.
|
4228
|
+
# @return [Time]
|
4229
|
+
#
|
4230
|
+
# @!attribute [rw] fields
|
4231
|
+
# The mapping between CSV Columns and Profile Object attributes for
|
4232
|
+
# the upload job.
|
4233
|
+
# @return [Hash<String,Types::ObjectTypeField>]
|
4234
|
+
#
|
4235
|
+
# @!attribute [rw] unique_key
|
4236
|
+
# The unique key columns used for de-duping the keys in the upload
|
4237
|
+
# job.
|
4238
|
+
# @return [String]
|
4239
|
+
#
|
4240
|
+
# @!attribute [rw] results_summary
|
4241
|
+
# The summary of results for the upload job, including the number of
|
4242
|
+
# updated, created, and failed records.
|
4243
|
+
# @return [Types::ResultsSummary]
|
4244
|
+
#
|
4245
|
+
# @!attribute [rw] data_expiry
|
4246
|
+
# The expiry duration for the profiles ingested with the upload job.
|
4247
|
+
# @return [Integer]
|
4248
|
+
#
|
4249
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetUploadJobResponse AWS API Documentation
|
4250
|
+
#
|
4251
|
+
class GetUploadJobResponse < Struct.new(
|
4252
|
+
:job_id,
|
4253
|
+
:display_name,
|
4254
|
+
:status,
|
4255
|
+
:status_reason,
|
4256
|
+
:created_at,
|
4257
|
+
:completed_at,
|
4258
|
+
:fields,
|
4259
|
+
:unique_key,
|
4260
|
+
:results_summary,
|
4261
|
+
:data_expiry)
|
4262
|
+
SENSITIVE = [:fields]
|
4263
|
+
include Aws::Structure
|
4264
|
+
end
|
4265
|
+
|
4064
4266
|
# @!attribute [rw] domain_name
|
4065
4267
|
# The unique name of the domain.
|
4066
4268
|
# @return [String]
|
@@ -5387,6 +5589,46 @@ module Aws::CustomerProfiles
|
|
5387
5589
|
include Aws::Structure
|
5388
5590
|
end
|
5389
5591
|
|
5592
|
+
# @!attribute [rw] domain_name
|
5593
|
+
# The unique name of the domain to list upload jobs for.
|
5594
|
+
# @return [String]
|
5595
|
+
#
|
5596
|
+
# @!attribute [rw] max_results
|
5597
|
+
# The maximum number of upload jobs to return per page.
|
5598
|
+
# @return [Integer]
|
5599
|
+
#
|
5600
|
+
# @!attribute [rw] next_token
|
5601
|
+
# The pagination token from the previous call to retrieve the next
|
5602
|
+
# page of results.
|
5603
|
+
# @return [String]
|
5604
|
+
#
|
5605
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListUploadJobsRequest AWS API Documentation
|
5606
|
+
#
|
5607
|
+
class ListUploadJobsRequest < Struct.new(
|
5608
|
+
:domain_name,
|
5609
|
+
:max_results,
|
5610
|
+
:next_token)
|
5611
|
+
SENSITIVE = []
|
5612
|
+
include Aws::Structure
|
5613
|
+
end
|
5614
|
+
|
5615
|
+
# @!attribute [rw] next_token
|
5616
|
+
# The pagination token to use to retrieve the next page of results.
|
5617
|
+
# @return [String]
|
5618
|
+
#
|
5619
|
+
# @!attribute [rw] items
|
5620
|
+
# The list of upload jobs for the specified domain.
|
5621
|
+
# @return [Array<Types::UploadJobItem>]
|
5622
|
+
#
|
5623
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListUploadJobsResponse AWS API Documentation
|
5624
|
+
#
|
5625
|
+
class ListUploadJobsResponse < Struct.new(
|
5626
|
+
:next_token,
|
5627
|
+
:items)
|
5628
|
+
SENSITIVE = []
|
5629
|
+
include Aws::Structure
|
5630
|
+
end
|
5631
|
+
|
5390
5632
|
# A workflow in list of workflows.
|
5391
5633
|
#
|
5392
5634
|
# @!attribute [rw] workflow_type
|
@@ -6673,6 +6915,32 @@ module Aws::CustomerProfiles
|
|
6673
6915
|
include Aws::Structure
|
6674
6916
|
end
|
6675
6917
|
|
6918
|
+
# The summary of results for an upload job, including the number of
|
6919
|
+
# updated, created, and failed records.
|
6920
|
+
#
|
6921
|
+
# @!attribute [rw] updated_records
|
6922
|
+
# The number of records that were updated during the upload job.
|
6923
|
+
# @return [Integer]
|
6924
|
+
#
|
6925
|
+
# @!attribute [rw] created_records
|
6926
|
+
# The number of records that were newly created during the upload job.
|
6927
|
+
# @return [Integer]
|
6928
|
+
#
|
6929
|
+
# @!attribute [rw] failed_records
|
6930
|
+
# The number of records that failed to be processed during the upload
|
6931
|
+
# job.
|
6932
|
+
# @return [Integer]
|
6933
|
+
#
|
6934
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ResultsSummary AWS API Documentation
|
6935
|
+
#
|
6936
|
+
class ResultsSummary < Struct.new(
|
6937
|
+
:updated_records,
|
6938
|
+
:created_records,
|
6939
|
+
:failed_records)
|
6940
|
+
SENSITIVE = []
|
6941
|
+
include Aws::Structure
|
6942
|
+
end
|
6943
|
+
|
6676
6944
|
# The request to enable the rule-based matching.
|
6677
6945
|
#
|
6678
6946
|
# @!attribute [rw] enabled
|
@@ -7242,6 +7510,48 @@ module Aws::CustomerProfiles
|
|
7242
7510
|
include Aws::Structure
|
7243
7511
|
end
|
7244
7512
|
|
7513
|
+
# @!attribute [rw] domain_name
|
7514
|
+
# The unique name of the domain containing the upload job to start.
|
7515
|
+
# @return [String]
|
7516
|
+
#
|
7517
|
+
# @!attribute [rw] job_id
|
7518
|
+
# The unique identifier of the upload job to start.
|
7519
|
+
# @return [String]
|
7520
|
+
#
|
7521
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/StartUploadJobRequest AWS API Documentation
|
7522
|
+
#
|
7523
|
+
class StartUploadJobRequest < Struct.new(
|
7524
|
+
:domain_name,
|
7525
|
+
:job_id)
|
7526
|
+
SENSITIVE = []
|
7527
|
+
include Aws::Structure
|
7528
|
+
end
|
7529
|
+
|
7530
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/StartUploadJobResponse AWS API Documentation
|
7531
|
+
#
|
7532
|
+
class StartUploadJobResponse < Aws::EmptyStructure; end
|
7533
|
+
|
7534
|
+
# @!attribute [rw] domain_name
|
7535
|
+
# The unique name of the domain containing the upload job to stop.
|
7536
|
+
# @return [String]
|
7537
|
+
#
|
7538
|
+
# @!attribute [rw] job_id
|
7539
|
+
# The unique identifier of the upload job to stop.
|
7540
|
+
# @return [String]
|
7541
|
+
#
|
7542
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/StopUploadJobRequest AWS API Documentation
|
7543
|
+
#
|
7544
|
+
class StopUploadJobRequest < Struct.new(
|
7545
|
+
:domain_name,
|
7546
|
+
:job_id)
|
7547
|
+
SENSITIVE = []
|
7548
|
+
include Aws::Structure
|
7549
|
+
end
|
7550
|
+
|
7551
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/StopUploadJobResponse AWS API Documentation
|
7552
|
+
#
|
7553
|
+
class StopUploadJobResponse < Aws::EmptyStructure; end
|
7554
|
+
|
7245
7555
|
# @!attribute [rw] resource_arn
|
7246
7556
|
# The ARN of the resource that you're adding tags to.
|
7247
7557
|
# @return [String]
|
@@ -8070,6 +8380,50 @@ module Aws::CustomerProfiles
|
|
8070
8380
|
include Aws::Structure
|
8071
8381
|
end
|
8072
8382
|
|
8383
|
+
# The summary information for an individual upload job.
|
8384
|
+
#
|
8385
|
+
# @!attribute [rw] job_id
|
8386
|
+
# The unique identifier of the upload job.
|
8387
|
+
# @return [String]
|
8388
|
+
#
|
8389
|
+
# @!attribute [rw] display_name
|
8390
|
+
# The name of the upload job.
|
8391
|
+
# @return [String]
|
8392
|
+
#
|
8393
|
+
# @!attribute [rw] status
|
8394
|
+
# The current status of the upload job.
|
8395
|
+
# @return [String]
|
8396
|
+
#
|
8397
|
+
# @!attribute [rw] status_reason
|
8398
|
+
# The reason for the current status of the upload job.
|
8399
|
+
# @return [String]
|
8400
|
+
#
|
8401
|
+
# @!attribute [rw] created_at
|
8402
|
+
# The timestamp when the upload job was created.
|
8403
|
+
# @return [Time]
|
8404
|
+
#
|
8405
|
+
# @!attribute [rw] completed_at
|
8406
|
+
# The timestamp when the upload job was completed.
|
8407
|
+
# @return [Time]
|
8408
|
+
#
|
8409
|
+
# @!attribute [rw] data_expiry
|
8410
|
+
# The expiry duration for the profiles ingested with the upload job.
|
8411
|
+
# @return [Integer]
|
8412
|
+
#
|
8413
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/UploadJobItem AWS API Documentation
|
8414
|
+
#
|
8415
|
+
class UploadJobItem < Struct.new(
|
8416
|
+
:job_id,
|
8417
|
+
:display_name,
|
8418
|
+
:status,
|
8419
|
+
:status_reason,
|
8420
|
+
:created_at,
|
8421
|
+
:completed_at,
|
8422
|
+
:data_expiry)
|
8423
|
+
SENSITIVE = []
|
8424
|
+
include Aws::Structure
|
8425
|
+
end
|
8426
|
+
|
8073
8427
|
# A structure letting customers specify a relative time window over
|
8074
8428
|
# which over which data is included in the Calculated Attribute. Use
|
8075
8429
|
# positive numbers to indicate that the endpoint is in the past, and
|
data/sig/client.rbs
CHANGED
@@ -973,6 +973,24 @@ module Aws
|
|
973
973
|
) -> _CreateSegmentSnapshotResponseSuccess
|
974
974
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateSegmentSnapshotResponseSuccess
|
975
975
|
|
976
|
+
interface _CreateUploadJobResponseSuccess
|
977
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::CreateUploadJobResponse]
|
978
|
+
def job_id: () -> ::String
|
979
|
+
end
|
980
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#create_upload_job-instance_method
|
981
|
+
def create_upload_job: (
|
982
|
+
domain_name: ::String,
|
983
|
+
display_name: ::String,
|
984
|
+
fields: Hash[::String, {
|
985
|
+
source: ::String?,
|
986
|
+
target: ::String?,
|
987
|
+
content_type: ("STRING" | "NUMBER" | "PHONE_NUMBER" | "EMAIL_ADDRESS" | "NAME")?
|
988
|
+
}],
|
989
|
+
unique_key: ::String,
|
990
|
+
?data_expiry: ::Integer
|
991
|
+
) -> _CreateUploadJobResponseSuccess
|
992
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _CreateUploadJobResponseSuccess
|
993
|
+
|
976
994
|
interface _DeleteCalculatedAttributeDefinitionResponseSuccess
|
977
995
|
include ::Seahorse::Client::_ResponseSuccess[Types::DeleteCalculatedAttributeDefinitionResponse]
|
978
996
|
end
|
@@ -1435,6 +1453,39 @@ module Aws
|
|
1435
1453
|
) -> _GetSimilarProfilesResponseSuccess
|
1436
1454
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetSimilarProfilesResponseSuccess
|
1437
1455
|
|
1456
|
+
interface _GetUploadJobResponseSuccess
|
1457
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetUploadJobResponse]
|
1458
|
+
def job_id: () -> ::String
|
1459
|
+
def display_name: () -> ::String
|
1460
|
+
def status: () -> ("CREATED" | "IN_PROGRESS" | "PARTIALLY_SUCCEEDED" | "SUCCEEDED" | "FAILED" | "STOPPED")
|
1461
|
+
def status_reason: () -> ("VALIDATION_FAILURE" | "INTERNAL_FAILURE")
|
1462
|
+
def created_at: () -> ::Time
|
1463
|
+
def completed_at: () -> ::Time
|
1464
|
+
def fields: () -> ::Hash[::String, Types::ObjectTypeField]
|
1465
|
+
def unique_key: () -> ::String
|
1466
|
+
def results_summary: () -> Types::ResultsSummary
|
1467
|
+
def data_expiry: () -> ::Integer
|
1468
|
+
end
|
1469
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#get_upload_job-instance_method
|
1470
|
+
def get_upload_job: (
|
1471
|
+
domain_name: ::String,
|
1472
|
+
job_id: ::String
|
1473
|
+
) -> _GetUploadJobResponseSuccess
|
1474
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUploadJobResponseSuccess
|
1475
|
+
|
1476
|
+
interface _GetUploadJobPathResponseSuccess
|
1477
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::GetUploadJobPathResponse]
|
1478
|
+
def url: () -> ::String
|
1479
|
+
def client_token: () -> ::String
|
1480
|
+
def valid_until: () -> ::Time
|
1481
|
+
end
|
1482
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#get_upload_job_path-instance_method
|
1483
|
+
def get_upload_job_path: (
|
1484
|
+
domain_name: ::String,
|
1485
|
+
job_id: ::String
|
1486
|
+
) -> _GetUploadJobPathResponseSuccess
|
1487
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetUploadJobPathResponseSuccess
|
1488
|
+
|
1438
1489
|
interface _GetWorkflowResponseSuccess
|
1439
1490
|
include ::Seahorse::Client::_ResponseSuccess[Types::GetWorkflowResponse]
|
1440
1491
|
def workflow_id: () -> ::String
|
@@ -1696,6 +1747,19 @@ module Aws
|
|
1696
1747
|
) -> _ListTagsForResourceResponseSuccess
|
1697
1748
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListTagsForResourceResponseSuccess
|
1698
1749
|
|
1750
|
+
interface _ListUploadJobsResponseSuccess
|
1751
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::ListUploadJobsResponse]
|
1752
|
+
def next_token: () -> ::String
|
1753
|
+
def items: () -> ::Array[Types::UploadJobItem]
|
1754
|
+
end
|
1755
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#list_upload_jobs-instance_method
|
1756
|
+
def list_upload_jobs: (
|
1757
|
+
domain_name: ::String,
|
1758
|
+
?max_results: ::Integer,
|
1759
|
+
?next_token: ::String
|
1760
|
+
) -> _ListUploadJobsResponseSuccess
|
1761
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListUploadJobsResponseSuccess
|
1762
|
+
|
1699
1763
|
interface _ListWorkflowsResponseSuccess
|
1700
1764
|
include ::Seahorse::Client::_ResponseSuccess[Types::ListWorkflowsResponse]
|
1701
1765
|
def items: () -> ::Array[Types::ListWorkflowsItem]
|
@@ -1912,6 +1976,26 @@ module Aws
|
|
1912
1976
|
) -> _SearchProfilesResponseSuccess
|
1913
1977
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _SearchProfilesResponseSuccess
|
1914
1978
|
|
1979
|
+
interface _StartUploadJobResponseSuccess
|
1980
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StartUploadJobResponse]
|
1981
|
+
end
|
1982
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#start_upload_job-instance_method
|
1983
|
+
def start_upload_job: (
|
1984
|
+
domain_name: ::String,
|
1985
|
+
job_id: ::String
|
1986
|
+
) -> _StartUploadJobResponseSuccess
|
1987
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StartUploadJobResponseSuccess
|
1988
|
+
|
1989
|
+
interface _StopUploadJobResponseSuccess
|
1990
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::StopUploadJobResponse]
|
1991
|
+
end
|
1992
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#stop_upload_job-instance_method
|
1993
|
+
def stop_upload_job: (
|
1994
|
+
domain_name: ::String,
|
1995
|
+
job_id: ::String
|
1996
|
+
) -> _StopUploadJobResponseSuccess
|
1997
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _StopUploadJobResponseSuccess
|
1998
|
+
|
1915
1999
|
interface _TagResourceResponseSuccess
|
1916
2000
|
include ::Seahorse::Client::_ResponseSuccess[Types::TagResourceResponse]
|
1917
2001
|
end
|
data/sig/types.rbs
CHANGED
@@ -445,6 +445,20 @@ module Aws::CustomerProfiles
|
|
445
445
|
SENSITIVE: []
|
446
446
|
end
|
447
447
|
|
448
|
+
class CreateUploadJobRequest
|
449
|
+
attr_accessor domain_name: ::String
|
450
|
+
attr_accessor display_name: ::String
|
451
|
+
attr_accessor fields: ::Hash[::String, Types::ObjectTypeField]
|
452
|
+
attr_accessor unique_key: ::String
|
453
|
+
attr_accessor data_expiry: ::Integer
|
454
|
+
SENSITIVE: [:fields]
|
455
|
+
end
|
456
|
+
|
457
|
+
class CreateUploadJobResponse
|
458
|
+
attr_accessor job_id: ::String
|
459
|
+
SENSITIVE: []
|
460
|
+
end
|
461
|
+
|
448
462
|
class DateDimension
|
449
463
|
attr_accessor dimension_type: ("BEFORE" | "AFTER" | "BETWEEN" | "NOT_BETWEEN" | "ON")
|
450
464
|
attr_accessor values: ::Array[::String]
|
@@ -1065,6 +1079,39 @@ module Aws::CustomerProfiles
|
|
1065
1079
|
SENSITIVE: []
|
1066
1080
|
end
|
1067
1081
|
|
1082
|
+
class GetUploadJobPathRequest
|
1083
|
+
attr_accessor domain_name: ::String
|
1084
|
+
attr_accessor job_id: ::String
|
1085
|
+
SENSITIVE: []
|
1086
|
+
end
|
1087
|
+
|
1088
|
+
class GetUploadJobPathResponse
|
1089
|
+
attr_accessor url: ::String
|
1090
|
+
attr_accessor client_token: ::String
|
1091
|
+
attr_accessor valid_until: ::Time
|
1092
|
+
SENSITIVE: []
|
1093
|
+
end
|
1094
|
+
|
1095
|
+
class GetUploadJobRequest
|
1096
|
+
attr_accessor domain_name: ::String
|
1097
|
+
attr_accessor job_id: ::String
|
1098
|
+
SENSITIVE: []
|
1099
|
+
end
|
1100
|
+
|
1101
|
+
class GetUploadJobResponse
|
1102
|
+
attr_accessor job_id: ::String
|
1103
|
+
attr_accessor display_name: ::String
|
1104
|
+
attr_accessor status: ("CREATED" | "IN_PROGRESS" | "PARTIALLY_SUCCEEDED" | "SUCCEEDED" | "FAILED" | "STOPPED")
|
1105
|
+
attr_accessor status_reason: ("VALIDATION_FAILURE" | "INTERNAL_FAILURE")
|
1106
|
+
attr_accessor created_at: ::Time
|
1107
|
+
attr_accessor completed_at: ::Time
|
1108
|
+
attr_accessor fields: ::Hash[::String, Types::ObjectTypeField]
|
1109
|
+
attr_accessor unique_key: ::String
|
1110
|
+
attr_accessor results_summary: Types::ResultsSummary
|
1111
|
+
attr_accessor data_expiry: ::Integer
|
1112
|
+
SENSITIVE: [:fields]
|
1113
|
+
end
|
1114
|
+
|
1068
1115
|
class GetWorkflowRequest
|
1069
1116
|
attr_accessor domain_name: ::String
|
1070
1117
|
attr_accessor workflow_id: ::String
|
@@ -1444,6 +1491,19 @@ module Aws::CustomerProfiles
|
|
1444
1491
|
SENSITIVE: []
|
1445
1492
|
end
|
1446
1493
|
|
1494
|
+
class ListUploadJobsRequest
|
1495
|
+
attr_accessor domain_name: ::String
|
1496
|
+
attr_accessor max_results: ::Integer
|
1497
|
+
attr_accessor next_token: ::String
|
1498
|
+
SENSITIVE: []
|
1499
|
+
end
|
1500
|
+
|
1501
|
+
class ListUploadJobsResponse
|
1502
|
+
attr_accessor next_token: ::String
|
1503
|
+
attr_accessor items: ::Array[Types::UploadJobItem]
|
1504
|
+
SENSITIVE: []
|
1505
|
+
end
|
1506
|
+
|
1447
1507
|
class ListWorkflowsItem
|
1448
1508
|
attr_accessor workflow_type: ("APPFLOW_INTEGRATION")
|
1449
1509
|
attr_accessor workflow_id: ::String
|
@@ -1740,6 +1800,13 @@ module Aws::CustomerProfiles
|
|
1740
1800
|
SENSITIVE: []
|
1741
1801
|
end
|
1742
1802
|
|
1803
|
+
class ResultsSummary
|
1804
|
+
attr_accessor updated_records: ::Integer
|
1805
|
+
attr_accessor created_records: ::Integer
|
1806
|
+
attr_accessor failed_records: ::Integer
|
1807
|
+
SENSITIVE: []
|
1808
|
+
end
|
1809
|
+
|
1743
1810
|
class RuleBasedMatchingRequest
|
1744
1811
|
attr_accessor enabled: bool
|
1745
1812
|
attr_accessor matching_rules: ::Array[Types::MatchingRule]
|
@@ -1865,6 +1932,24 @@ module Aws::CustomerProfiles
|
|
1865
1932
|
SENSITIVE: []
|
1866
1933
|
end
|
1867
1934
|
|
1935
|
+
class StartUploadJobRequest
|
1936
|
+
attr_accessor domain_name: ::String
|
1937
|
+
attr_accessor job_id: ::String
|
1938
|
+
SENSITIVE: []
|
1939
|
+
end
|
1940
|
+
|
1941
|
+
class StartUploadJobResponse < Aws::EmptyStructure
|
1942
|
+
end
|
1943
|
+
|
1944
|
+
class StopUploadJobRequest
|
1945
|
+
attr_accessor domain_name: ::String
|
1946
|
+
attr_accessor job_id: ::String
|
1947
|
+
SENSITIVE: []
|
1948
|
+
end
|
1949
|
+
|
1950
|
+
class StopUploadJobResponse < Aws::EmptyStructure
|
1951
|
+
end
|
1952
|
+
|
1868
1953
|
class TagResourceRequest
|
1869
1954
|
attr_accessor resource_arn: ::String
|
1870
1955
|
attr_accessor tags: ::Hash[::String, ::String]
|
@@ -2060,6 +2145,17 @@ module Aws::CustomerProfiles
|
|
2060
2145
|
SENSITIVE: []
|
2061
2146
|
end
|
2062
2147
|
|
2148
|
+
class UploadJobItem
|
2149
|
+
attr_accessor job_id: ::String
|
2150
|
+
attr_accessor display_name: ::String
|
2151
|
+
attr_accessor status: ("CREATED" | "IN_PROGRESS" | "PARTIALLY_SUCCEEDED" | "SUCCEEDED" | "FAILED" | "STOPPED")
|
2152
|
+
attr_accessor status_reason: ("VALIDATION_FAILURE" | "INTERNAL_FAILURE")
|
2153
|
+
attr_accessor created_at: ::Time
|
2154
|
+
attr_accessor completed_at: ::Time
|
2155
|
+
attr_accessor data_expiry: ::Integer
|
2156
|
+
SENSITIVE: []
|
2157
|
+
end
|
2158
|
+
|
2063
2159
|
class ValueRange
|
2064
2160
|
attr_accessor start: ::Integer
|
2065
2161
|
attr_accessor end: ::Integer
|