@aws-sdk/client-customer-profiles 3.241.0 → 3.252.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.
@@ -672,8 +672,10 @@ const serializeAws_restJson1ListWorkflowsCommand = async (input, context) => {
672
672
  });
673
673
  let body;
674
674
  body = JSON.stringify({
675
- ...(input.QueryEndDate != null && { QueryEndDate: Math.round(input.QueryEndDate.getTime() / 1000) }),
676
- ...(input.QueryStartDate != null && { QueryStartDate: Math.round(input.QueryStartDate.getTime() / 1000) }),
675
+ ...(input.QueryEndDate != null && { QueryEndDate: Math.round(input.QueryEndDate.getTime() / 1000).toString() }),
676
+ ...(input.QueryStartDate != null && {
677
+ QueryStartDate: Math.round(input.QueryStartDate.getTime() / 1000).toString(),
678
+ }),
677
679
  ...(input.Status != null && { Status: input.Status }),
678
680
  ...(input.WorkflowType != null && { WorkflowType: input.WorkflowType }),
679
681
  });
@@ -3117,8 +3119,8 @@ const serializeAws_restJson1AutoMerging = (input, context) => {
3117
3119
  };
3118
3120
  const serializeAws_restJson1Batch = (input, context) => {
3119
3121
  return {
3120
- ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
3121
- ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
3122
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
3123
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
3122
3124
  };
3123
3125
  };
3124
3126
  const serializeAws_restJson1Batches = (input, context) => {
@@ -3344,12 +3346,16 @@ const serializeAws_restJson1ScheduledTriggerProperties = (input, context) => {
3344
3346
  return {
3345
3347
  ...(input.DataPullMode != null && { DataPullMode: input.DataPullMode }),
3346
3348
  ...(input.FirstExecutionFrom != null && {
3347
- FirstExecutionFrom: Math.round(input.FirstExecutionFrom.getTime() / 1000),
3349
+ FirstExecutionFrom: Math.round(input.FirstExecutionFrom.getTime() / 1000).toString(),
3350
+ }),
3351
+ ...(input.ScheduleEndTime != null && {
3352
+ ScheduleEndTime: Math.round(input.ScheduleEndTime.getTime() / 1000).toString(),
3348
3353
  }),
3349
- ...(input.ScheduleEndTime != null && { ScheduleEndTime: Math.round(input.ScheduleEndTime.getTime() / 1000) }),
3350
3354
  ...(input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression }),
3351
3355
  ...(input.ScheduleOffset != null && { ScheduleOffset: input.ScheduleOffset }),
3352
- ...(input.ScheduleStartTime != null && { ScheduleStartTime: Math.round(input.ScheduleStartTime.getTime() / 1000) }),
3356
+ ...(input.ScheduleStartTime != null && {
3357
+ ScheduleStartTime: Math.round(input.ScheduleStartTime.getTime() / 1000).toString(),
3358
+ }),
3353
3359
  ...(input.Timezone != null && { Timezone: input.Timezone }),
3354
3360
  };
3355
3361
  };
@@ -640,8 +640,10 @@ export const serializeAws_restJson1ListWorkflowsCommand = async (input, context)
640
640
  });
641
641
  let body;
642
642
  body = JSON.stringify({
643
- ...(input.QueryEndDate != null && { QueryEndDate: Math.round(input.QueryEndDate.getTime() / 1000) }),
644
- ...(input.QueryStartDate != null && { QueryStartDate: Math.round(input.QueryStartDate.getTime() / 1000) }),
643
+ ...(input.QueryEndDate != null && { QueryEndDate: Math.round(input.QueryEndDate.getTime() / 1000).toString() }),
644
+ ...(input.QueryStartDate != null && {
645
+ QueryStartDate: Math.round(input.QueryStartDate.getTime() / 1000).toString(),
646
+ }),
645
647
  ...(input.Status != null && { Status: input.Status }),
646
648
  ...(input.WorkflowType != null && { WorkflowType: input.WorkflowType }),
647
649
  });
@@ -3037,8 +3039,8 @@ const serializeAws_restJson1AutoMerging = (input, context) => {
3037
3039
  };
3038
3040
  const serializeAws_restJson1Batch = (input, context) => {
3039
3041
  return {
3040
- ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
3041
- ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
3042
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
3043
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
3042
3044
  };
3043
3045
  };
3044
3046
  const serializeAws_restJson1Batches = (input, context) => {
@@ -3264,12 +3266,16 @@ const serializeAws_restJson1ScheduledTriggerProperties = (input, context) => {
3264
3266
  return {
3265
3267
  ...(input.DataPullMode != null && { DataPullMode: input.DataPullMode }),
3266
3268
  ...(input.FirstExecutionFrom != null && {
3267
- FirstExecutionFrom: Math.round(input.FirstExecutionFrom.getTime() / 1000),
3269
+ FirstExecutionFrom: Math.round(input.FirstExecutionFrom.getTime() / 1000).toString(),
3270
+ }),
3271
+ ...(input.ScheduleEndTime != null && {
3272
+ ScheduleEndTime: Math.round(input.ScheduleEndTime.getTime() / 1000).toString(),
3268
3273
  }),
3269
- ...(input.ScheduleEndTime != null && { ScheduleEndTime: Math.round(input.ScheduleEndTime.getTime() / 1000) }),
3270
3274
  ...(input.ScheduleExpression != null && { ScheduleExpression: input.ScheduleExpression }),
3271
3275
  ...(input.ScheduleOffset != null && { ScheduleOffset: input.ScheduleOffset }),
3272
- ...(input.ScheduleStartTime != null && { ScheduleStartTime: Math.round(input.ScheduleStartTime.getTime() / 1000) }),
3276
+ ...(input.ScheduleStartTime != null && {
3277
+ ScheduleStartTime: Math.round(input.ScheduleStartTime.getTime() / 1000).toString(),
3278
+ }),
3273
3279
  ...(input.Timezone != null && { Timezone: input.Timezone }),
3274
3280
  };
3275
3281
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-customer-profiles",
3
3
  "description": "AWS SDK for JavaScript Customer Profiles Client for Node.js, Browser and React Native",
4
- "version": "3.241.0",
4
+ "version": "3.252.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "tsc -p tsconfig.cjs.json",
@@ -11,7 +11,7 @@
11
11
  "build:types": "tsc -p tsconfig.types.json",
12
12
  "build:types:downlevel": "downlevel-dts dist-types dist-types/ts3.4",
13
13
  "clean": "rimraf ./dist-* && rimraf *.tsbuildinfo",
14
- "generate:client": "(cd ../../ && yarn generate-clients -g ./codegen/sdk-codegen/aws-models/customer-profiles.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo customer-profiles"
15
15
  },
16
16
  "main": "./dist-cjs/index.js",
17
17
  "types": "./dist-types/index.d.ts",
@@ -20,9 +20,9 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "2.0.0",
22
22
  "@aws-crypto/sha256-js": "2.0.0",
23
- "@aws-sdk/client-sts": "3.241.0",
23
+ "@aws-sdk/client-sts": "3.252.0",
24
24
  "@aws-sdk/config-resolver": "3.234.0",
25
- "@aws-sdk/credential-provider-node": "3.241.0",
25
+ "@aws-sdk/credential-provider-node": "3.252.0",
26
26
  "@aws-sdk/fetch-http-handler": "3.226.0",
27
27
  "@aws-sdk/hash-node": "3.226.0",
28
28
  "@aws-sdk/invalid-dependency": "3.226.0",
@@ -47,7 +47,7 @@
47
47
  "@aws-sdk/util-body-length-node": "3.208.0",
48
48
  "@aws-sdk/util-defaults-mode-browser": "3.234.0",
49
49
  "@aws-sdk/util-defaults-mode-node": "3.234.0",
50
- "@aws-sdk/util-endpoints": "3.241.0",
50
+ "@aws-sdk/util-endpoints": "3.245.0",
51
51
  "@aws-sdk/util-retry": "3.229.0",
52
52
  "@aws-sdk/util-user-agent-browser": "3.226.0",
53
53
  "@aws-sdk/util-user-agent-node": "3.226.0",