@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.
- package/CHANGELOG.md +27 -0
- package/dist-cjs/index.js +3 -0
- package/dist-cjs/models/AccessAnalyzerServiceException.js +11 -0
- package/dist-cjs/models/models_0.js +109 -3
- package/dist-cjs/protocols/Aws_restJson1.js +338 -1210
- package/dist-es/index.js +1 -0
- package/dist-es/models/AccessAnalyzerServiceException.js +12 -0
- package/dist-es/models/models_0.js +100 -1
- package/dist-es/protocols/Aws_restJson1.js +691 -1331
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/AccessAnalyzerServiceException.d.ts +10 -0
- package/dist-types/models/models_0.d.ts +52 -30
- package/dist-types/ts3.4/AccessAnalyzer.d.ts +145 -0
- package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +101 -0
- package/dist-types/ts3.4/commands/ApplyArchiveRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CancelPolicyGenerationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAccessPreviewCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateAnalyzerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/CreateArchiveRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteAnalyzerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteArchiveRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAccessPreviewCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAnalyzedResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetAnalyzerCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetArchiveRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetFindingCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetGeneratedPolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAccessPreviewFindingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAccessPreviewsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAnalyzedResourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListAnalyzersCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListArchiveRulesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListPolicyGenerationsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartPolicyGenerationCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartResourceScanCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateArchiveRuleCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateFindingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/ValidatePolicyCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +28 -0
- package/dist-types/ts3.4/endpoints.d.ts +2 -0
- package/dist-types/ts3.4/index.d.ts +6 -0
- package/dist-types/ts3.4/models/AccessAnalyzerServiceException.d.ts +6 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +1598 -0
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +6 -0
- package/dist-types/ts3.4/pagination/ListAccessPreviewFindingsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListAccessPreviewsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListAnalyzedResourcesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListAnalyzersPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListArchiveRulesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListFindingsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ListPolicyGenerationsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/ValidatePolicyPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +9 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +86 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +38 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +37 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +11 -0
- package/package.json +33 -33
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.53.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.52.0...v3.53.0) (2022-02-24)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Features
|
|
10
|
+
|
|
11
|
+
* **clients:** generate service exceptions as classes ([#3267](https://github.com/aws/aws-sdk-js-v3/issues/3267)) ([ca64fee](https://github.com/aws/aws-sdk-js-v3/commit/ca64feed3351c394c07dc26b782a5760a396a074))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
# [3.52.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.51.0...v3.52.0) (2022-02-18)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @aws-sdk/client-accessanalyzer
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
# [3.51.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.50.0...v3.51.0) (2022-02-12)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @aws-sdk/client-accessanalyzer
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [3.50.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.49.0...v3.50.0) (2022-02-08)
|
|
7
34
|
|
|
8
35
|
**Note:** Version bump only for package @aws-sdk/client-accessanalyzer
|
package/dist-cjs/index.js
CHANGED
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccessAnalyzerServiceException = void 0;
|
|
3
4
|
const tslib_1 = require("tslib");
|
|
4
5
|
tslib_1.__exportStar(require("./AccessAnalyzer"), exports);
|
|
5
6
|
tslib_1.__exportStar(require("./AccessAnalyzerClient"), exports);
|
|
6
7
|
tslib_1.__exportStar(require("./commands"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./models"), exports);
|
|
8
9
|
tslib_1.__exportStar(require("./pagination"), exports);
|
|
10
|
+
var AccessAnalyzerServiceException_1 = require("./models/AccessAnalyzerServiceException");
|
|
11
|
+
Object.defineProperty(exports, "AccessAnalyzerServiceException", { enumerable: true, get: function () { return AccessAnalyzerServiceException_1.AccessAnalyzerServiceException; } });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AccessAnalyzerServiceException = void 0;
|
|
4
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
5
|
+
class AccessAnalyzerServiceException extends smithy_client_1.ServiceException {
|
|
6
|
+
constructor(options) {
|
|
7
|
+
super(options);
|
|
8
|
+
Object.setPrototypeOf(this, AccessAnalyzerServiceException.prototype);
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
exports.AccessAnalyzerServiceException = AccessAnalyzerServiceException;
|
|
@@ -1,8 +1,37 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
4
|
-
exports.
|
|
5
|
-
exports.ValidatePolicyResponse = exports.ValidatePolicyFinding = exports.Location = exports.Span = exports.Position = exports.PathElement = exports.Substring = exports.ValidatePolicyFindingType = exports.ValidatePolicyRequest = exports.ValidatePolicyResourceType = void 0;
|
|
3
|
+
exports.CreateAccessPreviewResponse = exports.CreateAccessPreviewRequest = exports.Configuration = exports.SqsQueueConfiguration = exports.SecretsManagerSecretConfiguration = exports.S3BucketConfiguration = exports.S3BucketAclGrantConfiguration = exports.AclPermission = exports.AclGrantee = exports.S3AccessPointConfiguration = exports.S3PublicAccessBlockConfiguration = exports.NetworkOriginConfiguration = exports.VpcConfiguration = exports.InternetConfiguration = exports.KmsKeyConfiguration = exports.KmsGrantConfiguration = exports.KmsGrantOperation = exports.KmsGrantConstraints = exports.IamRoleConfiguration = exports.CancelPolicyGenerationResponse = exports.CancelPolicyGenerationRequest = exports.ApplyArchiveRuleRequest = exports.ListAnalyzersResponse = exports.ListAnalyzersRequest = exports.GetAnalyzerResponse = exports.AnalyzerSummary = exports.StatusReason = exports.GetAnalyzerRequest = exports.DeleteAnalyzerRequest = exports.CreateAnalyzerResponse = exports.CreateAnalyzerRequest = exports.InlineArchiveRule = exports.UpdateArchiveRuleRequest = exports.ListArchiveRulesResponse = exports.ListArchiveRulesRequest = exports.GetArchiveRuleResponse = exports.ArchiveRuleSummary = exports.GetArchiveRuleRequest = exports.DeleteArchiveRuleRequest = exports.ValidationException = exports.ValidationExceptionReason = exports.ValidationExceptionField = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.CreateArchiveRuleRequest = exports.Criterion = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
+
exports.StartResourceScanRequest = exports.StartPolicyGenerationResponse = exports.StartPolicyGenerationRequest = exports.PolicyGenerationDetails = exports.CloudTrailDetails = exports.Trail = exports.ListTagsForResourceResponse = exports.ListTagsForResourceRequest = exports.ListPolicyGenerationsResponse = exports.PolicyGeneration = exports.ListPolicyGenerationsRequest = exports.ListFindingsResponse = exports.FindingSummary = exports.ListFindingsRequest = exports.SortCriteria = exports.ListAnalyzedResourcesResponse = exports.AnalyzedResourceSummary = exports.ListAnalyzedResourcesRequest = exports.ListAccessPreviewsResponse = exports.AccessPreviewSummary = exports.ListAccessPreviewsRequest = exports.ListAccessPreviewFindingsResponse = exports.AccessPreviewFinding = exports.FindingChangeType = exports.ListAccessPreviewFindingsRequest = exports.GetGeneratedPolicyResponse = exports.JobDetails = exports.JobStatus = exports.JobError = exports.JobErrorCode = exports.GeneratedPolicyResult = exports.GeneratedPolicyProperties = exports.CloudTrailProperties = exports.TrailProperties = exports.GeneratedPolicy = exports.GetGeneratedPolicyRequest = exports.GetFindingResponse = exports.Finding = exports.FindingSource = exports.FindingSourceDetail = exports.GetFindingRequest = exports.GetAnalyzedResourceResponse = exports.AnalyzedResource = exports.GetAnalyzedResourceRequest = exports.GetAccessPreviewResponse = exports.AccessPreview = exports.AccessPreviewStatusReason = exports.AccessPreviewStatusReasonCode = exports.AccessPreviewStatus = exports.GetAccessPreviewRequest = void 0;
|
|
5
|
+
exports.ValidatePolicyResponse = exports.ValidatePolicyFinding = exports.Location = exports.Span = exports.Position = exports.PathElement = exports.Substring = exports.ValidatePolicyFindingType = exports.ValidatePolicyRequest = exports.ValidatePolicyResourceType = exports.PolicyType = exports.Locale = exports.UpdateFindingsRequest = exports.UntagResourceResponse = exports.UntagResourceRequest = exports.TagResourceResponse = exports.TagResourceRequest = void 0;
|
|
6
|
+
const AccessAnalyzerServiceException_1 = require("./AccessAnalyzerServiceException");
|
|
7
|
+
class AccessDeniedException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
8
|
+
constructor(opts) {
|
|
9
|
+
super({
|
|
10
|
+
name: "AccessDeniedException",
|
|
11
|
+
$fault: "client",
|
|
12
|
+
...opts,
|
|
13
|
+
});
|
|
14
|
+
this.name = "AccessDeniedException";
|
|
15
|
+
this.$fault = "client";
|
|
16
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
exports.AccessDeniedException = AccessDeniedException;
|
|
20
|
+
class ConflictException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
21
|
+
constructor(opts) {
|
|
22
|
+
super({
|
|
23
|
+
name: "ConflictException",
|
|
24
|
+
$fault: "client",
|
|
25
|
+
...opts,
|
|
26
|
+
});
|
|
27
|
+
this.name = "ConflictException";
|
|
28
|
+
this.$fault = "client";
|
|
29
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
30
|
+
this.resourceId = opts.resourceId;
|
|
31
|
+
this.resourceType = opts.resourceType;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
exports.ConflictException = ConflictException;
|
|
6
35
|
var Criterion;
|
|
7
36
|
(function (Criterion) {
|
|
8
37
|
Criterion.filterSensitiveLog = (obj) => ({
|
|
@@ -15,6 +44,68 @@ var CreateArchiveRuleRequest;
|
|
|
15
44
|
...obj,
|
|
16
45
|
});
|
|
17
46
|
})(CreateArchiveRuleRequest = exports.CreateArchiveRuleRequest || (exports.CreateArchiveRuleRequest = {}));
|
|
47
|
+
class InternalServerException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
48
|
+
constructor(opts) {
|
|
49
|
+
super({
|
|
50
|
+
name: "InternalServerException",
|
|
51
|
+
$fault: "server",
|
|
52
|
+
...opts,
|
|
53
|
+
});
|
|
54
|
+
this.name = "InternalServerException";
|
|
55
|
+
this.$fault = "server";
|
|
56
|
+
this.$retryable = {};
|
|
57
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
58
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
exports.InternalServerException = InternalServerException;
|
|
62
|
+
class ResourceNotFoundException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
63
|
+
constructor(opts) {
|
|
64
|
+
super({
|
|
65
|
+
name: "ResourceNotFoundException",
|
|
66
|
+
$fault: "client",
|
|
67
|
+
...opts,
|
|
68
|
+
});
|
|
69
|
+
this.name = "ResourceNotFoundException";
|
|
70
|
+
this.$fault = "client";
|
|
71
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
72
|
+
this.resourceId = opts.resourceId;
|
|
73
|
+
this.resourceType = opts.resourceType;
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
77
|
+
class ServiceQuotaExceededException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
78
|
+
constructor(opts) {
|
|
79
|
+
super({
|
|
80
|
+
name: "ServiceQuotaExceededException",
|
|
81
|
+
$fault: "client",
|
|
82
|
+
...opts,
|
|
83
|
+
});
|
|
84
|
+
this.name = "ServiceQuotaExceededException";
|
|
85
|
+
this.$fault = "client";
|
|
86
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
87
|
+
this.resourceId = opts.resourceId;
|
|
88
|
+
this.resourceType = opts.resourceType;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
92
|
+
class ThrottlingException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
93
|
+
constructor(opts) {
|
|
94
|
+
super({
|
|
95
|
+
name: "ThrottlingException",
|
|
96
|
+
$fault: "client",
|
|
97
|
+
...opts,
|
|
98
|
+
});
|
|
99
|
+
this.name = "ThrottlingException";
|
|
100
|
+
this.$fault = "client";
|
|
101
|
+
this.$retryable = {
|
|
102
|
+
throttling: true,
|
|
103
|
+
};
|
|
104
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
105
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
exports.ThrottlingException = ThrottlingException;
|
|
18
109
|
var ValidationExceptionField;
|
|
19
110
|
(function (ValidationExceptionField) {
|
|
20
111
|
ValidationExceptionField.filterSensitiveLog = (obj) => ({
|
|
@@ -28,6 +119,21 @@ var ValidationExceptionReason;
|
|
|
28
119
|
ValidationExceptionReason["OTHER"] = "other";
|
|
29
120
|
ValidationExceptionReason["UNKNOWN_OPERATION"] = "unknownOperation";
|
|
30
121
|
})(ValidationExceptionReason = exports.ValidationExceptionReason || (exports.ValidationExceptionReason = {}));
|
|
122
|
+
class ValidationException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
123
|
+
constructor(opts) {
|
|
124
|
+
super({
|
|
125
|
+
name: "ValidationException",
|
|
126
|
+
$fault: "client",
|
|
127
|
+
...opts,
|
|
128
|
+
});
|
|
129
|
+
this.name = "ValidationException";
|
|
130
|
+
this.$fault = "client";
|
|
131
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
132
|
+
this.reason = opts.reason;
|
|
133
|
+
this.fieldList = opts.fieldList;
|
|
134
|
+
}
|
|
135
|
+
}
|
|
136
|
+
exports.ValidationException = ValidationException;
|
|
31
137
|
var DeleteArchiveRuleRequest;
|
|
32
138
|
(function (DeleteArchiveRuleRequest) {
|
|
33
139
|
DeleteArchiveRuleRequest.filterSensitiveLog = (obj) => ({
|