@aws-sdk/client-ssm 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.
@@ -8459,7 +8459,7 @@ const serializeAws_json1_1AssociationIdList = (input, context) => {
8459
8459
  const serializeAws_json1_1AssociationStatus = (input, context) => {
8460
8460
  return {
8461
8461
  ...(input.AdditionalInfo != null && { AdditionalInfo: input.AdditionalInfo }),
8462
- ...(input.Date != null && { Date: Math.round(input.Date.getTime() / 1000) }),
8462
+ ...(input.Date != null && { Date: Math.round(input.Date.getTime() / 1000).toString() }),
8463
8463
  ...(input.Message != null && { Message: input.Message }),
8464
8464
  ...(input.Name != null && { Name: input.Name }),
8465
8465
  };
@@ -8588,7 +8588,7 @@ const serializeAws_json1_1CommandFilterList = (input, context) => {
8588
8588
  const serializeAws_json1_1ComplianceExecutionSummary = (input, context) => {
8589
8589
  return {
8590
8590
  ...(input.ExecutionId != null && { ExecutionId: input.ExecutionId }),
8591
- ...(input.ExecutionTime != null && { ExecutionTime: Math.round(input.ExecutionTime.getTime() / 1000) }),
8591
+ ...(input.ExecutionTime != null && { ExecutionTime: Math.round(input.ExecutionTime.getTime() / 1000).toString() }),
8592
8592
  ...(input.ExecutionType != null && { ExecutionType: input.ExecutionType }),
8593
8593
  };
8594
8594
  };
@@ -8656,7 +8656,9 @@ const serializeAws_json1_1CreateActivationRequest = (input, context) => {
8656
8656
  return {
8657
8657
  ...(input.DefaultInstanceName != null && { DefaultInstanceName: input.DefaultInstanceName }),
8658
8658
  ...(input.Description != null && { Description: input.Description }),
8659
- ...(input.ExpirationDate != null && { ExpirationDate: Math.round(input.ExpirationDate.getTime() / 1000) }),
8659
+ ...(input.ExpirationDate != null && {
8660
+ ExpirationDate: Math.round(input.ExpirationDate.getTime() / 1000).toString(),
8661
+ }),
8660
8662
  ...(input.IamRole != null && { IamRole: input.IamRole }),
8661
8663
  ...(input.RegistrationLimit != null && { RegistrationLimit: input.RegistrationLimit }),
8662
8664
  ...(input.RegistrationMetadata != null && {
@@ -8781,8 +8783,10 @@ const serializeAws_json1_1CreateMaintenanceWindowRequest = (input, context) => {
8781
8783
  const serializeAws_json1_1CreateOpsItemRequest = (input, context) => {
8782
8784
  return {
8783
8785
  ...(input.AccountId != null && { AccountId: input.AccountId }),
8784
- ...(input.ActualEndTime != null && { ActualEndTime: Math.round(input.ActualEndTime.getTime() / 1000) }),
8785
- ...(input.ActualStartTime != null && { ActualStartTime: Math.round(input.ActualStartTime.getTime() / 1000) }),
8786
+ ...(input.ActualEndTime != null && { ActualEndTime: Math.round(input.ActualEndTime.getTime() / 1000).toString() }),
8787
+ ...(input.ActualStartTime != null && {
8788
+ ActualStartTime: Math.round(input.ActualStartTime.getTime() / 1000).toString(),
8789
+ }),
8786
8790
  ...(input.Category != null && { Category: input.Category }),
8787
8791
  ...(input.Description != null && { Description: input.Description }),
8788
8792
  ...(input.Notifications != null && {
@@ -8792,8 +8796,12 @@ const serializeAws_json1_1CreateOpsItemRequest = (input, context) => {
8792
8796
  OperationalData: serializeAws_json1_1OpsItemOperationalData(input.OperationalData, context),
8793
8797
  }),
8794
8798
  ...(input.OpsItemType != null && { OpsItemType: input.OpsItemType }),
8795
- ...(input.PlannedEndTime != null && { PlannedEndTime: Math.round(input.PlannedEndTime.getTime() / 1000) }),
8796
- ...(input.PlannedStartTime != null && { PlannedStartTime: Math.round(input.PlannedStartTime.getTime() / 1000) }),
8799
+ ...(input.PlannedEndTime != null && {
8800
+ PlannedEndTime: Math.round(input.PlannedEndTime.getTime() / 1000).toString(),
8801
+ }),
8802
+ ...(input.PlannedStartTime != null && {
8803
+ PlannedStartTime: Math.round(input.PlannedStartTime.getTime() / 1000).toString(),
8804
+ }),
8797
8805
  ...(input.Priority != null && { Priority: input.Priority }),
8798
8806
  ...(input.RelatedOpsItems != null && {
8799
8807
  RelatedOpsItems: serializeAws_json1_1RelatedOpsItems(input.RelatedOpsItems, context),
@@ -10626,8 +10634,10 @@ const serializeAws_json1_1StartChangeRequestExecutionRequest = (input, context)
10626
10634
  Parameters: serializeAws_json1_1AutomationParameterMap(input.Parameters, context),
10627
10635
  }),
10628
10636
  ...(input.Runbooks != null && { Runbooks: serializeAws_json1_1Runbooks(input.Runbooks, context) }),
10629
- ...(input.ScheduledEndTime != null && { ScheduledEndTime: Math.round(input.ScheduledEndTime.getTime() / 1000) }),
10630
- ...(input.ScheduledTime != null && { ScheduledTime: Math.round(input.ScheduledTime.getTime() / 1000) }),
10637
+ ...(input.ScheduledEndTime != null && {
10638
+ ScheduledEndTime: Math.round(input.ScheduledEndTime.getTime() / 1000).toString(),
10639
+ }),
10640
+ ...(input.ScheduledTime != null && { ScheduledTime: Math.round(input.ScheduledTime.getTime() / 1000).toString() }),
10631
10641
  ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
10632
10642
  };
10633
10643
  };
@@ -10897,8 +10907,10 @@ const serializeAws_json1_1UpdateManagedInstanceRoleRequest = (input, context) =>
10897
10907
  };
10898
10908
  const serializeAws_json1_1UpdateOpsItemRequest = (input, context) => {
10899
10909
  return {
10900
- ...(input.ActualEndTime != null && { ActualEndTime: Math.round(input.ActualEndTime.getTime() / 1000) }),
10901
- ...(input.ActualStartTime != null && { ActualStartTime: Math.round(input.ActualStartTime.getTime() / 1000) }),
10910
+ ...(input.ActualEndTime != null && { ActualEndTime: Math.round(input.ActualEndTime.getTime() / 1000).toString() }),
10911
+ ...(input.ActualStartTime != null && {
10912
+ ActualStartTime: Math.round(input.ActualStartTime.getTime() / 1000).toString(),
10913
+ }),
10902
10914
  ...(input.Category != null && { Category: input.Category }),
10903
10915
  ...(input.Description != null && { Description: input.Description }),
10904
10916
  ...(input.Notifications != null && {
@@ -10912,8 +10924,12 @@ const serializeAws_json1_1UpdateOpsItemRequest = (input, context) => {
10912
10924
  }),
10913
10925
  ...(input.OpsItemArn != null && { OpsItemArn: input.OpsItemArn }),
10914
10926
  ...(input.OpsItemId != null && { OpsItemId: input.OpsItemId }),
10915
- ...(input.PlannedEndTime != null && { PlannedEndTime: Math.round(input.PlannedEndTime.getTime() / 1000) }),
10916
- ...(input.PlannedStartTime != null && { PlannedStartTime: Math.round(input.PlannedStartTime.getTime() / 1000) }),
10927
+ ...(input.PlannedEndTime != null && {
10928
+ PlannedEndTime: Math.round(input.PlannedEndTime.getTime() / 1000).toString(),
10929
+ }),
10930
+ ...(input.PlannedStartTime != null && {
10931
+ PlannedStartTime: Math.round(input.PlannedStartTime.getTime() / 1000).toString(),
10932
+ }),
10917
10933
  ...(input.Priority != null && { Priority: input.Priority }),
10918
10934
  ...(input.RelatedOpsItems != null && {
10919
10935
  RelatedOpsItems: serializeAws_json1_1RelatedOpsItems(input.RelatedOpsItems, context),
@@ -8175,7 +8175,7 @@ const serializeAws_json1_1AssociationIdList = (input, context) => {
8175
8175
  const serializeAws_json1_1AssociationStatus = (input, context) => {
8176
8176
  return {
8177
8177
  ...(input.AdditionalInfo != null && { AdditionalInfo: input.AdditionalInfo }),
8178
- ...(input.Date != null && { Date: Math.round(input.Date.getTime() / 1000) }),
8178
+ ...(input.Date != null && { Date: Math.round(input.Date.getTime() / 1000).toString() }),
8179
8179
  ...(input.Message != null && { Message: input.Message }),
8180
8180
  ...(input.Name != null && { Name: input.Name }),
8181
8181
  };
@@ -8304,7 +8304,7 @@ const serializeAws_json1_1CommandFilterList = (input, context) => {
8304
8304
  const serializeAws_json1_1ComplianceExecutionSummary = (input, context) => {
8305
8305
  return {
8306
8306
  ...(input.ExecutionId != null && { ExecutionId: input.ExecutionId }),
8307
- ...(input.ExecutionTime != null && { ExecutionTime: Math.round(input.ExecutionTime.getTime() / 1000) }),
8307
+ ...(input.ExecutionTime != null && { ExecutionTime: Math.round(input.ExecutionTime.getTime() / 1000).toString() }),
8308
8308
  ...(input.ExecutionType != null && { ExecutionType: input.ExecutionType }),
8309
8309
  };
8310
8310
  };
@@ -8372,7 +8372,9 @@ const serializeAws_json1_1CreateActivationRequest = (input, context) => {
8372
8372
  return {
8373
8373
  ...(input.DefaultInstanceName != null && { DefaultInstanceName: input.DefaultInstanceName }),
8374
8374
  ...(input.Description != null && { Description: input.Description }),
8375
- ...(input.ExpirationDate != null && { ExpirationDate: Math.round(input.ExpirationDate.getTime() / 1000) }),
8375
+ ...(input.ExpirationDate != null && {
8376
+ ExpirationDate: Math.round(input.ExpirationDate.getTime() / 1000).toString(),
8377
+ }),
8376
8378
  ...(input.IamRole != null && { IamRole: input.IamRole }),
8377
8379
  ...(input.RegistrationLimit != null && { RegistrationLimit: input.RegistrationLimit }),
8378
8380
  ...(input.RegistrationMetadata != null && {
@@ -8497,8 +8499,10 @@ const serializeAws_json1_1CreateMaintenanceWindowRequest = (input, context) => {
8497
8499
  const serializeAws_json1_1CreateOpsItemRequest = (input, context) => {
8498
8500
  return {
8499
8501
  ...(input.AccountId != null && { AccountId: input.AccountId }),
8500
- ...(input.ActualEndTime != null && { ActualEndTime: Math.round(input.ActualEndTime.getTime() / 1000) }),
8501
- ...(input.ActualStartTime != null && { ActualStartTime: Math.round(input.ActualStartTime.getTime() / 1000) }),
8502
+ ...(input.ActualEndTime != null && { ActualEndTime: Math.round(input.ActualEndTime.getTime() / 1000).toString() }),
8503
+ ...(input.ActualStartTime != null && {
8504
+ ActualStartTime: Math.round(input.ActualStartTime.getTime() / 1000).toString(),
8505
+ }),
8502
8506
  ...(input.Category != null && { Category: input.Category }),
8503
8507
  ...(input.Description != null && { Description: input.Description }),
8504
8508
  ...(input.Notifications != null && {
@@ -8508,8 +8512,12 @@ const serializeAws_json1_1CreateOpsItemRequest = (input, context) => {
8508
8512
  OperationalData: serializeAws_json1_1OpsItemOperationalData(input.OperationalData, context),
8509
8513
  }),
8510
8514
  ...(input.OpsItemType != null && { OpsItemType: input.OpsItemType }),
8511
- ...(input.PlannedEndTime != null && { PlannedEndTime: Math.round(input.PlannedEndTime.getTime() / 1000) }),
8512
- ...(input.PlannedStartTime != null && { PlannedStartTime: Math.round(input.PlannedStartTime.getTime() / 1000) }),
8515
+ ...(input.PlannedEndTime != null && {
8516
+ PlannedEndTime: Math.round(input.PlannedEndTime.getTime() / 1000).toString(),
8517
+ }),
8518
+ ...(input.PlannedStartTime != null && {
8519
+ PlannedStartTime: Math.round(input.PlannedStartTime.getTime() / 1000).toString(),
8520
+ }),
8513
8521
  ...(input.Priority != null && { Priority: input.Priority }),
8514
8522
  ...(input.RelatedOpsItems != null && {
8515
8523
  RelatedOpsItems: serializeAws_json1_1RelatedOpsItems(input.RelatedOpsItems, context),
@@ -10342,8 +10350,10 @@ const serializeAws_json1_1StartChangeRequestExecutionRequest = (input, context)
10342
10350
  Parameters: serializeAws_json1_1AutomationParameterMap(input.Parameters, context),
10343
10351
  }),
10344
10352
  ...(input.Runbooks != null && { Runbooks: serializeAws_json1_1Runbooks(input.Runbooks, context) }),
10345
- ...(input.ScheduledEndTime != null && { ScheduledEndTime: Math.round(input.ScheduledEndTime.getTime() / 1000) }),
10346
- ...(input.ScheduledTime != null && { ScheduledTime: Math.round(input.ScheduledTime.getTime() / 1000) }),
10353
+ ...(input.ScheduledEndTime != null && {
10354
+ ScheduledEndTime: Math.round(input.ScheduledEndTime.getTime() / 1000).toString(),
10355
+ }),
10356
+ ...(input.ScheduledTime != null && { ScheduledTime: Math.round(input.ScheduledTime.getTime() / 1000).toString() }),
10347
10357
  ...(input.Tags != null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }),
10348
10358
  };
10349
10359
  };
@@ -10613,8 +10623,10 @@ const serializeAws_json1_1UpdateManagedInstanceRoleRequest = (input, context) =>
10613
10623
  };
10614
10624
  const serializeAws_json1_1UpdateOpsItemRequest = (input, context) => {
10615
10625
  return {
10616
- ...(input.ActualEndTime != null && { ActualEndTime: Math.round(input.ActualEndTime.getTime() / 1000) }),
10617
- ...(input.ActualStartTime != null && { ActualStartTime: Math.round(input.ActualStartTime.getTime() / 1000) }),
10626
+ ...(input.ActualEndTime != null && { ActualEndTime: Math.round(input.ActualEndTime.getTime() / 1000).toString() }),
10627
+ ...(input.ActualStartTime != null && {
10628
+ ActualStartTime: Math.round(input.ActualStartTime.getTime() / 1000).toString(),
10629
+ }),
10618
10630
  ...(input.Category != null && { Category: input.Category }),
10619
10631
  ...(input.Description != null && { Description: input.Description }),
10620
10632
  ...(input.Notifications != null && {
@@ -10628,8 +10640,12 @@ const serializeAws_json1_1UpdateOpsItemRequest = (input, context) => {
10628
10640
  }),
10629
10641
  ...(input.OpsItemArn != null && { OpsItemArn: input.OpsItemArn }),
10630
10642
  ...(input.OpsItemId != null && { OpsItemId: input.OpsItemId }),
10631
- ...(input.PlannedEndTime != null && { PlannedEndTime: Math.round(input.PlannedEndTime.getTime() / 1000) }),
10632
- ...(input.PlannedStartTime != null && { PlannedStartTime: Math.round(input.PlannedStartTime.getTime() / 1000) }),
10643
+ ...(input.PlannedEndTime != null && {
10644
+ PlannedEndTime: Math.round(input.PlannedEndTime.getTime() / 1000).toString(),
10645
+ }),
10646
+ ...(input.PlannedStartTime != null && {
10647
+ PlannedStartTime: Math.round(input.PlannedStartTime.getTime() / 1000).toString(),
10648
+ }),
10633
10649
  ...(input.Priority != null && { Priority: input.Priority }),
10634
10650
  ...(input.RelatedOpsItems != null && {
10635
10651
  RelatedOpsItems: serializeAws_json1_1RelatedOpsItems(input.RelatedOpsItems, context),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ssm",
3
3
  "description": "AWS SDK for JavaScript Ssm 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/ssm.json --keepFiles)"
14
+ "generate:client": "node ../../scripts/generate-clients/single-service --solo ssm"
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",