@aws-sdk/client-customer-profiles 3.54.1 → 3.55.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/CHANGELOG.md +8 -0
- package/dist-cjs/CustomerProfilesClient.js +13 -13
- package/dist-cjs/commands/AddProfileKeyCommand.js +3 -3
- package/dist-cjs/commands/CreateDomainCommand.js +3 -3
- package/dist-cjs/commands/CreateIntegrationWorkflowCommand.js +3 -3
- package/dist-cjs/commands/CreateProfileCommand.js +3 -3
- package/dist-cjs/commands/DeleteDomainCommand.js +3 -3
- package/dist-cjs/commands/DeleteIntegrationCommand.js +3 -3
- package/dist-cjs/commands/DeleteProfileCommand.js +3 -3
- package/dist-cjs/commands/DeleteProfileKeyCommand.js +3 -3
- package/dist-cjs/commands/DeleteProfileObjectCommand.js +3 -3
- package/dist-cjs/commands/DeleteProfileObjectTypeCommand.js +3 -3
- package/dist-cjs/commands/DeleteWorkflowCommand.js +3 -3
- package/dist-cjs/commands/GetAutoMergingPreviewCommand.js +3 -3
- package/dist-cjs/commands/GetDomainCommand.js +3 -3
- package/dist-cjs/commands/GetIdentityResolutionJobCommand.js +3 -3
- package/dist-cjs/commands/GetIntegrationCommand.js +3 -3
- package/dist-cjs/commands/GetMatchesCommand.js +3 -3
- package/dist-cjs/commands/GetProfileObjectTypeCommand.js +3 -3
- package/dist-cjs/commands/GetProfileObjectTypeTemplateCommand.js +3 -3
- package/dist-cjs/commands/GetWorkflowCommand.js +3 -3
- package/dist-cjs/commands/GetWorkflowStepsCommand.js +3 -3
- package/dist-cjs/commands/ListAccountIntegrationsCommand.js +3 -3
- package/dist-cjs/commands/ListDomainsCommand.js +3 -3
- package/dist-cjs/commands/ListIdentityResolutionJobsCommand.js +3 -3
- package/dist-cjs/commands/ListIntegrationsCommand.js +3 -3
- package/dist-cjs/commands/ListProfileObjectTypeTemplatesCommand.js +3 -3
- package/dist-cjs/commands/ListProfileObjectTypesCommand.js +3 -3
- package/dist-cjs/commands/ListProfileObjectsCommand.js +3 -3
- package/dist-cjs/commands/ListTagsForResourceCommand.js +3 -3
- package/dist-cjs/commands/ListWorkflowsCommand.js +3 -3
- package/dist-cjs/commands/MergeProfilesCommand.js +3 -3
- package/dist-cjs/commands/PutIntegrationCommand.js +3 -3
- package/dist-cjs/commands/PutProfileObjectCommand.js +3 -3
- package/dist-cjs/commands/PutProfileObjectTypeCommand.js +3 -3
- package/dist-cjs/commands/SearchProfilesCommand.js +3 -3
- package/dist-cjs/commands/TagResourceCommand.js +3 -3
- package/dist-cjs/commands/UntagResourceCommand.js +3 -3
- package/dist-cjs/commands/UpdateDomainCommand.js +3 -3
- package/dist-cjs/commands/UpdateProfileCommand.js +3 -3
- package/dist-cjs/endpoints.js +1 -1
- package/dist-cjs/protocols/Aws_restJson1.js +326 -326
- package/dist-cjs/runtimeConfig.browser.js +4 -4
- package/dist-cjs/runtimeConfig.js +9 -9
- package/dist-cjs/runtimeConfig.native.js +1 -1
- package/dist-es/CustomerProfiles.js +38 -38
- package/dist-es/protocols/Aws_restJson1.js +38 -38
- package/dist-types/runtimeConfig.native.d.ts +2 -2
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -2
- package/package.json +34 -34
|
@@ -13,7 +13,7 @@ export var serializeAws_restJson1AddProfileKeyCommand = function (input, context
|
|
|
13
13
|
headers = {
|
|
14
14
|
"content-type": "application/json",
|
|
15
15
|
};
|
|
16
|
-
resolvedPath = ""
|
|
16
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains/{DomainName}/profiles/keys";
|
|
17
17
|
if (input.DomainName !== undefined) {
|
|
18
18
|
labelValue = input.DomainName;
|
|
19
19
|
if (labelValue.length <= 0) {
|
|
@@ -48,7 +48,7 @@ export var serializeAws_restJson1CreateDomainCommand = function (input, context)
|
|
|
48
48
|
headers = {
|
|
49
49
|
"content-type": "application/json",
|
|
50
50
|
};
|
|
51
|
-
resolvedPath = ""
|
|
51
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains/{DomainName}";
|
|
52
52
|
if (input.DomainName !== undefined) {
|
|
53
53
|
labelValue = input.DomainName;
|
|
54
54
|
if (labelValue.length <= 0) {
|
|
@@ -86,7 +86,7 @@ export var serializeAws_restJson1CreateIntegrationWorkflowCommand = function (in
|
|
|
86
86
|
headers = {
|
|
87
87
|
"content-type": "application/json",
|
|
88
88
|
};
|
|
89
|
-
resolvedPath = ""
|
|
89
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
90
90
|
"/domains/{DomainName}/workflows/integrations";
|
|
91
91
|
if (input.DomainName !== undefined) {
|
|
92
92
|
labelValue = input.DomainName;
|
|
@@ -125,7 +125,7 @@ export var serializeAws_restJson1CreateProfileCommand = function (input, context
|
|
|
125
125
|
headers = {
|
|
126
126
|
"content-type": "application/json",
|
|
127
127
|
};
|
|
128
|
-
resolvedPath = ""
|
|
128
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains/{DomainName}/profiles";
|
|
129
129
|
if (input.DomainName !== undefined) {
|
|
130
130
|
labelValue = input.DomainName;
|
|
131
131
|
if (labelValue.length <= 0) {
|
|
@@ -174,7 +174,7 @@ export var serializeAws_restJson1DeleteDomainCommand = function (input, context)
|
|
|
174
174
|
case 1:
|
|
175
175
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
176
176
|
headers = {};
|
|
177
|
-
resolvedPath = ""
|
|
177
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains/{DomainName}";
|
|
178
178
|
if (input.DomainName !== undefined) {
|
|
179
179
|
labelValue = input.DomainName;
|
|
180
180
|
if (labelValue.length <= 0) {
|
|
@@ -207,7 +207,7 @@ export var serializeAws_restJson1DeleteIntegrationCommand = function (input, con
|
|
|
207
207
|
headers = {
|
|
208
208
|
"content-type": "application/json",
|
|
209
209
|
};
|
|
210
|
-
resolvedPath = ""
|
|
210
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains/{DomainName}/integrations/delete";
|
|
211
211
|
if (input.DomainName !== undefined) {
|
|
212
212
|
labelValue = input.DomainName;
|
|
213
213
|
if (labelValue.length <= 0) {
|
|
@@ -241,7 +241,7 @@ export var serializeAws_restJson1DeleteProfileCommand = function (input, context
|
|
|
241
241
|
headers = {
|
|
242
242
|
"content-type": "application/json",
|
|
243
243
|
};
|
|
244
|
-
resolvedPath = ""
|
|
244
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains/{DomainName}/profiles/delete";
|
|
245
245
|
if (input.DomainName !== undefined) {
|
|
246
246
|
labelValue = input.DomainName;
|
|
247
247
|
if (labelValue.length <= 0) {
|
|
@@ -275,7 +275,7 @@ export var serializeAws_restJson1DeleteProfileKeyCommand = function (input, cont
|
|
|
275
275
|
headers = {
|
|
276
276
|
"content-type": "application/json",
|
|
277
277
|
};
|
|
278
|
-
resolvedPath = ""
|
|
278
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
279
279
|
"/domains/{DomainName}/profiles/keys/delete";
|
|
280
280
|
if (input.DomainName !== undefined) {
|
|
281
281
|
labelValue = input.DomainName;
|
|
@@ -311,7 +311,7 @@ export var serializeAws_restJson1DeleteProfileObjectCommand = function (input, c
|
|
|
311
311
|
headers = {
|
|
312
312
|
"content-type": "application/json",
|
|
313
313
|
};
|
|
314
|
-
resolvedPath = ""
|
|
314
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
315
315
|
"/domains/{DomainName}/profiles/objects/delete";
|
|
316
316
|
if (input.DomainName !== undefined) {
|
|
317
317
|
labelValue = input.DomainName;
|
|
@@ -346,7 +346,7 @@ export var serializeAws_restJson1DeleteProfileObjectTypeCommand = function (inpu
|
|
|
346
346
|
case 1:
|
|
347
347
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
348
348
|
headers = {};
|
|
349
|
-
resolvedPath = ""
|
|
349
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
350
350
|
"/domains/{DomainName}/object-types/{ObjectTypeName}";
|
|
351
351
|
if (input.DomainName !== undefined) {
|
|
352
352
|
labelValue = input.DomainName;
|
|
@@ -388,7 +388,7 @@ export var serializeAws_restJson1DeleteWorkflowCommand = function (input, contex
|
|
|
388
388
|
case 1:
|
|
389
389
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
390
390
|
headers = {};
|
|
391
|
-
resolvedPath = ""
|
|
391
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
392
392
|
"/domains/{DomainName}/workflows/{WorkflowId}";
|
|
393
393
|
if (input.DomainName !== undefined) {
|
|
394
394
|
labelValue = input.DomainName;
|
|
@@ -432,7 +432,7 @@ export var serializeAws_restJson1GetAutoMergingPreviewCommand = function (input,
|
|
|
432
432
|
headers = {
|
|
433
433
|
"content-type": "application/json",
|
|
434
434
|
};
|
|
435
|
-
resolvedPath = ""
|
|
435
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
436
436
|
"/domains/{DomainName}/identity-resolution-jobs/auto-merging-preview";
|
|
437
437
|
if (input.DomainName !== undefined) {
|
|
438
438
|
labelValue = input.DomainName;
|
|
@@ -471,7 +471,7 @@ export var serializeAws_restJson1GetDomainCommand = function (input, context) {
|
|
|
471
471
|
case 1:
|
|
472
472
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
473
473
|
headers = {};
|
|
474
|
-
resolvedPath = ""
|
|
474
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains/{DomainName}";
|
|
475
475
|
if (input.DomainName !== undefined) {
|
|
476
476
|
labelValue = input.DomainName;
|
|
477
477
|
if (labelValue.length <= 0) {
|
|
@@ -502,7 +502,7 @@ export var serializeAws_restJson1GetIdentityResolutionJobCommand = function (inp
|
|
|
502
502
|
case 1:
|
|
503
503
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
504
504
|
headers = {};
|
|
505
|
-
resolvedPath = ""
|
|
505
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
506
506
|
"/domains/{DomainName}/identity-resolution-jobs/{JobId}";
|
|
507
507
|
if (input.DomainName !== undefined) {
|
|
508
508
|
labelValue = input.DomainName;
|
|
@@ -546,7 +546,7 @@ export var serializeAws_restJson1GetIntegrationCommand = function (input, contex
|
|
|
546
546
|
headers = {
|
|
547
547
|
"content-type": "application/json",
|
|
548
548
|
};
|
|
549
|
-
resolvedPath = ""
|
|
549
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains/{DomainName}/integrations";
|
|
550
550
|
if (input.DomainName !== undefined) {
|
|
551
551
|
labelValue = input.DomainName;
|
|
552
552
|
if (labelValue.length <= 0) {
|
|
@@ -578,7 +578,7 @@ export var serializeAws_restJson1GetMatchesCommand = function (input, context) {
|
|
|
578
578
|
case 1:
|
|
579
579
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
580
580
|
headers = {};
|
|
581
|
-
resolvedPath = ""
|
|
581
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains/{DomainName}/matches";
|
|
582
582
|
if (input.DomainName !== undefined) {
|
|
583
583
|
labelValue = input.DomainName;
|
|
584
584
|
if (labelValue.length <= 0) {
|
|
@@ -611,7 +611,7 @@ export var serializeAws_restJson1GetProfileObjectTypeCommand = function (input,
|
|
|
611
611
|
case 1:
|
|
612
612
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
613
613
|
headers = {};
|
|
614
|
-
resolvedPath = ""
|
|
614
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
615
615
|
"/domains/{DomainName}/object-types/{ObjectTypeName}";
|
|
616
616
|
if (input.DomainName !== undefined) {
|
|
617
617
|
labelValue = input.DomainName;
|
|
@@ -653,7 +653,7 @@ export var serializeAws_restJson1GetProfileObjectTypeTemplateCommand = function
|
|
|
653
653
|
case 1:
|
|
654
654
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
655
655
|
headers = {};
|
|
656
|
-
resolvedPath = ""
|
|
656
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/templates/{TemplateId}";
|
|
657
657
|
if (input.TemplateId !== undefined) {
|
|
658
658
|
labelValue = input.TemplateId;
|
|
659
659
|
if (labelValue.length <= 0) {
|
|
@@ -684,7 +684,7 @@ export var serializeAws_restJson1GetWorkflowCommand = function (input, context)
|
|
|
684
684
|
case 1:
|
|
685
685
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
686
686
|
headers = {};
|
|
687
|
-
resolvedPath = ""
|
|
687
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
688
688
|
"/domains/{DomainName}/workflows/{WorkflowId}";
|
|
689
689
|
if (input.DomainName !== undefined) {
|
|
690
690
|
labelValue = input.DomainName;
|
|
@@ -726,7 +726,7 @@ export var serializeAws_restJson1GetWorkflowStepsCommand = function (input, cont
|
|
|
726
726
|
case 1:
|
|
727
727
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
728
728
|
headers = {};
|
|
729
|
-
resolvedPath = ""
|
|
729
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
730
730
|
"/domains/{DomainName}/workflows/{WorkflowId}/steps";
|
|
731
731
|
if (input.DomainName !== undefined) {
|
|
732
732
|
labelValue = input.DomainName;
|
|
@@ -772,7 +772,7 @@ export var serializeAws_restJson1ListAccountIntegrationsCommand = function (inpu
|
|
|
772
772
|
headers = {
|
|
773
773
|
"content-type": "application/json",
|
|
774
774
|
};
|
|
775
|
-
resolvedPath = ""
|
|
775
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/integrations";
|
|
776
776
|
query = __assign(__assign(__assign({}, (input.NextToken !== undefined && { "next-token": input.NextToken })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() })), (input.IncludeHidden !== undefined && { "include-hidden": input.IncludeHidden.toString() }));
|
|
777
777
|
body = JSON.stringify(__assign({}, (input.Uri !== undefined && input.Uri !== null && { Uri: input.Uri })));
|
|
778
778
|
return [2, new __HttpRequest({
|
|
@@ -796,7 +796,7 @@ export var serializeAws_restJson1ListDomainsCommand = function (input, context)
|
|
|
796
796
|
case 1:
|
|
797
797
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
798
798
|
headers = {};
|
|
799
|
-
resolvedPath = ""
|
|
799
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains";
|
|
800
800
|
query = __assign(__assign({}, (input.NextToken !== undefined && { "next-token": input.NextToken })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }));
|
|
801
801
|
return [2, new __HttpRequest({
|
|
802
802
|
protocol: protocol,
|
|
@@ -819,7 +819,7 @@ export var serializeAws_restJson1ListIdentityResolutionJobsCommand = function (i
|
|
|
819
819
|
case 1:
|
|
820
820
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
821
821
|
headers = {};
|
|
822
|
-
resolvedPath = ""
|
|
822
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
823
823
|
"/domains/{DomainName}/identity-resolution-jobs";
|
|
824
824
|
if (input.DomainName !== undefined) {
|
|
825
825
|
labelValue = input.DomainName;
|
|
@@ -853,7 +853,7 @@ export var serializeAws_restJson1ListIntegrationsCommand = function (input, cont
|
|
|
853
853
|
case 1:
|
|
854
854
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
855
855
|
headers = {};
|
|
856
|
-
resolvedPath = ""
|
|
856
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains/{DomainName}/integrations";
|
|
857
857
|
if (input.DomainName !== undefined) {
|
|
858
858
|
labelValue = input.DomainName;
|
|
859
859
|
if (labelValue.length <= 0) {
|
|
@@ -888,7 +888,7 @@ export var serializeAws_restJson1ListProfileObjectsCommand = function (input, co
|
|
|
888
888
|
headers = {
|
|
889
889
|
"content-type": "application/json",
|
|
890
890
|
};
|
|
891
|
-
resolvedPath = ""
|
|
891
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains/{DomainName}/profiles/objects";
|
|
892
892
|
if (input.DomainName !== undefined) {
|
|
893
893
|
labelValue = input.DomainName;
|
|
894
894
|
if (labelValue.length <= 0) {
|
|
@@ -924,7 +924,7 @@ export var serializeAws_restJson1ListProfileObjectTypesCommand = function (input
|
|
|
924
924
|
case 1:
|
|
925
925
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
926
926
|
headers = {};
|
|
927
|
-
resolvedPath = ""
|
|
927
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains/{DomainName}/object-types";
|
|
928
928
|
if (input.DomainName !== undefined) {
|
|
929
929
|
labelValue = input.DomainName;
|
|
930
930
|
if (labelValue.length <= 0) {
|
|
@@ -957,7 +957,7 @@ export var serializeAws_restJson1ListProfileObjectTypeTemplatesCommand = functio
|
|
|
957
957
|
case 1:
|
|
958
958
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
959
959
|
headers = {};
|
|
960
|
-
resolvedPath = ""
|
|
960
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/templates";
|
|
961
961
|
query = __assign(__assign({}, (input.NextToken !== undefined && { "next-token": input.NextToken })), (input.MaxResults !== undefined && { "max-results": input.MaxResults.toString() }));
|
|
962
962
|
return [2, new __HttpRequest({
|
|
963
963
|
protocol: protocol,
|
|
@@ -980,7 +980,7 @@ export var serializeAws_restJson1ListTagsForResourceCommand = function (input, c
|
|
|
980
980
|
case 1:
|
|
981
981
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
982
982
|
headers = {};
|
|
983
|
-
resolvedPath = ""
|
|
983
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
984
984
|
if (input.resourceArn !== undefined) {
|
|
985
985
|
labelValue = input.resourceArn;
|
|
986
986
|
if (labelValue.length <= 0) {
|
|
@@ -1013,7 +1013,7 @@ export var serializeAws_restJson1ListWorkflowsCommand = function (input, context
|
|
|
1013
1013
|
headers = {
|
|
1014
1014
|
"content-type": "application/json",
|
|
1015
1015
|
};
|
|
1016
|
-
resolvedPath = ""
|
|
1016
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains/{DomainName}/workflows";
|
|
1017
1017
|
if (input.DomainName !== undefined) {
|
|
1018
1018
|
labelValue = input.DomainName;
|
|
1019
1019
|
if (labelValue.length <= 0) {
|
|
@@ -1051,7 +1051,7 @@ export var serializeAws_restJson1MergeProfilesCommand = function (input, context
|
|
|
1051
1051
|
headers = {
|
|
1052
1052
|
"content-type": "application/json",
|
|
1053
1053
|
};
|
|
1054
|
-
resolvedPath = ""
|
|
1054
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1055
1055
|
"/domains/{DomainName}/profiles/objects/merge";
|
|
1056
1056
|
if (input.DomainName !== undefined) {
|
|
1057
1057
|
labelValue = input.DomainName;
|
|
@@ -1092,7 +1092,7 @@ export var serializeAws_restJson1PutIntegrationCommand = function (input, contex
|
|
|
1092
1092
|
headers = {
|
|
1093
1093
|
"content-type": "application/json",
|
|
1094
1094
|
};
|
|
1095
|
-
resolvedPath = ""
|
|
1095
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains/{DomainName}/integrations";
|
|
1096
1096
|
if (input.DomainName !== undefined) {
|
|
1097
1097
|
labelValue = input.DomainName;
|
|
1098
1098
|
if (labelValue.length <= 0) {
|
|
@@ -1133,7 +1133,7 @@ export var serializeAws_restJson1PutProfileObjectCommand = function (input, cont
|
|
|
1133
1133
|
headers = {
|
|
1134
1134
|
"content-type": "application/json",
|
|
1135
1135
|
};
|
|
1136
|
-
resolvedPath = ""
|
|
1136
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains/{DomainName}/profiles/objects";
|
|
1137
1137
|
if (input.DomainName !== undefined) {
|
|
1138
1138
|
labelValue = input.DomainName;
|
|
1139
1139
|
if (labelValue.length <= 0) {
|
|
@@ -1168,7 +1168,7 @@ export var serializeAws_restJson1PutProfileObjectTypeCommand = function (input,
|
|
|
1168
1168
|
headers = {
|
|
1169
1169
|
"content-type": "application/json",
|
|
1170
1170
|
};
|
|
1171
|
-
resolvedPath = ""
|
|
1171
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") +
|
|
1172
1172
|
"/domains/{DomainName}/object-types/{ObjectTypeName}";
|
|
1173
1173
|
if (input.DomainName !== undefined) {
|
|
1174
1174
|
labelValue = input.DomainName;
|
|
@@ -1219,7 +1219,7 @@ export var serializeAws_restJson1SearchProfilesCommand = function (input, contex
|
|
|
1219
1219
|
headers = {
|
|
1220
1220
|
"content-type": "application/json",
|
|
1221
1221
|
};
|
|
1222
|
-
resolvedPath = ""
|
|
1222
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains/{DomainName}/profiles/search";
|
|
1223
1223
|
if (input.DomainName !== undefined) {
|
|
1224
1224
|
labelValue = input.DomainName;
|
|
1225
1225
|
if (labelValue.length <= 0) {
|
|
@@ -1256,7 +1256,7 @@ export var serializeAws_restJson1TagResourceCommand = function (input, context)
|
|
|
1256
1256
|
headers = {
|
|
1257
1257
|
"content-type": "application/json",
|
|
1258
1258
|
};
|
|
1259
|
-
resolvedPath = ""
|
|
1259
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
1260
1260
|
if (input.resourceArn !== undefined) {
|
|
1261
1261
|
labelValue = input.resourceArn;
|
|
1262
1262
|
if (labelValue.length <= 0) {
|
|
@@ -1288,7 +1288,7 @@ export var serializeAws_restJson1UntagResourceCommand = function (input, context
|
|
|
1288
1288
|
case 1:
|
|
1289
1289
|
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
1290
1290
|
headers = {};
|
|
1291
|
-
resolvedPath = ""
|
|
1291
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/tags/{resourceArn}";
|
|
1292
1292
|
if (input.resourceArn !== undefined) {
|
|
1293
1293
|
labelValue = input.resourceArn;
|
|
1294
1294
|
if (labelValue.length <= 0) {
|
|
@@ -1323,7 +1323,7 @@ export var serializeAws_restJson1UpdateDomainCommand = function (input, context)
|
|
|
1323
1323
|
headers = {
|
|
1324
1324
|
"content-type": "application/json",
|
|
1325
1325
|
};
|
|
1326
|
-
resolvedPath = ""
|
|
1326
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains/{DomainName}";
|
|
1327
1327
|
if (input.DomainName !== undefined) {
|
|
1328
1328
|
labelValue = input.DomainName;
|
|
1329
1329
|
if (labelValue.length <= 0) {
|
|
@@ -1361,7 +1361,7 @@ export var serializeAws_restJson1UpdateProfileCommand = function (input, context
|
|
|
1361
1361
|
headers = {
|
|
1362
1362
|
"content-type": "application/json",
|
|
1363
1363
|
};
|
|
1364
|
-
resolvedPath = ""
|
|
1364
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/domains/{DomainName}/profiles";
|
|
1365
1365
|
if (input.DomainName !== undefined) {
|
|
1366
1366
|
labelValue = input.DomainName;
|
|
1367
1367
|
if (labelValue.length <= 0) {
|
|
@@ -21,11 +21,11 @@ export declare const getRuntimeConfig: (config: CustomerProfilesClientConfig) =>
|
|
|
21
21
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
22
22
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
23
23
|
serviceId: string;
|
|
24
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
24
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
25
25
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
26
26
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
27
27
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
28
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
28
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
29
29
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
30
30
|
tls?: boolean | undefined;
|
|
31
31
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
|
@@ -19,11 +19,11 @@ export declare const getRuntimeConfig: (config: CustomerProfilesClientConfig) =>
|
|
|
19
19
|
useDualstackEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
20
20
|
useFipsEndpoint: boolean | import("@aws-sdk/types").Provider<boolean>;
|
|
21
21
|
serviceId: string;
|
|
22
|
-
region: string | import("@aws-sdk/types").Provider<
|
|
22
|
+
region: string | import("@aws-sdk/types").Provider<any>;
|
|
23
23
|
credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
|
|
24
24
|
regionInfoProvider: import("@aws-sdk/types").RegionInfoProvider;
|
|
25
25
|
defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
|
|
26
|
-
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode
|
|
26
|
+
defaultsMode: import("@aws-sdk/smithy-client").DefaultsMode | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").DefaultsMode>;
|
|
27
27
|
endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
|
|
28
28
|
tls?: boolean | undefined;
|
|
29
29
|
retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
|
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.55.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",
|
|
@@ -18,47 +18,47 @@
|
|
|
18
18
|
"dependencies": {
|
|
19
19
|
"@aws-crypto/sha256-browser": "2.0.0",
|
|
20
20
|
"@aws-crypto/sha256-js": "2.0.0",
|
|
21
|
-
"@aws-sdk/client-sts": "3.
|
|
22
|
-
"@aws-sdk/config-resolver": "3.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
24
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
25
|
-
"@aws-sdk/hash-node": "3.
|
|
26
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
27
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
28
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
29
|
-
"@aws-sdk/middleware-logger": "3.
|
|
30
|
-
"@aws-sdk/middleware-retry": "3.
|
|
31
|
-
"@aws-sdk/middleware-serde": "3.
|
|
32
|
-
"@aws-sdk/middleware-signing": "3.
|
|
33
|
-
"@aws-sdk/middleware-stack": "3.
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
35
|
-
"@aws-sdk/node-config-provider": "3.
|
|
36
|
-
"@aws-sdk/node-http-handler": "3.
|
|
37
|
-
"@aws-sdk/protocol-http": "3.
|
|
38
|
-
"@aws-sdk/smithy-client": "3.
|
|
39
|
-
"@aws-sdk/types": "3.
|
|
40
|
-
"@aws-sdk/url-parser": "3.
|
|
41
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
42
|
-
"@aws-sdk/util-base64-node": "3.
|
|
43
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
44
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
45
|
-
"@aws-sdk/util-defaults-mode-browser": "3.
|
|
46
|
-
"@aws-sdk/util-defaults-mode-node": "3.
|
|
47
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
48
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
49
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
50
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
51
|
-
"tslib": "^2.3.
|
|
21
|
+
"@aws-sdk/client-sts": "3.55.0",
|
|
22
|
+
"@aws-sdk/config-resolver": "3.55.0",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "3.55.0",
|
|
24
|
+
"@aws-sdk/fetch-http-handler": "3.55.0",
|
|
25
|
+
"@aws-sdk/hash-node": "3.55.0",
|
|
26
|
+
"@aws-sdk/invalid-dependency": "3.55.0",
|
|
27
|
+
"@aws-sdk/middleware-content-length": "3.55.0",
|
|
28
|
+
"@aws-sdk/middleware-host-header": "3.55.0",
|
|
29
|
+
"@aws-sdk/middleware-logger": "3.55.0",
|
|
30
|
+
"@aws-sdk/middleware-retry": "3.55.0",
|
|
31
|
+
"@aws-sdk/middleware-serde": "3.55.0",
|
|
32
|
+
"@aws-sdk/middleware-signing": "3.55.0",
|
|
33
|
+
"@aws-sdk/middleware-stack": "3.55.0",
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "3.55.0",
|
|
35
|
+
"@aws-sdk/node-config-provider": "3.55.0",
|
|
36
|
+
"@aws-sdk/node-http-handler": "3.55.0",
|
|
37
|
+
"@aws-sdk/protocol-http": "3.55.0",
|
|
38
|
+
"@aws-sdk/smithy-client": "3.55.0",
|
|
39
|
+
"@aws-sdk/types": "3.55.0",
|
|
40
|
+
"@aws-sdk/url-parser": "3.55.0",
|
|
41
|
+
"@aws-sdk/util-base64-browser": "3.55.0",
|
|
42
|
+
"@aws-sdk/util-base64-node": "3.55.0",
|
|
43
|
+
"@aws-sdk/util-body-length-browser": "3.55.0",
|
|
44
|
+
"@aws-sdk/util-body-length-node": "3.55.0",
|
|
45
|
+
"@aws-sdk/util-defaults-mode-browser": "3.55.0",
|
|
46
|
+
"@aws-sdk/util-defaults-mode-node": "3.55.0",
|
|
47
|
+
"@aws-sdk/util-user-agent-browser": "3.55.0",
|
|
48
|
+
"@aws-sdk/util-user-agent-node": "3.55.0",
|
|
49
|
+
"@aws-sdk/util-utf8-browser": "3.55.0",
|
|
50
|
+
"@aws-sdk/util-utf8-node": "3.55.0",
|
|
51
|
+
"tslib": "^2.3.1"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@aws-sdk/service-client-documentation-generator": "3.
|
|
54
|
+
"@aws-sdk/service-client-documentation-generator": "3.55.0",
|
|
55
55
|
"@tsconfig/recommended": "1.0.1",
|
|
56
56
|
"@types/node": "^12.7.5",
|
|
57
57
|
"concurrently": "7.0.0",
|
|
58
58
|
"downlevel-dts": "0.7.0",
|
|
59
59
|
"rimraf": "3.0.2",
|
|
60
60
|
"typedoc": "0.19.2",
|
|
61
|
-
"typescript": "~4.
|
|
61
|
+
"typescript": "~4.6.2"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=12.0.0"
|