@aws-sdk/client-secrets-manager 3.926.0 → 3.928.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 (47) hide show
  1. package/dist-cjs/index.js +808 -1068
  2. package/dist-cjs/runtimeConfig.shared.js +7 -0
  3. package/dist-es/SecretsManagerClient.js +2 -0
  4. package/dist-es/commands/BatchGetSecretValueCommand.js +3 -10
  5. package/dist-es/commands/CancelRotateSecretCommand.js +3 -9
  6. package/dist-es/commands/CreateSecretCommand.js +3 -10
  7. package/dist-es/commands/DeleteResourcePolicyCommand.js +3 -9
  8. package/dist-es/commands/DeleteSecretCommand.js +3 -9
  9. package/dist-es/commands/DescribeSecretCommand.js +3 -9
  10. package/dist-es/commands/GetRandomPasswordCommand.js +3 -10
  11. package/dist-es/commands/GetResourcePolicyCommand.js +3 -9
  12. package/dist-es/commands/GetSecretValueCommand.js +3 -10
  13. package/dist-es/commands/ListSecretVersionIdsCommand.js +3 -9
  14. package/dist-es/commands/ListSecretsCommand.js +3 -9
  15. package/dist-es/commands/PutResourcePolicyCommand.js +3 -9
  16. package/dist-es/commands/PutSecretValueCommand.js +3 -10
  17. package/dist-es/commands/RemoveRegionsFromReplicationCommand.js +3 -9
  18. package/dist-es/commands/ReplicateSecretToRegionsCommand.js +3 -9
  19. package/dist-es/commands/RestoreSecretCommand.js +3 -9
  20. package/dist-es/commands/RotateSecretCommand.js +3 -9
  21. package/dist-es/commands/StopReplicationToReplicaCommand.js +3 -9
  22. package/dist-es/commands/TagResourceCommand.js +3 -9
  23. package/dist-es/commands/UntagResourceCommand.js +3 -9
  24. package/dist-es/commands/UpdateSecretCommand.js +3 -10
  25. package/dist-es/commands/UpdateSecretVersionStageCommand.js +3 -9
  26. package/dist-es/commands/ValidateResourcePolicyCommand.js +3 -9
  27. package/dist-es/models/models_0.js +0 -35
  28. package/dist-es/runtimeConfig.shared.js +7 -0
  29. package/dist-es/schemas/schemas_0.js +731 -0
  30. package/dist-types/SecretsManagerClient.d.ts +10 -1
  31. package/dist-types/models/models_0.d.ts +0 -28
  32. package/dist-types/runtimeConfig.browser.d.ts +1 -0
  33. package/dist-types/runtimeConfig.d.ts +1 -0
  34. package/dist-types/runtimeConfig.native.d.ts +1 -0
  35. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  36. package/dist-types/schemas/schemas_0.d.ts +112 -0
  37. package/dist-types/ts3.4/SecretsManagerClient.d.ts +4 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +0 -21
  39. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
  40. package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
  41. package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
  42. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
  43. package/dist-types/ts3.4/schemas/schemas_0.d.ts +119 -0
  44. package/package.json +5 -6
  45. package/dist-es/protocols/Aws_json1_1.js +0 -834
  46. package/dist-types/protocols/Aws_json1_1.d.ts +0 -209
  47. package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +0 -281
@@ -2,6 +2,7 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.getRuntimeConfig = void 0;
4
4
  const core_1 = require("@aws-sdk/core");
5
+ const protocols_1 = require("@aws-sdk/core/protocols");
5
6
  const smithy_client_1 = require("@smithy/smithy-client");
6
7
  const url_parser_1 = require("@smithy/url-parser");
7
8
  const util_base64_1 = require("@smithy/util-base64");
@@ -25,6 +26,12 @@ const getRuntimeConfig = (config) => {
25
26
  },
26
27
  ],
27
28
  logger: config?.logger ?? new smithy_client_1.NoOpLogger(),
29
+ protocol: config?.protocol ??
30
+ new protocols_1.AwsJson1_1Protocol({
31
+ defaultNamespace: "com.amazonaws.secretsmanager",
32
+ serviceTarget: "secretsmanager",
33
+ awsQueryCompatible: false,
34
+ }),
28
35
  serviceId: config?.serviceId ?? "Secrets Manager",
29
36
  urlParser: config?.urlParser ?? url_parser_1.parseUrl,
30
37
  utf8Decoder: config?.utf8Decoder ?? util_utf8_1.fromUtf8,
@@ -4,6 +4,7 @@ import { getRecursionDetectionPlugin } from "@aws-sdk/middleware-recursion-detec
4
4
  import { getUserAgentPlugin, resolveUserAgentConfig, } from "@aws-sdk/middleware-user-agent";
5
5
  import { resolveRegionConfig } from "@smithy/config-resolver";
6
6
  import { DefaultIdentityProviderConfig, getHttpAuthSchemeEndpointRuleSetPlugin, getHttpSigningPlugin, } from "@smithy/core";
7
+ import { getSchemaSerdePlugin } from "@smithy/core/schema";
7
8
  import { getContentLengthPlugin } from "@smithy/middleware-content-length";
8
9
  import { resolveEndpointConfig } from "@smithy/middleware-endpoint";
9
10
  import { getRetryPlugin, resolveRetryConfig } from "@smithy/middleware-retry";
@@ -28,6 +29,7 @@ export class SecretsManagerClient extends __Client {
28
29
  const _config_7 = resolveHttpAuthSchemeConfig(_config_6);
29
30
  const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
30
31
  this.config = _config_8;
32
+ this.middlewareStack.use(getSchemaSerdePlugin(this.config));
31
33
  this.middlewareStack.use(getUserAgentPlugin(this.config));
32
34
  this.middlewareStack.use(getRetryPlugin(this.config));
33
35
  this.middlewareStack.use(getContentLengthPlugin(this.config));
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { BatchGetSecretValueResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_BatchGetSecretValueCommand, se_BatchGetSecretValueCommand } from "../protocols/Aws_json1_1";
4
+ import { BatchGetSecretValue } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class BatchGetSecretValueCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("secretsmanager", "BatchGetSecretValue", {})
18
13
  .n("SecretsManagerClient", "BatchGetSecretValueCommand")
19
- .f(void 0, BatchGetSecretValueResponseFilterSensitiveLog)
20
- .ser(se_BatchGetSecretValueCommand)
21
- .de(de_BatchGetSecretValueCommand)
14
+ .sc(BatchGetSecretValue)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_CancelRotateSecretCommand, se_CancelRotateSecretCommand } from "../protocols/Aws_json1_1";
4
+ import { CancelRotateSecret } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class CancelRotateSecretCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("secretsmanager", "CancelRotateSecret", {})
17
13
  .n("SecretsManagerClient", "CancelRotateSecretCommand")
18
- .f(void 0, void 0)
19
- .ser(se_CancelRotateSecretCommand)
20
- .de(de_CancelRotateSecretCommand)
14
+ .sc(CancelRotateSecret)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { CreateSecretRequestFilterSensitiveLog } from "../models/models_0";
6
- import { de_CreateSecretCommand, se_CreateSecretCommand } from "../protocols/Aws_json1_1";
4
+ import { CreateSecret } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class CreateSecretCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("secretsmanager", "CreateSecret", {})
18
13
  .n("SecretsManagerClient", "CreateSecretCommand")
19
- .f(CreateSecretRequestFilterSensitiveLog, void 0)
20
- .ser(se_CreateSecretCommand)
21
- .de(de_CreateSecretCommand)
14
+ .sc(CreateSecret)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteResourcePolicyCommand, se_DeleteResourcePolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteResourcePolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("secretsmanager", "DeleteResourcePolicy", {})
17
13
  .n("SecretsManagerClient", "DeleteResourcePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteResourcePolicyCommand)
20
- .de(de_DeleteResourcePolicyCommand)
14
+ .sc(DeleteResourcePolicy)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DeleteSecretCommand, se_DeleteSecretCommand } from "../protocols/Aws_json1_1";
4
+ import { DeleteSecret } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DeleteSecretCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("secretsmanager", "DeleteSecret", {})
17
13
  .n("SecretsManagerClient", "DeleteSecretCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DeleteSecretCommand)
20
- .de(de_DeleteSecretCommand)
14
+ .sc(DeleteSecret)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_DescribeSecretCommand, se_DescribeSecretCommand } from "../protocols/Aws_json1_1";
4
+ import { DescribeSecret } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class DescribeSecretCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("secretsmanager", "DescribeSecret", {})
17
13
  .n("SecretsManagerClient", "DescribeSecretCommand")
18
- .f(void 0, void 0)
19
- .ser(se_DescribeSecretCommand)
20
- .de(de_DescribeSecretCommand)
14
+ .sc(DescribeSecret)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetRandomPasswordResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetRandomPasswordCommand, se_GetRandomPasswordCommand } from "../protocols/Aws_json1_1";
4
+ import { GetRandomPassword } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetRandomPasswordCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("secretsmanager", "GetRandomPassword", {})
18
13
  .n("SecretsManagerClient", "GetRandomPasswordCommand")
19
- .f(void 0, GetRandomPasswordResponseFilterSensitiveLog)
20
- .ser(se_GetRandomPasswordCommand)
21
- .de(de_GetRandomPasswordCommand)
14
+ .sc(GetRandomPassword)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_GetResourcePolicyCommand, se_GetResourcePolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { GetResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class GetResourcePolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("secretsmanager", "GetResourcePolicy", {})
17
13
  .n("SecretsManagerClient", "GetResourcePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_GetResourcePolicyCommand)
20
- .de(de_GetResourcePolicyCommand)
14
+ .sc(GetResourcePolicy)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { GetSecretValueResponseFilterSensitiveLog, } from "../models/models_0";
6
- import { de_GetSecretValueCommand, se_GetSecretValueCommand } from "../protocols/Aws_json1_1";
4
+ import { GetSecretValue } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class GetSecretValueCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("secretsmanager", "GetSecretValue", {})
18
13
  .n("SecretsManagerClient", "GetSecretValueCommand")
19
- .f(void 0, GetSecretValueResponseFilterSensitiveLog)
20
- .ser(se_GetSecretValueCommand)
21
- .de(de_GetSecretValueCommand)
14
+ .sc(GetSecretValue)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListSecretVersionIdsCommand, se_ListSecretVersionIdsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListSecretVersionIds } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListSecretVersionIdsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("secretsmanager", "ListSecretVersionIds", {})
17
13
  .n("SecretsManagerClient", "ListSecretVersionIdsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListSecretVersionIdsCommand)
20
- .de(de_ListSecretVersionIdsCommand)
14
+ .sc(ListSecretVersionIds)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ListSecretsCommand, se_ListSecretsCommand } from "../protocols/Aws_json1_1";
4
+ import { ListSecrets } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ListSecretsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("secretsmanager", "ListSecrets", {})
17
13
  .n("SecretsManagerClient", "ListSecretsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ListSecretsCommand)
20
- .de(de_ListSecretsCommand)
14
+ .sc(ListSecrets)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_PutResourcePolicyCommand, se_PutResourcePolicyCommand } from "../protocols/Aws_json1_1";
4
+ import { PutResourcePolicy } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class PutResourcePolicyCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("secretsmanager", "PutResourcePolicy", {})
17
13
  .n("SecretsManagerClient", "PutResourcePolicyCommand")
18
- .f(void 0, void 0)
19
- .ser(se_PutResourcePolicyCommand)
20
- .de(de_PutResourcePolicyCommand)
14
+ .sc(PutResourcePolicy)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { PutSecretValueRequestFilterSensitiveLog, } from "../models/models_0";
6
- import { de_PutSecretValueCommand, se_PutSecretValueCommand } from "../protocols/Aws_json1_1";
4
+ import { PutSecretValue } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class PutSecretValueCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("secretsmanager", "PutSecretValue", {})
18
13
  .n("SecretsManagerClient", "PutSecretValueCommand")
19
- .f(PutSecretValueRequestFilterSensitiveLog, void 0)
20
- .ser(se_PutSecretValueCommand)
21
- .de(de_PutSecretValueCommand)
14
+ .sc(PutSecretValue)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RemoveRegionsFromReplicationCommand, se_RemoveRegionsFromReplicationCommand, } from "../protocols/Aws_json1_1";
4
+ import { RemoveRegionsFromReplication } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RemoveRegionsFromReplicationCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("secretsmanager", "RemoveRegionsFromReplication", {})
17
13
  .n("SecretsManagerClient", "RemoveRegionsFromReplicationCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RemoveRegionsFromReplicationCommand)
20
- .de(de_RemoveRegionsFromReplicationCommand)
14
+ .sc(RemoveRegionsFromReplication)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_ReplicateSecretToRegionsCommand, se_ReplicateSecretToRegionsCommand } from "../protocols/Aws_json1_1";
4
+ import { ReplicateSecretToRegions } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class ReplicateSecretToRegionsCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("secretsmanager", "ReplicateSecretToRegions", {})
17
13
  .n("SecretsManagerClient", "ReplicateSecretToRegionsCommand")
18
- .f(void 0, void 0)
19
- .ser(se_ReplicateSecretToRegionsCommand)
20
- .de(de_ReplicateSecretToRegionsCommand)
14
+ .sc(ReplicateSecretToRegions)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RestoreSecretCommand, se_RestoreSecretCommand } from "../protocols/Aws_json1_1";
4
+ import { RestoreSecret } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RestoreSecretCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("secretsmanager", "RestoreSecret", {})
17
13
  .n("SecretsManagerClient", "RestoreSecretCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RestoreSecretCommand)
20
- .de(de_RestoreSecretCommand)
14
+ .sc(RestoreSecret)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_RotateSecretCommand, se_RotateSecretCommand } from "../protocols/Aws_json1_1";
4
+ import { RotateSecret } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class RotateSecretCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("secretsmanager", "RotateSecret", {})
17
13
  .n("SecretsManagerClient", "RotateSecretCommand")
18
- .f(void 0, void 0)
19
- .ser(se_RotateSecretCommand)
20
- .de(de_RotateSecretCommand)
14
+ .sc(RotateSecret)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_StopReplicationToReplicaCommand, se_StopReplicationToReplicaCommand } from "../protocols/Aws_json1_1";
4
+ import { StopReplicationToReplica } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class StopReplicationToReplicaCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("secretsmanager", "StopReplicationToReplica", {})
17
13
  .n("SecretsManagerClient", "StopReplicationToReplicaCommand")
18
- .f(void 0, void 0)
19
- .ser(se_StopReplicationToReplicaCommand)
20
- .de(de_StopReplicationToReplicaCommand)
14
+ .sc(StopReplicationToReplica)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_TagResourceCommand, se_TagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { TagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class TagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("secretsmanager", "TagResource", {})
17
13
  .n("SecretsManagerClient", "TagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_TagResourceCommand)
20
- .de(de_TagResourceCommand)
14
+ .sc(TagResource)
21
15
  .build() {
22
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UntagResourceCommand, se_UntagResourceCommand } from "../protocols/Aws_json1_1";
4
+ import { UntagResource } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UntagResourceCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("secretsmanager", "UntagResource", {})
17
13
  .n("SecretsManagerClient", "UntagResourceCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UntagResourceCommand)
20
- .de(de_UntagResourceCommand)
14
+ .sc(UntagResource)
21
15
  .build() {
22
16
  }
@@ -1,23 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { UpdateSecretRequestFilterSensitiveLog } from "../models/models_0";
6
- import { de_UpdateSecretCommand, se_UpdateSecretCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateSecret } from "../schemas/schemas_0";
7
5
  export { $Command };
8
6
  export class UpdateSecretCommand extends $Command
9
7
  .classBuilder()
10
8
  .ep(commonParams)
11
9
  .m(function (Command, cs, config, o) {
12
- return [
13
- getSerdePlugin(config, this.serialize, this.deserialize),
14
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
15
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
16
11
  })
17
12
  .s("secretsmanager", "UpdateSecret", {})
18
13
  .n("SecretsManagerClient", "UpdateSecretCommand")
19
- .f(UpdateSecretRequestFilterSensitiveLog, void 0)
20
- .ser(se_UpdateSecretCommand)
21
- .de(de_UpdateSecretCommand)
14
+ .sc(UpdateSecret)
22
15
  .build() {
23
16
  }
@@ -1,22 +1,16 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
- import { getSerdePlugin } from "@smithy/middleware-serde";
3
2
  import { Command as $Command } from "@smithy/smithy-client";
4
3
  import { commonParams } from "../endpoint/EndpointParameters";
5
- import { de_UpdateSecretVersionStageCommand, se_UpdateSecretVersionStageCommand } from "../protocols/Aws_json1_1";
4
+ import { UpdateSecretVersionStage } from "../schemas/schemas_0";
6
5
  export { $Command };
7
6
  export class UpdateSecretVersionStageCommand extends $Command
8
7
  .classBuilder()
9
8
  .ep(commonParams)
10
9
  .m(function (Command, cs, config, o) {
11
- return [
12
- getSerdePlugin(config, this.serialize, this.deserialize),
13
- getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
14
- ];
10
+ return [getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
15
11
  })
16
12
  .s("secretsmanager", "UpdateSecretVersionStage", {})
17
13
  .n("SecretsManagerClient", "UpdateSecretVersionStageCommand")
18
- .f(void 0, void 0)
19
- .ser(se_UpdateSecretVersionStageCommand)
20
- .de(de_UpdateSecretVersionStageCommand)
14
+ .sc(UpdateSecretVersionStage)
21
15
  .build() {
22
16
  }