@aws-sdk/client-secrets-manager 3.933.0 → 3.935.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 (43) hide show
  1. package/dist-cjs/index.js +72 -29
  2. package/dist-es/index.js +2 -1
  3. package/dist-es/models/enums.js +18 -0
  4. package/dist-es/models/errors.js +169 -0
  5. package/dist-es/models/models_0.js +1 -187
  6. package/dist-es/schemas/schemas_0.js +54 -12
  7. package/dist-types/commands/BatchGetSecretValueCommand.d.ts +17 -6
  8. package/dist-types/commands/CancelRotateSecretCommand.d.ts +11 -13
  9. package/dist-types/commands/CreateSecretCommand.d.ts +40 -30
  10. package/dist-types/commands/DeleteResourcePolicyCommand.d.ts +5 -5
  11. package/dist-types/commands/DeleteSecretCommand.d.ts +25 -23
  12. package/dist-types/commands/DescribeSecretCommand.d.ts +13 -5
  13. package/dist-types/commands/GetRandomPasswordCommand.d.ts +10 -7
  14. package/dist-types/commands/GetResourcePolicyCommand.d.ts +5 -7
  15. package/dist-types/commands/GetSecretValueCommand.d.ts +12 -12
  16. package/dist-types/commands/ListSecretVersionIdsCommand.d.ts +6 -6
  17. package/dist-types/commands/ListSecretsCommand.d.ts +20 -7
  18. package/dist-types/commands/PutResourcePolicyCommand.d.ts +5 -6
  19. package/dist-types/commands/PutSecretValueCommand.d.ts +29 -25
  20. package/dist-types/commands/RemoveRegionsFromReplicationCommand.d.ts +5 -3
  21. package/dist-types/commands/ReplicateSecretToRegionsCommand.d.ts +8 -3
  22. package/dist-types/commands/RestoreSecretCommand.d.ts +5 -5
  23. package/dist-types/commands/RotateSecretCommand.d.ts +28 -13
  24. package/dist-types/commands/StopReplicationToReplicaCommand.d.ts +7 -5
  25. package/dist-types/commands/TagResourceCommand.d.ts +12 -11
  26. package/dist-types/commands/UntagResourceCommand.d.ts +8 -8
  27. package/dist-types/commands/UpdateSecretCommand.d.ts +35 -24
  28. package/dist-types/commands/UpdateSecretVersionStageCommand.d.ts +19 -16
  29. package/dist-types/commands/ValidateResourcePolicyCommand.d.ts +8 -6
  30. package/dist-types/index.d.ts +3 -1
  31. package/dist-types/models/enums.d.ts +42 -0
  32. package/dist-types/models/errors.d.ts +175 -0
  33. package/dist-types/models/models_0.d.ts +582 -588
  34. package/dist-types/schemas/schemas_0.d.ts +2 -0
  35. package/dist-types/ts3.4/index.d.ts +3 -1
  36. package/dist-types/ts3.4/models/enums.d.ts +22 -0
  37. package/dist-types/ts3.4/models/errors.d.ts +97 -0
  38. package/dist-types/ts3.4/models/models_0.d.ts +21 -119
  39. package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
  40. package/package.json +12 -12
  41. package/dist-es/models/index.js +0 -1
  42. package/dist-types/models/index.d.ts +0 -1
  43. package/dist-types/ts3.4/models/index.d.ts +0 -1
package/dist-cjs/index.js CHANGED
@@ -117,15 +117,6 @@ let SecretsManagerServiceException$1 = class SecretsManagerServiceException exte
117
117
  }
118
118
  };
119
119
 
120
- const FilterNameStringType = {
121
- all: "all",
122
- description: "description",
123
- name: "name",
124
- owning_service: "owning-service",
125
- primary_region: "primary-region",
126
- tag_key: "tag-key",
127
- tag_value: "tag-value",
128
- };
129
120
  let DecryptionFailure$1 = class DecryptionFailure extends SecretsManagerServiceException$1 {
130
121
  name = "DecryptionFailure";
131
122
  $fault = "client";
@@ -210,11 +201,6 @@ let ResourceNotFoundException$1 = class ResourceNotFoundException extends Secret
210
201
  this.Message = opts.Message;
211
202
  }
212
203
  };
213
- const StatusType = {
214
- Failed: "Failed",
215
- InProgress: "InProgress",
216
- InSync: "InSync",
217
- };
218
204
  let EncryptionFailure$1 = class EncryptionFailure extends SecretsManagerServiceException$1 {
219
205
  name = "EncryptionFailure";
220
206
  $fault = "client";
@@ -285,10 +271,6 @@ let ResourceExistsException$1 = class ResourceExistsException extends SecretsMan
285
271
  this.Message = opts.Message;
286
272
  }
287
273
  };
288
- const SortOrderType = {
289
- asc: "asc",
290
- desc: "desc",
291
- };
292
274
  let PublicPolicyException$1 = class PublicPolicyException extends SecretsManagerServiceException$1 {
293
275
  name = "PublicPolicyException";
294
276
  $fault = "client";
@@ -345,6 +327,10 @@ const _EL = "ExcludeLowercase";
345
327
  const _EM = "ErrorMessage";
346
328
  const _EN = "ExcludeNumbers";
347
329
  const _EP = "ExcludePunctuation";
330
+ const _ESRM = "ExternalSecretRotationMetadata";
331
+ const _ESRMI = "ExternalSecretRotationMetadataItem";
332
+ const _ESRMT = "ExternalSecretRotationMetadataType";
333
+ const _ESRRA = "ExternalSecretRotationRoleArn";
348
334
  const _EU = "ExcludeUppercase";
349
335
  const _F = "Filters";
350
336
  const _FDWR = "ForceDeleteWithoutRecovery";
@@ -461,6 +447,7 @@ const _TLT = "TagListType";
461
447
  const _TR = "TagResource";
462
448
  const _TRR = "TagResourceRequest";
463
449
  const _Ta = "Tag";
450
+ const _Ty = "Type";
464
451
  const _UR = "UntagResource";
465
452
  const _URR = "UntagResourceRequest";
466
453
  const _US = "UpdateSecret";
@@ -469,7 +456,7 @@ const _USRp = "UpdateSecretResponse";
469
456
  const _USVS = "UpdateSecretVersionStage";
470
457
  const _USVSR = "UpdateSecretVersionStageRequest";
471
458
  const _USVSRp = "UpdateSecretVersionStageResponse";
472
- const _V = "Values";
459
+ const _V = "Value";
473
460
  const _VE = "ValidationErrors";
474
461
  const _VEE = "ValidationErrorsEntry";
475
462
  const _VET = "ValidationErrorsType";
@@ -480,7 +467,7 @@ const _VRPR = "ValidateResourcePolicyRequest";
480
467
  const _VRPRa = "ValidateResourcePolicyResponse";
481
468
  const _VS = "VersionStage";
482
469
  const _VSe = "VersionStages";
483
- const _Va = "Value";
470
+ const _Va = "Values";
484
471
  const _Ve = "Versions";
485
472
  const _c = "client";
486
473
  const _e = "error";
@@ -515,7 +502,7 @@ var CreateSecretRequest = [
515
502
  n0,
516
503
  _CSR,
517
504
  0,
518
- [_N, _CRT, _D, _KKI, _SB, _SS, _T, _ARR, _FORS],
505
+ [_N, _CRT, _D, _KKI, _SB, _SS, _T, _ARR, _FORS, _Ty],
519
506
  [
520
507
  0,
521
508
  [0, 4],
@@ -526,6 +513,7 @@ var CreateSecretRequest = [
526
513
  () => TagListType,
527
514
  () => AddReplicaRegionListType,
528
515
  2,
516
+ 0,
529
517
  ],
530
518
  ];
531
519
  var CreateSecretResponse = [
@@ -557,15 +545,40 @@ var DescribeSecretResponse = [
557
545
  n0,
558
546
  _DSResc,
559
547
  0,
560
- [_ARN, _N, _D, _KKI, _RE, _RLARN, _RR, _LRD, _LCD, _LAD, _DDe, _NRD, _T, _VITS, _OS, _CD, _PR, _RS],
548
+ [
549
+ _ARN,
550
+ _N,
551
+ _Ty,
552
+ _D,
553
+ _KKI,
554
+ _RE,
555
+ _RLARN,
556
+ _RR,
557
+ _ESRM,
558
+ _ESRRA,
559
+ _LRD,
560
+ _LCD,
561
+ _LAD,
562
+ _DDe,
563
+ _NRD,
564
+ _T,
565
+ _VITS,
566
+ _OS,
567
+ _CD,
568
+ _PR,
569
+ _RS,
570
+ ],
561
571
  [
562
572
  0,
563
573
  0,
564
574
  0,
565
575
  0,
576
+ 0,
566
577
  2,
567
578
  0,
568
579
  () => RotationRulesType,
580
+ () => ExternalSecretRotationMetadataType,
581
+ 0,
569
582
  4,
570
583
  4,
571
584
  4,
@@ -590,7 +603,8 @@ var EncryptionFailure = [
590
603
  [0],
591
604
  ];
592
605
  schema.TypeRegistry.for(n0).registerError(EncryptionFailure, EncryptionFailure$1);
593
- var Filter = [3, n0, _Fi, 0, [_K, _V], [0, 64 | 0]];
606
+ var ExternalSecretRotationMetadataItem = [3, n0, _ESRMI, 0, [_K, _V], [0, 0]];
607
+ var Filter = [3, n0, _Fi, 0, [_K, _Va], [0, 64 | 0]];
594
608
  var GetRandomPasswordRequest = [
595
609
  3,
596
610
  n0,
@@ -791,8 +805,8 @@ var RotateSecretRequest = [
791
805
  n0,
792
806
  _RSRo,
793
807
  0,
794
- [_SI, _CRT, _RLARN, _RR, _RI],
795
- [0, [0, 4], 0, () => RotationRulesType, 2],
808
+ [_SI, _CRT, _RLARN, _RR, _ESRM, _ESRRA, _RI],
809
+ [0, [0, 4], 0, () => RotationRulesType, () => ExternalSecretRotationMetadataType, 0, 2],
796
810
  ];
797
811
  var RotateSecretResponse = [3, n0, _RSRot, 0, [_ARN, _N, _VI], [0, 0, 0]];
798
812
  var RotationRulesType = [3, n0, _RRTo, 0, [_AAD, _Du, _SE], [1, 0, 0]];
@@ -801,15 +815,18 @@ var SecretListEntry = [
801
815
  n0,
802
816
  _SLE,
803
817
  0,
804
- [_ARN, _N, _D, _KKI, _RE, _RLARN, _RR, _LRD, _LCD, _LAD, _DDe, _NRD, _T, _SVTS, _OS, _CD, _PR],
818
+ [_ARN, _N, _Ty, _D, _KKI, _RE, _RLARN, _RR, _ESRM, _ESRRA, _LRD, _LCD, _LAD, _DDe, _NRD, _T, _SVTS, _OS, _CD, _PR],
805
819
  [
806
820
  0,
807
821
  0,
808
822
  0,
809
823
  0,
824
+ 0,
810
825
  2,
811
826
  0,
812
827
  () => RotationRulesType,
828
+ () => ExternalSecretRotationMetadataType,
829
+ 0,
813
830
  4,
814
831
  4,
815
832
  4,
@@ -840,7 +857,7 @@ var SecretVersionsListEntry = [
840
857
  ];
841
858
  var StopReplicationToReplicaRequest = [3, n0, _SRTRR, 0, [_SI], [0]];
842
859
  var StopReplicationToReplicaResponse = [3, n0, _SRTRRt, 0, [_ARN], [0]];
843
- var Tag = [3, n0, _Ta, 0, [_K, _Va], [0, 0]];
860
+ var Tag = [3, n0, _Ta, 0, [_K, _V], [0, 0]];
844
861
  var TagResourceRequest = [3, n0, _TRR, 0, [_SI, _T], [0, () => TagListType]];
845
862
  var UntagResourceRequest = [3, n0, _URR, 0, [_SI, _TK], [0, 64 | 0]];
846
863
  var UpdateSecretRequest = [
@@ -848,8 +865,8 @@ var UpdateSecretRequest = [
848
865
  n0,
849
866
  _USR,
850
867
  0,
851
- [_SI, _CRT, _D, _KKI, _SB, _SS],
852
- [0, [0, 4], 0, 0, [() => SecretBinaryType, 0], [() => SecretStringType, 0]],
868
+ [_SI, _CRT, _D, _KKI, _SB, _SS, _Ty],
869
+ [0, [0, 4], 0, 0, [() => SecretBinaryType, 0], [() => SecretStringType, 0], 0],
853
870
  ];
854
871
  var UpdateSecretResponse = [3, n0, _USRp, 0, [_ARN, _N, _VI], [0, 0, 0]];
855
872
  var UpdateSecretVersionStageRequest = [
@@ -876,6 +893,13 @@ var SecretsManagerServiceException = [-3, _sm, "SecretsManagerServiceException",
876
893
  schema.TypeRegistry.for(_sm).registerError(SecretsManagerServiceException, SecretsManagerServiceException$1);
877
894
  var AddReplicaRegionListType = [1, n0, _ARRLT, 0, () => ReplicaRegionType];
878
895
  var APIErrorListType = [1, n0, _APIELT, 0, () => APIErrorType];
896
+ var ExternalSecretRotationMetadataType = [
897
+ 1,
898
+ n0,
899
+ _ESRMT,
900
+ 0,
901
+ () => ExternalSecretRotationMetadataItem,
902
+ ];
879
903
  var FiltersListType = [1, n0, _FLT, 0, () => Filter];
880
904
  var ReplicationStatusListType = [1, n0, _RSLT, 0, () => ReplicationStatusType];
881
905
  var SecretListType = [1, n0, _SLT, 0, () => SecretListEntry];
@@ -1337,6 +1361,25 @@ const paginateListSecretVersionIds = core.createPaginator(SecretsManagerClient,
1337
1361
 
1338
1362
  const paginateListSecrets = core.createPaginator(SecretsManagerClient, ListSecretsCommand, "NextToken", "NextToken", "MaxResults");
1339
1363
 
1364
+ const FilterNameStringType = {
1365
+ all: "all",
1366
+ description: "description",
1367
+ name: "name",
1368
+ owning_service: "owning-service",
1369
+ primary_region: "primary-region",
1370
+ tag_key: "tag-key",
1371
+ tag_value: "tag-value",
1372
+ };
1373
+ const StatusType = {
1374
+ Failed: "Failed",
1375
+ InProgress: "InProgress",
1376
+ InSync: "InSync",
1377
+ };
1378
+ const SortOrderType = {
1379
+ asc: "asc",
1380
+ desc: "desc",
1381
+ };
1382
+
1340
1383
  Object.defineProperty(exports, "$Command", {
1341
1384
  enumerable: true,
1342
1385
  get: function () { return smithyClient.Command; }
package/dist-es/index.js CHANGED
@@ -2,5 +2,6 @@ export * from "./SecretsManagerClient";
2
2
  export * from "./SecretsManager";
3
3
  export * from "./commands";
4
4
  export * from "./pagination";
5
- export * from "./models";
5
+ export * from "./models/enums";
6
+ export * from "./models/errors";
6
7
  export { SecretsManagerServiceException } from "./models/SecretsManagerServiceException";
@@ -0,0 +1,18 @@
1
+ export const FilterNameStringType = {
2
+ all: "all",
3
+ description: "description",
4
+ name: "name",
5
+ owning_service: "owning-service",
6
+ primary_region: "primary-region",
7
+ tag_key: "tag-key",
8
+ tag_value: "tag-value",
9
+ };
10
+ export const StatusType = {
11
+ Failed: "Failed",
12
+ InProgress: "InProgress",
13
+ InSync: "InSync",
14
+ };
15
+ export const SortOrderType = {
16
+ asc: "asc",
17
+ desc: "desc",
18
+ };
@@ -0,0 +1,169 @@
1
+ import { SecretsManagerServiceException as __BaseException } from "./SecretsManagerServiceException";
2
+ export class DecryptionFailure extends __BaseException {
3
+ name = "DecryptionFailure";
4
+ $fault = "client";
5
+ Message;
6
+ constructor(opts) {
7
+ super({
8
+ name: "DecryptionFailure",
9
+ $fault: "client",
10
+ ...opts,
11
+ });
12
+ Object.setPrototypeOf(this, DecryptionFailure.prototype);
13
+ this.Message = opts.Message;
14
+ }
15
+ }
16
+ export class InternalServiceError extends __BaseException {
17
+ name = "InternalServiceError";
18
+ $fault = "server";
19
+ Message;
20
+ constructor(opts) {
21
+ super({
22
+ name: "InternalServiceError",
23
+ $fault: "server",
24
+ ...opts,
25
+ });
26
+ Object.setPrototypeOf(this, InternalServiceError.prototype);
27
+ this.Message = opts.Message;
28
+ }
29
+ }
30
+ export class InvalidNextTokenException extends __BaseException {
31
+ name = "InvalidNextTokenException";
32
+ $fault = "client";
33
+ Message;
34
+ constructor(opts) {
35
+ super({
36
+ name: "InvalidNextTokenException",
37
+ $fault: "client",
38
+ ...opts,
39
+ });
40
+ Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
41
+ this.Message = opts.Message;
42
+ }
43
+ }
44
+ export class InvalidParameterException extends __BaseException {
45
+ name = "InvalidParameterException";
46
+ $fault = "client";
47
+ Message;
48
+ constructor(opts) {
49
+ super({
50
+ name: "InvalidParameterException",
51
+ $fault: "client",
52
+ ...opts,
53
+ });
54
+ Object.setPrototypeOf(this, InvalidParameterException.prototype);
55
+ this.Message = opts.Message;
56
+ }
57
+ }
58
+ export class InvalidRequestException extends __BaseException {
59
+ name = "InvalidRequestException";
60
+ $fault = "client";
61
+ Message;
62
+ constructor(opts) {
63
+ super({
64
+ name: "InvalidRequestException",
65
+ $fault: "client",
66
+ ...opts,
67
+ });
68
+ Object.setPrototypeOf(this, InvalidRequestException.prototype);
69
+ this.Message = opts.Message;
70
+ }
71
+ }
72
+ export class ResourceNotFoundException extends __BaseException {
73
+ name = "ResourceNotFoundException";
74
+ $fault = "client";
75
+ Message;
76
+ constructor(opts) {
77
+ super({
78
+ name: "ResourceNotFoundException",
79
+ $fault: "client",
80
+ ...opts,
81
+ });
82
+ Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
83
+ this.Message = opts.Message;
84
+ }
85
+ }
86
+ export class EncryptionFailure extends __BaseException {
87
+ name = "EncryptionFailure";
88
+ $fault = "client";
89
+ Message;
90
+ constructor(opts) {
91
+ super({
92
+ name: "EncryptionFailure",
93
+ $fault: "client",
94
+ ...opts,
95
+ });
96
+ Object.setPrototypeOf(this, EncryptionFailure.prototype);
97
+ this.Message = opts.Message;
98
+ }
99
+ }
100
+ export class LimitExceededException extends __BaseException {
101
+ name = "LimitExceededException";
102
+ $fault = "client";
103
+ Message;
104
+ constructor(opts) {
105
+ super({
106
+ name: "LimitExceededException",
107
+ $fault: "client",
108
+ ...opts,
109
+ });
110
+ Object.setPrototypeOf(this, LimitExceededException.prototype);
111
+ this.Message = opts.Message;
112
+ }
113
+ }
114
+ export class MalformedPolicyDocumentException extends __BaseException {
115
+ name = "MalformedPolicyDocumentException";
116
+ $fault = "client";
117
+ Message;
118
+ constructor(opts) {
119
+ super({
120
+ name: "MalformedPolicyDocumentException",
121
+ $fault: "client",
122
+ ...opts,
123
+ });
124
+ Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
125
+ this.Message = opts.Message;
126
+ }
127
+ }
128
+ export class PreconditionNotMetException extends __BaseException {
129
+ name = "PreconditionNotMetException";
130
+ $fault = "client";
131
+ Message;
132
+ constructor(opts) {
133
+ super({
134
+ name: "PreconditionNotMetException",
135
+ $fault: "client",
136
+ ...opts,
137
+ });
138
+ Object.setPrototypeOf(this, PreconditionNotMetException.prototype);
139
+ this.Message = opts.Message;
140
+ }
141
+ }
142
+ export class ResourceExistsException extends __BaseException {
143
+ name = "ResourceExistsException";
144
+ $fault = "client";
145
+ Message;
146
+ constructor(opts) {
147
+ super({
148
+ name: "ResourceExistsException",
149
+ $fault: "client",
150
+ ...opts,
151
+ });
152
+ Object.setPrototypeOf(this, ResourceExistsException.prototype);
153
+ this.Message = opts.Message;
154
+ }
155
+ }
156
+ export class PublicPolicyException extends __BaseException {
157
+ name = "PublicPolicyException";
158
+ $fault = "client";
159
+ Message;
160
+ constructor(opts) {
161
+ super({
162
+ name: "PublicPolicyException",
163
+ $fault: "client",
164
+ ...opts,
165
+ });
166
+ Object.setPrototypeOf(this, PublicPolicyException.prototype);
167
+ this.Message = opts.Message;
168
+ }
169
+ }
@@ -1,187 +1 @@
1
- import { SecretsManagerServiceException as __BaseException } from "./SecretsManagerServiceException";
2
- export const FilterNameStringType = {
3
- all: "all",
4
- description: "description",
5
- name: "name",
6
- owning_service: "owning-service",
7
- primary_region: "primary-region",
8
- tag_key: "tag-key",
9
- tag_value: "tag-value",
10
- };
11
- export class DecryptionFailure extends __BaseException {
12
- name = "DecryptionFailure";
13
- $fault = "client";
14
- Message;
15
- constructor(opts) {
16
- super({
17
- name: "DecryptionFailure",
18
- $fault: "client",
19
- ...opts,
20
- });
21
- Object.setPrototypeOf(this, DecryptionFailure.prototype);
22
- this.Message = opts.Message;
23
- }
24
- }
25
- export class InternalServiceError extends __BaseException {
26
- name = "InternalServiceError";
27
- $fault = "server";
28
- Message;
29
- constructor(opts) {
30
- super({
31
- name: "InternalServiceError",
32
- $fault: "server",
33
- ...opts,
34
- });
35
- Object.setPrototypeOf(this, InternalServiceError.prototype);
36
- this.Message = opts.Message;
37
- }
38
- }
39
- export class InvalidNextTokenException extends __BaseException {
40
- name = "InvalidNextTokenException";
41
- $fault = "client";
42
- Message;
43
- constructor(opts) {
44
- super({
45
- name: "InvalidNextTokenException",
46
- $fault: "client",
47
- ...opts,
48
- });
49
- Object.setPrototypeOf(this, InvalidNextTokenException.prototype);
50
- this.Message = opts.Message;
51
- }
52
- }
53
- export class InvalidParameterException extends __BaseException {
54
- name = "InvalidParameterException";
55
- $fault = "client";
56
- Message;
57
- constructor(opts) {
58
- super({
59
- name: "InvalidParameterException",
60
- $fault: "client",
61
- ...opts,
62
- });
63
- Object.setPrototypeOf(this, InvalidParameterException.prototype);
64
- this.Message = opts.Message;
65
- }
66
- }
67
- export class InvalidRequestException extends __BaseException {
68
- name = "InvalidRequestException";
69
- $fault = "client";
70
- Message;
71
- constructor(opts) {
72
- super({
73
- name: "InvalidRequestException",
74
- $fault: "client",
75
- ...opts,
76
- });
77
- Object.setPrototypeOf(this, InvalidRequestException.prototype);
78
- this.Message = opts.Message;
79
- }
80
- }
81
- export class ResourceNotFoundException extends __BaseException {
82
- name = "ResourceNotFoundException";
83
- $fault = "client";
84
- Message;
85
- constructor(opts) {
86
- super({
87
- name: "ResourceNotFoundException",
88
- $fault: "client",
89
- ...opts,
90
- });
91
- Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
92
- this.Message = opts.Message;
93
- }
94
- }
95
- export const StatusType = {
96
- Failed: "Failed",
97
- InProgress: "InProgress",
98
- InSync: "InSync",
99
- };
100
- export class EncryptionFailure extends __BaseException {
101
- name = "EncryptionFailure";
102
- $fault = "client";
103
- Message;
104
- constructor(opts) {
105
- super({
106
- name: "EncryptionFailure",
107
- $fault: "client",
108
- ...opts,
109
- });
110
- Object.setPrototypeOf(this, EncryptionFailure.prototype);
111
- this.Message = opts.Message;
112
- }
113
- }
114
- export class LimitExceededException extends __BaseException {
115
- name = "LimitExceededException";
116
- $fault = "client";
117
- Message;
118
- constructor(opts) {
119
- super({
120
- name: "LimitExceededException",
121
- $fault: "client",
122
- ...opts,
123
- });
124
- Object.setPrototypeOf(this, LimitExceededException.prototype);
125
- this.Message = opts.Message;
126
- }
127
- }
128
- export class MalformedPolicyDocumentException extends __BaseException {
129
- name = "MalformedPolicyDocumentException";
130
- $fault = "client";
131
- Message;
132
- constructor(opts) {
133
- super({
134
- name: "MalformedPolicyDocumentException",
135
- $fault: "client",
136
- ...opts,
137
- });
138
- Object.setPrototypeOf(this, MalformedPolicyDocumentException.prototype);
139
- this.Message = opts.Message;
140
- }
141
- }
142
- export class PreconditionNotMetException extends __BaseException {
143
- name = "PreconditionNotMetException";
144
- $fault = "client";
145
- Message;
146
- constructor(opts) {
147
- super({
148
- name: "PreconditionNotMetException",
149
- $fault: "client",
150
- ...opts,
151
- });
152
- Object.setPrototypeOf(this, PreconditionNotMetException.prototype);
153
- this.Message = opts.Message;
154
- }
155
- }
156
- export class ResourceExistsException extends __BaseException {
157
- name = "ResourceExistsException";
158
- $fault = "client";
159
- Message;
160
- constructor(opts) {
161
- super({
162
- name: "ResourceExistsException",
163
- $fault: "client",
164
- ...opts,
165
- });
166
- Object.setPrototypeOf(this, ResourceExistsException.prototype);
167
- this.Message = opts.Message;
168
- }
169
- }
170
- export const SortOrderType = {
171
- asc: "asc",
172
- desc: "desc",
173
- };
174
- export class PublicPolicyException extends __BaseException {
175
- name = "PublicPolicyException";
176
- $fault = "client";
177
- Message;
178
- constructor(opts) {
179
- super({
180
- name: "PublicPolicyException",
181
- $fault: "client",
182
- ...opts,
183
- });
184
- Object.setPrototypeOf(this, PublicPolicyException.prototype);
185
- this.Message = opts.Message;
186
- }
187
- }
1
+ export {};