@aws-sdk/client-inspector2 3.496.0 → 3.498.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/README.md +104 -0
- package/dist-cjs/commands/CreateCisScanConfigurationCommand.js +1 -0
- package/dist-cjs/commands/DeleteCisScanConfigurationCommand.js +1 -0
- package/dist-cjs/commands/GetCisScanReportCommand.js +1 -0
- package/dist-cjs/commands/GetCisScanResultDetailsCommand.js +1 -0
- package/dist-cjs/commands/ListCisScanConfigurationsCommand.js +1 -0
- package/dist-cjs/commands/ListCisScanResultsAggregatedByChecksCommand.js +1 -0
- package/dist-cjs/commands/ListCisScanResultsAggregatedByTargetResourceCommand.js +1 -0
- package/dist-cjs/commands/ListCisScansCommand.js +1 -0
- package/dist-cjs/commands/SendCisSessionHealthCommand.js +1 -0
- package/dist-cjs/commands/SendCisSessionTelemetryCommand.js +1 -0
- package/dist-cjs/commands/StartCisSessionCommand.js +1 -0
- package/dist-cjs/commands/StopCisSessionCommand.js +1 -0
- package/dist-cjs/commands/UpdateCisScanConfigurationCommand.js +1 -0
- package/dist-cjs/index.js +1721 -398
- package/dist-cjs/models/models_1.js +1 -0
- package/dist-cjs/pagination/GetCisScanResultDetailsPaginator.js +1 -0
- package/dist-cjs/pagination/ListCisScanConfigurationsPaginator.js +1 -0
- package/dist-cjs/pagination/ListCisScanResultsAggregatedByChecksPaginator.js +1 -0
- package/dist-cjs/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.js +1 -0
- package/dist-cjs/pagination/ListCisScansPaginator.js +1 -0
- package/dist-es/Inspector2.js +26 -0
- package/dist-es/commands/CreateCisScanConfigurationCommand.js +24 -0
- package/dist-es/commands/DeleteCisScanConfigurationCommand.js +24 -0
- package/dist-es/commands/GetCisScanReportCommand.js +24 -0
- package/dist-es/commands/GetCisScanResultDetailsCommand.js +24 -0
- package/dist-es/commands/ListCisScanConfigurationsCommand.js +24 -0
- package/dist-es/commands/ListCisScanResultsAggregatedByChecksCommand.js +24 -0
- package/dist-es/commands/ListCisScanResultsAggregatedByTargetResourceCommand.js +24 -0
- package/dist-es/commands/ListCisScansCommand.js +24 -0
- package/dist-es/commands/SendCisSessionHealthCommand.js +24 -0
- package/dist-es/commands/SendCisSessionTelemetryCommand.js +24 -0
- package/dist-es/commands/StartCisSessionCommand.js +24 -0
- package/dist-es/commands/StopCisSessionCommand.js +24 -0
- package/dist-es/commands/UpdateCisScanConfigurationCommand.js +24 -0
- package/dist-es/commands/index.js +13 -0
- package/dist-es/models/index.js +1 -0
- package/dist-es/models/models_0.js +126 -28
- package/dist-es/models/models_1.js +35 -0
- package/dist-es/pagination/GetCisScanResultDetailsPaginator.js +4 -0
- package/dist-es/pagination/ListCisScanConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/ListCisScanResultsAggregatedByChecksPaginator.js +4 -0
- package/dist-es/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.js +4 -0
- package/dist-es/pagination/ListCisScansPaginator.js +4 -0
- package/dist-es/pagination/index.js +5 -0
- package/dist-es/protocols/Aws_restJson1.js +847 -20
- package/dist-types/Inspector2.d.ts +91 -0
- package/dist-types/Inspector2Client.d.ts +15 -2
- package/dist-types/commands/CreateCisScanConfigurationCommand.d.ts +110 -0
- package/dist-types/commands/DeleteCisScanConfigurationCommand.d.ts +74 -0
- package/dist-types/commands/GetCisScanReportCommand.d.ts +75 -0
- package/dist-types/commands/GetCisScanResultDetailsCommand.d.ts +125 -0
- package/dist-types/commands/ListCisScanConfigurationsCommand.d.ts +141 -0
- package/dist-types/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +129 -0
- package/dist-types/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +152 -0
- package/dist-types/commands/ListCisScansCommand.d.ts +158 -0
- package/dist-types/commands/ListCoverageCommand.d.ts +2 -1
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
- package/dist-types/commands/ListFiltersCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +1 -1
- package/dist-types/commands/ListFindingsCommand.d.ts +1 -1
- package/dist-types/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/ListUsageTotalsCommand.d.ts +1 -1
- package/dist-types/commands/ResetEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
- package/dist-types/commands/SendCisSessionHealthCommand.d.ts +77 -0
- package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +84 -0
- package/dist-types/commands/StartCisSessionCommand.d.ts +79 -0
- package/dist-types/commands/StopCisSessionCommand.d.ts +98 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateCisScanConfigurationCommand.d.ts +111 -0
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/commands/UpdateFilterCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +13 -0
- package/dist-types/models/index.d.ts +1 -0
- package/dist-types/models/models_0.d.ts +2223 -1516
- package/dist-types/models/models_1.d.ts +1053 -0
- package/dist-types/pagination/GetCisScanResultDetailsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCisScanConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCisScanResultsAggregatedByChecksPaginator.d.ts +7 -0
- package/dist-types/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.d.ts +7 -0
- package/dist-types/pagination/ListCisScansPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +5 -0
- package/dist-types/protocols/Aws_restJson1.d.ts +117 -0
- package/dist-types/ts3.4/Inspector2.d.ts +233 -0
- package/dist-types/ts3.4/Inspector2Client.d.ts +78 -0
- package/dist-types/ts3.4/commands/CreateCisScanConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/DeleteCisScanConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/GetCisScanReportCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/GetCisScanResultDetailsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListCisScanConfigurationsCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByChecksCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListCisScanResultsAggregatedByTargetResourceCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/ListCisScansCommand.d.ts +26 -0
- package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +2 -1
- package/dist-types/ts3.4/commands/ListCoverageStatisticsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFiltersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFindingAggregationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListFindingsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListMembersCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListUsageTotalsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ResetEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SearchVulnerabilitiesCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/SendCisSessionHealthCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/SendCisSessionTelemetryCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/StartCisSessionCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/StopCisSessionCommand.d.ts +29 -0
- package/dist-types/ts3.4/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateCisScanConfigurationCommand.d.ts +30 -0
- package/dist-types/ts3.4/commands/UpdateConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEc2DeepInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateEncryptionKeyCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateFilterCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOrgEc2DeepInspectionConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateOrganizationConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +13 -0
- package/dist-types/ts3.4/models/index.d.ts +1 -0
- package/dist-types/ts3.4/models/models_0.d.ts +449 -192
- package/dist-types/ts3.4/models/models_1.d.ts +309 -0
- package/dist-types/ts3.4/pagination/GetCisScanResultDetailsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCisScanConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCisScanResultsAggregatedByChecksPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListCisScansPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +156 -0
- package/package.json +1 -1
package/dist-cjs/index.js
CHANGED
|
@@ -41,16 +41,38 @@ __export(src_exports, {
|
|
|
41
41
|
BatchUpdateMemberEc2DeepInspectionStatusCommand: () => BatchUpdateMemberEc2DeepInspectionStatusCommand,
|
|
42
42
|
CancelFindingsReportCommand: () => CancelFindingsReportCommand,
|
|
43
43
|
CancelSbomExportCommand: () => CancelSbomExportCommand,
|
|
44
|
+
CisFindingStatus: () => CisFindingStatus,
|
|
45
|
+
CisFindingStatusComparison: () => CisFindingStatusComparison,
|
|
46
|
+
CisReportStatus: () => CisReportStatus,
|
|
47
|
+
CisResultStatus: () => CisResultStatus,
|
|
48
|
+
CisResultStatusComparison: () => CisResultStatusComparison,
|
|
49
|
+
CisRuleStatus: () => CisRuleStatus,
|
|
50
|
+
CisScanConfigurationsSortBy: () => CisScanConfigurationsSortBy,
|
|
51
|
+
CisScanResultDetailsSortBy: () => CisScanResultDetailsSortBy,
|
|
52
|
+
CisScanResultsAggregatedByChecksSortBy: () => CisScanResultsAggregatedByChecksSortBy,
|
|
53
|
+
CisScanResultsAggregatedByTargetResourceSortBy: () => CisScanResultsAggregatedByTargetResourceSortBy,
|
|
54
|
+
CisScanStatus: () => CisScanStatus,
|
|
55
|
+
CisScanStatusComparison: () => CisScanStatusComparison,
|
|
56
|
+
CisSecurityLevel: () => CisSecurityLevel,
|
|
57
|
+
CisSecurityLevelComparison: () => CisSecurityLevelComparison,
|
|
58
|
+
CisSortOrder: () => CisSortOrder,
|
|
59
|
+
CisStringComparison: () => CisStringComparison,
|
|
60
|
+
CisTargetStatus: () => CisTargetStatus,
|
|
61
|
+
CisTargetStatusComparison: () => CisTargetStatusComparison,
|
|
62
|
+
CisTargetStatusReason: () => CisTargetStatusReason,
|
|
44
63
|
CodeSnippetErrorCode: () => CodeSnippetErrorCode,
|
|
45
64
|
ConflictException: () => ConflictException,
|
|
46
65
|
CoverageMapComparison: () => CoverageMapComparison,
|
|
47
66
|
CoverageResourceType: () => CoverageResourceType,
|
|
48
67
|
CoverageStringComparison: () => CoverageStringComparison,
|
|
68
|
+
CreateCisScanConfigurationCommand: () => CreateCisScanConfigurationCommand,
|
|
49
69
|
CreateFilterCommand: () => CreateFilterCommand,
|
|
50
70
|
CreateFindingsReportCommand: () => CreateFindingsReportCommand,
|
|
51
71
|
CreateSbomExportCommand: () => CreateSbomExportCommand,
|
|
52
72
|
Currency: () => Currency,
|
|
73
|
+
Day: () => Day,
|
|
53
74
|
DelegatedAdminStatus: () => DelegatedAdminStatus,
|
|
75
|
+
DeleteCisScanConfigurationCommand: () => DeleteCisScanConfigurationCommand,
|
|
54
76
|
DeleteFilterCommand: () => DeleteFilterCommand,
|
|
55
77
|
DescribeOrganizationConfigurationCommand: () => DescribeOrganizationConfigurationCommand,
|
|
56
78
|
DisableCommand: () => DisableCommand,
|
|
@@ -76,6 +98,8 @@ __export(src_exports, {
|
|
|
76
98
|
FreeTrialInfoErrorCode: () => FreeTrialInfoErrorCode,
|
|
77
99
|
FreeTrialStatus: () => FreeTrialStatus,
|
|
78
100
|
FreeTrialType: () => FreeTrialType,
|
|
101
|
+
GetCisScanReportCommand: () => GetCisScanReportCommand,
|
|
102
|
+
GetCisScanResultDetailsCommand: () => GetCisScanResultDetailsCommand,
|
|
79
103
|
GetConfigurationCommand: () => GetConfigurationCommand,
|
|
80
104
|
GetDelegatedAdminAccountCommand: () => GetDelegatedAdminAccountCommand,
|
|
81
105
|
GetEc2DeepInspectionConfigurationCommand: () => GetEc2DeepInspectionConfigurationCommand,
|
|
@@ -92,6 +116,12 @@ __export(src_exports, {
|
|
|
92
116
|
LambdaFunctionSortBy: () => LambdaFunctionSortBy,
|
|
93
117
|
LambdaLayerSortBy: () => LambdaLayerSortBy,
|
|
94
118
|
ListAccountPermissionsCommand: () => ListAccountPermissionsCommand,
|
|
119
|
+
ListCisScanConfigurationsCommand: () => ListCisScanConfigurationsCommand,
|
|
120
|
+
ListCisScanResultsAggregatedByChecksCommand: () => ListCisScanResultsAggregatedByChecksCommand,
|
|
121
|
+
ListCisScanResultsAggregatedByTargetResourceCommand: () => ListCisScanResultsAggregatedByTargetResourceCommand,
|
|
122
|
+
ListCisScansCommand: () => ListCisScansCommand,
|
|
123
|
+
ListCisScansDetailLevel: () => ListCisScansDetailLevel,
|
|
124
|
+
ListCisScansSortBy: () => ListCisScansSortBy,
|
|
95
125
|
ListCoverageCommand: () => ListCoverageCommand,
|
|
96
126
|
ListCoverageStatisticsCommand: () => ListCoverageStatisticsCommand,
|
|
97
127
|
ListDelegatedAdminAccountsCommand: () => ListDelegatedAdminAccountsCommand,
|
|
@@ -122,18 +152,26 @@ __export(src_exports, {
|
|
|
122
152
|
ScanStatusCode: () => ScanStatusCode,
|
|
123
153
|
ScanStatusReason: () => ScanStatusReason,
|
|
124
154
|
ScanType: () => ScanType,
|
|
155
|
+
Schedule: () => Schedule,
|
|
125
156
|
SearchVulnerabilitiesCommand: () => SearchVulnerabilitiesCommand,
|
|
157
|
+
SendCisSessionHealthCommand: () => SendCisSessionHealthCommand,
|
|
158
|
+
SendCisSessionTelemetryCommand: () => SendCisSessionTelemetryCommand,
|
|
126
159
|
Service: () => Service,
|
|
127
160
|
ServiceQuotaExceededException: () => ServiceQuotaExceededException,
|
|
128
161
|
Severity: () => Severity,
|
|
129
162
|
SortField: () => SortField,
|
|
130
163
|
SortOrder: () => SortOrder,
|
|
164
|
+
StartCisSessionCommand: () => StartCisSessionCommand,
|
|
131
165
|
Status: () => Status,
|
|
166
|
+
StopCisSessionCommand: () => StopCisSessionCommand,
|
|
167
|
+
StopCisSessionStatus: () => StopCisSessionStatus,
|
|
132
168
|
StringComparison: () => StringComparison,
|
|
169
|
+
TagComparison: () => TagComparison,
|
|
133
170
|
TagResourceCommand: () => TagResourceCommand,
|
|
134
171
|
ThrottlingException: () => ThrottlingException,
|
|
135
172
|
TitleSortBy: () => TitleSortBy,
|
|
136
173
|
UntagResourceCommand: () => UntagResourceCommand,
|
|
174
|
+
UpdateCisScanConfigurationCommand: () => UpdateCisScanConfigurationCommand,
|
|
137
175
|
UpdateConfigurationCommand: () => UpdateConfigurationCommand,
|
|
138
176
|
UpdateEc2DeepInspectionConfigurationCommand: () => UpdateEc2DeepInspectionConfigurationCommand,
|
|
139
177
|
UpdateEncryptionKeyCommand: () => UpdateEncryptionKeyCommand,
|
|
@@ -145,7 +183,12 @@ __export(src_exports, {
|
|
|
145
183
|
ValidationExceptionReason: () => ValidationExceptionReason,
|
|
146
184
|
VulnerabilitySource: () => VulnerabilitySource,
|
|
147
185
|
__Client: () => import_smithy_client.Client,
|
|
186
|
+
paginateGetCisScanResultDetails: () => paginateGetCisScanResultDetails,
|
|
148
187
|
paginateListAccountPermissions: () => paginateListAccountPermissions,
|
|
188
|
+
paginateListCisScanConfigurations: () => paginateListCisScanConfigurations,
|
|
189
|
+
paginateListCisScanResultsAggregatedByChecks: () => paginateListCisScanResultsAggregatedByChecks,
|
|
190
|
+
paginateListCisScanResultsAggregatedByTargetResource: () => paginateListCisScanResultsAggregatedByTargetResource,
|
|
191
|
+
paginateListCisScans: () => paginateListCisScans,
|
|
149
192
|
paginateListCoverage: () => paginateListCoverage,
|
|
150
193
|
paginateListCoverageStatistics: () => paginateListCoverageStatistics,
|
|
151
194
|
paginateListDelegatedAdminAccounts: () => paginateListDelegatedAdminAccounts,
|
|
@@ -317,6 +360,11 @@ var SortOrder = {
|
|
|
317
360
|
ASC: "ASC",
|
|
318
361
|
DESC: "DESC"
|
|
319
362
|
};
|
|
363
|
+
var CisStringComparison = {
|
|
364
|
+
EQUALS: "EQUALS",
|
|
365
|
+
NOT_EQUALS: "NOT_EQUALS",
|
|
366
|
+
PREFIX: "PREFIX"
|
|
367
|
+
};
|
|
320
368
|
var ErrorCode = {
|
|
321
369
|
ACCESS_DENIED: "ACCESS_DENIED",
|
|
322
370
|
ACCOUNT_IS_ISOLATED: "ACCOUNT_IS_ISOLATED",
|
|
@@ -618,6 +666,118 @@ var Ec2DeepInspectionStatus = {
|
|
|
618
666
|
FAILED: "FAILED",
|
|
619
667
|
PENDING: "PENDING"
|
|
620
668
|
};
|
|
669
|
+
var CisSecurityLevel = {
|
|
670
|
+
LEVEL_1: "LEVEL_1",
|
|
671
|
+
LEVEL_2: "LEVEL_2"
|
|
672
|
+
};
|
|
673
|
+
var CisFindingStatus = {
|
|
674
|
+
FAILED: "FAILED",
|
|
675
|
+
PASSED: "PASSED",
|
|
676
|
+
SKIPPED: "SKIPPED"
|
|
677
|
+
};
|
|
678
|
+
var CisFindingStatusComparison = {
|
|
679
|
+
EQUALS: "EQUALS"
|
|
680
|
+
};
|
|
681
|
+
var CisReportStatus = {
|
|
682
|
+
FAILED: "FAILED",
|
|
683
|
+
IN_PROGRESS: "IN_PROGRESS",
|
|
684
|
+
SUCCEEDED: "SUCCEEDED"
|
|
685
|
+
};
|
|
686
|
+
var CisResultStatus = {
|
|
687
|
+
FAILED: "FAILED",
|
|
688
|
+
PASSED: "PASSED",
|
|
689
|
+
SKIPPED: "SKIPPED"
|
|
690
|
+
};
|
|
691
|
+
var CisResultStatusComparison = {
|
|
692
|
+
EQUALS: "EQUALS"
|
|
693
|
+
};
|
|
694
|
+
var CisRuleStatus = {
|
|
695
|
+
ERROR: "ERROR",
|
|
696
|
+
FAILED: "FAILED",
|
|
697
|
+
INFORMATIONAL: "INFORMATIONAL",
|
|
698
|
+
NOT_APPLICABLE: "NOT_APPLICABLE",
|
|
699
|
+
NOT_EVALUATED: "NOT_EVALUATED",
|
|
700
|
+
PASSED: "PASSED",
|
|
701
|
+
UNKNOWN: "UNKNOWN"
|
|
702
|
+
};
|
|
703
|
+
var CisScanStatus = {
|
|
704
|
+
CANCELLED: "CANCELLED",
|
|
705
|
+
COMPLETED: "COMPLETED",
|
|
706
|
+
FAILED: "FAILED",
|
|
707
|
+
IN_PROGRESS: "IN_PROGRESS"
|
|
708
|
+
};
|
|
709
|
+
var Day = {
|
|
710
|
+
FRI: "FRI",
|
|
711
|
+
MON: "MON",
|
|
712
|
+
SAT: "SAT",
|
|
713
|
+
SUN: "SUN",
|
|
714
|
+
THU: "THU",
|
|
715
|
+
TUE: "TUE",
|
|
716
|
+
WED: "WED"
|
|
717
|
+
};
|
|
718
|
+
var Schedule;
|
|
719
|
+
((Schedule3) => {
|
|
720
|
+
Schedule3.visit = /* @__PURE__ */ __name((value, visitor) => {
|
|
721
|
+
if (value.oneTime !== void 0)
|
|
722
|
+
return visitor.oneTime(value.oneTime);
|
|
723
|
+
if (value.daily !== void 0)
|
|
724
|
+
return visitor.daily(value.daily);
|
|
725
|
+
if (value.weekly !== void 0)
|
|
726
|
+
return visitor.weekly(value.weekly);
|
|
727
|
+
if (value.monthly !== void 0)
|
|
728
|
+
return visitor.monthly(value.monthly);
|
|
729
|
+
return visitor._(value.$unknown[0], value.$unknown[1]);
|
|
730
|
+
}, "visit");
|
|
731
|
+
})(Schedule || (Schedule = {}));
|
|
732
|
+
var CisScanConfigurationsSortBy = {
|
|
733
|
+
SCAN_CONFIGURATION_ARN: "SCAN_CONFIGURATION_ARN",
|
|
734
|
+
SCAN_NAME: "SCAN_NAME"
|
|
735
|
+
};
|
|
736
|
+
var CisSecurityLevelComparison = {
|
|
737
|
+
EQUALS: "EQUALS"
|
|
738
|
+
};
|
|
739
|
+
var CisScanResultDetailsSortBy = {
|
|
740
|
+
CHECK_ID: "CHECK_ID",
|
|
741
|
+
STATUS: "STATUS"
|
|
742
|
+
};
|
|
743
|
+
var CisScanResultsAggregatedByChecksSortBy = {
|
|
744
|
+
CHECK_ID: "CHECK_ID",
|
|
745
|
+
FAILED_COUNTS: "FAILED_COUNTS",
|
|
746
|
+
PLATFORM: "PLATFORM",
|
|
747
|
+
SECURITY_LEVEL: "SECURITY_LEVEL",
|
|
748
|
+
TITLE: "TITLE"
|
|
749
|
+
};
|
|
750
|
+
var TagComparison = {
|
|
751
|
+
EQUALS: "EQUALS"
|
|
752
|
+
};
|
|
753
|
+
var CisTargetStatusComparison = {
|
|
754
|
+
EQUALS: "EQUALS"
|
|
755
|
+
};
|
|
756
|
+
var CisTargetStatus = {
|
|
757
|
+
CANCELLED: "CANCELLED",
|
|
758
|
+
COMPLETED: "COMPLETED",
|
|
759
|
+
TIMED_OUT: "TIMED_OUT"
|
|
760
|
+
};
|
|
761
|
+
var CisTargetStatusReason = {
|
|
762
|
+
SCAN_IN_PROGRESS: "SCAN_IN_PROGRESS",
|
|
763
|
+
SSM_UNMANAGED: "SSM_UNMANAGED",
|
|
764
|
+
UNSUPPORTED_OS: "UNSUPPORTED_OS"
|
|
765
|
+
};
|
|
766
|
+
var CisScanResultsAggregatedByTargetResourceSortBy = {
|
|
767
|
+
ACCOUNT_ID: "ACCOUNT_ID",
|
|
768
|
+
FAILED_COUNTS: "FAILED_COUNTS",
|
|
769
|
+
PLATFORM: "PLATFORM",
|
|
770
|
+
RESOURCE_ID: "RESOURCE_ID",
|
|
771
|
+
TARGET_STATUS: "TARGET_STATUS",
|
|
772
|
+
TARGET_STATUS_REASON: "TARGET_STATUS_REASON"
|
|
773
|
+
};
|
|
774
|
+
var CisScanStatusComparison = {
|
|
775
|
+
EQUALS: "EQUALS"
|
|
776
|
+
};
|
|
777
|
+
var CisSortOrder = {
|
|
778
|
+
ASC: "ASC",
|
|
779
|
+
DESC: "DESC"
|
|
780
|
+
};
|
|
621
781
|
var _ConflictException = class _ConflictException extends Inspector2ServiceException {
|
|
622
782
|
/**
|
|
623
783
|
* @internal
|
|
@@ -858,34 +1018,15 @@ var Operation = {
|
|
|
858
1018
|
ENABLE_REPOSITORY: "ENABLE_REPOSITORY",
|
|
859
1019
|
ENABLE_SCANNING: "ENABLE_SCANNING"
|
|
860
1020
|
};
|
|
861
|
-
var
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
ECR_IMAGE_PUSHED_AT: "ECR_IMAGE_PUSHED_AT",
|
|
865
|
-
ECR_IMAGE_REGISTRY: "ECR_IMAGE_REGISTRY",
|
|
866
|
-
ECR_IMAGE_REPOSITORY_NAME: "ECR_IMAGE_REPOSITORY_NAME",
|
|
867
|
-
EPSS_SCORE: "EPSS_SCORE",
|
|
868
|
-
FINDING_STATUS: "FINDING_STATUS",
|
|
869
|
-
FINDING_TYPE: "FINDING_TYPE",
|
|
870
|
-
FIRST_OBSERVED_AT: "FIRST_OBSERVED_AT",
|
|
871
|
-
INSPECTOR_SCORE: "INSPECTOR_SCORE",
|
|
872
|
-
LAST_OBSERVED_AT: "LAST_OBSERVED_AT",
|
|
873
|
-
NETWORK_PROTOCOL: "NETWORK_PROTOCOL",
|
|
874
|
-
RESOURCE_TYPE: "RESOURCE_TYPE",
|
|
875
|
-
SEVERITY: "SEVERITY",
|
|
876
|
-
VENDOR_SEVERITY: "VENDOR_SEVERITY",
|
|
877
|
-
VULNERABILITY_ID: "VULNERABILITY_ID",
|
|
878
|
-
VULNERABILITY_SOURCE: "VULNERABILITY_SOURCE"
|
|
879
|
-
};
|
|
880
|
-
var UsageType = {
|
|
881
|
-
EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS",
|
|
882
|
-
ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN",
|
|
883
|
-
ECR_RESCAN: "ECR_RESCAN",
|
|
884
|
-
LAMBDA_FUNCTION_CODE_HOURS: "LAMBDA_FUNCTION_CODE_HOURS",
|
|
885
|
-
LAMBDA_FUNCTION_HOURS: "LAMBDA_FUNCTION_HOURS"
|
|
1021
|
+
var ListCisScansDetailLevel = {
|
|
1022
|
+
MEMBER: "MEMBER",
|
|
1023
|
+
ORGANIZATION: "ORGANIZATION"
|
|
886
1024
|
};
|
|
887
|
-
var
|
|
888
|
-
|
|
1025
|
+
var ListCisScansSortBy = {
|
|
1026
|
+
FAILED_CHECKS: "FAILED_CHECKS",
|
|
1027
|
+
SCAN_START_DATE: "SCAN_START_DATE",
|
|
1028
|
+
SCHEDULED_BY: "SCHEDULED_BY",
|
|
1029
|
+
STATUS: "STATUS"
|
|
889
1030
|
};
|
|
890
1031
|
|
|
891
1032
|
// src/protocols/Aws_restJson1.ts
|
|
@@ -1024,6 +1165,25 @@ var se_CancelSbomExportCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1024
1165
|
b.m("POST").h(headers).b(body);
|
|
1025
1166
|
return b.build();
|
|
1026
1167
|
}, "se_CancelSbomExportCommand");
|
|
1168
|
+
var se_CreateCisScanConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1169
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1170
|
+
const headers = {
|
|
1171
|
+
"content-type": "application/json"
|
|
1172
|
+
};
|
|
1173
|
+
b.bp("/cis/scan-configuration/create");
|
|
1174
|
+
let body;
|
|
1175
|
+
body = JSON.stringify(
|
|
1176
|
+
(0, import_smithy_client.take)(input, {
|
|
1177
|
+
scanName: [],
|
|
1178
|
+
schedule: (_) => (0, import_smithy_client._json)(_),
|
|
1179
|
+
securityLevel: [],
|
|
1180
|
+
tags: (_) => (0, import_smithy_client._json)(_),
|
|
1181
|
+
targets: (_) => (0, import_smithy_client._json)(_)
|
|
1182
|
+
})
|
|
1183
|
+
);
|
|
1184
|
+
b.m("POST").h(headers).b(body);
|
|
1185
|
+
return b.build();
|
|
1186
|
+
}, "se_CreateCisScanConfigurationCommand");
|
|
1027
1187
|
var se_CreateFilterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1028
1188
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1029
1189
|
const headers = {
|
|
@@ -1078,6 +1238,21 @@ var se_CreateSbomExportCommand = /* @__PURE__ */ __name(async (input, context) =
|
|
|
1078
1238
|
b.m("POST").h(headers).b(body);
|
|
1079
1239
|
return b.build();
|
|
1080
1240
|
}, "se_CreateSbomExportCommand");
|
|
1241
|
+
var se_DeleteCisScanConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1242
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1243
|
+
const headers = {
|
|
1244
|
+
"content-type": "application/json"
|
|
1245
|
+
};
|
|
1246
|
+
b.bp("/cis/scan-configuration/delete");
|
|
1247
|
+
let body;
|
|
1248
|
+
body = JSON.stringify(
|
|
1249
|
+
(0, import_smithy_client.take)(input, {
|
|
1250
|
+
scanConfigurationArn: []
|
|
1251
|
+
})
|
|
1252
|
+
);
|
|
1253
|
+
b.m("POST").h(headers).b(body);
|
|
1254
|
+
return b.build();
|
|
1255
|
+
}, "se_DeleteCisScanConfigurationCommand");
|
|
1081
1256
|
var se_DeleteFilterCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1082
1257
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1083
1258
|
const headers = {
|
|
@@ -1183,6 +1358,44 @@ var se_EnableDelegatedAdminAccountCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1183
1358
|
b.m("POST").h(headers).b(body);
|
|
1184
1359
|
return b.build();
|
|
1185
1360
|
}, "se_EnableDelegatedAdminAccountCommand");
|
|
1361
|
+
var se_GetCisScanReportCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1362
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1363
|
+
const headers = {
|
|
1364
|
+
"content-type": "application/json"
|
|
1365
|
+
};
|
|
1366
|
+
b.bp("/cis/scan/report/get");
|
|
1367
|
+
let body;
|
|
1368
|
+
body = JSON.stringify(
|
|
1369
|
+
(0, import_smithy_client.take)(input, {
|
|
1370
|
+
scanArn: [],
|
|
1371
|
+
targetAccounts: (_) => (0, import_smithy_client._json)(_)
|
|
1372
|
+
})
|
|
1373
|
+
);
|
|
1374
|
+
b.m("POST").h(headers).b(body);
|
|
1375
|
+
return b.build();
|
|
1376
|
+
}, "se_GetCisScanReportCommand");
|
|
1377
|
+
var se_GetCisScanResultDetailsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1378
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1379
|
+
const headers = {
|
|
1380
|
+
"content-type": "application/json"
|
|
1381
|
+
};
|
|
1382
|
+
b.bp("/cis/scan-result/details/get");
|
|
1383
|
+
let body;
|
|
1384
|
+
body = JSON.stringify(
|
|
1385
|
+
(0, import_smithy_client.take)(input, {
|
|
1386
|
+
accountId: [],
|
|
1387
|
+
filterCriteria: (_) => (0, import_smithy_client._json)(_),
|
|
1388
|
+
maxResults: [],
|
|
1389
|
+
nextToken: [],
|
|
1390
|
+
scanArn: [],
|
|
1391
|
+
sortBy: [],
|
|
1392
|
+
sortOrder: [],
|
|
1393
|
+
targetResourceId: []
|
|
1394
|
+
})
|
|
1395
|
+
);
|
|
1396
|
+
b.m("POST").h(headers).b(body);
|
|
1397
|
+
return b.build();
|
|
1398
|
+
}, "se_GetCisScanResultDetailsCommand");
|
|
1186
1399
|
var se_GetConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1187
1400
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1188
1401
|
const headers = {
|
|
@@ -1290,6 +1503,85 @@ var se_ListAccountPermissionsCommand = /* @__PURE__ */ __name(async (input, cont
|
|
|
1290
1503
|
b.m("POST").h(headers).b(body);
|
|
1291
1504
|
return b.build();
|
|
1292
1505
|
}, "se_ListAccountPermissionsCommand");
|
|
1506
|
+
var se_ListCisScanConfigurationsCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1507
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1508
|
+
const headers = {
|
|
1509
|
+
"content-type": "application/json"
|
|
1510
|
+
};
|
|
1511
|
+
b.bp("/cis/scan-configuration/list");
|
|
1512
|
+
let body;
|
|
1513
|
+
body = JSON.stringify(
|
|
1514
|
+
(0, import_smithy_client.take)(input, {
|
|
1515
|
+
filterCriteria: (_) => (0, import_smithy_client._json)(_),
|
|
1516
|
+
maxResults: [],
|
|
1517
|
+
nextToken: [],
|
|
1518
|
+
sortBy: [],
|
|
1519
|
+
sortOrder: []
|
|
1520
|
+
})
|
|
1521
|
+
);
|
|
1522
|
+
b.m("POST").h(headers).b(body);
|
|
1523
|
+
return b.build();
|
|
1524
|
+
}, "se_ListCisScanConfigurationsCommand");
|
|
1525
|
+
var se_ListCisScanResultsAggregatedByChecksCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1526
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1527
|
+
const headers = {
|
|
1528
|
+
"content-type": "application/json"
|
|
1529
|
+
};
|
|
1530
|
+
b.bp("/cis/scan-result/check/list");
|
|
1531
|
+
let body;
|
|
1532
|
+
body = JSON.stringify(
|
|
1533
|
+
(0, import_smithy_client.take)(input, {
|
|
1534
|
+
filterCriteria: (_) => (0, import_smithy_client._json)(_),
|
|
1535
|
+
maxResults: [],
|
|
1536
|
+
nextToken: [],
|
|
1537
|
+
scanArn: [],
|
|
1538
|
+
sortBy: [],
|
|
1539
|
+
sortOrder: []
|
|
1540
|
+
})
|
|
1541
|
+
);
|
|
1542
|
+
b.m("POST").h(headers).b(body);
|
|
1543
|
+
return b.build();
|
|
1544
|
+
}, "se_ListCisScanResultsAggregatedByChecksCommand");
|
|
1545
|
+
var se_ListCisScanResultsAggregatedByTargetResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1546
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1547
|
+
const headers = {
|
|
1548
|
+
"content-type": "application/json"
|
|
1549
|
+
};
|
|
1550
|
+
b.bp("/cis/scan-result/resource/list");
|
|
1551
|
+
let body;
|
|
1552
|
+
body = JSON.stringify(
|
|
1553
|
+
(0, import_smithy_client.take)(input, {
|
|
1554
|
+
filterCriteria: (_) => (0, import_smithy_client._json)(_),
|
|
1555
|
+
maxResults: [],
|
|
1556
|
+
nextToken: [],
|
|
1557
|
+
scanArn: [],
|
|
1558
|
+
sortBy: [],
|
|
1559
|
+
sortOrder: []
|
|
1560
|
+
})
|
|
1561
|
+
);
|
|
1562
|
+
b.m("POST").h(headers).b(body);
|
|
1563
|
+
return b.build();
|
|
1564
|
+
}, "se_ListCisScanResultsAggregatedByTargetResourceCommand");
|
|
1565
|
+
var se_ListCisScansCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1566
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1567
|
+
const headers = {
|
|
1568
|
+
"content-type": "application/json"
|
|
1569
|
+
};
|
|
1570
|
+
b.bp("/cis/scan/list");
|
|
1571
|
+
let body;
|
|
1572
|
+
body = JSON.stringify(
|
|
1573
|
+
(0, import_smithy_client.take)(input, {
|
|
1574
|
+
detailLevel: [],
|
|
1575
|
+
filterCriteria: (_) => se_ListCisScansFilterCriteria(_, context),
|
|
1576
|
+
maxResults: [],
|
|
1577
|
+
nextToken: [],
|
|
1578
|
+
sortBy: [],
|
|
1579
|
+
sortOrder: []
|
|
1580
|
+
})
|
|
1581
|
+
);
|
|
1582
|
+
b.m("POST").h(headers).b(body);
|
|
1583
|
+
return b.build();
|
|
1584
|
+
}, "se_ListCisScansCommand");
|
|
1293
1585
|
var se_ListCoverageCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1294
1586
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1295
1587
|
const headers = {
|
|
@@ -1470,6 +1762,72 @@ var se_SearchVulnerabilitiesCommand = /* @__PURE__ */ __name(async (input, conte
|
|
|
1470
1762
|
b.m("POST").h(headers).b(body);
|
|
1471
1763
|
return b.build();
|
|
1472
1764
|
}, "se_SearchVulnerabilitiesCommand");
|
|
1765
|
+
var se_SendCisSessionHealthCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1766
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1767
|
+
const headers = {
|
|
1768
|
+
"content-type": "application/json"
|
|
1769
|
+
};
|
|
1770
|
+
b.bp("/cissession/health/send");
|
|
1771
|
+
let body;
|
|
1772
|
+
body = JSON.stringify(
|
|
1773
|
+
(0, import_smithy_client.take)(input, {
|
|
1774
|
+
scanJobId: [],
|
|
1775
|
+
sessionToken: []
|
|
1776
|
+
})
|
|
1777
|
+
);
|
|
1778
|
+
b.m("PUT").h(headers).b(body);
|
|
1779
|
+
return b.build();
|
|
1780
|
+
}, "se_SendCisSessionHealthCommand");
|
|
1781
|
+
var se_SendCisSessionTelemetryCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1782
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1783
|
+
const headers = {
|
|
1784
|
+
"content-type": "application/json"
|
|
1785
|
+
};
|
|
1786
|
+
b.bp("/cissession/telemetry/send");
|
|
1787
|
+
let body;
|
|
1788
|
+
body = JSON.stringify(
|
|
1789
|
+
(0, import_smithy_client.take)(input, {
|
|
1790
|
+
messages: (_) => se_CisSessionMessages(_, context),
|
|
1791
|
+
scanJobId: [],
|
|
1792
|
+
sessionToken: []
|
|
1793
|
+
})
|
|
1794
|
+
);
|
|
1795
|
+
b.m("PUT").h(headers).b(body);
|
|
1796
|
+
return b.build();
|
|
1797
|
+
}, "se_SendCisSessionTelemetryCommand");
|
|
1798
|
+
var se_StartCisSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1799
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1800
|
+
const headers = {
|
|
1801
|
+
"content-type": "application/json"
|
|
1802
|
+
};
|
|
1803
|
+
b.bp("/cissession/start");
|
|
1804
|
+
let body;
|
|
1805
|
+
body = JSON.stringify(
|
|
1806
|
+
(0, import_smithy_client.take)(input, {
|
|
1807
|
+
message: (_) => (0, import_smithy_client._json)(_),
|
|
1808
|
+
scanJobId: []
|
|
1809
|
+
})
|
|
1810
|
+
);
|
|
1811
|
+
b.m("PUT").h(headers).b(body);
|
|
1812
|
+
return b.build();
|
|
1813
|
+
}, "se_StartCisSessionCommand");
|
|
1814
|
+
var se_StopCisSessionCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1815
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1816
|
+
const headers = {
|
|
1817
|
+
"content-type": "application/json"
|
|
1818
|
+
};
|
|
1819
|
+
b.bp("/cissession/stop");
|
|
1820
|
+
let body;
|
|
1821
|
+
body = JSON.stringify(
|
|
1822
|
+
(0, import_smithy_client.take)(input, {
|
|
1823
|
+
message: (_) => (0, import_smithy_client._json)(_),
|
|
1824
|
+
scanJobId: [],
|
|
1825
|
+
sessionToken: []
|
|
1826
|
+
})
|
|
1827
|
+
);
|
|
1828
|
+
b.m("PUT").h(headers).b(body);
|
|
1829
|
+
return b.build();
|
|
1830
|
+
}, "se_StopCisSessionCommand");
|
|
1473
1831
|
var se_TagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1474
1832
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1475
1833
|
const headers = {
|
|
@@ -1501,6 +1859,25 @@ var se_UntagResourceCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
|
1501
1859
|
b.m("DELETE").h(headers).q(query).b(body);
|
|
1502
1860
|
return b.build();
|
|
1503
1861
|
}, "se_UntagResourceCommand");
|
|
1862
|
+
var se_UpdateCisScanConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1863
|
+
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1864
|
+
const headers = {
|
|
1865
|
+
"content-type": "application/json"
|
|
1866
|
+
};
|
|
1867
|
+
b.bp("/cis/scan-configuration/update");
|
|
1868
|
+
let body;
|
|
1869
|
+
body = JSON.stringify(
|
|
1870
|
+
(0, import_smithy_client.take)(input, {
|
|
1871
|
+
scanConfigurationArn: [],
|
|
1872
|
+
scanName: [],
|
|
1873
|
+
schedule: (_) => (0, import_smithy_client._json)(_),
|
|
1874
|
+
securityLevel: [],
|
|
1875
|
+
targets: (_) => (0, import_smithy_client._json)(_)
|
|
1876
|
+
})
|
|
1877
|
+
);
|
|
1878
|
+
b.m("POST").h(headers).b(body);
|
|
1879
|
+
return b.build();
|
|
1880
|
+
}, "se_UpdateCisScanConfigurationCommand");
|
|
1504
1881
|
var se_UpdateConfigurationCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1505
1882
|
const b = (0, import_core2.requestBuilder)(input, context);
|
|
1506
1883
|
const headers = {
|
|
@@ -1992,21 +2369,21 @@ var de_CancelSbomExportCommandError = /* @__PURE__ */ __name(async (output, cont
|
|
|
1992
2369
|
});
|
|
1993
2370
|
}
|
|
1994
2371
|
}, "de_CancelSbomExportCommandError");
|
|
1995
|
-
var
|
|
2372
|
+
var de_CreateCisScanConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
1996
2373
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
1997
|
-
return
|
|
2374
|
+
return de_CreateCisScanConfigurationCommandError(output, context);
|
|
1998
2375
|
}
|
|
1999
2376
|
const contents = (0, import_smithy_client.map)({
|
|
2000
2377
|
$metadata: deserializeMetadata(output)
|
|
2001
2378
|
});
|
|
2002
2379
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2003
2380
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2004
|
-
|
|
2381
|
+
scanConfigurationArn: import_smithy_client.expectString
|
|
2005
2382
|
});
|
|
2006
2383
|
Object.assign(contents, doc);
|
|
2007
2384
|
return contents;
|
|
2008
|
-
}, "
|
|
2009
|
-
var
|
|
2385
|
+
}, "de_CreateCisScanConfigurationCommand");
|
|
2386
|
+
var de_CreateCisScanConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2010
2387
|
const parsedOutput = {
|
|
2011
2388
|
...output,
|
|
2012
2389
|
body: await parseErrorBody(output.body, context)
|
|
@@ -2016,15 +2393,9 @@ var de_CreateFilterCommandError = /* @__PURE__ */ __name(async (output, context)
|
|
|
2016
2393
|
case "AccessDeniedException":
|
|
2017
2394
|
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
2018
2395
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2019
|
-
case "BadRequestException":
|
|
2020
|
-
case "com.amazonaws.inspector2#BadRequestException":
|
|
2021
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2022
2396
|
case "InternalServerException":
|
|
2023
2397
|
case "com.amazonaws.inspector2#InternalServerException":
|
|
2024
2398
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2025
|
-
case "ServiceQuotaExceededException":
|
|
2026
|
-
case "com.amazonaws.inspector2#ServiceQuotaExceededException":
|
|
2027
|
-
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2028
2399
|
case "ThrottlingException":
|
|
2029
2400
|
case "com.amazonaws.inspector2#ThrottlingException":
|
|
2030
2401
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -2039,22 +2410,22 @@ var de_CreateFilterCommandError = /* @__PURE__ */ __name(async (output, context)
|
|
|
2039
2410
|
errorCode
|
|
2040
2411
|
});
|
|
2041
2412
|
}
|
|
2042
|
-
}, "
|
|
2043
|
-
var
|
|
2413
|
+
}, "de_CreateCisScanConfigurationCommandError");
|
|
2414
|
+
var de_CreateFilterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2044
2415
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2045
|
-
return
|
|
2416
|
+
return de_CreateFilterCommandError(output, context);
|
|
2046
2417
|
}
|
|
2047
2418
|
const contents = (0, import_smithy_client.map)({
|
|
2048
2419
|
$metadata: deserializeMetadata(output)
|
|
2049
2420
|
});
|
|
2050
2421
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2051
2422
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2052
|
-
|
|
2423
|
+
arn: import_smithy_client.expectString
|
|
2053
2424
|
});
|
|
2054
2425
|
Object.assign(contents, doc);
|
|
2055
2426
|
return contents;
|
|
2056
|
-
}, "
|
|
2057
|
-
var
|
|
2427
|
+
}, "de_CreateFilterCommand");
|
|
2428
|
+
var de_CreateFilterCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2058
2429
|
const parsedOutput = {
|
|
2059
2430
|
...output,
|
|
2060
2431
|
body: await parseErrorBody(output.body, context)
|
|
@@ -2064,10 +2435,58 @@ var de_CreateFindingsReportCommandError = /* @__PURE__ */ __name(async (output,
|
|
|
2064
2435
|
case "AccessDeniedException":
|
|
2065
2436
|
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
2066
2437
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2438
|
+
case "BadRequestException":
|
|
2439
|
+
case "com.amazonaws.inspector2#BadRequestException":
|
|
2440
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
2067
2441
|
case "InternalServerException":
|
|
2068
2442
|
case "com.amazonaws.inspector2#InternalServerException":
|
|
2069
2443
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2070
|
-
case "
|
|
2444
|
+
case "ServiceQuotaExceededException":
|
|
2445
|
+
case "com.amazonaws.inspector2#ServiceQuotaExceededException":
|
|
2446
|
+
throw await de_ServiceQuotaExceededExceptionRes(parsedOutput, context);
|
|
2447
|
+
case "ThrottlingException":
|
|
2448
|
+
case "com.amazonaws.inspector2#ThrottlingException":
|
|
2449
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2450
|
+
case "ValidationException":
|
|
2451
|
+
case "com.amazonaws.inspector2#ValidationException":
|
|
2452
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2453
|
+
default:
|
|
2454
|
+
const parsedBody = parsedOutput.body;
|
|
2455
|
+
return throwDefaultError({
|
|
2456
|
+
output,
|
|
2457
|
+
parsedBody,
|
|
2458
|
+
errorCode
|
|
2459
|
+
});
|
|
2460
|
+
}
|
|
2461
|
+
}, "de_CreateFilterCommandError");
|
|
2462
|
+
var de_CreateFindingsReportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2463
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2464
|
+
return de_CreateFindingsReportCommandError(output, context);
|
|
2465
|
+
}
|
|
2466
|
+
const contents = (0, import_smithy_client.map)({
|
|
2467
|
+
$metadata: deserializeMetadata(output)
|
|
2468
|
+
});
|
|
2469
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2470
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2471
|
+
reportId: import_smithy_client.expectString
|
|
2472
|
+
});
|
|
2473
|
+
Object.assign(contents, doc);
|
|
2474
|
+
return contents;
|
|
2475
|
+
}, "de_CreateFindingsReportCommand");
|
|
2476
|
+
var de_CreateFindingsReportCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2477
|
+
const parsedOutput = {
|
|
2478
|
+
...output,
|
|
2479
|
+
body: await parseErrorBody(output.body, context)
|
|
2480
|
+
};
|
|
2481
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2482
|
+
switch (errorCode) {
|
|
2483
|
+
case "AccessDeniedException":
|
|
2484
|
+
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
2485
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2486
|
+
case "InternalServerException":
|
|
2487
|
+
case "com.amazonaws.inspector2#InternalServerException":
|
|
2488
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2489
|
+
case "ResourceNotFoundException":
|
|
2071
2490
|
case "com.amazonaws.inspector2#ResourceNotFoundException":
|
|
2072
2491
|
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2073
2492
|
case "ThrottlingException":
|
|
@@ -2130,6 +2549,51 @@ var de_CreateSbomExportCommandError = /* @__PURE__ */ __name(async (output, cont
|
|
|
2130
2549
|
});
|
|
2131
2550
|
}
|
|
2132
2551
|
}, "de_CreateSbomExportCommandError");
|
|
2552
|
+
var de_DeleteCisScanConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2553
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2554
|
+
return de_DeleteCisScanConfigurationCommandError(output, context);
|
|
2555
|
+
}
|
|
2556
|
+
const contents = (0, import_smithy_client.map)({
|
|
2557
|
+
$metadata: deserializeMetadata(output)
|
|
2558
|
+
});
|
|
2559
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2560
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2561
|
+
scanConfigurationArn: import_smithy_client.expectString
|
|
2562
|
+
});
|
|
2563
|
+
Object.assign(contents, doc);
|
|
2564
|
+
return contents;
|
|
2565
|
+
}, "de_DeleteCisScanConfigurationCommand");
|
|
2566
|
+
var de_DeleteCisScanConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2567
|
+
const parsedOutput = {
|
|
2568
|
+
...output,
|
|
2569
|
+
body: await parseErrorBody(output.body, context)
|
|
2570
|
+
};
|
|
2571
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2572
|
+
switch (errorCode) {
|
|
2573
|
+
case "AccessDeniedException":
|
|
2574
|
+
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
2575
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2576
|
+
case "InternalServerException":
|
|
2577
|
+
case "com.amazonaws.inspector2#InternalServerException":
|
|
2578
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2579
|
+
case "ResourceNotFoundException":
|
|
2580
|
+
case "com.amazonaws.inspector2#ResourceNotFoundException":
|
|
2581
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
2582
|
+
case "ThrottlingException":
|
|
2583
|
+
case "com.amazonaws.inspector2#ThrottlingException":
|
|
2584
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2585
|
+
case "ValidationException":
|
|
2586
|
+
case "com.amazonaws.inspector2#ValidationException":
|
|
2587
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2588
|
+
default:
|
|
2589
|
+
const parsedBody = parsedOutput.body;
|
|
2590
|
+
return throwDefaultError({
|
|
2591
|
+
output,
|
|
2592
|
+
parsedBody,
|
|
2593
|
+
errorCode
|
|
2594
|
+
});
|
|
2595
|
+
}
|
|
2596
|
+
}, "de_DeleteCisScanConfigurationCommandError");
|
|
2133
2597
|
var de_DeleteFilterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2134
2598
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2135
2599
|
return de_DeleteFilterCommandError(output, context);
|
|
@@ -2448,6 +2912,92 @@ var de_EnableDelegatedAdminAccountCommandError = /* @__PURE__ */ __name(async (o
|
|
|
2448
2912
|
});
|
|
2449
2913
|
}
|
|
2450
2914
|
}, "de_EnableDelegatedAdminAccountCommandError");
|
|
2915
|
+
var de_GetCisScanReportCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2916
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2917
|
+
return de_GetCisScanReportCommandError(output, context);
|
|
2918
|
+
}
|
|
2919
|
+
const contents = (0, import_smithy_client.map)({
|
|
2920
|
+
$metadata: deserializeMetadata(output)
|
|
2921
|
+
});
|
|
2922
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2923
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2924
|
+
status: import_smithy_client.expectString,
|
|
2925
|
+
url: import_smithy_client.expectString
|
|
2926
|
+
});
|
|
2927
|
+
Object.assign(contents, doc);
|
|
2928
|
+
return contents;
|
|
2929
|
+
}, "de_GetCisScanReportCommand");
|
|
2930
|
+
var de_GetCisScanReportCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2931
|
+
const parsedOutput = {
|
|
2932
|
+
...output,
|
|
2933
|
+
body: await parseErrorBody(output.body, context)
|
|
2934
|
+
};
|
|
2935
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2936
|
+
switch (errorCode) {
|
|
2937
|
+
case "AccessDeniedException":
|
|
2938
|
+
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
2939
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2940
|
+
case "InternalServerException":
|
|
2941
|
+
case "com.amazonaws.inspector2#InternalServerException":
|
|
2942
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2943
|
+
case "ThrottlingException":
|
|
2944
|
+
case "com.amazonaws.inspector2#ThrottlingException":
|
|
2945
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2946
|
+
case "ValidationException":
|
|
2947
|
+
case "com.amazonaws.inspector2#ValidationException":
|
|
2948
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2949
|
+
default:
|
|
2950
|
+
const parsedBody = parsedOutput.body;
|
|
2951
|
+
return throwDefaultError({
|
|
2952
|
+
output,
|
|
2953
|
+
parsedBody,
|
|
2954
|
+
errorCode
|
|
2955
|
+
});
|
|
2956
|
+
}
|
|
2957
|
+
}, "de_GetCisScanReportCommandError");
|
|
2958
|
+
var de_GetCisScanResultDetailsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2959
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2960
|
+
return de_GetCisScanResultDetailsCommandError(output, context);
|
|
2961
|
+
}
|
|
2962
|
+
const contents = (0, import_smithy_client.map)({
|
|
2963
|
+
$metadata: deserializeMetadata(output)
|
|
2964
|
+
});
|
|
2965
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2966
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
2967
|
+
nextToken: import_smithy_client.expectString,
|
|
2968
|
+
scanResultDetails: import_smithy_client._json
|
|
2969
|
+
});
|
|
2970
|
+
Object.assign(contents, doc);
|
|
2971
|
+
return contents;
|
|
2972
|
+
}, "de_GetCisScanResultDetailsCommand");
|
|
2973
|
+
var de_GetCisScanResultDetailsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2974
|
+
const parsedOutput = {
|
|
2975
|
+
...output,
|
|
2976
|
+
body: await parseErrorBody(output.body, context)
|
|
2977
|
+
};
|
|
2978
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2979
|
+
switch (errorCode) {
|
|
2980
|
+
case "AccessDeniedException":
|
|
2981
|
+
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
2982
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2983
|
+
case "InternalServerException":
|
|
2984
|
+
case "com.amazonaws.inspector2#InternalServerException":
|
|
2985
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
2986
|
+
case "ThrottlingException":
|
|
2987
|
+
case "com.amazonaws.inspector2#ThrottlingException":
|
|
2988
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
2989
|
+
case "ValidationException":
|
|
2990
|
+
case "com.amazonaws.inspector2#ValidationException":
|
|
2991
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
2992
|
+
default:
|
|
2993
|
+
const parsedBody = parsedOutput.body;
|
|
2994
|
+
return throwDefaultError({
|
|
2995
|
+
output,
|
|
2996
|
+
parsedBody,
|
|
2997
|
+
errorCode
|
|
2998
|
+
});
|
|
2999
|
+
}
|
|
3000
|
+
}, "de_GetCisScanResultDetailsCommandError");
|
|
2451
3001
|
var de_GetConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2452
3002
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2453
3003
|
return de_GetConfigurationCommandError(output, context);
|
|
@@ -2811,28 +3361,31 @@ var de_ListAccountPermissionsCommandError = /* @__PURE__ */ __name(async (output
|
|
|
2811
3361
|
});
|
|
2812
3362
|
}
|
|
2813
3363
|
}, "de_ListAccountPermissionsCommandError");
|
|
2814
|
-
var
|
|
3364
|
+
var de_ListCisScanConfigurationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2815
3365
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2816
|
-
return
|
|
3366
|
+
return de_ListCisScanConfigurationsCommandError(output, context);
|
|
2817
3367
|
}
|
|
2818
3368
|
const contents = (0, import_smithy_client.map)({
|
|
2819
3369
|
$metadata: deserializeMetadata(output)
|
|
2820
3370
|
});
|
|
2821
3371
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2822
3372
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2823
|
-
|
|
2824
|
-
|
|
3373
|
+
nextToken: import_smithy_client.expectString,
|
|
3374
|
+
scanConfigurations: import_smithy_client._json
|
|
2825
3375
|
});
|
|
2826
3376
|
Object.assign(contents, doc);
|
|
2827
3377
|
return contents;
|
|
2828
|
-
}, "
|
|
2829
|
-
var
|
|
3378
|
+
}, "de_ListCisScanConfigurationsCommand");
|
|
3379
|
+
var de_ListCisScanConfigurationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2830
3380
|
const parsedOutput = {
|
|
2831
3381
|
...output,
|
|
2832
3382
|
body: await parseErrorBody(output.body, context)
|
|
2833
3383
|
};
|
|
2834
3384
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2835
3385
|
switch (errorCode) {
|
|
3386
|
+
case "AccessDeniedException":
|
|
3387
|
+
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
3388
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2836
3389
|
case "InternalServerException":
|
|
2837
3390
|
case "com.amazonaws.inspector2#InternalServerException":
|
|
2838
3391
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -2850,30 +3403,32 @@ var de_ListCoverageCommandError = /* @__PURE__ */ __name(async (output, context)
|
|
|
2850
3403
|
errorCode
|
|
2851
3404
|
});
|
|
2852
3405
|
}
|
|
2853
|
-
}, "
|
|
2854
|
-
var
|
|
3406
|
+
}, "de_ListCisScanConfigurationsCommandError");
|
|
3407
|
+
var de_ListCisScanResultsAggregatedByChecksCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2855
3408
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2856
|
-
return
|
|
3409
|
+
return de_ListCisScanResultsAggregatedByChecksCommandError(output, context);
|
|
2857
3410
|
}
|
|
2858
3411
|
const contents = (0, import_smithy_client.map)({
|
|
2859
3412
|
$metadata: deserializeMetadata(output)
|
|
2860
3413
|
});
|
|
2861
3414
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2862
3415
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2863
|
-
|
|
2864
|
-
nextToken: import_smithy_client.expectString
|
|
2865
|
-
totalCounts: import_smithy_client.expectLong
|
|
3416
|
+
checkAggregations: import_smithy_client._json,
|
|
3417
|
+
nextToken: import_smithy_client.expectString
|
|
2866
3418
|
});
|
|
2867
3419
|
Object.assign(contents, doc);
|
|
2868
3420
|
return contents;
|
|
2869
|
-
}, "
|
|
2870
|
-
var
|
|
3421
|
+
}, "de_ListCisScanResultsAggregatedByChecksCommand");
|
|
3422
|
+
var de_ListCisScanResultsAggregatedByChecksCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2871
3423
|
const parsedOutput = {
|
|
2872
3424
|
...output,
|
|
2873
3425
|
body: await parseErrorBody(output.body, context)
|
|
2874
3426
|
};
|
|
2875
3427
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2876
3428
|
switch (errorCode) {
|
|
3429
|
+
case "AccessDeniedException":
|
|
3430
|
+
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
3431
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
2877
3432
|
case "InternalServerException":
|
|
2878
3433
|
case "com.amazonaws.inspector2#InternalServerException":
|
|
2879
3434
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -2891,23 +3446,23 @@ var de_ListCoverageStatisticsCommandError = /* @__PURE__ */ __name(async (output
|
|
|
2891
3446
|
errorCode
|
|
2892
3447
|
});
|
|
2893
3448
|
}
|
|
2894
|
-
}, "
|
|
2895
|
-
var
|
|
3449
|
+
}, "de_ListCisScanResultsAggregatedByChecksCommandError");
|
|
3450
|
+
var de_ListCisScanResultsAggregatedByTargetResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2896
3451
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2897
|
-
return
|
|
3452
|
+
return de_ListCisScanResultsAggregatedByTargetResourceCommandError(output, context);
|
|
2898
3453
|
}
|
|
2899
3454
|
const contents = (0, import_smithy_client.map)({
|
|
2900
3455
|
$metadata: deserializeMetadata(output)
|
|
2901
3456
|
});
|
|
2902
3457
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2903
3458
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2904
|
-
|
|
2905
|
-
|
|
3459
|
+
nextToken: import_smithy_client.expectString,
|
|
3460
|
+
targetResourceAggregations: import_smithy_client._json
|
|
2906
3461
|
});
|
|
2907
3462
|
Object.assign(contents, doc);
|
|
2908
3463
|
return contents;
|
|
2909
|
-
}, "
|
|
2910
|
-
var
|
|
3464
|
+
}, "de_ListCisScanResultsAggregatedByTargetResourceCommand");
|
|
3465
|
+
var de_ListCisScanResultsAggregatedByTargetResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2911
3466
|
const parsedOutput = {
|
|
2912
3467
|
...output,
|
|
2913
3468
|
body: await parseErrorBody(output.body, context)
|
|
@@ -2934,23 +3489,23 @@ var de_ListDelegatedAdminAccountsCommandError = /* @__PURE__ */ __name(async (ou
|
|
|
2934
3489
|
errorCode
|
|
2935
3490
|
});
|
|
2936
3491
|
}
|
|
2937
|
-
}, "
|
|
2938
|
-
var
|
|
3492
|
+
}, "de_ListCisScanResultsAggregatedByTargetResourceCommandError");
|
|
3493
|
+
var de_ListCisScansCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2939
3494
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2940
|
-
return
|
|
3495
|
+
return de_ListCisScansCommandError(output, context);
|
|
2941
3496
|
}
|
|
2942
3497
|
const contents = (0, import_smithy_client.map)({
|
|
2943
3498
|
$metadata: deserializeMetadata(output)
|
|
2944
3499
|
});
|
|
2945
3500
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2946
3501
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2947
|
-
|
|
2948
|
-
|
|
3502
|
+
nextToken: import_smithy_client.expectString,
|
|
3503
|
+
scans: (_) => de_CisScanList(_, context)
|
|
2949
3504
|
});
|
|
2950
3505
|
Object.assign(contents, doc);
|
|
2951
3506
|
return contents;
|
|
2952
|
-
}, "
|
|
2953
|
-
var
|
|
3507
|
+
}, "de_ListCisScansCommand");
|
|
3508
|
+
var de_ListCisScansCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2954
3509
|
const parsedOutput = {
|
|
2955
3510
|
...output,
|
|
2956
3511
|
body: await parseErrorBody(output.body, context)
|
|
@@ -2977,24 +3532,23 @@ var de_ListFiltersCommandError = /* @__PURE__ */ __name(async (output, context)
|
|
|
2977
3532
|
errorCode
|
|
2978
3533
|
});
|
|
2979
3534
|
}
|
|
2980
|
-
}, "
|
|
2981
|
-
var
|
|
3535
|
+
}, "de_ListCisScansCommandError");
|
|
3536
|
+
var de_ListCoverageCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2982
3537
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
2983
|
-
return
|
|
3538
|
+
return de_ListCoverageCommandError(output, context);
|
|
2984
3539
|
}
|
|
2985
3540
|
const contents = (0, import_smithy_client.map)({
|
|
2986
3541
|
$metadata: deserializeMetadata(output)
|
|
2987
3542
|
});
|
|
2988
3543
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
2989
3544
|
const doc = (0, import_smithy_client.take)(data, {
|
|
2990
|
-
|
|
2991
|
-
nextToken: import_smithy_client.expectString
|
|
2992
|
-
responses: (_) => de_AggregationResponseList(_, context)
|
|
3545
|
+
coveredResources: (_) => de_CoveredResources(_, context),
|
|
3546
|
+
nextToken: import_smithy_client.expectString
|
|
2993
3547
|
});
|
|
2994
3548
|
Object.assign(contents, doc);
|
|
2995
3549
|
return contents;
|
|
2996
|
-
}, "
|
|
2997
|
-
var
|
|
3550
|
+
}, "de_ListCoverageCommand");
|
|
3551
|
+
var de_ListCoverageCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
2998
3552
|
const parsedOutput = {
|
|
2999
3553
|
...output,
|
|
3000
3554
|
body: await parseErrorBody(output.body, context)
|
|
@@ -3018,23 +3572,24 @@ var de_ListFindingAggregationsCommandError = /* @__PURE__ */ __name(async (outpu
|
|
|
3018
3572
|
errorCode
|
|
3019
3573
|
});
|
|
3020
3574
|
}
|
|
3021
|
-
}, "
|
|
3022
|
-
var
|
|
3575
|
+
}, "de_ListCoverageCommandError");
|
|
3576
|
+
var de_ListCoverageStatisticsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3023
3577
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3024
|
-
return
|
|
3578
|
+
return de_ListCoverageStatisticsCommandError(output, context);
|
|
3025
3579
|
}
|
|
3026
3580
|
const contents = (0, import_smithy_client.map)({
|
|
3027
3581
|
$metadata: deserializeMetadata(output)
|
|
3028
3582
|
});
|
|
3029
3583
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3030
3584
|
const doc = (0, import_smithy_client.take)(data, {
|
|
3031
|
-
|
|
3032
|
-
nextToken: import_smithy_client.expectString
|
|
3585
|
+
countsByGroup: import_smithy_client._json,
|
|
3586
|
+
nextToken: import_smithy_client.expectString,
|
|
3587
|
+
totalCounts: import_smithy_client.expectLong
|
|
3033
3588
|
});
|
|
3034
3589
|
Object.assign(contents, doc);
|
|
3035
3590
|
return contents;
|
|
3036
|
-
}, "
|
|
3037
|
-
var
|
|
3591
|
+
}, "de_ListCoverageStatisticsCommand");
|
|
3592
|
+
var de_ListCoverageStatisticsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3038
3593
|
const parsedOutput = {
|
|
3039
3594
|
...output,
|
|
3040
3595
|
body: await parseErrorBody(output.body, context)
|
|
@@ -3058,23 +3613,23 @@ var de_ListFindingsCommandError = /* @__PURE__ */ __name(async (output, context)
|
|
|
3058
3613
|
errorCode
|
|
3059
3614
|
});
|
|
3060
3615
|
}
|
|
3061
|
-
}, "
|
|
3062
|
-
var
|
|
3616
|
+
}, "de_ListCoverageStatisticsCommandError");
|
|
3617
|
+
var de_ListDelegatedAdminAccountsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3063
3618
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3064
|
-
return
|
|
3619
|
+
return de_ListDelegatedAdminAccountsCommandError(output, context);
|
|
3065
3620
|
}
|
|
3066
3621
|
const contents = (0, import_smithy_client.map)({
|
|
3067
3622
|
$metadata: deserializeMetadata(output)
|
|
3068
3623
|
});
|
|
3069
3624
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3070
3625
|
const doc = (0, import_smithy_client.take)(data, {
|
|
3071
|
-
|
|
3626
|
+
delegatedAdminAccounts: import_smithy_client._json,
|
|
3072
3627
|
nextToken: import_smithy_client.expectString
|
|
3073
3628
|
});
|
|
3074
3629
|
Object.assign(contents, doc);
|
|
3075
3630
|
return contents;
|
|
3076
|
-
}, "
|
|
3077
|
-
var
|
|
3631
|
+
}, "de_ListDelegatedAdminAccountsCommand");
|
|
3632
|
+
var de_ListDelegatedAdminAccountsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3078
3633
|
const parsedOutput = {
|
|
3079
3634
|
...output,
|
|
3080
3635
|
body: await parseErrorBody(output.body, context)
|
|
@@ -3101,34 +3656,35 @@ var de_ListMembersCommandError = /* @__PURE__ */ __name(async (output, context)
|
|
|
3101
3656
|
errorCode
|
|
3102
3657
|
});
|
|
3103
3658
|
}
|
|
3104
|
-
}, "
|
|
3105
|
-
var
|
|
3659
|
+
}, "de_ListDelegatedAdminAccountsCommandError");
|
|
3660
|
+
var de_ListFiltersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3106
3661
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3107
|
-
return
|
|
3662
|
+
return de_ListFiltersCommandError(output, context);
|
|
3108
3663
|
}
|
|
3109
3664
|
const contents = (0, import_smithy_client.map)({
|
|
3110
3665
|
$metadata: deserializeMetadata(output)
|
|
3111
3666
|
});
|
|
3112
3667
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3113
3668
|
const doc = (0, import_smithy_client.take)(data, {
|
|
3114
|
-
|
|
3669
|
+
filters: (_) => de_FilterList(_, context),
|
|
3670
|
+
nextToken: import_smithy_client.expectString
|
|
3115
3671
|
});
|
|
3116
3672
|
Object.assign(contents, doc);
|
|
3117
3673
|
return contents;
|
|
3118
|
-
}, "
|
|
3119
|
-
var
|
|
3674
|
+
}, "de_ListFiltersCommand");
|
|
3675
|
+
var de_ListFiltersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3120
3676
|
const parsedOutput = {
|
|
3121
3677
|
...output,
|
|
3122
3678
|
body: await parseErrorBody(output.body, context)
|
|
3123
3679
|
};
|
|
3124
3680
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3125
3681
|
switch (errorCode) {
|
|
3682
|
+
case "AccessDeniedException":
|
|
3683
|
+
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
3684
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3126
3685
|
case "InternalServerException":
|
|
3127
3686
|
case "com.amazonaws.inspector2#InternalServerException":
|
|
3128
3687
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3129
|
-
case "ResourceNotFoundException":
|
|
3130
|
-
case "com.amazonaws.inspector2#ResourceNotFoundException":
|
|
3131
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3132
3688
|
case "ThrottlingException":
|
|
3133
3689
|
case "com.amazonaws.inspector2#ThrottlingException":
|
|
3134
3690
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -3143,32 +3699,30 @@ var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, c
|
|
|
3143
3699
|
errorCode
|
|
3144
3700
|
});
|
|
3145
3701
|
}
|
|
3146
|
-
}, "
|
|
3147
|
-
var
|
|
3702
|
+
}, "de_ListFiltersCommandError");
|
|
3703
|
+
var de_ListFindingAggregationsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3148
3704
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3149
|
-
return
|
|
3705
|
+
return de_ListFindingAggregationsCommandError(output, context);
|
|
3150
3706
|
}
|
|
3151
3707
|
const contents = (0, import_smithy_client.map)({
|
|
3152
3708
|
$metadata: deserializeMetadata(output)
|
|
3153
3709
|
});
|
|
3154
3710
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3155
3711
|
const doc = (0, import_smithy_client.take)(data, {
|
|
3712
|
+
aggregationType: import_smithy_client.expectString,
|
|
3156
3713
|
nextToken: import_smithy_client.expectString,
|
|
3157
|
-
|
|
3714
|
+
responses: (_) => de_AggregationResponseList(_, context)
|
|
3158
3715
|
});
|
|
3159
3716
|
Object.assign(contents, doc);
|
|
3160
3717
|
return contents;
|
|
3161
|
-
}, "
|
|
3162
|
-
var
|
|
3718
|
+
}, "de_ListFindingAggregationsCommand");
|
|
3719
|
+
var de_ListFindingAggregationsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3163
3720
|
const parsedOutput = {
|
|
3164
3721
|
...output,
|
|
3165
3722
|
body: await parseErrorBody(output.body, context)
|
|
3166
3723
|
};
|
|
3167
3724
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3168
3725
|
switch (errorCode) {
|
|
3169
|
-
case "AccessDeniedException":
|
|
3170
|
-
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
3171
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3172
3726
|
case "InternalServerException":
|
|
3173
3727
|
case "com.amazonaws.inspector2#InternalServerException":
|
|
3174
3728
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -3186,33 +3740,32 @@ var de_ListUsageTotalsCommandError = /* @__PURE__ */ __name(async (output, conte
|
|
|
3186
3740
|
errorCode
|
|
3187
3741
|
});
|
|
3188
3742
|
}
|
|
3189
|
-
}, "
|
|
3190
|
-
var
|
|
3743
|
+
}, "de_ListFindingAggregationsCommandError");
|
|
3744
|
+
var de_ListFindingsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3191
3745
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3192
|
-
return
|
|
3746
|
+
return de_ListFindingsCommandError(output, context);
|
|
3193
3747
|
}
|
|
3194
3748
|
const contents = (0, import_smithy_client.map)({
|
|
3195
3749
|
$metadata: deserializeMetadata(output)
|
|
3196
3750
|
});
|
|
3197
|
-
|
|
3751
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3752
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3753
|
+
findings: (_) => de_FindingList(_, context),
|
|
3754
|
+
nextToken: import_smithy_client.expectString
|
|
3755
|
+
});
|
|
3756
|
+
Object.assign(contents, doc);
|
|
3198
3757
|
return contents;
|
|
3199
|
-
}, "
|
|
3200
|
-
var
|
|
3758
|
+
}, "de_ListFindingsCommand");
|
|
3759
|
+
var de_ListFindingsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3201
3760
|
const parsedOutput = {
|
|
3202
3761
|
...output,
|
|
3203
3762
|
body: await parseErrorBody(output.body, context)
|
|
3204
3763
|
};
|
|
3205
3764
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3206
3765
|
switch (errorCode) {
|
|
3207
|
-
case "AccessDeniedException":
|
|
3208
|
-
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
3209
|
-
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3210
3766
|
case "InternalServerException":
|
|
3211
3767
|
case "com.amazonaws.inspector2#InternalServerException":
|
|
3212
3768
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3213
|
-
case "ResourceNotFoundException":
|
|
3214
|
-
case "com.amazonaws.inspector2#ResourceNotFoundException":
|
|
3215
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3216
3769
|
case "ThrottlingException":
|
|
3217
3770
|
case "com.amazonaws.inspector2#ThrottlingException":
|
|
3218
3771
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -3227,23 +3780,23 @@ var de_ResetEncryptionKeyCommandError = /* @__PURE__ */ __name(async (output, co
|
|
|
3227
3780
|
errorCode
|
|
3228
3781
|
});
|
|
3229
3782
|
}
|
|
3230
|
-
}, "
|
|
3231
|
-
var
|
|
3783
|
+
}, "de_ListFindingsCommandError");
|
|
3784
|
+
var de_ListMembersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3232
3785
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3233
|
-
return
|
|
3786
|
+
return de_ListMembersCommandError(output, context);
|
|
3234
3787
|
}
|
|
3235
3788
|
const contents = (0, import_smithy_client.map)({
|
|
3236
3789
|
$metadata: deserializeMetadata(output)
|
|
3237
3790
|
});
|
|
3238
3791
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3239
3792
|
const doc = (0, import_smithy_client.take)(data, {
|
|
3240
|
-
|
|
3241
|
-
|
|
3793
|
+
members: (_) => de_MemberList(_, context),
|
|
3794
|
+
nextToken: import_smithy_client.expectString
|
|
3242
3795
|
});
|
|
3243
3796
|
Object.assign(contents, doc);
|
|
3244
3797
|
return contents;
|
|
3245
|
-
}, "
|
|
3246
|
-
var
|
|
3798
|
+
}, "de_ListMembersCommand");
|
|
3799
|
+
var de_ListMembersCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3247
3800
|
const parsedOutput = {
|
|
3248
3801
|
...output,
|
|
3249
3802
|
body: await parseErrorBody(output.body, context)
|
|
@@ -3270,27 +3823,28 @@ var de_SearchVulnerabilitiesCommandError = /* @__PURE__ */ __name(async (output,
|
|
|
3270
3823
|
errorCode
|
|
3271
3824
|
});
|
|
3272
3825
|
}
|
|
3273
|
-
}, "
|
|
3274
|
-
var
|
|
3826
|
+
}, "de_ListMembersCommandError");
|
|
3827
|
+
var de_ListTagsForResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3275
3828
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3276
|
-
return
|
|
3829
|
+
return de_ListTagsForResourceCommandError(output, context);
|
|
3277
3830
|
}
|
|
3278
3831
|
const contents = (0, import_smithy_client.map)({
|
|
3279
3832
|
$metadata: deserializeMetadata(output)
|
|
3280
3833
|
});
|
|
3281
|
-
|
|
3834
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3835
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3836
|
+
tags: import_smithy_client._json
|
|
3837
|
+
});
|
|
3838
|
+
Object.assign(contents, doc);
|
|
3282
3839
|
return contents;
|
|
3283
|
-
}, "
|
|
3284
|
-
var
|
|
3840
|
+
}, "de_ListTagsForResourceCommand");
|
|
3841
|
+
var de_ListTagsForResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3285
3842
|
const parsedOutput = {
|
|
3286
3843
|
...output,
|
|
3287
3844
|
body: await parseErrorBody(output.body, context)
|
|
3288
3845
|
};
|
|
3289
3846
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3290
3847
|
switch (errorCode) {
|
|
3291
|
-
case "BadRequestException":
|
|
3292
|
-
case "com.amazonaws.inspector2#BadRequestException":
|
|
3293
|
-
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
3294
3848
|
case "InternalServerException":
|
|
3295
3849
|
case "com.amazonaws.inspector2#InternalServerException":
|
|
3296
3850
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -3311,30 +3865,35 @@ var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context)
|
|
|
3311
3865
|
errorCode
|
|
3312
3866
|
});
|
|
3313
3867
|
}
|
|
3314
|
-
}, "
|
|
3315
|
-
var
|
|
3868
|
+
}, "de_ListTagsForResourceCommandError");
|
|
3869
|
+
var de_ListUsageTotalsCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3316
3870
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3317
|
-
return
|
|
3871
|
+
return de_ListUsageTotalsCommandError(output, context);
|
|
3318
3872
|
}
|
|
3319
3873
|
const contents = (0, import_smithy_client.map)({
|
|
3320
3874
|
$metadata: deserializeMetadata(output)
|
|
3321
3875
|
});
|
|
3322
|
-
|
|
3876
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3877
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
3878
|
+
nextToken: import_smithy_client.expectString,
|
|
3879
|
+
totals: (_) => de_UsageTotalList(_, context)
|
|
3880
|
+
});
|
|
3881
|
+
Object.assign(contents, doc);
|
|
3323
3882
|
return contents;
|
|
3324
|
-
}, "
|
|
3325
|
-
var
|
|
3883
|
+
}, "de_ListUsageTotalsCommand");
|
|
3884
|
+
var de_ListUsageTotalsCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3326
3885
|
const parsedOutput = {
|
|
3327
3886
|
...output,
|
|
3328
3887
|
body: await parseErrorBody(output.body, context)
|
|
3329
3888
|
};
|
|
3330
3889
|
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
3331
3890
|
switch (errorCode) {
|
|
3891
|
+
case "AccessDeniedException":
|
|
3892
|
+
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
3893
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
3332
3894
|
case "InternalServerException":
|
|
3333
3895
|
case "com.amazonaws.inspector2#InternalServerException":
|
|
3334
3896
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3335
|
-
case "ResourceNotFoundException":
|
|
3336
|
-
case "com.amazonaws.inspector2#ResourceNotFoundException":
|
|
3337
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3338
3897
|
case "ThrottlingException":
|
|
3339
3898
|
case "com.amazonaws.inspector2#ThrottlingException":
|
|
3340
3899
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -3349,18 +3908,18 @@ var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context
|
|
|
3349
3908
|
errorCode
|
|
3350
3909
|
});
|
|
3351
3910
|
}
|
|
3352
|
-
}, "
|
|
3353
|
-
var
|
|
3911
|
+
}, "de_ListUsageTotalsCommandError");
|
|
3912
|
+
var de_ResetEncryptionKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3354
3913
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3355
|
-
return
|
|
3914
|
+
return de_ResetEncryptionKeyCommandError(output, context);
|
|
3356
3915
|
}
|
|
3357
3916
|
const contents = (0, import_smithy_client.map)({
|
|
3358
3917
|
$metadata: deserializeMetadata(output)
|
|
3359
3918
|
});
|
|
3360
3919
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3361
3920
|
return contents;
|
|
3362
|
-
}, "
|
|
3363
|
-
var
|
|
3921
|
+
}, "de_ResetEncryptionKeyCommand");
|
|
3922
|
+
var de_ResetEncryptionKeyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3364
3923
|
const parsedOutput = {
|
|
3365
3924
|
...output,
|
|
3366
3925
|
body: await parseErrorBody(output.body, context)
|
|
@@ -3373,6 +3932,9 @@ var de_UpdateConfigurationCommandError = /* @__PURE__ */ __name(async (output, c
|
|
|
3373
3932
|
case "InternalServerException":
|
|
3374
3933
|
case "com.amazonaws.inspector2#InternalServerException":
|
|
3375
3934
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3935
|
+
case "ResourceNotFoundException":
|
|
3936
|
+
case "com.amazonaws.inspector2#ResourceNotFoundException":
|
|
3937
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3376
3938
|
case "ThrottlingException":
|
|
3377
3939
|
case "com.amazonaws.inspector2#ThrottlingException":
|
|
3378
3940
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -3387,25 +3949,23 @@ var de_UpdateConfigurationCommandError = /* @__PURE__ */ __name(async (output, c
|
|
|
3387
3949
|
errorCode
|
|
3388
3950
|
});
|
|
3389
3951
|
}
|
|
3390
|
-
}, "
|
|
3391
|
-
var
|
|
3952
|
+
}, "de_ResetEncryptionKeyCommandError");
|
|
3953
|
+
var de_SearchVulnerabilitiesCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3392
3954
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3393
|
-
return
|
|
3955
|
+
return de_SearchVulnerabilitiesCommandError(output, context);
|
|
3394
3956
|
}
|
|
3395
3957
|
const contents = (0, import_smithy_client.map)({
|
|
3396
3958
|
$metadata: deserializeMetadata(output)
|
|
3397
3959
|
});
|
|
3398
3960
|
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
3399
3961
|
const doc = (0, import_smithy_client.take)(data, {
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
packagePaths: import_smithy_client._json,
|
|
3403
|
-
status: import_smithy_client.expectString
|
|
3962
|
+
nextToken: import_smithy_client.expectString,
|
|
3963
|
+
vulnerabilities: (_) => de_Vulnerabilities(_, context)
|
|
3404
3964
|
});
|
|
3405
3965
|
Object.assign(contents, doc);
|
|
3406
3966
|
return contents;
|
|
3407
|
-
}, "
|
|
3408
|
-
var
|
|
3967
|
+
}, "de_SearchVulnerabilitiesCommand");
|
|
3968
|
+
var de_SearchVulnerabilitiesCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3409
3969
|
const parsedOutput = {
|
|
3410
3970
|
...output,
|
|
3411
3971
|
body: await parseErrorBody(output.body, context)
|
|
@@ -3432,18 +3992,18 @@ var de_UpdateEc2DeepInspectionConfigurationCommandError = /* @__PURE__ */ __name
|
|
|
3432
3992
|
errorCode
|
|
3433
3993
|
});
|
|
3434
3994
|
}
|
|
3435
|
-
}, "
|
|
3436
|
-
var
|
|
3995
|
+
}, "de_SearchVulnerabilitiesCommandError");
|
|
3996
|
+
var de_SendCisSessionHealthCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3437
3997
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3438
|
-
return
|
|
3998
|
+
return de_SendCisSessionHealthCommandError(output, context);
|
|
3439
3999
|
}
|
|
3440
4000
|
const contents = (0, import_smithy_client.map)({
|
|
3441
4001
|
$metadata: deserializeMetadata(output)
|
|
3442
4002
|
});
|
|
3443
4003
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3444
4004
|
return contents;
|
|
3445
|
-
}, "
|
|
3446
|
-
var
|
|
4005
|
+
}, "de_SendCisSessionHealthCommand");
|
|
4006
|
+
var de_SendCisSessionHealthCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3447
4007
|
const parsedOutput = {
|
|
3448
4008
|
...output,
|
|
3449
4009
|
body: await parseErrorBody(output.body, context)
|
|
@@ -3453,12 +4013,12 @@ var de_UpdateEncryptionKeyCommandError = /* @__PURE__ */ __name(async (output, c
|
|
|
3453
4013
|
case "AccessDeniedException":
|
|
3454
4014
|
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
3455
4015
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4016
|
+
case "ConflictException":
|
|
4017
|
+
case "com.amazonaws.inspector2#ConflictException":
|
|
4018
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3456
4019
|
case "InternalServerException":
|
|
3457
4020
|
case "com.amazonaws.inspector2#InternalServerException":
|
|
3458
4021
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3459
|
-
case "ResourceNotFoundException":
|
|
3460
|
-
case "com.amazonaws.inspector2#ResourceNotFoundException":
|
|
3461
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3462
4022
|
case "ThrottlingException":
|
|
3463
4023
|
case "com.amazonaws.inspector2#ThrottlingException":
|
|
3464
4024
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -3473,22 +4033,18 @@ var de_UpdateEncryptionKeyCommandError = /* @__PURE__ */ __name(async (output, c
|
|
|
3473
4033
|
errorCode
|
|
3474
4034
|
});
|
|
3475
4035
|
}
|
|
3476
|
-
}, "
|
|
3477
|
-
var
|
|
4036
|
+
}, "de_SendCisSessionHealthCommandError");
|
|
4037
|
+
var de_SendCisSessionTelemetryCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3478
4038
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3479
|
-
return
|
|
4039
|
+
return de_SendCisSessionTelemetryCommandError(output, context);
|
|
3480
4040
|
}
|
|
3481
4041
|
const contents = (0, import_smithy_client.map)({
|
|
3482
4042
|
$metadata: deserializeMetadata(output)
|
|
3483
4043
|
});
|
|
3484
|
-
|
|
3485
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
3486
|
-
arn: import_smithy_client.expectString
|
|
3487
|
-
});
|
|
3488
|
-
Object.assign(contents, doc);
|
|
4044
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3489
4045
|
return contents;
|
|
3490
|
-
}, "
|
|
3491
|
-
var
|
|
4046
|
+
}, "de_SendCisSessionTelemetryCommand");
|
|
4047
|
+
var de_SendCisSessionTelemetryCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3492
4048
|
const parsedOutput = {
|
|
3493
4049
|
...output,
|
|
3494
4050
|
body: await parseErrorBody(output.body, context)
|
|
@@ -3498,12 +4054,12 @@ var de_UpdateFilterCommandError = /* @__PURE__ */ __name(async (output, context)
|
|
|
3498
4054
|
case "AccessDeniedException":
|
|
3499
4055
|
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
3500
4056
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4057
|
+
case "ConflictException":
|
|
4058
|
+
case "com.amazonaws.inspector2#ConflictException":
|
|
4059
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3501
4060
|
case "InternalServerException":
|
|
3502
4061
|
case "com.amazonaws.inspector2#InternalServerException":
|
|
3503
4062
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
3504
|
-
case "ResourceNotFoundException":
|
|
3505
|
-
case "com.amazonaws.inspector2#ResourceNotFoundException":
|
|
3506
|
-
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
3507
4063
|
case "ThrottlingException":
|
|
3508
4064
|
case "com.amazonaws.inspector2#ThrottlingException":
|
|
3509
4065
|
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
@@ -3518,22 +4074,18 @@ var de_UpdateFilterCommandError = /* @__PURE__ */ __name(async (output, context)
|
|
|
3518
4074
|
errorCode
|
|
3519
4075
|
});
|
|
3520
4076
|
}
|
|
3521
|
-
}, "
|
|
3522
|
-
var
|
|
4077
|
+
}, "de_SendCisSessionTelemetryCommandError");
|
|
4078
|
+
var de_StartCisSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3523
4079
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3524
|
-
return
|
|
4080
|
+
return de_StartCisSessionCommandError(output, context);
|
|
3525
4081
|
}
|
|
3526
4082
|
const contents = (0, import_smithy_client.map)({
|
|
3527
4083
|
$metadata: deserializeMetadata(output)
|
|
3528
4084
|
});
|
|
3529
|
-
|
|
3530
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
3531
|
-
autoEnable: import_smithy_client._json
|
|
3532
|
-
});
|
|
3533
|
-
Object.assign(contents, doc);
|
|
4085
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3534
4086
|
return contents;
|
|
3535
|
-
}, "
|
|
3536
|
-
var
|
|
4087
|
+
}, "de_StartCisSessionCommand");
|
|
4088
|
+
var de_StartCisSessionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3537
4089
|
const parsedOutput = {
|
|
3538
4090
|
...output,
|
|
3539
4091
|
body: await parseErrorBody(output.body, context)
|
|
@@ -3543,6 +4095,9 @@ var de_UpdateOrganizationConfigurationCommandError = /* @__PURE__ */ __name(asyn
|
|
|
3543
4095
|
case "AccessDeniedException":
|
|
3544
4096
|
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
3545
4097
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4098
|
+
case "ConflictException":
|
|
4099
|
+
case "com.amazonaws.inspector2#ConflictException":
|
|
4100
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3546
4101
|
case "InternalServerException":
|
|
3547
4102
|
case "com.amazonaws.inspector2#InternalServerException":
|
|
3548
4103
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -3560,18 +4115,18 @@ var de_UpdateOrganizationConfigurationCommandError = /* @__PURE__ */ __name(asyn
|
|
|
3560
4115
|
errorCode
|
|
3561
4116
|
});
|
|
3562
4117
|
}
|
|
3563
|
-
}, "
|
|
3564
|
-
var
|
|
4118
|
+
}, "de_StartCisSessionCommandError");
|
|
4119
|
+
var de_StopCisSessionCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
3565
4120
|
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
3566
|
-
return
|
|
4121
|
+
return de_StopCisSessionCommandError(output, context);
|
|
3567
4122
|
}
|
|
3568
4123
|
const contents = (0, import_smithy_client.map)({
|
|
3569
4124
|
$metadata: deserializeMetadata(output)
|
|
3570
4125
|
});
|
|
3571
4126
|
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
3572
4127
|
return contents;
|
|
3573
|
-
}, "
|
|
3574
|
-
var
|
|
4128
|
+
}, "de_StopCisSessionCommand");
|
|
4129
|
+
var de_StopCisSessionCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
3575
4130
|
const parsedOutput = {
|
|
3576
4131
|
...output,
|
|
3577
4132
|
body: await parseErrorBody(output.body, context)
|
|
@@ -3581,6 +4136,9 @@ var de_UpdateOrgEc2DeepInspectionConfigurationCommandError = /* @__PURE__ */ __n
|
|
|
3581
4136
|
case "AccessDeniedException":
|
|
3582
4137
|
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
3583
4138
|
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4139
|
+
case "ConflictException":
|
|
4140
|
+
case "com.amazonaws.inspector2#ConflictException":
|
|
4141
|
+
throw await de_ConflictExceptionRes(parsedOutput, context);
|
|
3584
4142
|
case "InternalServerException":
|
|
3585
4143
|
case "com.amazonaws.inspector2#InternalServerException":
|
|
3586
4144
|
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
@@ -3598,83 +4156,456 @@ var de_UpdateOrgEc2DeepInspectionConfigurationCommandError = /* @__PURE__ */ __n
|
|
|
3598
4156
|
errorCode
|
|
3599
4157
|
});
|
|
3600
4158
|
}
|
|
3601
|
-
}, "
|
|
3602
|
-
var
|
|
3603
|
-
|
|
3604
|
-
|
|
3605
|
-
|
|
3606
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
3607
|
-
message: import_smithy_client.expectString
|
|
3608
|
-
});
|
|
3609
|
-
Object.assign(contents, doc);
|
|
3610
|
-
const exception = new AccessDeniedException({
|
|
3611
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3612
|
-
...contents
|
|
3613
|
-
});
|
|
3614
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3615
|
-
}, "de_AccessDeniedExceptionRes");
|
|
3616
|
-
var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3617
|
-
const contents = (0, import_smithy_client.map)({});
|
|
3618
|
-
const data = parsedOutput.body;
|
|
3619
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
3620
|
-
message: import_smithy_client.expectString
|
|
3621
|
-
});
|
|
3622
|
-
Object.assign(contents, doc);
|
|
3623
|
-
const exception = new BadRequestException({
|
|
3624
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3625
|
-
...contents
|
|
3626
|
-
});
|
|
3627
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3628
|
-
}, "de_BadRequestExceptionRes");
|
|
3629
|
-
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3630
|
-
const contents = (0, import_smithy_client.map)({});
|
|
3631
|
-
const data = parsedOutput.body;
|
|
3632
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
3633
|
-
message: import_smithy_client.expectString,
|
|
3634
|
-
resourceId: import_smithy_client.expectString,
|
|
3635
|
-
resourceType: import_smithy_client.expectString
|
|
3636
|
-
});
|
|
3637
|
-
Object.assign(contents, doc);
|
|
3638
|
-
const exception = new ConflictException({
|
|
3639
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3640
|
-
...contents
|
|
3641
|
-
});
|
|
3642
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3643
|
-
}, "de_ConflictExceptionRes");
|
|
3644
|
-
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4159
|
+
}, "de_StopCisSessionCommandError");
|
|
4160
|
+
var de_TagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4161
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4162
|
+
return de_TagResourceCommandError(output, context);
|
|
4163
|
+
}
|
|
3645
4164
|
const contents = (0, import_smithy_client.map)({
|
|
3646
|
-
|
|
3647
|
-
});
|
|
3648
|
-
const data = parsedOutput.body;
|
|
3649
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
3650
|
-
message: import_smithy_client.expectString
|
|
3651
|
-
});
|
|
3652
|
-
Object.assign(contents, doc);
|
|
3653
|
-
const exception = new InternalServerException({
|
|
3654
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3655
|
-
...contents
|
|
3656
|
-
});
|
|
3657
|
-
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3658
|
-
}, "de_InternalServerExceptionRes");
|
|
3659
|
-
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
3660
|
-
const contents = (0, import_smithy_client.map)({});
|
|
3661
|
-
const data = parsedOutput.body;
|
|
3662
|
-
const doc = (0, import_smithy_client.take)(data, {
|
|
3663
|
-
message: import_smithy_client.expectString
|
|
3664
|
-
});
|
|
3665
|
-
Object.assign(contents, doc);
|
|
3666
|
-
const exception = new ResourceNotFoundException({
|
|
3667
|
-
$metadata: deserializeMetadata(parsedOutput),
|
|
3668
|
-
...contents
|
|
4165
|
+
$metadata: deserializeMetadata(output)
|
|
3669
4166
|
});
|
|
3670
|
-
|
|
3671
|
-
|
|
3672
|
-
|
|
3673
|
-
|
|
3674
|
-
const
|
|
3675
|
-
|
|
3676
|
-
|
|
3677
|
-
|
|
4167
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4168
|
+
return contents;
|
|
4169
|
+
}, "de_TagResourceCommand");
|
|
4170
|
+
var de_TagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4171
|
+
const parsedOutput = {
|
|
4172
|
+
...output,
|
|
4173
|
+
body: await parseErrorBody(output.body, context)
|
|
4174
|
+
};
|
|
4175
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4176
|
+
switch (errorCode) {
|
|
4177
|
+
case "BadRequestException":
|
|
4178
|
+
case "com.amazonaws.inspector2#BadRequestException":
|
|
4179
|
+
throw await de_BadRequestExceptionRes(parsedOutput, context);
|
|
4180
|
+
case "InternalServerException":
|
|
4181
|
+
case "com.amazonaws.inspector2#InternalServerException":
|
|
4182
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4183
|
+
case "ResourceNotFoundException":
|
|
4184
|
+
case "com.amazonaws.inspector2#ResourceNotFoundException":
|
|
4185
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4186
|
+
case "ThrottlingException":
|
|
4187
|
+
case "com.amazonaws.inspector2#ThrottlingException":
|
|
4188
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4189
|
+
case "ValidationException":
|
|
4190
|
+
case "com.amazonaws.inspector2#ValidationException":
|
|
4191
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4192
|
+
default:
|
|
4193
|
+
const parsedBody = parsedOutput.body;
|
|
4194
|
+
return throwDefaultError({
|
|
4195
|
+
output,
|
|
4196
|
+
parsedBody,
|
|
4197
|
+
errorCode
|
|
4198
|
+
});
|
|
4199
|
+
}
|
|
4200
|
+
}, "de_TagResourceCommandError");
|
|
4201
|
+
var de_UntagResourceCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4202
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4203
|
+
return de_UntagResourceCommandError(output, context);
|
|
4204
|
+
}
|
|
4205
|
+
const contents = (0, import_smithy_client.map)({
|
|
4206
|
+
$metadata: deserializeMetadata(output)
|
|
4207
|
+
});
|
|
4208
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4209
|
+
return contents;
|
|
4210
|
+
}, "de_UntagResourceCommand");
|
|
4211
|
+
var de_UntagResourceCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4212
|
+
const parsedOutput = {
|
|
4213
|
+
...output,
|
|
4214
|
+
body: await parseErrorBody(output.body, context)
|
|
4215
|
+
};
|
|
4216
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4217
|
+
switch (errorCode) {
|
|
4218
|
+
case "InternalServerException":
|
|
4219
|
+
case "com.amazonaws.inspector2#InternalServerException":
|
|
4220
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4221
|
+
case "ResourceNotFoundException":
|
|
4222
|
+
case "com.amazonaws.inspector2#ResourceNotFoundException":
|
|
4223
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4224
|
+
case "ThrottlingException":
|
|
4225
|
+
case "com.amazonaws.inspector2#ThrottlingException":
|
|
4226
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4227
|
+
case "ValidationException":
|
|
4228
|
+
case "com.amazonaws.inspector2#ValidationException":
|
|
4229
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4230
|
+
default:
|
|
4231
|
+
const parsedBody = parsedOutput.body;
|
|
4232
|
+
return throwDefaultError({
|
|
4233
|
+
output,
|
|
4234
|
+
parsedBody,
|
|
4235
|
+
errorCode
|
|
4236
|
+
});
|
|
4237
|
+
}
|
|
4238
|
+
}, "de_UntagResourceCommandError");
|
|
4239
|
+
var de_UpdateCisScanConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4240
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4241
|
+
return de_UpdateCisScanConfigurationCommandError(output, context);
|
|
4242
|
+
}
|
|
4243
|
+
const contents = (0, import_smithy_client.map)({
|
|
4244
|
+
$metadata: deserializeMetadata(output)
|
|
4245
|
+
});
|
|
4246
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
4247
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4248
|
+
scanConfigurationArn: import_smithy_client.expectString
|
|
4249
|
+
});
|
|
4250
|
+
Object.assign(contents, doc);
|
|
4251
|
+
return contents;
|
|
4252
|
+
}, "de_UpdateCisScanConfigurationCommand");
|
|
4253
|
+
var de_UpdateCisScanConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4254
|
+
const parsedOutput = {
|
|
4255
|
+
...output,
|
|
4256
|
+
body: await parseErrorBody(output.body, context)
|
|
4257
|
+
};
|
|
4258
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4259
|
+
switch (errorCode) {
|
|
4260
|
+
case "AccessDeniedException":
|
|
4261
|
+
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
4262
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4263
|
+
case "InternalServerException":
|
|
4264
|
+
case "com.amazonaws.inspector2#InternalServerException":
|
|
4265
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4266
|
+
case "ResourceNotFoundException":
|
|
4267
|
+
case "com.amazonaws.inspector2#ResourceNotFoundException":
|
|
4268
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4269
|
+
case "ThrottlingException":
|
|
4270
|
+
case "com.amazonaws.inspector2#ThrottlingException":
|
|
4271
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4272
|
+
case "ValidationException":
|
|
4273
|
+
case "com.amazonaws.inspector2#ValidationException":
|
|
4274
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4275
|
+
default:
|
|
4276
|
+
const parsedBody = parsedOutput.body;
|
|
4277
|
+
return throwDefaultError({
|
|
4278
|
+
output,
|
|
4279
|
+
parsedBody,
|
|
4280
|
+
errorCode
|
|
4281
|
+
});
|
|
4282
|
+
}
|
|
4283
|
+
}, "de_UpdateCisScanConfigurationCommandError");
|
|
4284
|
+
var de_UpdateConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4285
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4286
|
+
return de_UpdateConfigurationCommandError(output, context);
|
|
4287
|
+
}
|
|
4288
|
+
const contents = (0, import_smithy_client.map)({
|
|
4289
|
+
$metadata: deserializeMetadata(output)
|
|
4290
|
+
});
|
|
4291
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4292
|
+
return contents;
|
|
4293
|
+
}, "de_UpdateConfigurationCommand");
|
|
4294
|
+
var de_UpdateConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4295
|
+
const parsedOutput = {
|
|
4296
|
+
...output,
|
|
4297
|
+
body: await parseErrorBody(output.body, context)
|
|
4298
|
+
};
|
|
4299
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4300
|
+
switch (errorCode) {
|
|
4301
|
+
case "AccessDeniedException":
|
|
4302
|
+
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
4303
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4304
|
+
case "InternalServerException":
|
|
4305
|
+
case "com.amazonaws.inspector2#InternalServerException":
|
|
4306
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4307
|
+
case "ThrottlingException":
|
|
4308
|
+
case "com.amazonaws.inspector2#ThrottlingException":
|
|
4309
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4310
|
+
case "ValidationException":
|
|
4311
|
+
case "com.amazonaws.inspector2#ValidationException":
|
|
4312
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4313
|
+
default:
|
|
4314
|
+
const parsedBody = parsedOutput.body;
|
|
4315
|
+
return throwDefaultError({
|
|
4316
|
+
output,
|
|
4317
|
+
parsedBody,
|
|
4318
|
+
errorCode
|
|
4319
|
+
});
|
|
4320
|
+
}
|
|
4321
|
+
}, "de_UpdateConfigurationCommandError");
|
|
4322
|
+
var de_UpdateEc2DeepInspectionConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4323
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4324
|
+
return de_UpdateEc2DeepInspectionConfigurationCommandError(output, context);
|
|
4325
|
+
}
|
|
4326
|
+
const contents = (0, import_smithy_client.map)({
|
|
4327
|
+
$metadata: deserializeMetadata(output)
|
|
4328
|
+
});
|
|
4329
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
4330
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4331
|
+
errorMessage: import_smithy_client.expectString,
|
|
4332
|
+
orgPackagePaths: import_smithy_client._json,
|
|
4333
|
+
packagePaths: import_smithy_client._json,
|
|
4334
|
+
status: import_smithy_client.expectString
|
|
4335
|
+
});
|
|
4336
|
+
Object.assign(contents, doc);
|
|
4337
|
+
return contents;
|
|
4338
|
+
}, "de_UpdateEc2DeepInspectionConfigurationCommand");
|
|
4339
|
+
var de_UpdateEc2DeepInspectionConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4340
|
+
const parsedOutput = {
|
|
4341
|
+
...output,
|
|
4342
|
+
body: await parseErrorBody(output.body, context)
|
|
4343
|
+
};
|
|
4344
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4345
|
+
switch (errorCode) {
|
|
4346
|
+
case "AccessDeniedException":
|
|
4347
|
+
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
4348
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4349
|
+
case "InternalServerException":
|
|
4350
|
+
case "com.amazonaws.inspector2#InternalServerException":
|
|
4351
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4352
|
+
case "ThrottlingException":
|
|
4353
|
+
case "com.amazonaws.inspector2#ThrottlingException":
|
|
4354
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4355
|
+
case "ValidationException":
|
|
4356
|
+
case "com.amazonaws.inspector2#ValidationException":
|
|
4357
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4358
|
+
default:
|
|
4359
|
+
const parsedBody = parsedOutput.body;
|
|
4360
|
+
return throwDefaultError({
|
|
4361
|
+
output,
|
|
4362
|
+
parsedBody,
|
|
4363
|
+
errorCode
|
|
4364
|
+
});
|
|
4365
|
+
}
|
|
4366
|
+
}, "de_UpdateEc2DeepInspectionConfigurationCommandError");
|
|
4367
|
+
var de_UpdateEncryptionKeyCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4368
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4369
|
+
return de_UpdateEncryptionKeyCommandError(output, context);
|
|
4370
|
+
}
|
|
4371
|
+
const contents = (0, import_smithy_client.map)({
|
|
4372
|
+
$metadata: deserializeMetadata(output)
|
|
4373
|
+
});
|
|
4374
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4375
|
+
return contents;
|
|
4376
|
+
}, "de_UpdateEncryptionKeyCommand");
|
|
4377
|
+
var de_UpdateEncryptionKeyCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4378
|
+
const parsedOutput = {
|
|
4379
|
+
...output,
|
|
4380
|
+
body: await parseErrorBody(output.body, context)
|
|
4381
|
+
};
|
|
4382
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4383
|
+
switch (errorCode) {
|
|
4384
|
+
case "AccessDeniedException":
|
|
4385
|
+
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
4386
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4387
|
+
case "InternalServerException":
|
|
4388
|
+
case "com.amazonaws.inspector2#InternalServerException":
|
|
4389
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4390
|
+
case "ResourceNotFoundException":
|
|
4391
|
+
case "com.amazonaws.inspector2#ResourceNotFoundException":
|
|
4392
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4393
|
+
case "ThrottlingException":
|
|
4394
|
+
case "com.amazonaws.inspector2#ThrottlingException":
|
|
4395
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4396
|
+
case "ValidationException":
|
|
4397
|
+
case "com.amazonaws.inspector2#ValidationException":
|
|
4398
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4399
|
+
default:
|
|
4400
|
+
const parsedBody = parsedOutput.body;
|
|
4401
|
+
return throwDefaultError({
|
|
4402
|
+
output,
|
|
4403
|
+
parsedBody,
|
|
4404
|
+
errorCode
|
|
4405
|
+
});
|
|
4406
|
+
}
|
|
4407
|
+
}, "de_UpdateEncryptionKeyCommandError");
|
|
4408
|
+
var de_UpdateFilterCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4409
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4410
|
+
return de_UpdateFilterCommandError(output, context);
|
|
4411
|
+
}
|
|
4412
|
+
const contents = (0, import_smithy_client.map)({
|
|
4413
|
+
$metadata: deserializeMetadata(output)
|
|
4414
|
+
});
|
|
4415
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
4416
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4417
|
+
arn: import_smithy_client.expectString
|
|
4418
|
+
});
|
|
4419
|
+
Object.assign(contents, doc);
|
|
4420
|
+
return contents;
|
|
4421
|
+
}, "de_UpdateFilterCommand");
|
|
4422
|
+
var de_UpdateFilterCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4423
|
+
const parsedOutput = {
|
|
4424
|
+
...output,
|
|
4425
|
+
body: await parseErrorBody(output.body, context)
|
|
4426
|
+
};
|
|
4427
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4428
|
+
switch (errorCode) {
|
|
4429
|
+
case "AccessDeniedException":
|
|
4430
|
+
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
4431
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4432
|
+
case "InternalServerException":
|
|
4433
|
+
case "com.amazonaws.inspector2#InternalServerException":
|
|
4434
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4435
|
+
case "ResourceNotFoundException":
|
|
4436
|
+
case "com.amazonaws.inspector2#ResourceNotFoundException":
|
|
4437
|
+
throw await de_ResourceNotFoundExceptionRes(parsedOutput, context);
|
|
4438
|
+
case "ThrottlingException":
|
|
4439
|
+
case "com.amazonaws.inspector2#ThrottlingException":
|
|
4440
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4441
|
+
case "ValidationException":
|
|
4442
|
+
case "com.amazonaws.inspector2#ValidationException":
|
|
4443
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4444
|
+
default:
|
|
4445
|
+
const parsedBody = parsedOutput.body;
|
|
4446
|
+
return throwDefaultError({
|
|
4447
|
+
output,
|
|
4448
|
+
parsedBody,
|
|
4449
|
+
errorCode
|
|
4450
|
+
});
|
|
4451
|
+
}
|
|
4452
|
+
}, "de_UpdateFilterCommandError");
|
|
4453
|
+
var de_UpdateOrganizationConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4454
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4455
|
+
return de_UpdateOrganizationConfigurationCommandError(output, context);
|
|
4456
|
+
}
|
|
4457
|
+
const contents = (0, import_smithy_client.map)({
|
|
4458
|
+
$metadata: deserializeMetadata(output)
|
|
4459
|
+
});
|
|
4460
|
+
const data = (0, import_smithy_client.expectNonNull)((0, import_smithy_client.expectObject)(await parseBody(output.body, context)), "body");
|
|
4461
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4462
|
+
autoEnable: import_smithy_client._json
|
|
4463
|
+
});
|
|
4464
|
+
Object.assign(contents, doc);
|
|
4465
|
+
return contents;
|
|
4466
|
+
}, "de_UpdateOrganizationConfigurationCommand");
|
|
4467
|
+
var de_UpdateOrganizationConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4468
|
+
const parsedOutput = {
|
|
4469
|
+
...output,
|
|
4470
|
+
body: await parseErrorBody(output.body, context)
|
|
4471
|
+
};
|
|
4472
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4473
|
+
switch (errorCode) {
|
|
4474
|
+
case "AccessDeniedException":
|
|
4475
|
+
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
4476
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4477
|
+
case "InternalServerException":
|
|
4478
|
+
case "com.amazonaws.inspector2#InternalServerException":
|
|
4479
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4480
|
+
case "ThrottlingException":
|
|
4481
|
+
case "com.amazonaws.inspector2#ThrottlingException":
|
|
4482
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4483
|
+
case "ValidationException":
|
|
4484
|
+
case "com.amazonaws.inspector2#ValidationException":
|
|
4485
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4486
|
+
default:
|
|
4487
|
+
const parsedBody = parsedOutput.body;
|
|
4488
|
+
return throwDefaultError({
|
|
4489
|
+
output,
|
|
4490
|
+
parsedBody,
|
|
4491
|
+
errorCode
|
|
4492
|
+
});
|
|
4493
|
+
}
|
|
4494
|
+
}, "de_UpdateOrganizationConfigurationCommandError");
|
|
4495
|
+
var de_UpdateOrgEc2DeepInspectionConfigurationCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
4496
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
4497
|
+
return de_UpdateOrgEc2DeepInspectionConfigurationCommandError(output, context);
|
|
4498
|
+
}
|
|
4499
|
+
const contents = (0, import_smithy_client.map)({
|
|
4500
|
+
$metadata: deserializeMetadata(output)
|
|
4501
|
+
});
|
|
4502
|
+
await (0, import_smithy_client.collectBody)(output.body, context);
|
|
4503
|
+
return contents;
|
|
4504
|
+
}, "de_UpdateOrgEc2DeepInspectionConfigurationCommand");
|
|
4505
|
+
var de_UpdateOrgEc2DeepInspectionConfigurationCommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
4506
|
+
const parsedOutput = {
|
|
4507
|
+
...output,
|
|
4508
|
+
body: await parseErrorBody(output.body, context)
|
|
4509
|
+
};
|
|
4510
|
+
const errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4511
|
+
switch (errorCode) {
|
|
4512
|
+
case "AccessDeniedException":
|
|
4513
|
+
case "com.amazonaws.inspector2#AccessDeniedException":
|
|
4514
|
+
throw await de_AccessDeniedExceptionRes(parsedOutput, context);
|
|
4515
|
+
case "InternalServerException":
|
|
4516
|
+
case "com.amazonaws.inspector2#InternalServerException":
|
|
4517
|
+
throw await de_InternalServerExceptionRes(parsedOutput, context);
|
|
4518
|
+
case "ThrottlingException":
|
|
4519
|
+
case "com.amazonaws.inspector2#ThrottlingException":
|
|
4520
|
+
throw await de_ThrottlingExceptionRes(parsedOutput, context);
|
|
4521
|
+
case "ValidationException":
|
|
4522
|
+
case "com.amazonaws.inspector2#ValidationException":
|
|
4523
|
+
throw await de_ValidationExceptionRes(parsedOutput, context);
|
|
4524
|
+
default:
|
|
4525
|
+
const parsedBody = parsedOutput.body;
|
|
4526
|
+
return throwDefaultError({
|
|
4527
|
+
output,
|
|
4528
|
+
parsedBody,
|
|
4529
|
+
errorCode
|
|
4530
|
+
});
|
|
4531
|
+
}
|
|
4532
|
+
}, "de_UpdateOrgEc2DeepInspectionConfigurationCommandError");
|
|
4533
|
+
var throwDefaultError = (0, import_smithy_client.withBaseException)(Inspector2ServiceException);
|
|
4534
|
+
var de_AccessDeniedExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4535
|
+
const contents = (0, import_smithy_client.map)({});
|
|
4536
|
+
const data = parsedOutput.body;
|
|
4537
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4538
|
+
message: import_smithy_client.expectString
|
|
4539
|
+
});
|
|
4540
|
+
Object.assign(contents, doc);
|
|
4541
|
+
const exception = new AccessDeniedException({
|
|
4542
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
4543
|
+
...contents
|
|
4544
|
+
});
|
|
4545
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
4546
|
+
}, "de_AccessDeniedExceptionRes");
|
|
4547
|
+
var de_BadRequestExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4548
|
+
const contents = (0, import_smithy_client.map)({});
|
|
4549
|
+
const data = parsedOutput.body;
|
|
4550
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4551
|
+
message: import_smithy_client.expectString
|
|
4552
|
+
});
|
|
4553
|
+
Object.assign(contents, doc);
|
|
4554
|
+
const exception = new BadRequestException({
|
|
4555
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
4556
|
+
...contents
|
|
4557
|
+
});
|
|
4558
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
4559
|
+
}, "de_BadRequestExceptionRes");
|
|
4560
|
+
var de_ConflictExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4561
|
+
const contents = (0, import_smithy_client.map)({});
|
|
4562
|
+
const data = parsedOutput.body;
|
|
4563
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4564
|
+
message: import_smithy_client.expectString,
|
|
4565
|
+
resourceId: import_smithy_client.expectString,
|
|
4566
|
+
resourceType: import_smithy_client.expectString
|
|
4567
|
+
});
|
|
4568
|
+
Object.assign(contents, doc);
|
|
4569
|
+
const exception = new ConflictException({
|
|
4570
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
4571
|
+
...contents
|
|
4572
|
+
});
|
|
4573
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
4574
|
+
}, "de_ConflictExceptionRes");
|
|
4575
|
+
var de_InternalServerExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4576
|
+
const contents = (0, import_smithy_client.map)({
|
|
4577
|
+
[_rAS]: [() => void 0 !== parsedOutput.headers[_ra], () => (0, import_smithy_client.strictParseInt32)(parsedOutput.headers[_ra])]
|
|
4578
|
+
});
|
|
4579
|
+
const data = parsedOutput.body;
|
|
4580
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4581
|
+
message: import_smithy_client.expectString
|
|
4582
|
+
});
|
|
4583
|
+
Object.assign(contents, doc);
|
|
4584
|
+
const exception = new InternalServerException({
|
|
4585
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
4586
|
+
...contents
|
|
4587
|
+
});
|
|
4588
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
4589
|
+
}, "de_InternalServerExceptionRes");
|
|
4590
|
+
var de_ResourceNotFoundExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4591
|
+
const contents = (0, import_smithy_client.map)({});
|
|
4592
|
+
const data = parsedOutput.body;
|
|
4593
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4594
|
+
message: import_smithy_client.expectString
|
|
4595
|
+
});
|
|
4596
|
+
Object.assign(contents, doc);
|
|
4597
|
+
const exception = new ResourceNotFoundException({
|
|
4598
|
+
$metadata: deserializeMetadata(parsedOutput),
|
|
4599
|
+
...contents
|
|
4600
|
+
});
|
|
4601
|
+
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
4602
|
+
}, "de_ResourceNotFoundExceptionRes");
|
|
4603
|
+
var de_ServiceQuotaExceededExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, context) => {
|
|
4604
|
+
const contents = (0, import_smithy_client.map)({});
|
|
4605
|
+
const data = parsedOutput.body;
|
|
4606
|
+
const doc = (0, import_smithy_client.take)(data, {
|
|
4607
|
+
message: import_smithy_client.expectString,
|
|
4608
|
+
resourceId: import_smithy_client.expectString
|
|
3678
4609
|
});
|
|
3679
4610
|
Object.assign(contents, doc);
|
|
3680
4611
|
const exception = new ServiceQuotaExceededException({
|
|
@@ -3713,6 +4644,29 @@ var de_ValidationExceptionRes = /* @__PURE__ */ __name(async (parsedOutput, cont
|
|
|
3713
4644
|
});
|
|
3714
4645
|
return (0, import_smithy_client.decorateServiceException)(exception, parsedOutput.body);
|
|
3715
4646
|
}, "de_ValidationExceptionRes");
|
|
4647
|
+
var se_CisDateFilter = /* @__PURE__ */ __name((input, context) => {
|
|
4648
|
+
return (0, import_smithy_client.take)(input, {
|
|
4649
|
+
earliestScanStartTime: (_) => Math.round(_.getTime() / 1e3),
|
|
4650
|
+
latestScanStartTime: (_) => Math.round(_.getTime() / 1e3)
|
|
4651
|
+
});
|
|
4652
|
+
}, "se_CisDateFilter");
|
|
4653
|
+
var se_CisScanDateFilterList = /* @__PURE__ */ __name((input, context) => {
|
|
4654
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
4655
|
+
return se_CisDateFilter(entry, context);
|
|
4656
|
+
});
|
|
4657
|
+
}, "se_CisScanDateFilterList");
|
|
4658
|
+
var se_CisSessionMessage = /* @__PURE__ */ __name((input, context) => {
|
|
4659
|
+
return (0, import_smithy_client.take)(input, {
|
|
4660
|
+
cisRuleDetails: context.base64Encoder,
|
|
4661
|
+
ruleId: [],
|
|
4662
|
+
status: []
|
|
4663
|
+
});
|
|
4664
|
+
}, "se_CisSessionMessage");
|
|
4665
|
+
var se_CisSessionMessages = /* @__PURE__ */ __name((input, context) => {
|
|
4666
|
+
return input.filter((e) => e != null).map((entry) => {
|
|
4667
|
+
return se_CisSessionMessage(entry, context);
|
|
4668
|
+
});
|
|
4669
|
+
}, "se_CisSessionMessages");
|
|
3716
4670
|
var se_CoverageDateFilter = /* @__PURE__ */ __name((input, context) => {
|
|
3717
4671
|
return (0, import_smithy_client.take)(input, {
|
|
3718
4672
|
endInclusive: (_) => Math.round(_.getTime() / 1e3),
|
|
@@ -3798,6 +4752,20 @@ var se_FilterCriteria = /* @__PURE__ */ __name((input, context) => {
|
|
|
3798
4752
|
vulnerablePackages: (_) => se_PackageFilterList(_, context)
|
|
3799
4753
|
});
|
|
3800
4754
|
}, "se_FilterCriteria");
|
|
4755
|
+
var se_ListCisScansFilterCriteria = /* @__PURE__ */ __name((input, context) => {
|
|
4756
|
+
return (0, import_smithy_client.take)(input, {
|
|
4757
|
+
failedChecksFilters: import_smithy_client._json,
|
|
4758
|
+
scanArnFilters: import_smithy_client._json,
|
|
4759
|
+
scanAtFilters: (_) => se_CisScanDateFilterList(_, context),
|
|
4760
|
+
scanConfigurationArnFilters: import_smithy_client._json,
|
|
4761
|
+
scanNameFilters: import_smithy_client._json,
|
|
4762
|
+
scanStatusFilters: import_smithy_client._json,
|
|
4763
|
+
scheduledByFilters: import_smithy_client._json,
|
|
4764
|
+
targetAccountIdFilters: import_smithy_client._json,
|
|
4765
|
+
targetResourceIdFilters: import_smithy_client._json,
|
|
4766
|
+
targetResourceTagFilters: import_smithy_client._json
|
|
4767
|
+
});
|
|
4768
|
+
}, "se_ListCisScansFilterCriteria");
|
|
3801
4769
|
var se_NumberFilter = /* @__PURE__ */ __name((input, context) => {
|
|
3802
4770
|
return (0, import_smithy_client.take)(input, {
|
|
3803
4771
|
lowerInclusive: import_smithy_client.serializeFloat,
|
|
@@ -3944,6 +4912,26 @@ var de_CisaData = /* @__PURE__ */ __name((output, context) => {
|
|
|
3944
4912
|
dateDue: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_)))
|
|
3945
4913
|
});
|
|
3946
4914
|
}, "de_CisaData");
|
|
4915
|
+
var de_CisScan = /* @__PURE__ */ __name((output, context) => {
|
|
4916
|
+
return (0, import_smithy_client.take)(output, {
|
|
4917
|
+
failedChecks: import_smithy_client.expectInt32,
|
|
4918
|
+
scanArn: import_smithy_client.expectString,
|
|
4919
|
+
scanConfigurationArn: import_smithy_client.expectString,
|
|
4920
|
+
scanDate: (_) => (0, import_smithy_client.expectNonNull)((0, import_smithy_client.parseEpochTimestamp)((0, import_smithy_client.expectNumber)(_))),
|
|
4921
|
+
scanName: import_smithy_client.expectString,
|
|
4922
|
+
scheduledBy: import_smithy_client.expectString,
|
|
4923
|
+
securityLevel: import_smithy_client.expectString,
|
|
4924
|
+
status: import_smithy_client.expectString,
|
|
4925
|
+
targets: import_smithy_client._json,
|
|
4926
|
+
totalChecks: import_smithy_client.expectInt32
|
|
4927
|
+
});
|
|
4928
|
+
}, "de_CisScan");
|
|
4929
|
+
var de_CisScanList = /* @__PURE__ */ __name((output, context) => {
|
|
4930
|
+
const retVal = (output || []).filter((e) => e != null).map((entry) => {
|
|
4931
|
+
return de_CisScan(entry, context);
|
|
4932
|
+
});
|
|
4933
|
+
return retVal;
|
|
4934
|
+
}, "de_CisScanList");
|
|
3947
4935
|
var de_CoveredResource = /* @__PURE__ */ __name((output, context) => {
|
|
3948
4936
|
return (0, import_smithy_client.take)(output, {
|
|
3949
4937
|
accountId: import_smithy_client.expectString,
|
|
@@ -4536,6 +5524,23 @@ var _CancelSbomExportCommand = class _CancelSbomExportCommand extends import_smi
|
|
|
4536
5524
|
__name(_CancelSbomExportCommand, "CancelSbomExportCommand");
|
|
4537
5525
|
var CancelSbomExportCommand = _CancelSbomExportCommand;
|
|
4538
5526
|
|
|
5527
|
+
// src/commands/CreateCisScanConfigurationCommand.ts
|
|
5528
|
+
|
|
5529
|
+
|
|
5530
|
+
|
|
5531
|
+
|
|
5532
|
+
var _CreateCisScanConfigurationCommand = class _CreateCisScanConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
5533
|
+
...commonParams
|
|
5534
|
+
}).m(function(Command, cs, config, o) {
|
|
5535
|
+
return [
|
|
5536
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5537
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5538
|
+
];
|
|
5539
|
+
}).s("Inspector2", "CreateCisScanConfiguration", {}).n("Inspector2Client", "CreateCisScanConfigurationCommand").f(void 0, void 0).ser(se_CreateCisScanConfigurationCommand).de(de_CreateCisScanConfigurationCommand).build() {
|
|
5540
|
+
};
|
|
5541
|
+
__name(_CreateCisScanConfigurationCommand, "CreateCisScanConfigurationCommand");
|
|
5542
|
+
var CreateCisScanConfigurationCommand = _CreateCisScanConfigurationCommand;
|
|
5543
|
+
|
|
4539
5544
|
// src/commands/CreateFilterCommand.ts
|
|
4540
5545
|
|
|
4541
5546
|
|
|
@@ -4587,6 +5592,23 @@ var _CreateSbomExportCommand = class _CreateSbomExportCommand extends import_smi
|
|
|
4587
5592
|
__name(_CreateSbomExportCommand, "CreateSbomExportCommand");
|
|
4588
5593
|
var CreateSbomExportCommand = _CreateSbomExportCommand;
|
|
4589
5594
|
|
|
5595
|
+
// src/commands/DeleteCisScanConfigurationCommand.ts
|
|
5596
|
+
|
|
5597
|
+
|
|
5598
|
+
|
|
5599
|
+
|
|
5600
|
+
var _DeleteCisScanConfigurationCommand = class _DeleteCisScanConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
5601
|
+
...commonParams
|
|
5602
|
+
}).m(function(Command, cs, config, o) {
|
|
5603
|
+
return [
|
|
5604
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5605
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5606
|
+
];
|
|
5607
|
+
}).s("Inspector2", "DeleteCisScanConfiguration", {}).n("Inspector2Client", "DeleteCisScanConfigurationCommand").f(void 0, void 0).ser(se_DeleteCisScanConfigurationCommand).de(de_DeleteCisScanConfigurationCommand).build() {
|
|
5608
|
+
};
|
|
5609
|
+
__name(_DeleteCisScanConfigurationCommand, "DeleteCisScanConfigurationCommand");
|
|
5610
|
+
var DeleteCisScanConfigurationCommand = _DeleteCisScanConfigurationCommand;
|
|
5611
|
+
|
|
4590
5612
|
// src/commands/DeleteFilterCommand.ts
|
|
4591
5613
|
|
|
4592
5614
|
|
|
@@ -4706,6 +5728,40 @@ var _EnableDelegatedAdminAccountCommand = class _EnableDelegatedAdminAccountComm
|
|
|
4706
5728
|
__name(_EnableDelegatedAdminAccountCommand, "EnableDelegatedAdminAccountCommand");
|
|
4707
5729
|
var EnableDelegatedAdminAccountCommand = _EnableDelegatedAdminAccountCommand;
|
|
4708
5730
|
|
|
5731
|
+
// src/commands/GetCisScanReportCommand.ts
|
|
5732
|
+
|
|
5733
|
+
|
|
5734
|
+
|
|
5735
|
+
|
|
5736
|
+
var _GetCisScanReportCommand = class _GetCisScanReportCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
5737
|
+
...commonParams
|
|
5738
|
+
}).m(function(Command, cs, config, o) {
|
|
5739
|
+
return [
|
|
5740
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5741
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5742
|
+
];
|
|
5743
|
+
}).s("Inspector2", "GetCisScanReport", {}).n("Inspector2Client", "GetCisScanReportCommand").f(void 0, void 0).ser(se_GetCisScanReportCommand).de(de_GetCisScanReportCommand).build() {
|
|
5744
|
+
};
|
|
5745
|
+
__name(_GetCisScanReportCommand, "GetCisScanReportCommand");
|
|
5746
|
+
var GetCisScanReportCommand = _GetCisScanReportCommand;
|
|
5747
|
+
|
|
5748
|
+
// src/commands/GetCisScanResultDetailsCommand.ts
|
|
5749
|
+
|
|
5750
|
+
|
|
5751
|
+
|
|
5752
|
+
|
|
5753
|
+
var _GetCisScanResultDetailsCommand = class _GetCisScanResultDetailsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
5754
|
+
...commonParams
|
|
5755
|
+
}).m(function(Command, cs, config, o) {
|
|
5756
|
+
return [
|
|
5757
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5758
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5759
|
+
];
|
|
5760
|
+
}).s("Inspector2", "GetCisScanResultDetails", {}).n("Inspector2Client", "GetCisScanResultDetailsCommand").f(void 0, void 0).ser(se_GetCisScanResultDetailsCommand).de(de_GetCisScanResultDetailsCommand).build() {
|
|
5761
|
+
};
|
|
5762
|
+
__name(_GetCisScanResultDetailsCommand, "GetCisScanResultDetailsCommand");
|
|
5763
|
+
var GetCisScanResultDetailsCommand = _GetCisScanResultDetailsCommand;
|
|
5764
|
+
|
|
4709
5765
|
// src/commands/GetConfigurationCommand.ts
|
|
4710
5766
|
|
|
4711
5767
|
|
|
@@ -4842,6 +5898,74 @@ var _ListAccountPermissionsCommand = class _ListAccountPermissionsCommand extend
|
|
|
4842
5898
|
__name(_ListAccountPermissionsCommand, "ListAccountPermissionsCommand");
|
|
4843
5899
|
var ListAccountPermissionsCommand = _ListAccountPermissionsCommand;
|
|
4844
5900
|
|
|
5901
|
+
// src/commands/ListCisScanConfigurationsCommand.ts
|
|
5902
|
+
|
|
5903
|
+
|
|
5904
|
+
|
|
5905
|
+
|
|
5906
|
+
var _ListCisScanConfigurationsCommand = class _ListCisScanConfigurationsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
5907
|
+
...commonParams
|
|
5908
|
+
}).m(function(Command, cs, config, o) {
|
|
5909
|
+
return [
|
|
5910
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5911
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5912
|
+
];
|
|
5913
|
+
}).s("Inspector2", "ListCisScanConfigurations", {}).n("Inspector2Client", "ListCisScanConfigurationsCommand").f(void 0, void 0).ser(se_ListCisScanConfigurationsCommand).de(de_ListCisScanConfigurationsCommand).build() {
|
|
5914
|
+
};
|
|
5915
|
+
__name(_ListCisScanConfigurationsCommand, "ListCisScanConfigurationsCommand");
|
|
5916
|
+
var ListCisScanConfigurationsCommand = _ListCisScanConfigurationsCommand;
|
|
5917
|
+
|
|
5918
|
+
// src/commands/ListCisScanResultsAggregatedByChecksCommand.ts
|
|
5919
|
+
|
|
5920
|
+
|
|
5921
|
+
|
|
5922
|
+
|
|
5923
|
+
var _ListCisScanResultsAggregatedByChecksCommand = class _ListCisScanResultsAggregatedByChecksCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
5924
|
+
...commonParams
|
|
5925
|
+
}).m(function(Command, cs, config, o) {
|
|
5926
|
+
return [
|
|
5927
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5928
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5929
|
+
];
|
|
5930
|
+
}).s("Inspector2", "ListCisScanResultsAggregatedByChecks", {}).n("Inspector2Client", "ListCisScanResultsAggregatedByChecksCommand").f(void 0, void 0).ser(se_ListCisScanResultsAggregatedByChecksCommand).de(de_ListCisScanResultsAggregatedByChecksCommand).build() {
|
|
5931
|
+
};
|
|
5932
|
+
__name(_ListCisScanResultsAggregatedByChecksCommand, "ListCisScanResultsAggregatedByChecksCommand");
|
|
5933
|
+
var ListCisScanResultsAggregatedByChecksCommand = _ListCisScanResultsAggregatedByChecksCommand;
|
|
5934
|
+
|
|
5935
|
+
// src/commands/ListCisScanResultsAggregatedByTargetResourceCommand.ts
|
|
5936
|
+
|
|
5937
|
+
|
|
5938
|
+
|
|
5939
|
+
|
|
5940
|
+
var _ListCisScanResultsAggregatedByTargetResourceCommand = class _ListCisScanResultsAggregatedByTargetResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
5941
|
+
...commonParams
|
|
5942
|
+
}).m(function(Command, cs, config, o) {
|
|
5943
|
+
return [
|
|
5944
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5945
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5946
|
+
];
|
|
5947
|
+
}).s("Inspector2", "ListCisScanResultsAggregatedByTargetResource", {}).n("Inspector2Client", "ListCisScanResultsAggregatedByTargetResourceCommand").f(void 0, void 0).ser(se_ListCisScanResultsAggregatedByTargetResourceCommand).de(de_ListCisScanResultsAggregatedByTargetResourceCommand).build() {
|
|
5948
|
+
};
|
|
5949
|
+
__name(_ListCisScanResultsAggregatedByTargetResourceCommand, "ListCisScanResultsAggregatedByTargetResourceCommand");
|
|
5950
|
+
var ListCisScanResultsAggregatedByTargetResourceCommand = _ListCisScanResultsAggregatedByTargetResourceCommand;
|
|
5951
|
+
|
|
5952
|
+
// src/commands/ListCisScansCommand.ts
|
|
5953
|
+
|
|
5954
|
+
|
|
5955
|
+
|
|
5956
|
+
|
|
5957
|
+
var _ListCisScansCommand = class _ListCisScansCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
5958
|
+
...commonParams
|
|
5959
|
+
}).m(function(Command, cs, config, o) {
|
|
5960
|
+
return [
|
|
5961
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5962
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5963
|
+
];
|
|
5964
|
+
}).s("Inspector2", "ListCisScans", {}).n("Inspector2Client", "ListCisScansCommand").f(void 0, void 0).ser(se_ListCisScansCommand).de(de_ListCisScansCommand).build() {
|
|
5965
|
+
};
|
|
5966
|
+
__name(_ListCisScansCommand, "ListCisScansCommand");
|
|
5967
|
+
var ListCisScansCommand = _ListCisScansCommand;
|
|
5968
|
+
|
|
4845
5969
|
// src/commands/ListCoverageCommand.ts
|
|
4846
5970
|
|
|
4847
5971
|
|
|
@@ -4944,90 +6068,158 @@ var _ListFindingsCommand = class _ListFindingsCommand extends import_smithy_clie
|
|
|
4944
6068
|
__name(_ListFindingsCommand, "ListFindingsCommand");
|
|
4945
6069
|
var ListFindingsCommand = _ListFindingsCommand;
|
|
4946
6070
|
|
|
4947
|
-
// src/commands/ListMembersCommand.ts
|
|
6071
|
+
// src/commands/ListMembersCommand.ts
|
|
6072
|
+
|
|
6073
|
+
|
|
6074
|
+
|
|
6075
|
+
|
|
6076
|
+
var _ListMembersCommand = class _ListMembersCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
6077
|
+
...commonParams
|
|
6078
|
+
}).m(function(Command, cs, config, o) {
|
|
6079
|
+
return [
|
|
6080
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6081
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6082
|
+
];
|
|
6083
|
+
}).s("Inspector2", "ListMembers", {}).n("Inspector2Client", "ListMembersCommand").f(void 0, void 0).ser(se_ListMembersCommand).de(de_ListMembersCommand).build() {
|
|
6084
|
+
};
|
|
6085
|
+
__name(_ListMembersCommand, "ListMembersCommand");
|
|
6086
|
+
var ListMembersCommand = _ListMembersCommand;
|
|
6087
|
+
|
|
6088
|
+
// src/commands/ListTagsForResourceCommand.ts
|
|
6089
|
+
|
|
6090
|
+
|
|
6091
|
+
|
|
6092
|
+
|
|
6093
|
+
var _ListTagsForResourceCommand = class _ListTagsForResourceCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
6094
|
+
...commonParams
|
|
6095
|
+
}).m(function(Command, cs, config, o) {
|
|
6096
|
+
return [
|
|
6097
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6098
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6099
|
+
];
|
|
6100
|
+
}).s("Inspector2", "ListTagsForResource", {}).n("Inspector2Client", "ListTagsForResourceCommand").f(void 0, void 0).ser(se_ListTagsForResourceCommand).de(de_ListTagsForResourceCommand).build() {
|
|
6101
|
+
};
|
|
6102
|
+
__name(_ListTagsForResourceCommand, "ListTagsForResourceCommand");
|
|
6103
|
+
var ListTagsForResourceCommand = _ListTagsForResourceCommand;
|
|
6104
|
+
|
|
6105
|
+
// src/commands/ListUsageTotalsCommand.ts
|
|
6106
|
+
|
|
6107
|
+
|
|
6108
|
+
|
|
6109
|
+
|
|
6110
|
+
var _ListUsageTotalsCommand = class _ListUsageTotalsCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
6111
|
+
...commonParams
|
|
6112
|
+
}).m(function(Command, cs, config, o) {
|
|
6113
|
+
return [
|
|
6114
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6115
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6116
|
+
];
|
|
6117
|
+
}).s("Inspector2", "ListUsageTotals", {}).n("Inspector2Client", "ListUsageTotalsCommand").f(void 0, void 0).ser(se_ListUsageTotalsCommand).de(de_ListUsageTotalsCommand).build() {
|
|
6118
|
+
};
|
|
6119
|
+
__name(_ListUsageTotalsCommand, "ListUsageTotalsCommand");
|
|
6120
|
+
var ListUsageTotalsCommand = _ListUsageTotalsCommand;
|
|
6121
|
+
|
|
6122
|
+
// src/commands/ResetEncryptionKeyCommand.ts
|
|
6123
|
+
|
|
6124
|
+
|
|
6125
|
+
|
|
6126
|
+
|
|
6127
|
+
var _ResetEncryptionKeyCommand = class _ResetEncryptionKeyCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
6128
|
+
...commonParams
|
|
6129
|
+
}).m(function(Command, cs, config, o) {
|
|
6130
|
+
return [
|
|
6131
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6132
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6133
|
+
];
|
|
6134
|
+
}).s("Inspector2", "ResetEncryptionKey", {}).n("Inspector2Client", "ResetEncryptionKeyCommand").f(void 0, void 0).ser(se_ResetEncryptionKeyCommand).de(de_ResetEncryptionKeyCommand).build() {
|
|
6135
|
+
};
|
|
6136
|
+
__name(_ResetEncryptionKeyCommand, "ResetEncryptionKeyCommand");
|
|
6137
|
+
var ResetEncryptionKeyCommand = _ResetEncryptionKeyCommand;
|
|
6138
|
+
|
|
6139
|
+
// src/commands/SearchVulnerabilitiesCommand.ts
|
|
4948
6140
|
|
|
4949
6141
|
|
|
4950
6142
|
|
|
4951
6143
|
|
|
4952
|
-
var
|
|
6144
|
+
var _SearchVulnerabilitiesCommand = class _SearchVulnerabilitiesCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4953
6145
|
...commonParams
|
|
4954
6146
|
}).m(function(Command, cs, config, o) {
|
|
4955
6147
|
return [
|
|
4956
6148
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4957
6149
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4958
6150
|
];
|
|
4959
|
-
}).s("Inspector2", "
|
|
6151
|
+
}).s("Inspector2", "SearchVulnerabilities", {}).n("Inspector2Client", "SearchVulnerabilitiesCommand").f(void 0, void 0).ser(se_SearchVulnerabilitiesCommand).de(de_SearchVulnerabilitiesCommand).build() {
|
|
4960
6152
|
};
|
|
4961
|
-
__name(
|
|
4962
|
-
var
|
|
6153
|
+
__name(_SearchVulnerabilitiesCommand, "SearchVulnerabilitiesCommand");
|
|
6154
|
+
var SearchVulnerabilitiesCommand = _SearchVulnerabilitiesCommand;
|
|
4963
6155
|
|
|
4964
|
-
// src/commands/
|
|
6156
|
+
// src/commands/SendCisSessionHealthCommand.ts
|
|
4965
6157
|
|
|
4966
6158
|
|
|
4967
6159
|
|
|
4968
6160
|
|
|
4969
|
-
var
|
|
6161
|
+
var _SendCisSessionHealthCommand = class _SendCisSessionHealthCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4970
6162
|
...commonParams
|
|
4971
6163
|
}).m(function(Command, cs, config, o) {
|
|
4972
6164
|
return [
|
|
4973
6165
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4974
6166
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4975
6167
|
];
|
|
4976
|
-
}).s("Inspector2", "
|
|
6168
|
+
}).s("Inspector2", "SendCisSessionHealth", {}).n("Inspector2Client", "SendCisSessionHealthCommand").f(void 0, void 0).ser(se_SendCisSessionHealthCommand).de(de_SendCisSessionHealthCommand).build() {
|
|
4977
6169
|
};
|
|
4978
|
-
__name(
|
|
4979
|
-
var
|
|
6170
|
+
__name(_SendCisSessionHealthCommand, "SendCisSessionHealthCommand");
|
|
6171
|
+
var SendCisSessionHealthCommand = _SendCisSessionHealthCommand;
|
|
4980
6172
|
|
|
4981
|
-
// src/commands/
|
|
6173
|
+
// src/commands/SendCisSessionTelemetryCommand.ts
|
|
4982
6174
|
|
|
4983
6175
|
|
|
4984
6176
|
|
|
4985
6177
|
|
|
4986
|
-
var
|
|
6178
|
+
var _SendCisSessionTelemetryCommand = class _SendCisSessionTelemetryCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
4987
6179
|
...commonParams
|
|
4988
6180
|
}).m(function(Command, cs, config, o) {
|
|
4989
6181
|
return [
|
|
4990
6182
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4991
6183
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4992
6184
|
];
|
|
4993
|
-
}).s("Inspector2", "
|
|
6185
|
+
}).s("Inspector2", "SendCisSessionTelemetry", {}).n("Inspector2Client", "SendCisSessionTelemetryCommand").f(void 0, void 0).ser(se_SendCisSessionTelemetryCommand).de(de_SendCisSessionTelemetryCommand).build() {
|
|
4994
6186
|
};
|
|
4995
|
-
__name(
|
|
4996
|
-
var
|
|
6187
|
+
__name(_SendCisSessionTelemetryCommand, "SendCisSessionTelemetryCommand");
|
|
6188
|
+
var SendCisSessionTelemetryCommand = _SendCisSessionTelemetryCommand;
|
|
4997
6189
|
|
|
4998
|
-
// src/commands/
|
|
6190
|
+
// src/commands/StartCisSessionCommand.ts
|
|
4999
6191
|
|
|
5000
6192
|
|
|
5001
6193
|
|
|
5002
6194
|
|
|
5003
|
-
var
|
|
6195
|
+
var _StartCisSessionCommand = class _StartCisSessionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
5004
6196
|
...commonParams
|
|
5005
6197
|
}).m(function(Command, cs, config, o) {
|
|
5006
6198
|
return [
|
|
5007
6199
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5008
6200
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5009
6201
|
];
|
|
5010
|
-
}).s("Inspector2", "
|
|
6202
|
+
}).s("Inspector2", "StartCisSession", {}).n("Inspector2Client", "StartCisSessionCommand").f(void 0, void 0).ser(se_StartCisSessionCommand).de(de_StartCisSessionCommand).build() {
|
|
5011
6203
|
};
|
|
5012
|
-
__name(
|
|
5013
|
-
var
|
|
6204
|
+
__name(_StartCisSessionCommand, "StartCisSessionCommand");
|
|
6205
|
+
var StartCisSessionCommand = _StartCisSessionCommand;
|
|
5014
6206
|
|
|
5015
|
-
// src/commands/
|
|
6207
|
+
// src/commands/StopCisSessionCommand.ts
|
|
5016
6208
|
|
|
5017
6209
|
|
|
5018
6210
|
|
|
5019
6211
|
|
|
5020
|
-
var
|
|
6212
|
+
var _StopCisSessionCommand = class _StopCisSessionCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
5021
6213
|
...commonParams
|
|
5022
6214
|
}).m(function(Command, cs, config, o) {
|
|
5023
6215
|
return [
|
|
5024
6216
|
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
5025
6217
|
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
5026
6218
|
];
|
|
5027
|
-
}).s("Inspector2", "
|
|
6219
|
+
}).s("Inspector2", "StopCisSession", {}).n("Inspector2Client", "StopCisSessionCommand").f(void 0, void 0).ser(se_StopCisSessionCommand).de(de_StopCisSessionCommand).build() {
|
|
5028
6220
|
};
|
|
5029
|
-
__name(
|
|
5030
|
-
var
|
|
6221
|
+
__name(_StopCisSessionCommand, "StopCisSessionCommand");
|
|
6222
|
+
var StopCisSessionCommand = _StopCisSessionCommand;
|
|
5031
6223
|
|
|
5032
6224
|
// src/commands/TagResourceCommand.ts
|
|
5033
6225
|
|
|
@@ -5063,6 +6255,23 @@ var _UntagResourceCommand = class _UntagResourceCommand extends import_smithy_cl
|
|
|
5063
6255
|
__name(_UntagResourceCommand, "UntagResourceCommand");
|
|
5064
6256
|
var UntagResourceCommand = _UntagResourceCommand;
|
|
5065
6257
|
|
|
6258
|
+
// src/commands/UpdateCisScanConfigurationCommand.ts
|
|
6259
|
+
|
|
6260
|
+
|
|
6261
|
+
|
|
6262
|
+
|
|
6263
|
+
var _UpdateCisScanConfigurationCommand = class _UpdateCisScanConfigurationCommand extends import_smithy_client.Command.classBuilder().ep({
|
|
6264
|
+
...commonParams
|
|
6265
|
+
}).m(function(Command, cs, config, o) {
|
|
6266
|
+
return [
|
|
6267
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
6268
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
6269
|
+
];
|
|
6270
|
+
}).s("Inspector2", "UpdateCisScanConfiguration", {}).n("Inspector2Client", "UpdateCisScanConfigurationCommand").f(void 0, void 0).ser(se_UpdateCisScanConfigurationCommand).de(de_UpdateCisScanConfigurationCommand).build() {
|
|
6271
|
+
};
|
|
6272
|
+
__name(_UpdateCisScanConfigurationCommand, "UpdateCisScanConfigurationCommand");
|
|
6273
|
+
var UpdateCisScanConfigurationCommand = _UpdateCisScanConfigurationCommand;
|
|
6274
|
+
|
|
5066
6275
|
// src/commands/UpdateConfigurationCommand.ts
|
|
5067
6276
|
|
|
5068
6277
|
|
|
@@ -5176,9 +6385,11 @@ var commands = {
|
|
|
5176
6385
|
BatchUpdateMemberEc2DeepInspectionStatusCommand,
|
|
5177
6386
|
CancelFindingsReportCommand,
|
|
5178
6387
|
CancelSbomExportCommand,
|
|
6388
|
+
CreateCisScanConfigurationCommand,
|
|
5179
6389
|
CreateFilterCommand,
|
|
5180
6390
|
CreateFindingsReportCommand,
|
|
5181
6391
|
CreateSbomExportCommand,
|
|
6392
|
+
DeleteCisScanConfigurationCommand,
|
|
5182
6393
|
DeleteFilterCommand,
|
|
5183
6394
|
DescribeOrganizationConfigurationCommand,
|
|
5184
6395
|
DisableCommand,
|
|
@@ -5186,6 +6397,8 @@ var commands = {
|
|
|
5186
6397
|
DisassociateMemberCommand,
|
|
5187
6398
|
EnableCommand,
|
|
5188
6399
|
EnableDelegatedAdminAccountCommand,
|
|
6400
|
+
GetCisScanReportCommand,
|
|
6401
|
+
GetCisScanResultDetailsCommand,
|
|
5189
6402
|
GetConfigurationCommand,
|
|
5190
6403
|
GetDelegatedAdminAccountCommand,
|
|
5191
6404
|
GetEc2DeepInspectionConfigurationCommand,
|
|
@@ -5194,6 +6407,10 @@ var commands = {
|
|
|
5194
6407
|
GetMemberCommand,
|
|
5195
6408
|
GetSbomExportCommand,
|
|
5196
6409
|
ListAccountPermissionsCommand,
|
|
6410
|
+
ListCisScanConfigurationsCommand,
|
|
6411
|
+
ListCisScanResultsAggregatedByChecksCommand,
|
|
6412
|
+
ListCisScanResultsAggregatedByTargetResourceCommand,
|
|
6413
|
+
ListCisScansCommand,
|
|
5197
6414
|
ListCoverageCommand,
|
|
5198
6415
|
ListCoverageStatisticsCommand,
|
|
5199
6416
|
ListDelegatedAdminAccountsCommand,
|
|
@@ -5205,8 +6422,13 @@ var commands = {
|
|
|
5205
6422
|
ListUsageTotalsCommand,
|
|
5206
6423
|
ResetEncryptionKeyCommand,
|
|
5207
6424
|
SearchVulnerabilitiesCommand,
|
|
6425
|
+
SendCisSessionHealthCommand,
|
|
6426
|
+
SendCisSessionTelemetryCommand,
|
|
6427
|
+
StartCisSessionCommand,
|
|
6428
|
+
StopCisSessionCommand,
|
|
5208
6429
|
TagResourceCommand,
|
|
5209
6430
|
UntagResourceCommand,
|
|
6431
|
+
UpdateCisScanConfigurationCommand,
|
|
5210
6432
|
UpdateConfigurationCommand,
|
|
5211
6433
|
UpdateEc2DeepInspectionConfigurationCommand,
|
|
5212
6434
|
UpdateEncryptionKeyCommand,
|
|
@@ -5220,63 +6442,114 @@ __name(_Inspector2, "Inspector2");
|
|
|
5220
6442
|
var Inspector2 = _Inspector2;
|
|
5221
6443
|
(0, import_smithy_client.createAggregatedClient)(commands, Inspector2);
|
|
5222
6444
|
|
|
5223
|
-
// src/pagination/
|
|
6445
|
+
// src/pagination/GetCisScanResultDetailsPaginator.ts
|
|
5224
6446
|
var import_core3 = require("@smithy/core");
|
|
5225
|
-
var
|
|
6447
|
+
var paginateGetCisScanResultDetails = (0, import_core3.createPaginator)(Inspector2Client, GetCisScanResultDetailsCommand, "nextToken", "nextToken", "maxResults");
|
|
5226
6448
|
|
|
5227
|
-
// src/pagination/
|
|
6449
|
+
// src/pagination/ListAccountPermissionsPaginator.ts
|
|
5228
6450
|
var import_core4 = require("@smithy/core");
|
|
5229
|
-
var
|
|
6451
|
+
var paginateListAccountPermissions = (0, import_core4.createPaginator)(Inspector2Client, ListAccountPermissionsCommand, "nextToken", "nextToken", "maxResults");
|
|
5230
6452
|
|
|
5231
|
-
// src/pagination/
|
|
6453
|
+
// src/pagination/ListCisScanConfigurationsPaginator.ts
|
|
5232
6454
|
var import_core5 = require("@smithy/core");
|
|
5233
|
-
var
|
|
6455
|
+
var paginateListCisScanConfigurations = (0, import_core5.createPaginator)(Inspector2Client, ListCisScanConfigurationsCommand, "nextToken", "nextToken", "maxResults");
|
|
5234
6456
|
|
|
5235
|
-
// src/pagination/
|
|
6457
|
+
// src/pagination/ListCisScanResultsAggregatedByChecksPaginator.ts
|
|
5236
6458
|
var import_core6 = require("@smithy/core");
|
|
5237
|
-
var
|
|
6459
|
+
var paginateListCisScanResultsAggregatedByChecks = (0, import_core6.createPaginator)(Inspector2Client, ListCisScanResultsAggregatedByChecksCommand, "nextToken", "nextToken", "maxResults");
|
|
5238
6460
|
|
|
5239
|
-
// src/pagination/
|
|
6461
|
+
// src/pagination/ListCisScanResultsAggregatedByTargetResourcePaginator.ts
|
|
5240
6462
|
var import_core7 = require("@smithy/core");
|
|
5241
|
-
var
|
|
6463
|
+
var paginateListCisScanResultsAggregatedByTargetResource = (0, import_core7.createPaginator)(Inspector2Client, ListCisScanResultsAggregatedByTargetResourceCommand, "nextToken", "nextToken", "maxResults");
|
|
5242
6464
|
|
|
5243
|
-
// src/pagination/
|
|
6465
|
+
// src/pagination/ListCisScansPaginator.ts
|
|
5244
6466
|
var import_core8 = require("@smithy/core");
|
|
5245
|
-
var
|
|
6467
|
+
var paginateListCisScans = (0, import_core8.createPaginator)(Inspector2Client, ListCisScansCommand, "nextToken", "nextToken", "maxResults");
|
|
5246
6468
|
|
|
5247
|
-
// src/pagination/
|
|
6469
|
+
// src/pagination/ListCoveragePaginator.ts
|
|
5248
6470
|
var import_core9 = require("@smithy/core");
|
|
5249
|
-
var
|
|
6471
|
+
var paginateListCoverage = (0, import_core9.createPaginator)(Inspector2Client, ListCoverageCommand, "nextToken", "nextToken", "maxResults");
|
|
5250
6472
|
|
|
5251
|
-
// src/pagination/
|
|
6473
|
+
// src/pagination/ListCoverageStatisticsPaginator.ts
|
|
5252
6474
|
var import_core10 = require("@smithy/core");
|
|
5253
|
-
var
|
|
6475
|
+
var paginateListCoverageStatistics = (0, import_core10.createPaginator)(Inspector2Client, ListCoverageStatisticsCommand, "nextToken", "nextToken", "");
|
|
5254
6476
|
|
|
5255
|
-
// src/pagination/
|
|
6477
|
+
// src/pagination/ListDelegatedAdminAccountsPaginator.ts
|
|
5256
6478
|
var import_core11 = require("@smithy/core");
|
|
5257
|
-
var
|
|
6479
|
+
var paginateListDelegatedAdminAccounts = (0, import_core11.createPaginator)(Inspector2Client, ListDelegatedAdminAccountsCommand, "nextToken", "nextToken", "maxResults");
|
|
5258
6480
|
|
|
5259
|
-
// src/pagination/
|
|
6481
|
+
// src/pagination/ListFiltersPaginator.ts
|
|
5260
6482
|
var import_core12 = require("@smithy/core");
|
|
5261
|
-
var
|
|
6483
|
+
var paginateListFilters = (0, import_core12.createPaginator)(Inspector2Client, ListFiltersCommand, "nextToken", "nextToken", "maxResults");
|
|
6484
|
+
|
|
6485
|
+
// src/pagination/ListFindingAggregationsPaginator.ts
|
|
6486
|
+
var import_core13 = require("@smithy/core");
|
|
6487
|
+
var paginateListFindingAggregations = (0, import_core13.createPaginator)(Inspector2Client, ListFindingAggregationsCommand, "nextToken", "nextToken", "maxResults");
|
|
6488
|
+
|
|
6489
|
+
// src/pagination/ListFindingsPaginator.ts
|
|
6490
|
+
var import_core14 = require("@smithy/core");
|
|
6491
|
+
var paginateListFindings = (0, import_core14.createPaginator)(Inspector2Client, ListFindingsCommand, "nextToken", "nextToken", "maxResults");
|
|
6492
|
+
|
|
6493
|
+
// src/pagination/ListMembersPaginator.ts
|
|
6494
|
+
var import_core15 = require("@smithy/core");
|
|
6495
|
+
var paginateListMembers = (0, import_core15.createPaginator)(Inspector2Client, ListMembersCommand, "nextToken", "nextToken", "maxResults");
|
|
6496
|
+
|
|
6497
|
+
// src/pagination/ListUsageTotalsPaginator.ts
|
|
6498
|
+
var import_core16 = require("@smithy/core");
|
|
6499
|
+
var paginateListUsageTotals = (0, import_core16.createPaginator)(Inspector2Client, ListUsageTotalsCommand, "nextToken", "nextToken", "maxResults");
|
|
6500
|
+
|
|
6501
|
+
// src/pagination/SearchVulnerabilitiesPaginator.ts
|
|
6502
|
+
var import_core17 = require("@smithy/core");
|
|
6503
|
+
var paginateSearchVulnerabilities = (0, import_core17.createPaginator)(Inspector2Client, SearchVulnerabilitiesCommand, "nextToken", "nextToken", "");
|
|
6504
|
+
|
|
6505
|
+
// src/models/models_1.ts
|
|
6506
|
+
var SortField = {
|
|
6507
|
+
AWS_ACCOUNT_ID: "AWS_ACCOUNT_ID",
|
|
6508
|
+
COMPONENT_TYPE: "COMPONENT_TYPE",
|
|
6509
|
+
ECR_IMAGE_PUSHED_AT: "ECR_IMAGE_PUSHED_AT",
|
|
6510
|
+
ECR_IMAGE_REGISTRY: "ECR_IMAGE_REGISTRY",
|
|
6511
|
+
ECR_IMAGE_REPOSITORY_NAME: "ECR_IMAGE_REPOSITORY_NAME",
|
|
6512
|
+
EPSS_SCORE: "EPSS_SCORE",
|
|
6513
|
+
FINDING_STATUS: "FINDING_STATUS",
|
|
6514
|
+
FINDING_TYPE: "FINDING_TYPE",
|
|
6515
|
+
FIRST_OBSERVED_AT: "FIRST_OBSERVED_AT",
|
|
6516
|
+
INSPECTOR_SCORE: "INSPECTOR_SCORE",
|
|
6517
|
+
LAST_OBSERVED_AT: "LAST_OBSERVED_AT",
|
|
6518
|
+
NETWORK_PROTOCOL: "NETWORK_PROTOCOL",
|
|
6519
|
+
RESOURCE_TYPE: "RESOURCE_TYPE",
|
|
6520
|
+
SEVERITY: "SEVERITY",
|
|
6521
|
+
VENDOR_SEVERITY: "VENDOR_SEVERITY",
|
|
6522
|
+
VULNERABILITY_ID: "VULNERABILITY_ID",
|
|
6523
|
+
VULNERABILITY_SOURCE: "VULNERABILITY_SOURCE"
|
|
6524
|
+
};
|
|
6525
|
+
var UsageType = {
|
|
6526
|
+
EC2_INSTANCE_HOURS: "EC2_INSTANCE_HOURS",
|
|
6527
|
+
ECR_INITIAL_SCAN: "ECR_INITIAL_SCAN",
|
|
6528
|
+
ECR_RESCAN: "ECR_RESCAN",
|
|
6529
|
+
LAMBDA_FUNCTION_CODE_HOURS: "LAMBDA_FUNCTION_CODE_HOURS",
|
|
6530
|
+
LAMBDA_FUNCTION_HOURS: "LAMBDA_FUNCTION_HOURS"
|
|
6531
|
+
};
|
|
6532
|
+
var VulnerabilitySource = {
|
|
6533
|
+
NVD: "NVD"
|
|
6534
|
+
};
|
|
6535
|
+
var StopCisSessionStatus = {
|
|
6536
|
+
FAILED: "FAILED",
|
|
6537
|
+
INTERRUPTED: "INTERRUPTED",
|
|
6538
|
+
SUCCESS: "SUCCESS",
|
|
6539
|
+
UNSUPPORTED_OS: "UNSUPPORTED_OS"
|
|
6540
|
+
};
|
|
5262
6541
|
|
|
5263
6542
|
// src/index.ts
|
|
5264
6543
|
var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
5265
6544
|
// Annotate the CommonJS export names for ESM import in node:
|
|
5266
6545
|
|
|
5267
6546
|
0 && (module.exports = {
|
|
5268
|
-
|
|
5269
|
-
|
|
5270
|
-
|
|
5271
|
-
|
|
5272
|
-
|
|
5273
|
-
AggregationResponse,
|
|
5274
|
-
AggregationType,
|
|
5275
|
-
AmiSortBy,
|
|
5276
|
-
Architecture,
|
|
6547
|
+
Inspector2ServiceException,
|
|
6548
|
+
__Client,
|
|
6549
|
+
Inspector2Client,
|
|
6550
|
+
Inspector2,
|
|
6551
|
+
$Command,
|
|
5277
6552
|
AssociateMemberCommand,
|
|
5278
|
-
AwsEcrContainerSortBy,
|
|
5279
|
-
BadRequestException,
|
|
5280
6553
|
BatchGetAccountStatusCommand,
|
|
5281
6554
|
BatchGetCodeSnippetCommand,
|
|
5282
6555
|
BatchGetFindingDetailsCommand,
|
|
@@ -5285,41 +6558,20 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
5285
6558
|
BatchUpdateMemberEc2DeepInspectionStatusCommand,
|
|
5286
6559
|
CancelFindingsReportCommand,
|
|
5287
6560
|
CancelSbomExportCommand,
|
|
5288
|
-
|
|
5289
|
-
ConflictException,
|
|
5290
|
-
CoverageMapComparison,
|
|
5291
|
-
CoverageResourceType,
|
|
5292
|
-
CoverageStringComparison,
|
|
6561
|
+
CreateCisScanConfigurationCommand,
|
|
5293
6562
|
CreateFilterCommand,
|
|
5294
6563
|
CreateFindingsReportCommand,
|
|
5295
6564
|
CreateSbomExportCommand,
|
|
5296
|
-
|
|
5297
|
-
DelegatedAdminStatus,
|
|
6565
|
+
DeleteCisScanConfigurationCommand,
|
|
5298
6566
|
DeleteFilterCommand,
|
|
5299
6567
|
DescribeOrganizationConfigurationCommand,
|
|
5300
6568
|
DisableCommand,
|
|
5301
6569
|
DisableDelegatedAdminAccountCommand,
|
|
5302
6570
|
DisassociateMemberCommand,
|
|
5303
|
-
Ec2DeepInspectionStatus,
|
|
5304
|
-
Ec2InstanceSortBy,
|
|
5305
|
-
Ec2Platform,
|
|
5306
|
-
EcrRescanDuration,
|
|
5307
|
-
EcrRescanDurationStatus,
|
|
5308
|
-
EcrScanFrequency,
|
|
5309
6571
|
EnableCommand,
|
|
5310
6572
|
EnableDelegatedAdminAccountCommand,
|
|
5311
|
-
|
|
5312
|
-
|
|
5313
|
-
ExternalReportStatus,
|
|
5314
|
-
FilterAction,
|
|
5315
|
-
FindingDetailsErrorCode,
|
|
5316
|
-
FindingStatus,
|
|
5317
|
-
FindingType,
|
|
5318
|
-
FindingTypeSortBy,
|
|
5319
|
-
FixAvailable,
|
|
5320
|
-
FreeTrialInfoErrorCode,
|
|
5321
|
-
FreeTrialStatus,
|
|
5322
|
-
FreeTrialType,
|
|
6573
|
+
GetCisScanReportCommand,
|
|
6574
|
+
GetCisScanResultDetailsCommand,
|
|
5323
6575
|
GetConfigurationCommand,
|
|
5324
6576
|
GetDelegatedAdminAccountCommand,
|
|
5325
6577
|
GetEc2DeepInspectionConfigurationCommand,
|
|
@@ -5327,15 +6579,11 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
5327
6579
|
GetFindingsReportStatusCommand,
|
|
5328
6580
|
GetMemberCommand,
|
|
5329
6581
|
GetSbomExportCommand,
|
|
5330
|
-
GroupKey,
|
|
5331
|
-
ImageLayerSortBy,
|
|
5332
|
-
Inspector2,
|
|
5333
|
-
Inspector2Client,
|
|
5334
|
-
Inspector2ServiceException,
|
|
5335
|
-
InternalServerException,
|
|
5336
|
-
LambdaFunctionSortBy,
|
|
5337
|
-
LambdaLayerSortBy,
|
|
5338
6582
|
ListAccountPermissionsCommand,
|
|
6583
|
+
ListCisScanConfigurationsCommand,
|
|
6584
|
+
ListCisScanResultsAggregatedByChecksCommand,
|
|
6585
|
+
ListCisScanResultsAggregatedByTargetResourceCommand,
|
|
6586
|
+
ListCisScansCommand,
|
|
5339
6587
|
ListCoverageCommand,
|
|
5340
6588
|
ListCoverageStatisticsCommand,
|
|
5341
6589
|
ListDelegatedAdminAccountsCommand,
|
|
@@ -5345,51 +6593,27 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
5345
6593
|
ListMembersCommand,
|
|
5346
6594
|
ListTagsForResourceCommand,
|
|
5347
6595
|
ListUsageTotalsCommand,
|
|
5348
|
-
MapComparison,
|
|
5349
|
-
NetworkProtocol,
|
|
5350
|
-
Operation,
|
|
5351
|
-
PackageManager,
|
|
5352
|
-
PackageSortBy,
|
|
5353
|
-
PackageType,
|
|
5354
|
-
RelationshipStatus,
|
|
5355
|
-
ReportFormat,
|
|
5356
|
-
ReportingErrorCode,
|
|
5357
|
-
RepositorySortBy,
|
|
5358
6596
|
ResetEncryptionKeyCommand,
|
|
5359
|
-
ResourceMapComparison,
|
|
5360
|
-
ResourceNotFoundException,
|
|
5361
|
-
ResourceScanType,
|
|
5362
|
-
ResourceStringComparison,
|
|
5363
|
-
ResourceType,
|
|
5364
|
-
Runtime,
|
|
5365
|
-
SbomReportFormat,
|
|
5366
|
-
ScanStatusCode,
|
|
5367
|
-
ScanStatusReason,
|
|
5368
|
-
ScanType,
|
|
5369
6597
|
SearchVulnerabilitiesCommand,
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
|
|
5373
|
-
|
|
5374
|
-
SortOrder,
|
|
5375
|
-
Status,
|
|
5376
|
-
StringComparison,
|
|
6598
|
+
SendCisSessionHealthCommand,
|
|
6599
|
+
SendCisSessionTelemetryCommand,
|
|
6600
|
+
StartCisSessionCommand,
|
|
6601
|
+
StopCisSessionCommand,
|
|
5377
6602
|
TagResourceCommand,
|
|
5378
|
-
ThrottlingException,
|
|
5379
|
-
TitleSortBy,
|
|
5380
6603
|
UntagResourceCommand,
|
|
6604
|
+
UpdateCisScanConfigurationCommand,
|
|
5381
6605
|
UpdateConfigurationCommand,
|
|
5382
6606
|
UpdateEc2DeepInspectionConfigurationCommand,
|
|
5383
6607
|
UpdateEncryptionKeyCommand,
|
|
5384
6608
|
UpdateFilterCommand,
|
|
5385
6609
|
UpdateOrgEc2DeepInspectionConfigurationCommand,
|
|
5386
6610
|
UpdateOrganizationConfigurationCommand,
|
|
5387
|
-
|
|
5388
|
-
ValidationException,
|
|
5389
|
-
ValidationExceptionReason,
|
|
5390
|
-
VulnerabilitySource,
|
|
5391
|
-
__Client,
|
|
6611
|
+
paginateGetCisScanResultDetails,
|
|
5392
6612
|
paginateListAccountPermissions,
|
|
6613
|
+
paginateListCisScanConfigurations,
|
|
6614
|
+
paginateListCisScanResultsAggregatedByChecks,
|
|
6615
|
+
paginateListCisScanResultsAggregatedByTargetResource,
|
|
6616
|
+
paginateListCisScans,
|
|
5393
6617
|
paginateListCoverage,
|
|
5394
6618
|
paginateListCoverageStatistics,
|
|
5395
6619
|
paginateListDelegatedAdminAccounts,
|
|
@@ -5398,6 +6622,105 @@ var import_util_endpoints = require("@aws-sdk/util-endpoints");
|
|
|
5398
6622
|
paginateListFindings,
|
|
5399
6623
|
paginateListMembers,
|
|
5400
6624
|
paginateListUsageTotals,
|
|
5401
|
-
paginateSearchVulnerabilities
|
|
6625
|
+
paginateSearchVulnerabilities,
|
|
6626
|
+
AccessDeniedException,
|
|
6627
|
+
Status,
|
|
6628
|
+
AggregationFindingType,
|
|
6629
|
+
AggregationResourceType,
|
|
6630
|
+
AccountSortBy,
|
|
6631
|
+
SortOrder,
|
|
6632
|
+
CisStringComparison,
|
|
6633
|
+
ErrorCode,
|
|
6634
|
+
StringComparison,
|
|
6635
|
+
AmiSortBy,
|
|
6636
|
+
AwsEcrContainerSortBy,
|
|
6637
|
+
MapComparison,
|
|
6638
|
+
Ec2InstanceSortBy,
|
|
6639
|
+
FindingTypeSortBy,
|
|
6640
|
+
ImageLayerSortBy,
|
|
6641
|
+
LambdaFunctionSortBy,
|
|
6642
|
+
LambdaLayerSortBy,
|
|
6643
|
+
PackageSortBy,
|
|
6644
|
+
RepositorySortBy,
|
|
6645
|
+
TitleSortBy,
|
|
6646
|
+
AggregationRequest,
|
|
6647
|
+
AggregationResponse,
|
|
6648
|
+
AggregationType,
|
|
6649
|
+
Architecture,
|
|
6650
|
+
InternalServerException,
|
|
6651
|
+
ThrottlingException,
|
|
6652
|
+
ValidationExceptionReason,
|
|
6653
|
+
ValidationException,
|
|
6654
|
+
PackageType,
|
|
6655
|
+
Runtime,
|
|
6656
|
+
BadRequestException,
|
|
6657
|
+
ResourceNotFoundException,
|
|
6658
|
+
CodeSnippetErrorCode,
|
|
6659
|
+
FindingDetailsErrorCode,
|
|
6660
|
+
FreeTrialStatus,
|
|
6661
|
+
FreeTrialType,
|
|
6662
|
+
FreeTrialInfoErrorCode,
|
|
6663
|
+
Ec2DeepInspectionStatus,
|
|
6664
|
+
CisSecurityLevel,
|
|
6665
|
+
CisFindingStatus,
|
|
6666
|
+
CisFindingStatusComparison,
|
|
6667
|
+
CisReportStatus,
|
|
6668
|
+
CisResultStatus,
|
|
6669
|
+
CisResultStatusComparison,
|
|
6670
|
+
CisRuleStatus,
|
|
6671
|
+
CisScanStatus,
|
|
6672
|
+
Day,
|
|
6673
|
+
Schedule,
|
|
6674
|
+
CisScanConfigurationsSortBy,
|
|
6675
|
+
CisSecurityLevelComparison,
|
|
6676
|
+
CisScanResultDetailsSortBy,
|
|
6677
|
+
CisScanResultsAggregatedByChecksSortBy,
|
|
6678
|
+
TagComparison,
|
|
6679
|
+
CisTargetStatusComparison,
|
|
6680
|
+
CisTargetStatus,
|
|
6681
|
+
CisTargetStatusReason,
|
|
6682
|
+
CisScanResultsAggregatedByTargetResourceSortBy,
|
|
6683
|
+
CisScanStatusComparison,
|
|
6684
|
+
CisSortOrder,
|
|
6685
|
+
ConflictException,
|
|
6686
|
+
GroupKey,
|
|
6687
|
+
CoverageStringComparison,
|
|
6688
|
+
CoverageMapComparison,
|
|
6689
|
+
CoverageResourceType,
|
|
6690
|
+
Ec2Platform,
|
|
6691
|
+
EcrScanFrequency,
|
|
6692
|
+
ScanStatusReason,
|
|
6693
|
+
ScanStatusCode,
|
|
6694
|
+
ScanType,
|
|
6695
|
+
FilterAction,
|
|
6696
|
+
ServiceQuotaExceededException,
|
|
6697
|
+
ReportFormat,
|
|
6698
|
+
SbomReportFormat,
|
|
6699
|
+
ResourceStringComparison,
|
|
6700
|
+
ResourceMapComparison,
|
|
6701
|
+
Currency,
|
|
6702
|
+
RelationshipStatus,
|
|
6703
|
+
DelegatedAdminStatus,
|
|
6704
|
+
ResourceScanType,
|
|
6705
|
+
EcrRescanDuration,
|
|
6706
|
+
EcrRescanDurationStatus,
|
|
6707
|
+
ExploitAvailable,
|
|
6708
|
+
ExternalReportStatus,
|
|
6709
|
+
FixAvailable,
|
|
6710
|
+
NetworkProtocol,
|
|
6711
|
+
PackageManager,
|
|
6712
|
+
ResourceType,
|
|
6713
|
+
Severity,
|
|
6714
|
+
FindingStatus,
|
|
6715
|
+
FindingType,
|
|
6716
|
+
ReportingErrorCode,
|
|
6717
|
+
Service,
|
|
6718
|
+
Operation,
|
|
6719
|
+
ListCisScansDetailLevel,
|
|
6720
|
+
ListCisScansSortBy,
|
|
6721
|
+
SortField,
|
|
6722
|
+
UsageType,
|
|
6723
|
+
VulnerabilitySource,
|
|
6724
|
+
StopCisSessionStatus
|
|
5402
6725
|
});
|
|
5403
6726
|
|