@aws-sdk/client-secrets-manager 3.183.0 → 3.186.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 (37) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/SecretsManager.js +97 -90
  4. package/dist-es/SecretsManagerClient.js +28 -22
  5. package/dist-es/commands/CancelRotateSecretCommand.js +28 -21
  6. package/dist-es/commands/CreateSecretCommand.js +28 -21
  7. package/dist-es/commands/DeleteResourcePolicyCommand.js +28 -21
  8. package/dist-es/commands/DeleteSecretCommand.js +28 -21
  9. package/dist-es/commands/DescribeSecretCommand.js +28 -21
  10. package/dist-es/commands/GetRandomPasswordCommand.js +28 -21
  11. package/dist-es/commands/GetResourcePolicyCommand.js +28 -21
  12. package/dist-es/commands/GetSecretValueCommand.js +28 -21
  13. package/dist-es/commands/ListSecretVersionIdsCommand.js +28 -21
  14. package/dist-es/commands/ListSecretsCommand.js +28 -21
  15. package/dist-es/commands/PutResourcePolicyCommand.js +28 -21
  16. package/dist-es/commands/PutSecretValueCommand.js +28 -21
  17. package/dist-es/commands/RemoveRegionsFromReplicationCommand.js +28 -21
  18. package/dist-es/commands/ReplicateSecretToRegionsCommand.js +28 -21
  19. package/dist-es/commands/RestoreSecretCommand.js +28 -21
  20. package/dist-es/commands/RotateSecretCommand.js +28 -21
  21. package/dist-es/commands/StopReplicationToReplicaCommand.js +28 -21
  22. package/dist-es/commands/TagResourceCommand.js +29 -22
  23. package/dist-es/commands/UntagResourceCommand.js +29 -22
  24. package/dist-es/commands/UpdateSecretCommand.js +28 -21
  25. package/dist-es/commands/UpdateSecretVersionStageCommand.js +28 -21
  26. package/dist-es/commands/ValidateResourcePolicyCommand.js +28 -21
  27. package/dist-es/endpoints.js +8 -8
  28. package/dist-es/models/SecretsManagerServiceException.js +10 -5
  29. package/dist-es/models/models_0.js +195 -303
  30. package/dist-es/pagination/ListSecretVersionIdsPaginator.js +68 -25
  31. package/dist-es/pagination/ListSecretsPaginator.js +68 -25
  32. package/dist-es/protocols/Aws_json1_1.js +2035 -1584
  33. package/dist-es/runtimeConfig.browser.js +12 -26
  34. package/dist-es/runtimeConfig.js +12 -30
  35. package/dist-es/runtimeConfig.native.js +5 -8
  36. package/dist-es/runtimeConfig.shared.js +11 -8
  37. package/package.json +33 -33
@@ -1,5 +1,6 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
1
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
+ var regionHash = {
3
4
  "ca-central-1": {
4
5
  variants: [
5
6
  {
@@ -57,7 +58,7 @@ const regionHash = {
57
58
  ],
58
59
  },
59
60
  };
60
- const partitionHash = {
61
+ var partitionHash = {
61
62
  aws: {
62
63
  regions: [
63
64
  "af-south-1",
@@ -182,9 +183,8 @@ const partitionHash = {
182
183
  ],
183
184
  },
184
185
  };
185
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
186
- ...options,
187
- signingService: "secretsmanager",
188
- regionHash,
189
- partitionHash,
190
- });
186
+ export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
187
+ return __generator(this, function (_a) {
188
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "secretsmanager", regionHash: regionHash, partitionHash: partitionHash }))];
189
+ });
190
+ }); };
@@ -1,7 +1,12 @@
1
+ import { __extends } from "tslib";
1
2
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
- export class SecretsManagerServiceException extends __ServiceException {
3
- constructor(options) {
4
- super(options);
5
- Object.setPrototypeOf(this, SecretsManagerServiceException.prototype);
3
+ var SecretsManagerServiceException = (function (_super) {
4
+ __extends(SecretsManagerServiceException, _super);
5
+ function SecretsManagerServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, SecretsManagerServiceException.prototype);
8
+ return _this;
6
9
  }
7
- }
10
+ return SecretsManagerServiceException;
11
+ }(__ServiceException));
12
+ export { SecretsManagerServiceException };
@@ -1,141 +1,142 @@
1
+ import { __assign, __extends } from "tslib";
1
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
2
3
  import { SecretsManagerServiceException as __BaseException } from "./SecretsManagerServiceException";
3
- export class InternalServiceError extends __BaseException {
4
- constructor(opts) {
5
- super({
6
- name: "InternalServiceError",
7
- $fault: "server",
8
- ...opts,
9
- });
10
- this.name = "InternalServiceError";
11
- this.$fault = "server";
12
- Object.setPrototypeOf(this, InternalServiceError.prototype);
13
- this.Message = opts.Message;
4
+ var InternalServiceError = (function (_super) {
5
+ __extends(InternalServiceError, _super);
6
+ function InternalServiceError(opts) {
7
+ var _this = _super.call(this, __assign({ name: "InternalServiceError", $fault: "server" }, opts)) || this;
8
+ _this.name = "InternalServiceError";
9
+ _this.$fault = "server";
10
+ Object.setPrototypeOf(_this, InternalServiceError.prototype);
11
+ _this.Message = opts.Message;
12
+ return _this;
14
13
  }
15
- }
16
- export class InvalidParameterException extends __BaseException {
17
- constructor(opts) {
18
- super({
19
- name: "InvalidParameterException",
20
- $fault: "client",
21
- ...opts,
22
- });
23
- this.name = "InvalidParameterException";
24
- this.$fault = "client";
25
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
26
- this.Message = opts.Message;
14
+ return InternalServiceError;
15
+ }(__BaseException));
16
+ export { InternalServiceError };
17
+ var InvalidParameterException = (function (_super) {
18
+ __extends(InvalidParameterException, _super);
19
+ function InvalidParameterException(opts) {
20
+ var _this = _super.call(this, __assign({ name: "InvalidParameterException", $fault: "client" }, opts)) || this;
21
+ _this.name = "InvalidParameterException";
22
+ _this.$fault = "client";
23
+ Object.setPrototypeOf(_this, InvalidParameterException.prototype);
24
+ _this.Message = opts.Message;
25
+ return _this;
27
26
  }
28
- }
29
- export class InvalidRequestException extends __BaseException {
30
- constructor(opts) {
31
- super({
32
- name: "InvalidRequestException",
33
- $fault: "client",
34
- ...opts,
35
- });
36
- this.name = "InvalidRequestException";
37
- this.$fault = "client";
38
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
39
- this.Message = opts.Message;
27
+ return InvalidParameterException;
28
+ }(__BaseException));
29
+ export { InvalidParameterException };
30
+ var InvalidRequestException = (function (_super) {
31
+ __extends(InvalidRequestException, _super);
32
+ function InvalidRequestException(opts) {
33
+ var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
34
+ _this.name = "InvalidRequestException";
35
+ _this.$fault = "client";
36
+ Object.setPrototypeOf(_this, InvalidRequestException.prototype);
37
+ _this.Message = opts.Message;
38
+ return _this;
40
39
  }
41
- }
42
- export class ResourceNotFoundException extends __BaseException {
43
- constructor(opts) {
44
- super({
45
- name: "ResourceNotFoundException",
46
- $fault: "client",
47
- ...opts,
48
- });
49
- this.name = "ResourceNotFoundException";
50
- this.$fault = "client";
51
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
52
- this.Message = opts.Message;
40
+ return InvalidRequestException;
41
+ }(__BaseException));
42
+ export { InvalidRequestException };
43
+ var ResourceNotFoundException = (function (_super) {
44
+ __extends(ResourceNotFoundException, _super);
45
+ function ResourceNotFoundException(opts) {
46
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
47
+ _this.name = "ResourceNotFoundException";
48
+ _this.$fault = "client";
49
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
50
+ _this.Message = opts.Message;
51
+ return _this;
53
52
  }
54
- }
53
+ return ResourceNotFoundException;
54
+ }(__BaseException));
55
+ export { ResourceNotFoundException };
55
56
  export var StatusType;
56
57
  (function (StatusType) {
57
58
  StatusType["Failed"] = "Failed";
58
59
  StatusType["InProgress"] = "InProgress";
59
60
  StatusType["InSync"] = "InSync";
60
61
  })(StatusType || (StatusType = {}));
61
- export class DecryptionFailure extends __BaseException {
62
- constructor(opts) {
63
- super({
64
- name: "DecryptionFailure",
65
- $fault: "client",
66
- ...opts,
67
- });
68
- this.name = "DecryptionFailure";
69
- this.$fault = "client";
70
- Object.setPrototypeOf(this, DecryptionFailure.prototype);
71
- this.Message = opts.Message;
62
+ var DecryptionFailure = (function (_super) {
63
+ __extends(DecryptionFailure, _super);
64
+ function DecryptionFailure(opts) {
65
+ var _this = _super.call(this, __assign({ name: "DecryptionFailure", $fault: "client" }, opts)) || this;
66
+ _this.name = "DecryptionFailure";
67
+ _this.$fault = "client";
68
+ Object.setPrototypeOf(_this, DecryptionFailure.prototype);
69
+ _this.Message = opts.Message;
70
+ return _this;
72
71
  }
73
- }
74
- export class EncryptionFailure extends __BaseException {
75
- constructor(opts) {
76
- super({
77
- name: "EncryptionFailure",
78
- $fault: "client",
79
- ...opts,
80
- });
81
- this.name = "EncryptionFailure";
82
- this.$fault = "client";
83
- Object.setPrototypeOf(this, EncryptionFailure.prototype);
84
- this.Message = opts.Message;
72
+ return DecryptionFailure;
73
+ }(__BaseException));
74
+ export { DecryptionFailure };
75
+ var EncryptionFailure = (function (_super) {
76
+ __extends(EncryptionFailure, _super);
77
+ function EncryptionFailure(opts) {
78
+ var _this = _super.call(this, __assign({ name: "EncryptionFailure", $fault: "client" }, opts)) || this;
79
+ _this.name = "EncryptionFailure";
80
+ _this.$fault = "client";
81
+ Object.setPrototypeOf(_this, EncryptionFailure.prototype);
82
+ _this.Message = opts.Message;
83
+ return _this;
85
84
  }
86
- }
87
- export class LimitExceededException extends __BaseException {
88
- constructor(opts) {
89
- super({
90
- name: "LimitExceededException",
91
- $fault: "client",
92
- ...opts,
93
- });
94
- this.name = "LimitExceededException";
95
- this.$fault = "client";
96
- Object.setPrototypeOf(this, LimitExceededException.prototype);
97
- this.Message = opts.Message;
85
+ return EncryptionFailure;
86
+ }(__BaseException));
87
+ export { EncryptionFailure };
88
+ var LimitExceededException = (function (_super) {
89
+ __extends(LimitExceededException, _super);
90
+ function LimitExceededException(opts) {
91
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
92
+ _this.name = "LimitExceededException";
93
+ _this.$fault = "client";
94
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
95
+ _this.Message = opts.Message;
96
+ return _this;
98
97
  }
99
- }
100
- export class MalformedPolicyDocumentException extends __BaseException {
101
- constructor(opts) {
102
- super({
103
- name: "MalformedPolicyDocumentException",
104
- $fault: "client",
105
- ...opts,
106
- });
107
- this.name = "MalformedPolicyDocumentException";
108
- this.$fault = "client";
109
- Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
110
- this.Message = opts.Message;
98
+ return LimitExceededException;
99
+ }(__BaseException));
100
+ export { LimitExceededException };
101
+ var MalformedPolicyDocumentException = (function (_super) {
102
+ __extends(MalformedPolicyDocumentException, _super);
103
+ function MalformedPolicyDocumentException(opts) {
104
+ var _this = _super.call(this, __assign({ name: "MalformedPolicyDocumentException", $fault: "client" }, opts)) || this;
105
+ _this.name = "MalformedPolicyDocumentException";
106
+ _this.$fault = "client";
107
+ Object.setPrototypeOf(_this, MalformedPolicyDocumentException.prototype);
108
+ _this.Message = opts.Message;
109
+ return _this;
111
110
  }
112
- }
113
- export class PreconditionNotMetException extends __BaseException {
114
- constructor(opts) {
115
- super({
116
- name: "PreconditionNotMetException",
117
- $fault: "client",
118
- ...opts,
119
- });
120
- this.name = "PreconditionNotMetException";
121
- this.$fault = "client";
122
- Object.setPrototypeOf(this, PreconditionNotMetException.prototype);
123
- this.Message = opts.Message;
111
+ return MalformedPolicyDocumentException;
112
+ }(__BaseException));
113
+ export { MalformedPolicyDocumentException };
114
+ var PreconditionNotMetException = (function (_super) {
115
+ __extends(PreconditionNotMetException, _super);
116
+ function PreconditionNotMetException(opts) {
117
+ var _this = _super.call(this, __assign({ name: "PreconditionNotMetException", $fault: "client" }, opts)) || this;
118
+ _this.name = "PreconditionNotMetException";
119
+ _this.$fault = "client";
120
+ Object.setPrototypeOf(_this, PreconditionNotMetException.prototype);
121
+ _this.Message = opts.Message;
122
+ return _this;
124
123
  }
125
- }
126
- export class ResourceExistsException extends __BaseException {
127
- constructor(opts) {
128
- super({
129
- name: "ResourceExistsException",
130
- $fault: "client",
131
- ...opts,
132
- });
133
- this.name = "ResourceExistsException";
134
- this.$fault = "client";
135
- Object.setPrototypeOf(this, ResourceExistsException.prototype);
136
- this.Message = opts.Message;
124
+ return PreconditionNotMetException;
125
+ }(__BaseException));
126
+ export { PreconditionNotMetException };
127
+ var ResourceExistsException = (function (_super) {
128
+ __extends(ResourceExistsException, _super);
129
+ function ResourceExistsException(opts) {
130
+ var _this = _super.call(this, __assign({ name: "ResourceExistsException", $fault: "client" }, opts)) || this;
131
+ _this.name = "ResourceExistsException";
132
+ _this.$fault = "client";
133
+ Object.setPrototypeOf(_this, ResourceExistsException.prototype);
134
+ _this.Message = opts.Message;
135
+ return _this;
137
136
  }
138
- }
137
+ return ResourceExistsException;
138
+ }(__BaseException));
139
+ export { ResourceExistsException };
139
140
  export var FilterNameStringType;
140
141
  (function (FilterNameStringType) {
141
142
  FilterNameStringType["all"] = "all";
@@ -145,193 +146,84 @@ export var FilterNameStringType;
145
146
  FilterNameStringType["tag_key"] = "tag-key";
146
147
  FilterNameStringType["tag_value"] = "tag-value";
147
148
  })(FilterNameStringType || (FilterNameStringType = {}));
148
- export class InvalidNextTokenException extends __BaseException {
149
- constructor(opts) {
150
- super({
151
- name: "InvalidNextTokenException",
152
- $fault: "client",
153
- ...opts,
154
- });
155
- this.name = "InvalidNextTokenException";
156
- this.$fault = "client";
157
- Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
158
- this.Message = opts.Message;
149
+ var InvalidNextTokenException = (function (_super) {
150
+ __extends(InvalidNextTokenException, _super);
151
+ function InvalidNextTokenException(opts) {
152
+ var _this = _super.call(this, __assign({ name: "InvalidNextTokenException", $fault: "client" }, opts)) || this;
153
+ _this.name = "InvalidNextTokenException";
154
+ _this.$fault = "client";
155
+ Object.setPrototypeOf(_this, InvalidNextTokenException.prototype);
156
+ _this.Message = opts.Message;
157
+ return _this;
159
158
  }
160
- }
159
+ return InvalidNextTokenException;
160
+ }(__BaseException));
161
+ export { InvalidNextTokenException };
161
162
  export var SortOrderType;
162
163
  (function (SortOrderType) {
163
164
  SortOrderType["asc"] = "asc";
164
165
  SortOrderType["desc"] = "desc";
165
166
  })(SortOrderType || (SortOrderType = {}));
166
- export class PublicPolicyException extends __BaseException {
167
- constructor(opts) {
168
- super({
169
- name: "PublicPolicyException",
170
- $fault: "client",
171
- ...opts,
172
- });
173
- this.name = "PublicPolicyException";
174
- this.$fault = "client";
175
- Object.setPrototypeOf(this, PublicPolicyException.prototype);
176
- this.Message = opts.Message;
167
+ var PublicPolicyException = (function (_super) {
168
+ __extends(PublicPolicyException, _super);
169
+ function PublicPolicyException(opts) {
170
+ var _this = _super.call(this, __assign({ name: "PublicPolicyException", $fault: "client" }, opts)) || this;
171
+ _this.name = "PublicPolicyException";
172
+ _this.$fault = "client";
173
+ Object.setPrototypeOf(_this, PublicPolicyException.prototype);
174
+ _this.Message = opts.Message;
175
+ return _this;
177
176
  }
178
- }
179
- export const ReplicaRegionTypeFilterSensitiveLog = (obj) => ({
180
- ...obj,
181
- });
182
- export const CancelRotateSecretRequestFilterSensitiveLog = (obj) => ({
183
- ...obj,
184
- });
185
- export const CancelRotateSecretResponseFilterSensitiveLog = (obj) => ({
186
- ...obj,
187
- });
188
- export const TagFilterSensitiveLog = (obj) => ({
189
- ...obj,
190
- });
191
- export const CreateSecretRequestFilterSensitiveLog = (obj) => ({
192
- ...obj,
193
- ...(obj.SecretBinary && { SecretBinary: SENSITIVE_STRING }),
194
- ...(obj.SecretString && { SecretString: SENSITIVE_STRING }),
195
- });
196
- export const ReplicationStatusTypeFilterSensitiveLog = (obj) => ({
197
- ...obj,
198
- });
199
- export const CreateSecretResponseFilterSensitiveLog = (obj) => ({
200
- ...obj,
201
- });
202
- export const DeleteResourcePolicyRequestFilterSensitiveLog = (obj) => ({
203
- ...obj,
204
- });
205
- export const DeleteResourcePolicyResponseFilterSensitiveLog = (obj) => ({
206
- ...obj,
207
- });
208
- export const DeleteSecretRequestFilterSensitiveLog = (obj) => ({
209
- ...obj,
210
- });
211
- export const DeleteSecretResponseFilterSensitiveLog = (obj) => ({
212
- ...obj,
213
- });
214
- export const DescribeSecretRequestFilterSensitiveLog = (obj) => ({
215
- ...obj,
216
- });
217
- export const RotationRulesTypeFilterSensitiveLog = (obj) => ({
218
- ...obj,
219
- });
220
- export const DescribeSecretResponseFilterSensitiveLog = (obj) => ({
221
- ...obj,
222
- });
223
- export const FilterFilterSensitiveLog = (obj) => ({
224
- ...obj,
225
- });
226
- export const GetRandomPasswordRequestFilterSensitiveLog = (obj) => ({
227
- ...obj,
228
- });
229
- export const GetRandomPasswordResponseFilterSensitiveLog = (obj) => ({
230
- ...obj,
231
- ...(obj.RandomPassword && { RandomPassword: SENSITIVE_STRING }),
232
- });
233
- export const GetResourcePolicyRequestFilterSensitiveLog = (obj) => ({
234
- ...obj,
235
- });
236
- export const GetResourcePolicyResponseFilterSensitiveLog = (obj) => ({
237
- ...obj,
238
- });
239
- export const GetSecretValueRequestFilterSensitiveLog = (obj) => ({
240
- ...obj,
241
- });
242
- export const GetSecretValueResponseFilterSensitiveLog = (obj) => ({
243
- ...obj,
244
- ...(obj.SecretBinary && { SecretBinary: SENSITIVE_STRING }),
245
- ...(obj.SecretString && { SecretString: SENSITIVE_STRING }),
246
- });
247
- export const ListSecretsRequestFilterSensitiveLog = (obj) => ({
248
- ...obj,
249
- });
250
- export const SecretListEntryFilterSensitiveLog = (obj) => ({
251
- ...obj,
252
- });
253
- export const ListSecretsResponseFilterSensitiveLog = (obj) => ({
254
- ...obj,
255
- });
256
- export const ListSecretVersionIdsRequestFilterSensitiveLog = (obj) => ({
257
- ...obj,
258
- });
259
- export const SecretVersionsListEntryFilterSensitiveLog = (obj) => ({
260
- ...obj,
261
- });
262
- export const ListSecretVersionIdsResponseFilterSensitiveLog = (obj) => ({
263
- ...obj,
264
- });
265
- export const PutResourcePolicyRequestFilterSensitiveLog = (obj) => ({
266
- ...obj,
267
- });
268
- export const PutResourcePolicyResponseFilterSensitiveLog = (obj) => ({
269
- ...obj,
270
- });
271
- export const PutSecretValueRequestFilterSensitiveLog = (obj) => ({
272
- ...obj,
273
- ...(obj.SecretBinary && { SecretBinary: SENSITIVE_STRING }),
274
- ...(obj.SecretString && { SecretString: SENSITIVE_STRING }),
275
- });
276
- export const PutSecretValueResponseFilterSensitiveLog = (obj) => ({
277
- ...obj,
278
- });
279
- export const RemoveRegionsFromReplicationRequestFilterSensitiveLog = (obj) => ({
280
- ...obj,
281
- });
282
- export const RemoveRegionsFromReplicationResponseFilterSensitiveLog = (obj) => ({
283
- ...obj,
284
- });
285
- export const ReplicateSecretToRegionsRequestFilterSensitiveLog = (obj) => ({
286
- ...obj,
287
- });
288
- export const ReplicateSecretToRegionsResponseFilterSensitiveLog = (obj) => ({
289
- ...obj,
290
- });
291
- export const RestoreSecretRequestFilterSensitiveLog = (obj) => ({
292
- ...obj,
293
- });
294
- export const RestoreSecretResponseFilterSensitiveLog = (obj) => ({
295
- ...obj,
296
- });
297
- export const RotateSecretRequestFilterSensitiveLog = (obj) => ({
298
- ...obj,
299
- });
300
- export const RotateSecretResponseFilterSensitiveLog = (obj) => ({
301
- ...obj,
302
- });
303
- export const StopReplicationToReplicaRequestFilterSensitiveLog = (obj) => ({
304
- ...obj,
305
- });
306
- export const StopReplicationToReplicaResponseFilterSensitiveLog = (obj) => ({
307
- ...obj,
308
- });
309
- export const TagResourceRequestFilterSensitiveLog = (obj) => ({
310
- ...obj,
311
- });
312
- export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
313
- ...obj,
314
- });
315
- export const UpdateSecretRequestFilterSensitiveLog = (obj) => ({
316
- ...obj,
317
- ...(obj.SecretBinary && { SecretBinary: SENSITIVE_STRING }),
318
- ...(obj.SecretString && { SecretString: SENSITIVE_STRING }),
319
- });
320
- export const UpdateSecretResponseFilterSensitiveLog = (obj) => ({
321
- ...obj,
322
- });
323
- export const UpdateSecretVersionStageRequestFilterSensitiveLog = (obj) => ({
324
- ...obj,
325
- });
326
- export const UpdateSecretVersionStageResponseFilterSensitiveLog = (obj) => ({
327
- ...obj,
328
- });
329
- export const ValidateResourcePolicyRequestFilterSensitiveLog = (obj) => ({
330
- ...obj,
331
- });
332
- export const ValidationErrorsEntryFilterSensitiveLog = (obj) => ({
333
- ...obj,
334
- });
335
- export const ValidateResourcePolicyResponseFilterSensitiveLog = (obj) => ({
336
- ...obj,
337
- });
177
+ return PublicPolicyException;
178
+ }(__BaseException));
179
+ export { PublicPolicyException };
180
+ export var ReplicaRegionTypeFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
181
+ export var CancelRotateSecretRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
182
+ export var CancelRotateSecretResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
183
+ export var TagFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
184
+ export var CreateSecretRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.SecretBinary && { SecretBinary: SENSITIVE_STRING })), (obj.SecretString && { SecretString: SENSITIVE_STRING }))); };
185
+ export var ReplicationStatusTypeFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
186
+ export var CreateSecretResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
187
+ export var DeleteResourcePolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
188
+ export var DeleteResourcePolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
189
+ export var DeleteSecretRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
190
+ export var DeleteSecretResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
191
+ export var DescribeSecretRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
192
+ export var RotationRulesTypeFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
193
+ export var DescribeSecretResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
194
+ export var FilterFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
195
+ export var GetRandomPasswordRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
196
+ export var GetRandomPasswordResponseFilterSensitiveLog = function (obj) { return (__assign(__assign({}, obj), (obj.RandomPassword && { RandomPassword: SENSITIVE_STRING }))); };
197
+ export var GetResourcePolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
198
+ export var GetResourcePolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
199
+ export var GetSecretValueRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
200
+ export var GetSecretValueResponseFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.SecretBinary && { SecretBinary: SENSITIVE_STRING })), (obj.SecretString && { SecretString: SENSITIVE_STRING }))); };
201
+ export var ListSecretsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
202
+ export var SecretListEntryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
203
+ export var ListSecretsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
204
+ export var ListSecretVersionIdsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
205
+ export var SecretVersionsListEntryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
206
+ export var ListSecretVersionIdsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
207
+ export var PutResourcePolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
208
+ export var PutResourcePolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
209
+ export var PutSecretValueRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.SecretBinary && { SecretBinary: SENSITIVE_STRING })), (obj.SecretString && { SecretString: SENSITIVE_STRING }))); };
210
+ export var PutSecretValueResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
211
+ export var RemoveRegionsFromReplicationRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
212
+ export var RemoveRegionsFromReplicationResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
213
+ export var ReplicateSecretToRegionsRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
214
+ export var ReplicateSecretToRegionsResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
215
+ export var RestoreSecretRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
216
+ export var RestoreSecretResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
217
+ export var RotateSecretRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
218
+ export var RotateSecretResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
219
+ export var StopReplicationToReplicaRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
220
+ export var StopReplicationToReplicaResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
221
+ export var TagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
222
+ export var UntagResourceRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
223
+ export var UpdateSecretRequestFilterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.SecretBinary && { SecretBinary: SENSITIVE_STRING })), (obj.SecretString && { SecretString: SENSITIVE_STRING }))); };
224
+ export var UpdateSecretResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
225
+ export var UpdateSecretVersionStageRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
226
+ export var UpdateSecretVersionStageResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
227
+ export var ValidateResourcePolicyRequestFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
228
+ export var ValidationErrorsEntryFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };
229
+ export var ValidateResourcePolicyResponseFilterSensitiveLog = function (obj) { return (__assign({}, obj)); };