@aws-sdk/client-ec2 3.1012.0 → 3.1013.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-cjs/index.js +6 -0
- package/dist-cjs/schemas/schemas_0.js +56 -29
- package/dist-es/models/enums.js +5 -0
- package/dist-es/schemas/schemas_0.js +33 -6
- package/dist-types/commands/CreateFleetCommand.d.ts +8 -3
- package/dist-types/commands/CreateSecondarySubnetCommand.d.ts +1 -2
- package/dist-types/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -1
- package/dist-types/commands/DescribeFleetsCommand.d.ts +8 -3
- package/dist-types/commands/DescribeInstanceImageMetadataCommand.d.ts +1 -2
- package/dist-types/commands/DescribeTrafficMirrorSessionsCommand.d.ts +2 -1
- package/dist-types/commands/DescribeTrafficMirrorTargetsCommand.d.ts +1 -2
- package/dist-types/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +2 -1
- package/dist-types/commands/ModifyFleetCommand.d.ts +1 -1
- package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/models/enums.d.ts +13 -0
- package/dist-types/models/models_1.d.ts +31 -43
- package/dist-types/models/models_2.d.ts +40 -10
- package/dist-types/models/models_3.d.ts +31 -166
- package/dist-types/models/models_4.d.ts +166 -73
- package/dist-types/models/models_5.d.ts +71 -100
- package/dist-types/models/models_6.d.ts +102 -68
- package/dist-types/models/models_7.d.ts +67 -2
- package/dist-types/schemas/schemas_0.d.ts +2 -0
- package/dist-types/ts3.4/commands/CreateSecondarySubnetCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DeleteTrafficMirrorSessionCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeInstanceImageMetadataCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorSessionsCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/DescribeTrafficMirrorTargetsCommand.d.ts +4 -2
- package/dist-types/ts3.4/commands/GetDeclarativePoliciesReportSummaryCommand.d.ts +2 -4
- package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
- package/dist-types/ts3.4/models/enums.d.ts +7 -0
- package/dist-types/ts3.4/models/models_1.d.ts +5 -9
- package/dist-types/ts3.4/models/models_2.d.ts +9 -3
- package/dist-types/ts3.4/models/models_3.d.ts +8 -18
- package/dist-types/ts3.4/models/models_4.d.ts +19 -13
- package/dist-types/ts3.4/models/models_5.d.ts +12 -18
- package/dist-types/ts3.4/models/models_6.d.ts +19 -17
- package/dist-types/ts3.4/models/models_7.d.ts +16 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +2 -0
- package/package.json +5 -5
|
@@ -1,11 +1,76 @@
|
|
|
1
|
-
import { _InstanceType, AddressAttributeName, AmdSevSnpSpecification, ApplianceModeSupportValue, ArchitectureValues, AutoAcceptSharedAttachmentsValue, BootModeValues, CapacityManagerStatus, CapacityReservationInstancePlatform, CurrencyCodeValues, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsSupportValue, EncryptionSupportOptionValue, HostnameType, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InternetGatewayBlockMode, InternetGatewayExclusionMode, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, Ipv6SupportValue, MarketType, MembershipType, NestedVirtualizationSpecification, PayerResponsibility, ReportInstanceReasonCodes, ReportStatusType, ResetFpgaImageAttributeName, ResetImageAttributeName, RuleAction, SecondaryInterfaceType, SecurityGroupReferencingSupportValue, ShutdownBehavior, SnapshotAttributeName, SnapshotState, SpotInstanceType, SSEType, Status, TpmSupportValues, TransitGatewayAttachmentResourceType, VerificationMethod, VerifiedAccessEndpointProtocol, VolumeType, VpcEncryptionControlExclusionStateInput, VpcEncryptionControlMode, VpcTenancy, VpnEcmpSupportValue } from "./enums";
|
|
1
|
+
import { _InstanceType, AddressAttributeName, AmdSevSnpSpecification, ApplianceModeSupportValue, ArchitectureValues, AutoAcceptSharedAttachmentsValue, BootModeValues, CapacityManagerStatus, CapacityReservationInstancePlatform, CurrencyCodeValues, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsSupportValue, EncryptionSupportOptionValue, HostnameType, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceInterruptionBehavior, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InternetGatewayBlockMode, InternetGatewayExclusionMode, InterruptibleCapacityReservationAllocationStatus, InterruptionType, IpAddressType, Ipv6SupportValue, MarketType, MembershipType, NestedVirtualizationSpecification, PayerResponsibility, ReportInstanceReasonCodes, ReportStatusType, ResetFpgaImageAttributeName, ResetImageAttributeName, RuleAction, SecondaryInterfaceType, SecurityGroupReferencingSupportValue, ShutdownBehavior, SnapshotAttributeName, SnapshotState, SpotInstanceType, SSEType, Status, TpmSupportValues, TrafficMirrorSessionField, TransitGatewayAttachmentResourceType, VerificationMethod, VerifiedAccessEndpointProtocol, VolumeType, VpcEncryptionControlExclusionStateInput, VpcEncryptionControlMode, VpcTenancy, VpnEcmpSupportValue } from "./enums";
|
|
2
2
|
import { type AddressAttribute, type ByoipCidr, type CapacityReservation, type ClientVpnAuthorizationRuleStatus, type IamInstanceProfileAssociation, type IamInstanceProfileSpecification, type PortRange, type RouteTableAssociationState, type TransitGatewayMulticastDomainAssociations, type TransitGatewayPeeringAttachment, type TransitGatewayVpcAttachment, type VerifiedAccessInstance, type VerifiedAccessSseSpecificationResponse, type VerifiedAccessTrustProvider, type VpcEncryptionControl, AddedPrincipal, IpPermission, NatGatewayAddress, TagSpecification, UnsuccessfulItem } from "./models_0";
|
|
3
3
|
import { type CreditSpecificationRequest, type IcmpTypeCode, type ManagedPrefixList, type OperatorRequest, type Placement, BlockDeviceMapping, ElasticGpuSpecification, InstanceIpv6Address, LocalGatewayRoute } from "./models_1";
|
|
4
|
-
import { type DnsOptionsSpecification, type TransitGateway, type TransitGatewayMeteringPolicy, type TransitGatewayPrefixListReference, type VerifiedAccessEndpoint, type VerifiedAccessGroup, type VerifiedAccessSseSpecificationRequest, type VpcBlockPublicAccessExclusion, type VpnConnection, type VpnTunnelLogOptionsSpecification, IKEVersionsRequestListValue, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SubnetConfiguration, TransitGatewayRoute } from "./models_2";
|
|
4
|
+
import { type DnsOptionsSpecification, type TrafficMirrorSession, type TransitGateway, type TransitGatewayMeteringPolicy, type TransitGatewayPrefixListReference, type VerifiedAccessEndpoint, type VerifiedAccessGroup, type VerifiedAccessSseSpecificationRequest, type VpcBlockPublicAccessExclusion, type VpnConnection, type VpnTunnelLogOptionsSpecification, IKEVersionsRequestListValue, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SubnetConfiguration, TransitGatewayRoute } from "./models_2";
|
|
5
5
|
import { type AttributeBooleanValue, type Byoasn, type ClientVpnConnectionStatus, type InstanceTagNotificationAttribute, type IpamPoolCidr, CapacityBlock, CapacityBlockExtension, Filter } from "./models_3";
|
|
6
6
|
import { type InstanceState, type Monitoring, type NetworkInsightsAccessScopeAnalysis, type NetworkInsightsAnalysis, type PublicIpv4PoolRange, type RunInstancesMonitoringEnabled, type SpotFleetRequestConfigData, type SpotPlacement, InstanceNetworkInterfaceSpecification, ScheduledInstance, SpotInstanceRequest } from "./models_4";
|
|
7
7
|
import type { VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
|
|
8
8
|
import { type CapacityReservationSpecification, Purchase } from "./models_6";
|
|
9
|
+
/**
|
|
10
|
+
* @public
|
|
11
|
+
*/
|
|
12
|
+
export interface ModifyTrafficMirrorSessionRequest {
|
|
13
|
+
/**
|
|
14
|
+
* <p>The ID of the Traffic Mirror session.</p>
|
|
15
|
+
* @public
|
|
16
|
+
*/
|
|
17
|
+
TrafficMirrorSessionId: string | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* <p>The Traffic Mirror target. The target must be in the same VPC as the source, or have a VPC peering connection with the source.</p>
|
|
20
|
+
* @public
|
|
21
|
+
*/
|
|
22
|
+
TrafficMirrorTargetId?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* <p>The ID of the Traffic Mirror filter.</p>
|
|
25
|
+
* @public
|
|
26
|
+
*/
|
|
27
|
+
TrafficMirrorFilterId?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* <p>The number of bytes in each packet to mirror. These are bytes after the VXLAN header. To mirror a subset, set this to the length (in bytes) to mirror. For example, if you set this value to 100, then the first 100 bytes that meet the filter criteria are copied to the target. Do not specify this parameter when you want to mirror the entire packet.</p>
|
|
30
|
+
* <p>For sessions with Network Load Balancer (NLB) traffic mirror targets, the default <code>PacketLength</code> will be set to 8500. Valid values are 1-8500. Setting a <code>PacketLength</code> greater than 8500 will result in an error response.</p>
|
|
31
|
+
* @public
|
|
32
|
+
*/
|
|
33
|
+
PacketLength?: number | undefined;
|
|
34
|
+
/**
|
|
35
|
+
* <p>The session number determines the order in which sessions are evaluated when an interface is used by multiple sessions. The first session with a matching filter is the one that mirrors the packets.</p>
|
|
36
|
+
* <p>Valid values are 1-32766.</p>
|
|
37
|
+
* @public
|
|
38
|
+
*/
|
|
39
|
+
SessionNumber?: number | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* <p>The virtual network ID of the Traffic Mirror session.</p>
|
|
42
|
+
* @public
|
|
43
|
+
*/
|
|
44
|
+
VirtualNetworkId?: number | undefined;
|
|
45
|
+
/**
|
|
46
|
+
* <p>The description to assign to the Traffic Mirror session.</p>
|
|
47
|
+
* @public
|
|
48
|
+
*/
|
|
49
|
+
Description?: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* <p>The properties that you want to remove from the Traffic Mirror session.</p>
|
|
52
|
+
* <p>When you remove a property from a Traffic Mirror session, the property is set to the default.</p>
|
|
53
|
+
* @public
|
|
54
|
+
*/
|
|
55
|
+
RemoveFields?: TrafficMirrorSessionField[] | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* <p>Checks whether you have the required permissions for the action, without actually making the request,
|
|
58
|
+
* and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
|
|
59
|
+
* Otherwise, it is <code>UnauthorizedOperation</code>.</p>
|
|
60
|
+
* @public
|
|
61
|
+
*/
|
|
62
|
+
DryRun?: boolean | undefined;
|
|
63
|
+
}
|
|
64
|
+
/**
|
|
65
|
+
* @public
|
|
66
|
+
*/
|
|
67
|
+
export interface ModifyTrafficMirrorSessionResult {
|
|
68
|
+
/**
|
|
69
|
+
* <p>Information about the Traffic Mirror session.</p>
|
|
70
|
+
* @public
|
|
71
|
+
*/
|
|
72
|
+
TrafficMirrorSession?: TrafficMirrorSession | undefined;
|
|
73
|
+
}
|
|
9
74
|
/**
|
|
10
75
|
* <p>The transit gateway options.</p>
|
|
11
76
|
* @public
|
|
@@ -2024,6 +2024,8 @@ export declare var RequestSpotLaunchSpecification$: StaticStructureSchema;
|
|
|
2024
2024
|
export declare var Reservation$: StaticStructureSchema;
|
|
2025
2025
|
export declare var ReservationFleetInstanceSpecification$: StaticStructureSchema;
|
|
2026
2026
|
export declare var ReservationValue$: StaticStructureSchema;
|
|
2027
|
+
export declare var ReservedCapacityOptions$: StaticStructureSchema;
|
|
2028
|
+
export declare var ReservedCapacityOptionsRequest$: StaticStructureSchema;
|
|
2027
2029
|
export declare var ReservedInstanceLimitPrice$: StaticStructureSchema;
|
|
2028
2030
|
export declare var ReservedInstanceReservationValue$: StaticStructureSchema;
|
|
2029
2031
|
export declare var ReservedInstances$: StaticStructureSchema;
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
CreateSecondarySubnetRequest,
|
|
10
|
+
CreateSecondarySubnetResult,
|
|
11
|
+
} from "../models/models_2";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface CreateSecondarySubnetCommandInput
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
DeleteTrafficMirrorSessionResult,
|
|
11
|
-
} from "../models/models_2";
|
|
8
|
+
import { DeleteTrafficMirrorSessionRequest } from "../models/models_2";
|
|
9
|
+
import { DeleteTrafficMirrorSessionResult } from "../models/models_3";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface DeleteTrafficMirrorSessionCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
DescribeInstanceImageMetadataRequest,
|
|
10
|
+
DescribeInstanceImageMetadataResult,
|
|
11
|
+
} from "../models/models_4";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface DescribeInstanceImageMetadataCommandInput
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
DescribeTrafficMirrorSessionsResult,
|
|
11
|
-
} from "../models/models_4";
|
|
8
|
+
import { DescribeTrafficMirrorSessionsRequest } from "../models/models_4";
|
|
9
|
+
import { DescribeTrafficMirrorSessionsResult } from "../models/models_5";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface DescribeTrafficMirrorSessionsCommandInput
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
8
|
+
import {
|
|
9
|
+
DescribeTrafficMirrorTargetsRequest,
|
|
10
|
+
DescribeTrafficMirrorTargetsResult,
|
|
11
|
+
} from "../models/models_5";
|
|
10
12
|
export { __MetadataBearer };
|
|
11
13
|
export { $Command };
|
|
12
14
|
export interface DescribeTrafficMirrorTargetsCommandInput
|
|
@@ -5,10 +5,8 @@ import {
|
|
|
5
5
|
ServiceInputTypes,
|
|
6
6
|
ServiceOutputTypes,
|
|
7
7
|
} from "../EC2Client";
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
GetDeclarativePoliciesReportSummaryResult,
|
|
11
|
-
} from "../models/models_5";
|
|
8
|
+
import { GetDeclarativePoliciesReportSummaryRequest } from "../models/models_5";
|
|
9
|
+
import { GetDeclarativePoliciesReportSummaryResult } from "../models/models_6";
|
|
12
10
|
export { __MetadataBearer };
|
|
13
11
|
export { $Command };
|
|
14
12
|
export interface GetDeclarativePoliciesReportSummaryCommandInput
|
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
import {
|
|
9
9
|
ModifyTrafficMirrorSessionRequest,
|
|
10
10
|
ModifyTrafficMirrorSessionResult,
|
|
11
|
-
} from "../models/
|
|
11
|
+
} from "../models/models_7";
|
|
12
12
|
export { __MetadataBearer };
|
|
13
13
|
export { $Command };
|
|
14
14
|
export interface ModifyTrafficMirrorSessionCommandInput
|
|
@@ -2186,6 +2186,11 @@ export declare const FleetCapacityReservationUsageStrategy: {
|
|
|
2186
2186
|
};
|
|
2187
2187
|
export type FleetCapacityReservationUsageStrategy =
|
|
2188
2188
|
(typeof FleetCapacityReservationUsageStrategy)[keyof typeof FleetCapacityReservationUsageStrategy];
|
|
2189
|
+
export declare const FleetReservationType: {
|
|
2190
|
+
readonly INTERRUPTIBLE_CAPACITY_RESERVATION: "interruptible-capacity-reservation";
|
|
2191
|
+
};
|
|
2192
|
+
export type FleetReservationType =
|
|
2193
|
+
(typeof FleetReservationType)[keyof typeof FleetReservationType];
|
|
2189
2194
|
export declare const SpotAllocationStrategy: {
|
|
2190
2195
|
readonly CAPACITY_OPTIMIZED: "capacity-optimized";
|
|
2191
2196
|
readonly CAPACITY_OPTIMIZED_PRIORITIZED: "capacity-optimized-prioritized";
|
|
@@ -2211,6 +2216,7 @@ export type FleetReplacementStrategy =
|
|
|
2211
2216
|
export declare const DefaultTargetCapacityType: {
|
|
2212
2217
|
readonly CAPACITY_BLOCK: "capacity-block";
|
|
2213
2218
|
readonly ON_DEMAND: "on-demand";
|
|
2219
|
+
readonly RESERVED_CAPACITY: "reserved-capacity";
|
|
2214
2220
|
readonly SPOT: "spot";
|
|
2215
2221
|
};
|
|
2216
2222
|
export type DefaultTargetCapacityType =
|
|
@@ -2229,6 +2235,7 @@ export declare const FleetType: {
|
|
|
2229
2235
|
};
|
|
2230
2236
|
export type FleetType = (typeof FleetType)[keyof typeof FleetType];
|
|
2231
2237
|
export declare const InstanceLifecycle: {
|
|
2238
|
+
readonly INTERRUPTIBLE_CAPACITY_RESERVATION: "interruptible-capacity-reservation";
|
|
2232
2239
|
readonly ON_DEMAND: "on-demand";
|
|
2233
2240
|
readonly SPOT: "spot";
|
|
2234
2241
|
};
|
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
FleetExcessCapacityTerminationPolicy,
|
|
27
27
|
FleetOnDemandAllocationStrategy,
|
|
28
28
|
FleetReplacementStrategy,
|
|
29
|
+
FleetReservationType,
|
|
29
30
|
FleetType,
|
|
30
31
|
FlowLogsResourceType,
|
|
31
32
|
HostnameType,
|
|
@@ -311,6 +312,9 @@ export interface OnDemandOptionsRequest {
|
|
|
311
312
|
MinTargetCapacity?: number | undefined;
|
|
312
313
|
MaxTotalPrice?: string | undefined;
|
|
313
314
|
}
|
|
315
|
+
export interface ReservedCapacityOptionsRequest {
|
|
316
|
+
ReservationTypes?: FleetReservationType[] | undefined;
|
|
317
|
+
}
|
|
314
318
|
export interface FleetSpotCapacityRebalanceRequest {
|
|
315
319
|
ReplacementStrategy?: FleetReplacementStrategy | undefined;
|
|
316
320
|
TerminationDelay?: number | undefined;
|
|
@@ -340,6 +344,7 @@ export interface CreateFleetRequest {
|
|
|
340
344
|
ClientToken?: string | undefined;
|
|
341
345
|
SpotOptions?: SpotOptionsRequest | undefined;
|
|
342
346
|
OnDemandOptions?: OnDemandOptionsRequest | undefined;
|
|
347
|
+
ReservedCapacityOptions?: ReservedCapacityOptionsRequest | undefined;
|
|
343
348
|
ExcessCapacityTerminationPolicy?:
|
|
344
349
|
| FleetExcessCapacityTerminationPolicy
|
|
345
350
|
| undefined;
|
|
@@ -2268,12 +2273,3 @@ export interface CreateSecondaryNetworkResult {
|
|
|
2268
2273
|
SecondaryNetwork?: SecondaryNetwork | undefined;
|
|
2269
2274
|
ClientToken?: string | undefined;
|
|
2270
2275
|
}
|
|
2271
|
-
export interface CreateSecondarySubnetRequest {
|
|
2272
|
-
ClientToken?: string | undefined;
|
|
2273
|
-
AvailabilityZone?: string | undefined;
|
|
2274
|
-
AvailabilityZoneId?: string | undefined;
|
|
2275
|
-
DryRun?: boolean | undefined;
|
|
2276
|
-
Ipv4CidrBlock: string | undefined;
|
|
2277
|
-
SecondaryNetworkId: string | undefined;
|
|
2278
|
-
TagSpecifications?: TagSpecification[] | undefined;
|
|
2279
|
-
}
|
|
@@ -127,6 +127,15 @@ import {
|
|
|
127
127
|
RouteServerPeer,
|
|
128
128
|
SecondaryNetwork,
|
|
129
129
|
} from "./models_1";
|
|
130
|
+
export interface CreateSecondarySubnetRequest {
|
|
131
|
+
ClientToken?: string | undefined;
|
|
132
|
+
AvailabilityZone?: string | undefined;
|
|
133
|
+
AvailabilityZoneId?: string | undefined;
|
|
134
|
+
DryRun?: boolean | undefined;
|
|
135
|
+
Ipv4CidrBlock: string | undefined;
|
|
136
|
+
SecondaryNetworkId: string | undefined;
|
|
137
|
+
TagSpecifications?: TagSpecification[] | undefined;
|
|
138
|
+
}
|
|
130
139
|
export interface SecondarySubnetIpv4CidrBlockAssociation {
|
|
131
140
|
AssociationId?: string | undefined;
|
|
132
141
|
CidrBlock?: string | undefined;
|
|
@@ -1916,6 +1925,3 @@ export interface DeleteTrafficMirrorSessionRequest {
|
|
|
1916
1925
|
TrafficMirrorSessionId: string | undefined;
|
|
1917
1926
|
DryRun?: boolean | undefined;
|
|
1918
1927
|
}
|
|
1919
|
-
export interface DeleteTrafficMirrorSessionResult {
|
|
1920
|
-
TrafficMirrorSessionId?: string | undefined;
|
|
1921
|
-
}
|
|
@@ -43,6 +43,7 @@ import {
|
|
|
43
43
|
FleetInstanceMatchCriteria,
|
|
44
44
|
FleetOnDemandAllocationStrategy,
|
|
45
45
|
FleetReplacementStrategy,
|
|
46
|
+
FleetReservationType,
|
|
46
47
|
FleetStateCode,
|
|
47
48
|
FleetType,
|
|
48
49
|
FpgaImageAttributeName,
|
|
@@ -140,6 +141,9 @@ import {
|
|
|
140
141
|
VerifiedAccessGroup,
|
|
141
142
|
VpcBlockPublicAccessExclusion,
|
|
142
143
|
} from "./models_2";
|
|
144
|
+
export interface DeleteTrafficMirrorSessionResult {
|
|
145
|
+
TrafficMirrorSessionId?: string | undefined;
|
|
146
|
+
}
|
|
143
147
|
export interface DeleteTrafficMirrorTargetRequest {
|
|
144
148
|
TrafficMirrorTargetId: string | undefined;
|
|
145
149
|
DryRun?: boolean | undefined;
|
|
@@ -1320,6 +1324,9 @@ export interface OnDemandOptions {
|
|
|
1320
1324
|
MinTargetCapacity?: number | undefined;
|
|
1321
1325
|
MaxTotalPrice?: string | undefined;
|
|
1322
1326
|
}
|
|
1327
|
+
export interface ReservedCapacityOptions {
|
|
1328
|
+
ReservationTypes?: FleetReservationType[] | undefined;
|
|
1329
|
+
}
|
|
1323
1330
|
export interface FleetSpotCapacityRebalance {
|
|
1324
1331
|
ReplacementStrategy?: FleetReplacementStrategy | undefined;
|
|
1325
1332
|
TerminationDelay?: number | undefined;
|
|
@@ -1364,6 +1371,7 @@ export interface FleetData {
|
|
|
1364
1371
|
ReplaceUnhealthyInstances?: boolean | undefined;
|
|
1365
1372
|
SpotOptions?: SpotOptions | undefined;
|
|
1366
1373
|
OnDemandOptions?: OnDemandOptions | undefined;
|
|
1374
|
+
ReservedCapacityOptions?: ReservedCapacityOptions | undefined;
|
|
1367
1375
|
Tags?: Tag[] | undefined;
|
|
1368
1376
|
Errors?: DescribeFleetError[] | undefined;
|
|
1369
1377
|
Instances?: DescribeFleetsInstances[] | undefined;
|
|
@@ -1916,21 +1924,3 @@ export interface DescribeInstanceEventWindowsResult {
|
|
|
1916
1924
|
InstanceEventWindows?: InstanceEventWindow[] | undefined;
|
|
1917
1925
|
NextToken?: string | undefined;
|
|
1918
1926
|
}
|
|
1919
|
-
export interface DescribeInstanceImageMetadataRequest {
|
|
1920
|
-
Filters?: Filter[] | undefined;
|
|
1921
|
-
InstanceIds?: string[] | undefined;
|
|
1922
|
-
MaxResults?: number | undefined;
|
|
1923
|
-
NextToken?: string | undefined;
|
|
1924
|
-
DryRun?: boolean | undefined;
|
|
1925
|
-
}
|
|
1926
|
-
export interface ImageMetadata {
|
|
1927
|
-
ImageId?: string | undefined;
|
|
1928
|
-
Name?: string | undefined;
|
|
1929
|
-
OwnerId?: string | undefined;
|
|
1930
|
-
State?: ImageState | undefined;
|
|
1931
|
-
ImageOwnerAlias?: string | undefined;
|
|
1932
|
-
CreationDate?: string | undefined;
|
|
1933
|
-
DeprecationTime?: string | undefined;
|
|
1934
|
-
ImageAllowed?: boolean | undefined;
|
|
1935
|
-
IsPublic?: boolean | undefined;
|
|
1936
|
-
}
|
|
@@ -31,6 +31,7 @@ import {
|
|
|
31
31
|
HostnameType,
|
|
32
32
|
HttpTokensState,
|
|
33
33
|
HypervisorType,
|
|
34
|
+
ImageState,
|
|
34
35
|
InstanceAutoRecoveryState,
|
|
35
36
|
InstanceBandwidthWeighting,
|
|
36
37
|
InstanceBootModeValues,
|
|
@@ -162,19 +163,35 @@ import {
|
|
|
162
163
|
Snapshot,
|
|
163
164
|
TrafficMirrorFilter,
|
|
164
165
|
TrafficMirrorFilterRule,
|
|
165
|
-
TrafficMirrorSession,
|
|
166
166
|
} from "./models_2";
|
|
167
167
|
import {
|
|
168
168
|
AttributeBooleanValue,
|
|
169
169
|
EnclaveOptions,
|
|
170
170
|
EventInformation,
|
|
171
|
-
ImageMetadata,
|
|
172
171
|
Byoasn,
|
|
173
172
|
Filter,
|
|
174
173
|
IdFormat,
|
|
175
174
|
InstanceBlockDeviceMapping,
|
|
176
175
|
ProductCode,
|
|
177
176
|
} from "./models_3";
|
|
177
|
+
export interface DescribeInstanceImageMetadataRequest {
|
|
178
|
+
Filters?: Filter[] | undefined;
|
|
179
|
+
InstanceIds?: string[] | undefined;
|
|
180
|
+
MaxResults?: number | undefined;
|
|
181
|
+
NextToken?: string | undefined;
|
|
182
|
+
DryRun?: boolean | undefined;
|
|
183
|
+
}
|
|
184
|
+
export interface ImageMetadata {
|
|
185
|
+
ImageId?: string | undefined;
|
|
186
|
+
Name?: string | undefined;
|
|
187
|
+
OwnerId?: string | undefined;
|
|
188
|
+
State?: ImageState | undefined;
|
|
189
|
+
ImageOwnerAlias?: string | undefined;
|
|
190
|
+
CreationDate?: string | undefined;
|
|
191
|
+
DeprecationTime?: string | undefined;
|
|
192
|
+
ImageAllowed?: boolean | undefined;
|
|
193
|
+
IsPublic?: boolean | undefined;
|
|
194
|
+
}
|
|
178
195
|
export interface InstanceState {
|
|
179
196
|
Code?: number | undefined;
|
|
180
197
|
Name?: InstanceStateName | undefined;
|
|
@@ -2175,14 +2192,3 @@ export interface DescribeTrafficMirrorSessionsRequest {
|
|
|
2175
2192
|
MaxResults?: number | undefined;
|
|
2176
2193
|
NextToken?: string | undefined;
|
|
2177
2194
|
}
|
|
2178
|
-
export interface DescribeTrafficMirrorSessionsResult {
|
|
2179
|
-
TrafficMirrorSessions?: TrafficMirrorSession[] | undefined;
|
|
2180
|
-
NextToken?: string | undefined;
|
|
2181
|
-
}
|
|
2182
|
-
export interface DescribeTrafficMirrorTargetsRequest {
|
|
2183
|
-
TrafficMirrorTargetIds?: string[] | undefined;
|
|
2184
|
-
DryRun?: boolean | undefined;
|
|
2185
|
-
Filters?: Filter[] | undefined;
|
|
2186
|
-
MaxResults?: number | undefined;
|
|
2187
|
-
NextToken?: string | undefined;
|
|
2188
|
-
}
|
|
@@ -85,6 +85,7 @@ import {
|
|
|
85
85
|
DnsEntry,
|
|
86
86
|
ServiceConfiguration,
|
|
87
87
|
ServiceTypeDetail,
|
|
88
|
+
TrafficMirrorSession,
|
|
88
89
|
TrafficMirrorTarget,
|
|
89
90
|
TransitGateway,
|
|
90
91
|
TransitGatewayConnect,
|
|
@@ -111,6 +112,17 @@ import {
|
|
|
111
112
|
ProductCode,
|
|
112
113
|
} from "./models_3";
|
|
113
114
|
import { RegisteredInstance } from "./models_4";
|
|
115
|
+
export interface DescribeTrafficMirrorSessionsResult {
|
|
116
|
+
TrafficMirrorSessions?: TrafficMirrorSession[] | undefined;
|
|
117
|
+
NextToken?: string | undefined;
|
|
118
|
+
}
|
|
119
|
+
export interface DescribeTrafficMirrorTargetsRequest {
|
|
120
|
+
TrafficMirrorTargetIds?: string[] | undefined;
|
|
121
|
+
DryRun?: boolean | undefined;
|
|
122
|
+
Filters?: Filter[] | undefined;
|
|
123
|
+
MaxResults?: number | undefined;
|
|
124
|
+
NextToken?: string | undefined;
|
|
125
|
+
}
|
|
114
126
|
export interface DescribeTrafficMirrorTargetsResult {
|
|
115
127
|
TrafficMirrorTargets?: TrafficMirrorTarget[] | undefined;
|
|
116
128
|
NextToken?: string | undefined;
|
|
@@ -1646,21 +1658,3 @@ export interface RegionalSummary {
|
|
|
1646
1658
|
NumberOfMatchedAccounts?: number | undefined;
|
|
1647
1659
|
NumberOfUnmatchedAccounts?: number | undefined;
|
|
1648
1660
|
}
|
|
1649
|
-
export interface AttributeSummary {
|
|
1650
|
-
AttributeName?: string | undefined;
|
|
1651
|
-
MostFrequentValue?: string | undefined;
|
|
1652
|
-
NumberOfMatchedAccounts?: number | undefined;
|
|
1653
|
-
NumberOfUnmatchedAccounts?: number | undefined;
|
|
1654
|
-
RegionalSummaries?: RegionalSummary[] | undefined;
|
|
1655
|
-
}
|
|
1656
|
-
export interface GetDeclarativePoliciesReportSummaryResult {
|
|
1657
|
-
ReportId?: string | undefined;
|
|
1658
|
-
S3Bucket?: string | undefined;
|
|
1659
|
-
S3Prefix?: string | undefined;
|
|
1660
|
-
TargetId?: string | undefined;
|
|
1661
|
-
StartTime?: Date | undefined;
|
|
1662
|
-
EndTime?: Date | undefined;
|
|
1663
|
-
NumberOfAccounts?: number | undefined;
|
|
1664
|
-
NumberOfFailedAccounts?: number | undefined;
|
|
1665
|
-
AttributeSummaries?: AttributeSummary[] | undefined;
|
|
1666
|
-
}
|
|
@@ -76,7 +76,6 @@ import {
|
|
|
76
76
|
TrafficMirrorFilterRuleField,
|
|
77
77
|
TrafficMirrorNetworkService,
|
|
78
78
|
TrafficMirrorRuleAction,
|
|
79
|
-
TrafficMirrorSessionField,
|
|
80
79
|
TransitGatewayAssociationState,
|
|
81
80
|
TransitGatewayAttachmentResourceType,
|
|
82
81
|
TransitGatewayPropagationState,
|
|
@@ -138,7 +137,6 @@ import {
|
|
|
138
137
|
TrafficMirrorFilter,
|
|
139
138
|
TrafficMirrorFilterRule,
|
|
140
139
|
TrafficMirrorPortRangeRequest,
|
|
141
|
-
TrafficMirrorSession,
|
|
142
140
|
SubnetCidrReservation,
|
|
143
141
|
TransitGatewayMeteringPolicyEntry,
|
|
144
142
|
TransitGatewayPrefixListReference,
|
|
@@ -161,7 +159,25 @@ import {
|
|
|
161
159
|
LaunchTemplateConfig,
|
|
162
160
|
ReservedInstancesConfiguration,
|
|
163
161
|
} from "./models_4";
|
|
164
|
-
import { RouteServerPropagation } from "./models_5";
|
|
162
|
+
import { RegionalSummary, RouteServerPropagation } from "./models_5";
|
|
163
|
+
export interface AttributeSummary {
|
|
164
|
+
AttributeName?: string | undefined;
|
|
165
|
+
MostFrequentValue?: string | undefined;
|
|
166
|
+
NumberOfMatchedAccounts?: number | undefined;
|
|
167
|
+
NumberOfUnmatchedAccounts?: number | undefined;
|
|
168
|
+
RegionalSummaries?: RegionalSummary[] | undefined;
|
|
169
|
+
}
|
|
170
|
+
export interface GetDeclarativePoliciesReportSummaryResult {
|
|
171
|
+
ReportId?: string | undefined;
|
|
172
|
+
S3Bucket?: string | undefined;
|
|
173
|
+
S3Prefix?: string | undefined;
|
|
174
|
+
TargetId?: string | undefined;
|
|
175
|
+
StartTime?: Date | undefined;
|
|
176
|
+
EndTime?: Date | undefined;
|
|
177
|
+
NumberOfAccounts?: number | undefined;
|
|
178
|
+
NumberOfFailedAccounts?: number | undefined;
|
|
179
|
+
AttributeSummaries?: AttributeSummary[] | undefined;
|
|
180
|
+
}
|
|
165
181
|
export interface GetDefaultCreditSpecificationRequest {
|
|
166
182
|
DryRun?: boolean | undefined;
|
|
167
183
|
InstanceFamily: UnlimitedSupportedInstanceFamily | undefined;
|
|
@@ -1891,17 +1907,3 @@ export interface ModifyTrafficMirrorFilterRuleRequest {
|
|
|
1891
1907
|
export interface ModifyTrafficMirrorFilterRuleResult {
|
|
1892
1908
|
TrafficMirrorFilterRule?: TrafficMirrorFilterRule | undefined;
|
|
1893
1909
|
}
|
|
1894
|
-
export interface ModifyTrafficMirrorSessionRequest {
|
|
1895
|
-
TrafficMirrorSessionId: string | undefined;
|
|
1896
|
-
TrafficMirrorTargetId?: string | undefined;
|
|
1897
|
-
TrafficMirrorFilterId?: string | undefined;
|
|
1898
|
-
PacketLength?: number | undefined;
|
|
1899
|
-
SessionNumber?: number | undefined;
|
|
1900
|
-
VirtualNetworkId?: number | undefined;
|
|
1901
|
-
Description?: string | undefined;
|
|
1902
|
-
RemoveFields?: TrafficMirrorSessionField[] | undefined;
|
|
1903
|
-
DryRun?: boolean | undefined;
|
|
1904
|
-
}
|
|
1905
|
-
export interface ModifyTrafficMirrorSessionResult {
|
|
1906
|
-
TrafficMirrorSession?: TrafficMirrorSession | undefined;
|
|
1907
|
-
}
|
|
@@ -47,6 +47,7 @@ import {
|
|
|
47
47
|
SSEType,
|
|
48
48
|
Status,
|
|
49
49
|
TpmSupportValues,
|
|
50
|
+
TrafficMirrorSessionField,
|
|
50
51
|
TransitGatewayAttachmentResourceType,
|
|
51
52
|
VerificationMethod,
|
|
52
53
|
VerifiedAccessEndpointProtocol,
|
|
@@ -91,6 +92,7 @@ import {
|
|
|
91
92
|
} from "./models_1";
|
|
92
93
|
import {
|
|
93
94
|
DnsOptionsSpecification,
|
|
95
|
+
TrafficMirrorSession,
|
|
94
96
|
TransitGateway,
|
|
95
97
|
TransitGatewayMeteringPolicy,
|
|
96
98
|
TransitGatewayPrefixListReference,
|
|
@@ -139,6 +141,20 @@ import {
|
|
|
139
141
|
VpcBlockPublicAccessOptions,
|
|
140
142
|
} from "./models_5";
|
|
141
143
|
import { CapacityReservationSpecification, Purchase } from "./models_6";
|
|
144
|
+
export interface ModifyTrafficMirrorSessionRequest {
|
|
145
|
+
TrafficMirrorSessionId: string | undefined;
|
|
146
|
+
TrafficMirrorTargetId?: string | undefined;
|
|
147
|
+
TrafficMirrorFilterId?: string | undefined;
|
|
148
|
+
PacketLength?: number | undefined;
|
|
149
|
+
SessionNumber?: number | undefined;
|
|
150
|
+
VirtualNetworkId?: number | undefined;
|
|
151
|
+
Description?: string | undefined;
|
|
152
|
+
RemoveFields?: TrafficMirrorSessionField[] | undefined;
|
|
153
|
+
DryRun?: boolean | undefined;
|
|
154
|
+
}
|
|
155
|
+
export interface ModifyTrafficMirrorSessionResult {
|
|
156
|
+
TrafficMirrorSession?: TrafficMirrorSession | undefined;
|
|
157
|
+
}
|
|
142
158
|
export interface ModifyTransitGatewayOptions {
|
|
143
159
|
AddTransitGatewayCidrBlocks?: string[] | undefined;
|
|
144
160
|
RemoveTransitGatewayCidrBlocks?: string[] | undefined;
|
|
@@ -2023,6 +2023,8 @@ export declare var RequestSpotLaunchSpecification$: StaticStructureSchema;
|
|
|
2023
2023
|
export declare var Reservation$: StaticStructureSchema;
|
|
2024
2024
|
export declare var ReservationFleetInstanceSpecification$: StaticStructureSchema;
|
|
2025
2025
|
export declare var ReservationValue$: StaticStructureSchema;
|
|
2026
|
+
export declare var ReservedCapacityOptions$: StaticStructureSchema;
|
|
2027
|
+
export declare var ReservedCapacityOptionsRequest$: StaticStructureSchema;
|
|
2026
2028
|
export declare var ReservedInstanceLimitPrice$: StaticStructureSchema;
|
|
2027
2029
|
export declare var ReservedInstanceReservationValue$: StaticStructureSchema;
|
|
2028
2030
|
export declare var ReservedInstances$: StaticStructureSchema;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aws-sdk/client-ec2",
|
|
3
3
|
"description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.1013.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 client-ec2",
|
|
@@ -25,18 +25,18 @@
|
|
|
25
25
|
"dependencies": {
|
|
26
26
|
"@aws-crypto/sha256-browser": "5.2.0",
|
|
27
27
|
"@aws-crypto/sha256-js": "5.2.0",
|
|
28
|
-
"@aws-sdk/core": "^3.973.
|
|
29
|
-
"@aws-sdk/credential-provider-node": "^3.972.
|
|
28
|
+
"@aws-sdk/core": "^3.973.22",
|
|
29
|
+
"@aws-sdk/credential-provider-node": "^3.972.23",
|
|
30
30
|
"@aws-sdk/middleware-host-header": "^3.972.8",
|
|
31
31
|
"@aws-sdk/middleware-logger": "^3.972.8",
|
|
32
32
|
"@aws-sdk/middleware-recursion-detection": "^3.972.8",
|
|
33
33
|
"@aws-sdk/middleware-sdk-ec2": "^3.972.16",
|
|
34
|
-
"@aws-sdk/middleware-user-agent": "^3.972.
|
|
34
|
+
"@aws-sdk/middleware-user-agent": "^3.972.23",
|
|
35
35
|
"@aws-sdk/region-config-resolver": "^3.972.8",
|
|
36
36
|
"@aws-sdk/types": "^3.973.6",
|
|
37
37
|
"@aws-sdk/util-endpoints": "^3.996.5",
|
|
38
38
|
"@aws-sdk/util-user-agent-browser": "^3.972.8",
|
|
39
|
-
"@aws-sdk/util-user-agent-node": "^3.973.
|
|
39
|
+
"@aws-sdk/util-user-agent-node": "^3.973.9",
|
|
40
40
|
"@smithy/config-resolver": "^4.4.11",
|
|
41
41
|
"@smithy/core": "^3.23.12",
|
|
42
42
|
"@smithy/fetch-http-handler": "^5.3.15",
|