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