@aws-sdk/client-ec2 3.1157.0 → 3.1158.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 +7 -0
- package/dist-cjs/index.js +169 -27
- package/dist-es/EC2.js +4 -0
- package/dist-es/commands/GetImageFindingsCommand.js +4 -0
- package/dist-es/commands/index.js +1 -0
- package/dist-es/models/enums.js +7 -0
- package/dist-es/pagination/GetImageFindingsPaginator.js +4 -0
- package/dist-es/pagination/index.js +1 -0
- package/dist-es/schemas/schemas_0.js +144 -26
- package/dist-types/EC2.d.ts +14 -0
- package/dist-types/EC2Client.d.ts +3 -2
- package/dist-types/commands/DescribeImagesCommand.d.ts +9 -0
- package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +1 -2
- package/dist-types/commands/GetAllowedImagesSettingsCommand.d.ts +9 -0
- package/dist-types/commands/GetImageFindingsCommand.d.ts +90 -0
- package/dist-types/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +2 -1
- package/dist-types/commands/GetVpcResourcesBlockingEncryptionEnforcementCommand.d.ts +1 -1
- package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +1 -2
- package/dist-types/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +2 -1
- package/dist-types/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
- package/dist-types/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/commands/ReplaceImageCriteriaInAllowedImagesSettingsCommand.d.ts +9 -0
- package/dist-types/commands/index.d.ts +1 -0
- package/dist-types/models/enums.d.ts +15 -0
- package/dist-types/models/models_4.d.ts +175 -55
- package/dist-types/models/models_5.d.ts +55 -23
- package/dist-types/models/models_6.d.ts +259 -123
- package/dist-types/models/models_7.d.ts +122 -69
- package/dist-types/models/models_8.d.ts +186 -2
- package/dist-types/pagination/GetImageFindingsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +1 -0
- package/dist-types/schemas/schemas_0.d.ts +7 -0
- package/dist-types/ts3.4/EC2.d.ts +24 -0
- package/dist-types/ts3.4/EC2Client.d.ts +6 -0
- package/dist-types/ts3.4/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetImageFindingsCommand.d.ts +38 -0
- package/dist-types/ts3.4/commands/GetVerifiedAccessGroupPolicyCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/GetVpcResourcesBlockingEncryptionEnforcementCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -1
- package/dist-types/ts3.4/commands/index.d.ts +1 -0
- package/dist-types/ts3.4/models/enums.d.ts +8 -0
- package/dist-types/ts3.4/models/models_4.d.ts +11 -11
- package/dist-types/ts3.4/models/models_5.d.ts +13 -6
- package/dist-types/ts3.4/models/models_6.d.ts +36 -27
- package/dist-types/ts3.4/models/models_7.d.ts +27 -18
- package/dist-types/ts3.4/models/models_8.d.ts +30 -0
- package/dist-types/ts3.4/pagination/GetImageFindingsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +1 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +7 -0
- package/package.json +1 -1
|
@@ -213,6 +213,33 @@ import {
|
|
|
213
213
|
Purchase,
|
|
214
214
|
TransitGatewayNatRule,
|
|
215
215
|
} from "./models_6";
|
|
216
|
+
export interface GetVerifiedAccessGroupPolicyResult {
|
|
217
|
+
PolicyEnabled?: boolean | undefined;
|
|
218
|
+
PolicyDocument?: string | undefined;
|
|
219
|
+
}
|
|
220
|
+
export interface GetVpcResourcesBlockingEncryptionEnforcementRequest {
|
|
221
|
+
VpcId: string | undefined;
|
|
222
|
+
MaxResults?: number | undefined;
|
|
223
|
+
NextToken?: string | undefined;
|
|
224
|
+
DryRun?: boolean | undefined;
|
|
225
|
+
}
|
|
226
|
+
export interface VpcEncryptionNonCompliantResource {
|
|
227
|
+
Id?: string | undefined;
|
|
228
|
+
Type?: string | undefined;
|
|
229
|
+
Description?: string | undefined;
|
|
230
|
+
IsExcludable?: boolean | undefined;
|
|
231
|
+
}
|
|
232
|
+
export interface GetVpcResourcesBlockingEncryptionEnforcementResult {
|
|
233
|
+
NonCompliantResources?: VpcEncryptionNonCompliantResource[] | undefined;
|
|
234
|
+
NextToken?: string | undefined;
|
|
235
|
+
}
|
|
236
|
+
export interface GetVpnConnectionDeviceSampleConfigurationRequest {
|
|
237
|
+
VpnConnectionId: string | undefined;
|
|
238
|
+
VpnConnectionDeviceTypeId: string | undefined;
|
|
239
|
+
InternetKeyExchangeVersion?: string | undefined;
|
|
240
|
+
SampleType?: string | undefined;
|
|
241
|
+
DryRun?: boolean | undefined;
|
|
242
|
+
}
|
|
216
243
|
export interface GetVpnConnectionDeviceSampleConfigurationResult {
|
|
217
244
|
VpnConnectionDeviceSampleConfiguration?: string | undefined;
|
|
218
245
|
}
|
|
@@ -1900,21 +1927,3 @@ export interface RejectTransitGatewayVpcAttachmentRequest {
|
|
|
1900
1927
|
TransitGatewayAttachmentId: string | undefined;
|
|
1901
1928
|
DryRun?: boolean | undefined;
|
|
1902
1929
|
}
|
|
1903
|
-
export interface RejectTransitGatewayVpcAttachmentResult {
|
|
1904
|
-
TransitGatewayVpcAttachment?: TransitGatewayVpcAttachment | undefined;
|
|
1905
|
-
}
|
|
1906
|
-
export interface RejectVpcEndpointConnectionsRequest {
|
|
1907
|
-
DryRun?: boolean | undefined;
|
|
1908
|
-
ServiceId: string | undefined;
|
|
1909
|
-
VpcEndpointIds: string[] | undefined;
|
|
1910
|
-
}
|
|
1911
|
-
export interface RejectVpcEndpointConnectionsResult {
|
|
1912
|
-
Unsuccessful?: UnsuccessfulItem[] | undefined;
|
|
1913
|
-
}
|
|
1914
|
-
export interface RejectVpcPeeringConnectionRequest {
|
|
1915
|
-
DryRun?: boolean | undefined;
|
|
1916
|
-
VpcPeeringConnectionId: string | undefined;
|
|
1917
|
-
}
|
|
1918
|
-
export interface RejectVpcPeeringConnectionResult {
|
|
1919
|
-
Return?: boolean | undefined;
|
|
1920
|
-
}
|
|
@@ -23,6 +23,7 @@ import {
|
|
|
23
23
|
ResetImageAttributeName,
|
|
24
24
|
RuleAction,
|
|
25
25
|
SecondaryInterfaceType,
|
|
26
|
+
SeverityLabel,
|
|
26
27
|
ShutdownBehavior,
|
|
27
28
|
SnapshotAttributeName,
|
|
28
29
|
SnapshotState,
|
|
@@ -43,6 +44,7 @@ import {
|
|
|
43
44
|
PortRange,
|
|
44
45
|
RouteTableAssociationState,
|
|
45
46
|
TagSpecification,
|
|
47
|
+
TransitGatewayVpcAttachment,
|
|
46
48
|
UnsuccessfulItem,
|
|
47
49
|
} from "./models_0";
|
|
48
50
|
import {
|
|
@@ -76,6 +78,24 @@ import {
|
|
|
76
78
|
EnclaveOptionsRequest,
|
|
77
79
|
InstanceMonitoring,
|
|
78
80
|
} from "./models_7";
|
|
81
|
+
export interface RejectTransitGatewayVpcAttachmentResult {
|
|
82
|
+
TransitGatewayVpcAttachment?: TransitGatewayVpcAttachment | undefined;
|
|
83
|
+
}
|
|
84
|
+
export interface RejectVpcEndpointConnectionsRequest {
|
|
85
|
+
DryRun?: boolean | undefined;
|
|
86
|
+
ServiceId: string | undefined;
|
|
87
|
+
VpcEndpointIds: string[] | undefined;
|
|
88
|
+
}
|
|
89
|
+
export interface RejectVpcEndpointConnectionsResult {
|
|
90
|
+
Unsuccessful?: UnsuccessfulItem[] | undefined;
|
|
91
|
+
}
|
|
92
|
+
export interface RejectVpcPeeringConnectionRequest {
|
|
93
|
+
DryRun?: boolean | undefined;
|
|
94
|
+
VpcPeeringConnectionId: string | undefined;
|
|
95
|
+
}
|
|
96
|
+
export interface RejectVpcPeeringConnectionResult {
|
|
97
|
+
Return?: boolean | undefined;
|
|
98
|
+
}
|
|
79
99
|
export interface ReleaseAddressRequest {
|
|
80
100
|
AllocationId?: string | undefined;
|
|
81
101
|
PublicIp?: string | undefined;
|
|
@@ -117,6 +137,15 @@ export interface ImageWatermarkFilterRequest {
|
|
|
117
137
|
MaximumDaysSinceSourceImageCreated?: number | undefined;
|
|
118
138
|
MaximumDaysSinceWatermarkCreated?: number | undefined;
|
|
119
139
|
}
|
|
140
|
+
export interface ScanResultConditionRequest {
|
|
141
|
+
MaxDaysSinceLastFindingScan?: number | undefined;
|
|
142
|
+
MaximumSeverityLabel?: SeverityLabel | undefined;
|
|
143
|
+
MaxDaysSinceInformationalFixAvailable?: number | undefined;
|
|
144
|
+
MaxDaysSinceLowFixAvailable?: number | undefined;
|
|
145
|
+
MaxDaysSinceMediumFixAvailable?: number | undefined;
|
|
146
|
+
MaxDaysSinceHighFixAvailable?: number | undefined;
|
|
147
|
+
MaxDaysSinceCriticalFixAvailable?: number | undefined;
|
|
148
|
+
}
|
|
120
149
|
export interface ImageCriterionRequest {
|
|
121
150
|
ImageProviders?: string[] | undefined;
|
|
122
151
|
MarketplaceProductCodes?: string[] | undefined;
|
|
@@ -124,6 +153,7 @@ export interface ImageCriterionRequest {
|
|
|
124
153
|
DeprecationTimeCondition?: DeprecationTimeConditionRequest | undefined;
|
|
125
154
|
CreationDateCondition?: CreationDateConditionRequest | undefined;
|
|
126
155
|
ImageWatermarks?: ImageWatermarkFilterRequest[] | undefined;
|
|
156
|
+
ScanResultCondition?: ScanResultConditionRequest | undefined;
|
|
127
157
|
}
|
|
128
158
|
export interface ReplaceImageCriteriaInAllowedImagesSettingsRequest {
|
|
129
159
|
ImageCriteria?: ImageCriterionRequest[] | undefined;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Paginator } from "@smithy/types";
|
|
2
|
+
import {
|
|
3
|
+
GetImageFindingsCommandInput,
|
|
4
|
+
GetImageFindingsCommandOutput,
|
|
5
|
+
} from "../commands/GetImageFindingsCommand";
|
|
6
|
+
import { EC2PaginationConfiguration } from "./Interfaces";
|
|
7
|
+
export declare const paginateGetImageFindings: (
|
|
8
|
+
config: EC2PaginationConfiguration,
|
|
9
|
+
input: GetImageFindingsCommandInput,
|
|
10
|
+
...rest: any[]
|
|
11
|
+
) => Paginator<GetImageFindingsCommandOutput>;
|
|
@@ -142,6 +142,7 @@ export * from "./GetCapacityManagerMetricDataPaginator";
|
|
|
142
142
|
export * from "./GetCapacityManagerMetricDimensionsPaginator";
|
|
143
143
|
export * from "./GetCapacityManagerMonitoredTagKeysPaginator";
|
|
144
144
|
export * from "./GetGroupsForCapacityReservationPaginator";
|
|
145
|
+
export * from "./GetImageFindingsPaginator";
|
|
145
146
|
export * from "./GetInstanceTypesFromInstanceRequirementsPaginator";
|
|
146
147
|
export * from "./GetIpamAddressHistoryPaginator";
|
|
147
148
|
export * from "./GetIpamDiscoveredAccountsPaginator";
|
|
@@ -1404,6 +1404,8 @@ export declare var GetImageAncestryRequest$: StaticStructureSchema;
|
|
|
1404
1404
|
export declare var GetImageAncestryResult$: StaticStructureSchema;
|
|
1405
1405
|
export declare var GetImageBlockPublicAccessStateRequest$: StaticStructureSchema;
|
|
1406
1406
|
export declare var GetImageBlockPublicAccessStateResult$: StaticStructureSchema;
|
|
1407
|
+
export declare var GetImageFindingsRequest$: StaticStructureSchema;
|
|
1408
|
+
export declare var GetImageFindingsResult$: StaticStructureSchema;
|
|
1407
1409
|
export declare var GetInstanceMetadataDefaultsRequest$: StaticStructureSchema;
|
|
1408
1410
|
export declare var GetInstanceMetadataDefaultsResult$: StaticStructureSchema;
|
|
1409
1411
|
export declare var GetInstanceTpmEkPubRequest$: StaticStructureSchema;
|
|
@@ -1548,6 +1550,7 @@ export declare var ImageAttribute$: StaticStructureSchema;
|
|
|
1548
1550
|
export declare var ImageCriterion$: StaticStructureSchema;
|
|
1549
1551
|
export declare var ImageCriterionRequest$: StaticStructureSchema;
|
|
1550
1552
|
export declare var ImageDiskContainer$: StaticStructureSchema;
|
|
1553
|
+
export declare var ImageFinding$: StaticStructureSchema;
|
|
1551
1554
|
export declare var ImageMetadata$: StaticStructureSchema;
|
|
1552
1555
|
export declare var ImageRecycleBinInfo$: StaticStructureSchema;
|
|
1553
1556
|
export declare var ImageReference$: StaticStructureSchema;
|
|
@@ -2249,6 +2252,9 @@ export declare var RunScheduledInstancesRequest$: StaticStructureSchema;
|
|
|
2249
2252
|
export declare var RunScheduledInstancesResult$: StaticStructureSchema;
|
|
2250
2253
|
export declare var S3ObjectTag$: StaticStructureSchema;
|
|
2251
2254
|
export declare var S3Storage$: StaticStructureSchema;
|
|
2255
|
+
export declare var ScanResultCondition$: StaticStructureSchema;
|
|
2256
|
+
export declare var ScanResultConditionRequest$: StaticStructureSchema;
|
|
2257
|
+
export declare var ScanResults$: StaticStructureSchema;
|
|
2252
2258
|
export declare var ScheduledInstance$: StaticStructureSchema;
|
|
2253
2259
|
export declare var ScheduledInstanceAvailability$: StaticStructureSchema;
|
|
2254
2260
|
export declare var ScheduledInstanceRecurrence$: StaticStructureSchema;
|
|
@@ -3114,6 +3120,7 @@ export declare var GetGroupsForCapacityReservation$: StaticOperationSchema;
|
|
|
3114
3120
|
export declare var GetHostReservationPurchasePreview$: StaticOperationSchema;
|
|
3115
3121
|
export declare var GetImageAncestry$: StaticOperationSchema;
|
|
3116
3122
|
export declare var GetImageBlockPublicAccessState$: StaticOperationSchema;
|
|
3123
|
+
export declare var GetImageFindings$: StaticOperationSchema;
|
|
3117
3124
|
export declare var GetInstanceMetadataDefaults$: StaticOperationSchema;
|
|
3118
3125
|
export declare var GetInstanceTpmEkPub$: StaticOperationSchema;
|
|
3119
3126
|
export declare var GetInstanceTypesFromInstanceRequirements$: StaticOperationSchema;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.1158.0",
|
|
4
4
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
5
5
|
"homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-ec2",
|
|
6
6
|
"license": "Apache-2.0",
|