aws-sdk-customerprofiles 1.71.0 → 1.72.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 22b0d65cefa901749f298c1e246013afd20c38c0daa649a6ffb090dd56e9e941
4
- data.tar.gz: 8ee0a11d5dc5ad5a609c403eee17f7e6fdf1413ab573420ba84f794b6c23b998
3
+ metadata.gz: 6a8ebb9b52263b477684762035e17f930842ce5098ace024ac37e428d2a875c5
4
+ data.tar.gz: f06f3f8286dce305cbbe993a7efd1c5a04efb5582e92a10afdefc4d20ddde86e
5
5
  SHA512:
6
- metadata.gz: 6bb59fe74dff4cf73beef2fd692edf8168bd1d0b10c46dabfe58ad10e4ddde1491d8f7733a8faad5e2f1bf6e5bafdef7a582d0f9b92c6b966a620ac6129f9948
7
- data.tar.gz: d93cc4f870c79f74103434cc7ef9baa3f528bc6bc1faf5c099176fa7df9cb58e025d3faf83d1589105b37f9eb34f316be4d49bd482c1eb757914e66e23669d90
6
+ metadata.gz: a5964be70885c5cc5e0bd6dc17b9fe0d2d223a04e8db3b47a34a8b219bff9a967a69e3e145c21e04dde57db5e793695a0a4961d2024ad504a3e0548521b97580
7
+ data.tar.gz: a6d4cca06b1191fdec577cda8e09c3d94ec67b4eac87739023b56a2c64999ff7a6f2104417173c7f1bcad0661cd27bf6ef3fda107653f957bd85500ca8425e47
data/CHANGELOG.md CHANGED
@@ -1,6 +1,11 @@
1
1
  Unreleased Changes
2
2
  ------------------
3
3
 
4
+ 1.72.0 (2025-09-30)
5
+ ------------------
6
+
7
+ * Feature - This release introduces ListProfileHistoryRecords and GetProfileHistoryRecord APIs for comprehensive profile history tracking with complete audit trails of creation, updates, merges, deletions, and data ingestion events.
8
+
4
9
  1.71.0 (2025-08-26)
5
10
  ------------------
6
11
 
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.71.0
1
+ 1.72.0
@@ -3375,6 +3375,59 @@ module Aws::CustomerProfiles
3375
3375
  req.send_request(options)
3376
3376
  end
3377
3377
 
3378
+ # Returns a history record for a specific profile, for a specific
3379
+ # domain.
3380
+ #
3381
+ # @option params [required, String] :domain_name
3382
+ # The unique name of the domain for which to return a profile history
3383
+ # record.
3384
+ #
3385
+ # @option params [required, String] :profile_id
3386
+ # The unique identifier of the profile for which to return a history
3387
+ # record.
3388
+ #
3389
+ # @option params [required, String] :id
3390
+ # The unique identifier of the profile history record to return.
3391
+ #
3392
+ # @return [Types::GetProfileHistoryRecordResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
3393
+ #
3394
+ # * {Types::GetProfileHistoryRecordResponse#id #id} => String
3395
+ # * {Types::GetProfileHistoryRecordResponse#object_type_name #object_type_name} => String
3396
+ # * {Types::GetProfileHistoryRecordResponse#created_at #created_at} => Time
3397
+ # * {Types::GetProfileHistoryRecordResponse#last_updated_at #last_updated_at} => Time
3398
+ # * {Types::GetProfileHistoryRecordResponse#action_type #action_type} => String
3399
+ # * {Types::GetProfileHistoryRecordResponse#profile_object_unique_key #profile_object_unique_key} => String
3400
+ # * {Types::GetProfileHistoryRecordResponse#content #content} => String
3401
+ # * {Types::GetProfileHistoryRecordResponse#performed_by #performed_by} => String
3402
+ #
3403
+ # @example Request syntax with placeholder values
3404
+ #
3405
+ # resp = client.get_profile_history_record({
3406
+ # domain_name: "name", # required
3407
+ # profile_id: "uuid", # required
3408
+ # id: "uuid", # required
3409
+ # })
3410
+ #
3411
+ # @example Response structure
3412
+ #
3413
+ # resp.id #=> String
3414
+ # resp.object_type_name #=> String
3415
+ # resp.created_at #=> Time
3416
+ # resp.last_updated_at #=> Time
3417
+ # resp.action_type #=> String, one of "ADDED_PROFILE_KEY", "DELETED_PROFILE_KEY", "CREATED", "UPDATED", "INGESTED", "DELETED_BY_CUSTOMER", "EXPIRED", "MERGED", "DELETED_BY_MERGE"
3418
+ # resp.profile_object_unique_key #=> String
3419
+ # resp.content #=> String
3420
+ # resp.performed_by #=> String
3421
+ #
3422
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetProfileHistoryRecord AWS API Documentation
3423
+ #
3424
+ # @overload get_profile_history_record(params = {})
3425
+ # @param [Hash] params ({})
3426
+ def get_profile_history_record(params = {}, options = {})
3427
+ req = build_request(:get_profile_history_record, params)
3428
+ req.send_request(options)
3429
+ end
3430
+
3378
3431
  # Returns the object types for a specific domain.
3379
3432
  #
3380
3433
  # @option params [required, String] :domain_name
@@ -4694,6 +4747,76 @@ module Aws::CustomerProfiles
4694
4747
  req.send_request(options)
4695
4748
  end
4696
4749
 
4750
+ # Returns a list of history records for a specific profile, for a
4751
+ # specific domain.
4752
+ #
4753
+ # @option params [required, String] :domain_name
4754
+ # The unique name of the domain for which to return profile history
4755
+ # records.
4756
+ #
4757
+ # @option params [required, String] :profile_id
4758
+ # The identifier of the profile to be taken.
4759
+ #
4760
+ # @option params [String] :object_type_name
4761
+ # Applies a filter to include profile history records only with the
4762
+ # specified `ObjectTypeName` value in the response.
4763
+ #
4764
+ # @option params [String] :next_token
4765
+ # The token for the next set of results. Use the value returned in the
4766
+ # previous response in the next request to retrieve the next set of
4767
+ # results.
4768
+ #
4769
+ # @option params [Integer] :max_results
4770
+ # The maximum number of results to return per page.
4771
+ #
4772
+ # @option params [String] :action_type
4773
+ # Applies a filter to include profile history records only with the
4774
+ # specified `ActionType` value in the response.
4775
+ #
4776
+ # @option params [String] :performed_by
4777
+ # Applies a filter to include profile history records only with the
4778
+ # specified `PerformedBy` value in the response. The `PerformedBy` value
4779
+ # can be the Amazon Resource Name (ARN) of the person or service
4780
+ # principal who performed the action.
4781
+ #
4782
+ # @return [Types::ListProfileHistoryRecordsResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
4783
+ #
4784
+ # * {Types::ListProfileHistoryRecordsResponse#profile_history_records #profile_history_records} => Array<Types::ProfileHistoryRecord>
4785
+ # * {Types::ListProfileHistoryRecordsResponse#next_token #next_token} => String
4786
+ #
4787
+ # @example Request syntax with placeholder values
4788
+ #
4789
+ # resp = client.list_profile_history_records({
4790
+ # domain_name: "name", # required
4791
+ # profile_id: "uuid", # required
4792
+ # object_type_name: "typeName",
4793
+ # next_token: "token",
4794
+ # max_results: 1,
4795
+ # action_type: "ADDED_PROFILE_KEY", # accepts ADDED_PROFILE_KEY, DELETED_PROFILE_KEY, CREATED, UPDATED, INGESTED, DELETED_BY_CUSTOMER, EXPIRED, MERGED, DELETED_BY_MERGE
4796
+ # performed_by: "string1To255",
4797
+ # })
4798
+ #
4799
+ # @example Response structure
4800
+ #
4801
+ # resp.profile_history_records #=> Array
4802
+ # resp.profile_history_records[0].id #=> String
4803
+ # resp.profile_history_records[0].object_type_name #=> String
4804
+ # resp.profile_history_records[0].created_at #=> Time
4805
+ # resp.profile_history_records[0].last_updated_at #=> Time
4806
+ # resp.profile_history_records[0].action_type #=> String, one of "ADDED_PROFILE_KEY", "DELETED_PROFILE_KEY", "CREATED", "UPDATED", "INGESTED", "DELETED_BY_CUSTOMER", "EXPIRED", "MERGED", "DELETED_BY_MERGE"
4807
+ # resp.profile_history_records[0].profile_object_unique_key #=> String
4808
+ # resp.profile_history_records[0].performed_by #=> String
4809
+ # resp.next_token #=> String
4810
+ #
4811
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListProfileHistoryRecords AWS API Documentation
4812
+ #
4813
+ # @overload list_profile_history_records(params = {})
4814
+ # @param [Hash] params ({})
4815
+ def list_profile_history_records(params = {}, options = {})
4816
+ req = build_request(:list_profile_history_records, params)
4817
+ req.send_request(options)
4818
+ end
4819
+
4697
4820
  # Lists all of the template information for object types.
4698
4821
  #
4699
4822
  # @option params [String] :next_token
@@ -6528,7 +6651,7 @@ module Aws::CustomerProfiles
6528
6651
  tracer: tracer
6529
6652
  )
6530
6653
  context[:gem_name] = 'aws-sdk-customerprofiles'
6531
- context[:gem_version] = '1.71.0'
6654
+ context[:gem_version] = '1.72.0'
6532
6655
  Seahorse::Client::Request.new(handlers, context)
6533
6656
  end
6534
6657
 
@@ -15,6 +15,7 @@ module Aws::CustomerProfiles
15
15
  include Seahorse::Model
16
16
 
17
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
18
+ ActionType = Shapes::StringShape.new(name: 'ActionType')
18
19
  AddProfileKeyRequest = Shapes::StructureShape.new(name: 'AddProfileKeyRequest')
19
20
  AddProfileKeyResponse = Shapes::StructureShape.new(name: 'AddProfileKeyResponse')
20
21
  AdditionalSearchKey = Shapes::StructureShape.new(name: 'AdditionalSearchKey')
@@ -195,6 +196,8 @@ module Aws::CustomerProfiles
195
196
  GetIntegrationResponse = Shapes::StructureShape.new(name: 'GetIntegrationResponse')
196
197
  GetMatchesRequest = Shapes::StructureShape.new(name: 'GetMatchesRequest')
197
198
  GetMatchesResponse = Shapes::StructureShape.new(name: 'GetMatchesResponse')
199
+ GetProfileHistoryRecordRequest = Shapes::StructureShape.new(name: 'GetProfileHistoryRecordRequest')
200
+ GetProfileHistoryRecordResponse = Shapes::StructureShape.new(name: 'GetProfileHistoryRecordResponse')
198
201
  GetProfileObjectTypeRequest = Shapes::StructureShape.new(name: 'GetProfileObjectTypeRequest')
199
202
  GetProfileObjectTypeResponse = Shapes::StructureShape.new(name: 'GetProfileObjectTypeResponse')
200
203
  GetProfileObjectTypeTemplateRequest = Shapes::StructureShape.new(name: 'GetProfileObjectTypeTemplateRequest')
@@ -265,6 +268,8 @@ module Aws::CustomerProfiles
265
268
  ListObjectTypeAttributesList = Shapes::ListShape.new(name: 'ListObjectTypeAttributesList')
266
269
  ListObjectTypeAttributesRequest = Shapes::StructureShape.new(name: 'ListObjectTypeAttributesRequest')
267
270
  ListObjectTypeAttributesResponse = Shapes::StructureShape.new(name: 'ListObjectTypeAttributesResponse')
271
+ ListProfileHistoryRecordsRequest = Shapes::StructureShape.new(name: 'ListProfileHistoryRecordsRequest')
272
+ ListProfileHistoryRecordsResponse = Shapes::StructureShape.new(name: 'ListProfileHistoryRecordsResponse')
268
273
  ListProfileObjectTypeItem = Shapes::StructureShape.new(name: 'ListProfileObjectTypeItem')
269
274
  ListProfileObjectTypeTemplateItem = Shapes::StructureShape.new(name: 'ListProfileObjectTypeTemplateItem')
270
275
  ListProfileObjectTypeTemplatesRequest = Shapes::StructureShape.new(name: 'ListProfileObjectTypeTemplatesRequest')
@@ -326,6 +331,8 @@ module Aws::CustomerProfiles
326
331
  ProfileAttributeValuesResponse = Shapes::StructureShape.new(name: 'ProfileAttributeValuesResponse')
327
332
  ProfileAttributes = Shapes::StructureShape.new(name: 'ProfileAttributes')
328
333
  ProfileDimension = Shapes::StructureShape.new(name: 'ProfileDimension')
334
+ ProfileHistoryRecord = Shapes::StructureShape.new(name: 'ProfileHistoryRecord')
335
+ ProfileHistoryRecords = Shapes::ListShape.new(name: 'ProfileHistoryRecords')
329
336
  ProfileId = Shapes::StringShape.new(name: 'ProfileId')
330
337
  ProfileIdList = Shapes::ListShape.new(name: 'ProfileIdList')
331
338
  ProfileIdToBeMergedList = Shapes::ListShape.new(name: 'ProfileIdToBeMergedList')
@@ -1284,6 +1291,21 @@ module Aws::CustomerProfiles
1284
1291
  GetMatchesResponse.add_member(:matches, Shapes::ShapeRef.new(shape: MatchesList, location_name: "Matches"))
1285
1292
  GetMatchesResponse.struct_class = Types::GetMatchesResponse
1286
1293
 
1294
+ GetProfileHistoryRecordRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
1295
+ GetProfileHistoryRecordRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: uuid, required: true, location: "uri", location_name: "ProfileId"))
1296
+ GetProfileHistoryRecordRequest.add_member(:id, Shapes::ShapeRef.new(shape: uuid, required: true, location: "uri", location_name: "Id"))
1297
+ GetProfileHistoryRecordRequest.struct_class = Types::GetProfileHistoryRecordRequest
1298
+
1299
+ GetProfileHistoryRecordResponse.add_member(:id, Shapes::ShapeRef.new(shape: uuid, required: true, location_name: "Id"))
1300
+ GetProfileHistoryRecordResponse.add_member(:object_type_name, Shapes::ShapeRef.new(shape: typeName, required: true, location_name: "ObjectTypeName"))
1301
+ GetProfileHistoryRecordResponse.add_member(:created_at, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "CreatedAt"))
1302
+ GetProfileHistoryRecordResponse.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastUpdatedAt"))
1303
+ GetProfileHistoryRecordResponse.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionType, required: true, location_name: "ActionType"))
1304
+ GetProfileHistoryRecordResponse.add_member(:profile_object_unique_key, Shapes::ShapeRef.new(shape: string1To255, location_name: "ProfileObjectUniqueKey"))
1305
+ GetProfileHistoryRecordResponse.add_member(:content, Shapes::ShapeRef.new(shape: stringifiedJson, location_name: "Content"))
1306
+ GetProfileHistoryRecordResponse.add_member(:performed_by, Shapes::ShapeRef.new(shape: string1To255, location_name: "PerformedBy"))
1307
+ GetProfileHistoryRecordResponse.struct_class = Types::GetProfileHistoryRecordResponse
1308
+
1287
1309
  GetProfileObjectTypeRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
1288
1310
  GetProfileObjectTypeRequest.add_member(:object_type_name, Shapes::ShapeRef.new(shape: typeName, required: true, location: "uri", location_name: "ObjectTypeName"))
1289
1311
  GetProfileObjectTypeRequest.struct_class = Types::GetProfileObjectTypeRequest
@@ -1622,6 +1644,19 @@ module Aws::CustomerProfiles
1622
1644
  ListObjectTypeAttributesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location_name: "NextToken"))
1623
1645
  ListObjectTypeAttributesResponse.struct_class = Types::ListObjectTypeAttributesResponse
1624
1646
 
1647
+ ListProfileHistoryRecordsRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
1648
+ ListProfileHistoryRecordsRequest.add_member(:profile_id, Shapes::ShapeRef.new(shape: uuid, required: true, location_name: "ProfileId"))
1649
+ ListProfileHistoryRecordsRequest.add_member(:object_type_name, Shapes::ShapeRef.new(shape: typeName, location_name: "ObjectTypeName"))
1650
+ ListProfileHistoryRecordsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location: "querystring", location_name: "next-token"))
1651
+ ListProfileHistoryRecordsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: maxSize100, location: "querystring", location_name: "max-results"))
1652
+ ListProfileHistoryRecordsRequest.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionType, location_name: "ActionType"))
1653
+ ListProfileHistoryRecordsRequest.add_member(:performed_by, Shapes::ShapeRef.new(shape: string1To255, location_name: "PerformedBy"))
1654
+ ListProfileHistoryRecordsRequest.struct_class = Types::ListProfileHistoryRecordsRequest
1655
+
1656
+ ListProfileHistoryRecordsResponse.add_member(:profile_history_records, Shapes::ShapeRef.new(shape: ProfileHistoryRecords, location_name: "ProfileHistoryRecords"))
1657
+ ListProfileHistoryRecordsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: token, location_name: "NextToken"))
1658
+ ListProfileHistoryRecordsResponse.struct_class = Types::ListProfileHistoryRecordsResponse
1659
+
1625
1660
  ListProfileObjectTypeItem.add_member(:object_type_name, Shapes::ShapeRef.new(shape: typeName, required: true, location_name: "ObjectTypeName"))
1626
1661
  ListProfileObjectTypeItem.add_member(:description, Shapes::ShapeRef.new(shape: text, required: true, location_name: "Description"))
1627
1662
  ListProfileObjectTypeItem.add_member(:created_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "CreatedAt"))
@@ -1875,6 +1910,17 @@ module Aws::CustomerProfiles
1875
1910
  ProfileDimension.add_member(:values, Shapes::ShapeRef.new(shape: Values, required: true, location_name: "Values"))
1876
1911
  ProfileDimension.struct_class = Types::ProfileDimension
1877
1912
 
1913
+ ProfileHistoryRecord.add_member(:id, Shapes::ShapeRef.new(shape: uuid, required: true, location_name: "Id"))
1914
+ ProfileHistoryRecord.add_member(:object_type_name, Shapes::ShapeRef.new(shape: typeName, required: true, location_name: "ObjectTypeName"))
1915
+ ProfileHistoryRecord.add_member(:created_at, Shapes::ShapeRef.new(shape: timestamp, required: true, location_name: "CreatedAt"))
1916
+ ProfileHistoryRecord.add_member(:last_updated_at, Shapes::ShapeRef.new(shape: timestamp, location_name: "LastUpdatedAt"))
1917
+ ProfileHistoryRecord.add_member(:action_type, Shapes::ShapeRef.new(shape: ActionType, required: true, location_name: "ActionType"))
1918
+ ProfileHistoryRecord.add_member(:profile_object_unique_key, Shapes::ShapeRef.new(shape: string1To255, location_name: "ProfileObjectUniqueKey"))
1919
+ ProfileHistoryRecord.add_member(:performed_by, Shapes::ShapeRef.new(shape: string1To255, location_name: "PerformedBy"))
1920
+ ProfileHistoryRecord.struct_class = Types::ProfileHistoryRecord
1921
+
1922
+ ProfileHistoryRecords.member = Shapes::ShapeRef.new(shape: ProfileHistoryRecord)
1923
+
1878
1924
  ProfileIdList.member = Shapes::ShapeRef.new(shape: uuid)
1879
1925
 
1880
1926
  ProfileIdToBeMergedList.member = Shapes::ShapeRef.new(shape: uuid)
@@ -2822,6 +2868,19 @@ module Aws::CustomerProfiles
2822
2868
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2823
2869
  end)
2824
2870
 
2871
+ api.add_operation(:get_profile_history_record, Seahorse::Model::Operation.new.tap do |o|
2872
+ o.name = "GetProfileHistoryRecord"
2873
+ o.http_method = "GET"
2874
+ o.http_request_uri = "/domains/{DomainName}/profiles/{ProfileId}/history-records/{Id}"
2875
+ o.input = Shapes::ShapeRef.new(shape: GetProfileHistoryRecordRequest)
2876
+ o.output = Shapes::ShapeRef.new(shape: GetProfileHistoryRecordResponse)
2877
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
2878
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
2879
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
2880
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
2881
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
2882
+ end)
2883
+
2825
2884
  api.add_operation(:get_profile_object_type, Seahorse::Model::Operation.new.tap do |o|
2826
2885
  o.name = "GetProfileObjectType"
2827
2886
  o.http_method = "GET"
@@ -3138,6 +3197,19 @@ module Aws::CustomerProfiles
3138
3197
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3139
3198
  end)
3140
3199
 
3200
+ api.add_operation(:list_profile_history_records, Seahorse::Model::Operation.new.tap do |o|
3201
+ o.name = "ListProfileHistoryRecords"
3202
+ o.http_method = "POST"
3203
+ o.http_request_uri = "/domains/{DomainName}/profiles/history-records"
3204
+ o.input = Shapes::ShapeRef.new(shape: ListProfileHistoryRecordsRequest)
3205
+ o.output = Shapes::ShapeRef.new(shape: ListProfileHistoryRecordsResponse)
3206
+ o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
3207
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
3208
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
3209
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
3210
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
3211
+ end)
3212
+
3141
3213
  api.add_operation(:list_profile_object_type_templates, Seahorse::Model::Operation.new.tap do |o|
3142
3214
  o.name = "ListProfileObjectTypeTemplates"
3143
3215
  o.http_method = "GET"
@@ -3702,6 +3702,80 @@ module Aws::CustomerProfiles
3702
3702
  include Aws::Structure
3703
3703
  end
3704
3704
 
3705
+ # @!attribute [rw] domain_name
3706
+ # The unique name of the domain for which to return a profile history
3707
+ # record.
3708
+ # @return [String]
3709
+ #
3710
+ # @!attribute [rw] profile_id
3711
+ # The unique identifier of the profile for which to return a history
3712
+ # record.
3713
+ # @return [String]
3714
+ #
3715
+ # @!attribute [rw] id
3716
+ # The unique identifier of the profile history record to return.
3717
+ # @return [String]
3718
+ #
3719
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetProfileHistoryRecordRequest AWS API Documentation
3720
+ #
3721
+ class GetProfileHistoryRecordRequest < Struct.new(
3722
+ :domain_name,
3723
+ :profile_id,
3724
+ :id)
3725
+ SENSITIVE = []
3726
+ include Aws::Structure
3727
+ end
3728
+
3729
+ # @!attribute [rw] id
3730
+ # The unique identifier of the profile history record.
3731
+ # @return [String]
3732
+ #
3733
+ # @!attribute [rw] object_type_name
3734
+ # The name of the profile object type.
3735
+ # @return [String]
3736
+ #
3737
+ # @!attribute [rw] created_at
3738
+ # The timestamp of when the profile history record was created.
3739
+ # @return [Time]
3740
+ #
3741
+ # @!attribute [rw] last_updated_at
3742
+ # The timestamp of when the profile history record was last updated.
3743
+ # @return [Time]
3744
+ #
3745
+ # @!attribute [rw] action_type
3746
+ # The action type of the profile history record.
3747
+ # @return [String]
3748
+ #
3749
+ # @!attribute [rw] profile_object_unique_key
3750
+ # The unique identifier of the profile object generated by the
3751
+ # service.
3752
+ # @return [String]
3753
+ #
3754
+ # @!attribute [rw] content
3755
+ # A string containing the customer profile, profile object, or profile
3756
+ # key content.
3757
+ # @return [String]
3758
+ #
3759
+ # @!attribute [rw] performed_by
3760
+ # The Amazon Resource Name (ARN) of the person or service principal
3761
+ # who performed the action.
3762
+ # @return [String]
3763
+ #
3764
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/GetProfileHistoryRecordResponse AWS API Documentation
3765
+ #
3766
+ class GetProfileHistoryRecordResponse < Struct.new(
3767
+ :id,
3768
+ :object_type_name,
3769
+ :created_at,
3770
+ :last_updated_at,
3771
+ :action_type,
3772
+ :profile_object_unique_key,
3773
+ :content,
3774
+ :performed_by)
3775
+ SENSITIVE = [:content]
3776
+ include Aws::Structure
3777
+ end
3778
+
3705
3779
  # @!attribute [rw] domain_name
3706
3780
  # The unique name of the domain.
3707
3781
  # @return [String]
@@ -5331,6 +5405,74 @@ module Aws::CustomerProfiles
5331
5405
  include Aws::Structure
5332
5406
  end
5333
5407
 
5408
+ # @!attribute [rw] domain_name
5409
+ # The unique name of the domain for which to return profile history
5410
+ # records.
5411
+ # @return [String]
5412
+ #
5413
+ # @!attribute [rw] profile_id
5414
+ # The identifier of the profile to be taken.
5415
+ # @return [String]
5416
+ #
5417
+ # @!attribute [rw] object_type_name
5418
+ # Applies a filter to include profile history records only with the
5419
+ # specified `ObjectTypeName` value in the response.
5420
+ # @return [String]
5421
+ #
5422
+ # @!attribute [rw] next_token
5423
+ # The token for the next set of results. Use the value returned in the
5424
+ # previous response in the next request to retrieve the next set of
5425
+ # results.
5426
+ # @return [String]
5427
+ #
5428
+ # @!attribute [rw] max_results
5429
+ # The maximum number of results to return per page.
5430
+ # @return [Integer]
5431
+ #
5432
+ # @!attribute [rw] action_type
5433
+ # Applies a filter to include profile history records only with the
5434
+ # specified `ActionType` value in the response.
5435
+ # @return [String]
5436
+ #
5437
+ # @!attribute [rw] performed_by
5438
+ # Applies a filter to include profile history records only with the
5439
+ # specified `PerformedBy` value in the response. The `PerformedBy`
5440
+ # value can be the Amazon Resource Name (ARN) of the person or service
5441
+ # principal who performed the action.
5442
+ # @return [String]
5443
+ #
5444
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListProfileHistoryRecordsRequest AWS API Documentation
5445
+ #
5446
+ class ListProfileHistoryRecordsRequest < Struct.new(
5447
+ :domain_name,
5448
+ :profile_id,
5449
+ :object_type_name,
5450
+ :next_token,
5451
+ :max_results,
5452
+ :action_type,
5453
+ :performed_by)
5454
+ SENSITIVE = []
5455
+ include Aws::Structure
5456
+ end
5457
+
5458
+ # @!attribute [rw] profile_history_records
5459
+ # The list of profile history records.
5460
+ # @return [Array<Types::ProfileHistoryRecord>]
5461
+ #
5462
+ # @!attribute [rw] next_token
5463
+ # If there are additional results, this is the token for the next set
5464
+ # of results.
5465
+ # @return [String]
5466
+ #
5467
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ListProfileHistoryRecordsResponse AWS API Documentation
5468
+ #
5469
+ class ListProfileHistoryRecordsResponse < Struct.new(
5470
+ :profile_history_records,
5471
+ :next_token)
5472
+ SENSITIVE = []
5473
+ include Aws::Structure
5474
+ end
5475
+
5334
5476
  # A ProfileObjectType instance.
5335
5477
  #
5336
5478
  # @!attribute [rw] object_type_name
@@ -6504,6 +6646,52 @@ module Aws::CustomerProfiles
6504
6646
  include Aws::Structure
6505
6647
  end
6506
6648
 
6649
+ # Contains profile history record metadata.
6650
+ #
6651
+ # @!attribute [rw] id
6652
+ # The unique identifier of the profile history record.
6653
+ # @return [String]
6654
+ #
6655
+ # @!attribute [rw] object_type_name
6656
+ # The name of the profile object type.
6657
+ # @return [String]
6658
+ #
6659
+ # @!attribute [rw] created_at
6660
+ # The timestamp of when the profile history record was created.
6661
+ # @return [Time]
6662
+ #
6663
+ # @!attribute [rw] last_updated_at
6664
+ # The timestamp of when the profile history record was last updated.
6665
+ # @return [Time]
6666
+ #
6667
+ # @!attribute [rw] action_type
6668
+ # The action type of the profile history record.
6669
+ # @return [String]
6670
+ #
6671
+ # @!attribute [rw] profile_object_unique_key
6672
+ # The unique identifier of the profile object generated by the
6673
+ # service.
6674
+ # @return [String]
6675
+ #
6676
+ # @!attribute [rw] performed_by
6677
+ # The Amazon Resource Name (ARN) of the person or service principal
6678
+ # who performed the action.
6679
+ # @return [String]
6680
+ #
6681
+ # @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/ProfileHistoryRecord AWS API Documentation
6682
+ #
6683
+ class ProfileHistoryRecord < Struct.new(
6684
+ :id,
6685
+ :object_type_name,
6686
+ :created_at,
6687
+ :last_updated_at,
6688
+ :action_type,
6689
+ :profile_object_unique_key,
6690
+ :performed_by)
6691
+ SENSITIVE = []
6692
+ include Aws::Structure
6693
+ end
6694
+
6507
6695
  # Object that holds failures for membership.
6508
6696
  #
6509
6697
  # @!attribute [rw] profile_id
@@ -54,7 +54,7 @@ module Aws::CustomerProfiles
54
54
  autoload :EndpointProvider, 'aws-sdk-customerprofiles/endpoint_provider'
55
55
  autoload :Endpoints, 'aws-sdk-customerprofiles/endpoints'
56
56
 
57
- GEM_VERSION = '1.71.0'
57
+ GEM_VERSION = '1.72.0'
58
58
 
59
59
  end
60
60
 
data/sig/client.rbs CHANGED
@@ -1356,6 +1356,25 @@ module Aws
1356
1356
  ) -> _GetMatchesResponseSuccess
1357
1357
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetMatchesResponseSuccess
1358
1358
 
1359
+ interface _GetProfileHistoryRecordResponseSuccess
1360
+ include ::Seahorse::Client::_ResponseSuccess[Types::GetProfileHistoryRecordResponse]
1361
+ def id: () -> ::String
1362
+ def object_type_name: () -> ::String
1363
+ def created_at: () -> ::Time
1364
+ def last_updated_at: () -> ::Time
1365
+ def action_type: () -> ("ADDED_PROFILE_KEY" | "DELETED_PROFILE_KEY" | "CREATED" | "UPDATED" | "INGESTED" | "DELETED_BY_CUSTOMER" | "EXPIRED" | "MERGED" | "DELETED_BY_MERGE")
1366
+ def profile_object_unique_key: () -> ::String
1367
+ def content: () -> ::String
1368
+ def performed_by: () -> ::String
1369
+ end
1370
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#get_profile_history_record-instance_method
1371
+ def get_profile_history_record: (
1372
+ domain_name: ::String,
1373
+ profile_id: ::String,
1374
+ id: ::String
1375
+ ) -> _GetProfileHistoryRecordResponseSuccess
1376
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _GetProfileHistoryRecordResponseSuccess
1377
+
1359
1378
  interface _GetProfileObjectTypeResponseSuccess
1360
1379
  include ::Seahorse::Client::_ResponseSuccess[Types::GetProfileObjectTypeResponse]
1361
1380
  def object_type_name: () -> ::String
@@ -1695,6 +1714,23 @@ module Aws
1695
1714
  ) -> _ListProfileAttributeValuesResponseSuccess
1696
1715
  | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProfileAttributeValuesResponseSuccess
1697
1716
 
1717
+ interface _ListProfileHistoryRecordsResponseSuccess
1718
+ include ::Seahorse::Client::_ResponseSuccess[Types::ListProfileHistoryRecordsResponse]
1719
+ def profile_history_records: () -> ::Array[Types::ProfileHistoryRecord]
1720
+ def next_token: () -> ::String
1721
+ end
1722
+ # https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#list_profile_history_records-instance_method
1723
+ def list_profile_history_records: (
1724
+ domain_name: ::String,
1725
+ profile_id: ::String,
1726
+ ?object_type_name: ::String,
1727
+ ?next_token: ::String,
1728
+ ?max_results: ::Integer,
1729
+ ?action_type: ("ADDED_PROFILE_KEY" | "DELETED_PROFILE_KEY" | "CREATED" | "UPDATED" | "INGESTED" | "DELETED_BY_CUSTOMER" | "EXPIRED" | "MERGED" | "DELETED_BY_MERGE"),
1730
+ ?performed_by: ::String
1731
+ ) -> _ListProfileHistoryRecordsResponseSuccess
1732
+ | (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _ListProfileHistoryRecordsResponseSuccess
1733
+
1698
1734
  interface _ListProfileObjectTypeTemplatesResponseSuccess
1699
1735
  include ::Seahorse::Client::_ResponseSuccess[Types::ListProfileObjectTypeTemplatesResponse]
1700
1736
  def items: () -> ::Array[Types::ListProfileObjectTypeTemplateItem]
data/sig/types.rbs CHANGED
@@ -972,6 +972,25 @@ module Aws::CustomerProfiles
972
972
  SENSITIVE: []
973
973
  end
974
974
 
975
+ class GetProfileHistoryRecordRequest
976
+ attr_accessor domain_name: ::String
977
+ attr_accessor profile_id: ::String
978
+ attr_accessor id: ::String
979
+ SENSITIVE: []
980
+ end
981
+
982
+ class GetProfileHistoryRecordResponse
983
+ attr_accessor id: ::String
984
+ attr_accessor object_type_name: ::String
985
+ attr_accessor created_at: ::Time
986
+ attr_accessor last_updated_at: ::Time
987
+ attr_accessor action_type: ("ADDED_PROFILE_KEY" | "DELETED_PROFILE_KEY" | "CREATED" | "UPDATED" | "INGESTED" | "DELETED_BY_CUSTOMER" | "EXPIRED" | "MERGED" | "DELETED_BY_MERGE")
988
+ attr_accessor profile_object_unique_key: ::String
989
+ attr_accessor content: ::String
990
+ attr_accessor performed_by: ::String
991
+ SENSITIVE: [:content]
992
+ end
993
+
975
994
  class GetProfileObjectTypeRequest
976
995
  attr_accessor domain_name: ::String
977
996
  attr_accessor object_type_name: ::String
@@ -1407,6 +1426,23 @@ module Aws::CustomerProfiles
1407
1426
  SENSITIVE: []
1408
1427
  end
1409
1428
 
1429
+ class ListProfileHistoryRecordsRequest
1430
+ attr_accessor domain_name: ::String
1431
+ attr_accessor profile_id: ::String
1432
+ attr_accessor object_type_name: ::String
1433
+ attr_accessor next_token: ::String
1434
+ attr_accessor max_results: ::Integer
1435
+ attr_accessor action_type: ("ADDED_PROFILE_KEY" | "DELETED_PROFILE_KEY" | "CREATED" | "UPDATED" | "INGESTED" | "DELETED_BY_CUSTOMER" | "EXPIRED" | "MERGED" | "DELETED_BY_MERGE")
1436
+ attr_accessor performed_by: ::String
1437
+ SENSITIVE: []
1438
+ end
1439
+
1440
+ class ListProfileHistoryRecordsResponse
1441
+ attr_accessor profile_history_records: ::Array[Types::ProfileHistoryRecord]
1442
+ attr_accessor next_token: ::String
1443
+ SENSITIVE: []
1444
+ end
1445
+
1410
1446
  class ListProfileObjectTypeItem
1411
1447
  attr_accessor object_type_name: ::String
1412
1448
  attr_accessor description: ::String
@@ -1707,6 +1743,17 @@ module Aws::CustomerProfiles
1707
1743
  SENSITIVE: []
1708
1744
  end
1709
1745
 
1746
+ class ProfileHistoryRecord
1747
+ attr_accessor id: ::String
1748
+ attr_accessor object_type_name: ::String
1749
+ attr_accessor created_at: ::Time
1750
+ attr_accessor last_updated_at: ::Time
1751
+ attr_accessor action_type: ("ADDED_PROFILE_KEY" | "DELETED_PROFILE_KEY" | "CREATED" | "UPDATED" | "INGESTED" | "DELETED_BY_CUSTOMER" | "EXPIRED" | "MERGED" | "DELETED_BY_MERGE")
1752
+ attr_accessor profile_object_unique_key: ::String
1753
+ attr_accessor performed_by: ::String
1754
+ SENSITIVE: []
1755
+ end
1756
+
1710
1757
  class ProfileQueryFailures
1711
1758
  attr_accessor profile_id: ::String
1712
1759
  attr_accessor message: ::String
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: aws-sdk-customerprofiles
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.71.0
4
+ version: 1.72.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Amazon Web Services