@aws-sdk/client-customer-profiles 3.226.0 → 3.231.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.
- package/dist-cjs/endpoint/ruleset.js +1 -10
- package/dist-cjs/protocols/Aws_restJson1.js +4 -0
- package/dist-cjs/runtimeConfig.browser.js +3 -3
- package/dist-cjs/runtimeConfig.js +2 -1
- package/dist-es/endpoint/ruleset.js +1 -10
- package/dist-es/protocols/Aws_restJson1.js +4 -0
- package/dist-es/runtimeConfig.browser.js +1 -1
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-types/CustomerProfiles.d.ts +0 -3
- package/dist-types/commands/GetAutoMergingPreviewCommand.d.ts +0 -1
- package/dist-types/commands/GetMatchesCommand.d.ts +0 -1
- package/dist-types/commands/MergeProfilesCommand.d.ts +0 -1
- package/dist-types/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/models/models_0.d.ts +16 -0
- package/dist-types/runtimeConfig.browser.d.ts +1 -1
- package/dist-types/runtimeConfig.d.ts +1 -1
- package/dist-types/runtimeConfig.native.d.ts +1 -1
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +1 -1
- package/dist-types/ts3.4/models/models_0.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -1
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -1
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -1
- package/package.json +7 -6
|
@@ -6,7 +6,7 @@ exports.ruleSet = {
|
|
|
6
6
|
parameters: {
|
|
7
7
|
Region: {
|
|
8
8
|
builtIn: "AWS::Region",
|
|
9
|
-
required:
|
|
9
|
+
required: true,
|
|
10
10
|
documentation: "The AWS region used to dispatch the request.",
|
|
11
11
|
type: "String",
|
|
12
12
|
},
|
|
@@ -56,15 +56,6 @@ exports.ruleSet = {
|
|
|
56
56
|
},
|
|
57
57
|
],
|
|
58
58
|
},
|
|
59
|
-
{
|
|
60
|
-
fn: "parseURL",
|
|
61
|
-
argv: [
|
|
62
|
-
{
|
|
63
|
-
ref: "Endpoint",
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
assign: "url",
|
|
67
|
-
},
|
|
68
59
|
],
|
|
69
60
|
type: "tree",
|
|
70
61
|
rules: [
|
|
@@ -108,6 +108,7 @@ const serializeAws_restJson1CreateProfileCommand = async (input, context) => {
|
|
|
108
108
|
...(input.EmailAddress != null && { EmailAddress: input.EmailAddress }),
|
|
109
109
|
...(input.FirstName != null && { FirstName: input.FirstName }),
|
|
110
110
|
...(input.Gender != null && { Gender: input.Gender }),
|
|
111
|
+
...(input.GenderString != null && { GenderString: input.GenderString }),
|
|
111
112
|
...(input.HomePhoneNumber != null && { HomePhoneNumber: input.HomePhoneNumber }),
|
|
112
113
|
...(input.LastName != null && { LastName: input.LastName }),
|
|
113
114
|
...(input.MailingAddress != null && {
|
|
@@ -116,6 +117,7 @@ const serializeAws_restJson1CreateProfileCommand = async (input, context) => {
|
|
|
116
117
|
...(input.MiddleName != null && { MiddleName: input.MiddleName }),
|
|
117
118
|
...(input.MobilePhoneNumber != null && { MobilePhoneNumber: input.MobilePhoneNumber }),
|
|
118
119
|
...(input.PartyType != null && { PartyType: input.PartyType }),
|
|
120
|
+
...(input.PartyTypeString != null && { PartyTypeString: input.PartyTypeString }),
|
|
119
121
|
...(input.PersonalEmailAddress != null && { PersonalEmailAddress: input.PersonalEmailAddress }),
|
|
120
122
|
...(input.PhoneNumber != null && { PhoneNumber: input.PhoneNumber }),
|
|
121
123
|
...(input.ShippingAddress != null && {
|
|
@@ -930,6 +932,7 @@ const serializeAws_restJson1UpdateProfileCommand = async (input, context) => {
|
|
|
930
932
|
...(input.EmailAddress != null && { EmailAddress: input.EmailAddress }),
|
|
931
933
|
...(input.FirstName != null && { FirstName: input.FirstName }),
|
|
932
934
|
...(input.Gender != null && { Gender: input.Gender }),
|
|
935
|
+
...(input.GenderString != null && { GenderString: input.GenderString }),
|
|
933
936
|
...(input.HomePhoneNumber != null && { HomePhoneNumber: input.HomePhoneNumber }),
|
|
934
937
|
...(input.LastName != null && { LastName: input.LastName }),
|
|
935
938
|
...(input.MailingAddress != null && {
|
|
@@ -938,6 +941,7 @@ const serializeAws_restJson1UpdateProfileCommand = async (input, context) => {
|
|
|
938
941
|
...(input.MiddleName != null && { MiddleName: input.MiddleName }),
|
|
939
942
|
...(input.MobilePhoneNumber != null && { MobilePhoneNumber: input.MobilePhoneNumber }),
|
|
940
943
|
...(input.PartyType != null && { PartyType: input.PartyType }),
|
|
944
|
+
...(input.PartyTypeString != null && { PartyTypeString: input.PartyTypeString }),
|
|
941
945
|
...(input.PersonalEmailAddress != null && { PersonalEmailAddress: input.PersonalEmailAddress }),
|
|
942
946
|
...(input.PhoneNumber != null && { PhoneNumber: input.PhoneNumber }),
|
|
943
947
|
...(input.ProfileId != null && { ProfileId: input.ProfileId }),
|
|
@@ -7,8 +7,8 @@ const sha256_browser_1 = require("@aws-crypto/sha256-browser");
|
|
|
7
7
|
const config_resolver_1 = require("@aws-sdk/config-resolver");
|
|
8
8
|
const fetch_http_handler_1 = require("@aws-sdk/fetch-http-handler");
|
|
9
9
|
const invalid_dependency_1 = require("@aws-sdk/invalid-dependency");
|
|
10
|
-
const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
11
10
|
const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
|
|
11
|
+
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
12
12
|
const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
|
|
13
13
|
const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
|
|
14
14
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
@@ -27,10 +27,10 @@ const getRuntimeConfig = (config) => {
|
|
|
27
27
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? ((_) => () => Promise.reject(new Error("Credential is missing"))),
|
|
28
28
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ??
|
|
29
29
|
(0, util_user_agent_browser_1.defaultUserAgent)({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
|
|
30
|
-
maxAttempts: config?.maxAttempts ??
|
|
30
|
+
maxAttempts: config?.maxAttempts ?? util_retry_1.DEFAULT_MAX_ATTEMPTS,
|
|
31
31
|
region: config?.region ?? (0, invalid_dependency_1.invalidProvider)("Region is missing"),
|
|
32
32
|
requestHandler: config?.requestHandler ?? new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
|
|
33
|
-
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode ||
|
|
33
|
+
retryMode: config?.retryMode ?? (async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE),
|
|
34
34
|
sha256: config?.sha256 ?? sha256_browser_1.Sha256,
|
|
35
35
|
streamCollector: config?.streamCollector ?? fetch_http_handler_1.streamCollector,
|
|
36
36
|
useDualstackEndpoint: config?.useDualstackEndpoint ?? (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
|
|
@@ -11,6 +11,7 @@ const middleware_retry_1 = require("@aws-sdk/middleware-retry");
|
|
|
11
11
|
const node_config_provider_1 = require("@aws-sdk/node-config-provider");
|
|
12
12
|
const node_http_handler_1 = require("@aws-sdk/node-http-handler");
|
|
13
13
|
const util_body_length_node_1 = require("@aws-sdk/util-body-length-node");
|
|
14
|
+
const util_retry_1 = require("@aws-sdk/util-retry");
|
|
14
15
|
const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
|
|
15
16
|
const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
|
|
16
17
|
const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
|
|
@@ -37,7 +38,7 @@ const getRuntimeConfig = (config) => {
|
|
|
37
38
|
retryMode: config?.retryMode ??
|
|
38
39
|
(0, node_config_provider_1.loadConfig)({
|
|
39
40
|
...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
|
|
40
|
-
default: async () => (await defaultConfigProvider()).retryMode ||
|
|
41
|
+
default: async () => (await defaultConfigProvider()).retryMode || util_retry_1.DEFAULT_RETRY_MODE,
|
|
41
42
|
}),
|
|
42
43
|
sha256: config?.sha256 ?? hash_node_1.Hash.bind(null, "sha256"),
|
|
43
44
|
streamCollector: config?.streamCollector ?? node_http_handler_1.streamCollector,
|
|
@@ -3,7 +3,7 @@ export const ruleSet = {
|
|
|
3
3
|
parameters: {
|
|
4
4
|
Region: {
|
|
5
5
|
builtIn: "AWS::Region",
|
|
6
|
-
required:
|
|
6
|
+
required: true,
|
|
7
7
|
documentation: "The AWS region used to dispatch the request.",
|
|
8
8
|
type: "String",
|
|
9
9
|
},
|
|
@@ -53,15 +53,6 @@ export const ruleSet = {
|
|
|
53
53
|
},
|
|
54
54
|
],
|
|
55
55
|
},
|
|
56
|
-
{
|
|
57
|
-
fn: "parseURL",
|
|
58
|
-
argv: [
|
|
59
|
-
{
|
|
60
|
-
ref: "Endpoint",
|
|
61
|
-
},
|
|
62
|
-
],
|
|
63
|
-
assign: "url",
|
|
64
|
-
},
|
|
65
56
|
],
|
|
66
57
|
type: "tree",
|
|
67
58
|
rules: [
|
|
@@ -101,6 +101,7 @@ export const serializeAws_restJson1CreateProfileCommand = async (input, context)
|
|
|
101
101
|
...(input.EmailAddress != null && { EmailAddress: input.EmailAddress }),
|
|
102
102
|
...(input.FirstName != null && { FirstName: input.FirstName }),
|
|
103
103
|
...(input.Gender != null && { Gender: input.Gender }),
|
|
104
|
+
...(input.GenderString != null && { GenderString: input.GenderString }),
|
|
104
105
|
...(input.HomePhoneNumber != null && { HomePhoneNumber: input.HomePhoneNumber }),
|
|
105
106
|
...(input.LastName != null && { LastName: input.LastName }),
|
|
106
107
|
...(input.MailingAddress != null && {
|
|
@@ -109,6 +110,7 @@ export const serializeAws_restJson1CreateProfileCommand = async (input, context)
|
|
|
109
110
|
...(input.MiddleName != null && { MiddleName: input.MiddleName }),
|
|
110
111
|
...(input.MobilePhoneNumber != null && { MobilePhoneNumber: input.MobilePhoneNumber }),
|
|
111
112
|
...(input.PartyType != null && { PartyType: input.PartyType }),
|
|
113
|
+
...(input.PartyTypeString != null && { PartyTypeString: input.PartyTypeString }),
|
|
112
114
|
...(input.PersonalEmailAddress != null && { PersonalEmailAddress: input.PersonalEmailAddress }),
|
|
113
115
|
...(input.PhoneNumber != null && { PhoneNumber: input.PhoneNumber }),
|
|
114
116
|
...(input.ShippingAddress != null && {
|
|
@@ -889,6 +891,7 @@ export const serializeAws_restJson1UpdateProfileCommand = async (input, context)
|
|
|
889
891
|
...(input.EmailAddress != null && { EmailAddress: input.EmailAddress }),
|
|
890
892
|
...(input.FirstName != null && { FirstName: input.FirstName }),
|
|
891
893
|
...(input.Gender != null && { Gender: input.Gender }),
|
|
894
|
+
...(input.GenderString != null && { GenderString: input.GenderString }),
|
|
892
895
|
...(input.HomePhoneNumber != null && { HomePhoneNumber: input.HomePhoneNumber }),
|
|
893
896
|
...(input.LastName != null && { LastName: input.LastName }),
|
|
894
897
|
...(input.MailingAddress != null && {
|
|
@@ -897,6 +900,7 @@ export const serializeAws_restJson1UpdateProfileCommand = async (input, context)
|
|
|
897
900
|
...(input.MiddleName != null && { MiddleName: input.MiddleName }),
|
|
898
901
|
...(input.MobilePhoneNumber != null && { MobilePhoneNumber: input.MobilePhoneNumber }),
|
|
899
902
|
...(input.PartyType != null && { PartyType: input.PartyType }),
|
|
903
|
+
...(input.PartyTypeString != null && { PartyTypeString: input.PartyTypeString }),
|
|
900
904
|
...(input.PersonalEmailAddress != null && { PersonalEmailAddress: input.PersonalEmailAddress }),
|
|
901
905
|
...(input.PhoneNumber != null && { PhoneNumber: input.PhoneNumber }),
|
|
902
906
|
...(input.ProfileId != null && { ProfileId: input.ProfileId }),
|
|
@@ -3,8 +3,8 @@ import { Sha256 } from "@aws-crypto/sha256-browser";
|
|
|
3
3
|
import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
|
|
4
4
|
import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
|
|
5
5
|
import { invalidProvider } from "@aws-sdk/invalid-dependency";
|
|
6
|
-
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
|
|
7
6
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
|
|
7
|
+
import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
8
8
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
|
|
9
9
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
|
|
10
10
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -3,10 +3,11 @@ import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
|
|
|
3
3
|
import { NODE_REGION_CONFIG_FILE_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, } from "@aws-sdk/config-resolver";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
5
|
import { Hash } from "@aws-sdk/hash-node";
|
|
6
|
-
import {
|
|
6
|
+
import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
|
|
7
7
|
import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
|
|
8
8
|
import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
|
|
9
9
|
import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
|
|
10
|
+
import { DEFAULT_RETRY_MODE } from "@aws-sdk/util-retry";
|
|
10
11
|
import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
|
|
11
12
|
import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
|
|
12
13
|
import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
|
|
@@ -141,7 +141,6 @@ export declare class CustomerProfiles extends CustomerProfilesClient {
|
|
|
141
141
|
* enables you to evaluate the accuracy of the attributes in your matching list. </p>
|
|
142
142
|
* <p>You can't view which profiles are matched and would be merged.</p>
|
|
143
143
|
* <important>
|
|
144
|
-
*
|
|
145
144
|
* <p>We strongly recommend you use this API to do a dry run of the automerging process
|
|
146
145
|
* before running the Identity Resolution Job. Include <b>at least</b> two matching
|
|
147
146
|
* attributes. If your matching list includes too few attributes (such as only
|
|
@@ -187,7 +186,6 @@ export declare class CustomerProfiles extends CustomerProfilesClient {
|
|
|
187
186
|
* API to return and review the results. Or, if you have configured <code>ExportingConfig</code> in the <code>MatchingRequest</code>, you can download the results from
|
|
188
187
|
* S3.</p>
|
|
189
188
|
* </important>
|
|
190
|
-
*
|
|
191
189
|
* <p>Amazon Connect uses the following profile attributes to identify matches:</p>
|
|
192
190
|
* <ul>
|
|
193
191
|
* <li>
|
|
@@ -334,7 +332,6 @@ export declare class CustomerProfiles extends CustomerProfilesClient {
|
|
|
334
332
|
* </li>
|
|
335
333
|
* <li>
|
|
336
334
|
* <p>When there are conflicting fields:</p>
|
|
337
|
-
*
|
|
338
335
|
* <ol>
|
|
339
336
|
* <li>
|
|
340
337
|
* <p>If no <code>SourceProfileIds</code> entry is specified, the main
|
|
@@ -15,7 +15,6 @@ export interface GetAutoMergingPreviewCommandOutput extends GetAutoMergingPrevie
|
|
|
15
15
|
* enables you to evaluate the accuracy of the attributes in your matching list. </p>
|
|
16
16
|
* <p>You can't view which profiles are matched and would be merged.</p>
|
|
17
17
|
* <important>
|
|
18
|
-
*
|
|
19
18
|
* <p>We strongly recommend you use this API to do a dry run of the automerging process
|
|
20
19
|
* before running the Identity Resolution Job. Include <b>at least</b> two matching
|
|
21
20
|
* attributes. If your matching list includes too few attributes (such as only
|
|
@@ -22,7 +22,6 @@ export interface GetMatchesCommandOutput extends GetMatchesResponse, __MetadataB
|
|
|
22
22
|
* API to return and review the results. Or, if you have configured <code>ExportingConfig</code> in the <code>MatchingRequest</code>, you can download the results from
|
|
23
23
|
* S3.</p>
|
|
24
24
|
* </important>
|
|
25
|
-
*
|
|
26
25
|
* <p>Amazon Connect uses the following profile attributes to identify matches:</p>
|
|
27
26
|
* <ul>
|
|
28
27
|
* <li>
|
|
@@ -12,7 +12,7 @@ export declare const resolveClientEndpointParameters: <T>(options: T & ClientInp
|
|
|
12
12
|
defaultSigningName: string;
|
|
13
13
|
};
|
|
14
14
|
export interface EndpointParameters extends __EndpointParameters {
|
|
15
|
-
Region
|
|
15
|
+
Region: string;
|
|
16
16
|
UseDualStack?: boolean;
|
|
17
17
|
UseFIPS?: boolean;
|
|
18
18
|
Endpoint?: string;
|
|
@@ -1070,6 +1070,14 @@ export interface CreateProfileRequest {
|
|
|
1070
1070
|
* <p>A key value pair of attributes of a customer profile.</p>
|
|
1071
1071
|
*/
|
|
1072
1072
|
Attributes?: Record<string, string>;
|
|
1073
|
+
/**
|
|
1074
|
+
* <p>An alternative to <code>PartyType</code> which accepts any string as input.</p>
|
|
1075
|
+
*/
|
|
1076
|
+
PartyTypeString?: string;
|
|
1077
|
+
/**
|
|
1078
|
+
* <p>An alternative to <code>Gender</code> which accepts any string as input.</p>
|
|
1079
|
+
*/
|
|
1080
|
+
GenderString?: string;
|
|
1073
1081
|
}
|
|
1074
1082
|
export interface CreateProfileResponse {
|
|
1075
1083
|
/**
|
|
@@ -3076,6 +3084,14 @@ export interface UpdateProfileRequest {
|
|
|
3076
3084
|
* <p>A key value pair of attributes of a customer profile.</p>
|
|
3077
3085
|
*/
|
|
3078
3086
|
Attributes?: Record<string, string>;
|
|
3087
|
+
/**
|
|
3088
|
+
* <p>An alternative to <code>PartyType</code> which accepts any string as input.</p>
|
|
3089
|
+
*/
|
|
3090
|
+
PartyTypeString?: string;
|
|
3091
|
+
/**
|
|
3092
|
+
* <p>An alternative to <code>Gender</code> which accepts any string as input.</p>
|
|
3093
|
+
*/
|
|
3094
|
+
GenderString?: string;
|
|
3079
3095
|
}
|
|
3080
3096
|
export interface UpdateProfileResponse {
|
|
3081
3097
|
/**
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: CustomerProfilesClientConfig) =>
|
|
|
31
31
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
32
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
33
33
|
tls?: boolean | undefined;
|
|
34
|
-
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
34
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
|
|
35
35
|
credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
|
|
36
36
|
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
37
37
|
signingEscapePath?: boolean | undefined;
|
|
@@ -31,7 +31,7 @@ export declare const getRuntimeConfig: (config: CustomerProfilesClientConfig) =>
|
|
|
31
31
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
32
32
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
33
33
|
tls?: boolean | undefined;
|
|
34
|
-
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
34
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
|
|
35
35
|
credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
|
|
36
36
|
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
37
37
|
signingEscapePath?: boolean | undefined;
|
|
@@ -30,7 +30,7 @@ export declare const getRuntimeConfig: (config: CustomerProfilesClientConfig) =>
|
|
|
30
30
|
logger?: import("@aws-sdk/types").Logger | undefined;
|
|
31
31
|
}) => import("@aws-sdk/types").EndpointV2;
|
|
32
32
|
tls?: boolean | undefined;
|
|
33
|
-
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
33
|
+
retryStrategy?: import("@aws-sdk/types").RetryStrategy | import("@aws-sdk/types").RetryStrategyV2 | undefined;
|
|
34
34
|
credentials?: import("@aws-sdk/types").AwsCredentialIdentity | import("@aws-sdk/types").Provider<import("@aws-sdk/types").AwsCredentialIdentity> | undefined;
|
|
35
35
|
signer?: import("@aws-sdk/types").RequestSigner | ((authScheme?: import("@aws-sdk/types").AuthScheme | undefined) => Promise<import("@aws-sdk/types").RequestSigner>) | undefined;
|
|
36
36
|
signingEscapePath?: boolean | undefined;
|
|
@@ -27,7 +27,7 @@ export declare const resolveClientEndpointParameters: <T>(
|
|
|
27
27
|
defaultSigningName: string;
|
|
28
28
|
};
|
|
29
29
|
export interface EndpointParameters extends __EndpointParameters {
|
|
30
|
-
Region
|
|
30
|
+
Region: string;
|
|
31
31
|
UseDualStack?: boolean;
|
|
32
32
|
UseFIPS?: boolean;
|
|
33
33
|
Endpoint?: string;
|
|
@@ -436,6 +436,8 @@ export interface CreateProfileRequest {
|
|
|
436
436
|
MailingAddress?: Address;
|
|
437
437
|
BillingAddress?: Address;
|
|
438
438
|
Attributes?: Record<string, string>;
|
|
439
|
+
PartyTypeString?: string;
|
|
440
|
+
GenderString?: string;
|
|
439
441
|
}
|
|
440
442
|
export interface CreateProfileResponse {
|
|
441
443
|
ProfileId: string | undefined;
|
|
@@ -1019,6 +1021,8 @@ export interface UpdateProfileRequest {
|
|
|
1019
1021
|
MailingAddress?: UpdateAddress;
|
|
1020
1022
|
BillingAddress?: UpdateAddress;
|
|
1021
1023
|
Attributes?: Record<string, string>;
|
|
1024
|
+
PartyTypeString?: string;
|
|
1025
|
+
GenderString?: string;
|
|
1022
1026
|
}
|
|
1023
1027
|
export interface UpdateProfileResponse {
|
|
1024
1028
|
ProfileId: string | undefined;
|
|
@@ -64,7 +64,10 @@ export declare const getRuntimeConfig: (
|
|
|
64
64
|
}
|
|
65
65
|
) => import("@aws-sdk/types").EndpointV2;
|
|
66
66
|
tls?: boolean | undefined;
|
|
67
|
-
retryStrategy?:
|
|
67
|
+
retryStrategy?:
|
|
68
|
+
| import("@aws-sdk/types").RetryStrategy
|
|
69
|
+
| import("@aws-sdk/types").RetryStrategyV2
|
|
70
|
+
| undefined;
|
|
68
71
|
credentials?:
|
|
69
72
|
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
70
73
|
| import("@aws-sdk/types").Provider<
|
|
@@ -64,7 +64,10 @@ export declare const getRuntimeConfig: (
|
|
|
64
64
|
}
|
|
65
65
|
) => import("@aws-sdk/types").EndpointV2;
|
|
66
66
|
tls?: boolean | undefined;
|
|
67
|
-
retryStrategy?:
|
|
67
|
+
retryStrategy?:
|
|
68
|
+
| import("@aws-sdk/types").RetryStrategy
|
|
69
|
+
| import("@aws-sdk/types").RetryStrategyV2
|
|
70
|
+
| undefined;
|
|
68
71
|
credentials?:
|
|
69
72
|
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
70
73
|
| import("@aws-sdk/types").Provider<
|
|
@@ -53,7 +53,10 @@ export declare const getRuntimeConfig: (
|
|
|
53
53
|
}
|
|
54
54
|
) => import("@aws-sdk/types").EndpointV2;
|
|
55
55
|
tls?: boolean | undefined;
|
|
56
|
-
retryStrategy?:
|
|
56
|
+
retryStrategy?:
|
|
57
|
+
| import("@aws-sdk/types").RetryStrategy
|
|
58
|
+
| import("@aws-sdk/types").RetryStrategyV2
|
|
59
|
+
| undefined;
|
|
57
60
|
credentials?:
|
|
58
61
|
| import("@aws-sdk/types").AwsCredentialIdentity
|
|
59
62
|
| import("@aws-sdk/types").Provider<
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-customer-profiles",
|
|
3
3
|
"description": "AWS SDK for JavaScript Customer Profiles Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.231.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
|
|
7
7
|
"build:cjs": "tsc -p tsconfig.cjs.json",
|
|
@@ -19,9 +19,9 @@
|
|
|
19
19
|
"dependencies": {
|
|
20
20
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
21
21
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
22
|
-
"@aws-sdk/client-sts": "3.
|
|
23
|
-
"@aws-sdk/config-resolver": "3.
|
|
24
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
22
|
+
"@aws-sdk/client-sts": "3.231.0",
|
|
23
|
+
"@aws-sdk/config-resolver": "3.231.0",
|
|
24
|
+
"@aws-sdk/credential-provider-node": "3.231.0",
|
|
25
25
|
"@aws-sdk/fetch-http-handler": "3.226.0",
|
|
26
26
|
"@aws-sdk/hash-node": "3.226.0",
|
|
27
27
|
"@aws-sdk/invalid-dependency": "3.226.0",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@aws-sdk/middleware-host-header": "3.226.0",
|
|
31
31
|
"@aws-sdk/middleware-logger": "3.226.0",
|
|
32
32
|
"@aws-sdk/middleware-recursion-detection": "3.226.0",
|
|
33
|
-
"@aws-sdk/middleware-retry": "3.
|
|
33
|
+
"@aws-sdk/middleware-retry": "3.229.0",
|
|
34
34
|
"@aws-sdk/middleware-serde": "3.226.0",
|
|
35
35
|
"@aws-sdk/middleware-signing": "3.226.0",
|
|
36
36
|
"@aws-sdk/middleware-stack": "3.226.0",
|
|
@@ -45,8 +45,9 @@
|
|
|
45
45
|
"@aws-sdk/util-body-length-browser": "3.188.0",
|
|
46
46
|
"@aws-sdk/util-body-length-node": "3.208.0",
|
|
47
47
|
"@aws-sdk/util-defaults-mode-browser": "3.226.0",
|
|
48
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
48
|
+
"@aws-sdk/util-defaults-mode-node": "3.231.0",
|
|
49
49
|
"@aws-sdk/util-endpoints": "3.226.0",
|
|
50
|
+
"@aws-sdk/util-retry": "3.229.0",
|
|
50
51
|
"@aws-sdk/util-user-agent-browser": "3.226.0",
|
|
51
52
|
"@aws-sdk/util-user-agent-node": "3.226.0",
|
|
52
53
|
"@aws-sdk/util-utf8-browser": "3.188.0",
|