@aws-sdk/client-ec2 3.695.0 → 3.697.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (162) hide show
  1. package/README.md +48 -0
  2. package/dist-cjs/index.js +730 -57
  3. package/dist-es/EC2.js +12 -0
  4. package/dist-es/commands/CreateVpcBlockPublicAccessExclusionCommand.js +22 -0
  5. package/dist-es/commands/DeleteVpcBlockPublicAccessExclusionCommand.js +22 -0
  6. package/dist-es/commands/DescribeVpcBlockPublicAccessExclusionsCommand.js +22 -0
  7. package/dist-es/commands/DescribeVpcBlockPublicAccessOptionsCommand.js +22 -0
  8. package/dist-es/commands/ModifyVpcBlockPublicAccessExclusionCommand.js +22 -0
  9. package/dist-es/commands/ModifyVpcBlockPublicAccessOptionsCommand.js +22 -0
  10. package/dist-es/commands/index.js +6 -0
  11. package/dist-es/models/models_1.js +7 -4
  12. package/dist-es/models/models_2.js +20 -0
  13. package/dist-es/models/models_3.js +0 -6
  14. package/dist-es/models/models_4.js +6 -15
  15. package/dist-es/models/models_5.js +25 -0
  16. package/dist-es/protocols/Aws_ec2.js +563 -28
  17. package/dist-types/EC2.d.ts +44 -0
  18. package/dist-types/EC2Client.d.ts +8 -2
  19. package/dist-types/commands/BundleInstanceCommand.d.ts +4 -2
  20. package/dist-types/commands/CancelImageLaunchPermissionCommand.d.ts +3 -4
  21. package/dist-types/commands/CopyImageCommand.d.ts +8 -7
  22. package/dist-types/commands/CreateDefaultSubnetCommand.d.ts +3 -0
  23. package/dist-types/commands/CreateDefaultVpcCommand.d.ts +3 -0
  24. package/dist-types/commands/CreateFleetCommand.d.ts +30 -3
  25. package/dist-types/commands/CreateImageCommand.d.ts +6 -5
  26. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +11 -2
  27. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +22 -4
  28. package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -1
  29. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  30. package/dist-types/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +1 -2
  31. package/dist-types/commands/CreateRestoreImageTaskCommand.d.ts +3 -3
  32. package/dist-types/commands/CreateStoreImageTaskCommand.d.ts +1 -1
  33. package/dist-types/commands/CreateSubnetCommand.d.ts +3 -0
  34. package/dist-types/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +100 -0
  35. package/dist-types/commands/CreateVpcCommand.d.ts +3 -0
  36. package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +2 -1
  37. package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  38. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
  39. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  40. package/dist-types/commands/DeleteIpamPoolCommand.d.ts +1 -1
  41. package/dist-types/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  42. package/dist-types/commands/DeleteIpamScopeCommand.d.ts +1 -1
  43. package/dist-types/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +87 -0
  44. package/dist-types/commands/DeregisterImageCommand.d.ts +11 -11
  45. package/dist-types/commands/DescribeBundleTasksCommand.d.ts +6 -4
  46. package/dist-types/commands/DescribeFleetsCommand.d.ts +30 -3
  47. package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -1
  48. package/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
  49. package/dist-types/commands/DescribeHostsCommand.d.ts +1 -1
  50. package/dist-types/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  51. package/dist-types/commands/DescribeImageAttributeCommand.d.ts +4 -4
  52. package/dist-types/commands/DescribeImagesCommand.d.ts +8 -7
  53. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  54. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +11 -2
  55. package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  56. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  57. package/dist-types/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  58. package/dist-types/commands/DescribeSnapshotTierStatusCommand.d.ts +1 -2
  59. package/dist-types/commands/DescribeSnapshotsCommand.d.ts +1 -1
  60. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +20 -2
  61. package/dist-types/commands/DescribeStoreImageTasksCommand.d.ts +1 -1
  62. package/dist-types/commands/DescribeSubnetsCommand.d.ts +3 -0
  63. package/dist-types/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +102 -0
  64. package/dist-types/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +78 -0
  65. package/dist-types/commands/DescribeVpcsCommand.d.ts +3 -0
  66. package/dist-types/commands/DisableFastLaunchCommand.d.ts +6 -4
  67. package/dist-types/commands/DisableImageBlockPublicAccessCommand.d.ts +2 -2
  68. package/dist-types/commands/EnableFastLaunchCommand.d.ts +8 -7
  69. package/dist-types/commands/EnableImageDeprecationCommand.d.ts +2 -1
  70. package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -1
  71. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  72. package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  73. package/dist-types/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  74. package/dist-types/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  75. package/dist-types/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  76. package/dist-types/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  77. package/dist-types/commands/GetCoipPoolUsageCommand.d.ts +1 -2
  78. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +10 -1
  79. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +11 -2
  80. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +10 -1
  81. package/dist-types/commands/ListImagesInRecycleBinCommand.d.ts +2 -2
  82. package/dist-types/commands/ModifyFleetCommand.d.ts +10 -1
  83. package/dist-types/commands/ModifyImageAttributeCommand.d.ts +7 -5
  84. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +2 -2
  85. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +10 -1
  86. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -1
  87. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  88. package/dist-types/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  89. package/dist-types/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  90. package/dist-types/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  91. package/dist-types/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  92. package/dist-types/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  93. package/dist-types/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  94. package/dist-types/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +88 -0
  95. package/dist-types/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +79 -0
  96. package/dist-types/commands/RegisterImageCommand.d.ts +6 -7
  97. package/dist-types/commands/RequestSpotFleetCommand.d.ts +20 -2
  98. package/dist-types/commands/RestoreImageFromRecycleBinCommand.d.ts +2 -1
  99. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  100. package/dist-types/commands/index.d.ts +6 -0
  101. package/dist-types/models/models_0.d.ts +27 -23
  102. package/dist-types/models/models_1.d.ts +310 -277
  103. package/dist-types/models/models_2.d.ts +417 -219
  104. package/dist-types/models/models_3.d.ts +268 -589
  105. package/dist-types/models/models_4.d.ts +6951 -7048
  106. package/dist-types/models/models_5.d.ts +3709 -3519
  107. package/dist-types/models/models_6.d.ts +4429 -4255
  108. package/dist-types/models/models_7.d.ts +624 -29
  109. package/dist-types/protocols/Aws_ec2.d.ts +54 -0
  110. package/dist-types/ts3.4/EC2.d.ts +140 -0
  111. package/dist-types/ts3.4/EC2Client.d.ts +36 -0
  112. package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +2 -4
  113. package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  114. package/dist-types/ts3.4/commands/CreateNetworkInsightsAccessScopeCommand.d.ts +4 -2
  115. package/dist-types/ts3.4/commands/CreateVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  116. package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +2 -4
  117. package/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  118. package/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +1 -1
  119. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -1
  120. package/dist-types/ts3.4/commands/DeleteIpamPoolCommand.d.ts +1 -1
  121. package/dist-types/ts3.4/commands/DeleteIpamResourceDiscoveryCommand.d.ts +1 -1
  122. package/dist-types/ts3.4/commands/DeleteIpamScopeCommand.d.ts +1 -1
  123. package/dist-types/ts3.4/commands/DeleteVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  124. package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -4
  125. package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +1 -1
  126. package/dist-types/ts3.4/commands/DescribeHostsCommand.d.ts +1 -1
  127. package/dist-types/ts3.4/commands/DescribeIamInstanceProfileAssociationsCommand.d.ts +1 -1
  128. package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  129. package/dist-types/ts3.4/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  130. package/dist-types/ts3.4/commands/DescribeSnapshotAttributeCommand.d.ts +1 -1
  131. package/dist-types/ts3.4/commands/DescribeSnapshotTierStatusCommand.d.ts +4 -2
  132. package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +1 -1
  133. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessExclusionsCommand.d.ts +51 -0
  134. package/dist-types/ts3.4/commands/DescribeVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  135. package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -4
  136. package/dist-types/ts3.4/commands/ExportImageCommand.d.ts +1 -1
  137. package/dist-types/ts3.4/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  138. package/dist-types/ts3.4/commands/GetAssociatedEnclaveCertificateIamRolesCommand.d.ts +1 -1
  139. package/dist-types/ts3.4/commands/GetAssociatedIpv6PoolCidrsCommand.d.ts +1 -1
  140. package/dist-types/ts3.4/commands/GetAwsNetworkPerformanceDataCommand.d.ts +1 -1
  141. package/dist-types/ts3.4/commands/GetCapacityReservationUsageCommand.d.ts +1 -1
  142. package/dist-types/ts3.4/commands/GetCoipPoolUsageCommand.d.ts +4 -2
  143. package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -4
  144. package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  145. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointCommand.d.ts +1 -1
  146. package/dist-types/ts3.4/commands/ModifyVerifiedAccessEndpointPolicyCommand.d.ts +1 -1
  147. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupCommand.d.ts +1 -1
  148. package/dist-types/ts3.4/commands/ModifyVerifiedAccessGroupPolicyCommand.d.ts +1 -1
  149. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceCommand.d.ts +1 -1
  150. package/dist-types/ts3.4/commands/ModifyVerifiedAccessInstanceLoggingConfigurationCommand.d.ts +1 -1
  151. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessExclusionCommand.d.ts +51 -0
  152. package/dist-types/ts3.4/commands/ModifyVpcBlockPublicAccessOptionsCommand.d.ts +51 -0
  153. package/dist-types/ts3.4/commands/index.d.ts +6 -0
  154. package/dist-types/ts3.4/models/models_1.d.ts +34 -60
  155. package/dist-types/ts3.4/models/models_2.d.ts +102 -57
  156. package/dist-types/ts3.4/models/models_3.d.ts +64 -117
  157. package/dist-types/ts3.4/models/models_4.d.ts +119 -113
  158. package/dist-types/ts3.4/models/models_5.d.ts +152 -141
  159. package/dist-types/ts3.4/models/models_6.d.ts +139 -138
  160. package/dist-types/ts3.4/models/models_7.d.ts +158 -3
  161. package/dist-types/ts3.4/protocols/Aws_ec2.d.ts +72 -0
  162. package/package.json +37 -37
@@ -68,7 +68,7 @@ declare const GetSpotPlacementScoresCommand_base: {
68
68
  * Max: Number("int"),
69
69
  * },
70
70
  * CpuManufacturers: [ // CpuManufacturerSet
71
- * "intel" || "amd" || "amazon-web-services",
71
+ * "intel" || "amd" || "amazon-web-services" || "apple",
72
72
  * ],
73
73
  * MemoryGiBPerVCpu: { // MemoryGiBPerVCpuRequest
74
74
  * Min: Number("double"),
@@ -126,6 +126,15 @@ declare const GetSpotPlacementScoresCommand_base: {
126
126
  * "STRING_VALUE",
127
127
  * ],
128
128
  * MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
129
+ * BaselinePerformanceFactors: { // BaselinePerformanceFactorsRequest
130
+ * Cpu: { // CpuPerformanceFactorRequest
131
+ * References: [ // PerformanceFactorReferenceSetRequest
132
+ * { // PerformanceFactorReferenceRequest
133
+ * InstanceFamily: "STRING_VALUE",
134
+ * },
135
+ * ],
136
+ * },
137
+ * },
129
138
  * },
130
139
  * },
131
140
  * DryRun: true || false,
@@ -27,8 +27,8 @@ declare const ListImagesInRecycleBinCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Lists one or more AMIs that are currently in the Recycle Bin. For more information,
31
- * see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recycle
30
+ * <p>Lists one or more AMIs that are currently in the Recycle Bin. For more information, see
31
+ * <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recycle
32
32
  * Bin</a> in the <i>Amazon EC2 User Guide</i>.</p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
@@ -94,7 +94,7 @@ declare const ModifyFleetCommand_base: {
94
94
  * Max: Number("int"),
95
95
  * },
96
96
  * CpuManufacturers: [ // CpuManufacturerSet
97
- * "intel" || "amd" || "amazon-web-services",
97
+ * "intel" || "amd" || "amazon-web-services" || "apple",
98
98
  * ],
99
99
  * MemoryGiBPerVCpu: { // MemoryGiBPerVCpuRequest
100
100
  * Min: Number("double"),
@@ -152,6 +152,15 @@ declare const ModifyFleetCommand_base: {
152
152
  * "STRING_VALUE",
153
153
  * ],
154
154
  * MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
155
+ * BaselinePerformanceFactors: { // BaselinePerformanceFactorsRequest
156
+ * Cpu: { // CpuPerformanceFactorRequest
157
+ * References: [ // PerformanceFactorReferenceSetRequest
158
+ * { // PerformanceFactorReferenceRequest
159
+ * InstanceFamily: "STRING_VALUE",
160
+ * },
161
+ * ],
162
+ * },
163
+ * },
155
164
  * },
156
165
  * ImageId: "STRING_VALUE",
157
166
  * },
@@ -27,12 +27,14 @@ declare const ModifyImageAttributeCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Modifies the specified attribute of the specified AMI. You can specify only one attribute at a time.</p>
31
- * <p>To specify the attribute, you can use the <code>Attribute</code> parameter, or one of the following parameters:
32
- * <code>Description</code>, <code>ImdsSupport</code>, or <code>LaunchPermission</code>.</p>
30
+ * <p>Modifies the specified attribute of the specified AMI. You can specify only one attribute
31
+ * at a time.</p>
32
+ * <p>To specify the attribute, you can use the <code>Attribute</code> parameter, or one of the
33
+ * following parameters: <code>Description</code>, <code>ImdsSupport</code>, or
34
+ * <code>LaunchPermission</code>.</p>
33
35
  * <p>Images with an Amazon Web Services Marketplace product code cannot be made public.</p>
34
- * <p>To enable the SriovNetSupport enhanced networking attribute of an image, enable SriovNetSupport on an instance
35
- * and create an AMI from the instance.</p>
36
+ * <p>To enable the SriovNetSupport enhanced networking attribute of an image, enable
37
+ * SriovNetSupport on an instance and create an AMI from the instance.</p>
36
38
  * @example
37
39
  * Use a bare-bones client and the command you need to make an API call.
38
40
  * ```javascript
@@ -29,7 +29,7 @@ declare const ModifyInstanceCapacityReservationAttributesCommand_base: {
29
29
  /**
30
30
  * <p>Modifies the Capacity Reservation settings for a stopped instance. Use this action to configure an
31
31
  * instance to target a specific Capacity Reservation, run in any <code>open</code> Capacity Reservation with matching
32
- * attributes, or run On-Demand Instance capacity.</p>
32
+ * attributes, run in On-Demand Instance capacity, or only run in a Capacity Reservation.</p>
33
33
  * @example
34
34
  * Use a bare-bones client and the command you need to make an API call.
35
35
  * ```javascript
@@ -39,7 +39,7 @@ declare const ModifyInstanceCapacityReservationAttributesCommand_base: {
39
39
  * const input = { // ModifyInstanceCapacityReservationAttributesRequest
40
40
  * InstanceId: "STRING_VALUE", // required
41
41
  * CapacityReservationSpecification: { // CapacityReservationSpecification
42
- * CapacityReservationPreference: "open" || "none",
42
+ * CapacityReservationPreference: "capacity-reservations-only" || "open" || "none",
43
43
  * CapacityReservationTarget: { // CapacityReservationTarget
44
44
  * CapacityReservationId: "STRING_VALUE",
45
45
  * CapacityReservationResourceGroupArn: "STRING_VALUE",
@@ -84,7 +84,7 @@ declare const ModifySpotFleetRequestCommand_base: {
84
84
  * Max: Number("int"),
85
85
  * },
86
86
  * CpuManufacturers: [ // CpuManufacturerSet
87
- * "intel" || "amd" || "amazon-web-services",
87
+ * "intel" || "amd" || "amazon-web-services" || "apple",
88
88
  * ],
89
89
  * MemoryGiBPerVCpu: { // MemoryGiBPerVCpu
90
90
  * Min: Number("double"),
@@ -142,6 +142,15 @@ declare const ModifySpotFleetRequestCommand_base: {
142
142
  * "STRING_VALUE",
143
143
  * ],
144
144
  * MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
145
+ * BaselinePerformanceFactors: { // BaselinePerformanceFactors
146
+ * Cpu: { // CpuPerformanceFactor
147
+ * References: [ // PerformanceFactorReferenceSet
148
+ * { // PerformanceFactorReference
149
+ * InstanceFamily: "STRING_VALUE",
150
+ * },
151
+ * ],
152
+ * },
153
+ * },
145
154
  * },
146
155
  * },
147
156
  * ],
@@ -1,7 +1,8 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyTransitGatewayPrefixListReferenceRequest, ModifyTransitGatewayPrefixListReferenceResult } from "../models/models_6";
4
+ import { ModifyTransitGatewayPrefixListReferenceRequest } from "../models/models_6";
5
+ import { ModifyTransitGatewayPrefixListReferenceResult } from "../models/models_7";
5
6
  /**
6
7
  * @public
7
8
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyTransitGatewayVpcAttachmentRequest, ModifyTransitGatewayVpcAttachmentResult } from "../models/models_6";
4
+ import { ModifyTransitGatewayVpcAttachmentRequest, ModifyTransitGatewayVpcAttachmentResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyVerifiedAccessEndpointRequest, ModifyVerifiedAccessEndpointResult } from "../models/models_6";
4
+ import { ModifyVerifiedAccessEndpointRequest, ModifyVerifiedAccessEndpointResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyVerifiedAccessEndpointPolicyRequest, ModifyVerifiedAccessEndpointPolicyResult } from "../models/models_6";
4
+ import { ModifyVerifiedAccessEndpointPolicyRequest, ModifyVerifiedAccessEndpointPolicyResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyVerifiedAccessGroupRequest, ModifyVerifiedAccessGroupResult } from "../models/models_6";
4
+ import { ModifyVerifiedAccessGroupRequest, ModifyVerifiedAccessGroupResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyVerifiedAccessGroupPolicyRequest, ModifyVerifiedAccessGroupPolicyResult } from "../models/models_6";
4
+ import { ModifyVerifiedAccessGroupPolicyRequest, ModifyVerifiedAccessGroupPolicyResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyVerifiedAccessInstanceRequest, ModifyVerifiedAccessInstanceResult } from "../models/models_6";
4
+ import { ModifyVerifiedAccessInstanceRequest, ModifyVerifiedAccessInstanceResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -1,7 +1,7 @@
1
1
  import { Command as $Command } from "@smithy/smithy-client";
2
2
  import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
3
  import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
- import { ModifyVerifiedAccessInstanceLoggingConfigurationRequest, ModifyVerifiedAccessInstanceLoggingConfigurationResult } from "../models/models_6";
4
+ import { ModifyVerifiedAccessInstanceLoggingConfigurationRequest, ModifyVerifiedAccessInstanceLoggingConfigurationResult } from "../models/models_7";
5
5
  /**
6
6
  * @public
7
7
  */
@@ -0,0 +1,88 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import { ModifyVpcBlockPublicAccessExclusionRequest, ModifyVpcBlockPublicAccessExclusionResult } from "../models/models_7";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ModifyVpcBlockPublicAccessExclusionCommand}.
14
+ */
15
+ export interface ModifyVpcBlockPublicAccessExclusionCommandInput extends ModifyVpcBlockPublicAccessExclusionRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ModifyVpcBlockPublicAccessExclusionCommand}.
21
+ */
22
+ export interface ModifyVpcBlockPublicAccessExclusionCommandOutput extends ModifyVpcBlockPublicAccessExclusionResult, __MetadataBearer {
23
+ }
24
+ declare const ModifyVpcBlockPublicAccessExclusionCommand_base: {
25
+ new (input: ModifyVpcBlockPublicAccessExclusionCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyVpcBlockPublicAccessExclusionCommandInput, ModifyVpcBlockPublicAccessExclusionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ModifyVpcBlockPublicAccessExclusionCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyVpcBlockPublicAccessExclusionCommandInput, ModifyVpcBlockPublicAccessExclusionCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Modify VPC Block Public Access (BPA) exclusions. A VPC BPA exclusion is a mode that can be applied to a single VPC or subnet that exempts it from the account’s BPA mode and will allow bidirectional or egress-only access. You can create BPA exclusions for VPCs and subnets even when BPA is not enabled on the account to ensure that there is no traffic disruption to the exclusions when VPC BPA is turned on.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EC2Client, ModifyVpcBlockPublicAccessExclusionCommand } from "@aws-sdk/client-ec2"; // ES Modules import
35
+ * // const { EC2Client, ModifyVpcBlockPublicAccessExclusionCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
36
+ * const client = new EC2Client(config);
37
+ * const input = { // ModifyVpcBlockPublicAccessExclusionRequest
38
+ * DryRun: true || false,
39
+ * ExclusionId: "STRING_VALUE", // required
40
+ * InternetGatewayExclusionMode: "allow-bidirectional" || "allow-egress", // required
41
+ * };
42
+ * const command = new ModifyVpcBlockPublicAccessExclusionCommand(input);
43
+ * const response = await client.send(command);
44
+ * // { // ModifyVpcBlockPublicAccessExclusionResult
45
+ * // VpcBlockPublicAccessExclusion: { // VpcBlockPublicAccessExclusion
46
+ * // ExclusionId: "STRING_VALUE",
47
+ * // InternetGatewayExclusionMode: "allow-bidirectional" || "allow-egress",
48
+ * // ResourceArn: "STRING_VALUE",
49
+ * // State: "create-in-progress" || "create-complete" || "create-failed" || "update-in-progress" || "update-complete" || "update-failed" || "delete-in-progress" || "delete-complete" || "disable-in-progress" || "disable-complete",
50
+ * // Reason: "STRING_VALUE",
51
+ * // CreationTimestamp: new Date("TIMESTAMP"),
52
+ * // LastUpdateTimestamp: new Date("TIMESTAMP"),
53
+ * // DeletionTimestamp: new Date("TIMESTAMP"),
54
+ * // Tags: [ // TagList
55
+ * // { // Tag
56
+ * // Key: "STRING_VALUE",
57
+ * // Value: "STRING_VALUE",
58
+ * // },
59
+ * // ],
60
+ * // },
61
+ * // };
62
+ *
63
+ * ```
64
+ *
65
+ * @param ModifyVpcBlockPublicAccessExclusionCommandInput - {@link ModifyVpcBlockPublicAccessExclusionCommandInput}
66
+ * @returns {@link ModifyVpcBlockPublicAccessExclusionCommandOutput}
67
+ * @see {@link ModifyVpcBlockPublicAccessExclusionCommandInput} for command's `input` shape.
68
+ * @see {@link ModifyVpcBlockPublicAccessExclusionCommandOutput} for command's `response` shape.
69
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
70
+ *
71
+ * @throws {@link EC2ServiceException}
72
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
73
+ *
74
+ * @public
75
+ */
76
+ export declare class ModifyVpcBlockPublicAccessExclusionCommand extends ModifyVpcBlockPublicAccessExclusionCommand_base {
77
+ /** @internal type navigation helper, not in runtime. */
78
+ protected static __types: {
79
+ api: {
80
+ input: ModifyVpcBlockPublicAccessExclusionRequest;
81
+ output: ModifyVpcBlockPublicAccessExclusionResult;
82
+ };
83
+ sdk: {
84
+ input: ModifyVpcBlockPublicAccessExclusionCommandInput;
85
+ output: ModifyVpcBlockPublicAccessExclusionCommandOutput;
86
+ };
87
+ };
88
+ }
@@ -0,0 +1,79 @@
1
+ import { Command as $Command } from "@smithy/smithy-client";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
3
+ import { EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../EC2Client";
4
+ import { ModifyVpcBlockPublicAccessOptionsRequest, ModifyVpcBlockPublicAccessOptionsResult } from "../models/models_7";
5
+ /**
6
+ * @public
7
+ */
8
+ export type { __MetadataBearer };
9
+ export { $Command };
10
+ /**
11
+ * @public
12
+ *
13
+ * The input for {@link ModifyVpcBlockPublicAccessOptionsCommand}.
14
+ */
15
+ export interface ModifyVpcBlockPublicAccessOptionsCommandInput extends ModifyVpcBlockPublicAccessOptionsRequest {
16
+ }
17
+ /**
18
+ * @public
19
+ *
20
+ * The output of {@link ModifyVpcBlockPublicAccessOptionsCommand}.
21
+ */
22
+ export interface ModifyVpcBlockPublicAccessOptionsCommandOutput extends ModifyVpcBlockPublicAccessOptionsResult, __MetadataBearer {
23
+ }
24
+ declare const ModifyVpcBlockPublicAccessOptionsCommand_base: {
25
+ new (input: ModifyVpcBlockPublicAccessOptionsCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyVpcBlockPublicAccessOptionsCommandInput, ModifyVpcBlockPublicAccessOptionsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
26
+ new (__0_0: ModifyVpcBlockPublicAccessOptionsCommandInput): import("@smithy/smithy-client").CommandImpl<ModifyVpcBlockPublicAccessOptionsCommandInput, ModifyVpcBlockPublicAccessOptionsCommandOutput, EC2ClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
27
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
+ };
29
+ /**
30
+ * <p>Modify VPC Block Public Access (BPA) options. VPC Block public Access (BPA) enables you to block resources in VPCs and subnets that you own in a Region from reaching or being reached from the internet through internet gateways and egress-only internet gateways. To learn more about VPC BPA, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/security-vpc-bpa.html">Block public access to VPCs and subnets</a> in the <i>Amazon VPC User Guide</i>.</p>
31
+ * @example
32
+ * Use a bare-bones client and the command you need to make an API call.
33
+ * ```javascript
34
+ * import { EC2Client, ModifyVpcBlockPublicAccessOptionsCommand } from "@aws-sdk/client-ec2"; // ES Modules import
35
+ * // const { EC2Client, ModifyVpcBlockPublicAccessOptionsCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
36
+ * const client = new EC2Client(config);
37
+ * const input = { // ModifyVpcBlockPublicAccessOptionsRequest
38
+ * DryRun: true || false,
39
+ * InternetGatewayBlockMode: "off" || "block-bidirectional" || "block-ingress", // required
40
+ * };
41
+ * const command = new ModifyVpcBlockPublicAccessOptionsCommand(input);
42
+ * const response = await client.send(command);
43
+ * // { // ModifyVpcBlockPublicAccessOptionsResult
44
+ * // VpcBlockPublicAccessOptions: { // VpcBlockPublicAccessOptions
45
+ * // AwsAccountId: "STRING_VALUE",
46
+ * // AwsRegion: "STRING_VALUE",
47
+ * // State: "default-state" || "update-in-progress" || "update-complete",
48
+ * // InternetGatewayBlockMode: "off" || "block-bidirectional" || "block-ingress",
49
+ * // Reason: "STRING_VALUE",
50
+ * // LastUpdateTimestamp: new Date("TIMESTAMP"),
51
+ * // },
52
+ * // };
53
+ *
54
+ * ```
55
+ *
56
+ * @param ModifyVpcBlockPublicAccessOptionsCommandInput - {@link ModifyVpcBlockPublicAccessOptionsCommandInput}
57
+ * @returns {@link ModifyVpcBlockPublicAccessOptionsCommandOutput}
58
+ * @see {@link ModifyVpcBlockPublicAccessOptionsCommandInput} for command's `input` shape.
59
+ * @see {@link ModifyVpcBlockPublicAccessOptionsCommandOutput} for command's `response` shape.
60
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
61
+ *
62
+ * @throws {@link EC2ServiceException}
63
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
64
+ *
65
+ * @public
66
+ */
67
+ export declare class ModifyVpcBlockPublicAccessOptionsCommand extends ModifyVpcBlockPublicAccessOptionsCommand_base {
68
+ /** @internal type navigation helper, not in runtime. */
69
+ protected static __types: {
70
+ api: {
71
+ input: ModifyVpcBlockPublicAccessOptionsRequest;
72
+ output: ModifyVpcBlockPublicAccessOptionsResult;
73
+ };
74
+ sdk: {
75
+ input: ModifyVpcBlockPublicAccessOptionsCommandInput;
76
+ output: ModifyVpcBlockPublicAccessOptionsCommandOutput;
77
+ };
78
+ };
79
+ }
@@ -43,18 +43,17 @@ declare const RegisterImageCommand_base: {
43
43
  * <p>
44
44
  * <b>Register a snapshot of a root device volume</b>
45
45
  * </p>
46
- * <p>You can use <code>RegisterImage</code> to create an Amazon EBS-backed Linux AMI from
47
- * a snapshot of a root device volume. You specify the snapshot using a block device mapping.
48
- * You can't set the encryption state of the volume using the block device mapping. If the
49
- * snapshot is encrypted, or encryption by default is enabled, the root volume of an instance
50
- * launched from the AMI is encrypted.</p>
46
+ * <p>You can use <code>RegisterImage</code> to create an Amazon EBS-backed Linux AMI from a snapshot
47
+ * of a root device volume. You specify the snapshot using a block device mapping. You can't set
48
+ * the encryption state of the volume using the block device mapping. If the snapshot is
49
+ * encrypted, or encryption by default is enabled, the root volume of an instance launched from
50
+ * the AMI is encrypted.</p>
51
51
  * <p>For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html#creating-launching-ami-from-snapshot">Create an AMI from a snapshot</a> and <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AMIEncryption.html">Use encryption with Amazon EBS-backed
52
52
  * AMIs</a> in the <i>Amazon EC2 User Guide</i>.</p>
53
53
  * <p>
54
54
  * <b>Amazon Web Services Marketplace product codes</b>
55
55
  * </p>
56
- * <p>If any snapshots have Amazon Web Services Marketplace product codes, they are copied to the new
57
- * AMI.</p>
56
+ * <p>If any snapshots have Amazon Web Services Marketplace product codes, they are copied to the new AMI.</p>
58
57
  * <p>In most cases, AMIs for Windows, RedHat, SUSE, and SQL Server require correct licensing
59
58
  * information to be present on the AMI. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/ami-billing-info.html">Understand AMI billing
60
59
  * information</a> in the <i>Amazon EC2 User Guide</i>. When creating an AMI from
@@ -195,7 +195,7 @@ declare const RequestSpotFleetCommand_base: {
195
195
  * Max: Number("int"),
196
196
  * },
197
197
  * CpuManufacturers: [ // CpuManufacturerSet
198
- * "intel" || "amd" || "amazon-web-services",
198
+ * "intel" || "amd" || "amazon-web-services" || "apple",
199
199
  * ],
200
200
  * MemoryGiBPerVCpu: { // MemoryGiBPerVCpu
201
201
  * Min: Number("double"),
@@ -253,6 +253,15 @@ declare const RequestSpotFleetCommand_base: {
253
253
  * "STRING_VALUE",
254
254
  * ],
255
255
  * MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
256
+ * BaselinePerformanceFactors: { // BaselinePerformanceFactors
257
+ * Cpu: { // CpuPerformanceFactor
258
+ * References: [ // PerformanceFactorReferenceSet
259
+ * { // PerformanceFactorReference
260
+ * InstanceFamily: "STRING_VALUE",
261
+ * },
262
+ * ],
263
+ * },
264
+ * },
256
265
  * },
257
266
  * SecurityGroups: [ // GroupIdentifierList
258
267
  * { // GroupIdentifier
@@ -287,7 +296,7 @@ declare const RequestSpotFleetCommand_base: {
287
296
  * Max: Number("int"),
288
297
  * },
289
298
  * CpuManufacturers: [
290
- * "intel" || "amd" || "amazon-web-services",
299
+ * "intel" || "amd" || "amazon-web-services" || "apple",
291
300
  * ],
292
301
  * MemoryGiBPerVCpu: {
293
302
  * Min: Number("double"),
@@ -345,6 +354,15 @@ declare const RequestSpotFleetCommand_base: {
345
354
  * "STRING_VALUE",
346
355
  * ],
347
356
  * MaxSpotPriceAsPercentageOfOptimalOnDemandPrice: Number("int"),
357
+ * BaselinePerformanceFactors: {
358
+ * Cpu: {
359
+ * References: [
360
+ * {
361
+ * InstanceFamily: "STRING_VALUE",
362
+ * },
363
+ * ],
364
+ * },
365
+ * },
348
366
  * },
349
367
  * },
350
368
  * ],
@@ -27,7 +27,8 @@ declare const RestoreImageFromRecycleBinCommand_base: {
27
27
  getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
28
28
  };
29
29
  /**
30
- * <p>Restores an AMI from the Recycle Bin. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recycle Bin</a> in the <i>Amazon EC2 User Guide</i>.</p>
30
+ * <p>Restores an AMI from the Recycle Bin. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/recycle-bin.html">Recycle Bin</a> in
31
+ * the <i>Amazon EC2 User Guide</i>.</p>
31
32
  * @example
32
33
  * Use a bare-bones client and the command you need to make an API call.
33
34
  * ```javascript
@@ -186,7 +186,7 @@ declare const RunInstancesCommand_base: {
186
186
  * AmdSevSnp: "enabled" || "disabled",
187
187
  * },
188
188
  * CapacityReservationSpecification: { // CapacityReservationSpecification
189
- * CapacityReservationPreference: "open" || "none",
189
+ * CapacityReservationPreference: "capacity-reservations-only" || "open" || "none",
190
190
  * CapacityReservationTarget: { // CapacityReservationTarget
191
191
  * CapacityReservationId: "STRING_VALUE",
192
192
  * CapacityReservationResourceGroupArn: "STRING_VALUE",
@@ -453,7 +453,7 @@ declare const RunInstancesCommand_base: {
453
453
  * // },
454
454
  * // CapacityReservationId: "STRING_VALUE",
455
455
  * // CapacityReservationSpecification: { // CapacityReservationSpecificationResponse
456
- * // CapacityReservationPreference: "open" || "none",
456
+ * // CapacityReservationPreference: "capacity-reservations-only" || "open" || "none",
457
457
  * // CapacityReservationTarget: { // CapacityReservationTargetResponse
458
458
  * // CapacityReservationId: "STRING_VALUE",
459
459
  * // CapacityReservationResourceGroupArn: "STRING_VALUE",
@@ -132,6 +132,7 @@ export * from "./CreateVerifiedAccessGroupCommand";
132
132
  export * from "./CreateVerifiedAccessInstanceCommand";
133
133
  export * from "./CreateVerifiedAccessTrustProviderCommand";
134
134
  export * from "./CreateVolumeCommand";
135
+ export * from "./CreateVpcBlockPublicAccessExclusionCommand";
135
136
  export * from "./CreateVpcCommand";
136
137
  export * from "./CreateVpcEndpointCommand";
137
138
  export * from "./CreateVpcEndpointConnectionNotificationCommand";
@@ -207,6 +208,7 @@ export * from "./DeleteVerifiedAccessGroupCommand";
207
208
  export * from "./DeleteVerifiedAccessInstanceCommand";
208
209
  export * from "./DeleteVerifiedAccessTrustProviderCommand";
209
210
  export * from "./DeleteVolumeCommand";
211
+ export * from "./DeleteVpcBlockPublicAccessExclusionCommand";
210
212
  export * from "./DeleteVpcCommand";
211
213
  export * from "./DeleteVpcEndpointConnectionNotificationsCommand";
212
214
  export * from "./DeleteVpcEndpointServiceConfigurationsCommand";
@@ -366,6 +368,8 @@ export * from "./DescribeVolumeStatusCommand";
366
368
  export * from "./DescribeVolumesCommand";
367
369
  export * from "./DescribeVolumesModificationsCommand";
368
370
  export * from "./DescribeVpcAttributeCommand";
371
+ export * from "./DescribeVpcBlockPublicAccessExclusionsCommand";
372
+ export * from "./DescribeVpcBlockPublicAccessOptionsCommand";
369
373
  export * from "./DescribeVpcClassicLinkCommand";
370
374
  export * from "./DescribeVpcClassicLinkDnsSupportCommand";
371
375
  export * from "./DescribeVpcEndpointConnectionNotificationsCommand";
@@ -552,6 +556,8 @@ export * from "./ModifyVerifiedAccessTrustProviderCommand";
552
556
  export * from "./ModifyVolumeAttributeCommand";
553
557
  export * from "./ModifyVolumeCommand";
554
558
  export * from "./ModifyVpcAttributeCommand";
559
+ export * from "./ModifyVpcBlockPublicAccessExclusionCommand";
560
+ export * from "./ModifyVpcBlockPublicAccessOptionsCommand";
555
561
  export * from "./ModifyVpcEndpointCommand";
556
562
  export * from "./ModifyVpcEndpointConnectionNotificationCommand";
557
563
  export * from "./ModifyVpcEndpointServiceConfigurationCommand";