@aws-sdk/client-ec2 3.696.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 (66) hide show
  1. package/dist-cjs/index.js +179 -38
  2. package/dist-es/models/models_1.js +2 -4
  3. package/dist-es/models/models_2.js +4 -0
  4. package/dist-es/models/models_3.js +0 -6
  5. package/dist-es/models/models_4.js +6 -0
  6. package/dist-es/protocols/Aws_ec2.js +168 -26
  7. package/dist-types/commands/CreateFleetCommand.d.ts +30 -3
  8. package/dist-types/commands/CreateLaunchTemplateCommand.d.ts +11 -2
  9. package/dist-types/commands/CreateLaunchTemplateVersionCommand.d.ts +22 -4
  10. package/dist-types/commands/CreateNetworkAclCommand.d.ts +2 -1
  11. package/dist-types/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteInstanceEventWindowCommand.d.ts +2 -1
  13. package/dist-types/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  14. package/dist-types/commands/DeleteIpamCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +1 -2
  16. package/dist-types/commands/DescribeFleetsCommand.d.ts +30 -3
  17. package/dist-types/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -1
  18. package/dist-types/commands/DescribeHostReservationsCommand.d.ts +1 -1
  19. package/dist-types/commands/DescribeInstancesCommand.d.ts +1 -1
  20. package/dist-types/commands/DescribeLaunchTemplateVersionsCommand.d.ts +11 -2
  21. package/dist-types/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  22. package/dist-types/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  23. package/dist-types/commands/DescribeSpotFleetRequestsCommand.d.ts +20 -2
  24. package/dist-types/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -1
  25. package/dist-types/commands/ExportImageCommand.d.ts +1 -1
  26. package/dist-types/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  27. package/dist-types/commands/GetInstanceTypesFromInstanceRequirementsCommand.d.ts +10 -1
  28. package/dist-types/commands/GetLaunchTemplateDataCommand.d.ts +11 -2
  29. package/dist-types/commands/GetSpotPlacementScoresCommand.d.ts +10 -1
  30. package/dist-types/commands/ModifyFleetCommand.d.ts +10 -1
  31. package/dist-types/commands/ModifyInstanceCapacityReservationAttributesCommand.d.ts +2 -2
  32. package/dist-types/commands/ModifySpotFleetRequestCommand.d.ts +10 -1
  33. package/dist-types/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -1
  34. package/dist-types/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  35. package/dist-types/commands/RequestSpotFleetCommand.d.ts +20 -2
  36. package/dist-types/commands/RunInstancesCommand.d.ts +2 -2
  37. package/dist-types/models/models_1.d.ts +245 -198
  38. package/dist-types/models/models_2.d.ts +199 -115
  39. package/dist-types/models/models_3.d.ts +115 -220
  40. package/dist-types/models/models_4.d.ts +222 -341
  41. package/dist-types/models/models_5.d.ts +340 -211
  42. package/dist-types/models/models_6.d.ts +228 -135
  43. package/dist-types/models/models_7.d.ts +126 -5
  44. package/dist-types/ts3.4/commands/CreateNetworkAclCommand.d.ts +2 -4
  45. package/dist-types/ts3.4/commands/CreateNetworkAclEntryCommand.d.ts +1 -1
  46. package/dist-types/ts3.4/commands/DeleteInstanceEventWindowCommand.d.ts +2 -4
  47. package/dist-types/ts3.4/commands/DeleteInternetGatewayCommand.d.ts +1 -1
  48. package/dist-types/ts3.4/commands/DeleteIpamCommand.d.ts +1 -1
  49. package/dist-types/ts3.4/commands/DeleteIpamExternalResourceVerificationTokenCommand.d.ts +4 -2
  50. package/dist-types/ts3.4/commands/DescribeHostReservationOfferingsCommand.d.ts +2 -4
  51. package/dist-types/ts3.4/commands/DescribeHostReservationsCommand.d.ts +1 -1
  52. package/dist-types/ts3.4/commands/DescribeSecurityGroupVpcAssociationsCommand.d.ts +1 -1
  53. package/dist-types/ts3.4/commands/DescribeSecurityGroupsCommand.d.ts +1 -1
  54. package/dist-types/ts3.4/commands/ExportClientVpnClientConfigurationCommand.d.ts +2 -4
  55. package/dist-types/ts3.4/commands/ExportImageCommand.d.ts +1 -1
  56. package/dist-types/ts3.4/commands/ExportTransitGatewayRoutesCommand.d.ts +1 -1
  57. package/dist-types/ts3.4/commands/ModifyTransitGatewayPrefixListReferenceCommand.d.ts +2 -4
  58. package/dist-types/ts3.4/commands/ModifyTransitGatewayVpcAttachmentCommand.d.ts +1 -1
  59. package/dist-types/ts3.4/models/models_1.d.ts +22 -45
  60. package/dist-types/ts3.4/models/models_2.d.ts +46 -25
  61. package/dist-types/ts3.4/models/models_3.d.ts +25 -48
  62. package/dist-types/ts3.4/models/models_4.d.ts +49 -43
  63. package/dist-types/ts3.4/models/models_5.d.ts +41 -40
  64. package/dist-types/ts3.4/models/models_6.d.ts +39 -36
  65. package/dist-types/ts3.4/models/models_7.d.ts +41 -8
  66. package/package.json +1 -1
@@ -1,9 +1,217 @@
1
- import { AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, Affinity, ApplianceModeSupportValue, AutoPlacement, CapacityReservationState, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, InstanceEventWindow, InstanceMatchCriteria, IpamPoolAllocation, Ipv6SupportValue, SecurityGroupReferencingSupportValue, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, TransitGatewayVpcAttachment, UnsuccessfulItem } from "./models_0";
1
+ import { AccessScopeAnalysisFinding, AddIpamOperatingRegion, AddPrefixListEntry, AddressAttribute, Affinity, AutoPlacement, CapacityReservationState, CurrencyCodeValues, DnsSupportValue, EnaSrdSpecification, EndDateType, HostMaintenance, HostRecovery, InstanceEventWindow, InstanceMatchCriteria, IpamPoolAllocation, SecurityGroupReferencingSupportValue, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPolicyTableAssociation, UnsuccessfulItem } from "./models_0";
2
2
  import { _InstanceType, AttributeValue, CapacityReservationPreference, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DiskImageFormat, FleetExcessCapacityTerminationPolicy, FleetLaunchTemplateConfigRequest, HostnameType, InstanceEventWindowTimeRangeRequest, InstanceRequirementsRequest, Ipam, IpamPool, IpamResourceDiscovery, IpamResourceTag, IpamScope, IpamTier, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, Placement, PlatformValues, RequestIpamResourceTag, ResponseLaunchTemplateData, SelfServicePortal, ShutdownBehavior, TargetCapacitySpecificationRequest, TargetCapacityUnitType } from "./models_1";
3
- import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, NetworkInsightsAccessScopeContent, SSEType, SubnetCidrReservation, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VerifiedAccessEndpointProtocol, VpnEcmpSupportValue } from "./models_2";
4
- import { ConversionTask, Filter, FpgaImageAttribute, FpgaImageAttributeName, IpamPoolCidr, MetricType, PaymentOption, PeriodType, PermissionGroup, StatisticType } from "./models_3";
3
+ import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, NetworkInsightsAccessScopeContent, SSEType, SubnetCidrReservation, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VpnEcmpSupportValue } from "./models_2";
4
+ import { ConversionTask, ExportTaskS3Location, Filter, FpgaImageAttribute, FpgaImageAttributeName, IpamPoolCidr, MetricType, PaymentOption, PeriodType, PermissionGroup, StatisticType } from "./models_3";
5
5
  import { AnalysisStatus, ArchitectureType, ArchitectureValues, AttributeBooleanValue, BootModeValues, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchPermission, LockState, ReservedInstancesConfiguration, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_4";
6
6
  import { CreateVolumePermission, ExcessCapacityTerminationPolicy, LaunchTemplateConfig, SnapshotAttributeName, SnapshotBlockPublicAccessState, TransitGatewayPropagationState } from "./models_5";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface ExportClientVpnClientConfigurationResult {
11
+ /**
12
+ * <p>The contents of the Client VPN endpoint configuration file.</p>
13
+ * @public
14
+ */
15
+ ClientConfiguration?: string | undefined;
16
+ }
17
+ /**
18
+ * <p>Describes the destination for an export image task.</p>
19
+ * @public
20
+ */
21
+ export interface ExportTaskS3LocationRequest {
22
+ /**
23
+ * <p>The destination Amazon S3 bucket.</p>
24
+ * @public
25
+ */
26
+ S3Bucket: string | undefined;
27
+ /**
28
+ * <p>The prefix (logical hierarchy) in the bucket.</p>
29
+ * @public
30
+ */
31
+ S3Prefix?: string | undefined;
32
+ }
33
+ /**
34
+ * @public
35
+ */
36
+ export interface ExportImageRequest {
37
+ /**
38
+ * <p>Token to enable idempotency for export image requests.</p>
39
+ * @public
40
+ */
41
+ ClientToken?: string | undefined;
42
+ /**
43
+ * <p>A description of the image being exported. The maximum length is 255 characters.</p>
44
+ * @public
45
+ */
46
+ Description?: string | undefined;
47
+ /**
48
+ * <p>The disk image format.</p>
49
+ * @public
50
+ */
51
+ DiskImageFormat: DiskImageFormat | undefined;
52
+ /**
53
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
54
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
55
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
56
+ * @public
57
+ */
58
+ DryRun?: boolean | undefined;
59
+ /**
60
+ * <p>The ID of the image.</p>
61
+ * @public
62
+ */
63
+ ImageId: string | undefined;
64
+ /**
65
+ * <p>The Amazon S3 bucket for the destination image. The destination bucket must exist.</p>
66
+ * @public
67
+ */
68
+ S3ExportLocation: ExportTaskS3LocationRequest | undefined;
69
+ /**
70
+ * <p>The name of the role that grants VM Import/Export permission to export images to your Amazon
71
+ * S3 bucket. If this parameter is not specified, the default role is named 'vmimport'.</p>
72
+ * @public
73
+ */
74
+ RoleName?: string | undefined;
75
+ /**
76
+ * <p>The tags to apply to the export image task during creation.</p>
77
+ * @public
78
+ */
79
+ TagSpecifications?: TagSpecification[] | undefined;
80
+ }
81
+ /**
82
+ * @public
83
+ */
84
+ export interface ExportImageResult {
85
+ /**
86
+ * <p>A description of the image being exported.</p>
87
+ * @public
88
+ */
89
+ Description?: string | undefined;
90
+ /**
91
+ * <p>The disk image format for the exported image.</p>
92
+ * @public
93
+ */
94
+ DiskImageFormat?: DiskImageFormat | undefined;
95
+ /**
96
+ * <p>The ID of the export image task.</p>
97
+ * @public
98
+ */
99
+ ExportImageTaskId?: string | undefined;
100
+ /**
101
+ * <p>The ID of the image.</p>
102
+ * @public
103
+ */
104
+ ImageId?: string | undefined;
105
+ /**
106
+ * <p>The name of the role that grants VM Import/Export permission to export images to your Amazon
107
+ * S3 bucket.</p>
108
+ * @public
109
+ */
110
+ RoleName?: string | undefined;
111
+ /**
112
+ * <p>The percent complete of the export image task.</p>
113
+ * @public
114
+ */
115
+ Progress?: string | undefined;
116
+ /**
117
+ * <p>Information about the destination Amazon S3 bucket.</p>
118
+ * @public
119
+ */
120
+ S3ExportLocation?: ExportTaskS3Location | undefined;
121
+ /**
122
+ * <p>The status of the export image task. The possible values are <code>active</code>, <code>completed</code>,
123
+ * <code>deleting</code>, and <code>deleted</code>.</p>
124
+ * @public
125
+ */
126
+ Status?: string | undefined;
127
+ /**
128
+ * <p>The status message for the export image task.</p>
129
+ * @public
130
+ */
131
+ StatusMessage?: string | undefined;
132
+ /**
133
+ * <p>Any tags assigned to the export image task.</p>
134
+ * @public
135
+ */
136
+ Tags?: Tag[] | undefined;
137
+ }
138
+ /**
139
+ * @public
140
+ */
141
+ export interface ExportTransitGatewayRoutesRequest {
142
+ /**
143
+ * <p>The ID of the route table.</p>
144
+ * @public
145
+ */
146
+ TransitGatewayRouteTableId: string | undefined;
147
+ /**
148
+ * <p>One or more filters. The possible values are:</p>
149
+ * <ul>
150
+ * <li>
151
+ * <p>
152
+ * <code>attachment.transit-gateway-attachment-id</code> - The id of the transit gateway attachment.</p>
153
+ * </li>
154
+ * <li>
155
+ * <p>
156
+ * <code>attachment.resource-id</code> - The resource id of the transit gateway attachment.</p>
157
+ * </li>
158
+ * <li>
159
+ * <p>
160
+ * <code>route-search.exact-match</code> - The exact match of the specified filter.</p>
161
+ * </li>
162
+ * <li>
163
+ * <p>
164
+ * <code>route-search.longest-prefix-match</code> - The longest prefix that matches the route.</p>
165
+ * </li>
166
+ * <li>
167
+ * <p>
168
+ * <code>route-search.subnet-of-match</code> - The routes with a subnet that match the specified CIDR filter.</p>
169
+ * </li>
170
+ * <li>
171
+ * <p>
172
+ * <code>route-search.supernet-of-match</code> - The routes with a CIDR that encompass the CIDR filter. For example, if you have 10.0.1.0/29 and 10.0.1.0/31 routes in your route table and you specify supernet-of-match as 10.0.1.0/30, then the result returns 10.0.1.0/29.</p>
173
+ * </li>
174
+ * <li>
175
+ * <p>
176
+ * <code>state</code> - The state of the route (<code>active</code> | <code>blackhole</code>).</p>
177
+ * </li>
178
+ * <li>
179
+ * <p>
180
+ * <code>transit-gateway-route-destination-cidr-block</code> - The CIDR range.</p>
181
+ * </li>
182
+ * <li>
183
+ * <p>
184
+ * <code>type</code> - The type of route (<code>propagated</code> |
185
+ * <code>static</code>).</p>
186
+ * </li>
187
+ * </ul>
188
+ * @public
189
+ */
190
+ Filters?: Filter[] | undefined;
191
+ /**
192
+ * <p>The name of the S3 bucket.</p>
193
+ * @public
194
+ */
195
+ S3Bucket: string | undefined;
196
+ /**
197
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
198
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
199
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
200
+ * @public
201
+ */
202
+ DryRun?: boolean | undefined;
203
+ }
204
+ /**
205
+ * @public
206
+ */
207
+ export interface ExportTransitGatewayRoutesResult {
208
+ /**
209
+ * <p>The URL of the exported file in Amazon S3. For example,
210
+ * s3://<i>bucket_name</i>/VPCTransitGateway/TransitGatewayRouteTables/<i>file_name</i>.</p>
211
+ * @public
212
+ */
213
+ S3Location?: string | undefined;
214
+ }
7
215
  /**
8
216
  * @public
9
217
  */
@@ -5974,14 +6182,14 @@ export interface ModifyInstanceAttributeRequest {
5974
6182
  EnaSupport?: AttributeBooleanValue | undefined;
5975
6183
  }
5976
6184
  /**
5977
- * <p>Describes an instance's Capacity Reservation targeting option. You can specify only one parameter
5978
- * at a time. If you specify <code>CapacityReservationPreference</code> and
5979
- * <code>CapacityReservationTarget</code>, the request fails.</p>
5980
- * <p>Use the <code>CapacityReservationPreference</code> parameter to configure the instance
5981
- * to run as an On-Demand Instance or to run in any <code>open</code> Capacity Reservation that has
5982
- * matching attributes (instance type, platform, Availability Zone). Use the
5983
- * <code>CapacityReservationTarget</code> parameter to explicitly target a specific
5984
- * Capacity Reservation or a Capacity Reservation group.</p>
6185
+ * <p>Describes an instance's Capacity Reservation targeting option. </p>
6186
+ * <p>Use the <code>CapacityReservationPreference</code> parameter to configure the instance to
6187
+ * run as an On-Demand Instance, to run in any <code>open</code> Capacity Reservation that
6188
+ * has matching attributes, or to run only in a Capacity Reservation or Capacity
6189
+ * Reservation group. Use the <code>CapacityReservationTarget</code> parameter to
6190
+ * explicitly target a specific Capacity Reservation or a Capacity Reservation
6191
+ * group.</p>
6192
+ * <p>You can only specify <code>CapacityReservationPreference</code> and <code>CapacityReservationTarget</code> if the <code>CapacityReservationPreference</code> is <code>capacity-reservations-only</code>.</p>
5985
6193
  * @public
5986
6194
  */
5987
6195
  export interface CapacityReservationSpecification {
@@ -5990,12 +6198,18 @@ export interface CapacityReservationSpecification {
5990
6198
  * <ul>
5991
6199
  * <li>
5992
6200
  * <p>
5993
- * <code>open</code> - The instance can run in any <code>open</code> Capacity Reservation that has matching attributes
5994
- * (instance type, platform, Availability Zone).</p>
6201
+ * <code>capacity-reservations-only</code> - The instance will only run in a Capacity Reservation or Capacity Reservation group. If capacity isn't available, the instance will fail to launch.</p>
6202
+ * </li>
6203
+ * <li>
6204
+ * <p>
6205
+ * <code>open</code> - The instance can run in any <code>open</code> Capacity
6206
+ * Reservation that has matching attributes (instance type, platform, Availability
6207
+ * Zone, and tenancy). If capacity isn't available, the instance runs as an
6208
+ * On-Demand Instance.</p>
5995
6209
  * </li>
5996
6210
  * <li>
5997
6211
  * <p>
5998
- * <code>none</code> - The instance avoids running in a Capacity Reservation even if one is available. The
6212
+ * <code>none</code> - The instance doesn't run in a Capacity Reservation even if one is available. The
5999
6213
  * instance runs as an On-Demand Instance.</p>
6000
6214
  * </li>
6001
6215
  * </ul>
@@ -7981,127 +8195,6 @@ export interface ModifyTransitGatewayPrefixListReferenceRequest {
7981
8195
  */
7982
8196
  DryRun?: boolean | undefined;
7983
8197
  }
7984
- /**
7985
- * @public
7986
- */
7987
- export interface ModifyTransitGatewayPrefixListReferenceResult {
7988
- /**
7989
- * <p>Information about the prefix list reference.</p>
7990
- * @public
7991
- */
7992
- TransitGatewayPrefixListReference?: TransitGatewayPrefixListReference | undefined;
7993
- }
7994
- /**
7995
- * <p>Describes the options for a VPC attachment.</p>
7996
- * @public
7997
- */
7998
- export interface ModifyTransitGatewayVpcAttachmentRequestOptions {
7999
- /**
8000
- * <p>Enable or disable DNS support. The default is <code>enable</code>.</p>
8001
- * @public
8002
- */
8003
- DnsSupport?: DnsSupportValue | undefined;
8004
- /**
8005
- * <p>Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.
8006
- *
8007
- * </p>
8008
- * <p>This option is disabled by default.</p>
8009
- * <p>For more information about security group referencing, see <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security">Security group referencing</a> in the <i>Amazon Web Services Transit Gateways Guide</i>.</p>
8010
- * @public
8011
- */
8012
- SecurityGroupReferencingSupport?: SecurityGroupReferencingSupportValue | undefined;
8013
- /**
8014
- * <p>Enable or disable IPv6 support. The default is <code>enable</code>.</p>
8015
- * @public
8016
- */
8017
- Ipv6Support?: Ipv6SupportValue | undefined;
8018
- /**
8019
- * <p>Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is <code>disable</code>.</p>
8020
- * @public
8021
- */
8022
- ApplianceModeSupport?: ApplianceModeSupportValue | undefined;
8023
- }
8024
- /**
8025
- * @public
8026
- */
8027
- export interface ModifyTransitGatewayVpcAttachmentRequest {
8028
- /**
8029
- * <p>The ID of the attachment.</p>
8030
- * @public
8031
- */
8032
- TransitGatewayAttachmentId: string | undefined;
8033
- /**
8034
- * <p>The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.</p>
8035
- * @public
8036
- */
8037
- AddSubnetIds?: string[] | undefined;
8038
- /**
8039
- * <p>The IDs of one or more subnets to remove.</p>
8040
- * @public
8041
- */
8042
- RemoveSubnetIds?: string[] | undefined;
8043
- /**
8044
- * <p>The new VPC attachment options.</p>
8045
- * @public
8046
- */
8047
- Options?: ModifyTransitGatewayVpcAttachmentRequestOptions | undefined;
8048
- /**
8049
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8050
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8051
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8052
- * @public
8053
- */
8054
- DryRun?: boolean | undefined;
8055
- }
8056
- /**
8057
- * @public
8058
- */
8059
- export interface ModifyTransitGatewayVpcAttachmentResult {
8060
- /**
8061
- * <p>Information about the modified attachment.</p>
8062
- * @public
8063
- */
8064
- TransitGatewayVpcAttachment?: TransitGatewayVpcAttachment | undefined;
8065
- }
8066
- /**
8067
- * <p>Describes a load balancer when creating an Amazon Web Services Verified Access endpoint using the
8068
- * <code>load-balancer</code> type.</p>
8069
- * @public
8070
- */
8071
- export interface ModifyVerifiedAccessEndpointLoadBalancerOptions {
8072
- /**
8073
- * <p>The IDs of the subnets.</p>
8074
- * @public
8075
- */
8076
- SubnetIds?: string[] | undefined;
8077
- /**
8078
- * <p>The IP protocol.</p>
8079
- * @public
8080
- */
8081
- Protocol?: VerifiedAccessEndpointProtocol | undefined;
8082
- /**
8083
- * <p>The IP port number.</p>
8084
- * @public
8085
- */
8086
- Port?: number | undefined;
8087
- }
8088
- /**
8089
- * <p>Describes the options when modifying a Verified Access endpoint with the
8090
- * <code>network-interface</code> type.</p>
8091
- * @public
8092
- */
8093
- export interface ModifyVerifiedAccessEndpointEniOptions {
8094
- /**
8095
- * <p>The IP protocol.</p>
8096
- * @public
8097
- */
8098
- Protocol?: VerifiedAccessEndpointProtocol | undefined;
8099
- /**
8100
- * <p>The IP port number.</p>
8101
- * @public
8102
- */
8103
- Port?: number | undefined;
8104
- }
8105
8198
  /**
8106
8199
  * @internal
8107
8200
  */
@@ -1,10 +1,131 @@
1
- import { AddedPrincipal, AddressAttribute, AddressAttributeName, ByoipCidr, CapacityReservationInstancePlatform, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, NatGatewayAddress, PortRange, RouteTableAssociationState, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
2
- import { _InstanceType, AmdSevSnpSpecification, BlockDeviceMapping, CapacityReservation, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, IcmpTypeCode, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, MarketType, OperatorRequest, Placement, RuleAction, ShutdownBehavior, SpotInstanceType, VolumeType } from "./models_1";
3
- import { DnsOptionsSpecification, IKEVersionsRequestListValue, InternetGatewayExclusionMode, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, SnapshotState, SSEType, SubnetConfiguration, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_2";
1
+ import { AddedPrincipal, AddressAttribute, AddressAttributeName, ApplianceModeSupportValue, ByoipCidr, CapacityReservationInstancePlatform, ClientVpnAuthorizationRuleStatus, CurrencyCodeValues, DnsSupportValue, IamInstanceProfileAssociation, IamInstanceProfileSpecification, IpPermission, Ipv6SupportValue, NatGatewayAddress, PortRange, RouteTableAssociationState, SecurityGroupReferencingSupportValue, TagSpecification, TransitGatewayAttachmentResourceType, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
2
+ import { _InstanceType, AmdSevSnpSpecification, BlockDeviceMapping, CapacityReservation, CreditSpecificationRequest, ElasticGpuSpecification, HostnameType, InstanceInterruptionBehavior, InstanceIpv6Address, LocalGatewayRoute, ManagedPrefixList, MarketType, OperatorRequest, Placement, ShutdownBehavior, SpotInstanceType, VolumeType } from "./models_1";
3
+ import { DnsOptionsSpecification, IcmpTypeCode, IKEVersionsRequestListValue, InternetGatewayExclusionMode, IpAddressType, PayerResponsibility, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, RuleAction, SnapshotState, SSEType, SubnetConfiguration, TransitGatewayPrefixListReference, TransitGatewayRoute, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_2";
4
4
  import { Byoasn, ClientVpnConnectionStatus, Filter, InstanceTagNotificationAttribute, IpamPoolCidr } from "./models_3";
5
5
  import { ArchitectureValues, AttributeBooleanValue, BootModeValues, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceState, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, ScheduledInstance, TpmSupportValues } from "./models_4";
6
6
  import { InstanceNetworkInterfaceSpecification, InternetGatewayBlockMode, RunInstancesMonitoringEnabled, SnapshotAttributeName, SpotFleetRequestConfigData, SpotInstanceRequest, SpotPlacement, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
7
- import { CapacityReservationSpecification, ModifyVerifiedAccessEndpointEniOptions, ModifyVerifiedAccessEndpointLoadBalancerOptions, Purchase } from "./models_6";
7
+ import { CapacityReservationSpecification, Purchase } from "./models_6";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface ModifyTransitGatewayPrefixListReferenceResult {
12
+ /**
13
+ * <p>Information about the prefix list reference.</p>
14
+ * @public
15
+ */
16
+ TransitGatewayPrefixListReference?: TransitGatewayPrefixListReference | undefined;
17
+ }
18
+ /**
19
+ * <p>Describes the options for a VPC attachment.</p>
20
+ * @public
21
+ */
22
+ export interface ModifyTransitGatewayVpcAttachmentRequestOptions {
23
+ /**
24
+ * <p>Enable or disable DNS support. The default is <code>enable</code>.</p>
25
+ * @public
26
+ */
27
+ DnsSupport?: DnsSupportValue | undefined;
28
+ /**
29
+ * <p>Enables you to reference a security group across VPCs attached to a transit gateway to simplify security group management.
30
+ *
31
+ * </p>
32
+ * <p>This option is disabled by default.</p>
33
+ * <p>For more information about security group referencing, see <a href="https://docs.aws.amazon.com/vpc/latest/tgw/tgw-vpc-attachments.html#vpc-attachment-security">Security group referencing</a> in the <i>Amazon Web Services Transit Gateways Guide</i>.</p>
34
+ * @public
35
+ */
36
+ SecurityGroupReferencingSupport?: SecurityGroupReferencingSupportValue | undefined;
37
+ /**
38
+ * <p>Enable or disable IPv6 support. The default is <code>enable</code>.</p>
39
+ * @public
40
+ */
41
+ Ipv6Support?: Ipv6SupportValue | undefined;
42
+ /**
43
+ * <p>Enable or disable support for appliance mode. If enabled, a traffic flow between a source and destination uses the same Availability Zone for the VPC attachment for the lifetime of that flow. The default is <code>disable</code>.</p>
44
+ * @public
45
+ */
46
+ ApplianceModeSupport?: ApplianceModeSupportValue | undefined;
47
+ }
48
+ /**
49
+ * @public
50
+ */
51
+ export interface ModifyTransitGatewayVpcAttachmentRequest {
52
+ /**
53
+ * <p>The ID of the attachment.</p>
54
+ * @public
55
+ */
56
+ TransitGatewayAttachmentId: string | undefined;
57
+ /**
58
+ * <p>The IDs of one or more subnets to add. You can specify at most one subnet per Availability Zone.</p>
59
+ * @public
60
+ */
61
+ AddSubnetIds?: string[] | undefined;
62
+ /**
63
+ * <p>The IDs of one or more subnets to remove.</p>
64
+ * @public
65
+ */
66
+ RemoveSubnetIds?: string[] | undefined;
67
+ /**
68
+ * <p>The new VPC attachment options.</p>
69
+ * @public
70
+ */
71
+ Options?: ModifyTransitGatewayVpcAttachmentRequestOptions | undefined;
72
+ /**
73
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
74
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
75
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
76
+ * @public
77
+ */
78
+ DryRun?: boolean | undefined;
79
+ }
80
+ /**
81
+ * @public
82
+ */
83
+ export interface ModifyTransitGatewayVpcAttachmentResult {
84
+ /**
85
+ * <p>Information about the modified attachment.</p>
86
+ * @public
87
+ */
88
+ TransitGatewayVpcAttachment?: TransitGatewayVpcAttachment | undefined;
89
+ }
90
+ /**
91
+ * <p>Describes a load balancer when creating an Amazon Web Services Verified Access endpoint using the
92
+ * <code>load-balancer</code> type.</p>
93
+ * @public
94
+ */
95
+ export interface ModifyVerifiedAccessEndpointLoadBalancerOptions {
96
+ /**
97
+ * <p>The IDs of the subnets.</p>
98
+ * @public
99
+ */
100
+ SubnetIds?: string[] | undefined;
101
+ /**
102
+ * <p>The IP protocol.</p>
103
+ * @public
104
+ */
105
+ Protocol?: VerifiedAccessEndpointProtocol | undefined;
106
+ /**
107
+ * <p>The IP port number.</p>
108
+ * @public
109
+ */
110
+ Port?: number | undefined;
111
+ }
112
+ /**
113
+ * <p>Describes the options when modifying a Verified Access endpoint with the
114
+ * <code>network-interface</code> type.</p>
115
+ * @public
116
+ */
117
+ export interface ModifyVerifiedAccessEndpointEniOptions {
118
+ /**
119
+ * <p>The IP protocol.</p>
120
+ * @public
121
+ */
122
+ Protocol?: VerifiedAccessEndpointProtocol | undefined;
123
+ /**
124
+ * <p>The IP port number.</p>
125
+ * @public
126
+ */
127
+ Port?: number | undefined;
128
+ }
8
129
  /**
9
130
  * @public
10
131
  */
@@ -4792,7 +4913,7 @@ export interface RunInstancesRequest {
4792
4913
  * <p>Information about the Capacity Reservation targeting option. If you do not specify this parameter, the
4793
4914
  * instance's Capacity Reservation preference defaults to <code>open</code>, which enables
4794
4915
  * it to run in any open Capacity Reservation that has matching attributes (instance type,
4795
- * platform, Availability Zone).</p>
4916
+ * platform, Availability Zone, and tenancy).</p>
4796
4917
  * @public
4797
4918
  */
4798
4919
  CapacityReservationSpecification?: CapacityReservationSpecification | undefined;
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- CreateNetworkAclRequest,
10
- CreateNetworkAclResult,
11
- } from "../models/models_1";
8
+ import { CreateNetworkAclRequest } from "../models/models_1";
9
+ import { CreateNetworkAclResult } from "../models/models_2";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface CreateNetworkAclCommandInput extends CreateNetworkAclRequest {}
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { CreateNetworkAclEntryRequest } from "../models/models_1";
8
+ import { CreateNetworkAclEntryRequest } from "../models/models_2";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface CreateNetworkAclEntryCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- DeleteInstanceEventWindowRequest,
10
- DeleteInstanceEventWindowResult,
11
- } from "../models/models_2";
8
+ import { DeleteInstanceEventWindowRequest } from "../models/models_2";
9
+ import { DeleteInstanceEventWindowResult } from "../models/models_3";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DeleteInstanceEventWindowCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DeleteInternetGatewayRequest } from "../models/models_2";
8
+ import { DeleteInternetGatewayRequest } from "../models/models_3";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface DeleteInternetGatewayCommandInput
@@ -5,7 +5,7 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DeleteIpamRequest, DeleteIpamResult } from "../models/models_2";
8
+ import { DeleteIpamRequest, DeleteIpamResult } from "../models/models_3";
9
9
  export { __MetadataBearer };
10
10
  export { $Command };
11
11
  export interface DeleteIpamCommandInput extends DeleteIpamRequest {}
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { DeleteIpamExternalResourceVerificationTokenRequest } from "../models/models_2";
9
- import { DeleteIpamExternalResourceVerificationTokenResult } from "../models/models_3";
8
+ import {
9
+ DeleteIpamExternalResourceVerificationTokenRequest,
10
+ DeleteIpamExternalResourceVerificationTokenResult,
11
+ } from "../models/models_3";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface DeleteIpamExternalResourceVerificationTokenCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- DescribeHostReservationOfferingsRequest,
10
- DescribeHostReservationOfferingsResult,
11
- } from "../models/models_3";
8
+ import { DescribeHostReservationOfferingsRequest } from "../models/models_3";
9
+ import { DescribeHostReservationOfferingsResult } from "../models/models_4";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface DescribeHostReservationOfferingsCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DescribeHostReservationsRequest,
10
10
  DescribeHostReservationsResult,
11
- } from "../models/models_3";
11
+ } from "../models/models_4";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DescribeHostReservationsCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DescribeSecurityGroupVpcAssociationsRequest,
10
10
  DescribeSecurityGroupVpcAssociationsResult,
11
- } from "../models/models_4";
11
+ } from "../models/models_5";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DescribeSecurityGroupVpcAssociationsCommandInput
@@ -8,7 +8,7 @@ import {
8
8
  import {
9
9
  DescribeSecurityGroupsRequest,
10
10
  DescribeSecurityGroupsResult,
11
- } from "../models/models_4";
11
+ } from "../models/models_5";
12
12
  export { __MetadataBearer };
13
13
  export { $Command };
14
14
  export interface DescribeSecurityGroupsCommandInput