@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.
- package/LICENSE +201 -0
- package/README.md +39 -0
- package/changes.json +42 -0
- package/dist-cjs/auth/httpAuthSchemeProvider.js +46 -0
- package/dist-cjs/endpoint/endpointResolver.js +18 -0
- package/dist-cjs/endpoint/ruleset.js +7 -0
- package/dist-cjs/index.js +511 -0
- package/dist-cjs/models/SecretsManagerServiceException.js +12 -0
- package/dist-cjs/models/errors.js +184 -0
- package/dist-cjs/runtimeConfig.browser.js +38 -0
- package/dist-cjs/runtimeConfig.js +53 -0
- package/dist-cjs/runtimeConfig.native.js +15 -0
- package/dist-cjs/runtimeConfig.shared.js +43 -0
- package/dist-cjs/schemas/schemas_0.js +665 -0
- package/dist-es/SecretsManager.js +61 -0
- package/dist-es/SecretsManagerClient.js +50 -0
- package/dist-es/auth/httpAuthExtensionConfiguration.js +38 -0
- package/dist-es/auth/httpAuthSchemeProvider.js +40 -0
- package/dist-es/commands/BatchGetSecretValueCommand.js +16 -0
- package/dist-es/commands/CancelRotateSecretCommand.js +16 -0
- package/dist-es/commands/CreateSecretCommand.js +16 -0
- package/dist-es/commands/DeleteResourcePolicyCommand.js +16 -0
- package/dist-es/commands/DeleteSecretCommand.js +16 -0
- package/dist-es/commands/DescribeSecretCommand.js +16 -0
- package/dist-es/commands/GetRandomPasswordCommand.js +16 -0
- package/dist-es/commands/GetResourcePolicyCommand.js +16 -0
- package/dist-es/commands/GetSecretValueCommand.js +16 -0
- package/dist-es/commands/ListSecretVersionIdsCommand.js +16 -0
- package/dist-es/commands/ListSecretsCommand.js +16 -0
- package/dist-es/commands/PutResourcePolicyCommand.js +16 -0
- package/dist-es/commands/PutSecretValueCommand.js +16 -0
- package/dist-es/commands/RemoveRegionsFromReplicationCommand.js +16 -0
- package/dist-es/commands/ReplicateSecretToRegionsCommand.js +16 -0
- package/dist-es/commands/RestoreSecretCommand.js +16 -0
- package/dist-es/commands/RotateSecretCommand.js +16 -0
- package/dist-es/commands/StopReplicationToReplicaCommand.js +16 -0
- package/dist-es/commands/TagResourceCommand.js +16 -0
- package/dist-es/commands/UntagResourceCommand.js +16 -0
- package/dist-es/commands/UpdateSecretCommand.js +16 -0
- package/dist-es/commands/UpdateSecretVersionStageCommand.js +16 -0
- package/dist-es/commands/ValidateResourcePolicyCommand.js +16 -0
- package/dist-es/commands/index.js +23 -0
- package/dist-es/endpoint/EndpointParameters.js +13 -0
- package/dist-es/endpoint/endpointResolver.js +14 -0
- package/dist-es/endpoint/ruleset.js +4 -0
- package/dist-es/extensionConfiguration.js +1 -0
- package/dist-es/index.js +9 -0
- package/dist-es/models/SecretsManagerServiceException.js +8 -0
- package/dist-es/models/enums.js +24 -0
- package/dist-es/models/errors.js +169 -0
- package/dist-es/models/models_0.js +1 -0
- package/dist-es/pagination/BatchGetSecretValuePaginator.js +4 -0
- package/dist-es/pagination/Interfaces.js +1 -0
- package/dist-es/pagination/ListSecretVersionIdsPaginator.js +4 -0
- package/dist-es/pagination/ListSecretsPaginator.js +4 -0
- package/dist-es/pagination/index.js +4 -0
- package/dist-es/runtimeConfig.browser.js +33 -0
- package/dist-es/runtimeConfig.js +48 -0
- package/dist-es/runtimeConfig.native.js +11 -0
- package/dist-es/runtimeConfig.shared.js +39 -0
- package/dist-es/runtimeExtensions.js +9 -0
- package/dist-es/schemas/schemas_0.js +661 -0
- package/dist-types/SecretsManager.d.ts +220 -0
- package/dist-types/SecretsManagerClient.d.ts +235 -0
- package/dist-types/auth/httpAuthExtensionConfiguration.d.ts +29 -0
- package/dist-types/auth/httpAuthSchemeProvider.d.ts +75 -0
- package/dist-types/commands/BatchGetSecretValueCommand.d.ts +210 -0
- package/dist-types/commands/CancelRotateSecretCommand.d.ts +135 -0
- package/dist-types/commands/CreateSecretCommand.d.ts +218 -0
- package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +126 -0
- package/dist-types/commands/DeleteSecretCommand.d.ts +135 -0
- package/dist-types/commands/DescribeSecretCommand.d.ts +137 -0
- package/dist-types/commands/GetRandomPasswordCommand.d.ts +135 -0
- package/dist-types/commands/GetResourcePolicyCommand.d.ts +138 -0
- package/dist-types/commands/GetSecretValueCommand.d.ts +157 -0
- package/dist-types/commands/ListSecretVersionIdsCommand.d.ts +151 -0
- package/dist-types/commands/ListSecretsCommand.d.ts +208 -0
- package/dist-types/commands/PutResourcePolicyCommand.d.ts +147 -0
- package/dist-types/commands/PutSecretValueCommand.d.ts +183 -0
- package/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +122 -0
- package/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +157 -0
- package/dist-types/commands/RestoreSecretCommand.d.ts +126 -0
- package/dist-types/commands/RotateSecretCommand.d.ts +180 -0
- package/dist-types/commands/StopReplicationToReplicaCommand.d.ts +111 -0
- package/dist-types/commands/TagResourceCommand.d.ts +145 -0
- package/dist-types/commands/UntagResourceCommand.d.ts +134 -0
- package/dist-types/commands/UpdateSecretCommand.d.ts +221 -0
- package/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +187 -0
- package/dist-types/commands/ValidateResourcePolicyCommand.d.ts +161 -0
- package/dist-types/commands/index.d.ts +23 -0
- package/dist-types/endpoint/EndpointParameters.d.ts +50 -0
- package/dist-types/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/endpoint/ruleset.d.ts +2 -0
- package/dist-types/extensionConfiguration.d.ts +9 -0
- package/dist-types/index.d.ts +42 -0
- package/dist-types/models/SecretsManagerServiceException.d.ts +14 -0
- package/dist-types/models/enums.d.ts +56 -0
- package/dist-types/models/errors.d.ts +175 -0
- package/dist-types/models/models_0.d.ts +1957 -0
- package/dist-types/pagination/BatchGetSecretValuePaginator.d.ts +7 -0
- package/dist-types/pagination/Interfaces.d.ts +8 -0
- package/dist-types/pagination/ListSecretVersionIdsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListSecretsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +4 -0
- package/dist-types/runtimeConfig.browser.d.ts +55 -0
- package/dist-types/runtimeConfig.d.ts +55 -0
- package/dist-types/runtimeConfig.native.d.ts +54 -0
- package/dist-types/runtimeConfig.shared.d.ts +27 -0
- package/dist-types/runtimeExtensions.d.ts +17 -0
- package/dist-types/schemas/schemas_0.d.ts +99 -0
- package/dist-types/ts3.4/SecretsManager.d.ts +426 -0
- package/dist-types/ts3.4/SecretsManagerClient.d.ts +258 -0
- package/dist-types/ts3.4/auth/httpAuthExtensionConfiguration.d.ts +32 -0
- package/dist-types/ts3.4/auth/httpAuthSchemeProvider.d.ts +47 -0
- package/dist-types/ts3.4/commands/BatchGetSecretValueCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CancelRotateSecretCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/CreateSecretCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DeleteResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DeleteSecretCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/DescribeSecretCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/GetRandomPasswordCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/GetSecretValueCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/ListSecretVersionIdsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ListSecretsCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/PutResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/PutSecretValueCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/RemoveRegionsFromReplicationCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ReplicateSecretToRegionsCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/RestoreSecretCommand.d.ts +50 -0
- package/dist-types/ts3.4/commands/RotateSecretCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/StopReplicationToReplicaCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +45 -0
- package/dist-types/ts3.4/commands/UpdateSecretCommand.d.ts +47 -0
- package/dist-types/ts3.4/commands/UpdateSecretVersionStageCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/ValidateResourcePolicyCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/index.d.ts +23 -0
- package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +51 -0
- package/dist-types/ts3.4/endpoint/endpointResolver.d.ts +8 -0
- package/dist-types/ts3.4/endpoint/ruleset.d.ts +2 -0
- package/dist-types/ts3.4/extensionConfiguration.d.ts +9 -0
- package/dist-types/ts3.4/index.d.ts +12 -0
- package/dist-types/ts3.4/models/SecretsManagerServiceException.d.ts +9 -0
- package/dist-types/ts3.4/models/enums.d.ts +29 -0
- package/dist-types/ts3.4/models/errors.d.ts +97 -0
- package/dist-types/ts3.4/models/models_0.d.ts +333 -0
- package/dist-types/ts3.4/pagination/BatchGetSecretValuePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListSecretVersionIdsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListSecretsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +100 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +95 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +104 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +30 -0
- package/dist-types/ts3.4/runtimeExtensions.d.ts +11 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +98 -0
- package/package.json +159 -0
|
@@ -0,0 +1,426 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
3
|
+
PaginationConfiguration,
|
|
4
|
+
Paginator,
|
|
5
|
+
} from "@smithy/types";
|
|
6
|
+
import {
|
|
7
|
+
BatchGetSecretValueCommandInput,
|
|
8
|
+
BatchGetSecretValueCommandOutput,
|
|
9
|
+
} from "./commands/BatchGetSecretValueCommand";
|
|
10
|
+
import {
|
|
11
|
+
CancelRotateSecretCommandInput,
|
|
12
|
+
CancelRotateSecretCommandOutput,
|
|
13
|
+
} from "./commands/CancelRotateSecretCommand";
|
|
14
|
+
import {
|
|
15
|
+
CreateSecretCommandInput,
|
|
16
|
+
CreateSecretCommandOutput,
|
|
17
|
+
} from "./commands/CreateSecretCommand";
|
|
18
|
+
import {
|
|
19
|
+
DeleteResourcePolicyCommandInput,
|
|
20
|
+
DeleteResourcePolicyCommandOutput,
|
|
21
|
+
} from "./commands/DeleteResourcePolicyCommand";
|
|
22
|
+
import {
|
|
23
|
+
DeleteSecretCommandInput,
|
|
24
|
+
DeleteSecretCommandOutput,
|
|
25
|
+
} from "./commands/DeleteSecretCommand";
|
|
26
|
+
import {
|
|
27
|
+
DescribeSecretCommandInput,
|
|
28
|
+
DescribeSecretCommandOutput,
|
|
29
|
+
} from "./commands/DescribeSecretCommand";
|
|
30
|
+
import {
|
|
31
|
+
GetRandomPasswordCommandInput,
|
|
32
|
+
GetRandomPasswordCommandOutput,
|
|
33
|
+
} from "./commands/GetRandomPasswordCommand";
|
|
34
|
+
import {
|
|
35
|
+
GetResourcePolicyCommandInput,
|
|
36
|
+
GetResourcePolicyCommandOutput,
|
|
37
|
+
} from "./commands/GetResourcePolicyCommand";
|
|
38
|
+
import {
|
|
39
|
+
GetSecretValueCommandInput,
|
|
40
|
+
GetSecretValueCommandOutput,
|
|
41
|
+
} from "./commands/GetSecretValueCommand";
|
|
42
|
+
import {
|
|
43
|
+
ListSecretsCommandInput,
|
|
44
|
+
ListSecretsCommandOutput,
|
|
45
|
+
} from "./commands/ListSecretsCommand";
|
|
46
|
+
import {
|
|
47
|
+
ListSecretVersionIdsCommandInput,
|
|
48
|
+
ListSecretVersionIdsCommandOutput,
|
|
49
|
+
} from "./commands/ListSecretVersionIdsCommand";
|
|
50
|
+
import {
|
|
51
|
+
PutResourcePolicyCommandInput,
|
|
52
|
+
PutResourcePolicyCommandOutput,
|
|
53
|
+
} from "./commands/PutResourcePolicyCommand";
|
|
54
|
+
import {
|
|
55
|
+
PutSecretValueCommandInput,
|
|
56
|
+
PutSecretValueCommandOutput,
|
|
57
|
+
} from "./commands/PutSecretValueCommand";
|
|
58
|
+
import {
|
|
59
|
+
RemoveRegionsFromReplicationCommandInput,
|
|
60
|
+
RemoveRegionsFromReplicationCommandOutput,
|
|
61
|
+
} from "./commands/RemoveRegionsFromReplicationCommand";
|
|
62
|
+
import {
|
|
63
|
+
ReplicateSecretToRegionsCommandInput,
|
|
64
|
+
ReplicateSecretToRegionsCommandOutput,
|
|
65
|
+
} from "./commands/ReplicateSecretToRegionsCommand";
|
|
66
|
+
import {
|
|
67
|
+
RestoreSecretCommandInput,
|
|
68
|
+
RestoreSecretCommandOutput,
|
|
69
|
+
} from "./commands/RestoreSecretCommand";
|
|
70
|
+
import {
|
|
71
|
+
RotateSecretCommandInput,
|
|
72
|
+
RotateSecretCommandOutput,
|
|
73
|
+
} from "./commands/RotateSecretCommand";
|
|
74
|
+
import {
|
|
75
|
+
StopReplicationToReplicaCommandInput,
|
|
76
|
+
StopReplicationToReplicaCommandOutput,
|
|
77
|
+
} from "./commands/StopReplicationToReplicaCommand";
|
|
78
|
+
import {
|
|
79
|
+
TagResourceCommandInput,
|
|
80
|
+
TagResourceCommandOutput,
|
|
81
|
+
} from "./commands/TagResourceCommand";
|
|
82
|
+
import {
|
|
83
|
+
UntagResourceCommandInput,
|
|
84
|
+
UntagResourceCommandOutput,
|
|
85
|
+
} from "./commands/UntagResourceCommand";
|
|
86
|
+
import {
|
|
87
|
+
UpdateSecretCommandInput,
|
|
88
|
+
UpdateSecretCommandOutput,
|
|
89
|
+
} from "./commands/UpdateSecretCommand";
|
|
90
|
+
import {
|
|
91
|
+
UpdateSecretVersionStageCommandInput,
|
|
92
|
+
UpdateSecretVersionStageCommandOutput,
|
|
93
|
+
} from "./commands/UpdateSecretVersionStageCommand";
|
|
94
|
+
import {
|
|
95
|
+
ValidateResourcePolicyCommandInput,
|
|
96
|
+
ValidateResourcePolicyCommandOutput,
|
|
97
|
+
} from "./commands/ValidateResourcePolicyCommand";
|
|
98
|
+
import { SecretsManagerClient } from "./SecretsManagerClient";
|
|
99
|
+
export interface SecretsManager {
|
|
100
|
+
batchGetSecretValue(): Promise<BatchGetSecretValueCommandOutput>;
|
|
101
|
+
batchGetSecretValue(
|
|
102
|
+
args: BatchGetSecretValueCommandInput,
|
|
103
|
+
options?: __HttpHandlerOptions
|
|
104
|
+
): Promise<BatchGetSecretValueCommandOutput>;
|
|
105
|
+
batchGetSecretValue(
|
|
106
|
+
args: BatchGetSecretValueCommandInput,
|
|
107
|
+
cb: (err: any, data?: BatchGetSecretValueCommandOutput) => void
|
|
108
|
+
): void;
|
|
109
|
+
batchGetSecretValue(
|
|
110
|
+
args: BatchGetSecretValueCommandInput,
|
|
111
|
+
options: __HttpHandlerOptions,
|
|
112
|
+
cb: (err: any, data?: BatchGetSecretValueCommandOutput) => void
|
|
113
|
+
): void;
|
|
114
|
+
cancelRotateSecret(
|
|
115
|
+
args: CancelRotateSecretCommandInput,
|
|
116
|
+
options?: __HttpHandlerOptions
|
|
117
|
+
): Promise<CancelRotateSecretCommandOutput>;
|
|
118
|
+
cancelRotateSecret(
|
|
119
|
+
args: CancelRotateSecretCommandInput,
|
|
120
|
+
cb: (err: any, data?: CancelRotateSecretCommandOutput) => void
|
|
121
|
+
): void;
|
|
122
|
+
cancelRotateSecret(
|
|
123
|
+
args: CancelRotateSecretCommandInput,
|
|
124
|
+
options: __HttpHandlerOptions,
|
|
125
|
+
cb: (err: any, data?: CancelRotateSecretCommandOutput) => void
|
|
126
|
+
): void;
|
|
127
|
+
createSecret(
|
|
128
|
+
args: CreateSecretCommandInput,
|
|
129
|
+
options?: __HttpHandlerOptions
|
|
130
|
+
): Promise<CreateSecretCommandOutput>;
|
|
131
|
+
createSecret(
|
|
132
|
+
args: CreateSecretCommandInput,
|
|
133
|
+
cb: (err: any, data?: CreateSecretCommandOutput) => void
|
|
134
|
+
): void;
|
|
135
|
+
createSecret(
|
|
136
|
+
args: CreateSecretCommandInput,
|
|
137
|
+
options: __HttpHandlerOptions,
|
|
138
|
+
cb: (err: any, data?: CreateSecretCommandOutput) => void
|
|
139
|
+
): void;
|
|
140
|
+
deleteResourcePolicy(
|
|
141
|
+
args: DeleteResourcePolicyCommandInput,
|
|
142
|
+
options?: __HttpHandlerOptions
|
|
143
|
+
): Promise<DeleteResourcePolicyCommandOutput>;
|
|
144
|
+
deleteResourcePolicy(
|
|
145
|
+
args: DeleteResourcePolicyCommandInput,
|
|
146
|
+
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
147
|
+
): void;
|
|
148
|
+
deleteResourcePolicy(
|
|
149
|
+
args: DeleteResourcePolicyCommandInput,
|
|
150
|
+
options: __HttpHandlerOptions,
|
|
151
|
+
cb: (err: any, data?: DeleteResourcePolicyCommandOutput) => void
|
|
152
|
+
): void;
|
|
153
|
+
deleteSecret(
|
|
154
|
+
args: DeleteSecretCommandInput,
|
|
155
|
+
options?: __HttpHandlerOptions
|
|
156
|
+
): Promise<DeleteSecretCommandOutput>;
|
|
157
|
+
deleteSecret(
|
|
158
|
+
args: DeleteSecretCommandInput,
|
|
159
|
+
cb: (err: any, data?: DeleteSecretCommandOutput) => void
|
|
160
|
+
): void;
|
|
161
|
+
deleteSecret(
|
|
162
|
+
args: DeleteSecretCommandInput,
|
|
163
|
+
options: __HttpHandlerOptions,
|
|
164
|
+
cb: (err: any, data?: DeleteSecretCommandOutput) => void
|
|
165
|
+
): void;
|
|
166
|
+
describeSecret(
|
|
167
|
+
args: DescribeSecretCommandInput,
|
|
168
|
+
options?: __HttpHandlerOptions
|
|
169
|
+
): Promise<DescribeSecretCommandOutput>;
|
|
170
|
+
describeSecret(
|
|
171
|
+
args: DescribeSecretCommandInput,
|
|
172
|
+
cb: (err: any, data?: DescribeSecretCommandOutput) => void
|
|
173
|
+
): void;
|
|
174
|
+
describeSecret(
|
|
175
|
+
args: DescribeSecretCommandInput,
|
|
176
|
+
options: __HttpHandlerOptions,
|
|
177
|
+
cb: (err: any, data?: DescribeSecretCommandOutput) => void
|
|
178
|
+
): void;
|
|
179
|
+
getRandomPassword(): Promise<GetRandomPasswordCommandOutput>;
|
|
180
|
+
getRandomPassword(
|
|
181
|
+
args: GetRandomPasswordCommandInput,
|
|
182
|
+
options?: __HttpHandlerOptions
|
|
183
|
+
): Promise<GetRandomPasswordCommandOutput>;
|
|
184
|
+
getRandomPassword(
|
|
185
|
+
args: GetRandomPasswordCommandInput,
|
|
186
|
+
cb: (err: any, data?: GetRandomPasswordCommandOutput) => void
|
|
187
|
+
): void;
|
|
188
|
+
getRandomPassword(
|
|
189
|
+
args: GetRandomPasswordCommandInput,
|
|
190
|
+
options: __HttpHandlerOptions,
|
|
191
|
+
cb: (err: any, data?: GetRandomPasswordCommandOutput) => void
|
|
192
|
+
): void;
|
|
193
|
+
getResourcePolicy(
|
|
194
|
+
args: GetResourcePolicyCommandInput,
|
|
195
|
+
options?: __HttpHandlerOptions
|
|
196
|
+
): Promise<GetResourcePolicyCommandOutput>;
|
|
197
|
+
getResourcePolicy(
|
|
198
|
+
args: GetResourcePolicyCommandInput,
|
|
199
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
200
|
+
): void;
|
|
201
|
+
getResourcePolicy(
|
|
202
|
+
args: GetResourcePolicyCommandInput,
|
|
203
|
+
options: __HttpHandlerOptions,
|
|
204
|
+
cb: (err: any, data?: GetResourcePolicyCommandOutput) => void
|
|
205
|
+
): void;
|
|
206
|
+
getSecretValue(
|
|
207
|
+
args: GetSecretValueCommandInput,
|
|
208
|
+
options?: __HttpHandlerOptions
|
|
209
|
+
): Promise<GetSecretValueCommandOutput>;
|
|
210
|
+
getSecretValue(
|
|
211
|
+
args: GetSecretValueCommandInput,
|
|
212
|
+
cb: (err: any, data?: GetSecretValueCommandOutput) => void
|
|
213
|
+
): void;
|
|
214
|
+
getSecretValue(
|
|
215
|
+
args: GetSecretValueCommandInput,
|
|
216
|
+
options: __HttpHandlerOptions,
|
|
217
|
+
cb: (err: any, data?: GetSecretValueCommandOutput) => void
|
|
218
|
+
): void;
|
|
219
|
+
listSecrets(): Promise<ListSecretsCommandOutput>;
|
|
220
|
+
listSecrets(
|
|
221
|
+
args: ListSecretsCommandInput,
|
|
222
|
+
options?: __HttpHandlerOptions
|
|
223
|
+
): Promise<ListSecretsCommandOutput>;
|
|
224
|
+
listSecrets(
|
|
225
|
+
args: ListSecretsCommandInput,
|
|
226
|
+
cb: (err: any, data?: ListSecretsCommandOutput) => void
|
|
227
|
+
): void;
|
|
228
|
+
listSecrets(
|
|
229
|
+
args: ListSecretsCommandInput,
|
|
230
|
+
options: __HttpHandlerOptions,
|
|
231
|
+
cb: (err: any, data?: ListSecretsCommandOutput) => void
|
|
232
|
+
): void;
|
|
233
|
+
listSecretVersionIds(
|
|
234
|
+
args: ListSecretVersionIdsCommandInput,
|
|
235
|
+
options?: __HttpHandlerOptions
|
|
236
|
+
): Promise<ListSecretVersionIdsCommandOutput>;
|
|
237
|
+
listSecretVersionIds(
|
|
238
|
+
args: ListSecretVersionIdsCommandInput,
|
|
239
|
+
cb: (err: any, data?: ListSecretVersionIdsCommandOutput) => void
|
|
240
|
+
): void;
|
|
241
|
+
listSecretVersionIds(
|
|
242
|
+
args: ListSecretVersionIdsCommandInput,
|
|
243
|
+
options: __HttpHandlerOptions,
|
|
244
|
+
cb: (err: any, data?: ListSecretVersionIdsCommandOutput) => void
|
|
245
|
+
): void;
|
|
246
|
+
putResourcePolicy(
|
|
247
|
+
args: PutResourcePolicyCommandInput,
|
|
248
|
+
options?: __HttpHandlerOptions
|
|
249
|
+
): Promise<PutResourcePolicyCommandOutput>;
|
|
250
|
+
putResourcePolicy(
|
|
251
|
+
args: PutResourcePolicyCommandInput,
|
|
252
|
+
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
253
|
+
): void;
|
|
254
|
+
putResourcePolicy(
|
|
255
|
+
args: PutResourcePolicyCommandInput,
|
|
256
|
+
options: __HttpHandlerOptions,
|
|
257
|
+
cb: (err: any, data?: PutResourcePolicyCommandOutput) => void
|
|
258
|
+
): void;
|
|
259
|
+
putSecretValue(
|
|
260
|
+
args: PutSecretValueCommandInput,
|
|
261
|
+
options?: __HttpHandlerOptions
|
|
262
|
+
): Promise<PutSecretValueCommandOutput>;
|
|
263
|
+
putSecretValue(
|
|
264
|
+
args: PutSecretValueCommandInput,
|
|
265
|
+
cb: (err: any, data?: PutSecretValueCommandOutput) => void
|
|
266
|
+
): void;
|
|
267
|
+
putSecretValue(
|
|
268
|
+
args: PutSecretValueCommandInput,
|
|
269
|
+
options: __HttpHandlerOptions,
|
|
270
|
+
cb: (err: any, data?: PutSecretValueCommandOutput) => void
|
|
271
|
+
): void;
|
|
272
|
+
removeRegionsFromReplication(
|
|
273
|
+
args: RemoveRegionsFromReplicationCommandInput,
|
|
274
|
+
options?: __HttpHandlerOptions
|
|
275
|
+
): Promise<RemoveRegionsFromReplicationCommandOutput>;
|
|
276
|
+
removeRegionsFromReplication(
|
|
277
|
+
args: RemoveRegionsFromReplicationCommandInput,
|
|
278
|
+
cb: (err: any, data?: RemoveRegionsFromReplicationCommandOutput) => void
|
|
279
|
+
): void;
|
|
280
|
+
removeRegionsFromReplication(
|
|
281
|
+
args: RemoveRegionsFromReplicationCommandInput,
|
|
282
|
+
options: __HttpHandlerOptions,
|
|
283
|
+
cb: (err: any, data?: RemoveRegionsFromReplicationCommandOutput) => void
|
|
284
|
+
): void;
|
|
285
|
+
replicateSecretToRegions(
|
|
286
|
+
args: ReplicateSecretToRegionsCommandInput,
|
|
287
|
+
options?: __HttpHandlerOptions
|
|
288
|
+
): Promise<ReplicateSecretToRegionsCommandOutput>;
|
|
289
|
+
replicateSecretToRegions(
|
|
290
|
+
args: ReplicateSecretToRegionsCommandInput,
|
|
291
|
+
cb: (err: any, data?: ReplicateSecretToRegionsCommandOutput) => void
|
|
292
|
+
): void;
|
|
293
|
+
replicateSecretToRegions(
|
|
294
|
+
args: ReplicateSecretToRegionsCommandInput,
|
|
295
|
+
options: __HttpHandlerOptions,
|
|
296
|
+
cb: (err: any, data?: ReplicateSecretToRegionsCommandOutput) => void
|
|
297
|
+
): void;
|
|
298
|
+
restoreSecret(
|
|
299
|
+
args: RestoreSecretCommandInput,
|
|
300
|
+
options?: __HttpHandlerOptions
|
|
301
|
+
): Promise<RestoreSecretCommandOutput>;
|
|
302
|
+
restoreSecret(
|
|
303
|
+
args: RestoreSecretCommandInput,
|
|
304
|
+
cb: (err: any, data?: RestoreSecretCommandOutput) => void
|
|
305
|
+
): void;
|
|
306
|
+
restoreSecret(
|
|
307
|
+
args: RestoreSecretCommandInput,
|
|
308
|
+
options: __HttpHandlerOptions,
|
|
309
|
+
cb: (err: any, data?: RestoreSecretCommandOutput) => void
|
|
310
|
+
): void;
|
|
311
|
+
rotateSecret(
|
|
312
|
+
args: RotateSecretCommandInput,
|
|
313
|
+
options?: __HttpHandlerOptions
|
|
314
|
+
): Promise<RotateSecretCommandOutput>;
|
|
315
|
+
rotateSecret(
|
|
316
|
+
args: RotateSecretCommandInput,
|
|
317
|
+
cb: (err: any, data?: RotateSecretCommandOutput) => void
|
|
318
|
+
): void;
|
|
319
|
+
rotateSecret(
|
|
320
|
+
args: RotateSecretCommandInput,
|
|
321
|
+
options: __HttpHandlerOptions,
|
|
322
|
+
cb: (err: any, data?: RotateSecretCommandOutput) => void
|
|
323
|
+
): void;
|
|
324
|
+
stopReplicationToReplica(
|
|
325
|
+
args: StopReplicationToReplicaCommandInput,
|
|
326
|
+
options?: __HttpHandlerOptions
|
|
327
|
+
): Promise<StopReplicationToReplicaCommandOutput>;
|
|
328
|
+
stopReplicationToReplica(
|
|
329
|
+
args: StopReplicationToReplicaCommandInput,
|
|
330
|
+
cb: (err: any, data?: StopReplicationToReplicaCommandOutput) => void
|
|
331
|
+
): void;
|
|
332
|
+
stopReplicationToReplica(
|
|
333
|
+
args: StopReplicationToReplicaCommandInput,
|
|
334
|
+
options: __HttpHandlerOptions,
|
|
335
|
+
cb: (err: any, data?: StopReplicationToReplicaCommandOutput) => void
|
|
336
|
+
): void;
|
|
337
|
+
tagResource(
|
|
338
|
+
args: TagResourceCommandInput,
|
|
339
|
+
options?: __HttpHandlerOptions
|
|
340
|
+
): Promise<TagResourceCommandOutput>;
|
|
341
|
+
tagResource(
|
|
342
|
+
args: TagResourceCommandInput,
|
|
343
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
344
|
+
): void;
|
|
345
|
+
tagResource(
|
|
346
|
+
args: TagResourceCommandInput,
|
|
347
|
+
options: __HttpHandlerOptions,
|
|
348
|
+
cb: (err: any, data?: TagResourceCommandOutput) => void
|
|
349
|
+
): void;
|
|
350
|
+
untagResource(
|
|
351
|
+
args: UntagResourceCommandInput,
|
|
352
|
+
options?: __HttpHandlerOptions
|
|
353
|
+
): Promise<UntagResourceCommandOutput>;
|
|
354
|
+
untagResource(
|
|
355
|
+
args: UntagResourceCommandInput,
|
|
356
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
357
|
+
): void;
|
|
358
|
+
untagResource(
|
|
359
|
+
args: UntagResourceCommandInput,
|
|
360
|
+
options: __HttpHandlerOptions,
|
|
361
|
+
cb: (err: any, data?: UntagResourceCommandOutput) => void
|
|
362
|
+
): void;
|
|
363
|
+
updateSecret(
|
|
364
|
+
args: UpdateSecretCommandInput,
|
|
365
|
+
options?: __HttpHandlerOptions
|
|
366
|
+
): Promise<UpdateSecretCommandOutput>;
|
|
367
|
+
updateSecret(
|
|
368
|
+
args: UpdateSecretCommandInput,
|
|
369
|
+
cb: (err: any, data?: UpdateSecretCommandOutput) => void
|
|
370
|
+
): void;
|
|
371
|
+
updateSecret(
|
|
372
|
+
args: UpdateSecretCommandInput,
|
|
373
|
+
options: __HttpHandlerOptions,
|
|
374
|
+
cb: (err: any, data?: UpdateSecretCommandOutput) => void
|
|
375
|
+
): void;
|
|
376
|
+
updateSecretVersionStage(
|
|
377
|
+
args: UpdateSecretVersionStageCommandInput,
|
|
378
|
+
options?: __HttpHandlerOptions
|
|
379
|
+
): Promise<UpdateSecretVersionStageCommandOutput>;
|
|
380
|
+
updateSecretVersionStage(
|
|
381
|
+
args: UpdateSecretVersionStageCommandInput,
|
|
382
|
+
cb: (err: any, data?: UpdateSecretVersionStageCommandOutput) => void
|
|
383
|
+
): void;
|
|
384
|
+
updateSecretVersionStage(
|
|
385
|
+
args: UpdateSecretVersionStageCommandInput,
|
|
386
|
+
options: __HttpHandlerOptions,
|
|
387
|
+
cb: (err: any, data?: UpdateSecretVersionStageCommandOutput) => void
|
|
388
|
+
): void;
|
|
389
|
+
validateResourcePolicy(
|
|
390
|
+
args: ValidateResourcePolicyCommandInput,
|
|
391
|
+
options?: __HttpHandlerOptions
|
|
392
|
+
): Promise<ValidateResourcePolicyCommandOutput>;
|
|
393
|
+
validateResourcePolicy(
|
|
394
|
+
args: ValidateResourcePolicyCommandInput,
|
|
395
|
+
cb: (err: any, data?: ValidateResourcePolicyCommandOutput) => void
|
|
396
|
+
): void;
|
|
397
|
+
validateResourcePolicy(
|
|
398
|
+
args: ValidateResourcePolicyCommandInput,
|
|
399
|
+
options: __HttpHandlerOptions,
|
|
400
|
+
cb: (err: any, data?: ValidateResourcePolicyCommandOutput) => void
|
|
401
|
+
): void;
|
|
402
|
+
paginateBatchGetSecretValue(
|
|
403
|
+
args?: BatchGetSecretValueCommandInput,
|
|
404
|
+
paginationConfig?: Pick<
|
|
405
|
+
PaginationConfiguration,
|
|
406
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
407
|
+
>
|
|
408
|
+
): Paginator<BatchGetSecretValueCommandOutput>;
|
|
409
|
+
paginateListSecrets(
|
|
410
|
+
args?: ListSecretsCommandInput,
|
|
411
|
+
paginationConfig?: Pick<
|
|
412
|
+
PaginationConfiguration,
|
|
413
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
414
|
+
>
|
|
415
|
+
): Paginator<ListSecretsCommandOutput>;
|
|
416
|
+
paginateListSecretVersionIds(
|
|
417
|
+
args: ListSecretVersionIdsCommandInput,
|
|
418
|
+
paginationConfig?: Pick<
|
|
419
|
+
PaginationConfiguration,
|
|
420
|
+
Exclude<keyof PaginationConfiguration, "client">
|
|
421
|
+
>
|
|
422
|
+
): Paginator<ListSecretVersionIdsCommandOutput>;
|
|
423
|
+
}
|
|
424
|
+
export declare class SecretsManager
|
|
425
|
+
extends SecretsManagerClient
|
|
426
|
+
implements SecretsManager {}
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
import {
|
|
2
|
+
HostHeaderInputConfig,
|
|
3
|
+
HostHeaderResolvedConfig,
|
|
4
|
+
} from "@aws-sdk/middleware-host-header";
|
|
5
|
+
import {
|
|
6
|
+
UserAgentInputConfig,
|
|
7
|
+
UserAgentResolvedConfig,
|
|
8
|
+
} from "@aws-sdk/middleware-user-agent";
|
|
9
|
+
import {
|
|
10
|
+
RegionInputConfig,
|
|
11
|
+
RegionResolvedConfig,
|
|
12
|
+
} from "@smithy/config-resolver";
|
|
13
|
+
import {
|
|
14
|
+
EndpointInputConfig,
|
|
15
|
+
EndpointResolvedConfig,
|
|
16
|
+
} from "@smithy/middleware-endpoint";
|
|
17
|
+
import {
|
|
18
|
+
RetryInputConfig,
|
|
19
|
+
RetryResolvedConfig,
|
|
20
|
+
} from "@smithy/middleware-retry";
|
|
21
|
+
import { HttpHandlerUserInput as __HttpHandlerUserInput } from "@smithy/protocol-http";
|
|
22
|
+
import {
|
|
23
|
+
DefaultsMode as __DefaultsMode,
|
|
24
|
+
SmithyConfiguration as __SmithyConfiguration,
|
|
25
|
+
SmithyResolvedConfiguration as __SmithyResolvedConfiguration,
|
|
26
|
+
Client as __Client,
|
|
27
|
+
} from "@smithy/smithy-client";
|
|
28
|
+
import {
|
|
29
|
+
BodyLengthCalculator as __BodyLengthCalculator,
|
|
30
|
+
CheckOptionalClientConfig as __CheckOptionalClientConfig,
|
|
31
|
+
ChecksumConstructor as __ChecksumConstructor,
|
|
32
|
+
Decoder as __Decoder,
|
|
33
|
+
Encoder as __Encoder,
|
|
34
|
+
HashConstructor as __HashConstructor,
|
|
35
|
+
HttpHandlerOptions as __HttpHandlerOptions,
|
|
36
|
+
Logger as __Logger,
|
|
37
|
+
Provider as __Provider,
|
|
38
|
+
StreamCollector as __StreamCollector,
|
|
39
|
+
UrlParser as __UrlParser,
|
|
40
|
+
AwsCredentialIdentityProvider,
|
|
41
|
+
Provider,
|
|
42
|
+
UserAgent as __UserAgent,
|
|
43
|
+
} from "@smithy/types";
|
|
44
|
+
import {
|
|
45
|
+
HttpAuthSchemeInputConfig,
|
|
46
|
+
HttpAuthSchemeResolvedConfig,
|
|
47
|
+
} from "./auth/httpAuthSchemeProvider";
|
|
48
|
+
import {
|
|
49
|
+
BatchGetSecretValueCommandInput,
|
|
50
|
+
BatchGetSecretValueCommandOutput,
|
|
51
|
+
} from "./commands/BatchGetSecretValueCommand";
|
|
52
|
+
import {
|
|
53
|
+
CancelRotateSecretCommandInput,
|
|
54
|
+
CancelRotateSecretCommandOutput,
|
|
55
|
+
} from "./commands/CancelRotateSecretCommand";
|
|
56
|
+
import {
|
|
57
|
+
CreateSecretCommandInput,
|
|
58
|
+
CreateSecretCommandOutput,
|
|
59
|
+
} from "./commands/CreateSecretCommand";
|
|
60
|
+
import {
|
|
61
|
+
DeleteResourcePolicyCommandInput,
|
|
62
|
+
DeleteResourcePolicyCommandOutput,
|
|
63
|
+
} from "./commands/DeleteResourcePolicyCommand";
|
|
64
|
+
import {
|
|
65
|
+
DeleteSecretCommandInput,
|
|
66
|
+
DeleteSecretCommandOutput,
|
|
67
|
+
} from "./commands/DeleteSecretCommand";
|
|
68
|
+
import {
|
|
69
|
+
DescribeSecretCommandInput,
|
|
70
|
+
DescribeSecretCommandOutput,
|
|
71
|
+
} from "./commands/DescribeSecretCommand";
|
|
72
|
+
import {
|
|
73
|
+
GetRandomPasswordCommandInput,
|
|
74
|
+
GetRandomPasswordCommandOutput,
|
|
75
|
+
} from "./commands/GetRandomPasswordCommand";
|
|
76
|
+
import {
|
|
77
|
+
GetResourcePolicyCommandInput,
|
|
78
|
+
GetResourcePolicyCommandOutput,
|
|
79
|
+
} from "./commands/GetResourcePolicyCommand";
|
|
80
|
+
import {
|
|
81
|
+
GetSecretValueCommandInput,
|
|
82
|
+
GetSecretValueCommandOutput,
|
|
83
|
+
} from "./commands/GetSecretValueCommand";
|
|
84
|
+
import {
|
|
85
|
+
ListSecretsCommandInput,
|
|
86
|
+
ListSecretsCommandOutput,
|
|
87
|
+
} from "./commands/ListSecretsCommand";
|
|
88
|
+
import {
|
|
89
|
+
ListSecretVersionIdsCommandInput,
|
|
90
|
+
ListSecretVersionIdsCommandOutput,
|
|
91
|
+
} from "./commands/ListSecretVersionIdsCommand";
|
|
92
|
+
import {
|
|
93
|
+
PutResourcePolicyCommandInput,
|
|
94
|
+
PutResourcePolicyCommandOutput,
|
|
95
|
+
} from "./commands/PutResourcePolicyCommand";
|
|
96
|
+
import {
|
|
97
|
+
PutSecretValueCommandInput,
|
|
98
|
+
PutSecretValueCommandOutput,
|
|
99
|
+
} from "./commands/PutSecretValueCommand";
|
|
100
|
+
import {
|
|
101
|
+
RemoveRegionsFromReplicationCommandInput,
|
|
102
|
+
RemoveRegionsFromReplicationCommandOutput,
|
|
103
|
+
} from "./commands/RemoveRegionsFromReplicationCommand";
|
|
104
|
+
import {
|
|
105
|
+
ReplicateSecretToRegionsCommandInput,
|
|
106
|
+
ReplicateSecretToRegionsCommandOutput,
|
|
107
|
+
} from "./commands/ReplicateSecretToRegionsCommand";
|
|
108
|
+
import {
|
|
109
|
+
RestoreSecretCommandInput,
|
|
110
|
+
RestoreSecretCommandOutput,
|
|
111
|
+
} from "./commands/RestoreSecretCommand";
|
|
112
|
+
import {
|
|
113
|
+
RotateSecretCommandInput,
|
|
114
|
+
RotateSecretCommandOutput,
|
|
115
|
+
} from "./commands/RotateSecretCommand";
|
|
116
|
+
import {
|
|
117
|
+
StopReplicationToReplicaCommandInput,
|
|
118
|
+
StopReplicationToReplicaCommandOutput,
|
|
119
|
+
} from "./commands/StopReplicationToReplicaCommand";
|
|
120
|
+
import {
|
|
121
|
+
TagResourceCommandInput,
|
|
122
|
+
TagResourceCommandOutput,
|
|
123
|
+
} from "./commands/TagResourceCommand";
|
|
124
|
+
import {
|
|
125
|
+
UntagResourceCommandInput,
|
|
126
|
+
UntagResourceCommandOutput,
|
|
127
|
+
} from "./commands/UntagResourceCommand";
|
|
128
|
+
import {
|
|
129
|
+
UpdateSecretCommandInput,
|
|
130
|
+
UpdateSecretCommandOutput,
|
|
131
|
+
} from "./commands/UpdateSecretCommand";
|
|
132
|
+
import {
|
|
133
|
+
UpdateSecretVersionStageCommandInput,
|
|
134
|
+
UpdateSecretVersionStageCommandOutput,
|
|
135
|
+
} from "./commands/UpdateSecretVersionStageCommand";
|
|
136
|
+
import {
|
|
137
|
+
ValidateResourcePolicyCommandInput,
|
|
138
|
+
ValidateResourcePolicyCommandOutput,
|
|
139
|
+
} from "./commands/ValidateResourcePolicyCommand";
|
|
140
|
+
import {
|
|
141
|
+
ClientInputEndpointParameters,
|
|
142
|
+
ClientResolvedEndpointParameters,
|
|
143
|
+
EndpointParameters,
|
|
144
|
+
} from "./endpoint/EndpointParameters";
|
|
145
|
+
import { RuntimeExtension, RuntimeExtensionsConfig } from "./runtimeExtensions";
|
|
146
|
+
export { __Client };
|
|
147
|
+
export type ServiceInputTypes =
|
|
148
|
+
| BatchGetSecretValueCommandInput
|
|
149
|
+
| CancelRotateSecretCommandInput
|
|
150
|
+
| CreateSecretCommandInput
|
|
151
|
+
| DeleteResourcePolicyCommandInput
|
|
152
|
+
| DeleteSecretCommandInput
|
|
153
|
+
| DescribeSecretCommandInput
|
|
154
|
+
| GetRandomPasswordCommandInput
|
|
155
|
+
| GetResourcePolicyCommandInput
|
|
156
|
+
| GetSecretValueCommandInput
|
|
157
|
+
| ListSecretVersionIdsCommandInput
|
|
158
|
+
| ListSecretsCommandInput
|
|
159
|
+
| PutResourcePolicyCommandInput
|
|
160
|
+
| PutSecretValueCommandInput
|
|
161
|
+
| RemoveRegionsFromReplicationCommandInput
|
|
162
|
+
| ReplicateSecretToRegionsCommandInput
|
|
163
|
+
| RestoreSecretCommandInput
|
|
164
|
+
| RotateSecretCommandInput
|
|
165
|
+
| StopReplicationToReplicaCommandInput
|
|
166
|
+
| TagResourceCommandInput
|
|
167
|
+
| UntagResourceCommandInput
|
|
168
|
+
| UpdateSecretCommandInput
|
|
169
|
+
| UpdateSecretVersionStageCommandInput
|
|
170
|
+
| ValidateResourcePolicyCommandInput;
|
|
171
|
+
export type ServiceOutputTypes =
|
|
172
|
+
| BatchGetSecretValueCommandOutput
|
|
173
|
+
| CancelRotateSecretCommandOutput
|
|
174
|
+
| CreateSecretCommandOutput
|
|
175
|
+
| DeleteResourcePolicyCommandOutput
|
|
176
|
+
| DeleteSecretCommandOutput
|
|
177
|
+
| DescribeSecretCommandOutput
|
|
178
|
+
| GetRandomPasswordCommandOutput
|
|
179
|
+
| GetResourcePolicyCommandOutput
|
|
180
|
+
| GetSecretValueCommandOutput
|
|
181
|
+
| ListSecretVersionIdsCommandOutput
|
|
182
|
+
| ListSecretsCommandOutput
|
|
183
|
+
| PutResourcePolicyCommandOutput
|
|
184
|
+
| PutSecretValueCommandOutput
|
|
185
|
+
| RemoveRegionsFromReplicationCommandOutput
|
|
186
|
+
| ReplicateSecretToRegionsCommandOutput
|
|
187
|
+
| RestoreSecretCommandOutput
|
|
188
|
+
| RotateSecretCommandOutput
|
|
189
|
+
| StopReplicationToReplicaCommandOutput
|
|
190
|
+
| TagResourceCommandOutput
|
|
191
|
+
| UntagResourceCommandOutput
|
|
192
|
+
| UpdateSecretCommandOutput
|
|
193
|
+
| UpdateSecretVersionStageCommandOutput
|
|
194
|
+
| ValidateResourcePolicyCommandOutput;
|
|
195
|
+
export interface ClientDefaults
|
|
196
|
+
extends Partial<__SmithyConfiguration<__HttpHandlerOptions>> {
|
|
197
|
+
requestHandler?: __HttpHandlerUserInput;
|
|
198
|
+
sha256?: __ChecksumConstructor | __HashConstructor;
|
|
199
|
+
urlParser?: __UrlParser;
|
|
200
|
+
bodyLengthChecker?: __BodyLengthCalculator;
|
|
201
|
+
streamCollector?: __StreamCollector;
|
|
202
|
+
base64Decoder?: __Decoder;
|
|
203
|
+
base64Encoder?: __Encoder;
|
|
204
|
+
utf8Decoder?: __Decoder;
|
|
205
|
+
utf8Encoder?: __Encoder;
|
|
206
|
+
runtime?: string;
|
|
207
|
+
disableHostPrefix?: boolean;
|
|
208
|
+
serviceId?: string;
|
|
209
|
+
useDualstackEndpoint?: boolean | __Provider<boolean>;
|
|
210
|
+
useFipsEndpoint?: boolean | __Provider<boolean>;
|
|
211
|
+
region?: string | __Provider<string>;
|
|
212
|
+
profile?: string;
|
|
213
|
+
defaultUserAgentProvider?: Provider<__UserAgent>;
|
|
214
|
+
credentialDefaultProvider?: (input: any) => AwsCredentialIdentityProvider;
|
|
215
|
+
maxAttempts?: number | __Provider<number>;
|
|
216
|
+
retryMode?: string | __Provider<string>;
|
|
217
|
+
logger?: __Logger;
|
|
218
|
+
extensions?: RuntimeExtension[];
|
|
219
|
+
defaultsMode?: __DefaultsMode | __Provider<__DefaultsMode>;
|
|
220
|
+
}
|
|
221
|
+
export type SecretsManagerClientConfigType = Partial<
|
|
222
|
+
__SmithyConfiguration<__HttpHandlerOptions>
|
|
223
|
+
> &
|
|
224
|
+
ClientDefaults &
|
|
225
|
+
UserAgentInputConfig &
|
|
226
|
+
RetryInputConfig &
|
|
227
|
+
RegionInputConfig &
|
|
228
|
+
HostHeaderInputConfig &
|
|
229
|
+
EndpointInputConfig<EndpointParameters> &
|
|
230
|
+
HttpAuthSchemeInputConfig &
|
|
231
|
+
ClientInputEndpointParameters;
|
|
232
|
+
export interface SecretsManagerClientConfig
|
|
233
|
+
extends SecretsManagerClientConfigType {}
|
|
234
|
+
export type SecretsManagerClientResolvedConfigType =
|
|
235
|
+
__SmithyResolvedConfiguration<__HttpHandlerOptions> &
|
|
236
|
+
Required<ClientDefaults> &
|
|
237
|
+
RuntimeExtensionsConfig &
|
|
238
|
+
UserAgentResolvedConfig &
|
|
239
|
+
RetryResolvedConfig &
|
|
240
|
+
RegionResolvedConfig &
|
|
241
|
+
HostHeaderResolvedConfig &
|
|
242
|
+
EndpointResolvedConfig<EndpointParameters> &
|
|
243
|
+
HttpAuthSchemeResolvedConfig &
|
|
244
|
+
ClientResolvedEndpointParameters;
|
|
245
|
+
export interface SecretsManagerClientResolvedConfig
|
|
246
|
+
extends SecretsManagerClientResolvedConfigType {}
|
|
247
|
+
export declare class SecretsManagerClient extends __Client<
|
|
248
|
+
__HttpHandlerOptions,
|
|
249
|
+
ServiceInputTypes,
|
|
250
|
+
ServiceOutputTypes,
|
|
251
|
+
SecretsManagerClientResolvedConfig
|
|
252
|
+
> {
|
|
253
|
+
readonly config: SecretsManagerClientResolvedConfig;
|
|
254
|
+
constructor(
|
|
255
|
+
...[configuration]: __CheckOptionalClientConfig<SecretsManagerClientConfig>
|
|
256
|
+
);
|
|
257
|
+
destroy(): void;
|
|
258
|
+
}
|