@aws-sdk/client-secrets-manager 3.28.0 → 3.32.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,38 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ # [3.32.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.31.0...v3.32.0) (2021-09-17)
7
+
8
+ **Note:** Version bump only for package @aws-sdk/client-secrets-manager
9
+
10
+
11
+
12
+
13
+
14
+ # [3.31.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.30.0...v3.31.0) (2021-09-11)
15
+
16
+ **Note:** Version bump only for package @aws-sdk/client-secrets-manager
17
+
18
+
19
+
20
+
21
+
22
+ # [3.30.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.29.0...v3.30.0) (2021-09-07)
23
+
24
+ **Note:** Version bump only for package @aws-sdk/client-secrets-manager
25
+
26
+
27
+
28
+
29
+
30
+ # [3.29.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.28.0...v3.29.0) (2021-09-02)
31
+
32
+ **Note:** Version bump only for package @aws-sdk/client-secrets-manager
33
+
34
+
35
+
36
+
37
+
6
38
  # [3.28.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.27.0...v3.28.0) (2021-08-27)
7
39
 
8
40
 
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-secrets-manager",
3
3
  "description": "AWS SDK for JavaScript Secrets Manager Client for Node.js, Browser and React Native",
4
- "version": "3.28.0",
4
+ "version": "3.32.0",
5
5
  "scripts": {
6
6
  "clean": "yarn remove-definitions && yarn remove-dist && yarn remove-documentation",
7
7
  "build-documentation": "yarn remove-documentation && typedoc ./",
@@ -27,39 +27,39 @@
27
27
  "dependencies": {
28
28
  "@aws-crypto/sha256-browser": "^1.0.0",
29
29
  "@aws-crypto/sha256-js": "^1.0.0",
30
- "@aws-sdk/client-sts": "3.28.0",
31
- "@aws-sdk/config-resolver": "3.28.0",
32
- "@aws-sdk/credential-provider-node": "3.28.0",
33
- "@aws-sdk/fetch-http-handler": "3.25.0",
34
- "@aws-sdk/hash-node": "3.25.0",
35
- "@aws-sdk/invalid-dependency": "3.25.0",
36
- "@aws-sdk/middleware-content-length": "3.25.0",
37
- "@aws-sdk/middleware-host-header": "3.25.0",
38
- "@aws-sdk/middleware-logger": "3.25.0",
39
- "@aws-sdk/middleware-retry": "3.28.0",
40
- "@aws-sdk/middleware-serde": "3.25.0",
41
- "@aws-sdk/middleware-signing": "3.28.0",
42
- "@aws-sdk/middleware-stack": "3.25.0",
43
- "@aws-sdk/middleware-user-agent": "3.25.0",
44
- "@aws-sdk/node-config-provider": "3.28.0",
45
- "@aws-sdk/node-http-handler": "3.25.0",
46
- "@aws-sdk/protocol-http": "3.25.0",
47
- "@aws-sdk/smithy-client": "3.28.0",
48
- "@aws-sdk/types": "3.25.0",
49
- "@aws-sdk/url-parser": "3.25.0",
50
- "@aws-sdk/util-base64-browser": "3.23.0",
51
- "@aws-sdk/util-base64-node": "3.23.0",
52
- "@aws-sdk/util-body-length-browser": "3.23.0",
53
- "@aws-sdk/util-body-length-node": "3.23.0",
54
- "@aws-sdk/util-user-agent-browser": "3.25.0",
55
- "@aws-sdk/util-user-agent-node": "3.28.0",
56
- "@aws-sdk/util-utf8-browser": "3.23.0",
57
- "@aws-sdk/util-utf8-node": "3.23.0",
30
+ "@aws-sdk/client-sts": "3.32.0",
31
+ "@aws-sdk/config-resolver": "3.32.0",
32
+ "@aws-sdk/credential-provider-node": "3.32.0",
33
+ "@aws-sdk/fetch-http-handler": "3.32.0",
34
+ "@aws-sdk/hash-node": "3.32.0",
35
+ "@aws-sdk/invalid-dependency": "3.32.0",
36
+ "@aws-sdk/middleware-content-length": "3.32.0",
37
+ "@aws-sdk/middleware-host-header": "3.32.0",
38
+ "@aws-sdk/middleware-logger": "3.32.0",
39
+ "@aws-sdk/middleware-retry": "3.32.0",
40
+ "@aws-sdk/middleware-serde": "3.32.0",
41
+ "@aws-sdk/middleware-signing": "3.32.0",
42
+ "@aws-sdk/middleware-stack": "3.32.0",
43
+ "@aws-sdk/middleware-user-agent": "3.32.0",
44
+ "@aws-sdk/node-config-provider": "3.32.0",
45
+ "@aws-sdk/node-http-handler": "3.32.0",
46
+ "@aws-sdk/protocol-http": "3.32.0",
47
+ "@aws-sdk/smithy-client": "3.32.0",
48
+ "@aws-sdk/types": "3.32.0",
49
+ "@aws-sdk/url-parser": "3.32.0",
50
+ "@aws-sdk/util-base64-browser": "3.32.0",
51
+ "@aws-sdk/util-base64-node": "3.32.0",
52
+ "@aws-sdk/util-body-length-browser": "3.32.0",
53
+ "@aws-sdk/util-body-length-node": "3.32.0",
54
+ "@aws-sdk/util-user-agent-browser": "3.32.0",
55
+ "@aws-sdk/util-user-agent-node": "3.32.0",
56
+ "@aws-sdk/util-utf8-browser": "3.32.0",
57
+ "@aws-sdk/util-utf8-node": "3.32.0",
58
58
  "tslib": "^2.3.0",
59
59
  "uuid": "^8.3.2"
60
60
  },
61
61
  "devDependencies": {
62
- "@aws-sdk/client-documentation-generator": "3.23.0",
62
+ "@aws-sdk/client-documentation-generator": "3.32.0",
63
63
  "@types/node": "^12.7.5",
64
64
  "@types/uuid": "^8.3.0",
65
65
  "downlevel-dts": "0.7.0",
@@ -67,7 +67,7 @@
67
67
  "rimraf": "^3.0.0",
68
68
  "ts-jest": "^26.4.1",
69
69
  "typedoc": "^0.19.2",
70
- "typescript": "~4.3.2"
70
+ "typescript": "~4.3.5"
71
71
  },
72
72
  "engines": {
73
73
  "node": ">=10.0.0"
@@ -2361,7 +2361,7 @@ const deserializeAws_json1_1DeleteSecretResponse = (output, context) => {
2361
2361
  return {
2362
2362
  ARN: smithy_client_1.expectString(output.ARN),
2363
2363
  DeletionDate: output.DeletionDate !== undefined && output.DeletionDate !== null
2364
- ? new Date(Math.round(output.DeletionDate * 1000))
2364
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeletionDate)))
2365
2365
  : undefined,
2366
2366
  Name: smithy_client_1.expectString(output.Name),
2367
2367
  };
@@ -2370,21 +2370,21 @@ const deserializeAws_json1_1DescribeSecretResponse = (output, context) => {
2370
2370
  return {
2371
2371
  ARN: smithy_client_1.expectString(output.ARN),
2372
2372
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
2373
- ? new Date(Math.round(output.CreatedDate * 1000))
2373
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
2374
2374
  : undefined,
2375
2375
  DeletedDate: output.DeletedDate !== undefined && output.DeletedDate !== null
2376
- ? new Date(Math.round(output.DeletedDate * 1000))
2376
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeletedDate)))
2377
2377
  : undefined,
2378
2378
  Description: smithy_client_1.expectString(output.Description),
2379
2379
  KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
2380
2380
  LastAccessedDate: output.LastAccessedDate !== undefined && output.LastAccessedDate !== null
2381
- ? new Date(Math.round(output.LastAccessedDate * 1000))
2381
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAccessedDate)))
2382
2382
  : undefined,
2383
2383
  LastChangedDate: output.LastChangedDate !== undefined && output.LastChangedDate !== null
2384
- ? new Date(Math.round(output.LastChangedDate * 1000))
2384
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastChangedDate)))
2385
2385
  : undefined,
2386
2386
  LastRotatedDate: output.LastRotatedDate !== undefined && output.LastRotatedDate !== null
2387
- ? new Date(Math.round(output.LastRotatedDate * 1000))
2387
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastRotatedDate)))
2388
2388
  : undefined,
2389
2389
  Name: smithy_client_1.expectString(output.Name),
2390
2390
  OwningService: smithy_client_1.expectString(output.OwningService),
@@ -2426,7 +2426,7 @@ const deserializeAws_json1_1GetSecretValueResponse = (output, context) => {
2426
2426
  return {
2427
2427
  ARN: smithy_client_1.expectString(output.ARN),
2428
2428
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
2429
- ? new Date(Math.round(output.CreatedDate * 1000))
2429
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
2430
2430
  : undefined,
2431
2431
  Name: smithy_client_1.expectString(output.Name),
2432
2432
  SecretBinary: output.SecretBinary !== undefined && output.SecretBinary !== null
@@ -2553,7 +2553,7 @@ const deserializeAws_json1_1ReplicationStatusType = (output, context) => {
2553
2553
  return {
2554
2554
  KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
2555
2555
  LastAccessedDate: output.LastAccessedDate !== undefined && output.LastAccessedDate !== null
2556
- ? new Date(Math.round(output.LastAccessedDate * 1000))
2556
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAccessedDate)))
2557
2557
  : undefined,
2558
2558
  Region: smithy_client_1.expectString(output.Region),
2559
2559
  Status: smithy_client_1.expectString(output.Status),
@@ -2585,28 +2585,28 @@ const deserializeAws_json1_1RotateSecretResponse = (output, context) => {
2585
2585
  };
2586
2586
  const deserializeAws_json1_1RotationRulesType = (output, context) => {
2587
2587
  return {
2588
- AutomaticallyAfterDays: smithy_client_1.expectInt(output.AutomaticallyAfterDays),
2588
+ AutomaticallyAfterDays: smithy_client_1.expectLong(output.AutomaticallyAfterDays),
2589
2589
  };
2590
2590
  };
2591
2591
  const deserializeAws_json1_1SecretListEntry = (output, context) => {
2592
2592
  return {
2593
2593
  ARN: smithy_client_1.expectString(output.ARN),
2594
2594
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
2595
- ? new Date(Math.round(output.CreatedDate * 1000))
2595
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
2596
2596
  : undefined,
2597
2597
  DeletedDate: output.DeletedDate !== undefined && output.DeletedDate !== null
2598
- ? new Date(Math.round(output.DeletedDate * 1000))
2598
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.DeletedDate)))
2599
2599
  : undefined,
2600
2600
  Description: smithy_client_1.expectString(output.Description),
2601
2601
  KmsKeyId: smithy_client_1.expectString(output.KmsKeyId),
2602
2602
  LastAccessedDate: output.LastAccessedDate !== undefined && output.LastAccessedDate !== null
2603
- ? new Date(Math.round(output.LastAccessedDate * 1000))
2603
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAccessedDate)))
2604
2604
  : undefined,
2605
2605
  LastChangedDate: output.LastChangedDate !== undefined && output.LastChangedDate !== null
2606
- ? new Date(Math.round(output.LastChangedDate * 1000))
2606
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastChangedDate)))
2607
2607
  : undefined,
2608
2608
  LastRotatedDate: output.LastRotatedDate !== undefined && output.LastRotatedDate !== null
2609
- ? new Date(Math.round(output.LastRotatedDate * 1000))
2609
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastRotatedDate)))
2610
2610
  : undefined,
2611
2611
  Name: smithy_client_1.expectString(output.Name),
2612
2612
  OwningService: smithy_client_1.expectString(output.OwningService),
@@ -2637,13 +2637,13 @@ const deserializeAws_json1_1SecretListType = (output, context) => {
2637
2637
  const deserializeAws_json1_1SecretVersionsListEntry = (output, context) => {
2638
2638
  return {
2639
2639
  CreatedDate: output.CreatedDate !== undefined && output.CreatedDate !== null
2640
- ? new Date(Math.round(output.CreatedDate * 1000))
2640
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.CreatedDate)))
2641
2641
  : undefined,
2642
2642
  KmsKeyIds: output.KmsKeyIds !== undefined && output.KmsKeyIds !== null
2643
2643
  ? deserializeAws_json1_1KmsKeyIdListType(output.KmsKeyIds, context)
2644
2644
  : undefined,
2645
2645
  LastAccessedDate: output.LastAccessedDate !== undefined && output.LastAccessedDate !== null
2646
- ? new Date(Math.round(output.LastAccessedDate * 1000))
2646
+ ? smithy_client_1.expectNonNull(smithy_client_1.parseEpochTimestamp(smithy_client_1.expectNumber(output.LastAccessedDate)))
2647
2647
  : undefined,
2648
2648
  VersionId: smithy_client_1.expectString(output.VersionId),
2649
2649
  VersionStages: output.VersionStages !== undefined && output.VersionStages !== null