@aws-sdk/client-customer-profiles 3.43.0 → 3.47.1

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 CHANGED
@@ -3,6 +3,53 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.47.1](https://github.com/aws/aws-sdk-js-v3/compare/v3.47.0-release-test-1...v3.47.1) (2022-01-20)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-customer-profiles
9
+
10
+
11
+
12
+
13
+
14
+ # [3.47.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.46.0...v3.47.0) (2022-01-15)
15
+
16
+
17
+ ### Features
18
+
19
+ * **clients:** update clients to use default values inferred from defaults mode ([#3192](https://github.com/aws/aws-sdk-js-v3/issues/3192)) ([9152e21](https://github.com/aws/aws-sdk-js-v3/commit/9152e210c6ec29f34bb070eaf2874039022e6ab7))
20
+
21
+
22
+
23
+
24
+
25
+ # [3.46.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.45.0...v3.46.0) (2022-01-07)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **clients:** update clean:dist script to delete dist-* folder ([#3155](https://github.com/aws/aws-sdk-js-v3/issues/3155)) ([cdb1709](https://github.com/aws/aws-sdk-js-v3/commit/cdb17090f82d1fc8755811c82cbed5976ec7e60b))
31
+
32
+
33
+ ### Features
34
+
35
+ * **clients:** extend typedoc.json from root ([#3136](https://github.com/aws/aws-sdk-js-v3/issues/3136)) ([f6a3ef5](https://github.com/aws/aws-sdk-js-v3/commit/f6a3ef541ae2d92872d09d8cab6727911287ebb2))
36
+ * end support for Node.js 10.x ([#3122](https://github.com/aws/aws-sdk-js-v3/issues/3122)) ([7acf18a](https://github.com/aws/aws-sdk-js-v3/commit/7acf18abd3fb1cc461f809110cdb0d7968c2070e))
37
+
38
+
39
+
40
+
41
+
42
+ # [3.45.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.44.0...v3.45.0) (2021-12-23)
43
+
44
+
45
+ ### Features
46
+
47
+ * **clients:** update clients as of 2021/12/23 ([#3110](https://github.com/aws/aws-sdk-js-v3/issues/3110)) ([5d638e1](https://github.com/aws/aws-sdk-js-v3/commit/5d638e188ce64fa80fe36b8cba79ba63b80b50b7))
48
+
49
+
50
+
51
+
52
+
6
53
  # [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
7
54
 
8
55
 
@@ -14,6 +14,7 @@ const partitionHash = {
14
14
  "ap-south-1",
15
15
  "ap-southeast-1",
16
16
  "ap-southeast-2",
17
+ "ap-southeast-3",
17
18
  "ca-central-1",
18
19
  "eu-central-1",
19
20
  "eu-north-1",
@@ -1,14 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ExportingLocation = exports.S3ExportingLocation = exports.GetIdentityResolutionJobRequest = exports.GetDomainResponse = exports.DomainStats = exports.GetDomainRequest = exports.GetAutoMergingPreviewResponse = exports.GetAutoMergingPreviewRequest = exports.DeleteProfileObjectTypeResponse = exports.DeleteProfileObjectTypeRequest = exports.DeleteProfileObjectResponse = exports.DeleteProfileObjectRequest = exports.DeleteProfileKeyResponse = exports.DeleteProfileKeyRequest = exports.DeleteProfileResponse = exports.DeleteProfileRequest = exports.DeleteIntegrationResponse = exports.DeleteIntegrationRequest = exports.DeleteDomainResponse = exports.DeleteDomainRequest = exports.CreateProfileResponse = exports.CreateProfileRequest = exports.PartyType = exports.Gender = exports.CreateDomainResponse = exports.MatchingResponse = exports.CreateDomainRequest = exports.MatchingRequest = exports.JobSchedule = exports.JobScheduleDayOfTheWeek = exports.ExportingConfig = exports.S3ExportingConfig = exports.ConnectorOperator = exports.ZendeskConnectorOperator = exports.ServiceNowConnectorOperator = exports.SalesforceConnectorOperator = exports.S3ConnectorOperator = exports.MarketoConnectorOperator = exports.AutoMerging = exports.Consolidation = exports.ConflictResolution = exports.ConflictResolvingModel = exports.Address = exports.ThrottlingException = exports.ResourceNotFoundException = exports.InternalServerException = exports.BadRequestException = exports.AddProfileKeyResponse = exports.AddProfileKeyRequest = exports.AccessDeniedException = void 0;
4
- exports.SourceConnectorProperties = exports.ZendeskSourceProperties = exports.ServiceNowSourceProperties = exports.SalesforceSourceProperties = exports.S3SourceProperties = exports.MarketoSourceProperties = exports.IncrementalPullConfig = exports.SourceConnectorType = exports.MergeProfilesResponse = exports.MergeProfilesRequest = exports.FieldSourceProfileIds = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListProfileObjectTypeTemplatesResponse = exports.ListProfileObjectTypeTemplateItem = exports.ListProfileObjectTypeTemplatesRequest = exports.ListProfileObjectTypesResponse = exports.ListProfileObjectTypeItem = exports.ListProfileObjectTypesRequest = exports.ListProfileObjectsResponse = exports.ListProfileObjectsItem = exports.ListProfileObjectsRequest = exports.ObjectFilter = exports.ListIntegrationsResponse = exports.ListIntegrationsRequest = exports.ListIdentityResolutionJobsResponse = exports.IdentityResolutionJob = exports.ListIdentityResolutionJobsRequest = exports.ListDomainsResponse = exports.ListDomainItem = exports.ListDomainsRequest = exports.ListAccountIntegrationsResponse = exports.ListIntegrationItem = exports.ListAccountIntegrationsRequest = exports.GetProfileObjectTypeTemplateResponse = exports.GetProfileObjectTypeTemplateRequest = exports.GetProfileObjectTypeResponse = exports.ObjectTypeKey = exports.StandardIdentifier = exports.ObjectTypeField = exports.FieldContentType = exports.GetProfileObjectTypeRequest = exports.GetMatchesResponse = exports.MatchItem = exports.GetMatchesRequest = exports.GetIntegrationResponse = exports.GetIntegrationRequest = exports.GetIdentityResolutionJobResponse = exports.IdentityResolutionJobStatus = exports.JobStats = void 0;
5
- exports.UpdateProfileResponse = exports.UpdateProfileRequest = exports.UpdateAddress = exports.UpdateDomainResponse = exports.UpdateDomainRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SearchProfilesResponse = exports.Profile = exports.SearchProfilesRequest = exports.PutProfileObjectTypeResponse = exports.PutProfileObjectTypeRequest = exports.PutProfileObjectResponse = exports.PutProfileObjectRequest = exports.PutIntegrationResponse = exports.PutIntegrationRequest = exports.FlowDefinition = exports.TriggerConfig = exports.TriggerType = exports.TriggerProperties = exports.ScheduledTriggerProperties = exports.DataPullMode = exports.Task = exports.TaskType = exports.OperatorPropertiesKeys = exports.SourceFlowConfig = void 0;
6
- var AccessDeniedException;
7
- (function (AccessDeniedException) {
8
- AccessDeniedException.filterSensitiveLog = (obj) => ({
9
- ...obj,
10
- });
11
- })(AccessDeniedException = exports.AccessDeniedException || (exports.AccessDeniedException = {}));
3
+ exports.GetIntegrationResponse = exports.GetIntegrationRequest = exports.GetIdentityResolutionJobResponse = exports.IdentityResolutionJobStatus = exports.JobStats = exports.ExportingLocation = exports.S3ExportingLocation = exports.GetIdentityResolutionJobRequest = exports.GetDomainResponse = exports.DomainStats = exports.GetDomainRequest = exports.GetAutoMergingPreviewResponse = exports.GetAutoMergingPreviewRequest = exports.DeleteProfileObjectTypeResponse = exports.DeleteProfileObjectTypeRequest = exports.DeleteProfileObjectResponse = exports.DeleteProfileObjectRequest = exports.DeleteProfileKeyResponse = exports.DeleteProfileKeyRequest = exports.DeleteProfileResponse = exports.DeleteProfileRequest = exports.DeleteIntegrationResponse = exports.DeleteIntegrationRequest = exports.DeleteDomainResponse = exports.DeleteDomainRequest = exports.CreateProfileResponse = exports.CreateProfileRequest = exports.PartyType = exports.Gender = exports.CreateDomainResponse = exports.MatchingResponse = exports.CreateDomainRequest = exports.MatchingRequest = exports.JobSchedule = exports.JobScheduleDayOfTheWeek = exports.ExportingConfig = exports.S3ExportingConfig = exports.ConnectorOperator = exports.ZendeskConnectorOperator = exports.ServiceNowConnectorOperator = exports.SalesforceConnectorOperator = exports.S3ConnectorOperator = exports.MarketoConnectorOperator = exports.AutoMerging = exports.Consolidation = exports.ConflictResolution = exports.ConflictResolvingModel = exports.Address = exports.AddProfileKeyResponse = exports.AddProfileKeyRequest = void 0;
4
+ exports.DataPullMode = exports.Task = exports.TaskType = exports.OperatorPropertiesKeys = exports.SourceFlowConfig = exports.SourceConnectorProperties = exports.ZendeskSourceProperties = exports.ServiceNowSourceProperties = exports.SalesforceSourceProperties = exports.S3SourceProperties = exports.MarketoSourceProperties = exports.IncrementalPullConfig = exports.SourceConnectorType = exports.MergeProfilesResponse = exports.MergeProfilesRequest = exports.FieldSourceProfileIds = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListProfileObjectTypeTemplatesResponse = exports.ListProfileObjectTypeTemplateItem = exports.ListProfileObjectTypeTemplatesRequest = exports.ListProfileObjectTypesResponse = exports.ListProfileObjectTypeItem = exports.ListProfileObjectTypesRequest = exports.ListProfileObjectsResponse = exports.ListProfileObjectsItem = exports.ListProfileObjectsRequest = exports.ObjectFilter = exports.ListIntegrationsResponse = exports.ListIntegrationsRequest = exports.ListIdentityResolutionJobsResponse = exports.IdentityResolutionJob = exports.ListIdentityResolutionJobsRequest = exports.ListDomainsResponse = exports.ListDomainItem = exports.ListDomainsRequest = exports.ListAccountIntegrationsResponse = exports.ListIntegrationItem = exports.ListAccountIntegrationsRequest = exports.GetProfileObjectTypeTemplateResponse = exports.GetProfileObjectTypeTemplateRequest = exports.GetProfileObjectTypeResponse = exports.ObjectTypeKey = exports.StandardIdentifier = exports.ObjectTypeField = exports.FieldContentType = exports.GetProfileObjectTypeRequest = exports.GetMatchesResponse = exports.MatchItem = exports.GetMatchesRequest = void 0;
5
+ exports.UpdateProfileResponse = exports.UpdateProfileRequest = exports.UpdateAddress = exports.UpdateDomainResponse = exports.UpdateDomainRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = exports.SearchProfilesResponse = exports.Profile = exports.SearchProfilesRequest = exports.PutProfileObjectTypeResponse = exports.PutProfileObjectTypeRequest = exports.PutProfileObjectResponse = exports.PutProfileObjectRequest = exports.PutIntegrationResponse = exports.PutIntegrationRequest = exports.FlowDefinition = exports.TriggerConfig = exports.TriggerType = exports.TriggerProperties = exports.ScheduledTriggerProperties = void 0;
12
6
  var AddProfileKeyRequest;
13
7
  (function (AddProfileKeyRequest) {
14
8
  AddProfileKeyRequest.filterSensitiveLog = (obj) => ({
@@ -21,30 +15,6 @@ var AddProfileKeyResponse;
21
15
  ...obj,
22
16
  });
23
17
  })(AddProfileKeyResponse = exports.AddProfileKeyResponse || (exports.AddProfileKeyResponse = {}));
24
- var BadRequestException;
25
- (function (BadRequestException) {
26
- BadRequestException.filterSensitiveLog = (obj) => ({
27
- ...obj,
28
- });
29
- })(BadRequestException = exports.BadRequestException || (exports.BadRequestException = {}));
30
- var InternalServerException;
31
- (function (InternalServerException) {
32
- InternalServerException.filterSensitiveLog = (obj) => ({
33
- ...obj,
34
- });
35
- })(InternalServerException = exports.InternalServerException || (exports.InternalServerException = {}));
36
- var ResourceNotFoundException;
37
- (function (ResourceNotFoundException) {
38
- ResourceNotFoundException.filterSensitiveLog = (obj) => ({
39
- ...obj,
40
- });
41
- })(ResourceNotFoundException = exports.ResourceNotFoundException || (exports.ResourceNotFoundException = {}));
42
- var ThrottlingException;
43
- (function (ThrottlingException) {
44
- ThrottlingException.filterSensitiveLog = (obj) => ({
45
- ...obj,
46
- });
47
- })(ThrottlingException = exports.ThrottlingException || (exports.ThrottlingException = {}));
48
18
  var Address;
49
19
  (function (Address) {
50
20
  Address.filterSensitiveLog = (obj) => ({
@@ -461,6 +431,7 @@ var StandardIdentifier;
461
431
  StandardIdentifier["CASE"] = "CASE";
462
432
  StandardIdentifier["LOOKUP_ONLY"] = "LOOKUP_ONLY";
463
433
  StandardIdentifier["NEW_ONLY"] = "NEW_ONLY";
434
+ StandardIdentifier["ORDER"] = "ORDER";
464
435
  StandardIdentifier["PROFILE"] = "PROFILE";
465
436
  StandardIdentifier["SECONDARY"] = "SECONDARY";
466
437
  StandardIdentifier["UNIQUE"] = "UNIQUE";
@@ -860,6 +860,10 @@ const serializeAws_restJson1PutIntegrationCommand = async (input, context) => {
860
860
  }),
861
861
  ...(input.ObjectTypeName !== undefined &&
862
862
  input.ObjectTypeName !== null && { ObjectTypeName: input.ObjectTypeName }),
863
+ ...(input.ObjectTypeNames !== undefined &&
864
+ input.ObjectTypeNames !== null && {
865
+ ObjectTypeNames: serializeAws_restJson1ObjectTypeNames(input.ObjectTypeNames, context),
866
+ }),
863
867
  ...(input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) }),
864
868
  ...(input.Uri !== undefined && input.Uri !== null && { Uri: input.Uri }),
865
869
  });
@@ -2256,6 +2260,7 @@ const deserializeAws_restJson1GetIntegrationCommand = async (output, context) =>
2256
2260
  DomainName: undefined,
2257
2261
  LastUpdatedAt: undefined,
2258
2262
  ObjectTypeName: undefined,
2263
+ ObjectTypeNames: undefined,
2259
2264
  Tags: undefined,
2260
2265
  Uri: undefined,
2261
2266
  };
@@ -2272,6 +2277,9 @@ const deserializeAws_restJson1GetIntegrationCommand = async (output, context) =>
2272
2277
  if (data.ObjectTypeName !== undefined && data.ObjectTypeName !== null) {
2273
2278
  contents.ObjectTypeName = smithy_client_1.expectString(data.ObjectTypeName);
2274
2279
  }
2280
+ if (data.ObjectTypeNames !== undefined && data.ObjectTypeNames !== null) {
2281
+ contents.ObjectTypeNames = deserializeAws_restJson1ObjectTypeNames(data.ObjectTypeNames, context);
2282
+ }
2275
2283
  if (data.Tags !== undefined && data.Tags !== null) {
2276
2284
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2277
2285
  }
@@ -3400,6 +3408,7 @@ const deserializeAws_restJson1PutIntegrationCommand = async (output, context) =>
3400
3408
  DomainName: undefined,
3401
3409
  LastUpdatedAt: undefined,
3402
3410
  ObjectTypeName: undefined,
3411
+ ObjectTypeNames: undefined,
3403
3412
  Tags: undefined,
3404
3413
  Uri: undefined,
3405
3414
  };
@@ -3416,6 +3425,9 @@ const deserializeAws_restJson1PutIntegrationCommand = async (output, context) =>
3416
3425
  if (data.ObjectTypeName !== undefined && data.ObjectTypeName !== null) {
3417
3426
  contents.ObjectTypeName = smithy_client_1.expectString(data.ObjectTypeName);
3418
3427
  }
3428
+ if (data.ObjectTypeNames !== undefined && data.ObjectTypeNames !== null) {
3429
+ contents.ObjectTypeNames = deserializeAws_restJson1ObjectTypeNames(data.ObjectTypeNames, context);
3430
+ }
3419
3431
  if (data.Tags !== undefined && data.Tags !== null) {
3420
3432
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
3421
3433
  }
@@ -4402,6 +4414,17 @@ const serializeAws_restJson1ObjectTypeKeyList = (input, context) => {
4402
4414
  return serializeAws_restJson1ObjectTypeKey(entry, context);
4403
4415
  });
4404
4416
  };
4417
+ const serializeAws_restJson1ObjectTypeNames = (input, context) => {
4418
+ return Object.entries(input).reduce((acc, [key, value]) => {
4419
+ if (value === null) {
4420
+ return acc;
4421
+ }
4422
+ return {
4423
+ ...acc,
4424
+ [key]: value,
4425
+ };
4426
+ }, {});
4427
+ };
4405
4428
  const serializeAws_restJson1ProfileIdToBeMergedList = (input, context) => {
4406
4429
  return input
4407
4430
  .filter((e) => e != null)
@@ -4805,6 +4828,9 @@ const deserializeAws_restJson1ListIntegrationItem = (output, context) => {
4805
4828
  ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastUpdatedAt)))
4806
4829
  : undefined,
4807
4830
  ObjectTypeName: smithy_client_1.expectString(output.ObjectTypeName),
4831
+ ObjectTypeNames: output.ObjectTypeNames !== undefined && output.ObjectTypeNames !== null
4832
+ ? deserializeAws_restJson1ObjectTypeNames(output.ObjectTypeNames, context)
4833
+ : undefined,
4808
4834
  Tags: output.Tags !== undefined && output.Tags !== null
4809
4835
  ? deserializeAws_restJson1TagMap(output.Tags, context)
4810
4836
  : undefined,
@@ -4920,6 +4946,17 @@ const deserializeAws_restJson1ObjectTypeKeyList = (output, context) => {
4920
4946
  return deserializeAws_restJson1ObjectTypeKey(entry, context);
4921
4947
  });
4922
4948
  };
4949
+ const deserializeAws_restJson1ObjectTypeNames = (output, context) => {
4950
+ return Object.entries(output).reduce((acc, [key, value]) => {
4951
+ if (value === null) {
4952
+ return acc;
4953
+ }
4954
+ return {
4955
+ ...acc,
4956
+ [key]: smithy_client_1.expectString(value),
4957
+ };
4958
+ }, {});
4959
+ };
4923
4960
  const deserializeAws_restJson1Profile = (output, context) => {
4924
4961
  return {
4925
4962
  AccountNumber: smithy_client_1.expectString(output.AccountNumber),
@@ -13,13 +13,18 @@ const util_body_length_browser_1 = require("@aws-sdk/util-body-length-browser");
13
13
  const util_user_agent_browser_1 = require("@aws-sdk/util-user-agent-browser");
14
14
  const util_utf8_browser_1 = require("@aws-sdk/util-utf8-browser");
15
15
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
16
+ const smithy_client_1 = require("@aws-sdk/smithy-client");
17
+ const util_defaults_mode_browser_1 = require("@aws-sdk/util-defaults-mode-browser");
16
18
  const getRuntimeConfig = (config) => {
17
19
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
20
+ const defaultsMode = util_defaults_mode_browser_1.resolveDefaultsModeConfig(config);
21
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
18
22
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
19
23
  return {
20
24
  ...clientSharedValues,
21
25
  ...config,
22
26
  runtime: "browser",
27
+ defaultsMode,
23
28
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_browser_1.fromBase64,
24
29
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_browser_1.toBase64,
25
30
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_browser_1.calculateBodyLength,
@@ -27,8 +32,8 @@ const getRuntimeConfig = (config) => {
27
32
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_browser_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
28
33
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : middleware_retry_1.DEFAULT_MAX_ATTEMPTS,
29
34
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalid_dependency_1.invalidProvider("Region is missing"),
30
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(),
31
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (() => Promise.resolve(middleware_retry_1.DEFAULT_RETRY_MODE)),
35
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new fetch_http_handler_1.FetchHttpHandler(defaultConfigProvider),
36
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE),
32
37
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : sha256_browser_1.Sha256,
33
38
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : fetch_http_handler_1.streamCollector,
34
39
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (() => Promise.resolve(config_resolver_1.DEFAULT_USE_DUALSTACK_ENDPOINT)),
@@ -16,14 +16,17 @@ const util_user_agent_node_1 = require("@aws-sdk/util-user-agent-node");
16
16
  const util_utf8_node_1 = require("@aws-sdk/util-utf8-node");
17
17
  const runtimeConfig_shared_1 = require("./runtimeConfig.shared");
18
18
  const smithy_client_1 = require("@aws-sdk/smithy-client");
19
+ const util_defaults_mode_node_1 = require("@aws-sdk/util-defaults-mode-node");
19
20
  const getRuntimeConfig = (config) => {
20
21
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
21
- smithy_client_1.emitWarningIfUnsupportedVersion(process.version);
22
+ const defaultsMode = util_defaults_mode_node_1.resolveDefaultsModeConfig(config);
23
+ const defaultConfigProvider = () => defaultsMode().then(smithy_client_1.loadConfigsForDefaultMode);
22
24
  const clientSharedValues = runtimeConfig_shared_1.getRuntimeConfig(config);
23
25
  return {
24
26
  ...clientSharedValues,
25
27
  ...config,
26
28
  runtime: "node",
29
+ defaultsMode,
27
30
  base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : util_base64_node_1.fromBase64,
28
31
  base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : util_base64_node_1.toBase64,
29
32
  bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : util_body_length_node_1.calculateBodyLength,
@@ -31,8 +34,11 @@ const getRuntimeConfig = (config) => {
31
34
  defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : util_user_agent_node_1.defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: package_json_1.default.version }),
32
35
  maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : node_config_provider_1.loadConfig(middleware_retry_1.NODE_MAX_ATTEMPT_CONFIG_OPTIONS),
33
36
  region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : node_config_provider_1.loadConfig(config_resolver_1.NODE_REGION_CONFIG_OPTIONS, config_resolver_1.NODE_REGION_CONFIG_FILE_OPTIONS),
34
- requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(),
35
- retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig(middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS),
37
+ requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new node_http_handler_1.NodeHttpHandler(defaultConfigProvider),
38
+ retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : node_config_provider_1.loadConfig({
39
+ ...middleware_retry_1.NODE_RETRY_MODE_CONFIG_OPTIONS,
40
+ default: async () => (await defaultConfigProvider()).retryMode || middleware_retry_1.DEFAULT_RETRY_MODE,
41
+ }),
36
42
  sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : hash_node_1.Hash.bind(null, "sha256"),
37
43
  streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : node_http_handler_1.streamCollector,
38
44
  useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : node_config_provider_1.loadConfig(config_resolver_1.NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS),
@@ -12,6 +12,7 @@ var partitionHash = {
12
12
  "ap-south-1",
13
13
  "ap-southeast-1",
14
14
  "ap-southeast-2",
15
+ "ap-southeast-3",
15
16
  "ca-central-1",
16
17
  "eu-central-1",
17
18
  "eu-north-1",
@@ -1,8 +1,4 @@
1
1
  import { __assign } from "tslib";
2
- export var AccessDeniedException;
3
- (function (AccessDeniedException) {
4
- AccessDeniedException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
5
- })(AccessDeniedException || (AccessDeniedException = {}));
6
2
  export var AddProfileKeyRequest;
7
3
  (function (AddProfileKeyRequest) {
8
4
  AddProfileKeyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -11,22 +7,6 @@ export var AddProfileKeyResponse;
11
7
  (function (AddProfileKeyResponse) {
12
8
  AddProfileKeyResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
13
9
  })(AddProfileKeyResponse || (AddProfileKeyResponse = {}));
14
- export var BadRequestException;
15
- (function (BadRequestException) {
16
- BadRequestException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
17
- })(BadRequestException || (BadRequestException = {}));
18
- export var InternalServerException;
19
- (function (InternalServerException) {
20
- InternalServerException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
21
- })(InternalServerException || (InternalServerException = {}));
22
- export var ResourceNotFoundException;
23
- (function (ResourceNotFoundException) {
24
- ResourceNotFoundException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
25
- })(ResourceNotFoundException || (ResourceNotFoundException = {}));
26
- export var ThrottlingException;
27
- (function (ThrottlingException) {
28
- ThrottlingException.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
29
- })(ThrottlingException || (ThrottlingException = {}));
30
10
  export var Address;
31
11
  (function (Address) {
32
12
  Address.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -357,6 +337,7 @@ export var StandardIdentifier;
357
337
  StandardIdentifier["CASE"] = "CASE";
358
338
  StandardIdentifier["LOOKUP_ONLY"] = "LOOKUP_ONLY";
359
339
  StandardIdentifier["NEW_ONLY"] = "NEW_ONLY";
340
+ StandardIdentifier["ORDER"] = "ORDER";
360
341
  StandardIdentifier["PROFILE"] = "PROFILE";
361
342
  StandardIdentifier["SECONDARY"] = "SECONDARY";
362
343
  StandardIdentifier["UNIQUE"] = "UNIQUE";
@@ -896,11 +896,14 @@ export var serializeAws_restJson1PutIntegrationCommand = function (input, contex
896
896
  else {
897
897
  throw new Error("No value provided for input HTTP label: DomainName.");
898
898
  }
899
- body = JSON.stringify(__assign(__assign(__assign(__assign({}, (input.FlowDefinition !== undefined &&
899
+ body = JSON.stringify(__assign(__assign(__assign(__assign(__assign({}, (input.FlowDefinition !== undefined &&
900
900
  input.FlowDefinition !== null && {
901
901
  FlowDefinition: serializeAws_restJson1FlowDefinition(input.FlowDefinition, context),
902
902
  })), (input.ObjectTypeName !== undefined &&
903
- input.ObjectTypeName !== null && { ObjectTypeName: input.ObjectTypeName })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.Uri !== undefined && input.Uri !== null && { Uri: input.Uri })));
903
+ input.ObjectTypeName !== null && { ObjectTypeName: input.ObjectTypeName })), (input.ObjectTypeNames !== undefined &&
904
+ input.ObjectTypeNames !== null && {
905
+ ObjectTypeNames: serializeAws_restJson1ObjectTypeNames(input.ObjectTypeNames, context),
906
+ })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_restJson1TagMap(input.Tags, context) })), (input.Uri !== undefined && input.Uri !== null && { Uri: input.Uri })));
904
907
  return [2, new __HttpRequest({
905
908
  protocol: protocol,
906
909
  hostname: hostname,
@@ -2450,6 +2453,7 @@ export var deserializeAws_restJson1GetIntegrationCommand = function (output, con
2450
2453
  DomainName: undefined,
2451
2454
  LastUpdatedAt: undefined,
2452
2455
  ObjectTypeName: undefined,
2456
+ ObjectTypeNames: undefined,
2453
2457
  Tags: undefined,
2454
2458
  Uri: undefined,
2455
2459
  };
@@ -2470,6 +2474,9 @@ export var deserializeAws_restJson1GetIntegrationCommand = function (output, con
2470
2474
  if (data.ObjectTypeName !== undefined && data.ObjectTypeName !== null) {
2471
2475
  contents.ObjectTypeName = __expectString(data.ObjectTypeName);
2472
2476
  }
2477
+ if (data.ObjectTypeNames !== undefined && data.ObjectTypeNames !== null) {
2478
+ contents.ObjectTypeNames = deserializeAws_restJson1ObjectTypeNames(data.ObjectTypeNames, context);
2479
+ }
2473
2480
  if (data.Tags !== undefined && data.Tags !== null) {
2474
2481
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
2475
2482
  }
@@ -3776,6 +3783,7 @@ export var deserializeAws_restJson1PutIntegrationCommand = function (output, con
3776
3783
  DomainName: undefined,
3777
3784
  LastUpdatedAt: undefined,
3778
3785
  ObjectTypeName: undefined,
3786
+ ObjectTypeNames: undefined,
3779
3787
  Tags: undefined,
3780
3788
  Uri: undefined,
3781
3789
  };
@@ -3796,6 +3804,9 @@ export var deserializeAws_restJson1PutIntegrationCommand = function (output, con
3796
3804
  if (data.ObjectTypeName !== undefined && data.ObjectTypeName !== null) {
3797
3805
  contents.ObjectTypeName = __expectString(data.ObjectTypeName);
3798
3806
  }
3807
+ if (data.ObjectTypeNames !== undefined && data.ObjectTypeNames !== null) {
3808
+ contents.ObjectTypeNames = deserializeAws_restJson1ObjectTypeNames(data.ObjectTypeNames, context);
3809
+ }
3799
3810
  if (data.Tags !== undefined && data.Tags !== null) {
3800
3811
  contents.Tags = deserializeAws_restJson1TagMap(data.Tags, context);
3801
3812
  }
@@ -4814,6 +4825,16 @@ var serializeAws_restJson1ObjectTypeKeyList = function (input, context) {
4814
4825
  return serializeAws_restJson1ObjectTypeKey(entry, context);
4815
4826
  });
4816
4827
  };
4828
+ var serializeAws_restJson1ObjectTypeNames = function (input, context) {
4829
+ return Object.entries(input).reduce(function (acc, _a) {
4830
+ var _b;
4831
+ var _c = __read(_a, 2), key = _c[0], value = _c[1];
4832
+ if (value === null) {
4833
+ return acc;
4834
+ }
4835
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = value, _b));
4836
+ }, {});
4837
+ };
4817
4838
  var serializeAws_restJson1ProfileIdToBeMergedList = function (input, context) {
4818
4839
  return input
4819
4840
  .filter(function (e) { return e != null; })
@@ -5156,6 +5177,9 @@ var deserializeAws_restJson1ListIntegrationItem = function (output, context) {
5156
5177
  ? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedAt)))
5157
5178
  : undefined,
5158
5179
  ObjectTypeName: __expectString(output.ObjectTypeName),
5180
+ ObjectTypeNames: output.ObjectTypeNames !== undefined && output.ObjectTypeNames !== null
5181
+ ? deserializeAws_restJson1ObjectTypeNames(output.ObjectTypeNames, context)
5182
+ : undefined,
5159
5183
  Tags: output.Tags !== undefined && output.Tags !== null
5160
5184
  ? deserializeAws_restJson1TagMap(output.Tags, context)
5161
5185
  : undefined,
@@ -5271,6 +5295,16 @@ var deserializeAws_restJson1ObjectTypeKeyList = function (output, context) {
5271
5295
  return deserializeAws_restJson1ObjectTypeKey(entry, context);
5272
5296
  });
5273
5297
  };
5298
+ var deserializeAws_restJson1ObjectTypeNames = function (output, context) {
5299
+ return Object.entries(output).reduce(function (acc, _a) {
5300
+ var _b;
5301
+ var _c = __read(_a, 2), key = _c[0], value = _c[1];
5302
+ if (value === null) {
5303
+ return acc;
5304
+ }
5305
+ return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
5306
+ }, {});
5307
+ };
5274
5308
  var deserializeAws_restJson1Profile = function (output, context) {
5275
5309
  return {
5276
5310
  AccountNumber: __expectString(output.AccountNumber),
@@ -1,8 +1,8 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { Sha256 } from "@aws-crypto/sha256-browser";
4
4
  import { DEFAULT_USE_DUALSTACK_ENDPOINT, DEFAULT_USE_FIPS_ENDPOINT } from "@aws-sdk/config-resolver";
5
- import { FetchHttpHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
5
+ import { FetchHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/fetch-http-handler";
6
6
  import { invalidProvider } from "@aws-sdk/invalid-dependency";
7
7
  import { DEFAULT_MAX_ATTEMPTS, DEFAULT_RETRY_MODE } from "@aws-sdk/middleware-retry";
8
8
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-browser";
@@ -10,8 +10,17 @@ import { calculateBodyLength } from "@aws-sdk/util-body-length-browser";
10
10
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-browser";
11
11
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-browser";
12
12
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
13
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
14
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-browser";
13
15
  export var getRuntimeConfig = function (config) {
14
16
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
17
+ var defaultsMode = resolveDefaultsModeConfig(config);
18
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
15
19
  var clientSharedValues = getSharedRuntimeConfig(config);
16
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new FetchHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return Promise.resolve(DEFAULT_RETRY_MODE); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
20
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "browser", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : (function (_) { return function () { return Promise.reject(new Error("Credential is missing")); }; }), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : DEFAULT_MAX_ATTEMPTS, region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : invalidProvider("Region is missing"), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : (function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
21
+ switch (_a.label) {
22
+ case 0: return [4, defaultConfigProvider()];
23
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
24
+ }
25
+ }); }); }), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Sha256, streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : (function () { return Promise.resolve(DEFAULT_USE_DUALSTACK_ENDPOINT); }), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : (function () { return Promise.resolve(DEFAULT_USE_FIPS_ENDPOINT); }), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
17
26
  };
@@ -1,21 +1,28 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __awaiter, __generator } from "tslib";
2
2
  import packageInfo from "../package.json";
3
3
  import { decorateDefaultCredentialProvider } from "@aws-sdk/client-sts";
4
4
  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";
5
5
  import { defaultProvider as credentialDefaultProvider } from "@aws-sdk/credential-provider-node";
6
6
  import { Hash } from "@aws-sdk/hash-node";
7
- import { NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS } from "@aws-sdk/middleware-retry";
7
+ import { DEFAULT_RETRY_MODE, NODE_MAX_ATTEMPT_CONFIG_OPTIONS, NODE_RETRY_MODE_CONFIG_OPTIONS, } from "@aws-sdk/middleware-retry";
8
8
  import { loadConfig as loadNodeConfig } from "@aws-sdk/node-config-provider";
9
- import { NodeHttpHandler, streamCollector } from "@aws-sdk/node-http-handler";
9
+ import { NodeHttpHandler as RequestHandler, streamCollector } from "@aws-sdk/node-http-handler";
10
10
  import { fromBase64, toBase64 } from "@aws-sdk/util-base64-node";
11
11
  import { calculateBodyLength } from "@aws-sdk/util-body-length-node";
12
12
  import { defaultUserAgent } from "@aws-sdk/util-user-agent-node";
13
13
  import { fromUtf8, toUtf8 } from "@aws-sdk/util-utf8-node";
14
14
  import { getRuntimeConfig as getSharedRuntimeConfig } from "./runtimeConfig.shared";
15
- import { emitWarningIfUnsupportedVersion } from "@aws-sdk/smithy-client";
15
+ import { loadConfigsForDefaultMode } from "@aws-sdk/smithy-client";
16
+ import { resolveDefaultsModeConfig } from "@aws-sdk/util-defaults-mode-node";
16
17
  export var getRuntimeConfig = function (config) {
17
18
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q;
18
- emitWarningIfUnsupportedVersion(process.version);
19
+ var defaultsMode = resolveDefaultsModeConfig(config);
20
+ var defaultConfigProvider = function () { return defaultsMode().then(loadConfigsForDefaultMode); };
19
21
  var clientSharedValues = getSharedRuntimeConfig(config);
20
- return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new NodeHttpHandler(), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(NODE_RETRY_MODE_CONFIG_OPTIONS), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
22
+ return __assign(__assign(__assign({}, clientSharedValues), config), { runtime: "node", defaultsMode: defaultsMode, base64Decoder: (_a = config === null || config === void 0 ? void 0 : config.base64Decoder) !== null && _a !== void 0 ? _a : fromBase64, base64Encoder: (_b = config === null || config === void 0 ? void 0 : config.base64Encoder) !== null && _b !== void 0 ? _b : toBase64, bodyLengthChecker: (_c = config === null || config === void 0 ? void 0 : config.bodyLengthChecker) !== null && _c !== void 0 ? _c : calculateBodyLength, credentialDefaultProvider: (_d = config === null || config === void 0 ? void 0 : config.credentialDefaultProvider) !== null && _d !== void 0 ? _d : decorateDefaultCredentialProvider(credentialDefaultProvider), defaultUserAgentProvider: (_e = config === null || config === void 0 ? void 0 : config.defaultUserAgentProvider) !== null && _e !== void 0 ? _e : defaultUserAgent({ serviceId: clientSharedValues.serviceId, clientVersion: packageInfo.version }), maxAttempts: (_f = config === null || config === void 0 ? void 0 : config.maxAttempts) !== null && _f !== void 0 ? _f : loadNodeConfig(NODE_MAX_ATTEMPT_CONFIG_OPTIONS), region: (_g = config === null || config === void 0 ? void 0 : config.region) !== null && _g !== void 0 ? _g : loadNodeConfig(NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS), requestHandler: (_h = config === null || config === void 0 ? void 0 : config.requestHandler) !== null && _h !== void 0 ? _h : new RequestHandler(defaultConfigProvider), retryMode: (_j = config === null || config === void 0 ? void 0 : config.retryMode) !== null && _j !== void 0 ? _j : loadNodeConfig(__assign(__assign({}, NODE_RETRY_MODE_CONFIG_OPTIONS), { default: function () { return __awaiter(void 0, void 0, void 0, function () { return __generator(this, function (_a) {
23
+ switch (_a.label) {
24
+ case 0: return [4, defaultConfigProvider()];
25
+ case 1: return [2, (_a.sent()).retryMode || DEFAULT_RETRY_MODE];
26
+ }
27
+ }); }); } })), sha256: (_k = config === null || config === void 0 ? void 0 : config.sha256) !== null && _k !== void 0 ? _k : Hash.bind(null, "sha256"), streamCollector: (_l = config === null || config === void 0 ? void 0 : config.streamCollector) !== null && _l !== void 0 ? _l : streamCollector, useDualstackEndpoint: (_m = config === null || config === void 0 ? void 0 : config.useDualstackEndpoint) !== null && _m !== void 0 ? _m : loadNodeConfig(NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS), useFipsEndpoint: (_o = config === null || config === void 0 ? void 0 : config.useFipsEndpoint) !== null && _o !== void 0 ? _o : loadNodeConfig(NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS), utf8Decoder: (_p = config === null || config === void 0 ? void 0 : config.utf8Decoder) !== null && _p !== void 0 ? _p : fromUtf8, utf8Encoder: (_q = config === null || config === void 0 ? void 0 : config.utf8Encoder) !== null && _q !== void 0 ? _q : toUtf8 });
21
28
  };
@@ -158,8 +158,7 @@ export declare class CustomerProfiles extends CustomerProfilesClient {
158
158
  getIntegration(args: GetIntegrationCommandInput, cb: (err: any, data?: GetIntegrationCommandOutput) => void): void;
159
159
  getIntegration(args: GetIntegrationCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetIntegrationCommandOutput) => void): void;
160
160
  /**
161
- * <p>This API is in preview release for Amazon Connect and subject to change.</p>
162
- * <p>Before calling this API, use <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_CreateDomain.html">CreateDomain</a> or
161
+ * <p>Before calling this API, use <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_CreateDomain.html">CreateDomain</a> or
163
162
  * <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UpdateDomain.html">UpdateDomain</a> to
164
163
  * enable identity resolution: set <code>Matching</code> to true.</p>
165
164
  * <p>GetMatches returns potentially matching profiles, based on the results of the latest run
@@ -279,8 +278,7 @@ export declare class CustomerProfiles extends CustomerProfilesClient {
279
278
  listTagsForResource(args: ListTagsForResourceCommandInput, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
280
279
  listTagsForResource(args: ListTagsForResourceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListTagsForResourceCommandOutput) => void): void;
281
280
  /**
282
- * <p>This API is in preview release for Amazon Connect and subject to change.</p>
283
- * <p>Runs an AWS Lambda job that does the following:</p>
281
+ * <p>Runs an AWS Lambda job that does the following:</p>
284
282
  * <ol>
285
283
  * <li>
286
284
  * <p>All the profileKeys in the <code>ProfileToBeMerged</code> will be moved to the
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AddProfileKeyCommandInput, AddProfileKeyCommandOutput } from "./commands/AddProfileKeyCommand";
10
10
  import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
@@ -141,6 +141,10 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
141
141
  * @internal
142
142
  */
143
143
  defaultUserAgentProvider?: Provider<__UserAgent>;
144
+ /**
145
+ * The {@link DefaultsMode} that will be used to determine how certain default configuration options are resolved in the SDK.
146
+ */
147
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
144
148
  }
145
149
  declare type CustomerProfilesClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
146
150
  /**
@@ -7,8 +7,7 @@ export interface GetMatchesCommandInput extends GetMatchesRequest {
7
7
  export interface GetMatchesCommandOutput extends GetMatchesResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>This API is in preview release for Amazon Connect and subject to change.</p>
11
- * <p>Before calling this API, use <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_CreateDomain.html">CreateDomain</a> or
10
+ * <p>Before calling this API, use <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_CreateDomain.html">CreateDomain</a> or
12
11
  * <a href="https://docs.aws.amazon.com/customerprofiles/latest/APIReference/API_UpdateDomain.html">UpdateDomain</a> to
13
12
  * enable identity resolution: set <code>Matching</code> to true.</p>
14
13
  * <p>GetMatches returns potentially matching profiles, based on the results of the latest run
@@ -7,8 +7,7 @@ export interface MergeProfilesCommandInput extends MergeProfilesRequest {
7
7
  export interface MergeProfilesCommandOutput extends MergeProfilesResponse, __MetadataBearer {
8
8
  }
9
9
  /**
10
- * <p>This API is in preview release for Amazon Connect and subject to change.</p>
11
- * <p>Runs an AWS Lambda job that does the following:</p>
10
+ * <p>Runs an AWS Lambda job that does the following:</p>
12
11
  * <ol>
13
12
  * <li>
14
13
  * <p>All the profileKeys in the <code>ProfileToBeMerged</code> will be moved to the
@@ -7,12 +7,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
7
7
  $fault: "client";
8
8
  Message?: string;
9
9
  }
10
- export declare namespace AccessDeniedException {
11
- /**
12
- * @internal
13
- */
14
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
15
- }
16
10
  export interface AddProfileKeyRequest {
17
11
  /**
18
12
  * <p>The unique identifier of a customer profile.</p>
@@ -61,12 +55,6 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
61
55
  $fault: "client";
62
56
  Message?: string;
63
57
  }
64
- export declare namespace BadRequestException {
65
- /**
66
- * @internal
67
- */
68
- const filterSensitiveLog: (obj: BadRequestException) => any;
69
- }
70
58
  /**
71
59
  * <p>An internal service error occurred.</p>
72
60
  */
@@ -75,12 +63,6 @@ export interface InternalServerException extends __SmithyException, $MetadataBea
75
63
  $fault: "server";
76
64
  Message?: string;
77
65
  }
78
- export declare namespace InternalServerException {
79
- /**
80
- * @internal
81
- */
82
- const filterSensitiveLog: (obj: InternalServerException) => any;
83
- }
84
66
  /**
85
67
  * <p>The requested resource does not exist, or access was denied.</p>
86
68
  */
@@ -89,12 +71,6 @@ export interface ResourceNotFoundException extends __SmithyException, $MetadataB
89
71
  $fault: "client";
90
72
  Message?: string;
91
73
  }
92
- export declare namespace ResourceNotFoundException {
93
- /**
94
- * @internal
95
- */
96
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
97
- }
98
74
  /**
99
75
  * <p>You exceeded the maximum number of requests.</p>
100
76
  */
@@ -103,12 +79,6 @@ export interface ThrottlingException extends __SmithyException, $MetadataBearer
103
79
  $fault: "client";
104
80
  Message?: string;
105
81
  }
106
- export declare namespace ThrottlingException {
107
- /**
108
- * @internal
109
- */
110
- const filterSensitiveLog: (obj: ThrottlingException) => any;
111
- }
112
82
  /**
113
83
  * <p>A generic address associated with the customer that is not mailing, shipping, or
114
84
  * billing.</p>
@@ -397,8 +367,7 @@ export declare namespace S3ExportingConfig {
397
367
  * <note>
398
368
  * <p>You need to give Customer Profiles service principal write permission to your S3 bucket.
399
369
  * Otherwise, you'll get an exception in the API response. For an example policy, see
400
- * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html#customer-profiles-cross-service">Amazon Connect Customer Profiles cross-service confused deputy prevention</a>.
401
- * </p>
370
+ * <a href="https://docs.aws.amazon.com/connect/latest/adminguide/cross-service-confused-deputy-prevention.html#customer-profiles-cross-service">Amazon Connect Customer Profiles cross-service confused deputy prevention</a>. </p>
402
371
  * </note>
403
372
  */
404
373
  export interface ExportingConfig {
@@ -1234,7 +1203,7 @@ export interface GetIntegrationResponse {
1234
1203
  /**
1235
1204
  * <p>The name of the profile object type.</p>
1236
1205
  */
1237
- ObjectTypeName: string | undefined;
1206
+ ObjectTypeName?: string;
1238
1207
  /**
1239
1208
  * <p>The timestamp of when the domain was created.</p>
1240
1209
  */
@@ -1249,6 +1218,14 @@ export interface GetIntegrationResponse {
1249
1218
  Tags?: {
1250
1219
  [key: string]: string;
1251
1220
  };
1221
+ /**
1222
+ * <p>A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an <code>ObjectTypeName</code> (template) used to ingest the event.
1223
+ * It supports the following event types: <code>SegmentIdentify</code>, <code>ShopifyCreateCustomers</code>, <code>ShopifyUpdateCustomers</code>, <code>ShopifyCreateDraftOrders</code>,
1224
+ * <code>ShopifyUpdateDraftOrders</code>, <code>ShopifyCreateOrders</code>, and <code>ShopifyUpdatedOrders</code>.</p>
1225
+ */
1226
+ ObjectTypeNames?: {
1227
+ [key: string]: string;
1228
+ };
1252
1229
  }
1253
1230
  export declare namespace GetIntegrationResponse {
1254
1231
  /**
@@ -1378,6 +1355,7 @@ export declare enum StandardIdentifier {
1378
1355
  CASE = "CASE",
1379
1356
  LOOKUP_ONLY = "LOOKUP_ONLY",
1380
1357
  NEW_ONLY = "NEW_ONLY",
1358
+ ORDER = "ORDER",
1381
1359
  PROFILE = "PROFILE",
1382
1360
  SECONDARY = "SECONDARY",
1383
1361
  UNIQUE = "UNIQUE"
@@ -1389,8 +1367,8 @@ export declare enum StandardIdentifier {
1389
1367
  export interface ObjectTypeKey {
1390
1368
  /**
1391
1369
  * <p>The types of keys that a ProfileObject can have. Each ProfileObject can have only 1
1392
- * UNIQUE key but multiple PROFILE keys. PROFILE, ASSET or CASE means that this key can be
1393
- * used to tie an object to a PROFILE, ASSET or CASE respectively. UNIQUE means that it can be
1370
+ * UNIQUE key but multiple PROFILE keys. PROFILE, ASSET, CASE, or ORDER means that this key can be
1371
+ * used to tie an object to a PROFILE, ASSET, CASE, or ORDER respectively. UNIQUE means that it can be
1394
1372
  * used to uniquely identify an object. If a key a is marked as SECONDARY, it will be used to
1395
1373
  * search for profiles after all other PROFILE keys have been searched. A LOOKUP_ONLY key is
1396
1374
  * only used to match a profile but is not persisted to be used for searching of the profile.
@@ -1569,7 +1547,7 @@ export interface ListIntegrationItem {
1569
1547
  /**
1570
1548
  * <p>The name of the profile object type.</p>
1571
1549
  */
1572
- ObjectTypeName: string | undefined;
1550
+ ObjectTypeName?: string;
1573
1551
  /**
1574
1552
  * <p>The timestamp of when the domain was created.</p>
1575
1553
  */
@@ -1584,6 +1562,14 @@ export interface ListIntegrationItem {
1584
1562
  Tags?: {
1585
1563
  [key: string]: string;
1586
1564
  };
1565
+ /**
1566
+ * <p>A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an <code>ObjectTypeName</code> (template) used to ingest the event.
1567
+ * It supports the following event types: <code>SegmentIdentify</code>, <code>ShopifyCreateCustomers</code>, <code>ShopifyUpdateCustomers</code>, <code>ShopifyCreateDraftOrders</code>,
1568
+ * <code>ShopifyUpdateDraftOrders</code>, <code>ShopifyCreateOrders</code>, and <code>ShopifyUpdatedOrders</code>.</p>
1569
+ */
1570
+ ObjectTypeNames?: {
1571
+ [key: string]: string;
1572
+ };
1587
1573
  }
1588
1574
  export declare namespace ListIntegrationItem {
1589
1575
  /**
@@ -1821,14 +1807,15 @@ export declare namespace ListIntegrationsResponse {
1821
1807
  }
1822
1808
  /**
1823
1809
  * <p>The filter applied to ListProfileObjects response to include profile objects with the
1824
- * specified index values. This filter is only supported for ObjectTypeName _asset and
1825
- * _case.</p>
1810
+ * specified index values. This filter is only supported for ObjectTypeName _asset, _case and
1811
+ * _order.</p>
1826
1812
  */
1827
1813
  export interface ObjectFilter {
1828
1814
  /**
1829
1815
  * <p>A searchable identifier of a standard profile object. The predefined keys you can use to
1830
1816
  * search for _asset include: _assetId, _assetName, _serialNumber. The predefined keys you can
1831
- * use to search for _case include: _caseId.</p>
1817
+ * use to search for _case include: _caseId. The predefined keys you can use to search for
1818
+ * _order include: _orderId.</p>
1832
1819
  */
1833
1820
  KeyName: string | undefined;
1834
1821
  /**
@@ -1865,7 +1852,7 @@ export interface ListProfileObjectsRequest {
1865
1852
  ProfileId: string | undefined;
1866
1853
  /**
1867
1854
  * <p>Applies a filter to the response to include profile objects with the specified index
1868
- * values. This filter is only supported for ObjectTypeName _asset and _case.</p>
1855
+ * values. This filter is only supported for ObjectTypeName _asset, _case and _order.</p>
1869
1856
  */
1870
1857
  ObjectFilter?: ObjectFilter;
1871
1858
  }
@@ -2580,7 +2567,7 @@ export interface PutIntegrationRequest {
2580
2567
  /**
2581
2568
  * <p>The name of the profile object type.</p>
2582
2569
  */
2583
- ObjectTypeName: string | undefined;
2570
+ ObjectTypeName?: string;
2584
2571
  /**
2585
2572
  * <p>The tags used to organize, track, or control access for this resource.</p>
2586
2573
  */
@@ -2592,6 +2579,14 @@ export interface PutIntegrationRequest {
2592
2579
  * source.</p>
2593
2580
  */
2594
2581
  FlowDefinition?: FlowDefinition;
2582
+ /**
2583
+ * <p>A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an <code>ObjectTypeName</code> (template) used to ingest the event.
2584
+ * It supports the following event types: <code>SegmentIdentify</code>, <code>ShopifyCreateCustomers</code>, <code>ShopifyUpdateCustomers</code>, <code>ShopifyCreateDraftOrders</code>,
2585
+ * <code>ShopifyUpdateDraftOrders</code>, <code>ShopifyCreateOrders</code>, and <code>ShopifyUpdatedOrders</code>.</p>
2586
+ */
2587
+ ObjectTypeNames?: {
2588
+ [key: string]: string;
2589
+ };
2595
2590
  }
2596
2591
  export declare namespace PutIntegrationRequest {
2597
2592
  /**
@@ -2611,7 +2606,7 @@ export interface PutIntegrationResponse {
2611
2606
  /**
2612
2607
  * <p>The name of the profile object type.</p>
2613
2608
  */
2614
- ObjectTypeName: string | undefined;
2609
+ ObjectTypeName?: string;
2615
2610
  /**
2616
2611
  * <p>The timestamp of when the domain was created.</p>
2617
2612
  */
@@ -2626,6 +2621,14 @@ export interface PutIntegrationResponse {
2626
2621
  Tags?: {
2627
2622
  [key: string]: string;
2628
2623
  };
2624
+ /**
2625
+ * <p>A map in which each key is an event type from an external application such as Segment or Shopify, and each value is an <code>ObjectTypeName</code> (template) used to ingest the event.
2626
+ * It supports the following event types: <code>SegmentIdentify</code>, <code>ShopifyCreateCustomers</code>, <code>ShopifyUpdateCustomers</code>, <code>ShopifyCreateDraftOrders</code>,
2627
+ * <code>ShopifyUpdateDraftOrders</code>, <code>ShopifyCreateOrders</code>, and <code>ShopifyUpdatedOrders</code>.</p>
2628
+ */
2629
+ ObjectTypeNames?: {
2630
+ [key: string]: string;
2631
+ };
2629
2632
  }
2630
2633
  export declare namespace PutIntegrationResponse {
2631
2634
  /**
@@ -2701,7 +2704,7 @@ export interface PutProfileObjectTypeRequest {
2701
2704
  AllowProfileCreation?: boolean;
2702
2705
  /**
2703
2706
  * <p>The format of your <code>sourceLastUpdatedTimestamp</code> that was previously set up.
2704
- * </p>
2707
+ * </p>
2705
2708
  */
2706
2709
  SourceLastUpdatedTimestampFormat?: string;
2707
2710
  /**
@@ -2812,9 +2815,12 @@ export interface SearchProfilesRequest {
2812
2815
  */
2813
2816
  DomainName: string | undefined;
2814
2817
  /**
2815
- * <p>A searchable identifier of a customer profile. The predefined keys you can use to search include: _account, _profileId,
2816
- * _fullName, _phone, _email, _ctrContactId, _marketoLeadId, _salesforceAccountId,
2817
- * _salesforceContactId, _zendeskUserId, _zendeskExternalId, _serviceNowSystemId.</p>
2818
+ * <p>A searchable identifier of a customer profile. The predefined keys you can use
2819
+ * to search include: _account, _profileId, _assetId, _caseId, _orderId, _fullName, _phone,
2820
+ * _email, _ctrContactId, _marketoLeadId, _salesforceAccountId, _salesforceContactId,
2821
+ * _salesforceAssetId, _zendeskUserId, _zendeskExternalId, _zendeskTicketId,
2822
+ * _serviceNowSystemId, _serviceNowIncidentId, _segmentUserId, _shopifyCustomerId,
2823
+ * _shopifyOrderId.</p>
2818
2824
  */
2819
2825
  KeyName: string | undefined;
2820
2826
  /**
@@ -1,10 +1,11 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { CustomerProfilesClientConfig } from "./CustomerProfilesClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: CustomerProfilesClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
@@ -12,7 +13,7 @@ export declare const getRuntimeConfig: (config: CustomerProfilesClientConfig) =>
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<any>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,18 +1,19 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { CustomerProfilesClientConfig } from "./CustomerProfilesClient";
3
3
  /**
4
4
  * @internal
5
5
  */
6
6
  export declare const getRuntimeConfig: (config: CustomerProfilesClientConfig) => {
7
7
  runtime: string;
8
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
8
9
  base64Decoder: import("@aws-sdk/types").Decoder;
9
10
  base64Encoder: import("@aws-sdk/types").Encoder;
10
11
  bodyLengthChecker: (body: any) => number | undefined;
11
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
12
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
12
13
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
13
14
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
14
15
  region: string | import("@aws-sdk/types").Provider<string>;
15
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
16
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
16
17
  retryMode: string | import("@aws-sdk/types").Provider<string>;
17
18
  sha256: import("@aws-sdk/types").HashConstructor;
18
19
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -25,6 +25,7 @@ export declare const getRuntimeConfig: (config: CustomerProfilesClientConfig) =>
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> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
28
29
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
29
30
  tls?: boolean | undefined;
30
31
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
@@ -4,7 +4,7 @@ import { RetryInputConfig, RetryResolvedConfig } from "@aws-sdk/middleware-retry
4
4
  import { AwsAuthInputConfig, AwsAuthResolvedConfig } from "@aws-sdk/middleware-signing";
5
5
  import { UserAgentInputConfig, UserAgentResolvedConfig } from "@aws-sdk/middleware-user-agent";
6
6
  import { HttpHandler as __HttpHandler } from "@aws-sdk/protocol-http";
7
- import { Client as __Client, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
7
+ import { Client as __Client, DefaultsMode, SmithyConfiguration as __SmithyConfiguration, SmithyResolvedConfiguration as __SmithyResolvedConfiguration } from "@aws-sdk/smithy-client";
8
8
  import { Credentials as __Credentials, Decoder as __Decoder, Encoder as __Encoder, HashConstructor as __HashConstructor, HttpHandlerOptions as __HttpHandlerOptions, Logger as __Logger, Provider as __Provider, Provider, RegionInfoProvider, StreamCollector as __StreamCollector, UrlParser as __UrlParser, UserAgent as __UserAgent } from "@aws-sdk/types";
9
9
  import { AddProfileKeyCommandInput, AddProfileKeyCommandOutput } from "./commands/AddProfileKeyCommand";
10
10
  import { CreateDomainCommandInput, CreateDomainCommandOutput } from "./commands/CreateDomainCommand";
@@ -84,6 +84,8 @@ export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__
84
84
  regionInfoProvider?: RegionInfoProvider;
85
85
 
86
86
  defaultUserAgentProvider?: Provider<__UserAgent>;
87
+
88
+ defaultsMode?: DefaultsMode | Provider<DefaultsMode>;
87
89
  }
88
90
  declare type CustomerProfilesClientConfigType = Partial<__SmithyConfiguration<__HttpHandlerOptions>> & ClientDefaults & RegionInputConfig & EndpointsInputConfig & RetryInputConfig & HostHeaderInputConfig & AwsAuthInputConfig & UserAgentInputConfig;
89
91
 
@@ -5,10 +5,6 @@ export interface AccessDeniedException extends __SmithyException, $MetadataBeare
5
5
  $fault: "client";
6
6
  Message?: string;
7
7
  }
8
- export declare namespace AccessDeniedException {
9
-
10
- const filterSensitiveLog: (obj: AccessDeniedException) => any;
11
- }
12
8
  export interface AddProfileKeyRequest {
13
9
 
14
10
  ProfileId: string | undefined;
@@ -39,40 +35,24 @@ export interface BadRequestException extends __SmithyException, $MetadataBearer
39
35
  $fault: "client";
40
36
  Message?: string;
41
37
  }
42
- export declare namespace BadRequestException {
43
-
44
- const filterSensitiveLog: (obj: BadRequestException) => any;
45
- }
46
38
 
47
39
  export interface InternalServerException extends __SmithyException, $MetadataBearer {
48
40
  name: "InternalServerException";
49
41
  $fault: "server";
50
42
  Message?: string;
51
43
  }
52
- export declare namespace InternalServerException {
53
-
54
- const filterSensitiveLog: (obj: InternalServerException) => any;
55
- }
56
44
 
57
45
  export interface ResourceNotFoundException extends __SmithyException, $MetadataBearer {
58
46
  name: "ResourceNotFoundException";
59
47
  $fault: "client";
60
48
  Message?: string;
61
49
  }
62
- export declare namespace ResourceNotFoundException {
63
-
64
- const filterSensitiveLog: (obj: ResourceNotFoundException) => any;
65
- }
66
50
 
67
51
  export interface ThrottlingException extends __SmithyException, $MetadataBearer {
68
52
  name: "ThrottlingException";
69
53
  $fault: "client";
70
54
  Message?: string;
71
55
  }
72
- export declare namespace ThrottlingException {
73
-
74
- const filterSensitiveLog: (obj: ThrottlingException) => any;
75
- }
76
56
 
77
57
  export interface Address {
78
58
 
@@ -725,7 +705,7 @@ export interface GetIntegrationResponse {
725
705
 
726
706
  Uri: string | undefined;
727
707
 
728
- ObjectTypeName: string | undefined;
708
+ ObjectTypeName?: string;
729
709
 
730
710
  CreatedAt: Date | undefined;
731
711
 
@@ -734,6 +714,10 @@ export interface GetIntegrationResponse {
734
714
  Tags?: {
735
715
  [key: string]: string;
736
716
  };
717
+
718
+ ObjectTypeNames?: {
719
+ [key: string]: string;
720
+ };
737
721
  }
738
722
  export declare namespace GetIntegrationResponse {
739
723
 
@@ -813,6 +797,7 @@ export declare enum StandardIdentifier {
813
797
  CASE = "CASE",
814
798
  LOOKUP_ONLY = "LOOKUP_ONLY",
815
799
  NEW_ONLY = "NEW_ONLY",
800
+ ORDER = "ORDER",
816
801
  PROFILE = "PROFILE",
817
802
  SECONDARY = "SECONDARY",
818
803
  UNIQUE = "UNIQUE"
@@ -915,7 +900,7 @@ export interface ListIntegrationItem {
915
900
 
916
901
  Uri: string | undefined;
917
902
 
918
- ObjectTypeName: string | undefined;
903
+ ObjectTypeName?: string;
919
904
 
920
905
  CreatedAt: Date | undefined;
921
906
 
@@ -924,6 +909,10 @@ export interface ListIntegrationItem {
924
909
  Tags?: {
925
910
  [key: string]: string;
926
911
  };
912
+
913
+ ObjectTypeNames?: {
914
+ [key: string]: string;
915
+ };
927
916
  }
928
917
  export declare namespace ListIntegrationItem {
929
918
 
@@ -1478,13 +1467,17 @@ export interface PutIntegrationRequest {
1478
1467
 
1479
1468
  Uri?: string;
1480
1469
 
1481
- ObjectTypeName: string | undefined;
1470
+ ObjectTypeName?: string;
1482
1471
 
1483
1472
  Tags?: {
1484
1473
  [key: string]: string;
1485
1474
  };
1486
1475
 
1487
1476
  FlowDefinition?: FlowDefinition;
1477
+
1478
+ ObjectTypeNames?: {
1479
+ [key: string]: string;
1480
+ };
1488
1481
  }
1489
1482
  export declare namespace PutIntegrationRequest {
1490
1483
 
@@ -1496,7 +1489,7 @@ export interface PutIntegrationResponse {
1496
1489
 
1497
1490
  Uri: string | undefined;
1498
1491
 
1499
- ObjectTypeName: string | undefined;
1492
+ ObjectTypeName?: string;
1500
1493
 
1501
1494
  CreatedAt: Date | undefined;
1502
1495
 
@@ -1505,6 +1498,10 @@ export interface PutIntegrationResponse {
1505
1498
  Tags?: {
1506
1499
  [key: string]: string;
1507
1500
  };
1501
+
1502
+ ObjectTypeNames?: {
1503
+ [key: string]: string;
1504
+ };
1508
1505
  }
1509
1506
  export declare namespace PutIntegrationResponse {
1510
1507
 
@@ -1,8 +1,9 @@
1
- import { FetchHttpHandler } from "@aws-sdk/fetch-http-handler";
1
+ import { FetchHttpHandler as RequestHandler } from "@aws-sdk/fetch-http-handler";
2
2
  import { CustomerProfilesClientConfig } from "./CustomerProfilesClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: CustomerProfilesClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
@@ -10,7 +11,7 @@ export declare const getRuntimeConfig: (config: CustomerProfilesClientConfig) =>
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<any>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | FetchHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -1,16 +1,17 @@
1
- import { NodeHttpHandler } from "@aws-sdk/node-http-handler";
1
+ import { NodeHttpHandler as RequestHandler } from "@aws-sdk/node-http-handler";
2
2
  import { CustomerProfilesClientConfig } from "./CustomerProfilesClient";
3
3
 
4
4
  export declare const getRuntimeConfig: (config: CustomerProfilesClientConfig) => {
5
5
  runtime: string;
6
+ defaultsMode: import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
6
7
  base64Decoder: import("@aws-sdk/types").Decoder;
7
8
  base64Encoder: import("@aws-sdk/types").Encoder;
8
9
  bodyLengthChecker: (body: any) => number | undefined;
9
- credentialDefaultProvider: import("@aws-sdk/client-sts/dist-types/defaultStsRoleAssumers").DefaultCredentialProvider;
10
+ credentialDefaultProvider: (input: any) => import("@aws-sdk/types").Provider<import("@aws-sdk/types").Credentials>;
10
11
  defaultUserAgentProvider: import("@aws-sdk/types").Provider<import("@aws-sdk/types").UserAgent>;
11
12
  maxAttempts: number | import("@aws-sdk/types").Provider<number>;
12
13
  region: string | import("@aws-sdk/types").Provider<string>;
13
- requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | NodeHttpHandler;
14
+ requestHandler: (import("@aws-sdk/types").RequestHandler<any, any, import("@aws-sdk/types").HttpHandlerOptions> & import("@aws-sdk/protocol-http").HttpHandler) | RequestHandler;
14
15
  retryMode: string | import("@aws-sdk/types").Provider<string>;
15
16
  sha256: import("@aws-sdk/types").HashConstructor;
16
17
  streamCollector: import("@aws-sdk/types").StreamCollector;
@@ -23,6 +23,7 @@ export declare const getRuntimeConfig: (config: CustomerProfilesClientConfig) =>
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> | import("@aws-sdk/types").Provider<import("@aws-sdk/smithy-client").ResolvedDefaultsMode>;
26
27
  endpoint?: string | import("@aws-sdk/types").Endpoint | import("@aws-sdk/types").Provider<import("@aws-sdk/types").Endpoint> | undefined;
27
28
  tls?: boolean | undefined;
28
29
  retryStrategy?: import("@aws-sdk/types").RetryStrategy | undefined;
package/package.json CHANGED
@@ -1,18 +1,15 @@
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.43.0",
4
+ "version": "3.47.1",
5
5
  "scripts": {
6
- "build": "yarn build:cjs && yarn build:es && yarn build:types",
7
- "build:cjs": "tsc -p tsconfig.json",
8
- "build:docs": "yarn clean:docs && typedoc ./",
6
+ "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
+ "build:cjs": "tsc -p tsconfig.cjs.json",
8
+ "build:docs": "typedoc",
9
9
  "build:es": "tsc -p tsconfig.es.json",
10
10
  "build:types": "tsc -p tsconfig.types.json",
11
- "clean": "yarn clean:dist && yarn clean:docs",
12
- "clean:dist": "rimraf ./dist",
13
- "clean:docs": "rimraf ./docs",
14
- "downlevel-dts": "downlevel-dts dist-types dist-types/ts3.4",
15
- "test": "jest --coverage --passWithNoTests"
11
+ "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
12
+ "clean": "rimraf ./dist-*"
16
13
  },
17
14
  "main": "./dist-cjs/index.js",
18
15
  "types": "./dist-types/index.d.ts",
@@ -21,48 +18,44 @@
21
18
  "dependencies": {
22
19
  "@aws-crypto/sha256-browser": "2.0.0",
23
20
  "@aws-crypto/sha256-js": "2.0.0",
24
- "@aws-sdk/client-sts": "3.43.0",
25
- "@aws-sdk/config-resolver": "3.40.0",
26
- "@aws-sdk/credential-provider-node": "3.41.0",
27
- "@aws-sdk/fetch-http-handler": "3.40.0",
28
- "@aws-sdk/hash-node": "3.40.0",
29
- "@aws-sdk/invalid-dependency": "3.40.0",
30
- "@aws-sdk/middleware-content-length": "3.40.0",
31
- "@aws-sdk/middleware-host-header": "3.40.0",
32
- "@aws-sdk/middleware-logger": "3.40.0",
33
- "@aws-sdk/middleware-retry": "3.40.0",
34
- "@aws-sdk/middleware-serde": "3.40.0",
35
- "@aws-sdk/middleware-signing": "3.40.0",
36
- "@aws-sdk/middleware-stack": "3.40.0",
37
- "@aws-sdk/middleware-user-agent": "3.40.0",
38
- "@aws-sdk/node-config-provider": "3.40.0",
39
- "@aws-sdk/node-http-handler": "3.40.0",
40
- "@aws-sdk/protocol-http": "3.40.0",
41
- "@aws-sdk/smithy-client": "3.41.0",
42
- "@aws-sdk/types": "3.40.0",
43
- "@aws-sdk/url-parser": "3.40.0",
44
- "@aws-sdk/util-base64-browser": "3.37.0",
45
- "@aws-sdk/util-base64-node": "3.37.0",
46
- "@aws-sdk/util-body-length-browser": "3.37.0",
47
- "@aws-sdk/util-body-length-node": "3.37.0",
48
- "@aws-sdk/util-user-agent-browser": "3.40.0",
49
- "@aws-sdk/util-user-agent-node": "3.40.0",
50
- "@aws-sdk/util-utf8-browser": "3.37.0",
51
- "@aws-sdk/util-utf8-node": "3.37.0",
21
+ "@aws-sdk/client-sts": "3.47.1",
22
+ "@aws-sdk/config-resolver": "3.47.1",
23
+ "@aws-sdk/credential-provider-node": "3.47.1",
24
+ "@aws-sdk/fetch-http-handler": "3.47.1",
25
+ "@aws-sdk/hash-node": "3.47.1",
26
+ "@aws-sdk/invalid-dependency": "3.47.1",
27
+ "@aws-sdk/middleware-content-length": "3.47.1",
28
+ "@aws-sdk/middleware-host-header": "3.47.1",
29
+ "@aws-sdk/middleware-logger": "3.47.1",
30
+ "@aws-sdk/middleware-retry": "3.47.1",
31
+ "@aws-sdk/middleware-serde": "3.47.1",
32
+ "@aws-sdk/middleware-signing": "3.47.1",
33
+ "@aws-sdk/middleware-stack": "3.47.1",
34
+ "@aws-sdk/middleware-user-agent": "3.47.1",
35
+ "@aws-sdk/node-config-provider": "3.47.1",
36
+ "@aws-sdk/node-http-handler": "3.47.1",
37
+ "@aws-sdk/protocol-http": "3.47.1",
38
+ "@aws-sdk/smithy-client": "3.47.1",
39
+ "@aws-sdk/types": "3.47.1",
40
+ "@aws-sdk/url-parser": "3.47.1",
41
+ "@aws-sdk/util-base64-browser": "3.47.1",
42
+ "@aws-sdk/util-base64-node": "3.47.1",
43
+ "@aws-sdk/util-body-length-browser": "3.47.1",
44
+ "@aws-sdk/util-body-length-node": "3.47.1",
45
+ "@aws-sdk/util-defaults-mode-browser": "3.47.1",
46
+ "@aws-sdk/util-defaults-mode-node": "3.47.1",
47
+ "@aws-sdk/util-user-agent-browser": "3.47.1",
48
+ "@aws-sdk/util-user-agent-node": "3.47.1",
49
+ "@aws-sdk/util-utf8-browser": "3.47.1",
50
+ "@aws-sdk/util-utf8-node": "3.47.1",
52
51
  "tslib": "^2.3.0"
53
52
  },
54
53
  "devDependencies": {
55
- "@aws-sdk/service-client-documentation-generator": "3.38.0",
56
- "@types/node": "^12.7.5",
57
- "downlevel-dts": "0.7.0",
58
- "jest": "^26.1.0",
59
- "rimraf": "^3.0.0",
60
- "ts-jest": "^26.4.1",
61
- "typedoc": "^0.19.2",
62
- "typescript": "~4.3.5"
54
+ "@aws-sdk/service-client-documentation-generator": "3.47.1",
55
+ "@types/node": "^12.7.5"
63
56
  },
64
57
  "engines": {
65
- "node": ">=10.0.0"
58
+ "node": ">=12.0.0"
66
59
  },
67
60
  "typesVersions": {
68
61
  "<4.0": {