@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,10 +1,314 @@
1
- import { AddedPrincipal, AddressAttribute, AddressAttributeName, ByoipCidr, CapacityReservation, CapacityReservationInstancePlatform, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
2
- import { _InstanceType, AmdSevSnpSpecification, BlockDeviceMapping, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, IcmpTypeCode, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, RuleAction, ShutdownBehavior, SpotInstanceType } from "./models_1";
3
- import { IKEVersionsRequestListValue, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SnapshotState, SSEType, TransitGatewayRoute, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_2";
1
+ import { AddedPrincipal, AddressAttribute, AddressAttributeName, ByoipCidr, CapacityReservationInstancePlatform, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessTrustProvider } from "./models_0";
2
+ import { _InstanceType, AmdSevSnpSpecification, BlockDeviceMapping, CapacityReservation, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, IcmpTypeCode, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, MarketType, Placement, RuleAction, ShutdownBehavior, SpotInstanceType, VolumeType } from "./models_1";
3
+ import { DnsOptionsSpecification, IKEVersionsRequestListValue, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SnapshotState, SSEType, SubnetConfiguration, TransitGatewayRoute, VerifiedAccessSseSpecificationRequest, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_2";
4
4
  import { Byoasn, ClientVpnConnectionStatus, Filter, InstanceTagNotificationAttribute, IpamPoolCidr } from "./models_3";
5
- import { ArchitectureValues, BootModeValues, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, ScheduledInstance, SnapshotAttributeName, TpmSupportValues } from "./models_4";
6
- import { InstanceNetworkInterfaceSpecification, RunInstancesMonitoringEnabled, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement } from "./models_5";
7
- import { CapacityReservationSpecification, Purchase } from "./models_6";
5
+ import { ArchitectureValues, AttributeBooleanValue, BootModeValues, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, ScheduledInstance, SnapshotAttributeName, TpmSupportValues } from "./models_4";
6
+ import { InstanceNetworkInterfaceSpecification, RunInstancesMonitoringEnabled, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VolumeModification } from "./models_5";
7
+ import { CapacityReservationSpecification, ModifyVerifiedAccessTrustProviderDeviceOptions, ModifyVerifiedAccessTrustProviderOidcOptions, Purchase } from "./models_6";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface ModifyVerifiedAccessTrustProviderRequest {
12
+ /**
13
+ * <p>The ID of the Verified Access trust provider.</p>
14
+ * @public
15
+ */
16
+ VerifiedAccessTrustProviderId: string | undefined;
17
+ /**
18
+ * <p>The options for an OpenID Connect-compatible user-identity trust provider.</p>
19
+ * @public
20
+ */
21
+ OidcOptions?: ModifyVerifiedAccessTrustProviderOidcOptions;
22
+ /**
23
+ * <p>The options for a device-based trust provider. This parameter is required when the
24
+ * provider type is <code>device</code>.</p>
25
+ * @public
26
+ */
27
+ DeviceOptions?: ModifyVerifiedAccessTrustProviderDeviceOptions;
28
+ /**
29
+ * <p>A description for the Verified Access trust provider.</p>
30
+ * @public
31
+ */
32
+ Description?: string;
33
+ /**
34
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
35
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
36
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
37
+ * @public
38
+ */
39
+ DryRun?: boolean;
40
+ /**
41
+ * <p>A unique, case-sensitive token that you provide to ensure idempotency of your
42
+ * modification request. For more information, see <a href="https://docs.aws.amazon.com/ec2/latest/devguide/ec2-api-idempotency.html">Ensuring idempotency</a>.</p>
43
+ * @public
44
+ */
45
+ ClientToken?: string;
46
+ /**
47
+ * <p>The options for server side encryption.</p>
48
+ * @public
49
+ */
50
+ SseSpecification?: VerifiedAccessSseSpecificationRequest;
51
+ }
52
+ /**
53
+ * @public
54
+ */
55
+ export interface ModifyVerifiedAccessTrustProviderResult {
56
+ /**
57
+ * <p>Details about the Verified Access trust provider.</p>
58
+ * @public
59
+ */
60
+ VerifiedAccessTrustProvider?: VerifiedAccessTrustProvider;
61
+ }
62
+ /**
63
+ * @public
64
+ */
65
+ export interface ModifyVolumeRequest {
66
+ /**
67
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
68
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
69
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
70
+ * @public
71
+ */
72
+ DryRun?: boolean;
73
+ /**
74
+ * <p>The ID of the volume.</p>
75
+ * @public
76
+ */
77
+ VolumeId: string | undefined;
78
+ /**
79
+ * <p>The target size of the volume, in GiB. The target volume size must be greater than or
80
+ * equal to the existing size of the volume.</p>
81
+ * <p>The following are the supported volumes sizes for each volume type:</p>
82
+ * <ul>
83
+ * <li>
84
+ * <p>
85
+ * <code>gp2</code> and <code>gp3</code>: 1 - 16,384 GiB</p>
86
+ * </li>
87
+ * <li>
88
+ * <p>
89
+ * <code>io1</code>: 4 - 16,384 GiB</p>
90
+ * </li>
91
+ * <li>
92
+ * <p>
93
+ * <code>io2</code>: 4 - 65,536 GiB</p>
94
+ * </li>
95
+ * <li>
96
+ * <p>
97
+ * <code>st1</code> and <code>sc1</code>: 125 - 16,384 GiB</p>
98
+ * </li>
99
+ * <li>
100
+ * <p>
101
+ * <code>standard</code>: 1 - 1024 GiB</p>
102
+ * </li>
103
+ * </ul>
104
+ * <p>Default: The existing size is retained.</p>
105
+ * @public
106
+ */
107
+ Size?: number;
108
+ /**
109
+ * <p>The target EBS volume type of the volume. For more information, see <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volume-types.html">Amazon EBS volume types</a> in the <i>Amazon EBS User Guide</i>.</p>
110
+ * <p>Default: The existing type is retained.</p>
111
+ * @public
112
+ */
113
+ VolumeType?: VolumeType;
114
+ /**
115
+ * <p>The target IOPS rate of the volume. This parameter is valid only for <code>gp3</code>, <code>io1</code>, and <code>io2</code> volumes.</p>
116
+ * <p>The following are the supported values for each volume type:</p>
117
+ * <ul>
118
+ * <li>
119
+ * <p>
120
+ * <code>gp3</code>: 3,000 - 16,000 IOPS</p>
121
+ * </li>
122
+ * <li>
123
+ * <p>
124
+ * <code>io1</code>: 100 - 64,000 IOPS</p>
125
+ * </li>
126
+ * <li>
127
+ * <p>
128
+ * <code>io2</code>: 100 - 256,000 IOPS</p>
129
+ * </li>
130
+ * </ul>
131
+ * <p>For <code>io2</code> volumes, you can achieve up to 256,000 IOPS on
132
+ * <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html">instances
133
+ * built on the Nitro System</a>. On other instances, you can achieve performance up to 32,000 IOPS.</p>
134
+ * <p>Default: The existing value is retained if you keep the same volume type. If you change
135
+ * the volume type to <code>io1</code>, <code>io2</code>, or <code>gp3</code>, the default is 3,000.</p>
136
+ * @public
137
+ */
138
+ Iops?: number;
139
+ /**
140
+ * <p>The target throughput of the volume, in MiB/s. This parameter is valid only for <code>gp3</code> volumes.
141
+ * The maximum value is 1,000.</p>
142
+ * <p>Default: The existing value is retained if the source and target volume type is <code>gp3</code>.
143
+ * Otherwise, the default value is 125.</p>
144
+ * <p>Valid Range: Minimum value of 125. Maximum value of 1000.</p>
145
+ * @public
146
+ */
147
+ Throughput?: number;
148
+ /**
149
+ * <p>Specifies whether to enable Amazon EBS Multi-Attach. If you enable Multi-Attach, you can attach the
150
+ * volume to up to 16 <a href="https://docs.aws.amazon.com/ec2/latest/instancetypes/ec2-nitro-instances.html">
151
+ * Nitro-based instances</a> in the same Availability Zone. This parameter is
152
+ * supported with <code>io1</code> and <code>io2</code> volumes only. For more information, see
153
+ * <a href="https://docs.aws.amazon.com/ebs/latest/userguide/ebs-volumes-multi.html">
154
+ * Amazon EBS Multi-Attach</a> in the <i>Amazon EBS User Guide</i>.</p>
155
+ * @public
156
+ */
157
+ MultiAttachEnabled?: boolean;
158
+ }
159
+ /**
160
+ * @public
161
+ */
162
+ export interface ModifyVolumeResult {
163
+ /**
164
+ * <p>Information about the volume modification.</p>
165
+ * @public
166
+ */
167
+ VolumeModification?: VolumeModification;
168
+ }
169
+ /**
170
+ * @public
171
+ */
172
+ export interface ModifyVolumeAttributeRequest {
173
+ /**
174
+ * <p>Indicates whether the volume should be auto-enabled for I/O operations.</p>
175
+ * @public
176
+ */
177
+ AutoEnableIO?: AttributeBooleanValue;
178
+ /**
179
+ * <p>The ID of the volume.</p>
180
+ * @public
181
+ */
182
+ VolumeId: string | undefined;
183
+ /**
184
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
185
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
186
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
187
+ * @public
188
+ */
189
+ DryRun?: boolean;
190
+ }
191
+ /**
192
+ * @public
193
+ */
194
+ export interface ModifyVpcAttributeRequest {
195
+ /**
196
+ * <p>Indicates whether the instances launched in the VPC get DNS hostnames. If enabled, instances in the VPC get DNS hostnames; otherwise, they do not.</p>
197
+ * <p>You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute. You can only enable DNS hostnames if you've enabled DNS support.</p>
198
+ * @public
199
+ */
200
+ EnableDnsHostnames?: AttributeBooleanValue;
201
+ /**
202
+ * <p>Indicates whether the DNS resolution is supported for the VPC. If enabled, queries to
203
+ * the Amazon provided DNS server at the 169.254.169.253 IP address, or the reserved IP
204
+ * address at the base of the VPC network range "plus two" succeed. If disabled, the Amazon
205
+ * provided DNS service in the VPC that resolves public DNS hostnames to IP addresses is
206
+ * not enabled.</p>
207
+ * <p>You cannot modify the DNS resolution and DNS hostnames attributes in the same request. Use separate requests for each attribute.</p>
208
+ * @public
209
+ */
210
+ EnableDnsSupport?: AttributeBooleanValue;
211
+ /**
212
+ * <p>The ID of the VPC.</p>
213
+ * @public
214
+ */
215
+ VpcId: string | undefined;
216
+ /**
217
+ * <p>Indicates whether Network Address Usage metrics are enabled for your VPC.</p>
218
+ * @public
219
+ */
220
+ EnableNetworkAddressUsageMetrics?: AttributeBooleanValue;
221
+ }
222
+ /**
223
+ * @public
224
+ */
225
+ export interface ModifyVpcEndpointRequest {
226
+ /**
227
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
228
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
229
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
230
+ * @public
231
+ */
232
+ DryRun?: boolean;
233
+ /**
234
+ * <p>The ID of the endpoint.</p>
235
+ * @public
236
+ */
237
+ VpcEndpointId: string | undefined;
238
+ /**
239
+ * <p>(Gateway endpoint) Specify <code>true</code> to reset the policy document to the
240
+ * default policy. The default policy allows full access to the service.</p>
241
+ * @public
242
+ */
243
+ ResetPolicy?: boolean;
244
+ /**
245
+ * <p>(Interface and gateway endpoints) A policy to attach to the endpoint that controls access to the service. The policy must
246
+ * be in valid JSON format.</p>
247
+ * @public
248
+ */
249
+ PolicyDocument?: string;
250
+ /**
251
+ * <p>(Gateway endpoint) The IDs of the route tables to associate with the endpoint.</p>
252
+ * @public
253
+ */
254
+ AddRouteTableIds?: string[];
255
+ /**
256
+ * <p>(Gateway endpoint) The IDs of the route tables to disassociate from the endpoint.</p>
257
+ * @public
258
+ */
259
+ RemoveRouteTableIds?: string[];
260
+ /**
261
+ * <p>(Interface and Gateway Load Balancer endpoints) The IDs of the subnets in which to serve the endpoint.
262
+ * For a Gateway Load Balancer endpoint, you can specify only one subnet.</p>
263
+ * @public
264
+ */
265
+ AddSubnetIds?: string[];
266
+ /**
267
+ * <p>(Interface endpoint) The IDs of the subnets from which to remove the endpoint.</p>
268
+ * @public
269
+ */
270
+ RemoveSubnetIds?: string[];
271
+ /**
272
+ * <p>(Interface endpoint) The IDs of the security groups to associate with the endpoint network interfaces.</p>
273
+ * @public
274
+ */
275
+ AddSecurityGroupIds?: string[];
276
+ /**
277
+ * <p>(Interface endpoint) The IDs of the security groups to disassociate from the endpoint network interfaces.</p>
278
+ * @public
279
+ */
280
+ RemoveSecurityGroupIds?: string[];
281
+ /**
282
+ * <p>The IP address type for the endpoint.</p>
283
+ * @public
284
+ */
285
+ IpAddressType?: IpAddressType;
286
+ /**
287
+ * <p>The DNS options for the endpoint.</p>
288
+ * @public
289
+ */
290
+ DnsOptions?: DnsOptionsSpecification;
291
+ /**
292
+ * <p>(Interface endpoint) Indicates whether a private hosted zone is associated with the VPC.</p>
293
+ * @public
294
+ */
295
+ PrivateDnsEnabled?: boolean;
296
+ /**
297
+ * <p>The subnet configurations for the endpoint.</p>
298
+ * @public
299
+ */
300
+ SubnetConfigurations?: SubnetConfiguration[];
301
+ }
302
+ /**
303
+ * @public
304
+ */
305
+ export interface ModifyVpcEndpointResult {
306
+ /**
307
+ * <p>Returns <code>true</code> if the request succeeds; otherwise, it returns an error.</p>
308
+ * @public
309
+ */
310
+ Return?: boolean;
311
+ }
8
312
  /**
9
313
  * @public
10
314
  */
@@ -3248,6 +3552,67 @@ export interface RevokeSecurityGroupEgressRequest {
3248
3552
  */
3249
3553
  IpPermissions?: IpPermission[];
3250
3554
  }
3555
+ /**
3556
+ * <p>A security group rule removed with <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RevokeSecurityGroupEgress.html">RevokeSecurityGroupEgress</a> or <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_RevokeSecurityGroupIngress.html">RevokeSecurityGroupIngress</a>.</p>
3557
+ * @public
3558
+ */
3559
+ export interface RevokedSecurityGroupRule {
3560
+ /**
3561
+ * <p>A security group rule ID.</p>
3562
+ * @public
3563
+ */
3564
+ SecurityGroupRuleId?: string;
3565
+ /**
3566
+ * <p>A security group ID.</p>
3567
+ * @public
3568
+ */
3569
+ GroupId?: string;
3570
+ /**
3571
+ * <p>Defines if a security group rule is an outbound rule.</p>
3572
+ * @public
3573
+ */
3574
+ IsEgress?: boolean;
3575
+ /**
3576
+ * <p>The security group rule's protocol.</p>
3577
+ * @public
3578
+ */
3579
+ IpProtocol?: string;
3580
+ /**
3581
+ * <p>The 'from' port number of the security group rule.</p>
3582
+ * @public
3583
+ */
3584
+ FromPort?: number;
3585
+ /**
3586
+ * <p>The 'to' port number of the security group rule.</p>
3587
+ * @public
3588
+ */
3589
+ ToPort?: number;
3590
+ /**
3591
+ * <p>The IPv4 CIDR of the traffic source.</p>
3592
+ * @public
3593
+ */
3594
+ CidrIpv4?: string;
3595
+ /**
3596
+ * <p>The IPv6 CIDR of the traffic source.</p>
3597
+ * @public
3598
+ */
3599
+ CidrIpv6?: string;
3600
+ /**
3601
+ * <p>The ID of a prefix list that's the traffic source.</p>
3602
+ * @public
3603
+ */
3604
+ PrefixListId?: string;
3605
+ /**
3606
+ * <p>The ID of a referenced security group.</p>
3607
+ * @public
3608
+ */
3609
+ ReferencedGroupId?: string;
3610
+ /**
3611
+ * <p>A description of the revoked security group rule.</p>
3612
+ * @public
3613
+ */
3614
+ Description?: string;
3615
+ }
3251
3616
  /**
3252
3617
  * @public
3253
3618
  */
@@ -3264,6 +3629,11 @@ export interface RevokeSecurityGroupEgressResult {
3264
3629
  * @public
3265
3630
  */
3266
3631
  UnknownIpPermissions?: IpPermission[];
3632
+ /**
3633
+ * <p>Details about the revoked security group rules.</p>
3634
+ * @public
3635
+ */
3636
+ RevokedSecurityGroupRules?: RevokedSecurityGroupRule[];
3267
3637
  }
3268
3638
  /**
3269
3639
  * @public
@@ -3352,6 +3722,11 @@ export interface RevokeSecurityGroupIngressResult {
3352
3722
  * @public
3353
3723
  */
3354
3724
  UnknownIpPermissions?: IpPermission[];
3725
+ /**
3726
+ * <p>Details about the revoked security group rules.</p>
3727
+ * @public
3728
+ */
3729
+ RevokedSecurityGroupRules?: RevokedSecurityGroupRule[];
3355
3730
  }
3356
3731
  /**
3357
3732
  * <p>The CPU options for the instance. Both the core count and threads per core must be
@@ -5329,6 +5704,14 @@ export interface WithdrawByoipCidrResult {
5329
5704
  */
5330
5705
  ByoipCidr?: ByoipCidr;
5331
5706
  }
5707
+ /**
5708
+ * @internal
5709
+ */
5710
+ export declare const ModifyVerifiedAccessTrustProviderRequestFilterSensitiveLog: (obj: ModifyVerifiedAccessTrustProviderRequest) => any;
5711
+ /**
5712
+ * @internal
5713
+ */
5714
+ export declare const ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog: (obj: ModifyVerifiedAccessTrustProviderResult) => any;
5332
5715
  /**
5333
5716
  * @internal
5334
5717
  */
@@ -0,0 +1,7 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import { DescribeSecurityGroupVpcAssociationsCommandInput, DescribeSecurityGroupVpcAssociationsCommandOutput } from "../commands/DescribeSecurityGroupVpcAssociationsCommand";
3
+ import { EC2PaginationConfiguration } from "./Interfaces";
4
+ /**
5
+ * @public
6
+ */
7
+ export declare const paginateDescribeSecurityGroupVpcAssociations: (config: EC2PaginationConfiguration, input: DescribeSecurityGroupVpcAssociationsCommandInput, ...rest: any[]) => Paginator<DescribeSecurityGroupVpcAssociationsCommandOutput>;
@@ -75,6 +75,7 @@ export * from "./DescribeRouteTablesPaginator";
75
75
  export * from "./DescribeScheduledInstanceAvailabilityPaginator";
76
76
  export * from "./DescribeScheduledInstancesPaginator";
77
77
  export * from "./DescribeSecurityGroupRulesPaginator";
78
+ export * from "./DescribeSecurityGroupVpcAssociationsPaginator";
78
79
  export * from "./DescribeSecurityGroupsPaginator";
79
80
  export * from "./DescribeSnapshotTierStatusPaginator";
80
81
  export * from "./DescribeSnapshotsPaginator";
@@ -27,6 +27,7 @@ import { AssociateIpamByoasnCommandInput, AssociateIpamByoasnCommandOutput } fro
27
27
  import { AssociateIpamResourceDiscoveryCommandInput, AssociateIpamResourceDiscoveryCommandOutput } from "../commands/AssociateIpamResourceDiscoveryCommand";
28
28
  import { AssociateNatGatewayAddressCommandInput, AssociateNatGatewayAddressCommandOutput } from "../commands/AssociateNatGatewayAddressCommand";
29
29
  import { AssociateRouteTableCommandInput, AssociateRouteTableCommandOutput } from "../commands/AssociateRouteTableCommand";
30
+ import { AssociateSecurityGroupVpcCommandInput, AssociateSecurityGroupVpcCommandOutput } from "../commands/AssociateSecurityGroupVpcCommand";
30
31
  import { AssociateSubnetCidrBlockCommandInput, AssociateSubnetCidrBlockCommandOutput } from "../commands/AssociateSubnetCidrBlockCommand";
31
32
  import { AssociateTransitGatewayMulticastDomainCommandInput, AssociateTransitGatewayMulticastDomainCommandOutput } from "../commands/AssociateTransitGatewayMulticastDomainCommand";
32
33
  import { AssociateTransitGatewayPolicyTableCommandInput, AssociateTransitGatewayPolicyTableCommandOutput } from "../commands/AssociateTransitGatewayPolicyTableCommand";
@@ -328,6 +329,7 @@ import { DescribeScheduledInstancesCommandInput, DescribeScheduledInstancesComma
328
329
  import { DescribeSecurityGroupReferencesCommandInput, DescribeSecurityGroupReferencesCommandOutput } from "../commands/DescribeSecurityGroupReferencesCommand";
329
330
  import { DescribeSecurityGroupRulesCommandInput, DescribeSecurityGroupRulesCommandOutput } from "../commands/DescribeSecurityGroupRulesCommand";
330
331
  import { DescribeSecurityGroupsCommandInput, DescribeSecurityGroupsCommandOutput } from "../commands/DescribeSecurityGroupsCommand";
332
+ import { DescribeSecurityGroupVpcAssociationsCommandInput, DescribeSecurityGroupVpcAssociationsCommandOutput } from "../commands/DescribeSecurityGroupVpcAssociationsCommand";
331
333
  import { DescribeSnapshotAttributeCommandInput, DescribeSnapshotAttributeCommandOutput } from "../commands/DescribeSnapshotAttributeCommand";
332
334
  import { DescribeSnapshotsCommandInput, DescribeSnapshotsCommandOutput } from "../commands/DescribeSnapshotsCommand";
333
335
  import { DescribeSnapshotTierStatusCommandInput, DescribeSnapshotTierStatusCommandOutput } from "../commands/DescribeSnapshotTierStatusCommand";
@@ -410,6 +412,7 @@ import { DisassociateIpamByoasnCommandInput, DisassociateIpamByoasnCommandOutput
410
412
  import { DisassociateIpamResourceDiscoveryCommandInput, DisassociateIpamResourceDiscoveryCommandOutput } from "../commands/DisassociateIpamResourceDiscoveryCommand";
411
413
  import { DisassociateNatGatewayAddressCommandInput, DisassociateNatGatewayAddressCommandOutput } from "../commands/DisassociateNatGatewayAddressCommand";
412
414
  import { DisassociateRouteTableCommandInput, DisassociateRouteTableCommandOutput } from "../commands/DisassociateRouteTableCommand";
415
+ import { DisassociateSecurityGroupVpcCommandInput, DisassociateSecurityGroupVpcCommandOutput } from "../commands/DisassociateSecurityGroupVpcCommand";
413
416
  import { DisassociateSubnetCidrBlockCommandInput, DisassociateSubnetCidrBlockCommandOutput } from "../commands/DisassociateSubnetCidrBlockCommand";
414
417
  import { DisassociateTransitGatewayMulticastDomainCommandInput, DisassociateTransitGatewayMulticastDomainCommandOutput } from "../commands/DisassociateTransitGatewayMulticastDomainCommand";
415
418
  import { DisassociateTransitGatewayPolicyTableCommandInput, DisassociateTransitGatewayPolicyTableCommandOutput } from "../commands/DisassociateTransitGatewayPolicyTableCommand";
@@ -742,6 +745,10 @@ export declare const se_AssociateNatGatewayAddressCommand: (input: AssociateNatG
742
745
  * serializeAws_ec2AssociateRouteTableCommand
743
746
  */
744
747
  export declare const se_AssociateRouteTableCommand: (input: AssociateRouteTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
748
+ /**
749
+ * serializeAws_ec2AssociateSecurityGroupVpcCommand
750
+ */
751
+ export declare const se_AssociateSecurityGroupVpcCommand: (input: AssociateSecurityGroupVpcCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
745
752
  /**
746
753
  * serializeAws_ec2AssociateSubnetCidrBlockCommand
747
754
  */
@@ -1946,6 +1953,10 @@ export declare const se_DescribeSecurityGroupRulesCommand: (input: DescribeSecur
1946
1953
  * serializeAws_ec2DescribeSecurityGroupsCommand
1947
1954
  */
1948
1955
  export declare const se_DescribeSecurityGroupsCommand: (input: DescribeSecurityGroupsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1956
+ /**
1957
+ * serializeAws_ec2DescribeSecurityGroupVpcAssociationsCommand
1958
+ */
1959
+ export declare const se_DescribeSecurityGroupVpcAssociationsCommand: (input: DescribeSecurityGroupVpcAssociationsCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
1949
1960
  /**
1950
1961
  * serializeAws_ec2DescribeSnapshotAttributeCommand
1951
1962
  */
@@ -2274,6 +2285,10 @@ export declare const se_DisassociateNatGatewayAddressCommand: (input: Disassocia
2274
2285
  * serializeAws_ec2DisassociateRouteTableCommand
2275
2286
  */
2276
2287
  export declare const se_DisassociateRouteTableCommand: (input: DisassociateRouteTableCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2288
+ /**
2289
+ * serializeAws_ec2DisassociateSecurityGroupVpcCommand
2290
+ */
2291
+ export declare const se_DisassociateSecurityGroupVpcCommand: (input: DisassociateSecurityGroupVpcCommandInput, context: __SerdeContext) => Promise<__HttpRequest>;
2277
2292
  /**
2278
2293
  * serializeAws_ec2DisassociateSubnetCidrBlockCommand
2279
2294
  */
@@ -3278,6 +3293,10 @@ export declare const de_AssociateNatGatewayAddressCommand: (output: __HttpRespon
3278
3293
  * deserializeAws_ec2AssociateRouteTableCommand
3279
3294
  */
3280
3295
  export declare const de_AssociateRouteTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateRouteTableCommandOutput>;
3296
+ /**
3297
+ * deserializeAws_ec2AssociateSecurityGroupVpcCommand
3298
+ */
3299
+ export declare const de_AssociateSecurityGroupVpcCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<AssociateSecurityGroupVpcCommandOutput>;
3281
3300
  /**
3282
3301
  * deserializeAws_ec2AssociateSubnetCidrBlockCommand
3283
3302
  */
@@ -4482,6 +4501,10 @@ export declare const de_DescribeSecurityGroupRulesCommand: (output: __HttpRespon
4482
4501
  * deserializeAws_ec2DescribeSecurityGroupsCommand
4483
4502
  */
4484
4503
  export declare const de_DescribeSecurityGroupsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeSecurityGroupsCommandOutput>;
4504
+ /**
4505
+ * deserializeAws_ec2DescribeSecurityGroupVpcAssociationsCommand
4506
+ */
4507
+ export declare const de_DescribeSecurityGroupVpcAssociationsCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DescribeSecurityGroupVpcAssociationsCommandOutput>;
4485
4508
  /**
4486
4509
  * deserializeAws_ec2DescribeSnapshotAttributeCommand
4487
4510
  */
@@ -4810,6 +4833,10 @@ export declare const de_DisassociateNatGatewayAddressCommand: (output: __HttpRes
4810
4833
  * deserializeAws_ec2DisassociateRouteTableCommand
4811
4834
  */
4812
4835
  export declare const de_DisassociateRouteTableCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateRouteTableCommandOutput>;
4836
+ /**
4837
+ * deserializeAws_ec2DisassociateSecurityGroupVpcCommand
4838
+ */
4839
+ export declare const de_DisassociateSecurityGroupVpcCommand: (output: __HttpResponse, context: __SerdeContext) => Promise<DisassociateSecurityGroupVpcCommandOutput>;
4813
4840
  /**
4814
4841
  * deserializeAws_ec2DisassociateSubnetCidrBlockCommand
4815
4842
  */
@@ -107,6 +107,10 @@ import {
107
107
  AssociateRouteTableCommandInput,
108
108
  AssociateRouteTableCommandOutput,
109
109
  } from "./commands/AssociateRouteTableCommand";
110
+ import {
111
+ AssociateSecurityGroupVpcCommandInput,
112
+ AssociateSecurityGroupVpcCommandOutput,
113
+ } from "./commands/AssociateSecurityGroupVpcCommand";
110
114
  import {
111
115
  AssociateSubnetCidrBlockCommandInput,
112
116
  AssociateSubnetCidrBlockCommandOutput,
@@ -1311,6 +1315,10 @@ import {
1311
1315
  DescribeSecurityGroupsCommandInput,
1312
1316
  DescribeSecurityGroupsCommandOutput,
1313
1317
  } from "./commands/DescribeSecurityGroupsCommand";
1318
+ import {
1319
+ DescribeSecurityGroupVpcAssociationsCommandInput,
1320
+ DescribeSecurityGroupVpcAssociationsCommandOutput,
1321
+ } from "./commands/DescribeSecurityGroupVpcAssociationsCommand";
1314
1322
  import {
1315
1323
  DescribeSnapshotAttributeCommandInput,
1316
1324
  DescribeSnapshotAttributeCommandOutput,
@@ -1639,6 +1647,10 @@ import {
1639
1647
  DisassociateRouteTableCommandInput,
1640
1648
  DisassociateRouteTableCommandOutput,
1641
1649
  } from "./commands/DisassociateRouteTableCommand";
1650
+ import {
1651
+ DisassociateSecurityGroupVpcCommandInput,
1652
+ DisassociateSecurityGroupVpcCommandOutput,
1653
+ } from "./commands/DisassociateSecurityGroupVpcCommand";
1642
1654
  import {
1643
1655
  DisassociateSubnetCidrBlockCommandInput,
1644
1656
  DisassociateSubnetCidrBlockCommandOutput,
@@ -2939,6 +2951,19 @@ export interface EC2 {
2939
2951
  options: __HttpHandlerOptions,
2940
2952
  cb: (err: any, data?: AssociateRouteTableCommandOutput) => void
2941
2953
  ): void;
2954
+ associateSecurityGroupVpc(
2955
+ args: AssociateSecurityGroupVpcCommandInput,
2956
+ options?: __HttpHandlerOptions
2957
+ ): Promise<AssociateSecurityGroupVpcCommandOutput>;
2958
+ associateSecurityGroupVpc(
2959
+ args: AssociateSecurityGroupVpcCommandInput,
2960
+ cb: (err: any, data?: AssociateSecurityGroupVpcCommandOutput) => void
2961
+ ): void;
2962
+ associateSecurityGroupVpc(
2963
+ args: AssociateSecurityGroupVpcCommandInput,
2964
+ options: __HttpHandlerOptions,
2965
+ cb: (err: any, data?: AssociateSecurityGroupVpcCommandOutput) => void
2966
+ ): void;
2942
2967
  associateSubnetCidrBlock(
2943
2968
  args: AssociateSubnetCidrBlockCommandInput,
2944
2969
  options?: __HttpHandlerOptions
@@ -7279,6 +7304,26 @@ export interface EC2 {
7279
7304
  options: __HttpHandlerOptions,
7280
7305
  cb: (err: any, data?: DescribeSecurityGroupsCommandOutput) => void
7281
7306
  ): void;
7307
+ describeSecurityGroupVpcAssociations(): Promise<DescribeSecurityGroupVpcAssociationsCommandOutput>;
7308
+ describeSecurityGroupVpcAssociations(
7309
+ args: DescribeSecurityGroupVpcAssociationsCommandInput,
7310
+ options?: __HttpHandlerOptions
7311
+ ): Promise<DescribeSecurityGroupVpcAssociationsCommandOutput>;
7312
+ describeSecurityGroupVpcAssociations(
7313
+ args: DescribeSecurityGroupVpcAssociationsCommandInput,
7314
+ cb: (
7315
+ err: any,
7316
+ data?: DescribeSecurityGroupVpcAssociationsCommandOutput
7317
+ ) => void
7318
+ ): void;
7319
+ describeSecurityGroupVpcAssociations(
7320
+ args: DescribeSecurityGroupVpcAssociationsCommandInput,
7321
+ options: __HttpHandlerOptions,
7322
+ cb: (
7323
+ err: any,
7324
+ data?: DescribeSecurityGroupVpcAssociationsCommandOutput
7325
+ ) => void
7326
+ ): void;
7282
7327
  describeSnapshotAttribute(
7283
7328
  args: DescribeSnapshotAttributeCommandInput,
7284
7329
  options?: __HttpHandlerOptions
@@ -8533,6 +8578,19 @@ export interface EC2 {
8533
8578
  options: __HttpHandlerOptions,
8534
8579
  cb: (err: any, data?: DisassociateRouteTableCommandOutput) => void
8535
8580
  ): void;
8581
+ disassociateSecurityGroupVpc(
8582
+ args: DisassociateSecurityGroupVpcCommandInput,
8583
+ options?: __HttpHandlerOptions
8584
+ ): Promise<DisassociateSecurityGroupVpcCommandOutput>;
8585
+ disassociateSecurityGroupVpc(
8586
+ args: DisassociateSecurityGroupVpcCommandInput,
8587
+ cb: (err: any, data?: DisassociateSecurityGroupVpcCommandOutput) => void
8588
+ ): void;
8589
+ disassociateSecurityGroupVpc(
8590
+ args: DisassociateSecurityGroupVpcCommandInput,
8591
+ options: __HttpHandlerOptions,
8592
+ cb: (err: any, data?: DisassociateSecurityGroupVpcCommandOutput) => void
8593
+ ): void;
8536
8594
  disassociateSubnetCidrBlock(
8537
8595
  args: DisassociateSubnetCidrBlockCommandInput,
8538
8596
  options?: __HttpHandlerOptions