@aws-sdk/client-ec2 3.259.0 → 3.262.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 (127) hide show
  1. package/dist-cjs/EC2.js +60 -0
  2. package/dist-cjs/commands/AssignPrivateNatGatewayAddressCommand.js +46 -0
  3. package/dist-cjs/commands/AssociateNatGatewayAddressCommand.js +46 -0
  4. package/dist-cjs/commands/CreateClientVpnEndpointCommand.js +3 -3
  5. package/dist-cjs/commands/CreateClientVpnRouteCommand.js +1 -2
  6. package/dist-cjs/commands/DeleteTrafficMirrorTargetCommand.js +3 -3
  7. package/dist-cjs/commands/DeleteTransitGatewayCommand.js +3 -3
  8. package/dist-cjs/commands/DeleteTransitGatewayConnectCommand.js +1 -2
  9. package/dist-cjs/commands/DescribeInstanceStatusCommand.js +1 -2
  10. package/dist-cjs/commands/DescribeInstancesCommand.js +2 -1
  11. package/dist-cjs/commands/DescribeVolumeStatusCommand.js +2 -1
  12. package/dist-cjs/commands/DisassociateNatGatewayAddressCommand.js +46 -0
  13. package/dist-cjs/commands/ModifyAvailabilityZoneGroupCommand.js +3 -3
  14. package/dist-cjs/commands/ModifyCapacityReservationCommand.js +3 -3
  15. package/dist-cjs/commands/ModifyCapacityReservationFleetCommand.js +3 -3
  16. package/dist-cjs/commands/RunInstancesCommand.js +2 -2
  17. package/dist-cjs/commands/UnassignIpv6AddressesCommand.js +2 -1
  18. package/dist-cjs/commands/UnassignPrivateIpAddressesCommand.js +2 -2
  19. package/dist-cjs/commands/UnassignPrivateNatGatewayAddressCommand.js +46 -0
  20. package/dist-cjs/commands/UnmonitorInstancesCommand.js +3 -3
  21. package/dist-cjs/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.js +3 -3
  22. package/dist-cjs/commands/index.js +4 -0
  23. package/dist-cjs/models/models_0.js +37 -34
  24. package/dist-cjs/models/models_1.js +34 -33
  25. package/dist-cjs/models/models_2.js +29 -26
  26. package/dist-cjs/models/models_3.js +26 -30
  27. package/dist-cjs/models/models_4.js +30 -30
  28. package/dist-cjs/models/models_5.js +38 -34
  29. package/dist-cjs/models/models_6.js +34 -34
  30. package/dist-cjs/models/models_7.js +37 -1
  31. package/dist-cjs/protocols/Aws_ec2.js +565 -162
  32. package/dist-es/EC2.js +60 -0
  33. package/dist-es/commands/AssignPrivateNatGatewayAddressCommand.js +42 -0
  34. package/dist-es/commands/AssociateNatGatewayAddressCommand.js +42 -0
  35. package/dist-es/commands/CreateClientVpnEndpointCommand.js +1 -1
  36. package/dist-es/commands/CreateClientVpnRouteCommand.js +1 -2
  37. package/dist-es/commands/DeleteTrafficMirrorTargetCommand.js +1 -1
  38. package/dist-es/commands/DeleteTransitGatewayCommand.js +1 -1
  39. package/dist-es/commands/DeleteTransitGatewayConnectCommand.js +1 -2
  40. package/dist-es/commands/DescribeInstanceStatusCommand.js +1 -2
  41. package/dist-es/commands/DescribeInstancesCommand.js +2 -1
  42. package/dist-es/commands/DescribeVolumeStatusCommand.js +2 -1
  43. package/dist-es/commands/DisassociateNatGatewayAddressCommand.js +42 -0
  44. package/dist-es/commands/ModifyAvailabilityZoneGroupCommand.js +1 -1
  45. package/dist-es/commands/ModifyCapacityReservationCommand.js +1 -1
  46. package/dist-es/commands/ModifyCapacityReservationFleetCommand.js +1 -1
  47. package/dist-es/commands/RunInstancesCommand.js +1 -1
  48. package/dist-es/commands/UnassignIpv6AddressesCommand.js +2 -1
  49. package/dist-es/commands/UnassignPrivateIpAddressesCommand.js +1 -1
  50. package/dist-es/commands/UnassignPrivateNatGatewayAddressCommand.js +42 -0
  51. package/dist-es/commands/UnmonitorInstancesCommand.js +1 -1
  52. package/dist-es/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.js +1 -1
  53. package/dist-es/commands/index.js +4 -0
  54. package/dist-es/models/models_0.js +26 -24
  55. package/dist-es/models/models_1.js +24 -23
  56. package/dist-es/models/models_2.js +20 -15
  57. package/dist-es/models/models_3.js +15 -20
  58. package/dist-es/models/models_4.js +20 -21
  59. package/dist-es/models/models_5.js +27 -21
  60. package/dist-es/models/models_6.js +21 -21
  61. package/dist-es/models/models_7.js +27 -0
  62. package/dist-es/protocols/Aws_ec2.js +534 -139
  63. package/dist-types/EC2.d.ts +43 -0
  64. package/dist-types/EC2Client.d.ts +6 -2
  65. package/dist-types/commands/AssignPrivateNatGatewayAddressCommand.d.ts +37 -0
  66. package/dist-types/commands/AssociateNatGatewayAddressCommand.d.ts +38 -0
  67. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  68. package/dist-types/commands/CreateClientVpnRouteCommand.d.ts +1 -2
  69. package/dist-types/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -1
  70. package/dist-types/commands/DeleteTransitGatewayCommand.d.ts +1 -1
  71. package/dist-types/commands/DeleteTransitGatewayConnectCommand.d.ts +1 -2
  72. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +1 -2
  73. package/dist-types/commands/DescribeInstancesCommand.d.ts +2 -1
  74. package/dist-types/commands/DescribeVolumeStatusCommand.d.ts +2 -1
  75. package/dist-types/commands/DisassociateNatGatewayAddressCommand.d.ts +43 -0
  76. package/dist-types/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
  77. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +1 -1
  78. package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
  79. package/dist-types/commands/RunInstancesCommand.d.ts +1 -1
  80. package/dist-types/commands/UnassignIpv6AddressesCommand.d.ts +2 -1
  81. package/dist-types/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  82. package/dist-types/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +45 -0
  83. package/dist-types/commands/UnmonitorInstancesCommand.d.ts +1 -1
  84. package/dist-types/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  85. package/dist-types/commands/index.d.ts +4 -0
  86. package/dist-types/models/models_0.d.ts +125 -226
  87. package/dist-types/models/models_1.d.ts +242 -164
  88. package/dist-types/models/models_2.d.ts +159 -72
  89. package/dist-types/models/models_3.d.ts +67 -205
  90. package/dist-types/models/models_4.d.ts +205 -78
  91. package/dist-types/models/models_5.d.ts +117 -170
  92. package/dist-types/models/models_6.d.ts +182 -128
  93. package/dist-types/models/models_7.d.ts +167 -2
  94. package/dist-types/protocols/Aws_ec2.d.ts +12 -0
  95. package/dist-types/ts3.4/EC2.d.ts +68 -0
  96. package/dist-types/ts3.4/EC2Client.d.ts +24 -0
  97. package/dist-types/ts3.4/commands/AssignPrivateNatGatewayAddressCommand.d.ts +41 -0
  98. package/dist-types/ts3.4/commands/AssociateNatGatewayAddressCommand.d.ts +41 -0
  99. package/dist-types/ts3.4/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/CreateClientVpnRouteCommand.d.ts +4 -2
  101. package/dist-types/ts3.4/commands/DeleteTrafficMirrorTargetCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/DeleteTransitGatewayCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/DeleteTransitGatewayConnectCommand.d.ts +4 -2
  104. package/dist-types/ts3.4/commands/DescribeInstanceStatusCommand.d.ts +4 -2
  105. package/dist-types/ts3.4/commands/DescribeInstancesCommand.d.ts +2 -4
  106. package/dist-types/ts3.4/commands/DescribeVolumeStatusCommand.d.ts +2 -4
  107. package/dist-types/ts3.4/commands/DisassociateNatGatewayAddressCommand.d.ts +41 -0
  108. package/dist-types/ts3.4/commands/ModifyAvailabilityZoneGroupCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/ModifyCapacityReservationCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/ModifyCapacityReservationFleetCommand.d.ts +1 -1
  111. package/dist-types/ts3.4/commands/RunInstancesCommand.d.ts +1 -1
  112. package/dist-types/ts3.4/commands/UnassignIpv6AddressesCommand.d.ts +2 -4
  113. package/dist-types/ts3.4/commands/UnassignPrivateIpAddressesCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/UnassignPrivateNatGatewayAddressCommand.d.ts +41 -0
  115. package/dist-types/ts3.4/commands/UnmonitorInstancesCommand.d.ts +1 -1
  116. package/dist-types/ts3.4/commands/UpdateSecurityGroupRuleDescriptionsEgressCommand.d.ts +1 -1
  117. package/dist-types/ts3.4/commands/index.d.ts +4 -0
  118. package/dist-types/ts3.4/models/models_0.d.ts +53 -59
  119. package/dist-types/ts3.4/models/models_1.d.ts +71 -54
  120. package/dist-types/ts3.4/models/models_2.d.ts +49 -37
  121. package/dist-types/ts3.4/models/models_3.d.ts +36 -46
  122. package/dist-types/ts3.4/models/models_4.d.ts +46 -38
  123. package/dist-types/ts3.4/models/models_5.d.ts +61 -57
  124. package/dist-types/ts3.4/models/models_6.d.ts +60 -55
  125. package/dist-types/ts3.4/models/models_7.d.ts +70 -2
  126. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +48 -0
  127. package/package.json +6 -6
@@ -59,7 +59,6 @@ import {
59
59
  PlacementGroup,
60
60
  PrivateIpAddressSpecification,
61
61
  ReplaceRootVolumeTask,
62
- RouteTable,
63
62
  SpotInstanceType,
64
63
  Subnet,
65
64
  TargetCapacityUnitType,
@@ -67,6 +66,7 @@ import {
67
66
  VolumeType,
68
67
  } from "./models_1";
69
68
  import {
69
+ RouteTable,
70
70
  Snapshot,
71
71
  SnapshotState,
72
72
  SpotDatafeedSubscription,
@@ -91,12 +91,46 @@ import {
91
91
  EventInformation,
92
92
  Filter,
93
93
  IdFormat,
94
+ Instance,
94
95
  InstanceState,
95
- InstanceStatusEvent,
96
96
  PermissionGroup,
97
97
  ProductCode,
98
98
  VirtualizationType,
99
99
  } from "./models_3";
100
+ export interface Reservation {
101
+ Groups?: GroupIdentifier[];
102
+ Instances?: Instance[];
103
+ OwnerId?: string;
104
+ RequesterId?: string;
105
+ ReservationId?: string;
106
+ }
107
+ export interface DescribeInstancesResult {
108
+ Reservations?: Reservation[];
109
+ NextToken?: string;
110
+ }
111
+ export interface DescribeInstanceStatusRequest {
112
+ Filters?: Filter[];
113
+ InstanceIds?: string[];
114
+ MaxResults?: number;
115
+ NextToken?: string;
116
+ DryRun?: boolean;
117
+ IncludeAllInstances?: boolean;
118
+ }
119
+ export declare enum EventCode {
120
+ instance_reboot = "instance-reboot",
121
+ instance_retirement = "instance-retirement",
122
+ instance_stop = "instance-stop",
123
+ system_maintenance = "system-maintenance",
124
+ system_reboot = "system-reboot",
125
+ }
126
+ export interface InstanceStatusEvent {
127
+ InstanceEventId?: string;
128
+ Code?: EventCode | string;
129
+ Description?: string;
130
+ NotAfter?: Date;
131
+ NotBefore?: Date;
132
+ NotBeforeDeadline?: Date;
133
+ }
100
134
  export declare enum StatusName {
101
135
  reachability = "reachability",
102
136
  }
@@ -1904,33 +1938,16 @@ export interface VolumeStatusDetails {
1904
1938
  Name?: VolumeStatusName | string;
1905
1939
  Status?: string;
1906
1940
  }
1907
- export declare enum VolumeStatusInfoStatus {
1908
- impaired = "impaired",
1909
- insufficient_data = "insufficient-data",
1910
- ok = "ok",
1911
- }
1912
- export interface VolumeStatusInfo {
1913
- Details?: VolumeStatusDetails[];
1914
- Status?: VolumeStatusInfoStatus | string;
1915
- }
1916
- export interface VolumeStatusItem {
1917
- Actions?: VolumeStatusAction[];
1918
- AvailabilityZone?: string;
1919
- OutpostArn?: string;
1920
- Events?: VolumeStatusEvent[];
1921
- VolumeId?: string;
1922
- VolumeStatus?: VolumeStatusInfo;
1923
- AttachmentStatuses?: VolumeStatusAttachmentStatus[];
1924
- }
1925
- export interface DescribeVolumeStatusResult {
1926
- NextToken?: string;
1927
- VolumeStatuses?: VolumeStatusItem[];
1928
- }
1929
- export declare enum VpcAttributeName {
1930
- enableDnsHostnames = "enableDnsHostnames",
1931
- enableDnsSupport = "enableDnsSupport",
1932
- enableNetworkAddressUsageMetrics = "enableNetworkAddressUsageMetrics",
1933
- }
1941
+ export declare const ReservationFilterSensitiveLog: (obj: Reservation) => any;
1942
+ export declare const DescribeInstancesResultFilterSensitiveLog: (
1943
+ obj: DescribeInstancesResult
1944
+ ) => any;
1945
+ export declare const DescribeInstanceStatusRequestFilterSensitiveLog: (
1946
+ obj: DescribeInstanceStatusRequest
1947
+ ) => any;
1948
+ export declare const InstanceStatusEventFilterSensitiveLog: (
1949
+ obj: InstanceStatusEvent
1950
+ ) => any;
1934
1951
  export declare const InstanceStatusDetailsFilterSensitiveLog: (
1935
1952
  obj: InstanceStatusDetails
1936
1953
  ) => any;
@@ -2672,12 +2689,3 @@ export declare const VolumeStatusEventFilterSensitiveLog: (
2672
2689
  export declare const VolumeStatusDetailsFilterSensitiveLog: (
2673
2690
  obj: VolumeStatusDetails
2674
2691
  ) => any;
2675
- export declare const VolumeStatusInfoFilterSensitiveLog: (
2676
- obj: VolumeStatusInfo
2677
- ) => any;
2678
- export declare const VolumeStatusItemFilterSensitiveLog: (
2679
- obj: VolumeStatusItem
2680
- ) => any;
2681
- export declare const DescribeVolumeStatusResultFilterSensitiveLog: (
2682
- obj: DescribeVolumeStatusResult
2683
- ) => any;
@@ -7,11 +7,11 @@ import {
7
7
  AssociationStatus,
8
8
  CapacityReservationState,
9
9
  CurrencyCodeValues,
10
- EndDateType,
11
10
  IamInstanceProfileAssociation,
12
11
  InstanceEventWindow,
13
12
  IpamPoolAllocation,
14
13
  IpamResourceDiscoveryAssociation,
14
+ NatGatewayAddress,
15
15
  SubnetAssociation,
16
16
  SubnetIpv6CidrBlockAssociation,
17
17
  Tag,
@@ -79,7 +79,41 @@ import {
79
79
  StatisticType,
80
80
  VirtualizationType,
81
81
  } from "./models_3";
82
- import { AnalysisStatus, ArchitectureType, VpcAttributeName } from "./models_4";
82
+ import {
83
+ AnalysisStatus,
84
+ ArchitectureType,
85
+ VolumeStatusAction,
86
+ VolumeStatusAttachmentStatus,
87
+ VolumeStatusDetails,
88
+ VolumeStatusEvent,
89
+ } from "./models_4";
90
+ export declare enum VolumeStatusInfoStatus {
91
+ impaired = "impaired",
92
+ insufficient_data = "insufficient-data",
93
+ ok = "ok",
94
+ }
95
+ export interface VolumeStatusInfo {
96
+ Details?: VolumeStatusDetails[];
97
+ Status?: VolumeStatusInfoStatus | string;
98
+ }
99
+ export interface VolumeStatusItem {
100
+ Actions?: VolumeStatusAction[];
101
+ AvailabilityZone?: string;
102
+ OutpostArn?: string;
103
+ Events?: VolumeStatusEvent[];
104
+ VolumeId?: string;
105
+ VolumeStatus?: VolumeStatusInfo;
106
+ AttachmentStatuses?: VolumeStatusAttachmentStatus[];
107
+ }
108
+ export interface DescribeVolumeStatusResult {
109
+ NextToken?: string;
110
+ VolumeStatuses?: VolumeStatusItem[];
111
+ }
112
+ export declare enum VpcAttributeName {
113
+ enableDnsHostnames = "enableDnsHostnames",
114
+ enableDnsSupport = "enableDnsSupport",
115
+ enableNetworkAddressUsageMetrics = "enableNetworkAddressUsageMetrics",
116
+ }
83
117
  export interface DescribeVpcAttributeRequest {
84
118
  Attribute: VpcAttributeName | string | undefined;
85
119
  VpcId: string | undefined;
@@ -476,6 +510,16 @@ export interface DisassociateIpamResourceDiscoveryRequest {
476
510
  export interface DisassociateIpamResourceDiscoveryResult {
477
511
  IpamResourceDiscoveryAssociation?: IpamResourceDiscoveryAssociation;
478
512
  }
513
+ export interface DisassociateNatGatewayAddressRequest {
514
+ NatGatewayId: string | undefined;
515
+ AssociationIds: string[] | undefined;
516
+ MaxDrainDurationSeconds?: number;
517
+ DryRun?: boolean;
518
+ }
519
+ export interface DisassociateNatGatewayAddressResult {
520
+ NatGatewayId?: string;
521
+ NatGatewayAddresses?: NatGatewayAddress[];
522
+ }
479
523
  export interface DisassociateRouteTableRequest {
480
524
  AssociationId: string | undefined;
481
525
  DryRun?: boolean;
@@ -1615,40 +1659,15 @@ export declare enum ModifyAvailabilityZoneOptInStatus {
1615
1659
  not_opted_in = "not-opted-in",
1616
1660
  opted_in = "opted-in",
1617
1661
  }
1618
- export interface ModifyAvailabilityZoneGroupRequest {
1619
- GroupName: string | undefined;
1620
- OptInStatus: ModifyAvailabilityZoneOptInStatus | string | undefined;
1621
- DryRun?: boolean;
1622
- }
1623
- export interface ModifyAvailabilityZoneGroupResult {
1624
- Return?: boolean;
1625
- }
1626
- export interface ModifyCapacityReservationRequest {
1627
- CapacityReservationId: string | undefined;
1628
- InstanceCount?: number;
1629
- EndDate?: Date;
1630
- EndDateType?: EndDateType | string;
1631
- Accept?: boolean;
1632
- DryRun?: boolean;
1633
- AdditionalInfo?: string;
1634
- }
1635
- export interface ModifyCapacityReservationResult {
1636
- Return?: boolean;
1637
- }
1638
- export interface ModifyCapacityReservationFleetRequest {
1639
- CapacityReservationFleetId: string | undefined;
1640
- TotalTargetCapacity?: number;
1641
- EndDate?: Date;
1642
- DryRun?: boolean;
1643
- RemoveEndDate?: boolean;
1644
- }
1645
- export interface ModifyCapacityReservationFleetResult {
1646
- Return?: boolean;
1647
- }
1648
- export interface DnsServersOptionsModifyStructure {
1649
- CustomDnsServers?: string[];
1650
- Enabled?: boolean;
1651
- }
1662
+ export declare const VolumeStatusInfoFilterSensitiveLog: (
1663
+ obj: VolumeStatusInfo
1664
+ ) => any;
1665
+ export declare const VolumeStatusItemFilterSensitiveLog: (
1666
+ obj: VolumeStatusItem
1667
+ ) => any;
1668
+ export declare const DescribeVolumeStatusResultFilterSensitiveLog: (
1669
+ obj: DescribeVolumeStatusResult
1670
+ ) => any;
1652
1671
  export declare const DescribeVpcAttributeRequestFilterSensitiveLog: (
1653
1672
  obj: DescribeVpcAttributeRequest
1654
1673
  ) => any;
@@ -1886,6 +1905,12 @@ export declare const DisassociateIpamResourceDiscoveryRequestFilterSensitiveLog:
1886
1905
  export declare const DisassociateIpamResourceDiscoveryResultFilterSensitiveLog: (
1887
1906
  obj: DisassociateIpamResourceDiscoveryResult
1888
1907
  ) => any;
1908
+ export declare const DisassociateNatGatewayAddressRequestFilterSensitiveLog: (
1909
+ obj: DisassociateNatGatewayAddressRequest
1910
+ ) => any;
1911
+ export declare const DisassociateNatGatewayAddressResultFilterSensitiveLog: (
1912
+ obj: DisassociateNatGatewayAddressResult
1913
+ ) => any;
1889
1914
  export declare const DisassociateRouteTableRequestFilterSensitiveLog: (
1890
1915
  obj: DisassociateRouteTableRequest
1891
1916
  ) => any;
@@ -2477,24 +2502,3 @@ export declare const ModifyAddressAttributeRequestFilterSensitiveLog: (
2477
2502
  export declare const ModifyAddressAttributeResultFilterSensitiveLog: (
2478
2503
  obj: ModifyAddressAttributeResult
2479
2504
  ) => any;
2480
- export declare const ModifyAvailabilityZoneGroupRequestFilterSensitiveLog: (
2481
- obj: ModifyAvailabilityZoneGroupRequest
2482
- ) => any;
2483
- export declare const ModifyAvailabilityZoneGroupResultFilterSensitiveLog: (
2484
- obj: ModifyAvailabilityZoneGroupResult
2485
- ) => any;
2486
- export declare const ModifyCapacityReservationRequestFilterSensitiveLog: (
2487
- obj: ModifyCapacityReservationRequest
2488
- ) => any;
2489
- export declare const ModifyCapacityReservationResultFilterSensitiveLog: (
2490
- obj: ModifyCapacityReservationResult
2491
- ) => any;
2492
- export declare const ModifyCapacityReservationFleetRequestFilterSensitiveLog: (
2493
- obj: ModifyCapacityReservationFleetRequest
2494
- ) => any;
2495
- export declare const ModifyCapacityReservationFleetResultFilterSensitiveLog: (
2496
- obj: ModifyCapacityReservationFleetResult
2497
- ) => any;
2498
- export declare const DnsServersOptionsModifyStructureFilterSensitiveLog: (
2499
- obj: DnsServersOptionsModifyStructure
2500
- ) => any;
@@ -16,6 +16,7 @@ import {
16
16
  CurrencyCodeValues,
17
17
  DnsSupportValue,
18
18
  EnaSrdSpecification,
19
+ EndDateType,
19
20
  HostRecovery,
20
21
  IamInstanceProfileAssociation,
21
22
  IamInstanceProfileSpecification,
@@ -113,7 +114,6 @@ import {
113
114
  InstanceMetadataProtocolState,
114
115
  InstanceMetadataTagsState,
115
116
  InstanceState,
116
- InstanceStatusEvent,
117
117
  InstanceTagNotificationAttribute,
118
118
  IpamPoolCidr,
119
119
  LaunchPermission,
@@ -125,6 +125,7 @@ import {
125
125
  CreateVolumePermission,
126
126
  ExcessCapacityTerminationPolicy,
127
127
  InstanceNetworkInterfaceSpecification,
128
+ InstanceStatusEvent,
128
129
  LaunchTemplateConfig,
129
130
  NetworkInsightsAccessScopeAnalysis,
130
131
  NetworkInsightsAnalysis,
@@ -140,12 +141,46 @@ import {
140
141
  VolumeModification,
141
142
  } from "./models_4";
142
143
  import {
143
- DnsServersOptionsModifyStructure,
144
144
  InstanceFamilyCreditSpecification,
145
145
  IpamResourceCidr,
146
+ ModifyAvailabilityZoneOptInStatus,
146
147
  Purchase,
147
148
  UnlimitedSupportedInstanceFamily,
148
149
  } from "./models_5";
150
+ export interface ModifyAvailabilityZoneGroupRequest {
151
+ GroupName: string | undefined;
152
+ OptInStatus: ModifyAvailabilityZoneOptInStatus | string | undefined;
153
+ DryRun?: boolean;
154
+ }
155
+ export interface ModifyAvailabilityZoneGroupResult {
156
+ Return?: boolean;
157
+ }
158
+ export interface ModifyCapacityReservationRequest {
159
+ CapacityReservationId: string | undefined;
160
+ InstanceCount?: number;
161
+ EndDate?: Date;
162
+ EndDateType?: EndDateType | string;
163
+ Accept?: boolean;
164
+ DryRun?: boolean;
165
+ AdditionalInfo?: string;
166
+ }
167
+ export interface ModifyCapacityReservationResult {
168
+ Return?: boolean;
169
+ }
170
+ export interface ModifyCapacityReservationFleetRequest {
171
+ CapacityReservationFleetId: string | undefined;
172
+ TotalTargetCapacity?: number;
173
+ EndDate?: Date;
174
+ DryRun?: boolean;
175
+ RemoveEndDate?: boolean;
176
+ }
177
+ export interface ModifyCapacityReservationFleetResult {
178
+ Return?: boolean;
179
+ }
180
+ export interface DnsServersOptionsModifyStructure {
181
+ CustomDnsServers?: string[];
182
+ Enabled?: boolean;
183
+ }
149
184
  export interface ModifyClientVpnEndpointRequest {
150
185
  ClientVpnEndpointId: string | undefined;
151
186
  ServerCertificateArn?: string;
@@ -463,11 +498,12 @@ export interface ModifyLaunchTemplateResult {
463
498
  LaunchTemplate?: LaunchTemplate;
464
499
  }
465
500
  export interface ModifyLocalGatewayRouteRequest {
466
- DestinationCidrBlock: string | undefined;
501
+ DestinationCidrBlock?: string;
467
502
  LocalGatewayRouteTableId: string | undefined;
468
503
  LocalGatewayVirtualInterfaceGroupId?: string;
469
504
  NetworkInterfaceId?: string;
470
505
  DryRun?: boolean;
506
+ DestinationPrefixListId?: string;
471
507
  }
472
508
  export interface ModifyLocalGatewayRouteResult {
473
509
  Route?: LocalGatewayRoute;
@@ -1770,37 +1806,27 @@ export interface UnassignIpv6AddressesRequest {
1770
1806
  Ipv6Prefixes?: string[];
1771
1807
  NetworkInterfaceId: string | undefined;
1772
1808
  }
1773
- export interface UnassignIpv6AddressesResult {
1774
- NetworkInterfaceId?: string;
1775
- UnassignedIpv6Addresses?: string[];
1776
- UnassignedIpv6Prefixes?: string[];
1777
- }
1778
- export interface UnassignPrivateIpAddressesRequest {
1779
- NetworkInterfaceId: string | undefined;
1780
- PrivateIpAddresses?: string[];
1781
- Ipv4Prefixes?: string[];
1782
- }
1783
- export interface UnmonitorInstancesRequest {
1784
- InstanceIds: string[] | undefined;
1785
- DryRun?: boolean;
1786
- }
1787
- export interface UnmonitorInstancesResult {
1788
- InstanceMonitorings?: InstanceMonitoring[];
1789
- }
1790
- export interface SecurityGroupRuleDescription {
1791
- SecurityGroupRuleId?: string;
1792
- Description?: string;
1793
- }
1794
- export interface UpdateSecurityGroupRuleDescriptionsEgressRequest {
1795
- DryRun?: boolean;
1796
- GroupId?: string;
1797
- GroupName?: string;
1798
- IpPermissions?: IpPermission[];
1799
- SecurityGroupRuleDescriptions?: SecurityGroupRuleDescription[];
1800
- }
1801
- export interface UpdateSecurityGroupRuleDescriptionsEgressResult {
1802
- Return?: boolean;
1803
- }
1809
+ export declare const ModifyAvailabilityZoneGroupRequestFilterSensitiveLog: (
1810
+ obj: ModifyAvailabilityZoneGroupRequest
1811
+ ) => any;
1812
+ export declare const ModifyAvailabilityZoneGroupResultFilterSensitiveLog: (
1813
+ obj: ModifyAvailabilityZoneGroupResult
1814
+ ) => any;
1815
+ export declare const ModifyCapacityReservationRequestFilterSensitiveLog: (
1816
+ obj: ModifyCapacityReservationRequest
1817
+ ) => any;
1818
+ export declare const ModifyCapacityReservationResultFilterSensitiveLog: (
1819
+ obj: ModifyCapacityReservationResult
1820
+ ) => any;
1821
+ export declare const ModifyCapacityReservationFleetRequestFilterSensitiveLog: (
1822
+ obj: ModifyCapacityReservationFleetRequest
1823
+ ) => any;
1824
+ export declare const ModifyCapacityReservationFleetResultFilterSensitiveLog: (
1825
+ obj: ModifyCapacityReservationFleetResult
1826
+ ) => any;
1827
+ export declare const DnsServersOptionsModifyStructureFilterSensitiveLog: (
1828
+ obj: DnsServersOptionsModifyStructure
1829
+ ) => any;
1804
1830
  export declare const ModifyClientVpnEndpointRequestFilterSensitiveLog: (
1805
1831
  obj: ModifyClientVpnEndpointRequest
1806
1832
  ) => any;
@@ -2641,24 +2667,3 @@ export declare const TerminateInstancesResultFilterSensitiveLog: (
2641
2667
  export declare const UnassignIpv6AddressesRequestFilterSensitiveLog: (
2642
2668
  obj: UnassignIpv6AddressesRequest
2643
2669
  ) => any;
2644
- export declare const UnassignIpv6AddressesResultFilterSensitiveLog: (
2645
- obj: UnassignIpv6AddressesResult
2646
- ) => any;
2647
- export declare const UnassignPrivateIpAddressesRequestFilterSensitiveLog: (
2648
- obj: UnassignPrivateIpAddressesRequest
2649
- ) => any;
2650
- export declare const UnmonitorInstancesRequestFilterSensitiveLog: (
2651
- obj: UnmonitorInstancesRequest
2652
- ) => any;
2653
- export declare const UnmonitorInstancesResultFilterSensitiveLog: (
2654
- obj: UnmonitorInstancesResult
2655
- ) => any;
2656
- export declare const SecurityGroupRuleDescriptionFilterSensitiveLog: (
2657
- obj: SecurityGroupRuleDescription
2658
- ) => any;
2659
- export declare const UpdateSecurityGroupRuleDescriptionsEgressRequestFilterSensitiveLog: (
2660
- obj: UpdateSecurityGroupRuleDescriptionsEgressRequest
2661
- ) => any;
2662
- export declare const UpdateSecurityGroupRuleDescriptionsEgressResultFilterSensitiveLog: (
2663
- obj: UpdateSecurityGroupRuleDescriptionsEgressResult
2664
- ) => any;
@@ -1,5 +1,46 @@
1
- import { ByoipCidr, IpPermission } from "./models_0";
2
- import { SecurityGroupRuleDescription } from "./models_6";
1
+ import { ByoipCidr, IpPermission, NatGatewayAddress } from "./models_0";
2
+ import { InstanceMonitoring } from "./models_6";
3
+ export interface UnassignIpv6AddressesResult {
4
+ NetworkInterfaceId?: string;
5
+ UnassignedIpv6Addresses?: string[];
6
+ UnassignedIpv6Prefixes?: string[];
7
+ }
8
+ export interface UnassignPrivateIpAddressesRequest {
9
+ NetworkInterfaceId: string | undefined;
10
+ PrivateIpAddresses?: string[];
11
+ Ipv4Prefixes?: string[];
12
+ }
13
+ export interface UnassignPrivateNatGatewayAddressRequest {
14
+ NatGatewayId: string | undefined;
15
+ PrivateIpAddresses: string[] | undefined;
16
+ MaxDrainDurationSeconds?: number;
17
+ DryRun?: boolean;
18
+ }
19
+ export interface UnassignPrivateNatGatewayAddressResult {
20
+ NatGatewayId?: string;
21
+ NatGatewayAddresses?: NatGatewayAddress[];
22
+ }
23
+ export interface UnmonitorInstancesRequest {
24
+ InstanceIds: string[] | undefined;
25
+ DryRun?: boolean;
26
+ }
27
+ export interface UnmonitorInstancesResult {
28
+ InstanceMonitorings?: InstanceMonitoring[];
29
+ }
30
+ export interface SecurityGroupRuleDescription {
31
+ SecurityGroupRuleId?: string;
32
+ Description?: string;
33
+ }
34
+ export interface UpdateSecurityGroupRuleDescriptionsEgressRequest {
35
+ DryRun?: boolean;
36
+ GroupId?: string;
37
+ GroupName?: string;
38
+ IpPermissions?: IpPermission[];
39
+ SecurityGroupRuleDescriptions?: SecurityGroupRuleDescription[];
40
+ }
41
+ export interface UpdateSecurityGroupRuleDescriptionsEgressResult {
42
+ Return?: boolean;
43
+ }
3
44
  export interface UpdateSecurityGroupRuleDescriptionsIngressRequest {
4
45
  DryRun?: boolean;
5
46
  GroupId?: string;
@@ -17,6 +58,33 @@ export interface WithdrawByoipCidrRequest {
17
58
  export interface WithdrawByoipCidrResult {
18
59
  ByoipCidr?: ByoipCidr;
19
60
  }
61
+ export declare const UnassignIpv6AddressesResultFilterSensitiveLog: (
62
+ obj: UnassignIpv6AddressesResult
63
+ ) => any;
64
+ export declare const UnassignPrivateIpAddressesRequestFilterSensitiveLog: (
65
+ obj: UnassignPrivateIpAddressesRequest
66
+ ) => any;
67
+ export declare const UnassignPrivateNatGatewayAddressRequestFilterSensitiveLog: (
68
+ obj: UnassignPrivateNatGatewayAddressRequest
69
+ ) => any;
70
+ export declare const UnassignPrivateNatGatewayAddressResultFilterSensitiveLog: (
71
+ obj: UnassignPrivateNatGatewayAddressResult
72
+ ) => any;
73
+ export declare const UnmonitorInstancesRequestFilterSensitiveLog: (
74
+ obj: UnmonitorInstancesRequest
75
+ ) => any;
76
+ export declare const UnmonitorInstancesResultFilterSensitiveLog: (
77
+ obj: UnmonitorInstancesResult
78
+ ) => any;
79
+ export declare const SecurityGroupRuleDescriptionFilterSensitiveLog: (
80
+ obj: SecurityGroupRuleDescription
81
+ ) => any;
82
+ export declare const UpdateSecurityGroupRuleDescriptionsEgressRequestFilterSensitiveLog: (
83
+ obj: UpdateSecurityGroupRuleDescriptionsEgressRequest
84
+ ) => any;
85
+ export declare const UpdateSecurityGroupRuleDescriptionsEgressResultFilterSensitiveLog: (
86
+ obj: UpdateSecurityGroupRuleDescriptionsEgressResult
87
+ ) => any;
20
88
  export declare const UpdateSecurityGroupRuleDescriptionsIngressRequestFilterSensitiveLog: (
21
89
  obj: UpdateSecurityGroupRuleDescriptionsIngressRequest
22
90
  ) => any;
@@ -59,6 +59,10 @@ import {
59
59
  AssignPrivateIpAddressesCommandInput,
60
60
  AssignPrivateIpAddressesCommandOutput,
61
61
  } from "../commands/AssignPrivateIpAddressesCommand";
62
+ import {
63
+ AssignPrivateNatGatewayAddressCommandInput,
64
+ AssignPrivateNatGatewayAddressCommandOutput,
65
+ } from "../commands/AssignPrivateNatGatewayAddressCommand";
62
66
  import {
63
67
  AssociateAddressCommandInput,
64
68
  AssociateAddressCommandOutput,
@@ -87,6 +91,10 @@ import {
87
91
  AssociateIpamResourceDiscoveryCommandInput,
88
92
  AssociateIpamResourceDiscoveryCommandOutput,
89
93
  } from "../commands/AssociateIpamResourceDiscoveryCommand";
94
+ import {
95
+ AssociateNatGatewayAddressCommandInput,
96
+ AssociateNatGatewayAddressCommandOutput,
97
+ } from "../commands/AssociateNatGatewayAddressCommand";
90
98
  import {
91
99
  AssociateRouteTableCommandInput,
92
100
  AssociateRouteTableCommandOutput,
@@ -1527,6 +1535,10 @@ import {
1527
1535
  DisassociateIpamResourceDiscoveryCommandInput,
1528
1536
  DisassociateIpamResourceDiscoveryCommandOutput,
1529
1537
  } from "../commands/DisassociateIpamResourceDiscoveryCommand";
1538
+ import {
1539
+ DisassociateNatGatewayAddressCommandInput,
1540
+ DisassociateNatGatewayAddressCommandOutput,
1541
+ } from "../commands/DisassociateNatGatewayAddressCommand";
1530
1542
  import {
1531
1543
  DisassociateRouteTableCommandInput,
1532
1544
  DisassociateRouteTableCommandOutput,
@@ -2327,6 +2339,10 @@ import {
2327
2339
  UnassignPrivateIpAddressesCommandInput,
2328
2340
  UnassignPrivateIpAddressesCommandOutput,
2329
2341
  } from "../commands/UnassignPrivateIpAddressesCommand";
2342
+ import {
2343
+ UnassignPrivateNatGatewayAddressCommandInput,
2344
+ UnassignPrivateNatGatewayAddressCommandOutput,
2345
+ } from "../commands/UnassignPrivateNatGatewayAddressCommand";
2330
2346
  import {
2331
2347
  UnmonitorInstancesCommandInput,
2332
2348
  UnmonitorInstancesCommandOutput,
@@ -2399,6 +2415,10 @@ export declare const serializeAws_ec2AssignPrivateIpAddressesCommand: (
2399
2415
  input: AssignPrivateIpAddressesCommandInput,
2400
2416
  context: __SerdeContext
2401
2417
  ) => Promise<__HttpRequest>;
2418
+ export declare const serializeAws_ec2AssignPrivateNatGatewayAddressCommand: (
2419
+ input: AssignPrivateNatGatewayAddressCommandInput,
2420
+ context: __SerdeContext
2421
+ ) => Promise<__HttpRequest>;
2402
2422
  export declare const serializeAws_ec2AssociateAddressCommand: (
2403
2423
  input: AssociateAddressCommandInput,
2404
2424
  context: __SerdeContext
@@ -2427,6 +2447,10 @@ export declare const serializeAws_ec2AssociateIpamResourceDiscoveryCommand: (
2427
2447
  input: AssociateIpamResourceDiscoveryCommandInput,
2428
2448
  context: __SerdeContext
2429
2449
  ) => Promise<__HttpRequest>;
2450
+ export declare const serializeAws_ec2AssociateNatGatewayAddressCommand: (
2451
+ input: AssociateNatGatewayAddressCommandInput,
2452
+ context: __SerdeContext
2453
+ ) => Promise<__HttpRequest>;
2430
2454
  export declare const serializeAws_ec2AssociateRouteTableCommand: (
2431
2455
  input: AssociateRouteTableCommandInput,
2432
2456
  context: __SerdeContext
@@ -3867,6 +3891,10 @@ export declare const serializeAws_ec2DisassociateIpamResourceDiscoveryCommand: (
3867
3891
  input: DisassociateIpamResourceDiscoveryCommandInput,
3868
3892
  context: __SerdeContext
3869
3893
  ) => Promise<__HttpRequest>;
3894
+ export declare const serializeAws_ec2DisassociateNatGatewayAddressCommand: (
3895
+ input: DisassociateNatGatewayAddressCommandInput,
3896
+ context: __SerdeContext
3897
+ ) => Promise<__HttpRequest>;
3870
3898
  export declare const serializeAws_ec2DisassociateRouteTableCommand: (
3871
3899
  input: DisassociateRouteTableCommandInput,
3872
3900
  context: __SerdeContext
@@ -4667,6 +4695,10 @@ export declare const serializeAws_ec2UnassignPrivateIpAddressesCommand: (
4667
4695
  input: UnassignPrivateIpAddressesCommandInput,
4668
4696
  context: __SerdeContext
4669
4697
  ) => Promise<__HttpRequest>;
4698
+ export declare const serializeAws_ec2UnassignPrivateNatGatewayAddressCommand: (
4699
+ input: UnassignPrivateNatGatewayAddressCommandInput,
4700
+ context: __SerdeContext
4701
+ ) => Promise<__HttpRequest>;
4670
4702
  export declare const serializeAws_ec2UnmonitorInstancesCommand: (
4671
4703
  input: UnmonitorInstancesCommandInput,
4672
4704
  context: __SerdeContext
@@ -4739,6 +4771,10 @@ export declare const deserializeAws_ec2AssignPrivateIpAddressesCommand: (
4739
4771
  output: __HttpResponse,
4740
4772
  context: __SerdeContext
4741
4773
  ) => Promise<AssignPrivateIpAddressesCommandOutput>;
4774
+ export declare const deserializeAws_ec2AssignPrivateNatGatewayAddressCommand: (
4775
+ output: __HttpResponse,
4776
+ context: __SerdeContext
4777
+ ) => Promise<AssignPrivateNatGatewayAddressCommandOutput>;
4742
4778
  export declare const deserializeAws_ec2AssociateAddressCommand: (
4743
4779
  output: __HttpResponse,
4744
4780
  context: __SerdeContext
@@ -4767,6 +4803,10 @@ export declare const deserializeAws_ec2AssociateIpamResourceDiscoveryCommand: (
4767
4803
  output: __HttpResponse,
4768
4804
  context: __SerdeContext
4769
4805
  ) => Promise<AssociateIpamResourceDiscoveryCommandOutput>;
4806
+ export declare const deserializeAws_ec2AssociateNatGatewayAddressCommand: (
4807
+ output: __HttpResponse,
4808
+ context: __SerdeContext
4809
+ ) => Promise<AssociateNatGatewayAddressCommandOutput>;
4770
4810
  export declare const deserializeAws_ec2AssociateRouteTableCommand: (
4771
4811
  output: __HttpResponse,
4772
4812
  context: __SerdeContext
@@ -6207,6 +6247,10 @@ export declare const deserializeAws_ec2DisassociateIpamResourceDiscoveryCommand:
6207
6247
  output: __HttpResponse,
6208
6248
  context: __SerdeContext
6209
6249
  ) => Promise<DisassociateIpamResourceDiscoveryCommandOutput>;
6250
+ export declare const deserializeAws_ec2DisassociateNatGatewayAddressCommand: (
6251
+ output: __HttpResponse,
6252
+ context: __SerdeContext
6253
+ ) => Promise<DisassociateNatGatewayAddressCommandOutput>;
6210
6254
  export declare const deserializeAws_ec2DisassociateRouteTableCommand: (
6211
6255
  output: __HttpResponse,
6212
6256
  context: __SerdeContext
@@ -7007,6 +7051,10 @@ export declare const deserializeAws_ec2UnassignPrivateIpAddressesCommand: (
7007
7051
  output: __HttpResponse,
7008
7052
  context: __SerdeContext
7009
7053
  ) => Promise<UnassignPrivateIpAddressesCommandOutput>;
7054
+ export declare const deserializeAws_ec2UnassignPrivateNatGatewayAddressCommand: (
7055
+ output: __HttpResponse,
7056
+ context: __SerdeContext
7057
+ ) => Promise<UnassignPrivateNatGatewayAddressCommandOutput>;
7010
7058
  export declare const deserializeAws_ec2UnmonitorInstancesCommand: (
7011
7059
  output: __HttpResponse,
7012
7060
  context: __SerdeContext