@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
package/dist-cjs/index.js
CHANGED
|
@@ -1,12 +1,2466 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
Object.defineProperty
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
var
|
|
12
|
-
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
|
|
7
|
+
var __export = (target, all) => {
|
|
8
|
+
for (var name in all)
|
|
9
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
10
|
+
};
|
|
11
|
+
var __copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
+
for (let key of __getOwnPropNames(from))
|
|
14
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
15
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
16
|
+
}
|
|
17
|
+
return to;
|
|
18
|
+
};
|
|
19
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
|
+
|
|
21
|
+
// src/index.ts
|
|
22
|
+
var src_exports = {};
|
|
23
|
+
__export(src_exports, {
|
|
24
|
+
BatchGetSecretValueCommand: () => BatchGetSecretValueCommand,
|
|
25
|
+
BatchGetSecretValueResponseFilterSensitiveLog: () => BatchGetSecretValueResponseFilterSensitiveLog,
|
|
26
|
+
CancelRotateSecretCommand: () => CancelRotateSecretCommand,
|
|
27
|
+
CreateSecretCommand: () => CreateSecretCommand,
|
|
28
|
+
CreateSecretRequestFilterSensitiveLog: () => CreateSecretRequestFilterSensitiveLog,
|
|
29
|
+
DecryptionFailure: () => DecryptionFailure,
|
|
30
|
+
DeleteResourcePolicyCommand: () => DeleteResourcePolicyCommand,
|
|
31
|
+
DeleteSecretCommand: () => DeleteSecretCommand,
|
|
32
|
+
DescribeSecretCommand: () => DescribeSecretCommand,
|
|
33
|
+
EncryptionFailure: () => EncryptionFailure,
|
|
34
|
+
FilterNameStringType: () => FilterNameStringType,
|
|
35
|
+
GetRandomPasswordCommand: () => GetRandomPasswordCommand,
|
|
36
|
+
GetRandomPasswordResponseFilterSensitiveLog: () => GetRandomPasswordResponseFilterSensitiveLog,
|
|
37
|
+
GetResourcePolicyCommand: () => GetResourcePolicyCommand,
|
|
38
|
+
GetSecretValueCommand: () => GetSecretValueCommand,
|
|
39
|
+
GetSecretValueResponseFilterSensitiveLog: () => GetSecretValueResponseFilterSensitiveLog,
|
|
40
|
+
InternalServiceError: () => InternalServiceError,
|
|
41
|
+
InvalidNextTokenException: () => InvalidNextTokenException,
|
|
42
|
+
InvalidParameterException: () => InvalidParameterException,
|
|
43
|
+
InvalidRequestException: () => InvalidRequestException,
|
|
44
|
+
LimitExceededException: () => LimitExceededException,
|
|
45
|
+
ListSecretVersionIdsCommand: () => ListSecretVersionIdsCommand,
|
|
46
|
+
ListSecretsCommand: () => ListSecretsCommand,
|
|
47
|
+
MalformedPolicyDocumentException: () => MalformedPolicyDocumentException,
|
|
48
|
+
PreconditionNotMetException: () => PreconditionNotMetException,
|
|
49
|
+
PublicPolicyException: () => PublicPolicyException,
|
|
50
|
+
PutResourcePolicyCommand: () => PutResourcePolicyCommand,
|
|
51
|
+
PutSecretValueCommand: () => PutSecretValueCommand,
|
|
52
|
+
PutSecretValueRequestFilterSensitiveLog: () => PutSecretValueRequestFilterSensitiveLog,
|
|
53
|
+
RemoveRegionsFromReplicationCommand: () => RemoveRegionsFromReplicationCommand,
|
|
54
|
+
ReplicateSecretToRegionsCommand: () => ReplicateSecretToRegionsCommand,
|
|
55
|
+
ResourceExistsException: () => ResourceExistsException,
|
|
56
|
+
ResourceNotFoundException: () => ResourceNotFoundException,
|
|
57
|
+
RestoreSecretCommand: () => RestoreSecretCommand,
|
|
58
|
+
RotateSecretCommand: () => RotateSecretCommand,
|
|
59
|
+
SecretValueEntryFilterSensitiveLog: () => SecretValueEntryFilterSensitiveLog,
|
|
60
|
+
SecretsManager: () => SecretsManager,
|
|
61
|
+
SecretsManagerClient: () => SecretsManagerClient,
|
|
62
|
+
SecretsManagerServiceException: () => SecretsManagerServiceException,
|
|
63
|
+
SortOrderType: () => SortOrderType,
|
|
64
|
+
StatusType: () => StatusType,
|
|
65
|
+
StopReplicationToReplicaCommand: () => StopReplicationToReplicaCommand,
|
|
66
|
+
TagResourceCommand: () => TagResourceCommand,
|
|
67
|
+
UntagResourceCommand: () => UntagResourceCommand,
|
|
68
|
+
UpdateSecretCommand: () => UpdateSecretCommand,
|
|
69
|
+
UpdateSecretRequestFilterSensitiveLog: () => UpdateSecretRequestFilterSensitiveLog,
|
|
70
|
+
UpdateSecretVersionStageCommand: () => UpdateSecretVersionStageCommand,
|
|
71
|
+
ValidateResourcePolicyCommand: () => ValidateResourcePolicyCommand,
|
|
72
|
+
__Client: () => import_smithy_client.Client,
|
|
73
|
+
paginateBatchGetSecretValue: () => paginateBatchGetSecretValue,
|
|
74
|
+
paginateListSecretVersionIds: () => paginateListSecretVersionIds,
|
|
75
|
+
paginateListSecrets: () => paginateListSecrets
|
|
76
|
+
});
|
|
77
|
+
module.exports = __toCommonJS(src_exports);
|
|
78
|
+
|
|
79
|
+
// src/SecretsManagerClient.ts
|
|
80
|
+
var import_middleware_host_header = require("@aws-sdk/middleware-host-header");
|
|
81
|
+
var import_middleware_logger = require("@aws-sdk/middleware-logger");
|
|
82
|
+
var import_middleware_recursion_detection = require("@aws-sdk/middleware-recursion-detection");
|
|
83
|
+
var import_middleware_signing = require("@aws-sdk/middleware-signing");
|
|
84
|
+
var import_middleware_user_agent = require("@aws-sdk/middleware-user-agent");
|
|
85
|
+
var import_config_resolver = require("@smithy/config-resolver");
|
|
86
|
+
var import_middleware_content_length = require("@smithy/middleware-content-length");
|
|
87
|
+
var import_middleware_endpoint = require("@smithy/middleware-endpoint");
|
|
88
|
+
var import_middleware_retry = require("@smithy/middleware-retry");
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
// src/endpoint/EndpointParameters.ts
|
|
92
|
+
var resolveClientEndpointParameters = /* @__PURE__ */ __name((options) => {
|
|
93
|
+
return {
|
|
94
|
+
...options,
|
|
95
|
+
useDualstackEndpoint: options.useDualstackEndpoint ?? false,
|
|
96
|
+
useFipsEndpoint: options.useFipsEndpoint ?? false,
|
|
97
|
+
defaultSigningName: "secretsmanager"
|
|
98
|
+
};
|
|
99
|
+
}, "resolveClientEndpointParameters");
|
|
100
|
+
var commonParams = {
|
|
101
|
+
UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
|
|
102
|
+
Endpoint: { type: "builtInParams", name: "endpoint" },
|
|
103
|
+
Region: { type: "builtInParams", name: "region" },
|
|
104
|
+
UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" }
|
|
105
|
+
};
|
|
106
|
+
|
|
107
|
+
// src/SecretsManagerClient.ts
|
|
108
|
+
var import_runtimeConfig = require("././runtimeConfig");
|
|
109
|
+
|
|
110
|
+
// src/runtimeExtensions.ts
|
|
111
|
+
var import_region_config_resolver = require("@aws-sdk/region-config-resolver");
|
|
112
|
+
var import_protocol_http = require("@smithy/protocol-http");
|
|
113
|
+
var import_smithy_client = require("@smithy/smithy-client");
|
|
114
|
+
var asPartial = /* @__PURE__ */ __name((t) => t, "asPartial");
|
|
115
|
+
var resolveRuntimeExtensions = /* @__PURE__ */ __name((runtimeConfig, extensions) => {
|
|
116
|
+
const extensionConfiguration = {
|
|
117
|
+
...asPartial((0, import_region_config_resolver.getAwsRegionExtensionConfiguration)(runtimeConfig)),
|
|
118
|
+
...asPartial((0, import_smithy_client.getDefaultExtensionConfiguration)(runtimeConfig)),
|
|
119
|
+
...asPartial((0, import_protocol_http.getHttpHandlerExtensionConfiguration)(runtimeConfig))
|
|
120
|
+
};
|
|
121
|
+
extensions.forEach((extension) => extension.configure(extensionConfiguration));
|
|
122
|
+
return {
|
|
123
|
+
...runtimeConfig,
|
|
124
|
+
...(0, import_region_config_resolver.resolveAwsRegionExtensionConfiguration)(extensionConfiguration),
|
|
125
|
+
...(0, import_smithy_client.resolveDefaultRuntimeConfig)(extensionConfiguration),
|
|
126
|
+
...(0, import_protocol_http.resolveHttpHandlerRuntimeConfig)(extensionConfiguration)
|
|
127
|
+
};
|
|
128
|
+
}, "resolveRuntimeExtensions");
|
|
129
|
+
|
|
130
|
+
// src/SecretsManagerClient.ts
|
|
131
|
+
var _SecretsManagerClient = class _SecretsManagerClient extends import_smithy_client.Client {
|
|
132
|
+
constructor(...[configuration]) {
|
|
133
|
+
const _config_0 = (0, import_runtimeConfig.getRuntimeConfig)(configuration || {});
|
|
134
|
+
const _config_1 = resolveClientEndpointParameters(_config_0);
|
|
135
|
+
const _config_2 = (0, import_config_resolver.resolveRegionConfig)(_config_1);
|
|
136
|
+
const _config_3 = (0, import_middleware_endpoint.resolveEndpointConfig)(_config_2);
|
|
137
|
+
const _config_4 = (0, import_middleware_retry.resolveRetryConfig)(_config_3);
|
|
138
|
+
const _config_5 = (0, import_middleware_host_header.resolveHostHeaderConfig)(_config_4);
|
|
139
|
+
const _config_6 = (0, import_middleware_signing.resolveAwsAuthConfig)(_config_5);
|
|
140
|
+
const _config_7 = (0, import_middleware_user_agent.resolveUserAgentConfig)(_config_6);
|
|
141
|
+
const _config_8 = resolveRuntimeExtensions(_config_7, (configuration == null ? void 0 : configuration.extensions) || []);
|
|
142
|
+
super(_config_8);
|
|
143
|
+
this.config = _config_8;
|
|
144
|
+
this.middlewareStack.use((0, import_middleware_retry.getRetryPlugin)(this.config));
|
|
145
|
+
this.middlewareStack.use((0, import_middleware_content_length.getContentLengthPlugin)(this.config));
|
|
146
|
+
this.middlewareStack.use((0, import_middleware_host_header.getHostHeaderPlugin)(this.config));
|
|
147
|
+
this.middlewareStack.use((0, import_middleware_logger.getLoggerPlugin)(this.config));
|
|
148
|
+
this.middlewareStack.use((0, import_middleware_recursion_detection.getRecursionDetectionPlugin)(this.config));
|
|
149
|
+
this.middlewareStack.use((0, import_middleware_signing.getAwsAuthPlugin)(this.config));
|
|
150
|
+
this.middlewareStack.use((0, import_middleware_user_agent.getUserAgentPlugin)(this.config));
|
|
151
|
+
}
|
|
152
|
+
/**
|
|
153
|
+
* Destroy underlying resources, like sockets. It's usually not necessary to do this.
|
|
154
|
+
* However in Node.js, it's best to explicitly shut down the client's agent when it is no longer needed.
|
|
155
|
+
* Otherwise, sockets might stay open for quite a long time before the server terminates them.
|
|
156
|
+
*/
|
|
157
|
+
destroy() {
|
|
158
|
+
super.destroy();
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
__name(_SecretsManagerClient, "SecretsManagerClient");
|
|
162
|
+
var SecretsManagerClient = _SecretsManagerClient;
|
|
163
|
+
|
|
164
|
+
// src/SecretsManager.ts
|
|
165
|
+
|
|
166
|
+
|
|
167
|
+
// src/commands/BatchGetSecretValueCommand.ts
|
|
168
|
+
|
|
169
|
+
var import_middleware_serde = require("@smithy/middleware-serde");
|
|
170
|
+
|
|
171
|
+
var import_types = require("@smithy/types");
|
|
172
|
+
|
|
173
|
+
// src/models/models_0.ts
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
// src/models/SecretsManagerServiceException.ts
|
|
177
|
+
|
|
178
|
+
var _SecretsManagerServiceException = class _SecretsManagerServiceException extends import_smithy_client.ServiceException {
|
|
179
|
+
/**
|
|
180
|
+
* @internal
|
|
181
|
+
*/
|
|
182
|
+
constructor(options) {
|
|
183
|
+
super(options);
|
|
184
|
+
Object.setPrototypeOf(this, _SecretsManagerServiceException.prototype);
|
|
185
|
+
}
|
|
186
|
+
};
|
|
187
|
+
__name(_SecretsManagerServiceException, "SecretsManagerServiceException");
|
|
188
|
+
var SecretsManagerServiceException = _SecretsManagerServiceException;
|
|
189
|
+
|
|
190
|
+
// src/models/models_0.ts
|
|
191
|
+
var FilterNameStringType = {
|
|
192
|
+
all: "all",
|
|
193
|
+
description: "description",
|
|
194
|
+
name: "name",
|
|
195
|
+
owning_service: "owning-service",
|
|
196
|
+
primary_region: "primary-region",
|
|
197
|
+
tag_key: "tag-key",
|
|
198
|
+
tag_value: "tag-value"
|
|
199
|
+
};
|
|
200
|
+
var _DecryptionFailure = class _DecryptionFailure extends SecretsManagerServiceException {
|
|
201
|
+
/**
|
|
202
|
+
* @internal
|
|
203
|
+
*/
|
|
204
|
+
constructor(opts) {
|
|
205
|
+
super({
|
|
206
|
+
name: "DecryptionFailure",
|
|
207
|
+
$fault: "client",
|
|
208
|
+
...opts
|
|
209
|
+
});
|
|
210
|
+
this.name = "DecryptionFailure";
|
|
211
|
+
this.$fault = "client";
|
|
212
|
+
Object.setPrototypeOf(this, _DecryptionFailure.prototype);
|
|
213
|
+
this.Message = opts.Message;
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
__name(_DecryptionFailure, "DecryptionFailure");
|
|
217
|
+
var DecryptionFailure = _DecryptionFailure;
|
|
218
|
+
var _InternalServiceError = class _InternalServiceError extends SecretsManagerServiceException {
|
|
219
|
+
/**
|
|
220
|
+
* @internal
|
|
221
|
+
*/
|
|
222
|
+
constructor(opts) {
|
|
223
|
+
super({
|
|
224
|
+
name: "InternalServiceError",
|
|
225
|
+
$fault: "server",
|
|
226
|
+
...opts
|
|
227
|
+
});
|
|
228
|
+
this.name = "InternalServiceError";
|
|
229
|
+
this.$fault = "server";
|
|
230
|
+
Object.setPrototypeOf(this, _InternalServiceError.prototype);
|
|
231
|
+
this.Message = opts.Message;
|
|
232
|
+
}
|
|
233
|
+
};
|
|
234
|
+
__name(_InternalServiceError, "InternalServiceError");
|
|
235
|
+
var InternalServiceError = _InternalServiceError;
|
|
236
|
+
var _InvalidNextTokenException = class _InvalidNextTokenException extends SecretsManagerServiceException {
|
|
237
|
+
/**
|
|
238
|
+
* @internal
|
|
239
|
+
*/
|
|
240
|
+
constructor(opts) {
|
|
241
|
+
super({
|
|
242
|
+
name: "InvalidNextTokenException",
|
|
243
|
+
$fault: "client",
|
|
244
|
+
...opts
|
|
245
|
+
});
|
|
246
|
+
this.name = "InvalidNextTokenException";
|
|
247
|
+
this.$fault = "client";
|
|
248
|
+
Object.setPrototypeOf(this, _InvalidNextTokenException.prototype);
|
|
249
|
+
this.Message = opts.Message;
|
|
250
|
+
}
|
|
251
|
+
};
|
|
252
|
+
__name(_InvalidNextTokenException, "InvalidNextTokenException");
|
|
253
|
+
var InvalidNextTokenException = _InvalidNextTokenException;
|
|
254
|
+
var _InvalidParameterException = class _InvalidParameterException extends SecretsManagerServiceException {
|
|
255
|
+
/**
|
|
256
|
+
* @internal
|
|
257
|
+
*/
|
|
258
|
+
constructor(opts) {
|
|
259
|
+
super({
|
|
260
|
+
name: "InvalidParameterException",
|
|
261
|
+
$fault: "client",
|
|
262
|
+
...opts
|
|
263
|
+
});
|
|
264
|
+
this.name = "InvalidParameterException";
|
|
265
|
+
this.$fault = "client";
|
|
266
|
+
Object.setPrototypeOf(this, _InvalidParameterException.prototype);
|
|
267
|
+
this.Message = opts.Message;
|
|
268
|
+
}
|
|
269
|
+
};
|
|
270
|
+
__name(_InvalidParameterException, "InvalidParameterException");
|
|
271
|
+
var InvalidParameterException = _InvalidParameterException;
|
|
272
|
+
var _InvalidRequestException = class _InvalidRequestException extends SecretsManagerServiceException {
|
|
273
|
+
/**
|
|
274
|
+
* @internal
|
|
275
|
+
*/
|
|
276
|
+
constructor(opts) {
|
|
277
|
+
super({
|
|
278
|
+
name: "InvalidRequestException",
|
|
279
|
+
$fault: "client",
|
|
280
|
+
...opts
|
|
281
|
+
});
|
|
282
|
+
this.name = "InvalidRequestException";
|
|
283
|
+
this.$fault = "client";
|
|
284
|
+
Object.setPrototypeOf(this, _InvalidRequestException.prototype);
|
|
285
|
+
this.Message = opts.Message;
|
|
286
|
+
}
|
|
287
|
+
};
|
|
288
|
+
__name(_InvalidRequestException, "InvalidRequestException");
|
|
289
|
+
var InvalidRequestException = _InvalidRequestException;
|
|
290
|
+
var _ResourceNotFoundException = class _ResourceNotFoundException extends SecretsManagerServiceException {
|
|
291
|
+
/**
|
|
292
|
+
* @internal
|
|
293
|
+
*/
|
|
294
|
+
constructor(opts) {
|
|
295
|
+
super({
|
|
296
|
+
name: "ResourceNotFoundException",
|
|
297
|
+
$fault: "client",
|
|
298
|
+
...opts
|
|
299
|
+
});
|
|
300
|
+
this.name = "ResourceNotFoundException";
|
|
301
|
+
this.$fault = "client";
|
|
302
|
+
Object.setPrototypeOf(this, _ResourceNotFoundException.prototype);
|
|
303
|
+
this.Message = opts.Message;
|
|
304
|
+
}
|
|
305
|
+
};
|
|
306
|
+
__name(_ResourceNotFoundException, "ResourceNotFoundException");
|
|
307
|
+
var ResourceNotFoundException = _ResourceNotFoundException;
|
|
308
|
+
var StatusType = {
|
|
309
|
+
Failed: "Failed",
|
|
310
|
+
InProgress: "InProgress",
|
|
311
|
+
InSync: "InSync"
|
|
312
|
+
};
|
|
313
|
+
var _EncryptionFailure = class _EncryptionFailure extends SecretsManagerServiceException {
|
|
314
|
+
/**
|
|
315
|
+
* @internal
|
|
316
|
+
*/
|
|
317
|
+
constructor(opts) {
|
|
318
|
+
super({
|
|
319
|
+
name: "EncryptionFailure",
|
|
320
|
+
$fault: "client",
|
|
321
|
+
...opts
|
|
322
|
+
});
|
|
323
|
+
this.name = "EncryptionFailure";
|
|
324
|
+
this.$fault = "client";
|
|
325
|
+
Object.setPrototypeOf(this, _EncryptionFailure.prototype);
|
|
326
|
+
this.Message = opts.Message;
|
|
327
|
+
}
|
|
328
|
+
};
|
|
329
|
+
__name(_EncryptionFailure, "EncryptionFailure");
|
|
330
|
+
var EncryptionFailure = _EncryptionFailure;
|
|
331
|
+
var _LimitExceededException = class _LimitExceededException extends SecretsManagerServiceException {
|
|
332
|
+
/**
|
|
333
|
+
* @internal
|
|
334
|
+
*/
|
|
335
|
+
constructor(opts) {
|
|
336
|
+
super({
|
|
337
|
+
name: "LimitExceededException",
|
|
338
|
+
$fault: "client",
|
|
339
|
+
...opts
|
|
340
|
+
});
|
|
341
|
+
this.name = "LimitExceededException";
|
|
342
|
+
this.$fault = "client";
|
|
343
|
+
Object.setPrototypeOf(this, _LimitExceededException.prototype);
|
|
344
|
+
this.Message = opts.Message;
|
|
345
|
+
}
|
|
346
|
+
};
|
|
347
|
+
__name(_LimitExceededException, "LimitExceededException");
|
|
348
|
+
var LimitExceededException = _LimitExceededException;
|
|
349
|
+
var _MalformedPolicyDocumentException = class _MalformedPolicyDocumentException extends SecretsManagerServiceException {
|
|
350
|
+
/**
|
|
351
|
+
* @internal
|
|
352
|
+
*/
|
|
353
|
+
constructor(opts) {
|
|
354
|
+
super({
|
|
355
|
+
name: "MalformedPolicyDocumentException",
|
|
356
|
+
$fault: "client",
|
|
357
|
+
...opts
|
|
358
|
+
});
|
|
359
|
+
this.name = "MalformedPolicyDocumentException";
|
|
360
|
+
this.$fault = "client";
|
|
361
|
+
Object.setPrototypeOf(this, _MalformedPolicyDocumentException.prototype);
|
|
362
|
+
this.Message = opts.Message;
|
|
363
|
+
}
|
|
364
|
+
};
|
|
365
|
+
__name(_MalformedPolicyDocumentException, "MalformedPolicyDocumentException");
|
|
366
|
+
var MalformedPolicyDocumentException = _MalformedPolicyDocumentException;
|
|
367
|
+
var _PreconditionNotMetException = class _PreconditionNotMetException extends SecretsManagerServiceException {
|
|
368
|
+
/**
|
|
369
|
+
* @internal
|
|
370
|
+
*/
|
|
371
|
+
constructor(opts) {
|
|
372
|
+
super({
|
|
373
|
+
name: "PreconditionNotMetException",
|
|
374
|
+
$fault: "client",
|
|
375
|
+
...opts
|
|
376
|
+
});
|
|
377
|
+
this.name = "PreconditionNotMetException";
|
|
378
|
+
this.$fault = "client";
|
|
379
|
+
Object.setPrototypeOf(this, _PreconditionNotMetException.prototype);
|
|
380
|
+
this.Message = opts.Message;
|
|
381
|
+
}
|
|
382
|
+
};
|
|
383
|
+
__name(_PreconditionNotMetException, "PreconditionNotMetException");
|
|
384
|
+
var PreconditionNotMetException = _PreconditionNotMetException;
|
|
385
|
+
var _ResourceExistsException = class _ResourceExistsException extends SecretsManagerServiceException {
|
|
386
|
+
/**
|
|
387
|
+
* @internal
|
|
388
|
+
*/
|
|
389
|
+
constructor(opts) {
|
|
390
|
+
super({
|
|
391
|
+
name: "ResourceExistsException",
|
|
392
|
+
$fault: "client",
|
|
393
|
+
...opts
|
|
394
|
+
});
|
|
395
|
+
this.name = "ResourceExistsException";
|
|
396
|
+
this.$fault = "client";
|
|
397
|
+
Object.setPrototypeOf(this, _ResourceExistsException.prototype);
|
|
398
|
+
this.Message = opts.Message;
|
|
399
|
+
}
|
|
400
|
+
};
|
|
401
|
+
__name(_ResourceExistsException, "ResourceExistsException");
|
|
402
|
+
var ResourceExistsException = _ResourceExistsException;
|
|
403
|
+
var SortOrderType = {
|
|
404
|
+
asc: "asc",
|
|
405
|
+
desc: "desc"
|
|
406
|
+
};
|
|
407
|
+
var _PublicPolicyException = class _PublicPolicyException extends SecretsManagerServiceException {
|
|
408
|
+
/**
|
|
409
|
+
* @internal
|
|
410
|
+
*/
|
|
411
|
+
constructor(opts) {
|
|
412
|
+
super({
|
|
413
|
+
name: "PublicPolicyException",
|
|
414
|
+
$fault: "client",
|
|
415
|
+
...opts
|
|
416
|
+
});
|
|
417
|
+
this.name = "PublicPolicyException";
|
|
418
|
+
this.$fault = "client";
|
|
419
|
+
Object.setPrototypeOf(this, _PublicPolicyException.prototype);
|
|
420
|
+
this.Message = opts.Message;
|
|
421
|
+
}
|
|
422
|
+
};
|
|
423
|
+
__name(_PublicPolicyException, "PublicPolicyException");
|
|
424
|
+
var PublicPolicyException = _PublicPolicyException;
|
|
425
|
+
var SecretValueEntryFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
426
|
+
...obj,
|
|
427
|
+
...obj.SecretBinary && { SecretBinary: import_smithy_client.SENSITIVE_STRING },
|
|
428
|
+
...obj.SecretString && { SecretString: import_smithy_client.SENSITIVE_STRING }
|
|
429
|
+
}), "SecretValueEntryFilterSensitiveLog");
|
|
430
|
+
var BatchGetSecretValueResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
431
|
+
...obj,
|
|
432
|
+
...obj.SecretValues && { SecretValues: obj.SecretValues.map((item) => SecretValueEntryFilterSensitiveLog(item)) }
|
|
433
|
+
}), "BatchGetSecretValueResponseFilterSensitiveLog");
|
|
434
|
+
var CreateSecretRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
435
|
+
...obj,
|
|
436
|
+
...obj.SecretBinary && { SecretBinary: import_smithy_client.SENSITIVE_STRING },
|
|
437
|
+
...obj.SecretString && { SecretString: import_smithy_client.SENSITIVE_STRING }
|
|
438
|
+
}), "CreateSecretRequestFilterSensitiveLog");
|
|
439
|
+
var GetRandomPasswordResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
440
|
+
...obj,
|
|
441
|
+
...obj.RandomPassword && { RandomPassword: import_smithy_client.SENSITIVE_STRING }
|
|
442
|
+
}), "GetRandomPasswordResponseFilterSensitiveLog");
|
|
443
|
+
var GetSecretValueResponseFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
444
|
+
...obj,
|
|
445
|
+
...obj.SecretBinary && { SecretBinary: import_smithy_client.SENSITIVE_STRING },
|
|
446
|
+
...obj.SecretString && { SecretString: import_smithy_client.SENSITIVE_STRING }
|
|
447
|
+
}), "GetSecretValueResponseFilterSensitiveLog");
|
|
448
|
+
var PutSecretValueRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
449
|
+
...obj,
|
|
450
|
+
...obj.SecretBinary && { SecretBinary: import_smithy_client.SENSITIVE_STRING },
|
|
451
|
+
...obj.SecretString && { SecretString: import_smithy_client.SENSITIVE_STRING }
|
|
452
|
+
}), "PutSecretValueRequestFilterSensitiveLog");
|
|
453
|
+
var UpdateSecretRequestFilterSensitiveLog = /* @__PURE__ */ __name((obj) => ({
|
|
454
|
+
...obj,
|
|
455
|
+
...obj.SecretBinary && { SecretBinary: import_smithy_client.SENSITIVE_STRING },
|
|
456
|
+
...obj.SecretString && { SecretString: import_smithy_client.SENSITIVE_STRING }
|
|
457
|
+
}), "UpdateSecretRequestFilterSensitiveLog");
|
|
458
|
+
|
|
459
|
+
// src/protocols/Aws_json1_1.ts
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
var import_uuid = require("uuid");
|
|
463
|
+
var se_BatchGetSecretValueCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
464
|
+
const headers = sharedHeaders("BatchGetSecretValue");
|
|
465
|
+
let body;
|
|
466
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
467
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
468
|
+
}, "se_BatchGetSecretValueCommand");
|
|
469
|
+
var se_CancelRotateSecretCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
470
|
+
const headers = sharedHeaders("CancelRotateSecret");
|
|
471
|
+
let body;
|
|
472
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
473
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
474
|
+
}, "se_CancelRotateSecretCommand");
|
|
475
|
+
var se_CreateSecretCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
476
|
+
const headers = sharedHeaders("CreateSecret");
|
|
477
|
+
let body;
|
|
478
|
+
body = JSON.stringify(se_CreateSecretRequest(input, context));
|
|
479
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
480
|
+
}, "se_CreateSecretCommand");
|
|
481
|
+
var se_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
482
|
+
const headers = sharedHeaders("DeleteResourcePolicy");
|
|
483
|
+
let body;
|
|
484
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
485
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
486
|
+
}, "se_DeleteResourcePolicyCommand");
|
|
487
|
+
var se_DeleteSecretCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
488
|
+
const headers = sharedHeaders("DeleteSecret");
|
|
489
|
+
let body;
|
|
490
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
491
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
492
|
+
}, "se_DeleteSecretCommand");
|
|
493
|
+
var se_DescribeSecretCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
494
|
+
const headers = sharedHeaders("DescribeSecret");
|
|
495
|
+
let body;
|
|
496
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
497
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
498
|
+
}, "se_DescribeSecretCommand");
|
|
499
|
+
var se_GetRandomPasswordCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
500
|
+
const headers = sharedHeaders("GetRandomPassword");
|
|
501
|
+
let body;
|
|
502
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
503
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
504
|
+
}, "se_GetRandomPasswordCommand");
|
|
505
|
+
var se_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
506
|
+
const headers = sharedHeaders("GetResourcePolicy");
|
|
507
|
+
let body;
|
|
508
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
509
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
510
|
+
}, "se_GetResourcePolicyCommand");
|
|
511
|
+
var se_GetSecretValueCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
512
|
+
const headers = sharedHeaders("GetSecretValue");
|
|
513
|
+
let body;
|
|
514
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
515
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
516
|
+
}, "se_GetSecretValueCommand");
|
|
517
|
+
var se_ListSecretsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
518
|
+
const headers = sharedHeaders("ListSecrets");
|
|
519
|
+
let body;
|
|
520
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
521
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
522
|
+
}, "se_ListSecretsCommand");
|
|
523
|
+
var se_ListSecretVersionIdsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
524
|
+
const headers = sharedHeaders("ListSecretVersionIds");
|
|
525
|
+
let body;
|
|
526
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
527
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
528
|
+
}, "se_ListSecretVersionIdsCommand");
|
|
529
|
+
var se_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
530
|
+
const headers = sharedHeaders("PutResourcePolicy");
|
|
531
|
+
let body;
|
|
532
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
533
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
534
|
+
}, "se_PutResourcePolicyCommand");
|
|
535
|
+
var se_PutSecretValueCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
536
|
+
const headers = sharedHeaders("PutSecretValue");
|
|
537
|
+
let body;
|
|
538
|
+
body = JSON.stringify(se_PutSecretValueRequest(input, context));
|
|
539
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
540
|
+
}, "se_PutSecretValueCommand");
|
|
541
|
+
var se_RemoveRegionsFromReplicationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
542
|
+
const headers = sharedHeaders("RemoveRegionsFromReplication");
|
|
543
|
+
let body;
|
|
544
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
545
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
546
|
+
}, "se_RemoveRegionsFromReplicationCommand");
|
|
547
|
+
var se_ReplicateSecretToRegionsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
548
|
+
const headers = sharedHeaders("ReplicateSecretToRegions");
|
|
549
|
+
let body;
|
|
550
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
551
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
552
|
+
}, "se_ReplicateSecretToRegionsCommand");
|
|
553
|
+
var se_RestoreSecretCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
554
|
+
const headers = sharedHeaders("RestoreSecret");
|
|
555
|
+
let body;
|
|
556
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
557
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
558
|
+
}, "se_RestoreSecretCommand");
|
|
559
|
+
var se_RotateSecretCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
560
|
+
const headers = sharedHeaders("RotateSecret");
|
|
561
|
+
let body;
|
|
562
|
+
body = JSON.stringify(se_RotateSecretRequest(input, context));
|
|
563
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
564
|
+
}, "se_RotateSecretCommand");
|
|
565
|
+
var se_StopReplicationToReplicaCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
566
|
+
const headers = sharedHeaders("StopReplicationToReplica");
|
|
567
|
+
let body;
|
|
568
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
569
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
570
|
+
}, "se_StopReplicationToReplicaCommand");
|
|
571
|
+
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
572
|
+
const headers = sharedHeaders("TagResource");
|
|
573
|
+
let body;
|
|
574
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
575
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
576
|
+
}, "se_TagResourceCommand");
|
|
577
|
+
var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
578
|
+
const headers = sharedHeaders("UntagResource");
|
|
579
|
+
let body;
|
|
580
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
581
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
582
|
+
}, "se_UntagResourceCommand");
|
|
583
|
+
var se_UpdateSecretCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
584
|
+
const headers = sharedHeaders("UpdateSecret");
|
|
585
|
+
let body;
|
|
586
|
+
body = JSON.stringify(se_UpdateSecretRequest(input, context));
|
|
587
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
588
|
+
}, "se_UpdateSecretCommand");
|
|
589
|
+
var se_UpdateSecretVersionStageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
590
|
+
const headers = sharedHeaders("UpdateSecretVersionStage");
|
|
591
|
+
let body;
|
|
592
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
593
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
594
|
+
}, "se_UpdateSecretVersionStageCommand");
|
|
595
|
+
var se_ValidateResourcePolicyCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
596
|
+
const headers = sharedHeaders("ValidateResourcePolicy");
|
|
597
|
+
let body;
|
|
598
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
599
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
600
|
+
}, "se_ValidateResourcePolicyCommand");
|
|
601
|
+
var de_BatchGetSecretValueCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
602
|
+
if (output.statusCode >= 300) {
|
|
603
|
+
return de_BatchGetSecretValueCommandError(output, context);
|
|
604
|
+
}
|
|
605
|
+
const data = await parseBody(output.body, context);
|
|
606
|
+
let contents = {};
|
|
607
|
+
contents = de_BatchGetSecretValueResponse(data, context);
|
|
608
|
+
const response = {
|
|
609
|
+
$metadata: deserializeMetadata(output),
|
|
610
|
+
...contents
|
|
611
|
+
};
|
|
612
|
+
return response;
|
|
613
|
+
}, "de_BatchGetSecretValueCommand");
|
|
614
|
+
var de_BatchGetSecretValueCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
615
|
+
const parsedOutput = {
|
|
616
|
+
...output,
|
|
617
|
+
body: await parseErrorBody(output.body, context)
|
|
618
|
+
};
|
|
619
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
620
|
+
switch (errorCode) {
|
|
621
|
+
case "DecryptionFailure":
|
|
622
|
+
case "com.amazonaws.secretsmanager#DecryptionFailure":
|
|
623
|
+
throw await de_DecryptionFailureRes(parsedOutput, context);
|
|
624
|
+
case "InternalServiceError":
|
|
625
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
626
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
627
|
+
case "InvalidNextTokenException":
|
|
628
|
+
case "com.amazonaws.secretsmanager#InvalidNextTokenException":
|
|
629
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
630
|
+
case "InvalidParameterException":
|
|
631
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
632
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
633
|
+
case "InvalidRequestException":
|
|
634
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
635
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
636
|
+
case "ResourceNotFoundException":
|
|
637
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
638
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
639
|
+
default:
|
|
640
|
+
const parsedBody = parsedOutput.body;
|
|
641
|
+
return throwDefaultError({
|
|
642
|
+
output,
|
|
643
|
+
parsedBody,
|
|
644
|
+
errorCode
|
|
645
|
+
});
|
|
646
|
+
}
|
|
647
|
+
}, "de_BatchGetSecretValueCommandError");
|
|
648
|
+
var de_CancelRotateSecretCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
649
|
+
if (output.statusCode >= 300) {
|
|
650
|
+
return de_CancelRotateSecretCommandError(output, context);
|
|
651
|
+
}
|
|
652
|
+
const data = await parseBody(output.body, context);
|
|
653
|
+
let contents = {};
|
|
654
|
+
contents = (0, import_smithy_client._json)(data);
|
|
655
|
+
const response = {
|
|
656
|
+
$metadata: deserializeMetadata(output),
|
|
657
|
+
...contents
|
|
658
|
+
};
|
|
659
|
+
return response;
|
|
660
|
+
}, "de_CancelRotateSecretCommand");
|
|
661
|
+
var de_CancelRotateSecretCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
662
|
+
const parsedOutput = {
|
|
663
|
+
...output,
|
|
664
|
+
body: await parseErrorBody(output.body, context)
|
|
665
|
+
};
|
|
666
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
667
|
+
switch (errorCode) {
|
|
668
|
+
case "InternalServiceError":
|
|
669
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
670
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
671
|
+
case "InvalidParameterException":
|
|
672
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
673
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
674
|
+
case "InvalidRequestException":
|
|
675
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
676
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
677
|
+
case "ResourceNotFoundException":
|
|
678
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
679
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
680
|
+
default:
|
|
681
|
+
const parsedBody = parsedOutput.body;
|
|
682
|
+
return throwDefaultError({
|
|
683
|
+
output,
|
|
684
|
+
parsedBody,
|
|
685
|
+
errorCode
|
|
686
|
+
});
|
|
687
|
+
}
|
|
688
|
+
}, "de_CancelRotateSecretCommandError");
|
|
689
|
+
var de_CreateSecretCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
690
|
+
if (output.statusCode >= 300) {
|
|
691
|
+
return de_CreateSecretCommandError(output, context);
|
|
692
|
+
}
|
|
693
|
+
const data = await parseBody(output.body, context);
|
|
694
|
+
let contents = {};
|
|
695
|
+
contents = de_CreateSecretResponse(data, context);
|
|
696
|
+
const response = {
|
|
697
|
+
$metadata: deserializeMetadata(output),
|
|
698
|
+
...contents
|
|
699
|
+
};
|
|
700
|
+
return response;
|
|
701
|
+
}, "de_CreateSecretCommand");
|
|
702
|
+
var de_CreateSecretCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
703
|
+
const parsedOutput = {
|
|
704
|
+
...output,
|
|
705
|
+
body: await parseErrorBody(output.body, context)
|
|
706
|
+
};
|
|
707
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
708
|
+
switch (errorCode) {
|
|
709
|
+
case "DecryptionFailure":
|
|
710
|
+
case "com.amazonaws.secretsmanager#DecryptionFailure":
|
|
711
|
+
throw await de_DecryptionFailureRes(parsedOutput, context);
|
|
712
|
+
case "EncryptionFailure":
|
|
713
|
+
case "com.amazonaws.secretsmanager#EncryptionFailure":
|
|
714
|
+
throw await de_EncryptionFailureRes(parsedOutput, context);
|
|
715
|
+
case "InternalServiceError":
|
|
716
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
717
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
718
|
+
case "InvalidParameterException":
|
|
719
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
720
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
721
|
+
case "InvalidRequestException":
|
|
722
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
723
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
724
|
+
case "LimitExceededException":
|
|
725
|
+
case "com.amazonaws.secretsmanager#LimitExceededException":
|
|
726
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
727
|
+
case "MalformedPolicyDocumentException":
|
|
728
|
+
case "com.amazonaws.secretsmanager#MalformedPolicyDocumentException":
|
|
729
|
+
throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context);
|
|
730
|
+
case "PreconditionNotMetException":
|
|
731
|
+
case "com.amazonaws.secretsmanager#PreconditionNotMetException":
|
|
732
|
+
throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
|
|
733
|
+
case "ResourceExistsException":
|
|
734
|
+
case "com.amazonaws.secretsmanager#ResourceExistsException":
|
|
735
|
+
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
736
|
+
case "ResourceNotFoundException":
|
|
737
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
738
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
739
|
+
default:
|
|
740
|
+
const parsedBody = parsedOutput.body;
|
|
741
|
+
return throwDefaultError({
|
|
742
|
+
output,
|
|
743
|
+
parsedBody,
|
|
744
|
+
errorCode
|
|
745
|
+
});
|
|
746
|
+
}
|
|
747
|
+
}, "de_CreateSecretCommandError");
|
|
748
|
+
var de_DeleteResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
749
|
+
if (output.statusCode >= 300) {
|
|
750
|
+
return de_DeleteResourcePolicyCommandError(output, context);
|
|
751
|
+
}
|
|
752
|
+
const data = await parseBody(output.body, context);
|
|
753
|
+
let contents = {};
|
|
754
|
+
contents = (0, import_smithy_client._json)(data);
|
|
755
|
+
const response = {
|
|
756
|
+
$metadata: deserializeMetadata(output),
|
|
757
|
+
...contents
|
|
758
|
+
};
|
|
759
|
+
return response;
|
|
760
|
+
}, "de_DeleteResourcePolicyCommand");
|
|
761
|
+
var de_DeleteResourcePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
762
|
+
const parsedOutput = {
|
|
763
|
+
...output,
|
|
764
|
+
body: await parseErrorBody(output.body, context)
|
|
765
|
+
};
|
|
766
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
767
|
+
switch (errorCode) {
|
|
768
|
+
case "InternalServiceError":
|
|
769
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
770
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
771
|
+
case "InvalidParameterException":
|
|
772
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
773
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
774
|
+
case "InvalidRequestException":
|
|
775
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
776
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
777
|
+
case "ResourceNotFoundException":
|
|
778
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
779
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
780
|
+
default:
|
|
781
|
+
const parsedBody = parsedOutput.body;
|
|
782
|
+
return throwDefaultError({
|
|
783
|
+
output,
|
|
784
|
+
parsedBody,
|
|
785
|
+
errorCode
|
|
786
|
+
});
|
|
787
|
+
}
|
|
788
|
+
}, "de_DeleteResourcePolicyCommandError");
|
|
789
|
+
var de_DeleteSecretCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
790
|
+
if (output.statusCode >= 300) {
|
|
791
|
+
return de_DeleteSecretCommandError(output, context);
|
|
792
|
+
}
|
|
793
|
+
const data = await parseBody(output.body, context);
|
|
794
|
+
let contents = {};
|
|
795
|
+
contents = de_DeleteSecretResponse(data, context);
|
|
796
|
+
const response = {
|
|
797
|
+
$metadata: deserializeMetadata(output),
|
|
798
|
+
...contents
|
|
799
|
+
};
|
|
800
|
+
return response;
|
|
801
|
+
}, "de_DeleteSecretCommand");
|
|
802
|
+
var de_DeleteSecretCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
803
|
+
const parsedOutput = {
|
|
804
|
+
...output,
|
|
805
|
+
body: await parseErrorBody(output.body, context)
|
|
806
|
+
};
|
|
807
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
808
|
+
switch (errorCode) {
|
|
809
|
+
case "InternalServiceError":
|
|
810
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
811
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
812
|
+
case "InvalidParameterException":
|
|
813
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
814
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
815
|
+
case "InvalidRequestException":
|
|
816
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
817
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
818
|
+
case "ResourceNotFoundException":
|
|
819
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
820
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
821
|
+
default:
|
|
822
|
+
const parsedBody = parsedOutput.body;
|
|
823
|
+
return throwDefaultError({
|
|
824
|
+
output,
|
|
825
|
+
parsedBody,
|
|
826
|
+
errorCode
|
|
827
|
+
});
|
|
828
|
+
}
|
|
829
|
+
}, "de_DeleteSecretCommandError");
|
|
830
|
+
var de_DescribeSecretCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
831
|
+
if (output.statusCode >= 300) {
|
|
832
|
+
return de_DescribeSecretCommandError(output, context);
|
|
833
|
+
}
|
|
834
|
+
const data = await parseBody(output.body, context);
|
|
835
|
+
let contents = {};
|
|
836
|
+
contents = de_DescribeSecretResponse(data, context);
|
|
837
|
+
const response = {
|
|
838
|
+
$metadata: deserializeMetadata(output),
|
|
839
|
+
...contents
|
|
840
|
+
};
|
|
841
|
+
return response;
|
|
842
|
+
}, "de_DescribeSecretCommand");
|
|
843
|
+
var de_DescribeSecretCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
844
|
+
const parsedOutput = {
|
|
845
|
+
...output,
|
|
846
|
+
body: await parseErrorBody(output.body, context)
|
|
847
|
+
};
|
|
848
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
849
|
+
switch (errorCode) {
|
|
850
|
+
case "InternalServiceError":
|
|
851
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
852
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
853
|
+
case "InvalidParameterException":
|
|
854
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
855
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
856
|
+
case "ResourceNotFoundException":
|
|
857
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
858
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
859
|
+
default:
|
|
860
|
+
const parsedBody = parsedOutput.body;
|
|
861
|
+
return throwDefaultError({
|
|
862
|
+
output,
|
|
863
|
+
parsedBody,
|
|
864
|
+
errorCode
|
|
865
|
+
});
|
|
866
|
+
}
|
|
867
|
+
}, "de_DescribeSecretCommandError");
|
|
868
|
+
var de_GetRandomPasswordCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
869
|
+
if (output.statusCode >= 300) {
|
|
870
|
+
return de_GetRandomPasswordCommandError(output, context);
|
|
871
|
+
}
|
|
872
|
+
const data = await parseBody(output.body, context);
|
|
873
|
+
let contents = {};
|
|
874
|
+
contents = (0, import_smithy_client._json)(data);
|
|
875
|
+
const response = {
|
|
876
|
+
$metadata: deserializeMetadata(output),
|
|
877
|
+
...contents
|
|
878
|
+
};
|
|
879
|
+
return response;
|
|
880
|
+
}, "de_GetRandomPasswordCommand");
|
|
881
|
+
var de_GetRandomPasswordCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
882
|
+
const parsedOutput = {
|
|
883
|
+
...output,
|
|
884
|
+
body: await parseErrorBody(output.body, context)
|
|
885
|
+
};
|
|
886
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
887
|
+
switch (errorCode) {
|
|
888
|
+
case "InternalServiceError":
|
|
889
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
890
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
891
|
+
case "InvalidParameterException":
|
|
892
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
893
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
894
|
+
case "InvalidRequestException":
|
|
895
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
896
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
897
|
+
default:
|
|
898
|
+
const parsedBody = parsedOutput.body;
|
|
899
|
+
return throwDefaultError({
|
|
900
|
+
output,
|
|
901
|
+
parsedBody,
|
|
902
|
+
errorCode
|
|
903
|
+
});
|
|
904
|
+
}
|
|
905
|
+
}, "de_GetRandomPasswordCommandError");
|
|
906
|
+
var de_GetResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
907
|
+
if (output.statusCode >= 300) {
|
|
908
|
+
return de_GetResourcePolicyCommandError(output, context);
|
|
909
|
+
}
|
|
910
|
+
const data = await parseBody(output.body, context);
|
|
911
|
+
let contents = {};
|
|
912
|
+
contents = (0, import_smithy_client._json)(data);
|
|
913
|
+
const response = {
|
|
914
|
+
$metadata: deserializeMetadata(output),
|
|
915
|
+
...contents
|
|
916
|
+
};
|
|
917
|
+
return response;
|
|
918
|
+
}, "de_GetResourcePolicyCommand");
|
|
919
|
+
var de_GetResourcePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
920
|
+
const parsedOutput = {
|
|
921
|
+
...output,
|
|
922
|
+
body: await parseErrorBody(output.body, context)
|
|
923
|
+
};
|
|
924
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
925
|
+
switch (errorCode) {
|
|
926
|
+
case "InternalServiceError":
|
|
927
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
928
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
929
|
+
case "InvalidParameterException":
|
|
930
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
931
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
932
|
+
case "InvalidRequestException":
|
|
933
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
934
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
935
|
+
case "ResourceNotFoundException":
|
|
936
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
937
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
938
|
+
default:
|
|
939
|
+
const parsedBody = parsedOutput.body;
|
|
940
|
+
return throwDefaultError({
|
|
941
|
+
output,
|
|
942
|
+
parsedBody,
|
|
943
|
+
errorCode
|
|
944
|
+
});
|
|
945
|
+
}
|
|
946
|
+
}, "de_GetResourcePolicyCommandError");
|
|
947
|
+
var de_GetSecretValueCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
948
|
+
if (output.statusCode >= 300) {
|
|
949
|
+
return de_GetSecretValueCommandError(output, context);
|
|
950
|
+
}
|
|
951
|
+
const data = await parseBody(output.body, context);
|
|
952
|
+
let contents = {};
|
|
953
|
+
contents = de_GetSecretValueResponse(data, context);
|
|
954
|
+
const response = {
|
|
955
|
+
$metadata: deserializeMetadata(output),
|
|
956
|
+
...contents
|
|
957
|
+
};
|
|
958
|
+
return response;
|
|
959
|
+
}, "de_GetSecretValueCommand");
|
|
960
|
+
var de_GetSecretValueCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
961
|
+
const parsedOutput = {
|
|
962
|
+
...output,
|
|
963
|
+
body: await parseErrorBody(output.body, context)
|
|
964
|
+
};
|
|
965
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
966
|
+
switch (errorCode) {
|
|
967
|
+
case "DecryptionFailure":
|
|
968
|
+
case "com.amazonaws.secretsmanager#DecryptionFailure":
|
|
969
|
+
throw await de_DecryptionFailureRes(parsedOutput, context);
|
|
970
|
+
case "InternalServiceError":
|
|
971
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
972
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
973
|
+
case "InvalidParameterException":
|
|
974
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
975
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
976
|
+
case "InvalidRequestException":
|
|
977
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
978
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
979
|
+
case "ResourceNotFoundException":
|
|
980
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
981
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
982
|
+
default:
|
|
983
|
+
const parsedBody = parsedOutput.body;
|
|
984
|
+
return throwDefaultError({
|
|
985
|
+
output,
|
|
986
|
+
parsedBody,
|
|
987
|
+
errorCode
|
|
988
|
+
});
|
|
989
|
+
}
|
|
990
|
+
}, "de_GetSecretValueCommandError");
|
|
991
|
+
var de_ListSecretsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
992
|
+
if (output.statusCode >= 300) {
|
|
993
|
+
return de_ListSecretsCommandError(output, context);
|
|
994
|
+
}
|
|
995
|
+
const data = await parseBody(output.body, context);
|
|
996
|
+
let contents = {};
|
|
997
|
+
contents = de_ListSecretsResponse(data, context);
|
|
998
|
+
const response = {
|
|
999
|
+
$metadata: deserializeMetadata(output),
|
|
1000
|
+
...contents
|
|
1001
|
+
};
|
|
1002
|
+
return response;
|
|
1003
|
+
}, "de_ListSecretsCommand");
|
|
1004
|
+
var de_ListSecretsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1005
|
+
const parsedOutput = {
|
|
1006
|
+
...output,
|
|
1007
|
+
body: await parseErrorBody(output.body, context)
|
|
1008
|
+
};
|
|
1009
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1010
|
+
switch (errorCode) {
|
|
1011
|
+
case "InternalServiceError":
|
|
1012
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
1013
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1014
|
+
case "InvalidNextTokenException":
|
|
1015
|
+
case "com.amazonaws.secretsmanager#InvalidNextTokenException":
|
|
1016
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1017
|
+
case "InvalidParameterException":
|
|
1018
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
1019
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1020
|
+
case "InvalidRequestException":
|
|
1021
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
1022
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1023
|
+
default:
|
|
1024
|
+
const parsedBody = parsedOutput.body;
|
|
1025
|
+
return throwDefaultError({
|
|
1026
|
+
output,
|
|
1027
|
+
parsedBody,
|
|
1028
|
+
errorCode
|
|
1029
|
+
});
|
|
1030
|
+
}
|
|
1031
|
+
}, "de_ListSecretsCommandError");
|
|
1032
|
+
var de_ListSecretVersionIdsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1033
|
+
if (output.statusCode >= 300) {
|
|
1034
|
+
return de_ListSecretVersionIdsCommandError(output, context);
|
|
1035
|
+
}
|
|
1036
|
+
const data = await parseBody(output.body, context);
|
|
1037
|
+
let contents = {};
|
|
1038
|
+
contents = de_ListSecretVersionIdsResponse(data, context);
|
|
1039
|
+
const response = {
|
|
1040
|
+
$metadata: deserializeMetadata(output),
|
|
1041
|
+
...contents
|
|
1042
|
+
};
|
|
1043
|
+
return response;
|
|
1044
|
+
}, "de_ListSecretVersionIdsCommand");
|
|
1045
|
+
var de_ListSecretVersionIdsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1046
|
+
const parsedOutput = {
|
|
1047
|
+
...output,
|
|
1048
|
+
body: await parseErrorBody(output.body, context)
|
|
1049
|
+
};
|
|
1050
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1051
|
+
switch (errorCode) {
|
|
1052
|
+
case "InternalServiceError":
|
|
1053
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
1054
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1055
|
+
case "InvalidNextTokenException":
|
|
1056
|
+
case "com.amazonaws.secretsmanager#InvalidNextTokenException":
|
|
1057
|
+
throw await de_InvalidNextTokenExceptionRes(parsedOutput, context);
|
|
1058
|
+
case "InvalidParameterException":
|
|
1059
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
1060
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1061
|
+
case "ResourceNotFoundException":
|
|
1062
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
1063
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1064
|
+
default:
|
|
1065
|
+
const parsedBody = parsedOutput.body;
|
|
1066
|
+
return throwDefaultError({
|
|
1067
|
+
output,
|
|
1068
|
+
parsedBody,
|
|
1069
|
+
errorCode
|
|
1070
|
+
});
|
|
1071
|
+
}
|
|
1072
|
+
}, "de_ListSecretVersionIdsCommandError");
|
|
1073
|
+
var de_PutResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1074
|
+
if (output.statusCode >= 300) {
|
|
1075
|
+
return de_PutResourcePolicyCommandError(output, context);
|
|
1076
|
+
}
|
|
1077
|
+
const data = await parseBody(output.body, context);
|
|
1078
|
+
let contents = {};
|
|
1079
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1080
|
+
const response = {
|
|
1081
|
+
$metadata: deserializeMetadata(output),
|
|
1082
|
+
...contents
|
|
1083
|
+
};
|
|
1084
|
+
return response;
|
|
1085
|
+
}, "de_PutResourcePolicyCommand");
|
|
1086
|
+
var de_PutResourcePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1087
|
+
const parsedOutput = {
|
|
1088
|
+
...output,
|
|
1089
|
+
body: await parseErrorBody(output.body, context)
|
|
1090
|
+
};
|
|
1091
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1092
|
+
switch (errorCode) {
|
|
1093
|
+
case "InternalServiceError":
|
|
1094
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
1095
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1096
|
+
case "InvalidParameterException":
|
|
1097
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
1098
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1099
|
+
case "InvalidRequestException":
|
|
1100
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
1101
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1102
|
+
case "MalformedPolicyDocumentException":
|
|
1103
|
+
case "com.amazonaws.secretsmanager#MalformedPolicyDocumentException":
|
|
1104
|
+
throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context);
|
|
1105
|
+
case "PublicPolicyException":
|
|
1106
|
+
case "com.amazonaws.secretsmanager#PublicPolicyException":
|
|
1107
|
+
throw await de_PublicPolicyExceptionRes(parsedOutput, context);
|
|
1108
|
+
case "ResourceNotFoundException":
|
|
1109
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
1110
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1111
|
+
default:
|
|
1112
|
+
const parsedBody = parsedOutput.body;
|
|
1113
|
+
return throwDefaultError({
|
|
1114
|
+
output,
|
|
1115
|
+
parsedBody,
|
|
1116
|
+
errorCode
|
|
1117
|
+
});
|
|
1118
|
+
}
|
|
1119
|
+
}, "de_PutResourcePolicyCommandError");
|
|
1120
|
+
var de_PutSecretValueCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1121
|
+
if (output.statusCode >= 300) {
|
|
1122
|
+
return de_PutSecretValueCommandError(output, context);
|
|
1123
|
+
}
|
|
1124
|
+
const data = await parseBody(output.body, context);
|
|
1125
|
+
let contents = {};
|
|
1126
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1127
|
+
const response = {
|
|
1128
|
+
$metadata: deserializeMetadata(output),
|
|
1129
|
+
...contents
|
|
1130
|
+
};
|
|
1131
|
+
return response;
|
|
1132
|
+
}, "de_PutSecretValueCommand");
|
|
1133
|
+
var de_PutSecretValueCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1134
|
+
const parsedOutput = {
|
|
1135
|
+
...output,
|
|
1136
|
+
body: await parseErrorBody(output.body, context)
|
|
1137
|
+
};
|
|
1138
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1139
|
+
switch (errorCode) {
|
|
1140
|
+
case "DecryptionFailure":
|
|
1141
|
+
case "com.amazonaws.secretsmanager#DecryptionFailure":
|
|
1142
|
+
throw await de_DecryptionFailureRes(parsedOutput, context);
|
|
1143
|
+
case "EncryptionFailure":
|
|
1144
|
+
case "com.amazonaws.secretsmanager#EncryptionFailure":
|
|
1145
|
+
throw await de_EncryptionFailureRes(parsedOutput, context);
|
|
1146
|
+
case "InternalServiceError":
|
|
1147
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
1148
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1149
|
+
case "InvalidParameterException":
|
|
1150
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
1151
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1152
|
+
case "InvalidRequestException":
|
|
1153
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
1154
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1155
|
+
case "LimitExceededException":
|
|
1156
|
+
case "com.amazonaws.secretsmanager#LimitExceededException":
|
|
1157
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1158
|
+
case "ResourceExistsException":
|
|
1159
|
+
case "com.amazonaws.secretsmanager#ResourceExistsException":
|
|
1160
|
+
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
1161
|
+
case "ResourceNotFoundException":
|
|
1162
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
1163
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1164
|
+
default:
|
|
1165
|
+
const parsedBody = parsedOutput.body;
|
|
1166
|
+
return throwDefaultError({
|
|
1167
|
+
output,
|
|
1168
|
+
parsedBody,
|
|
1169
|
+
errorCode
|
|
1170
|
+
});
|
|
1171
|
+
}
|
|
1172
|
+
}, "de_PutSecretValueCommandError");
|
|
1173
|
+
var de_RemoveRegionsFromReplicationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1174
|
+
if (output.statusCode >= 300) {
|
|
1175
|
+
return de_RemoveRegionsFromReplicationCommandError(output, context);
|
|
1176
|
+
}
|
|
1177
|
+
const data = await parseBody(output.body, context);
|
|
1178
|
+
let contents = {};
|
|
1179
|
+
contents = de_RemoveRegionsFromReplicationResponse(data, context);
|
|
1180
|
+
const response = {
|
|
1181
|
+
$metadata: deserializeMetadata(output),
|
|
1182
|
+
...contents
|
|
1183
|
+
};
|
|
1184
|
+
return response;
|
|
1185
|
+
}, "de_RemoveRegionsFromReplicationCommand");
|
|
1186
|
+
var de_RemoveRegionsFromReplicationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1187
|
+
const parsedOutput = {
|
|
1188
|
+
...output,
|
|
1189
|
+
body: await parseErrorBody(output.body, context)
|
|
1190
|
+
};
|
|
1191
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1192
|
+
switch (errorCode) {
|
|
1193
|
+
case "InternalServiceError":
|
|
1194
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
1195
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1196
|
+
case "InvalidParameterException":
|
|
1197
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
1198
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1199
|
+
case "InvalidRequestException":
|
|
1200
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
1201
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1202
|
+
case "ResourceNotFoundException":
|
|
1203
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
1204
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1205
|
+
default:
|
|
1206
|
+
const parsedBody = parsedOutput.body;
|
|
1207
|
+
return throwDefaultError({
|
|
1208
|
+
output,
|
|
1209
|
+
parsedBody,
|
|
1210
|
+
errorCode
|
|
1211
|
+
});
|
|
1212
|
+
}
|
|
1213
|
+
}, "de_RemoveRegionsFromReplicationCommandError");
|
|
1214
|
+
var de_ReplicateSecretToRegionsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1215
|
+
if (output.statusCode >= 300) {
|
|
1216
|
+
return de_ReplicateSecretToRegionsCommandError(output, context);
|
|
1217
|
+
}
|
|
1218
|
+
const data = await parseBody(output.body, context);
|
|
1219
|
+
let contents = {};
|
|
1220
|
+
contents = de_ReplicateSecretToRegionsResponse(data, context);
|
|
1221
|
+
const response = {
|
|
1222
|
+
$metadata: deserializeMetadata(output),
|
|
1223
|
+
...contents
|
|
1224
|
+
};
|
|
1225
|
+
return response;
|
|
1226
|
+
}, "de_ReplicateSecretToRegionsCommand");
|
|
1227
|
+
var de_ReplicateSecretToRegionsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1228
|
+
const parsedOutput = {
|
|
1229
|
+
...output,
|
|
1230
|
+
body: await parseErrorBody(output.body, context)
|
|
1231
|
+
};
|
|
1232
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1233
|
+
switch (errorCode) {
|
|
1234
|
+
case "InternalServiceError":
|
|
1235
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
1236
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1237
|
+
case "InvalidParameterException":
|
|
1238
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
1239
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1240
|
+
case "InvalidRequestException":
|
|
1241
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
1242
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1243
|
+
case "ResourceNotFoundException":
|
|
1244
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
1245
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1246
|
+
default:
|
|
1247
|
+
const parsedBody = parsedOutput.body;
|
|
1248
|
+
return throwDefaultError({
|
|
1249
|
+
output,
|
|
1250
|
+
parsedBody,
|
|
1251
|
+
errorCode
|
|
1252
|
+
});
|
|
1253
|
+
}
|
|
1254
|
+
}, "de_ReplicateSecretToRegionsCommandError");
|
|
1255
|
+
var de_RestoreSecretCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1256
|
+
if (output.statusCode >= 300) {
|
|
1257
|
+
return de_RestoreSecretCommandError(output, context);
|
|
1258
|
+
}
|
|
1259
|
+
const data = await parseBody(output.body, context);
|
|
1260
|
+
let contents = {};
|
|
1261
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1262
|
+
const response = {
|
|
1263
|
+
$metadata: deserializeMetadata(output),
|
|
1264
|
+
...contents
|
|
1265
|
+
};
|
|
1266
|
+
return response;
|
|
1267
|
+
}, "de_RestoreSecretCommand");
|
|
1268
|
+
var de_RestoreSecretCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1269
|
+
const parsedOutput = {
|
|
1270
|
+
...output,
|
|
1271
|
+
body: await parseErrorBody(output.body, context)
|
|
1272
|
+
};
|
|
1273
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1274
|
+
switch (errorCode) {
|
|
1275
|
+
case "InternalServiceError":
|
|
1276
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
1277
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1278
|
+
case "InvalidParameterException":
|
|
1279
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
1280
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1281
|
+
case "InvalidRequestException":
|
|
1282
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
1283
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1284
|
+
case "ResourceNotFoundException":
|
|
1285
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
1286
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1287
|
+
default:
|
|
1288
|
+
const parsedBody = parsedOutput.body;
|
|
1289
|
+
return throwDefaultError({
|
|
1290
|
+
output,
|
|
1291
|
+
parsedBody,
|
|
1292
|
+
errorCode
|
|
1293
|
+
});
|
|
1294
|
+
}
|
|
1295
|
+
}, "de_RestoreSecretCommandError");
|
|
1296
|
+
var de_RotateSecretCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1297
|
+
if (output.statusCode >= 300) {
|
|
1298
|
+
return de_RotateSecretCommandError(output, context);
|
|
1299
|
+
}
|
|
1300
|
+
const data = await parseBody(output.body, context);
|
|
1301
|
+
let contents = {};
|
|
1302
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1303
|
+
const response = {
|
|
1304
|
+
$metadata: deserializeMetadata(output),
|
|
1305
|
+
...contents
|
|
1306
|
+
};
|
|
1307
|
+
return response;
|
|
1308
|
+
}, "de_RotateSecretCommand");
|
|
1309
|
+
var de_RotateSecretCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1310
|
+
const parsedOutput = {
|
|
1311
|
+
...output,
|
|
1312
|
+
body: await parseErrorBody(output.body, context)
|
|
1313
|
+
};
|
|
1314
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1315
|
+
switch (errorCode) {
|
|
1316
|
+
case "InternalServiceError":
|
|
1317
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
1318
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1319
|
+
case "InvalidParameterException":
|
|
1320
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
1321
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1322
|
+
case "InvalidRequestException":
|
|
1323
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
1324
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1325
|
+
case "ResourceNotFoundException":
|
|
1326
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
1327
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1328
|
+
default:
|
|
1329
|
+
const parsedBody = parsedOutput.body;
|
|
1330
|
+
return throwDefaultError({
|
|
1331
|
+
output,
|
|
1332
|
+
parsedBody,
|
|
1333
|
+
errorCode
|
|
1334
|
+
});
|
|
1335
|
+
}
|
|
1336
|
+
}, "de_RotateSecretCommandError");
|
|
1337
|
+
var de_StopReplicationToReplicaCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1338
|
+
if (output.statusCode >= 300) {
|
|
1339
|
+
return de_StopReplicationToReplicaCommandError(output, context);
|
|
1340
|
+
}
|
|
1341
|
+
const data = await parseBody(output.body, context);
|
|
1342
|
+
let contents = {};
|
|
1343
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1344
|
+
const response = {
|
|
1345
|
+
$metadata: deserializeMetadata(output),
|
|
1346
|
+
...contents
|
|
1347
|
+
};
|
|
1348
|
+
return response;
|
|
1349
|
+
}, "de_StopReplicationToReplicaCommand");
|
|
1350
|
+
var de_StopReplicationToReplicaCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1351
|
+
const parsedOutput = {
|
|
1352
|
+
...output,
|
|
1353
|
+
body: await parseErrorBody(output.body, context)
|
|
1354
|
+
};
|
|
1355
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1356
|
+
switch (errorCode) {
|
|
1357
|
+
case "InternalServiceError":
|
|
1358
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
1359
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1360
|
+
case "InvalidParameterException":
|
|
1361
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
1362
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1363
|
+
case "InvalidRequestException":
|
|
1364
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
1365
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1366
|
+
case "ResourceNotFoundException":
|
|
1367
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
1368
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1369
|
+
default:
|
|
1370
|
+
const parsedBody = parsedOutput.body;
|
|
1371
|
+
return throwDefaultError({
|
|
1372
|
+
output,
|
|
1373
|
+
parsedBody,
|
|
1374
|
+
errorCode
|
|
1375
|
+
});
|
|
1376
|
+
}
|
|
1377
|
+
}, "de_StopReplicationToReplicaCommandError");
|
|
1378
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1379
|
+
if (output.statusCode >= 300) {
|
|
1380
|
+
return de_TagResourceCommandError(output, context);
|
|
1381
|
+
}
|
|
1382
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1383
|
+
const response = {
|
|
1384
|
+
$metadata: deserializeMetadata(output)
|
|
1385
|
+
};
|
|
1386
|
+
return response;
|
|
1387
|
+
}, "de_TagResourceCommand");
|
|
1388
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1389
|
+
const parsedOutput = {
|
|
1390
|
+
...output,
|
|
1391
|
+
body: await parseErrorBody(output.body, context)
|
|
1392
|
+
};
|
|
1393
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1394
|
+
switch (errorCode) {
|
|
1395
|
+
case "InternalServiceError":
|
|
1396
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
1397
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1398
|
+
case "InvalidParameterException":
|
|
1399
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
1400
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1401
|
+
case "InvalidRequestException":
|
|
1402
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
1403
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1404
|
+
case "ResourceNotFoundException":
|
|
1405
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
1406
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1407
|
+
default:
|
|
1408
|
+
const parsedBody = parsedOutput.body;
|
|
1409
|
+
return throwDefaultError({
|
|
1410
|
+
output,
|
|
1411
|
+
parsedBody,
|
|
1412
|
+
errorCode
|
|
1413
|
+
});
|
|
1414
|
+
}
|
|
1415
|
+
}, "de_TagResourceCommandError");
|
|
1416
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1417
|
+
if (output.statusCode >= 300) {
|
|
1418
|
+
return de_UntagResourceCommandError(output, context);
|
|
1419
|
+
}
|
|
1420
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
1421
|
+
const response = {
|
|
1422
|
+
$metadata: deserializeMetadata(output)
|
|
1423
|
+
};
|
|
1424
|
+
return response;
|
|
1425
|
+
}, "de_UntagResourceCommand");
|
|
1426
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1427
|
+
const parsedOutput = {
|
|
1428
|
+
...output,
|
|
1429
|
+
body: await parseErrorBody(output.body, context)
|
|
1430
|
+
};
|
|
1431
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1432
|
+
switch (errorCode) {
|
|
1433
|
+
case "InternalServiceError":
|
|
1434
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
1435
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1436
|
+
case "InvalidParameterException":
|
|
1437
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
1438
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1439
|
+
case "InvalidRequestException":
|
|
1440
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
1441
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1442
|
+
case "ResourceNotFoundException":
|
|
1443
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
1444
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1445
|
+
default:
|
|
1446
|
+
const parsedBody = parsedOutput.body;
|
|
1447
|
+
return throwDefaultError({
|
|
1448
|
+
output,
|
|
1449
|
+
parsedBody,
|
|
1450
|
+
errorCode
|
|
1451
|
+
});
|
|
1452
|
+
}
|
|
1453
|
+
}, "de_UntagResourceCommandError");
|
|
1454
|
+
var de_UpdateSecretCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1455
|
+
if (output.statusCode >= 300) {
|
|
1456
|
+
return de_UpdateSecretCommandError(output, context);
|
|
1457
|
+
}
|
|
1458
|
+
const data = await parseBody(output.body, context);
|
|
1459
|
+
let contents = {};
|
|
1460
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1461
|
+
const response = {
|
|
1462
|
+
$metadata: deserializeMetadata(output),
|
|
1463
|
+
...contents
|
|
1464
|
+
};
|
|
1465
|
+
return response;
|
|
1466
|
+
}, "de_UpdateSecretCommand");
|
|
1467
|
+
var de_UpdateSecretCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1468
|
+
const parsedOutput = {
|
|
1469
|
+
...output,
|
|
1470
|
+
body: await parseErrorBody(output.body, context)
|
|
1471
|
+
};
|
|
1472
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1473
|
+
switch (errorCode) {
|
|
1474
|
+
case "DecryptionFailure":
|
|
1475
|
+
case "com.amazonaws.secretsmanager#DecryptionFailure":
|
|
1476
|
+
throw await de_DecryptionFailureRes(parsedOutput, context);
|
|
1477
|
+
case "EncryptionFailure":
|
|
1478
|
+
case "com.amazonaws.secretsmanager#EncryptionFailure":
|
|
1479
|
+
throw await de_EncryptionFailureRes(parsedOutput, context);
|
|
1480
|
+
case "InternalServiceError":
|
|
1481
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
1482
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1483
|
+
case "InvalidParameterException":
|
|
1484
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
1485
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1486
|
+
case "InvalidRequestException":
|
|
1487
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
1488
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1489
|
+
case "LimitExceededException":
|
|
1490
|
+
case "com.amazonaws.secretsmanager#LimitExceededException":
|
|
1491
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1492
|
+
case "MalformedPolicyDocumentException":
|
|
1493
|
+
case "com.amazonaws.secretsmanager#MalformedPolicyDocumentException":
|
|
1494
|
+
throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context);
|
|
1495
|
+
case "PreconditionNotMetException":
|
|
1496
|
+
case "com.amazonaws.secretsmanager#PreconditionNotMetException":
|
|
1497
|
+
throw await de_PreconditionNotMetExceptionRes(parsedOutput, context);
|
|
1498
|
+
case "ResourceExistsException":
|
|
1499
|
+
case "com.amazonaws.secretsmanager#ResourceExistsException":
|
|
1500
|
+
throw await de_ResourceExistsExceptionRes(parsedOutput, context);
|
|
1501
|
+
case "ResourceNotFoundException":
|
|
1502
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
1503
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1504
|
+
default:
|
|
1505
|
+
const parsedBody = parsedOutput.body;
|
|
1506
|
+
return throwDefaultError({
|
|
1507
|
+
output,
|
|
1508
|
+
parsedBody,
|
|
1509
|
+
errorCode
|
|
1510
|
+
});
|
|
1511
|
+
}
|
|
1512
|
+
}, "de_UpdateSecretCommandError");
|
|
1513
|
+
var de_UpdateSecretVersionStageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1514
|
+
if (output.statusCode >= 300) {
|
|
1515
|
+
return de_UpdateSecretVersionStageCommandError(output, context);
|
|
1516
|
+
}
|
|
1517
|
+
const data = await parseBody(output.body, context);
|
|
1518
|
+
let contents = {};
|
|
1519
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1520
|
+
const response = {
|
|
1521
|
+
$metadata: deserializeMetadata(output),
|
|
1522
|
+
...contents
|
|
1523
|
+
};
|
|
1524
|
+
return response;
|
|
1525
|
+
}, "de_UpdateSecretVersionStageCommand");
|
|
1526
|
+
var de_UpdateSecretVersionStageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1527
|
+
const parsedOutput = {
|
|
1528
|
+
...output,
|
|
1529
|
+
body: await parseErrorBody(output.body, context)
|
|
1530
|
+
};
|
|
1531
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1532
|
+
switch (errorCode) {
|
|
1533
|
+
case "InternalServiceError":
|
|
1534
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
1535
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1536
|
+
case "InvalidParameterException":
|
|
1537
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
1538
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1539
|
+
case "InvalidRequestException":
|
|
1540
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
1541
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1542
|
+
case "LimitExceededException":
|
|
1543
|
+
case "com.amazonaws.secretsmanager#LimitExceededException":
|
|
1544
|
+
throw await de_LimitExceededExceptionRes(parsedOutput, context);
|
|
1545
|
+
case "ResourceNotFoundException":
|
|
1546
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
1547
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1548
|
+
default:
|
|
1549
|
+
const parsedBody = parsedOutput.body;
|
|
1550
|
+
return throwDefaultError({
|
|
1551
|
+
output,
|
|
1552
|
+
parsedBody,
|
|
1553
|
+
errorCode
|
|
1554
|
+
});
|
|
1555
|
+
}
|
|
1556
|
+
}, "de_UpdateSecretVersionStageCommandError");
|
|
1557
|
+
var de_ValidateResourcePolicyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1558
|
+
if (output.statusCode >= 300) {
|
|
1559
|
+
return de_ValidateResourcePolicyCommandError(output, context);
|
|
1560
|
+
}
|
|
1561
|
+
const data = await parseBody(output.body, context);
|
|
1562
|
+
let contents = {};
|
|
1563
|
+
contents = (0, import_smithy_client._json)(data);
|
|
1564
|
+
const response = {
|
|
1565
|
+
$metadata: deserializeMetadata(output),
|
|
1566
|
+
...contents
|
|
1567
|
+
};
|
|
1568
|
+
return response;
|
|
1569
|
+
}, "de_ValidateResourcePolicyCommand");
|
|
1570
|
+
var de_ValidateResourcePolicyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
1571
|
+
const parsedOutput = {
|
|
1572
|
+
...output,
|
|
1573
|
+
body: await parseErrorBody(output.body, context)
|
|
1574
|
+
};
|
|
1575
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1576
|
+
switch (errorCode) {
|
|
1577
|
+
case "InternalServiceError":
|
|
1578
|
+
case "com.amazonaws.secretsmanager#InternalServiceError":
|
|
1579
|
+
throw await de_InternalServiceErrorRes(parsedOutput, context);
|
|
1580
|
+
case "InvalidParameterException":
|
|
1581
|
+
case "com.amazonaws.secretsmanager#InvalidParameterException":
|
|
1582
|
+
throw await de_InvalidParameterExceptionRes(parsedOutput, context);
|
|
1583
|
+
case "InvalidRequestException":
|
|
1584
|
+
case "com.amazonaws.secretsmanager#InvalidRequestException":
|
|
1585
|
+
throw await de_InvalidRequestExceptionRes(parsedOutput, context);
|
|
1586
|
+
case "MalformedPolicyDocumentException":
|
|
1587
|
+
case "com.amazonaws.secretsmanager#MalformedPolicyDocumentException":
|
|
1588
|
+
throw await de_MalformedPolicyDocumentExceptionRes(parsedOutput, context);
|
|
1589
|
+
case "ResourceNotFoundException":
|
|
1590
|
+
case "com.amazonaws.secretsmanager#ResourceNotFoundException":
|
|
1591
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
1592
|
+
default:
|
|
1593
|
+
const parsedBody = parsedOutput.body;
|
|
1594
|
+
return throwDefaultError({
|
|
1595
|
+
output,
|
|
1596
|
+
parsedBody,
|
|
1597
|
+
errorCode
|
|
1598
|
+
});
|
|
1599
|
+
}
|
|
1600
|
+
}, "de_ValidateResourcePolicyCommandError");
|
|
1601
|
+
var de_DecryptionFailureRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1602
|
+
const body = parsedOutput.body;
|
|
1603
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1604
|
+
const exception = new DecryptionFailure({
|
|
1605
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1606
|
+
...deserialized
|
|
1607
|
+
});
|
|
1608
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1609
|
+
}, "de_DecryptionFailureRes");
|
|
1610
|
+
var de_EncryptionFailureRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1611
|
+
const body = parsedOutput.body;
|
|
1612
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1613
|
+
const exception = new EncryptionFailure({
|
|
1614
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1615
|
+
...deserialized
|
|
1616
|
+
});
|
|
1617
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1618
|
+
}, "de_EncryptionFailureRes");
|
|
1619
|
+
var de_InternalServiceErrorRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1620
|
+
const body = parsedOutput.body;
|
|
1621
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1622
|
+
const exception = new InternalServiceError({
|
|
1623
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1624
|
+
...deserialized
|
|
1625
|
+
});
|
|
1626
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1627
|
+
}, "de_InternalServiceErrorRes");
|
|
1628
|
+
var de_InvalidNextTokenExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1629
|
+
const body = parsedOutput.body;
|
|
1630
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1631
|
+
const exception = new InvalidNextTokenException({
|
|
1632
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1633
|
+
...deserialized
|
|
1634
|
+
});
|
|
1635
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1636
|
+
}, "de_InvalidNextTokenExceptionRes");
|
|
1637
|
+
var de_InvalidParameterExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1638
|
+
const body = parsedOutput.body;
|
|
1639
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1640
|
+
const exception = new InvalidParameterException({
|
|
1641
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1642
|
+
...deserialized
|
|
1643
|
+
});
|
|
1644
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1645
|
+
}, "de_InvalidParameterExceptionRes");
|
|
1646
|
+
var de_InvalidRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1647
|
+
const body = parsedOutput.body;
|
|
1648
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1649
|
+
const exception = new InvalidRequestException({
|
|
1650
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1651
|
+
...deserialized
|
|
1652
|
+
});
|
|
1653
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1654
|
+
}, "de_InvalidRequestExceptionRes");
|
|
1655
|
+
var de_LimitExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1656
|
+
const body = parsedOutput.body;
|
|
1657
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1658
|
+
const exception = new LimitExceededException({
|
|
1659
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1660
|
+
...deserialized
|
|
1661
|
+
});
|
|
1662
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1663
|
+
}, "de_LimitExceededExceptionRes");
|
|
1664
|
+
var de_MalformedPolicyDocumentExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1665
|
+
const body = parsedOutput.body;
|
|
1666
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1667
|
+
const exception = new MalformedPolicyDocumentException({
|
|
1668
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1669
|
+
...deserialized
|
|
1670
|
+
});
|
|
1671
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1672
|
+
}, "de_MalformedPolicyDocumentExceptionRes");
|
|
1673
|
+
var de_PreconditionNotMetExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1674
|
+
const body = parsedOutput.body;
|
|
1675
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1676
|
+
const exception = new PreconditionNotMetException({
|
|
1677
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1678
|
+
...deserialized
|
|
1679
|
+
});
|
|
1680
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1681
|
+
}, "de_PreconditionNotMetExceptionRes");
|
|
1682
|
+
var de_PublicPolicyExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1683
|
+
const body = parsedOutput.body;
|
|
1684
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1685
|
+
const exception = new PublicPolicyException({
|
|
1686
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1687
|
+
...deserialized
|
|
1688
|
+
});
|
|
1689
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1690
|
+
}, "de_PublicPolicyExceptionRes");
|
|
1691
|
+
var de_ResourceExistsExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1692
|
+
const body = parsedOutput.body;
|
|
1693
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1694
|
+
const exception = new ResourceExistsException({
|
|
1695
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1696
|
+
...deserialized
|
|
1697
|
+
});
|
|
1698
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1699
|
+
}, "de_ResourceExistsExceptionRes");
|
|
1700
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
1701
|
+
const body = parsedOutput.body;
|
|
1702
|
+
const deserialized = (0, import_smithy_client._json)(body);
|
|
1703
|
+
const exception = new ResourceNotFoundException({
|
|
1704
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
1705
|
+
...deserialized
|
|
1706
|
+
});
|
|
1707
|
+
return (0, import_smithy_client.decorateServiceException)(exception, body);
|
|
1708
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
1709
|
+
var se_CreateSecretRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1710
|
+
return (0, import_smithy_client.take)(input, {
|
|
1711
|
+
AddReplicaRegions: import_smithy_client._json,
|
|
1712
|
+
ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1713
|
+
Description: [],
|
|
1714
|
+
ForceOverwriteReplicaSecret: [],
|
|
1715
|
+
KmsKeyId: [],
|
|
1716
|
+
Name: [],
|
|
1717
|
+
SecretBinary: context.base64Encoder,
|
|
1718
|
+
SecretString: [],
|
|
1719
|
+
Tags: import_smithy_client._json
|
|
1720
|
+
});
|
|
1721
|
+
}, "se_CreateSecretRequest");
|
|
1722
|
+
var se_PutSecretValueRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1723
|
+
return (0, import_smithy_client.take)(input, {
|
|
1724
|
+
ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1725
|
+
SecretBinary: context.base64Encoder,
|
|
1726
|
+
SecretId: [],
|
|
1727
|
+
SecretString: [],
|
|
1728
|
+
VersionStages: import_smithy_client._json
|
|
1729
|
+
});
|
|
1730
|
+
}, "se_PutSecretValueRequest");
|
|
1731
|
+
var se_RotateSecretRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1732
|
+
return (0, import_smithy_client.take)(input, {
|
|
1733
|
+
ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1734
|
+
RotateImmediately: [],
|
|
1735
|
+
RotationLambdaARN: [],
|
|
1736
|
+
RotationRules: import_smithy_client._json,
|
|
1737
|
+
SecretId: []
|
|
1738
|
+
});
|
|
1739
|
+
}, "se_RotateSecretRequest");
|
|
1740
|
+
var se_UpdateSecretRequest = /* @__PURE__ */ __name((input, context) => {
|
|
1741
|
+
return (0, import_smithy_client.take)(input, {
|
|
1742
|
+
ClientRequestToken: [true, (_) => _ ?? (0, import_uuid.v4)()],
|
|
1743
|
+
Description: [],
|
|
1744
|
+
KmsKeyId: [],
|
|
1745
|
+
SecretBinary: context.base64Encoder,
|
|
1746
|
+
SecretId: [],
|
|
1747
|
+
SecretString: []
|
|
1748
|
+
});
|
|
1749
|
+
}, "se_UpdateSecretRequest");
|
|
1750
|
+
var de_BatchGetSecretValueResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1751
|
+
return (0, import_smithy_client.take)(output, {
|
|
1752
|
+
Errors: import_smithy_client._json,
|
|
1753
|
+
NextToken: import_smithy_client.expectString,
|
|
1754
|
+
SecretValues: (_) => de_SecretValuesType(_, context)
|
|
1755
|
+
});
|
|
1756
|
+
}, "de_BatchGetSecretValueResponse");
|
|
1757
|
+
var de_CreateSecretResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1758
|
+
return (0, import_smithy_client.take)(output, {
|
|
1759
|
+
ARN: import_smithy_client.expectString,
|
|
1760
|
+
Name: import_smithy_client.expectString,
|
|
1761
|
+
ReplicationStatus: (_) => de_ReplicationStatusListType(_, context),
|
|
1762
|
+
VersionId: import_smithy_client.expectString
|
|
1763
|
+
});
|
|
1764
|
+
}, "de_CreateSecretResponse");
|
|
1765
|
+
var de_DeleteSecretResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1766
|
+
return (0, import_smithy_client.take)(output, {
|
|
1767
|
+
ARN: import_smithy_client.expectString,
|
|
1768
|
+
DeletionDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1769
|
+
Name: import_smithy_client.expectString
|
|
1770
|
+
});
|
|
1771
|
+
}, "de_DeleteSecretResponse");
|
|
1772
|
+
var de_DescribeSecretResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1773
|
+
return (0, import_smithy_client.take)(output, {
|
|
1774
|
+
ARN: import_smithy_client.expectString,
|
|
1775
|
+
CreatedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1776
|
+
DeletedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1777
|
+
Description: import_smithy_client.expectString,
|
|
1778
|
+
KmsKeyId: import_smithy_client.expectString,
|
|
1779
|
+
LastAccessedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1780
|
+
LastChangedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1781
|
+
LastRotatedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1782
|
+
Name: import_smithy_client.expectString,
|
|
1783
|
+
NextRotationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1784
|
+
OwningService: import_smithy_client.expectString,
|
|
1785
|
+
PrimaryRegion: import_smithy_client.expectString,
|
|
1786
|
+
ReplicationStatus: (_) => de_ReplicationStatusListType(_, context),
|
|
1787
|
+
RotationEnabled: import_smithy_client.expectBoolean,
|
|
1788
|
+
RotationLambdaARN: import_smithy_client.expectString,
|
|
1789
|
+
RotationRules: import_smithy_client._json,
|
|
1790
|
+
Tags: import_smithy_client._json,
|
|
1791
|
+
VersionIdsToStages: import_smithy_client._json
|
|
1792
|
+
});
|
|
1793
|
+
}, "de_DescribeSecretResponse");
|
|
1794
|
+
var de_GetSecretValueResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1795
|
+
return (0, import_smithy_client.take)(output, {
|
|
1796
|
+
ARN: import_smithy_client.expectString,
|
|
1797
|
+
CreatedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1798
|
+
Name: import_smithy_client.expectString,
|
|
1799
|
+
SecretBinary: context.base64Decoder,
|
|
1800
|
+
SecretString: import_smithy_client.expectString,
|
|
1801
|
+
VersionId: import_smithy_client.expectString,
|
|
1802
|
+
VersionStages: import_smithy_client._json
|
|
1803
|
+
});
|
|
1804
|
+
}, "de_GetSecretValueResponse");
|
|
1805
|
+
var de_ListSecretsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1806
|
+
return (0, import_smithy_client.take)(output, {
|
|
1807
|
+
NextToken: import_smithy_client.expectString,
|
|
1808
|
+
SecretList: (_) => de_SecretListType(_, context)
|
|
1809
|
+
});
|
|
1810
|
+
}, "de_ListSecretsResponse");
|
|
1811
|
+
var de_ListSecretVersionIdsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1812
|
+
return (0, import_smithy_client.take)(output, {
|
|
1813
|
+
ARN: import_smithy_client.expectString,
|
|
1814
|
+
Name: import_smithy_client.expectString,
|
|
1815
|
+
NextToken: import_smithy_client.expectString,
|
|
1816
|
+
Versions: (_) => de_SecretVersionsListType(_, context)
|
|
1817
|
+
});
|
|
1818
|
+
}, "de_ListSecretVersionIdsResponse");
|
|
1819
|
+
var de_RemoveRegionsFromReplicationResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1820
|
+
return (0, import_smithy_client.take)(output, {
|
|
1821
|
+
ARN: import_smithy_client.expectString,
|
|
1822
|
+
ReplicationStatus: (_) => de_ReplicationStatusListType(_, context)
|
|
1823
|
+
});
|
|
1824
|
+
}, "de_RemoveRegionsFromReplicationResponse");
|
|
1825
|
+
var de_ReplicateSecretToRegionsResponse = /* @__PURE__ */ __name((output, context) => {
|
|
1826
|
+
return (0, import_smithy_client.take)(output, {
|
|
1827
|
+
ARN: import_smithy_client.expectString,
|
|
1828
|
+
ReplicationStatus: (_) => de_ReplicationStatusListType(_, context)
|
|
1829
|
+
});
|
|
1830
|
+
}, "de_ReplicateSecretToRegionsResponse");
|
|
1831
|
+
var de_ReplicationStatusListType = /* @__PURE__ */ __name((output, context) => {
|
|
1832
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1833
|
+
return de_ReplicationStatusType(entry, context);
|
|
1834
|
+
});
|
|
1835
|
+
return retVal;
|
|
1836
|
+
}, "de_ReplicationStatusListType");
|
|
1837
|
+
var de_ReplicationStatusType = /* @__PURE__ */ __name((output, context) => {
|
|
1838
|
+
return (0, import_smithy_client.take)(output, {
|
|
1839
|
+
KmsKeyId: import_smithy_client.expectString,
|
|
1840
|
+
LastAccessedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1841
|
+
Region: import_smithy_client.expectString,
|
|
1842
|
+
Status: import_smithy_client.expectString,
|
|
1843
|
+
StatusMessage: import_smithy_client.expectString
|
|
1844
|
+
});
|
|
1845
|
+
}, "de_ReplicationStatusType");
|
|
1846
|
+
var de_SecretListEntry = /* @__PURE__ */ __name((output, context) => {
|
|
1847
|
+
return (0, import_smithy_client.take)(output, {
|
|
1848
|
+
ARN: import_smithy_client.expectString,
|
|
1849
|
+
CreatedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1850
|
+
DeletedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1851
|
+
Description: import_smithy_client.expectString,
|
|
1852
|
+
KmsKeyId: import_smithy_client.expectString,
|
|
1853
|
+
LastAccessedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1854
|
+
LastChangedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1855
|
+
LastRotatedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1856
|
+
Name: import_smithy_client.expectString,
|
|
1857
|
+
NextRotationDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1858
|
+
OwningService: import_smithy_client.expectString,
|
|
1859
|
+
PrimaryRegion: import_smithy_client.expectString,
|
|
1860
|
+
RotationEnabled: import_smithy_client.expectBoolean,
|
|
1861
|
+
RotationLambdaARN: import_smithy_client.expectString,
|
|
1862
|
+
RotationRules: import_smithy_client._json,
|
|
1863
|
+
SecretVersionsToStages: import_smithy_client._json,
|
|
1864
|
+
Tags: import_smithy_client._json
|
|
1865
|
+
});
|
|
1866
|
+
}, "de_SecretListEntry");
|
|
1867
|
+
var de_SecretListType = /* @__PURE__ */ __name((output, context) => {
|
|
1868
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1869
|
+
return de_SecretListEntry(entry, context);
|
|
1870
|
+
});
|
|
1871
|
+
return retVal;
|
|
1872
|
+
}, "de_SecretListType");
|
|
1873
|
+
var de_SecretValueEntry = /* @__PURE__ */ __name((output, context) => {
|
|
1874
|
+
return (0, import_smithy_client.take)(output, {
|
|
1875
|
+
ARN: import_smithy_client.expectString,
|
|
1876
|
+
CreatedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1877
|
+
Name: import_smithy_client.expectString,
|
|
1878
|
+
SecretBinary: context.base64Decoder,
|
|
1879
|
+
SecretString: import_smithy_client.expectString,
|
|
1880
|
+
VersionId: import_smithy_client.expectString,
|
|
1881
|
+
VersionStages: import_smithy_client._json
|
|
1882
|
+
});
|
|
1883
|
+
}, "de_SecretValueEntry");
|
|
1884
|
+
var de_SecretValuesType = /* @__PURE__ */ __name((output, context) => {
|
|
1885
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1886
|
+
return de_SecretValueEntry(entry, context);
|
|
1887
|
+
});
|
|
1888
|
+
return retVal;
|
|
1889
|
+
}, "de_SecretValuesType");
|
|
1890
|
+
var de_SecretVersionsListEntry = /* @__PURE__ */ __name((output, context) => {
|
|
1891
|
+
return (0, import_smithy_client.take)(output, {
|
|
1892
|
+
CreatedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1893
|
+
KmsKeyIds: import_smithy_client._json,
|
|
1894
|
+
LastAccessedDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
1895
|
+
VersionId: import_smithy_client.expectString,
|
|
1896
|
+
VersionStages: import_smithy_client._json
|
|
1897
|
+
});
|
|
1898
|
+
}, "de_SecretVersionsListEntry");
|
|
1899
|
+
var de_SecretVersionsListType = /* @__PURE__ */ __name((output, context) => {
|
|
1900
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
1901
|
+
return de_SecretVersionsListEntry(entry, context);
|
|
1902
|
+
});
|
|
1903
|
+
return retVal;
|
|
1904
|
+
}, "de_SecretVersionsListType");
|
|
1905
|
+
var deserializeMetadata = /* @__PURE__ */ __name((output) => ({
|
|
1906
|
+
httpStatusCode: output.statusCode,
|
|
1907
|
+
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
1908
|
+
extendedRequestId: output.headers["x-amz-id-2"],
|
|
1909
|
+
cfId: output.headers["x-amz-cf-id"]
|
|
1910
|
+
}), "deserializeMetadata");
|
|
1911
|
+
var collectBodyString = /* @__PURE__ */ __name((streamBody, context) => (0, import_smithy_client.collectBody)(streamBody, context).then((body) => context.utf8Encoder(body)), "collectBodyString");
|
|
1912
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(SecretsManagerServiceException);
|
|
1913
|
+
var buildHttpRpcRequest = /* @__PURE__ */ __name(async (context, headers, path, resolvedHostname, body) => {
|
|
1914
|
+
const { hostname, protocol = "https", port, path: basePath } = await context.endpoint();
|
|
1915
|
+
const contents = {
|
|
1916
|
+
protocol,
|
|
1917
|
+
hostname,
|
|
1918
|
+
port,
|
|
1919
|
+
method: "POST",
|
|
1920
|
+
path: basePath.endsWith("/") ? basePath.slice(0, -1) + path : basePath + path,
|
|
1921
|
+
headers
|
|
1922
|
+
};
|
|
1923
|
+
if (resolvedHostname !== void 0) {
|
|
1924
|
+
contents.hostname = resolvedHostname;
|
|
1925
|
+
}
|
|
1926
|
+
if (body !== void 0) {
|
|
1927
|
+
contents.body = body;
|
|
1928
|
+
}
|
|
1929
|
+
return new import_protocol_http.HttpRequest(contents);
|
|
1930
|
+
}, "buildHttpRpcRequest");
|
|
1931
|
+
function sharedHeaders(operation) {
|
|
1932
|
+
return {
|
|
1933
|
+
"content-type": "application/x-amz-json-1.1",
|
|
1934
|
+
"x-amz-target": `secretsmanager.${operation}`
|
|
1935
|
+
};
|
|
1936
|
+
}
|
|
1937
|
+
__name(sharedHeaders, "sharedHeaders");
|
|
1938
|
+
var parseBody = /* @__PURE__ */ __name((streamBody, context) => collectBodyString(streamBody, context).then((encoded) => {
|
|
1939
|
+
if (encoded.length) {
|
|
1940
|
+
return JSON.parse(encoded);
|
|
1941
|
+
}
|
|
1942
|
+
return {};
|
|
1943
|
+
}), "parseBody");
|
|
1944
|
+
var parseErrorBody = /* @__PURE__ */ __name(async (errorBody, context) => {
|
|
1945
|
+
const value = await parseBody(errorBody, context);
|
|
1946
|
+
value.message = value.message ?? value.Message;
|
|
1947
|
+
return value;
|
|
1948
|
+
}, "parseErrorBody");
|
|
1949
|
+
var loadRestJsonErrorCode = /* @__PURE__ */ __name((output, data) => {
|
|
1950
|
+
const findKey = /* @__PURE__ */ __name((object, key) => Object.keys(object).find((k) => k.toLowerCase() === key.toLowerCase()), "findKey");
|
|
1951
|
+
const sanitizeErrorCode = /* @__PURE__ */ __name((rawValue) => {
|
|
1952
|
+
let cleanValue = rawValue;
|
|
1953
|
+
if (typeof cleanValue === "number") {
|
|
1954
|
+
cleanValue = cleanValue.toString();
|
|
1955
|
+
}
|
|
1956
|
+
if (cleanValue.indexOf(",") >= 0) {
|
|
1957
|
+
cleanValue = cleanValue.split(",")[0];
|
|
1958
|
+
}
|
|
1959
|
+
if (cleanValue.indexOf(":") >= 0) {
|
|
1960
|
+
cleanValue = cleanValue.split(":")[0];
|
|
1961
|
+
}
|
|
1962
|
+
if (cleanValue.indexOf("#") >= 0) {
|
|
1963
|
+
cleanValue = cleanValue.split("#")[1];
|
|
1964
|
+
}
|
|
1965
|
+
return cleanValue;
|
|
1966
|
+
}, "sanitizeErrorCode");
|
|
1967
|
+
const headerKey = findKey(output.headers, "x-amzn-errortype");
|
|
1968
|
+
if (headerKey !== void 0) {
|
|
1969
|
+
return sanitizeErrorCode(output.headers[headerKey]);
|
|
1970
|
+
}
|
|
1971
|
+
if (data.code !== void 0) {
|
|
1972
|
+
return sanitizeErrorCode(data.code);
|
|
1973
|
+
}
|
|
1974
|
+
if (data["__type"] !== void 0) {
|
|
1975
|
+
return sanitizeErrorCode(data["__type"]);
|
|
1976
|
+
}
|
|
1977
|
+
}, "loadRestJsonErrorCode");
|
|
1978
|
+
|
|
1979
|
+
// src/commands/BatchGetSecretValueCommand.ts
|
|
1980
|
+
var _BatchGetSecretValueCommand = class _BatchGetSecretValueCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1981
|
+
...commonParams
|
|
1982
|
+
}).m(function(Command, cs, config, o) {
|
|
1983
|
+
return [
|
|
1984
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
1985
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
1986
|
+
];
|
|
1987
|
+
}).s("secretsmanager", "BatchGetSecretValue", {}).n("SecretsManagerClient", "BatchGetSecretValueCommand").f(void 0, BatchGetSecretValueResponseFilterSensitiveLog).ser(se_BatchGetSecretValueCommand).de(de_BatchGetSecretValueCommand).build() {
|
|
1988
|
+
};
|
|
1989
|
+
__name(_BatchGetSecretValueCommand, "BatchGetSecretValueCommand");
|
|
1990
|
+
var BatchGetSecretValueCommand = _BatchGetSecretValueCommand;
|
|
1991
|
+
|
|
1992
|
+
// src/commands/CancelRotateSecretCommand.ts
|
|
1993
|
+
|
|
1994
|
+
|
|
1995
|
+
|
|
1996
|
+
|
|
1997
|
+
var _CancelRotateSecretCommand = class _CancelRotateSecretCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
1998
|
+
...commonParams
|
|
1999
|
+
}).m(function(Command, cs, config, o) {
|
|
2000
|
+
return [
|
|
2001
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2002
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2003
|
+
];
|
|
2004
|
+
}).s("secretsmanager", "CancelRotateSecret", {}).n("SecretsManagerClient", "CancelRotateSecretCommand").f(void 0, void 0).ser(se_CancelRotateSecretCommand).de(de_CancelRotateSecretCommand).build() {
|
|
2005
|
+
};
|
|
2006
|
+
__name(_CancelRotateSecretCommand, "CancelRotateSecretCommand");
|
|
2007
|
+
var CancelRotateSecretCommand = _CancelRotateSecretCommand;
|
|
2008
|
+
|
|
2009
|
+
// src/commands/CreateSecretCommand.ts
|
|
2010
|
+
|
|
2011
|
+
|
|
2012
|
+
|
|
2013
|
+
|
|
2014
|
+
var _CreateSecretCommand = class _CreateSecretCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2015
|
+
...commonParams
|
|
2016
|
+
}).m(function(Command, cs, config, o) {
|
|
2017
|
+
return [
|
|
2018
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2019
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2020
|
+
];
|
|
2021
|
+
}).s("secretsmanager", "CreateSecret", {}).n("SecretsManagerClient", "CreateSecretCommand").f(CreateSecretRequestFilterSensitiveLog, void 0).ser(se_CreateSecretCommand).de(de_CreateSecretCommand).build() {
|
|
2022
|
+
};
|
|
2023
|
+
__name(_CreateSecretCommand, "CreateSecretCommand");
|
|
2024
|
+
var CreateSecretCommand = _CreateSecretCommand;
|
|
2025
|
+
|
|
2026
|
+
// src/commands/DeleteResourcePolicyCommand.ts
|
|
2027
|
+
|
|
2028
|
+
|
|
2029
|
+
|
|
2030
|
+
|
|
2031
|
+
var _DeleteResourcePolicyCommand = class _DeleteResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2032
|
+
...commonParams
|
|
2033
|
+
}).m(function(Command, cs, config, o) {
|
|
2034
|
+
return [
|
|
2035
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2036
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2037
|
+
];
|
|
2038
|
+
}).s("secretsmanager", "DeleteResourcePolicy", {}).n("SecretsManagerClient", "DeleteResourcePolicyCommand").f(void 0, void 0).ser(se_DeleteResourcePolicyCommand).de(de_DeleteResourcePolicyCommand).build() {
|
|
2039
|
+
};
|
|
2040
|
+
__name(_DeleteResourcePolicyCommand, "DeleteResourcePolicyCommand");
|
|
2041
|
+
var DeleteResourcePolicyCommand = _DeleteResourcePolicyCommand;
|
|
2042
|
+
|
|
2043
|
+
// src/commands/DeleteSecretCommand.ts
|
|
2044
|
+
|
|
2045
|
+
|
|
2046
|
+
|
|
2047
|
+
|
|
2048
|
+
var _DeleteSecretCommand = class _DeleteSecretCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2049
|
+
...commonParams
|
|
2050
|
+
}).m(function(Command, cs, config, o) {
|
|
2051
|
+
return [
|
|
2052
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2053
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2054
|
+
];
|
|
2055
|
+
}).s("secretsmanager", "DeleteSecret", {}).n("SecretsManagerClient", "DeleteSecretCommand").f(void 0, void 0).ser(se_DeleteSecretCommand).de(de_DeleteSecretCommand).build() {
|
|
2056
|
+
};
|
|
2057
|
+
__name(_DeleteSecretCommand, "DeleteSecretCommand");
|
|
2058
|
+
var DeleteSecretCommand = _DeleteSecretCommand;
|
|
2059
|
+
|
|
2060
|
+
// src/commands/DescribeSecretCommand.ts
|
|
2061
|
+
|
|
2062
|
+
|
|
2063
|
+
|
|
2064
|
+
|
|
2065
|
+
var _DescribeSecretCommand = class _DescribeSecretCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2066
|
+
...commonParams
|
|
2067
|
+
}).m(function(Command, cs, config, o) {
|
|
2068
|
+
return [
|
|
2069
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2070
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2071
|
+
];
|
|
2072
|
+
}).s("secretsmanager", "DescribeSecret", {}).n("SecretsManagerClient", "DescribeSecretCommand").f(void 0, void 0).ser(se_DescribeSecretCommand).de(de_DescribeSecretCommand).build() {
|
|
2073
|
+
};
|
|
2074
|
+
__name(_DescribeSecretCommand, "DescribeSecretCommand");
|
|
2075
|
+
var DescribeSecretCommand = _DescribeSecretCommand;
|
|
2076
|
+
|
|
2077
|
+
// src/commands/GetRandomPasswordCommand.ts
|
|
2078
|
+
|
|
2079
|
+
|
|
2080
|
+
|
|
2081
|
+
|
|
2082
|
+
var _GetRandomPasswordCommand = class _GetRandomPasswordCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2083
|
+
...commonParams
|
|
2084
|
+
}).m(function(Command, cs, config, o) {
|
|
2085
|
+
return [
|
|
2086
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2087
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2088
|
+
];
|
|
2089
|
+
}).s("secretsmanager", "GetRandomPassword", {}).n("SecretsManagerClient", "GetRandomPasswordCommand").f(void 0, GetRandomPasswordResponseFilterSensitiveLog).ser(se_GetRandomPasswordCommand).de(de_GetRandomPasswordCommand).build() {
|
|
2090
|
+
};
|
|
2091
|
+
__name(_GetRandomPasswordCommand, "GetRandomPasswordCommand");
|
|
2092
|
+
var GetRandomPasswordCommand = _GetRandomPasswordCommand;
|
|
2093
|
+
|
|
2094
|
+
// src/commands/GetResourcePolicyCommand.ts
|
|
2095
|
+
|
|
2096
|
+
|
|
2097
|
+
|
|
2098
|
+
|
|
2099
|
+
var _GetResourcePolicyCommand = class _GetResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2100
|
+
...commonParams
|
|
2101
|
+
}).m(function(Command, cs, config, o) {
|
|
2102
|
+
return [
|
|
2103
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2104
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2105
|
+
];
|
|
2106
|
+
}).s("secretsmanager", "GetResourcePolicy", {}).n("SecretsManagerClient", "GetResourcePolicyCommand").f(void 0, void 0).ser(se_GetResourcePolicyCommand).de(de_GetResourcePolicyCommand).build() {
|
|
2107
|
+
};
|
|
2108
|
+
__name(_GetResourcePolicyCommand, "GetResourcePolicyCommand");
|
|
2109
|
+
var GetResourcePolicyCommand = _GetResourcePolicyCommand;
|
|
2110
|
+
|
|
2111
|
+
// src/commands/GetSecretValueCommand.ts
|
|
2112
|
+
|
|
2113
|
+
|
|
2114
|
+
|
|
2115
|
+
|
|
2116
|
+
var _GetSecretValueCommand = class _GetSecretValueCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2117
|
+
...commonParams
|
|
2118
|
+
}).m(function(Command, cs, config, o) {
|
|
2119
|
+
return [
|
|
2120
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2121
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2122
|
+
];
|
|
2123
|
+
}).s("secretsmanager", "GetSecretValue", {}).n("SecretsManagerClient", "GetSecretValueCommand").f(void 0, GetSecretValueResponseFilterSensitiveLog).ser(se_GetSecretValueCommand).de(de_GetSecretValueCommand).build() {
|
|
2124
|
+
};
|
|
2125
|
+
__name(_GetSecretValueCommand, "GetSecretValueCommand");
|
|
2126
|
+
var GetSecretValueCommand = _GetSecretValueCommand;
|
|
2127
|
+
|
|
2128
|
+
// src/commands/ListSecretsCommand.ts
|
|
2129
|
+
|
|
2130
|
+
|
|
2131
|
+
|
|
2132
|
+
|
|
2133
|
+
var _ListSecretsCommand = class _ListSecretsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2134
|
+
...commonParams
|
|
2135
|
+
}).m(function(Command, cs, config, o) {
|
|
2136
|
+
return [
|
|
2137
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2138
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2139
|
+
];
|
|
2140
|
+
}).s("secretsmanager", "ListSecrets", {}).n("SecretsManagerClient", "ListSecretsCommand").f(void 0, void 0).ser(se_ListSecretsCommand).de(de_ListSecretsCommand).build() {
|
|
2141
|
+
};
|
|
2142
|
+
__name(_ListSecretsCommand, "ListSecretsCommand");
|
|
2143
|
+
var ListSecretsCommand = _ListSecretsCommand;
|
|
2144
|
+
|
|
2145
|
+
// src/commands/ListSecretVersionIdsCommand.ts
|
|
2146
|
+
|
|
2147
|
+
|
|
2148
|
+
|
|
2149
|
+
|
|
2150
|
+
var _ListSecretVersionIdsCommand = class _ListSecretVersionIdsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2151
|
+
...commonParams
|
|
2152
|
+
}).m(function(Command, cs, config, o) {
|
|
2153
|
+
return [
|
|
2154
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2155
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2156
|
+
];
|
|
2157
|
+
}).s("secretsmanager", "ListSecretVersionIds", {}).n("SecretsManagerClient", "ListSecretVersionIdsCommand").f(void 0, void 0).ser(se_ListSecretVersionIdsCommand).de(de_ListSecretVersionIdsCommand).build() {
|
|
2158
|
+
};
|
|
2159
|
+
__name(_ListSecretVersionIdsCommand, "ListSecretVersionIdsCommand");
|
|
2160
|
+
var ListSecretVersionIdsCommand = _ListSecretVersionIdsCommand;
|
|
2161
|
+
|
|
2162
|
+
// src/commands/PutResourcePolicyCommand.ts
|
|
2163
|
+
|
|
2164
|
+
|
|
2165
|
+
|
|
2166
|
+
|
|
2167
|
+
var _PutResourcePolicyCommand = class _PutResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2168
|
+
...commonParams
|
|
2169
|
+
}).m(function(Command, cs, config, o) {
|
|
2170
|
+
return [
|
|
2171
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2172
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2173
|
+
];
|
|
2174
|
+
}).s("secretsmanager", "PutResourcePolicy", {}).n("SecretsManagerClient", "PutResourcePolicyCommand").f(void 0, void 0).ser(se_PutResourcePolicyCommand).de(de_PutResourcePolicyCommand).build() {
|
|
2175
|
+
};
|
|
2176
|
+
__name(_PutResourcePolicyCommand, "PutResourcePolicyCommand");
|
|
2177
|
+
var PutResourcePolicyCommand = _PutResourcePolicyCommand;
|
|
2178
|
+
|
|
2179
|
+
// src/commands/PutSecretValueCommand.ts
|
|
2180
|
+
|
|
2181
|
+
|
|
2182
|
+
|
|
2183
|
+
|
|
2184
|
+
var _PutSecretValueCommand = class _PutSecretValueCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2185
|
+
...commonParams
|
|
2186
|
+
}).m(function(Command, cs, config, o) {
|
|
2187
|
+
return [
|
|
2188
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2189
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2190
|
+
];
|
|
2191
|
+
}).s("secretsmanager", "PutSecretValue", {}).n("SecretsManagerClient", "PutSecretValueCommand").f(PutSecretValueRequestFilterSensitiveLog, void 0).ser(se_PutSecretValueCommand).de(de_PutSecretValueCommand).build() {
|
|
2192
|
+
};
|
|
2193
|
+
__name(_PutSecretValueCommand, "PutSecretValueCommand");
|
|
2194
|
+
var PutSecretValueCommand = _PutSecretValueCommand;
|
|
2195
|
+
|
|
2196
|
+
// src/commands/RemoveRegionsFromReplicationCommand.ts
|
|
2197
|
+
|
|
2198
|
+
|
|
2199
|
+
|
|
2200
|
+
|
|
2201
|
+
var _RemoveRegionsFromReplicationCommand = class _RemoveRegionsFromReplicationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2202
|
+
...commonParams
|
|
2203
|
+
}).m(function(Command, cs, config, o) {
|
|
2204
|
+
return [
|
|
2205
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2206
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2207
|
+
];
|
|
2208
|
+
}).s("secretsmanager", "RemoveRegionsFromReplication", {}).n("SecretsManagerClient", "RemoveRegionsFromReplicationCommand").f(void 0, void 0).ser(se_RemoveRegionsFromReplicationCommand).de(de_RemoveRegionsFromReplicationCommand).build() {
|
|
2209
|
+
};
|
|
2210
|
+
__name(_RemoveRegionsFromReplicationCommand, "RemoveRegionsFromReplicationCommand");
|
|
2211
|
+
var RemoveRegionsFromReplicationCommand = _RemoveRegionsFromReplicationCommand;
|
|
2212
|
+
|
|
2213
|
+
// src/commands/ReplicateSecretToRegionsCommand.ts
|
|
2214
|
+
|
|
2215
|
+
|
|
2216
|
+
|
|
2217
|
+
|
|
2218
|
+
var _ReplicateSecretToRegionsCommand = class _ReplicateSecretToRegionsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2219
|
+
...commonParams
|
|
2220
|
+
}).m(function(Command, cs, config, o) {
|
|
2221
|
+
return [
|
|
2222
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2223
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2224
|
+
];
|
|
2225
|
+
}).s("secretsmanager", "ReplicateSecretToRegions", {}).n("SecretsManagerClient", "ReplicateSecretToRegionsCommand").f(void 0, void 0).ser(se_ReplicateSecretToRegionsCommand).de(de_ReplicateSecretToRegionsCommand).build() {
|
|
2226
|
+
};
|
|
2227
|
+
__name(_ReplicateSecretToRegionsCommand, "ReplicateSecretToRegionsCommand");
|
|
2228
|
+
var ReplicateSecretToRegionsCommand = _ReplicateSecretToRegionsCommand;
|
|
2229
|
+
|
|
2230
|
+
// src/commands/RestoreSecretCommand.ts
|
|
2231
|
+
|
|
2232
|
+
|
|
2233
|
+
|
|
2234
|
+
|
|
2235
|
+
var _RestoreSecretCommand = class _RestoreSecretCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2236
|
+
...commonParams
|
|
2237
|
+
}).m(function(Command, cs, config, o) {
|
|
2238
|
+
return [
|
|
2239
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2240
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2241
|
+
];
|
|
2242
|
+
}).s("secretsmanager", "RestoreSecret", {}).n("SecretsManagerClient", "RestoreSecretCommand").f(void 0, void 0).ser(se_RestoreSecretCommand).de(de_RestoreSecretCommand).build() {
|
|
2243
|
+
};
|
|
2244
|
+
__name(_RestoreSecretCommand, "RestoreSecretCommand");
|
|
2245
|
+
var RestoreSecretCommand = _RestoreSecretCommand;
|
|
2246
|
+
|
|
2247
|
+
// src/commands/RotateSecretCommand.ts
|
|
2248
|
+
|
|
2249
|
+
|
|
2250
|
+
|
|
2251
|
+
|
|
2252
|
+
var _RotateSecretCommand = class _RotateSecretCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2253
|
+
...commonParams
|
|
2254
|
+
}).m(function(Command, cs, config, o) {
|
|
2255
|
+
return [
|
|
2256
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2257
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2258
|
+
];
|
|
2259
|
+
}).s("secretsmanager", "RotateSecret", {}).n("SecretsManagerClient", "RotateSecretCommand").f(void 0, void 0).ser(se_RotateSecretCommand).de(de_RotateSecretCommand).build() {
|
|
2260
|
+
};
|
|
2261
|
+
__name(_RotateSecretCommand, "RotateSecretCommand");
|
|
2262
|
+
var RotateSecretCommand = _RotateSecretCommand;
|
|
2263
|
+
|
|
2264
|
+
// src/commands/StopReplicationToReplicaCommand.ts
|
|
2265
|
+
|
|
2266
|
+
|
|
2267
|
+
|
|
2268
|
+
|
|
2269
|
+
var _StopReplicationToReplicaCommand = class _StopReplicationToReplicaCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2270
|
+
...commonParams
|
|
2271
|
+
}).m(function(Command, cs, config, o) {
|
|
2272
|
+
return [
|
|
2273
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2274
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2275
|
+
];
|
|
2276
|
+
}).s("secretsmanager", "StopReplicationToReplica", {}).n("SecretsManagerClient", "StopReplicationToReplicaCommand").f(void 0, void 0).ser(se_StopReplicationToReplicaCommand).de(de_StopReplicationToReplicaCommand).build() {
|
|
2277
|
+
};
|
|
2278
|
+
__name(_StopReplicationToReplicaCommand, "StopReplicationToReplicaCommand");
|
|
2279
|
+
var StopReplicationToReplicaCommand = _StopReplicationToReplicaCommand;
|
|
2280
|
+
|
|
2281
|
+
// src/commands/TagResourceCommand.ts
|
|
2282
|
+
|
|
2283
|
+
|
|
2284
|
+
|
|
2285
|
+
|
|
2286
|
+
var _TagResourceCommand = class _TagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2287
|
+
...commonParams
|
|
2288
|
+
}).m(function(Command, cs, config, o) {
|
|
2289
|
+
return [
|
|
2290
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2291
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2292
|
+
];
|
|
2293
|
+
}).s("secretsmanager", "TagResource", {}).n("SecretsManagerClient", "TagResourceCommand").f(void 0, void 0).ser(se_TagResourceCommand).de(de_TagResourceCommand).build() {
|
|
2294
|
+
};
|
|
2295
|
+
__name(_TagResourceCommand, "TagResourceCommand");
|
|
2296
|
+
var TagResourceCommand = _TagResourceCommand;
|
|
2297
|
+
|
|
2298
|
+
// src/commands/UntagResourceCommand.ts
|
|
2299
|
+
|
|
2300
|
+
|
|
2301
|
+
|
|
2302
|
+
|
|
2303
|
+
var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2304
|
+
...commonParams
|
|
2305
|
+
}).m(function(Command, cs, config, o) {
|
|
2306
|
+
return [
|
|
2307
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2308
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2309
|
+
];
|
|
2310
|
+
}).s("secretsmanager", "UntagResource", {}).n("SecretsManagerClient", "UntagResourceCommand").f(void 0, void 0).ser(se_UntagResourceCommand).de(de_UntagResourceCommand).build() {
|
|
2311
|
+
};
|
|
2312
|
+
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
2313
|
+
var UntagResourceCommand = _UntagResourceCommand;
|
|
2314
|
+
|
|
2315
|
+
// src/commands/UpdateSecretCommand.ts
|
|
2316
|
+
|
|
2317
|
+
|
|
2318
|
+
|
|
2319
|
+
|
|
2320
|
+
var _UpdateSecretCommand = class _UpdateSecretCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2321
|
+
...commonParams
|
|
2322
|
+
}).m(function(Command, cs, config, o) {
|
|
2323
|
+
return [
|
|
2324
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2325
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2326
|
+
];
|
|
2327
|
+
}).s("secretsmanager", "UpdateSecret", {}).n("SecretsManagerClient", "UpdateSecretCommand").f(UpdateSecretRequestFilterSensitiveLog, void 0).ser(se_UpdateSecretCommand).de(de_UpdateSecretCommand).build() {
|
|
2328
|
+
};
|
|
2329
|
+
__name(_UpdateSecretCommand, "UpdateSecretCommand");
|
|
2330
|
+
var UpdateSecretCommand = _UpdateSecretCommand;
|
|
2331
|
+
|
|
2332
|
+
// src/commands/UpdateSecretVersionStageCommand.ts
|
|
2333
|
+
|
|
2334
|
+
|
|
2335
|
+
|
|
2336
|
+
|
|
2337
|
+
var _UpdateSecretVersionStageCommand = class _UpdateSecretVersionStageCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2338
|
+
...commonParams
|
|
2339
|
+
}).m(function(Command, cs, config, o) {
|
|
2340
|
+
return [
|
|
2341
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2342
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2343
|
+
];
|
|
2344
|
+
}).s("secretsmanager", "UpdateSecretVersionStage", {}).n("SecretsManagerClient", "UpdateSecretVersionStageCommand").f(void 0, void 0).ser(se_UpdateSecretVersionStageCommand).de(de_UpdateSecretVersionStageCommand).build() {
|
|
2345
|
+
};
|
|
2346
|
+
__name(_UpdateSecretVersionStageCommand, "UpdateSecretVersionStageCommand");
|
|
2347
|
+
var UpdateSecretVersionStageCommand = _UpdateSecretVersionStageCommand;
|
|
2348
|
+
|
|
2349
|
+
// src/commands/ValidateResourcePolicyCommand.ts
|
|
2350
|
+
|
|
2351
|
+
|
|
2352
|
+
|
|
2353
|
+
|
|
2354
|
+
var _ValidateResourcePolicyCommand = class _ValidateResourcePolicyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
2355
|
+
...commonParams
|
|
2356
|
+
}).m(function(Command, cs, config, o) {
|
|
2357
|
+
return [
|
|
2358
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
2359
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
2360
|
+
];
|
|
2361
|
+
}).s("secretsmanager", "ValidateResourcePolicy", {}).n("SecretsManagerClient", "ValidateResourcePolicyCommand").f(void 0, void 0).ser(se_ValidateResourcePolicyCommand).de(de_ValidateResourcePolicyCommand).build() {
|
|
2362
|
+
};
|
|
2363
|
+
__name(_ValidateResourcePolicyCommand, "ValidateResourcePolicyCommand");
|
|
2364
|
+
var ValidateResourcePolicyCommand = _ValidateResourcePolicyCommand;
|
|
2365
|
+
|
|
2366
|
+
// src/SecretsManager.ts
|
|
2367
|
+
var commands = {
|
|
2368
|
+
BatchGetSecretValueCommand,
|
|
2369
|
+
CancelRotateSecretCommand,
|
|
2370
|
+
CreateSecretCommand,
|
|
2371
|
+
DeleteResourcePolicyCommand,
|
|
2372
|
+
DeleteSecretCommand,
|
|
2373
|
+
DescribeSecretCommand,
|
|
2374
|
+
GetRandomPasswordCommand,
|
|
2375
|
+
GetResourcePolicyCommand,
|
|
2376
|
+
GetSecretValueCommand,
|
|
2377
|
+
ListSecretsCommand,
|
|
2378
|
+
ListSecretVersionIdsCommand,
|
|
2379
|
+
PutResourcePolicyCommand,
|
|
2380
|
+
PutSecretValueCommand,
|
|
2381
|
+
RemoveRegionsFromReplicationCommand,
|
|
2382
|
+
ReplicateSecretToRegionsCommand,
|
|
2383
|
+
RestoreSecretCommand,
|
|
2384
|
+
RotateSecretCommand,
|
|
2385
|
+
StopReplicationToReplicaCommand,
|
|
2386
|
+
TagResourceCommand,
|
|
2387
|
+
UntagResourceCommand,
|
|
2388
|
+
UpdateSecretCommand,
|
|
2389
|
+
UpdateSecretVersionStageCommand,
|
|
2390
|
+
ValidateResourcePolicyCommand
|
|
2391
|
+
};
|
|
2392
|
+
var _SecretsManager = class _SecretsManager extends SecretsManagerClient {
|
|
2393
|
+
};
|
|
2394
|
+
__name(_SecretsManager, "SecretsManager");
|
|
2395
|
+
var SecretsManager = _SecretsManager;
|
|
2396
|
+
(0, import_smithy_client.createAggregatedClient)(commands, SecretsManager);
|
|
2397
|
+
|
|
2398
|
+
// src/pagination/BatchGetSecretValuePaginator.ts
|
|
2399
|
+
var import_core = require("@smithy/core");
|
|
2400
|
+
var paginateBatchGetSecretValue = (0, import_core.createPaginator)(SecretsManagerClient, BatchGetSecretValueCommand, "NextToken", "NextToken", "MaxResults");
|
|
2401
|
+
|
|
2402
|
+
// src/pagination/ListSecretVersionIdsPaginator.ts
|
|
2403
|
+
|
|
2404
|
+
var paginateListSecretVersionIds = (0, import_core.createPaginator)(SecretsManagerClient, ListSecretVersionIdsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2405
|
+
|
|
2406
|
+
// src/pagination/ListSecretsPaginator.ts
|
|
2407
|
+
|
|
2408
|
+
var paginateListSecrets = (0, import_core.createPaginator)(SecretsManagerClient, ListSecretsCommand, "NextToken", "NextToken", "MaxResults");
|
|
2409
|
+
|
|
2410
|
+
// src/index.ts
|
|
2411
|
+
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
2412
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
2413
|
+
0 && (module.exports = {
|
|
2414
|
+
BatchGetSecretValueCommand,
|
|
2415
|
+
BatchGetSecretValueResponseFilterSensitiveLog,
|
|
2416
|
+
CancelRotateSecretCommand,
|
|
2417
|
+
CreateSecretCommand,
|
|
2418
|
+
CreateSecretRequestFilterSensitiveLog,
|
|
2419
|
+
DecryptionFailure,
|
|
2420
|
+
DeleteResourcePolicyCommand,
|
|
2421
|
+
DeleteSecretCommand,
|
|
2422
|
+
DescribeSecretCommand,
|
|
2423
|
+
EncryptionFailure,
|
|
2424
|
+
FilterNameStringType,
|
|
2425
|
+
GetRandomPasswordCommand,
|
|
2426
|
+
GetRandomPasswordResponseFilterSensitiveLog,
|
|
2427
|
+
GetResourcePolicyCommand,
|
|
2428
|
+
GetSecretValueCommand,
|
|
2429
|
+
GetSecretValueResponseFilterSensitiveLog,
|
|
2430
|
+
InternalServiceError,
|
|
2431
|
+
InvalidNextTokenException,
|
|
2432
|
+
InvalidParameterException,
|
|
2433
|
+
InvalidRequestException,
|
|
2434
|
+
LimitExceededException,
|
|
2435
|
+
ListSecretVersionIdsCommand,
|
|
2436
|
+
ListSecretsCommand,
|
|
2437
|
+
MalformedPolicyDocumentException,
|
|
2438
|
+
PreconditionNotMetException,
|
|
2439
|
+
PublicPolicyException,
|
|
2440
|
+
PutResourcePolicyCommand,
|
|
2441
|
+
PutSecretValueCommand,
|
|
2442
|
+
PutSecretValueRequestFilterSensitiveLog,
|
|
2443
|
+
RemoveRegionsFromReplicationCommand,
|
|
2444
|
+
ReplicateSecretToRegionsCommand,
|
|
2445
|
+
ResourceExistsException,
|
|
2446
|
+
ResourceNotFoundException,
|
|
2447
|
+
RestoreSecretCommand,
|
|
2448
|
+
RotateSecretCommand,
|
|
2449
|
+
SecretValueEntryFilterSensitiveLog,
|
|
2450
|
+
SecretsManager,
|
|
2451
|
+
SecretsManagerClient,
|
|
2452
|
+
SecretsManagerServiceException,
|
|
2453
|
+
SortOrderType,
|
|
2454
|
+
StatusType,
|
|
2455
|
+
StopReplicationToReplicaCommand,
|
|
2456
|
+
TagResourceCommand,
|
|
2457
|
+
UntagResourceCommand,
|
|
2458
|
+
UpdateSecretCommand,
|
|
2459
|
+
UpdateSecretRequestFilterSensitiveLog,
|
|
2460
|
+
UpdateSecretVersionStageCommand,
|
|
2461
|
+
ValidateResourcePolicyCommand,
|
|
2462
|
+
__Client,
|
|
2463
|
+
paginateBatchGetSecretValue,
|
|
2464
|
+
paginateListSecretVersionIds,
|
|
2465
|
+
paginateListSecrets
|
|
2466
|
+
});
|