@aws-sdk/client-accessanalyzer 3.490.0 → 3.495.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-cjs/AccessAnalyzer.js +1 -75
- package/dist-cjs/AccessAnalyzerClient.js +1 -43
- package/dist-cjs/commands/ApplyArchiveRuleCommand.js +1 -28
- package/dist-cjs/commands/CancelPolicyGenerationCommand.js +1 -28
- package/dist-cjs/commands/CheckAccessNotGrantedCommand.js +1 -29
- package/dist-cjs/commands/CheckNoNewAccessCommand.js +1 -29
- package/dist-cjs/commands/CreateAccessPreviewCommand.js +1 -28
- package/dist-cjs/commands/CreateAnalyzerCommand.js +1 -28
- package/dist-cjs/commands/CreateArchiveRuleCommand.js +1 -28
- package/dist-cjs/commands/DeleteAnalyzerCommand.js +1 -28
- package/dist-cjs/commands/DeleteArchiveRuleCommand.js +1 -28
- package/dist-cjs/commands/GetAccessPreviewCommand.js +1 -28
- package/dist-cjs/commands/GetAnalyzedResourceCommand.js +1 -28
- package/dist-cjs/commands/GetAnalyzerCommand.js +1 -28
- package/dist-cjs/commands/GetArchiveRuleCommand.js +1 -28
- package/dist-cjs/commands/GetFindingCommand.js +1 -28
- package/dist-cjs/commands/GetFindingV2Command.js +1 -28
- package/dist-cjs/commands/GetGeneratedPolicyCommand.js +1 -28
- package/dist-cjs/commands/ListAccessPreviewFindingsCommand.js +1 -28
- package/dist-cjs/commands/ListAccessPreviewsCommand.js +1 -28
- package/dist-cjs/commands/ListAnalyzedResourcesCommand.js +1 -28
- package/dist-cjs/commands/ListAnalyzersCommand.js +1 -28
- package/dist-cjs/commands/ListArchiveRulesCommand.js +1 -28
- package/dist-cjs/commands/ListFindingsCommand.js +1 -28
- package/dist-cjs/commands/ListFindingsV2Command.js +1 -28
- package/dist-cjs/commands/ListPolicyGenerationsCommand.js +1 -28
- package/dist-cjs/commands/ListTagsForResourceCommand.js +1 -28
- package/dist-cjs/commands/StartPolicyGenerationCommand.js +1 -28
- package/dist-cjs/commands/StartResourceScanCommand.js +1 -28
- package/dist-cjs/commands/TagResourceCommand.js +1 -28
- package/dist-cjs/commands/UntagResourceCommand.js +1 -28
- package/dist-cjs/commands/UpdateArchiveRuleCommand.js +1 -28
- package/dist-cjs/commands/UpdateFindingsCommand.js +1 -28
- package/dist-cjs/commands/ValidatePolicyCommand.js +1 -28
- package/dist-cjs/commands/index.js +1 -35
- package/dist-cjs/endpoint/EndpointParameters.js +1 -18
- package/dist-cjs/extensionConfiguration.js +1 -2
- package/dist-cjs/index.js +3704 -11
- package/dist-cjs/models/AccessAnalyzerServiceException.js +1 -12
- package/dist-cjs/models/index.js +1 -4
- package/dist-cjs/models/models_0.js +1 -356
- package/dist-cjs/pagination/GetFindingV2Paginator.js +1 -7
- package/dist-cjs/pagination/Interfaces.js +1 -2
- package/dist-cjs/pagination/ListAccessPreviewFindingsPaginator.js +1 -7
- package/dist-cjs/pagination/ListAccessPreviewsPaginator.js +1 -7
- package/dist-cjs/pagination/ListAnalyzedResourcesPaginator.js +1 -7
- package/dist-cjs/pagination/ListAnalyzersPaginator.js +1 -7
- package/dist-cjs/pagination/ListArchiveRulesPaginator.js +1 -7
- package/dist-cjs/pagination/ListFindingsPaginator.js +1 -7
- package/dist-cjs/pagination/ListFindingsV2Paginator.js +1 -7
- package/dist-cjs/pagination/ListPolicyGenerationsPaginator.js +1 -7
- package/dist-cjs/pagination/ValidatePolicyPaginator.js +1 -7
- package/dist-cjs/pagination/index.js +1 -14
- package/dist-cjs/protocols/Aws_restJson1.js +1 -2452
- package/dist-cjs/runtimeExtensions.js +1 -22
- package/package.json +40 -40
|
@@ -1,12 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.AccessAnalyzerServiceException = exports.__ServiceException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
Object.defineProperty(exports, "__ServiceException", { enumerable: true, get: function () { return smithy_client_1.ServiceException; } });
|
|
6
|
-
class AccessAnalyzerServiceException extends smithy_client_1.ServiceException {
|
|
7
|
-
constructor(options) {
|
|
8
|
-
super(options);
|
|
9
|
-
Object.setPrototypeOf(this, AccessAnalyzerServiceException.prototype);
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.AccessAnalyzerServiceException = AccessAnalyzerServiceException;
|
|
1
|
+
module.exports = require("../index.js");
|
package/dist-cjs/models/index.js
CHANGED
|
@@ -1,356 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CheckNoNewAccessRequestFilterSensitiveLog = exports.CheckAccessNotGrantedRequestFilterSensitiveLog = exports.PathElement = exports.ValidatePolicyFindingType = exports.ValidatePolicyResourceType = exports.PolicyType = exports.Locale = exports.FindingChangeType = exports.JobStatus = exports.JobErrorCode = exports.FindingType = exports.FindingDetails = exports.AccessPreviewStatusReasonCode = exports.AccessPreviewStatus = exports.Configuration = exports.AclPermission = exports.AclGrantee = exports.NetworkOriginConfiguration = exports.RdsDbSnapshotAttributeValue = exports.RdsDbClusterSnapshotAttributeValue = exports.KmsGrantOperation = exports.CheckNoNewAccessResult = exports.UnprocessableEntityException = exports.InvalidParameterException = exports.CheckAccessNotGrantedResult = exports.AccessCheckPolicyType = exports.AnalyzerConfiguration = exports.ValidationException = exports.ValidationExceptionReason = exports.ThrottlingException = exports.ServiceQuotaExceededException = exports.ResourceNotFoundException = exports.InternalServerException = exports.ConflictException = exports.AccessDeniedException = void 0;
|
|
4
|
-
const smithy_client_1 = require("@smithy/smithy-client");
|
|
5
|
-
const AccessAnalyzerServiceException_1 = require("./AccessAnalyzerServiceException");
|
|
6
|
-
class AccessDeniedException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
7
|
-
constructor(opts) {
|
|
8
|
-
super({
|
|
9
|
-
name: "AccessDeniedException",
|
|
10
|
-
$fault: "client",
|
|
11
|
-
...opts,
|
|
12
|
-
});
|
|
13
|
-
this.name = "AccessDeniedException";
|
|
14
|
-
this.$fault = "client";
|
|
15
|
-
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
16
|
-
}
|
|
17
|
-
}
|
|
18
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
19
|
-
class ConflictException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
20
|
-
constructor(opts) {
|
|
21
|
-
super({
|
|
22
|
-
name: "ConflictException",
|
|
23
|
-
$fault: "client",
|
|
24
|
-
...opts,
|
|
25
|
-
});
|
|
26
|
-
this.name = "ConflictException";
|
|
27
|
-
this.$fault = "client";
|
|
28
|
-
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
29
|
-
this.resourceId = opts.resourceId;
|
|
30
|
-
this.resourceType = opts.resourceType;
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
exports.ConflictException = ConflictException;
|
|
34
|
-
class InternalServerException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
35
|
-
constructor(opts) {
|
|
36
|
-
super({
|
|
37
|
-
name: "InternalServerException",
|
|
38
|
-
$fault: "server",
|
|
39
|
-
...opts,
|
|
40
|
-
});
|
|
41
|
-
this.name = "InternalServerException";
|
|
42
|
-
this.$fault = "server";
|
|
43
|
-
this.$retryable = {};
|
|
44
|
-
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
45
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
exports.InternalServerException = InternalServerException;
|
|
49
|
-
class ResourceNotFoundException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
50
|
-
constructor(opts) {
|
|
51
|
-
super({
|
|
52
|
-
name: "ResourceNotFoundException",
|
|
53
|
-
$fault: "client",
|
|
54
|
-
...opts,
|
|
55
|
-
});
|
|
56
|
-
this.name = "ResourceNotFoundException";
|
|
57
|
-
this.$fault = "client";
|
|
58
|
-
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
59
|
-
this.resourceId = opts.resourceId;
|
|
60
|
-
this.resourceType = opts.resourceType;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
64
|
-
class ServiceQuotaExceededException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
65
|
-
constructor(opts) {
|
|
66
|
-
super({
|
|
67
|
-
name: "ServiceQuotaExceededException",
|
|
68
|
-
$fault: "client",
|
|
69
|
-
...opts,
|
|
70
|
-
});
|
|
71
|
-
this.name = "ServiceQuotaExceededException";
|
|
72
|
-
this.$fault = "client";
|
|
73
|
-
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
74
|
-
this.resourceId = opts.resourceId;
|
|
75
|
-
this.resourceType = opts.resourceType;
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
79
|
-
class ThrottlingException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
80
|
-
constructor(opts) {
|
|
81
|
-
super({
|
|
82
|
-
name: "ThrottlingException",
|
|
83
|
-
$fault: "client",
|
|
84
|
-
...opts,
|
|
85
|
-
});
|
|
86
|
-
this.name = "ThrottlingException";
|
|
87
|
-
this.$fault = "client";
|
|
88
|
-
this.$retryable = {
|
|
89
|
-
throttling: true,
|
|
90
|
-
};
|
|
91
|
-
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
92
|
-
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
93
|
-
}
|
|
94
|
-
}
|
|
95
|
-
exports.ThrottlingException = ThrottlingException;
|
|
96
|
-
exports.ValidationExceptionReason = {
|
|
97
|
-
CANNOT_PARSE: "cannotParse",
|
|
98
|
-
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
99
|
-
OTHER: "other",
|
|
100
|
-
UNKNOWN_OPERATION: "unknownOperation",
|
|
101
|
-
};
|
|
102
|
-
class ValidationException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
103
|
-
constructor(opts) {
|
|
104
|
-
super({
|
|
105
|
-
name: "ValidationException",
|
|
106
|
-
$fault: "client",
|
|
107
|
-
...opts,
|
|
108
|
-
});
|
|
109
|
-
this.name = "ValidationException";
|
|
110
|
-
this.$fault = "client";
|
|
111
|
-
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
112
|
-
this.reason = opts.reason;
|
|
113
|
-
this.fieldList = opts.fieldList;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
exports.ValidationException = ValidationException;
|
|
117
|
-
var AnalyzerConfiguration;
|
|
118
|
-
(function (AnalyzerConfiguration) {
|
|
119
|
-
AnalyzerConfiguration.visit = (value, visitor) => {
|
|
120
|
-
if (value.unusedAccess !== undefined)
|
|
121
|
-
return visitor.unusedAccess(value.unusedAccess);
|
|
122
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
123
|
-
};
|
|
124
|
-
})(AnalyzerConfiguration = exports.AnalyzerConfiguration || (exports.AnalyzerConfiguration = {}));
|
|
125
|
-
exports.AccessCheckPolicyType = {
|
|
126
|
-
IDENTITY_POLICY: "IDENTITY_POLICY",
|
|
127
|
-
RESOURCE_POLICY: "RESOURCE_POLICY",
|
|
128
|
-
};
|
|
129
|
-
exports.CheckAccessNotGrantedResult = {
|
|
130
|
-
FAIL: "FAIL",
|
|
131
|
-
PASS: "PASS",
|
|
132
|
-
};
|
|
133
|
-
class InvalidParameterException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
134
|
-
constructor(opts) {
|
|
135
|
-
super({
|
|
136
|
-
name: "InvalidParameterException",
|
|
137
|
-
$fault: "client",
|
|
138
|
-
...opts,
|
|
139
|
-
});
|
|
140
|
-
this.name = "InvalidParameterException";
|
|
141
|
-
this.$fault = "client";
|
|
142
|
-
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
145
|
-
exports.InvalidParameterException = InvalidParameterException;
|
|
146
|
-
class UnprocessableEntityException extends AccessAnalyzerServiceException_1.AccessAnalyzerServiceException {
|
|
147
|
-
constructor(opts) {
|
|
148
|
-
super({
|
|
149
|
-
name: "UnprocessableEntityException",
|
|
150
|
-
$fault: "client",
|
|
151
|
-
...opts,
|
|
152
|
-
});
|
|
153
|
-
this.name = "UnprocessableEntityException";
|
|
154
|
-
this.$fault = "client";
|
|
155
|
-
this.$retryable = {};
|
|
156
|
-
Object.setPrototypeOf(this, UnprocessableEntityException.prototype);
|
|
157
|
-
}
|
|
158
|
-
}
|
|
159
|
-
exports.UnprocessableEntityException = UnprocessableEntityException;
|
|
160
|
-
exports.CheckNoNewAccessResult = {
|
|
161
|
-
FAIL: "FAIL",
|
|
162
|
-
PASS: "PASS",
|
|
163
|
-
};
|
|
164
|
-
exports.KmsGrantOperation = {
|
|
165
|
-
CREATE_GRANT: "CreateGrant",
|
|
166
|
-
DECRYPT: "Decrypt",
|
|
167
|
-
DESCRIBE_KEY: "DescribeKey",
|
|
168
|
-
ENCRYPT: "Encrypt",
|
|
169
|
-
GENERATE_DATA_KEY: "GenerateDataKey",
|
|
170
|
-
GENERATE_DATA_KEY_PAIR: "GenerateDataKeyPair",
|
|
171
|
-
GENERATE_DATA_KEY_PAIR_WITHOUT_PLAINTEXT: "GenerateDataKeyPairWithoutPlaintext",
|
|
172
|
-
GENERATE_DATA_KEY_WITHOUT_PLAINTEXT: "GenerateDataKeyWithoutPlaintext",
|
|
173
|
-
GET_PUBLIC_KEY: "GetPublicKey",
|
|
174
|
-
REENCRYPT_FROM: "ReEncryptFrom",
|
|
175
|
-
REENCRYPT_TO: "ReEncryptTo",
|
|
176
|
-
RETIRE_GRANT: "RetireGrant",
|
|
177
|
-
SIGN: "Sign",
|
|
178
|
-
VERIFY: "Verify",
|
|
179
|
-
};
|
|
180
|
-
var RdsDbClusterSnapshotAttributeValue;
|
|
181
|
-
(function (RdsDbClusterSnapshotAttributeValue) {
|
|
182
|
-
RdsDbClusterSnapshotAttributeValue.visit = (value, visitor) => {
|
|
183
|
-
if (value.accountIds !== undefined)
|
|
184
|
-
return visitor.accountIds(value.accountIds);
|
|
185
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
186
|
-
};
|
|
187
|
-
})(RdsDbClusterSnapshotAttributeValue = exports.RdsDbClusterSnapshotAttributeValue || (exports.RdsDbClusterSnapshotAttributeValue = {}));
|
|
188
|
-
var RdsDbSnapshotAttributeValue;
|
|
189
|
-
(function (RdsDbSnapshotAttributeValue) {
|
|
190
|
-
RdsDbSnapshotAttributeValue.visit = (value, visitor) => {
|
|
191
|
-
if (value.accountIds !== undefined)
|
|
192
|
-
return visitor.accountIds(value.accountIds);
|
|
193
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
194
|
-
};
|
|
195
|
-
})(RdsDbSnapshotAttributeValue = exports.RdsDbSnapshotAttributeValue || (exports.RdsDbSnapshotAttributeValue = {}));
|
|
196
|
-
var NetworkOriginConfiguration;
|
|
197
|
-
(function (NetworkOriginConfiguration) {
|
|
198
|
-
NetworkOriginConfiguration.visit = (value, visitor) => {
|
|
199
|
-
if (value.vpcConfiguration !== undefined)
|
|
200
|
-
return visitor.vpcConfiguration(value.vpcConfiguration);
|
|
201
|
-
if (value.internetConfiguration !== undefined)
|
|
202
|
-
return visitor.internetConfiguration(value.internetConfiguration);
|
|
203
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
204
|
-
};
|
|
205
|
-
})(NetworkOriginConfiguration = exports.NetworkOriginConfiguration || (exports.NetworkOriginConfiguration = {}));
|
|
206
|
-
var AclGrantee;
|
|
207
|
-
(function (AclGrantee) {
|
|
208
|
-
AclGrantee.visit = (value, visitor) => {
|
|
209
|
-
if (value.id !== undefined)
|
|
210
|
-
return visitor.id(value.id);
|
|
211
|
-
if (value.uri !== undefined)
|
|
212
|
-
return visitor.uri(value.uri);
|
|
213
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
214
|
-
};
|
|
215
|
-
})(AclGrantee = exports.AclGrantee || (exports.AclGrantee = {}));
|
|
216
|
-
exports.AclPermission = {
|
|
217
|
-
FULL_CONTROL: "FULL_CONTROL",
|
|
218
|
-
READ: "READ",
|
|
219
|
-
READ_ACP: "READ_ACP",
|
|
220
|
-
WRITE: "WRITE",
|
|
221
|
-
WRITE_ACP: "WRITE_ACP",
|
|
222
|
-
};
|
|
223
|
-
var Configuration;
|
|
224
|
-
(function (Configuration) {
|
|
225
|
-
Configuration.visit = (value, visitor) => {
|
|
226
|
-
if (value.ebsSnapshot !== undefined)
|
|
227
|
-
return visitor.ebsSnapshot(value.ebsSnapshot);
|
|
228
|
-
if (value.ecrRepository !== undefined)
|
|
229
|
-
return visitor.ecrRepository(value.ecrRepository);
|
|
230
|
-
if (value.iamRole !== undefined)
|
|
231
|
-
return visitor.iamRole(value.iamRole);
|
|
232
|
-
if (value.efsFileSystem !== undefined)
|
|
233
|
-
return visitor.efsFileSystem(value.efsFileSystem);
|
|
234
|
-
if (value.kmsKey !== undefined)
|
|
235
|
-
return visitor.kmsKey(value.kmsKey);
|
|
236
|
-
if (value.rdsDbClusterSnapshot !== undefined)
|
|
237
|
-
return visitor.rdsDbClusterSnapshot(value.rdsDbClusterSnapshot);
|
|
238
|
-
if (value.rdsDbSnapshot !== undefined)
|
|
239
|
-
return visitor.rdsDbSnapshot(value.rdsDbSnapshot);
|
|
240
|
-
if (value.secretsManagerSecret !== undefined)
|
|
241
|
-
return visitor.secretsManagerSecret(value.secretsManagerSecret);
|
|
242
|
-
if (value.s3Bucket !== undefined)
|
|
243
|
-
return visitor.s3Bucket(value.s3Bucket);
|
|
244
|
-
if (value.snsTopic !== undefined)
|
|
245
|
-
return visitor.snsTopic(value.snsTopic);
|
|
246
|
-
if (value.sqsQueue !== undefined)
|
|
247
|
-
return visitor.sqsQueue(value.sqsQueue);
|
|
248
|
-
if (value.s3ExpressDirectoryBucket !== undefined)
|
|
249
|
-
return visitor.s3ExpressDirectoryBucket(value.s3ExpressDirectoryBucket);
|
|
250
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
251
|
-
};
|
|
252
|
-
})(Configuration = exports.Configuration || (exports.Configuration = {}));
|
|
253
|
-
exports.AccessPreviewStatus = {
|
|
254
|
-
COMPLETED: "COMPLETED",
|
|
255
|
-
CREATING: "CREATING",
|
|
256
|
-
FAILED: "FAILED",
|
|
257
|
-
};
|
|
258
|
-
exports.AccessPreviewStatusReasonCode = {
|
|
259
|
-
INTERNAL_ERROR: "INTERNAL_ERROR",
|
|
260
|
-
INVALID_CONFIGURATION: "INVALID_CONFIGURATION",
|
|
261
|
-
};
|
|
262
|
-
var FindingDetails;
|
|
263
|
-
(function (FindingDetails) {
|
|
264
|
-
FindingDetails.visit = (value, visitor) => {
|
|
265
|
-
if (value.externalAccessDetails !== undefined)
|
|
266
|
-
return visitor.externalAccessDetails(value.externalAccessDetails);
|
|
267
|
-
if (value.unusedPermissionDetails !== undefined)
|
|
268
|
-
return visitor.unusedPermissionDetails(value.unusedPermissionDetails);
|
|
269
|
-
if (value.unusedIamUserAccessKeyDetails !== undefined)
|
|
270
|
-
return visitor.unusedIamUserAccessKeyDetails(value.unusedIamUserAccessKeyDetails);
|
|
271
|
-
if (value.unusedIamRoleDetails !== undefined)
|
|
272
|
-
return visitor.unusedIamRoleDetails(value.unusedIamRoleDetails);
|
|
273
|
-
if (value.unusedIamUserPasswordDetails !== undefined)
|
|
274
|
-
return visitor.unusedIamUserPasswordDetails(value.unusedIamUserPasswordDetails);
|
|
275
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
276
|
-
};
|
|
277
|
-
})(FindingDetails = exports.FindingDetails || (exports.FindingDetails = {}));
|
|
278
|
-
exports.FindingType = {
|
|
279
|
-
EXTERNAL_ACCESS: "ExternalAccess",
|
|
280
|
-
UNUSED_IAM_ROLE: "UnusedIAMRole",
|
|
281
|
-
UNUSED_IAM_USER_ACCESS_KEY: "UnusedIAMUserAccessKey",
|
|
282
|
-
UNUSED_IAM_USER_PASSWORD: "UnusedIAMUserPassword",
|
|
283
|
-
UNUSED_PERMISSION: "UnusedPermission",
|
|
284
|
-
};
|
|
285
|
-
exports.JobErrorCode = {
|
|
286
|
-
AUTHORIZATION_ERROR: "AUTHORIZATION_ERROR",
|
|
287
|
-
RESOURCE_NOT_FOUND_ERROR: "RESOURCE_NOT_FOUND_ERROR",
|
|
288
|
-
SERVICE_ERROR: "SERVICE_ERROR",
|
|
289
|
-
SERVICE_QUOTA_EXCEEDED_ERROR: "SERVICE_QUOTA_EXCEEDED_ERROR",
|
|
290
|
-
};
|
|
291
|
-
exports.JobStatus = {
|
|
292
|
-
CANCELED: "CANCELED",
|
|
293
|
-
FAILED: "FAILED",
|
|
294
|
-
IN_PROGRESS: "IN_PROGRESS",
|
|
295
|
-
SUCCEEDED: "SUCCEEDED",
|
|
296
|
-
};
|
|
297
|
-
exports.FindingChangeType = {
|
|
298
|
-
CHANGED: "CHANGED",
|
|
299
|
-
NEW: "NEW",
|
|
300
|
-
UNCHANGED: "UNCHANGED",
|
|
301
|
-
};
|
|
302
|
-
exports.Locale = {
|
|
303
|
-
DE: "DE",
|
|
304
|
-
EN: "EN",
|
|
305
|
-
ES: "ES",
|
|
306
|
-
FR: "FR",
|
|
307
|
-
IT: "IT",
|
|
308
|
-
JA: "JA",
|
|
309
|
-
KO: "KO",
|
|
310
|
-
PT_BR: "PT_BR",
|
|
311
|
-
ZH_CN: "ZH_CN",
|
|
312
|
-
ZH_TW: "ZH_TW",
|
|
313
|
-
};
|
|
314
|
-
exports.PolicyType = {
|
|
315
|
-
IDENTITY_POLICY: "IDENTITY_POLICY",
|
|
316
|
-
RESOURCE_POLICY: "RESOURCE_POLICY",
|
|
317
|
-
SERVICE_CONTROL_POLICY: "SERVICE_CONTROL_POLICY",
|
|
318
|
-
};
|
|
319
|
-
exports.ValidatePolicyResourceType = {
|
|
320
|
-
ROLE_TRUST: "AWS::IAM::AssumeRolePolicyDocument",
|
|
321
|
-
S3_ACCESS_POINT: "AWS::S3::AccessPoint",
|
|
322
|
-
S3_BUCKET: "AWS::S3::Bucket",
|
|
323
|
-
S3_MULTI_REGION_ACCESS_POINT: "AWS::S3::MultiRegionAccessPoint",
|
|
324
|
-
S3_OBJECT_LAMBDA_ACCESS_POINT: "AWS::S3ObjectLambda::AccessPoint",
|
|
325
|
-
};
|
|
326
|
-
exports.ValidatePolicyFindingType = {
|
|
327
|
-
ERROR: "ERROR",
|
|
328
|
-
SECURITY_WARNING: "SECURITY_WARNING",
|
|
329
|
-
SUGGESTION: "SUGGESTION",
|
|
330
|
-
WARNING: "WARNING",
|
|
331
|
-
};
|
|
332
|
-
var PathElement;
|
|
333
|
-
(function (PathElement) {
|
|
334
|
-
PathElement.visit = (value, visitor) => {
|
|
335
|
-
if (value.index !== undefined)
|
|
336
|
-
return visitor.index(value.index);
|
|
337
|
-
if (value.key !== undefined)
|
|
338
|
-
return visitor.key(value.key);
|
|
339
|
-
if (value.substring !== undefined)
|
|
340
|
-
return visitor.substring(value.substring);
|
|
341
|
-
if (value.value !== undefined)
|
|
342
|
-
return visitor.value(value.value);
|
|
343
|
-
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
344
|
-
};
|
|
345
|
-
})(PathElement = exports.PathElement || (exports.PathElement = {}));
|
|
346
|
-
const CheckAccessNotGrantedRequestFilterSensitiveLog = (obj) => ({
|
|
347
|
-
...obj,
|
|
348
|
-
...(obj.policyDocument && { policyDocument: smithy_client_1.SENSITIVE_STRING }),
|
|
349
|
-
});
|
|
350
|
-
exports.CheckAccessNotGrantedRequestFilterSensitiveLog = CheckAccessNotGrantedRequestFilterSensitiveLog;
|
|
351
|
-
const CheckNoNewAccessRequestFilterSensitiveLog = (obj) => ({
|
|
352
|
-
...obj,
|
|
353
|
-
...(obj.newPolicyDocument && { newPolicyDocument: smithy_client_1.SENSITIVE_STRING }),
|
|
354
|
-
...(obj.existingPolicyDocument && { existingPolicyDocument: smithy_client_1.SENSITIVE_STRING }),
|
|
355
|
-
});
|
|
356
|
-
exports.CheckNoNewAccessRequestFilterSensitiveLog = CheckNoNewAccessRequestFilterSensitiveLog;
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateGetFindingV2 = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
6
|
-
const GetFindingV2Command_1 = require("../commands/GetFindingV2Command");
|
|
7
|
-
exports.paginateGetFindingV2 = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, GetFindingV2Command_1.GetFindingV2Command, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,2 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListAccessPreviewFindings = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
6
|
-
const ListAccessPreviewFindingsCommand_1 = require("../commands/ListAccessPreviewFindingsCommand");
|
|
7
|
-
exports.paginateListAccessPreviewFindings = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, ListAccessPreviewFindingsCommand_1.ListAccessPreviewFindingsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListAccessPreviews = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
6
|
-
const ListAccessPreviewsCommand_1 = require("../commands/ListAccessPreviewsCommand");
|
|
7
|
-
exports.paginateListAccessPreviews = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, ListAccessPreviewsCommand_1.ListAccessPreviewsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListAnalyzedResources = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
6
|
-
const ListAnalyzedResourcesCommand_1 = require("../commands/ListAnalyzedResourcesCommand");
|
|
7
|
-
exports.paginateListAnalyzedResources = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, ListAnalyzedResourcesCommand_1.ListAnalyzedResourcesCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListAnalyzers = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
6
|
-
const ListAnalyzersCommand_1 = require("../commands/ListAnalyzersCommand");
|
|
7
|
-
exports.paginateListAnalyzers = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, ListAnalyzersCommand_1.ListAnalyzersCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListArchiveRules = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
6
|
-
const ListArchiveRulesCommand_1 = require("../commands/ListArchiveRulesCommand");
|
|
7
|
-
exports.paginateListArchiveRules = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, ListArchiveRulesCommand_1.ListArchiveRulesCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListFindings = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
6
|
-
const ListFindingsCommand_1 = require("../commands/ListFindingsCommand");
|
|
7
|
-
exports.paginateListFindings = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, ListFindingsCommand_1.ListFindingsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListFindingsV2 = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
6
|
-
const ListFindingsV2Command_1 = require("../commands/ListFindingsV2Command");
|
|
7
|
-
exports.paginateListFindingsV2 = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, ListFindingsV2Command_1.ListFindingsV2Command, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateListPolicyGenerations = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
6
|
-
const ListPolicyGenerationsCommand_1 = require("../commands/ListPolicyGenerationsCommand");
|
|
7
|
-
exports.paginateListPolicyGenerations = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, ListPolicyGenerationsCommand_1.ListPolicyGenerationsCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,7 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.paginateValidatePolicy = void 0;
|
|
4
|
-
const core_1 = require("@smithy/core");
|
|
5
|
-
const AccessAnalyzerClient_1 = require("../AccessAnalyzerClient");
|
|
6
|
-
const ValidatePolicyCommand_1 = require("../commands/ValidatePolicyCommand");
|
|
7
|
-
exports.paginateValidatePolicy = (0, core_1.createPaginator)(AccessAnalyzerClient_1.AccessAnalyzerClient, ValidatePolicyCommand_1.ValidatePolicyCommand, "nextToken", "nextToken", "maxResults");
|
|
1
|
+
module.exports = require("../index.js");
|
|
@@ -1,14 +1 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./GetFindingV2Paginator"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./Interfaces"), exports);
|
|
6
|
-
tslib_1.__exportStar(require("./ListAccessPreviewFindingsPaginator"), exports);
|
|
7
|
-
tslib_1.__exportStar(require("./ListAccessPreviewsPaginator"), exports);
|
|
8
|
-
tslib_1.__exportStar(require("./ListAnalyzedResourcesPaginator"), exports);
|
|
9
|
-
tslib_1.__exportStar(require("./ListAnalyzersPaginator"), exports);
|
|
10
|
-
tslib_1.__exportStar(require("./ListArchiveRulesPaginator"), exports);
|
|
11
|
-
tslib_1.__exportStar(require("./ListFindingsPaginator"), exports);
|
|
12
|
-
tslib_1.__exportStar(require("./ListFindingsV2Paginator"), exports);
|
|
13
|
-
tslib_1.__exportStar(require("./ListPolicyGenerationsPaginator"), exports);
|
|
14
|
-
tslib_1.__exportStar(require("./ValidatePolicyPaginator"), exports);
|
|
1
|
+
module.exports = require("../index.js");
|