@aws-sdk/client-secrets-manager 3.1076.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 (89) hide show
  1. package/dist-cjs/index.js +34 -235
  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-es/runtimeConfig.browser.js +0 -2
  28. package/dist-es/runtimeConfig.js +1 -2
  29. package/dist-es/runtimeConfig.native.js +0 -2
  30. package/dist-es/runtimeConfig.shared.js +2 -0
  31. package/dist-types/commandBuilder.d.ts +18 -0
  32. package/dist-types/commands/BatchGetSecretValueCommand.d.ts +3 -8
  33. package/dist-types/commands/CancelRotateSecretCommand.d.ts +3 -8
  34. package/dist-types/commands/CreateSecretCommand.d.ts +3 -8
  35. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +3 -8
  36. package/dist-types/commands/DeleteSecretCommand.d.ts +3 -8
  37. package/dist-types/commands/DescribeSecretCommand.d.ts +3 -8
  38. package/dist-types/commands/GetRandomPasswordCommand.d.ts +3 -8
  39. package/dist-types/commands/GetResourcePolicyCommand.d.ts +3 -8
  40. package/dist-types/commands/GetSecretValueCommand.d.ts +3 -8
  41. package/dist-types/commands/ListSecretVersionIdsCommand.d.ts +3 -8
  42. package/dist-types/commands/ListSecretsCommand.d.ts +3 -8
  43. package/dist-types/commands/PutResourcePolicyCommand.d.ts +3 -8
  44. package/dist-types/commands/PutSecretValueCommand.d.ts +3 -8
  45. package/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +3 -8
  46. package/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +3 -8
  47. package/dist-types/commands/RestoreSecretCommand.d.ts +3 -8
  48. package/dist-types/commands/RotateSecretCommand.d.ts +3 -8
  49. package/dist-types/commands/StopReplicationToReplicaCommand.d.ts +3 -8
  50. package/dist-types/commands/TagResourceCommand.d.ts +3 -8
  51. package/dist-types/commands/UntagResourceCommand.d.ts +3 -8
  52. package/dist-types/commands/UpdateSecretCommand.d.ts +3 -8
  53. package/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +3 -8
  54. package/dist-types/commands/ValidateResourcePolicyCommand.d.ts +3 -8
  55. package/dist-types/index.d.ts +1 -0
  56. package/dist-types/runtimeConfig.browser.d.ts +1 -1
  57. package/dist-types/runtimeConfig.d.ts +1 -1
  58. package/dist-types/runtimeConfig.native.d.ts +1 -1
  59. package/dist-types/runtimeConfig.shared.d.ts +1 -0
  60. package/dist-types/ts3.4/commandBuilder.d.ts +46 -0
  61. package/dist-types/ts3.4/commands/BatchGetSecretValueCommand.d.ts +7 -16
  62. package/dist-types/ts3.4/commands/CancelRotateSecretCommand.d.ts +7 -16
  63. package/dist-types/ts3.4/commands/CreateSecretCommand.d.ts +7 -16
  64. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +7 -16
  65. package/dist-types/ts3.4/commands/DeleteSecretCommand.d.ts +7 -16
  66. package/dist-types/ts3.4/commands/DescribeSecretCommand.d.ts +7 -16
  67. package/dist-types/ts3.4/commands/GetRandomPasswordCommand.d.ts +7 -16
  68. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +7 -16
  69. package/dist-types/ts3.4/commands/GetSecretValueCommand.d.ts +7 -16
  70. package/dist-types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +7 -16
  71. package/dist-types/ts3.4/commands/ListSecretsCommand.d.ts +7 -16
  72. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +7 -16
  73. package/dist-types/ts3.4/commands/PutSecretValueCommand.d.ts +7 -16
  74. package/dist-types/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +7 -16
  75. package/dist-types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +7 -16
  76. package/dist-types/ts3.4/commands/RestoreSecretCommand.d.ts +7 -16
  77. package/dist-types/ts3.4/commands/RotateSecretCommand.d.ts +7 -16
  78. package/dist-types/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +7 -16
  79. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +7 -16
  80. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +7 -16
  81. package/dist-types/ts3.4/commands/UpdateSecretCommand.d.ts +7 -16
  82. package/dist-types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +7 -16
  83. package/dist-types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +7 -16
  84. package/dist-types/ts3.4/index.d.ts +1 -0
  85. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +1 -1
  86. package/dist-types/ts3.4/runtimeConfig.d.ts +1 -1
  87. package/dist-types/ts3.4/runtimeConfig.native.d.ts +1 -1
  88. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +1 -0
  89. package/package.json +9 -11
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import { TagResourceRequest } from "../models/models_0";
4
- import {
5
- SecretsManagerClientResolvedConfig,
6
- ServiceInputTypes,
7
- ServiceOutputTypes,
8
- } from "../SecretsManagerClient";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface TagResourceCommandInput extends TagResourceRequest {}
12
5
  export interface TagResourceCommandOutput extends __MetadataBearer {}
13
6
  declare const TagResourceCommand_base: {
@@ -16,22 +9,20 @@ declare const TagResourceCommand_base: {
16
9
  ): import("@smithy/core/client").CommandImpl<
17
10
  TagResourceCommandInput,
18
11
  TagResourceCommandOutput,
19
- SecretsManagerClientResolvedConfig,
20
- ServiceInputTypes,
21
- ServiceOutputTypes
12
+ import("..").SecretsManagerClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
22
15
  >;
23
16
  new (
24
17
  input: TagResourceCommandInput
25
18
  ): import("@smithy/core/client").CommandImpl<
26
19
  TagResourceCommandInput,
27
20
  TagResourceCommandOutput,
28
- SecretsManagerClientResolvedConfig,
29
- ServiceInputTypes,
30
- ServiceOutputTypes
21
+ import("..").SecretsManagerClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
31
24
  >;
32
- getEndpointParameterInstructions(): {
33
- [x: string]: unknown;
34
- };
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
35
26
  };
36
27
  export declare class TagResourceCommand extends TagResourceCommand_base {
37
28
  protected static __types: {
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import { UntagResourceRequest } from "../models/models_0";
4
- import {
5
- SecretsManagerClientResolvedConfig,
6
- ServiceInputTypes,
7
- ServiceOutputTypes,
8
- } from "../SecretsManagerClient";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface UntagResourceCommandInput extends UntagResourceRequest {}
12
5
  export interface UntagResourceCommandOutput extends __MetadataBearer {}
13
6
  declare const UntagResourceCommand_base: {
@@ -16,22 +9,20 @@ declare const UntagResourceCommand_base: {
16
9
  ): import("@smithy/core/client").CommandImpl<
17
10
  UntagResourceCommandInput,
18
11
  UntagResourceCommandOutput,
19
- SecretsManagerClientResolvedConfig,
20
- ServiceInputTypes,
21
- ServiceOutputTypes
12
+ import("..").SecretsManagerClientResolvedConfig,
13
+ import("..").ServiceInputTypes,
14
+ import("..").ServiceOutputTypes
22
15
  >;
23
16
  new (
24
17
  input: UntagResourceCommandInput
25
18
  ): import("@smithy/core/client").CommandImpl<
26
19
  UntagResourceCommandInput,
27
20
  UntagResourceCommandOutput,
28
- SecretsManagerClientResolvedConfig,
29
- ServiceInputTypes,
30
- ServiceOutputTypes
21
+ import("..").SecretsManagerClientResolvedConfig,
22
+ import("..").ServiceInputTypes,
23
+ import("..").ServiceOutputTypes
31
24
  >;
32
- getEndpointParameterInstructions(): {
33
- [x: string]: unknown;
34
- };
25
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
35
26
  };
36
27
  export declare class UntagResourceCommand extends UntagResourceCommand_base {
37
28
  protected static __types: {
@@ -1,13 +1,6 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import { UpdateSecretRequest, UpdateSecretResponse } from "../models/models_0";
4
- import {
5
- SecretsManagerClientResolvedConfig,
6
- ServiceInputTypes,
7
- ServiceOutputTypes,
8
- } from "../SecretsManagerClient";
9
3
  export { __MetadataBearer };
10
- export { $Command };
11
4
  export interface UpdateSecretCommandInput extends UpdateSecretRequest {}
12
5
  export interface UpdateSecretCommandOutput
13
6
  extends UpdateSecretResponse,
@@ -18,22 +11,20 @@ declare const UpdateSecretCommand_base: {
18
11
  ): import("@smithy/core/client").CommandImpl<
19
12
  UpdateSecretCommandInput,
20
13
  UpdateSecretCommandOutput,
21
- SecretsManagerClientResolvedConfig,
22
- ServiceInputTypes,
23
- ServiceOutputTypes
14
+ import("..").SecretsManagerClientResolvedConfig,
15
+ import("..").ServiceInputTypes,
16
+ import("..").ServiceOutputTypes
24
17
  >;
25
18
  new (
26
19
  input: UpdateSecretCommandInput
27
20
  ): import("@smithy/core/client").CommandImpl<
28
21
  UpdateSecretCommandInput,
29
22
  UpdateSecretCommandOutput,
30
- SecretsManagerClientResolvedConfig,
31
- ServiceInputTypes,
32
- ServiceOutputTypes
23
+ import("..").SecretsManagerClientResolvedConfig,
24
+ import("..").ServiceInputTypes,
25
+ import("..").ServiceOutputTypes
33
26
  >;
34
- getEndpointParameterInstructions(): {
35
- [x: string]: unknown;
36
- };
27
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
37
28
  };
38
29
  export declare class UpdateSecretCommand extends UpdateSecretCommand_base {
39
30
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  UpdateSecretVersionStageRequest,
5
4
  UpdateSecretVersionStageResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- SecretsManagerClientResolvedConfig,
9
- ServiceInputTypes,
10
- ServiceOutputTypes,
11
- } from "../SecretsManagerClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface UpdateSecretVersionStageCommandInput
15
8
  extends UpdateSecretVersionStageRequest {}
16
9
  export interface UpdateSecretVersionStageCommandOutput
@@ -22,22 +15,20 @@ declare const UpdateSecretVersionStageCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  UpdateSecretVersionStageCommandInput,
24
17
  UpdateSecretVersionStageCommandOutput,
25
- SecretsManagerClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").SecretsManagerClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: UpdateSecretVersionStageCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  UpdateSecretVersionStageCommandInput,
33
26
  UpdateSecretVersionStageCommandOutput,
34
- SecretsManagerClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").SecretsManagerClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class UpdateSecretVersionStageCommand extends UpdateSecretVersionStageCommand_base {
43
34
  protected static __types: {
@@ -1,16 +1,9 @@
1
- import { Command as $Command } from "@smithy/core/client";
2
1
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
2
  import {
4
3
  ValidateResourcePolicyRequest,
5
4
  ValidateResourcePolicyResponse,
6
5
  } from "../models/models_0";
7
- import {
8
- SecretsManagerClientResolvedConfig,
9
- ServiceInputTypes,
10
- ServiceOutputTypes,
11
- } from "../SecretsManagerClient";
12
6
  export { __MetadataBearer };
13
- export { $Command };
14
7
  export interface ValidateResourcePolicyCommandInput
15
8
  extends ValidateResourcePolicyRequest {}
16
9
  export interface ValidateResourcePolicyCommandOutput
@@ -22,22 +15,20 @@ declare const ValidateResourcePolicyCommand_base: {
22
15
  ): import("@smithy/core/client").CommandImpl<
23
16
  ValidateResourcePolicyCommandInput,
24
17
  ValidateResourcePolicyCommandOutput,
25
- SecretsManagerClientResolvedConfig,
26
- ServiceInputTypes,
27
- ServiceOutputTypes
18
+ import("..").SecretsManagerClientResolvedConfig,
19
+ import("..").ServiceInputTypes,
20
+ import("..").ServiceOutputTypes
28
21
  >;
29
22
  new (
30
23
  input: ValidateResourcePolicyCommandInput
31
24
  ): import("@smithy/core/client").CommandImpl<
32
25
  ValidateResourcePolicyCommandInput,
33
26
  ValidateResourcePolicyCommandOutput,
34
- SecretsManagerClientResolvedConfig,
35
- ServiceInputTypes,
36
- ServiceOutputTypes
27
+ import("..").SecretsManagerClientResolvedConfig,
28
+ import("..").ServiceInputTypes,
29
+ import("..").ServiceOutputTypes
37
30
  >;
38
- getEndpointParameterInstructions(): {
39
- [x: string]: unknown;
40
- };
31
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
41
32
  };
42
33
  export declare class ValidateResourcePolicyCommand extends ValidateResourcePolicyCommand_base {
43
34
  protected static __types: {
@@ -4,6 +4,7 @@ export { ClientInputEndpointParameters } from "./endpoint/EndpointParameters";
4
4
  export { RuntimeExtension } from "./runtimeExtensions";
5
5
  export { SecretsManagerExtensionConfiguration } from "./extensionConfiguration";
6
6
  export * from "./commands";
7
+ export { Command as $Command } from "@smithy/core/client";
7
8
  export * from "./schemas/schemas_0";
8
9
  export * from "./pagination";
9
10
  export * from "./models/enums";
@@ -20,7 +20,6 @@ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
20
20
  | import("@smithy/core/protocols").HttpHandler<any>
21
21
  | RequestHandler;
22
22
  retryMode: string | import("@smithy/types").Provider<string>;
23
- sha256: import("@smithy/types").HashConstructor;
24
23
  streamCollector: (
25
24
  stream:
26
25
  | import("stream").Readable
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
42
41
  [setting: string]: unknown;
43
42
  };
44
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
45
45
  urlParser: import("@smithy/types").UrlParser;
46
46
  base64Decoder: import("@smithy/types").Decoder;
47
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -21,7 +21,6 @@ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
21
21
  | RequestHandler
22
22
  | import("@smithy/core/protocols").HttpHandler<any>;
23
23
  retryMode: string | import("@smithy/types").Provider<string>;
24
- sha256: import("@smithy/types").HashConstructor;
25
24
  streamCollector: (
26
25
  stream:
27
26
  | import("stream").Readable
@@ -42,6 +41,7 @@ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
42
41
  [setting: string]: unknown;
43
42
  };
44
43
  apiVersion: string;
44
+ sha256: import("@smithy/types").HashConstructor;
45
45
  urlParser: import("@smithy/types").UrlParser;
46
46
  base64Decoder: import("@smithy/types").Decoder;
47
47
  base64Encoder: (_input: Uint8Array | string) => string;
@@ -1,7 +1,6 @@
1
1
  import { SecretsManagerClientConfig } from "./SecretsManagerClient";
2
2
  export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
3
3
  runtime: string;
4
- sha256: import("@smithy/types").HashConstructor;
5
4
  requestHandler:
6
5
  | import("@smithy/types").NodeHttpHandlerOptions
7
6
  | import("@smithy/types").FetchHttpHandlerOptions
@@ -18,6 +17,7 @@ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
18
17
  [setting: string]: unknown;
19
18
  };
20
19
  apiVersion: string;
20
+ sha256: import("@smithy/types").HashConstructor;
21
21
  urlParser: import("@smithy/types").UrlParser;
22
22
  bodyLengthChecker: import("@smithy/types").BodyLengthCalculator;
23
23
  streamCollector: (
@@ -24,6 +24,7 @@ export declare const getRuntimeConfig: (config: SecretsManagerClientConfig) => {
24
24
  defaultNamespace?: string;
25
25
  };
26
26
  serviceId: string;
27
+ sha256: import("@smithy/types").HashConstructor;
27
28
  urlParser: import("@smithy/types").UrlParser;
28
29
  utf8Decoder: import("@smithy/types").Decoder;
29
30
  utf8Encoder: (input: Uint8Array | string) => string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-secrets-manager",
3
3
  "description": "AWS SDK for JavaScript Secrets Manager Client for Node.js, Browser and React Native",
4
- "version": "3.1076.0",
4
+ "version": "3.1078.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
7
7
  "build:cjs": "node ../../scripts/compilation/inline",
@@ -23,19 +23,17 @@
23
23
  "module": "./dist-es/index.js",
24
24
  "sideEffects": false,
25
25
  "dependencies": {
26
- "@aws-crypto/sha256-browser": "5.2.0",
27
- "@aws-crypto/sha256-js": "5.2.0",
28
- "@aws-sdk/core": "^3.974.24",
29
- "@aws-sdk/credential-provider-node": "^3.972.59",
30
- "@aws-sdk/types": "^3.973.14",
31
- "@smithy/core": "^3.27.0",
32
- "@smithy/fetch-http-handler": "^5.6.0",
33
- "@smithy/node-http-handler": "^4.9.0",
34
- "@smithy/types": "^4.15.0",
26
+ "@aws-sdk/core": "^3.974.26",
27
+ "@aws-sdk/credential-provider-node": "^3.972.61",
28
+ "@aws-sdk/types": "^3.973.15",
29
+ "@smithy/core": "^3.29.0",
30
+ "@smithy/fetch-http-handler": "^5.6.2",
31
+ "@smithy/node-http-handler": "^4.9.2",
32
+ "@smithy/types": "^4.15.1",
35
33
  "tslib": "^2.6.2"
36
34
  },
37
35
  "devDependencies": {
38
- "@smithy/snapshot-testing": "^2.2.3",
36
+ "@smithy/snapshot-testing": "^2.2.5",
39
37
  "@tsconfig/node20": "20.1.8",
40
38
  "@types/node": "^20.14.8",
41
39
  "concurrently": "7.0.0",