aws-sdk-customerprofiles 1.65.0 → 1.67.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 +10 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-customerprofiles/client.rb +282 -22
- 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 +85 -0
- data/sig/resource.rbs +1 -0
- data/sig/types.rbs +96 -0
- metadata +3 -3
@@ -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
|