@aws-sdk/client-lookoutequipment 3.245.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.
@@ -1979,13 +1979,13 @@ const serializeAws_json1_0CreateLabelGroupRequest = (input, context) => {
1979
1979
  const serializeAws_json1_0CreateLabelRequest = (input, context) => {
1980
1980
  return {
1981
1981
  ClientToken: input.ClientToken ?? (0, uuid_1.v4)(),
1982
- ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
1982
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
1983
1983
  ...(input.Equipment != null && { Equipment: input.Equipment }),
1984
1984
  ...(input.FaultCode != null && { FaultCode: input.FaultCode }),
1985
1985
  ...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
1986
1986
  ...(input.Notes != null && { Notes: input.Notes }),
1987
1987
  ...(input.Rating != null && { Rating: input.Rating }),
1988
- ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
1988
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
1989
1989
  };
1990
1990
  };
1991
1991
  const serializeAws_json1_0CreateModelRequest = (input, context) => {
@@ -1999,10 +1999,10 @@ const serializeAws_json1_0CreateModelRequest = (input, context) => {
1999
1999
  DatasetSchema: serializeAws_json1_0DatasetSchema(input.DatasetSchema, context),
2000
2000
  }),
2001
2001
  ...(input.EvaluationDataEndTime != null && {
2002
- EvaluationDataEndTime: Math.round(input.EvaluationDataEndTime.getTime() / 1000),
2002
+ EvaluationDataEndTime: Math.round(input.EvaluationDataEndTime.getTime() / 1000).toString(),
2003
2003
  }),
2004
2004
  ...(input.EvaluationDataStartTime != null && {
2005
- EvaluationDataStartTime: Math.round(input.EvaluationDataStartTime.getTime() / 1000),
2005
+ EvaluationDataStartTime: Math.round(input.EvaluationDataStartTime.getTime() / 1000).toString(),
2006
2006
  }),
2007
2007
  ...(input.LabelsInputConfiguration != null && {
2008
2008
  LabelsInputConfiguration: serializeAws_json1_0LabelsInputConfiguration(input.LabelsInputConfiguration, context),
@@ -2013,10 +2013,10 @@ const serializeAws_json1_0CreateModelRequest = (input, context) => {
2013
2013
  ...(input.ServerSideKmsKeyId != null && { ServerSideKmsKeyId: input.ServerSideKmsKeyId }),
2014
2014
  ...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
2015
2015
  ...(input.TrainingDataEndTime != null && {
2016
- TrainingDataEndTime: Math.round(input.TrainingDataEndTime.getTime() / 1000),
2016
+ TrainingDataEndTime: Math.round(input.TrainingDataEndTime.getTime() / 1000).toString(),
2017
2017
  }),
2018
2018
  ...(input.TrainingDataStartTime != null && {
2019
- TrainingDataStartTime: Math.round(input.TrainingDataStartTime.getTime() / 1000),
2019
+ TrainingDataStartTime: Math.round(input.TrainingDataStartTime.getTime() / 1000).toString(),
2020
2020
  }),
2021
2021
  };
2022
2022
  };
@@ -2179,17 +2179,23 @@ const serializeAws_json1_0ListDatasetsRequest = (input, context) => {
2179
2179
  const serializeAws_json1_0ListInferenceEventsRequest = (input, context) => {
2180
2180
  return {
2181
2181
  ...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
2182
- ...(input.IntervalEndTime != null && { IntervalEndTime: Math.round(input.IntervalEndTime.getTime() / 1000) }),
2183
- ...(input.IntervalStartTime != null && { IntervalStartTime: Math.round(input.IntervalStartTime.getTime() / 1000) }),
2182
+ ...(input.IntervalEndTime != null && {
2183
+ IntervalEndTime: Math.round(input.IntervalEndTime.getTime() / 1000).toString(),
2184
+ }),
2185
+ ...(input.IntervalStartTime != null && {
2186
+ IntervalStartTime: Math.round(input.IntervalStartTime.getTime() / 1000).toString(),
2187
+ }),
2184
2188
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2185
2189
  ...(input.NextToken != null && { NextToken: input.NextToken }),
2186
2190
  };
2187
2191
  };
2188
2192
  const serializeAws_json1_0ListInferenceExecutionsRequest = (input, context) => {
2189
2193
  return {
2190
- ...(input.DataEndTimeBefore != null && { DataEndTimeBefore: Math.round(input.DataEndTimeBefore.getTime() / 1000) }),
2194
+ ...(input.DataEndTimeBefore != null && {
2195
+ DataEndTimeBefore: Math.round(input.DataEndTimeBefore.getTime() / 1000).toString(),
2196
+ }),
2191
2197
  ...(input.DataStartTimeAfter != null && {
2192
- DataStartTimeAfter: Math.round(input.DataStartTimeAfter.getTime() / 1000),
2198
+ DataStartTimeAfter: Math.round(input.DataStartTimeAfter.getTime() / 1000).toString(),
2193
2199
  }),
2194
2200
  ...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
2195
2201
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
@@ -2219,8 +2225,12 @@ const serializeAws_json1_0ListLabelsRequest = (input, context) => {
2219
2225
  return {
2220
2226
  ...(input.Equipment != null && { Equipment: input.Equipment }),
2221
2227
  ...(input.FaultCode != null && { FaultCode: input.FaultCode }),
2222
- ...(input.IntervalEndTime != null && { IntervalEndTime: Math.round(input.IntervalEndTime.getTime() / 1000) }),
2223
- ...(input.IntervalStartTime != null && { IntervalStartTime: Math.round(input.IntervalStartTime.getTime() / 1000) }),
2228
+ ...(input.IntervalEndTime != null && {
2229
+ IntervalEndTime: Math.round(input.IntervalEndTime.getTime() / 1000).toString(),
2230
+ }),
2231
+ ...(input.IntervalStartTime != null && {
2232
+ IntervalStartTime: Math.round(input.IntervalStartTime.getTime() / 1000).toString(),
2233
+ }),
2224
2234
  ...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
2225
2235
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2226
2236
  ...(input.NextToken != null && { NextToken: input.NextToken }),
@@ -1909,13 +1909,13 @@ const serializeAws_json1_0CreateLabelGroupRequest = (input, context) => {
1909
1909
  const serializeAws_json1_0CreateLabelRequest = (input, context) => {
1910
1910
  return {
1911
1911
  ClientToken: input.ClientToken ?? generateIdempotencyToken(),
1912
- ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
1912
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
1913
1913
  ...(input.Equipment != null && { Equipment: input.Equipment }),
1914
1914
  ...(input.FaultCode != null && { FaultCode: input.FaultCode }),
1915
1915
  ...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
1916
1916
  ...(input.Notes != null && { Notes: input.Notes }),
1917
1917
  ...(input.Rating != null && { Rating: input.Rating }),
1918
- ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
1918
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
1919
1919
  };
1920
1920
  };
1921
1921
  const serializeAws_json1_0CreateModelRequest = (input, context) => {
@@ -1929,10 +1929,10 @@ const serializeAws_json1_0CreateModelRequest = (input, context) => {
1929
1929
  DatasetSchema: serializeAws_json1_0DatasetSchema(input.DatasetSchema, context),
1930
1930
  }),
1931
1931
  ...(input.EvaluationDataEndTime != null && {
1932
- EvaluationDataEndTime: Math.round(input.EvaluationDataEndTime.getTime() / 1000),
1932
+ EvaluationDataEndTime: Math.round(input.EvaluationDataEndTime.getTime() / 1000).toString(),
1933
1933
  }),
1934
1934
  ...(input.EvaluationDataStartTime != null && {
1935
- EvaluationDataStartTime: Math.round(input.EvaluationDataStartTime.getTime() / 1000),
1935
+ EvaluationDataStartTime: Math.round(input.EvaluationDataStartTime.getTime() / 1000).toString(),
1936
1936
  }),
1937
1937
  ...(input.LabelsInputConfiguration != null && {
1938
1938
  LabelsInputConfiguration: serializeAws_json1_0LabelsInputConfiguration(input.LabelsInputConfiguration, context),
@@ -1943,10 +1943,10 @@ const serializeAws_json1_0CreateModelRequest = (input, context) => {
1943
1943
  ...(input.ServerSideKmsKeyId != null && { ServerSideKmsKeyId: input.ServerSideKmsKeyId }),
1944
1944
  ...(input.Tags != null && { Tags: serializeAws_json1_0TagList(input.Tags, context) }),
1945
1945
  ...(input.TrainingDataEndTime != null && {
1946
- TrainingDataEndTime: Math.round(input.TrainingDataEndTime.getTime() / 1000),
1946
+ TrainingDataEndTime: Math.round(input.TrainingDataEndTime.getTime() / 1000).toString(),
1947
1947
  }),
1948
1948
  ...(input.TrainingDataStartTime != null && {
1949
- TrainingDataStartTime: Math.round(input.TrainingDataStartTime.getTime() / 1000),
1949
+ TrainingDataStartTime: Math.round(input.TrainingDataStartTime.getTime() / 1000).toString(),
1950
1950
  }),
1951
1951
  };
1952
1952
  };
@@ -2109,17 +2109,23 @@ const serializeAws_json1_0ListDatasetsRequest = (input, context) => {
2109
2109
  const serializeAws_json1_0ListInferenceEventsRequest = (input, context) => {
2110
2110
  return {
2111
2111
  ...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
2112
- ...(input.IntervalEndTime != null && { IntervalEndTime: Math.round(input.IntervalEndTime.getTime() / 1000) }),
2113
- ...(input.IntervalStartTime != null && { IntervalStartTime: Math.round(input.IntervalStartTime.getTime() / 1000) }),
2112
+ ...(input.IntervalEndTime != null && {
2113
+ IntervalEndTime: Math.round(input.IntervalEndTime.getTime() / 1000).toString(),
2114
+ }),
2115
+ ...(input.IntervalStartTime != null && {
2116
+ IntervalStartTime: Math.round(input.IntervalStartTime.getTime() / 1000).toString(),
2117
+ }),
2114
2118
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2115
2119
  ...(input.NextToken != null && { NextToken: input.NextToken }),
2116
2120
  };
2117
2121
  };
2118
2122
  const serializeAws_json1_0ListInferenceExecutionsRequest = (input, context) => {
2119
2123
  return {
2120
- ...(input.DataEndTimeBefore != null && { DataEndTimeBefore: Math.round(input.DataEndTimeBefore.getTime() / 1000) }),
2124
+ ...(input.DataEndTimeBefore != null && {
2125
+ DataEndTimeBefore: Math.round(input.DataEndTimeBefore.getTime() / 1000).toString(),
2126
+ }),
2121
2127
  ...(input.DataStartTimeAfter != null && {
2122
- DataStartTimeAfter: Math.round(input.DataStartTimeAfter.getTime() / 1000),
2128
+ DataStartTimeAfter: Math.round(input.DataStartTimeAfter.getTime() / 1000).toString(),
2123
2129
  }),
2124
2130
  ...(input.InferenceSchedulerName != null && { InferenceSchedulerName: input.InferenceSchedulerName }),
2125
2131
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
@@ -2149,8 +2155,12 @@ const serializeAws_json1_0ListLabelsRequest = (input, context) => {
2149
2155
  return {
2150
2156
  ...(input.Equipment != null && { Equipment: input.Equipment }),
2151
2157
  ...(input.FaultCode != null && { FaultCode: input.FaultCode }),
2152
- ...(input.IntervalEndTime != null && { IntervalEndTime: Math.round(input.IntervalEndTime.getTime() / 1000) }),
2153
- ...(input.IntervalStartTime != null && { IntervalStartTime: Math.round(input.IntervalStartTime.getTime() / 1000) }),
2158
+ ...(input.IntervalEndTime != null && {
2159
+ IntervalEndTime: Math.round(input.IntervalEndTime.getTime() / 1000).toString(),
2160
+ }),
2161
+ ...(input.IntervalStartTime != null && {
2162
+ IntervalStartTime: Math.round(input.IntervalStartTime.getTime() / 1000).toString(),
2163
+ }),
2154
2164
  ...(input.LabelGroupName != null && { LabelGroupName: input.LabelGroupName }),
2155
2165
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2156
2166
  ...(input.NextToken != null && { NextToken: input.NextToken }),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-lookoutequipment",
3
3
  "description": "AWS SDK for JavaScript Lookoutequipment Client for Node.js, Browser and React Native",
4
- "version": "3.245.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/lookoutequipment.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo lookoutequipment"
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.245.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.245.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",