aws-sdk-customerprofiles 1.88.0 → 1.90.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 +68 -6
- data/lib/aws-sdk-customerprofiles/client_api.rb +52 -2
- data/lib/aws-sdk-customerprofiles/types.rb +103 -0
- data/lib/aws-sdk-customerprofiles.rb +1 -1
- data/sig/client.rbs +18 -0
- data/sig/params.rbs +1 -1
- data/sig/types.rbs +33 -1
- 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: a67b7e2e43fc83ef061003c56469e1f608877c932f3ae3a179b752c5d921f082
|
|
4
|
+
data.tar.gz: 4c56559de81978a7d67552651f08dc222963e4695b2c23410f2edbe3717706c6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 67090735b315615dc7b1f92b7cc84ffe5bb57f90561a6f6a83a60134249cc30e9ba263acc8d3295db541f473c3ab077beef1be6698225fa5efcc1c48558f9202
|
|
7
|
+
data.tar.gz: a198894d67b462b0f3f86fff543f9bb811bcadd1afa65574515173e27ffdc9ce2ba66f30596c026d83442bc1a4a89aeb728f33321b2b0633d43e7d26fe9025de
|
data/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
Unreleased Changes
|
|
2
2
|
------------------
|
|
3
3
|
|
|
4
|
+
1.90.0 (2026-05-28)
|
|
5
|
+
------------------
|
|
6
|
+
|
|
7
|
+
* Feature - BatchPutProfileObject API adds multiple profile objects to a domain of a given ObjectType in a single API call.
|
|
8
|
+
|
|
9
|
+
1.89.0 (2026-05-22)
|
|
10
|
+
------------------
|
|
11
|
+
|
|
12
|
+
* Feature - Adding new BDD representation of endpoint ruleset
|
|
13
|
+
|
|
4
14
|
1.88.0 (2026-05-21)
|
|
5
15
|
------------------
|
|
6
16
|
|
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
1.
|
|
1
|
+
1.90.0
|
|
@@ -703,6 +703,68 @@ module Aws::CustomerProfiles
|
|
|
703
703
|
req.send_request(options)
|
|
704
704
|
end
|
|
705
705
|
|
|
706
|
+
# Adds multiple profile objects to a domain of a given ObjectType in a
|
|
707
|
+
# single API call.
|
|
708
|
+
#
|
|
709
|
+
# When adding a specific profile object, like a Contact Record, an
|
|
710
|
+
# inferred profile can get created if it is not mapped to an existing
|
|
711
|
+
# profile. The resulting profile will only have a phone number populated
|
|
712
|
+
# in the standard ProfileObject. Any additional Contact Records with the
|
|
713
|
+
# same phone number will be mapped to the same inferred profile.
|
|
714
|
+
#
|
|
715
|
+
# When a ProfileObject is created and if a ProfileObjectType already
|
|
716
|
+
# exists for the ProfileObject, it will provide data to a standard
|
|
717
|
+
# profile depending on the ProfileObjectType definition.
|
|
718
|
+
#
|
|
719
|
+
# BatchPutProfileObject needs an ObjectType, which can be created using
|
|
720
|
+
# PutProfileObjectType.
|
|
721
|
+
#
|
|
722
|
+
# @option params [required, String] :domain_name
|
|
723
|
+
# The unique name of the domain.
|
|
724
|
+
#
|
|
725
|
+
# @option params [required, String] :object_type_name
|
|
726
|
+
# The name of the profile object type.
|
|
727
|
+
#
|
|
728
|
+
# @option params [required, Array<Types::BatchPutProfileObjectRequestItem>] :items
|
|
729
|
+
# A list of items to add to the domain.
|
|
730
|
+
#
|
|
731
|
+
# @return [Types::BatchPutProfileObjectResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
|
732
|
+
#
|
|
733
|
+
# * {Types::BatchPutProfileObjectResponse#successful #successful} => Array<Types::BatchPutProfileObjectResponseItem>
|
|
734
|
+
# * {Types::BatchPutProfileObjectResponse#failed #failed} => Array<Types::BatchPutProfileObjectErrorItem>
|
|
735
|
+
#
|
|
736
|
+
# @example Request syntax with placeholder values
|
|
737
|
+
#
|
|
738
|
+
# resp = client.batch_put_profile_object({
|
|
739
|
+
# domain_name: "name", # required
|
|
740
|
+
# object_type_name: "typeName", # required
|
|
741
|
+
# items: [ # required
|
|
742
|
+
# {
|
|
743
|
+
# id: "name", # required
|
|
744
|
+
# object: "stringifiedJson", # required
|
|
745
|
+
# },
|
|
746
|
+
# ],
|
|
747
|
+
# })
|
|
748
|
+
#
|
|
749
|
+
# @example Response structure
|
|
750
|
+
#
|
|
751
|
+
# resp.successful #=> Array
|
|
752
|
+
# resp.successful[0].id #=> String
|
|
753
|
+
# resp.successful[0].profile_object_unique_key #=> String
|
|
754
|
+
# resp.failed #=> Array
|
|
755
|
+
# resp.failed[0].id #=> String
|
|
756
|
+
# resp.failed[0].code #=> Integer
|
|
757
|
+
# resp.failed[0].message #=> String
|
|
758
|
+
#
|
|
759
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/BatchPutProfileObject AWS API Documentation
|
|
760
|
+
#
|
|
761
|
+
# @overload batch_put_profile_object(params = {})
|
|
762
|
+
# @param [Hash] params ({})
|
|
763
|
+
def batch_put_profile_object(params = {}, options = {})
|
|
764
|
+
req = build_request(:batch_put_profile_object, params)
|
|
765
|
+
req.send_request(options)
|
|
766
|
+
end
|
|
767
|
+
|
|
706
768
|
# Creates a new calculated attribute definition. After creation, new
|
|
707
769
|
# object data ingested into Customer Profiles will be included in the
|
|
708
770
|
# calculated attribute, which can be retrieved for a profile using the
|
|
@@ -1291,7 +1353,7 @@ module Aws::CustomerProfiles
|
|
|
1291
1353
|
# event_expiration: 1,
|
|
1292
1354
|
# periods: [
|
|
1293
1355
|
# {
|
|
1294
|
-
# unit: "
|
|
1356
|
+
# unit: "MINUTES", # required, accepts MINUTES, HOURS, DAYS, WEEKS, MONTHS
|
|
1295
1357
|
# value: 1, # required
|
|
1296
1358
|
# max_invocations_per_profile: 1,
|
|
1297
1359
|
# unlimited: false,
|
|
@@ -1320,7 +1382,7 @@ module Aws::CustomerProfiles
|
|
|
1320
1382
|
# resp.segment_filter #=> String
|
|
1321
1383
|
# resp.event_trigger_limits.event_expiration #=> Integer
|
|
1322
1384
|
# resp.event_trigger_limits.periods #=> Array
|
|
1323
|
-
# resp.event_trigger_limits.periods[0].unit #=> String, one of "HOURS", "DAYS", "WEEKS", "MONTHS"
|
|
1385
|
+
# resp.event_trigger_limits.periods[0].unit #=> String, one of "MINUTES", "HOURS", "DAYS", "WEEKS", "MONTHS"
|
|
1324
1386
|
# resp.event_trigger_limits.periods[0].value #=> Integer
|
|
1325
1387
|
# resp.event_trigger_limits.periods[0].max_invocations_per_profile #=> Integer
|
|
1326
1388
|
# resp.event_trigger_limits.periods[0].unlimited #=> Boolean
|
|
@@ -3534,7 +3596,7 @@ module Aws::CustomerProfiles
|
|
|
3534
3596
|
# resp.segment_filter #=> String
|
|
3535
3597
|
# resp.event_trigger_limits.event_expiration #=> Integer
|
|
3536
3598
|
# resp.event_trigger_limits.periods #=> Array
|
|
3537
|
-
# resp.event_trigger_limits.periods[0].unit #=> String, one of "HOURS", "DAYS", "WEEKS", "MONTHS"
|
|
3599
|
+
# resp.event_trigger_limits.periods[0].unit #=> String, one of "MINUTES", "HOURS", "DAYS", "WEEKS", "MONTHS"
|
|
3538
3600
|
# resp.event_trigger_limits.periods[0].value #=> Integer
|
|
3539
3601
|
# resp.event_trigger_limits.periods[0].max_invocations_per_profile #=> Integer
|
|
3540
3602
|
# resp.event_trigger_limits.periods[0].unlimited #=> Boolean
|
|
@@ -7632,7 +7694,7 @@ module Aws::CustomerProfiles
|
|
|
7632
7694
|
# event_expiration: 1,
|
|
7633
7695
|
# periods: [
|
|
7634
7696
|
# {
|
|
7635
|
-
# unit: "
|
|
7697
|
+
# unit: "MINUTES", # required, accepts MINUTES, HOURS, DAYS, WEEKS, MONTHS
|
|
7636
7698
|
# value: 1, # required
|
|
7637
7699
|
# max_invocations_per_profile: 1,
|
|
7638
7700
|
# unlimited: false,
|
|
@@ -7658,7 +7720,7 @@ module Aws::CustomerProfiles
|
|
|
7658
7720
|
# resp.segment_filter #=> String
|
|
7659
7721
|
# resp.event_trigger_limits.event_expiration #=> Integer
|
|
7660
7722
|
# resp.event_trigger_limits.periods #=> Array
|
|
7661
|
-
# resp.event_trigger_limits.periods[0].unit #=> String, one of "HOURS", "DAYS", "WEEKS", "MONTHS"
|
|
7723
|
+
# resp.event_trigger_limits.periods[0].unit #=> String, one of "MINUTES", "HOURS", "DAYS", "WEEKS", "MONTHS"
|
|
7662
7724
|
# resp.event_trigger_limits.periods[0].value #=> Integer
|
|
7663
7725
|
# resp.event_trigger_limits.periods[0].max_invocations_per_profile #=> Integer
|
|
7664
7726
|
# resp.event_trigger_limits.periods[0].unlimited #=> Boolean
|
|
@@ -7959,7 +8021,7 @@ module Aws::CustomerProfiles
|
|
|
7959
8021
|
tracer: tracer
|
|
7960
8022
|
)
|
|
7961
8023
|
context[:gem_name] = 'aws-sdk-customerprofiles'
|
|
7962
|
-
context[:gem_version] = '1.
|
|
8024
|
+
context[:gem_version] = '1.90.0'
|
|
7963
8025
|
Seahorse::Client::Request.new(handlers, context)
|
|
7964
8026
|
end
|
|
7965
8027
|
|
|
@@ -52,6 +52,14 @@ module Aws::CustomerProfiles
|
|
|
52
52
|
BatchGetProfileIdList = Shapes::ListShape.new(name: 'BatchGetProfileIdList')
|
|
53
53
|
BatchGetProfileRequest = Shapes::StructureShape.new(name: 'BatchGetProfileRequest')
|
|
54
54
|
BatchGetProfileResponse = Shapes::StructureShape.new(name: 'BatchGetProfileResponse')
|
|
55
|
+
BatchPutProfileObjectErrorItem = Shapes::StructureShape.new(name: 'BatchPutProfileObjectErrorItem')
|
|
56
|
+
BatchPutProfileObjectErrorList = Shapes::ListShape.new(name: 'BatchPutProfileObjectErrorList')
|
|
57
|
+
BatchPutProfileObjectRequest = Shapes::StructureShape.new(name: 'BatchPutProfileObjectRequest')
|
|
58
|
+
BatchPutProfileObjectRequestItem = Shapes::StructureShape.new(name: 'BatchPutProfileObjectRequestItem')
|
|
59
|
+
BatchPutProfileObjectRequestItemList = Shapes::ListShape.new(name: 'BatchPutProfileObjectRequestItemList')
|
|
60
|
+
BatchPutProfileObjectResponse = Shapes::StructureShape.new(name: 'BatchPutProfileObjectResponse')
|
|
61
|
+
BatchPutProfileObjectResponseItem = Shapes::StructureShape.new(name: 'BatchPutProfileObjectResponseItem')
|
|
62
|
+
BatchPutProfileObjectResponseList = Shapes::ListShape.new(name: 'BatchPutProfileObjectResponseList')
|
|
55
63
|
Batches = Shapes::ListShape.new(name: 'Batches')
|
|
56
64
|
BucketName = Shapes::StringShape.new(name: 'BucketName')
|
|
57
65
|
BucketPrefix = Shapes::StringShape.new(name: 'BucketPrefix')
|
|
@@ -591,8 +599,8 @@ module Aws::CustomerProfiles
|
|
|
591
599
|
matchesNumber = Shapes::IntegerShape.new(name: 'matchesNumber')
|
|
592
600
|
maxSize100 = Shapes::IntegerShape.new(name: 'maxSize100')
|
|
593
601
|
maxSize1000 = Shapes::IntegerShape.new(name: 'maxSize1000')
|
|
594
|
-
maxSize24 = Shapes::IntegerShape.new(name: 'maxSize24')
|
|
595
602
|
maxSize500 = Shapes::IntegerShape.new(name: 'maxSize500')
|
|
603
|
+
maxSize60 = Shapes::IntegerShape.new(name: 'maxSize60')
|
|
596
604
|
message = Shapes::StringShape.new(name: 'message')
|
|
597
605
|
minSize0 = Shapes::IntegerShape.new(name: 'minSize0')
|
|
598
606
|
minSize1 = Shapes::IntegerShape.new(name: 'minSize1')
|
|
@@ -601,6 +609,7 @@ module Aws::CustomerProfiles
|
|
|
601
609
|
optionalLong = Shapes::IntegerShape.new(name: 'optionalLong')
|
|
602
610
|
percentageInteger = Shapes::IntegerShape.new(name: 'percentageInteger')
|
|
603
611
|
requestValueList = Shapes::ListShape.new(name: 'requestValueList')
|
|
612
|
+
responseCode = Shapes::IntegerShape.new(name: 'responseCode')
|
|
604
613
|
s3BucketName = Shapes::StringShape.new(name: 's3BucketName')
|
|
605
614
|
s3KeyName = Shapes::StringShape.new(name: 's3KeyName')
|
|
606
615
|
s3KeyNameCustomerOutputConfig = Shapes::StringShape.new(name: 's3KeyNameCustomerOutputConfig')
|
|
@@ -771,6 +780,34 @@ module Aws::CustomerProfiles
|
|
|
771
780
|
BatchGetProfileResponse.add_member(:profiles, Shapes::ShapeRef.new(shape: ProfileList, location_name: "Profiles"))
|
|
772
781
|
BatchGetProfileResponse.struct_class = Types::BatchGetProfileResponse
|
|
773
782
|
|
|
783
|
+
BatchPutProfileObjectErrorItem.add_member(:id, Shapes::ShapeRef.new(shape: name, required: true, location_name: "Id"))
|
|
784
|
+
BatchPutProfileObjectErrorItem.add_member(:code, Shapes::ShapeRef.new(shape: responseCode, required: true, location_name: "Code"))
|
|
785
|
+
BatchPutProfileObjectErrorItem.add_member(:message, Shapes::ShapeRef.new(shape: text, location_name: "Message"))
|
|
786
|
+
BatchPutProfileObjectErrorItem.struct_class = Types::BatchPutProfileObjectErrorItem
|
|
787
|
+
|
|
788
|
+
BatchPutProfileObjectErrorList.member = Shapes::ShapeRef.new(shape: BatchPutProfileObjectErrorItem)
|
|
789
|
+
|
|
790
|
+
BatchPutProfileObjectRequest.add_member(:domain_name, Shapes::ShapeRef.new(shape: name, required: true, location: "uri", location_name: "DomainName"))
|
|
791
|
+
BatchPutProfileObjectRequest.add_member(:object_type_name, Shapes::ShapeRef.new(shape: typeName, required: true, location_name: "ObjectTypeName"))
|
|
792
|
+
BatchPutProfileObjectRequest.add_member(:items, Shapes::ShapeRef.new(shape: BatchPutProfileObjectRequestItemList, required: true, location_name: "Items"))
|
|
793
|
+
BatchPutProfileObjectRequest.struct_class = Types::BatchPutProfileObjectRequest
|
|
794
|
+
|
|
795
|
+
BatchPutProfileObjectRequestItem.add_member(:id, Shapes::ShapeRef.new(shape: name, required: true, location_name: "Id"))
|
|
796
|
+
BatchPutProfileObjectRequestItem.add_member(:object, Shapes::ShapeRef.new(shape: stringifiedJson, required: true, location_name: "Object"))
|
|
797
|
+
BatchPutProfileObjectRequestItem.struct_class = Types::BatchPutProfileObjectRequestItem
|
|
798
|
+
|
|
799
|
+
BatchPutProfileObjectRequestItemList.member = Shapes::ShapeRef.new(shape: BatchPutProfileObjectRequestItem)
|
|
800
|
+
|
|
801
|
+
BatchPutProfileObjectResponse.add_member(:successful, Shapes::ShapeRef.new(shape: BatchPutProfileObjectResponseList, location_name: "Successful"))
|
|
802
|
+
BatchPutProfileObjectResponse.add_member(:failed, Shapes::ShapeRef.new(shape: BatchPutProfileObjectErrorList, location_name: "Failed"))
|
|
803
|
+
BatchPutProfileObjectResponse.struct_class = Types::BatchPutProfileObjectResponse
|
|
804
|
+
|
|
805
|
+
BatchPutProfileObjectResponseItem.add_member(:id, Shapes::ShapeRef.new(shape: name, required: true, location_name: "Id"))
|
|
806
|
+
BatchPutProfileObjectResponseItem.add_member(:profile_object_unique_key, Shapes::ShapeRef.new(shape: string1To255, required: true, location_name: "ProfileObjectUniqueKey"))
|
|
807
|
+
BatchPutProfileObjectResponseItem.struct_class = Types::BatchPutProfileObjectResponseItem
|
|
808
|
+
|
|
809
|
+
BatchPutProfileObjectResponseList.member = Shapes::ShapeRef.new(shape: BatchPutProfileObjectResponseItem)
|
|
810
|
+
|
|
774
811
|
Batches.member = Shapes::ShapeRef.new(shape: Batch)
|
|
775
812
|
|
|
776
813
|
CalculatedAttributeDefinitionsList.member = Shapes::ShapeRef.new(shape: ListCalculatedAttributeDefinitionItem)
|
|
@@ -2257,7 +2294,7 @@ module Aws::CustomerProfiles
|
|
|
2257
2294
|
Objects.member = Shapes::ShapeRef.new(shape: stringifiedJson)
|
|
2258
2295
|
|
|
2259
2296
|
Period.add_member(:unit, Shapes::ShapeRef.new(shape: PeriodUnit, required: true, location_name: "Unit"))
|
|
2260
|
-
Period.add_member(:value, Shapes::ShapeRef.new(shape:
|
|
2297
|
+
Period.add_member(:value, Shapes::ShapeRef.new(shape: maxSize60, required: true, location_name: "Value"))
|
|
2261
2298
|
Period.add_member(:max_invocations_per_profile, Shapes::ShapeRef.new(shape: maxSize1000, location_name: "MaxInvocationsPerProfile"))
|
|
2262
2299
|
Period.add_member(:unlimited, Shapes::ShapeRef.new(shape: boolean, location_name: "Unlimited"))
|
|
2263
2300
|
Period.struct_class = Types::Period
|
|
@@ -3004,6 +3041,19 @@ module Aws::CustomerProfiles
|
|
|
3004
3041
|
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3005
3042
|
end)
|
|
3006
3043
|
|
|
3044
|
+
api.add_operation(:batch_put_profile_object, Seahorse::Model::Operation.new.tap do |o|
|
|
3045
|
+
o.name = "BatchPutProfileObject"
|
|
3046
|
+
o.http_method = "PUT"
|
|
3047
|
+
o.http_request_uri = "/domains/{DomainName}/profiles/objects/batch-put-profile-object"
|
|
3048
|
+
o.input = Shapes::ShapeRef.new(shape: BatchPutProfileObjectRequest)
|
|
3049
|
+
o.output = Shapes::ShapeRef.new(shape: BatchPutProfileObjectResponse)
|
|
3050
|
+
o.errors << Shapes::ShapeRef.new(shape: BadRequestException)
|
|
3051
|
+
o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
|
|
3052
|
+
o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
|
|
3053
|
+
o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
|
|
3054
|
+
o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
|
|
3055
|
+
end)
|
|
3056
|
+
|
|
3007
3057
|
api.add_operation(:create_calculated_attribute_definition, Seahorse::Model::Operation.new.tap do |o|
|
|
3008
3058
|
o.name = "CreateCalculatedAttributeDefinition"
|
|
3009
3059
|
o.http_method = "POST"
|
|
@@ -699,6 +699,109 @@ module Aws::CustomerProfiles
|
|
|
699
699
|
include Aws::Structure
|
|
700
700
|
end
|
|
701
701
|
|
|
702
|
+
# An item that failed to be added to the domain.
|
|
703
|
+
#
|
|
704
|
+
# @!attribute [rw] id
|
|
705
|
+
# The unique identifier of the item in the batch request that failed.
|
|
706
|
+
# @return [String]
|
|
707
|
+
#
|
|
708
|
+
# @!attribute [rw] code
|
|
709
|
+
# The HTTP status code for the error.
|
|
710
|
+
# @return [Integer]
|
|
711
|
+
#
|
|
712
|
+
# @!attribute [rw] message
|
|
713
|
+
# A message describing the error.
|
|
714
|
+
# @return [String]
|
|
715
|
+
#
|
|
716
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/BatchPutProfileObjectErrorItem AWS API Documentation
|
|
717
|
+
#
|
|
718
|
+
class BatchPutProfileObjectErrorItem < Struct.new(
|
|
719
|
+
:id,
|
|
720
|
+
:code,
|
|
721
|
+
:message)
|
|
722
|
+
SENSITIVE = []
|
|
723
|
+
include Aws::Structure
|
|
724
|
+
end
|
|
725
|
+
|
|
726
|
+
# @!attribute [rw] domain_name
|
|
727
|
+
# The unique name of the domain.
|
|
728
|
+
# @return [String]
|
|
729
|
+
#
|
|
730
|
+
# @!attribute [rw] object_type_name
|
|
731
|
+
# The name of the profile object type.
|
|
732
|
+
# @return [String]
|
|
733
|
+
#
|
|
734
|
+
# @!attribute [rw] items
|
|
735
|
+
# A list of items to add to the domain.
|
|
736
|
+
# @return [Array<Types::BatchPutProfileObjectRequestItem>]
|
|
737
|
+
#
|
|
738
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/BatchPutProfileObjectRequest AWS API Documentation
|
|
739
|
+
#
|
|
740
|
+
class BatchPutProfileObjectRequest < Struct.new(
|
|
741
|
+
:domain_name,
|
|
742
|
+
:object_type_name,
|
|
743
|
+
:items)
|
|
744
|
+
SENSITIVE = []
|
|
745
|
+
include Aws::Structure
|
|
746
|
+
end
|
|
747
|
+
|
|
748
|
+
# An item to add to the domain as part of a batch request.
|
|
749
|
+
#
|
|
750
|
+
# @!attribute [rw] id
|
|
751
|
+
# A unique identifier for this item in the batch request. Used to
|
|
752
|
+
# correlate items in the response.
|
|
753
|
+
# @return [String]
|
|
754
|
+
#
|
|
755
|
+
# @!attribute [rw] object
|
|
756
|
+
# A string that is serialized from a JSON object.
|
|
757
|
+
# @return [String]
|
|
758
|
+
#
|
|
759
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/BatchPutProfileObjectRequestItem AWS API Documentation
|
|
760
|
+
#
|
|
761
|
+
class BatchPutProfileObjectRequestItem < Struct.new(
|
|
762
|
+
:id,
|
|
763
|
+
:object)
|
|
764
|
+
SENSITIVE = [:object]
|
|
765
|
+
include Aws::Structure
|
|
766
|
+
end
|
|
767
|
+
|
|
768
|
+
# @!attribute [rw] successful
|
|
769
|
+
# A list of items that were successfully added to the domain.
|
|
770
|
+
# @return [Array<Types::BatchPutProfileObjectResponseItem>]
|
|
771
|
+
#
|
|
772
|
+
# @!attribute [rw] failed
|
|
773
|
+
# A list of items that failed to be added to the domain.
|
|
774
|
+
# @return [Array<Types::BatchPutProfileObjectErrorItem>]
|
|
775
|
+
#
|
|
776
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/BatchPutProfileObjectResponse AWS API Documentation
|
|
777
|
+
#
|
|
778
|
+
class BatchPutProfileObjectResponse < Struct.new(
|
|
779
|
+
:successful,
|
|
780
|
+
:failed)
|
|
781
|
+
SENSITIVE = []
|
|
782
|
+
include Aws::Structure
|
|
783
|
+
end
|
|
784
|
+
|
|
785
|
+
# An item that was successfully added to the domain.
|
|
786
|
+
#
|
|
787
|
+
# @!attribute [rw] id
|
|
788
|
+
# The unique identifier of the item in the batch request.
|
|
789
|
+
# @return [String]
|
|
790
|
+
#
|
|
791
|
+
# @!attribute [rw] profile_object_unique_key
|
|
792
|
+
# The unique identifier of the profile object generated by the
|
|
793
|
+
# service.
|
|
794
|
+
# @return [String]
|
|
795
|
+
#
|
|
796
|
+
# @see http://docs.aws.amazon.com/goto/WebAPI/customer-profiles-2020-08-15/BatchPutProfileObjectResponseItem AWS API Documentation
|
|
797
|
+
#
|
|
798
|
+
class BatchPutProfileObjectResponseItem < Struct.new(
|
|
799
|
+
:id,
|
|
800
|
+
:profile_object_unique_key)
|
|
801
|
+
SENSITIVE = []
|
|
802
|
+
include Aws::Structure
|
|
803
|
+
end
|
|
804
|
+
|
|
702
805
|
# Object that segments on Customer Profile's Calculated Attributes.
|
|
703
806
|
#
|
|
704
807
|
# @!attribute [rw] dimension_type
|
data/sig/client.rbs
CHANGED
|
@@ -125,6 +125,24 @@ module Aws
|
|
|
125
125
|
) -> _BatchGetProfileResponseSuccess
|
|
126
126
|
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchGetProfileResponseSuccess
|
|
127
127
|
|
|
128
|
+
interface _BatchPutProfileObjectResponseSuccess
|
|
129
|
+
include ::Seahorse::Client::_ResponseSuccess[Types::BatchPutProfileObjectResponse]
|
|
130
|
+
def successful: () -> ::Array[Types::BatchPutProfileObjectResponseItem]
|
|
131
|
+
def failed: () -> ::Array[Types::BatchPutProfileObjectErrorItem]
|
|
132
|
+
end
|
|
133
|
+
# https://docs.aws.amazon.com/sdk-for-ruby/v3/api/Aws/CustomerProfiles/Client.html#batch_put_profile_object-instance_method
|
|
134
|
+
def batch_put_profile_object: (
|
|
135
|
+
domain_name: ::String,
|
|
136
|
+
object_type_name: ::String,
|
|
137
|
+
items: Array[
|
|
138
|
+
{
|
|
139
|
+
id: ::String,
|
|
140
|
+
object: ::String
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
) -> _BatchPutProfileObjectResponseSuccess
|
|
144
|
+
| (Hash[Symbol, untyped] params, ?Hash[Symbol, untyped] options) -> _BatchPutProfileObjectResponseSuccess
|
|
145
|
+
|
|
128
146
|
interface _CreateCalculatedAttributeDefinitionResponseSuccess
|
|
129
147
|
include ::Seahorse::Client::_ResponseSuccess[Types::CreateCalculatedAttributeDefinitionResponse]
|
|
130
148
|
def calculated_attribute_name: () -> ::String
|
data/sig/params.rbs
CHANGED
|
@@ -106,7 +106,7 @@ module Aws
|
|
|
106
106
|
event_expiration: ::Integer?,
|
|
107
107
|
periods: Array[
|
|
108
108
|
{
|
|
109
|
-
unit: ("HOURS" | "DAYS" | "WEEKS" | "MONTHS"),
|
|
109
|
+
unit: ("MINUTES" | "HOURS" | "DAYS" | "WEEKS" | "MONTHS"),
|
|
110
110
|
value: ::Integer,
|
|
111
111
|
max_invocations_per_profile: ::Integer?,
|
|
112
112
|
unlimited: bool?
|
data/sig/types.rbs
CHANGED
|
@@ -179,6 +179,38 @@ module Aws::CustomerProfiles
|
|
|
179
179
|
SENSITIVE: []
|
|
180
180
|
end
|
|
181
181
|
|
|
182
|
+
class BatchPutProfileObjectErrorItem
|
|
183
|
+
attr_accessor id: ::String
|
|
184
|
+
attr_accessor code: ::Integer
|
|
185
|
+
attr_accessor message: ::String
|
|
186
|
+
SENSITIVE: []
|
|
187
|
+
end
|
|
188
|
+
|
|
189
|
+
class BatchPutProfileObjectRequest
|
|
190
|
+
attr_accessor domain_name: ::String
|
|
191
|
+
attr_accessor object_type_name: ::String
|
|
192
|
+
attr_accessor items: ::Array[Types::BatchPutProfileObjectRequestItem]
|
|
193
|
+
SENSITIVE: []
|
|
194
|
+
end
|
|
195
|
+
|
|
196
|
+
class BatchPutProfileObjectRequestItem
|
|
197
|
+
attr_accessor id: ::String
|
|
198
|
+
attr_accessor object: ::String
|
|
199
|
+
SENSITIVE: [:object]
|
|
200
|
+
end
|
|
201
|
+
|
|
202
|
+
class BatchPutProfileObjectResponse
|
|
203
|
+
attr_accessor successful: ::Array[Types::BatchPutProfileObjectResponseItem]
|
|
204
|
+
attr_accessor failed: ::Array[Types::BatchPutProfileObjectErrorItem]
|
|
205
|
+
SENSITIVE: []
|
|
206
|
+
end
|
|
207
|
+
|
|
208
|
+
class BatchPutProfileObjectResponseItem
|
|
209
|
+
attr_accessor id: ::String
|
|
210
|
+
attr_accessor profile_object_unique_key: ::String
|
|
211
|
+
SENSITIVE: []
|
|
212
|
+
end
|
|
213
|
+
|
|
182
214
|
class CalculatedAttributeDimension
|
|
183
215
|
attr_accessor dimension_type: ("INCLUSIVE" | "EXCLUSIVE" | "CONTAINS" | "BEGINS_WITH" | "ENDS_WITH" | "BEFORE" | "AFTER" | "BETWEEN" | "NOT_BETWEEN" | "ON" | "GREATER_THAN" | "LESS_THAN" | "GREATER_THAN_OR_EQUAL" | "LESS_THAN_OR_EQUAL" | "EQUAL")
|
|
184
216
|
attr_accessor values: ::Array[::String]
|
|
@@ -2035,7 +2067,7 @@ module Aws::CustomerProfiles
|
|
|
2035
2067
|
end
|
|
2036
2068
|
|
|
2037
2069
|
class Period
|
|
2038
|
-
attr_accessor unit: ("HOURS" | "DAYS" | "WEEKS" | "MONTHS")
|
|
2070
|
+
attr_accessor unit: ("MINUTES" | "HOURS" | "DAYS" | "WEEKS" | "MONTHS")
|
|
2039
2071
|
attr_accessor value: ::Integer
|
|
2040
2072
|
attr_accessor max_invocations_per_profile: ::Integer
|
|
2041
2073
|
attr_accessor unlimited: bool
|