@aws-sdk/client-inspector2 3.1079.0 → 3.1081.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 +42 -0
- package/dist-cjs/index.js +967 -133
- package/dist-es/Inspector2.js +25 -1
- package/dist-es/commands/CreateConnectorCommand.js +4 -0
- package/dist-es/commands/DeleteConnectorCommand.js +4 -0
- package/dist-es/commands/ListConnectorScanConfigurationsCommand.js +4 -0
- package/dist-es/commands/ListConnectorsCommand.js +4 -0
- package/dist-es/commands/UpdateConnectorCommand.js +4 -0
- package/dist-es/commands/UpdateConnectorScanConfigurationCommand.js +4 -0
- package/dist-es/commands/index.js +6 -0
- package/dist-es/index.js +1 -0
- package/dist-es/models/enums.js +130 -0
- package/dist-es/pagination/ListConnectorScanConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/ListConnectorsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +542 -130
- package/dist-es/waiters/index.js +3 -0
- package/dist-es/waiters/waitForConnectorConnected.js +69 -0
- package/dist-es/waiters/waitForConnectorDeleted.js +46 -0
- package/dist-es/waiters/waitForConnectorEnabled.js +69 -0
- package/dist-types/Inspector2.d.ts +78 -1
- package/dist-types/Inspector2Client.d.ts +8 -2
- package/dist-types/commands/BatchGetFreeTrialInfoCommand.d.ts +1 -0
- package/dist-types/commands/CreateConnectorCommand.d.ts +167 -0
- package/dist-types/commands/CreateFilterCommand.d.ts +24 -0
- package/dist-types/commands/CreateFindingsReportCommand.d.ts +24 -0
- package/dist-types/commands/DeleteConnectorCommand.d.ts +105 -0
- package/dist-types/commands/GetConfigurationCommand.d.ts +18 -3
- package/dist-types/commands/GetFindingsReportStatusCommand.d.ts +24 -0
- package/dist-types/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +2 -1
- package/dist-types/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +1 -1
- package/dist-types/commands/ListConnectorScanConfigurationsCommand.d.ts +135 -0
- package/dist-types/commands/ListConnectorsCommand.d.ts +226 -0
- package/dist-types/commands/ListCoverageCommand.d.ts +59 -1
- package/dist-types/commands/ListCoverageStatisticsCommand.d.ts +24 -1
- package/dist-types/commands/ListDelegatedAdminAccountsCommand.d.ts +1 -1
- package/dist-types/commands/ListFiltersCommand.d.ts +25 -1
- package/dist-types/commands/ListFindingAggregationsCommand.d.ts +149 -2
- package/dist-types/commands/ListFindingsCommand.d.ts +86 -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 +2 -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 +1 -1
- package/dist-types/commands/SendCisSessionTelemetryCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConfigurationCommand.d.ts +11 -3
- package/dist-types/commands/UpdateConnectorCommand.d.ts +146 -0
- package/dist-types/commands/UpdateConnectorScanConfigurationCommand.d.ts +117 -0
- package/dist-types/commands/UpdateFilterCommand.d.ts +24 -0
- package/dist-types/commands/index.d.ts +6 -0
- package/dist-types/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +282 -0
- package/dist-types/models/models_0.d.ts +3359 -1910
- package/dist-types/models/models_1.d.ts +932 -2
- package/dist-types/pagination/ListConnectorScanConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/ListConnectorsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +51 -0
- package/dist-types/ts3.4/Inspector2.d.ts +147 -0
- package/dist-types/ts3.4/Inspector2Client.d.ts +36 -0
- package/dist-types/ts3.4/commands/CreateConnectorCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/DeleteConnectorCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/GetConfigurationCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationAssociationsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ListCodeSecurityScanConfigurationsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/ListConnectorScanConfigurationsCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/ListConnectorsCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/ListCoverageCommand.d.ts +1 -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 +1 -1
- package/dist-types/ts3.4/commands/SendCisSessionTelemetryCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/UpdateConnectorCommand.d.ts +43 -0
- package/dist-types/ts3.4/commands/UpdateConnectorScanConfigurationCommand.d.ts +44 -0
- package/dist-types/ts3.4/commands/index.d.ts +6 -0
- package/dist-types/ts3.4/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +162 -0
- package/dist-types/ts3.4/models/models_0.d.ts +571 -166
- package/dist-types/ts3.4/models/models_1.d.ts +248 -1
- package/dist-types/ts3.4/pagination/ListConnectorScanConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListConnectorsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +51 -0
- package/dist-types/ts3.4/waiters/index.d.ts +3 -0
- package/dist-types/ts3.4/waiters/waitForConnectorConnected.d.ts +17 -0
- package/dist-types/ts3.4/waiters/waitForConnectorDeleted.d.ts +17 -0
- package/dist-types/ts3.4/waiters/waitForConnectorEnabled.d.ts +17 -0
- package/dist-types/waiters/index.d.ts +3 -0
- package/dist-types/waiters/waitForConnectorConnected.d.ts +15 -0
- package/dist-types/waiters/waitForConnectorDeleted.d.ts +15 -0
- package/dist-types/waiters/waitForConnectorEnabled.d.ts +15 -0
- package/package.json +3 -3
|
@@ -1,24 +1,235 @@
|
|
|
1
1
|
import {
|
|
2
|
+
AggregationType,
|
|
2
3
|
CisSecurityLevel,
|
|
4
|
+
CloudProvider,
|
|
3
5
|
CodeScanStatus,
|
|
6
|
+
Currency,
|
|
4
7
|
Ec2DeepInspectionStatus,
|
|
5
8
|
FilterAction,
|
|
9
|
+
GroupKey,
|
|
10
|
+
InheritanceMode,
|
|
6
11
|
IntegrationStatus,
|
|
7
12
|
ResourceType,
|
|
8
13
|
ScanType,
|
|
14
|
+
SortField,
|
|
15
|
+
SortOrder,
|
|
9
16
|
StopCisSessionStatus,
|
|
17
|
+
UsageType,
|
|
18
|
+
VulnerabilitySource,
|
|
10
19
|
} from "./enums";
|
|
11
20
|
import {
|
|
21
|
+
AggregationRequest,
|
|
22
|
+
AggregationResponse,
|
|
23
|
+
AtigData,
|
|
12
24
|
AutoEnable,
|
|
25
|
+
AzureProviderDetailUpdate,
|
|
26
|
+
CisaData,
|
|
27
|
+
CisSessionMessage,
|
|
13
28
|
CodeSecurityResource,
|
|
14
29
|
CodeSecurityScanConfiguration,
|
|
30
|
+
CodeSecurityScanConfigurationAssociationSummary,
|
|
31
|
+
CodeSecurityScanConfigurationSummary,
|
|
15
32
|
ComputePlatform,
|
|
33
|
+
Connector,
|
|
34
|
+
ConnectorFilterCriteria,
|
|
35
|
+
ConnectorScanConfiguration,
|
|
36
|
+
ConnectorScanConfigurationItem,
|
|
37
|
+
Counts,
|
|
38
|
+
CoverageFilterCriteria,
|
|
39
|
+
CoveredResource,
|
|
40
|
+
Cvss2,
|
|
41
|
+
Cvss3,
|
|
42
|
+
Cvss4,
|
|
43
|
+
DelegatedAdminAccount,
|
|
16
44
|
Ec2Configuration,
|
|
17
45
|
EcrConfiguration,
|
|
46
|
+
Epss,
|
|
47
|
+
ExploitObserved,
|
|
48
|
+
Filter,
|
|
18
49
|
FilterCriteria,
|
|
50
|
+
Finding,
|
|
51
|
+
Member,
|
|
19
52
|
Schedule,
|
|
20
|
-
|
|
53
|
+
StringFilter,
|
|
21
54
|
} from "./models_0";
|
|
55
|
+
export interface ListCodeSecurityScanConfigurationAssociationsResponse {
|
|
56
|
+
associations?: CodeSecurityScanConfigurationAssociationSummary[] | undefined;
|
|
57
|
+
nextToken?: string | undefined;
|
|
58
|
+
}
|
|
59
|
+
export interface ListCodeSecurityScanConfigurationsRequest {
|
|
60
|
+
nextToken?: string | undefined;
|
|
61
|
+
maxResults?: number | undefined;
|
|
62
|
+
}
|
|
63
|
+
export interface ListCodeSecurityScanConfigurationsResponse {
|
|
64
|
+
configurations?: CodeSecurityScanConfigurationSummary[] | undefined;
|
|
65
|
+
nextToken?: string | undefined;
|
|
66
|
+
}
|
|
67
|
+
export interface ListConnectorsRequest {
|
|
68
|
+
maxResults?: number | undefined;
|
|
69
|
+
nextToken?: string | undefined;
|
|
70
|
+
filterCriteria?: ConnectorFilterCriteria | undefined;
|
|
71
|
+
}
|
|
72
|
+
export interface ListConnectorsResponse {
|
|
73
|
+
items: Connector[] | undefined;
|
|
74
|
+
nextToken?: string | undefined;
|
|
75
|
+
}
|
|
76
|
+
export interface ListConnectorScanConfigurationsRequest {
|
|
77
|
+
awsConfigConnectorArns?: string[] | undefined;
|
|
78
|
+
maxResults?: number | undefined;
|
|
79
|
+
nextToken?: string | undefined;
|
|
80
|
+
}
|
|
81
|
+
export interface ListConnectorScanConfigurationsResponse {
|
|
82
|
+
scanConfigurations: ConnectorScanConfigurationItem[] | undefined;
|
|
83
|
+
nextToken?: string | undefined;
|
|
84
|
+
}
|
|
85
|
+
export interface ListCoverageRequest {
|
|
86
|
+
maxResults?: number | undefined;
|
|
87
|
+
nextToken?: string | undefined;
|
|
88
|
+
filterCriteria?: CoverageFilterCriteria | undefined;
|
|
89
|
+
}
|
|
90
|
+
export interface ListCoverageResponse {
|
|
91
|
+
nextToken?: string | undefined;
|
|
92
|
+
coveredResources?: CoveredResource[] | undefined;
|
|
93
|
+
}
|
|
94
|
+
export interface ListCoverageStatisticsRequest {
|
|
95
|
+
filterCriteria?: CoverageFilterCriteria | undefined;
|
|
96
|
+
groupBy?: GroupKey | undefined;
|
|
97
|
+
nextToken?: string | undefined;
|
|
98
|
+
}
|
|
99
|
+
export interface ListCoverageStatisticsResponse {
|
|
100
|
+
countsByGroup?: Counts[] | undefined;
|
|
101
|
+
totalCounts: number | undefined;
|
|
102
|
+
nextToken?: string | undefined;
|
|
103
|
+
}
|
|
104
|
+
export interface ListDelegatedAdminAccountsRequest {
|
|
105
|
+
maxResults?: number | undefined;
|
|
106
|
+
nextToken?: string | undefined;
|
|
107
|
+
}
|
|
108
|
+
export interface ListDelegatedAdminAccountsResponse {
|
|
109
|
+
delegatedAdminAccounts?: DelegatedAdminAccount[] | undefined;
|
|
110
|
+
nextToken?: string | undefined;
|
|
111
|
+
}
|
|
112
|
+
export interface ListFiltersRequest {
|
|
113
|
+
arns?: string[] | undefined;
|
|
114
|
+
action?: FilterAction | undefined;
|
|
115
|
+
nextToken?: string | undefined;
|
|
116
|
+
maxResults?: number | undefined;
|
|
117
|
+
}
|
|
118
|
+
export interface ListFiltersResponse {
|
|
119
|
+
filters: Filter[] | undefined;
|
|
120
|
+
nextToken?: string | undefined;
|
|
121
|
+
}
|
|
122
|
+
export interface ListFindingAggregationsRequest {
|
|
123
|
+
aggregationType: AggregationType | undefined;
|
|
124
|
+
nextToken?: string | undefined;
|
|
125
|
+
maxResults?: number | undefined;
|
|
126
|
+
accountIds?: StringFilter[] | undefined;
|
|
127
|
+
aggregationRequest?: AggregationRequest | undefined;
|
|
128
|
+
}
|
|
129
|
+
export interface ListFindingAggregationsResponse {
|
|
130
|
+
aggregationType: AggregationType | undefined;
|
|
131
|
+
responses?: AggregationResponse[] | undefined;
|
|
132
|
+
nextToken?: string | undefined;
|
|
133
|
+
}
|
|
134
|
+
export interface SortCriteria {
|
|
135
|
+
field: SortField | undefined;
|
|
136
|
+
sortOrder: SortOrder | undefined;
|
|
137
|
+
}
|
|
138
|
+
export interface ListFindingsRequest {
|
|
139
|
+
maxResults?: number | undefined;
|
|
140
|
+
nextToken?: string | undefined;
|
|
141
|
+
filterCriteria?: FilterCriteria | undefined;
|
|
142
|
+
sortCriteria?: SortCriteria | undefined;
|
|
143
|
+
}
|
|
144
|
+
export interface ListFindingsResponse {
|
|
145
|
+
nextToken?: string | undefined;
|
|
146
|
+
findings?: Finding[] | undefined;
|
|
147
|
+
}
|
|
148
|
+
export interface ListMembersRequest {
|
|
149
|
+
onlyAssociated?: boolean | undefined;
|
|
150
|
+
maxResults?: number | undefined;
|
|
151
|
+
nextToken?: string | undefined;
|
|
152
|
+
}
|
|
153
|
+
export interface ListMembersResponse {
|
|
154
|
+
members?: Member[] | undefined;
|
|
155
|
+
nextToken?: string | undefined;
|
|
156
|
+
}
|
|
157
|
+
export interface ListTagsForResourceRequest {
|
|
158
|
+
resourceArn: string | undefined;
|
|
159
|
+
}
|
|
160
|
+
export interface ListTagsForResourceResponse {
|
|
161
|
+
tags?: Record<string, string> | undefined;
|
|
162
|
+
}
|
|
163
|
+
export interface ListUsageTotalsRequest {
|
|
164
|
+
maxResults?: number | undefined;
|
|
165
|
+
nextToken?: string | undefined;
|
|
166
|
+
accountIds?: string[] | undefined;
|
|
167
|
+
}
|
|
168
|
+
export interface Usage {
|
|
169
|
+
type?: UsageType | undefined;
|
|
170
|
+
total?: number | undefined;
|
|
171
|
+
estimatedMonthlyCost?: number | undefined;
|
|
172
|
+
currency?: Currency | undefined;
|
|
173
|
+
cloudProvider?: CloudProvider | undefined;
|
|
174
|
+
}
|
|
175
|
+
export interface UsageTotal {
|
|
176
|
+
accountId?: string | undefined;
|
|
177
|
+
usage?: Usage[] | undefined;
|
|
178
|
+
}
|
|
179
|
+
export interface ListUsageTotalsResponse {
|
|
180
|
+
nextToken?: string | undefined;
|
|
181
|
+
totals?: UsageTotal[] | undefined;
|
|
182
|
+
}
|
|
183
|
+
export interface ResetEncryptionKeyRequest {
|
|
184
|
+
scanType: ScanType | undefined;
|
|
185
|
+
resourceType: ResourceType | undefined;
|
|
186
|
+
}
|
|
187
|
+
export interface ResetEncryptionKeyResponse {}
|
|
188
|
+
export interface SearchVulnerabilitiesFilterCriteria {
|
|
189
|
+
vulnerabilityIds: string[] | undefined;
|
|
190
|
+
}
|
|
191
|
+
export interface SearchVulnerabilitiesRequest {
|
|
192
|
+
filterCriteria: SearchVulnerabilitiesFilterCriteria | undefined;
|
|
193
|
+
nextToken?: string | undefined;
|
|
194
|
+
}
|
|
195
|
+
export interface Vulnerability {
|
|
196
|
+
id: string | undefined;
|
|
197
|
+
cwes?: string[] | undefined;
|
|
198
|
+
cisaData?: CisaData | undefined;
|
|
199
|
+
source?: VulnerabilitySource | undefined;
|
|
200
|
+
description?: string | undefined;
|
|
201
|
+
atigData?: AtigData | undefined;
|
|
202
|
+
vendorSeverity?: string | undefined;
|
|
203
|
+
cvss4?: Cvss4 | undefined;
|
|
204
|
+
cvss3?: Cvss3 | undefined;
|
|
205
|
+
relatedVulnerabilities?: string[] | undefined;
|
|
206
|
+
cvss2?: Cvss2 | undefined;
|
|
207
|
+
vendorCreatedAt?: Date | undefined;
|
|
208
|
+
vendorUpdatedAt?: Date | undefined;
|
|
209
|
+
sourceUrl?: string | undefined;
|
|
210
|
+
referenceUrls?: string[] | undefined;
|
|
211
|
+
exploitObserved?: ExploitObserved | undefined;
|
|
212
|
+
detectionPlatforms?: string[] | undefined;
|
|
213
|
+
epss?: Epss | undefined;
|
|
214
|
+
}
|
|
215
|
+
export interface SearchVulnerabilitiesResponse {
|
|
216
|
+
vulnerabilities: Vulnerability[] | undefined;
|
|
217
|
+
nextToken?: string | undefined;
|
|
218
|
+
}
|
|
219
|
+
export interface SendCisSessionHealthRequest {
|
|
220
|
+
scanJobId: string | undefined;
|
|
221
|
+
sessionToken: string | undefined;
|
|
222
|
+
}
|
|
223
|
+
export interface SendCisSessionHealthResponse {}
|
|
224
|
+
export interface SendCisSessionTelemetryRequest {
|
|
225
|
+
scanJobId: string | undefined;
|
|
226
|
+
sessionToken: string | undefined;
|
|
227
|
+
messages: CisSessionMessage[] | undefined;
|
|
228
|
+
}
|
|
229
|
+
export interface SendCisSessionTelemetryResponse {}
|
|
230
|
+
export interface StartCisSessionMessage {
|
|
231
|
+
sessionToken: string | undefined;
|
|
232
|
+
}
|
|
22
233
|
export interface StartCisSessionRequest {
|
|
23
234
|
scanJobId: string | undefined;
|
|
24
235
|
message: StartCisSessionMessage | undefined;
|
|
@@ -128,11 +339,47 @@ export interface UpdateCodeSecurityScanConfigurationRequest {
|
|
|
128
339
|
export interface UpdateCodeSecurityScanConfigurationResponse {
|
|
129
340
|
scanConfigurationArn?: string | undefined;
|
|
130
341
|
}
|
|
342
|
+
export interface UpdateConfigurationInheritance {
|
|
343
|
+
ec2Configuration?: InheritanceMode | undefined;
|
|
344
|
+
ecrConfiguration?: InheritanceMode | undefined;
|
|
345
|
+
}
|
|
131
346
|
export interface UpdateConfigurationRequest {
|
|
347
|
+
accountId?: string | undefined;
|
|
132
348
|
ecrConfiguration?: EcrConfiguration | undefined;
|
|
133
349
|
ec2Configuration?: Ec2Configuration | undefined;
|
|
350
|
+
updateConfigurationInheritance?: UpdateConfigurationInheritance | undefined;
|
|
134
351
|
}
|
|
135
352
|
export interface UpdateConfigurationResponse {}
|
|
353
|
+
export type ProviderDetailUpdate =
|
|
354
|
+
| ProviderDetailUpdate.AzureMember
|
|
355
|
+
| ProviderDetailUpdate.$UnknownMember;
|
|
356
|
+
export declare namespace ProviderDetailUpdate {
|
|
357
|
+
interface AzureMember {
|
|
358
|
+
azure: AzureProviderDetailUpdate;
|
|
359
|
+
$unknown?: never;
|
|
360
|
+
}
|
|
361
|
+
interface $UnknownMember {
|
|
362
|
+
azure?: never;
|
|
363
|
+
$unknown: [string, any];
|
|
364
|
+
}
|
|
365
|
+
interface Visitor<T> {
|
|
366
|
+
azure: (value: AzureProviderDetailUpdate) => T;
|
|
367
|
+
_: (name: string, value: any) => T;
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
export interface UpdateConnectorRequest {
|
|
371
|
+
connectorArn: string | undefined;
|
|
372
|
+
description?: string | undefined;
|
|
373
|
+
providerDetail?: ProviderDetailUpdate | undefined;
|
|
374
|
+
}
|
|
375
|
+
export interface UpdateConnectorResponse {
|
|
376
|
+
connectorArn?: string | undefined;
|
|
377
|
+
}
|
|
378
|
+
export interface UpdateConnectorScanConfigurationRequest {
|
|
379
|
+
awsConfigConnectorArn: string | undefined;
|
|
380
|
+
scanConfiguration: ConnectorScanConfiguration | undefined;
|
|
381
|
+
}
|
|
382
|
+
export interface UpdateConnectorScanConfigurationResponse {}
|
|
136
383
|
export interface UpdateEc2DeepInspectionConfigurationRequest {
|
|
137
384
|
activateDeepInspection?: boolean | undefined;
|
|
138
385
|
packagePaths?: string[] | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListConnectorScanConfigurationsCommandInput,
|
|
4
|
+
ListConnectorScanConfigurationsCommandOutput,
|
|
5
|
+
} from "../commands/ListConnectorScanConfigurationsCommand";
|
|
6
|
+
import { Inspector2PaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListConnectorScanConfigurations: (
|
|
8
|
+
config: Inspector2PaginationConfiguration,
|
|
9
|
+
input: ListConnectorScanConfigurationsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListConnectorScanConfigurationsCommandOutput>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
ListConnectorsCommandInput,
|
|
4
|
+
ListConnectorsCommandOutput,
|
|
5
|
+
} from "../commands/ListConnectorsCommand";
|
|
6
|
+
import { Inspector2PaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateListConnectors: (
|
|
8
|
+
config: Inspector2PaginationConfiguration,
|
|
9
|
+
input: ListConnectorsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<ListConnectorsCommandOutput>;
|
|
@@ -6,6 +6,8 @@ export * from "./ListCisScanConfigurationsPaginator";
|
|
|
6
6
|
export * from "./ListCisScanResultsAggregatedByChecksPaginator";
|
|
7
7
|
export * from "./ListCisScanResultsAggregatedByTargetResourcePaginator";
|
|
8
8
|
export * from "./ListCisScansPaginator";
|
|
9
|
+
export * from "./ListConnectorsPaginator";
|
|
10
|
+
export * from "./ListConnectorScanConfigurationsPaginator";
|
|
9
11
|
export * from "./ListCoveragePaginator";
|
|
10
12
|
export * from "./ListCoverageStatisticsPaginator";
|
|
11
13
|
export * from "./ListDelegatedAdminAccountsPaginator";
|
|
@@ -26,6 +26,7 @@ export declare var AssociateMemberRequest$: StaticStructureSchema;
|
|
|
26
26
|
export declare var AssociateMemberResponse$: StaticStructureSchema;
|
|
27
27
|
export declare var AtigData$: StaticStructureSchema;
|
|
28
28
|
export declare var AutoEnable$: StaticStructureSchema;
|
|
29
|
+
export declare var AwsConfigConnectorArnFilter$: StaticStructureSchema;
|
|
29
30
|
export declare var AwsEc2InstanceDetails$: StaticStructureSchema;
|
|
30
31
|
export declare var AwsEcrContainerAggregation$: StaticStructureSchema;
|
|
31
32
|
export declare var AwsEcrContainerAggregationResponse$: StaticStructureSchema;
|
|
@@ -34,6 +35,10 @@ export declare var AwsEcsMetadataDetails$: StaticStructureSchema;
|
|
|
34
35
|
export declare var AwsEksMetadataDetails$: StaticStructureSchema;
|
|
35
36
|
export declare var AwsEksWorkloadInfo$: StaticStructureSchema;
|
|
36
37
|
export declare var AwsLambdaFunctionDetails$: StaticStructureSchema;
|
|
38
|
+
export declare var AzureProviderDetailCreate$: StaticStructureSchema;
|
|
39
|
+
export declare var AzureProviderDetailUpdate$: StaticStructureSchema;
|
|
40
|
+
export declare var AzureScopeConfiguration$: StaticStructureSchema;
|
|
41
|
+
export declare var AzureScopeConfigurationInput$: StaticStructureSchema;
|
|
37
42
|
export declare var BatchAssociateCodeSecurityScanConfigurationRequest$: StaticStructureSchema;
|
|
38
43
|
export declare var BatchAssociateCodeSecurityScanConfigurationResponse$: StaticStructureSchema;
|
|
39
44
|
export declare var BatchDisassociateCodeSecurityScanConfigurationRequest$: StaticStructureSchema;
|
|
@@ -92,6 +97,19 @@ export declare var CodeSnippetError$: StaticStructureSchema;
|
|
|
92
97
|
export declare var CodeSnippetResult$: StaticStructureSchema;
|
|
93
98
|
export declare var CodeVulnerabilityDetails$: StaticStructureSchema;
|
|
94
99
|
export declare var ComputePlatform$: StaticStructureSchema;
|
|
100
|
+
export declare var Connector$: StaticStructureSchema;
|
|
101
|
+
export declare var ConnectorArnFilter$: StaticStructureSchema;
|
|
102
|
+
export declare var ConnectorContainerImageScanConfiguration$: StaticStructureSchema;
|
|
103
|
+
export declare var ConnectorFilterCriteria$: StaticStructureSchema;
|
|
104
|
+
export declare var ConnectorHealth$: StaticStructureSchema;
|
|
105
|
+
export declare var ConnectorScanConfiguration$: StaticStructureSchema;
|
|
106
|
+
export declare var ConnectorScanConfigurationItem$: StaticStructureSchema;
|
|
107
|
+
export declare var ConnectorTypeFilter$: StaticStructureSchema;
|
|
108
|
+
export declare var ContainerImageAggregation$: StaticStructureSchema;
|
|
109
|
+
export declare var ContainerImageAggregationResponse$: StaticStructureSchema;
|
|
110
|
+
export declare var ContainerImageMetadata$: StaticStructureSchema;
|
|
111
|
+
export declare var ContainerRegistryMetadata$: StaticStructureSchema;
|
|
112
|
+
export declare var ContainerRepositoryMetadata$: StaticStructureSchema;
|
|
95
113
|
export declare var ContinuousIntegrationScanConfiguration$: StaticStructureSchema;
|
|
96
114
|
export declare var Counts$: StaticStructureSchema;
|
|
97
115
|
export declare var CoverageDateFilter$: StaticStructureSchema;
|
|
@@ -107,6 +125,8 @@ export declare var CreateCodeSecurityIntegrationRequest$: StaticStructureSchema;
|
|
|
107
125
|
export declare var CreateCodeSecurityIntegrationResponse$: StaticStructureSchema;
|
|
108
126
|
export declare var CreateCodeSecurityScanConfigurationRequest$: StaticStructureSchema;
|
|
109
127
|
export declare var CreateCodeSecurityScanConfigurationResponse$: StaticStructureSchema;
|
|
128
|
+
export declare var CreateConnectorRequest$: StaticStructureSchema;
|
|
129
|
+
export declare var CreateConnectorResponse$: StaticStructureSchema;
|
|
110
130
|
export declare var CreateFilterRequest$: StaticStructureSchema;
|
|
111
131
|
export declare var CreateFilterResponse$: StaticStructureSchema;
|
|
112
132
|
export declare var CreateFindingsReportRequest$: StaticStructureSchema;
|
|
@@ -130,6 +150,8 @@ export declare var DeleteCodeSecurityIntegrationRequest$: StaticStructureSchema;
|
|
|
130
150
|
export declare var DeleteCodeSecurityIntegrationResponse$: StaticStructureSchema;
|
|
131
151
|
export declare var DeleteCodeSecurityScanConfigurationRequest$: StaticStructureSchema;
|
|
132
152
|
export declare var DeleteCodeSecurityScanConfigurationResponse$: StaticStructureSchema;
|
|
153
|
+
export declare var DeleteConnectorRequest$: StaticStructureSchema;
|
|
154
|
+
export declare var DeleteConnectorResponse$: StaticStructureSchema;
|
|
133
155
|
export declare var DeleteFilterRequest$: StaticStructureSchema;
|
|
134
156
|
export declare var DeleteFilterResponse$: StaticStructureSchema;
|
|
135
157
|
export declare var DescribeOrganizationConfigurationRequest$: StaticStructureSchema;
|
|
@@ -201,6 +223,7 @@ export declare var GetMemberRequest$: StaticStructureSchema;
|
|
|
201
223
|
export declare var GetMemberResponse$: StaticStructureSchema;
|
|
202
224
|
export declare var GetSbomExportRequest$: StaticStructureSchema;
|
|
203
225
|
export declare var GetSbomExportResponse$: StaticStructureSchema;
|
|
226
|
+
export declare var Image$: StaticStructureSchema;
|
|
204
227
|
export declare var ImageLayerAggregation$: StaticStructureSchema;
|
|
205
228
|
export declare var ImageLayerAggregationResponse$: StaticStructureSchema;
|
|
206
229
|
export declare var InspectorScoreDetails$: StaticStructureSchema;
|
|
@@ -228,6 +251,10 @@ export declare var ListCodeSecurityScanConfigurationAssociationsRequest$: Static
|
|
|
228
251
|
export declare var ListCodeSecurityScanConfigurationAssociationsResponse$: StaticStructureSchema;
|
|
229
252
|
export declare var ListCodeSecurityScanConfigurationsRequest$: StaticStructureSchema;
|
|
230
253
|
export declare var ListCodeSecurityScanConfigurationsResponse$: StaticStructureSchema;
|
|
254
|
+
export declare var ListConnectorScanConfigurationsRequest$: StaticStructureSchema;
|
|
255
|
+
export declare var ListConnectorScanConfigurationsResponse$: StaticStructureSchema;
|
|
256
|
+
export declare var ListConnectorsRequest$: StaticStructureSchema;
|
|
257
|
+
export declare var ListConnectorsResponse$: StaticStructureSchema;
|
|
231
258
|
export declare var ListCoverageRequest$: StaticStructureSchema;
|
|
232
259
|
export declare var ListCoverageResponse$: StaticStructureSchema;
|
|
233
260
|
export declare var ListCoverageStatisticsRequest$: StaticStructureSchema;
|
|
@@ -266,6 +293,7 @@ export declare var PortRangeFilter$: StaticStructureSchema;
|
|
|
266
293
|
export declare var ProjectCodeSecurityScanConfiguration$: StaticStructureSchema;
|
|
267
294
|
export declare var ProjectContinuousIntegrationScanConfiguration$: StaticStructureSchema;
|
|
268
295
|
export declare var ProjectPeriodicScanConfiguration$: StaticStructureSchema;
|
|
296
|
+
export declare var ProviderFilter$: StaticStructureSchema;
|
|
269
297
|
export declare var Recommendation$: StaticStructureSchema;
|
|
270
298
|
export declare var Remediation$: StaticStructureSchema;
|
|
271
299
|
export declare var RepositoryAggregation$: StaticStructureSchema;
|
|
@@ -281,6 +309,8 @@ export declare var ResourceState$: StaticStructureSchema;
|
|
|
281
309
|
export declare var ResourceStatus$: StaticStructureSchema;
|
|
282
310
|
export declare var ResourceStringFilter$: StaticStructureSchema;
|
|
283
311
|
export declare var ScanStatus$: StaticStructureSchema;
|
|
312
|
+
export declare var ScopeConfiguration$: StaticStructureSchema;
|
|
313
|
+
export declare var ScopeConfigurationInput$: StaticStructureSchema;
|
|
284
314
|
export declare var ScopeSettings$: StaticStructureSchema;
|
|
285
315
|
export declare var SearchVulnerabilitiesFilterCriteria$: StaticStructureSchema;
|
|
286
316
|
export declare var SearchVulnerabilitiesRequest$: StaticStructureSchema;
|
|
@@ -289,6 +319,10 @@ export declare var SendCisSessionHealthRequest$: StaticStructureSchema;
|
|
|
289
319
|
export declare var SendCisSessionHealthResponse$: StaticStructureSchema;
|
|
290
320
|
export declare var SendCisSessionTelemetryRequest$: StaticStructureSchema;
|
|
291
321
|
export declare var SendCisSessionTelemetryResponse$: StaticStructureSchema;
|
|
322
|
+
export declare var ServerlessFunction$: StaticStructureSchema;
|
|
323
|
+
export declare var ServerlessFunctionAggregation$: StaticStructureSchema;
|
|
324
|
+
export declare var ServerlessFunctionAggregationResponse$: StaticStructureSchema;
|
|
325
|
+
export declare var ServerlessFunctionMetadata$: StaticStructureSchema;
|
|
292
326
|
export declare var SeverityCounts$: StaticStructureSchema;
|
|
293
327
|
export declare var SortCriteria$: StaticStructureSchema;
|
|
294
328
|
export declare var StartCisSessionMessage$: StaticStructureSchema;
|
|
@@ -321,8 +355,13 @@ export declare var UpdateCodeSecurityIntegrationRequest$: StaticStructureSchema;
|
|
|
321
355
|
export declare var UpdateCodeSecurityIntegrationResponse$: StaticStructureSchema;
|
|
322
356
|
export declare var UpdateCodeSecurityScanConfigurationRequest$: StaticStructureSchema;
|
|
323
357
|
export declare var UpdateCodeSecurityScanConfigurationResponse$: StaticStructureSchema;
|
|
358
|
+
export declare var UpdateConfigurationInheritance$: StaticStructureSchema;
|
|
324
359
|
export declare var UpdateConfigurationRequest$: StaticStructureSchema;
|
|
325
360
|
export declare var UpdateConfigurationResponse$: StaticStructureSchema;
|
|
361
|
+
export declare var UpdateConnectorRequest$: StaticStructureSchema;
|
|
362
|
+
export declare var UpdateConnectorResponse$: StaticStructureSchema;
|
|
363
|
+
export declare var UpdateConnectorScanConfigurationRequest$: StaticStructureSchema;
|
|
364
|
+
export declare var UpdateConnectorScanConfigurationResponse$: StaticStructureSchema;
|
|
326
365
|
export declare var UpdateEc2DeepInspectionConfigurationRequest$: StaticStructureSchema;
|
|
327
366
|
export declare var UpdateEc2DeepInspectionConfigurationResponse$: StaticStructureSchema;
|
|
328
367
|
export declare var UpdateEncryptionKeyRequest$: StaticStructureSchema;
|
|
@@ -338,6 +377,10 @@ export declare var UpdateOrgEc2DeepInspectionConfigurationResponse$: StaticStruc
|
|
|
338
377
|
export declare var Usage$: StaticStructureSchema;
|
|
339
378
|
export declare var UsageTotal$: StaticStructureSchema;
|
|
340
379
|
export declare var ValidationExceptionField$: StaticStructureSchema;
|
|
380
|
+
export declare var Vm$: StaticStructureSchema;
|
|
381
|
+
export declare var VmInstanceAggregation$: StaticStructureSchema;
|
|
382
|
+
export declare var VmInstanceAggregationResponse$: StaticStructureSchema;
|
|
383
|
+
export declare var VmInstanceMetadata$: StaticStructureSchema;
|
|
341
384
|
export declare var VMScannerState$: StaticStructureSchema;
|
|
342
385
|
export declare var Vulnerability$: StaticStructureSchema;
|
|
343
386
|
export declare var VulnerablePackage$: StaticStructureSchema;
|
|
@@ -347,6 +390,8 @@ export declare var AggregationResponse$: StaticUnionSchema;
|
|
|
347
390
|
export declare var ClusterMetadata$: StaticUnionSchema;
|
|
348
391
|
export declare var CodeSecurityResource$: StaticUnionSchema;
|
|
349
392
|
export declare var CreateIntegrationDetail$: StaticUnionSchema;
|
|
393
|
+
export declare var ProviderDetailCreate$: StaticUnionSchema;
|
|
394
|
+
export declare var ProviderDetailUpdate$: StaticUnionSchema;
|
|
350
395
|
export declare var Schedule$: StaticUnionSchema;
|
|
351
396
|
export declare var UpdateIntegrationDetails$: StaticUnionSchema;
|
|
352
397
|
export declare var AssociateMember$: StaticOperationSchema;
|
|
@@ -363,12 +408,14 @@ export declare var CancelSbomExport$: StaticOperationSchema;
|
|
|
363
408
|
export declare var CreateCisScanConfiguration$: StaticOperationSchema;
|
|
364
409
|
export declare var CreateCodeSecurityIntegration$: StaticOperationSchema;
|
|
365
410
|
export declare var CreateCodeSecurityScanConfiguration$: StaticOperationSchema;
|
|
411
|
+
export declare var CreateConnector$: StaticOperationSchema;
|
|
366
412
|
export declare var CreateFilter$: StaticOperationSchema;
|
|
367
413
|
export declare var CreateFindingsReport$: StaticOperationSchema;
|
|
368
414
|
export declare var CreateSbomExport$: StaticOperationSchema;
|
|
369
415
|
export declare var DeleteCisScanConfiguration$: StaticOperationSchema;
|
|
370
416
|
export declare var DeleteCodeSecurityIntegration$: StaticOperationSchema;
|
|
371
417
|
export declare var DeleteCodeSecurityScanConfiguration$: StaticOperationSchema;
|
|
418
|
+
export declare var DeleteConnector$: StaticOperationSchema;
|
|
372
419
|
export declare var DeleteFilter$: StaticOperationSchema;
|
|
373
420
|
export declare var DescribeOrganizationConfiguration$: StaticOperationSchema;
|
|
374
421
|
export declare var Disable$: StaticOperationSchema;
|
|
@@ -397,6 +444,8 @@ export declare var ListCisScans$: StaticOperationSchema;
|
|
|
397
444
|
export declare var ListCodeSecurityIntegrations$: StaticOperationSchema;
|
|
398
445
|
export declare var ListCodeSecurityScanConfigurationAssociations$: StaticOperationSchema;
|
|
399
446
|
export declare var ListCodeSecurityScanConfigurations$: StaticOperationSchema;
|
|
447
|
+
export declare var ListConnectors$: StaticOperationSchema;
|
|
448
|
+
export declare var ListConnectorScanConfigurations$: StaticOperationSchema;
|
|
400
449
|
export declare var ListCoverage$: StaticOperationSchema;
|
|
401
450
|
export declare var ListCoverageStatistics$: StaticOperationSchema;
|
|
402
451
|
export declare var ListDelegatedAdminAccounts$: StaticOperationSchema;
|
|
@@ -419,6 +468,8 @@ export declare var UpdateCisScanConfiguration$: StaticOperationSchema;
|
|
|
419
468
|
export declare var UpdateCodeSecurityIntegration$: StaticOperationSchema;
|
|
420
469
|
export declare var UpdateCodeSecurityScanConfiguration$: StaticOperationSchema;
|
|
421
470
|
export declare var UpdateConfiguration$: StaticOperationSchema;
|
|
471
|
+
export declare var UpdateConnector$: StaticOperationSchema;
|
|
472
|
+
export declare var UpdateConnectorScanConfiguration$: StaticOperationSchema;
|
|
422
473
|
export declare var UpdateEc2DeepInspectionConfiguration$: StaticOperationSchema;
|
|
423
474
|
export declare var UpdateEncryptionKey$: StaticOperationSchema;
|
|
424
475
|
export declare var UpdateFilter$: StaticOperationSchema;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import {
|
|
3
|
+
ListConnectorsCommandInput,
|
|
4
|
+
ListConnectorsCommandOutput,
|
|
5
|
+
} from "../commands/ListConnectorsCommand";
|
|
6
|
+
import { Inspector2Client } from "../Inspector2Client";
|
|
7
|
+
import { Inspector2ServiceException } from "../models/Inspector2ServiceException";
|
|
8
|
+
export declare const waitForConnectorConnected: (
|
|
9
|
+
params: WaiterConfiguration<Inspector2Client>,
|
|
10
|
+
input: ListConnectorsCommandInput
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<ListConnectorsCommandOutput | Inspector2ServiceException>
|
|
13
|
+
>;
|
|
14
|
+
export declare const waitUntilConnectorConnected: (
|
|
15
|
+
params: WaiterConfiguration<Inspector2Client>,
|
|
16
|
+
input: ListConnectorsCommandInput
|
|
17
|
+
) => Promise<WaiterResult<ListConnectorsCommandOutput>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import {
|
|
3
|
+
ListConnectorsCommandInput,
|
|
4
|
+
ListConnectorsCommandOutput,
|
|
5
|
+
} from "../commands/ListConnectorsCommand";
|
|
6
|
+
import { Inspector2Client } from "../Inspector2Client";
|
|
7
|
+
import { Inspector2ServiceException } from "../models/Inspector2ServiceException";
|
|
8
|
+
export declare const waitForConnectorDeleted: (
|
|
9
|
+
params: WaiterConfiguration<Inspector2Client>,
|
|
10
|
+
input: ListConnectorsCommandInput
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<ListConnectorsCommandOutput | Inspector2ServiceException>
|
|
13
|
+
>;
|
|
14
|
+
export declare const waitUntilConnectorDeleted: (
|
|
15
|
+
params: WaiterConfiguration<Inspector2Client>,
|
|
16
|
+
input: ListConnectorsCommandInput
|
|
17
|
+
) => Promise<WaiterResult<ListConnectorsCommandOutput>>;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { WaiterConfiguration, WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import {
|
|
3
|
+
ListConnectorsCommandInput,
|
|
4
|
+
ListConnectorsCommandOutput,
|
|
5
|
+
} from "../commands/ListConnectorsCommand";
|
|
6
|
+
import { Inspector2Client } from "../Inspector2Client";
|
|
7
|
+
import { Inspector2ServiceException } from "../models/Inspector2ServiceException";
|
|
8
|
+
export declare const waitForConnectorEnabled: (
|
|
9
|
+
params: WaiterConfiguration<Inspector2Client>,
|
|
10
|
+
input: ListConnectorsCommandInput
|
|
11
|
+
) => Promise<
|
|
12
|
+
WaiterResult<ListConnectorsCommandOutput | Inspector2ServiceException>
|
|
13
|
+
>;
|
|
14
|
+
export declare const waitUntilConnectorEnabled: (
|
|
15
|
+
params: WaiterConfiguration<Inspector2Client>,
|
|
16
|
+
input: ListConnectorsCommandInput
|
|
17
|
+
) => Promise<WaiterResult<ListConnectorsCommandOutput>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import { type ListConnectorsCommandInput, type ListConnectorsCommandOutput } from "../commands/ListConnectorsCommand";
|
|
3
|
+
import type { Inspector2Client } from "../Inspector2Client";
|
|
4
|
+
import type { Inspector2ServiceException } from "../models/Inspector2ServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* Wait until a connector reaches the CONNECTED health status, typically after CreateConnector or UpdateConnector + ConnectorEnabled. Caller MUST filter ListConnectors by the specific connector ARN so the matchers apply only to the target connector. Success when all returned items have health.connectorStatus == CONNECTED. Failure when any item is in health.connectorStatus == FAILED_TO_CONNECT or enablementStatus == FAILED_TO_ENABLE.
|
|
7
|
+
* @deprecated Use waitUntilConnectorConnected instead. waitForConnectorConnected does not throw error in non-success cases.
|
|
8
|
+
*/
|
|
9
|
+
export declare const waitForConnectorConnected: (params: WaiterConfiguration<Inspector2Client>, input: ListConnectorsCommandInput) => Promise<WaiterResult<ListConnectorsCommandOutput | Inspector2ServiceException>>;
|
|
10
|
+
/**
|
|
11
|
+
* Wait until a connector reaches the CONNECTED health status, typically after CreateConnector or UpdateConnector + ConnectorEnabled. Caller MUST filter ListConnectors by the specific connector ARN so the matchers apply only to the target connector. Success when all returned items have health.connectorStatus == CONNECTED. Failure when any item is in health.connectorStatus == FAILED_TO_CONNECT or enablementStatus == FAILED_TO_ENABLE.
|
|
12
|
+
* @param params - Waiter configuration options.
|
|
13
|
+
* @param input - The input to ListConnectorsCommand for polling.
|
|
14
|
+
*/
|
|
15
|
+
export declare const waitUntilConnectorConnected: (params: WaiterConfiguration<Inspector2Client>, input: ListConnectorsCommandInput) => Promise<WaiterResult<ListConnectorsCommandOutput>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import { type ListConnectorsCommandInput, type ListConnectorsCommandOutput } from "../commands/ListConnectorsCommand";
|
|
3
|
+
import type { Inspector2Client } from "../Inspector2Client";
|
|
4
|
+
import type { Inspector2ServiceException } from "../models/Inspector2ServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* Wait until a connector is no longer returned by ListConnectors. Caller MUST filter ListConnectors by the specific connector ARN; success is reached when the filtered result returns zero items. Failure when the deletion terminally fails (FAILED_TO_DELETE).
|
|
7
|
+
* @deprecated Use waitUntilConnectorDeleted instead. waitForConnectorDeleted does not throw error in non-success cases.
|
|
8
|
+
*/
|
|
9
|
+
export declare const waitForConnectorDeleted: (params: WaiterConfiguration<Inspector2Client>, input: ListConnectorsCommandInput) => Promise<WaiterResult<ListConnectorsCommandOutput | Inspector2ServiceException>>;
|
|
10
|
+
/**
|
|
11
|
+
* Wait until a connector is no longer returned by ListConnectors. Caller MUST filter ListConnectors by the specific connector ARN; success is reached when the filtered result returns zero items. Failure when the deletion terminally fails (FAILED_TO_DELETE).
|
|
12
|
+
* @param params - Waiter configuration options.
|
|
13
|
+
* @param input - The input to ListConnectorsCommand for polling.
|
|
14
|
+
*/
|
|
15
|
+
export declare const waitUntilConnectorDeleted: (params: WaiterConfiguration<Inspector2Client>, input: ListConnectorsCommandInput) => Promise<WaiterResult<ListConnectorsCommandOutput>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type WaiterConfiguration, type WaiterResult } from "@smithy/core/client";
|
|
2
|
+
import { type ListConnectorsCommandInput, type ListConnectorsCommandOutput } from "../commands/ListConnectorsCommand";
|
|
3
|
+
import type { Inspector2Client } from "../Inspector2Client";
|
|
4
|
+
import type { Inspector2ServiceException } from "../models/Inspector2ServiceException";
|
|
5
|
+
/**
|
|
6
|
+
* Wait until a connector reaches the ENABLED state, whether after CreateConnector or UpdateConnector. Caller MUST filter ListConnectors by the specific connector ARN so the matchers apply only to the target connector. Success when all returned items have enablementStatus == ENABLED. Failure when any item is in FAILED_TO_ENABLE or FAILED_TO_UPDATE.
|
|
7
|
+
* @deprecated Use waitUntilConnectorEnabled instead. waitForConnectorEnabled does not throw error in non-success cases.
|
|
8
|
+
*/
|
|
9
|
+
export declare const waitForConnectorEnabled: (params: WaiterConfiguration<Inspector2Client>, input: ListConnectorsCommandInput) => Promise<WaiterResult<ListConnectorsCommandOutput | Inspector2ServiceException>>;
|
|
10
|
+
/**
|
|
11
|
+
* Wait until a connector reaches the ENABLED state, whether after CreateConnector or UpdateConnector. Caller MUST filter ListConnectors by the specific connector ARN so the matchers apply only to the target connector. Success when all returned items have enablementStatus == ENABLED. Failure when any item is in FAILED_TO_ENABLE or FAILED_TO_UPDATE.
|
|
12
|
+
* @param params - Waiter configuration options.
|
|
13
|
+
* @param input - The input to ListConnectorsCommand for polling.
|
|
14
|
+
*/
|
|
15
|
+
export declare const waitUntilConnectorEnabled: (params: WaiterConfiguration<Inspector2Client>, input: ListConnectorsCommandInput) => Promise<WaiterResult<ListConnectorsCommandOutput>>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-inspector2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Inspector2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1081.0",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"build": "concurrently 'yarn:build:types' 'yarn:build:es' && yarn build:cjs",
|
|
7
7
|
"build:cjs": "node ../../scripts/compilation/inline",
|
|
@@ -19,8 +19,8 @@
|
|
|
19
19
|
"module": "./dist-es/index.js",
|
|
20
20
|
"sideEffects": false,
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@aws-sdk/core": "^3.974.
|
|
23
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
22
|
+
"@aws-sdk/core": "^3.974.29",
|
|
23
|
+
"@aws-sdk/credential-provider-node": "^3.972.64",
|
|
24
24
|
"@aws-sdk/types": "^3.973.15",
|
|
25
25
|
"@smithy/core": "^3.29.0",
|
|
26
26
|
"@smithy/fetch-http-handler": "^5.6.2",
|