@aws-sdk/client-accessanalyzer 3.928.0 → 3.929.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/index.js +2113 -1844
- package/dist-cjs/runtimeConfig.shared.js +2 -0
- package/dist-es/AccessAnalyzerClient.js +2 -0
- package/dist-es/commands/ApplyArchiveRuleCommand.js +3 -9
- package/dist-es/commands/CancelPolicyGenerationCommand.js +3 -9
- package/dist-es/commands/CheckAccessNotGrantedCommand.js +3 -10
- package/dist-es/commands/CheckNoNewAccessCommand.js +3 -10
- package/dist-es/commands/CheckNoPublicAccessCommand.js +3 -10
- package/dist-es/commands/CreateAccessPreviewCommand.js +3 -9
- package/dist-es/commands/CreateAnalyzerCommand.js +3 -9
- package/dist-es/commands/CreateArchiveRuleCommand.js +3 -9
- package/dist-es/commands/DeleteAnalyzerCommand.js +3 -9
- package/dist-es/commands/DeleteArchiveRuleCommand.js +3 -9
- package/dist-es/commands/GenerateFindingRecommendationCommand.js +3 -9
- package/dist-es/commands/GetAccessPreviewCommand.js +3 -9
- package/dist-es/commands/GetAnalyzedResourceCommand.js +3 -9
- package/dist-es/commands/GetAnalyzerCommand.js +3 -9
- package/dist-es/commands/GetArchiveRuleCommand.js +3 -9
- package/dist-es/commands/GetFindingCommand.js +3 -9
- package/dist-es/commands/GetFindingRecommendationCommand.js +3 -9
- package/dist-es/commands/GetFindingV2Command.js +3 -9
- package/dist-es/commands/GetFindingsStatisticsCommand.js +3 -9
- package/dist-es/commands/GetGeneratedPolicyCommand.js +3 -9
- package/dist-es/commands/ListAccessPreviewFindingsCommand.js +3 -9
- package/dist-es/commands/ListAccessPreviewsCommand.js +3 -9
- package/dist-es/commands/ListAnalyzedResourcesCommand.js +3 -9
- package/dist-es/commands/ListAnalyzersCommand.js +3 -9
- package/dist-es/commands/ListArchiveRulesCommand.js +3 -9
- package/dist-es/commands/ListFindingsCommand.js +3 -9
- package/dist-es/commands/ListFindingsV2Command.js +3 -9
- package/dist-es/commands/ListPolicyGenerationsCommand.js +3 -9
- package/dist-es/commands/ListTagsForResourceCommand.js +3 -9
- package/dist-es/commands/StartPolicyGenerationCommand.js +3 -9
- package/dist-es/commands/StartResourceScanCommand.js +3 -9
- package/dist-es/commands/TagResourceCommand.js +3 -9
- package/dist-es/commands/UntagResourceCommand.js +3 -9
- package/dist-es/commands/UpdateAnalyzerCommand.js +3 -9
- package/dist-es/commands/UpdateArchiveRuleCommand.js +3 -9
- package/dist-es/commands/UpdateFindingsCommand.js +3 -9
- package/dist-es/commands/ValidatePolicyCommand.js +3 -9
- package/dist-es/models/models_0.js +0 -14
- package/dist-es/runtimeConfig.shared.js +2 -0
- package/dist-es/schemas/schemas_0.js +2043 -0
- package/dist-types/AccessAnalyzerClient.d.ts +10 -1
- package/dist-types/models/models_0.d.ts +0 -12
- package/dist-types/runtimeConfig.browser.d.ts +1 -0
- package/dist-types/runtimeConfig.d.ts +1 -0
- package/dist-types/runtimeConfig.native.d.ts +1 -0
- package/dist-types/runtimeConfig.shared.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +266 -0
- package/dist-types/ts3.4/AccessAnalyzerClient.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +0 -9
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +4 -0
- package/dist-types/ts3.4/runtimeConfig.shared.d.ts +4 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +273 -0
- package/package.json +2 -3
- package/dist-es/protocols/Aws_restJson1.js +0 -1553
- package/dist-types/protocols/Aws_restJson1.d.ts +0 -335
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +0 -449
package/dist-cjs/index.js
CHANGED
|
@@ -6,6 +6,7 @@ var middlewareRecursionDetection = require('@aws-sdk/middleware-recursion-detect
|
|
|
6
6
|
var middlewareUserAgent = require('@aws-sdk/middleware-user-agent');
|
|
7
7
|
var configResolver = require('@smithy/config-resolver');
|
|
8
8
|
var core = require('@smithy/core');
|
|
9
|
+
var schema = require('@smithy/core/schema');
|
|
9
10
|
var middlewareContentLength = require('@smithy/middleware-content-length');
|
|
10
11
|
var middlewareEndpoint = require('@smithy/middleware-endpoint');
|
|
11
12
|
var middlewareRetry = require('@smithy/middleware-retry');
|
|
@@ -14,9 +15,6 @@ var httpAuthSchemeProvider = require('./auth/httpAuthSchemeProvider');
|
|
|
14
15
|
var runtimeConfig = require('./runtimeConfig');
|
|
15
16
|
var regionConfigResolver = require('@aws-sdk/region-config-resolver');
|
|
16
17
|
var protocolHttp = require('@smithy/protocol-http');
|
|
17
|
-
var middlewareSerde = require('@smithy/middleware-serde');
|
|
18
|
-
var core$1 = require('@aws-sdk/core');
|
|
19
|
-
var uuid = require('@smithy/uuid');
|
|
20
18
|
|
|
21
19
|
const resolveClientEndpointParameters = (options) => {
|
|
22
20
|
return Object.assign(options, {
|
|
@@ -92,6 +90,7 @@ class AccessAnalyzerClient extends smithyClient.Client {
|
|
|
92
90
|
const _config_7 = httpAuthSchemeProvider.resolveHttpAuthSchemeConfig(_config_6);
|
|
93
91
|
const _config_8 = resolveRuntimeExtensions(_config_7, configuration?.extensions || []);
|
|
94
92
|
this.config = _config_8;
|
|
93
|
+
this.middlewareStack.use(schema.getSchemaSerdePlugin(this.config));
|
|
95
94
|
this.middlewareStack.use(middlewareUserAgent.getUserAgentPlugin(this.config));
|
|
96
95
|
this.middlewareStack.use(middlewareRetry.getRetryPlugin(this.config));
|
|
97
96
|
this.middlewareStack.use(middlewareContentLength.getContentLengthPlugin(this.config));
|
|
@@ -111,14 +110,14 @@ class AccessAnalyzerClient extends smithyClient.Client {
|
|
|
111
110
|
}
|
|
112
111
|
}
|
|
113
112
|
|
|
114
|
-
class AccessAnalyzerServiceException extends smithyClient.ServiceException {
|
|
113
|
+
let AccessAnalyzerServiceException$1 = class AccessAnalyzerServiceException extends smithyClient.ServiceException {
|
|
115
114
|
constructor(options) {
|
|
116
115
|
super(options);
|
|
117
116
|
Object.setPrototypeOf(this, AccessAnalyzerServiceException.prototype);
|
|
118
117
|
}
|
|
119
|
-
}
|
|
118
|
+
};
|
|
120
119
|
|
|
121
|
-
class AccessDeniedException extends AccessAnalyzerServiceException {
|
|
120
|
+
let AccessDeniedException$1 = class AccessDeniedException extends AccessAnalyzerServiceException$1 {
|
|
122
121
|
name = "AccessDeniedException";
|
|
123
122
|
$fault = "client";
|
|
124
123
|
constructor(opts) {
|
|
@@ -129,8 +128,8 @@ class AccessDeniedException extends AccessAnalyzerServiceException {
|
|
|
129
128
|
});
|
|
130
129
|
Object.setPrototypeOf(this, AccessDeniedException.prototype);
|
|
131
130
|
}
|
|
132
|
-
}
|
|
133
|
-
class ConflictException extends AccessAnalyzerServiceException {
|
|
131
|
+
};
|
|
132
|
+
let ConflictException$1 = class ConflictException extends AccessAnalyzerServiceException$1 {
|
|
134
133
|
name = "ConflictException";
|
|
135
134
|
$fault = "client";
|
|
136
135
|
resourceId;
|
|
@@ -145,8 +144,8 @@ class ConflictException extends AccessAnalyzerServiceException {
|
|
|
145
144
|
this.resourceId = opts.resourceId;
|
|
146
145
|
this.resourceType = opts.resourceType;
|
|
147
146
|
}
|
|
148
|
-
}
|
|
149
|
-
class InternalServerException extends AccessAnalyzerServiceException {
|
|
147
|
+
};
|
|
148
|
+
let InternalServerException$1 = class InternalServerException extends AccessAnalyzerServiceException$1 {
|
|
150
149
|
name = "InternalServerException";
|
|
151
150
|
$fault = "server";
|
|
152
151
|
$retryable = {};
|
|
@@ -160,8 +159,8 @@ class InternalServerException extends AccessAnalyzerServiceException {
|
|
|
160
159
|
Object.setPrototypeOf(this, InternalServerException.prototype);
|
|
161
160
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
162
161
|
}
|
|
163
|
-
}
|
|
164
|
-
class ResourceNotFoundException extends AccessAnalyzerServiceException {
|
|
162
|
+
};
|
|
163
|
+
let ResourceNotFoundException$1 = class ResourceNotFoundException extends AccessAnalyzerServiceException$1 {
|
|
165
164
|
name = "ResourceNotFoundException";
|
|
166
165
|
$fault = "client";
|
|
167
166
|
resourceId;
|
|
@@ -176,8 +175,8 @@ class ResourceNotFoundException extends AccessAnalyzerServiceException {
|
|
|
176
175
|
this.resourceId = opts.resourceId;
|
|
177
176
|
this.resourceType = opts.resourceType;
|
|
178
177
|
}
|
|
179
|
-
}
|
|
180
|
-
class ServiceQuotaExceededException extends AccessAnalyzerServiceException {
|
|
178
|
+
};
|
|
179
|
+
let ServiceQuotaExceededException$1 = class ServiceQuotaExceededException extends AccessAnalyzerServiceException$1 {
|
|
181
180
|
name = "ServiceQuotaExceededException";
|
|
182
181
|
$fault = "client";
|
|
183
182
|
resourceId;
|
|
@@ -192,8 +191,8 @@ class ServiceQuotaExceededException extends AccessAnalyzerServiceException {
|
|
|
192
191
|
this.resourceId = opts.resourceId;
|
|
193
192
|
this.resourceType = opts.resourceType;
|
|
194
193
|
}
|
|
195
|
-
}
|
|
196
|
-
class ThrottlingException extends AccessAnalyzerServiceException {
|
|
194
|
+
};
|
|
195
|
+
let ThrottlingException$1 = class ThrottlingException extends AccessAnalyzerServiceException$1 {
|
|
197
196
|
name = "ThrottlingException";
|
|
198
197
|
$fault = "client";
|
|
199
198
|
$retryable = {
|
|
@@ -209,7 +208,7 @@ class ThrottlingException extends AccessAnalyzerServiceException {
|
|
|
209
208
|
Object.setPrototypeOf(this, ThrottlingException.prototype);
|
|
210
209
|
this.retryAfterSeconds = opts.retryAfterSeconds;
|
|
211
210
|
}
|
|
212
|
-
}
|
|
211
|
+
};
|
|
213
212
|
const ValidationExceptionReason = {
|
|
214
213
|
CANNOT_PARSE: "cannotParse",
|
|
215
214
|
FIELD_VALIDATION_FAILED: "fieldValidationFailed",
|
|
@@ -217,7 +216,7 @@ const ValidationExceptionReason = {
|
|
|
217
216
|
OTHER: "other",
|
|
218
217
|
UNKNOWN_OPERATION: "unknownOperation",
|
|
219
218
|
};
|
|
220
|
-
class ValidationException extends AccessAnalyzerServiceException {
|
|
219
|
+
let ValidationException$1 = class ValidationException extends AccessAnalyzerServiceException$1 {
|
|
221
220
|
name = "ValidationException";
|
|
222
221
|
$fault = "client";
|
|
223
222
|
reason;
|
|
@@ -232,7 +231,7 @@ class ValidationException extends AccessAnalyzerServiceException {
|
|
|
232
231
|
this.reason = opts.reason;
|
|
233
232
|
this.fieldList = opts.fieldList;
|
|
234
233
|
}
|
|
235
|
-
}
|
|
234
|
+
};
|
|
236
235
|
exports.AnalyzerConfiguration = void 0;
|
|
237
236
|
(function (AnalyzerConfiguration) {
|
|
238
237
|
AnalyzerConfiguration.visit = (value, visitor) => {
|
|
@@ -251,7 +250,7 @@ const CheckAccessNotGrantedResult = {
|
|
|
251
250
|
FAIL: "FAIL",
|
|
252
251
|
PASS: "PASS",
|
|
253
252
|
};
|
|
254
|
-
class InvalidParameterException extends AccessAnalyzerServiceException {
|
|
253
|
+
let InvalidParameterException$1 = class InvalidParameterException extends AccessAnalyzerServiceException$1 {
|
|
255
254
|
name = "InvalidParameterException";
|
|
256
255
|
$fault = "client";
|
|
257
256
|
constructor(opts) {
|
|
@@ -262,8 +261,8 @@ class InvalidParameterException extends AccessAnalyzerServiceException {
|
|
|
262
261
|
});
|
|
263
262
|
Object.setPrototypeOf(this, InvalidParameterException.prototype);
|
|
264
263
|
}
|
|
265
|
-
}
|
|
266
|
-
class UnprocessableEntityException extends AccessAnalyzerServiceException {
|
|
264
|
+
};
|
|
265
|
+
let UnprocessableEntityException$1 = class UnprocessableEntityException extends AccessAnalyzerServiceException$1 {
|
|
267
266
|
name = "UnprocessableEntityException";
|
|
268
267
|
$fault = "client";
|
|
269
268
|
$retryable = {};
|
|
@@ -275,7 +274,7 @@ class UnprocessableEntityException extends AccessAnalyzerServiceException {
|
|
|
275
274
|
});
|
|
276
275
|
Object.setPrototypeOf(this, UnprocessableEntityException.prototype);
|
|
277
276
|
}
|
|
278
|
-
}
|
|
277
|
+
};
|
|
279
278
|
const CheckNoNewAccessResult = {
|
|
280
279
|
FAIL: "FAIL",
|
|
281
280
|
PASS: "PASS",
|
|
@@ -555,1581 +554,2034 @@ exports.PathElement = void 0;
|
|
|
555
554
|
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
556
555
|
};
|
|
557
556
|
})(exports.PathElement || (exports.PathElement = {}));
|
|
558
|
-
const CheckAccessNotGrantedRequestFilterSensitiveLog = (obj) => ({
|
|
559
|
-
...obj,
|
|
560
|
-
...(obj.policyDocument && { policyDocument: smithyClient.SENSITIVE_STRING }),
|
|
561
|
-
});
|
|
562
|
-
const CheckNoNewAccessRequestFilterSensitiveLog = (obj) => ({
|
|
563
|
-
...obj,
|
|
564
|
-
...(obj.newPolicyDocument && { newPolicyDocument: smithyClient.SENSITIVE_STRING }),
|
|
565
|
-
...(obj.existingPolicyDocument && { existingPolicyDocument: smithyClient.SENSITIVE_STRING }),
|
|
566
|
-
});
|
|
567
|
-
const CheckNoPublicAccessRequestFilterSensitiveLog = (obj) => ({
|
|
568
|
-
...obj,
|
|
569
|
-
...(obj.policyDocument && { policyDocument: smithyClient.SENSITIVE_STRING }),
|
|
570
|
-
});
|
|
571
557
|
|
|
572
|
-
const
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
const
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
const
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
const
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
const
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
const
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
|
|
655
|
-
const
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
const
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
const
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
const
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
const
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
const
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
737
|
-
|
|
738
|
-
const
|
|
739
|
-
|
|
740
|
-
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
|
|
744
|
-
|
|
745
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
749
|
-
|
|
750
|
-
const
|
|
751
|
-
|
|
752
|
-
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
|
|
759
|
-
const
|
|
760
|
-
|
|
761
|
-
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
const
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
|
|
775
|
-
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
|
|
780
|
-
|
|
781
|
-
const
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
const
|
|
796
|
-
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
const
|
|
809
|
-
|
|
810
|
-
|
|
811
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
816
|
-
[_nT]: [, input[_nT]],
|
|
817
|
-
});
|
|
818
|
-
let body;
|
|
819
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
820
|
-
return b.build();
|
|
821
|
-
};
|
|
822
|
-
const se_GetGeneratedPolicyCommand = async (input, context) => {
|
|
823
|
-
const b = core.requestBuilder(input, context);
|
|
824
|
-
const headers = {};
|
|
825
|
-
b.bp("/policy/generation/{jobId}");
|
|
826
|
-
b.p("jobId", () => input.jobId, "{jobId}", false);
|
|
827
|
-
const query = smithyClient.map({
|
|
828
|
-
[_iRP]: [() => input.includeResourcePlaceholders !== void 0, () => input[_iRP].toString()],
|
|
829
|
-
[_iSLT]: [() => input.includeServiceLevelTemplate !== void 0, () => input[_iSLT].toString()],
|
|
830
|
-
});
|
|
831
|
-
let body;
|
|
832
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
833
|
-
return b.build();
|
|
834
|
-
};
|
|
835
|
-
const se_ListAccessPreviewFindingsCommand = async (input, context) => {
|
|
836
|
-
const b = core.requestBuilder(input, context);
|
|
837
|
-
const headers = {
|
|
838
|
-
"content-type": "application/json",
|
|
839
|
-
};
|
|
840
|
-
b.bp("/access-preview/{accessPreviewId}");
|
|
841
|
-
b.p("accessPreviewId", () => input.accessPreviewId, "{accessPreviewId}", false);
|
|
842
|
-
let body;
|
|
843
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
844
|
-
analyzerArn: [],
|
|
845
|
-
filter: (_) => smithyClient._json(_),
|
|
846
|
-
maxResults: [],
|
|
847
|
-
nextToken: [],
|
|
848
|
-
}));
|
|
849
|
-
b.m("POST").h(headers).b(body);
|
|
850
|
-
return b.build();
|
|
851
|
-
};
|
|
852
|
-
const se_ListAccessPreviewsCommand = async (input, context) => {
|
|
853
|
-
const b = core.requestBuilder(input, context);
|
|
854
|
-
const headers = {};
|
|
855
|
-
b.bp("/access-preview");
|
|
856
|
-
const query = smithyClient.map({
|
|
857
|
-
[_aA]: [, smithyClient.expectNonNull(input[_aA], `analyzerArn`)],
|
|
858
|
-
[_nT]: [, input[_nT]],
|
|
859
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
860
|
-
});
|
|
861
|
-
let body;
|
|
862
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
863
|
-
return b.build();
|
|
864
|
-
};
|
|
865
|
-
const se_ListAnalyzedResourcesCommand = async (input, context) => {
|
|
866
|
-
const b = core.requestBuilder(input, context);
|
|
867
|
-
const headers = {
|
|
868
|
-
"content-type": "application/json",
|
|
869
|
-
};
|
|
870
|
-
b.bp("/analyzed-resource");
|
|
871
|
-
let body;
|
|
872
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
873
|
-
analyzerArn: [],
|
|
874
|
-
maxResults: [],
|
|
875
|
-
nextToken: [],
|
|
876
|
-
resourceType: [],
|
|
877
|
-
}));
|
|
878
|
-
b.m("POST").h(headers).b(body);
|
|
879
|
-
return b.build();
|
|
880
|
-
};
|
|
881
|
-
const se_ListAnalyzersCommand = async (input, context) => {
|
|
882
|
-
const b = core.requestBuilder(input, context);
|
|
883
|
-
const headers = {};
|
|
884
|
-
b.bp("/analyzer");
|
|
885
|
-
const query = smithyClient.map({
|
|
886
|
-
[_nT]: [, input[_nT]],
|
|
887
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
888
|
-
[_t]: [, input[_t]],
|
|
889
|
-
});
|
|
890
|
-
let body;
|
|
891
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
892
|
-
return b.build();
|
|
893
|
-
};
|
|
894
|
-
const se_ListArchiveRulesCommand = async (input, context) => {
|
|
895
|
-
const b = core.requestBuilder(input, context);
|
|
896
|
-
const headers = {};
|
|
897
|
-
b.bp("/analyzer/{analyzerName}/archive-rule");
|
|
898
|
-
b.p("analyzerName", () => input.analyzerName, "{analyzerName}", false);
|
|
899
|
-
const query = smithyClient.map({
|
|
900
|
-
[_nT]: [, input[_nT]],
|
|
901
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
902
|
-
});
|
|
903
|
-
let body;
|
|
904
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
905
|
-
return b.build();
|
|
906
|
-
};
|
|
907
|
-
const se_ListFindingsCommand = async (input, context) => {
|
|
908
|
-
const b = core.requestBuilder(input, context);
|
|
909
|
-
const headers = {
|
|
910
|
-
"content-type": "application/json",
|
|
911
|
-
};
|
|
912
|
-
b.bp("/finding");
|
|
913
|
-
let body;
|
|
914
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
915
|
-
analyzerArn: [],
|
|
916
|
-
filter: (_) => smithyClient._json(_),
|
|
917
|
-
maxResults: [],
|
|
918
|
-
nextToken: [],
|
|
919
|
-
sort: (_) => smithyClient._json(_),
|
|
920
|
-
}));
|
|
921
|
-
b.m("POST").h(headers).b(body);
|
|
922
|
-
return b.build();
|
|
923
|
-
};
|
|
924
|
-
const se_ListFindingsV2Command = async (input, context) => {
|
|
925
|
-
const b = core.requestBuilder(input, context);
|
|
926
|
-
const headers = {
|
|
927
|
-
"content-type": "application/json",
|
|
928
|
-
};
|
|
929
|
-
b.bp("/findingv2");
|
|
930
|
-
let body;
|
|
931
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
932
|
-
analyzerArn: [],
|
|
933
|
-
filter: (_) => smithyClient._json(_),
|
|
934
|
-
maxResults: [],
|
|
935
|
-
nextToken: [],
|
|
936
|
-
sort: (_) => smithyClient._json(_),
|
|
937
|
-
}));
|
|
938
|
-
b.m("POST").h(headers).b(body);
|
|
939
|
-
return b.build();
|
|
940
|
-
};
|
|
941
|
-
const se_ListPolicyGenerationsCommand = async (input, context) => {
|
|
942
|
-
const b = core.requestBuilder(input, context);
|
|
943
|
-
const headers = {};
|
|
944
|
-
b.bp("/policy/generation");
|
|
945
|
-
const query = smithyClient.map({
|
|
946
|
-
[_pA]: [, input[_pA]],
|
|
947
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
948
|
-
[_nT]: [, input[_nT]],
|
|
949
|
-
});
|
|
950
|
-
let body;
|
|
951
|
-
b.m("GET").h(headers).q(query).b(body);
|
|
952
|
-
return b.build();
|
|
953
|
-
};
|
|
954
|
-
const se_ListTagsForResourceCommand = async (input, context) => {
|
|
955
|
-
const b = core.requestBuilder(input, context);
|
|
956
|
-
const headers = {};
|
|
957
|
-
b.bp("/tags/{resourceArn}");
|
|
958
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
959
|
-
let body;
|
|
960
|
-
b.m("GET").h(headers).b(body);
|
|
961
|
-
return b.build();
|
|
962
|
-
};
|
|
963
|
-
const se_StartPolicyGenerationCommand = async (input, context) => {
|
|
964
|
-
const b = core.requestBuilder(input, context);
|
|
965
|
-
const headers = {
|
|
966
|
-
"content-type": "application/json",
|
|
967
|
-
};
|
|
968
|
-
b.bp("/policy/generation");
|
|
969
|
-
let body;
|
|
970
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
971
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
972
|
-
cloudTrailDetails: (_) => se_CloudTrailDetails(_),
|
|
973
|
-
policyGenerationDetails: (_) => smithyClient._json(_),
|
|
974
|
-
}));
|
|
975
|
-
b.m("PUT").h(headers).b(body);
|
|
976
|
-
return b.build();
|
|
977
|
-
};
|
|
978
|
-
const se_StartResourceScanCommand = async (input, context) => {
|
|
979
|
-
const b = core.requestBuilder(input, context);
|
|
980
|
-
const headers = {
|
|
981
|
-
"content-type": "application/json",
|
|
982
|
-
};
|
|
983
|
-
b.bp("/resource/scan");
|
|
984
|
-
let body;
|
|
985
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
986
|
-
analyzerArn: [],
|
|
987
|
-
resourceArn: [],
|
|
988
|
-
resourceOwnerAccount: [],
|
|
989
|
-
}));
|
|
990
|
-
b.m("POST").h(headers).b(body);
|
|
991
|
-
return b.build();
|
|
992
|
-
};
|
|
993
|
-
const se_TagResourceCommand = async (input, context) => {
|
|
994
|
-
const b = core.requestBuilder(input, context);
|
|
995
|
-
const headers = {
|
|
996
|
-
"content-type": "application/json",
|
|
997
|
-
};
|
|
998
|
-
b.bp("/tags/{resourceArn}");
|
|
999
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1000
|
-
let body;
|
|
1001
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
1002
|
-
tags: (_) => smithyClient._json(_),
|
|
1003
|
-
}));
|
|
1004
|
-
b.m("POST").h(headers).b(body);
|
|
1005
|
-
return b.build();
|
|
1006
|
-
};
|
|
1007
|
-
const se_UntagResourceCommand = async (input, context) => {
|
|
1008
|
-
const b = core.requestBuilder(input, context);
|
|
1009
|
-
const headers = {};
|
|
1010
|
-
b.bp("/tags/{resourceArn}");
|
|
1011
|
-
b.p("resourceArn", () => input.resourceArn, "{resourceArn}", false);
|
|
1012
|
-
const query = smithyClient.map({
|
|
1013
|
-
[_tK]: [smithyClient.expectNonNull(input.tagKeys, `tagKeys`) != null, () => input[_tK] || []],
|
|
1014
|
-
});
|
|
1015
|
-
let body;
|
|
1016
|
-
b.m("DELETE").h(headers).q(query).b(body);
|
|
1017
|
-
return b.build();
|
|
1018
|
-
};
|
|
1019
|
-
const se_UpdateAnalyzerCommand = async (input, context) => {
|
|
1020
|
-
const b = core.requestBuilder(input, context);
|
|
1021
|
-
const headers = {
|
|
1022
|
-
"content-type": "application/json",
|
|
1023
|
-
};
|
|
1024
|
-
b.bp("/analyzer/{analyzerName}");
|
|
1025
|
-
b.p("analyzerName", () => input.analyzerName, "{analyzerName}", false);
|
|
1026
|
-
let body;
|
|
1027
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
1028
|
-
configuration: (_) => smithyClient._json(_),
|
|
1029
|
-
}));
|
|
1030
|
-
b.m("PUT").h(headers).b(body);
|
|
1031
|
-
return b.build();
|
|
1032
|
-
};
|
|
1033
|
-
const se_UpdateArchiveRuleCommand = async (input, context) => {
|
|
1034
|
-
const b = core.requestBuilder(input, context);
|
|
1035
|
-
const headers = {
|
|
1036
|
-
"content-type": "application/json",
|
|
1037
|
-
};
|
|
1038
|
-
b.bp("/analyzer/{analyzerName}/archive-rule/{ruleName}");
|
|
1039
|
-
b.p("analyzerName", () => input.analyzerName, "{analyzerName}", false);
|
|
1040
|
-
b.p("ruleName", () => input.ruleName, "{ruleName}", false);
|
|
1041
|
-
let body;
|
|
1042
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
1043
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1044
|
-
filter: (_) => smithyClient._json(_),
|
|
1045
|
-
}));
|
|
1046
|
-
b.m("PUT").h(headers).b(body);
|
|
1047
|
-
return b.build();
|
|
1048
|
-
};
|
|
1049
|
-
const se_UpdateFindingsCommand = async (input, context) => {
|
|
1050
|
-
const b = core.requestBuilder(input, context);
|
|
1051
|
-
const headers = {
|
|
1052
|
-
"content-type": "application/json",
|
|
1053
|
-
};
|
|
1054
|
-
b.bp("/finding");
|
|
1055
|
-
let body;
|
|
1056
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
1057
|
-
analyzerArn: [],
|
|
1058
|
-
clientToken: [true, (_) => _ ?? uuid.v4()],
|
|
1059
|
-
ids: (_) => smithyClient._json(_),
|
|
1060
|
-
resourceArn: [],
|
|
1061
|
-
status: [],
|
|
1062
|
-
}));
|
|
1063
|
-
b.m("PUT").h(headers).b(body);
|
|
1064
|
-
return b.build();
|
|
1065
|
-
};
|
|
1066
|
-
const se_ValidatePolicyCommand = async (input, context) => {
|
|
1067
|
-
const b = core.requestBuilder(input, context);
|
|
1068
|
-
const headers = {
|
|
1069
|
-
"content-type": "application/json",
|
|
1070
|
-
};
|
|
1071
|
-
b.bp("/policy/validation");
|
|
1072
|
-
const query = smithyClient.map({
|
|
1073
|
-
[_mR]: [() => input.maxResults !== void 0, () => input[_mR].toString()],
|
|
1074
|
-
[_nT]: [, input[_nT]],
|
|
1075
|
-
});
|
|
1076
|
-
let body;
|
|
1077
|
-
body = JSON.stringify(smithyClient.take(input, {
|
|
1078
|
-
locale: [],
|
|
1079
|
-
policyDocument: [],
|
|
1080
|
-
policyType: [],
|
|
1081
|
-
validatePolicyResourceType: [],
|
|
1082
|
-
}));
|
|
1083
|
-
b.m("POST").h(headers).q(query).b(body);
|
|
1084
|
-
return b.build();
|
|
1085
|
-
};
|
|
1086
|
-
const de_ApplyArchiveRuleCommand = async (output, context) => {
|
|
1087
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1088
|
-
return de_CommandError(output, context);
|
|
1089
|
-
}
|
|
1090
|
-
const contents = smithyClient.map({
|
|
1091
|
-
$metadata: deserializeMetadata(output),
|
|
1092
|
-
});
|
|
1093
|
-
await smithyClient.collectBody(output.body, context);
|
|
1094
|
-
return contents;
|
|
1095
|
-
};
|
|
1096
|
-
const de_CancelPolicyGenerationCommand = async (output, context) => {
|
|
1097
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1098
|
-
return de_CommandError(output, context);
|
|
1099
|
-
}
|
|
1100
|
-
const contents = smithyClient.map({
|
|
1101
|
-
$metadata: deserializeMetadata(output),
|
|
1102
|
-
});
|
|
1103
|
-
await smithyClient.collectBody(output.body, context);
|
|
1104
|
-
return contents;
|
|
1105
|
-
};
|
|
1106
|
-
const de_CheckAccessNotGrantedCommand = async (output, context) => {
|
|
1107
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1108
|
-
return de_CommandError(output, context);
|
|
1109
|
-
}
|
|
1110
|
-
const contents = smithyClient.map({
|
|
1111
|
-
$metadata: deserializeMetadata(output),
|
|
1112
|
-
});
|
|
1113
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1114
|
-
const doc = smithyClient.take(data, {
|
|
1115
|
-
message: smithyClient.expectString,
|
|
1116
|
-
reasons: smithyClient._json,
|
|
1117
|
-
result: smithyClient.expectString,
|
|
1118
|
-
});
|
|
1119
|
-
Object.assign(contents, doc);
|
|
1120
|
-
return contents;
|
|
1121
|
-
};
|
|
1122
|
-
const de_CheckNoNewAccessCommand = async (output, context) => {
|
|
1123
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1124
|
-
return de_CommandError(output, context);
|
|
1125
|
-
}
|
|
1126
|
-
const contents = smithyClient.map({
|
|
1127
|
-
$metadata: deserializeMetadata(output),
|
|
1128
|
-
});
|
|
1129
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1130
|
-
const doc = smithyClient.take(data, {
|
|
1131
|
-
message: smithyClient.expectString,
|
|
1132
|
-
reasons: smithyClient._json,
|
|
1133
|
-
result: smithyClient.expectString,
|
|
1134
|
-
});
|
|
1135
|
-
Object.assign(contents, doc);
|
|
1136
|
-
return contents;
|
|
1137
|
-
};
|
|
1138
|
-
const de_CheckNoPublicAccessCommand = async (output, context) => {
|
|
1139
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1140
|
-
return de_CommandError(output, context);
|
|
1141
|
-
}
|
|
1142
|
-
const contents = smithyClient.map({
|
|
1143
|
-
$metadata: deserializeMetadata(output),
|
|
1144
|
-
});
|
|
1145
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1146
|
-
const doc = smithyClient.take(data, {
|
|
1147
|
-
message: smithyClient.expectString,
|
|
1148
|
-
reasons: smithyClient._json,
|
|
1149
|
-
result: smithyClient.expectString,
|
|
1150
|
-
});
|
|
1151
|
-
Object.assign(contents, doc);
|
|
1152
|
-
return contents;
|
|
1153
|
-
};
|
|
1154
|
-
const de_CreateAccessPreviewCommand = async (output, context) => {
|
|
1155
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1156
|
-
return de_CommandError(output, context);
|
|
1157
|
-
}
|
|
1158
|
-
const contents = smithyClient.map({
|
|
1159
|
-
$metadata: deserializeMetadata(output),
|
|
1160
|
-
});
|
|
1161
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1162
|
-
const doc = smithyClient.take(data, {
|
|
1163
|
-
id: smithyClient.expectString,
|
|
1164
|
-
});
|
|
1165
|
-
Object.assign(contents, doc);
|
|
1166
|
-
return contents;
|
|
1167
|
-
};
|
|
1168
|
-
const de_CreateAnalyzerCommand = async (output, context) => {
|
|
1169
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1170
|
-
return de_CommandError(output, context);
|
|
1171
|
-
}
|
|
1172
|
-
const contents = smithyClient.map({
|
|
1173
|
-
$metadata: deserializeMetadata(output),
|
|
1174
|
-
});
|
|
1175
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1176
|
-
const doc = smithyClient.take(data, {
|
|
1177
|
-
arn: smithyClient.expectString,
|
|
1178
|
-
});
|
|
1179
|
-
Object.assign(contents, doc);
|
|
1180
|
-
return contents;
|
|
1181
|
-
};
|
|
1182
|
-
const de_CreateArchiveRuleCommand = async (output, context) => {
|
|
1183
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1184
|
-
return de_CommandError(output, context);
|
|
1185
|
-
}
|
|
1186
|
-
const contents = smithyClient.map({
|
|
1187
|
-
$metadata: deserializeMetadata(output),
|
|
1188
|
-
});
|
|
1189
|
-
await smithyClient.collectBody(output.body, context);
|
|
1190
|
-
return contents;
|
|
1191
|
-
};
|
|
1192
|
-
const de_DeleteAnalyzerCommand = async (output, context) => {
|
|
1193
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1194
|
-
return de_CommandError(output, context);
|
|
1195
|
-
}
|
|
1196
|
-
const contents = smithyClient.map({
|
|
1197
|
-
$metadata: deserializeMetadata(output),
|
|
1198
|
-
});
|
|
1199
|
-
await smithyClient.collectBody(output.body, context);
|
|
1200
|
-
return contents;
|
|
1201
|
-
};
|
|
1202
|
-
const de_DeleteArchiveRuleCommand = async (output, context) => {
|
|
1203
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1204
|
-
return de_CommandError(output, context);
|
|
1205
|
-
}
|
|
1206
|
-
const contents = smithyClient.map({
|
|
1207
|
-
$metadata: deserializeMetadata(output),
|
|
1208
|
-
});
|
|
1209
|
-
await smithyClient.collectBody(output.body, context);
|
|
1210
|
-
return contents;
|
|
1211
|
-
};
|
|
1212
|
-
const de_GenerateFindingRecommendationCommand = async (output, context) => {
|
|
1213
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1214
|
-
return de_CommandError(output, context);
|
|
1215
|
-
}
|
|
1216
|
-
const contents = smithyClient.map({
|
|
1217
|
-
$metadata: deserializeMetadata(output),
|
|
1218
|
-
});
|
|
1219
|
-
await smithyClient.collectBody(output.body, context);
|
|
1220
|
-
return contents;
|
|
1221
|
-
};
|
|
1222
|
-
const de_GetAccessPreviewCommand = async (output, context) => {
|
|
1223
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1224
|
-
return de_CommandError(output, context);
|
|
1225
|
-
}
|
|
1226
|
-
const contents = smithyClient.map({
|
|
1227
|
-
$metadata: deserializeMetadata(output),
|
|
1228
|
-
});
|
|
1229
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1230
|
-
const doc = smithyClient.take(data, {
|
|
1231
|
-
accessPreview: (_) => de_AccessPreview(_),
|
|
1232
|
-
});
|
|
1233
|
-
Object.assign(contents, doc);
|
|
1234
|
-
return contents;
|
|
1235
|
-
};
|
|
1236
|
-
const de_GetAnalyzedResourceCommand = async (output, context) => {
|
|
1237
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1238
|
-
return de_CommandError(output, context);
|
|
1239
|
-
}
|
|
1240
|
-
const contents = smithyClient.map({
|
|
1241
|
-
$metadata: deserializeMetadata(output),
|
|
1242
|
-
});
|
|
1243
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1244
|
-
const doc = smithyClient.take(data, {
|
|
1245
|
-
resource: (_) => de_AnalyzedResource(_),
|
|
1246
|
-
});
|
|
1247
|
-
Object.assign(contents, doc);
|
|
1248
|
-
return contents;
|
|
1249
|
-
};
|
|
1250
|
-
const de_GetAnalyzerCommand = async (output, context) => {
|
|
1251
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1252
|
-
return de_CommandError(output, context);
|
|
1253
|
-
}
|
|
1254
|
-
const contents = smithyClient.map({
|
|
1255
|
-
$metadata: deserializeMetadata(output),
|
|
1256
|
-
});
|
|
1257
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1258
|
-
const doc = smithyClient.take(data, {
|
|
1259
|
-
analyzer: (_) => de_AnalyzerSummary(_),
|
|
1260
|
-
});
|
|
1261
|
-
Object.assign(contents, doc);
|
|
1262
|
-
return contents;
|
|
1263
|
-
};
|
|
1264
|
-
const de_GetArchiveRuleCommand = async (output, context) => {
|
|
1265
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1266
|
-
return de_CommandError(output, context);
|
|
1267
|
-
}
|
|
1268
|
-
const contents = smithyClient.map({
|
|
1269
|
-
$metadata: deserializeMetadata(output),
|
|
1270
|
-
});
|
|
1271
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1272
|
-
const doc = smithyClient.take(data, {
|
|
1273
|
-
archiveRule: (_) => de_ArchiveRuleSummary(_),
|
|
1274
|
-
});
|
|
1275
|
-
Object.assign(contents, doc);
|
|
1276
|
-
return contents;
|
|
1277
|
-
};
|
|
1278
|
-
const de_GetFindingCommand = async (output, context) => {
|
|
1279
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1280
|
-
return de_CommandError(output, context);
|
|
1281
|
-
}
|
|
1282
|
-
const contents = smithyClient.map({
|
|
1283
|
-
$metadata: deserializeMetadata(output),
|
|
1284
|
-
});
|
|
1285
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1286
|
-
const doc = smithyClient.take(data, {
|
|
1287
|
-
finding: (_) => de_Finding(_),
|
|
1288
|
-
});
|
|
1289
|
-
Object.assign(contents, doc);
|
|
1290
|
-
return contents;
|
|
1291
|
-
};
|
|
1292
|
-
const de_GetFindingRecommendationCommand = async (output, context) => {
|
|
1293
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1294
|
-
return de_CommandError(output, context);
|
|
1295
|
-
}
|
|
1296
|
-
const contents = smithyClient.map({
|
|
1297
|
-
$metadata: deserializeMetadata(output),
|
|
1298
|
-
});
|
|
1299
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1300
|
-
const doc = smithyClient.take(data, {
|
|
1301
|
-
completedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1302
|
-
error: smithyClient._json,
|
|
1303
|
-
nextToken: smithyClient.expectString,
|
|
1304
|
-
recommendationType: smithyClient.expectString,
|
|
1305
|
-
recommendedSteps: (_) => de_RecommendedStepList(_),
|
|
1306
|
-
resourceArn: smithyClient.expectString,
|
|
1307
|
-
startedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1308
|
-
status: smithyClient.expectString,
|
|
1309
|
-
});
|
|
1310
|
-
Object.assign(contents, doc);
|
|
1311
|
-
return contents;
|
|
1312
|
-
};
|
|
1313
|
-
const de_GetFindingsStatisticsCommand = async (output, context) => {
|
|
1314
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1315
|
-
return de_CommandError(output, context);
|
|
1316
|
-
}
|
|
1317
|
-
const contents = smithyClient.map({
|
|
1318
|
-
$metadata: deserializeMetadata(output),
|
|
1319
|
-
});
|
|
1320
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1321
|
-
const doc = smithyClient.take(data, {
|
|
1322
|
-
findingsStatistics: smithyClient._json,
|
|
1323
|
-
lastUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1324
|
-
});
|
|
1325
|
-
Object.assign(contents, doc);
|
|
1326
|
-
return contents;
|
|
1327
|
-
};
|
|
1328
|
-
const de_GetFindingV2Command = async (output, context) => {
|
|
1329
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1330
|
-
return de_CommandError(output, context);
|
|
1331
|
-
}
|
|
1332
|
-
const contents = smithyClient.map({
|
|
1333
|
-
$metadata: deserializeMetadata(output),
|
|
1334
|
-
});
|
|
1335
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1336
|
-
const doc = smithyClient.take(data, {
|
|
1337
|
-
analyzedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1338
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1339
|
-
error: smithyClient.expectString,
|
|
1340
|
-
findingDetails: (_) => de_FindingDetailsList(_),
|
|
1341
|
-
findingType: smithyClient.expectString,
|
|
1342
|
-
id: smithyClient.expectString,
|
|
1343
|
-
nextToken: smithyClient.expectString,
|
|
1344
|
-
resource: smithyClient.expectString,
|
|
1345
|
-
resourceOwnerAccount: smithyClient.expectString,
|
|
1346
|
-
resourceType: smithyClient.expectString,
|
|
1347
|
-
status: smithyClient.expectString,
|
|
1348
|
-
updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1349
|
-
});
|
|
1350
|
-
Object.assign(contents, doc);
|
|
1351
|
-
return contents;
|
|
1352
|
-
};
|
|
1353
|
-
const de_GetGeneratedPolicyCommand = async (output, context) => {
|
|
1354
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1355
|
-
return de_CommandError(output, context);
|
|
1356
|
-
}
|
|
1357
|
-
const contents = smithyClient.map({
|
|
1358
|
-
$metadata: deserializeMetadata(output),
|
|
1359
|
-
});
|
|
1360
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1361
|
-
const doc = smithyClient.take(data, {
|
|
1362
|
-
generatedPolicyResult: (_) => de_GeneratedPolicyResult(_),
|
|
1363
|
-
jobDetails: (_) => de_JobDetails(_),
|
|
1364
|
-
});
|
|
1365
|
-
Object.assign(contents, doc);
|
|
1366
|
-
return contents;
|
|
1367
|
-
};
|
|
1368
|
-
const de_ListAccessPreviewFindingsCommand = async (output, context) => {
|
|
1369
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1370
|
-
return de_CommandError(output, context);
|
|
1371
|
-
}
|
|
1372
|
-
const contents = smithyClient.map({
|
|
1373
|
-
$metadata: deserializeMetadata(output),
|
|
1374
|
-
});
|
|
1375
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1376
|
-
const doc = smithyClient.take(data, {
|
|
1377
|
-
findings: (_) => de_AccessPreviewFindingsList(_),
|
|
1378
|
-
nextToken: smithyClient.expectString,
|
|
1379
|
-
});
|
|
1380
|
-
Object.assign(contents, doc);
|
|
1381
|
-
return contents;
|
|
1382
|
-
};
|
|
1383
|
-
const de_ListAccessPreviewsCommand = async (output, context) => {
|
|
1384
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1385
|
-
return de_CommandError(output, context);
|
|
1386
|
-
}
|
|
1387
|
-
const contents = smithyClient.map({
|
|
1388
|
-
$metadata: deserializeMetadata(output),
|
|
1389
|
-
});
|
|
1390
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1391
|
-
const doc = smithyClient.take(data, {
|
|
1392
|
-
accessPreviews: (_) => de_AccessPreviewsList(_),
|
|
1393
|
-
nextToken: smithyClient.expectString,
|
|
1394
|
-
});
|
|
1395
|
-
Object.assign(contents, doc);
|
|
1396
|
-
return contents;
|
|
1397
|
-
};
|
|
1398
|
-
const de_ListAnalyzedResourcesCommand = async (output, context) => {
|
|
1399
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1400
|
-
return de_CommandError(output, context);
|
|
1401
|
-
}
|
|
1402
|
-
const contents = smithyClient.map({
|
|
1403
|
-
$metadata: deserializeMetadata(output),
|
|
1404
|
-
});
|
|
1405
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1406
|
-
const doc = smithyClient.take(data, {
|
|
1407
|
-
analyzedResources: smithyClient._json,
|
|
1408
|
-
nextToken: smithyClient.expectString,
|
|
1409
|
-
});
|
|
1410
|
-
Object.assign(contents, doc);
|
|
1411
|
-
return contents;
|
|
1412
|
-
};
|
|
1413
|
-
const de_ListAnalyzersCommand = async (output, context) => {
|
|
1414
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1415
|
-
return de_CommandError(output, context);
|
|
1416
|
-
}
|
|
1417
|
-
const contents = smithyClient.map({
|
|
1418
|
-
$metadata: deserializeMetadata(output),
|
|
1419
|
-
});
|
|
1420
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1421
|
-
const doc = smithyClient.take(data, {
|
|
1422
|
-
analyzers: (_) => de_AnalyzersList(_),
|
|
1423
|
-
nextToken: smithyClient.expectString,
|
|
1424
|
-
});
|
|
1425
|
-
Object.assign(contents, doc);
|
|
1426
|
-
return contents;
|
|
1427
|
-
};
|
|
1428
|
-
const de_ListArchiveRulesCommand = async (output, context) => {
|
|
1429
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1430
|
-
return de_CommandError(output, context);
|
|
1431
|
-
}
|
|
1432
|
-
const contents = smithyClient.map({
|
|
1433
|
-
$metadata: deserializeMetadata(output),
|
|
1434
|
-
});
|
|
1435
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1436
|
-
const doc = smithyClient.take(data, {
|
|
1437
|
-
archiveRules: (_) => de_ArchiveRulesList(_),
|
|
1438
|
-
nextToken: smithyClient.expectString,
|
|
1439
|
-
});
|
|
1440
|
-
Object.assign(contents, doc);
|
|
1441
|
-
return contents;
|
|
1442
|
-
};
|
|
1443
|
-
const de_ListFindingsCommand = async (output, context) => {
|
|
1444
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1445
|
-
return de_CommandError(output, context);
|
|
1446
|
-
}
|
|
1447
|
-
const contents = smithyClient.map({
|
|
1448
|
-
$metadata: deserializeMetadata(output),
|
|
1449
|
-
});
|
|
1450
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1451
|
-
const doc = smithyClient.take(data, {
|
|
1452
|
-
findings: (_) => de_FindingsList(_),
|
|
1453
|
-
nextToken: smithyClient.expectString,
|
|
1454
|
-
});
|
|
1455
|
-
Object.assign(contents, doc);
|
|
1456
|
-
return contents;
|
|
1457
|
-
};
|
|
1458
|
-
const de_ListFindingsV2Command = async (output, context) => {
|
|
1459
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1460
|
-
return de_CommandError(output, context);
|
|
1461
|
-
}
|
|
1462
|
-
const contents = smithyClient.map({
|
|
1463
|
-
$metadata: deserializeMetadata(output),
|
|
1464
|
-
});
|
|
1465
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1466
|
-
const doc = smithyClient.take(data, {
|
|
1467
|
-
findings: (_) => de_FindingsListV2(_),
|
|
1468
|
-
nextToken: smithyClient.expectString,
|
|
1469
|
-
});
|
|
1470
|
-
Object.assign(contents, doc);
|
|
1471
|
-
return contents;
|
|
1472
|
-
};
|
|
1473
|
-
const de_ListPolicyGenerationsCommand = async (output, context) => {
|
|
1474
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1475
|
-
return de_CommandError(output, context);
|
|
1476
|
-
}
|
|
1477
|
-
const contents = smithyClient.map({
|
|
1478
|
-
$metadata: deserializeMetadata(output),
|
|
1479
|
-
});
|
|
1480
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1481
|
-
const doc = smithyClient.take(data, {
|
|
1482
|
-
nextToken: smithyClient.expectString,
|
|
1483
|
-
policyGenerations: (_) => de_PolicyGenerationList(_),
|
|
1484
|
-
});
|
|
1485
|
-
Object.assign(contents, doc);
|
|
1486
|
-
return contents;
|
|
1487
|
-
};
|
|
1488
|
-
const de_ListTagsForResourceCommand = async (output, context) => {
|
|
1489
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1490
|
-
return de_CommandError(output, context);
|
|
1491
|
-
}
|
|
1492
|
-
const contents = smithyClient.map({
|
|
1493
|
-
$metadata: deserializeMetadata(output),
|
|
1494
|
-
});
|
|
1495
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1496
|
-
const doc = smithyClient.take(data, {
|
|
1497
|
-
tags: smithyClient._json,
|
|
1498
|
-
});
|
|
1499
|
-
Object.assign(contents, doc);
|
|
1500
|
-
return contents;
|
|
1501
|
-
};
|
|
1502
|
-
const de_StartPolicyGenerationCommand = async (output, context) => {
|
|
1503
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1504
|
-
return de_CommandError(output, context);
|
|
1505
|
-
}
|
|
1506
|
-
const contents = smithyClient.map({
|
|
1507
|
-
$metadata: deserializeMetadata(output),
|
|
1508
|
-
});
|
|
1509
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1510
|
-
const doc = smithyClient.take(data, {
|
|
1511
|
-
jobId: smithyClient.expectString,
|
|
1512
|
-
});
|
|
1513
|
-
Object.assign(contents, doc);
|
|
1514
|
-
return contents;
|
|
1515
|
-
};
|
|
1516
|
-
const de_StartResourceScanCommand = async (output, context) => {
|
|
1517
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1518
|
-
return de_CommandError(output, context);
|
|
1519
|
-
}
|
|
1520
|
-
const contents = smithyClient.map({
|
|
1521
|
-
$metadata: deserializeMetadata(output),
|
|
1522
|
-
});
|
|
1523
|
-
await smithyClient.collectBody(output.body, context);
|
|
1524
|
-
return contents;
|
|
1525
|
-
};
|
|
1526
|
-
const de_TagResourceCommand = async (output, context) => {
|
|
1527
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1528
|
-
return de_CommandError(output, context);
|
|
1529
|
-
}
|
|
1530
|
-
const contents = smithyClient.map({
|
|
1531
|
-
$metadata: deserializeMetadata(output),
|
|
1532
|
-
});
|
|
1533
|
-
await smithyClient.collectBody(output.body, context);
|
|
1534
|
-
return contents;
|
|
1535
|
-
};
|
|
1536
|
-
const de_UntagResourceCommand = async (output, context) => {
|
|
1537
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1538
|
-
return de_CommandError(output, context);
|
|
1539
|
-
}
|
|
1540
|
-
const contents = smithyClient.map({
|
|
1541
|
-
$metadata: deserializeMetadata(output),
|
|
1542
|
-
});
|
|
1543
|
-
await smithyClient.collectBody(output.body, context);
|
|
1544
|
-
return contents;
|
|
1545
|
-
};
|
|
1546
|
-
const de_UpdateAnalyzerCommand = async (output, context) => {
|
|
1547
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1548
|
-
return de_CommandError(output, context);
|
|
1549
|
-
}
|
|
1550
|
-
const contents = smithyClient.map({
|
|
1551
|
-
$metadata: deserializeMetadata(output),
|
|
1552
|
-
});
|
|
1553
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1554
|
-
const doc = smithyClient.take(data, {
|
|
1555
|
-
configuration: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
1556
|
-
});
|
|
1557
|
-
Object.assign(contents, doc);
|
|
1558
|
-
return contents;
|
|
1559
|
-
};
|
|
1560
|
-
const de_UpdateArchiveRuleCommand = async (output, context) => {
|
|
1561
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1562
|
-
return de_CommandError(output, context);
|
|
1563
|
-
}
|
|
1564
|
-
const contents = smithyClient.map({
|
|
1565
|
-
$metadata: deserializeMetadata(output),
|
|
1566
|
-
});
|
|
1567
|
-
await smithyClient.collectBody(output.body, context);
|
|
1568
|
-
return contents;
|
|
1569
|
-
};
|
|
1570
|
-
const de_UpdateFindingsCommand = async (output, context) => {
|
|
1571
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1572
|
-
return de_CommandError(output, context);
|
|
1573
|
-
}
|
|
1574
|
-
const contents = smithyClient.map({
|
|
1575
|
-
$metadata: deserializeMetadata(output),
|
|
1576
|
-
});
|
|
1577
|
-
await smithyClient.collectBody(output.body, context);
|
|
1578
|
-
return contents;
|
|
1579
|
-
};
|
|
1580
|
-
const de_ValidatePolicyCommand = async (output, context) => {
|
|
1581
|
-
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1582
|
-
return de_CommandError(output, context);
|
|
1583
|
-
}
|
|
1584
|
-
const contents = smithyClient.map({
|
|
1585
|
-
$metadata: deserializeMetadata(output),
|
|
1586
|
-
});
|
|
1587
|
-
const data = smithyClient.expectNonNull(smithyClient.expectObject(await core$1.parseJsonBody(output.body, context)), "body");
|
|
1588
|
-
const doc = smithyClient.take(data, {
|
|
1589
|
-
findings: smithyClient._json,
|
|
1590
|
-
nextToken: smithyClient.expectString,
|
|
1591
|
-
});
|
|
1592
|
-
Object.assign(contents, doc);
|
|
1593
|
-
return contents;
|
|
1594
|
-
};
|
|
1595
|
-
const de_CommandError = async (output, context) => {
|
|
1596
|
-
const parsedOutput = {
|
|
1597
|
-
...output,
|
|
1598
|
-
body: await core$1.parseJsonErrorBody(output.body, context),
|
|
1599
|
-
};
|
|
1600
|
-
const errorCode = core$1.loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1601
|
-
switch (errorCode) {
|
|
1602
|
-
case "AccessDeniedException":
|
|
1603
|
-
case "com.amazonaws.accessanalyzer#AccessDeniedException":
|
|
1604
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput);
|
|
1605
|
-
case "InternalServerException":
|
|
1606
|
-
case "com.amazonaws.accessanalyzer#InternalServerException":
|
|
1607
|
-
throw await de_InternalServerExceptionRes(parsedOutput);
|
|
1608
|
-
case "ResourceNotFoundException":
|
|
1609
|
-
case "com.amazonaws.accessanalyzer#ResourceNotFoundException":
|
|
1610
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput);
|
|
1611
|
-
case "ThrottlingException":
|
|
1612
|
-
case "com.amazonaws.accessanalyzer#ThrottlingException":
|
|
1613
|
-
throw await de_ThrottlingExceptionRes(parsedOutput);
|
|
1614
|
-
case "ValidationException":
|
|
1615
|
-
case "com.amazonaws.accessanalyzer#ValidationException":
|
|
1616
|
-
throw await de_ValidationExceptionRes(parsedOutput);
|
|
1617
|
-
case "InvalidParameterException":
|
|
1618
|
-
case "com.amazonaws.accessanalyzer#InvalidParameterException":
|
|
1619
|
-
throw await de_InvalidParameterExceptionRes(parsedOutput);
|
|
1620
|
-
case "UnprocessableEntityException":
|
|
1621
|
-
case "com.amazonaws.accessanalyzer#UnprocessableEntityException":
|
|
1622
|
-
throw await de_UnprocessableEntityExceptionRes(parsedOutput);
|
|
1623
|
-
case "ConflictException":
|
|
1624
|
-
case "com.amazonaws.accessanalyzer#ConflictException":
|
|
1625
|
-
throw await de_ConflictExceptionRes(parsedOutput);
|
|
1626
|
-
case "ServiceQuotaExceededException":
|
|
1627
|
-
case "com.amazonaws.accessanalyzer#ServiceQuotaExceededException":
|
|
1628
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput);
|
|
1629
|
-
default:
|
|
1630
|
-
const parsedBody = parsedOutput.body;
|
|
1631
|
-
return throwDefaultError({
|
|
1632
|
-
output,
|
|
1633
|
-
parsedBody,
|
|
1634
|
-
errorCode,
|
|
1635
|
-
});
|
|
1636
|
-
}
|
|
1637
|
-
};
|
|
1638
|
-
const throwDefaultError = smithyClient.withBaseException(AccessAnalyzerServiceException);
|
|
1639
|
-
const de_AccessDeniedExceptionRes = async (parsedOutput, context) => {
|
|
1640
|
-
const contents = smithyClient.map({});
|
|
1641
|
-
const data = parsedOutput.body;
|
|
1642
|
-
const doc = smithyClient.take(data, {
|
|
1643
|
-
message: smithyClient.expectString,
|
|
1644
|
-
});
|
|
1645
|
-
Object.assign(contents, doc);
|
|
1646
|
-
const exception = new AccessDeniedException({
|
|
1647
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1648
|
-
...contents,
|
|
1649
|
-
});
|
|
1650
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1651
|
-
};
|
|
1652
|
-
const de_ConflictExceptionRes = async (parsedOutput, context) => {
|
|
1653
|
-
const contents = smithyClient.map({});
|
|
1654
|
-
const data = parsedOutput.body;
|
|
1655
|
-
const doc = smithyClient.take(data, {
|
|
1656
|
-
message: smithyClient.expectString,
|
|
1657
|
-
resourceId: smithyClient.expectString,
|
|
1658
|
-
resourceType: smithyClient.expectString,
|
|
1659
|
-
});
|
|
1660
|
-
Object.assign(contents, doc);
|
|
1661
|
-
const exception = new ConflictException({
|
|
1662
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1663
|
-
...contents,
|
|
1664
|
-
});
|
|
1665
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1666
|
-
};
|
|
1667
|
-
const de_InternalServerExceptionRes = async (parsedOutput, context) => {
|
|
1668
|
-
const contents = smithyClient.map({
|
|
1669
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
|
|
1670
|
-
});
|
|
1671
|
-
const data = parsedOutput.body;
|
|
1672
|
-
const doc = smithyClient.take(data, {
|
|
1673
|
-
message: smithyClient.expectString,
|
|
1674
|
-
});
|
|
1675
|
-
Object.assign(contents, doc);
|
|
1676
|
-
const exception = new InternalServerException({
|
|
1677
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1678
|
-
...contents,
|
|
1679
|
-
});
|
|
1680
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1681
|
-
};
|
|
1682
|
-
const de_InvalidParameterExceptionRes = async (parsedOutput, context) => {
|
|
1683
|
-
const contents = smithyClient.map({});
|
|
1684
|
-
const data = parsedOutput.body;
|
|
1685
|
-
const doc = smithyClient.take(data, {
|
|
1686
|
-
message: smithyClient.expectString,
|
|
1687
|
-
});
|
|
1688
|
-
Object.assign(contents, doc);
|
|
1689
|
-
const exception = new InvalidParameterException({
|
|
1690
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1691
|
-
...contents,
|
|
1692
|
-
});
|
|
1693
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1694
|
-
};
|
|
1695
|
-
const de_ResourceNotFoundExceptionRes = async (parsedOutput, context) => {
|
|
1696
|
-
const contents = smithyClient.map({});
|
|
1697
|
-
const data = parsedOutput.body;
|
|
1698
|
-
const doc = smithyClient.take(data, {
|
|
1699
|
-
message: smithyClient.expectString,
|
|
1700
|
-
resourceId: smithyClient.expectString,
|
|
1701
|
-
resourceType: smithyClient.expectString,
|
|
1702
|
-
});
|
|
1703
|
-
Object.assign(contents, doc);
|
|
1704
|
-
const exception = new ResourceNotFoundException({
|
|
1705
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1706
|
-
...contents,
|
|
1707
|
-
});
|
|
1708
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1709
|
-
};
|
|
1710
|
-
const de_ServiceQuotaExceededExceptionRes = async (parsedOutput, context) => {
|
|
1711
|
-
const contents = smithyClient.map({});
|
|
1712
|
-
const data = parsedOutput.body;
|
|
1713
|
-
const doc = smithyClient.take(data, {
|
|
1714
|
-
message: smithyClient.expectString,
|
|
1715
|
-
resourceId: smithyClient.expectString,
|
|
1716
|
-
resourceType: smithyClient.expectString,
|
|
1717
|
-
});
|
|
1718
|
-
Object.assign(contents, doc);
|
|
1719
|
-
const exception = new ServiceQuotaExceededException({
|
|
1720
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1721
|
-
...contents,
|
|
1722
|
-
});
|
|
1723
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1724
|
-
};
|
|
1725
|
-
const de_ThrottlingExceptionRes = async (parsedOutput, context) => {
|
|
1726
|
-
const contents = smithyClient.map({
|
|
1727
|
-
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => smithyClient.strictParseInt32(parsedOutput.headers[_ra])],
|
|
1728
|
-
});
|
|
1729
|
-
const data = parsedOutput.body;
|
|
1730
|
-
const doc = smithyClient.take(data, {
|
|
1731
|
-
message: smithyClient.expectString,
|
|
1732
|
-
});
|
|
1733
|
-
Object.assign(contents, doc);
|
|
1734
|
-
const exception = new ThrottlingException({
|
|
1735
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1736
|
-
...contents,
|
|
1737
|
-
});
|
|
1738
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1739
|
-
};
|
|
1740
|
-
const de_UnprocessableEntityExceptionRes = async (parsedOutput, context) => {
|
|
1741
|
-
const contents = smithyClient.map({});
|
|
1742
|
-
const data = parsedOutput.body;
|
|
1743
|
-
const doc = smithyClient.take(data, {
|
|
1744
|
-
message: smithyClient.expectString,
|
|
1745
|
-
});
|
|
1746
|
-
Object.assign(contents, doc);
|
|
1747
|
-
const exception = new UnprocessableEntityException({
|
|
1748
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1749
|
-
...contents,
|
|
1750
|
-
});
|
|
1751
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1752
|
-
};
|
|
1753
|
-
const de_ValidationExceptionRes = async (parsedOutput, context) => {
|
|
1754
|
-
const contents = smithyClient.map({});
|
|
1755
|
-
const data = parsedOutput.body;
|
|
1756
|
-
const doc = smithyClient.take(data, {
|
|
1757
|
-
fieldList: smithyClient._json,
|
|
1758
|
-
message: smithyClient.expectString,
|
|
1759
|
-
reason: smithyClient.expectString,
|
|
1760
|
-
});
|
|
1761
|
-
Object.assign(contents, doc);
|
|
1762
|
-
const exception = new ValidationException({
|
|
1763
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
1764
|
-
...contents,
|
|
1765
|
-
});
|
|
1766
|
-
return smithyClient.decorateServiceException(exception, parsedOutput.body);
|
|
1767
|
-
};
|
|
1768
|
-
const se_CloudTrailDetails = (input, context) => {
|
|
1769
|
-
return smithyClient.take(input, {
|
|
1770
|
-
accessRole: [],
|
|
1771
|
-
endTime: smithyClient.serializeDateTime,
|
|
1772
|
-
startTime: smithyClient.serializeDateTime,
|
|
1773
|
-
trails: smithyClient._json,
|
|
1774
|
-
});
|
|
1775
|
-
};
|
|
1776
|
-
const de_AccessPreview = (output, context) => {
|
|
1777
|
-
return smithyClient.take(output, {
|
|
1778
|
-
analyzerArn: smithyClient.expectString,
|
|
1779
|
-
configurations: smithyClient._json,
|
|
1780
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1781
|
-
id: smithyClient.expectString,
|
|
1782
|
-
status: smithyClient.expectString,
|
|
1783
|
-
statusReason: smithyClient._json,
|
|
1784
|
-
});
|
|
1785
|
-
};
|
|
1786
|
-
const de_AccessPreviewFinding = (output, context) => {
|
|
1787
|
-
return smithyClient.take(output, {
|
|
1788
|
-
action: smithyClient._json,
|
|
1789
|
-
changeType: smithyClient.expectString,
|
|
1790
|
-
condition: smithyClient._json,
|
|
1791
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1792
|
-
error: smithyClient.expectString,
|
|
1793
|
-
existingFindingId: smithyClient.expectString,
|
|
1794
|
-
existingFindingStatus: smithyClient.expectString,
|
|
1795
|
-
id: smithyClient.expectString,
|
|
1796
|
-
isPublic: smithyClient.expectBoolean,
|
|
1797
|
-
principal: smithyClient._json,
|
|
1798
|
-
resource: smithyClient.expectString,
|
|
1799
|
-
resourceControlPolicyRestriction: smithyClient.expectString,
|
|
1800
|
-
resourceOwnerAccount: smithyClient.expectString,
|
|
1801
|
-
resourceType: smithyClient.expectString,
|
|
1802
|
-
sources: smithyClient._json,
|
|
1803
|
-
status: smithyClient.expectString,
|
|
1804
|
-
});
|
|
1805
|
-
};
|
|
1806
|
-
const de_AccessPreviewFindingsList = (output, context) => {
|
|
1807
|
-
const retVal = (output || [])
|
|
1808
|
-
.filter((e) => e != null)
|
|
1809
|
-
.map((entry) => {
|
|
1810
|
-
return de_AccessPreviewFinding(entry);
|
|
1811
|
-
});
|
|
1812
|
-
return retVal;
|
|
1813
|
-
};
|
|
1814
|
-
const de_AccessPreviewsList = (output, context) => {
|
|
1815
|
-
const retVal = (output || [])
|
|
1816
|
-
.filter((e) => e != null)
|
|
1817
|
-
.map((entry) => {
|
|
1818
|
-
return de_AccessPreviewSummary(entry);
|
|
1819
|
-
});
|
|
1820
|
-
return retVal;
|
|
1821
|
-
};
|
|
1822
|
-
const de_AccessPreviewSummary = (output, context) => {
|
|
1823
|
-
return smithyClient.take(output, {
|
|
1824
|
-
analyzerArn: smithyClient.expectString,
|
|
1825
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1826
|
-
id: smithyClient.expectString,
|
|
1827
|
-
status: smithyClient.expectString,
|
|
1828
|
-
statusReason: smithyClient._json,
|
|
1829
|
-
});
|
|
1830
|
-
};
|
|
1831
|
-
const de_AnalyzedResource = (output, context) => {
|
|
1832
|
-
return smithyClient.take(output, {
|
|
1833
|
-
actions: smithyClient._json,
|
|
1834
|
-
analyzedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1835
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1836
|
-
error: smithyClient.expectString,
|
|
1837
|
-
isPublic: smithyClient.expectBoolean,
|
|
1838
|
-
resourceArn: smithyClient.expectString,
|
|
1839
|
-
resourceOwnerAccount: smithyClient.expectString,
|
|
1840
|
-
resourceType: smithyClient.expectString,
|
|
1841
|
-
sharedVia: smithyClient._json,
|
|
1842
|
-
status: smithyClient.expectString,
|
|
1843
|
-
updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1844
|
-
});
|
|
1845
|
-
};
|
|
1846
|
-
const de_AnalyzersList = (output, context) => {
|
|
1847
|
-
const retVal = (output || [])
|
|
1848
|
-
.filter((e) => e != null)
|
|
1849
|
-
.map((entry) => {
|
|
1850
|
-
return de_AnalyzerSummary(entry);
|
|
1851
|
-
});
|
|
1852
|
-
return retVal;
|
|
1853
|
-
};
|
|
1854
|
-
const de_AnalyzerSummary = (output, context) => {
|
|
1855
|
-
return smithyClient.take(output, {
|
|
1856
|
-
arn: smithyClient.expectString,
|
|
1857
|
-
configuration: (_) => smithyClient._json(core$1.awsExpectUnion(_)),
|
|
1858
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1859
|
-
lastResourceAnalyzed: smithyClient.expectString,
|
|
1860
|
-
lastResourceAnalyzedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1861
|
-
name: smithyClient.expectString,
|
|
1862
|
-
status: smithyClient.expectString,
|
|
1863
|
-
statusReason: smithyClient._json,
|
|
1864
|
-
tags: smithyClient._json,
|
|
1865
|
-
type: smithyClient.expectString,
|
|
1866
|
-
});
|
|
1867
|
-
};
|
|
1868
|
-
const de_ArchiveRulesList = (output, context) => {
|
|
1869
|
-
const retVal = (output || [])
|
|
1870
|
-
.filter((e) => e != null)
|
|
1871
|
-
.map((entry) => {
|
|
1872
|
-
return de_ArchiveRuleSummary(entry);
|
|
1873
|
-
});
|
|
1874
|
-
return retVal;
|
|
1875
|
-
};
|
|
1876
|
-
const de_ArchiveRuleSummary = (output, context) => {
|
|
1877
|
-
return smithyClient.take(output, {
|
|
1878
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1879
|
-
filter: smithyClient._json,
|
|
1880
|
-
ruleName: smithyClient.expectString,
|
|
1881
|
-
updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1882
|
-
});
|
|
1883
|
-
};
|
|
1884
|
-
const de_CloudTrailProperties = (output, context) => {
|
|
1885
|
-
return smithyClient.take(output, {
|
|
1886
|
-
endTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1887
|
-
startTime: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1888
|
-
trailProperties: smithyClient._json,
|
|
1889
|
-
});
|
|
1890
|
-
};
|
|
1891
|
-
const de_Finding = (output, context) => {
|
|
1892
|
-
return smithyClient.take(output, {
|
|
1893
|
-
action: smithyClient._json,
|
|
1894
|
-
analyzedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1895
|
-
condition: smithyClient._json,
|
|
1896
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1897
|
-
error: smithyClient.expectString,
|
|
1898
|
-
id: smithyClient.expectString,
|
|
1899
|
-
isPublic: smithyClient.expectBoolean,
|
|
1900
|
-
principal: smithyClient._json,
|
|
1901
|
-
resource: smithyClient.expectString,
|
|
1902
|
-
resourceControlPolicyRestriction: smithyClient.expectString,
|
|
1903
|
-
resourceOwnerAccount: smithyClient.expectString,
|
|
1904
|
-
resourceType: smithyClient.expectString,
|
|
1905
|
-
sources: smithyClient._json,
|
|
1906
|
-
status: smithyClient.expectString,
|
|
1907
|
-
updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1908
|
-
});
|
|
1909
|
-
};
|
|
1910
|
-
const de_FindingDetails = (output, context) => {
|
|
1911
|
-
if (output.externalAccessDetails != null) {
|
|
1912
|
-
return {
|
|
1913
|
-
externalAccessDetails: smithyClient._json(output.externalAccessDetails),
|
|
1914
|
-
};
|
|
1915
|
-
}
|
|
1916
|
-
if (output.internalAccessDetails != null) {
|
|
1917
|
-
return {
|
|
1918
|
-
internalAccessDetails: smithyClient._json(output.internalAccessDetails),
|
|
1919
|
-
};
|
|
1920
|
-
}
|
|
1921
|
-
if (output.unusedIamRoleDetails != null) {
|
|
1922
|
-
return {
|
|
1923
|
-
unusedIamRoleDetails: de_UnusedIamRoleDetails(output.unusedIamRoleDetails),
|
|
1924
|
-
};
|
|
1925
|
-
}
|
|
1926
|
-
if (output.unusedIamUserAccessKeyDetails != null) {
|
|
1927
|
-
return {
|
|
1928
|
-
unusedIamUserAccessKeyDetails: de_UnusedIamUserAccessKeyDetails(output.unusedIamUserAccessKeyDetails),
|
|
1929
|
-
};
|
|
1930
|
-
}
|
|
1931
|
-
if (output.unusedIamUserPasswordDetails != null) {
|
|
1932
|
-
return {
|
|
1933
|
-
unusedIamUserPasswordDetails: de_UnusedIamUserPasswordDetails(output.unusedIamUserPasswordDetails),
|
|
1934
|
-
};
|
|
1935
|
-
}
|
|
1936
|
-
if (output.unusedPermissionDetails != null) {
|
|
1937
|
-
return {
|
|
1938
|
-
unusedPermissionDetails: de_UnusedPermissionDetails(output.unusedPermissionDetails),
|
|
1939
|
-
};
|
|
1940
|
-
}
|
|
1941
|
-
return { $unknown: Object.entries(output)[0] };
|
|
1942
|
-
};
|
|
1943
|
-
const de_FindingDetailsList = (output, context) => {
|
|
1944
|
-
const retVal = (output || [])
|
|
1945
|
-
.filter((e) => e != null)
|
|
1946
|
-
.map((entry) => {
|
|
1947
|
-
return de_FindingDetails(core$1.awsExpectUnion(entry));
|
|
1948
|
-
});
|
|
1949
|
-
return retVal;
|
|
1950
|
-
};
|
|
1951
|
-
const de_FindingsList = (output, context) => {
|
|
1952
|
-
const retVal = (output || [])
|
|
1953
|
-
.filter((e) => e != null)
|
|
1954
|
-
.map((entry) => {
|
|
1955
|
-
return de_FindingSummary(entry);
|
|
1956
|
-
});
|
|
1957
|
-
return retVal;
|
|
1958
|
-
};
|
|
1959
|
-
const de_FindingsListV2 = (output, context) => {
|
|
1960
|
-
const retVal = (output || [])
|
|
1961
|
-
.filter((e) => e != null)
|
|
1962
|
-
.map((entry) => {
|
|
1963
|
-
return de_FindingSummaryV2(entry);
|
|
1964
|
-
});
|
|
1965
|
-
return retVal;
|
|
1966
|
-
};
|
|
1967
|
-
const de_FindingSummary = (output, context) => {
|
|
1968
|
-
return smithyClient.take(output, {
|
|
1969
|
-
action: smithyClient._json,
|
|
1970
|
-
analyzedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1971
|
-
condition: smithyClient._json,
|
|
1972
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1973
|
-
error: smithyClient.expectString,
|
|
1974
|
-
id: smithyClient.expectString,
|
|
1975
|
-
isPublic: smithyClient.expectBoolean,
|
|
1976
|
-
principal: smithyClient._json,
|
|
1977
|
-
resource: smithyClient.expectString,
|
|
1978
|
-
resourceControlPolicyRestriction: smithyClient.expectString,
|
|
1979
|
-
resourceOwnerAccount: smithyClient.expectString,
|
|
1980
|
-
resourceType: smithyClient.expectString,
|
|
1981
|
-
sources: smithyClient._json,
|
|
1982
|
-
status: smithyClient.expectString,
|
|
1983
|
-
updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1984
|
-
});
|
|
1985
|
-
};
|
|
1986
|
-
const de_FindingSummaryV2 = (output, context) => {
|
|
1987
|
-
return smithyClient.take(output, {
|
|
1988
|
-
analyzedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1989
|
-
createdAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1990
|
-
error: smithyClient.expectString,
|
|
1991
|
-
findingType: smithyClient.expectString,
|
|
1992
|
-
id: smithyClient.expectString,
|
|
1993
|
-
resource: smithyClient.expectString,
|
|
1994
|
-
resourceOwnerAccount: smithyClient.expectString,
|
|
1995
|
-
resourceType: smithyClient.expectString,
|
|
1996
|
-
status: smithyClient.expectString,
|
|
1997
|
-
updatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
1998
|
-
});
|
|
1999
|
-
};
|
|
2000
|
-
const de_GeneratedPolicyProperties = (output, context) => {
|
|
2001
|
-
return smithyClient.take(output, {
|
|
2002
|
-
cloudTrailProperties: (_) => de_CloudTrailProperties(_),
|
|
2003
|
-
isComplete: smithyClient.expectBoolean,
|
|
2004
|
-
principalArn: smithyClient.expectString,
|
|
2005
|
-
});
|
|
2006
|
-
};
|
|
2007
|
-
const de_GeneratedPolicyResult = (output, context) => {
|
|
2008
|
-
return smithyClient.take(output, {
|
|
2009
|
-
generatedPolicies: smithyClient._json,
|
|
2010
|
-
properties: (_) => de_GeneratedPolicyProperties(_),
|
|
2011
|
-
});
|
|
2012
|
-
};
|
|
2013
|
-
const de_JobDetails = (output, context) => {
|
|
2014
|
-
return smithyClient.take(output, {
|
|
2015
|
-
completedOn: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2016
|
-
jobError: smithyClient._json,
|
|
2017
|
-
jobId: smithyClient.expectString,
|
|
2018
|
-
startedOn: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2019
|
-
status: smithyClient.expectString,
|
|
2020
|
-
});
|
|
2021
|
-
};
|
|
2022
|
-
const de_PolicyGeneration = (output, context) => {
|
|
2023
|
-
return smithyClient.take(output, {
|
|
2024
|
-
completedOn: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2025
|
-
jobId: smithyClient.expectString,
|
|
2026
|
-
principalArn: smithyClient.expectString,
|
|
2027
|
-
startedOn: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2028
|
-
status: smithyClient.expectString,
|
|
2029
|
-
});
|
|
2030
|
-
};
|
|
2031
|
-
const de_PolicyGenerationList = (output, context) => {
|
|
2032
|
-
const retVal = (output || [])
|
|
2033
|
-
.filter((e) => e != null)
|
|
2034
|
-
.map((entry) => {
|
|
2035
|
-
return de_PolicyGeneration(entry);
|
|
2036
|
-
});
|
|
2037
|
-
return retVal;
|
|
2038
|
-
};
|
|
2039
|
-
const de_RecommendedStep = (output, context) => {
|
|
2040
|
-
if (output.unusedPermissionsRecommendedStep != null) {
|
|
2041
|
-
return {
|
|
2042
|
-
unusedPermissionsRecommendedStep: de_UnusedPermissionsRecommendedStep(output.unusedPermissionsRecommendedStep),
|
|
2043
|
-
};
|
|
2044
|
-
}
|
|
2045
|
-
return { $unknown: Object.entries(output)[0] };
|
|
2046
|
-
};
|
|
2047
|
-
const de_RecommendedStepList = (output, context) => {
|
|
2048
|
-
const retVal = (output || [])
|
|
2049
|
-
.filter((e) => e != null)
|
|
2050
|
-
.map((entry) => {
|
|
2051
|
-
return de_RecommendedStep(core$1.awsExpectUnion(entry));
|
|
2052
|
-
});
|
|
2053
|
-
return retVal;
|
|
2054
|
-
};
|
|
2055
|
-
const de_UnusedAction = (output, context) => {
|
|
2056
|
-
return smithyClient.take(output, {
|
|
2057
|
-
action: smithyClient.expectString,
|
|
2058
|
-
lastAccessed: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2059
|
-
});
|
|
2060
|
-
};
|
|
2061
|
-
const de_UnusedActionList = (output, context) => {
|
|
2062
|
-
const retVal = (output || [])
|
|
2063
|
-
.filter((e) => e != null)
|
|
2064
|
-
.map((entry) => {
|
|
2065
|
-
return de_UnusedAction(entry);
|
|
2066
|
-
});
|
|
2067
|
-
return retVal;
|
|
2068
|
-
};
|
|
2069
|
-
const de_UnusedIamRoleDetails = (output, context) => {
|
|
2070
|
-
return smithyClient.take(output, {
|
|
2071
|
-
lastAccessed: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2072
|
-
});
|
|
2073
|
-
};
|
|
2074
|
-
const de_UnusedIamUserAccessKeyDetails = (output, context) => {
|
|
2075
|
-
return smithyClient.take(output, {
|
|
2076
|
-
accessKeyId: smithyClient.expectString,
|
|
2077
|
-
lastAccessed: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2078
|
-
});
|
|
2079
|
-
};
|
|
2080
|
-
const de_UnusedIamUserPasswordDetails = (output, context) => {
|
|
2081
|
-
return smithyClient.take(output, {
|
|
2082
|
-
lastAccessed: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2083
|
-
});
|
|
2084
|
-
};
|
|
2085
|
-
const de_UnusedPermissionDetails = (output, context) => {
|
|
2086
|
-
return smithyClient.take(output, {
|
|
2087
|
-
actions: (_) => de_UnusedActionList(_),
|
|
2088
|
-
lastAccessed: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2089
|
-
serviceNamespace: smithyClient.expectString,
|
|
2090
|
-
});
|
|
2091
|
-
};
|
|
2092
|
-
const de_UnusedPermissionsRecommendedStep = (output, context) => {
|
|
2093
|
-
return smithyClient.take(output, {
|
|
2094
|
-
existingPolicyId: smithyClient.expectString,
|
|
2095
|
-
policyUpdatedAt: (_) => smithyClient.expectNonNull(smithyClient.parseRfc3339DateTimeWithOffset(_)),
|
|
2096
|
-
recommendedAction: smithyClient.expectString,
|
|
2097
|
-
recommendedPolicy: smithyClient.expectString,
|
|
2098
|
-
});
|
|
2099
|
-
};
|
|
2100
|
-
const deserializeMetadata = (output) => ({
|
|
2101
|
-
httpStatusCode: output.statusCode,
|
|
2102
|
-
requestId: output.headers["x-amzn-requestid"] ?? output.headers["x-amzn-request-id"] ?? output.headers["x-amz-request-id"],
|
|
2103
|
-
extendedRequestId: output.headers["x-amz-id-2"],
|
|
2104
|
-
cfId: output.headers["x-amz-cf-id"],
|
|
2105
|
-
});
|
|
558
|
+
const _A = "Access";
|
|
559
|
+
const _AA = "AccountAggregations";
|
|
560
|
+
const _AAR = "ApplyArchiveRule";
|
|
561
|
+
const _AARR = "ApplyArchiveRuleRequest";
|
|
562
|
+
const _AC = "AnalyzerConfiguration";
|
|
563
|
+
const _ACPD = "AccessCheckPolicyDocument";
|
|
564
|
+
const _ADE = "AccessDeniedException";
|
|
565
|
+
const _AG = "AclGrantee";
|
|
566
|
+
const _AL = "AccessList";
|
|
567
|
+
const _ALn = "AnalyzersList";
|
|
568
|
+
const _AP = "AccessPreview";
|
|
569
|
+
const _APF = "AccessPreviewFinding";
|
|
570
|
+
const _APFL = "AccessPreviewFindingsList";
|
|
571
|
+
const _APL = "AccessPreviewsList";
|
|
572
|
+
const _APS = "AccessPreviewSummary";
|
|
573
|
+
const _APSR = "AccessPreviewStatusReason";
|
|
574
|
+
const _AR = "AnalysisRule";
|
|
575
|
+
const _ARC = "AnalysisRuleCriteria";
|
|
576
|
+
const _ARCL = "AnalysisRuleCriteriaList";
|
|
577
|
+
const _ARL = "AnalyzedResourcesList";
|
|
578
|
+
const _ARLr = "ArchiveRulesList";
|
|
579
|
+
const _ARS = "AnalyzedResourceSummary";
|
|
580
|
+
const _ARSr = "ArchiveRuleSummary";
|
|
581
|
+
const _ARn = "AnalyzedResource";
|
|
582
|
+
const _AS = "AnalyzerSummary";
|
|
583
|
+
const _C = "Criterion";
|
|
584
|
+
const _CA = "CreateAnalyzer";
|
|
585
|
+
const _CANG = "CheckAccessNotGranted";
|
|
586
|
+
const _CANGR = "CheckAccessNotGrantedRequest";
|
|
587
|
+
const _CANGRh = "CheckAccessNotGrantedResponse";
|
|
588
|
+
const _CAP = "CreateAccessPreview";
|
|
589
|
+
const _CAPR = "CreateAccessPreviewRequest";
|
|
590
|
+
const _CAPRr = "CreateAccessPreviewResponse";
|
|
591
|
+
const _CAR = "CreateAnalyzerRequest";
|
|
592
|
+
const _CARR = "CreateArchiveRuleRequest";
|
|
593
|
+
const _CARr = "CreateAnalyzerResponse";
|
|
594
|
+
const _CARre = "CreateArchiveRule";
|
|
595
|
+
const _CE = "ConflictException";
|
|
596
|
+
const _CM = "ConfigurationsMap";
|
|
597
|
+
const _CNNA = "CheckNoNewAccess";
|
|
598
|
+
const _CNNAR = "CheckNoNewAccessRequest";
|
|
599
|
+
const _CNNARh = "CheckNoNewAccessResponse";
|
|
600
|
+
const _CNPA = "CheckNoPublicAccess";
|
|
601
|
+
const _CNPAR = "CheckNoPublicAccessRequest";
|
|
602
|
+
const _CNPARh = "CheckNoPublicAccessResponse";
|
|
603
|
+
const _CPG = "CancelPolicyGeneration";
|
|
604
|
+
const _CPGR = "CancelPolicyGenerationRequest";
|
|
605
|
+
const _CPGRa = "CancelPolicyGenerationResponse";
|
|
606
|
+
const _CTD = "CloudTrailDetails";
|
|
607
|
+
const _CTP = "CloudTrailProperties";
|
|
608
|
+
const _Co = "Configuration";
|
|
609
|
+
const _DA = "DeleteAnalyzer";
|
|
610
|
+
const _DAR = "DeleteAnalyzerRequest";
|
|
611
|
+
const _DARR = "DeleteArchiveRuleRequest";
|
|
612
|
+
const _DARe = "DeleteArchiveRule";
|
|
613
|
+
const _DSC = "DynamodbStreamConfiguration";
|
|
614
|
+
const _DTC = "DynamodbTableConfiguration";
|
|
615
|
+
const _EAD = "ExternalAccessDetails";
|
|
616
|
+
const _EAFS = "ExternalAccessFindingsStatistics";
|
|
617
|
+
const _EFSC = "EfsFileSystemConfiguration";
|
|
618
|
+
const _ERC = "EcrRepositoryConfiguration";
|
|
619
|
+
const _ESC = "EbsSnapshotConfiguration";
|
|
620
|
+
const _F = "Finding";
|
|
621
|
+
const _FAAD = "FindingAggregationAccountDetails";
|
|
622
|
+
const _FCM = "FilterCriteriaMap";
|
|
623
|
+
const _FD = "FindingDetails";
|
|
624
|
+
const _FDL = "FindingDetailsList";
|
|
625
|
+
const _FL = "FindingsList";
|
|
626
|
+
const _FLV = "FindingsListV2";
|
|
627
|
+
const _FS = "FindingSource";
|
|
628
|
+
const _FSD = "FindingSourceDetail";
|
|
629
|
+
const _FSL = "FindingSourceList";
|
|
630
|
+
const _FSLi = "FindingsStatisticsList";
|
|
631
|
+
const _FSV = "FindingSummaryV2";
|
|
632
|
+
const _FSi = "FindingSummary";
|
|
633
|
+
const _FSin = "FindingsStatistics";
|
|
634
|
+
const _GA = "GetAnalyzer";
|
|
635
|
+
const _GAP = "GetAccessPreview";
|
|
636
|
+
const _GAPR = "GetAccessPreviewRequest";
|
|
637
|
+
const _GAPRe = "GetAccessPreviewResponse";
|
|
638
|
+
const _GAR = "GetAnalyzerRequest";
|
|
639
|
+
const _GARR = "GetAnalyzedResourceRequest";
|
|
640
|
+
const _GARRe = "GetAnalyzedResourceResponse";
|
|
641
|
+
const _GARRet = "GetArchiveRuleRequest";
|
|
642
|
+
const _GARRetr = "GetArchiveRuleResponse";
|
|
643
|
+
const _GARe = "GetAnalyzerResponse";
|
|
644
|
+
const _GARet = "GetAnalyzedResource";
|
|
645
|
+
const _GARetr = "GetArchiveRule";
|
|
646
|
+
const _GF = "GetFinding";
|
|
647
|
+
const _GFR = "GetFindingRequest";
|
|
648
|
+
const _GFRR = "GenerateFindingRecommendationRequest";
|
|
649
|
+
const _GFRRe = "GetFindingRecommendationRequest";
|
|
650
|
+
const _GFRRet = "GetFindingRecommendationResponse";
|
|
651
|
+
const _GFRe = "GetFindingResponse";
|
|
652
|
+
const _GFRen = "GenerateFindingRecommendation";
|
|
653
|
+
const _GFRet = "GetFindingRecommendation";
|
|
654
|
+
const _GFS = "GetFindingsStatistics";
|
|
655
|
+
const _GFSR = "GetFindingsStatisticsRequest";
|
|
656
|
+
const _GFSRe = "GetFindingsStatisticsResponse";
|
|
657
|
+
const _GFV = "GetFindingV2";
|
|
658
|
+
const _GFVR = "GetFindingV2Request";
|
|
659
|
+
const _GFVRe = "GetFindingV2Response";
|
|
660
|
+
const _GGP = "GetGeneratedPolicy";
|
|
661
|
+
const _GGPR = "GetGeneratedPolicyRequest";
|
|
662
|
+
const _GGPRe = "GetGeneratedPolicyResponse";
|
|
663
|
+
const _GP = "GeneratedPolicy";
|
|
664
|
+
const _GPL = "GeneratedPolicyList";
|
|
665
|
+
const _GPP = "GeneratedPolicyProperties";
|
|
666
|
+
const _GPR = "GeneratedPolicyResult";
|
|
667
|
+
const _IAAR = "InternalAccessAnalysisRule";
|
|
668
|
+
const _IAARC = "InternalAccessAnalysisRuleCriteria";
|
|
669
|
+
const _IAARCL = "InternalAccessAnalysisRuleCriteriaList";
|
|
670
|
+
const _IAC = "InternalAccessConfiguration";
|
|
671
|
+
const _IAD = "InternalAccessDetails";
|
|
672
|
+
const _IAFS = "InternalAccessFindingsStatistics";
|
|
673
|
+
const _IAR = "InlineArchiveRule";
|
|
674
|
+
const _IARL = "InlineArchiveRulesList";
|
|
675
|
+
const _IARTD = "InternalAccessResourceTypeDetails";
|
|
676
|
+
const _IARTSM = "InternalAccessResourceTypeStatisticsMap";
|
|
677
|
+
const _IC = "InternetConfiguration";
|
|
678
|
+
const _IPE = "InvalidParameterException";
|
|
679
|
+
const _IRC = "IamRoleConfiguration";
|
|
680
|
+
const _ISE = "InternalServerException";
|
|
681
|
+
const _JD = "JobDetails";
|
|
682
|
+
const _JE = "JobError";
|
|
683
|
+
const _KGC = "KmsGrantConfiguration";
|
|
684
|
+
const _KGCL = "KmsGrantConfigurationsList";
|
|
685
|
+
const _KGCm = "KmsGrantConstraints";
|
|
686
|
+
const _KKC = "KmsKeyConfiguration";
|
|
687
|
+
const _L = "Location";
|
|
688
|
+
const _LA = "ListAnalyzers";
|
|
689
|
+
const _LAP = "ListAccessPreviews";
|
|
690
|
+
const _LAPF = "ListAccessPreviewFindings";
|
|
691
|
+
const _LAPFR = "ListAccessPreviewFindingsRequest";
|
|
692
|
+
const _LAPFRi = "ListAccessPreviewFindingsResponse";
|
|
693
|
+
const _LAPR = "ListAccessPreviewsRequest";
|
|
694
|
+
const _LAPRi = "ListAccessPreviewsResponse";
|
|
695
|
+
const _LAR = "ListAnalyzersRequest";
|
|
696
|
+
const _LARR = "ListAnalyzedResourcesRequest";
|
|
697
|
+
const _LARRi = "ListAnalyzedResourcesResponse";
|
|
698
|
+
const _LARRis = "ListArchiveRulesRequest";
|
|
699
|
+
const _LARRist = "ListArchiveRulesResponse";
|
|
700
|
+
const _LARi = "ListAnalyzersResponse";
|
|
701
|
+
const _LARis = "ListAnalyzedResources";
|
|
702
|
+
const _LARist = "ListArchiveRules";
|
|
703
|
+
const _LF = "ListFindings";
|
|
704
|
+
const _LFR = "ListFindingsRequest";
|
|
705
|
+
const _LFRi = "ListFindingsResponse";
|
|
706
|
+
const _LFV = "ListFindingsV2";
|
|
707
|
+
const _LFVR = "ListFindingsV2Request";
|
|
708
|
+
const _LFVRi = "ListFindingsV2Response";
|
|
709
|
+
const _LL = "LocationList";
|
|
710
|
+
const _LPG = "ListPolicyGenerations";
|
|
711
|
+
const _LPGR = "ListPolicyGenerationsRequest";
|
|
712
|
+
const _LPGRi = "ListPolicyGenerationsResponse";
|
|
713
|
+
const _LTFR = "ListTagsForResource";
|
|
714
|
+
const _LTFRR = "ListTagsForResourceRequest";
|
|
715
|
+
const _LTFRRi = "ListTagsForResourceResponse";
|
|
716
|
+
const _NOC = "NetworkOriginConfiguration";
|
|
717
|
+
const _P = "Position";
|
|
718
|
+
const _PE = "PathElement";
|
|
719
|
+
const _PEL = "PathElementList";
|
|
720
|
+
const _PG = "PolicyGeneration";
|
|
721
|
+
const _PGD = "PolicyGenerationDetails";
|
|
722
|
+
const _PGL = "PolicyGenerationList";
|
|
723
|
+
const _RA = "Retry-After";
|
|
724
|
+
const _RDCSAM = "RdsDbClusterSnapshotAttributesMap";
|
|
725
|
+
const _RDCSAV = "RdsDbClusterSnapshotAttributeValue";
|
|
726
|
+
const _RDCSC = "RdsDbClusterSnapshotConfiguration";
|
|
727
|
+
const _RDSAM = "RdsDbSnapshotAttributesMap";
|
|
728
|
+
const _RDSAV = "RdsDbSnapshotAttributeValue";
|
|
729
|
+
const _RDSC = "RdsDbSnapshotConfiguration";
|
|
730
|
+
const _RE = "RecommendationError";
|
|
731
|
+
const _RNFE = "ResourceNotFoundException";
|
|
732
|
+
const _RS = "ReasonSummary";
|
|
733
|
+
const _RSL = "ReasonSummaryList";
|
|
734
|
+
const _RSLe = "RecommendedStepList";
|
|
735
|
+
const _RSe = "RecommendedStep";
|
|
736
|
+
const _RTD = "ResourceTypeDetails";
|
|
737
|
+
const _RTSM = "ResourceTypeStatisticsMap";
|
|
738
|
+
const _S = "Span";
|
|
739
|
+
const _SAPC = "S3AccessPointConfiguration";
|
|
740
|
+
const _SAPCM = "S3AccessPointConfigurationsMap";
|
|
741
|
+
const _SBAGC = "S3BucketAclGrantConfiguration";
|
|
742
|
+
const _SBAGCL = "S3BucketAclGrantConfigurationsList";
|
|
743
|
+
const _SBC = "S3BucketConfiguration";
|
|
744
|
+
const _SC = "SortCriteria";
|
|
745
|
+
const _SEDAPC = "S3ExpressDirectoryAccessPointConfiguration";
|
|
746
|
+
const _SEDAPCM = "S3ExpressDirectoryAccessPointConfigurationsMap";
|
|
747
|
+
const _SEDBC = "S3ExpressDirectoryBucketConfiguration";
|
|
748
|
+
const _SMSC = "SecretsManagerSecretConfiguration";
|
|
749
|
+
const _SPABC = "S3PublicAccessBlockConfiguration";
|
|
750
|
+
const _SPG = "StartPolicyGeneration";
|
|
751
|
+
const _SPGR = "StartPolicyGenerationRequest";
|
|
752
|
+
const _SPGRt = "StartPolicyGenerationResponse";
|
|
753
|
+
const _SQC = "SqsQueueConfiguration";
|
|
754
|
+
const _SQEE = "ServiceQuotaExceededException";
|
|
755
|
+
const _SR = "StatusReason";
|
|
756
|
+
const _SRS = "StartResourceScan";
|
|
757
|
+
const _SRSR = "StartResourceScanRequest";
|
|
758
|
+
const _STC = "SnsTopicConfiguration";
|
|
759
|
+
const _Su = "Substring";
|
|
760
|
+
const _T = "Trail";
|
|
761
|
+
const _TE = "ThrottlingException";
|
|
762
|
+
const _TL = "TagsList";
|
|
763
|
+
const _TLr = "TrailList";
|
|
764
|
+
const _TP = "TrailProperties";
|
|
765
|
+
const _TPL = "TrailPropertiesList";
|
|
766
|
+
const _TR = "TagResource";
|
|
767
|
+
const _TRR = "TagResourceRequest";
|
|
768
|
+
const _TRRa = "TagResourceResponse";
|
|
769
|
+
const _UA = "UnusedAction";
|
|
770
|
+
const _UAC = "UnusedAccessConfiguration";
|
|
771
|
+
const _UAFS = "UnusedAccessFindingsStatistics";
|
|
772
|
+
const _UAL = "UnusedActionList";
|
|
773
|
+
const _UAR = "UpdateAnalyzerRequest";
|
|
774
|
+
const _UARR = "UpdateArchiveRuleRequest";
|
|
775
|
+
const _UARp = "UpdateAnalyzerResponse";
|
|
776
|
+
const _UARpd = "UpdateArchiveRule";
|
|
777
|
+
const _UATS = "UnusedAccessTypeStatistics";
|
|
778
|
+
const _UATSL = "UnusedAccessTypeStatisticsList";
|
|
779
|
+
const _UAp = "UpdateAnalyzer";
|
|
780
|
+
const _UEE = "UnprocessableEntityException";
|
|
781
|
+
const _UF = "UpdateFindings";
|
|
782
|
+
const _UFR = "UpdateFindingsRequest";
|
|
783
|
+
const _UIRD = "UnusedIamRoleDetails";
|
|
784
|
+
const _UIUAKD = "UnusedIamUserAccessKeyDetails";
|
|
785
|
+
const _UIUPD = "UnusedIamUserPasswordDetails";
|
|
786
|
+
const _UPD = "UnusedPermissionDetails";
|
|
787
|
+
const _UPRS = "UnusedPermissionsRecommendedStep";
|
|
788
|
+
const _UR = "UntagResource";
|
|
789
|
+
const _URR = "UntagResourceRequest";
|
|
790
|
+
const _URRn = "UntagResourceResponse";
|
|
791
|
+
const _VC = "VpcConfiguration";
|
|
792
|
+
const _VE = "ValidationException";
|
|
793
|
+
const _VEF = "ValidationExceptionField";
|
|
794
|
+
const _VEFL = "ValidationExceptionFieldList";
|
|
795
|
+
const _VP = "ValidatePolicy";
|
|
796
|
+
const _VPF = "ValidatePolicyFinding";
|
|
797
|
+
const _VPFL = "ValidatePolicyFindingList";
|
|
798
|
+
const _VPR = "ValidatePolicyRequest";
|
|
799
|
+
const _VPRa = "ValidatePolicyResponse";
|
|
800
|
+
const _a = "actions";
|
|
2106
801
|
const _aA = "analyzerArn";
|
|
2107
|
-
const
|
|
802
|
+
const _aAn = "analyzedAt";
|
|
803
|
+
const _aI = "accountIds";
|
|
804
|
+
const _aKI = "accessKeyId";
|
|
805
|
+
const _aN = "analyzerName";
|
|
806
|
+
const _aNt = "attributeName";
|
|
807
|
+
const _aP = "accessPreview";
|
|
808
|
+
const _aPA = "accessPointArn";
|
|
809
|
+
const _aPAc = "accessPointAccount";
|
|
810
|
+
const _aPI = "accessPreviewId";
|
|
811
|
+
const _aPP = "accessPointPolicy";
|
|
812
|
+
const _aPc = "accessPreviews";
|
|
813
|
+
const _aPcc = "accessPoints";
|
|
814
|
+
const _aR = "accessRole";
|
|
815
|
+
const _aRl = "allRegions";
|
|
816
|
+
const _aRn = "analysisRule";
|
|
817
|
+
const _aRna = "analyzedResources";
|
|
818
|
+
const _aRr = "archiveRules";
|
|
819
|
+
const _aRrc = "archiveRule";
|
|
820
|
+
const _aT = "accessType";
|
|
821
|
+
const _ac = "action";
|
|
822
|
+
const _acc = "access";
|
|
823
|
+
const _acco = "account";
|
|
824
|
+
const _an = "analyzer";
|
|
825
|
+
const _ana = "analyzers";
|
|
826
|
+
const _ar = "arn";
|
|
827
|
+
const _at = "attributes";
|
|
828
|
+
const _bAG = "bucketAclGrants";
|
|
829
|
+
const _bP = "bucketPolicy";
|
|
830
|
+
const _bPAB = "bucketPublicAccessBlock";
|
|
831
|
+
const _c = "client";
|
|
832
|
+
const _cA = "createdAt";
|
|
833
|
+
const _cAo = "completedAt";
|
|
834
|
+
const _cO = "completedOn";
|
|
835
|
+
const _cT = "changeType";
|
|
836
|
+
const _cTA = "cloudTrailArn";
|
|
837
|
+
const _cTD = "cloudTrailDetails";
|
|
838
|
+
const _cTP = "cloudTrailProperties";
|
|
839
|
+
const _cTl = "clientToken";
|
|
840
|
+
const _co = "configurations";
|
|
841
|
+
const _cod = "code";
|
|
842
|
+
const _col = "column";
|
|
843
|
+
const _con = "condition";
|
|
844
|
+
const _conf = "configuration";
|
|
845
|
+
const _cons = "constraints";
|
|
846
|
+
const _cont = "contains";
|
|
847
|
+
const _d = "details";
|
|
848
|
+
const _dS = "dynamodbStream";
|
|
849
|
+
const _dT = "dynamodbTable";
|
|
850
|
+
const _de = "detail";
|
|
851
|
+
const _des = "description";
|
|
852
|
+
const _e = "error";
|
|
853
|
+
const _eAD = "externalAccessDetails";
|
|
854
|
+
const _eAFS = "externalAccessFindingsStatistics";
|
|
855
|
+
const _eCE = "encryptionContextEquals";
|
|
856
|
+
const _eCS = "encryptionContextSubset";
|
|
857
|
+
const _eFI = "existingFindingId";
|
|
858
|
+
const _eFS = "existingFindingStatus";
|
|
859
|
+
const _eFSf = "efsFileSystem";
|
|
860
|
+
const _ePD = "existingPolicyDocument";
|
|
861
|
+
const _ePI = "existingPolicyId";
|
|
862
|
+
const _eR = "ecrRepository";
|
|
863
|
+
const _eS = "ebsSnapshot";
|
|
864
|
+
const _eT = "endTime";
|
|
865
|
+
const _en = "end";
|
|
866
|
+
const _eq = "eq";
|
|
867
|
+
const _ex = "exclusions";
|
|
868
|
+
const _exi = "exists";
|
|
869
|
+
const _f = "filter";
|
|
870
|
+
const _fD = "findingDetails";
|
|
871
|
+
const _fL = "fieldList";
|
|
872
|
+
const _fS = "findingsStatistics";
|
|
873
|
+
const _fSP = "fileSystemPolicy";
|
|
874
|
+
const _fT = "findingType";
|
|
875
|
+
const _fi = "finding";
|
|
876
|
+
const _fin = "findings";
|
|
877
|
+
const _g = "groups";
|
|
878
|
+
const _gP = "generatedPolicies";
|
|
879
|
+
const _gPR = "generatedPolicyResult";
|
|
880
|
+
const _gPr = "granteePrincipal";
|
|
881
|
+
const _gr = "grants";
|
|
882
|
+
const _gra = "grantee";
|
|
883
|
+
const _h = "http";
|
|
884
|
+
const _hE = "httpError";
|
|
885
|
+
const _hH = "httpHeader";
|
|
886
|
+
const _hQ = "httpQuery";
|
|
887
|
+
const _i = "id";
|
|
888
|
+
const _iA = "issuingAccount";
|
|
889
|
+
const _iAD = "internalAccessDetails";
|
|
890
|
+
const _iAFS = "internalAccessFindingsStatistics";
|
|
891
|
+
const _iAn = "internalAccess";
|
|
892
|
+
const _iC = "isComplete";
|
|
893
|
+
const _iCn = "internetConfiguration";
|
|
894
|
+
const _iCs = "issueCode";
|
|
895
|
+
const _iP = "isPublic";
|
|
896
|
+
const _iPA = "ignorePublicAcls";
|
|
897
|
+
const _iR = "iamRole";
|
|
2108
898
|
const _iRP = "includeResourcePlaceholders";
|
|
2109
899
|
const _iSLT = "includeServiceLevelTemplate";
|
|
900
|
+
const _iT = "idempotencyToken";
|
|
901
|
+
const _id = "ids";
|
|
902
|
+
const _in = "inclusions";
|
|
903
|
+
const _ind = "index";
|
|
904
|
+
const _jD = "jobDetails";
|
|
905
|
+
const _jE = "jobError";
|
|
906
|
+
const _jI = "jobId";
|
|
907
|
+
const _k = "key";
|
|
908
|
+
const _kK = "kmsKey";
|
|
909
|
+
const _kKI = "kmsKeyId";
|
|
910
|
+
const _kP = "keyPolicies";
|
|
911
|
+
const _l = "line";
|
|
912
|
+
const _lA = "lastAccessed";
|
|
913
|
+
const _lML = "learnMoreLink";
|
|
914
|
+
const _lRA = "lastResourceAnalyzed";
|
|
915
|
+
const _lRAA = "lastResourceAnalyzedAt";
|
|
916
|
+
const _lUA = "lastUpdatedAt";
|
|
917
|
+
const _le = "length";
|
|
918
|
+
const _lo = "locations";
|
|
919
|
+
const _loc = "locale";
|
|
920
|
+
const _m = "message";
|
|
2110
921
|
const _mR = "maxResults";
|
|
922
|
+
const _n = "name";
|
|
923
|
+
const _nO = "networkOrigin";
|
|
924
|
+
const _nOAF = "numberOfActiveFindings";
|
|
925
|
+
const _nPD = "newPolicyDocument";
|
|
2111
926
|
const _nT = "nextToken";
|
|
927
|
+
const _ne = "neq";
|
|
928
|
+
const _o = "operations";
|
|
929
|
+
const _oB = "orderBy";
|
|
930
|
+
const _of = "offset";
|
|
931
|
+
const _p = "principal";
|
|
2112
932
|
const _pA = "principalArn";
|
|
933
|
+
const _pAB = "publicAccessBlock";
|
|
934
|
+
const _pD = "policyDocument";
|
|
935
|
+
const _pG = "policyGenerations";
|
|
936
|
+
const _pGD = "policyGenerationDetails";
|
|
937
|
+
const _pOA = "principalOwnerAccount";
|
|
938
|
+
const _pT = "policyType";
|
|
939
|
+
const _pTr = "principalType";
|
|
940
|
+
const _pUA = "policyUpdatedAt";
|
|
941
|
+
const _pa = "path";
|
|
942
|
+
const _pe = "permission";
|
|
943
|
+
const _po = "policy";
|
|
944
|
+
const _pr = "properties";
|
|
945
|
+
const _qP = "queuePolicy";
|
|
946
|
+
const _r = "resources";
|
|
2113
947
|
const _rA = "resourceArn";
|
|
2114
948
|
const _rAS = "retryAfterSeconds";
|
|
2115
|
-
const
|
|
949
|
+
const _rAe = "resourceArns";
|
|
950
|
+
const _rAec = "recommendedAction";
|
|
951
|
+
const _rCPR = "resourceControlPolicyRestriction";
|
|
952
|
+
const _rDCS = "rdsDbClusterSnapshot";
|
|
953
|
+
const _rDS = "rdsDbSnapshot";
|
|
954
|
+
const _rI = "resourceId";
|
|
955
|
+
const _rN = "ruleName";
|
|
956
|
+
const _rOA = "resourceOwnerAccount";
|
|
957
|
+
const _rP = "repositoryPolicy";
|
|
958
|
+
const _rPB = "restrictPublicBuckets";
|
|
959
|
+
const _rPe = "retiringPrincipal";
|
|
960
|
+
const _rPec = "recommendedPolicy";
|
|
961
|
+
const _rS = "recommendedSteps";
|
|
962
|
+
const _rT = "resourceType";
|
|
963
|
+
const _rTS = "resourceTypeStatistics";
|
|
964
|
+
const _rTe = "resourceTags";
|
|
965
|
+
const _rTec = "recommendationType";
|
|
966
|
+
const _rTes = "resourceTypes";
|
|
967
|
+
const _re = "resource";
|
|
968
|
+
const _rea = "reasons";
|
|
969
|
+
const _reas = "reason";
|
|
970
|
+
const _reg = "regions";
|
|
971
|
+
const _res = "result";
|
|
972
|
+
const _s = "status";
|
|
973
|
+
const _sA = "startedAt";
|
|
974
|
+
const _sB = "s3Bucket";
|
|
975
|
+
const _sCPR = "serviceControlPolicyRestriction";
|
|
976
|
+
const _sEDB = "s3ExpressDirectoryBucket";
|
|
977
|
+
const _sI = "statementIndex";
|
|
978
|
+
const _sIt = "statementId";
|
|
979
|
+
const _sMS = "secretsManagerSecret";
|
|
980
|
+
const _sN = "serviceNamespace";
|
|
981
|
+
const _sO = "startedOn";
|
|
982
|
+
const _sP = "streamPolicy";
|
|
983
|
+
const _sPe = "secretPolicy";
|
|
984
|
+
const _sQ = "sqsQueue";
|
|
985
|
+
const _sR = "statusReason";
|
|
986
|
+
const _sT = "startTime";
|
|
987
|
+
const _sTn = "snsTopic";
|
|
988
|
+
const _sV = "sharedVia";
|
|
989
|
+
const _se = "server";
|
|
990
|
+
const _sm = "smithy.ts.sdk.synthetic.com.amazonaws.accessanalyzer";
|
|
991
|
+
const _so = "sources";
|
|
992
|
+
const _sor = "sort";
|
|
993
|
+
const _sp = "span";
|
|
994
|
+
const _st = "start";
|
|
995
|
+
const _su = "substring";
|
|
2116
996
|
const _t = "type";
|
|
997
|
+
const _tA = "topAccounts";
|
|
998
|
+
const _tACA = "totalActiveCrossAccount";
|
|
999
|
+
const _tAE = "totalActiveErrors";
|
|
1000
|
+
const _tAF = "totalActiveFindings";
|
|
1001
|
+
const _tAFo = "totalArchivedFindings";
|
|
1002
|
+
const _tAP = "totalActivePublic";
|
|
2117
1003
|
const _tK = "tagKeys";
|
|
1004
|
+
const _tP = "trailProperties";
|
|
1005
|
+
const _tPa = "tablePolicy";
|
|
1006
|
+
const _tPo = "topicPolicy";
|
|
1007
|
+
const _tPr = "trustPolicy";
|
|
1008
|
+
const _tRF = "totalResolvedFindings";
|
|
1009
|
+
const _ta = "tags";
|
|
1010
|
+
const _to = "total";
|
|
1011
|
+
const _tr = "trails";
|
|
1012
|
+
const _u = "uri";
|
|
1013
|
+
const _uA = "updatedAt";
|
|
1014
|
+
const _uAA = "unusedAccessAge";
|
|
1015
|
+
const _uAFS = "unusedAccessFindingsStatistics";
|
|
1016
|
+
const _uAT = "unusedAccessType";
|
|
1017
|
+
const _uATS = "unusedAccessTypeStatistics";
|
|
1018
|
+
const _uAn = "unusedAccess";
|
|
1019
|
+
const _uI = "userIds";
|
|
1020
|
+
const _uIRD = "unusedIamRoleDetails";
|
|
1021
|
+
const _uIUAKD = "unusedIamUserAccessKeyDetails";
|
|
1022
|
+
const _uIUPD = "unusedIamUserPasswordDetails";
|
|
1023
|
+
const _uPD = "unusedPermissionDetails";
|
|
1024
|
+
const _uPRS = "unusedPermissionsRecommendedStep";
|
|
1025
|
+
const _v = "value";
|
|
1026
|
+
const _vC = "vpcConfiguration";
|
|
1027
|
+
const _vI = "vpcId";
|
|
1028
|
+
const _vPRT = "validatePolicyResourceType";
|
|
1029
|
+
const n0 = "com.amazonaws.accessanalyzer";
|
|
1030
|
+
var AccessCheckPolicyDocument = [0, n0, _ACPD, 8, 0];
|
|
1031
|
+
var Access = [3, n0, _A, 0, [_a, _r], [64 | 0, 64 | 0]];
|
|
1032
|
+
var AccessDeniedException = [
|
|
1033
|
+
-3,
|
|
1034
|
+
n0,
|
|
1035
|
+
_ADE,
|
|
1036
|
+
{
|
|
1037
|
+
[_e]: _c,
|
|
1038
|
+
[_hE]: 403,
|
|
1039
|
+
},
|
|
1040
|
+
[_m],
|
|
1041
|
+
[0],
|
|
1042
|
+
];
|
|
1043
|
+
schema.TypeRegistry.for(n0).registerError(AccessDeniedException, AccessDeniedException$1);
|
|
1044
|
+
var AccessPreview = [
|
|
1045
|
+
3,
|
|
1046
|
+
n0,
|
|
1047
|
+
_AP,
|
|
1048
|
+
0,
|
|
1049
|
+
[_i, _aA, _co, _cA, _s, _sR],
|
|
1050
|
+
[0, 0, () => ConfigurationsMap, 5, 0, () => AccessPreviewStatusReason],
|
|
1051
|
+
];
|
|
1052
|
+
var AccessPreviewFinding = [
|
|
1053
|
+
3,
|
|
1054
|
+
n0,
|
|
1055
|
+
_APF,
|
|
1056
|
+
0,
|
|
1057
|
+
[_i, _eFI, _eFS, _p, _ac, _con, _re, _iP, _rT, _cA, _cT, _s, _rOA, _e, _so, _rCPR],
|
|
1058
|
+
[0, 0, 0, 128 | 0, 64 | 0, 128 | 0, 0, 2, 0, 5, 0, 0, 0, 0, () => FindingSourceList, 0],
|
|
1059
|
+
];
|
|
1060
|
+
var AccessPreviewStatusReason = [3, n0, _APSR, 0, [_cod], [0]];
|
|
1061
|
+
var AccessPreviewSummary = [
|
|
1062
|
+
3,
|
|
1063
|
+
n0,
|
|
1064
|
+
_APS,
|
|
1065
|
+
0,
|
|
1066
|
+
[_i, _aA, _cA, _s, _sR],
|
|
1067
|
+
[0, 0, 5, 0, () => AccessPreviewStatusReason],
|
|
1068
|
+
];
|
|
1069
|
+
var AnalysisRule = [3, n0, _AR, 0, [_ex], [() => AnalysisRuleCriteriaList]];
|
|
1070
|
+
var AnalysisRuleCriteria = [
|
|
1071
|
+
3,
|
|
1072
|
+
n0,
|
|
1073
|
+
_ARC,
|
|
1074
|
+
0,
|
|
1075
|
+
[_aI, _rTe],
|
|
1076
|
+
[64 | 0, [1, n0, _TL, 0, 128 | 0]],
|
|
1077
|
+
];
|
|
1078
|
+
var AnalyzedResource = [
|
|
1079
|
+
3,
|
|
1080
|
+
n0,
|
|
1081
|
+
_ARn,
|
|
1082
|
+
0,
|
|
1083
|
+
[_rA, _rT, _cA, _aAn, _uA, _iP, _a, _sV, _s, _rOA, _e],
|
|
1084
|
+
[0, 0, 5, 5, 5, 2, 64 | 0, 64 | 0, 0, 0, 0],
|
|
1085
|
+
];
|
|
1086
|
+
var AnalyzedResourceSummary = [3, n0, _ARS, 0, [_rA, _rOA, _rT], [0, 0, 0]];
|
|
1087
|
+
var AnalyzerSummary = [
|
|
1088
|
+
3,
|
|
1089
|
+
n0,
|
|
1090
|
+
_AS,
|
|
1091
|
+
0,
|
|
1092
|
+
[_ar, _n, _t, _cA, _lRA, _lRAA, _ta, _s, _sR, _conf],
|
|
1093
|
+
[0, 0, 0, 5, 0, 5, 128 | 0, 0, () => StatusReason, () => AnalyzerConfiguration],
|
|
1094
|
+
];
|
|
1095
|
+
var ApplyArchiveRuleRequest = [3, n0, _AARR, 0, [_aA, _rN, _cTl], [0, 0, [0, 4]]];
|
|
1096
|
+
var ArchiveRuleSummary = [
|
|
1097
|
+
3,
|
|
1098
|
+
n0,
|
|
1099
|
+
_ARSr,
|
|
1100
|
+
0,
|
|
1101
|
+
[_rN, _f, _cA, _uA],
|
|
1102
|
+
[0, () => FilterCriteriaMap, 5, 5],
|
|
1103
|
+
];
|
|
1104
|
+
var CancelPolicyGenerationRequest = [3, n0, _CPGR, 0, [_jI], [[0, 1]]];
|
|
1105
|
+
var CancelPolicyGenerationResponse = [3, n0, _CPGRa, 0, [], []];
|
|
1106
|
+
var CheckAccessNotGrantedRequest = [
|
|
1107
|
+
3,
|
|
1108
|
+
n0,
|
|
1109
|
+
_CANGR,
|
|
1110
|
+
0,
|
|
1111
|
+
[_pD, _acc, _pT],
|
|
1112
|
+
[[() => AccessCheckPolicyDocument, 0], () => AccessList, 0],
|
|
1113
|
+
];
|
|
1114
|
+
var CheckAccessNotGrantedResponse = [
|
|
1115
|
+
3,
|
|
1116
|
+
n0,
|
|
1117
|
+
_CANGRh,
|
|
1118
|
+
0,
|
|
1119
|
+
[_res, _m, _rea],
|
|
1120
|
+
[0, 0, () => ReasonSummaryList],
|
|
1121
|
+
];
|
|
1122
|
+
var CheckNoNewAccessRequest = [
|
|
1123
|
+
3,
|
|
1124
|
+
n0,
|
|
1125
|
+
_CNNAR,
|
|
1126
|
+
0,
|
|
1127
|
+
[_nPD, _ePD, _pT],
|
|
1128
|
+
[[() => AccessCheckPolicyDocument, 0], [() => AccessCheckPolicyDocument, 0], 0],
|
|
1129
|
+
];
|
|
1130
|
+
var CheckNoNewAccessResponse = [
|
|
1131
|
+
3,
|
|
1132
|
+
n0,
|
|
1133
|
+
_CNNARh,
|
|
1134
|
+
0,
|
|
1135
|
+
[_res, _m, _rea],
|
|
1136
|
+
[0, 0, () => ReasonSummaryList],
|
|
1137
|
+
];
|
|
1138
|
+
var CheckNoPublicAccessRequest = [
|
|
1139
|
+
3,
|
|
1140
|
+
n0,
|
|
1141
|
+
_CNPAR,
|
|
1142
|
+
0,
|
|
1143
|
+
[_pD, _rT],
|
|
1144
|
+
[[() => AccessCheckPolicyDocument, 0], 0],
|
|
1145
|
+
];
|
|
1146
|
+
var CheckNoPublicAccessResponse = [
|
|
1147
|
+
3,
|
|
1148
|
+
n0,
|
|
1149
|
+
_CNPARh,
|
|
1150
|
+
0,
|
|
1151
|
+
[_res, _m, _rea],
|
|
1152
|
+
[0, 0, () => ReasonSummaryList],
|
|
1153
|
+
];
|
|
1154
|
+
var CloudTrailDetails = [
|
|
1155
|
+
3,
|
|
1156
|
+
n0,
|
|
1157
|
+
_CTD,
|
|
1158
|
+
0,
|
|
1159
|
+
[_tr, _aR, _sT, _eT],
|
|
1160
|
+
[() => TrailList, 0, 5, 5],
|
|
1161
|
+
];
|
|
1162
|
+
var CloudTrailProperties = [
|
|
1163
|
+
3,
|
|
1164
|
+
n0,
|
|
1165
|
+
_CTP,
|
|
1166
|
+
0,
|
|
1167
|
+
[_tP, _sT, _eT],
|
|
1168
|
+
[() => TrailPropertiesList, 5, 5],
|
|
1169
|
+
];
|
|
1170
|
+
var ConflictException = [
|
|
1171
|
+
-3,
|
|
1172
|
+
n0,
|
|
1173
|
+
_CE,
|
|
1174
|
+
{
|
|
1175
|
+
[_e]: _c,
|
|
1176
|
+
[_hE]: 409,
|
|
1177
|
+
},
|
|
1178
|
+
[_m, _rI, _rT],
|
|
1179
|
+
[0, 0, 0],
|
|
1180
|
+
];
|
|
1181
|
+
schema.TypeRegistry.for(n0).registerError(ConflictException, ConflictException$1);
|
|
1182
|
+
var CreateAccessPreviewRequest = [
|
|
1183
|
+
3,
|
|
1184
|
+
n0,
|
|
1185
|
+
_CAPR,
|
|
1186
|
+
0,
|
|
1187
|
+
[_aA, _co, _cTl],
|
|
1188
|
+
[0, () => ConfigurationsMap, [0, 4]],
|
|
1189
|
+
];
|
|
1190
|
+
var CreateAccessPreviewResponse = [3, n0, _CAPRr, 0, [_i], [0]];
|
|
1191
|
+
var CreateAnalyzerRequest = [
|
|
1192
|
+
3,
|
|
1193
|
+
n0,
|
|
1194
|
+
_CAR,
|
|
1195
|
+
0,
|
|
1196
|
+
[_aN, _t, _aRr, _ta, _cTl, _conf],
|
|
1197
|
+
[0, 0, () => InlineArchiveRulesList, 128 | 0, [0, 4], () => AnalyzerConfiguration],
|
|
1198
|
+
];
|
|
1199
|
+
var CreateAnalyzerResponse = [3, n0, _CARr, 0, [_ar], [0]];
|
|
1200
|
+
var CreateArchiveRuleRequest = [
|
|
1201
|
+
3,
|
|
1202
|
+
n0,
|
|
1203
|
+
_CARR,
|
|
1204
|
+
0,
|
|
1205
|
+
[_aN, _rN, _f, _cTl],
|
|
1206
|
+
[[0, 1], 0, () => FilterCriteriaMap, [0, 4]],
|
|
1207
|
+
];
|
|
1208
|
+
var Criterion = [3, n0, _C, 0, [_eq, _ne, _cont, _exi], [64 | 0, 64 | 0, 64 | 0, 2]];
|
|
1209
|
+
var DeleteAnalyzerRequest = [
|
|
1210
|
+
3,
|
|
1211
|
+
n0,
|
|
1212
|
+
_DAR,
|
|
1213
|
+
0,
|
|
1214
|
+
[_aN, _cTl],
|
|
1215
|
+
[
|
|
1216
|
+
[0, 1],
|
|
1217
|
+
[
|
|
1218
|
+
0,
|
|
1219
|
+
{
|
|
1220
|
+
[_iT]: 1,
|
|
1221
|
+
[_hQ]: _cTl,
|
|
1222
|
+
},
|
|
1223
|
+
],
|
|
1224
|
+
],
|
|
1225
|
+
];
|
|
1226
|
+
var DeleteArchiveRuleRequest = [
|
|
1227
|
+
3,
|
|
1228
|
+
n0,
|
|
1229
|
+
_DARR,
|
|
1230
|
+
0,
|
|
1231
|
+
[_aN, _rN, _cTl],
|
|
1232
|
+
[
|
|
1233
|
+
[0, 1],
|
|
1234
|
+
[0, 1],
|
|
1235
|
+
[
|
|
1236
|
+
0,
|
|
1237
|
+
{
|
|
1238
|
+
[_iT]: 1,
|
|
1239
|
+
[_hQ]: _cTl,
|
|
1240
|
+
},
|
|
1241
|
+
],
|
|
1242
|
+
],
|
|
1243
|
+
];
|
|
1244
|
+
var DynamodbStreamConfiguration = [3, n0, _DSC, 0, [_sP], [0]];
|
|
1245
|
+
var DynamodbTableConfiguration = [3, n0, _DTC, 0, [_tPa], [0]];
|
|
1246
|
+
var EbsSnapshotConfiguration = [3, n0, _ESC, 0, [_uI, _g, _kKI], [64 | 0, 64 | 0, 0]];
|
|
1247
|
+
var EcrRepositoryConfiguration = [3, n0, _ERC, 0, [_rP], [0]];
|
|
1248
|
+
var EfsFileSystemConfiguration = [3, n0, _EFSC, 0, [_fSP], [0]];
|
|
1249
|
+
var ExternalAccessDetails = [
|
|
1250
|
+
3,
|
|
1251
|
+
n0,
|
|
1252
|
+
_EAD,
|
|
1253
|
+
0,
|
|
1254
|
+
[_ac, _con, _iP, _p, _so, _rCPR],
|
|
1255
|
+
[64 | 0, 128 | 0, 2, 128 | 0, () => FindingSourceList, 0],
|
|
1256
|
+
];
|
|
1257
|
+
var ExternalAccessFindingsStatistics = [
|
|
1258
|
+
3,
|
|
1259
|
+
n0,
|
|
1260
|
+
_EAFS,
|
|
1261
|
+
0,
|
|
1262
|
+
[_rTS, _tAF, _tAFo, _tRF],
|
|
1263
|
+
[() => ResourceTypeStatisticsMap, 1, 1, 1],
|
|
1264
|
+
];
|
|
1265
|
+
var Finding = [
|
|
1266
|
+
3,
|
|
1267
|
+
n0,
|
|
1268
|
+
_F,
|
|
1269
|
+
0,
|
|
1270
|
+
[_i, _p, _ac, _re, _iP, _rT, _con, _cA, _aAn, _uA, _s, _rOA, _e, _so, _rCPR],
|
|
1271
|
+
[0, 128 | 0, 64 | 0, 0, 2, 0, 128 | 0, 5, 5, 5, 0, 0, 0, () => FindingSourceList, 0],
|
|
1272
|
+
];
|
|
1273
|
+
var FindingAggregationAccountDetails = [
|
|
1274
|
+
3,
|
|
1275
|
+
n0,
|
|
1276
|
+
_FAAD,
|
|
1277
|
+
0,
|
|
1278
|
+
[_acco, _nOAF, _d],
|
|
1279
|
+
[0, 1, 128 | 1],
|
|
1280
|
+
];
|
|
1281
|
+
var FindingSource = [3, n0, _FS, 0, [_t, _de], [0, () => FindingSourceDetail]];
|
|
1282
|
+
var FindingSourceDetail = [3, n0, _FSD, 0, [_aPA, _aPAc], [0, 0]];
|
|
1283
|
+
var FindingSummary = [
|
|
1284
|
+
3,
|
|
1285
|
+
n0,
|
|
1286
|
+
_FSi,
|
|
1287
|
+
0,
|
|
1288
|
+
[_i, _p, _ac, _re, _iP, _rT, _con, _cA, _aAn, _uA, _s, _rOA, _e, _so, _rCPR],
|
|
1289
|
+
[0, 128 | 0, 64 | 0, 0, 2, 0, 128 | 0, 5, 5, 5, 0, 0, 0, () => FindingSourceList, 0],
|
|
1290
|
+
];
|
|
1291
|
+
var FindingSummaryV2 = [
|
|
1292
|
+
3,
|
|
1293
|
+
n0,
|
|
1294
|
+
_FSV,
|
|
1295
|
+
0,
|
|
1296
|
+
[_aAn, _cA, _e, _i, _re, _rT, _rOA, _s, _uA, _fT],
|
|
1297
|
+
[5, 5, 0, 0, 0, 0, 0, 0, 5, 0],
|
|
1298
|
+
];
|
|
1299
|
+
var GeneratedPolicy = [3, n0, _GP, 0, [_po], [0]];
|
|
1300
|
+
var GeneratedPolicyProperties = [
|
|
1301
|
+
3,
|
|
1302
|
+
n0,
|
|
1303
|
+
_GPP,
|
|
1304
|
+
0,
|
|
1305
|
+
[_iC, _pA, _cTP],
|
|
1306
|
+
[2, 0, () => CloudTrailProperties],
|
|
1307
|
+
];
|
|
1308
|
+
var GeneratedPolicyResult = [
|
|
1309
|
+
3,
|
|
1310
|
+
n0,
|
|
1311
|
+
_GPR,
|
|
1312
|
+
0,
|
|
1313
|
+
[_pr, _gP],
|
|
1314
|
+
[() => GeneratedPolicyProperties, () => GeneratedPolicyList],
|
|
1315
|
+
];
|
|
1316
|
+
var GenerateFindingRecommendationRequest = [
|
|
1317
|
+
3,
|
|
1318
|
+
n0,
|
|
1319
|
+
_GFRR,
|
|
1320
|
+
0,
|
|
1321
|
+
[_aA, _i],
|
|
1322
|
+
[
|
|
1323
|
+
[
|
|
1324
|
+
0,
|
|
1325
|
+
{
|
|
1326
|
+
[_hQ]: _aA,
|
|
1327
|
+
},
|
|
1328
|
+
],
|
|
1329
|
+
[0, 1],
|
|
1330
|
+
],
|
|
1331
|
+
];
|
|
1332
|
+
var GetAccessPreviewRequest = [
|
|
1333
|
+
3,
|
|
1334
|
+
n0,
|
|
1335
|
+
_GAPR,
|
|
1336
|
+
0,
|
|
1337
|
+
[_aPI, _aA],
|
|
1338
|
+
[
|
|
1339
|
+
[0, 1],
|
|
1340
|
+
[
|
|
1341
|
+
0,
|
|
1342
|
+
{
|
|
1343
|
+
[_hQ]: _aA,
|
|
1344
|
+
},
|
|
1345
|
+
],
|
|
1346
|
+
],
|
|
1347
|
+
];
|
|
1348
|
+
var GetAccessPreviewResponse = [3, n0, _GAPRe, 0, [_aP], [() => AccessPreview]];
|
|
1349
|
+
var GetAnalyzedResourceRequest = [
|
|
1350
|
+
3,
|
|
1351
|
+
n0,
|
|
1352
|
+
_GARR,
|
|
1353
|
+
0,
|
|
1354
|
+
[_aA, _rA],
|
|
1355
|
+
[
|
|
1356
|
+
[
|
|
1357
|
+
0,
|
|
1358
|
+
{
|
|
1359
|
+
[_hQ]: _aA,
|
|
1360
|
+
},
|
|
1361
|
+
],
|
|
1362
|
+
[
|
|
1363
|
+
0,
|
|
1364
|
+
{
|
|
1365
|
+
[_hQ]: _rA,
|
|
1366
|
+
},
|
|
1367
|
+
],
|
|
1368
|
+
],
|
|
1369
|
+
];
|
|
1370
|
+
var GetAnalyzedResourceResponse = [3, n0, _GARRe, 0, [_re], [() => AnalyzedResource]];
|
|
1371
|
+
var GetAnalyzerRequest = [3, n0, _GAR, 0, [_aN], [[0, 1]]];
|
|
1372
|
+
var GetAnalyzerResponse = [3, n0, _GARe, 0, [_an], [() => AnalyzerSummary]];
|
|
1373
|
+
var GetArchiveRuleRequest = [
|
|
1374
|
+
3,
|
|
1375
|
+
n0,
|
|
1376
|
+
_GARRet,
|
|
1377
|
+
0,
|
|
1378
|
+
[_aN, _rN],
|
|
1379
|
+
[
|
|
1380
|
+
[0, 1],
|
|
1381
|
+
[0, 1],
|
|
1382
|
+
],
|
|
1383
|
+
];
|
|
1384
|
+
var GetArchiveRuleResponse = [3, n0, _GARRetr, 0, [_aRrc], [() => ArchiveRuleSummary]];
|
|
1385
|
+
var GetFindingRecommendationRequest = [
|
|
1386
|
+
3,
|
|
1387
|
+
n0,
|
|
1388
|
+
_GFRRe,
|
|
1389
|
+
0,
|
|
1390
|
+
[_aA, _i, _mR, _nT],
|
|
1391
|
+
[
|
|
1392
|
+
[
|
|
1393
|
+
0,
|
|
1394
|
+
{
|
|
1395
|
+
[_hQ]: _aA,
|
|
1396
|
+
},
|
|
1397
|
+
],
|
|
1398
|
+
[0, 1],
|
|
1399
|
+
[
|
|
1400
|
+
1,
|
|
1401
|
+
{
|
|
1402
|
+
[_hQ]: _mR,
|
|
1403
|
+
},
|
|
1404
|
+
],
|
|
1405
|
+
[
|
|
1406
|
+
0,
|
|
1407
|
+
{
|
|
1408
|
+
[_hQ]: _nT,
|
|
1409
|
+
},
|
|
1410
|
+
],
|
|
1411
|
+
],
|
|
1412
|
+
];
|
|
1413
|
+
var GetFindingRecommendationResponse = [
|
|
1414
|
+
3,
|
|
1415
|
+
n0,
|
|
1416
|
+
_GFRRet,
|
|
1417
|
+
0,
|
|
1418
|
+
[_sA, _cAo, _nT, _e, _rA, _rS, _rTec, _s],
|
|
1419
|
+
[5, 5, 0, () => RecommendationError, 0, () => RecommendedStepList, 0, 0],
|
|
1420
|
+
];
|
|
1421
|
+
var GetFindingRequest = [
|
|
1422
|
+
3,
|
|
1423
|
+
n0,
|
|
1424
|
+
_GFR,
|
|
1425
|
+
0,
|
|
1426
|
+
[_aA, _i],
|
|
1427
|
+
[
|
|
1428
|
+
[
|
|
1429
|
+
0,
|
|
1430
|
+
{
|
|
1431
|
+
[_hQ]: _aA,
|
|
1432
|
+
},
|
|
1433
|
+
],
|
|
1434
|
+
[0, 1],
|
|
1435
|
+
],
|
|
1436
|
+
];
|
|
1437
|
+
var GetFindingResponse = [3, n0, _GFRe, 0, [_fi], [() => Finding]];
|
|
1438
|
+
var GetFindingsStatisticsRequest = [3, n0, _GFSR, 0, [_aA], [0]];
|
|
1439
|
+
var GetFindingsStatisticsResponse = [
|
|
1440
|
+
3,
|
|
1441
|
+
n0,
|
|
1442
|
+
_GFSRe,
|
|
1443
|
+
0,
|
|
1444
|
+
[_fS, _lUA],
|
|
1445
|
+
[() => FindingsStatisticsList, 5],
|
|
1446
|
+
];
|
|
1447
|
+
var GetFindingV2Request = [
|
|
1448
|
+
3,
|
|
1449
|
+
n0,
|
|
1450
|
+
_GFVR,
|
|
1451
|
+
0,
|
|
1452
|
+
[_aA, _i, _mR, _nT],
|
|
1453
|
+
[
|
|
1454
|
+
[
|
|
1455
|
+
0,
|
|
1456
|
+
{
|
|
1457
|
+
[_hQ]: _aA,
|
|
1458
|
+
},
|
|
1459
|
+
],
|
|
1460
|
+
[0, 1],
|
|
1461
|
+
[
|
|
1462
|
+
1,
|
|
1463
|
+
{
|
|
1464
|
+
[_hQ]: _mR,
|
|
1465
|
+
},
|
|
1466
|
+
],
|
|
1467
|
+
[
|
|
1468
|
+
0,
|
|
1469
|
+
{
|
|
1470
|
+
[_hQ]: _nT,
|
|
1471
|
+
},
|
|
1472
|
+
],
|
|
1473
|
+
],
|
|
1474
|
+
];
|
|
1475
|
+
var GetFindingV2Response = [
|
|
1476
|
+
3,
|
|
1477
|
+
n0,
|
|
1478
|
+
_GFVRe,
|
|
1479
|
+
0,
|
|
1480
|
+
[_aAn, _cA, _e, _i, _nT, _re, _rT, _rOA, _s, _uA, _fD, _fT],
|
|
1481
|
+
[5, 5, 0, 0, 0, 0, 0, 0, 0, 5, () => FindingDetailsList, 0],
|
|
1482
|
+
];
|
|
1483
|
+
var GetGeneratedPolicyRequest = [
|
|
1484
|
+
3,
|
|
1485
|
+
n0,
|
|
1486
|
+
_GGPR,
|
|
1487
|
+
0,
|
|
1488
|
+
[_jI, _iRP, _iSLT],
|
|
1489
|
+
[
|
|
1490
|
+
[0, 1],
|
|
1491
|
+
[
|
|
1492
|
+
2,
|
|
1493
|
+
{
|
|
1494
|
+
[_hQ]: _iRP,
|
|
1495
|
+
},
|
|
1496
|
+
],
|
|
1497
|
+
[
|
|
1498
|
+
2,
|
|
1499
|
+
{
|
|
1500
|
+
[_hQ]: _iSLT,
|
|
1501
|
+
},
|
|
1502
|
+
],
|
|
1503
|
+
],
|
|
1504
|
+
];
|
|
1505
|
+
var GetGeneratedPolicyResponse = [
|
|
1506
|
+
3,
|
|
1507
|
+
n0,
|
|
1508
|
+
_GGPRe,
|
|
1509
|
+
0,
|
|
1510
|
+
[_jD, _gPR],
|
|
1511
|
+
[() => JobDetails, () => GeneratedPolicyResult],
|
|
1512
|
+
];
|
|
1513
|
+
var IamRoleConfiguration = [3, n0, _IRC, 0, [_tPr], [0]];
|
|
1514
|
+
var InlineArchiveRule = [3, n0, _IAR, 0, [_rN, _f], [0, () => FilterCriteriaMap]];
|
|
1515
|
+
var InternalAccessAnalysisRule = [
|
|
1516
|
+
3,
|
|
1517
|
+
n0,
|
|
1518
|
+
_IAAR,
|
|
1519
|
+
0,
|
|
1520
|
+
[_in],
|
|
1521
|
+
[() => InternalAccessAnalysisRuleCriteriaList],
|
|
1522
|
+
];
|
|
1523
|
+
var InternalAccessAnalysisRuleCriteria = [
|
|
1524
|
+
3,
|
|
1525
|
+
n0,
|
|
1526
|
+
_IAARC,
|
|
1527
|
+
0,
|
|
1528
|
+
[_aI, _rTes, _rAe],
|
|
1529
|
+
[64 | 0, 64 | 0, 64 | 0],
|
|
1530
|
+
];
|
|
1531
|
+
var InternalAccessConfiguration = [
|
|
1532
|
+
3,
|
|
1533
|
+
n0,
|
|
1534
|
+
_IAC,
|
|
1535
|
+
0,
|
|
1536
|
+
[_aRn],
|
|
1537
|
+
[() => InternalAccessAnalysisRule],
|
|
1538
|
+
];
|
|
1539
|
+
var InternalAccessDetails = [
|
|
1540
|
+
3,
|
|
1541
|
+
n0,
|
|
1542
|
+
_IAD,
|
|
1543
|
+
0,
|
|
1544
|
+
[_ac, _con, _p, _pOA, _aT, _pTr, _so, _rCPR, _sCPR],
|
|
1545
|
+
[64 | 0, 128 | 0, 128 | 0, 0, 0, 0, () => FindingSourceList, 0, 0],
|
|
1546
|
+
];
|
|
1547
|
+
var InternalAccessFindingsStatistics = [
|
|
1548
|
+
3,
|
|
1549
|
+
n0,
|
|
1550
|
+
_IAFS,
|
|
1551
|
+
0,
|
|
1552
|
+
[_rTS, _tAF, _tAFo, _tRF],
|
|
1553
|
+
[() => InternalAccessResourceTypeStatisticsMap, 1, 1, 1],
|
|
1554
|
+
];
|
|
1555
|
+
var InternalAccessResourceTypeDetails = [
|
|
1556
|
+
3,
|
|
1557
|
+
n0,
|
|
1558
|
+
_IARTD,
|
|
1559
|
+
0,
|
|
1560
|
+
[_tAF, _tRF, _tAFo],
|
|
1561
|
+
[1, 1, 1],
|
|
1562
|
+
];
|
|
1563
|
+
var InternalServerException = [
|
|
1564
|
+
-3,
|
|
1565
|
+
n0,
|
|
1566
|
+
_ISE,
|
|
1567
|
+
{
|
|
1568
|
+
[_e]: _se,
|
|
1569
|
+
[_hE]: 500,
|
|
1570
|
+
},
|
|
1571
|
+
[_m, _rAS],
|
|
1572
|
+
[
|
|
1573
|
+
0,
|
|
1574
|
+
[
|
|
1575
|
+
1,
|
|
1576
|
+
{
|
|
1577
|
+
[_hH]: _RA,
|
|
1578
|
+
},
|
|
1579
|
+
],
|
|
1580
|
+
],
|
|
1581
|
+
];
|
|
1582
|
+
schema.TypeRegistry.for(n0).registerError(InternalServerException, InternalServerException$1);
|
|
1583
|
+
var InternetConfiguration = [3, n0, _IC, 0, [], []];
|
|
1584
|
+
var InvalidParameterException = [
|
|
1585
|
+
-3,
|
|
1586
|
+
n0,
|
|
1587
|
+
_IPE,
|
|
1588
|
+
{
|
|
1589
|
+
[_e]: _c,
|
|
1590
|
+
[_hE]: 400,
|
|
1591
|
+
},
|
|
1592
|
+
[_m],
|
|
1593
|
+
[0],
|
|
1594
|
+
];
|
|
1595
|
+
schema.TypeRegistry.for(n0).registerError(InvalidParameterException, InvalidParameterException$1);
|
|
1596
|
+
var JobDetails = [3, n0, _JD, 0, [_jI, _s, _sO, _cO, _jE], [0, 0, 5, 5, () => JobError]];
|
|
1597
|
+
var JobError = [3, n0, _JE, 0, [_cod, _m], [0, 0]];
|
|
1598
|
+
var KmsGrantConfiguration = [
|
|
1599
|
+
3,
|
|
1600
|
+
n0,
|
|
1601
|
+
_KGC,
|
|
1602
|
+
0,
|
|
1603
|
+
[_o, _gPr, _rPe, _cons, _iA],
|
|
1604
|
+
[64 | 0, 0, 0, () => KmsGrantConstraints, 0],
|
|
1605
|
+
];
|
|
1606
|
+
var KmsGrantConstraints = [3, n0, _KGCm, 0, [_eCE, _eCS], [128 | 0, 128 | 0]];
|
|
1607
|
+
var KmsKeyConfiguration = [
|
|
1608
|
+
3,
|
|
1609
|
+
n0,
|
|
1610
|
+
_KKC,
|
|
1611
|
+
0,
|
|
1612
|
+
[_kP, _gr],
|
|
1613
|
+
[128 | 0, () => KmsGrantConfigurationsList],
|
|
1614
|
+
];
|
|
1615
|
+
var ListAccessPreviewFindingsRequest = [
|
|
1616
|
+
3,
|
|
1617
|
+
n0,
|
|
1618
|
+
_LAPFR,
|
|
1619
|
+
0,
|
|
1620
|
+
[_aPI, _aA, _f, _nT, _mR],
|
|
1621
|
+
[[0, 1], 0, () => FilterCriteriaMap, 0, 1],
|
|
1622
|
+
];
|
|
1623
|
+
var ListAccessPreviewFindingsResponse = [
|
|
1624
|
+
3,
|
|
1625
|
+
n0,
|
|
1626
|
+
_LAPFRi,
|
|
1627
|
+
0,
|
|
1628
|
+
[_fin, _nT],
|
|
1629
|
+
[() => AccessPreviewFindingsList, 0],
|
|
1630
|
+
];
|
|
1631
|
+
var ListAccessPreviewsRequest = [
|
|
1632
|
+
3,
|
|
1633
|
+
n0,
|
|
1634
|
+
_LAPR,
|
|
1635
|
+
0,
|
|
1636
|
+
[_aA, _nT, _mR],
|
|
1637
|
+
[
|
|
1638
|
+
[
|
|
1639
|
+
0,
|
|
1640
|
+
{
|
|
1641
|
+
[_hQ]: _aA,
|
|
1642
|
+
},
|
|
1643
|
+
],
|
|
1644
|
+
[
|
|
1645
|
+
0,
|
|
1646
|
+
{
|
|
1647
|
+
[_hQ]: _nT,
|
|
1648
|
+
},
|
|
1649
|
+
],
|
|
1650
|
+
[
|
|
1651
|
+
1,
|
|
1652
|
+
{
|
|
1653
|
+
[_hQ]: _mR,
|
|
1654
|
+
},
|
|
1655
|
+
],
|
|
1656
|
+
],
|
|
1657
|
+
];
|
|
1658
|
+
var ListAccessPreviewsResponse = [
|
|
1659
|
+
3,
|
|
1660
|
+
n0,
|
|
1661
|
+
_LAPRi,
|
|
1662
|
+
0,
|
|
1663
|
+
[_aPc, _nT],
|
|
1664
|
+
[() => AccessPreviewsList, 0],
|
|
1665
|
+
];
|
|
1666
|
+
var ListAnalyzedResourcesRequest = [3, n0, _LARR, 0, [_aA, _rT, _nT, _mR], [0, 0, 0, 1]];
|
|
1667
|
+
var ListAnalyzedResourcesResponse = [
|
|
1668
|
+
3,
|
|
1669
|
+
n0,
|
|
1670
|
+
_LARRi,
|
|
1671
|
+
0,
|
|
1672
|
+
[_aRna, _nT],
|
|
1673
|
+
[() => AnalyzedResourcesList, 0],
|
|
1674
|
+
];
|
|
1675
|
+
var ListAnalyzersRequest = [
|
|
1676
|
+
3,
|
|
1677
|
+
n0,
|
|
1678
|
+
_LAR,
|
|
1679
|
+
0,
|
|
1680
|
+
[_nT, _mR, _t],
|
|
1681
|
+
[
|
|
1682
|
+
[
|
|
1683
|
+
0,
|
|
1684
|
+
{
|
|
1685
|
+
[_hQ]: _nT,
|
|
1686
|
+
},
|
|
1687
|
+
],
|
|
1688
|
+
[
|
|
1689
|
+
1,
|
|
1690
|
+
{
|
|
1691
|
+
[_hQ]: _mR,
|
|
1692
|
+
},
|
|
1693
|
+
],
|
|
1694
|
+
[
|
|
1695
|
+
0,
|
|
1696
|
+
{
|
|
1697
|
+
[_hQ]: _t,
|
|
1698
|
+
},
|
|
1699
|
+
],
|
|
1700
|
+
],
|
|
1701
|
+
];
|
|
1702
|
+
var ListAnalyzersResponse = [3, n0, _LARi, 0, [_ana, _nT], [() => AnalyzersList, 0]];
|
|
1703
|
+
var ListArchiveRulesRequest = [
|
|
1704
|
+
3,
|
|
1705
|
+
n0,
|
|
1706
|
+
_LARRis,
|
|
1707
|
+
0,
|
|
1708
|
+
[_aN, _nT, _mR],
|
|
1709
|
+
[
|
|
1710
|
+
[0, 1],
|
|
1711
|
+
[
|
|
1712
|
+
0,
|
|
1713
|
+
{
|
|
1714
|
+
[_hQ]: _nT,
|
|
1715
|
+
},
|
|
1716
|
+
],
|
|
1717
|
+
[
|
|
1718
|
+
1,
|
|
1719
|
+
{
|
|
1720
|
+
[_hQ]: _mR,
|
|
1721
|
+
},
|
|
1722
|
+
],
|
|
1723
|
+
],
|
|
1724
|
+
];
|
|
1725
|
+
var ListArchiveRulesResponse = [
|
|
1726
|
+
3,
|
|
1727
|
+
n0,
|
|
1728
|
+
_LARRist,
|
|
1729
|
+
0,
|
|
1730
|
+
[_aRr, _nT],
|
|
1731
|
+
[() => ArchiveRulesList, 0],
|
|
1732
|
+
];
|
|
1733
|
+
var ListFindingsRequest = [
|
|
1734
|
+
3,
|
|
1735
|
+
n0,
|
|
1736
|
+
_LFR,
|
|
1737
|
+
0,
|
|
1738
|
+
[_aA, _f, _sor, _nT, _mR],
|
|
1739
|
+
[0, () => FilterCriteriaMap, () => SortCriteria, 0, 1],
|
|
1740
|
+
];
|
|
1741
|
+
var ListFindingsResponse = [3, n0, _LFRi, 0, [_fin, _nT], [() => FindingsList, 0]];
|
|
1742
|
+
var ListFindingsV2Request = [
|
|
1743
|
+
3,
|
|
1744
|
+
n0,
|
|
1745
|
+
_LFVR,
|
|
1746
|
+
0,
|
|
1747
|
+
[_aA, _f, _mR, _nT, _sor],
|
|
1748
|
+
[0, () => FilterCriteriaMap, 1, 0, () => SortCriteria],
|
|
1749
|
+
];
|
|
1750
|
+
var ListFindingsV2Response = [3, n0, _LFVRi, 0, [_fin, _nT], [() => FindingsListV2, 0]];
|
|
1751
|
+
var ListPolicyGenerationsRequest = [
|
|
1752
|
+
3,
|
|
1753
|
+
n0,
|
|
1754
|
+
_LPGR,
|
|
1755
|
+
0,
|
|
1756
|
+
[_pA, _mR, _nT],
|
|
1757
|
+
[
|
|
1758
|
+
[
|
|
1759
|
+
0,
|
|
1760
|
+
{
|
|
1761
|
+
[_hQ]: _pA,
|
|
1762
|
+
},
|
|
1763
|
+
],
|
|
1764
|
+
[
|
|
1765
|
+
1,
|
|
1766
|
+
{
|
|
1767
|
+
[_hQ]: _mR,
|
|
1768
|
+
},
|
|
1769
|
+
],
|
|
1770
|
+
[
|
|
1771
|
+
0,
|
|
1772
|
+
{
|
|
1773
|
+
[_hQ]: _nT,
|
|
1774
|
+
},
|
|
1775
|
+
],
|
|
1776
|
+
],
|
|
1777
|
+
];
|
|
1778
|
+
var ListPolicyGenerationsResponse = [
|
|
1779
|
+
3,
|
|
1780
|
+
n0,
|
|
1781
|
+
_LPGRi,
|
|
1782
|
+
0,
|
|
1783
|
+
[_pG, _nT],
|
|
1784
|
+
[() => PolicyGenerationList, 0],
|
|
1785
|
+
];
|
|
1786
|
+
var ListTagsForResourceRequest = [3, n0, _LTFRR, 0, [_rA], [[0, 1]]];
|
|
1787
|
+
var ListTagsForResourceResponse = [3, n0, _LTFRRi, 0, [_ta], [128 | 0]];
|
|
1788
|
+
var Location = [3, n0, _L, 0, [_pa, _sp], [() => PathElementList, () => Span]];
|
|
1789
|
+
var PolicyGeneration = [3, n0, _PG, 0, [_jI, _pA, _s, _sO, _cO], [0, 0, 0, 5, 5]];
|
|
1790
|
+
var PolicyGenerationDetails = [3, n0, _PGD, 0, [_pA], [0]];
|
|
1791
|
+
var Position = [3, n0, _P, 0, [_l, _col, _of], [1, 1, 1]];
|
|
1792
|
+
var RdsDbClusterSnapshotConfiguration = [
|
|
1793
|
+
3,
|
|
1794
|
+
n0,
|
|
1795
|
+
_RDCSC,
|
|
1796
|
+
0,
|
|
1797
|
+
[_at, _kKI],
|
|
1798
|
+
[() => RdsDbClusterSnapshotAttributesMap, 0],
|
|
1799
|
+
];
|
|
1800
|
+
var RdsDbSnapshotConfiguration = [
|
|
1801
|
+
3,
|
|
1802
|
+
n0,
|
|
1803
|
+
_RDSC,
|
|
1804
|
+
0,
|
|
1805
|
+
[_at, _kKI],
|
|
1806
|
+
[() => RdsDbSnapshotAttributesMap, 0],
|
|
1807
|
+
];
|
|
1808
|
+
var ReasonSummary = [3, n0, _RS, 0, [_des, _sI, _sIt], [0, 1, 0]];
|
|
1809
|
+
var RecommendationError = [3, n0, _RE, 0, [_cod, _m], [0, 0]];
|
|
1810
|
+
var ResourceNotFoundException = [
|
|
1811
|
+
-3,
|
|
1812
|
+
n0,
|
|
1813
|
+
_RNFE,
|
|
1814
|
+
{
|
|
1815
|
+
[_e]: _c,
|
|
1816
|
+
[_hE]: 404,
|
|
1817
|
+
},
|
|
1818
|
+
[_m, _rI, _rT],
|
|
1819
|
+
[0, 0, 0],
|
|
1820
|
+
];
|
|
1821
|
+
schema.TypeRegistry.for(n0).registerError(ResourceNotFoundException, ResourceNotFoundException$1);
|
|
1822
|
+
var ResourceTypeDetails = [3, n0, _RTD, 0, [_tAP, _tACA, _tAE], [1, 1, 1]];
|
|
1823
|
+
var S3AccessPointConfiguration = [
|
|
1824
|
+
3,
|
|
1825
|
+
n0,
|
|
1826
|
+
_SAPC,
|
|
1827
|
+
0,
|
|
1828
|
+
[_aPP, _pAB, _nO],
|
|
1829
|
+
[0, () => S3PublicAccessBlockConfiguration, () => NetworkOriginConfiguration],
|
|
1830
|
+
];
|
|
1831
|
+
var S3BucketAclGrantConfiguration = [
|
|
1832
|
+
3,
|
|
1833
|
+
n0,
|
|
1834
|
+
_SBAGC,
|
|
1835
|
+
0,
|
|
1836
|
+
[_pe, _gra],
|
|
1837
|
+
[0, () => AclGrantee],
|
|
1838
|
+
];
|
|
1839
|
+
var S3BucketConfiguration = [
|
|
1840
|
+
3,
|
|
1841
|
+
n0,
|
|
1842
|
+
_SBC,
|
|
1843
|
+
0,
|
|
1844
|
+
[_bP, _bAG, _bPAB, _aPcc],
|
|
1845
|
+
[
|
|
1846
|
+
0,
|
|
1847
|
+
() => S3BucketAclGrantConfigurationsList,
|
|
1848
|
+
() => S3PublicAccessBlockConfiguration,
|
|
1849
|
+
() => S3AccessPointConfigurationsMap,
|
|
1850
|
+
],
|
|
1851
|
+
];
|
|
1852
|
+
var S3ExpressDirectoryAccessPointConfiguration = [
|
|
1853
|
+
3,
|
|
1854
|
+
n0,
|
|
1855
|
+
_SEDAPC,
|
|
1856
|
+
0,
|
|
1857
|
+
[_aPP, _nO],
|
|
1858
|
+
[0, () => NetworkOriginConfiguration],
|
|
1859
|
+
];
|
|
1860
|
+
var S3ExpressDirectoryBucketConfiguration = [
|
|
1861
|
+
3,
|
|
1862
|
+
n0,
|
|
1863
|
+
_SEDBC,
|
|
1864
|
+
0,
|
|
1865
|
+
[_bP, _aPcc],
|
|
1866
|
+
[0, () => S3ExpressDirectoryAccessPointConfigurationsMap],
|
|
1867
|
+
];
|
|
1868
|
+
var S3PublicAccessBlockConfiguration = [3, n0, _SPABC, 0, [_iPA, _rPB], [2, 2]];
|
|
1869
|
+
var SecretsManagerSecretConfiguration = [3, n0, _SMSC, 0, [_kKI, _sPe], [0, 0]];
|
|
1870
|
+
var ServiceQuotaExceededException = [
|
|
1871
|
+
-3,
|
|
1872
|
+
n0,
|
|
1873
|
+
_SQEE,
|
|
1874
|
+
{
|
|
1875
|
+
[_e]: _c,
|
|
1876
|
+
[_hE]: 402,
|
|
1877
|
+
},
|
|
1878
|
+
[_m, _rI, _rT],
|
|
1879
|
+
[0, 0, 0],
|
|
1880
|
+
];
|
|
1881
|
+
schema.TypeRegistry.for(n0).registerError(ServiceQuotaExceededException, ServiceQuotaExceededException$1);
|
|
1882
|
+
var SnsTopicConfiguration = [3, n0, _STC, 0, [_tPo], [0]];
|
|
1883
|
+
var SortCriteria = [3, n0, _SC, 0, [_aNt, _oB], [0, 0]];
|
|
1884
|
+
var Span = [3, n0, _S, 0, [_st, _en], [() => Position, () => Position]];
|
|
1885
|
+
var SqsQueueConfiguration = [3, n0, _SQC, 0, [_qP], [0]];
|
|
1886
|
+
var StartPolicyGenerationRequest = [
|
|
1887
|
+
3,
|
|
1888
|
+
n0,
|
|
1889
|
+
_SPGR,
|
|
1890
|
+
0,
|
|
1891
|
+
[_pGD, _cTD, _cTl],
|
|
1892
|
+
[() => PolicyGenerationDetails, () => CloudTrailDetails, [0, 4]],
|
|
1893
|
+
];
|
|
1894
|
+
var StartPolicyGenerationResponse = [3, n0, _SPGRt, 0, [_jI], [0]];
|
|
1895
|
+
var StartResourceScanRequest = [3, n0, _SRSR, 0, [_aA, _rA, _rOA], [0, 0, 0]];
|
|
1896
|
+
var StatusReason = [3, n0, _SR, 0, [_cod], [0]];
|
|
1897
|
+
var Substring = [3, n0, _Su, 0, [_st, _le], [1, 1]];
|
|
1898
|
+
var TagResourceRequest = [3, n0, _TRR, 0, [_rA, _ta], [[0, 1], 128 | 0]];
|
|
1899
|
+
var TagResourceResponse = [3, n0, _TRRa, 0, [], []];
|
|
1900
|
+
var ThrottlingException = [
|
|
1901
|
+
-3,
|
|
1902
|
+
n0,
|
|
1903
|
+
_TE,
|
|
1904
|
+
{
|
|
1905
|
+
[_e]: _c,
|
|
1906
|
+
[_hE]: 429,
|
|
1907
|
+
},
|
|
1908
|
+
[_m, _rAS],
|
|
1909
|
+
[
|
|
1910
|
+
0,
|
|
1911
|
+
[
|
|
1912
|
+
1,
|
|
1913
|
+
{
|
|
1914
|
+
[_hH]: _RA,
|
|
1915
|
+
},
|
|
1916
|
+
],
|
|
1917
|
+
],
|
|
1918
|
+
];
|
|
1919
|
+
schema.TypeRegistry.for(n0).registerError(ThrottlingException, ThrottlingException$1);
|
|
1920
|
+
var Trail = [3, n0, _T, 0, [_cTA, _reg, _aRl], [0, 64 | 0, 2]];
|
|
1921
|
+
var TrailProperties = [3, n0, _TP, 0, [_cTA, _reg, _aRl], [0, 64 | 0, 2]];
|
|
1922
|
+
var UnprocessableEntityException = [
|
|
1923
|
+
-3,
|
|
1924
|
+
n0,
|
|
1925
|
+
_UEE,
|
|
1926
|
+
{
|
|
1927
|
+
[_e]: _c,
|
|
1928
|
+
[_hE]: 422,
|
|
1929
|
+
},
|
|
1930
|
+
[_m],
|
|
1931
|
+
[0],
|
|
1932
|
+
];
|
|
1933
|
+
schema.TypeRegistry.for(n0).registerError(UnprocessableEntityException, UnprocessableEntityException$1);
|
|
1934
|
+
var UntagResourceRequest = [
|
|
1935
|
+
3,
|
|
1936
|
+
n0,
|
|
1937
|
+
_URR,
|
|
1938
|
+
0,
|
|
1939
|
+
[_rA, _tK],
|
|
1940
|
+
[
|
|
1941
|
+
[0, 1],
|
|
1942
|
+
[
|
|
1943
|
+
64 | 0,
|
|
1944
|
+
{
|
|
1945
|
+
[_hQ]: _tK,
|
|
1946
|
+
},
|
|
1947
|
+
],
|
|
1948
|
+
],
|
|
1949
|
+
];
|
|
1950
|
+
var UntagResourceResponse = [3, n0, _URRn, 0, [], []];
|
|
1951
|
+
var UnusedAccessConfiguration = [3, n0, _UAC, 0, [_uAA, _aRn], [1, () => AnalysisRule]];
|
|
1952
|
+
var UnusedAccessFindingsStatistics = [
|
|
1953
|
+
3,
|
|
1954
|
+
n0,
|
|
1955
|
+
_UAFS,
|
|
1956
|
+
0,
|
|
1957
|
+
[_uATS, _tA, _tAF, _tAFo, _tRF],
|
|
1958
|
+
[() => UnusedAccessTypeStatisticsList, () => AccountAggregations, 1, 1, 1],
|
|
1959
|
+
];
|
|
1960
|
+
var UnusedAccessTypeStatistics = [3, n0, _UATS, 0, [_uAT, _to], [0, 1]];
|
|
1961
|
+
var UnusedAction = [3, n0, _UA, 0, [_ac, _lA], [0, 5]];
|
|
1962
|
+
var UnusedIamRoleDetails = [3, n0, _UIRD, 0, [_lA], [5]];
|
|
1963
|
+
var UnusedIamUserAccessKeyDetails = [3, n0, _UIUAKD, 0, [_aKI, _lA], [0, 5]];
|
|
1964
|
+
var UnusedIamUserPasswordDetails = [3, n0, _UIUPD, 0, [_lA], [5]];
|
|
1965
|
+
var UnusedPermissionDetails = [
|
|
1966
|
+
3,
|
|
1967
|
+
n0,
|
|
1968
|
+
_UPD,
|
|
1969
|
+
0,
|
|
1970
|
+
[_a, _sN, _lA],
|
|
1971
|
+
[() => UnusedActionList, 0, 5],
|
|
1972
|
+
];
|
|
1973
|
+
var UnusedPermissionsRecommendedStep = [
|
|
1974
|
+
3,
|
|
1975
|
+
n0,
|
|
1976
|
+
_UPRS,
|
|
1977
|
+
0,
|
|
1978
|
+
[_pUA, _rAec, _rPec, _ePI],
|
|
1979
|
+
[5, 0, 0, 0],
|
|
1980
|
+
];
|
|
1981
|
+
var UpdateAnalyzerRequest = [
|
|
1982
|
+
3,
|
|
1983
|
+
n0,
|
|
1984
|
+
_UAR,
|
|
1985
|
+
0,
|
|
1986
|
+
[_aN, _conf],
|
|
1987
|
+
[[0, 1], () => AnalyzerConfiguration],
|
|
1988
|
+
];
|
|
1989
|
+
var UpdateAnalyzerResponse = [3, n0, _UARp, 0, [_conf], [() => AnalyzerConfiguration]];
|
|
1990
|
+
var UpdateArchiveRuleRequest = [
|
|
1991
|
+
3,
|
|
1992
|
+
n0,
|
|
1993
|
+
_UARR,
|
|
1994
|
+
0,
|
|
1995
|
+
[_aN, _rN, _f, _cTl],
|
|
1996
|
+
[[0, 1], [0, 1], () => FilterCriteriaMap, [0, 4]],
|
|
1997
|
+
];
|
|
1998
|
+
var UpdateFindingsRequest = [
|
|
1999
|
+
3,
|
|
2000
|
+
n0,
|
|
2001
|
+
_UFR,
|
|
2002
|
+
0,
|
|
2003
|
+
[_aA, _s, _id, _rA, _cTl],
|
|
2004
|
+
[0, 0, 64 | 0, 0, [0, 4]],
|
|
2005
|
+
];
|
|
2006
|
+
var ValidatePolicyFinding = [
|
|
2007
|
+
3,
|
|
2008
|
+
n0,
|
|
2009
|
+
_VPF,
|
|
2010
|
+
0,
|
|
2011
|
+
[_fD, _fT, _iCs, _lML, _lo],
|
|
2012
|
+
[0, 0, 0, 0, () => LocationList],
|
|
2013
|
+
];
|
|
2014
|
+
var ValidatePolicyRequest = [
|
|
2015
|
+
3,
|
|
2016
|
+
n0,
|
|
2017
|
+
_VPR,
|
|
2018
|
+
0,
|
|
2019
|
+
[_loc, _mR, _nT, _pD, _pT, _vPRT],
|
|
2020
|
+
[
|
|
2021
|
+
0,
|
|
2022
|
+
[
|
|
2023
|
+
1,
|
|
2024
|
+
{
|
|
2025
|
+
[_hQ]: _mR,
|
|
2026
|
+
},
|
|
2027
|
+
],
|
|
2028
|
+
[
|
|
2029
|
+
0,
|
|
2030
|
+
{
|
|
2031
|
+
[_hQ]: _nT,
|
|
2032
|
+
},
|
|
2033
|
+
],
|
|
2034
|
+
0,
|
|
2035
|
+
0,
|
|
2036
|
+
0,
|
|
2037
|
+
],
|
|
2038
|
+
];
|
|
2039
|
+
var ValidatePolicyResponse = [
|
|
2040
|
+
3,
|
|
2041
|
+
n0,
|
|
2042
|
+
_VPRa,
|
|
2043
|
+
0,
|
|
2044
|
+
[_fin, _nT],
|
|
2045
|
+
[() => ValidatePolicyFindingList, 0],
|
|
2046
|
+
];
|
|
2047
|
+
var ValidationException = [
|
|
2048
|
+
-3,
|
|
2049
|
+
n0,
|
|
2050
|
+
_VE,
|
|
2051
|
+
{
|
|
2052
|
+
[_e]: _c,
|
|
2053
|
+
[_hE]: 400,
|
|
2054
|
+
},
|
|
2055
|
+
[_m, _reas, _fL],
|
|
2056
|
+
[0, 0, () => ValidationExceptionFieldList],
|
|
2057
|
+
];
|
|
2058
|
+
schema.TypeRegistry.for(n0).registerError(ValidationException, ValidationException$1);
|
|
2059
|
+
var ValidationExceptionField = [3, n0, _VEF, 0, [_n, _m], [0, 0]];
|
|
2060
|
+
var VpcConfiguration = [3, n0, _VC, 0, [_vI], [0]];
|
|
2061
|
+
var __Unit = "unit";
|
|
2062
|
+
var AccessAnalyzerServiceException = [-3, _sm, "AccessAnalyzerServiceException", 0, [], []];
|
|
2063
|
+
schema.TypeRegistry.for(_sm).registerError(AccessAnalyzerServiceException, AccessAnalyzerServiceException$1);
|
|
2064
|
+
var AccessList = [1, n0, _AL, 0, () => Access];
|
|
2065
|
+
var AccessPreviewFindingsList = [1, n0, _APFL, 0, () => AccessPreviewFinding];
|
|
2066
|
+
var AccessPreviewsList = [1, n0, _APL, 0, () => AccessPreviewSummary];
|
|
2067
|
+
var AccountAggregations = [1, n0, _AA, 0, () => FindingAggregationAccountDetails];
|
|
2068
|
+
var AnalysisRuleCriteriaList = [1, n0, _ARCL, 0, () => AnalysisRuleCriteria];
|
|
2069
|
+
var AnalyzedResourcesList = [1, n0, _ARL, 0, () => AnalyzedResourceSummary];
|
|
2070
|
+
var AnalyzersList = [1, n0, _ALn, 0, () => AnalyzerSummary];
|
|
2071
|
+
var ArchiveRulesList = [1, n0, _ARLr, 0, () => ArchiveRuleSummary];
|
|
2072
|
+
var FindingDetailsList = [1, n0, _FDL, 0, () => FindingDetails];
|
|
2073
|
+
var FindingsList = [1, n0, _FL, 0, () => FindingSummary];
|
|
2074
|
+
var FindingsListV2 = [1, n0, _FLV, 0, () => FindingSummaryV2];
|
|
2075
|
+
var FindingSourceList = [1, n0, _FSL, 0, () => FindingSource];
|
|
2076
|
+
var FindingsStatisticsList = [1, n0, _FSLi, 0, () => FindingsStatistics];
|
|
2077
|
+
var GeneratedPolicyList = [1, n0, _GPL, 0, () => GeneratedPolicy];
|
|
2078
|
+
var InlineArchiveRulesList = [1, n0, _IARL, 0, () => InlineArchiveRule];
|
|
2079
|
+
var InternalAccessAnalysisRuleCriteriaList = [
|
|
2080
|
+
1,
|
|
2081
|
+
n0,
|
|
2082
|
+
_IAARCL,
|
|
2083
|
+
0,
|
|
2084
|
+
() => InternalAccessAnalysisRuleCriteria,
|
|
2085
|
+
];
|
|
2086
|
+
var KmsGrantConfigurationsList = [1, n0, _KGCL, 0, () => KmsGrantConfiguration];
|
|
2087
|
+
var LocationList = [1, n0, _LL, 0, () => Location];
|
|
2088
|
+
var PathElementList = [1, n0, _PEL, 0, () => PathElement];
|
|
2089
|
+
var PolicyGenerationList = [1, n0, _PGL, 0, () => PolicyGeneration];
|
|
2090
|
+
var ReasonSummaryList = [1, n0, _RSL, 0, () => ReasonSummary];
|
|
2091
|
+
var RecommendedStepList = [1, n0, _RSLe, 0, () => RecommendedStep];
|
|
2092
|
+
var S3BucketAclGrantConfigurationsList = [
|
|
2093
|
+
1,
|
|
2094
|
+
n0,
|
|
2095
|
+
_SBAGCL,
|
|
2096
|
+
0,
|
|
2097
|
+
() => S3BucketAclGrantConfiguration,
|
|
2098
|
+
];
|
|
2099
|
+
var TrailList = [1, n0, _TLr, 0, () => Trail];
|
|
2100
|
+
var TrailPropertiesList = [1, n0, _TPL, 0, () => TrailProperties];
|
|
2101
|
+
var UnusedAccessTypeStatisticsList = [1, n0, _UATSL, 0, () => UnusedAccessTypeStatistics];
|
|
2102
|
+
var UnusedActionList = [1, n0, _UAL, 0, () => UnusedAction];
|
|
2103
|
+
var ValidatePolicyFindingList = [1, n0, _VPFL, 0, () => ValidatePolicyFinding];
|
|
2104
|
+
var ValidationExceptionFieldList = [1, n0, _VEFL, 0, () => ValidationExceptionField];
|
|
2105
|
+
var ConfigurationsMap = [2, n0, _CM, 0, 0, () => Configuration];
|
|
2106
|
+
var FilterCriteriaMap = [2, n0, _FCM, 0, 0, () => Criterion];
|
|
2107
|
+
var InternalAccessResourceTypeStatisticsMap = [
|
|
2108
|
+
2,
|
|
2109
|
+
n0,
|
|
2110
|
+
_IARTSM,
|
|
2111
|
+
0,
|
|
2112
|
+
0,
|
|
2113
|
+
() => InternalAccessResourceTypeDetails,
|
|
2114
|
+
];
|
|
2115
|
+
var RdsDbClusterSnapshotAttributesMap = [
|
|
2116
|
+
2,
|
|
2117
|
+
n0,
|
|
2118
|
+
_RDCSAM,
|
|
2119
|
+
0,
|
|
2120
|
+
0,
|
|
2121
|
+
() => RdsDbClusterSnapshotAttributeValue,
|
|
2122
|
+
];
|
|
2123
|
+
var RdsDbSnapshotAttributesMap = [2, n0, _RDSAM, 0, 0, () => RdsDbSnapshotAttributeValue];
|
|
2124
|
+
var ResourceTypeStatisticsMap = [2, n0, _RTSM, 0, 0, () => ResourceTypeDetails];
|
|
2125
|
+
var S3AccessPointConfigurationsMap = [2, n0, _SAPCM, 0, 0, () => S3AccessPointConfiguration];
|
|
2126
|
+
var S3ExpressDirectoryAccessPointConfigurationsMap = [
|
|
2127
|
+
2,
|
|
2128
|
+
n0,
|
|
2129
|
+
_SEDAPCM,
|
|
2130
|
+
0,
|
|
2131
|
+
0,
|
|
2132
|
+
() => S3ExpressDirectoryAccessPointConfiguration,
|
|
2133
|
+
];
|
|
2134
|
+
var AclGrantee = [3, n0, _AG, 0, [_i, _u], [0, 0]];
|
|
2135
|
+
var AnalyzerConfiguration = [
|
|
2136
|
+
3,
|
|
2137
|
+
n0,
|
|
2138
|
+
_AC,
|
|
2139
|
+
0,
|
|
2140
|
+
[_uAn, _iAn],
|
|
2141
|
+
[() => UnusedAccessConfiguration, () => InternalAccessConfiguration],
|
|
2142
|
+
];
|
|
2143
|
+
var Configuration = [
|
|
2144
|
+
3,
|
|
2145
|
+
n0,
|
|
2146
|
+
_Co,
|
|
2147
|
+
0,
|
|
2148
|
+
[_eS, _eR, _iR, _eFSf, _kK, _rDCS, _rDS, _sMS, _sB, _sTn, _sQ, _sEDB, _dS, _dT],
|
|
2149
|
+
[
|
|
2150
|
+
() => EbsSnapshotConfiguration,
|
|
2151
|
+
() => EcrRepositoryConfiguration,
|
|
2152
|
+
() => IamRoleConfiguration,
|
|
2153
|
+
() => EfsFileSystemConfiguration,
|
|
2154
|
+
() => KmsKeyConfiguration,
|
|
2155
|
+
() => RdsDbClusterSnapshotConfiguration,
|
|
2156
|
+
() => RdsDbSnapshotConfiguration,
|
|
2157
|
+
() => SecretsManagerSecretConfiguration,
|
|
2158
|
+
() => S3BucketConfiguration,
|
|
2159
|
+
() => SnsTopicConfiguration,
|
|
2160
|
+
() => SqsQueueConfiguration,
|
|
2161
|
+
() => S3ExpressDirectoryBucketConfiguration,
|
|
2162
|
+
() => DynamodbStreamConfiguration,
|
|
2163
|
+
() => DynamodbTableConfiguration,
|
|
2164
|
+
],
|
|
2165
|
+
];
|
|
2166
|
+
var FindingDetails = [
|
|
2167
|
+
3,
|
|
2168
|
+
n0,
|
|
2169
|
+
_FD,
|
|
2170
|
+
0,
|
|
2171
|
+
[_iAD, _eAD, _uPD, _uIUAKD, _uIRD, _uIUPD],
|
|
2172
|
+
[
|
|
2173
|
+
() => InternalAccessDetails,
|
|
2174
|
+
() => ExternalAccessDetails,
|
|
2175
|
+
() => UnusedPermissionDetails,
|
|
2176
|
+
() => UnusedIamUserAccessKeyDetails,
|
|
2177
|
+
() => UnusedIamRoleDetails,
|
|
2178
|
+
() => UnusedIamUserPasswordDetails,
|
|
2179
|
+
],
|
|
2180
|
+
];
|
|
2181
|
+
var FindingsStatistics = [
|
|
2182
|
+
3,
|
|
2183
|
+
n0,
|
|
2184
|
+
_FSin,
|
|
2185
|
+
0,
|
|
2186
|
+
[_eAFS, _iAFS, _uAFS],
|
|
2187
|
+
[
|
|
2188
|
+
() => ExternalAccessFindingsStatistics,
|
|
2189
|
+
() => InternalAccessFindingsStatistics,
|
|
2190
|
+
() => UnusedAccessFindingsStatistics,
|
|
2191
|
+
],
|
|
2192
|
+
];
|
|
2193
|
+
var NetworkOriginConfiguration = [
|
|
2194
|
+
3,
|
|
2195
|
+
n0,
|
|
2196
|
+
_NOC,
|
|
2197
|
+
0,
|
|
2198
|
+
[_vC, _iCn],
|
|
2199
|
+
[() => VpcConfiguration, () => InternetConfiguration],
|
|
2200
|
+
];
|
|
2201
|
+
var PathElement = [3, n0, _PE, 0, [_ind, _k, _su, _v], [1, 0, () => Substring, 0]];
|
|
2202
|
+
var RdsDbClusterSnapshotAttributeValue = [3, n0, _RDCSAV, 0, [_aI], [64 | 0]];
|
|
2203
|
+
var RdsDbSnapshotAttributeValue = [3, n0, _RDSAV, 0, [_aI], [64 | 0]];
|
|
2204
|
+
var RecommendedStep = [3, n0, _RSe, 0, [_uPRS], [() => UnusedPermissionsRecommendedStep]];
|
|
2205
|
+
var ApplyArchiveRule = [
|
|
2206
|
+
9,
|
|
2207
|
+
n0,
|
|
2208
|
+
_AAR,
|
|
2209
|
+
{
|
|
2210
|
+
[_h]: ["PUT", "/archive-rule", 200],
|
|
2211
|
+
},
|
|
2212
|
+
() => ApplyArchiveRuleRequest,
|
|
2213
|
+
() => __Unit,
|
|
2214
|
+
];
|
|
2215
|
+
var CancelPolicyGeneration = [
|
|
2216
|
+
9,
|
|
2217
|
+
n0,
|
|
2218
|
+
_CPG,
|
|
2219
|
+
{
|
|
2220
|
+
[_h]: ["PUT", "/policy/generation/{jobId}", 200],
|
|
2221
|
+
},
|
|
2222
|
+
() => CancelPolicyGenerationRequest,
|
|
2223
|
+
() => CancelPolicyGenerationResponse,
|
|
2224
|
+
];
|
|
2225
|
+
var CheckAccessNotGranted = [
|
|
2226
|
+
9,
|
|
2227
|
+
n0,
|
|
2228
|
+
_CANG,
|
|
2229
|
+
{
|
|
2230
|
+
[_h]: ["POST", "/policy/check-access-not-granted", 200],
|
|
2231
|
+
},
|
|
2232
|
+
() => CheckAccessNotGrantedRequest,
|
|
2233
|
+
() => CheckAccessNotGrantedResponse,
|
|
2234
|
+
];
|
|
2235
|
+
var CheckNoNewAccess = [
|
|
2236
|
+
9,
|
|
2237
|
+
n0,
|
|
2238
|
+
_CNNA,
|
|
2239
|
+
{
|
|
2240
|
+
[_h]: ["POST", "/policy/check-no-new-access", 200],
|
|
2241
|
+
},
|
|
2242
|
+
() => CheckNoNewAccessRequest,
|
|
2243
|
+
() => CheckNoNewAccessResponse,
|
|
2244
|
+
];
|
|
2245
|
+
var CheckNoPublicAccess = [
|
|
2246
|
+
9,
|
|
2247
|
+
n0,
|
|
2248
|
+
_CNPA,
|
|
2249
|
+
{
|
|
2250
|
+
[_h]: ["POST", "/policy/check-no-public-access", 200],
|
|
2251
|
+
},
|
|
2252
|
+
() => CheckNoPublicAccessRequest,
|
|
2253
|
+
() => CheckNoPublicAccessResponse,
|
|
2254
|
+
];
|
|
2255
|
+
var CreateAccessPreview = [
|
|
2256
|
+
9,
|
|
2257
|
+
n0,
|
|
2258
|
+
_CAP,
|
|
2259
|
+
{
|
|
2260
|
+
[_h]: ["PUT", "/access-preview", 200],
|
|
2261
|
+
},
|
|
2262
|
+
() => CreateAccessPreviewRequest,
|
|
2263
|
+
() => CreateAccessPreviewResponse,
|
|
2264
|
+
];
|
|
2265
|
+
var CreateAnalyzer = [
|
|
2266
|
+
9,
|
|
2267
|
+
n0,
|
|
2268
|
+
_CA,
|
|
2269
|
+
{
|
|
2270
|
+
[_h]: ["PUT", "/analyzer", 200],
|
|
2271
|
+
},
|
|
2272
|
+
() => CreateAnalyzerRequest,
|
|
2273
|
+
() => CreateAnalyzerResponse,
|
|
2274
|
+
];
|
|
2275
|
+
var CreateArchiveRule = [
|
|
2276
|
+
9,
|
|
2277
|
+
n0,
|
|
2278
|
+
_CARre,
|
|
2279
|
+
{
|
|
2280
|
+
[_h]: ["PUT", "/analyzer/{analyzerName}/archive-rule", 200],
|
|
2281
|
+
},
|
|
2282
|
+
() => CreateArchiveRuleRequest,
|
|
2283
|
+
() => __Unit,
|
|
2284
|
+
];
|
|
2285
|
+
var DeleteAnalyzer = [
|
|
2286
|
+
9,
|
|
2287
|
+
n0,
|
|
2288
|
+
_DA,
|
|
2289
|
+
{
|
|
2290
|
+
[_h]: ["DELETE", "/analyzer/{analyzerName}", 200],
|
|
2291
|
+
},
|
|
2292
|
+
() => DeleteAnalyzerRequest,
|
|
2293
|
+
() => __Unit,
|
|
2294
|
+
];
|
|
2295
|
+
var DeleteArchiveRule = [
|
|
2296
|
+
9,
|
|
2297
|
+
n0,
|
|
2298
|
+
_DARe,
|
|
2299
|
+
{
|
|
2300
|
+
[_h]: ["DELETE", "/analyzer/{analyzerName}/archive-rule/{ruleName}", 200],
|
|
2301
|
+
},
|
|
2302
|
+
() => DeleteArchiveRuleRequest,
|
|
2303
|
+
() => __Unit,
|
|
2304
|
+
];
|
|
2305
|
+
var GenerateFindingRecommendation = [
|
|
2306
|
+
9,
|
|
2307
|
+
n0,
|
|
2308
|
+
_GFRen,
|
|
2309
|
+
{
|
|
2310
|
+
[_h]: ["POST", "/recommendation/{id}", 200],
|
|
2311
|
+
},
|
|
2312
|
+
() => GenerateFindingRecommendationRequest,
|
|
2313
|
+
() => __Unit,
|
|
2314
|
+
];
|
|
2315
|
+
var GetAccessPreview = [
|
|
2316
|
+
9,
|
|
2317
|
+
n0,
|
|
2318
|
+
_GAP,
|
|
2319
|
+
{
|
|
2320
|
+
[_h]: ["GET", "/access-preview/{accessPreviewId}", 200],
|
|
2321
|
+
},
|
|
2322
|
+
() => GetAccessPreviewRequest,
|
|
2323
|
+
() => GetAccessPreviewResponse,
|
|
2324
|
+
];
|
|
2325
|
+
var GetAnalyzedResource = [
|
|
2326
|
+
9,
|
|
2327
|
+
n0,
|
|
2328
|
+
_GARet,
|
|
2329
|
+
{
|
|
2330
|
+
[_h]: ["GET", "/analyzed-resource", 200],
|
|
2331
|
+
},
|
|
2332
|
+
() => GetAnalyzedResourceRequest,
|
|
2333
|
+
() => GetAnalyzedResourceResponse,
|
|
2334
|
+
];
|
|
2335
|
+
var GetAnalyzer = [
|
|
2336
|
+
9,
|
|
2337
|
+
n0,
|
|
2338
|
+
_GA,
|
|
2339
|
+
{
|
|
2340
|
+
[_h]: ["GET", "/analyzer/{analyzerName}", 200],
|
|
2341
|
+
},
|
|
2342
|
+
() => GetAnalyzerRequest,
|
|
2343
|
+
() => GetAnalyzerResponse,
|
|
2344
|
+
];
|
|
2345
|
+
var GetArchiveRule = [
|
|
2346
|
+
9,
|
|
2347
|
+
n0,
|
|
2348
|
+
_GARetr,
|
|
2349
|
+
{
|
|
2350
|
+
[_h]: ["GET", "/analyzer/{analyzerName}/archive-rule/{ruleName}", 200],
|
|
2351
|
+
},
|
|
2352
|
+
() => GetArchiveRuleRequest,
|
|
2353
|
+
() => GetArchiveRuleResponse,
|
|
2354
|
+
];
|
|
2355
|
+
var GetFinding = [
|
|
2356
|
+
9,
|
|
2357
|
+
n0,
|
|
2358
|
+
_GF,
|
|
2359
|
+
{
|
|
2360
|
+
[_h]: ["GET", "/finding/{id}", 200],
|
|
2361
|
+
},
|
|
2362
|
+
() => GetFindingRequest,
|
|
2363
|
+
() => GetFindingResponse,
|
|
2364
|
+
];
|
|
2365
|
+
var GetFindingRecommendation = [
|
|
2366
|
+
9,
|
|
2367
|
+
n0,
|
|
2368
|
+
_GFRet,
|
|
2369
|
+
{
|
|
2370
|
+
[_h]: ["GET", "/recommendation/{id}", 200],
|
|
2371
|
+
},
|
|
2372
|
+
() => GetFindingRecommendationRequest,
|
|
2373
|
+
() => GetFindingRecommendationResponse,
|
|
2374
|
+
];
|
|
2375
|
+
var GetFindingsStatistics = [
|
|
2376
|
+
9,
|
|
2377
|
+
n0,
|
|
2378
|
+
_GFS,
|
|
2379
|
+
{
|
|
2380
|
+
[_h]: ["POST", "/analyzer/findings/statistics", 200],
|
|
2381
|
+
},
|
|
2382
|
+
() => GetFindingsStatisticsRequest,
|
|
2383
|
+
() => GetFindingsStatisticsResponse,
|
|
2384
|
+
];
|
|
2385
|
+
var GetFindingV2 = [
|
|
2386
|
+
9,
|
|
2387
|
+
n0,
|
|
2388
|
+
_GFV,
|
|
2389
|
+
{
|
|
2390
|
+
[_h]: ["GET", "/findingv2/{id}", 200],
|
|
2391
|
+
},
|
|
2392
|
+
() => GetFindingV2Request,
|
|
2393
|
+
() => GetFindingV2Response,
|
|
2394
|
+
];
|
|
2395
|
+
var GetGeneratedPolicy = [
|
|
2396
|
+
9,
|
|
2397
|
+
n0,
|
|
2398
|
+
_GGP,
|
|
2399
|
+
{
|
|
2400
|
+
[_h]: ["GET", "/policy/generation/{jobId}", 200],
|
|
2401
|
+
},
|
|
2402
|
+
() => GetGeneratedPolicyRequest,
|
|
2403
|
+
() => GetGeneratedPolicyResponse,
|
|
2404
|
+
];
|
|
2405
|
+
var ListAccessPreviewFindings = [
|
|
2406
|
+
9,
|
|
2407
|
+
n0,
|
|
2408
|
+
_LAPF,
|
|
2409
|
+
{
|
|
2410
|
+
[_h]: ["POST", "/access-preview/{accessPreviewId}", 200],
|
|
2411
|
+
},
|
|
2412
|
+
() => ListAccessPreviewFindingsRequest,
|
|
2413
|
+
() => ListAccessPreviewFindingsResponse,
|
|
2414
|
+
];
|
|
2415
|
+
var ListAccessPreviews = [
|
|
2416
|
+
9,
|
|
2417
|
+
n0,
|
|
2418
|
+
_LAP,
|
|
2419
|
+
{
|
|
2420
|
+
[_h]: ["GET", "/access-preview", 200],
|
|
2421
|
+
},
|
|
2422
|
+
() => ListAccessPreviewsRequest,
|
|
2423
|
+
() => ListAccessPreviewsResponse,
|
|
2424
|
+
];
|
|
2425
|
+
var ListAnalyzedResources = [
|
|
2426
|
+
9,
|
|
2427
|
+
n0,
|
|
2428
|
+
_LARis,
|
|
2429
|
+
{
|
|
2430
|
+
[_h]: ["POST", "/analyzed-resource", 200],
|
|
2431
|
+
},
|
|
2432
|
+
() => ListAnalyzedResourcesRequest,
|
|
2433
|
+
() => ListAnalyzedResourcesResponse,
|
|
2434
|
+
];
|
|
2435
|
+
var ListAnalyzers = [
|
|
2436
|
+
9,
|
|
2437
|
+
n0,
|
|
2438
|
+
_LA,
|
|
2439
|
+
{
|
|
2440
|
+
[_h]: ["GET", "/analyzer", 200],
|
|
2441
|
+
},
|
|
2442
|
+
() => ListAnalyzersRequest,
|
|
2443
|
+
() => ListAnalyzersResponse,
|
|
2444
|
+
];
|
|
2445
|
+
var ListArchiveRules = [
|
|
2446
|
+
9,
|
|
2447
|
+
n0,
|
|
2448
|
+
_LARist,
|
|
2449
|
+
{
|
|
2450
|
+
[_h]: ["GET", "/analyzer/{analyzerName}/archive-rule", 200],
|
|
2451
|
+
},
|
|
2452
|
+
() => ListArchiveRulesRequest,
|
|
2453
|
+
() => ListArchiveRulesResponse,
|
|
2454
|
+
];
|
|
2455
|
+
var ListFindings = [
|
|
2456
|
+
9,
|
|
2457
|
+
n0,
|
|
2458
|
+
_LF,
|
|
2459
|
+
{
|
|
2460
|
+
[_h]: ["POST", "/finding", 200],
|
|
2461
|
+
},
|
|
2462
|
+
() => ListFindingsRequest,
|
|
2463
|
+
() => ListFindingsResponse,
|
|
2464
|
+
];
|
|
2465
|
+
var ListFindingsV2 = [
|
|
2466
|
+
9,
|
|
2467
|
+
n0,
|
|
2468
|
+
_LFV,
|
|
2469
|
+
{
|
|
2470
|
+
[_h]: ["POST", "/findingv2", 200],
|
|
2471
|
+
},
|
|
2472
|
+
() => ListFindingsV2Request,
|
|
2473
|
+
() => ListFindingsV2Response,
|
|
2474
|
+
];
|
|
2475
|
+
var ListPolicyGenerations = [
|
|
2476
|
+
9,
|
|
2477
|
+
n0,
|
|
2478
|
+
_LPG,
|
|
2479
|
+
{
|
|
2480
|
+
[_h]: ["GET", "/policy/generation", 200],
|
|
2481
|
+
},
|
|
2482
|
+
() => ListPolicyGenerationsRequest,
|
|
2483
|
+
() => ListPolicyGenerationsResponse,
|
|
2484
|
+
];
|
|
2485
|
+
var ListTagsForResource = [
|
|
2486
|
+
9,
|
|
2487
|
+
n0,
|
|
2488
|
+
_LTFR,
|
|
2489
|
+
{
|
|
2490
|
+
[_h]: ["GET", "/tags/{resourceArn}", 200],
|
|
2491
|
+
},
|
|
2492
|
+
() => ListTagsForResourceRequest,
|
|
2493
|
+
() => ListTagsForResourceResponse,
|
|
2494
|
+
];
|
|
2495
|
+
var StartPolicyGeneration = [
|
|
2496
|
+
9,
|
|
2497
|
+
n0,
|
|
2498
|
+
_SPG,
|
|
2499
|
+
{
|
|
2500
|
+
[_h]: ["PUT", "/policy/generation", 200],
|
|
2501
|
+
},
|
|
2502
|
+
() => StartPolicyGenerationRequest,
|
|
2503
|
+
() => StartPolicyGenerationResponse,
|
|
2504
|
+
];
|
|
2505
|
+
var StartResourceScan = [
|
|
2506
|
+
9,
|
|
2507
|
+
n0,
|
|
2508
|
+
_SRS,
|
|
2509
|
+
{
|
|
2510
|
+
[_h]: ["POST", "/resource/scan", 200],
|
|
2511
|
+
},
|
|
2512
|
+
() => StartResourceScanRequest,
|
|
2513
|
+
() => __Unit,
|
|
2514
|
+
];
|
|
2515
|
+
var TagResource = [
|
|
2516
|
+
9,
|
|
2517
|
+
n0,
|
|
2518
|
+
_TR,
|
|
2519
|
+
{
|
|
2520
|
+
[_h]: ["POST", "/tags/{resourceArn}", 200],
|
|
2521
|
+
},
|
|
2522
|
+
() => TagResourceRequest,
|
|
2523
|
+
() => TagResourceResponse,
|
|
2524
|
+
];
|
|
2525
|
+
var UntagResource = [
|
|
2526
|
+
9,
|
|
2527
|
+
n0,
|
|
2528
|
+
_UR,
|
|
2529
|
+
{
|
|
2530
|
+
[_h]: ["DELETE", "/tags/{resourceArn}", 200],
|
|
2531
|
+
},
|
|
2532
|
+
() => UntagResourceRequest,
|
|
2533
|
+
() => UntagResourceResponse,
|
|
2534
|
+
];
|
|
2535
|
+
var UpdateAnalyzer = [
|
|
2536
|
+
9,
|
|
2537
|
+
n0,
|
|
2538
|
+
_UAp,
|
|
2539
|
+
{
|
|
2540
|
+
[_h]: ["PUT", "/analyzer/{analyzerName}", 200],
|
|
2541
|
+
},
|
|
2542
|
+
() => UpdateAnalyzerRequest,
|
|
2543
|
+
() => UpdateAnalyzerResponse,
|
|
2544
|
+
];
|
|
2545
|
+
var UpdateArchiveRule = [
|
|
2546
|
+
9,
|
|
2547
|
+
n0,
|
|
2548
|
+
_UARpd,
|
|
2549
|
+
{
|
|
2550
|
+
[_h]: ["PUT", "/analyzer/{analyzerName}/archive-rule/{ruleName}", 200],
|
|
2551
|
+
},
|
|
2552
|
+
() => UpdateArchiveRuleRequest,
|
|
2553
|
+
() => __Unit,
|
|
2554
|
+
];
|
|
2555
|
+
var UpdateFindings = [
|
|
2556
|
+
9,
|
|
2557
|
+
n0,
|
|
2558
|
+
_UF,
|
|
2559
|
+
{
|
|
2560
|
+
[_h]: ["PUT", "/finding", 200],
|
|
2561
|
+
},
|
|
2562
|
+
() => UpdateFindingsRequest,
|
|
2563
|
+
() => __Unit,
|
|
2564
|
+
];
|
|
2565
|
+
var ValidatePolicy = [
|
|
2566
|
+
9,
|
|
2567
|
+
n0,
|
|
2568
|
+
_VP,
|
|
2569
|
+
{
|
|
2570
|
+
[_h]: ["POST", "/policy/validation", 200],
|
|
2571
|
+
},
|
|
2572
|
+
() => ValidatePolicyRequest,
|
|
2573
|
+
() => ValidatePolicyResponse,
|
|
2574
|
+
];
|
|
2118
2575
|
|
|
2119
2576
|
class ApplyArchiveRuleCommand extends smithyClient.Command
|
|
2120
2577
|
.classBuilder()
|
|
2121
2578
|
.ep(commonParams)
|
|
2122
2579
|
.m(function (Command, cs, config, o) {
|
|
2123
|
-
return [
|
|
2124
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2125
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2126
|
-
];
|
|
2580
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2127
2581
|
})
|
|
2128
2582
|
.s("AccessAnalyzer", "ApplyArchiveRule", {})
|
|
2129
2583
|
.n("AccessAnalyzerClient", "ApplyArchiveRuleCommand")
|
|
2130
|
-
.
|
|
2131
|
-
.ser(se_ApplyArchiveRuleCommand)
|
|
2132
|
-
.de(de_ApplyArchiveRuleCommand)
|
|
2584
|
+
.sc(ApplyArchiveRule)
|
|
2133
2585
|
.build() {
|
|
2134
2586
|
}
|
|
2135
2587
|
|
|
@@ -2137,16 +2589,11 @@ class CancelPolicyGenerationCommand extends smithyClient.Command
|
|
|
2137
2589
|
.classBuilder()
|
|
2138
2590
|
.ep(commonParams)
|
|
2139
2591
|
.m(function (Command, cs, config, o) {
|
|
2140
|
-
return [
|
|
2141
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2142
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2143
|
-
];
|
|
2592
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2144
2593
|
})
|
|
2145
2594
|
.s("AccessAnalyzer", "CancelPolicyGeneration", {})
|
|
2146
2595
|
.n("AccessAnalyzerClient", "CancelPolicyGenerationCommand")
|
|
2147
|
-
.
|
|
2148
|
-
.ser(se_CancelPolicyGenerationCommand)
|
|
2149
|
-
.de(de_CancelPolicyGenerationCommand)
|
|
2596
|
+
.sc(CancelPolicyGeneration)
|
|
2150
2597
|
.build() {
|
|
2151
2598
|
}
|
|
2152
2599
|
|
|
@@ -2154,16 +2601,11 @@ class CheckAccessNotGrantedCommand extends smithyClient.Command
|
|
|
2154
2601
|
.classBuilder()
|
|
2155
2602
|
.ep(commonParams)
|
|
2156
2603
|
.m(function (Command, cs, config, o) {
|
|
2157
|
-
return [
|
|
2158
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2159
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2160
|
-
];
|
|
2604
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2161
2605
|
})
|
|
2162
2606
|
.s("AccessAnalyzer", "CheckAccessNotGranted", {})
|
|
2163
2607
|
.n("AccessAnalyzerClient", "CheckAccessNotGrantedCommand")
|
|
2164
|
-
.
|
|
2165
|
-
.ser(se_CheckAccessNotGrantedCommand)
|
|
2166
|
-
.de(de_CheckAccessNotGrantedCommand)
|
|
2608
|
+
.sc(CheckAccessNotGranted)
|
|
2167
2609
|
.build() {
|
|
2168
2610
|
}
|
|
2169
2611
|
|
|
@@ -2171,16 +2613,11 @@ class CheckNoNewAccessCommand extends smithyClient.Command
|
|
|
2171
2613
|
.classBuilder()
|
|
2172
2614
|
.ep(commonParams)
|
|
2173
2615
|
.m(function (Command, cs, config, o) {
|
|
2174
|
-
return [
|
|
2175
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2176
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2177
|
-
];
|
|
2616
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2178
2617
|
})
|
|
2179
2618
|
.s("AccessAnalyzer", "CheckNoNewAccess", {})
|
|
2180
2619
|
.n("AccessAnalyzerClient", "CheckNoNewAccessCommand")
|
|
2181
|
-
.
|
|
2182
|
-
.ser(se_CheckNoNewAccessCommand)
|
|
2183
|
-
.de(de_CheckNoNewAccessCommand)
|
|
2620
|
+
.sc(CheckNoNewAccess)
|
|
2184
2621
|
.build() {
|
|
2185
2622
|
}
|
|
2186
2623
|
|
|
@@ -2188,16 +2625,11 @@ class CheckNoPublicAccessCommand extends smithyClient.Command
|
|
|
2188
2625
|
.classBuilder()
|
|
2189
2626
|
.ep(commonParams)
|
|
2190
2627
|
.m(function (Command, cs, config, o) {
|
|
2191
|
-
return [
|
|
2192
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2193
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2194
|
-
];
|
|
2628
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2195
2629
|
})
|
|
2196
2630
|
.s("AccessAnalyzer", "CheckNoPublicAccess", {})
|
|
2197
2631
|
.n("AccessAnalyzerClient", "CheckNoPublicAccessCommand")
|
|
2198
|
-
.
|
|
2199
|
-
.ser(se_CheckNoPublicAccessCommand)
|
|
2200
|
-
.de(de_CheckNoPublicAccessCommand)
|
|
2632
|
+
.sc(CheckNoPublicAccess)
|
|
2201
2633
|
.build() {
|
|
2202
2634
|
}
|
|
2203
2635
|
|
|
@@ -2205,16 +2637,11 @@ class CreateAccessPreviewCommand extends smithyClient.Command
|
|
|
2205
2637
|
.classBuilder()
|
|
2206
2638
|
.ep(commonParams)
|
|
2207
2639
|
.m(function (Command, cs, config, o) {
|
|
2208
|
-
return [
|
|
2209
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2210
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2211
|
-
];
|
|
2640
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2212
2641
|
})
|
|
2213
2642
|
.s("AccessAnalyzer", "CreateAccessPreview", {})
|
|
2214
2643
|
.n("AccessAnalyzerClient", "CreateAccessPreviewCommand")
|
|
2215
|
-
.
|
|
2216
|
-
.ser(se_CreateAccessPreviewCommand)
|
|
2217
|
-
.de(de_CreateAccessPreviewCommand)
|
|
2644
|
+
.sc(CreateAccessPreview)
|
|
2218
2645
|
.build() {
|
|
2219
2646
|
}
|
|
2220
2647
|
|
|
@@ -2222,16 +2649,11 @@ class CreateAnalyzerCommand extends smithyClient.Command
|
|
|
2222
2649
|
.classBuilder()
|
|
2223
2650
|
.ep(commonParams)
|
|
2224
2651
|
.m(function (Command, cs, config, o) {
|
|
2225
|
-
return [
|
|
2226
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2227
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2228
|
-
];
|
|
2652
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2229
2653
|
})
|
|
2230
2654
|
.s("AccessAnalyzer", "CreateAnalyzer", {})
|
|
2231
2655
|
.n("AccessAnalyzerClient", "CreateAnalyzerCommand")
|
|
2232
|
-
.
|
|
2233
|
-
.ser(se_CreateAnalyzerCommand)
|
|
2234
|
-
.de(de_CreateAnalyzerCommand)
|
|
2656
|
+
.sc(CreateAnalyzer)
|
|
2235
2657
|
.build() {
|
|
2236
2658
|
}
|
|
2237
2659
|
|
|
@@ -2239,16 +2661,11 @@ class CreateArchiveRuleCommand extends smithyClient.Command
|
|
|
2239
2661
|
.classBuilder()
|
|
2240
2662
|
.ep(commonParams)
|
|
2241
2663
|
.m(function (Command, cs, config, o) {
|
|
2242
|
-
return [
|
|
2243
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2244
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2245
|
-
];
|
|
2664
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2246
2665
|
})
|
|
2247
2666
|
.s("AccessAnalyzer", "CreateArchiveRule", {})
|
|
2248
2667
|
.n("AccessAnalyzerClient", "CreateArchiveRuleCommand")
|
|
2249
|
-
.
|
|
2250
|
-
.ser(se_CreateArchiveRuleCommand)
|
|
2251
|
-
.de(de_CreateArchiveRuleCommand)
|
|
2668
|
+
.sc(CreateArchiveRule)
|
|
2252
2669
|
.build() {
|
|
2253
2670
|
}
|
|
2254
2671
|
|
|
@@ -2256,16 +2673,11 @@ class DeleteAnalyzerCommand extends smithyClient.Command
|
|
|
2256
2673
|
.classBuilder()
|
|
2257
2674
|
.ep(commonParams)
|
|
2258
2675
|
.m(function (Command, cs, config, o) {
|
|
2259
|
-
return [
|
|
2260
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2261
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2262
|
-
];
|
|
2676
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2263
2677
|
})
|
|
2264
2678
|
.s("AccessAnalyzer", "DeleteAnalyzer", {})
|
|
2265
2679
|
.n("AccessAnalyzerClient", "DeleteAnalyzerCommand")
|
|
2266
|
-
.
|
|
2267
|
-
.ser(se_DeleteAnalyzerCommand)
|
|
2268
|
-
.de(de_DeleteAnalyzerCommand)
|
|
2680
|
+
.sc(DeleteAnalyzer)
|
|
2269
2681
|
.build() {
|
|
2270
2682
|
}
|
|
2271
2683
|
|
|
@@ -2273,16 +2685,11 @@ class DeleteArchiveRuleCommand extends smithyClient.Command
|
|
|
2273
2685
|
.classBuilder()
|
|
2274
2686
|
.ep(commonParams)
|
|
2275
2687
|
.m(function (Command, cs, config, o) {
|
|
2276
|
-
return [
|
|
2277
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2278
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2279
|
-
];
|
|
2688
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2280
2689
|
})
|
|
2281
2690
|
.s("AccessAnalyzer", "DeleteArchiveRule", {})
|
|
2282
2691
|
.n("AccessAnalyzerClient", "DeleteArchiveRuleCommand")
|
|
2283
|
-
.
|
|
2284
|
-
.ser(se_DeleteArchiveRuleCommand)
|
|
2285
|
-
.de(de_DeleteArchiveRuleCommand)
|
|
2692
|
+
.sc(DeleteArchiveRule)
|
|
2286
2693
|
.build() {
|
|
2287
2694
|
}
|
|
2288
2695
|
|
|
@@ -2290,16 +2697,11 @@ class GenerateFindingRecommendationCommand extends smithyClient.Command
|
|
|
2290
2697
|
.classBuilder()
|
|
2291
2698
|
.ep(commonParams)
|
|
2292
2699
|
.m(function (Command, cs, config, o) {
|
|
2293
|
-
return [
|
|
2294
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2295
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2296
|
-
];
|
|
2700
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2297
2701
|
})
|
|
2298
2702
|
.s("AccessAnalyzer", "GenerateFindingRecommendation", {})
|
|
2299
2703
|
.n("AccessAnalyzerClient", "GenerateFindingRecommendationCommand")
|
|
2300
|
-
.
|
|
2301
|
-
.ser(se_GenerateFindingRecommendationCommand)
|
|
2302
|
-
.de(de_GenerateFindingRecommendationCommand)
|
|
2704
|
+
.sc(GenerateFindingRecommendation)
|
|
2303
2705
|
.build() {
|
|
2304
2706
|
}
|
|
2305
2707
|
|
|
@@ -2307,16 +2709,11 @@ class GetAccessPreviewCommand extends smithyClient.Command
|
|
|
2307
2709
|
.classBuilder()
|
|
2308
2710
|
.ep(commonParams)
|
|
2309
2711
|
.m(function (Command, cs, config, o) {
|
|
2310
|
-
return [
|
|
2311
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2312
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2313
|
-
];
|
|
2712
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2314
2713
|
})
|
|
2315
2714
|
.s("AccessAnalyzer", "GetAccessPreview", {})
|
|
2316
2715
|
.n("AccessAnalyzerClient", "GetAccessPreviewCommand")
|
|
2317
|
-
.
|
|
2318
|
-
.ser(se_GetAccessPreviewCommand)
|
|
2319
|
-
.de(de_GetAccessPreviewCommand)
|
|
2716
|
+
.sc(GetAccessPreview)
|
|
2320
2717
|
.build() {
|
|
2321
2718
|
}
|
|
2322
2719
|
|
|
@@ -2324,16 +2721,11 @@ class GetAnalyzedResourceCommand extends smithyClient.Command
|
|
|
2324
2721
|
.classBuilder()
|
|
2325
2722
|
.ep(commonParams)
|
|
2326
2723
|
.m(function (Command, cs, config, o) {
|
|
2327
|
-
return [
|
|
2328
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2329
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2330
|
-
];
|
|
2724
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2331
2725
|
})
|
|
2332
2726
|
.s("AccessAnalyzer", "GetAnalyzedResource", {})
|
|
2333
2727
|
.n("AccessAnalyzerClient", "GetAnalyzedResourceCommand")
|
|
2334
|
-
.
|
|
2335
|
-
.ser(se_GetAnalyzedResourceCommand)
|
|
2336
|
-
.de(de_GetAnalyzedResourceCommand)
|
|
2728
|
+
.sc(GetAnalyzedResource)
|
|
2337
2729
|
.build() {
|
|
2338
2730
|
}
|
|
2339
2731
|
|
|
@@ -2341,16 +2733,11 @@ class GetAnalyzerCommand extends smithyClient.Command
|
|
|
2341
2733
|
.classBuilder()
|
|
2342
2734
|
.ep(commonParams)
|
|
2343
2735
|
.m(function (Command, cs, config, o) {
|
|
2344
|
-
return [
|
|
2345
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2346
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2347
|
-
];
|
|
2736
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2348
2737
|
})
|
|
2349
2738
|
.s("AccessAnalyzer", "GetAnalyzer", {})
|
|
2350
2739
|
.n("AccessAnalyzerClient", "GetAnalyzerCommand")
|
|
2351
|
-
.
|
|
2352
|
-
.ser(se_GetAnalyzerCommand)
|
|
2353
|
-
.de(de_GetAnalyzerCommand)
|
|
2740
|
+
.sc(GetAnalyzer)
|
|
2354
2741
|
.build() {
|
|
2355
2742
|
}
|
|
2356
2743
|
|
|
@@ -2358,16 +2745,11 @@ class GetArchiveRuleCommand extends smithyClient.Command
|
|
|
2358
2745
|
.classBuilder()
|
|
2359
2746
|
.ep(commonParams)
|
|
2360
2747
|
.m(function (Command, cs, config, o) {
|
|
2361
|
-
return [
|
|
2362
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2363
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2364
|
-
];
|
|
2748
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2365
2749
|
})
|
|
2366
2750
|
.s("AccessAnalyzer", "GetArchiveRule", {})
|
|
2367
2751
|
.n("AccessAnalyzerClient", "GetArchiveRuleCommand")
|
|
2368
|
-
.
|
|
2369
|
-
.ser(se_GetArchiveRuleCommand)
|
|
2370
|
-
.de(de_GetArchiveRuleCommand)
|
|
2752
|
+
.sc(GetArchiveRule)
|
|
2371
2753
|
.build() {
|
|
2372
2754
|
}
|
|
2373
2755
|
|
|
@@ -2375,16 +2757,11 @@ class GetFindingCommand extends smithyClient.Command
|
|
|
2375
2757
|
.classBuilder()
|
|
2376
2758
|
.ep(commonParams)
|
|
2377
2759
|
.m(function (Command, cs, config, o) {
|
|
2378
|
-
return [
|
|
2379
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2380
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2381
|
-
];
|
|
2760
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2382
2761
|
})
|
|
2383
2762
|
.s("AccessAnalyzer", "GetFinding", {})
|
|
2384
2763
|
.n("AccessAnalyzerClient", "GetFindingCommand")
|
|
2385
|
-
.
|
|
2386
|
-
.ser(se_GetFindingCommand)
|
|
2387
|
-
.de(de_GetFindingCommand)
|
|
2764
|
+
.sc(GetFinding)
|
|
2388
2765
|
.build() {
|
|
2389
2766
|
}
|
|
2390
2767
|
|
|
@@ -2392,16 +2769,11 @@ class GetFindingRecommendationCommand extends smithyClient.Command
|
|
|
2392
2769
|
.classBuilder()
|
|
2393
2770
|
.ep(commonParams)
|
|
2394
2771
|
.m(function (Command, cs, config, o) {
|
|
2395
|
-
return [
|
|
2396
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2397
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2398
|
-
];
|
|
2772
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2399
2773
|
})
|
|
2400
2774
|
.s("AccessAnalyzer", "GetFindingRecommendation", {})
|
|
2401
2775
|
.n("AccessAnalyzerClient", "GetFindingRecommendationCommand")
|
|
2402
|
-
.
|
|
2403
|
-
.ser(se_GetFindingRecommendationCommand)
|
|
2404
|
-
.de(de_GetFindingRecommendationCommand)
|
|
2776
|
+
.sc(GetFindingRecommendation)
|
|
2405
2777
|
.build() {
|
|
2406
2778
|
}
|
|
2407
2779
|
|
|
@@ -2409,16 +2781,11 @@ class GetFindingsStatisticsCommand extends smithyClient.Command
|
|
|
2409
2781
|
.classBuilder()
|
|
2410
2782
|
.ep(commonParams)
|
|
2411
2783
|
.m(function (Command, cs, config, o) {
|
|
2412
|
-
return [
|
|
2413
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2414
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2415
|
-
];
|
|
2784
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2416
2785
|
})
|
|
2417
2786
|
.s("AccessAnalyzer", "GetFindingsStatistics", {})
|
|
2418
2787
|
.n("AccessAnalyzerClient", "GetFindingsStatisticsCommand")
|
|
2419
|
-
.
|
|
2420
|
-
.ser(se_GetFindingsStatisticsCommand)
|
|
2421
|
-
.de(de_GetFindingsStatisticsCommand)
|
|
2788
|
+
.sc(GetFindingsStatistics)
|
|
2422
2789
|
.build() {
|
|
2423
2790
|
}
|
|
2424
2791
|
|
|
@@ -2426,16 +2793,11 @@ class GetFindingV2Command extends smithyClient.Command
|
|
|
2426
2793
|
.classBuilder()
|
|
2427
2794
|
.ep(commonParams)
|
|
2428
2795
|
.m(function (Command, cs, config, o) {
|
|
2429
|
-
return [
|
|
2430
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2431
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2432
|
-
];
|
|
2796
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2433
2797
|
})
|
|
2434
2798
|
.s("AccessAnalyzer", "GetFindingV2", {})
|
|
2435
2799
|
.n("AccessAnalyzerClient", "GetFindingV2Command")
|
|
2436
|
-
.
|
|
2437
|
-
.ser(se_GetFindingV2Command)
|
|
2438
|
-
.de(de_GetFindingV2Command)
|
|
2800
|
+
.sc(GetFindingV2)
|
|
2439
2801
|
.build() {
|
|
2440
2802
|
}
|
|
2441
2803
|
|
|
@@ -2443,16 +2805,11 @@ class GetGeneratedPolicyCommand extends smithyClient.Command
|
|
|
2443
2805
|
.classBuilder()
|
|
2444
2806
|
.ep(commonParams)
|
|
2445
2807
|
.m(function (Command, cs, config, o) {
|
|
2446
|
-
return [
|
|
2447
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2448
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2449
|
-
];
|
|
2808
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2450
2809
|
})
|
|
2451
2810
|
.s("AccessAnalyzer", "GetGeneratedPolicy", {})
|
|
2452
2811
|
.n("AccessAnalyzerClient", "GetGeneratedPolicyCommand")
|
|
2453
|
-
.
|
|
2454
|
-
.ser(se_GetGeneratedPolicyCommand)
|
|
2455
|
-
.de(de_GetGeneratedPolicyCommand)
|
|
2812
|
+
.sc(GetGeneratedPolicy)
|
|
2456
2813
|
.build() {
|
|
2457
2814
|
}
|
|
2458
2815
|
|
|
@@ -2460,16 +2817,11 @@ class ListAccessPreviewFindingsCommand extends smithyClient.Command
|
|
|
2460
2817
|
.classBuilder()
|
|
2461
2818
|
.ep(commonParams)
|
|
2462
2819
|
.m(function (Command, cs, config, o) {
|
|
2463
|
-
return [
|
|
2464
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2465
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2466
|
-
];
|
|
2820
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2467
2821
|
})
|
|
2468
2822
|
.s("AccessAnalyzer", "ListAccessPreviewFindings", {})
|
|
2469
2823
|
.n("AccessAnalyzerClient", "ListAccessPreviewFindingsCommand")
|
|
2470
|
-
.
|
|
2471
|
-
.ser(se_ListAccessPreviewFindingsCommand)
|
|
2472
|
-
.de(de_ListAccessPreviewFindingsCommand)
|
|
2824
|
+
.sc(ListAccessPreviewFindings)
|
|
2473
2825
|
.build() {
|
|
2474
2826
|
}
|
|
2475
2827
|
|
|
@@ -2477,16 +2829,11 @@ class ListAccessPreviewsCommand extends smithyClient.Command
|
|
|
2477
2829
|
.classBuilder()
|
|
2478
2830
|
.ep(commonParams)
|
|
2479
2831
|
.m(function (Command, cs, config, o) {
|
|
2480
|
-
return [
|
|
2481
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2482
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2483
|
-
];
|
|
2832
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2484
2833
|
})
|
|
2485
2834
|
.s("AccessAnalyzer", "ListAccessPreviews", {})
|
|
2486
2835
|
.n("AccessAnalyzerClient", "ListAccessPreviewsCommand")
|
|
2487
|
-
.
|
|
2488
|
-
.ser(se_ListAccessPreviewsCommand)
|
|
2489
|
-
.de(de_ListAccessPreviewsCommand)
|
|
2836
|
+
.sc(ListAccessPreviews)
|
|
2490
2837
|
.build() {
|
|
2491
2838
|
}
|
|
2492
2839
|
|
|
@@ -2494,16 +2841,11 @@ class ListAnalyzedResourcesCommand extends smithyClient.Command
|
|
|
2494
2841
|
.classBuilder()
|
|
2495
2842
|
.ep(commonParams)
|
|
2496
2843
|
.m(function (Command, cs, config, o) {
|
|
2497
|
-
return [
|
|
2498
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2499
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2500
|
-
];
|
|
2844
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2501
2845
|
})
|
|
2502
2846
|
.s("AccessAnalyzer", "ListAnalyzedResources", {})
|
|
2503
2847
|
.n("AccessAnalyzerClient", "ListAnalyzedResourcesCommand")
|
|
2504
|
-
.
|
|
2505
|
-
.ser(se_ListAnalyzedResourcesCommand)
|
|
2506
|
-
.de(de_ListAnalyzedResourcesCommand)
|
|
2848
|
+
.sc(ListAnalyzedResources)
|
|
2507
2849
|
.build() {
|
|
2508
2850
|
}
|
|
2509
2851
|
|
|
@@ -2511,16 +2853,11 @@ class ListAnalyzersCommand extends smithyClient.Command
|
|
|
2511
2853
|
.classBuilder()
|
|
2512
2854
|
.ep(commonParams)
|
|
2513
2855
|
.m(function (Command, cs, config, o) {
|
|
2514
|
-
return [
|
|
2515
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2516
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2517
|
-
];
|
|
2856
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2518
2857
|
})
|
|
2519
2858
|
.s("AccessAnalyzer", "ListAnalyzers", {})
|
|
2520
2859
|
.n("AccessAnalyzerClient", "ListAnalyzersCommand")
|
|
2521
|
-
.
|
|
2522
|
-
.ser(se_ListAnalyzersCommand)
|
|
2523
|
-
.de(de_ListAnalyzersCommand)
|
|
2860
|
+
.sc(ListAnalyzers)
|
|
2524
2861
|
.build() {
|
|
2525
2862
|
}
|
|
2526
2863
|
|
|
@@ -2528,16 +2865,11 @@ class ListArchiveRulesCommand extends smithyClient.Command
|
|
|
2528
2865
|
.classBuilder()
|
|
2529
2866
|
.ep(commonParams)
|
|
2530
2867
|
.m(function (Command, cs, config, o) {
|
|
2531
|
-
return [
|
|
2532
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2533
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2534
|
-
];
|
|
2868
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2535
2869
|
})
|
|
2536
2870
|
.s("AccessAnalyzer", "ListArchiveRules", {})
|
|
2537
2871
|
.n("AccessAnalyzerClient", "ListArchiveRulesCommand")
|
|
2538
|
-
.
|
|
2539
|
-
.ser(se_ListArchiveRulesCommand)
|
|
2540
|
-
.de(de_ListArchiveRulesCommand)
|
|
2872
|
+
.sc(ListArchiveRules)
|
|
2541
2873
|
.build() {
|
|
2542
2874
|
}
|
|
2543
2875
|
|
|
@@ -2545,16 +2877,11 @@ class ListFindingsCommand extends smithyClient.Command
|
|
|
2545
2877
|
.classBuilder()
|
|
2546
2878
|
.ep(commonParams)
|
|
2547
2879
|
.m(function (Command, cs, config, o) {
|
|
2548
|
-
return [
|
|
2549
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2550
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2551
|
-
];
|
|
2880
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2552
2881
|
})
|
|
2553
2882
|
.s("AccessAnalyzer", "ListFindings", {})
|
|
2554
2883
|
.n("AccessAnalyzerClient", "ListFindingsCommand")
|
|
2555
|
-
.
|
|
2556
|
-
.ser(se_ListFindingsCommand)
|
|
2557
|
-
.de(de_ListFindingsCommand)
|
|
2884
|
+
.sc(ListFindings)
|
|
2558
2885
|
.build() {
|
|
2559
2886
|
}
|
|
2560
2887
|
|
|
@@ -2562,16 +2889,11 @@ class ListFindingsV2Command extends smithyClient.Command
|
|
|
2562
2889
|
.classBuilder()
|
|
2563
2890
|
.ep(commonParams)
|
|
2564
2891
|
.m(function (Command, cs, config, o) {
|
|
2565
|
-
return [
|
|
2566
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2567
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2568
|
-
];
|
|
2892
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2569
2893
|
})
|
|
2570
2894
|
.s("AccessAnalyzer", "ListFindingsV2", {})
|
|
2571
2895
|
.n("AccessAnalyzerClient", "ListFindingsV2Command")
|
|
2572
|
-
.
|
|
2573
|
-
.ser(se_ListFindingsV2Command)
|
|
2574
|
-
.de(de_ListFindingsV2Command)
|
|
2896
|
+
.sc(ListFindingsV2)
|
|
2575
2897
|
.build() {
|
|
2576
2898
|
}
|
|
2577
2899
|
|
|
@@ -2579,16 +2901,11 @@ class ListPolicyGenerationsCommand extends smithyClient.Command
|
|
|
2579
2901
|
.classBuilder()
|
|
2580
2902
|
.ep(commonParams)
|
|
2581
2903
|
.m(function (Command, cs, config, o) {
|
|
2582
|
-
return [
|
|
2583
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2584
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2585
|
-
];
|
|
2904
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2586
2905
|
})
|
|
2587
2906
|
.s("AccessAnalyzer", "ListPolicyGenerations", {})
|
|
2588
2907
|
.n("AccessAnalyzerClient", "ListPolicyGenerationsCommand")
|
|
2589
|
-
.
|
|
2590
|
-
.ser(se_ListPolicyGenerationsCommand)
|
|
2591
|
-
.de(de_ListPolicyGenerationsCommand)
|
|
2908
|
+
.sc(ListPolicyGenerations)
|
|
2592
2909
|
.build() {
|
|
2593
2910
|
}
|
|
2594
2911
|
|
|
@@ -2596,16 +2913,11 @@ class ListTagsForResourceCommand extends smithyClient.Command
|
|
|
2596
2913
|
.classBuilder()
|
|
2597
2914
|
.ep(commonParams)
|
|
2598
2915
|
.m(function (Command, cs, config, o) {
|
|
2599
|
-
return [
|
|
2600
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2601
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2602
|
-
];
|
|
2916
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2603
2917
|
})
|
|
2604
2918
|
.s("AccessAnalyzer", "ListTagsForResource", {})
|
|
2605
2919
|
.n("AccessAnalyzerClient", "ListTagsForResourceCommand")
|
|
2606
|
-
.
|
|
2607
|
-
.ser(se_ListTagsForResourceCommand)
|
|
2608
|
-
.de(de_ListTagsForResourceCommand)
|
|
2920
|
+
.sc(ListTagsForResource)
|
|
2609
2921
|
.build() {
|
|
2610
2922
|
}
|
|
2611
2923
|
|
|
@@ -2613,16 +2925,11 @@ class StartPolicyGenerationCommand extends smithyClient.Command
|
|
|
2613
2925
|
.classBuilder()
|
|
2614
2926
|
.ep(commonParams)
|
|
2615
2927
|
.m(function (Command, cs, config, o) {
|
|
2616
|
-
return [
|
|
2617
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2618
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2619
|
-
];
|
|
2928
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2620
2929
|
})
|
|
2621
2930
|
.s("AccessAnalyzer", "StartPolicyGeneration", {})
|
|
2622
2931
|
.n("AccessAnalyzerClient", "StartPolicyGenerationCommand")
|
|
2623
|
-
.
|
|
2624
|
-
.ser(se_StartPolicyGenerationCommand)
|
|
2625
|
-
.de(de_StartPolicyGenerationCommand)
|
|
2932
|
+
.sc(StartPolicyGeneration)
|
|
2626
2933
|
.build() {
|
|
2627
2934
|
}
|
|
2628
2935
|
|
|
@@ -2630,16 +2937,11 @@ class StartResourceScanCommand extends smithyClient.Command
|
|
|
2630
2937
|
.classBuilder()
|
|
2631
2938
|
.ep(commonParams)
|
|
2632
2939
|
.m(function (Command, cs, config, o) {
|
|
2633
|
-
return [
|
|
2634
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2635
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2636
|
-
];
|
|
2940
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2637
2941
|
})
|
|
2638
2942
|
.s("AccessAnalyzer", "StartResourceScan", {})
|
|
2639
2943
|
.n("AccessAnalyzerClient", "StartResourceScanCommand")
|
|
2640
|
-
.
|
|
2641
|
-
.ser(se_StartResourceScanCommand)
|
|
2642
|
-
.de(de_StartResourceScanCommand)
|
|
2944
|
+
.sc(StartResourceScan)
|
|
2643
2945
|
.build() {
|
|
2644
2946
|
}
|
|
2645
2947
|
|
|
@@ -2647,16 +2949,11 @@ class TagResourceCommand extends smithyClient.Command
|
|
|
2647
2949
|
.classBuilder()
|
|
2648
2950
|
.ep(commonParams)
|
|
2649
2951
|
.m(function (Command, cs, config, o) {
|
|
2650
|
-
return [
|
|
2651
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2652
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2653
|
-
];
|
|
2952
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2654
2953
|
})
|
|
2655
2954
|
.s("AccessAnalyzer", "TagResource", {})
|
|
2656
2955
|
.n("AccessAnalyzerClient", "TagResourceCommand")
|
|
2657
|
-
.
|
|
2658
|
-
.ser(se_TagResourceCommand)
|
|
2659
|
-
.de(de_TagResourceCommand)
|
|
2956
|
+
.sc(TagResource)
|
|
2660
2957
|
.build() {
|
|
2661
2958
|
}
|
|
2662
2959
|
|
|
@@ -2664,16 +2961,11 @@ class UntagResourceCommand extends smithyClient.Command
|
|
|
2664
2961
|
.classBuilder()
|
|
2665
2962
|
.ep(commonParams)
|
|
2666
2963
|
.m(function (Command, cs, config, o) {
|
|
2667
|
-
return [
|
|
2668
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2669
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2670
|
-
];
|
|
2964
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2671
2965
|
})
|
|
2672
2966
|
.s("AccessAnalyzer", "UntagResource", {})
|
|
2673
2967
|
.n("AccessAnalyzerClient", "UntagResourceCommand")
|
|
2674
|
-
.
|
|
2675
|
-
.ser(se_UntagResourceCommand)
|
|
2676
|
-
.de(de_UntagResourceCommand)
|
|
2968
|
+
.sc(UntagResource)
|
|
2677
2969
|
.build() {
|
|
2678
2970
|
}
|
|
2679
2971
|
|
|
@@ -2681,16 +2973,11 @@ class UpdateAnalyzerCommand extends smithyClient.Command
|
|
|
2681
2973
|
.classBuilder()
|
|
2682
2974
|
.ep(commonParams)
|
|
2683
2975
|
.m(function (Command, cs, config, o) {
|
|
2684
|
-
return [
|
|
2685
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2686
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2687
|
-
];
|
|
2976
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2688
2977
|
})
|
|
2689
2978
|
.s("AccessAnalyzer", "UpdateAnalyzer", {})
|
|
2690
2979
|
.n("AccessAnalyzerClient", "UpdateAnalyzerCommand")
|
|
2691
|
-
.
|
|
2692
|
-
.ser(se_UpdateAnalyzerCommand)
|
|
2693
|
-
.de(de_UpdateAnalyzerCommand)
|
|
2980
|
+
.sc(UpdateAnalyzer)
|
|
2694
2981
|
.build() {
|
|
2695
2982
|
}
|
|
2696
2983
|
|
|
@@ -2698,16 +2985,11 @@ class UpdateArchiveRuleCommand extends smithyClient.Command
|
|
|
2698
2985
|
.classBuilder()
|
|
2699
2986
|
.ep(commonParams)
|
|
2700
2987
|
.m(function (Command, cs, config, o) {
|
|
2701
|
-
return [
|
|
2702
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2703
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2704
|
-
];
|
|
2988
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2705
2989
|
})
|
|
2706
2990
|
.s("AccessAnalyzer", "UpdateArchiveRule", {})
|
|
2707
2991
|
.n("AccessAnalyzerClient", "UpdateArchiveRuleCommand")
|
|
2708
|
-
.
|
|
2709
|
-
.ser(se_UpdateArchiveRuleCommand)
|
|
2710
|
-
.de(de_UpdateArchiveRuleCommand)
|
|
2992
|
+
.sc(UpdateArchiveRule)
|
|
2711
2993
|
.build() {
|
|
2712
2994
|
}
|
|
2713
2995
|
|
|
@@ -2715,16 +2997,11 @@ class UpdateFindingsCommand extends smithyClient.Command
|
|
|
2715
2997
|
.classBuilder()
|
|
2716
2998
|
.ep(commonParams)
|
|
2717
2999
|
.m(function (Command, cs, config, o) {
|
|
2718
|
-
return [
|
|
2719
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2720
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2721
|
-
];
|
|
3000
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2722
3001
|
})
|
|
2723
3002
|
.s("AccessAnalyzer", "UpdateFindings", {})
|
|
2724
3003
|
.n("AccessAnalyzerClient", "UpdateFindingsCommand")
|
|
2725
|
-
.
|
|
2726
|
-
.ser(se_UpdateFindingsCommand)
|
|
2727
|
-
.de(de_UpdateFindingsCommand)
|
|
3004
|
+
.sc(UpdateFindings)
|
|
2728
3005
|
.build() {
|
|
2729
3006
|
}
|
|
2730
3007
|
|
|
@@ -2732,16 +3009,11 @@ class ValidatePolicyCommand extends smithyClient.Command
|
|
|
2732
3009
|
.classBuilder()
|
|
2733
3010
|
.ep(commonParams)
|
|
2734
3011
|
.m(function (Command, cs, config, o) {
|
|
2735
|
-
return [
|
|
2736
|
-
middlewareSerde.getSerdePlugin(config, this.serialize, this.deserialize),
|
|
2737
|
-
middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
2738
|
-
];
|
|
3012
|
+
return [middlewareEndpoint.getEndpointPlugin(config, Command.getEndpointParameterInstructions())];
|
|
2739
3013
|
})
|
|
2740
3014
|
.s("AccessAnalyzer", "ValidatePolicy", {})
|
|
2741
3015
|
.n("AccessAnalyzerClient", "ValidatePolicyCommand")
|
|
2742
|
-
.
|
|
2743
|
-
.ser(se_ValidatePolicyCommand)
|
|
2744
|
-
.de(de_ValidatePolicyCommand)
|
|
3016
|
+
.sc(ValidatePolicy)
|
|
2745
3017
|
.build() {
|
|
2746
3018
|
}
|
|
2747
3019
|
|
|
@@ -2820,25 +3092,22 @@ Object.defineProperty(exports, "__Client", {
|
|
|
2820
3092
|
});
|
|
2821
3093
|
exports.AccessAnalyzer = AccessAnalyzer;
|
|
2822
3094
|
exports.AccessAnalyzerClient = AccessAnalyzerClient;
|
|
2823
|
-
exports.AccessAnalyzerServiceException = AccessAnalyzerServiceException;
|
|
3095
|
+
exports.AccessAnalyzerServiceException = AccessAnalyzerServiceException$1;
|
|
2824
3096
|
exports.AccessCheckPolicyType = AccessCheckPolicyType;
|
|
2825
3097
|
exports.AccessCheckResourceType = AccessCheckResourceType;
|
|
2826
|
-
exports.AccessDeniedException = AccessDeniedException;
|
|
3098
|
+
exports.AccessDeniedException = AccessDeniedException$1;
|
|
2827
3099
|
exports.AccessPreviewStatus = AccessPreviewStatus;
|
|
2828
3100
|
exports.AccessPreviewStatusReasonCode = AccessPreviewStatusReasonCode;
|
|
2829
3101
|
exports.AclPermission = AclPermission;
|
|
2830
3102
|
exports.ApplyArchiveRuleCommand = ApplyArchiveRuleCommand;
|
|
2831
3103
|
exports.CancelPolicyGenerationCommand = CancelPolicyGenerationCommand;
|
|
2832
3104
|
exports.CheckAccessNotGrantedCommand = CheckAccessNotGrantedCommand;
|
|
2833
|
-
exports.CheckAccessNotGrantedRequestFilterSensitiveLog = CheckAccessNotGrantedRequestFilterSensitiveLog;
|
|
2834
3105
|
exports.CheckAccessNotGrantedResult = CheckAccessNotGrantedResult;
|
|
2835
3106
|
exports.CheckNoNewAccessCommand = CheckNoNewAccessCommand;
|
|
2836
|
-
exports.CheckNoNewAccessRequestFilterSensitiveLog = CheckNoNewAccessRequestFilterSensitiveLog;
|
|
2837
3107
|
exports.CheckNoNewAccessResult = CheckNoNewAccessResult;
|
|
2838
3108
|
exports.CheckNoPublicAccessCommand = CheckNoPublicAccessCommand;
|
|
2839
|
-
exports.CheckNoPublicAccessRequestFilterSensitiveLog = CheckNoPublicAccessRequestFilterSensitiveLog;
|
|
2840
3109
|
exports.CheckNoPublicAccessResult = CheckNoPublicAccessResult;
|
|
2841
|
-
exports.ConflictException = ConflictException;
|
|
3110
|
+
exports.ConflictException = ConflictException$1;
|
|
2842
3111
|
exports.CreateAccessPreviewCommand = CreateAccessPreviewCommand;
|
|
2843
3112
|
exports.CreateAnalyzerCommand = CreateAnalyzerCommand;
|
|
2844
3113
|
exports.CreateArchiveRuleCommand = CreateArchiveRuleCommand;
|
|
@@ -2857,8 +3126,8 @@ exports.GetFindingV2Command = GetFindingV2Command;
|
|
|
2857
3126
|
exports.GetFindingsStatisticsCommand = GetFindingsStatisticsCommand;
|
|
2858
3127
|
exports.GetGeneratedPolicyCommand = GetGeneratedPolicyCommand;
|
|
2859
3128
|
exports.InternalAccessType = InternalAccessType;
|
|
2860
|
-
exports.InternalServerException = InternalServerException;
|
|
2861
|
-
exports.InvalidParameterException = InvalidParameterException;
|
|
3129
|
+
exports.InternalServerException = InternalServerException$1;
|
|
3130
|
+
exports.InvalidParameterException = InvalidParameterException$1;
|
|
2862
3131
|
exports.JobErrorCode = JobErrorCode;
|
|
2863
3132
|
exports.JobStatus = JobStatus;
|
|
2864
3133
|
exports.KmsGrantOperation = KmsGrantOperation;
|
|
@@ -2877,15 +3146,15 @@ exports.PrincipalType = PrincipalType;
|
|
|
2877
3146
|
exports.RecommendationType = RecommendationType;
|
|
2878
3147
|
exports.RecommendedRemediationAction = RecommendedRemediationAction;
|
|
2879
3148
|
exports.ResourceControlPolicyRestriction = ResourceControlPolicyRestriction;
|
|
2880
|
-
exports.ResourceNotFoundException = ResourceNotFoundException;
|
|
3149
|
+
exports.ResourceNotFoundException = ResourceNotFoundException$1;
|
|
2881
3150
|
exports.ServiceControlPolicyRestriction = ServiceControlPolicyRestriction;
|
|
2882
|
-
exports.ServiceQuotaExceededException = ServiceQuotaExceededException;
|
|
3151
|
+
exports.ServiceQuotaExceededException = ServiceQuotaExceededException$1;
|
|
2883
3152
|
exports.StartPolicyGenerationCommand = StartPolicyGenerationCommand;
|
|
2884
3153
|
exports.StartResourceScanCommand = StartResourceScanCommand;
|
|
2885
3154
|
exports.Status = Status;
|
|
2886
3155
|
exports.TagResourceCommand = TagResourceCommand;
|
|
2887
|
-
exports.ThrottlingException = ThrottlingException;
|
|
2888
|
-
exports.UnprocessableEntityException = UnprocessableEntityException;
|
|
3156
|
+
exports.ThrottlingException = ThrottlingException$1;
|
|
3157
|
+
exports.UnprocessableEntityException = UnprocessableEntityException$1;
|
|
2889
3158
|
exports.UntagResourceCommand = UntagResourceCommand;
|
|
2890
3159
|
exports.UpdateAnalyzerCommand = UpdateAnalyzerCommand;
|
|
2891
3160
|
exports.UpdateArchiveRuleCommand = UpdateArchiveRuleCommand;
|
|
@@ -2893,7 +3162,7 @@ exports.UpdateFindingsCommand = UpdateFindingsCommand;
|
|
|
2893
3162
|
exports.ValidatePolicyCommand = ValidatePolicyCommand;
|
|
2894
3163
|
exports.ValidatePolicyFindingType = ValidatePolicyFindingType;
|
|
2895
3164
|
exports.ValidatePolicyResourceType = ValidatePolicyResourceType;
|
|
2896
|
-
exports.ValidationException = ValidationException;
|
|
3165
|
+
exports.ValidationException = ValidationException$1;
|
|
2897
3166
|
exports.ValidationExceptionReason = ValidationExceptionReason;
|
|
2898
3167
|
exports.paginateGetFindingRecommendation = paginateGetFindingRecommendation;
|
|
2899
3168
|
exports.paginateGetFindingV2 = paginateGetFindingV2;
|