aws-sdk-customerprofiles 1.24.0 → 1.25.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/VERSION +1 -1
- data/lib/aws-sdk-customerprofiles/client.rb +17 -1
- data/lib/aws-sdk-customerprofiles/client_api.rb +4 -0
- data/lib/aws-sdk-customerprofiles/endpoint_parameters.rb +3 -0
- data/lib/aws-sdk-customerprofiles/endpoint_provider.rb +73 -74
- data/lib/aws-sdk-customerprofiles/types.rb +22 -1331
- data/lib/aws-sdk-customerprofiles.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9347a37fe6a179ea20d5dd0f36429c16cf09eaec912841d4de98f55da73bd1df
|
4
|
+
data.tar.gz: dd4214b570fd81e86e76dfee1785c625d4cf95d4264e0d7b190d111acfff298c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c19fe24303abe8caf0b45b6bc556ecda905324581af302ba820617f234028a89eeaaed17c6f440248443a934654d0512e46dbff11639eb6d07cf5543cdcf8174
|
7
|
+
data.tar.gz: feecbaad728d3ef66dea8ff3206d38a97279c3e34d32ab65c9e48dfc4e78778a8e43960e9b6e8acf5bbe09b728d5b91841b8e7d2d6a54fa03854eae9891b4351
|
data/CHANGELOG.md
CHANGED
@@ -1,6 +1,11 @@
|
|
1
1
|
Unreleased Changes
|
2
2
|
------------------
|
3
3
|
|
4
|
+
1.25.0 (2022-12-12)
|
5
|
+
------------------
|
6
|
+
|
7
|
+
* Feature - This release allows custom strings in PartyType and Gender through 2 new attributes in the CreateProfile and UpdateProfile APIs: PartyTypeString and GenderString.
|
8
|
+
|
4
9
|
1.24.0 (2022-11-14)
|
5
10
|
------------------
|
6
11
|
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
1.
|
1
|
+
1.25.0
|
@@ -765,6 +765,12 @@ module Aws::CustomerProfiles
|
|
765
765
|
# @option params [Hash<String,String>] :attributes
|
766
766
|
# A key value pair of attributes of a customer profile.
|
767
767
|
#
|
768
|
+
# @option params [String] :party_type_string
|
769
|
+
# An alternative to `PartyType` which accepts any string as input.
|
770
|
+
#
|
771
|
+
# @option params [String] :gender_string
|
772
|
+
# An alternative to `Gender` which accepts any string as input.
|
773
|
+
#
|
768
774
|
# @return [Types::CreateProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
769
775
|
#
|
770
776
|
# * {Types::CreateProfileResponse#profile_id #profile_id} => String
|
@@ -840,6 +846,8 @@ module Aws::CustomerProfiles
|
|
840
846
|
# attributes: {
|
841
847
|
# "string1To255" => "string1To255",
|
842
848
|
# },
|
849
|
+
# party_type_string: "string1To255",
|
850
|
+
# gender_string: "string1To255",
|
843
851
|
# })
|
844
852
|
#
|
845
853
|
# @example Response structure
|
@@ -2984,6 +2992,12 @@ module Aws::CustomerProfiles
|
|
2984
2992
|
# @option params [Hash<String,String>] :attributes
|
2985
2993
|
# A key value pair of attributes of a customer profile.
|
2986
2994
|
#
|
2995
|
+
# @option params [String] :party_type_string
|
2996
|
+
# An alternative to `PartyType` which accepts any string as input.
|
2997
|
+
#
|
2998
|
+
# @option params [String] :gender_string
|
2999
|
+
# An alternative to `Gender` which accepts any string as input.
|
3000
|
+
#
|
2987
3001
|
# @return [Types::UpdateProfileResponse] Returns a {Seahorse::Client::Response response} object which responds to the following methods:
|
2988
3002
|
#
|
2989
3003
|
# * {Types::UpdateProfileResponse#profile_id #profile_id} => String
|
@@ -3060,6 +3074,8 @@ module Aws::CustomerProfiles
|
|
3060
3074
|
# attributes: {
|
3061
3075
|
# "string1To255" => "string0To255",
|
3062
3076
|
# },
|
3077
|
+
# party_type_string: "string0To255",
|
3078
|
+
# gender_string: "string0To255",
|
3063
3079
|
# })
|
3064
3080
|
#
|
3065
3081
|
# @example Response structure
|
@@ -3088,7 +3104,7 @@ module Aws::CustomerProfiles
|
|
3088
3104
|
params: params,
|
3089
3105
|
config: config)
|
3090
3106
|
context[:gem_name] = 'aws-sdk-customerprofiles'
|
3091
|
-
context[:gem_version] = '1.
|
3107
|
+
context[:gem_version] = '1.25.0'
|
3092
3108
|
Seahorse::Client::Request.new(handlers, context)
|
3093
3109
|
end
|
3094
3110
|
|
@@ -384,6 +384,8 @@ module Aws::CustomerProfiles
|
|
384
384
|
CreateProfileRequest.add_member(:mailing_address, Shapes::ShapeRef.new(shape: Address, location_name: "MailingAddress"))
|
385
385
|
CreateProfileRequest.add_member(:billing_address, Shapes::ShapeRef.new(shape: Address, location_name: "BillingAddress"))
|
386
386
|
CreateProfileRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: Attributes, location_name: "Attributes"))
|
387
|
+
CreateProfileRequest.add_member(:party_type_string, Shapes::ShapeRef.new(shape: string1To255, location_name: "PartyTypeString"))
|
388
|
+
CreateProfileRequest.add_member(:gender_string, Shapes::ShapeRef.new(shape: string1To255, location_name: "GenderString"))
|
387
389
|
CreateProfileRequest.struct_class = Types::CreateProfileRequest
|
388
390
|
|
389
391
|
CreateProfileResponse.add_member(:profile_id, Shapes::ShapeRef.new(shape: uuid, required: true, location_name: "ProfileId"))
|
@@ -1082,6 +1084,8 @@ module Aws::CustomerProfiles
|
|
1082
1084
|
UpdateProfileRequest.add_member(:mailing_address, Shapes::ShapeRef.new(shape: UpdateAddress, location_name: "MailingAddress"))
|
1083
1085
|
UpdateProfileRequest.add_member(:billing_address, Shapes::ShapeRef.new(shape: UpdateAddress, location_name: "BillingAddress"))
|
1084
1086
|
UpdateProfileRequest.add_member(:attributes, Shapes::ShapeRef.new(shape: UpdateAttributes, location_name: "Attributes"))
|
1087
|
+
UpdateProfileRequest.add_member(:party_type_string, Shapes::ShapeRef.new(shape: string0To255, location_name: "PartyTypeString"))
|
1088
|
+
UpdateProfileRequest.add_member(:gender_string, Shapes::ShapeRef.new(shape: string0To255, location_name: "GenderString"))
|
1085
1089
|
UpdateProfileRequest.struct_class = Types::UpdateProfileRequest
|
1086
1090
|
|
1087
1091
|
UpdateProfileResponse.add_member(:profile_id, Shapes::ShapeRef.new(shape: uuid, required: true, location_name: "ProfileId"))
|
@@ -50,6 +50,9 @@ module Aws::CustomerProfiles
|
|
50
50
|
|
51
51
|
def initialize(options = {})
|
52
52
|
self[:region] = options[:region]
|
53
|
+
if self[:region].nil?
|
54
|
+
raise ArgumentError, "Missing required EndpointParameter: :region"
|
55
|
+
end
|
53
56
|
self[:use_dual_stack] = options[:use_dual_stack]
|
54
57
|
self[:use_dual_stack] = false if self[:use_dual_stack].nil?
|
55
58
|
if self[:use_dual_stack].nil?
|
@@ -29,82 +29,81 @@ module Aws::CustomerProfiles
|
|
29
29
|
# @api private
|
30
30
|
RULES = <<-JSON
|
31
31
|
eyJ2ZXJzaW9uIjoiMS4wIiwicGFyYW1ldGVycyI6eyJSZWdpb24iOnsiYnVp
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
32
|
+
bHRJbiI6IkFXUzo6UmVnaW9uIiwicmVxdWlyZWQiOnRydWUsImRvY3VtZW50
|
33
|
+
YXRpb24iOiJUaGUgQVdTIHJlZ2lvbiB1c2VkIHRvIGRpc3BhdGNoIHRoZSBy
|
34
|
+
ZXF1ZXN0LiIsInR5cGUiOiJTdHJpbmcifS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