@aws-sdk/client-customer-profiles 3.1160.0 → 3.1162.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/index.js +8 -4
- package/dist-es/runtimeConfig.js +2 -1
- package/dist-es/schemas/schemas_0.js +5 -2
- package/dist-types/commands/GetProfileObjectTypeTemplateCommand.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +21 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +3 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +1 -0
- package/package.json +5 -5
package/dist-cjs/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
1
|
+
const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, getDefaultSocketTimeout, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
|
|
2
2
|
const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
|
|
3
3
|
const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
|
|
4
4
|
const { Command: $Command } = require("@smithy/core/client");
|
|
@@ -69,7 +69,7 @@ const commonParams = {
|
|
|
69
69
|
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
|
|
70
70
|
};
|
|
71
71
|
|
|
72
|
-
var version = "3.
|
|
72
|
+
var version = "3.1161.0";
|
|
73
73
|
var packageInfo = {
|
|
74
74
|
version: version};
|
|
75
75
|
|
|
@@ -406,6 +406,8 @@ const _DIRe = "DeleteIntegrationResponse";
|
|
|
406
406
|
const _DL = "DimensionList";
|
|
407
407
|
const _DLQU = "DeadLetterQueueUrl";
|
|
408
408
|
const _DLo = "DomainList";
|
|
409
|
+
const _DMPOC = "DefaultMaxProfileObjectCount";
|
|
410
|
+
const _DMPOCEA = "DefaultMaxProfileObjectCountEffectiveAfter";
|
|
409
411
|
const _DN = "DomainName";
|
|
410
412
|
const _DNi = "DisplayName";
|
|
411
413
|
const _DOTF = "DomainObjectTypeField";
|
|
@@ -982,6 +984,7 @@ const _SNe = "ServiceNow";
|
|
|
982
984
|
const _SNo = "SourceName";
|
|
983
985
|
const _SO = "SourceObject";
|
|
984
986
|
const _SOc = "ScheduleOffset";
|
|
987
|
+
const _SOt = "StoreOnly";
|
|
985
988
|
const _SP = "SourcePriority";
|
|
986
989
|
const _SPR = "SearchProfilesRequest";
|
|
987
990
|
const _SPRe = "SearchProfilesResponse";
|
|
@@ -2015,8 +2018,8 @@ var GetProfileObjectTypeTemplateRequest$ = [3, n0, _GPOTTR,
|
|
|
2015
2018
|
];
|
|
2016
2019
|
var GetProfileObjectTypeTemplateResponse$ = [3, n0, _GPOTTRe,
|
|
2017
2020
|
0,
|
|
2018
|
-
[_TI, _SNo, _SO, _APC, _SLUTF, _Fie, _K],
|
|
2019
|
-
[0, 0, 0, 2, 0, [() => FieldMap, 0], [() => KeyMap, 0]]
|
|
2021
|
+
[_TI, _SNo, _SO, _DMPOC, _DMPOCEA, _SOt, _APC, _SLUTF, _Fie, _K],
|
|
2022
|
+
[0, 0, 0, 1, 4, 2, 2, 0, [() => FieldMap, 0], [() => KeyMap, 0]]
|
|
2020
2023
|
];
|
|
2021
2024
|
var GetProfileRecommendationsRequest$ = [3, n0, _GPRR,
|
|
2022
2025
|
0,
|
|
@@ -3724,6 +3727,7 @@ const getRuntimeConfig = (config) => {
|
|
|
3724
3727
|
authSchemePreference: config?.authSchemePreference ?? loadConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
3725
3728
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
3726
3729
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? defaultProvider,
|
|
3730
|
+
defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 300_000),
|
|
3727
3731
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
3728
3732
|
maxAttempts: config?.maxAttempts ?? loadConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
3729
3733
|
region: config?.region ?? loadConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
package/dist-es/runtimeConfig.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import packageInfo from "../package.json";
|
|
2
|
-
import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
|
|
2
|
+
import { createDefaultUserAgentProvider, emitWarningIfUnsupportedVersion as awsCheckVersion, getDefaultSocketTimeout, NODE_APP_ID_CONFIG_OPTIONS, } from "@aws-sdk/core/client";
|
|
3
3
|
import { NODE_AUTH_SCHEME_PREFERENCE_OPTIONS } from "@aws-sdk/core/httpAuthSchemes";
|
|
4
4
|
import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
|
|
5
5
|
import { emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode } from "@smithy/core/client";
|
|
@@ -26,6 +26,7 @@ export const getRuntimeConfig = (config) => {
|
|
|
26
26
|
authSchemePreference: config?.authSchemePreference ?? loadNodeConfig(NODE_AUTH_SCHEME_PREFERENCE_OPTIONS, loaderConfig),
|
|
27
27
|
bodyLengthChecker: config?.bodyLengthChecker ?? calculateBodyLength,
|
|
28
28
|
credentialDefaultProvider: config?.credentialDefaultProvider ?? credentialDefaultProvider,
|
|
29
|
+
defaultSocketTimeout: getDefaultSocketTimeout(config?.requestHandler, 300_000),
|
|
29
30
|
defaultUserAgentProvider: config?.defaultUserAgentProvider ?? createDefaultUserAgentProvider({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }),
|
|
30
31
|
maxAttempts: config?.maxAttempts ?? loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS, config),
|
|
31
32
|
region: config?.region ?? loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, { ...NODE_REGION_CONFIG_FILE_OPTIONS, ...loaderConfig }),
|
|
@@ -189,6 +189,8 @@ const _DIRe = "DeleteIntegrationResponse";
|
|
|
189
189
|
const _DL = "DimensionList";
|
|
190
190
|
const _DLQU = "DeadLetterQueueUrl";
|
|
191
191
|
const _DLo = "DomainList";
|
|
192
|
+
const _DMPOC = "DefaultMaxProfileObjectCount";
|
|
193
|
+
const _DMPOCEA = "DefaultMaxProfileObjectCountEffectiveAfter";
|
|
192
194
|
const _DN = "DomainName";
|
|
193
195
|
const _DNi = "DisplayName";
|
|
194
196
|
const _DOTF = "DomainObjectTypeField";
|
|
@@ -765,6 +767,7 @@ const _SNe = "ServiceNow";
|
|
|
765
767
|
const _SNo = "SourceName";
|
|
766
768
|
const _SO = "SourceObject";
|
|
767
769
|
const _SOc = "ScheduleOffset";
|
|
770
|
+
const _SOt = "StoreOnly";
|
|
768
771
|
const _SP = "SourcePriority";
|
|
769
772
|
const _SPR = "SearchProfilesRequest";
|
|
770
773
|
const _SPRe = "SearchProfilesResponse";
|
|
@@ -1801,8 +1804,8 @@ export var GetProfileObjectTypeTemplateRequest$ = [3, n0, _GPOTTR,
|
|
|
1801
1804
|
];
|
|
1802
1805
|
export var GetProfileObjectTypeTemplateResponse$ = [3, n0, _GPOTTRe,
|
|
1803
1806
|
0,
|
|
1804
|
-
[_TI, _SNo, _SO, _APC, _SLUTF, _Fie, _K],
|
|
1805
|
-
[0, 0, 0, 2, 0, [() => FieldMap, 0], [() => KeyMap, 0]]
|
|
1807
|
+
[_TI, _SNo, _SO, _DMPOC, _DMPOCEA, _SOt, _APC, _SLUTF, _Fie, _K],
|
|
1808
|
+
[0, 0, 0, 1, 4, 2, 2, 0, [() => FieldMap, 0], [() => KeyMap, 0]]
|
|
1806
1809
|
];
|
|
1807
1810
|
export var GetProfileRecommendationsRequest$ = [3, n0, _GPRR,
|
|
1808
1811
|
0,
|
|
@@ -46,6 +46,9 @@ declare const GetProfileObjectTypeTemplateCommand_base: {
|
|
|
46
46
|
* // TemplateId: "STRING_VALUE",
|
|
47
47
|
* // SourceName: "STRING_VALUE",
|
|
48
48
|
* // SourceObject: "STRING_VALUE",
|
|
49
|
+
* // DefaultMaxProfileObjectCount: Number("int"),
|
|
50
|
+
* // DefaultMaxProfileObjectCountEffectiveAfter: new Date("TIMESTAMP"),
|
|
51
|
+
* // StoreOnly: true || false,
|
|
49
52
|
* // AllowProfileCreation: true || false,
|
|
50
53
|
* // SourceLastUpdatedTimestampFormat: "STRING_VALUE",
|
|
51
54
|
* // Fields: { // FieldMap
|
|
@@ -5548,6 +5548,27 @@ export interface GetProfileObjectTypeTemplateResponse {
|
|
|
5548
5548
|
* @public
|
|
5549
5549
|
*/
|
|
5550
5550
|
SourceObject?: string | undefined;
|
|
5551
|
+
/**
|
|
5552
|
+
* <p>The default maximum number of objects of this object type that can be stored per
|
|
5553
|
+
* profile. This default applies when you don't set <code>MaxProfileObjectCount</code> on an
|
|
5554
|
+
* object type created from this template. If this value isn't present, no default limit
|
|
5555
|
+
* applies.</p>
|
|
5556
|
+
* @public
|
|
5557
|
+
*/
|
|
5558
|
+
DefaultMaxProfileObjectCount?: number | undefined;
|
|
5559
|
+
/**
|
|
5560
|
+
* <p>The timestamp after which <code>DefaultMaxProfileObjectCount</code> takes effect. The
|
|
5561
|
+
* default limit applies only to domains created after this time.</p>
|
|
5562
|
+
* @public
|
|
5563
|
+
*/
|
|
5564
|
+
DefaultMaxProfileObjectCountEffectiveAfter?: Date | undefined;
|
|
5565
|
+
/**
|
|
5566
|
+
* <p>Indicates whether the template is store-only. Objects of an object type created from a
|
|
5567
|
+
* store-only template are ingested and stored, but the object type can't be used by
|
|
5568
|
+
* calculated attributes or event triggers.</p>
|
|
5569
|
+
* @public
|
|
5570
|
+
*/
|
|
5571
|
+
StoreOnly?: boolean | undefined;
|
|
5551
5572
|
/**
|
|
5552
5573
|
* <p>Indicates whether a profile should be created when data is received if one doesn’t exist
|
|
5553
5574
|
* for an object of this type. The default is <code>FALSE</code>. If the AllowProfileCreation
|
|
@@ -44,6 +44,7 @@ export declare const getRuntimeConfig: (config: CustomerProfilesClientConfig) =>
|
|
|
44
44
|
authSchemePreference: string[] | import("@smithy/types").Provider<string[]>;
|
|
45
45
|
bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
|
|
46
46
|
credentialDefaultProvider: ((init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider) | ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
47
|
+
defaultSocketTimeout: number | undefined;
|
|
47
48
|
defaultUserAgentProvider: (config?: import("@aws-sdk/core/client").PreviouslyResolved) => Promise<import("@smithy/types").UserAgent>;
|
|
48
49
|
maxAttempts: number | import("@smithy/types").Provider<number>;
|
|
49
50
|
region: string | import("@smithy/types").Provider<string>;
|
|
@@ -1266,6 +1266,9 @@ export interface GetProfileObjectTypeTemplateResponse {
|
|
|
1266
1266
|
TemplateId?: string | undefined;
|
|
1267
1267
|
SourceName?: string | undefined;
|
|
1268
1268
|
SourceObject?: string | undefined;
|
|
1269
|
+
DefaultMaxProfileObjectCount?: number | undefined;
|
|
1270
|
+
DefaultMaxProfileObjectCountEffectiveAfter?: Date | undefined;
|
|
1271
|
+
StoreOnly?: boolean | undefined;
|
|
1269
1272
|
AllowProfileCreation?: boolean | undefined;
|
|
1270
1273
|
SourceLastUpdatedTimestampFormat?: string | undefined;
|
|
1271
1274
|
Fields?: Record<string, ObjectTypeField> | undefined;
|
|
@@ -78,6 +78,7 @@ export declare const getRuntimeConfig: (config: CustomerProfilesClientConfig) =>
|
|
|
78
78
|
init?: import("@aws-sdk/credential-provider-node").DefaultProviderInit,
|
|
79
79
|
) => import("@aws-sdk/credential-provider-node").MemoizedRuntimeConfigAwsCredentialIdentityProvider)
|
|
80
80
|
| ((input: any) => import("@smithy/types").AwsCredentialIdentityProvider);
|
|
81
|
+
defaultSocketTimeout: number | undefined;
|
|
81
82
|
defaultUserAgentProvider: (
|
|
82
83
|
config?: import("@aws-sdk/core/client").PreviouslyResolved,
|
|
83
84
|
) => Promise<import("@smithy/types").UserAgent>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-customer-profiles",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1162.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Customer Profiles Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-customer-profiles",
|
|
6
6
|
"license": "Apache-2.0",
|
|
@@ -46,12 +46,12 @@
|
|
|
46
46
|
"test:index": "tsc -p tsconfig.test.json && node ./test/index-objects.spec.mjs"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@aws-sdk/core": "^3.
|
|
50
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
49
|
+
"@aws-sdk/core": "^3.980.0",
|
|
50
|
+
"@aws-sdk/credential-provider-node": "^3.972.93",
|
|
51
51
|
"@aws-sdk/types": "^3.975.0",
|
|
52
|
-
"@smithy/core": "^3.
|
|
52
|
+
"@smithy/core": "^3.38.0",
|
|
53
53
|
"@smithy/fetch-http-handler": "^5.8.0",
|
|
54
|
-
"@smithy/node-http-handler": "^4.
|
|
54
|
+
"@smithy/node-http-handler": "^4.14.0",
|
|
55
55
|
"@smithy/types": "^4.19.0",
|
|
56
56
|
"tslib": "^2.6.2"
|
|
57
57
|
},
|