@aws-sdk/client-secrets-manager 3.52.0 → 3.53.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/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./SecretsManagerClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { SecretsManagerServiceException } from "./models/SecretsManagerServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
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;
9
+ }
10
+ return SecretsManagerServiceException;
11
+ }(__ServiceException));
12
+ export { SecretsManagerServiceException };
@@ -1,5 +1,6 @@
1
- import { __assign } from "tslib";
1
+ import { __assign, __extends } from "tslib";
2
2
  import { SENSITIVE_STRING } from "@aws-sdk/smithy-client";
3
+ import { SecretsManagerServiceException as __BaseException } from "./SecretsManagerServiceException";
3
4
  export var ReplicaRegionType;
4
5
  (function (ReplicaRegionType) {
5
6
  ReplicaRegionType.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -12,6 +13,58 @@ export var CancelRotateSecretResponse;
12
13
  (function (CancelRotateSecretResponse) {
13
14
  CancelRotateSecretResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
14
15
  })(CancelRotateSecretResponse || (CancelRotateSecretResponse = {}));
16
+ var InternalServiceError = (function (_super) {
17
+ __extends(InternalServiceError, _super);
18
+ function InternalServiceError(opts) {
19
+ var _this = _super.call(this, __assign({ name: "InternalServiceError", $fault: "server" }, opts)) || this;
20
+ _this.name = "InternalServiceError";
21
+ _this.$fault = "server";
22
+ Object.setPrototypeOf(_this, InternalServiceError.prototype);
23
+ _this.Message = opts.Message;
24
+ return _this;
25
+ }
26
+ return InternalServiceError;
27
+ }(__BaseException));
28
+ export { InternalServiceError };
29
+ var InvalidParameterException = (function (_super) {
30
+ __extends(InvalidParameterException, _super);
31
+ function InvalidParameterException(opts) {
32
+ var _this = _super.call(this, __assign({ name: "InvalidParameterException", $fault: "client" }, opts)) || this;
33
+ _this.name = "InvalidParameterException";
34
+ _this.$fault = "client";
35
+ Object.setPrototypeOf(_this, InvalidParameterException.prototype);
36
+ _this.Message = opts.Message;
37
+ return _this;
38
+ }
39
+ return InvalidParameterException;
40
+ }(__BaseException));
41
+ export { InvalidParameterException };
42
+ var InvalidRequestException = (function (_super) {
43
+ __extends(InvalidRequestException, _super);
44
+ function InvalidRequestException(opts) {
45
+ var _this = _super.call(this, __assign({ name: "InvalidRequestException", $fault: "client" }, opts)) || this;
46
+ _this.name = "InvalidRequestException";
47
+ _this.$fault = "client";
48
+ Object.setPrototypeOf(_this, InvalidRequestException.prototype);
49
+ _this.Message = opts.Message;
50
+ return _this;
51
+ }
52
+ return InvalidRequestException;
53
+ }(__BaseException));
54
+ export { InvalidRequestException };
55
+ var ResourceNotFoundException = (function (_super) {
56
+ __extends(ResourceNotFoundException, _super);
57
+ function ResourceNotFoundException(opts) {
58
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
59
+ _this.name = "ResourceNotFoundException";
60
+ _this.$fault = "client";
61
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
62
+ _this.Message = opts.Message;
63
+ return _this;
64
+ }
65
+ return ResourceNotFoundException;
66
+ }(__BaseException));
67
+ export { ResourceNotFoundException };
15
68
  export var Tag;
16
69
  (function (Tag) {
17
70
  Tag.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -34,6 +87,84 @@ export var CreateSecretResponse;
34
87
  (function (CreateSecretResponse) {
35
88
  CreateSecretResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
36
89
  })(CreateSecretResponse || (CreateSecretResponse = {}));
90
+ var DecryptionFailure = (function (_super) {
91
+ __extends(DecryptionFailure, _super);
92
+ function DecryptionFailure(opts) {
93
+ var _this = _super.call(this, __assign({ name: "DecryptionFailure", $fault: "client" }, opts)) || this;
94
+ _this.name = "DecryptionFailure";
95
+ _this.$fault = "client";
96
+ Object.setPrototypeOf(_this, DecryptionFailure.prototype);
97
+ _this.Message = opts.Message;
98
+ return _this;
99
+ }
100
+ return DecryptionFailure;
101
+ }(__BaseException));
102
+ export { DecryptionFailure };
103
+ var EncryptionFailure = (function (_super) {
104
+ __extends(EncryptionFailure, _super);
105
+ function EncryptionFailure(opts) {
106
+ var _this = _super.call(this, __assign({ name: "EncryptionFailure", $fault: "client" }, opts)) || this;
107
+ _this.name = "EncryptionFailure";
108
+ _this.$fault = "client";
109
+ Object.setPrototypeOf(_this, EncryptionFailure.prototype);
110
+ _this.Message = opts.Message;
111
+ return _this;
112
+ }
113
+ return EncryptionFailure;
114
+ }(__BaseException));
115
+ export { EncryptionFailure };
116
+ var LimitExceededException = (function (_super) {
117
+ __extends(LimitExceededException, _super);
118
+ function LimitExceededException(opts) {
119
+ var _this = _super.call(this, __assign({ name: "LimitExceededException", $fault: "client" }, opts)) || this;
120
+ _this.name = "LimitExceededException";
121
+ _this.$fault = "client";
122
+ Object.setPrototypeOf(_this, LimitExceededException.prototype);
123
+ _this.Message = opts.Message;
124
+ return _this;
125
+ }
126
+ return LimitExceededException;
127
+ }(__BaseException));
128
+ export { LimitExceededException };
129
+ var MalformedPolicyDocumentException = (function (_super) {
130
+ __extends(MalformedPolicyDocumentException, _super);
131
+ function MalformedPolicyDocumentException(opts) {
132
+ var _this = _super.call(this, __assign({ name: "MalformedPolicyDocumentException", $fault: "client" }, opts)) || this;
133
+ _this.name = "MalformedPolicyDocumentException";
134
+ _this.$fault = "client";
135
+ Object.setPrototypeOf(_this, MalformedPolicyDocumentException.prototype);
136
+ _this.Message = opts.Message;
137
+ return _this;
138
+ }
139
+ return MalformedPolicyDocumentException;
140
+ }(__BaseException));
141
+ export { MalformedPolicyDocumentException };
142
+ var PreconditionNotMetException = (function (_super) {
143
+ __extends(PreconditionNotMetException, _super);
144
+ function PreconditionNotMetException(opts) {
145
+ var _this = _super.call(this, __assign({ name: "PreconditionNotMetException", $fault: "client" }, opts)) || this;
146
+ _this.name = "PreconditionNotMetException";
147
+ _this.$fault = "client";
148
+ Object.setPrototypeOf(_this, PreconditionNotMetException.prototype);
149
+ _this.Message = opts.Message;
150
+ return _this;
151
+ }
152
+ return PreconditionNotMetException;
153
+ }(__BaseException));
154
+ export { PreconditionNotMetException };
155
+ var ResourceExistsException = (function (_super) {
156
+ __extends(ResourceExistsException, _super);
157
+ function ResourceExistsException(opts) {
158
+ var _this = _super.call(this, __assign({ name: "ResourceExistsException", $fault: "client" }, opts)) || this;
159
+ _this.name = "ResourceExistsException";
160
+ _this.$fault = "client";
161
+ Object.setPrototypeOf(_this, ResourceExistsException.prototype);
162
+ _this.Message = opts.Message;
163
+ return _this;
164
+ }
165
+ return ResourceExistsException;
166
+ }(__BaseException));
167
+ export { ResourceExistsException };
37
168
  export var DeleteResourcePolicyRequest;
38
169
  (function (DeleteResourcePolicyRequest) {
39
170
  DeleteResourcePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -90,6 +221,19 @@ export var GetSecretValueResponse;
90
221
  (function (GetSecretValueResponse) {
91
222
  GetSecretValueResponse.filterSensitiveLog = function (obj) { return (__assign(__assign(__assign({}, obj), (obj.SecretBinary && { SecretBinary: SENSITIVE_STRING })), (obj.SecretString && { SecretString: SENSITIVE_STRING }))); };
92
223
  })(GetSecretValueResponse || (GetSecretValueResponse = {}));
224
+ var InvalidNextTokenException = (function (_super) {
225
+ __extends(InvalidNextTokenException, _super);
226
+ function InvalidNextTokenException(opts) {
227
+ var _this = _super.call(this, __assign({ name: "InvalidNextTokenException", $fault: "client" }, opts)) || this;
228
+ _this.name = "InvalidNextTokenException";
229
+ _this.$fault = "client";
230
+ Object.setPrototypeOf(_this, InvalidNextTokenException.prototype);
231
+ _this.Message = opts.Message;
232
+ return _this;
233
+ }
234
+ return InvalidNextTokenException;
235
+ }(__BaseException));
236
+ export { InvalidNextTokenException };
93
237
  export var SortOrderType;
94
238
  (function (SortOrderType) {
95
239
  SortOrderType["asc"] = "asc";
@@ -119,6 +263,19 @@ export var ListSecretVersionIdsResponse;
119
263
  (function (ListSecretVersionIdsResponse) {
120
264
  ListSecretVersionIdsResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
121
265
  })(ListSecretVersionIdsResponse || (ListSecretVersionIdsResponse = {}));
266
+ var PublicPolicyException = (function (_super) {
267
+ __extends(PublicPolicyException, _super);
268
+ function PublicPolicyException(opts) {
269
+ var _this = _super.call(this, __assign({ name: "PublicPolicyException", $fault: "client" }, opts)) || this;
270
+ _this.name = "PublicPolicyException";
271
+ _this.$fault = "client";
272
+ Object.setPrototypeOf(_this, PublicPolicyException.prototype);
273
+ _this.Message = opts.Message;
274
+ return _this;
275
+ }
276
+ return PublicPolicyException;
277
+ }(__BaseException));
278
+ export { PublicPolicyException };
122
279
  export var PutResourcePolicyRequest;
123
280
  (function (PutResourcePolicyRequest) {
124
281
  PutResourcePolicyRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };