@aws-sdk/client-ec2 3.697.0 → 3.699.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 (125) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +562 -85
  3. package/dist-es/EC2.js +6 -0
  4. package/dist-es/commands/DescribeCapacityBlockExtensionHistoryCommand.js +22 -0
  5. package/dist-es/commands/DescribeCapacityBlockExtensionOfferingsCommand.js +22 -0
  6. package/dist-es/commands/PurchaseCapacityBlockExtensionCommand.js +22 -0
  7. package/dist-es/commands/index.js +3 -0
  8. package/dist-es/models/models_0.js +4 -14
  9. package/dist-es/models/models_1.js +17 -0
  10. package/dist-es/models/models_3.js +5 -11
  11. package/dist-es/models/models_4.js +11 -0
  12. package/dist-es/models/models_5.js +0 -4
  13. package/dist-es/models/models_6.js +4 -11
  14. package/dist-es/models/models_7.js +11 -0
  15. package/dist-es/pagination/DescribeCapacityBlockExtensionHistoryPaginator.js +4 -0
  16. package/dist-es/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.js +4 -0
  17. package/dist-es/pagination/index.js +3 -1
  18. package/dist-es/protocols/Aws_ec2.js +446 -38
  19. package/dist-types/EC2.d.ts +22 -0
  20. package/dist-types/EC2Client.d.ts +5 -2
  21. package/dist-types/commands/AcceptCapacityReservationBillingOwnershipCommand.d.ts +3 -3
  22. package/dist-types/commands/AssociateCapacityReservationBillingOwnerCommand.d.ts +4 -4
  23. package/dist-types/commands/CancelCapacityReservationCommand.d.ts +17 -2
  24. package/dist-types/commands/CancelCapacityReservationFleetsCommand.d.ts +7 -6
  25. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +16 -5
  26. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +31 -16
  27. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +5 -0
  28. package/dist-types/commands/CreateNatGatewayCommand.d.ts +2 -1
  29. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -2
  30. package/dist-types/commands/DeleteFpgaImageCommand.d.ts +2 -1
  31. package/dist-types/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -1
  32. package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +1 -2
  33. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +5 -0
  34. package/dist-types/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +102 -0
  35. package/dist-types/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +92 -0
  36. package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +3 -1
  37. package/dist-types/commands/DescribeCapacityReservationBillingRequestsCommand.d.ts +3 -3
  38. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +9 -3
  39. package/dist-types/commands/DescribeFpgaImageAttributeCommand.d.ts +2 -1
  40. package/dist-types/commands/DescribeFpgaImagesCommand.d.ts +1 -1
  41. package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +1 -2
  42. package/dist-types/commands/DescribeIpamResourceDiscoveriesCommand.d.ts +5 -0
  43. package/dist-types/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -1
  44. package/dist-types/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
  45. package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  46. package/dist-types/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
  47. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
  48. package/dist-types/commands/DisassociateCapacityReservationBillingOwnerCommand.d.ts +4 -4
  49. package/dist-types/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
  50. package/dist-types/commands/EnableVolumeIOCommand.d.ts +1 -1
  51. package/dist-types/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
  52. package/dist-types/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  53. package/dist-types/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  54. package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +1 -2
  55. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +4 -4
  56. package/dist-types/commands/GetIpamDiscoveredAccountsCommand.d.ts +1 -0
  57. package/dist-types/commands/ModifyCapacityReservationCommand.d.ts +33 -4
  58. package/dist-types/commands/ModifyCapacityReservationFleetCommand.d.ts +5 -4
  59. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +4 -3
  60. package/dist-types/commands/ModifyIpamResourceDiscoveryCommand.d.ts +15 -0
  61. package/dist-types/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  62. package/dist-types/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  63. package/dist-types/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  64. package/dist-types/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  65. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +1 -2
  66. package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +1 -1
  67. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +17 -5
  68. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +9 -3
  69. package/dist-types/commands/PurchaseCapacityBlockExtensionCommand.d.ts +90 -0
  70. package/dist-types/commands/RejectCapacityReservationBillingOwnershipCommand.d.ts +3 -3
  71. package/dist-types/commands/index.d.ts +3 -0
  72. package/dist-types/models/models_0.d.ts +163 -67
  73. package/dist-types/models/models_1.d.ts +236 -302
  74. package/dist-types/models/models_2.d.ts +187 -66
  75. package/dist-types/models/models_3.d.ts +1425 -1385
  76. package/dist-types/models/models_4.d.ts +4190 -4186
  77. package/dist-types/models/models_5.d.ts +388 -172
  78. package/dist-types/models/models_6.d.ts +319 -425
  79. package/dist-types/models/models_7.d.ts +408 -24
  80. package/dist-types/pagination/DescribeCapacityBlockExtensionHistoryPaginator.d.ts +7 -0
  81. package/dist-types/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.d.ts +7 -0
  82. package/dist-types/pagination/index.d.ts +3 -1
  83. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  84. package/dist-types/ts3.4/EC2.d.ts +64 -0
  85. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  86. package/dist-types/ts3.4/commands/CreateNatGatewayCommand.d.ts +2 -4
  87. package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +4 -2
  88. package/dist-types/ts3.4/commands/DeleteFpgaImageCommand.d.ts +2 -4
  89. package/dist-types/ts3.4/commands/DeleteInstanceConnectEndpointCommand.d.ts +1 -1
  90. package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +4 -2
  91. package/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionHistoryCommand.d.ts +51 -0
  92. package/dist-types/ts3.4/commands/DescribeCapacityBlockExtensionOfferingsCommand.d.ts +51 -0
  93. package/dist-types/ts3.4/commands/DescribeFpgaImageAttributeCommand.d.ts +2 -4
  94. package/dist-types/ts3.4/commands/DescribeFpgaImagesCommand.d.ts +1 -1
  95. package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +4 -2
  96. package/dist-types/ts3.4/commands/DescribeScheduledInstanceAvailabilityCommand.d.ts +2 -4
  97. package/dist-types/ts3.4/commands/DescribeScheduledInstancesCommand.d.ts +1 -1
  98. package/dist-types/ts3.4/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  99. package/dist-types/ts3.4/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -1
  100. package/dist-types/ts3.4/commands/EnableVgwRoutePropagationCommand.d.ts +1 -1
  101. package/dist-types/ts3.4/commands/EnableVolumeIOCommand.d.ts +1 -1
  102. package/dist-types/ts3.4/commands/EnableVpcClassicLinkCommand.d.ts +1 -1
  103. package/dist-types/ts3.4/commands/EnableVpcClassicLinkDnsSupportCommand.d.ts +1 -1
  104. package/dist-types/ts3.4/commands/ExportClientVpnClientCertificateRevocationListCommand.d.ts +1 -1
  105. package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +4 -2
  106. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterNetworkServicesCommand.d.ts +1 -1
  107. package/dist-types/ts3.4/commands/ModifyTrafficMirrorFilterRuleCommand.d.ts +1 -1
  108. package/dist-types/ts3.4/commands/ModifyTrafficMirrorSessionCommand.d.ts +1 -1
  109. package/dist-types/ts3.4/commands/ModifyTransitGatewayCommand.d.ts +1 -1
  110. package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +4 -2
  111. package/dist-types/ts3.4/commands/PurchaseCapacityBlockExtensionCommand.d.ts +51 -0
  112. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  113. package/dist-types/ts3.4/models/models_0.d.ts +12 -18
  114. package/dist-types/ts3.4/models/models_1.d.ts +32 -32
  115. package/dist-types/ts3.4/models/models_2.d.ts +33 -17
  116. package/dist-types/ts3.4/models/models_3.d.ts +77 -76
  117. package/dist-types/ts3.4/models/models_4.d.ts +79 -82
  118. package/dist-types/ts3.4/models/models_5.d.ts +85 -46
  119. package/dist-types/ts3.4/models/models_6.d.ts +58 -103
  120. package/dist-types/ts3.4/models/models_7.d.ts +108 -1
  121. package/dist-types/ts3.4/pagination/DescribeCapacityBlockExtensionHistoryPaginator.d.ts +11 -0
  122. package/dist-types/ts3.4/pagination/DescribeCapacityBlockExtensionOfferingsPaginator.d.ts +11 -0
  123. package/dist-types/ts3.4/pagination/index.d.ts +3 -1
  124. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
  125. package/package.json +4 -4
@@ -1,10 +1,373 @@
1
1
  import { AddedPrincipal, AddressAttribute, AddressAttributeName, ApplianceModeSupportValue, ByoipCidr, CapacityReservationInstancePlatform, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, Ipv6SupportValue, NatGatewayAddress, PortRange, RouteTableAssociationState, SecurityGroupReferencingSupportValue, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
2
2
  import { _InstanceType, AmdSevSnpSpecification, BlockDeviceMapping, CapacityReservation, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, MarketType, OperatorRequest, Placement, ShutdownBehavior, SpotInstanceType, VolumeType } from "./models_1";
3
- import { DnsOptionsSpecification, IcmpTypeCode, IKEVersionsRequestListValue, InternetGatewayExclusionMode, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, RuleAction, SnapshotState, SSEType, SubnetConfiguration, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_2";
4
- import { Byoasn, ClientVpnConnectionStatus, Filter, InstanceTagNotificationAttribute, IpamPoolCidr } from "./models_3";
5
- import { ArchitectureValues, AttributeBooleanValue, BootModeValues, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, ScheduledInstance, TpmSupportValues } from "./models_4";
6
- import { InstanceNetworkInterfaceSpecification, InternetGatewayBlockMode, RunInstancesMonitoringEnabled, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
3
+ import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IcmpTypeCode, IKEVersionsRequestListValue, InternetGatewayExclusionMode, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, RuleAction, SnapshotState, SSEType, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnConnection, VpnEcmpSupportValue, VpnTunnelLogOptionsSpecification } from "./models_2";
4
+ import { Byoasn, CapacityBlockExtension, ClientVpnConnectionStatus, Filter, InstanceTagNotificationAttribute, IpamPoolCidr } from "./models_3";
5
+ import { ArchitectureValues, AttributeBooleanValue, BootModeValues, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, TpmSupportValues } from "./models_4";
6
+ import { InstanceNetworkInterfaceSpecification, InternetGatewayBlockMode, RunInstancesMonitoringEnabled, ScheduledInstance, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
7
7
  import { CapacityReservationSpecification, Purchase } from "./models_6";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface ModifyTrafficMirrorFilterNetworkServicesRequest {
12
+ /**
13
+ * <p>The ID of the Traffic Mirror filter.</p>
14
+ * @public
15
+ */
16
+ TrafficMirrorFilterId: string | undefined;
17
+ /**
18
+ * <p>The network service, for example Amazon DNS, that you want to mirror.</p>
19
+ * @public
20
+ */
21
+ AddNetworkServices?: TrafficMirrorNetworkService[] | undefined;
22
+ /**
23
+ * <p>The network service, for example Amazon DNS, that you no longer want to mirror.</p>
24
+ * @public
25
+ */
26
+ RemoveNetworkServices?: TrafficMirrorNetworkService[] | undefined;
27
+ /**
28
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
29
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
30
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
31
+ * @public
32
+ */
33
+ DryRun?: boolean | undefined;
34
+ }
35
+ /**
36
+ * @public
37
+ */
38
+ export interface ModifyTrafficMirrorFilterNetworkServicesResult {
39
+ /**
40
+ * <p>The Traffic Mirror filter that the network service is associated with.</p>
41
+ * @public
42
+ */
43
+ TrafficMirrorFilter?: TrafficMirrorFilter | undefined;
44
+ }
45
+ /**
46
+ * @public
47
+ * @enum
48
+ */
49
+ export declare const TrafficMirrorFilterRuleField: {
50
+ readonly description: "description";
51
+ readonly destination_port_range: "destination-port-range";
52
+ readonly protocol: "protocol";
53
+ readonly source_port_range: "source-port-range";
54
+ };
55
+ /**
56
+ * @public
57
+ */
58
+ export type TrafficMirrorFilterRuleField = (typeof TrafficMirrorFilterRuleField)[keyof typeof TrafficMirrorFilterRuleField];
59
+ /**
60
+ * @public
61
+ */
62
+ export interface ModifyTrafficMirrorFilterRuleRequest {
63
+ /**
64
+ * <p>The ID of the Traffic Mirror rule.</p>
65
+ * @public
66
+ */
67
+ TrafficMirrorFilterRuleId: string | undefined;
68
+ /**
69
+ * <p>The type of traffic to assign to the rule.</p>
70
+ * @public
71
+ */
72
+ TrafficDirection?: TrafficDirection | undefined;
73
+ /**
74
+ * <p>The number of the Traffic Mirror rule. This number must be unique for each Traffic Mirror rule in a given
75
+ * direction. The rules are processed in ascending order by rule number.</p>
76
+ * @public
77
+ */
78
+ RuleNumber?: number | undefined;
79
+ /**
80
+ * <p>The action to assign to the rule.</p>
81
+ * @public
82
+ */
83
+ RuleAction?: TrafficMirrorRuleAction | undefined;
84
+ /**
85
+ * <p>The destination ports that are associated with the Traffic Mirror rule.</p>
86
+ * @public
87
+ */
88
+ DestinationPortRange?: TrafficMirrorPortRangeRequest | undefined;
89
+ /**
90
+ * <p>The port range to assign to the Traffic Mirror rule.</p>
91
+ * @public
92
+ */
93
+ SourcePortRange?: TrafficMirrorPortRangeRequest | undefined;
94
+ /**
95
+ * <p>The protocol, for example TCP, to assign to the Traffic Mirror rule.</p>
96
+ * @public
97
+ */
98
+ Protocol?: number | undefined;
99
+ /**
100
+ * <p>The destination CIDR block to assign to the Traffic Mirror rule.</p>
101
+ * @public
102
+ */
103
+ DestinationCidrBlock?: string | undefined;
104
+ /**
105
+ * <p>The source CIDR block to assign to the Traffic Mirror rule.</p>
106
+ * @public
107
+ */
108
+ SourceCidrBlock?: string | undefined;
109
+ /**
110
+ * <p>The description to assign to the Traffic Mirror rule.</p>
111
+ * @public
112
+ */
113
+ Description?: string | undefined;
114
+ /**
115
+ * <p>The properties that you want to remove from the Traffic Mirror filter rule.</p>
116
+ * <p>When you remove a property from a Traffic Mirror filter rule, the property is set to the default.</p>
117
+ * @public
118
+ */
119
+ RemoveFields?: TrafficMirrorFilterRuleField[] | undefined;
120
+ /**
121
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
122
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
123
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
124
+ * @public
125
+ */
126
+ DryRun?: boolean | undefined;
127
+ }
128
+ /**
129
+ * @public
130
+ */
131
+ export interface ModifyTrafficMirrorFilterRuleResult {
132
+ /**
133
+ * <note>
134
+ * <p>Tags are not returned for ModifyTrafficMirrorFilterRule.</p>
135
+ * </note>
136
+ * <p>A Traffic Mirror rule.</p>
137
+ * @public
138
+ */
139
+ TrafficMirrorFilterRule?: TrafficMirrorFilterRule | undefined;
140
+ }
141
+ /**
142
+ * @public
143
+ * @enum
144
+ */
145
+ export declare const TrafficMirrorSessionField: {
146
+ readonly description: "description";
147
+ readonly packet_length: "packet-length";
148
+ readonly virtual_network_id: "virtual-network-id";
149
+ };
150
+ /**
151
+ * @public
152
+ */
153
+ export type TrafficMirrorSessionField = (typeof TrafficMirrorSessionField)[keyof typeof TrafficMirrorSessionField];
154
+ /**
155
+ * @public
156
+ */
157
+ export interface ModifyTrafficMirrorSessionRequest {
158
+ /**
159
+ * <p>The ID of the Traffic Mirror session.</p>
160
+ * @public
161
+ */
162
+ TrafficMirrorSessionId: string | undefined;
163
+ /**
164
+ * <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>
165
+ * @public
166
+ */
167
+ TrafficMirrorTargetId?: string | undefined;
168
+ /**
169
+ * <p>The ID of the Traffic Mirror filter.</p>
170
+ * @public
171
+ */
172
+ TrafficMirrorFilterId?: string | undefined;
173
+ /**
174
+ * <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>
175
+ * <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>
176
+ * @public
177
+ */
178
+ PacketLength?: number | undefined;
179
+ /**
180
+ * <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>
181
+ * <p>Valid values are 1-32766.</p>
182
+ * @public
183
+ */
184
+ SessionNumber?: number | undefined;
185
+ /**
186
+ * <p>The virtual network ID of the Traffic Mirror session.</p>
187
+ * @public
188
+ */
189
+ VirtualNetworkId?: number | undefined;
190
+ /**
191
+ * <p>The description to assign to the Traffic Mirror session.</p>
192
+ * @public
193
+ */
194
+ Description?: string | undefined;
195
+ /**
196
+ * <p>The properties that you want to remove from the Traffic Mirror session.</p>
197
+ * <p>When you remove a property from a Traffic Mirror session, the property is set to the default.</p>
198
+ * @public
199
+ */
200
+ RemoveFields?: TrafficMirrorSessionField[] | undefined;
201
+ /**
202
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
203
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
204
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
205
+ * @public
206
+ */
207
+ DryRun?: boolean | undefined;
208
+ }
209
+ /**
210
+ * @public
211
+ */
212
+ export interface ModifyTrafficMirrorSessionResult {
213
+ /**
214
+ * <p>Information about the Traffic Mirror session.</p>
215
+ * @public
216
+ */
217
+ TrafficMirrorSession?: TrafficMirrorSession | undefined;
218
+ }
219
+ /**
220
+ * <p>The transit gateway options.</p>
221
+ * @public
222
+ */
223
+ export interface ModifyTransitGatewayOptions {
224
+ /**
225
+ * <p>Adds IPv4 or IPv6 CIDR blocks for the transit gateway. Must be a size /24 CIDR block or larger for IPv4, or a size /64 CIDR block or larger for IPv6.</p>
226
+ * @public
227
+ */
228
+ AddTransitGatewayCidrBlocks?: string[] | undefined;
229
+ /**
230
+ * <p>Removes CIDR blocks for the transit gateway.</p>
231
+ * @public
232
+ */
233
+ RemoveTransitGatewayCidrBlocks?: string[] | undefined;
234
+ /**
235
+ * <p>Enable or disable Equal Cost Multipath Protocol support.</p>
236
+ * @public
237
+ */
238
+ VpnEcmpSupport?: VpnEcmpSupportValue | undefined;
239
+ /**
240
+ * <p>Enable or disable DNS support.</p>
241
+ * @public
242
+ */
243
+ DnsSupport?: DnsSupportValue | undefined;
244
+ /**
245
+ * <p>Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.
246
+ *
247
+ * </p>
248
+ * <p>This option is disabled by default.</p>
249
+ * <p>For more information about security group referencing, see <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security">Security group referencing</a> in the <i>Amazon Web Services Transit Gateways Guide</i>.</p>
250
+ * @public
251
+ */
252
+ SecurityGroupReferencingSupport?: SecurityGroupReferencingSupportValue | undefined;
253
+ /**
254
+ * <p>Enable or disable automatic acceptance of attachment requests.</p>
255
+ * @public
256
+ */
257
+ AutoAcceptSharedAttachments?: AutoAcceptSharedAttachmentsValue | undefined;
258
+ /**
259
+ * <p>Enable or disable automatic association with the default association route table.</p>
260
+ * @public
261
+ */
262
+ DefaultRouteTableAssociation?: DefaultRouteTableAssociationValue | undefined;
263
+ /**
264
+ * <p>The ID of the default association route table.</p>
265
+ * @public
266
+ */
267
+ AssociationDefaultRouteTableId?: string | undefined;
268
+ /**
269
+ * <p>Enable or disable automatic propagation of routes to the default propagation route table.</p>
270
+ * @public
271
+ */
272
+ DefaultRouteTablePropagation?: DefaultRouteTablePropagationValue | undefined;
273
+ /**
274
+ * <p>The ID of the default propagation route table.</p>
275
+ * @public
276
+ */
277
+ PropagationDefaultRouteTableId?: string | undefined;
278
+ /**
279
+ * <p>A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
280
+ * The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.</p>
281
+ * <p>The modify ASN operation is not allowed on a transit gateway if it has the following attachments:</p>
282
+ * <ul>
283
+ * <li>
284
+ * <p>Dynamic VPN</p>
285
+ * </li>
286
+ * <li>
287
+ * <p>Static VPN</p>
288
+ * </li>
289
+ * <li>
290
+ * <p>Direct Connect Gateway</p>
291
+ * </li>
292
+ * <li>
293
+ * <p>Connect</p>
294
+ * </li>
295
+ * </ul>
296
+ * <p>You must first delete all transit gateway attachments configured prior to modifying the ASN on
297
+ * the transit gateway.</p>
298
+ * @public
299
+ */
300
+ AmazonSideAsn?: number | undefined;
301
+ }
302
+ /**
303
+ * @public
304
+ */
305
+ export interface ModifyTransitGatewayRequest {
306
+ /**
307
+ * <p>The ID of the transit gateway.</p>
308
+ * @public
309
+ */
310
+ TransitGatewayId: string | undefined;
311
+ /**
312
+ * <p>The description for the transit gateway.</p>
313
+ * @public
314
+ */
315
+ Description?: string | undefined;
316
+ /**
317
+ * <p>The options to modify.</p>
318
+ * @public
319
+ */
320
+ Options?: ModifyTransitGatewayOptions | undefined;
321
+ /**
322
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
323
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
324
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
325
+ * @public
326
+ */
327
+ DryRun?: boolean | undefined;
328
+ }
329
+ /**
330
+ * @public
331
+ */
332
+ export interface ModifyTransitGatewayResult {
333
+ /**
334
+ * <p>Information about the transit gateway.</p>
335
+ * @public
336
+ */
337
+ TransitGateway?: TransitGateway | undefined;
338
+ }
339
+ /**
340
+ * @public
341
+ */
342
+ export interface ModifyTransitGatewayPrefixListReferenceRequest {
343
+ /**
344
+ * <p>The ID of the transit gateway route table.</p>
345
+ * @public
346
+ */
347
+ TransitGatewayRouteTableId: string | undefined;
348
+ /**
349
+ * <p>The ID of the prefix list.</p>
350
+ * @public
351
+ */
352
+ PrefixListId: string | undefined;
353
+ /**
354
+ * <p>The ID of the attachment to which traffic is routed.</p>
355
+ * @public
356
+ */
357
+ TransitGatewayAttachmentId?: string | undefined;
358
+ /**
359
+ * <p>Indicates whether to drop traffic that matches this route.</p>
360
+ * @public
361
+ */
362
+ Blackhole?: boolean | undefined;
363
+ /**
364
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
365
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
366
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
367
+ * @public
368
+ */
369
+ DryRun?: boolean | undefined;
370
+ }
8
371
  /**
9
372
  * @public
10
373
  */
@@ -793,11 +1156,11 @@ export interface ModifyVpcBlockPublicAccessExclusionRequest {
793
1156
  * <ul>
794
1157
  * <li>
795
1158
  * <p>
796
- * <code>bidirectional-access-allowed</code>: Allow all internet traffic to and from the excluded VPCs and subnets.</p>
1159
+ * <code>allow-bidirectional</code>: Allow all internet traffic to and from the excluded VPCs and subnets.</p>
797
1160
  * </li>
798
1161
  * <li>
799
1162
  * <p>
800
- * <code>egress-access-allowed</code>: Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set to Bidirectional.</p>
1163
+ * <code>allow-egress</code>: Allow outbound internet traffic from the excluded VPCs and subnets. Block inbound internet traffic to the excluded VPCs and subnets. Only applies when VPC Block Public Access is set to Bidirectional.</p>
801
1164
  * </li>
802
1165
  * </ul>
803
1166
  * @public
@@ -830,15 +1193,15 @@ export interface ModifyVpcBlockPublicAccessOptionsRequest {
830
1193
  * <ul>
831
1194
  * <li>
832
1195
  * <p>
833
- * <code>bidirectional-access-allowed</code>: VPC BPA is not enabled and traffic is allowed to and from internet gateways and egress-only internet gateways in this Region.</p>
1196
+ * <code>off</code>: VPC BPA is not enabled and traffic is allowed to and from internet gateways and egress-only internet gateways in this Region.</p>
834
1197
  * </li>
835
1198
  * <li>
836
1199
  * <p>
837
- * <code>bidirectional-access-blocked</code>: Block all traffic to and from internet gateways and egress-only internet gateways in this Region (except for excluded VPCs and subnets).</p>
1200
+ * <code>block-bidirectional</code>: Block all traffic to and from internet gateways and egress-only internet gateways in this Region (except for excluded VPCs and subnets).</p>
838
1201
  * </li>
839
1202
  * <li>
840
1203
  * <p>
841
- * <code>ingress-access-blocked</code>: Block all internet traffic to the VPCs in this Region (except for VPCs or subnets which are excluded). Only traffic to and from NAT gateways and egress-only internet gateways is allowed because these gateways only allow outbound connections to be established.</p>
1204
+ * <code>block-ingress</code>: Block all internet traffic to the VPCs in this Region (except for VPCs or subnets which are excluded). Only traffic to and from NAT gateways and egress-only internet gateways is allowed because these gateways only allow outbound connections to be established.</p>
842
1205
  * </li>
843
1206
  * </ul>
844
1207
  * @public
@@ -1799,16 +2162,12 @@ export interface MoveCapacityReservationInstancesRequest {
1799
2162
  */
1800
2163
  ClientToken?: string | undefined;
1801
2164
  /**
1802
- * <p>
1803
- * The ID of the Capacity Reservation from which you want to move capacity.
1804
- * </p>
2165
+ * <p> The ID of the Capacity Reservation from which you want to move capacity. </p>
1805
2166
  * @public
1806
2167
  */
1807
2168
  SourceCapacityReservationId: string | undefined;
1808
2169
  /**
1809
- * <p>
1810
- * The ID of the Capacity Reservation that you want to move capacity into.
1811
- * </p>
2170
+ * <p> The ID of the Capacity Reservation that you want to move capacity into. </p>
1812
2171
  * @public
1813
2172
  */
1814
2173
  DestinationCapacityReservationId: string | undefined;
@@ -1824,23 +2183,18 @@ export interface MoveCapacityReservationInstancesRequest {
1824
2183
  */
1825
2184
  export interface MoveCapacityReservationInstancesResult {
1826
2185
  /**
1827
- * <p>
1828
- * Information about the source Capacity Reservation.
1829
- * </p>
2186
+ * <p> Information about the source Capacity Reservation. </p>
1830
2187
  * @public
1831
2188
  */
1832
2189
  SourceCapacityReservation?: CapacityReservation | undefined;
1833
2190
  /**
1834
- * <p>
1835
- * Information about the destination Capacity Reservation.
1836
- * </p>
2191
+ * <p> Information about the destination Capacity Reservation. </p>
1837
2192
  * @public
1838
2193
  */
1839
2194
  DestinationCapacityReservation?: CapacityReservation | undefined;
1840
2195
  /**
1841
- * <p>
1842
- * The number of instances that were moved from the source Capacity Reservation to the destination Capacity Reservation.
1843
- * </p>
2196
+ * <p> The number of instances that were moved from the source Capacity Reservation to the
2197
+ * destination Capacity Reservation. </p>
1844
2198
  * @public
1845
2199
  */
1846
2200
  InstanceCount?: number | undefined;
@@ -2160,6 +2514,36 @@ export interface PurchaseCapacityBlockResult {
2160
2514
  */
2161
2515
  CapacityReservation?: CapacityReservation | undefined;
2162
2516
  }
2517
+ /**
2518
+ * @public
2519
+ */
2520
+ export interface PurchaseCapacityBlockExtensionRequest {
2521
+ /**
2522
+ * <p>The ID of the Capacity Block extension offering to purchase.</p>
2523
+ * @public
2524
+ */
2525
+ CapacityBlockExtensionOfferingId: string | undefined;
2526
+ /**
2527
+ * <p>The ID of the Capacity reservation to be extended.</p>
2528
+ * @public
2529
+ */
2530
+ CapacityReservationId: string | undefined;
2531
+ /**
2532
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
2533
+ * @public
2534
+ */
2535
+ DryRun?: boolean | undefined;
2536
+ }
2537
+ /**
2538
+ * @public
2539
+ */
2540
+ export interface PurchaseCapacityBlockExtensionResult {
2541
+ /**
2542
+ * <p>The purchased Capacity Block extensions. </p>
2543
+ * @public
2544
+ */
2545
+ CapacityBlockExtensions?: CapacityBlockExtension[] | undefined;
2546
+ }
2163
2547
  /**
2164
2548
  * @public
2165
2549
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { DescribeCapacityBlockExtensionHistoryCommandInput, DescribeCapacityBlockExtensionHistoryCommandOutput } from "../commands/DescribeCapacityBlockExtensionHistoryCommand";
3
+ import { EC2PaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateDescribeCapacityBlockExtensionHistory: (config: EC2PaginationConfiguration, input: DescribeCapacityBlockExtensionHistoryCommandInput, ...rest: any[]) => Paginator<DescribeCapacityBlockExtensionHistoryCommandOutput>;
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { DescribeCapacityBlockExtensionOfferingsCommandInput, DescribeCapacityBlockExtensionOfferingsCommandOutput } from "../commands/DescribeCapacityBlockExtensionOfferingsCommand";
3
+ import { EC2PaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateDescribeCapacityBlockExtensionOfferings: (config: EC2PaginationConfiguration, input: DescribeCapacityBlockExtensionOfferingsCommandInput, ...rest: any[]) => Paginator<DescribeCapacityBlockExtensionOfferingsCommandOutput>;
@@ -2,13 +2,15 @@ export * from "./DescribeAddressTransfersPaginator";
2
2
  export * from "./DescribeAddressesAttributePaginator";
3
3
  export * from "./DescribeAwsNetworkPerformanceMetricSubscriptionsPaginator";
4
4
  export * from "./DescribeByoipCidrsPaginator";
5
+ export * from "./DescribeCapacityBlockExtensionHistoryPaginator";
6
+ export * from "./DescribeCapacityBlockExtensionOfferingsPaginator";
5
7
  export * from "./DescribeCapacityBlockOfferingsPaginator";
6
8
  export * from "./DescribeCapacityReservationBillingRequestsPaginator";
7
9
  export * from "./DescribeCapacityReservationFleetsPaginator";
8
10
  export * from "./DescribeCapacityReservationsPaginator";
11
+ export * from "./Interfaces";
9
12
  export * from "./DescribeCarrierGatewaysPaginator";
10
13
  export * from "./DescribeClassicLinkInstancesPaginator";
11
- export * from "./Interfaces";
12
14
  export * from "./DescribeClientVpnAuthorizationRulesPaginator";
13
15
  export * from "./DescribeClientVpnConnectionsPaginator";
14
16
  export * from "./DescribeClientVpnEndpointsPaginator";
@@ -236,6 +236,8 @@ import { DescribeAvailabilityZonesCommandInput, DescribeAvailabilityZonesCommand
236
236
  import { DescribeAwsNetworkPerformanceMetricSubscriptionsCommandInput, DescribeAwsNetworkPerformanceMetricSubscriptionsCommandOutput } from "../commands/DescribeAwsNetworkPerformanceMetricSubscriptionsCommand";
237
237
  import { DescribeBundleTasksCommandInput, DescribeBundleTasksCommandOutput } from "../commands/DescribeBundleTasksCommand";
238
238
  import { DescribeByoipCidrsCommandInput, DescribeByoipCidrsCommandOutput } from "../commands/DescribeByoipCidrsCommand";
239
+ import { DescribeCapacityBlockExtensionHistoryCommandInput, DescribeCapacityBlockExtensionHistoryCommandOutput } from "../commands/DescribeCapacityBlockExtensionHistoryCommand";
240
+ import { DescribeCapacityBlockExtensionOfferingsCommandInput, DescribeCapacityBlockExtensionOfferingsCommandOutput } from "../commands/DescribeCapacityBlockExtensionOfferingsCommand";
239
241
  import { DescribeCapacityBlockOfferingsCommandInput, DescribeCapacityBlockOfferingsCommandOutput } from "../commands/DescribeCapacityBlockOfferingsCommand";
240
242
  import { DescribeCapacityReservationBillingRequestsCommandInput, DescribeCapacityReservationBillingRequestsCommandOutput } from "../commands/DescribeCapacityReservationBillingRequestsCommand";
241
243
  import { DescribeCapacityReservationFleetsCommandInput, DescribeCapacityReservationFleetsCommandOutput } from "../commands/DescribeCapacityReservationFleetsCommand";
@@ -580,6 +582,7 @@ import { ProvisionIpamByoasnCommandInput, ProvisionIpamByoasnCommandOutput } fro
580
582
  import { ProvisionIpamPoolCidrCommandInput, ProvisionIpamPoolCidrCommandOutput } from "../commands/ProvisionIpamPoolCidrCommand";
581
583
  import { ProvisionPublicIpv4PoolCidrCommandInput, ProvisionPublicIpv4PoolCidrCommandOutput } from "../commands/ProvisionPublicIpv4PoolCidrCommand";
582
584
  import { PurchaseCapacityBlockCommandInput, PurchaseCapacityBlockCommandOutput } from "../commands/PurchaseCapacityBlockCommand";
585
+ import { PurchaseCapacityBlockExtensionCommandInput, PurchaseCapacityBlockExtensionCommandOutput } from "../commands/PurchaseCapacityBlockExtensionCommand";
583
586
  import { PurchaseHostReservationCommandInput, PurchaseHostReservationCommandOutput } from "../commands/PurchaseHostReservationCommand";
584
587
  import { PurchaseReservedInstancesOfferingCommandInput, PurchaseReservedInstancesOfferingCommandOutput } from "../commands/PurchaseReservedInstancesOfferingCommand";
585
588
  import { PurchaseScheduledInstancesCommandInput, PurchaseScheduledInstancesCommandOutput } from "../commands/PurchaseScheduledInstancesCommand";
@@ -1587,6 +1590,14 @@ export declare const se_DescribeBundleTasksCommand: (input: DescribeBundleTasksC
1587
1590
  * serializeAws_ec2DescribeByoipCidrsCommand
1588
1591
  */
1589
1592
  export declare const se_DescribeByoipCidrsCommand: (input: DescribeByoipCidrsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1593
+ /**
1594
+ * serializeAws_ec2DescribeCapacityBlockExtensionHistoryCommand
1595
+ */
1596
+ export declare const se_DescribeCapacityBlockExtensionHistoryCommand: (input: DescribeCapacityBlockExtensionHistoryCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1597
+ /**
1598
+ * serializeAws_ec2DescribeCapacityBlockExtensionOfferingsCommand
1599
+ */
1600
+ export declare const se_DescribeCapacityBlockExtensionOfferingsCommand: (input: DescribeCapacityBlockExtensionOfferingsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1590
1601
  /**
1591
1602
  * serializeAws_ec2DescribeCapacityBlockOfferingsCommand
1592
1603
  */
@@ -2963,6 +2974,10 @@ export declare const se_ProvisionPublicIpv4PoolCidrCommand: (input: ProvisionPub
2963
2974
  * serializeAws_ec2PurchaseCapacityBlockCommand
2964
2975
  */
2965
2976
  export declare const se_PurchaseCapacityBlockCommand: (input: PurchaseCapacityBlockCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2977
+ /**
2978
+ * serializeAws_ec2PurchaseCapacityBlockExtensionCommand
2979
+ */
2980
+ export declare const se_PurchaseCapacityBlockExtensionCommand: (input: PurchaseCapacityBlockExtensionCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2966
2981
  /**
2967
2982
  * serializeAws_ec2PurchaseHostReservationCommand
2968
2983
  */
@@ -4159,6 +4174,14 @@ export declare const de_DescribeBundleTasksCommand: (output: __HttpResponse, con
4159
4174
  * deserializeAws_ec2DescribeByoipCidrsCommand
4160
4175
  */
4161
4176
  export declare const de_DescribeByoipCidrsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeByoipCidrsCommandOutput>;
4177
+ /**
4178
+ * deserializeAws_ec2DescribeCapacityBlockExtensionHistoryCommand
4179
+ */
4180
+ export declare const de_DescribeCapacityBlockExtensionHistoryCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeCapacityBlockExtensionHistoryCommandOutput>;
4181
+ /**
4182
+ * deserializeAws_ec2DescribeCapacityBlockExtensionOfferingsCommand
4183
+ */
4184
+ export declare const de_DescribeCapacityBlockExtensionOfferingsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeCapacityBlockExtensionOfferingsCommandOutput>;
4162
4185
  /**
4163
4186
  * deserializeAws_ec2DescribeCapacityBlockOfferingsCommand
4164
4187
  */
@@ -5535,6 +5558,10 @@ export declare const de_ProvisionPublicIpv4PoolCidrCommand: (output: __HttpRespo
5535
5558
  * deserializeAws_ec2PurchaseCapacityBlockCommand
5536
5559
  */
5537
5560
  export declare const de_PurchaseCapacityBlockCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PurchaseCapacityBlockCommandOutput>;
5561
+ /**
5562
+ * deserializeAws_ec2PurchaseCapacityBlockExtensionCommand
5563
+ */
5564
+ export declare const de_PurchaseCapacityBlockExtensionCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<PurchaseCapacityBlockExtensionCommandOutput>;
5538
5565
  /**
5539
5566
  * deserializeAws_ec2PurchaseHostReservationCommand
5540
5567
  */