@aws-sdk/client-ec2 3.682.0 → 3.686.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 (99) hide show
  1. package/README.md +24 -0
  2. package/dist-cjs/index.js +455 -150
  3. package/dist-es/EC2.js +6 -0
  4. package/dist-es/commands/AssociateSecurityGroupVpcCommand.js +22 -0
  5. package/dist-es/commands/DescribeSecurityGroupVpcAssociationsCommand.js +22 -0
  6. package/dist-es/commands/DisassociateSecurityGroupVpcCommand.js +22 -0
  7. package/dist-es/commands/ModifyVerifiedAccessTrustProviderCommand.js +1 -1
  8. package/dist-es/commands/index.js +3 -0
  9. package/dist-es/models/models_0.js +8 -0
  10. package/dist-es/models/models_3.js +0 -15
  11. package/dist-es/models/models_4.js +15 -6
  12. package/dist-es/models/models_5.js +6 -6
  13. package/dist-es/models/models_6.js +6 -13
  14. package/dist-es/models/models_7.js +14 -0
  15. package/dist-es/pagination/DescribeSecurityGroupVpcAssociationsPaginator.js +4 -0
  16. package/dist-es/pagination/index.js +1 -0
  17. package/dist-es/protocols/Aws_ec2.js +248 -3
  18. package/dist-types/EC2.d.ts +22 -0
  19. package/dist-types/EC2Client.d.ts +5 -2
  20. package/dist-types/commands/AssociateSecurityGroupVpcCommand.d.ts +92 -0
  21. package/dist-types/commands/AuthorizeSecurityGroupEgressCommand.d.ts +1 -0
  22. package/dist-types/commands/AuthorizeSecurityGroupIngressCommand.d.ts +1 -0
  23. package/dist-types/commands/CreateCapacityReservationBySplittingCommand.d.ts +1 -2
  24. package/dist-types/commands/CreateCapacityReservationCommand.d.ts +2 -1
  25. package/dist-types/commands/CreateNetworkInsightsPathCommand.d.ts +1 -2
  26. package/dist-types/commands/CreateSecurityGroupCommand.d.ts +1 -0
  27. package/dist-types/commands/CreateTrafficMirrorSessionCommand.d.ts +1 -1
  28. package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +1 -1
  29. package/dist-types/commands/DeleteLaunchTemplateVersionsCommand.d.ts +1 -2
  30. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +2 -2
  31. package/dist-types/commands/DescribeIdFormatCommand.d.ts +1 -1
  32. package/dist-types/commands/DescribeSecurityGroupReferencesCommand.d.ts +1 -1
  33. package/dist-types/commands/DescribeSecurityGroupRulesCommand.d.ts +1 -0
  34. package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +90 -0
  35. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -0
  36. package/dist-types/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +2 -1
  37. package/dist-types/commands/DescribeSpotFleetInstancesCommand.d.ts +1 -1
  38. package/dist-types/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +1 -2
  39. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +8 -3
  40. package/dist-types/commands/DisassociateSecurityGroupVpcCommand.d.ts +75 -0
  41. package/dist-types/commands/GetConsoleOutputCommand.d.ts +2 -1
  42. package/dist-types/commands/GetConsoleScreenshotCommand.d.ts +1 -1
  43. package/dist-types/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  44. package/dist-types/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +1 -2
  45. package/dist-types/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +1 -1
  46. package/dist-types/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  47. package/dist-types/commands/ModifyVolumeCommand.d.ts +1 -1
  48. package/dist-types/commands/ModifyVpcAttributeCommand.d.ts +1 -1
  49. package/dist-types/commands/ModifyVpcEndpointCommand.d.ts +1 -1
  50. package/dist-types/commands/RevokeSecurityGroupEgressCommand.d.ts +15 -0
  51. package/dist-types/commands/RevokeSecurityGroupIngressCommand.d.ts +15 -0
  52. package/dist-types/commands/index.d.ts +3 -0
  53. package/dist-types/models/models_0.d.ts +53 -254
  54. package/dist-types/models/models_1.d.ts +259 -111
  55. package/dist-types/models/models_2.d.ts +117 -72
  56. package/dist-types/models/models_3.d.ts +72 -58
  57. package/dist-types/models/models_4.d.ts +179 -182
  58. package/dist-types/models/models_5.d.ts +205 -139
  59. package/dist-types/models/models_6.d.ts +134 -316
  60. package/dist-types/models/models_7.d.ts +389 -6
  61. package/dist-types/pagination/DescribeSecurityGroupVpcAssociationsPaginator.d.ts +7 -0
  62. package/dist-types/pagination/index.d.ts +1 -0
  63. package/dist-types/protocols/Aws_ec2.d.ts +27 -0
  64. package/dist-types/ts3.4/EC2.d.ts +58 -0
  65. package/dist-types/ts3.4/EC2Client.d.ts +18 -0
  66. package/dist-types/ts3.4/commands/AssociateSecurityGroupVpcCommand.d.ts +51 -0
  67. package/dist-types/ts3.4/commands/CreateCapacityReservationBySplittingCommand.d.ts +4 -2
  68. package/dist-types/ts3.4/commands/CreateCapacityReservationCommand.d.ts +2 -4
  69. package/dist-types/ts3.4/commands/CreateNetworkInsightsPathCommand.d.ts +4 -2
  70. package/dist-types/ts3.4/commands/DeleteLaunchTemplateCommand.d.ts +1 -1
  71. package/dist-types/ts3.4/commands/DeleteLaunchTemplateVersionsCommand.d.ts +4 -2
  72. package/dist-types/ts3.4/commands/DescribeIdFormatCommand.d.ts +1 -1
  73. package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +51 -0
  74. package/dist-types/ts3.4/commands/DescribeSpotDatafeedSubscriptionCommand.d.ts +2 -4
  75. package/dist-types/ts3.4/commands/DescribeSpotFleetInstancesCommand.d.ts +1 -1
  76. package/dist-types/ts3.4/commands/DescribeSpotFleetRequestHistoryCommand.d.ts +4 -2
  77. package/dist-types/ts3.4/commands/DisassociateSecurityGroupVpcCommand.d.ts +51 -0
  78. package/dist-types/ts3.4/commands/GetConsoleOutputCommand.d.ts +2 -4
  79. package/dist-types/ts3.4/commands/GetConsoleScreenshotCommand.d.ts +1 -1
  80. package/dist-types/ts3.4/commands/GetDefaultCreditSpecificationCommand.d.ts +1 -1
  81. package/dist-types/ts3.4/commands/GetEbsDefaultKmsKeyIdCommand.d.ts +4 -2
  82. package/dist-types/ts3.4/commands/ModifyVerifiedAccessTrustProviderCommand.d.ts +1 -1
  83. package/dist-types/ts3.4/commands/ModifyVolumeAttributeCommand.d.ts +1 -1
  84. package/dist-types/ts3.4/commands/ModifyVolumeCommand.d.ts +1 -1
  85. package/dist-types/ts3.4/commands/ModifyVpcAttributeCommand.d.ts +1 -1
  86. package/dist-types/ts3.4/commands/ModifyVpcEndpointCommand.d.ts +1 -1
  87. package/dist-types/ts3.4/commands/index.d.ts +3 -0
  88. package/dist-types/ts3.4/models/models_0.d.ts +19 -37
  89. package/dist-types/ts3.4/models/models_1.d.ts +43 -25
  90. package/dist-types/ts3.4/models/models_2.d.ts +24 -15
  91. package/dist-types/ts3.4/models/models_3.d.ts +16 -24
  92. package/dist-types/ts3.4/models/models_4.d.ts +42 -38
  93. package/dist-types/ts3.4/models/models_5.d.ts +47 -41
  94. package/dist-types/ts3.4/models/models_6.d.ts +36 -68
  95. package/dist-types/ts3.4/models/models_7.d.ts +90 -2
  96. package/dist-types/ts3.4/pagination/DescribeSecurityGroupVpcAssociationsPaginator.d.ts +11 -0
  97. package/dist-types/ts3.4/pagination/index.d.ts +1 -0
  98. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +36 -0
  99. package/package.json +37 -37
@@ -1,6 +1,76 @@
1
- import { AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservation, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
- import { _InstanceType, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetInstanceMatchCriteria, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, InstanceLifecycle, LaunchTemplateAndOverridesResponse, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LogDestinationType, ManagedPrefixList, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
1
+ import { AccountAttribute, AccountAttributeName, ActiveInstance, Address, AddressAttribute, AddressAttributeName, AddressTransfer, AllocationState, AllowsMultipleInstanceTypes, AssociationStatus, AutoPlacement, BundleTask, ByoipCidr, CapacityReservationFleetState, CapacityReservationTenancy, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, HostMaintenance, HostRecovery, IamInstanceProfileAssociation, Tag, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessTrustProvider } from "./models_0";
2
+ import { _InstanceType, CapacityReservation, CarrierGateway, ClientVpnAuthenticationType, ClientVpnEndpointStatus, ClientVpnRouteStatus, CoipPool, CustomerGateway, DefaultTargetCapacityType, DestinationFileFormat, DhcpOptions, DiskImageFormat, EgressOnlyInternetGateway, ExportTask, FleetCapacityReservation, FleetCapacityReservationTenancy, FleetCapacityReservationUsageStrategy, FleetExcessCapacityTerminationPolicy, FleetInstanceMatchCriteria, FleetLaunchTemplateOverrides, FleetLaunchTemplateSpecification, FleetOnDemandAllocationStrategy, FleetReplacementStrategy, FleetType, InstanceLifecycle, LaunchTemplate, LaunchTemplateAndOverridesResponse, LocalGatewayRoute, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, LogDestinationType, ManagedPrefixList, PlatformValues, SpotAllocationStrategy, SpotInstanceInterruptionBehavior, TargetCapacityUnitType, TrafficType, TransportProtocol } from "./models_1";
3
3
  import { FleetStateCode, GroupIdentifier, SubnetCidrReservation, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayPrefixListReference, TransitGatewayRoute, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup } from "./models_2";
4
+ /**
5
+ * @public
6
+ */
7
+ export interface DeleteLaunchTemplateRequest {
8
+ /**
9
+ * <p>Checks whether you have the required permissions for the action, without actually
10
+ * making the request, and provides an error response. If you have the required
11
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
12
+ * <code>UnauthorizedOperation</code>.</p>
13
+ * @public
14
+ */
15
+ DryRun?: boolean;
16
+ /**
17
+ * <p>The ID of the launch template.</p>
18
+ * <p>You must specify either the launch template ID or the
19
+ * launch template name, but not both.</p>
20
+ * @public
21
+ */
22
+ LaunchTemplateId?: string;
23
+ /**
24
+ * <p>The name of the launch template.</p>
25
+ * <p>You must specify either the launch template ID or the
26
+ * launch template name, but not both.</p>
27
+ * @public
28
+ */
29
+ LaunchTemplateName?: string;
30
+ }
31
+ /**
32
+ * @public
33
+ */
34
+ export interface DeleteLaunchTemplateResult {
35
+ /**
36
+ * <p>Information about the launch template.</p>
37
+ * @public
38
+ */
39
+ LaunchTemplate?: LaunchTemplate;
40
+ }
41
+ /**
42
+ * @public
43
+ */
44
+ export interface DeleteLaunchTemplateVersionsRequest {
45
+ /**
46
+ * <p>Checks whether you have the required permissions for the action, without actually
47
+ * making the request, and provides an error response. If you have the required
48
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
49
+ * <code>UnauthorizedOperation</code>.</p>
50
+ * @public
51
+ */
52
+ DryRun?: boolean;
53
+ /**
54
+ * <p>The ID of the launch template.</p>
55
+ * <p>You must specify either the launch template ID or the
56
+ * launch template name, but not both.</p>
57
+ * @public
58
+ */
59
+ LaunchTemplateId?: string;
60
+ /**
61
+ * <p>The name of the launch template.</p>
62
+ * <p>You must specify either the launch template ID or the
63
+ * launch template name, but not both.</p>
64
+ * @public
65
+ */
66
+ LaunchTemplateName?: string;
67
+ /**
68
+ * <p>The version numbers of one or more launch template versions to delete. You can specify
69
+ * up to 200 launch template version numbers.</p>
70
+ * @public
71
+ */
72
+ Versions: string[] | undefined;
73
+ }
4
74
  /**
5
75
  * <p>Describes a launch template version that was successfully deleted.</p>
6
76
  * @public
@@ -7718,62 +7788,6 @@ export interface DescribeIdentityIdFormatResult {
7718
7788
  */
7719
7789
  Statuses?: IdFormat[];
7720
7790
  }
7721
- /**
7722
- * @public
7723
- */
7724
- export interface DescribeIdFormatRequest {
7725
- /**
7726
- * <p>The type of resource: <code>bundle</code> |
7727
- * <code>conversion-task</code> | <code>customer-gateway</code> | <code>dhcp-options</code> |
7728
- * <code>elastic-ip-allocation</code> | <code>elastic-ip-association</code> |
7729
- * <code>export-task</code> | <code>flow-log</code> | <code>image</code> |
7730
- * <code>import-task</code> | <code>instance</code> | <code>internet-gateway</code> |
7731
- * <code>network-acl</code> | <code>network-acl-association</code> |
7732
- * <code>network-interface</code> | <code>network-interface-attachment</code> |
7733
- * <code>prefix-list</code> | <code>reservation</code> | <code>route-table</code> |
7734
- * <code>route-table-association</code> | <code>security-group</code> |
7735
- * <code>snapshot</code> | <code>subnet</code> |
7736
- * <code>subnet-cidr-block-association</code> | <code>volume</code> | <code>vpc</code>
7737
- * | <code>vpc-cidr-block-association</code> | <code>vpc-endpoint</code> |
7738
- * <code>vpc-peering-connection</code> | <code>vpn-connection</code> | <code>vpn-gateway</code>
7739
- * </p>
7740
- * @public
7741
- */
7742
- Resource?: string;
7743
- }
7744
- /**
7745
- * @public
7746
- */
7747
- export interface DescribeIdFormatResult {
7748
- /**
7749
- * <p>Information about the ID format for the resource.</p>
7750
- * @public
7751
- */
7752
- Statuses?: IdFormat[];
7753
- }
7754
- /**
7755
- * @public
7756
- * @enum
7757
- */
7758
- export declare const ImageAttributeName: {
7759
- readonly blockDeviceMapping: "blockDeviceMapping";
7760
- readonly bootMode: "bootMode";
7761
- readonly deregistrationProtection: "deregistrationProtection";
7762
- readonly description: "description";
7763
- readonly imdsSupport: "imdsSupport";
7764
- readonly kernel: "kernel";
7765
- readonly lastLaunchedTime: "lastLaunchedTime";
7766
- readonly launchPermission: "launchPermission";
7767
- readonly productCodes: "productCodes";
7768
- readonly ramdisk: "ramdisk";
7769
- readonly sriovNetSupport: "sriovNetSupport";
7770
- readonly tpmSupport: "tpmSupport";
7771
- readonly uefiData: "uefiData";
7772
- };
7773
- /**
7774
- * @public
7775
- */
7776
- export type ImageAttributeName = (typeof ImageAttributeName)[keyof typeof ImageAttributeName];
7777
7791
  /**
7778
7792
  * @internal
7779
7793
  */
@@ -1,7 +1,63 @@
1
- import { ActiveInstance, AlternatePathHint, AttachmentStatus, CurrencyCodeValues, Explanation, IamInstanceProfile, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, SecurityGroupRule, Tag } from "./models_0";
1
+ import { AlternatePathHint, AttachmentStatus, CurrencyCodeValues, Explanation, IamInstanceProfile, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, PathComponent, ReservedInstancesListing, SecurityGroupRule, SecurityGroupVpcAssociationState, Tag } from "./models_0";
2
2
  import { _InstanceType, AmdSevSnpSpecification, AttributeValue, BlockDeviceMapping, CapacityReservationPreference, CapacityReservationTargetResponse, Ec2InstanceConnectEndpoint, HostnameType, InstanceIpv6Address, InternetGateway, Ipam, IpamExternalResourceVerificationToken, IpamPool, IpamResourceDiscovery, IpamScope, KeyType, LaunchTemplate, LaunchTemplateVersion, LocalGatewayRouteTable, LocalGatewayRouteTableVirtualInterfaceGroupAssociation, LocalGatewayRouteTableVpcAssociation, ManagedPrefixList, NatGateway, NetworkAcl, NetworkInsightsAccessScope, Placement, PlatformValues, StateReason, Tenancy } from "./models_1";
3
- import { GroupIdentifier, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, PlacementGroup, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, SpotDatafeedSubscription, StorageTier } from "./models_2";
4
- import { Byoasn, EventInformation, Filter, IdFormat, ImageAttributeName, InstanceTagNotificationAttribute, PermissionGroup, ProductCode } from "./models_3";
3
+ import { GroupIdentifier, NetworkInsightsPath, NetworkInterface, NetworkInterfaceAttachment, NetworkInterfacePermission, NetworkInterfaceStatus, PlacementGroup, ReplaceRootVolumeTask, RouteTable, Snapshot, SnapshotState, StorageTier } from "./models_2";
4
+ import { Byoasn, Filter, IdFormat, InstanceTagNotificationAttribute, PermissionGroup, ProductCode } from "./models_3";
5
+ /**
6
+ * @public
7
+ */
8
+ export interface DescribeIdFormatRequest {
9
+ /**
10
+ * <p>The type of resource: <code>bundle</code> |
11
+ * <code>conversion-task</code> | <code>customer-gateway</code> | <code>dhcp-options</code> |
12
+ * <code>elastic-ip-allocation</code> | <code>elastic-ip-association</code> |
13
+ * <code>export-task</code> | <code>flow-log</code> | <code>image</code> |
14
+ * <code>import-task</code> | <code>instance</code> | <code>internet-gateway</code> |
15
+ * <code>network-acl</code> | <code>network-acl-association</code> |
16
+ * <code>network-interface</code> | <code>network-interface-attachment</code> |
17
+ * <code>prefix-list</code> | <code>reservation</code> | <code>route-table</code> |
18
+ * <code>route-table-association</code> | <code>security-group</code> |
19
+ * <code>snapshot</code> | <code>subnet</code> |
20
+ * <code>subnet-cidr-block-association</code> | <code>volume</code> | <code>vpc</code>
21
+ * | <code>vpc-cidr-block-association</code> | <code>vpc-endpoint</code> |
22
+ * <code>vpc-peering-connection</code> | <code>vpn-connection</code> | <code>vpn-gateway</code>
23
+ * </p>
24
+ * @public
25
+ */
26
+ Resource?: string;
27
+ }
28
+ /**
29
+ * @public
30
+ */
31
+ export interface DescribeIdFormatResult {
32
+ /**
33
+ * <p>Information about the ID format for the resource.</p>
34
+ * @public
35
+ */
36
+ Statuses?: IdFormat[];
37
+ }
38
+ /**
39
+ * @public
40
+ * @enum
41
+ */
42
+ export declare const ImageAttributeName: {
43
+ readonly blockDeviceMapping: "blockDeviceMapping";
44
+ readonly bootMode: "bootMode";
45
+ readonly deregistrationProtection: "deregistrationProtection";
46
+ readonly description: "description";
47
+ readonly imdsSupport: "imdsSupport";
48
+ readonly kernel: "kernel";
49
+ readonly lastLaunchedTime: "lastLaunchedTime";
50
+ readonly launchPermission: "launchPermission";
51
+ readonly productCodes: "productCodes";
52
+ readonly ramdisk: "ramdisk";
53
+ readonly sriovNetSupport: "sriovNetSupport";
54
+ readonly tpmSupport: "tpmSupport";
55
+ readonly uefiData: "uefiData";
56
+ };
57
+ /**
58
+ * @public
59
+ */
60
+ export type ImageAttributeName = (typeof ImageAttributeName)[keyof typeof ImageAttributeName];
5
61
  /**
6
62
  * <p>Contains the parameters for DescribeImageAttribute.</p>
7
63
  * @public
@@ -3215,7 +3271,7 @@ export interface InstanceNetworkInterface {
3215
3271
  VpcId?: string;
3216
3272
  /**
3217
3273
  * <p>The type of network interface.</p>
3218
- * <p>Valid values: <code>interface</code> | <code>efa</code> | <code>trunk</code>
3274
+ * <p>Valid values: <code>interface</code> | <code>efa</code> | <code>efa-only</code> | <code>trunk</code>
3219
3275
  * </p>
3220
3276
  * @public
3221
3277
  */
@@ -4484,8 +4540,8 @@ export interface DescribeInstanceTypesRequest {
4484
4540
  * </li>
4485
4541
  * <li>
4486
4542
  * <p>
4487
- * <code>supported-usage-class</code> - The usage class (<code>on-demand</code> |
4488
- * <code>spot</code>).</p>
4543
+ * <code>supported-usage-class</code> - The usage class (<code>on-demand</code> | <code>spot</code> |
4544
+ * <code>capacity-block</code>).</p>
4489
4545
  * </li>
4490
4546
  * <li>
4491
4547
  * <p>
@@ -5381,7 +5437,7 @@ export interface InstanceTypeInfo {
5381
5437
  */
5382
5438
  FreeTierEligible?: boolean;
5383
5439
  /**
5384
- * <p>Indicates whether the instance type is offered for spot or On-Demand.</p>
5440
+ * <p>Indicates whether the instance type is offered for spot, On-Demand, or Capacity Blocks.</p>
5385
5441
  * @public
5386
5442
  */
5387
5443
  SupportedUsageClasses?: UsageClassType[];
@@ -8318,15 +8374,11 @@ export interface DescribeNetworkInterfacesRequest {
8318
8374
  * <li>
8319
8375
  * <p>
8320
8376
  * <code>interface-type</code> - The type of network interface (<code>api_gateway_managed</code> |
8321
- * <code>aws_codestar_connections_managed</code> | <code>branch</code> |
8322
- * <code>ec2_instance_connect_endpoint</code> | <code>efa</code> | <code>efs</code> |
8323
- * <code>gateway_load_balancer</code> | <code>gateway_load_balancer_endpoint</code> |
8324
- * <code>global_accelerator_managed</code> |
8325
- * <code>interface</code> | <code>iot_rules_managed</code> |
8326
- * <code>lambda</code> | <code>load_balancer</code> |
8327
- * <code>nat_gateway</code> | <code>network_load_balancer</code> |
8328
- * <code>quicksight</code> |
8329
- * <code>transit_gateway</code> | <code>trunk</code> |
8377
+ * <code>aws_codestar_connections_managed</code> | <code>branch</code> | <code>ec2_instance_connect_endpoint</code> |
8378
+ * <code>efa</code> | <code>efa-only</code> | <code>efs</code> | <code>gateway_load_balancer</code> |
8379
+ * <code>gateway_load_balancer_endpoint</code> | <code>global_accelerator_managed</code> | <code>interface</code> |
8380
+ * <code>iot_rules_managed</code> | <code>lambda</code> | <code>load_balancer</code> | <code>nat_gateway</code> |
8381
+ * <code>network_load_balancer</code> | <code>quicksight</code> | <code>transit_gateway</code> | <code>trunk</code> |
8330
8382
  * <code>vpc_endpoint</code>).</p>
8331
8383
  * </li>
8332
8384
  * <li>
@@ -10600,6 +10652,11 @@ export interface SecurityGroup {
10600
10652
  * @public
10601
10653
  */
10602
10654
  VpcId?: string;
10655
+ /**
10656
+ * <p>The ARN of the security group.</p>
10657
+ * @public
10658
+ */
10659
+ SecurityGroupArn?: string;
10603
10660
  /**
10604
10661
  * <p>The Amazon Web Services account ID of the owner of the security group.</p>
10605
10662
  * @public
@@ -10626,8 +10683,7 @@ export interface SecurityGroup {
10626
10683
  */
10627
10684
  export interface DescribeSecurityGroupsResult {
10628
10685
  /**
10629
- * <p>The token to include in another request to get the next page of items.
10630
- * This value is <code>null</code> when there are no more items to return.</p>
10686
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
10631
10687
  * @public
10632
10688
  */
10633
10689
  NextToken?: string;
@@ -10637,6 +10693,111 @@ export interface DescribeSecurityGroupsResult {
10637
10693
  */
10638
10694
  SecurityGroups?: SecurityGroup[];
10639
10695
  }
10696
+ /**
10697
+ * @public
10698
+ */
10699
+ export interface DescribeSecurityGroupVpcAssociationsRequest {
10700
+ /**
10701
+ * <p>Security group VPC association filters.</p>
10702
+ * <ul>
10703
+ * <li>
10704
+ * <p>
10705
+ * <code>group-id</code>: The security group ID.</p>
10706
+ * </li>
10707
+ * <li>
10708
+ * <p>
10709
+ * <code>vpc-id</code>: The ID of the associated VPC.</p>
10710
+ * </li>
10711
+ * <li>
10712
+ * <p>
10713
+ * <code>vpc-owner-id</code>: The account ID of the VPC owner.</p>
10714
+ * </li>
10715
+ * <li>
10716
+ * <p>
10717
+ * <code>state</code>: The state of the association.</p>
10718
+ * </li>
10719
+ * <li>
10720
+ * <p>
10721
+ * <code>tag:<key></code>: The key/value combination of a tag assigned to the resource. Use
10722
+ * the tag key in the filter name and the tag value as the filter value. For
10723
+ * example, to find all resources that have a tag with the key <code>Owner</code>
10724
+ * and the value <code>TeamA</code>, specify <code>tag:Owner</code> for the filter
10725
+ * name and <code>TeamA</code> for the filter value.</p>
10726
+ * </li>
10727
+ * <li>
10728
+ * <p>
10729
+ * <code>tag-key</code>: The key of a tag assigned to the resource. Use this filter to find all resources assigned a tag with a specific key, regardless of the tag value.</p>
10730
+ * </li>
10731
+ * </ul>
10732
+ * @public
10733
+ */
10734
+ Filters?: Filter[];
10735
+ /**
10736
+ * <p>The token returned from a previous paginated request. Pagination continues from the end of the items returned by the previous request.</p>
10737
+ * @public
10738
+ */
10739
+ NextToken?: string;
10740
+ /**
10741
+ * <p>The maximum number of items to return for this request.
10742
+ * To get the next page of items, make another request with the token returned in the output.
10743
+ * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
10744
+ * @public
10745
+ */
10746
+ MaxResults?: number;
10747
+ /**
10748
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
10749
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
10750
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
10751
+ * @public
10752
+ */
10753
+ DryRun?: boolean;
10754
+ }
10755
+ /**
10756
+ * <p>A security group association with a VPC that you made with <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_AssociateSecurityGroupVpc.html">AssociateSecurityGroupVpc</a>.</p>
10757
+ * @public
10758
+ */
10759
+ export interface SecurityGroupVpcAssociation {
10760
+ /**
10761
+ * <p>The association's security group ID.</p>
10762
+ * @public
10763
+ */
10764
+ GroupId?: string;
10765
+ /**
10766
+ * <p>The association's VPC ID.</p>
10767
+ * @public
10768
+ */
10769
+ VpcId?: string;
10770
+ /**
10771
+ * <p>The Amazon Web Services account ID of the owner of the VPC.</p>
10772
+ * @public
10773
+ */
10774
+ VpcOwnerId?: string;
10775
+ /**
10776
+ * <p>The association's state.</p>
10777
+ * @public
10778
+ */
10779
+ State?: SecurityGroupVpcAssociationState;
10780
+ /**
10781
+ * <p>The association's state reason.</p>
10782
+ * @public
10783
+ */
10784
+ StateReason?: string;
10785
+ }
10786
+ /**
10787
+ * @public
10788
+ */
10789
+ export interface DescribeSecurityGroupVpcAssociationsResult {
10790
+ /**
10791
+ * <p>The security group VPC associations.</p>
10792
+ * @public
10793
+ */
10794
+ SecurityGroupVpcAssociations?: SecurityGroupVpcAssociation[];
10795
+ /**
10796
+ * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there are no more items to return.</p>
10797
+ * @public
10798
+ */
10799
+ NextToken?: string;
10800
+ }
10640
10801
  /**
10641
10802
  * @public
10642
10803
  * @enum
@@ -11000,170 +11161,6 @@ export interface DescribeSpotDatafeedSubscriptionRequest {
11000
11161
  */
11001
11162
  DryRun?: boolean;
11002
11163
  }
11003
- /**
11004
- * <p>Contains the output of DescribeSpotDatafeedSubscription.</p>
11005
- * @public
11006
- */
11007
- export interface DescribeSpotDatafeedSubscriptionResult {
11008
- /**
11009
- * <p>The Spot Instance data feed subscription.</p>
11010
- * @public
11011
- */
11012
- SpotDatafeedSubscription?: SpotDatafeedSubscription;
11013
- }
11014
- /**
11015
- * <p>Contains the parameters for DescribeSpotFleetInstances.</p>
11016
- * @public
11017
- */
11018
- export interface DescribeSpotFleetInstancesRequest {
11019
- /**
11020
- * <p>Checks whether you have the required permissions for the action, without actually
11021
- * making the request, and provides an error response. If you have the required
11022
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
11023
- * <code>UnauthorizedOperation</code>.</p>
11024
- * @public
11025
- */
11026
- DryRun?: boolean;
11027
- /**
11028
- * <p>The ID of the Spot Fleet request.</p>
11029
- * @public
11030
- */
11031
- SpotFleetRequestId: string | undefined;
11032
- /**
11033
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
11034
- * are no more items to return.</p>
11035
- * @public
11036
- */
11037
- NextToken?: string;
11038
- /**
11039
- * <p>The maximum number of items to return for this request.
11040
- * To get the next page of items, make another request with the token returned in the output.
11041
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
11042
- * @public
11043
- */
11044
- MaxResults?: number;
11045
- }
11046
- /**
11047
- * <p>Contains the output of DescribeSpotFleetInstances.</p>
11048
- * @public
11049
- */
11050
- export interface DescribeSpotFleetInstancesResponse {
11051
- /**
11052
- * <p>The running instances. This list is refreshed periodically and might be out of
11053
- * date.</p>
11054
- * @public
11055
- */
11056
- ActiveInstances?: ActiveInstance[];
11057
- /**
11058
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
11059
- * are no more items to return.</p>
11060
- * @public
11061
- */
11062
- NextToken?: string;
11063
- /**
11064
- * <p>The ID of the Spot Fleet request.</p>
11065
- * @public
11066
- */
11067
- SpotFleetRequestId?: string;
11068
- }
11069
- /**
11070
- * @public
11071
- * @enum
11072
- */
11073
- export declare const EventType: {
11074
- readonly BATCH_CHANGE: "fleetRequestChange";
11075
- readonly ERROR: "error";
11076
- readonly INFORMATION: "information";
11077
- readonly INSTANCE_CHANGE: "instanceChange";
11078
- };
11079
- /**
11080
- * @public
11081
- */
11082
- export type EventType = (typeof EventType)[keyof typeof EventType];
11083
- /**
11084
- * <p>Contains the parameters for DescribeSpotFleetRequestHistory.</p>
11085
- * @public
11086
- */
11087
- export interface DescribeSpotFleetRequestHistoryRequest {
11088
- /**
11089
- * <p>Checks whether you have the required permissions for the action, without actually
11090
- * making the request, and provides an error response. If you have the required
11091
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
11092
- * <code>UnauthorizedOperation</code>.</p>
11093
- * @public
11094
- */
11095
- DryRun?: boolean;
11096
- /**
11097
- * <p>The ID of the Spot Fleet request.</p>
11098
- * @public
11099
- */
11100
- SpotFleetRequestId: string | undefined;
11101
- /**
11102
- * <p>The type of events to describe. By default, all events are described.</p>
11103
- * @public
11104
- */
11105
- EventType?: EventType;
11106
- /**
11107
- * <p>The starting date and time for the events, in UTC format (for example,
11108
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
11109
- * @public
11110
- */
11111
- StartTime: Date | undefined;
11112
- /**
11113
- * <p>The token to include in another request to get the next page of items. This value is <code>null</code> when there
11114
- * are no more items to return.</p>
11115
- * @public
11116
- */
11117
- NextToken?: string;
11118
- /**
11119
- * <p>The maximum number of items to return for this request.
11120
- * To get the next page of items, make another request with the token returned in the output.
11121
- * For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/Query-Requests.html#api-pagination">Pagination</a>.</p>
11122
- * @public
11123
- */
11124
- MaxResults?: number;
11125
- }
11126
- /**
11127
- * <p>Describes an event in the history of the Spot Fleet request.</p>
11128
- * @public
11129
- */
11130
- export interface HistoryRecord {
11131
- /**
11132
- * <p>Information about the event.</p>
11133
- * @public
11134
- */
11135
- EventInformation?: EventInformation;
11136
- /**
11137
- * <p>The event type.</p>
11138
- * <ul>
11139
- * <li>
11140
- * <p>
11141
- * <code>error</code> - An error with the Spot Fleet request.</p>
11142
- * </li>
11143
- * <li>
11144
- * <p>
11145
- * <code>fleetRequestChange</code> - A change in the status or configuration of
11146
- * the Spot Fleet request.</p>
11147
- * </li>
11148
- * <li>
11149
- * <p>
11150
- * <code>instanceChange</code> - An instance was launched or terminated.</p>
11151
- * </li>
11152
- * <li>
11153
- * <p>
11154
- * <code>Information</code> - An informational event.</p>
11155
- * </li>
11156
- * </ul>
11157
- * @public
11158
- */
11159
- EventType?: EventType;
11160
- /**
11161
- * <p>The date and time of the event, in UTC format (for example,
11162
- * <i>YYYY</i>-<i>MM</i>-<i>DD</i>T<i>HH</i>:<i>MM</i>:<i>SS</i>Z).</p>
11163
- * @public
11164
- */
11165
- Timestamp?: Date;
11166
- }
11167
11164
  /**
11168
11165
  * @internal
11169
11166
  */