@aws-sdk/client-config-service 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.
@@ -5606,7 +5606,9 @@ const serializeAws_json1_1Evaluation = (input, context) => {
5606
5606
  ...(input.ComplianceResourceId != null && { ComplianceResourceId: input.ComplianceResourceId }),
5607
5607
  ...(input.ComplianceResourceType != null && { ComplianceResourceType: input.ComplianceResourceType }),
5608
5608
  ...(input.ComplianceType != null && { ComplianceType: input.ComplianceType }),
5609
- ...(input.OrderingTimestamp != null && { OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000) }),
5609
+ ...(input.OrderingTimestamp != null && {
5610
+ OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000).toString(),
5611
+ }),
5610
5612
  };
5611
5613
  };
5612
5614
  const serializeAws_json1_1EvaluationContext = (input, context) => {
@@ -5653,7 +5655,9 @@ const serializeAws_json1_1ExternalEvaluation = (input, context) => {
5653
5655
  ...(input.ComplianceResourceId != null && { ComplianceResourceId: input.ComplianceResourceId }),
5654
5656
  ...(input.ComplianceResourceType != null && { ComplianceResourceType: input.ComplianceResourceType }),
5655
5657
  ...(input.ComplianceType != null && { ComplianceType: input.ComplianceType }),
5656
- ...(input.OrderingTimestamp != null && { OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000) }),
5658
+ ...(input.OrderingTimestamp != null && {
5659
+ OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000).toString(),
5660
+ }),
5657
5661
  };
5658
5662
  };
5659
5663
  const serializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleRequest = (input, context) => {
@@ -5805,8 +5809,8 @@ const serializeAws_json1_1GetOrganizationCustomRulePolicyRequest = (input, conte
5805
5809
  const serializeAws_json1_1GetResourceConfigHistoryRequest = (input, context) => {
5806
5810
  return {
5807
5811
  ...(input.chronologicalOrder != null && { chronologicalOrder: input.chronologicalOrder }),
5808
- ...(input.earlierTime != null && { earlierTime: Math.round(input.earlierTime.getTime() / 1000) }),
5809
- ...(input.laterTime != null && { laterTime: Math.round(input.laterTime.getTime() / 1000) }),
5812
+ ...(input.earlierTime != null && { earlierTime: Math.round(input.earlierTime.getTime() / 1000).toString() }),
5813
+ ...(input.laterTime != null && { laterTime: Math.round(input.laterTime.getTime() / 1000).toString() }),
5810
5814
  ...(input.limit != null && { limit: input.limit }),
5811
5815
  ...(input.nextToken != null && { nextToken: input.nextToken }),
5812
5816
  ...(input.resourceId != null && { resourceId: input.resourceId }),
@@ -6085,7 +6089,9 @@ const serializeAws_json1_1PutRemediationConfigurationsRequest = (input, context)
6085
6089
  const serializeAws_json1_1PutRemediationExceptionsRequest = (input, context) => {
6086
6090
  return {
6087
6091
  ...(input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName }),
6088
- ...(input.ExpirationTime != null && { ExpirationTime: Math.round(input.ExpirationTime.getTime() / 1000) }),
6092
+ ...(input.ExpirationTime != null && {
6093
+ ExpirationTime: Math.round(input.ExpirationTime.getTime() / 1000).toString(),
6094
+ }),
6089
6095
  ...(input.Message != null && { Message: input.Message }),
6090
6096
  ...(input.ResourceKeys != null && {
6091
6097
  ResourceKeys: serializeAws_json1_1RemediationExceptionResourceKeys(input.ResourceKeys, context),
@@ -6455,8 +6461,8 @@ const serializeAws_json1_1TemplateSSMDocumentDetails = (input, context) => {
6455
6461
  };
6456
6462
  const serializeAws_json1_1TimeWindow = (input, context) => {
6457
6463
  return {
6458
- ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
6459
- ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
6464
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
6465
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
6460
6466
  };
6461
6467
  };
6462
6468
  const serializeAws_json1_1UntagResourceRequest = (input, context) => {
@@ -5416,7 +5416,9 @@ const serializeAws_json1_1Evaluation = (input, context) => {
5416
5416
  ...(input.ComplianceResourceId != null && { ComplianceResourceId: input.ComplianceResourceId }),
5417
5417
  ...(input.ComplianceResourceType != null && { ComplianceResourceType: input.ComplianceResourceType }),
5418
5418
  ...(input.ComplianceType != null && { ComplianceType: input.ComplianceType }),
5419
- ...(input.OrderingTimestamp != null && { OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000) }),
5419
+ ...(input.OrderingTimestamp != null && {
5420
+ OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000).toString(),
5421
+ }),
5420
5422
  };
5421
5423
  };
5422
5424
  const serializeAws_json1_1EvaluationContext = (input, context) => {
@@ -5463,7 +5465,9 @@ const serializeAws_json1_1ExternalEvaluation = (input, context) => {
5463
5465
  ...(input.ComplianceResourceId != null && { ComplianceResourceId: input.ComplianceResourceId }),
5464
5466
  ...(input.ComplianceResourceType != null && { ComplianceResourceType: input.ComplianceResourceType }),
5465
5467
  ...(input.ComplianceType != null && { ComplianceType: input.ComplianceType }),
5466
- ...(input.OrderingTimestamp != null && { OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000) }),
5468
+ ...(input.OrderingTimestamp != null && {
5469
+ OrderingTimestamp: Math.round(input.OrderingTimestamp.getTime() / 1000).toString(),
5470
+ }),
5467
5471
  };
5468
5472
  };
5469
5473
  const serializeAws_json1_1GetAggregateComplianceDetailsByConfigRuleRequest = (input, context) => {
@@ -5615,8 +5619,8 @@ const serializeAws_json1_1GetOrganizationCustomRulePolicyRequest = (input, conte
5615
5619
  const serializeAws_json1_1GetResourceConfigHistoryRequest = (input, context) => {
5616
5620
  return {
5617
5621
  ...(input.chronologicalOrder != null && { chronologicalOrder: input.chronologicalOrder }),
5618
- ...(input.earlierTime != null && { earlierTime: Math.round(input.earlierTime.getTime() / 1000) }),
5619
- ...(input.laterTime != null && { laterTime: Math.round(input.laterTime.getTime() / 1000) }),
5622
+ ...(input.earlierTime != null && { earlierTime: Math.round(input.earlierTime.getTime() / 1000).toString() }),
5623
+ ...(input.laterTime != null && { laterTime: Math.round(input.laterTime.getTime() / 1000).toString() }),
5620
5624
  ...(input.limit != null && { limit: input.limit }),
5621
5625
  ...(input.nextToken != null && { nextToken: input.nextToken }),
5622
5626
  ...(input.resourceId != null && { resourceId: input.resourceId }),
@@ -5895,7 +5899,9 @@ const serializeAws_json1_1PutRemediationConfigurationsRequest = (input, context)
5895
5899
  const serializeAws_json1_1PutRemediationExceptionsRequest = (input, context) => {
5896
5900
  return {
5897
5901
  ...(input.ConfigRuleName != null && { ConfigRuleName: input.ConfigRuleName }),
5898
- ...(input.ExpirationTime != null && { ExpirationTime: Math.round(input.ExpirationTime.getTime() / 1000) }),
5902
+ ...(input.ExpirationTime != null && {
5903
+ ExpirationTime: Math.round(input.ExpirationTime.getTime() / 1000).toString(),
5904
+ }),
5899
5905
  ...(input.Message != null && { Message: input.Message }),
5900
5906
  ...(input.ResourceKeys != null && {
5901
5907
  ResourceKeys: serializeAws_json1_1RemediationExceptionResourceKeys(input.ResourceKeys, context),
@@ -6265,8 +6271,8 @@ const serializeAws_json1_1TemplateSSMDocumentDetails = (input, context) => {
6265
6271
  };
6266
6272
  const serializeAws_json1_1TimeWindow = (input, context) => {
6267
6273
  return {
6268
- ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000) }),
6269
- ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000) }),
6274
+ ...(input.EndTime != null && { EndTime: Math.round(input.EndTime.getTime() / 1000).toString() }),
6275
+ ...(input.StartTime != null && { StartTime: Math.round(input.StartTime.getTime() / 1000).toString() }),
6270
6276
  };
6271
6277
  };
6272
6278
  const serializeAws_json1_1UntagResourceRequest = (input, context) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-config-service",
3
3
  "description": "AWS SDK for JavaScript Config Service 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/config-service.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo config-service"
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",