@aws-sdk/client-ec2 3.842.0 → 3.844.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 (211) hide show
  1. package/README.md +16 -0
  2. package/dist-cjs/index.js +679 -169
  3. package/dist-es/EC2.js +4 -0
  4. package/dist-es/commands/DescribeCapacityBlockStatusCommand.js +22 -0
  5. package/dist-es/commands/DescribeCapacityBlocksCommand.js +22 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/models_0.js +1 -0
  8. package/dist-es/models/models_1.js +1 -0
  9. package/dist-es/models/models_3.js +15 -6
  10. package/dist-es/models/models_4.js +6 -0
  11. package/dist-es/pagination/DescribeCapacityBlockStatusPaginator.js +4 -0
  12. package/dist-es/pagination/DescribeCapacityBlocksPaginator.js +4 -0
  13. package/dist-es/pagination/index.js +3 -1
  14. package/dist-es/protocols/Aws_ec2.js +359 -60
  15. package/dist-es/waiters/index.js +4 -2
  16. package/dist-es/waiters/waitForSecurityGroupVpcAssociationAssociated.js +69 -0
  17. package/dist-es/waiters/waitForSecurityGroupVpcAssociationDisassociated.js +79 -0
  18. package/dist-types/EC2.d.ts +16 -0
  19. package/dist-types/EC2Client.d.ts +4 -2
  20. package/dist-types/commands/AcceptAddressTransferCommand.d.ts +1 -1
  21. package/dist-types/commands/AllocateAddressCommand.d.ts +1 -1
  22. package/dist-types/commands/AllocateHostsCommand.d.ts +1 -1
  23. package/dist-types/commands/AssociateIpamResourceDiscoveryCommand.d.ts +1 -1
  24. package/dist-types/commands/AssociateSecurityGroupVpcCommand.d.ts +1 -1
  25. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -1
  26. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -1
  27. package/dist-types/commands/CopyImageCommand.d.ts +1 -1
  28. package/dist-types/commands/CopySnapshotCommand.d.ts +1 -1
  29. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +5 -3
  30. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +3 -2
  31. package/dist-types/commands/CreateCapacityReservationFleetCommand.d.ts +1 -1
  32. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateClientVpnEndpointCommand.d.ts +1 -1
  34. package/dist-types/commands/CreateCoipPoolCommand.d.ts +1 -1
  35. package/dist-types/commands/CreateCustomerGatewayCommand.d.ts +1 -1
  36. package/dist-types/commands/CreateDelegateMacVolumeOwnershipTaskCommand.d.ts +1 -1
  37. package/dist-types/commands/CreateDhcpOptionsCommand.d.ts +1 -1
  38. package/dist-types/commands/CreateEgressOnlyInternetGatewayCommand.d.ts +1 -1
  39. package/dist-types/commands/CreateFleetCommand.d.ts +1 -1
  40. package/dist-types/commands/CreateFlowLogsCommand.d.ts +1 -1
  41. package/dist-types/commands/CreateFpgaImageCommand.d.ts +1 -1
  42. package/dist-types/commands/CreateImageCommand.d.ts +1 -1
  43. package/dist-types/commands/CreateInstanceConnectEndpointCommand.d.ts +1 -1
  44. package/dist-types/commands/CreateInstanceEventWindowCommand.d.ts +1 -1
  45. package/dist-types/commands/CreateInstanceExportTaskCommand.d.ts +1 -1
  46. package/dist-types/commands/CreateInternetGatewayCommand.d.ts +1 -1
  47. package/dist-types/commands/CreateIpamCommand.d.ts +1 -1
  48. package/dist-types/commands/CreateIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  49. package/dist-types/commands/CreateIpamPoolCommand.d.ts +1 -1
  50. package/dist-types/commands/CreateIpamResourceDiscoveryCommand.d.ts +1 -1
  51. package/dist-types/commands/CreateIpamScopeCommand.d.ts +1 -1
  52. package/dist-types/commands/CreateKeyPairCommand.d.ts +1 -1
  53. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +2 -2
  54. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +2 -2
  55. package/dist-types/commands/CreateLocalGatewayRouteTableCommand.d.ts +1 -1
  56. package/dist-types/commands/CreateLocalGatewayRouteTableVirtualInterfaceGroupAssociationCommand.d.ts +1 -1
  57. package/dist-types/commands/CreateLocalGatewayRouteTableVpcAssociationCommand.d.ts +1 -1
  58. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceCommand.d.ts +1 -1
  59. package/dist-types/commands/CreateLocalGatewayVirtualInterfaceGroupCommand.d.ts +1 -1
  60. package/dist-types/commands/CreateMacSystemIntegrityProtectionModificationTaskCommand.d.ts +1 -1
  61. package/dist-types/commands/CreateManagedPrefixListCommand.d.ts +1 -1
  62. package/dist-types/commands/CreateNatGatewayCommand.d.ts +1 -1
  63. package/dist-types/commands/CreateNetworkAclCommand.d.ts +1 -1
  64. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -1
  65. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -1
  66. package/dist-types/commands/CreateNetworkInterfaceCommand.d.ts +1 -1
  67. package/dist-types/commands/CreatePlacementGroupCommand.d.ts +1 -1
  68. package/dist-types/commands/CreatePublicIpv4PoolCommand.d.ts +1 -1
  69. package/dist-types/commands/CreateReplaceRootVolumeTaskCommand.d.ts +1 -1
  70. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +1 -1
  71. package/dist-types/commands/CreateRouteServerCommand.d.ts +1 -1
  72. package/dist-types/commands/CreateRouteServerEndpointCommand.d.ts +1 -1
  73. package/dist-types/commands/CreateRouteServerPeerCommand.d.ts +1 -1
  74. package/dist-types/commands/CreateRouteTableCommand.d.ts +1 -1
  75. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -1
  76. package/dist-types/commands/CreateSnapshotCommand.d.ts +1 -1
  77. package/dist-types/commands/CreateSnapshotsCommand.d.ts +1 -1
  78. package/dist-types/commands/CreateSubnetCidrReservationCommand.d.ts +1 -1
  79. package/dist-types/commands/CreateSubnetCommand.d.ts +1 -1
  80. package/dist-types/commands/CreateTrafficMirrorFilterCommand.d.ts +1 -1
  81. package/dist-types/commands/CreateTrafficMirrorFilterRuleCommand.d.ts +1 -1
  82. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  83. package/dist-types/commands/CreateTrafficMirrorTargetCommand.d.ts +1 -1
  84. package/dist-types/commands/CreateTransitGatewayCommand.d.ts +1 -1
  85. package/dist-types/commands/CreateTransitGatewayConnectCommand.d.ts +1 -1
  86. package/dist-types/commands/CreateTransitGatewayConnectPeerCommand.d.ts +1 -1
  87. package/dist-types/commands/CreateTransitGatewayMulticastDomainCommand.d.ts +1 -1
  88. package/dist-types/commands/CreateTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  89. package/dist-types/commands/CreateTransitGatewayPolicyTableCommand.d.ts +1 -1
  90. package/dist-types/commands/CreateTransitGatewayRouteTableAnnouncementCommand.d.ts +1 -1
  91. package/dist-types/commands/CreateTransitGatewayRouteTableCommand.d.ts +1 -1
  92. package/dist-types/commands/CreateTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  93. package/dist-types/commands/CreateVerifiedAccessEndpointCommand.d.ts +1 -1
  94. package/dist-types/commands/CreateVerifiedAccessGroupCommand.d.ts +1 -1
  95. package/dist-types/commands/CreateVerifiedAccessInstanceCommand.d.ts +1 -1
  96. package/dist-types/commands/CreateVerifiedAccessTrustProviderCommand.d.ts +1 -1
  97. package/dist-types/commands/CreateVolumeCommand.d.ts +1 -1
  98. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +1 -1
  99. package/dist-types/commands/CreateVpcCommand.d.ts +1 -1
  100. package/dist-types/commands/CreateVpcEndpointCommand.d.ts +1 -1
  101. package/dist-types/commands/CreateVpcEndpointServiceConfigurationCommand.d.ts +1 -1
  102. package/dist-types/commands/CreateVpcPeeringConnectionCommand.d.ts +1 -1
  103. package/dist-types/commands/CreateVpnConnectionCommand.d.ts +1 -1
  104. package/dist-types/commands/CreateVpnGatewayCommand.d.ts +1 -1
  105. package/dist-types/commands/DescribeCapacityBlockOfferingsCommand.d.ts +6 -2
  106. package/dist-types/commands/DescribeCapacityBlockStatusCommand.d.ts +102 -0
  107. package/dist-types/commands/DescribeCapacityBlocksCommand.d.ts +106 -0
  108. package/dist-types/commands/DescribeCapacityReservationsCommand.d.ts +2 -1
  109. package/dist-types/commands/DescribeCarrierGatewaysCommand.d.ts +2 -1
  110. package/dist-types/commands/DescribeClassicLinkInstancesCommand.d.ts +1 -1
  111. package/dist-types/commands/DescribeClientVpnAuthorizationRulesCommand.d.ts +1 -1
  112. package/dist-types/commands/DescribeClientVpnConnectionsCommand.d.ts +1 -2
  113. package/dist-types/commands/DescribeInstanceTopologyCommand.d.ts +14 -59
  114. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -0
  115. package/dist-types/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +2 -1
  116. package/dist-types/commands/DescribeIpamScopesCommand.d.ts +1 -1
  117. package/dist-types/commands/DescribeIpamsCommand.d.ts +1 -1
  118. package/dist-types/commands/DescribeIpv6PoolsCommand.d.ts +1 -1
  119. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +1 -1
  120. package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -0
  121. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +2 -2
  122. package/dist-types/commands/DescribeTagsCommand.d.ts +1 -1
  123. package/dist-types/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +2 -1
  124. package/dist-types/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +1 -1
  125. package/dist-types/commands/DescribeVpcEndpointServicesCommand.d.ts +1 -1
  126. package/dist-types/commands/DescribeVpcPeeringConnectionsCommand.d.ts +1 -1
  127. package/dist-types/commands/DetachVolumeCommand.d.ts +3 -3
  128. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  129. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  130. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +1 -1
  131. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +2 -1
  132. package/dist-types/commands/GetSubnetCidrReservationsCommand.d.ts +1 -1
  133. package/dist-types/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
  134. package/dist-types/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -2
  135. package/dist-types/commands/ImportImageCommand.d.ts +1 -1
  136. package/dist-types/commands/ImportKeyPairCommand.d.ts +1 -1
  137. package/dist-types/commands/ImportSnapshotCommand.d.ts +1 -1
  138. package/dist-types/commands/MoveCapacityReservationInstancesCommand.d.ts +4 -2
  139. package/dist-types/commands/ProvisionByoipCidrCommand.d.ts +1 -1
  140. package/dist-types/commands/PurchaseCapacityBlockCommand.d.ts +24 -2
  141. package/dist-types/commands/PurchaseHostReservationCommand.d.ts +1 -1
  142. package/dist-types/commands/RegisterImageCommand.d.ts +1 -1
  143. package/dist-types/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  144. package/dist-types/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  145. package/dist-types/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  146. package/dist-types/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  147. package/dist-types/commands/RejectVpcPeeringConnectionCommand.d.ts +1 -2
  148. package/dist-types/commands/RequestSpotFleetCommand.d.ts +2 -2
  149. package/dist-types/commands/RequestSpotInstancesCommand.d.ts +1 -1
  150. package/dist-types/commands/RunInstancesCommand.d.ts +2 -1
  151. package/dist-types/commands/StartDeclarativePoliciesReportCommand.d.ts +1 -1
  152. package/dist-types/commands/StartNetworkInsightsAccessScopeAnalysisCommand.d.ts +1 -1
  153. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +1 -1
  154. package/dist-types/commands/index.d.ts +2 -0
  155. package/dist-types/models/models_0.d.ts +7 -6
  156. package/dist-types/models/models_1.d.ts +14 -2
  157. package/dist-types/models/models_3.d.ts +329 -270
  158. package/dist-types/models/models_4.d.ts +288 -210
  159. package/dist-types/models/models_5.d.ts +217 -381
  160. package/dist-types/models/models_6.d.ts +381 -294
  161. package/dist-types/models/models_7.d.ts +301 -145
  162. package/dist-types/models/models_8.d.ts +141 -1
  163. package/dist-types/pagination/DescribeCapacityBlockStatusPaginator.d.ts +7 -0
  164. package/dist-types/pagination/DescribeCapacityBlocksPaginator.d.ts +7 -0
  165. package/dist-types/pagination/index.d.ts +3 -1
  166. package/dist-types/protocols/Aws_ec2.d.ts +18 -0
  167. package/dist-types/ts3.4/EC2.d.ts +36 -0
  168. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  169. package/dist-types/ts3.4/commands/DescribeCapacityBlockStatusCommand.d.ts +51 -0
  170. package/dist-types/ts3.4/commands/DescribeCapacityBlocksCommand.d.ts +51 -0
  171. package/dist-types/ts3.4/commands/DescribeCarrierGatewaysCommand.d.ts +2 -4
  172. package/dist-types/ts3.4/commands/DescribeClassicLinkInstancesCommand.d.ts +1 -1
  173. package/dist-types/ts3.4/commands/DescribeClientVpnAuthorizationRulesCommand.d.ts +1 -1
  174. package/dist-types/ts3.4/commands/DescribeClientVpnConnectionsCommand.d.ts +4 -2
  175. package/dist-types/ts3.4/commands/DescribeIpamResourceDiscoveryAssociationsCommand.d.ts +2 -4
  176. package/dist-types/ts3.4/commands/DescribeIpamScopesCommand.d.ts +1 -1
  177. package/dist-types/ts3.4/commands/DescribeIpamsCommand.d.ts +1 -1
  178. package/dist-types/ts3.4/commands/DescribeIpv6PoolsCommand.d.ts +1 -1
  179. package/dist-types/ts3.4/commands/DescribeVpcEndpointServiceConfigurationsCommand.d.ts +2 -4
  180. package/dist-types/ts3.4/commands/DescribeVpcEndpointServicePermissionsCommand.d.ts +1 -1
  181. package/dist-types/ts3.4/commands/DescribeVpcEndpointServicesCommand.d.ts +1 -1
  182. package/dist-types/ts3.4/commands/DescribeVpcPeeringConnectionsCommand.d.ts +1 -1
  183. package/dist-types/ts3.4/commands/GetSpotPlacementScoresCommand.d.ts +2 -4
  184. package/dist-types/ts3.4/commands/GetSubnetCidrReservationsCommand.d.ts +1 -1
  185. package/dist-types/ts3.4/commands/GetTransitGatewayAttachmentPropagationsCommand.d.ts +1 -1
  186. package/dist-types/ts3.4/commands/GetTransitGatewayMulticastDomainAssociationsCommand.d.ts +4 -2
  187. package/dist-types/ts3.4/commands/RejectTransitGatewayMulticastDomainAssociationsCommand.d.ts +1 -1
  188. package/dist-types/ts3.4/commands/RejectTransitGatewayPeeringAttachmentCommand.d.ts +1 -1
  189. package/dist-types/ts3.4/commands/RejectTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  190. package/dist-types/ts3.4/commands/RejectVpcEndpointConnectionsCommand.d.ts +1 -1
  191. package/dist-types/ts3.4/commands/RejectVpcPeeringConnectionCommand.d.ts +4 -2
  192. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  193. package/dist-types/ts3.4/models/models_0.d.ts +1 -0
  194. package/dist-types/ts3.4/models/models_1.d.ts +2 -0
  195. package/dist-types/ts3.4/models/models_3.d.ts +71 -57
  196. package/dist-types/ts3.4/models/models_4.d.ts +59 -52
  197. package/dist-types/ts3.4/models/models_5.d.ts +53 -72
  198. package/dist-types/ts3.4/models/models_6.d.ts +67 -54
  199. package/dist-types/ts3.4/models/models_7.d.ts +56 -38
  200. package/dist-types/ts3.4/models/models_8.d.ts +38 -0
  201. package/dist-types/ts3.4/pagination/DescribeCapacityBlockStatusPaginator.d.ts +11 -0
  202. package/dist-types/ts3.4/pagination/DescribeCapacityBlocksPaginator.d.ts +11 -0
  203. package/dist-types/ts3.4/pagination/index.d.ts +3 -1
  204. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +24 -0
  205. package/dist-types/ts3.4/waiters/index.d.ts +4 -2
  206. package/dist-types/ts3.4/waiters/waitForSecurityGroupVpcAssociationAssociated.d.ts +11 -0
  207. package/dist-types/ts3.4/waiters/waitForSecurityGroupVpcAssociationDisassociated.d.ts +11 -0
  208. package/dist-types/waiters/index.d.ts +4 -2
  209. package/dist-types/waiters/waitForSecurityGroupVpcAssociationAssociated.d.ts +14 -0
  210. package/dist-types/waiters/waitForSecurityGroupVpcAssociationDisassociated.d.ts +14 -0
  211. package/package.json +15 -15
@@ -16,12 +16,11 @@ import {
16
16
  InstanceEventWindow,
17
17
  Ipv6SupportValue,
18
18
  SecurityGroupReferencingSupportValue,
19
+ SubnetAssociation,
19
20
  Tag,
20
21
  TagSpecification,
21
22
  TransitGatewayAssociationState,
22
23
  TransitGatewayAttachmentResourceType,
23
- TransitGatewayMulticastDomainAssociations,
24
- TransitGatewayPeeringAttachment,
25
24
  TransitGatewayPolicyTableAssociation,
26
25
  TransitGatewayVpcAttachment,
27
26
  UnsuccessfulItem,
@@ -76,6 +75,7 @@ import {
76
75
  ManagedPrefixList,
77
76
  RouteServer,
78
77
  RouteServerPersistRoutesAction,
78
+ SubnetCidrReservation,
79
79
  SubnetConfiguration,
80
80
  TrafficDirection,
81
81
  TrafficMirrorFilter,
@@ -95,6 +95,7 @@ import {
95
95
  } from "./models_2";
96
96
  import {
97
97
  Byoasn,
98
+ CapacityBlock,
98
99
  CapacityBlockExtension,
99
100
  Filter,
100
101
  IKEVersionsRequestListValue,
@@ -153,10 +154,61 @@ import {
153
154
  InstanceFamilyCreditSpecification,
154
155
  IpamResourceCidr,
155
156
  Purchase,
156
- TransitGatewayMulticastDomainAssociation,
157
157
  TransitGatewayPropagationState,
158
158
  UnlimitedSupportedInstanceFamily,
159
159
  } from "./models_6";
160
+ export interface SpotPlacementScore {
161
+ Region?: string | undefined;
162
+ AvailabilityZoneId?: string | undefined;
163
+ Score?: number | undefined;
164
+ }
165
+ export interface GetSpotPlacementScoresResult {
166
+ SpotPlacementScores?: SpotPlacementScore[] | undefined;
167
+ NextToken?: string | undefined;
168
+ }
169
+ export interface GetSubnetCidrReservationsRequest {
170
+ Filters?: Filter[] | undefined;
171
+ SubnetId: string | undefined;
172
+ DryRun?: boolean | undefined;
173
+ NextToken?: string | undefined;
174
+ MaxResults?: number | undefined;
175
+ }
176
+ export interface GetSubnetCidrReservationsResult {
177
+ SubnetIpv4CidrReservations?: SubnetCidrReservation[] | undefined;
178
+ SubnetIpv6CidrReservations?: SubnetCidrReservation[] | undefined;
179
+ NextToken?: string | undefined;
180
+ }
181
+ export interface GetTransitGatewayAttachmentPropagationsRequest {
182
+ TransitGatewayAttachmentId: string | undefined;
183
+ Filters?: Filter[] | undefined;
184
+ MaxResults?: number | undefined;
185
+ NextToken?: string | undefined;
186
+ DryRun?: boolean | undefined;
187
+ }
188
+ export interface TransitGatewayAttachmentPropagation {
189
+ TransitGatewayRouteTableId?: string | undefined;
190
+ State?: TransitGatewayPropagationState | undefined;
191
+ }
192
+ export interface GetTransitGatewayAttachmentPropagationsResult {
193
+ TransitGatewayAttachmentPropagations?:
194
+ | TransitGatewayAttachmentPropagation[]
195
+ | undefined;
196
+ NextToken?: string | undefined;
197
+ }
198
+ export interface GetTransitGatewayMulticastDomainAssociationsRequest {
199
+ TransitGatewayMulticastDomainId: string | undefined;
200
+ Filters?: Filter[] | undefined;
201
+ MaxResults?: number | undefined;
202
+ NextToken?: string | undefined;
203
+ DryRun?: boolean | undefined;
204
+ }
205
+ export interface TransitGatewayMulticastDomainAssociation {
206
+ TransitGatewayAttachmentId?: string | undefined;
207
+ ResourceId?: string | undefined;
208
+ ResourceType?: TransitGatewayAttachmentResourceType | undefined;
209
+ ResourceOwnerId?: string | undefined;
210
+ Subnet?: SubnetAssociation | undefined;
211
+ }
160
212
  export interface GetTransitGatewayMulticastDomainAssociationsResult {
161
213
  MulticastDomainAssociations?:
162
214
  | TransitGatewayMulticastDomainAssociation[]
@@ -1732,6 +1784,7 @@ export interface PurchaseCapacityBlockRequest {
1732
1784
  }
1733
1785
  export interface PurchaseCapacityBlockResult {
1734
1786
  CapacityReservation?: CapacityReservation | undefined;
1787
+ CapacityBlocks?: CapacityBlock[] | undefined;
1735
1788
  }
1736
1789
  export interface PurchaseCapacityBlockExtensionRequest {
1737
1790
  CapacityBlockExtensionOfferingId: string | undefined;
@@ -1859,41 +1912,6 @@ export interface RejectCapacityReservationBillingOwnershipRequest {
1859
1912
  export interface RejectCapacityReservationBillingOwnershipResult {
1860
1913
  Return?: boolean | undefined;
1861
1914
  }
1862
- export interface RejectTransitGatewayMulticastDomainAssociationsRequest {
1863
- TransitGatewayMulticastDomainId?: string | undefined;
1864
- TransitGatewayAttachmentId?: string | undefined;
1865
- SubnetIds?: string[] | undefined;
1866
- DryRun?: boolean | undefined;
1867
- }
1868
- export interface RejectTransitGatewayMulticastDomainAssociationsResult {
1869
- Associations?: TransitGatewayMulticastDomainAssociations | undefined;
1870
- }
1871
- export interface RejectTransitGatewayPeeringAttachmentRequest {
1872
- TransitGatewayAttachmentId: string | undefined;
1873
- DryRun?: boolean | undefined;
1874
- }
1875
- export interface RejectTransitGatewayPeeringAttachmentResult {
1876
- TransitGatewayPeeringAttachment?: TransitGatewayPeeringAttachment | undefined;
1877
- }
1878
- export interface RejectTransitGatewayVpcAttachmentRequest {
1879
- TransitGatewayAttachmentId: string | undefined;
1880
- DryRun?: boolean | undefined;
1881
- }
1882
- export interface RejectTransitGatewayVpcAttachmentResult {
1883
- TransitGatewayVpcAttachment?: TransitGatewayVpcAttachment | undefined;
1884
- }
1885
- export interface RejectVpcEndpointConnectionsRequest {
1886
- DryRun?: boolean | undefined;
1887
- ServiceId: string | undefined;
1888
- VpcEndpointIds: string[] | undefined;
1889
- }
1890
- export interface RejectVpcEndpointConnectionsResult {
1891
- Unsuccessful?: UnsuccessfulItem[] | undefined;
1892
- }
1893
- export interface RejectVpcPeeringConnectionRequest {
1894
- DryRun?: boolean | undefined;
1895
- VpcPeeringConnectionId: string | undefined;
1896
- }
1897
1915
  export declare const GetVpnConnectionDeviceSampleConfigurationResultFilterSensitiveLog: (
1898
1916
  obj: GetVpnConnectionDeviceSampleConfigurationResult
1899
1917
  ) => any;
@@ -11,6 +11,9 @@ import {
11
11
  RouteTableAssociationState,
12
12
  TagSpecification,
13
13
  TransitGatewayAttachmentResourceType,
14
+ TransitGatewayMulticastDomainAssociations,
15
+ TransitGatewayPeeringAttachment,
16
+ TransitGatewayVpcAttachment,
14
17
  UnsuccessfulItem,
15
18
  } from "./models_0";
16
19
  import {
@@ -64,6 +67,41 @@ import {
64
67
  InstanceMonitoring,
65
68
  Status,
66
69
  } from "./models_7";
70
+ export interface RejectTransitGatewayMulticastDomainAssociationsRequest {
71
+ TransitGatewayMulticastDomainId?: string | undefined;
72
+ TransitGatewayAttachmentId?: string | undefined;
73
+ SubnetIds?: string[] | undefined;
74
+ DryRun?: boolean | undefined;
75
+ }
76
+ export interface RejectTransitGatewayMulticastDomainAssociationsResult {
77
+ Associations?: TransitGatewayMulticastDomainAssociations | undefined;
78
+ }
79
+ export interface RejectTransitGatewayPeeringAttachmentRequest {
80
+ TransitGatewayAttachmentId: string | undefined;
81
+ DryRun?: boolean | undefined;
82
+ }
83
+ export interface RejectTransitGatewayPeeringAttachmentResult {
84
+ TransitGatewayPeeringAttachment?: TransitGatewayPeeringAttachment | undefined;
85
+ }
86
+ export interface RejectTransitGatewayVpcAttachmentRequest {
87
+ TransitGatewayAttachmentId: string | undefined;
88
+ DryRun?: boolean | undefined;
89
+ }
90
+ export interface RejectTransitGatewayVpcAttachmentResult {
91
+ TransitGatewayVpcAttachment?: TransitGatewayVpcAttachment | undefined;
92
+ }
93
+ export interface RejectVpcEndpointConnectionsRequest {
94
+ DryRun?: boolean | undefined;
95
+ ServiceId: string | undefined;
96
+ VpcEndpointIds: string[] | undefined;
97
+ }
98
+ export interface RejectVpcEndpointConnectionsResult {
99
+ Unsuccessful?: UnsuccessfulItem[] | undefined;
100
+ }
101
+ export interface RejectVpcPeeringConnectionRequest {
102
+ DryRun?: boolean | undefined;
103
+ VpcPeeringConnectionId: string | undefined;
104
+ }
67
105
  export interface RejectVpcPeeringConnectionResult {
68
106
  Return?: boolean | undefined;
69
107
  }
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ DescribeCapacityBlockStatusCommandInput,
4
+ DescribeCapacityBlockStatusCommandOutput,
5
+ } from "../commands/DescribeCapacityBlockStatusCommand";
6
+ import { EC2PaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateDescribeCapacityBlockStatus: (
8
+ config: EC2PaginationConfiguration,
9
+ input: DescribeCapacityBlockStatusCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeCapacityBlockStatusCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ DescribeCapacityBlocksCommandInput,
4
+ DescribeCapacityBlocksCommandOutput,
5
+ } from "../commands/DescribeCapacityBlocksCommand";
6
+ import { EC2PaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateDescribeCapacityBlocks: (
8
+ config: EC2PaginationConfiguration,
9
+ input: DescribeCapacityBlocksCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<DescribeCapacityBlocksCommandOutput>;
@@ -5,10 +5,12 @@ export * from "./DescribeByoipCidrsPaginator";
5
5
  export * from "./DescribeCapacityBlockExtensionHistoryPaginator";
6
6
  export * from "./DescribeCapacityBlockExtensionOfferingsPaginator";
7
7
  export * from "./DescribeCapacityBlockOfferingsPaginator";
8
+ export * from "./DescribeCapacityBlockStatusPaginator";
9
+ export * from "./DescribeCapacityBlocksPaginator";
8
10
  export * from "./DescribeCapacityReservationBillingRequestsPaginator";
11
+ export * from "./Interfaces";
9
12
  export * from "./DescribeCapacityReservationFleetsPaginator";
10
13
  export * from "./DescribeCapacityReservationsPaginator";
11
- export * from "./Interfaces";
12
14
  export * from "./DescribeCarrierGatewaysPaginator";
13
15
  export * from "./DescribeClassicLinkInstancesPaginator";
14
16
  export * from "./DescribeClientVpnAuthorizationRulesPaginator";
@@ -1015,6 +1015,14 @@ import {
1015
1015
  DescribeCapacityBlockOfferingsCommandInput,
1016
1016
  DescribeCapacityBlockOfferingsCommandOutput,
1017
1017
  } from "../commands/DescribeCapacityBlockOfferingsCommand";
1018
+ import {
1019
+ DescribeCapacityBlocksCommandInput,
1020
+ DescribeCapacityBlocksCommandOutput,
1021
+ } from "../commands/DescribeCapacityBlocksCommand";
1022
+ import {
1023
+ DescribeCapacityBlockStatusCommandInput,
1024
+ DescribeCapacityBlockStatusCommandOutput,
1025
+ } from "../commands/DescribeCapacityBlockStatusCommand";
1018
1026
  import {
1019
1027
  DescribeCapacityReservationBillingRequestsCommandInput,
1020
1028
  DescribeCapacityReservationBillingRequestsCommandOutput,
@@ -3759,6 +3767,14 @@ export declare const se_DescribeCapacityBlockOfferingsCommand: (
3759
3767
  input: DescribeCapacityBlockOfferingsCommandInput,
3760
3768
  context: __SerdeContext
3761
3769
  ) => Promise<__HttpRequest>;
3770
+ export declare const se_DescribeCapacityBlocksCommand: (
3771
+ input: DescribeCapacityBlocksCommandInput,
3772
+ context: __SerdeContext
3773
+ ) => Promise<__HttpRequest>;
3774
+ export declare const se_DescribeCapacityBlockStatusCommand: (
3775
+ input: DescribeCapacityBlockStatusCommandInput,
3776
+ context: __SerdeContext
3777
+ ) => Promise<__HttpRequest>;
3762
3778
  export declare const se_DescribeCapacityReservationBillingRequestsCommand: (
3763
3779
  input: DescribeCapacityReservationBillingRequestsCommandInput,
3764
3780
  context: __SerdeContext
@@ -6503,6 +6519,14 @@ export declare const de_DescribeCapacityBlockOfferingsCommand: (
6503
6519
  output: __HttpResponse,
6504
6520
  context: __SerdeContext
6505
6521
  ) => Promise<DescribeCapacityBlockOfferingsCommandOutput>;
6522
+ export declare const de_DescribeCapacityBlocksCommand: (
6523
+ output: __HttpResponse,
6524
+ context: __SerdeContext
6525
+ ) => Promise<DescribeCapacityBlocksCommandOutput>;
6526
+ export declare const de_DescribeCapacityBlockStatusCommand: (
6527
+ output: __HttpResponse,
6528
+ context: __SerdeContext
6529
+ ) => Promise<DescribeCapacityBlockStatusCommandOutput>;
6506
6530
  export declare const de_DescribeCapacityReservationBillingRequestsCommand: (
6507
6531
  output: __HttpResponse,
6508
6532
  context: __SerdeContext
@@ -19,12 +19,14 @@ export * from "./waitForNatGatewayDeleted";
19
19
  export * from "./waitForNetworkInterfaceAvailable";
20
20
  export * from "./waitForSnapshotImported";
21
21
  export * from "./waitForSecurityGroupExists";
22
+ export * from "./waitForSecurityGroupVpcAssociationAssociated";
23
+ export * from "./waitForSecurityGroupVpcAssociationDisassociated";
22
24
  export * from "./waitForSnapshotCompleted";
23
25
  export * from "./waitForSpotInstanceRequestFulfilled";
24
- export * from "./waitForStoreImageTaskComplete";
25
- export * from "./waitForSubnetAvailable";
26
26
  export * from "./waitForSystemStatusOk";
27
+ export * from "./waitForStoreImageTaskComplete";
27
28
  export * from "./waitForPasswordDataAvailable";
29
+ export * from "./waitForSubnetAvailable";
28
30
  export * from "./waitForVolumeAvailable";
29
31
  export * from "./waitForVolumeDeleted";
30
32
  export * from "./waitForVolumeInUse";
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeSecurityGroupVpcAssociationsCommandInput } from "../commands/DescribeSecurityGroupVpcAssociationsCommand";
3
+ import { EC2Client } from "../EC2Client";
4
+ export declare const waitForSecurityGroupVpcAssociationAssociated: (
5
+ params: WaiterConfiguration<EC2Client>,
6
+ input: DescribeSecurityGroupVpcAssociationsCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilSecurityGroupVpcAssociationAssociated: (
9
+ params: WaiterConfiguration<EC2Client>,
10
+ input: DescribeSecurityGroupVpcAssociationsCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -0,0 +1,11 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeSecurityGroupVpcAssociationsCommandInput } from "../commands/DescribeSecurityGroupVpcAssociationsCommand";
3
+ import { EC2Client } from "../EC2Client";
4
+ export declare const waitForSecurityGroupVpcAssociationDisassociated: (
5
+ params: WaiterConfiguration<EC2Client>,
6
+ input: DescribeSecurityGroupVpcAssociationsCommandInput
7
+ ) => Promise<WaiterResult>;
8
+ export declare const waitUntilSecurityGroupVpcAssociationDisassociated: (
9
+ params: WaiterConfiguration<EC2Client>,
10
+ input: DescribeSecurityGroupVpcAssociationsCommandInput
11
+ ) => Promise<WaiterResult>;
@@ -19,12 +19,14 @@ export * from "./waitForNatGatewayDeleted";
19
19
  export * from "./waitForNetworkInterfaceAvailable";
20
20
  export * from "./waitForSnapshotImported";
21
21
  export * from "./waitForSecurityGroupExists";
22
+ export * from "./waitForSecurityGroupVpcAssociationAssociated";
23
+ export * from "./waitForSecurityGroupVpcAssociationDisassociated";
22
24
  export * from "./waitForSnapshotCompleted";
23
25
  export * from "./waitForSpotInstanceRequestFulfilled";
24
- export * from "./waitForStoreImageTaskComplete";
25
- export * from "./waitForSubnetAvailable";
26
26
  export * from "./waitForSystemStatusOk";
27
+ export * from "./waitForStoreImageTaskComplete";
27
28
  export * from "./waitForPasswordDataAvailable";
29
+ export * from "./waitForSubnetAvailable";
28
30
  export * from "./waitForVolumeAvailable";
29
31
  export * from "./waitForVolumeDeleted";
30
32
  export * from "./waitForVolumeInUse";
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeSecurityGroupVpcAssociationsCommandInput } from "../commands/DescribeSecurityGroupVpcAssociationsCommand";
3
+ import { EC2Client } from "../EC2Client";
4
+ /**
5
+ *
6
+ * @deprecated Use waitUntilSecurityGroupVpcAssociationAssociated instead. waitForSecurityGroupVpcAssociationAssociated does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForSecurityGroupVpcAssociationAssociated: (params: WaiterConfiguration<EC2Client>, input: DescribeSecurityGroupVpcAssociationsCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ *
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to DescribeSecurityGroupVpcAssociationsCommand for polling.
13
+ */
14
+ export declare const waitUntilSecurityGroupVpcAssociationAssociated: (params: WaiterConfiguration<EC2Client>, input: DescribeSecurityGroupVpcAssociationsCommandInput) => Promise<WaiterResult>;
@@ -0,0 +1,14 @@
1
+ import { WaiterConfiguration, WaiterResult } from "@smithy/util-waiter";
2
+ import { DescribeSecurityGroupVpcAssociationsCommandInput } from "../commands/DescribeSecurityGroupVpcAssociationsCommand";
3
+ import { EC2Client } from "../EC2Client";
4
+ /**
5
+ *
6
+ * @deprecated Use waitUntilSecurityGroupVpcAssociationDisassociated instead. waitForSecurityGroupVpcAssociationDisassociated does not throw error in non-success cases.
7
+ */
8
+ export declare const waitForSecurityGroupVpcAssociationDisassociated: (params: WaiterConfiguration<EC2Client>, input: DescribeSecurityGroupVpcAssociationsCommandInput) => Promise<WaiterResult>;
9
+ /**
10
+ *
11
+ * @param params - Waiter configuration options.
12
+ * @param input - The input to DescribeSecurityGroupVpcAssociationsCommand for polling.
13
+ */
14
+ export declare const waitUntilSecurityGroupVpcAssociationDisassociated: (params: WaiterConfiguration<EC2Client>, input: DescribeSecurityGroupVpcAssociationsCommandInput) => Promise<WaiterResult>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-ec2",
3
3
  "description": "AWS SDK for JavaScript Ec2 Client for Node.js, Browser and React Native",
4
- "version": "3.842.0",
4
+ "version": "3.844.0",
5
5
  "scripts": {
6
6
  "build": "concurrently 'yarn:build:cjs' 'yarn:build:es' 'yarn:build:types'",
7
7
  "build:cjs": "node ../../scripts/compilation/inline client-ec2",
@@ -20,39 +20,39 @@
20
20
  "dependencies": {
21
21
  "@aws-crypto/sha256-browser": "5.2.0",
22
22
  "@aws-crypto/sha256-js": "5.2.0",
23
- "@aws-sdk/core": "3.840.0",
24
- "@aws-sdk/credential-provider-node": "3.840.0",
23
+ "@aws-sdk/core": "3.844.0",
24
+ "@aws-sdk/credential-provider-node": "3.844.0",
25
25
  "@aws-sdk/middleware-host-header": "3.840.0",
26
26
  "@aws-sdk/middleware-logger": "3.840.0",
27
27
  "@aws-sdk/middleware-recursion-detection": "3.840.0",
28
- "@aws-sdk/middleware-sdk-ec2": "3.840.0",
29
- "@aws-sdk/middleware-user-agent": "3.840.0",
28
+ "@aws-sdk/middleware-sdk-ec2": "3.844.0",
29
+ "@aws-sdk/middleware-user-agent": "3.844.0",
30
30
  "@aws-sdk/region-config-resolver": "3.840.0",
31
31
  "@aws-sdk/types": "3.840.0",
32
- "@aws-sdk/util-endpoints": "3.840.0",
32
+ "@aws-sdk/util-endpoints": "3.844.0",
33
33
  "@aws-sdk/util-user-agent-browser": "3.840.0",
34
- "@aws-sdk/util-user-agent-node": "3.840.0",
34
+ "@aws-sdk/util-user-agent-node": "3.844.0",
35
35
  "@smithy/config-resolver": "^4.1.4",
36
- "@smithy/core": "^3.6.0",
37
- "@smithy/fetch-http-handler": "^5.0.4",
36
+ "@smithy/core": "^3.7.0",
37
+ "@smithy/fetch-http-handler": "^5.1.0",
38
38
  "@smithy/hash-node": "^4.0.4",
39
39
  "@smithy/invalid-dependency": "^4.0.4",
40
40
  "@smithy/middleware-content-length": "^4.0.4",
41
- "@smithy/middleware-endpoint": "^4.1.13",
42
- "@smithy/middleware-retry": "^4.1.14",
41
+ "@smithy/middleware-endpoint": "^4.1.14",
42
+ "@smithy/middleware-retry": "^4.1.15",
43
43
  "@smithy/middleware-serde": "^4.0.8",
44
44
  "@smithy/middleware-stack": "^4.0.4",
45
45
  "@smithy/node-config-provider": "^4.1.3",
46
- "@smithy/node-http-handler": "^4.0.6",
46
+ "@smithy/node-http-handler": "^4.1.0",
47
47
  "@smithy/protocol-http": "^5.1.2",
48
- "@smithy/smithy-client": "^4.4.5",
48
+ "@smithy/smithy-client": "^4.4.6",
49
49
  "@smithy/types": "^4.3.1",
50
50
  "@smithy/url-parser": "^4.0.4",
51
51
  "@smithy/util-base64": "^4.0.0",
52
52
  "@smithy/util-body-length-browser": "^4.0.0",
53
53
  "@smithy/util-body-length-node": "^4.0.0",
54
- "@smithy/util-defaults-mode-browser": "^4.0.21",
55
- "@smithy/util-defaults-mode-node": "^4.0.21",
54
+ "@smithy/util-defaults-mode-browser": "^4.0.22",
55
+ "@smithy/util-defaults-mode-node": "^4.0.22",
56
56
  "@smithy/util-endpoints": "^3.0.6",
57
57
  "@smithy/util-middleware": "^4.0.4",
58
58
  "@smithy/util-retry": "^4.0.6",