@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 +32 -0
- package/dist/cjs/package.json +31 -31
- package/dist/cjs/protocols/Aws_json1_1.js +16 -16
- package/dist/cjs/protocols/Aws_json1_1.js.map +1 -1
- package/dist/es/endpoints.js +1 -2
- package/dist/es/endpoints.js.map +1 -1
- package/dist/es/package.json +31 -31
- package/dist/es/protocols/Aws_json1_1.js +17 -17
- package/dist/es/protocols/Aws_json1_1.js.map +1 -1
- package/package.json +31 -31
- package/protocols/Aws_json1_1.ts +20 -17
package/package.json
CHANGED
|
@@ -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.
|
|
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.
|
|
31
|
-
"@aws-sdk/config-resolver": "3.
|
|
32
|
-
"@aws-sdk/credential-provider-node": "3.
|
|
33
|
-
"@aws-sdk/fetch-http-handler": "3.
|
|
34
|
-
"@aws-sdk/hash-node": "3.
|
|
35
|
-
"@aws-sdk/invalid-dependency": "3.
|
|
36
|
-
"@aws-sdk/middleware-content-length": "3.
|
|
37
|
-
"@aws-sdk/middleware-host-header": "3.
|
|
38
|
-
"@aws-sdk/middleware-logger": "3.
|
|
39
|
-
"@aws-sdk/middleware-retry": "3.
|
|
40
|
-
"@aws-sdk/middleware-serde": "3.
|
|
41
|
-
"@aws-sdk/middleware-signing": "3.
|
|
42
|
-
"@aws-sdk/middleware-stack": "3.
|
|
43
|
-
"@aws-sdk/middleware-user-agent": "3.
|
|
44
|
-
"@aws-sdk/node-config-provider": "3.
|
|
45
|
-
"@aws-sdk/node-http-handler": "3.
|
|
46
|
-
"@aws-sdk/protocol-http": "3.
|
|
47
|
-
"@aws-sdk/smithy-client": "3.
|
|
48
|
-
"@aws-sdk/types": "3.
|
|
49
|
-
"@aws-sdk/url-parser": "3.
|
|
50
|
-
"@aws-sdk/util-base64-browser": "3.
|
|
51
|
-
"@aws-sdk/util-base64-node": "3.
|
|
52
|
-
"@aws-sdk/util-body-length-browser": "3.
|
|
53
|
-
"@aws-sdk/util-body-length-node": "3.
|
|
54
|
-
"@aws-sdk/util-user-agent-browser": "3.
|
|
55
|
-
"@aws-sdk/util-user-agent-node": "3.
|
|
56
|
-
"@aws-sdk/util-utf8-browser": "3.
|
|
57
|
-
"@aws-sdk/util-utf8-node": "3.
|
|
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.
|
|
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.
|
|
70
|
+
"typescript": "~4.3.5"
|
|
71
71
|
},
|
|
72
72
|
"engines": {
|
|
73
73
|
"node": ">=10.0.0"
|
package/protocols/Aws_json1_1.ts
CHANGED
|
@@ -108,8 +108,11 @@ import {
|
|
|
108
108
|
import { HttpRequest as __HttpRequest, HttpResponse as __HttpResponse } from "@aws-sdk/protocol-http";
|
|
109
109
|
import {
|
|
110
110
|
expectBoolean as __expectBoolean,
|
|
111
|
-
|
|
111
|
+
expectLong as __expectLong,
|
|
112
|
+
expectNonNull as __expectNonNull,
|
|
113
|
+
expectNumber as __expectNumber,
|
|
112
114
|
expectString as __expectString,
|
|
115
|
+
parseEpochTimestamp as __parseEpochTimestamp,
|
|
113
116
|
} from "@aws-sdk/smithy-client";
|
|
114
117
|
import {
|
|
115
118
|
Endpoint as __Endpoint,
|
|
@@ -2820,7 +2823,7 @@ const deserializeAws_json1_1DeleteSecretResponse = (output: any, context: __Serd
|
|
|
2820
2823
|
ARN: __expectString(output.ARN),
|
|
2821
2824
|
DeletionDate:
|
|
2822
2825
|
output.DeletionDate !== undefined && output.DeletionDate !== null
|
|
2823
|
-
?
|
|
2826
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletionDate)))
|
|
2824
2827
|
: undefined,
|
|
2825
2828
|
Name: __expectString(output.Name),
|
|
2826
2829
|
} as any;
|
|
@@ -2831,25 +2834,25 @@ const deserializeAws_json1_1DescribeSecretResponse = (output: any, context: __Se
|
|
|
2831
2834
|
ARN: __expectString(output.ARN),
|
|
2832
2835
|
CreatedDate:
|
|
2833
2836
|
output.CreatedDate !== undefined && output.CreatedDate !== null
|
|
2834
|
-
?
|
|
2837
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
|
|
2835
2838
|
: undefined,
|
|
2836
2839
|
DeletedDate:
|
|
2837
2840
|
output.DeletedDate !== undefined && output.DeletedDate !== null
|
|
2838
|
-
?
|
|
2841
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedDate)))
|
|
2839
2842
|
: undefined,
|
|
2840
2843
|
Description: __expectString(output.Description),
|
|
2841
2844
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
2842
2845
|
LastAccessedDate:
|
|
2843
2846
|
output.LastAccessedDate !== undefined && output.LastAccessedDate !== null
|
|
2844
|
-
?
|
|
2847
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAccessedDate)))
|
|
2845
2848
|
: undefined,
|
|
2846
2849
|
LastChangedDate:
|
|
2847
2850
|
output.LastChangedDate !== undefined && output.LastChangedDate !== null
|
|
2848
|
-
?
|
|
2851
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastChangedDate)))
|
|
2849
2852
|
: undefined,
|
|
2850
2853
|
LastRotatedDate:
|
|
2851
2854
|
output.LastRotatedDate !== undefined && output.LastRotatedDate !== null
|
|
2852
|
-
?
|
|
2855
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastRotatedDate)))
|
|
2853
2856
|
: undefined,
|
|
2854
2857
|
Name: __expectString(output.Name),
|
|
2855
2858
|
OwningService: __expectString(output.OwningService),
|
|
@@ -2906,7 +2909,7 @@ const deserializeAws_json1_1GetSecretValueResponse = (output: any, context: __Se
|
|
|
2906
2909
|
ARN: __expectString(output.ARN),
|
|
2907
2910
|
CreatedDate:
|
|
2908
2911
|
output.CreatedDate !== undefined && output.CreatedDate !== null
|
|
2909
|
-
?
|
|
2912
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
|
|
2910
2913
|
: undefined,
|
|
2911
2914
|
Name: __expectString(output.Name),
|
|
2912
2915
|
SecretBinary:
|
|
@@ -3088,7 +3091,7 @@ const deserializeAws_json1_1ReplicationStatusType = (output: any, context: __Ser
|
|
|
3088
3091
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
3089
3092
|
LastAccessedDate:
|
|
3090
3093
|
output.LastAccessedDate !== undefined && output.LastAccessedDate !== null
|
|
3091
|
-
?
|
|
3094
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAccessedDate)))
|
|
3092
3095
|
: undefined,
|
|
3093
3096
|
Region: __expectString(output.Region),
|
|
3094
3097
|
Status: __expectString(output.Status),
|
|
@@ -3131,7 +3134,7 @@ const deserializeAws_json1_1RotateSecretResponse = (output: any, context: __Serd
|
|
|
3131
3134
|
|
|
3132
3135
|
const deserializeAws_json1_1RotationRulesType = (output: any, context: __SerdeContext): RotationRulesType => {
|
|
3133
3136
|
return {
|
|
3134
|
-
AutomaticallyAfterDays:
|
|
3137
|
+
AutomaticallyAfterDays: __expectLong(output.AutomaticallyAfterDays),
|
|
3135
3138
|
} as any;
|
|
3136
3139
|
};
|
|
3137
3140
|
|
|
@@ -3140,25 +3143,25 @@ const deserializeAws_json1_1SecretListEntry = (output: any, context: __SerdeCont
|
|
|
3140
3143
|
ARN: __expectString(output.ARN),
|
|
3141
3144
|
CreatedDate:
|
|
3142
3145
|
output.CreatedDate !== undefined && output.CreatedDate !== null
|
|
3143
|
-
?
|
|
3146
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
|
|
3144
3147
|
: undefined,
|
|
3145
3148
|
DeletedDate:
|
|
3146
3149
|
output.DeletedDate !== undefined && output.DeletedDate !== null
|
|
3147
|
-
?
|
|
3150
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.DeletedDate)))
|
|
3148
3151
|
: undefined,
|
|
3149
3152
|
Description: __expectString(output.Description),
|
|
3150
3153
|
KmsKeyId: __expectString(output.KmsKeyId),
|
|
3151
3154
|
LastAccessedDate:
|
|
3152
3155
|
output.LastAccessedDate !== undefined && output.LastAccessedDate !== null
|
|
3153
|
-
?
|
|
3156
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAccessedDate)))
|
|
3154
3157
|
: undefined,
|
|
3155
3158
|
LastChangedDate:
|
|
3156
3159
|
output.LastChangedDate !== undefined && output.LastChangedDate !== null
|
|
3157
|
-
?
|
|
3160
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastChangedDate)))
|
|
3158
3161
|
: undefined,
|
|
3159
3162
|
LastRotatedDate:
|
|
3160
3163
|
output.LastRotatedDate !== undefined && output.LastRotatedDate !== null
|
|
3161
|
-
?
|
|
3164
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastRotatedDate)))
|
|
3162
3165
|
: undefined,
|
|
3163
3166
|
Name: __expectString(output.Name),
|
|
3164
3167
|
OwningService: __expectString(output.OwningService),
|
|
@@ -3198,7 +3201,7 @@ const deserializeAws_json1_1SecretVersionsListEntry = (
|
|
|
3198
3201
|
return {
|
|
3199
3202
|
CreatedDate:
|
|
3200
3203
|
output.CreatedDate !== undefined && output.CreatedDate !== null
|
|
3201
|
-
?
|
|
3204
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.CreatedDate)))
|
|
3202
3205
|
: undefined,
|
|
3203
3206
|
KmsKeyIds:
|
|
3204
3207
|
output.KmsKeyIds !== undefined && output.KmsKeyIds !== null
|
|
@@ -3206,7 +3209,7 @@ const deserializeAws_json1_1SecretVersionsListEntry = (
|
|
|
3206
3209
|
: undefined,
|
|
3207
3210
|
LastAccessedDate:
|
|
3208
3211
|
output.LastAccessedDate !== undefined && output.LastAccessedDate !== null
|
|
3209
|
-
?
|
|
3212
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastAccessedDate)))
|
|
3210
3213
|
: undefined,
|
|
3211
3214
|
VersionId: __expectString(output.VersionId),
|
|
3212
3215
|
VersionStages:
|