@aws-sdk/client-secrets-manager 3.490.0 → 3.495.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/dist-cjs/SecretsManager.js +1 -57
- package/dist-cjs/SecretsManagerClient.js +1 -43
- package/dist-cjs/commands/BatchGetSecretValueCommand.js +1 -29
- package/dist-cjs/commands/CancelRotateSecretCommand.js +1 -28
- package/dist-cjs/commands/CreateSecretCommand.js +1 -29
- package/dist-cjs/commands/DeleteResourcePolicyCommand.js +1 -28
- package/dist-cjs/commands/DeleteSecretCommand.js +1 -28
- package/dist-cjs/commands/DescribeSecretCommand.js +1 -28
- package/dist-cjs/commands/GetRandomPasswordCommand.js +1 -29
- package/dist-cjs/commands/GetResourcePolicyCommand.js +1 -28
- package/dist-cjs/commands/GetSecretValueCommand.js +1 -29
- package/dist-cjs/commands/ListSecretVersionIdsCommand.js +1 -28
- package/dist-cjs/commands/ListSecretsCommand.js +1 -28
- package/dist-cjs/commands/PutResourcePolicyCommand.js +1 -28
- package/dist-cjs/commands/PutSecretValueCommand.js +1 -29
- package/dist-cjs/commands/RemoveRegionsFromReplicationCommand.js +1 -28
- package/dist-cjs/commands/ReplicateSecretToRegionsCommand.js +1 -28
- package/dist-cjs/commands/RestoreSecretCommand.js +1 -28
- package/dist-cjs/commands/RotateSecretCommand.js +1 -28
- package/dist-cjs/commands/StopReplicationToReplicaCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateSecretCommand.js +1 -29
- package/dist-cjs/commands/UpdateSecretVersionStageCommand.js +1 -28
- package/dist-cjs/commands/ValidateResourcePolicyCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -26
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +2465 -11
- package/dist-cjs/models/SecretsManagerServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -231
- package/dist-cjs/pagination/BatchGetSecretValuePaginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListSecretVersionIdsPaginator.js +1 -7
- package/dist-cjs/pagination/ListSecretsPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -7
- package/dist-cjs/protocols/Aws_json1_1.js +1 -1576
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/dist-types/commands/BatchGetSecretValueCommand.d.ts +52 -0
- package/package.json +40 -40
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.SecretsManagerServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class SecretsManagerServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, SecretsManagerServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.SecretsManagerServiceException = SecretsManagerServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,231 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateSecretRequestFilterSensitiveLog = exports.PutSecretValueRequestFilterSensitiveLog = exports.GetSecretValueResponseFilterSensitiveLog = exports.GetRandomPasswordResponseFilterSensitiveLog = exports.CreateSecretRequestFilterSensitiveLog = exports.BatchGetSecretValueResponseFilterSensitiveLog = exports.SecretValueEntryFilterSensitiveLog = exports.PublicPolicyException = exports.SortOrderType = exports.ResourceExistsException = exports.PreconditionNotMetException = exports.MalformedPolicyDocumentException = exports.LimitExceededException = exports.EncryptionFailure = exports.StatusType = exports.ResourceNotFoundException = exports.InvalidRequestException = exports.InvalidParameterException = exports.InvalidNextTokenException = exports.InternalServiceError = exports.DecryptionFailure = exports.FilterNameStringType = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
const SecretsManagerServiceException_1 = require("./SecretsManagerServiceException");
|
|
6
|
-
exports.FilterNameStringType = {
|
|
7
|
-
all: "all",
|
|
8
|
-
description: "description",
|
|
9
|
-
name: "name",
|
|
10
|
-
owning_service: "owning-service",
|
|
11
|
-
primary_region: "primary-region",
|
|
12
|
-
tag_key: "tag-key",
|
|
13
|
-
tag_value: "tag-value",
|
|
14
|
-
};
|
|
15
|
-
class DecryptionFailure extends SecretsManagerServiceException_1.SecretsManagerServiceException {
|
|
16
|
-
constructor(opts) {
|
|
17
|
-
super({
|
|
18
|
-
name: "DecryptionFailure",
|
|
19
|
-
$fault: "client",
|
|
20
|
-
...opts,
|
|
21
|
-
});
|
|
22
|
-
this.name = "DecryptionFailure";
|
|
23
|
-
this.$fault = "client";
|
|
24
|
-
Object.setPrototypeOf(this, DecryptionFailure.prototype);
|
|
25
|
-
this.Message = opts.Message;
|
|
26
|
-
}
|
|
27
|
-
}
|
|
28
|
-
exports.DecryptionFailure = DecryptionFailure;
|
|
29
|
-
class InternalServiceError extends SecretsManagerServiceException_1.SecretsManagerServiceException {
|
|
30
|
-
constructor(opts) {
|
|
31
|
-
super({
|
|
32
|
-
name: "InternalServiceError",
|
|
33
|
-
$fault: "server",
|
|
34
|
-
...opts,
|
|
35
|
-
});
|
|
36
|
-
this.name = "InternalServiceError";
|
|
37
|
-
this.$fault = "server";
|
|
38
|
-
Object.setPrototypeOf(this, InternalServiceError.prototype);
|
|
39
|
-
this.Message = opts.Message;
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
exports.InternalServiceError = InternalServiceError;
|
|
43
|
-
class InvalidNextTokenException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
|
|
44
|
-
constructor(opts) {
|
|
45
|
-
super({
|
|
46
|
-
name: "InvalidNextTokenException",
|
|
47
|
-
$fault: "client",
|
|
48
|
-
...opts,
|
|
49
|
-
});
|
|
50
|
-
this.name = "InvalidNextTokenException";
|
|
51
|
-
this.$fault = "client";
|
|
52
|
-
Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
|
|
53
|
-
this.Message = opts.Message;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
exports.InvalidNextTokenException = InvalidNextTokenException;
|
|
57
|
-
class InvalidParameterException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
|
|
58
|
-
constructor(opts) {
|
|
59
|
-
super({
|
|
60
|
-
name: "InvalidParameterException",
|
|
61
|
-
$fault: "client",
|
|
62
|
-
...opts,
|
|
63
|
-
});
|
|
64
|
-
this.name = "InvalidParameterException";
|
|
65
|
-
this.$fault = "client";
|
|
66
|
-
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
67
|
-
this.Message = opts.Message;
|
|
68
|
-
}
|
|
69
|
-
}
|
|
70
|
-
exports.InvalidParameterException = InvalidParameterException;
|
|
71
|
-
class InvalidRequestException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
|
|
72
|
-
constructor(opts) {
|
|
73
|
-
super({
|
|
74
|
-
name: "InvalidRequestException",
|
|
75
|
-
$fault: "client",
|
|
76
|
-
...opts,
|
|
77
|
-
});
|
|
78
|
-
this.name = "InvalidRequestException";
|
|
79
|
-
this.$fault = "client";
|
|
80
|
-
Object.setPrototypeOf(this, InvalidRequestException.prototype);
|
|
81
|
-
this.Message = opts.Message;
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
exports.InvalidRequestException = InvalidRequestException;
|
|
85
|
-
class ResourceNotFoundException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
|
|
86
|
-
constructor(opts) {
|
|
87
|
-
super({
|
|
88
|
-
name: "ResourceNotFoundException",
|
|
89
|
-
$fault: "client",
|
|
90
|
-
...opts,
|
|
91
|
-
});
|
|
92
|
-
this.name = "ResourceNotFoundException";
|
|
93
|
-
this.$fault = "client";
|
|
94
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
95
|
-
this.Message = opts.Message;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
99
|
-
exports.StatusType = {
|
|
100
|
-
Failed: "Failed",
|
|
101
|
-
InProgress: "InProgress",
|
|
102
|
-
InSync: "InSync",
|
|
103
|
-
};
|
|
104
|
-
class EncryptionFailure extends SecretsManagerServiceException_1.SecretsManagerServiceException {
|
|
105
|
-
constructor(opts) {
|
|
106
|
-
super({
|
|
107
|
-
name: "EncryptionFailure",
|
|
108
|
-
$fault: "client",
|
|
109
|
-
...opts,
|
|
110
|
-
});
|
|
111
|
-
this.name = "EncryptionFailure";
|
|
112
|
-
this.$fault = "client";
|
|
113
|
-
Object.setPrototypeOf(this, EncryptionFailure.prototype);
|
|
114
|
-
this.Message = opts.Message;
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
exports.EncryptionFailure = EncryptionFailure;
|
|
118
|
-
class LimitExceededException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
|
|
119
|
-
constructor(opts) {
|
|
120
|
-
super({
|
|
121
|
-
name: "LimitExceededException",
|
|
122
|
-
$fault: "client",
|
|
123
|
-
...opts,
|
|
124
|
-
});
|
|
125
|
-
this.name = "LimitExceededException";
|
|
126
|
-
this.$fault = "client";
|
|
127
|
-
Object.setPrototypeOf(this, LimitExceededException.prototype);
|
|
128
|
-
this.Message = opts.Message;
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
exports.LimitExceededException = LimitExceededException;
|
|
132
|
-
class MalformedPolicyDocumentException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
|
|
133
|
-
constructor(opts) {
|
|
134
|
-
super({
|
|
135
|
-
name: "MalformedPolicyDocumentException",
|
|
136
|
-
$fault: "client",
|
|
137
|
-
...opts,
|
|
138
|
-
});
|
|
139
|
-
this.name = "MalformedPolicyDocumentException";
|
|
140
|
-
this.$fault = "client";
|
|
141
|
-
Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
|
|
142
|
-
this.Message = opts.Message;
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
exports.MalformedPolicyDocumentException = MalformedPolicyDocumentException;
|
|
146
|
-
class PreconditionNotMetException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
|
|
147
|
-
constructor(opts) {
|
|
148
|
-
super({
|
|
149
|
-
name: "PreconditionNotMetException",
|
|
150
|
-
$fault: "client",
|
|
151
|
-
...opts,
|
|
152
|
-
});
|
|
153
|
-
this.name = "PreconditionNotMetException";
|
|
154
|
-
this.$fault = "client";
|
|
155
|
-
Object.setPrototypeOf(this, PreconditionNotMetException.prototype);
|
|
156
|
-
this.Message = opts.Message;
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
exports.PreconditionNotMetException = PreconditionNotMetException;
|
|
160
|
-
class ResourceExistsException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
|
|
161
|
-
constructor(opts) {
|
|
162
|
-
super({
|
|
163
|
-
name: "ResourceExistsException",
|
|
164
|
-
$fault: "client",
|
|
165
|
-
...opts,
|
|
166
|
-
});
|
|
167
|
-
this.name = "ResourceExistsException";
|
|
168
|
-
this.$fault = "client";
|
|
169
|
-
Object.setPrototypeOf(this, ResourceExistsException.prototype);
|
|
170
|
-
this.Message = opts.Message;
|
|
171
|
-
}
|
|
172
|
-
}
|
|
173
|
-
exports.ResourceExistsException = ResourceExistsException;
|
|
174
|
-
exports.SortOrderType = {
|
|
175
|
-
asc: "asc",
|
|
176
|
-
desc: "desc",
|
|
177
|
-
};
|
|
178
|
-
class PublicPolicyException extends SecretsManagerServiceException_1.SecretsManagerServiceException {
|
|
179
|
-
constructor(opts) {
|
|
180
|
-
super({
|
|
181
|
-
name: "PublicPolicyException",
|
|
182
|
-
$fault: "client",
|
|
183
|
-
...opts,
|
|
184
|
-
});
|
|
185
|
-
this.name = "PublicPolicyException";
|
|
186
|
-
this.$fault = "client";
|
|
187
|
-
Object.setPrototypeOf(this, PublicPolicyException.prototype);
|
|
188
|
-
this.Message = opts.Message;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
191
|
-
exports.PublicPolicyException = PublicPolicyException;
|
|
192
|
-
const SecretValueEntryFilterSensitiveLog = (obj) => ({
|
|
193
|
-
...obj,
|
|
194
|
-
...(obj.SecretBinary && { SecretBinary: smithy_client_1.SENSITIVE_STRING }),
|
|
195
|
-
...(obj.SecretString && { SecretString: smithy_client_1.SENSITIVE_STRING }),
|
|
196
|
-
});
|
|
197
|
-
exports.SecretValueEntryFilterSensitiveLog = SecretValueEntryFilterSensitiveLog;
|
|
198
|
-
const BatchGetSecretValueResponseFilterSensitiveLog = (obj) => ({
|
|
199
|
-
...obj,
|
|
200
|
-
...(obj.SecretValues && { SecretValues: obj.SecretValues.map((item) => (0, exports.SecretValueEntryFilterSensitiveLog)(item)) }),
|
|
201
|
-
});
|
|
202
|
-
exports.BatchGetSecretValueResponseFilterSensitiveLog = BatchGetSecretValueResponseFilterSensitiveLog;
|
|
203
|
-
const CreateSecretRequestFilterSensitiveLog = (obj) => ({
|
|
204
|
-
...obj,
|
|
205
|
-
...(obj.SecretBinary && { SecretBinary: smithy_client_1.SENSITIVE_STRING }),
|
|
206
|
-
...(obj.SecretString && { SecretString: smithy_client_1.SENSITIVE_STRING }),
|
|
207
|
-
});
|
|
208
|
-
exports.CreateSecretRequestFilterSensitiveLog = CreateSecretRequestFilterSensitiveLog;
|
|
209
|
-
const GetRandomPasswordResponseFilterSensitiveLog = (obj) => ({
|
|
210
|
-
...obj,
|
|
211
|
-
...(obj.RandomPassword && { RandomPassword: smithy_client_1.SENSITIVE_STRING }),
|
|
212
|
-
});
|
|
213
|
-
exports.GetRandomPasswordResponseFilterSensitiveLog = GetRandomPasswordResponseFilterSensitiveLog;
|
|
214
|
-
const GetSecretValueResponseFilterSensitiveLog = (obj) => ({
|
|
215
|
-
...obj,
|
|
216
|
-
...(obj.SecretBinary && { SecretBinary: smithy_client_1.SENSITIVE_STRING }),
|
|
217
|
-
...(obj.SecretString && { SecretString: smithy_client_1.SENSITIVE_STRING }),
|
|
218
|
-
});
|
|
219
|
-
exports.GetSecretValueResponseFilterSensitiveLog = GetSecretValueResponseFilterSensitiveLog;
|
|
220
|
-
const PutSecretValueRequestFilterSensitiveLog = (obj) => ({
|
|
221
|
-
...obj,
|
|
222
|
-
...(obj.SecretBinary && { SecretBinary: smithy_client_1.SENSITIVE_STRING }),
|
|
223
|
-
...(obj.SecretString && { SecretString: smithy_client_1.SENSITIVE_STRING }),
|
|
224
|
-
});
|
|
225
|
-
exports.PutSecretValueRequestFilterSensitiveLog = PutSecretValueRequestFilterSensitiveLog;
|
|
226
|
-
const UpdateSecretRequestFilterSensitiveLog = (obj) => ({
|
|
227
|
-
...obj,
|
|
228
|
-
...(obj.SecretBinary && { SecretBinary: smithy_client_1.SENSITIVE_STRING }),
|
|
229
|
-
...(obj.SecretString && { SecretString: smithy_client_1.SENSITIVE_STRING }),
|
|
230
|
-
});
|
|
231
|
-
exports.UpdateSecretRequestFilterSensitiveLog = UpdateSecretRequestFilterSensitiveLog;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateBatchGetSecretValue = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const BatchGetSecretValueCommand_1 = require("../commands/BatchGetSecretValueCommand");
|
|
6
|
-
const SecretsManagerClient_1 = require("../SecretsManagerClient");
|
|
7
|
-
exports.paginateBatchGetSecretValue = (0, core_1.createPaginator)(SecretsManagerClient_1.SecretsManagerClient, BatchGetSecretValueCommand_1.BatchGetSecretValueCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListSecretVersionIds = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListSecretVersionIdsCommand_1 = require("../commands/ListSecretVersionIdsCommand");
|
|
6
|
-
const SecretsManagerClient_1 = require("../SecretsManagerClient");
|
|
7
|
-
exports.paginateListSecretVersionIds = (0, core_1.createPaginator)(SecretsManagerClient_1.SecretsManagerClient, ListSecretVersionIdsCommand_1.ListSecretVersionIdsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListSecrets = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const ListSecretsCommand_1 = require("../commands/ListSecretsCommand");
|
|
6
|
-
const SecretsManagerClient_1 = require("../SecretsManagerClient");
|
|
7
|
-
exports.paginateListSecrets = (0, core_1.createPaginator)(SecretsManagerClient_1.SecretsManagerClient, ListSecretsCommand_1.ListSecretsCommand, "NextToken", "NextToken", "MaxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./BatchGetSecretValuePaginator"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./ListSecretVersionIdsPaginator"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./ListSecretsPaginator"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|