@aws-sdk/client-fms 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.
@@ -2037,8 +2037,10 @@ const serializeAws_json1_1AppsList = (input, context) => {
2037
2037
  const serializeAws_json1_1AppsListData = (input, context) => {
2038
2038
  return {
2039
2039
  ...(input.AppsList != null && { AppsList: serializeAws_json1_1AppsList(input.AppsList, context) }),
2040
- ...(input.CreateTime != null && { CreateTime: Math.round(input.CreateTime.getTime() / 1000) }),
2041
- ...(input.LastUpdateTime != null && { LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000) }),
2040
+ ...(input.CreateTime != null && { CreateTime: Math.round(input.CreateTime.getTime() / 1000).toString() }),
2041
+ ...(input.LastUpdateTime != null && {
2042
+ LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000).toString(),
2043
+ }),
2042
2044
  ...(input.ListId != null && { ListId: input.ListId }),
2043
2045
  ...(input.ListName != null && { ListName: input.ListName }),
2044
2046
  ...(input.ListUpdateToken != null && { ListUpdateToken: input.ListUpdateToken }),
@@ -2149,12 +2151,12 @@ const serializeAws_json1_1GetPolicyRequest = (input, context) => {
2149
2151
  };
2150
2152
  const serializeAws_json1_1GetProtectionStatusRequest = (input, context) => {
2151
2153
  return {
2152
- ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
2154
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
2153
2155
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2154
2156
  ...(input.MemberAccountId != null && { MemberAccountId: input.MemberAccountId }),
2155
2157
  ...(input.NextToken != null && { NextToken: input.NextToken }),
2156
2158
  ...(input.PolicyId != null && { PolicyId: input.PolicyId }),
2157
- ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
2159
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
2158
2160
  };
2159
2161
  };
2160
2162
  const serializeAws_json1_1GetProtocolsListRequest = (input, context) => {
@@ -2328,8 +2330,10 @@ const serializeAws_json1_1ProtocolsList = (input, context) => {
2328
2330
  };
2329
2331
  const serializeAws_json1_1ProtocolsListData = (input, context) => {
2330
2332
  return {
2331
- ...(input.CreateTime != null && { CreateTime: Math.round(input.CreateTime.getTime() / 1000) }),
2332
- ...(input.LastUpdateTime != null && { LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000) }),
2333
+ ...(input.CreateTime != null && { CreateTime: Math.round(input.CreateTime.getTime() / 1000).toString() }),
2334
+ ...(input.LastUpdateTime != null && {
2335
+ LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000).toString(),
2336
+ }),
2333
2337
  ...(input.ListId != null && { ListId: input.ListId }),
2334
2338
  ...(input.ListName != null && { ListName: input.ListName }),
2335
2339
  ...(input.ListUpdateToken != null && { ListUpdateToken: input.ListUpdateToken }),
@@ -2377,7 +2381,9 @@ const serializeAws_json1_1ResourceSet = (input, context) => {
2377
2381
  return {
2378
2382
  ...(input.Description != null && { Description: input.Description }),
2379
2383
  ...(input.Id != null && { Id: input.Id }),
2380
- ...(input.LastUpdateTime != null && { LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000) }),
2384
+ ...(input.LastUpdateTime != null && {
2385
+ LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000).toString(),
2386
+ }),
2381
2387
  ...(input.Name != null && { Name: input.Name }),
2382
2388
  ...(input.ResourceTypeList != null && {
2383
2389
  ResourceTypeList: serializeAws_json1_1ResourceTypeList(input.ResourceTypeList, context),
@@ -1957,8 +1957,10 @@ const serializeAws_json1_1AppsList = (input, context) => {
1957
1957
  const serializeAws_json1_1AppsListData = (input, context) => {
1958
1958
  return {
1959
1959
  ...(input.AppsList != null && { AppsList: serializeAws_json1_1AppsList(input.AppsList, context) }),
1960
- ...(input.CreateTime != null && { CreateTime: Math.round(input.CreateTime.getTime() / 1000) }),
1961
- ...(input.LastUpdateTime != null && { LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000) }),
1960
+ ...(input.CreateTime != null && { CreateTime: Math.round(input.CreateTime.getTime() / 1000).toString() }),
1961
+ ...(input.LastUpdateTime != null && {
1962
+ LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000).toString(),
1963
+ }),
1962
1964
  ...(input.ListId != null && { ListId: input.ListId }),
1963
1965
  ...(input.ListName != null && { ListName: input.ListName }),
1964
1966
  ...(input.ListUpdateToken != null && { ListUpdateToken: input.ListUpdateToken }),
@@ -2069,12 +2071,12 @@ const serializeAws_json1_1GetPolicyRequest = (input, context) => {
2069
2071
  };
2070
2072
  const serializeAws_json1_1GetProtectionStatusRequest = (input, context) => {
2071
2073
  return {
2072
- ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
2074
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
2073
2075
  ...(input.MaxResults != null && { MaxResults: input.MaxResults }),
2074
2076
  ...(input.MemberAccountId != null && { MemberAccountId: input.MemberAccountId }),
2075
2077
  ...(input.NextToken != null && { NextToken: input.NextToken }),
2076
2078
  ...(input.PolicyId != null && { PolicyId: input.PolicyId }),
2077
- ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
2079
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
2078
2080
  };
2079
2081
  };
2080
2082
  const serializeAws_json1_1GetProtocolsListRequest = (input, context) => {
@@ -2248,8 +2250,10 @@ const serializeAws_json1_1ProtocolsList = (input, context) => {
2248
2250
  };
2249
2251
  const serializeAws_json1_1ProtocolsListData = (input, context) => {
2250
2252
  return {
2251
- ...(input.CreateTime != null && { CreateTime: Math.round(input.CreateTime.getTime() / 1000) }),
2252
- ...(input.LastUpdateTime != null && { LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000) }),
2253
+ ...(input.CreateTime != null && { CreateTime: Math.round(input.CreateTime.getTime() / 1000).toString() }),
2254
+ ...(input.LastUpdateTime != null && {
2255
+ LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000).toString(),
2256
+ }),
2253
2257
  ...(input.ListId != null && { ListId: input.ListId }),
2254
2258
  ...(input.ListName != null && { ListName: input.ListName }),
2255
2259
  ...(input.ListUpdateToken != null && { ListUpdateToken: input.ListUpdateToken }),
@@ -2297,7 +2301,9 @@ const serializeAws_json1_1ResourceSet = (input, context) => {
2297
2301
  return {
2298
2302
  ...(input.Description != null && { Description: input.Description }),
2299
2303
  ...(input.Id != null && { Id: input.Id }),
2300
- ...(input.LastUpdateTime != null && { LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000) }),
2304
+ ...(input.LastUpdateTime != null && {
2305
+ LastUpdateTime: Math.round(input.LastUpdateTime.getTime() / 1000).toString(),
2306
+ }),
2301
2307
  ...(input.Name != null && { Name: input.Name }),
2302
2308
  ...(input.ResourceTypeList != null && {
2303
2309
  ResourceTypeList: serializeAws_json1_1ResourceTypeList(input.ResourceTypeList, context),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-fms",
3
3
  "description": "AWS SDK for JavaScript Fms 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/fms.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo fms"
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",