@depup/aws-sdk__client-secrets-manager 3.1010.0-depup.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 (159) hide show
  1. package/LICENSE +201 -0
  2. package/README.md +39 -0
  3. package/changes.json +42 -0
  4. package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
  5. package/dist-cjs/endpoint/endpointResolver.js +18 -0
  6. package/dist-cjs/endpoint/ruleset.js +7 -0
  7. package/dist-cjs/index.js +511 -0
  8. package/dist-cjs/models/SecretsManagerServiceException.js +12 -0
  9. package/dist-cjs/models/errors.js +184 -0
  10. package/dist-cjs/runtimeConfig.browser.js +38 -0
  11. package/dist-cjs/runtimeConfig.js +53 -0
  12. package/dist-cjs/runtimeConfig.native.js +15 -0
  13. package/dist-cjs/runtimeConfig.shared.js +43 -0
  14. package/dist-cjs/schemas/schemas_0.js +665 -0
  15. package/dist-es/SecretsManager.js +61 -0
  16. package/dist-es/SecretsManagerClient.js +50 -0
  17. package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
  18. package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
  19. package/dist-es/commands/BatchGetSecretValueCommand.js +16 -0
  20. package/dist-es/commands/CancelRotateSecretCommand.js +16 -0
  21. package/dist-es/commands/CreateSecretCommand.js +16 -0
  22. package/dist-es/commands/DeleteResourcePolicyCommand.js +16 -0
  23. package/dist-es/commands/DeleteSecretCommand.js +16 -0
  24. package/dist-es/commands/DescribeSecretCommand.js +16 -0
  25. package/dist-es/commands/GetRandomPasswordCommand.js +16 -0
  26. package/dist-es/commands/GetResourcePolicyCommand.js +16 -0
  27. package/dist-es/commands/GetSecretValueCommand.js +16 -0
  28. package/dist-es/commands/ListSecretVersionIdsCommand.js +16 -0
  29. package/dist-es/commands/ListSecretsCommand.js +16 -0
  30. package/dist-es/commands/PutResourcePolicyCommand.js +16 -0
  31. package/dist-es/commands/PutSecretValueCommand.js +16 -0
  32. package/dist-es/commands/RemoveRegionsFromReplicationCommand.js +16 -0
  33. package/dist-es/commands/ReplicateSecretToRegionsCommand.js +16 -0
  34. package/dist-es/commands/RestoreSecretCommand.js +16 -0
  35. package/dist-es/commands/RotateSecretCommand.js +16 -0
  36. package/dist-es/commands/StopReplicationToReplicaCommand.js +16 -0
  37. package/dist-es/commands/TagResourceCommand.js +16 -0
  38. package/dist-es/commands/UntagResourceCommand.js +16 -0
  39. package/dist-es/commands/UpdateSecretCommand.js +16 -0
  40. package/dist-es/commands/UpdateSecretVersionStageCommand.js +16 -0
  41. package/dist-es/commands/ValidateResourcePolicyCommand.js +16 -0
  42. package/dist-es/commands/index.js +23 -0
  43. package/dist-es/endpoint/EndpointParameters.js +13 -0
  44. package/dist-es/endpoint/endpointResolver.js +14 -0
  45. package/dist-es/endpoint/ruleset.js +4 -0
  46. package/dist-es/extensionConfiguration.js +1 -0
  47. package/dist-es/index.js +9 -0
  48. package/dist-es/models/SecretsManagerServiceException.js +8 -0
  49. package/dist-es/models/enums.js +24 -0
  50. package/dist-es/models/errors.js +169 -0
  51. package/dist-es/models/models_0.js +1 -0
  52. package/dist-es/pagination/BatchGetSecretValuePaginator.js +4 -0
  53. package/dist-es/pagination/Interfaces.js +1 -0
  54. package/dist-es/pagination/ListSecretVersionIdsPaginator.js +4 -0
  55. package/dist-es/pagination/ListSecretsPaginator.js +4 -0
  56. package/dist-es/pagination/index.js +4 -0
  57. package/dist-es/runtimeConfig.browser.js +33 -0
  58. package/dist-es/runtimeConfig.js +48 -0
  59. package/dist-es/runtimeConfig.native.js +11 -0
  60. package/dist-es/runtimeConfig.shared.js +39 -0
  61. package/dist-es/runtimeExtensions.js +9 -0
  62. package/dist-es/schemas/schemas_0.js +661 -0
  63. package/dist-types/SecretsManager.d.ts +220 -0
  64. package/dist-types/SecretsManagerClient.d.ts +235 -0
  65. package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
  66. package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
  67. package/dist-types/commands/BatchGetSecretValueCommand.d.ts +210 -0
  68. package/dist-types/commands/CancelRotateSecretCommand.d.ts +135 -0
  69. package/dist-types/commands/CreateSecretCommand.d.ts +218 -0
  70. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +126 -0
  71. package/dist-types/commands/DeleteSecretCommand.d.ts +135 -0
  72. package/dist-types/commands/DescribeSecretCommand.d.ts +137 -0
  73. package/dist-types/commands/GetRandomPasswordCommand.d.ts +135 -0
  74. package/dist-types/commands/GetResourcePolicyCommand.d.ts +138 -0
  75. package/dist-types/commands/GetSecretValueCommand.d.ts +157 -0
  76. package/dist-types/commands/ListSecretVersionIdsCommand.d.ts +151 -0
  77. package/dist-types/commands/ListSecretsCommand.d.ts +208 -0
  78. package/dist-types/commands/PutResourcePolicyCommand.d.ts +147 -0
  79. package/dist-types/commands/PutSecretValueCommand.d.ts +183 -0
  80. package/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +122 -0
  81. package/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +157 -0
  82. package/dist-types/commands/RestoreSecretCommand.d.ts +126 -0
  83. package/dist-types/commands/RotateSecretCommand.d.ts +180 -0
  84. package/dist-types/commands/StopReplicationToReplicaCommand.d.ts +111 -0
  85. package/dist-types/commands/TagResourceCommand.d.ts +145 -0
  86. package/dist-types/commands/UntagResourceCommand.d.ts +134 -0
  87. package/dist-types/commands/UpdateSecretCommand.d.ts +221 -0
  88. package/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +187 -0
  89. package/dist-types/commands/ValidateResourcePolicyCommand.d.ts +161 -0
  90. package/dist-types/commands/index.d.ts +23 -0
  91. package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
  92. package/dist-types/endpoint/endpointResolver.d.ts +8 -0
  93. package/dist-types/endpoint/ruleset.d.ts +2 -0
  94. package/dist-types/extensionConfiguration.d.ts +9 -0
  95. package/dist-types/index.d.ts +42 -0
  96. package/dist-types/models/SecretsManagerServiceException.d.ts +14 -0
  97. package/dist-types/models/enums.d.ts +56 -0
  98. package/dist-types/models/errors.d.ts +175 -0
  99. package/dist-types/models/models_0.d.ts +1957 -0
  100. package/dist-types/pagination/BatchGetSecretValuePaginator.d.ts +7 -0
  101. package/dist-types/pagination/Interfaces.d.ts +8 -0
  102. package/dist-types/pagination/ListSecretVersionIdsPaginator.d.ts +7 -0
  103. package/dist-types/pagination/ListSecretsPaginator.d.ts +7 -0
  104. package/dist-types/pagination/index.d.ts +4 -0
  105. package/dist-types/runtimeConfig.browser.d.ts +55 -0
  106. package/dist-types/runtimeConfig.d.ts +55 -0
  107. package/dist-types/runtimeConfig.native.d.ts +54 -0
  108. package/dist-types/runtimeConfig.shared.d.ts +27 -0
  109. package/dist-types/runtimeExtensions.d.ts +17 -0
  110. package/dist-types/schemas/schemas_0.d.ts +99 -0
  111. package/dist-types/ts3.4/SecretsManager.d.ts +426 -0
  112. package/dist-types/ts3.4/SecretsManagerClient.d.ts +258 -0
  113. package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
  114. package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
  115. package/dist-types/ts3.4/commands/BatchGetSecretValueCommand.d.ts +51 -0
  116. package/dist-types/ts3.4/commands/CancelRotateSecretCommand.d.ts +51 -0
  117. package/dist-types/ts3.4/commands/CreateSecretCommand.d.ts +47 -0
  118. package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
  119. package/dist-types/ts3.4/commands/DeleteSecretCommand.d.ts +47 -0
  120. package/dist-types/ts3.4/commands/DescribeSecretCommand.d.ts +50 -0
  121. package/dist-types/ts3.4/commands/GetRandomPasswordCommand.d.ts +51 -0
  122. package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
  123. package/dist-types/ts3.4/commands/GetSecretValueCommand.d.ts +50 -0
  124. package/dist-types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +51 -0
  125. package/dist-types/ts3.4/commands/ListSecretsCommand.d.ts +47 -0
  126. package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
  127. package/dist-types/ts3.4/commands/PutSecretValueCommand.d.ts +50 -0
  128. package/dist-types/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +51 -0
  129. package/dist-types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +51 -0
  130. package/dist-types/ts3.4/commands/RestoreSecretCommand.d.ts +50 -0
  131. package/dist-types/ts3.4/commands/RotateSecretCommand.d.ts +47 -0
  132. package/dist-types/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +51 -0
  133. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
  134. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
  135. package/dist-types/ts3.4/commands/UpdateSecretCommand.d.ts +47 -0
  136. package/dist-types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +51 -0
  137. package/dist-types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +51 -0
  138. package/dist-types/ts3.4/commands/index.d.ts +23 -0
  139. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
  140. package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
  141. package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
  142. package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
  143. package/dist-types/ts3.4/index.d.ts +12 -0
  144. package/dist-types/ts3.4/models/SecretsManagerServiceException.d.ts +9 -0
  145. package/dist-types/ts3.4/models/enums.d.ts +29 -0
  146. package/dist-types/ts3.4/models/errors.d.ts +97 -0
  147. package/dist-types/ts3.4/models/models_0.d.ts +333 -0
  148. package/dist-types/ts3.4/pagination/BatchGetSecretValuePaginator.d.ts +11 -0
  149. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  150. package/dist-types/ts3.4/pagination/ListSecretVersionIdsPaginator.d.ts +11 -0
  151. package/dist-types/ts3.4/pagination/ListSecretsPaginator.d.ts +11 -0
  152. package/dist-types/ts3.4/pagination/index.d.ts +4 -0
  153. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
  154. package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
  155. package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
  156. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
  157. package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
  158. package/dist-types/ts3.4/schemas/schemas_0.d.ts +98 -0
  159. package/package.json +159 -0
@@ -0,0 +1,32 @@
1
+ import {
2
+ HttpAuthScheme,
3
+ AwsCredentialIdentity,
4
+ AwsCredentialIdentityProvider,
5
+ } from "@smithy/types";
6
+ import { SecretsManagerHttpAuthSchemeProvider } from "./httpAuthSchemeProvider";
7
+ export interface HttpAuthExtensionConfiguration {
8
+ setHttpAuthScheme(httpAuthScheme: HttpAuthScheme): void;
9
+ httpAuthSchemes(): HttpAuthScheme[];
10
+ setHttpAuthSchemeProvider(
11
+ httpAuthSchemeProvider: SecretsManagerHttpAuthSchemeProvider
12
+ ): void;
13
+ httpAuthSchemeProvider(): SecretsManagerHttpAuthSchemeProvider;
14
+ setCredentials(
15
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider
16
+ ): void;
17
+ credentials():
18
+ | AwsCredentialIdentity
19
+ | AwsCredentialIdentityProvider
20
+ | undefined;
21
+ }
22
+ export type HttpAuthRuntimeConfig = Partial<{
23
+ httpAuthSchemes: HttpAuthScheme[];
24
+ httpAuthSchemeProvider: SecretsManagerHttpAuthSchemeProvider;
25
+ credentials: AwsCredentialIdentity | AwsCredentialIdentityProvider;
26
+ }>;
27
+ export declare const getHttpAuthExtensionConfiguration: (
28
+ runtimeConfig: HttpAuthRuntimeConfig
29
+ ) => HttpAuthExtensionConfiguration;
30
+ export declare const resolveHttpAuthRuntimeConfig: (
31
+ config: HttpAuthExtensionConfiguration
32
+ ) => HttpAuthRuntimeConfig;
@@ -0,0 +1,47 @@
1
+ import {
2
+ AwsSdkSigV4AuthInputConfig,
3
+ AwsSdkSigV4AuthResolvedConfig,
4
+ AwsSdkSigV4PreviouslyResolved,
5
+ } from "@aws-sdk/core";
6
+ import {
7
+ HandlerExecutionContext,
8
+ HttpAuthScheme,
9
+ HttpAuthSchemeParameters,
10
+ HttpAuthSchemeParametersProvider,
11
+ HttpAuthSchemeProvider,
12
+ Provider,
13
+ } from "@smithy/types";
14
+ import { SecretsManagerClientResolvedConfig } from "../SecretsManagerClient";
15
+ export interface SecretsManagerHttpAuthSchemeParameters
16
+ extends HttpAuthSchemeParameters {
17
+ region?: string;
18
+ }
19
+ export interface SecretsManagerHttpAuthSchemeParametersProvider
20
+ extends HttpAuthSchemeParametersProvider<
21
+ SecretsManagerClientResolvedConfig,
22
+ HandlerExecutionContext,
23
+ SecretsManagerHttpAuthSchemeParameters,
24
+ object
25
+ > {}
26
+ export declare const defaultSecretsManagerHttpAuthSchemeParametersProvider: (
27
+ config: SecretsManagerClientResolvedConfig,
28
+ context: HandlerExecutionContext,
29
+ input: object
30
+ ) => Promise<SecretsManagerHttpAuthSchemeParameters>;
31
+ export interface SecretsManagerHttpAuthSchemeProvider
32
+ extends HttpAuthSchemeProvider<SecretsManagerHttpAuthSchemeParameters> {}
33
+ export declare const defaultSecretsManagerHttpAuthSchemeProvider: SecretsManagerHttpAuthSchemeProvider;
34
+ export interface HttpAuthSchemeInputConfig extends AwsSdkSigV4AuthInputConfig {
35
+ authSchemePreference?: string[] | Provider<string[]>;
36
+ httpAuthSchemes?: HttpAuthScheme[];
37
+ httpAuthSchemeProvider?: SecretsManagerHttpAuthSchemeProvider;
38
+ }
39
+ export interface HttpAuthSchemeResolvedConfig
40
+ extends AwsSdkSigV4AuthResolvedConfig {
41
+ readonly authSchemePreference: Provider<string[]>;
42
+ readonly httpAuthSchemes: HttpAuthScheme[];
43
+ readonly httpAuthSchemeProvider: SecretsManagerHttpAuthSchemeProvider;
44
+ }
45
+ export declare const resolveHttpAuthSchemeConfig: <T>(
46
+ config: T & HttpAuthSchemeInputConfig & AwsSdkSigV4PreviouslyResolved
47
+ ) => T & HttpAuthSchemeResolvedConfig;
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ BatchGetSecretValueRequest,
5
+ BatchGetSecretValueResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ SecretsManagerClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../SecretsManagerClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface BatchGetSecretValueCommandInput
15
+ extends BatchGetSecretValueRequest {}
16
+ export interface BatchGetSecretValueCommandOutput
17
+ extends BatchGetSecretValueResponse,
18
+ __MetadataBearer {}
19
+ declare const BatchGetSecretValueCommand_base: {
20
+ new (
21
+ input: BatchGetSecretValueCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ BatchGetSecretValueCommandInput,
24
+ BatchGetSecretValueCommandOutput,
25
+ SecretsManagerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [BatchGetSecretValueCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ BatchGetSecretValueCommandInput,
33
+ BatchGetSecretValueCommandOutput,
34
+ SecretsManagerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class BatchGetSecretValueCommand extends BatchGetSecretValueCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: BatchGetSecretValueRequest;
44
+ output: BatchGetSecretValueResponse;
45
+ };
46
+ sdk: {
47
+ input: BatchGetSecretValueCommandInput;
48
+ output: BatchGetSecretValueCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ CancelRotateSecretRequest,
5
+ CancelRotateSecretResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ SecretsManagerClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../SecretsManagerClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface CancelRotateSecretCommandInput
15
+ extends CancelRotateSecretRequest {}
16
+ export interface CancelRotateSecretCommandOutput
17
+ extends CancelRotateSecretResponse,
18
+ __MetadataBearer {}
19
+ declare const CancelRotateSecretCommand_base: {
20
+ new (
21
+ input: CancelRotateSecretCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ CancelRotateSecretCommandInput,
24
+ CancelRotateSecretCommandOutput,
25
+ SecretsManagerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: CancelRotateSecretCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ CancelRotateSecretCommandInput,
33
+ CancelRotateSecretCommandOutput,
34
+ SecretsManagerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class CancelRotateSecretCommand extends CancelRotateSecretCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: CancelRotateSecretRequest;
44
+ output: CancelRotateSecretResponse;
45
+ };
46
+ sdk: {
47
+ input: CancelRotateSecretCommandInput;
48
+ output: CancelRotateSecretCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { CreateSecretRequest, CreateSecretResponse } from "../models/models_0";
4
+ import {
5
+ SecretsManagerClientResolvedConfig,
6
+ ServiceInputTypes,
7
+ ServiceOutputTypes,
8
+ } from "../SecretsManagerClient";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface CreateSecretCommandInput extends CreateSecretRequest {}
12
+ export interface CreateSecretCommandOutput
13
+ extends CreateSecretResponse,
14
+ __MetadataBearer {}
15
+ declare const CreateSecretCommand_base: {
16
+ new (
17
+ input: CreateSecretCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ CreateSecretCommandInput,
20
+ CreateSecretCommandOutput,
21
+ SecretsManagerClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: CreateSecretCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ CreateSecretCommandInput,
29
+ CreateSecretCommandOutput,
30
+ SecretsManagerClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class CreateSecretCommand extends CreateSecretCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: CreateSecretRequest;
40
+ output: CreateSecretResponse;
41
+ };
42
+ sdk: {
43
+ input: CreateSecretCommandInput;
44
+ output: CreateSecretCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DeleteResourcePolicyRequest,
5
+ DeleteResourcePolicyResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ SecretsManagerClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../SecretsManagerClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DeleteResourcePolicyCommandInput
15
+ extends DeleteResourcePolicyRequest {}
16
+ export interface DeleteResourcePolicyCommandOutput
17
+ extends DeleteResourcePolicyResponse,
18
+ __MetadataBearer {}
19
+ declare const DeleteResourcePolicyCommand_base: {
20
+ new (
21
+ input: DeleteResourcePolicyCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ DeleteResourcePolicyCommandInput,
24
+ DeleteResourcePolicyCommandOutput,
25
+ SecretsManagerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: DeleteResourcePolicyCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ DeleteResourcePolicyCommandInput,
33
+ DeleteResourcePolicyCommandOutput,
34
+ SecretsManagerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class DeleteResourcePolicyCommand extends DeleteResourcePolicyCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: DeleteResourcePolicyRequest;
44
+ output: DeleteResourcePolicyResponse;
45
+ };
46
+ sdk: {
47
+ input: DeleteResourcePolicyCommandInput;
48
+ output: DeleteResourcePolicyCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { DeleteSecretRequest, DeleteSecretResponse } from "../models/models_0";
4
+ import {
5
+ SecretsManagerClientResolvedConfig,
6
+ ServiceInputTypes,
7
+ ServiceOutputTypes,
8
+ } from "../SecretsManagerClient";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface DeleteSecretCommandInput extends DeleteSecretRequest {}
12
+ export interface DeleteSecretCommandOutput
13
+ extends DeleteSecretResponse,
14
+ __MetadataBearer {}
15
+ declare const DeleteSecretCommand_base: {
16
+ new (
17
+ input: DeleteSecretCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ DeleteSecretCommandInput,
20
+ DeleteSecretCommandOutput,
21
+ SecretsManagerClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ input: DeleteSecretCommandInput
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ DeleteSecretCommandInput,
29
+ DeleteSecretCommandOutput,
30
+ SecretsManagerClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class DeleteSecretCommand extends DeleteSecretCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: DeleteSecretRequest;
40
+ output: DeleteSecretResponse;
41
+ };
42
+ sdk: {
43
+ input: DeleteSecretCommandInput;
44
+ output: DeleteSecretCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ DescribeSecretRequest,
5
+ DescribeSecretResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ SecretsManagerClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../SecretsManagerClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface DescribeSecretCommandInput extends DescribeSecretRequest {}
15
+ export interface DescribeSecretCommandOutput
16
+ extends DescribeSecretResponse,
17
+ __MetadataBearer {}
18
+ declare const DescribeSecretCommand_base: {
19
+ new (
20
+ input: DescribeSecretCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ DescribeSecretCommandInput,
23
+ DescribeSecretCommandOutput,
24
+ SecretsManagerClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: DescribeSecretCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ DescribeSecretCommandInput,
32
+ DescribeSecretCommandOutput,
33
+ SecretsManagerClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class DescribeSecretCommand extends DescribeSecretCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: DescribeSecretRequest;
43
+ output: DescribeSecretResponse;
44
+ };
45
+ sdk: {
46
+ input: DescribeSecretCommandInput;
47
+ output: DescribeSecretCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetRandomPasswordRequest,
5
+ GetRandomPasswordResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ SecretsManagerClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../SecretsManagerClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetRandomPasswordCommandInput
15
+ extends GetRandomPasswordRequest {}
16
+ export interface GetRandomPasswordCommandOutput
17
+ extends GetRandomPasswordResponse,
18
+ __MetadataBearer {}
19
+ declare const GetRandomPasswordCommand_base: {
20
+ new (
21
+ input: GetRandomPasswordCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetRandomPasswordCommandInput,
24
+ GetRandomPasswordCommandOutput,
25
+ SecretsManagerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ ...[input]: [] | [GetRandomPasswordCommandInput]
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetRandomPasswordCommandInput,
33
+ GetRandomPasswordCommandOutput,
34
+ SecretsManagerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetRandomPasswordCommand extends GetRandomPasswordCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetRandomPasswordRequest;
44
+ output: GetRandomPasswordResponse;
45
+ };
46
+ sdk: {
47
+ input: GetRandomPasswordCommandInput;
48
+ output: GetRandomPasswordCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetResourcePolicyRequest,
5
+ GetResourcePolicyResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ SecretsManagerClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../SecretsManagerClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetResourcePolicyCommandInput
15
+ extends GetResourcePolicyRequest {}
16
+ export interface GetResourcePolicyCommandOutput
17
+ extends GetResourcePolicyResponse,
18
+ __MetadataBearer {}
19
+ declare const GetResourcePolicyCommand_base: {
20
+ new (
21
+ input: GetResourcePolicyCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ GetResourcePolicyCommandInput,
24
+ GetResourcePolicyCommandOutput,
25
+ SecretsManagerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: GetResourcePolicyCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ GetResourcePolicyCommandInput,
33
+ GetResourcePolicyCommandOutput,
34
+ SecretsManagerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class GetResourcePolicyCommand extends GetResourcePolicyCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: GetResourcePolicyRequest;
44
+ output: GetResourcePolicyResponse;
45
+ };
46
+ sdk: {
47
+ input: GetResourcePolicyCommandInput;
48
+ output: GetResourcePolicyCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,50 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ GetSecretValueRequest,
5
+ GetSecretValueResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ SecretsManagerClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../SecretsManagerClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface GetSecretValueCommandInput extends GetSecretValueRequest {}
15
+ export interface GetSecretValueCommandOutput
16
+ extends GetSecretValueResponse,
17
+ __MetadataBearer {}
18
+ declare const GetSecretValueCommand_base: {
19
+ new (
20
+ input: GetSecretValueCommandInput
21
+ ): import("@smithy/smithy-client").CommandImpl<
22
+ GetSecretValueCommandInput,
23
+ GetSecretValueCommandOutput,
24
+ SecretsManagerClientResolvedConfig,
25
+ ServiceInputTypes,
26
+ ServiceOutputTypes
27
+ >;
28
+ new (
29
+ input: GetSecretValueCommandInput
30
+ ): import("@smithy/smithy-client").CommandImpl<
31
+ GetSecretValueCommandInput,
32
+ GetSecretValueCommandOutput,
33
+ SecretsManagerClientResolvedConfig,
34
+ ServiceInputTypes,
35
+ ServiceOutputTypes
36
+ >;
37
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
38
+ };
39
+ export declare class GetSecretValueCommand extends GetSecretValueCommand_base {
40
+ protected static __types: {
41
+ api: {
42
+ input: GetSecretValueRequest;
43
+ output: GetSecretValueResponse;
44
+ };
45
+ sdk: {
46
+ input: GetSecretValueCommandInput;
47
+ output: GetSecretValueCommandOutput;
48
+ };
49
+ };
50
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ ListSecretVersionIdsRequest,
5
+ ListSecretVersionIdsResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ SecretsManagerClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../SecretsManagerClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface ListSecretVersionIdsCommandInput
15
+ extends ListSecretVersionIdsRequest {}
16
+ export interface ListSecretVersionIdsCommandOutput
17
+ extends ListSecretVersionIdsResponse,
18
+ __MetadataBearer {}
19
+ declare const ListSecretVersionIdsCommand_base: {
20
+ new (
21
+ input: ListSecretVersionIdsCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ ListSecretVersionIdsCommandInput,
24
+ ListSecretVersionIdsCommandOutput,
25
+ SecretsManagerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: ListSecretVersionIdsCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ ListSecretVersionIdsCommandInput,
33
+ ListSecretVersionIdsCommandOutput,
34
+ SecretsManagerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class ListSecretVersionIdsCommand extends ListSecretVersionIdsCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: ListSecretVersionIdsRequest;
44
+ output: ListSecretVersionIdsResponse;
45
+ };
46
+ sdk: {
47
+ input: ListSecretVersionIdsCommandInput;
48
+ output: ListSecretVersionIdsCommandOutput;
49
+ };
50
+ };
51
+ }
@@ -0,0 +1,47 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { ListSecretsRequest, ListSecretsResponse } from "../models/models_0";
4
+ import {
5
+ SecretsManagerClientResolvedConfig,
6
+ ServiceInputTypes,
7
+ ServiceOutputTypes,
8
+ } from "../SecretsManagerClient";
9
+ export { __MetadataBearer };
10
+ export { $Command };
11
+ export interface ListSecretsCommandInput extends ListSecretsRequest {}
12
+ export interface ListSecretsCommandOutput
13
+ extends ListSecretsResponse,
14
+ __MetadataBearer {}
15
+ declare const ListSecretsCommand_base: {
16
+ new (
17
+ input: ListSecretsCommandInput
18
+ ): import("@smithy/smithy-client").CommandImpl<
19
+ ListSecretsCommandInput,
20
+ ListSecretsCommandOutput,
21
+ SecretsManagerClientResolvedConfig,
22
+ ServiceInputTypes,
23
+ ServiceOutputTypes
24
+ >;
25
+ new (
26
+ ...[input]: [] | [ListSecretsCommandInput]
27
+ ): import("@smithy/smithy-client").CommandImpl<
28
+ ListSecretsCommandInput,
29
+ ListSecretsCommandOutput,
30
+ SecretsManagerClientResolvedConfig,
31
+ ServiceInputTypes,
32
+ ServiceOutputTypes
33
+ >;
34
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
35
+ };
36
+ export declare class ListSecretsCommand extends ListSecretsCommand_base {
37
+ protected static __types: {
38
+ api: {
39
+ input: ListSecretsRequest;
40
+ output: ListSecretsResponse;
41
+ };
42
+ sdk: {
43
+ input: ListSecretsCommandInput;
44
+ output: ListSecretsCommandOutput;
45
+ };
46
+ };
47
+ }
@@ -0,0 +1,51 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import {
4
+ PutResourcePolicyRequest,
5
+ PutResourcePolicyResponse,
6
+ } from "../models/models_0";
7
+ import {
8
+ SecretsManagerClientResolvedConfig,
9
+ ServiceInputTypes,
10
+ ServiceOutputTypes,
11
+ } from "../SecretsManagerClient";
12
+ export { __MetadataBearer };
13
+ export { $Command };
14
+ export interface PutResourcePolicyCommandInput
15
+ extends PutResourcePolicyRequest {}
16
+ export interface PutResourcePolicyCommandOutput
17
+ extends PutResourcePolicyResponse,
18
+ __MetadataBearer {}
19
+ declare const PutResourcePolicyCommand_base: {
20
+ new (
21
+ input: PutResourcePolicyCommandInput
22
+ ): import("@smithy/smithy-client").CommandImpl<
23
+ PutResourcePolicyCommandInput,
24
+ PutResourcePolicyCommandOutput,
25
+ SecretsManagerClientResolvedConfig,
26
+ ServiceInputTypes,
27
+ ServiceOutputTypes
28
+ >;
29
+ new (
30
+ input: PutResourcePolicyCommandInput
31
+ ): import("@smithy/smithy-client").CommandImpl<
32
+ PutResourcePolicyCommandInput,
33
+ PutResourcePolicyCommandOutput,
34
+ SecretsManagerClientResolvedConfig,
35
+ ServiceInputTypes,
36
+ ServiceOutputTypes
37
+ >;
38
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
39
+ };
40
+ export declare class PutResourcePolicyCommand extends PutResourcePolicyCommand_base {
41
+ protected static __types: {
42
+ api: {
43
+ input: PutResourcePolicyRequest;
44
+ output: PutResourcePolicyResponse;
45
+ };
46
+ sdk: {
47
+ input: PutResourcePolicyCommandInput;
48
+ output: PutResourcePolicyCommandOutput;
49
+ };
50
+ };
51
+ }