@aws-sdk/client-ec2 3.696.0 → 3.697.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.
Files changed (66) hide show
  1. package/dist-cjs/index.js +179 -38
  2. package/dist-es/models/models_1.js +2 -4
  3. package/dist-es/models/models_2.js +4 -0
  4. package/dist-es/models/models_3.js +0 -6
  5. package/dist-es/models/models_4.js +6 -0
  6. package/dist-es/protocols/Aws_ec2.js +168 -26
  7. package/dist-types/commands/CreateFleetCommand.d.ts +30 -3
  8. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +11 -2
  9. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +22 -4
  10. package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -1
  11. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +2 -1
  13. package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -2
  16. package/dist-types/commands/DescribeFleetsCommand.d.ts +30 -3
  17. package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -1
  18. package/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +11 -2
  21. package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +20 -2
  24. package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -1
  25. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  26. package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  27. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +10 -1
  28. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +11 -2
  29. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +10 -1
  30. package/dist-types/commands/ModifyFleetCommand.d.ts +10 -1
  31. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +2 -2
  32. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +10 -1
  33. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -1
  34. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  35. package/dist-types/commands/RequestSpotFleetCommand.d.ts +20 -2
  36. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  37. package/dist-types/models/models_1.d.ts +245 -198
  38. package/dist-types/models/models_2.d.ts +199 -115
  39. package/dist-types/models/models_3.d.ts +115 -220
  40. package/dist-types/models/models_4.d.ts +222 -341
  41. package/dist-types/models/models_5.d.ts +340 -211
  42. package/dist-types/models/models_6.d.ts +228 -135
  43. package/dist-types/models/models_7.d.ts +126 -5
  44. package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +2 -4
  45. package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +4 -2
  50. package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -4
  55. package/dist-types/ts3.4/commands/ExportImageCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/models/models_1.d.ts +22 -45
  60. package/dist-types/ts3.4/models/models_2.d.ts +46 -25
  61. package/dist-types/ts3.4/models/models_3.d.ts +25 -48
  62. package/dist-types/ts3.4/models/models_4.d.ts +49 -43
  63. package/dist-types/ts3.4/models/models_5.d.ts +41 -40
  64. package/dist-types/ts3.4/models/models_6.d.ts +39 -36
  65. package/dist-types/ts3.4/models/models_7.d.ts +41 -8
  66. package/package.json +1 -1
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- ExportClientVpnClientConfigurationRequest,
10
- ExportClientVpnClientConfigurationResult,
11
- } from "../models/models_5";
8
+ import { ExportClientVpnClientConfigurationRequest } from "../models/models_5";
9
+ import { ExportClientVpnClientConfigurationResult } from "../models/models_6";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface ExportClientVpnClientConfigurationCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { ExportImageRequest, ExportImageResult } from "../models/models_5";
8
+ import { ExportImageRequest, ExportImageResult } from "../models/models_6";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface ExportImageCommandInput extends ExportImageRequest {}
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ExportTransitGatewayRoutesRequest,
10
10
  ExportTransitGatewayRoutesResult,
11
- } from "../models/models_5";
11
+ } from "../models/models_6";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ExportTransitGatewayRoutesCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- ModifyTransitGatewayPrefixListReferenceRequest,
10
- ModifyTransitGatewayPrefixListReferenceResult,
11
- } from "../models/models_6";
8
+ import { ModifyTransitGatewayPrefixListReferenceRequest } from "../models/models_6";
9
+ import { ModifyTransitGatewayPrefixListReferenceResult } from "../models/models_7";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface ModifyTransitGatewayPrefixListReferenceCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  ModifyTransitGatewayVpcAttachmentRequest,
10
10
  ModifyTransitGatewayVpcAttachmentResult,
11
- } from "../models/models_6";
11
+ } from "../models/models_7";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface ModifyTransitGatewayVpcAttachmentCommandInput
@@ -20,7 +20,6 @@ import {
20
20
  InstanceEventWindow,
21
21
  InstanceMatchCriteria,
22
22
  NatGatewayAddress,
23
- PortRange,
24
23
  ResourceType,
25
24
  SubnetIpv6CidrBlockAssociation,
26
25
  Tag,
@@ -1339,6 +1338,15 @@ export interface BaselineEbsBandwidthMbpsRequest {
1339
1338
  Min?: number | undefined;
1340
1339
  Max?: number | undefined;
1341
1340
  }
1341
+ export interface PerformanceFactorReferenceRequest {
1342
+ InstanceFamily?: string | undefined;
1343
+ }
1344
+ export interface CpuPerformanceFactorRequest {
1345
+ References?: PerformanceFactorReferenceRequest[] | undefined;
1346
+ }
1347
+ export interface BaselinePerformanceFactorsRequest {
1348
+ Cpu?: CpuPerformanceFactorRequest | undefined;
1349
+ }
1342
1350
  export declare const BurstablePerformance: {
1343
1351
  readonly EXCLUDED: "excluded";
1344
1352
  readonly INCLUDED: "included";
@@ -1349,6 +1357,7 @@ export type BurstablePerformance =
1349
1357
  export declare const CpuManufacturer: {
1350
1358
  readonly AMAZON_WEB_SERVICES: "amazon-web-services";
1351
1359
  readonly AMD: "amd";
1360
+ readonly APPLE: "apple";
1352
1361
  readonly INTEL: "intel";
1353
1362
  };
1354
1363
  export type CpuManufacturer =
@@ -1420,6 +1429,7 @@ export interface InstanceRequirementsRequest {
1420
1429
  NetworkBandwidthGbps?: NetworkBandwidthGbpsRequest | undefined;
1421
1430
  AllowedInstanceTypes?: string[] | undefined;
1422
1431
  MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number | undefined;
1432
+ BaselinePerformanceFactors?: BaselinePerformanceFactorsRequest | undefined;
1423
1433
  }
1424
1434
  export interface Placement {
1425
1435
  Affinity?: string | undefined;
@@ -1564,6 +1574,15 @@ export interface BaselineEbsBandwidthMbps {
1564
1574
  Min?: number | undefined;
1565
1575
  Max?: number | undefined;
1566
1576
  }
1577
+ export interface PerformanceFactorReference {
1578
+ InstanceFamily?: string | undefined;
1579
+ }
1580
+ export interface CpuPerformanceFactor {
1581
+ References?: PerformanceFactorReference[] | undefined;
1582
+ }
1583
+ export interface BaselinePerformanceFactors {
1584
+ Cpu?: CpuPerformanceFactor | undefined;
1585
+ }
1567
1586
  export interface MemoryGiBPerVCpu {
1568
1587
  Min?: number | undefined;
1569
1588
  Max?: number | undefined;
@@ -1613,6 +1632,7 @@ export interface InstanceRequirements {
1613
1632
  NetworkBandwidthGbps?: NetworkBandwidthGbps | undefined;
1614
1633
  AllowedInstanceTypes?: string[] | undefined;
1615
1634
  MaxSpotPriceAsPercentageOfOptimalOnDemandPrice?: number | undefined;
1635
+ BaselinePerformanceFactors?: BaselinePerformanceFactors | undefined;
1616
1636
  }
1617
1637
  export interface PlacementResponse {
1618
1638
  GroupName?: string | undefined;
@@ -2215,6 +2235,7 @@ export interface LaunchTemplateBlockDeviceMappingRequest {
2215
2235
  NoDevice?: string | undefined;
2216
2236
  }
2217
2237
  export declare const CapacityReservationPreference: {
2238
+ readonly capacity_reservations_only: "capacity-reservations-only";
2218
2239
  readonly none: "none";
2219
2240
  readonly open: "open";
2220
2241
  };
@@ -2928,50 +2949,6 @@ export interface NetworkAclAssociation {
2928
2949
  NetworkAclId?: string | undefined;
2929
2950
  SubnetId?: string | undefined;
2930
2951
  }
2931
- export interface IcmpTypeCode {
2932
- Code?: number | undefined;
2933
- Type?: number | undefined;
2934
- }
2935
- export declare const RuleAction: {
2936
- readonly allow: "allow";
2937
- readonly deny: "deny";
2938
- };
2939
- export type RuleAction = (typeof RuleAction)[keyof typeof RuleAction];
2940
- export interface NetworkAclEntry {
2941
- CidrBlock?: string | undefined;
2942
- Egress?: boolean | undefined;
2943
- IcmpTypeCode?: IcmpTypeCode | undefined;
2944
- Ipv6CidrBlock?: string | undefined;
2945
- PortRange?: PortRange | undefined;
2946
- Protocol?: string | undefined;
2947
- RuleAction?: RuleAction | undefined;
2948
- RuleNumber?: number | undefined;
2949
- }
2950
- export interface NetworkAcl {
2951
- Associations?: NetworkAclAssociation[] | undefined;
2952
- Entries?: NetworkAclEntry[] | undefined;
2953
- IsDefault?: boolean | undefined;
2954
- NetworkAclId?: string | undefined;
2955
- Tags?: Tag[] | undefined;
2956
- VpcId?: string | undefined;
2957
- OwnerId?: string | undefined;
2958
- }
2959
- export interface CreateNetworkAclResult {
2960
- NetworkAcl?: NetworkAcl | undefined;
2961
- ClientToken?: string | undefined;
2962
- }
2963
- export interface CreateNetworkAclEntryRequest {
2964
- DryRun?: boolean | undefined;
2965
- NetworkAclId: string | undefined;
2966
- RuleNumber: number | undefined;
2967
- Protocol: string | undefined;
2968
- RuleAction: RuleAction | undefined;
2969
- Egress: boolean | undefined;
2970
- CidrBlock?: string | undefined;
2971
- Ipv6CidrBlock?: string | undefined;
2972
- IcmpTypeCode?: IcmpTypeCode | undefined;
2973
- PortRange?: PortRange | undefined;
2974
- }
2975
2952
  export declare const KeyPairFilterSensitiveLog: (obj: KeyPair) => any;
2976
2953
  export declare const RequestLaunchTemplateDataFilterSensitiveLog: (
2977
2954
  obj: RequestLaunchTemplateData
@@ -7,9 +7,9 @@ import {
7
7
  DeviceTrustProviderType,
8
8
  DnsSupportValue,
9
9
  DynamicRoutingValue,
10
- InstanceEventWindowState,
11
10
  Ipv4PrefixSpecification,
12
11
  Ipv6SupportValue,
12
+ PortRange,
13
13
  Protocol,
14
14
  ReservedInstancesListing,
15
15
  RouteTableAssociationState,
@@ -40,9 +40,9 @@ import {
40
40
  Ec2InstanceConnectEndpoint,
41
41
  GatewayType,
42
42
  InstanceIpv6Address,
43
- Ipam,
44
43
  Ipv4PrefixSpecificationRequest,
45
44
  Ipv6PrefixSpecificationRequest,
45
+ NetworkAclAssociation,
46
46
  OperatorRequest,
47
47
  OperatorResponse,
48
48
  PrivateIpAddressSpecification,
@@ -51,6 +51,50 @@ import {
51
51
  VolumeType,
52
52
  Vpc,
53
53
  } from "./models_1";
54
+ export interface IcmpTypeCode {
55
+ Code?: number | undefined;
56
+ Type?: number | undefined;
57
+ }
58
+ export declare const RuleAction: {
59
+ readonly allow: "allow";
60
+ readonly deny: "deny";
61
+ };
62
+ export type RuleAction = (typeof RuleAction)[keyof typeof RuleAction];
63
+ export interface NetworkAclEntry {
64
+ CidrBlock?: string | undefined;
65
+ Egress?: boolean | undefined;
66
+ IcmpTypeCode?: IcmpTypeCode | undefined;
67
+ Ipv6CidrBlock?: string | undefined;
68
+ PortRange?: PortRange | undefined;
69
+ Protocol?: string | undefined;
70
+ RuleAction?: RuleAction | undefined;
71
+ RuleNumber?: number | undefined;
72
+ }
73
+ export interface NetworkAcl {
74
+ Associations?: NetworkAclAssociation[] | undefined;
75
+ Entries?: NetworkAclEntry[] | undefined;
76
+ IsDefault?: boolean | undefined;
77
+ NetworkAclId?: string | undefined;
78
+ Tags?: Tag[] | undefined;
79
+ VpcId?: string | undefined;
80
+ OwnerId?: string | undefined;
81
+ }
82
+ export interface CreateNetworkAclResult {
83
+ NetworkAcl?: NetworkAcl | undefined;
84
+ ClientToken?: string | undefined;
85
+ }
86
+ export interface CreateNetworkAclEntryRequest {
87
+ DryRun?: boolean | undefined;
88
+ NetworkAclId: string | undefined;
89
+ RuleNumber: number | undefined;
90
+ Protocol: string | undefined;
91
+ RuleAction: RuleAction | undefined;
92
+ Egress: boolean | undefined;
93
+ CidrBlock?: string | undefined;
94
+ Ipv6CidrBlock?: string | undefined;
95
+ IcmpTypeCode?: IcmpTypeCode | undefined;
96
+ PortRange?: PortRange | undefined;
97
+ }
54
98
  export interface CreateNetworkInsightsAccessScopeRequest {
55
99
  MatchPaths?: AccessScopePathRequest[] | undefined;
56
100
  ExcludePaths?: AccessScopePathRequest[] | undefined;
@@ -2056,29 +2100,6 @@ export interface DeleteInstanceEventWindowRequest {
2056
2100
  ForceDelete?: boolean | undefined;
2057
2101
  InstanceEventWindowId: string | undefined;
2058
2102
  }
2059
- export interface InstanceEventWindowStateChange {
2060
- InstanceEventWindowId?: string | undefined;
2061
- State?: InstanceEventWindowState | undefined;
2062
- }
2063
- export interface DeleteInstanceEventWindowResult {
2064
- InstanceEventWindowState?: InstanceEventWindowStateChange | undefined;
2065
- }
2066
- export interface DeleteInternetGatewayRequest {
2067
- DryRun?: boolean | undefined;
2068
- InternetGatewayId: string | undefined;
2069
- }
2070
- export interface DeleteIpamRequest {
2071
- DryRun?: boolean | undefined;
2072
- IpamId: string | undefined;
2073
- Cascade?: boolean | undefined;
2074
- }
2075
- export interface DeleteIpamResult {
2076
- Ipam?: Ipam | undefined;
2077
- }
2078
- export interface DeleteIpamExternalResourceVerificationTokenRequest {
2079
- DryRun?: boolean | undefined;
2080
- IpamExternalResourceVerificationTokenId: string | undefined;
2081
- }
2082
2103
  export declare const CreateVerifiedAccessTrustProviderOidcOptionsFilterSensitiveLog: (
2083
2104
  obj: CreateVerifiedAccessTrustProviderOidcOptions
2084
2105
  ) => any;
@@ -12,7 +12,7 @@ import {
12
12
  CapacityReservationFleetState,
13
13
  CapacityReservationTenancy,
14
14
  ClientVpnAuthorizationRuleStatus,
15
- CurrencyCodeValues,
15
+ InstanceEventWindowState,
16
16
  Tag,
17
17
  TransitGatewayPeeringAttachment,
18
18
  TransitGatewayVpcAttachment,
@@ -46,6 +46,7 @@ import {
46
46
  FleetReplacementStrategy,
47
47
  FleetType,
48
48
  InstanceLifecycle,
49
+ Ipam,
49
50
  IpamExternalResourceVerificationToken,
50
51
  IpamPool,
51
52
  IpamResourceDiscovery,
@@ -82,6 +83,29 @@ import {
82
83
  VerifiedAccessGroup,
83
84
  VpcBlockPublicAccessExclusion,
84
85
  } from "./models_2";
86
+ export interface InstanceEventWindowStateChange {
87
+ InstanceEventWindowId?: string | undefined;
88
+ State?: InstanceEventWindowState | undefined;
89
+ }
90
+ export interface DeleteInstanceEventWindowResult {
91
+ InstanceEventWindowState?: InstanceEventWindowStateChange | undefined;
92
+ }
93
+ export interface DeleteInternetGatewayRequest {
94
+ DryRun?: boolean | undefined;
95
+ InternetGatewayId: string | undefined;
96
+ }
97
+ export interface DeleteIpamRequest {
98
+ DryRun?: boolean | undefined;
99
+ IpamId: string | undefined;
100
+ Cascade?: boolean | undefined;
101
+ }
102
+ export interface DeleteIpamResult {
103
+ Ipam?: Ipam | undefined;
104
+ }
105
+ export interface DeleteIpamExternalResourceVerificationTokenRequest {
106
+ DryRun?: boolean | undefined;
107
+ IpamExternalResourceVerificationTokenId: string | undefined;
108
+ }
85
109
  export interface DeleteIpamExternalResourceVerificationTokenResult {
86
110
  IpamExternalResourceVerificationToken?:
87
111
  | IpamExternalResourceVerificationToken
@@ -1652,53 +1676,6 @@ export declare const PaymentOption: {
1652
1676
  readonly PARTIAL_UPFRONT: "PartialUpfront";
1653
1677
  };
1654
1678
  export type PaymentOption = (typeof PaymentOption)[keyof typeof PaymentOption];
1655
- export interface HostOffering {
1656
- CurrencyCode?: CurrencyCodeValues | undefined;
1657
- Duration?: number | undefined;
1658
- HourlyPrice?: string | undefined;
1659
- InstanceFamily?: string | undefined;
1660
- OfferingId?: string | undefined;
1661
- PaymentOption?: PaymentOption | undefined;
1662
- UpfrontPrice?: string | undefined;
1663
- }
1664
- export interface DescribeHostReservationOfferingsResult {
1665
- NextToken?: string | undefined;
1666
- OfferingSet?: HostOffering[] | undefined;
1667
- }
1668
- export interface DescribeHostReservationsRequest {
1669
- Filter?: Filter[] | undefined;
1670
- HostReservationIdSet?: string[] | undefined;
1671
- MaxResults?: number | undefined;
1672
- NextToken?: string | undefined;
1673
- }
1674
- export declare const ReservationState: {
1675
- readonly ACTIVE: "active";
1676
- readonly PAYMENT_FAILED: "payment-failed";
1677
- readonly PAYMENT_PENDING: "payment-pending";
1678
- readonly RETIRED: "retired";
1679
- };
1680
- export type ReservationState =
1681
- (typeof ReservationState)[keyof typeof ReservationState];
1682
- export interface HostReservation {
1683
- Count?: number | undefined;
1684
- CurrencyCode?: CurrencyCodeValues | undefined;
1685
- Duration?: number | undefined;
1686
- End?: Date | undefined;
1687
- HostIdSet?: string[] | undefined;
1688
- HostReservationId?: string | undefined;
1689
- HourlyPrice?: string | undefined;
1690
- InstanceFamily?: string | undefined;
1691
- OfferingId?: string | undefined;
1692
- PaymentOption?: PaymentOption | undefined;
1693
- Start?: Date | undefined;
1694
- State?: ReservationState | undefined;
1695
- UpfrontPrice?: string | undefined;
1696
- Tags?: Tag[] | undefined;
1697
- }
1698
- export interface DescribeHostReservationsResult {
1699
- HostReservationSet?: HostReservation[] | undefined;
1700
- NextToken?: string | undefined;
1701
- }
1702
1679
  export declare const DeleteVerifiedAccessTrustProviderResultFilterSensitiveLog: (
1703
1680
  obj: DeleteVerifiedAccessTrustProviderResult
1704
1681
  ) => any;
@@ -12,11 +12,9 @@ import {
12
12
  IamInstanceProfileAssociation,
13
13
  InstanceEventWindow,
14
14
  IpamResourceDiscoveryAssociation,
15
- IpPermission,
16
15
  PathComponent,
17
16
  ReservedInstancesListing,
18
17
  SecurityGroupRule,
19
- SecurityGroupVpcAssociationState,
20
18
  Tag,
21
19
  } from "./models_0";
22
20
  import {
@@ -43,7 +41,6 @@ import {
43
41
  LocalGatewayRouteTableVpcAssociation,
44
42
  ManagedPrefixList,
45
43
  NatGateway,
46
- NetworkAcl,
47
44
  OperatorResponse,
48
45
  Placement,
49
46
  PlatformValues,
@@ -52,6 +49,7 @@ import {
52
49
  } from "./models_1";
53
50
  import {
54
51
  GroupIdentifier,
52
+ NetworkAcl,
55
53
  NetworkInsightsAccessScope,
56
54
  NetworkInsightsPath,
57
55
  NetworkInterface,
@@ -67,9 +65,57 @@ import {
67
65
  Filter,
68
66
  IdFormat,
69
67
  InstanceTagNotificationAttribute,
68
+ PaymentOption,
70
69
  PermissionGroup,
71
70
  ProductCode,
72
71
  } from "./models_3";
72
+ export interface HostOffering {
73
+ CurrencyCode?: CurrencyCodeValues | undefined;
74
+ Duration?: number | undefined;
75
+ HourlyPrice?: string | undefined;
76
+ InstanceFamily?: string | undefined;
77
+ OfferingId?: string | undefined;
78
+ PaymentOption?: PaymentOption | undefined;
79
+ UpfrontPrice?: string | undefined;
80
+ }
81
+ export interface DescribeHostReservationOfferingsResult {
82
+ NextToken?: string | undefined;
83
+ OfferingSet?: HostOffering[] | undefined;
84
+ }
85
+ export interface DescribeHostReservationsRequest {
86
+ Filter?: Filter[] | undefined;
87
+ HostReservationIdSet?: string[] | undefined;
88
+ MaxResults?: number | undefined;
89
+ NextToken?: string | undefined;
90
+ }
91
+ export declare const ReservationState: {
92
+ readonly ACTIVE: "active";
93
+ readonly PAYMENT_FAILED: "payment-failed";
94
+ readonly PAYMENT_PENDING: "payment-pending";
95
+ readonly RETIRED: "retired";
96
+ };
97
+ export type ReservationState =
98
+ (typeof ReservationState)[keyof typeof ReservationState];
99
+ export interface HostReservation {
100
+ Count?: number | undefined;
101
+ CurrencyCode?: CurrencyCodeValues | undefined;
102
+ Duration?: number | undefined;
103
+ End?: Date | undefined;
104
+ HostIdSet?: string[] | undefined;
105
+ HostReservationId?: string | undefined;
106
+ HourlyPrice?: string | undefined;
107
+ InstanceFamily?: string | undefined;
108
+ OfferingId?: string | undefined;
109
+ PaymentOption?: PaymentOption | undefined;
110
+ Start?: Date | undefined;
111
+ State?: ReservationState | undefined;
112
+ UpfrontPrice?: string | undefined;
113
+ Tags?: Tag[] | undefined;
114
+ }
115
+ export interface DescribeHostReservationsResult {
116
+ HostReservationSet?: HostReservation[] | undefined;
117
+ NextToken?: string | undefined;
118
+ }
73
119
  export interface DescribeHostsRequest {
74
120
  HostIds?: string[] | undefined;
75
121
  NextToken?: string | undefined;
@@ -2052,46 +2098,6 @@ export interface DescribeSecurityGroupRulesResult {
2052
2098
  SecurityGroupRules?: SecurityGroupRule[] | undefined;
2053
2099
  NextToken?: string | undefined;
2054
2100
  }
2055
- export interface DescribeSecurityGroupsRequest {
2056
- GroupIds?: string[] | undefined;
2057
- GroupNames?: string[] | undefined;
2058
- NextToken?: string | undefined;
2059
- MaxResults?: number | undefined;
2060
- DryRun?: boolean | undefined;
2061
- Filters?: Filter[] | undefined;
2062
- }
2063
- export interface SecurityGroup {
2064
- GroupId?: string | undefined;
2065
- IpPermissionsEgress?: IpPermission[] | undefined;
2066
- Tags?: Tag[] | undefined;
2067
- VpcId?: string | undefined;
2068
- SecurityGroupArn?: string | undefined;
2069
- OwnerId?: string | undefined;
2070
- GroupName?: string | undefined;
2071
- Description?: string | undefined;
2072
- IpPermissions?: IpPermission[] | undefined;
2073
- }
2074
- export interface DescribeSecurityGroupsResult {
2075
- NextToken?: string | undefined;
2076
- SecurityGroups?: SecurityGroup[] | undefined;
2077
- }
2078
- export interface DescribeSecurityGroupVpcAssociationsRequest {
2079
- Filters?: Filter[] | undefined;
2080
- NextToken?: string | undefined;
2081
- MaxResults?: number | undefined;
2082
- DryRun?: boolean | undefined;
2083
- }
2084
- export interface SecurityGroupVpcAssociation {
2085
- GroupId?: string | undefined;
2086
- VpcId?: string | undefined;
2087
- VpcOwnerId?: string | undefined;
2088
- State?: SecurityGroupVpcAssociationState | undefined;
2089
- StateReason?: string | undefined;
2090
- }
2091
- export interface DescribeSecurityGroupVpcAssociationsResult {
2092
- SecurityGroupVpcAssociations?: SecurityGroupVpcAssociation[] | undefined;
2093
- NextToken?: string | undefined;
2094
- }
2095
2101
  export declare const SnapshotDetailFilterSensitiveLog: (
2096
2102
  obj: SnapshotDetail
2097
2103
  ) => any;
@@ -11,6 +11,7 @@ import {
11
11
  IamInstanceProfileSpecification,
12
12
  InstanceEventWindow,
13
13
  IpamResourceDiscoveryAssociation,
14
+ IpPermission,
14
15
  NatGatewayAddress,
15
16
  ResourceType,
16
17
  SecurityGroupVpcAssociationState,
@@ -37,7 +38,6 @@ import {
37
38
  _InstanceType,
38
39
  BlockDeviceMapping,
39
40
  ConnectionTrackingSpecificationRequest,
40
- DiskImageFormat,
41
41
  EnaSrdSpecificationRequest,
42
42
  FleetLaunchTemplateSpecification,
43
43
  FleetType,
@@ -91,7 +91,6 @@ import {
91
91
  } from "./models_2";
92
92
  import {
93
93
  EventInformation,
94
- ExportTaskS3Location,
95
94
  FastLaunchLaunchTemplateSpecificationResponse,
96
95
  FastLaunchResourceType,
97
96
  FastLaunchSnapshotConfigurationResponse,
@@ -104,6 +103,46 @@ import {
104
103
  StatisticType,
105
104
  } from "./models_3";
106
105
  import { AttributeBooleanValue, RIProductDescription } from "./models_4";
106
+ export interface DescribeSecurityGroupsRequest {
107
+ GroupIds?: string[] | undefined;
108
+ GroupNames?: string[] | undefined;
109
+ NextToken?: string | undefined;
110
+ MaxResults?: number | undefined;
111
+ DryRun?: boolean | undefined;
112
+ Filters?: Filter[] | undefined;
113
+ }
114
+ export interface SecurityGroup {
115
+ GroupId?: string | undefined;
116
+ IpPermissionsEgress?: IpPermission[] | undefined;
117
+ Tags?: Tag[] | undefined;
118
+ VpcId?: string | undefined;
119
+ SecurityGroupArn?: string | undefined;
120
+ OwnerId?: string | undefined;
121
+ GroupName?: string | undefined;
122
+ Description?: string | undefined;
123
+ IpPermissions?: IpPermission[] | undefined;
124
+ }
125
+ export interface DescribeSecurityGroupsResult {
126
+ NextToken?: string | undefined;
127
+ SecurityGroups?: SecurityGroup[] | undefined;
128
+ }
129
+ export interface DescribeSecurityGroupVpcAssociationsRequest {
130
+ Filters?: Filter[] | undefined;
131
+ NextToken?: string | undefined;
132
+ MaxResults?: number | undefined;
133
+ DryRun?: boolean | undefined;
134
+ }
135
+ export interface SecurityGroupVpcAssociation {
136
+ GroupId?: string | undefined;
137
+ VpcId?: string | undefined;
138
+ VpcOwnerId?: string | undefined;
139
+ State?: SecurityGroupVpcAssociationState | undefined;
140
+ StateReason?: string | undefined;
141
+ }
142
+ export interface DescribeSecurityGroupVpcAssociationsResult {
143
+ SecurityGroupVpcAssociations?: SecurityGroupVpcAssociation[] | undefined;
144
+ NextToken?: string | undefined;
145
+ }
107
146
  export declare const SnapshotAttributeName: {
108
147
  readonly createVolumePermission: "createVolumePermission";
109
148
  readonly productCodes: "productCodes";
@@ -1722,44 +1761,6 @@ export interface ExportClientVpnClientConfigurationRequest {
1722
1761
  ClientVpnEndpointId: string | undefined;
1723
1762
  DryRun?: boolean | undefined;
1724
1763
  }
1725
- export interface ExportClientVpnClientConfigurationResult {
1726
- ClientConfiguration?: string | undefined;
1727
- }
1728
- export interface ExportTaskS3LocationRequest {
1729
- S3Bucket: string | undefined;
1730
- S3Prefix?: string | undefined;
1731
- }
1732
- export interface ExportImageRequest {
1733
- ClientToken?: string | undefined;
1734
- Description?: string | undefined;
1735
- DiskImageFormat: DiskImageFormat | undefined;
1736
- DryRun?: boolean | undefined;
1737
- ImageId: string | undefined;
1738
- S3ExportLocation: ExportTaskS3LocationRequest | undefined;
1739
- RoleName?: string | undefined;
1740
- TagSpecifications?: TagSpecification[] | undefined;
1741
- }
1742
- export interface ExportImageResult {
1743
- Description?: string | undefined;
1744
- DiskImageFormat?: DiskImageFormat | undefined;
1745
- ExportImageTaskId?: string | undefined;
1746
- ImageId?: string | undefined;
1747
- RoleName?: string | undefined;
1748
- Progress?: string | undefined;
1749
- S3ExportLocation?: ExportTaskS3Location | undefined;
1750
- Status?: string | undefined;
1751
- StatusMessage?: string | undefined;
1752
- Tags?: Tag[] | undefined;
1753
- }
1754
- export interface ExportTransitGatewayRoutesRequest {
1755
- TransitGatewayRouteTableId: string | undefined;
1756
- Filters?: Filter[] | undefined;
1757
- S3Bucket: string | undefined;
1758
- DryRun?: boolean | undefined;
1759
- }
1760
- export interface ExportTransitGatewayRoutesResult {
1761
- S3Location?: string | undefined;
1762
- }
1763
1764
  export declare const SpotFleetLaunchSpecificationFilterSensitiveLog: (
1764
1765
  obj: SpotFleetLaunchSpecification
1765
1766
  ) => any;