@aws-sdk/client-secrets-manager 3.1077.0 → 3.1078.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.
Files changed (77) hide show
  1. package/dist-cjs/index.js +31 -233
  2. package/dist-es/commandBuilder.js +6 -0
  3. package/dist-es/commands/BatchGetSecretValueCommand.js +2 -14
  4. package/dist-es/commands/CancelRotateSecretCommand.js +2 -14
  5. package/dist-es/commands/CreateSecretCommand.js +2 -14
  6. package/dist-es/commands/DeleteResourcePolicyCommand.js +2 -14
  7. package/dist-es/commands/DeleteSecretCommand.js +2 -14
  8. package/dist-es/commands/DescribeSecretCommand.js +2 -14
  9. package/dist-es/commands/GetRandomPasswordCommand.js +2 -14
  10. package/dist-es/commands/GetResourcePolicyCommand.js +2 -14
  11. package/dist-es/commands/GetSecretValueCommand.js +2 -14
  12. package/dist-es/commands/ListSecretVersionIdsCommand.js +2 -14
  13. package/dist-es/commands/ListSecretsCommand.js +2 -14
  14. package/dist-es/commands/PutResourcePolicyCommand.js +2 -14
  15. package/dist-es/commands/PutSecretValueCommand.js +2 -14
  16. package/dist-es/commands/RemoveRegionsFromReplicationCommand.js +2 -14
  17. package/dist-es/commands/ReplicateSecretToRegionsCommand.js +2 -14
  18. package/dist-es/commands/RestoreSecretCommand.js +2 -14
  19. package/dist-es/commands/RotateSecretCommand.js +2 -14
  20. package/dist-es/commands/StopReplicationToReplicaCommand.js +2 -14
  21. package/dist-es/commands/TagResourceCommand.js +2 -14
  22. package/dist-es/commands/UntagResourceCommand.js +2 -14
  23. package/dist-es/commands/UpdateSecretCommand.js +2 -14
  24. package/dist-es/commands/UpdateSecretVersionStageCommand.js +2 -14
  25. package/dist-es/commands/ValidateResourcePolicyCommand.js +2 -14
  26. package/dist-es/index.js +1 -0
  27. package/dist-types/commandBuilder.d.ts +18 -0
  28. package/dist-types/commands/BatchGetSecretValueCommand.d.ts +3 -8
  29. package/dist-types/commands/CancelRotateSecretCommand.d.ts +3 -8
  30. package/dist-types/commands/CreateSecretCommand.d.ts +3 -8
  31. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  32. package/dist-types/commands/DeleteSecretCommand.d.ts +3 -8
  33. package/dist-types/commands/DescribeSecretCommand.d.ts +3 -8
  34. package/dist-types/commands/GetRandomPasswordCommand.d.ts +3 -8
  35. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  36. package/dist-types/commands/GetSecretValueCommand.d.ts +3 -8
  37. package/dist-types/commands/ListSecretVersionIdsCommand.d.ts +3 -8
  38. package/dist-types/commands/ListSecretsCommand.d.ts +3 -8
  39. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  40. package/dist-types/commands/PutSecretValueCommand.d.ts +3 -8
  41. package/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +3 -8
  42. package/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +3 -8
  43. package/dist-types/commands/RestoreSecretCommand.d.ts +3 -8
  44. package/dist-types/commands/RotateSecretCommand.d.ts +3 -8
  45. package/dist-types/commands/StopReplicationToReplicaCommand.d.ts +3 -8
  46. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  47. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  48. package/dist-types/commands/UpdateSecretCommand.d.ts +3 -8
  49. package/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +3 -8
  50. package/dist-types/commands/ValidateResourcePolicyCommand.d.ts +3 -8
  51. package/dist-types/index.d.ts +1 -0
  52. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  53. package/dist-types/ts3.4/commands/BatchGetSecretValueCommand.d.ts +7 -16
  54. package/dist-types/ts3.4/commands/CancelRotateSecretCommand.d.ts +7 -16
  55. package/dist-types/ts3.4/commands/CreateSecretCommand.d.ts +7 -16
  56. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  57. package/dist-types/ts3.4/commands/DeleteSecretCommand.d.ts +7 -16
  58. package/dist-types/ts3.4/commands/DescribeSecretCommand.d.ts +7 -16
  59. package/dist-types/ts3.4/commands/GetRandomPasswordCommand.d.ts +7 -16
  60. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  61. package/dist-types/ts3.4/commands/GetSecretValueCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/ListSecretsCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/PutSecretValueCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/RestoreSecretCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/RotateSecretCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/UpdateSecretCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/index.d.ts +1 -0
  77. package/package.json +9 -9
package/dist-cjs/index.js CHANGED
@@ -1,7 +1,8 @@
1
1
  const { awsEndpointFunctions, emitWarningIfUnsupportedVersion: emitWarningIfUnsupportedVersion$1, createDefaultUserAgentProvider, NODE_APP_ID_CONFIG_OPTIONS, getAwsRegionExtensionConfiguration, resolveAwsRegionExtensionConfiguration, resolveUserAgentConfig, resolveHostHeaderConfig, getUserAgentPlugin, getHostHeaderPlugin, getLoggerPlugin, getRecursionDetectionPlugin } = require("@aws-sdk/core/client");
2
2
  const { getHttpAuthSchemeEndpointRuleSetPlugin, DefaultIdentityProviderConfig, getHttpSigningPlugin, createPaginator } = require("@smithy/core");
3
- const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, Command, createAggregatedClient } = require("@smithy/core/client");
4
- exports.$Command = Command;
3
+ const { normalizeProvider, getSmithyContext, ServiceException, NoOpLogger, emitWarningIfUnsupportedVersion, loadConfigsForDefaultMode, getDefaultExtensionConfiguration, resolveDefaultRuntimeConfig, Client, makeBuilder, createAggregatedClient } = require("@smithy/core/client");
4
+ const { Command: $Command } = require("@smithy/core/client");
5
+ exports.$Command = $Command;
5
6
  exports.__Client = Client;
6
7
  const { resolveDefaultsModeConfig, loadConfig, NODE_USE_FIPS_ENDPOINT_CONFIG_OPTIONS, NODE_USE_DUALSTACK_ENDPOINT_CONFIG_OPTIONS, NODE_REGION_CONFIG_OPTIONS, NODE_REGION_CONFIG_FILE_OPTIONS, resolveRegionConfig } = require("@smithy/core/config");
7
8
  const { BinaryDecisionDiagram, EndpointCache, decideEndpoint, customEndpointFunctions, resolveEndpointConfig, getEndpointPlugin } = require("@smithy/core/endpoints");
@@ -68,7 +69,7 @@ const commonParams = {
68
69
  UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
69
70
  };
70
71
 
71
- var version = "3.1076.0";
72
+ var version = "3.1077.0";
72
73
  var packageInfo = {
73
74
  version: version};
74
75
 
@@ -1113,280 +1114,77 @@ class SecretsManagerClient extends Client {
1113
1114
  }
1114
1115
  }
1115
1116
 
1116
- class BatchGetSecretValueCommand extends Command
1117
- .classBuilder()
1118
- .ep(commonParams)
1119
- .m(function (Command, cs, config, o) {
1120
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1121
- })
1122
- .s("secretsmanager", "BatchGetSecretValue", {})
1123
- .n("SecretsManagerClient", "BatchGetSecretValueCommand")
1124
- .sc(BatchGetSecretValue$)
1125
- .build() {
1117
+ const command = makeBuilder(commonParams, "secretsmanager", "SecretsManagerClient", getEndpointPlugin);
1118
+ const _ep0 = {};
1119
+ const _mw0 = (Command, cs, config, o) => [];
1120
+
1121
+ class BatchGetSecretValueCommand extends command(_ep0, _mw0, "BatchGetSecretValue", BatchGetSecretValue$) {
1126
1122
  }
1127
1123
 
1128
- class CancelRotateSecretCommand extends Command
1129
- .classBuilder()
1130
- .ep(commonParams)
1131
- .m(function (Command, cs, config, o) {
1132
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1133
- })
1134
- .s("secretsmanager", "CancelRotateSecret", {})
1135
- .n("SecretsManagerClient", "CancelRotateSecretCommand")
1136
- .sc(CancelRotateSecret$)
1137
- .build() {
1124
+ class CancelRotateSecretCommand extends command(_ep0, _mw0, "CancelRotateSecret", CancelRotateSecret$) {
1138
1125
  }
1139
1126
 
1140
- class CreateSecretCommand extends Command
1141
- .classBuilder()
1142
- .ep(commonParams)
1143
- .m(function (Command, cs, config, o) {
1144
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1145
- })
1146
- .s("secretsmanager", "CreateSecret", {})
1147
- .n("SecretsManagerClient", "CreateSecretCommand")
1148
- .sc(CreateSecret$)
1149
- .build() {
1127
+ class CreateSecretCommand extends command(_ep0, _mw0, "CreateSecret", CreateSecret$) {
1150
1128
  }
1151
1129
 
1152
- class DeleteResourcePolicyCommand extends Command
1153
- .classBuilder()
1154
- .ep(commonParams)
1155
- .m(function (Command, cs, config, o) {
1156
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1157
- })
1158
- .s("secretsmanager", "DeleteResourcePolicy", {})
1159
- .n("SecretsManagerClient", "DeleteResourcePolicyCommand")
1160
- .sc(DeleteResourcePolicy$)
1161
- .build() {
1130
+ class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
1162
1131
  }
1163
1132
 
1164
- class DeleteSecretCommand extends Command
1165
- .classBuilder()
1166
- .ep(commonParams)
1167
- .m(function (Command, cs, config, o) {
1168
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1169
- })
1170
- .s("secretsmanager", "DeleteSecret", {})
1171
- .n("SecretsManagerClient", "DeleteSecretCommand")
1172
- .sc(DeleteSecret$)
1173
- .build() {
1133
+ class DeleteSecretCommand extends command(_ep0, _mw0, "DeleteSecret", DeleteSecret$) {
1174
1134
  }
1175
1135
 
1176
- class DescribeSecretCommand extends Command
1177
- .classBuilder()
1178
- .ep(commonParams)
1179
- .m(function (Command, cs, config, o) {
1180
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1181
- })
1182
- .s("secretsmanager", "DescribeSecret", {})
1183
- .n("SecretsManagerClient", "DescribeSecretCommand")
1184
- .sc(DescribeSecret$)
1185
- .build() {
1136
+ class DescribeSecretCommand extends command(_ep0, _mw0, "DescribeSecret", DescribeSecret$) {
1186
1137
  }
1187
1138
 
1188
- class GetRandomPasswordCommand extends Command
1189
- .classBuilder()
1190
- .ep(commonParams)
1191
- .m(function (Command, cs, config, o) {
1192
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1193
- })
1194
- .s("secretsmanager", "GetRandomPassword", {})
1195
- .n("SecretsManagerClient", "GetRandomPasswordCommand")
1196
- .sc(GetRandomPassword$)
1197
- .build() {
1139
+ class GetRandomPasswordCommand extends command(_ep0, _mw0, "GetRandomPassword", GetRandomPassword$) {
1198
1140
  }
1199
1141
 
1200
- class GetResourcePolicyCommand extends Command
1201
- .classBuilder()
1202
- .ep(commonParams)
1203
- .m(function (Command, cs, config, o) {
1204
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1205
- })
1206
- .s("secretsmanager", "GetResourcePolicy", {})
1207
- .n("SecretsManagerClient", "GetResourcePolicyCommand")
1208
- .sc(GetResourcePolicy$)
1209
- .build() {
1142
+ class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
1210
1143
  }
1211
1144
 
1212
- class GetSecretValueCommand extends Command
1213
- .classBuilder()
1214
- .ep(commonParams)
1215
- .m(function (Command, cs, config, o) {
1216
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1217
- })
1218
- .s("secretsmanager", "GetSecretValue", {})
1219
- .n("SecretsManagerClient", "GetSecretValueCommand")
1220
- .sc(GetSecretValue$)
1221
- .build() {
1145
+ class GetSecretValueCommand extends command(_ep0, _mw0, "GetSecretValue", GetSecretValue$) {
1222
1146
  }
1223
1147
 
1224
- class ListSecretsCommand extends Command
1225
- .classBuilder()
1226
- .ep(commonParams)
1227
- .m(function (Command, cs, config, o) {
1228
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1229
- })
1230
- .s("secretsmanager", "ListSecrets", {})
1231
- .n("SecretsManagerClient", "ListSecretsCommand")
1232
- .sc(ListSecrets$)
1233
- .build() {
1148
+ class ListSecretsCommand extends command(_ep0, _mw0, "ListSecrets", ListSecrets$) {
1234
1149
  }
1235
1150
 
1236
- class ListSecretVersionIdsCommand extends Command
1237
- .classBuilder()
1238
- .ep(commonParams)
1239
- .m(function (Command, cs, config, o) {
1240
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1241
- })
1242
- .s("secretsmanager", "ListSecretVersionIds", {})
1243
- .n("SecretsManagerClient", "ListSecretVersionIdsCommand")
1244
- .sc(ListSecretVersionIds$)
1245
- .build() {
1151
+ class ListSecretVersionIdsCommand extends command(_ep0, _mw0, "ListSecretVersionIds", ListSecretVersionIds$) {
1246
1152
  }
1247
1153
 
1248
- class PutResourcePolicyCommand extends Command
1249
- .classBuilder()
1250
- .ep(commonParams)
1251
- .m(function (Command, cs, config, o) {
1252
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1253
- })
1254
- .s("secretsmanager", "PutResourcePolicy", {})
1255
- .n("SecretsManagerClient", "PutResourcePolicyCommand")
1256
- .sc(PutResourcePolicy$)
1257
- .build() {
1154
+ class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
1258
1155
  }
1259
1156
 
1260
- class PutSecretValueCommand extends Command
1261
- .classBuilder()
1262
- .ep(commonParams)
1263
- .m(function (Command, cs, config, o) {
1264
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1265
- })
1266
- .s("secretsmanager", "PutSecretValue", {})
1267
- .n("SecretsManagerClient", "PutSecretValueCommand")
1268
- .sc(PutSecretValue$)
1269
- .build() {
1157
+ class PutSecretValueCommand extends command(_ep0, _mw0, "PutSecretValue", PutSecretValue$) {
1270
1158
  }
1271
1159
 
1272
- class RemoveRegionsFromReplicationCommand extends Command
1273
- .classBuilder()
1274
- .ep(commonParams)
1275
- .m(function (Command, cs, config, o) {
1276
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1277
- })
1278
- .s("secretsmanager", "RemoveRegionsFromReplication", {})
1279
- .n("SecretsManagerClient", "RemoveRegionsFromReplicationCommand")
1280
- .sc(RemoveRegionsFromReplication$)
1281
- .build() {
1160
+ class RemoveRegionsFromReplicationCommand extends command(_ep0, _mw0, "RemoveRegionsFromReplication", RemoveRegionsFromReplication$) {
1282
1161
  }
1283
1162
 
1284
- class ReplicateSecretToRegionsCommand extends Command
1285
- .classBuilder()
1286
- .ep(commonParams)
1287
- .m(function (Command, cs, config, o) {
1288
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1289
- })
1290
- .s("secretsmanager", "ReplicateSecretToRegions", {})
1291
- .n("SecretsManagerClient", "ReplicateSecretToRegionsCommand")
1292
- .sc(ReplicateSecretToRegions$)
1293
- .build() {
1163
+ class ReplicateSecretToRegionsCommand extends command(_ep0, _mw0, "ReplicateSecretToRegions", ReplicateSecretToRegions$) {
1294
1164
  }
1295
1165
 
1296
- class RestoreSecretCommand extends Command
1297
- .classBuilder()
1298
- .ep(commonParams)
1299
- .m(function (Command, cs, config, o) {
1300
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1301
- })
1302
- .s("secretsmanager", "RestoreSecret", {})
1303
- .n("SecretsManagerClient", "RestoreSecretCommand")
1304
- .sc(RestoreSecret$)
1305
- .build() {
1166
+ class RestoreSecretCommand extends command(_ep0, _mw0, "RestoreSecret", RestoreSecret$) {
1306
1167
  }
1307
1168
 
1308
- class RotateSecretCommand extends Command
1309
- .classBuilder()
1310
- .ep(commonParams)
1311
- .m(function (Command, cs, config, o) {
1312
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1313
- })
1314
- .s("secretsmanager", "RotateSecret", {})
1315
- .n("SecretsManagerClient", "RotateSecretCommand")
1316
- .sc(RotateSecret$)
1317
- .build() {
1169
+ class RotateSecretCommand extends command(_ep0, _mw0, "RotateSecret", RotateSecret$) {
1318
1170
  }
1319
1171
 
1320
- class StopReplicationToReplicaCommand extends Command
1321
- .classBuilder()
1322
- .ep(commonParams)
1323
- .m(function (Command, cs, config, o) {
1324
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1325
- })
1326
- .s("secretsmanager", "StopReplicationToReplica", {})
1327
- .n("SecretsManagerClient", "StopReplicationToReplicaCommand")
1328
- .sc(StopReplicationToReplica$)
1329
- .build() {
1172
+ class StopReplicationToReplicaCommand extends command(_ep0, _mw0, "StopReplicationToReplica", StopReplicationToReplica$) {
1330
1173
  }
1331
1174
 
1332
- class TagResourceCommand extends Command
1333
- .classBuilder()
1334
- .ep(commonParams)
1335
- .m(function (Command, cs, config, o) {
1336
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1337
- })
1338
- .s("secretsmanager", "TagResource", {})
1339
- .n("SecretsManagerClient", "TagResourceCommand")
1340
- .sc(TagResource$)
1341
- .build() {
1175
+ class TagResourceCommand extends command(_ep0, _mw0, "TagResource", TagResource$) {
1342
1176
  }
1343
1177
 
1344
- class UntagResourceCommand extends Command
1345
- .classBuilder()
1346
- .ep(commonParams)
1347
- .m(function (Command, cs, config, o) {
1348
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1349
- })
1350
- .s("secretsmanager", "UntagResource", {})
1351
- .n("SecretsManagerClient", "UntagResourceCommand")
1352
- .sc(UntagResource$)
1353
- .build() {
1178
+ class UntagResourceCommand extends command(_ep0, _mw0, "UntagResource", UntagResource$) {
1354
1179
  }
1355
1180
 
1356
- class UpdateSecretCommand extends Command
1357
- .classBuilder()
1358
- .ep(commonParams)
1359
- .m(function (Command, cs, config, o) {
1360
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1361
- })
1362
- .s("secretsmanager", "UpdateSecret", {})
1363
- .n("SecretsManagerClient", "UpdateSecretCommand")
1364
- .sc(UpdateSecret$)
1365
- .build() {
1181
+ class UpdateSecretCommand extends command(_ep0, _mw0, "UpdateSecret", UpdateSecret$) {
1366
1182
  }
1367
1183
 
1368
- class UpdateSecretVersionStageCommand extends Command
1369
- .classBuilder()
1370
- .ep(commonParams)
1371
- .m(function (Command, cs, config, o) {
1372
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1373
- })
1374
- .s("secretsmanager", "UpdateSecretVersionStage", {})
1375
- .n("SecretsManagerClient", "UpdateSecretVersionStageCommand")
1376
- .sc(UpdateSecretVersionStage$)
1377
- .build() {
1184
+ class UpdateSecretVersionStageCommand extends command(_ep0, _mw0, "UpdateSecretVersionStage", UpdateSecretVersionStage$) {
1378
1185
  }
1379
1186
 
1380
- class ValidateResourcePolicyCommand extends Command
1381
- .classBuilder()
1382
- .ep(commonParams)
1383
- .m(function (Command, cs, config, o) {
1384
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
1385
- })
1386
- .s("secretsmanager", "ValidateResourcePolicy", {})
1387
- .n("SecretsManagerClient", "ValidateResourcePolicyCommand")
1388
- .sc(ValidateResourcePolicy$)
1389
- .build() {
1187
+ class ValidateResourcePolicyCommand extends command(_ep0, _mw0, "ValidateResourcePolicy", ValidateResourcePolicy$) {
1390
1188
  }
1391
1189
 
1392
1190
  const paginateBatchGetSecretValue = createPaginator(SecretsManagerClient, BatchGetSecretValueCommand, "NextToken", "NextToken", "MaxResults");
@@ -0,0 +1,6 @@
1
+ import { makeBuilder } from "@smithy/core/client";
2
+ import { getEndpointPlugin } from "@smithy/core/endpoints";
3
+ import { commonParams } from "./endpoint/EndpointParameters";
4
+ export const command = makeBuilder(commonParams, "secretsmanager", "SecretsManagerClient", getEndpointPlugin);
5
+ export const _ep0 = {};
6
+ export const _mw0 = (Command, cs, config, o) => [];
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { BatchGetSecretValue$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class BatchGetSecretValueCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("secretsmanager", "BatchGetSecretValue", {})
13
- .n("SecretsManagerClient", "BatchGetSecretValueCommand")
14
- .sc(BatchGetSecretValue$)
15
- .build() {
3
+ export class BatchGetSecretValueCommand extends command(_ep0, _mw0, "BatchGetSecretValue", BatchGetSecretValue$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CancelRotateSecret$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CancelRotateSecretCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("secretsmanager", "CancelRotateSecret", {})
13
- .n("SecretsManagerClient", "CancelRotateSecretCommand")
14
- .sc(CancelRotateSecret$)
15
- .build() {
3
+ export class CancelRotateSecretCommand extends command(_ep0, _mw0, "CancelRotateSecret", CancelRotateSecret$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { CreateSecret$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class CreateSecretCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("secretsmanager", "CreateSecret", {})
13
- .n("SecretsManagerClient", "CreateSecretCommand")
14
- .sc(CreateSecret$)
15
- .build() {
3
+ export class CreateSecretCommand extends command(_ep0, _mw0, "CreateSecret", CreateSecret$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("secretsmanager", "DeleteResourcePolicy", {})
13
- .n("SecretsManagerClient", "DeleteResourcePolicyCommand")
14
- .sc(DeleteResourcePolicy$)
15
- .build() {
3
+ export class DeleteResourcePolicyCommand extends command(_ep0, _mw0, "DeleteResourcePolicy", DeleteResourcePolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DeleteSecret$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DeleteSecretCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("secretsmanager", "DeleteSecret", {})
13
- .n("SecretsManagerClient", "DeleteSecretCommand")
14
- .sc(DeleteSecret$)
15
- .build() {
3
+ export class DeleteSecretCommand extends command(_ep0, _mw0, "DeleteSecret", DeleteSecret$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { DescribeSecret$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class DescribeSecretCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("secretsmanager", "DescribeSecret", {})
13
- .n("SecretsManagerClient", "DescribeSecretCommand")
14
- .sc(DescribeSecret$)
15
- .build() {
3
+ export class DescribeSecretCommand extends command(_ep0, _mw0, "DescribeSecret", DescribeSecret$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetRandomPassword$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetRandomPasswordCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("secretsmanager", "GetRandomPassword", {})
13
- .n("SecretsManagerClient", "GetRandomPasswordCommand")
14
- .sc(GetRandomPassword$)
15
- .build() {
3
+ export class GetRandomPasswordCommand extends command(_ep0, _mw0, "GetRandomPassword", GetRandomPassword$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("secretsmanager", "GetResourcePolicy", {})
13
- .n("SecretsManagerClient", "GetResourcePolicyCommand")
14
- .sc(GetResourcePolicy$)
15
- .build() {
3
+ export class GetResourcePolicyCommand extends command(_ep0, _mw0, "GetResourcePolicy", GetResourcePolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { GetSecretValue$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class GetSecretValueCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("secretsmanager", "GetSecretValue", {})
13
- .n("SecretsManagerClient", "GetSecretValueCommand")
14
- .sc(GetSecretValue$)
15
- .build() {
3
+ export class GetSecretValueCommand extends command(_ep0, _mw0, "GetSecretValue", GetSecretValue$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListSecretVersionIds$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSecretVersionIdsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("secretsmanager", "ListSecretVersionIds", {})
13
- .n("SecretsManagerClient", "ListSecretVersionIdsCommand")
14
- .sc(ListSecretVersionIds$)
15
- .build() {
3
+ export class ListSecretVersionIdsCommand extends command(_ep0, _mw0, "ListSecretVersionIds", ListSecretVersionIds$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ListSecrets$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ListSecretsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("secretsmanager", "ListSecrets", {})
13
- .n("SecretsManagerClient", "ListSecretsCommand")
14
- .sc(ListSecrets$)
15
- .build() {
3
+ export class ListSecretsCommand extends command(_ep0, _mw0, "ListSecrets", ListSecrets$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutResourcePolicy$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutResourcePolicyCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("secretsmanager", "PutResourcePolicy", {})
13
- .n("SecretsManagerClient", "PutResourcePolicyCommand")
14
- .sc(PutResourcePolicy$)
15
- .build() {
3
+ export class PutResourcePolicyCommand extends command(_ep0, _mw0, "PutResourcePolicy", PutResourcePolicy$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { PutSecretValue$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class PutSecretValueCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("secretsmanager", "PutSecretValue", {})
13
- .n("SecretsManagerClient", "PutSecretValueCommand")
14
- .sc(PutSecretValue$)
15
- .build() {
3
+ export class PutSecretValueCommand extends command(_ep0, _mw0, "PutSecretValue", PutSecretValue$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RemoveRegionsFromReplication$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RemoveRegionsFromReplicationCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("secretsmanager", "RemoveRegionsFromReplication", {})
13
- .n("SecretsManagerClient", "RemoveRegionsFromReplicationCommand")
14
- .sc(RemoveRegionsFromReplication$)
15
- .build() {
3
+ export class RemoveRegionsFromReplicationCommand extends command(_ep0, _mw0, "RemoveRegionsFromReplication", RemoveRegionsFromReplication$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { ReplicateSecretToRegions$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class ReplicateSecretToRegionsCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("secretsmanager", "ReplicateSecretToRegions", {})
13
- .n("SecretsManagerClient", "ReplicateSecretToRegionsCommand")
14
- .sc(ReplicateSecretToRegions$)
15
- .build() {
3
+ export class ReplicateSecretToRegionsCommand extends command(_ep0, _mw0, "ReplicateSecretToRegions", ReplicateSecretToRegions$) {
16
4
  }
@@ -1,16 +1,4 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
- import { getEndpointPlugin } from "@smithy/core/endpoints";
3
- import { commonParams } from "../endpoint/EndpointParameters";
1
+ import { _ep0, _mw0, command } from "../commandBuilder";
4
2
  import { RestoreSecret$ } from "../schemas/schemas_0";
5
- export { $Command };
6
- export class RestoreSecretCommand extends $Command
7
- .classBuilder()
8
- .ep(commonParams)
9
- .m(function (Command, cs, config, o) {
10
- return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
11
- })
12
- .s("secretsmanager", "RestoreSecret", {})
13
- .n("SecretsManagerClient", "RestoreSecretCommand")
14
- .sc(RestoreSecret$)
15
- .build() {
3
+ export class RestoreSecretCommand extends command(_ep0, _mw0, "RestoreSecret", RestoreSecret$) {
16
4
  }