@aws-sdk/client-accessanalyzer 3.185.0 → 3.188.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 +16 -0
- package/dist-es/AccessAnalyzer.js +114 -121
- package/dist-es/AccessAnalyzerClient.js +22 -28
- package/dist-es/commands/ApplyArchiveRuleCommand.js +22 -29
- package/dist-es/commands/CancelPolicyGenerationCommand.js +21 -28
- package/dist-es/commands/CreateAccessPreviewCommand.js +21 -28
- package/dist-es/commands/CreateAnalyzerCommand.js +21 -28
- package/dist-es/commands/CreateArchiveRuleCommand.js +22 -29
- package/dist-es/commands/DeleteAnalyzerCommand.js +22 -29
- package/dist-es/commands/DeleteArchiveRuleCommand.js +22 -29
- package/dist-es/commands/GetAccessPreviewCommand.js +21 -28
- package/dist-es/commands/GetAnalyzedResourceCommand.js +21 -28
- package/dist-es/commands/GetAnalyzerCommand.js +21 -28
- package/dist-es/commands/GetArchiveRuleCommand.js +21 -28
- package/dist-es/commands/GetFindingCommand.js +21 -28
- package/dist-es/commands/GetGeneratedPolicyCommand.js +21 -28
- package/dist-es/commands/ListAccessPreviewFindingsCommand.js +21 -28
- package/dist-es/commands/ListAccessPreviewsCommand.js +21 -28
- package/dist-es/commands/ListAnalyzedResourcesCommand.js +21 -28
- package/dist-es/commands/ListAnalyzersCommand.js +21 -28
- package/dist-es/commands/ListArchiveRulesCommand.js +21 -28
- package/dist-es/commands/ListFindingsCommand.js +21 -28
- package/dist-es/commands/ListPolicyGenerationsCommand.js +21 -28
- package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
- package/dist-es/commands/StartPolicyGenerationCommand.js +21 -28
- package/dist-es/commands/StartResourceScanCommand.js +22 -29
- package/dist-es/commands/TagResourceCommand.js +21 -28
- package/dist-es/commands/UntagResourceCommand.js +21 -28
- package/dist-es/commands/UpdateArchiveRuleCommand.js +22 -29
- package/dist-es/commands/UpdateFindingsCommand.js +22 -29
- package/dist-es/commands/ValidatePolicyCommand.js +21 -28
- package/dist-es/endpoints.js +8 -8
- package/dist-es/models/AccessAnalyzerServiceException.js +5 -10
- package/dist-es/models/models_0.js +409 -220
- package/dist-es/pagination/ListAccessPreviewFindingsPaginator.js +25 -68
- package/dist-es/pagination/ListAccessPreviewsPaginator.js +25 -68
- package/dist-es/pagination/ListAnalyzedResourcesPaginator.js +25 -68
- package/dist-es/pagination/ListAnalyzersPaginator.js +25 -68
- package/dist-es/pagination/ListArchiveRulesPaginator.js +25 -68
- package/dist-es/pagination/ListFindingsPaginator.js +25 -68
- package/dist-es/pagination/ListPolicyGenerationsPaginator.js +25 -68
- package/dist-es/pagination/ValidatePolicyPaginator.js +25 -68
- package/dist-es/protocols/Aws_restJson1.js +2350 -3152
- package/dist-es/runtimeConfig.browser.js +26 -12
- package/dist-es/runtimeConfig.js +30 -12
- package/dist-es/runtimeConfig.native.js +8 -5
- package/dist-es/runtimeConfig.shared.js +8 -11
- package/package.json +33 -33
|
@@ -1,89 +1,88 @@
|
|
|
1
|
-
import { __assign, __extends, __read } from "tslib";
|
|
2
1
|
import { AccessAnalyzerServiceException as __BaseException } from "./AccessAnalyzerServiceException";
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
2
|
+
export class AccessDeniedException extends __BaseException {
|
|
3
|
+
constructor(opts) {
|
|
4
|
+
super({
|
|
5
|
+
name: "AccessDeniedException",
|
|
6
|
+
$fault: "client",
|
|
7
|
+
...opts,
|
|
8
|
+
});
|
|
9
|
+
this.name = "AccessDeniedException";
|
|
10
|
+
this.$fault = "client";
|
|
11
|
+
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
11
12
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
13
|
+
}
|
|
14
|
+
export class ConflictException extends __BaseException {
|
|
15
|
+
constructor(opts) {
|
|
16
|
+
super({
|
|
17
|
+
name: "ConflictException",
|
|
18
|
+
$fault: "client",
|
|
19
|
+
...opts,
|
|
20
|
+
});
|
|
21
|
+
this.name = "ConflictException";
|
|
22
|
+
this.$fault = "client";
|
|
23
|
+
Object.setPrototypeOf(this, ConflictException.prototype);
|
|
24
|
+
this.resourceId = opts.resourceId;
|
|
25
|
+
this.resourceType = opts.resourceType;
|
|
25
26
|
}
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
27
|
+
}
|
|
28
|
+
export class InternalServerException extends __BaseException {
|
|
29
|
+
constructor(opts) {
|
|
30
|
+
super({
|
|
31
|
+
name: "InternalServerException",
|
|
32
|
+
$fault: "server",
|
|
33
|
+
...opts,
|
|
34
|
+
});
|
|
35
|
+
this.name = "InternalServerException";
|
|
36
|
+
this.$fault = "server";
|
|
37
|
+
this.$retryable = {};
|
|
38
|
+
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
39
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
39
40
|
}
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
41
|
+
}
|
|
42
|
+
export class ResourceNotFoundException extends __BaseException {
|
|
43
|
+
constructor(opts) {
|
|
44
|
+
super({
|
|
45
|
+
name: "ResourceNotFoundException",
|
|
46
|
+
$fault: "client",
|
|
47
|
+
...opts,
|
|
48
|
+
});
|
|
49
|
+
this.name = "ResourceNotFoundException";
|
|
50
|
+
this.$fault = "client";
|
|
51
|
+
Object.setPrototypeOf(this, ResourceNotFoundException.prototype);
|
|
52
|
+
this.resourceId = opts.resourceId;
|
|
53
|
+
this.resourceType = opts.resourceType;
|
|
53
54
|
}
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
55
|
+
}
|
|
56
|
+
export class ServiceQuotaExceededException extends __BaseException {
|
|
57
|
+
constructor(opts) {
|
|
58
|
+
super({
|
|
59
|
+
name: "ServiceQuotaExceededException",
|
|
60
|
+
$fault: "client",
|
|
61
|
+
...opts,
|
|
62
|
+
});
|
|
63
|
+
this.name = "ServiceQuotaExceededException";
|
|
64
|
+
this.$fault = "client";
|
|
65
|
+
Object.setPrototypeOf(this, ServiceQuotaExceededException.prototype);
|
|
66
|
+
this.resourceId = opts.resourceId;
|
|
67
|
+
this.resourceType = opts.resourceType;
|
|
67
68
|
}
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
69
|
+
}
|
|
70
|
+
export class ThrottlingException extends __BaseException {
|
|
71
|
+
constructor(opts) {
|
|
72
|
+
super({
|
|
73
|
+
name: "ThrottlingException",
|
|
74
|
+
$fault: "client",
|
|
75
|
+
...opts,
|
|
76
|
+
});
|
|
77
|
+
this.name = "ThrottlingException";
|
|
78
|
+
this.$fault = "client";
|
|
79
|
+
this.$retryable = {
|
|
78
80
|
throttling: true,
|
|
79
81
|
};
|
|
80
|
-
Object.setPrototypeOf(
|
|
81
|
-
|
|
82
|
-
return _this;
|
|
82
|
+
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
83
|
+
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
83
84
|
}
|
|
84
|
-
|
|
85
|
-
}(__BaseException));
|
|
86
|
-
export { ThrottlingException };
|
|
85
|
+
}
|
|
87
86
|
export var ValidationExceptionReason;
|
|
88
87
|
(function (ValidationExceptionReason) {
|
|
89
88
|
ValidationExceptionReason["CANNOT_PARSE"] = "cannotParse";
|
|
@@ -91,20 +90,20 @@ export var ValidationExceptionReason;
|
|
|
91
90
|
ValidationExceptionReason["OTHER"] = "other";
|
|
92
91
|
ValidationExceptionReason["UNKNOWN_OPERATION"] = "unknownOperation";
|
|
93
92
|
})(ValidationExceptionReason || (ValidationExceptionReason = {}));
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
93
|
+
export class ValidationException extends __BaseException {
|
|
94
|
+
constructor(opts) {
|
|
95
|
+
super({
|
|
96
|
+
name: "ValidationException",
|
|
97
|
+
$fault: "client",
|
|
98
|
+
...opts,
|
|
99
|
+
});
|
|
100
|
+
this.name = "ValidationException";
|
|
101
|
+
this.$fault = "client";
|
|
102
|
+
Object.setPrototypeOf(this, ValidationException.prototype);
|
|
103
|
+
this.reason = opts.reason;
|
|
104
|
+
this.fieldList = opts.fieldList;
|
|
104
105
|
}
|
|
105
|
-
|
|
106
|
-
}(__BaseException));
|
|
107
|
-
export { ValidationException };
|
|
106
|
+
}
|
|
108
107
|
export var KmsGrantOperation;
|
|
109
108
|
(function (KmsGrantOperation) {
|
|
110
109
|
KmsGrantOperation["CREATE_GRANT"] = "CreateGrant";
|
|
@@ -124,7 +123,7 @@ export var KmsGrantOperation;
|
|
|
124
123
|
})(KmsGrantOperation || (KmsGrantOperation = {}));
|
|
125
124
|
export var NetworkOriginConfiguration;
|
|
126
125
|
(function (NetworkOriginConfiguration) {
|
|
127
|
-
NetworkOriginConfiguration.visit =
|
|
126
|
+
NetworkOriginConfiguration.visit = (value, visitor) => {
|
|
128
127
|
if (value.vpcConfiguration !== undefined)
|
|
129
128
|
return visitor.vpcConfiguration(value.vpcConfiguration);
|
|
130
129
|
if (value.internetConfiguration !== undefined)
|
|
@@ -134,7 +133,7 @@ export var NetworkOriginConfiguration;
|
|
|
134
133
|
})(NetworkOriginConfiguration || (NetworkOriginConfiguration = {}));
|
|
135
134
|
export var AclGrantee;
|
|
136
135
|
(function (AclGrantee) {
|
|
137
|
-
AclGrantee.visit =
|
|
136
|
+
AclGrantee.visit = (value, visitor) => {
|
|
138
137
|
if (value.id !== undefined)
|
|
139
138
|
return visitor.id(value.id);
|
|
140
139
|
if (value.uri !== undefined)
|
|
@@ -152,7 +151,7 @@ export var AclPermission;
|
|
|
152
151
|
})(AclPermission || (AclPermission = {}));
|
|
153
152
|
export var Configuration;
|
|
154
153
|
(function (Configuration) {
|
|
155
|
-
Configuration.visit =
|
|
154
|
+
Configuration.visit = (value, visitor) => {
|
|
156
155
|
if (value.iamRole !== undefined)
|
|
157
156
|
return visitor.iamRole(value.iamRole);
|
|
158
157
|
if (value.kmsKey !== undefined)
|
|
@@ -233,7 +232,7 @@ export var ValidatePolicyFindingType;
|
|
|
233
232
|
})(ValidatePolicyFindingType || (ValidatePolicyFindingType = {}));
|
|
234
233
|
export var PathElement;
|
|
235
234
|
(function (PathElement) {
|
|
236
|
-
PathElement.visit =
|
|
235
|
+
PathElement.visit = (value, visitor) => {
|
|
237
236
|
if (value.index !== undefined)
|
|
238
237
|
return visitor.index(value.index);
|
|
239
238
|
if (value.key !== undefined)
|
|
@@ -245,69 +244,139 @@ export var PathElement;
|
|
|
245
244
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
246
245
|
};
|
|
247
246
|
})(PathElement || (PathElement = {}));
|
|
248
|
-
export
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
export
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
export
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
export
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
export
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
export
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
export
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
export
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
export
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
export
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
247
|
+
export const CriterionFilterSensitiveLog = (obj) => ({
|
|
248
|
+
...obj,
|
|
249
|
+
});
|
|
250
|
+
export const CreateArchiveRuleRequestFilterSensitiveLog = (obj) => ({
|
|
251
|
+
...obj,
|
|
252
|
+
});
|
|
253
|
+
export const ValidationExceptionFieldFilterSensitiveLog = (obj) => ({
|
|
254
|
+
...obj,
|
|
255
|
+
});
|
|
256
|
+
export const DeleteArchiveRuleRequestFilterSensitiveLog = (obj) => ({
|
|
257
|
+
...obj,
|
|
258
|
+
});
|
|
259
|
+
export const GetArchiveRuleRequestFilterSensitiveLog = (obj) => ({
|
|
260
|
+
...obj,
|
|
261
|
+
});
|
|
262
|
+
export const ArchiveRuleSummaryFilterSensitiveLog = (obj) => ({
|
|
263
|
+
...obj,
|
|
264
|
+
});
|
|
265
|
+
export const GetArchiveRuleResponseFilterSensitiveLog = (obj) => ({
|
|
266
|
+
...obj,
|
|
267
|
+
});
|
|
268
|
+
export const ListArchiveRulesRequestFilterSensitiveLog = (obj) => ({
|
|
269
|
+
...obj,
|
|
270
|
+
});
|
|
271
|
+
export const ListArchiveRulesResponseFilterSensitiveLog = (obj) => ({
|
|
272
|
+
...obj,
|
|
273
|
+
});
|
|
274
|
+
export const UpdateArchiveRuleRequestFilterSensitiveLog = (obj) => ({
|
|
275
|
+
...obj,
|
|
276
|
+
});
|
|
277
|
+
export const InlineArchiveRuleFilterSensitiveLog = (obj) => ({
|
|
278
|
+
...obj,
|
|
279
|
+
});
|
|
280
|
+
export const CreateAnalyzerRequestFilterSensitiveLog = (obj) => ({
|
|
281
|
+
...obj,
|
|
282
|
+
});
|
|
283
|
+
export const CreateAnalyzerResponseFilterSensitiveLog = (obj) => ({
|
|
284
|
+
...obj,
|
|
285
|
+
});
|
|
286
|
+
export const DeleteAnalyzerRequestFilterSensitiveLog = (obj) => ({
|
|
287
|
+
...obj,
|
|
288
|
+
});
|
|
289
|
+
export const GetAnalyzerRequestFilterSensitiveLog = (obj) => ({
|
|
290
|
+
...obj,
|
|
291
|
+
});
|
|
292
|
+
export const StatusReasonFilterSensitiveLog = (obj) => ({
|
|
293
|
+
...obj,
|
|
294
|
+
});
|
|
295
|
+
export const AnalyzerSummaryFilterSensitiveLog = (obj) => ({
|
|
296
|
+
...obj,
|
|
297
|
+
});
|
|
298
|
+
export const GetAnalyzerResponseFilterSensitiveLog = (obj) => ({
|
|
299
|
+
...obj,
|
|
300
|
+
});
|
|
301
|
+
export const ListAnalyzersRequestFilterSensitiveLog = (obj) => ({
|
|
302
|
+
...obj,
|
|
303
|
+
});
|
|
304
|
+
export const ListAnalyzersResponseFilterSensitiveLog = (obj) => ({
|
|
305
|
+
...obj,
|
|
306
|
+
});
|
|
307
|
+
export const ApplyArchiveRuleRequestFilterSensitiveLog = (obj) => ({
|
|
308
|
+
...obj,
|
|
309
|
+
});
|
|
310
|
+
export const CancelPolicyGenerationRequestFilterSensitiveLog = (obj) => ({
|
|
311
|
+
...obj,
|
|
312
|
+
});
|
|
313
|
+
export const CancelPolicyGenerationResponseFilterSensitiveLog = (obj) => ({
|
|
314
|
+
...obj,
|
|
315
|
+
});
|
|
316
|
+
export const IamRoleConfigurationFilterSensitiveLog = (obj) => ({
|
|
317
|
+
...obj,
|
|
318
|
+
});
|
|
319
|
+
export const KmsGrantConstraintsFilterSensitiveLog = (obj) => ({
|
|
320
|
+
...obj,
|
|
321
|
+
});
|
|
322
|
+
export const KmsGrantConfigurationFilterSensitiveLog = (obj) => ({
|
|
323
|
+
...obj,
|
|
324
|
+
});
|
|
325
|
+
export const KmsKeyConfigurationFilterSensitiveLog = (obj) => ({
|
|
326
|
+
...obj,
|
|
327
|
+
});
|
|
328
|
+
export const InternetConfigurationFilterSensitiveLog = (obj) => ({
|
|
329
|
+
...obj,
|
|
330
|
+
});
|
|
331
|
+
export const VpcConfigurationFilterSensitiveLog = (obj) => ({
|
|
332
|
+
...obj,
|
|
333
|
+
});
|
|
334
|
+
export const NetworkOriginConfigurationFilterSensitiveLog = (obj) => {
|
|
279
335
|
if (obj.vpcConfiguration !== undefined)
|
|
280
336
|
return { vpcConfiguration: VpcConfigurationFilterSensitiveLog(obj.vpcConfiguration) };
|
|
281
337
|
if (obj.internetConfiguration !== undefined)
|
|
282
338
|
return { internetConfiguration: InternetConfigurationFilterSensitiveLog(obj.internetConfiguration) };
|
|
283
339
|
if (obj.$unknown !== undefined)
|
|
284
|
-
return
|
|
340
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
285
341
|
};
|
|
286
|
-
export
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
342
|
+
export const S3PublicAccessBlockConfigurationFilterSensitiveLog = (obj) => ({
|
|
343
|
+
...obj,
|
|
344
|
+
});
|
|
345
|
+
export const S3AccessPointConfigurationFilterSensitiveLog = (obj) => ({
|
|
346
|
+
...obj,
|
|
347
|
+
...(obj.networkOrigin && { networkOrigin: NetworkOriginConfigurationFilterSensitiveLog(obj.networkOrigin) }),
|
|
348
|
+
});
|
|
349
|
+
export const AclGranteeFilterSensitiveLog = (obj) => {
|
|
290
350
|
if (obj.id !== undefined)
|
|
291
351
|
return { id: obj.id };
|
|
292
352
|
if (obj.uri !== undefined)
|
|
293
353
|
return { uri: obj.uri };
|
|
294
354
|
if (obj.$unknown !== undefined)
|
|
295
|
-
return
|
|
355
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
296
356
|
};
|
|
297
|
-
export
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
})
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
357
|
+
export const S3BucketAclGrantConfigurationFilterSensitiveLog = (obj) => ({
|
|
358
|
+
...obj,
|
|
359
|
+
...(obj.grantee && { grantee: AclGranteeFilterSensitiveLog(obj.grantee) }),
|
|
360
|
+
});
|
|
361
|
+
export const S3BucketConfigurationFilterSensitiveLog = (obj) => ({
|
|
362
|
+
...obj,
|
|
363
|
+
...(obj.bucketAclGrants && {
|
|
364
|
+
bucketAclGrants: obj.bucketAclGrants.map((item) => S3BucketAclGrantConfigurationFilterSensitiveLog(item)),
|
|
365
|
+
}),
|
|
366
|
+
...(obj.accessPoints && {
|
|
367
|
+
accessPoints: Object.entries(obj.accessPoints).reduce((acc, [key, value]) => ({
|
|
368
|
+
...acc,
|
|
369
|
+
[key]: S3AccessPointConfigurationFilterSensitiveLog(value),
|
|
370
|
+
}), {}),
|
|
371
|
+
}),
|
|
372
|
+
});
|
|
373
|
+
export const SecretsManagerSecretConfigurationFilterSensitiveLog = (obj) => ({
|
|
374
|
+
...obj,
|
|
375
|
+
});
|
|
376
|
+
export const SqsQueueConfigurationFilterSensitiveLog = (obj) => ({
|
|
377
|
+
...obj,
|
|
378
|
+
});
|
|
379
|
+
export const ConfigurationFilterSensitiveLog = (obj) => {
|
|
311
380
|
if (obj.iamRole !== undefined)
|
|
312
381
|
return { iamRole: IamRoleConfigurationFilterSensitiveLog(obj.iamRole) };
|
|
313
382
|
if (obj.kmsKey !== undefined)
|
|
@@ -319,76 +388,184 @@ export var ConfigurationFilterSensitiveLog = function (obj) {
|
|
|
319
388
|
if (obj.sqsQueue !== undefined)
|
|
320
389
|
return { sqsQueue: SqsQueueConfigurationFilterSensitiveLog(obj.sqsQueue) };
|
|
321
390
|
if (obj.$unknown !== undefined)
|
|
322
|
-
return
|
|
391
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
323
392
|
};
|
|
324
|
-
export
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
})
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
export
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
export
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
export
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
export
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
export
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
export
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
export
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
export
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
export
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
export
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
export
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
export
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
export
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
export
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
export
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
393
|
+
export const CreateAccessPreviewRequestFilterSensitiveLog = (obj) => ({
|
|
394
|
+
...obj,
|
|
395
|
+
...(obj.configurations && {
|
|
396
|
+
configurations: Object.entries(obj.configurations).reduce((acc, [key, value]) => ({
|
|
397
|
+
...acc,
|
|
398
|
+
[key]: ConfigurationFilterSensitiveLog(value),
|
|
399
|
+
}), {}),
|
|
400
|
+
}),
|
|
401
|
+
});
|
|
402
|
+
export const CreateAccessPreviewResponseFilterSensitiveLog = (obj) => ({
|
|
403
|
+
...obj,
|
|
404
|
+
});
|
|
405
|
+
export const GetAccessPreviewRequestFilterSensitiveLog = (obj) => ({
|
|
406
|
+
...obj,
|
|
407
|
+
});
|
|
408
|
+
export const AccessPreviewStatusReasonFilterSensitiveLog = (obj) => ({
|
|
409
|
+
...obj,
|
|
410
|
+
});
|
|
411
|
+
export const AccessPreviewFilterSensitiveLog = (obj) => ({
|
|
412
|
+
...obj,
|
|
413
|
+
...(obj.configurations && {
|
|
414
|
+
configurations: Object.entries(obj.configurations).reduce((acc, [key, value]) => ({
|
|
415
|
+
...acc,
|
|
416
|
+
[key]: ConfigurationFilterSensitiveLog(value),
|
|
417
|
+
}), {}),
|
|
418
|
+
}),
|
|
419
|
+
});
|
|
420
|
+
export const GetAccessPreviewResponseFilterSensitiveLog = (obj) => ({
|
|
421
|
+
...obj,
|
|
422
|
+
...(obj.accessPreview && { accessPreview: AccessPreviewFilterSensitiveLog(obj.accessPreview) }),
|
|
423
|
+
});
|
|
424
|
+
export const GetAnalyzedResourceRequestFilterSensitiveLog = (obj) => ({
|
|
425
|
+
...obj,
|
|
426
|
+
});
|
|
427
|
+
export const AnalyzedResourceFilterSensitiveLog = (obj) => ({
|
|
428
|
+
...obj,
|
|
429
|
+
});
|
|
430
|
+
export const GetAnalyzedResourceResponseFilterSensitiveLog = (obj) => ({
|
|
431
|
+
...obj,
|
|
432
|
+
});
|
|
433
|
+
export const GetFindingRequestFilterSensitiveLog = (obj) => ({
|
|
434
|
+
...obj,
|
|
435
|
+
});
|
|
436
|
+
export const FindingSourceDetailFilterSensitiveLog = (obj) => ({
|
|
437
|
+
...obj,
|
|
438
|
+
});
|
|
439
|
+
export const FindingSourceFilterSensitiveLog = (obj) => ({
|
|
440
|
+
...obj,
|
|
441
|
+
});
|
|
442
|
+
export const FindingFilterSensitiveLog = (obj) => ({
|
|
443
|
+
...obj,
|
|
444
|
+
});
|
|
445
|
+
export const GetFindingResponseFilterSensitiveLog = (obj) => ({
|
|
446
|
+
...obj,
|
|
447
|
+
});
|
|
448
|
+
export const GetGeneratedPolicyRequestFilterSensitiveLog = (obj) => ({
|
|
449
|
+
...obj,
|
|
450
|
+
});
|
|
451
|
+
export const GeneratedPolicyFilterSensitiveLog = (obj) => ({
|
|
452
|
+
...obj,
|
|
453
|
+
});
|
|
454
|
+
export const TrailPropertiesFilterSensitiveLog = (obj) => ({
|
|
455
|
+
...obj,
|
|
456
|
+
});
|
|
457
|
+
export const CloudTrailPropertiesFilterSensitiveLog = (obj) => ({
|
|
458
|
+
...obj,
|
|
459
|
+
});
|
|
460
|
+
export const GeneratedPolicyPropertiesFilterSensitiveLog = (obj) => ({
|
|
461
|
+
...obj,
|
|
462
|
+
});
|
|
463
|
+
export const GeneratedPolicyResultFilterSensitiveLog = (obj) => ({
|
|
464
|
+
...obj,
|
|
465
|
+
});
|
|
466
|
+
export const JobErrorFilterSensitiveLog = (obj) => ({
|
|
467
|
+
...obj,
|
|
468
|
+
});
|
|
469
|
+
export const JobDetailsFilterSensitiveLog = (obj) => ({
|
|
470
|
+
...obj,
|
|
471
|
+
});
|
|
472
|
+
export const GetGeneratedPolicyResponseFilterSensitiveLog = (obj) => ({
|
|
473
|
+
...obj,
|
|
474
|
+
});
|
|
475
|
+
export const ListAccessPreviewFindingsRequestFilterSensitiveLog = (obj) => ({
|
|
476
|
+
...obj,
|
|
477
|
+
});
|
|
478
|
+
export const AccessPreviewFindingFilterSensitiveLog = (obj) => ({
|
|
479
|
+
...obj,
|
|
480
|
+
});
|
|
481
|
+
export const ListAccessPreviewFindingsResponseFilterSensitiveLog = (obj) => ({
|
|
482
|
+
...obj,
|
|
483
|
+
});
|
|
484
|
+
export const ListAccessPreviewsRequestFilterSensitiveLog = (obj) => ({
|
|
485
|
+
...obj,
|
|
486
|
+
});
|
|
487
|
+
export const AccessPreviewSummaryFilterSensitiveLog = (obj) => ({
|
|
488
|
+
...obj,
|
|
489
|
+
});
|
|
490
|
+
export const ListAccessPreviewsResponseFilterSensitiveLog = (obj) => ({
|
|
491
|
+
...obj,
|
|
492
|
+
});
|
|
493
|
+
export const ListAnalyzedResourcesRequestFilterSensitiveLog = (obj) => ({
|
|
494
|
+
...obj,
|
|
495
|
+
});
|
|
496
|
+
export const AnalyzedResourceSummaryFilterSensitiveLog = (obj) => ({
|
|
497
|
+
...obj,
|
|
498
|
+
});
|
|
499
|
+
export const ListAnalyzedResourcesResponseFilterSensitiveLog = (obj) => ({
|
|
500
|
+
...obj,
|
|
501
|
+
});
|
|
502
|
+
export const SortCriteriaFilterSensitiveLog = (obj) => ({
|
|
503
|
+
...obj,
|
|
504
|
+
});
|
|
505
|
+
export const ListFindingsRequestFilterSensitiveLog = (obj) => ({
|
|
506
|
+
...obj,
|
|
507
|
+
});
|
|
508
|
+
export const FindingSummaryFilterSensitiveLog = (obj) => ({
|
|
509
|
+
...obj,
|
|
510
|
+
});
|
|
511
|
+
export const ListFindingsResponseFilterSensitiveLog = (obj) => ({
|
|
512
|
+
...obj,
|
|
513
|
+
});
|
|
514
|
+
export const ListPolicyGenerationsRequestFilterSensitiveLog = (obj) => ({
|
|
515
|
+
...obj,
|
|
516
|
+
});
|
|
517
|
+
export const PolicyGenerationFilterSensitiveLog = (obj) => ({
|
|
518
|
+
...obj,
|
|
519
|
+
});
|
|
520
|
+
export const ListPolicyGenerationsResponseFilterSensitiveLog = (obj) => ({
|
|
521
|
+
...obj,
|
|
522
|
+
});
|
|
523
|
+
export const ListTagsForResourceRequestFilterSensitiveLog = (obj) => ({
|
|
524
|
+
...obj,
|
|
525
|
+
});
|
|
526
|
+
export const ListTagsForResourceResponseFilterSensitiveLog = (obj) => ({
|
|
527
|
+
...obj,
|
|
528
|
+
});
|
|
529
|
+
export const TrailFilterSensitiveLog = (obj) => ({
|
|
530
|
+
...obj,
|
|
531
|
+
});
|
|
532
|
+
export const CloudTrailDetailsFilterSensitiveLog = (obj) => ({
|
|
533
|
+
...obj,
|
|
534
|
+
});
|
|
535
|
+
export const PolicyGenerationDetailsFilterSensitiveLog = (obj) => ({
|
|
536
|
+
...obj,
|
|
537
|
+
});
|
|
538
|
+
export const StartPolicyGenerationRequestFilterSensitiveLog = (obj) => ({
|
|
539
|
+
...obj,
|
|
540
|
+
});
|
|
541
|
+
export const StartPolicyGenerationResponseFilterSensitiveLog = (obj) => ({
|
|
542
|
+
...obj,
|
|
543
|
+
});
|
|
544
|
+
export const StartResourceScanRequestFilterSensitiveLog = (obj) => ({
|
|
545
|
+
...obj,
|
|
546
|
+
});
|
|
547
|
+
export const TagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
548
|
+
...obj,
|
|
549
|
+
});
|
|
550
|
+
export const TagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
551
|
+
...obj,
|
|
552
|
+
});
|
|
553
|
+
export const UntagResourceRequestFilterSensitiveLog = (obj) => ({
|
|
554
|
+
...obj,
|
|
555
|
+
});
|
|
556
|
+
export const UntagResourceResponseFilterSensitiveLog = (obj) => ({
|
|
557
|
+
...obj,
|
|
558
|
+
});
|
|
559
|
+
export const UpdateFindingsRequestFilterSensitiveLog = (obj) => ({
|
|
560
|
+
...obj,
|
|
561
|
+
});
|
|
562
|
+
export const ValidatePolicyRequestFilterSensitiveLog = (obj) => ({
|
|
563
|
+
...obj,
|
|
564
|
+
});
|
|
565
|
+
export const SubstringFilterSensitiveLog = (obj) => ({
|
|
566
|
+
...obj,
|
|
567
|
+
});
|
|
568
|
+
export const PathElementFilterSensitiveLog = (obj) => {
|
|
392
569
|
if (obj.index !== undefined)
|
|
393
570
|
return { index: obj.index };
|
|
394
571
|
if (obj.key !== undefined)
|
|
@@ -398,10 +575,22 @@ export var PathElementFilterSensitiveLog = function (obj) {
|
|
|
398
575
|
if (obj.value !== undefined)
|
|
399
576
|
return { value: obj.value };
|
|
400
577
|
if (obj.$unknown !== undefined)
|
|
401
|
-
return
|
|
578
|
+
return { [obj.$unknown[0]]: "UNKNOWN" };
|
|
402
579
|
};
|
|
403
|
-
export
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
export
|
|
407
|
-
|
|
580
|
+
export const PositionFilterSensitiveLog = (obj) => ({
|
|
581
|
+
...obj,
|
|
582
|
+
});
|
|
583
|
+
export const SpanFilterSensitiveLog = (obj) => ({
|
|
584
|
+
...obj,
|
|
585
|
+
});
|
|
586
|
+
export const LocationFilterSensitiveLog = (obj) => ({
|
|
587
|
+
...obj,
|
|
588
|
+
...(obj.path && { path: obj.path.map((item) => PathElementFilterSensitiveLog(item)) }),
|
|
589
|
+
});
|
|
590
|
+
export const ValidatePolicyFindingFilterSensitiveLog = (obj) => ({
|
|
591
|
+
...obj,
|
|
592
|
+
...(obj.locations && { locations: obj.locations.map((item) => LocationFilterSensitiveLog(item)) }),
|
|
593
|
+
});
|
|
594
|
+
export const ValidatePolicyResponseFilterSensitiveLog = (obj) => ({
|
|
595
|
+
...obj,
|
|
596
|
+
});
|