@aws-sdk/client-accessanalyzer 3.50.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.
Files changed (64) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/dist-cjs/index.js +3 -0
  3. package/dist-cjs/models/AccessAnalyzerServiceException.js +11 -0
  4. package/dist-cjs/models/models_0.js +109 -3
  5. package/dist-cjs/protocols/Aws_restJson1.js +338 -1210
  6. package/dist-es/index.js +1 -0
  7. package/dist-es/models/AccessAnalyzerServiceException.js +12 -0
  8. package/dist-es/models/models_0.js +100 -1
  9. package/dist-es/protocols/Aws_restJson1.js +691 -1331
  10. package/dist-types/index.d.ts +1 -0
  11. package/dist-types/models/AccessAnalyzerServiceException.d.ts +10 -0
  12. package/dist-types/models/models_0.d.ts +52 -30
  13. package/dist-types/ts3.4/AccessAnalyzer.d.ts +145 -0
  14. package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +101 -0
  15. package/dist-types/ts3.4/commands/ApplyArchiveRuleCommand.d.ts +17 -0
  16. package/dist-types/ts3.4/commands/CancelPolicyGenerationCommand.d.ts +17 -0
  17. package/dist-types/ts3.4/commands/CreateAccessPreviewCommand.d.ts +17 -0
  18. package/dist-types/ts3.4/commands/CreateAnalyzerCommand.d.ts +17 -0
  19. package/dist-types/ts3.4/commands/CreateArchiveRuleCommand.d.ts +17 -0
  20. package/dist-types/ts3.4/commands/DeleteAnalyzerCommand.d.ts +17 -0
  21. package/dist-types/ts3.4/commands/DeleteArchiveRuleCommand.d.ts +17 -0
  22. package/dist-types/ts3.4/commands/GetAccessPreviewCommand.d.ts +17 -0
  23. package/dist-types/ts3.4/commands/GetAnalyzedResourceCommand.d.ts +17 -0
  24. package/dist-types/ts3.4/commands/GetAnalyzerCommand.d.ts +17 -0
  25. package/dist-types/ts3.4/commands/GetArchiveRuleCommand.d.ts +17 -0
  26. package/dist-types/ts3.4/commands/GetFindingCommand.d.ts +17 -0
  27. package/dist-types/ts3.4/commands/GetGeneratedPolicyCommand.d.ts +17 -0
  28. package/dist-types/ts3.4/commands/ListAccessPreviewFindingsCommand.d.ts +17 -0
  29. package/dist-types/ts3.4/commands/ListAccessPreviewsCommand.d.ts +17 -0
  30. package/dist-types/ts3.4/commands/ListAnalyzedResourcesCommand.d.ts +17 -0
  31. package/dist-types/ts3.4/commands/ListAnalyzersCommand.d.ts +17 -0
  32. package/dist-types/ts3.4/commands/ListArchiveRulesCommand.d.ts +17 -0
  33. package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +17 -0
  34. package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +17 -0
  35. package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
  36. package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +17 -0
  37. package/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +17 -0
  38. package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
  39. package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
  40. package/dist-types/ts3.4/commands/UpdateArchiveRuleCommand.d.ts +17 -0
  41. package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +17 -0
  42. package/dist-types/ts3.4/commands/ValidatePolicyCommand.d.ts +17 -0
  43. package/dist-types/ts3.4/commands/index.d.ts +28 -0
  44. package/dist-types/ts3.4/endpoints.d.ts +2 -0
  45. package/dist-types/ts3.4/index.d.ts +6 -0
  46. package/dist-types/ts3.4/models/AccessAnalyzerServiceException.d.ts +6 -0
  47. package/dist-types/ts3.4/models/index.d.ts +1 -0
  48. package/dist-types/ts3.4/models/models_0.d.ts +1598 -0
  49. package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
  50. package/dist-types/ts3.4/pagination/ListAccessPreviewFindingsPaginator.d.ts +4 -0
  51. package/dist-types/ts3.4/pagination/ListAccessPreviewsPaginator.d.ts +4 -0
  52. package/dist-types/ts3.4/pagination/ListAnalyzedResourcesPaginator.d.ts +4 -0
  53. package/dist-types/ts3.4/pagination/ListAnalyzersPaginator.d.ts +4 -0
  54. package/dist-types/ts3.4/pagination/ListArchiveRulesPaginator.d.ts +4 -0
  55. package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +4 -0
  56. package/dist-types/ts3.4/pagination/ListPolicyGenerationsPaginator.d.ts +4 -0
  57. package/dist-types/ts3.4/pagination/ValidatePolicyPaginator.d.ts +4 -0
  58. package/dist-types/ts3.4/pagination/index.d.ts +9 -0
  59. package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +86 -0
  60. package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
  61. package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
  62. package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
  63. package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
  64. package/package.json +33 -33
package/dist-es/index.js CHANGED
@@ -3,3 +3,4 @@ export * from "./AccessAnalyzerClient";
3
3
  export * from "./commands";
4
4
  export * from "./models";
5
5
  export * from "./pagination";
6
+ export { AccessAnalyzerServiceException } from "./models/AccessAnalyzerServiceException";
@@ -0,0 +1,12 @@
1
+ import { __extends } from "tslib";
2
+ import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
3
+ var AccessAnalyzerServiceException = (function (_super) {
4
+ __extends(AccessAnalyzerServiceException, _super);
5
+ function AccessAnalyzerServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, AccessAnalyzerServiceException.prototype);
8
+ return _this;
9
+ }
10
+ return AccessAnalyzerServiceException;
11
+ }(__ServiceException));
12
+ export { AccessAnalyzerServiceException };
@@ -1,4 +1,31 @@
1
- import { __assign, __read } from "tslib";
1
+ import { __assign, __extends, __read } from "tslib";
2
+ import { AccessAnalyzerServiceException as __BaseException } from "./AccessAnalyzerServiceException";
3
+ var AccessDeniedException = (function (_super) {
4
+ __extends(AccessDeniedException, _super);
5
+ function AccessDeniedException(opts) {
6
+ var _this = _super.call(this, __assign({ name: "AccessDeniedException", $fault: "client" }, opts)) || this;
7
+ _this.name = "AccessDeniedException";
8
+ _this.$fault = "client";
9
+ Object.setPrototypeOf(_this, AccessDeniedException.prototype);
10
+ return _this;
11
+ }
12
+ return AccessDeniedException;
13
+ }(__BaseException));
14
+ export { AccessDeniedException };
15
+ var ConflictException = (function (_super) {
16
+ __extends(ConflictException, _super);
17
+ function ConflictException(opts) {
18
+ var _this = _super.call(this, __assign({ name: "ConflictException", $fault: "client" }, opts)) || this;
19
+ _this.name = "ConflictException";
20
+ _this.$fault = "client";
21
+ Object.setPrototypeOf(_this, ConflictException.prototype);
22
+ _this.resourceId = opts.resourceId;
23
+ _this.resourceType = opts.resourceType;
24
+ return _this;
25
+ }
26
+ return ConflictException;
27
+ }(__BaseException));
28
+ export { ConflictException };
2
29
  export var Criterion;
3
30
  (function (Criterion) {
4
31
  Criterion.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -7,6 +34,64 @@ export var CreateArchiveRuleRequest;
7
34
  (function (CreateArchiveRuleRequest) {
8
35
  CreateArchiveRuleRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
9
36
  })(CreateArchiveRuleRequest || (CreateArchiveRuleRequest = {}));
37
+ var InternalServerException = (function (_super) {
38
+ __extends(InternalServerException, _super);
39
+ function InternalServerException(opts) {
40
+ var _this = _super.call(this, __assign({ name: "InternalServerException", $fault: "server" }, opts)) || this;
41
+ _this.name = "InternalServerException";
42
+ _this.$fault = "server";
43
+ _this.$retryable = {};
44
+ Object.setPrototypeOf(_this, InternalServerException.prototype);
45
+ _this.retryAfterSeconds = opts.retryAfterSeconds;
46
+ return _this;
47
+ }
48
+ return InternalServerException;
49
+ }(__BaseException));
50
+ export { InternalServerException };
51
+ var ResourceNotFoundException = (function (_super) {
52
+ __extends(ResourceNotFoundException, _super);
53
+ function ResourceNotFoundException(opts) {
54
+ var _this = _super.call(this, __assign({ name: "ResourceNotFoundException", $fault: "client" }, opts)) || this;
55
+ _this.name = "ResourceNotFoundException";
56
+ _this.$fault = "client";
57
+ Object.setPrototypeOf(_this, ResourceNotFoundException.prototype);
58
+ _this.resourceId = opts.resourceId;
59
+ _this.resourceType = opts.resourceType;
60
+ return _this;
61
+ }
62
+ return ResourceNotFoundException;
63
+ }(__BaseException));
64
+ export { ResourceNotFoundException };
65
+ var ServiceQuotaExceededException = (function (_super) {
66
+ __extends(ServiceQuotaExceededException, _super);
67
+ function ServiceQuotaExceededException(opts) {
68
+ var _this = _super.call(this, __assign({ name: "ServiceQuotaExceededException", $fault: "client" }, opts)) || this;
69
+ _this.name = "ServiceQuotaExceededException";
70
+ _this.$fault = "client";
71
+ Object.setPrototypeOf(_this, ServiceQuotaExceededException.prototype);
72
+ _this.resourceId = opts.resourceId;
73
+ _this.resourceType = opts.resourceType;
74
+ return _this;
75
+ }
76
+ return ServiceQuotaExceededException;
77
+ }(__BaseException));
78
+ export { ServiceQuotaExceededException };
79
+ var ThrottlingException = (function (_super) {
80
+ __extends(ThrottlingException, _super);
81
+ function ThrottlingException(opts) {
82
+ var _this = _super.call(this, __assign({ name: "ThrottlingException", $fault: "client" }, opts)) || this;
83
+ _this.name = "ThrottlingException";
84
+ _this.$fault = "client";
85
+ _this.$retryable = {
86
+ throttling: true,
87
+ };
88
+ Object.setPrototypeOf(_this, ThrottlingException.prototype);
89
+ _this.retryAfterSeconds = opts.retryAfterSeconds;
90
+ return _this;
91
+ }
92
+ return ThrottlingException;
93
+ }(__BaseException));
94
+ export { ThrottlingException };
10
95
  export var ValidationExceptionField;
11
96
  (function (ValidationExceptionField) {
12
97
  ValidationExceptionField.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -18,6 +103,20 @@ export var ValidationExceptionReason;
18
103
  ValidationExceptionReason["OTHER"] = "other";
19
104
  ValidationExceptionReason["UNKNOWN_OPERATION"] = "unknownOperation";
20
105
  })(ValidationExceptionReason || (ValidationExceptionReason = {}));
106
+ var ValidationException = (function (_super) {
107
+ __extends(ValidationException, _super);
108
+ function ValidationException(opts) {
109
+ var _this = _super.call(this, __assign({ name: "ValidationException", $fault: "client" }, opts)) || this;
110
+ _this.name = "ValidationException";
111
+ _this.$fault = "client";
112
+ Object.setPrototypeOf(_this, ValidationException.prototype);
113
+ _this.reason = opts.reason;
114
+ _this.fieldList = opts.fieldList;
115
+ return _this;
116
+ }
117
+ return ValidationException;
118
+ }(__BaseException));
119
+ export { ValidationException };
21
120
  export var DeleteArchiveRuleRequest;
22
121
  (function (DeleteArchiveRuleRequest) {
23
122
  DeleteArchiveRuleRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };