@aws-sdk/client-ec2 3.632.0 → 3.636.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 (30) hide show
  1. package/dist-cjs/index.js +69 -34
  2. package/dist-es/commands/ModifyVpnConnectionOptionsCommand.js +1 -1
  3. package/dist-es/models/models_4.js +7 -11
  4. package/dist-es/models/models_5.js +4 -0
  5. package/dist-es/models/models_6.js +0 -4
  6. package/dist-es/models/models_7.js +4 -0
  7. package/dist-es/protocols/Aws_ec2.js +38 -0
  8. package/dist-types/commands/CopyImageCommand.d.ts +10 -19
  9. package/dist-types/commands/DeleteSecurityGroupCommand.d.ts +1 -1
  10. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +10 -0
  11. package/dist-types/commands/DescribeStaleSecurityGroupsCommand.d.ts +1 -1
  12. package/dist-types/commands/DisableSnapshotBlockPublicAccessCommand.d.ts +9 -3
  13. package/dist-types/commands/EnableSnapshotBlockPublicAccessCommand.d.ts +9 -4
  14. package/dist-types/commands/GetInstanceMetadataDefaultsCommand.d.ts +1 -2
  15. package/dist-types/commands/ModifyVpnConnectionOptionsCommand.d.ts +2 -1
  16. package/dist-types/commands/ModifyVpnTunnelCertificateCommand.d.ts +1 -2
  17. package/dist-types/models/models_0.d.ts +2 -2
  18. package/dist-types/models/models_1.d.ts +1 -1
  19. package/dist-types/models/models_4.d.ts +93 -73
  20. package/dist-types/models/models_5.d.ts +35 -67
  21. package/dist-types/models/models_6.d.ts +77 -39
  22. package/dist-types/models/models_7.d.ts +37 -0
  23. package/dist-types/ts3.4/commands/GetInstanceMetadataDefaultsCommand.d.ts +4 -2
  24. package/dist-types/ts3.4/commands/ModifyVpnConnectionOptionsCommand.d.ts +2 -4
  25. package/dist-types/ts3.4/commands/ModifyVpnTunnelCertificateCommand.d.ts +4 -2
  26. package/dist-types/ts3.4/models/models_4.d.ts +27 -27
  27. package/dist-types/ts3.4/models/models_5.d.ts +12 -14
  28. package/dist-types/ts3.4/models/models_6.d.ts +9 -12
  29. package/dist-types/ts3.4/models/models_7.d.ts +11 -0
  30. package/package.json +11 -11
@@ -3064,6 +3064,12 @@ export interface DescribeInstanceStatusRequest {
3064
3064
  * (<code>ok</code> | <code>impaired</code> | <code>initializing</code> |
3065
3065
  * <code>insufficient-data</code> | <code>not-applicable</code>).</p>
3066
3066
  * </li>
3067
+ * <li>
3068
+ * <p>
3069
+ * <code>attached-ebs-status.status</code> - The status of the attached EBS volume
3070
+ * for the instance (<code>ok</code> | <code>impaired</code> | <code>initializing</code> |
3071
+ * <code>insufficient-data</code> | <code>not-applicable</code>).</p>
3072
+ * </li>
3067
3073
  * </ul>
3068
3074
  * @public
3069
3075
  */
@@ -3104,6 +3110,83 @@ export interface DescribeInstanceStatusRequest {
3104
3110
  */
3105
3111
  IncludeAllInstances?: boolean;
3106
3112
  }
3113
+ /**
3114
+ * @public
3115
+ * @enum
3116
+ */
3117
+ export declare const StatusName: {
3118
+ readonly reachability: "reachability";
3119
+ };
3120
+ /**
3121
+ * @public
3122
+ */
3123
+ export type StatusName = (typeof StatusName)[keyof typeof StatusName];
3124
+ /**
3125
+ * @public
3126
+ * @enum
3127
+ */
3128
+ export declare const StatusType: {
3129
+ readonly failed: "failed";
3130
+ readonly initializing: "initializing";
3131
+ readonly insufficient_data: "insufficient-data";
3132
+ readonly passed: "passed";
3133
+ };
3134
+ /**
3135
+ * @public
3136
+ */
3137
+ export type StatusType = (typeof StatusType)[keyof typeof StatusType];
3138
+ /**
3139
+ * <p>Describes the attached EBS status check for an instance.</p>
3140
+ * @public
3141
+ */
3142
+ export interface EbsStatusDetails {
3143
+ /**
3144
+ * <p>The date and time when the attached EBS status check failed.</p>
3145
+ * @public
3146
+ */
3147
+ ImpairedSince?: Date;
3148
+ /**
3149
+ * <p>The name of the attached EBS status check.</p>
3150
+ * @public
3151
+ */
3152
+ Name?: StatusName;
3153
+ /**
3154
+ * <p>The result of the attached EBS status check.</p>
3155
+ * @public
3156
+ */
3157
+ Status?: StatusType;
3158
+ }
3159
+ /**
3160
+ * @public
3161
+ * @enum
3162
+ */
3163
+ export declare const SummaryStatus: {
3164
+ readonly impaired: "impaired";
3165
+ readonly initializing: "initializing";
3166
+ readonly insufficient_data: "insufficient-data";
3167
+ readonly not_applicable: "not-applicable";
3168
+ readonly ok: "ok";
3169
+ };
3170
+ /**
3171
+ * @public
3172
+ */
3173
+ export type SummaryStatus = (typeof SummaryStatus)[keyof typeof SummaryStatus];
3174
+ /**
3175
+ * <p>Provides a summary of the attached EBS volume status for an instance.</p>
3176
+ * @public
3177
+ */
3178
+ export interface EbsStatusSummary {
3179
+ /**
3180
+ * <p>Details about the attached EBS status check for an instance.</p>
3181
+ * @public
3182
+ */
3183
+ Details?: EbsStatusDetails[];
3184
+ /**
3185
+ * <p>The current status.</p>
3186
+ * @public
3187
+ */
3188
+ Status?: SummaryStatus;
3189
+ }
3107
3190
  /**
3108
3191
  * @public
3109
3192
  * @enum
@@ -3158,31 +3241,6 @@ export interface InstanceStatusEvent {
3158
3241
  */
3159
3242
  NotBeforeDeadline?: Date;
3160
3243
  }
3161
- /**
3162
- * @public
3163
- * @enum
3164
- */
3165
- export declare const StatusName: {
3166
- readonly reachability: "reachability";
3167
- };
3168
- /**
3169
- * @public
3170
- */
3171
- export type StatusName = (typeof StatusName)[keyof typeof StatusName];
3172
- /**
3173
- * @public
3174
- * @enum
3175
- */
3176
- export declare const StatusType: {
3177
- readonly failed: "failed";
3178
- readonly initializing: "initializing";
3179
- readonly insufficient_data: "insufficient-data";
3180
- readonly passed: "passed";
3181
- };
3182
- /**
3183
- * @public
3184
- */
3185
- export type StatusType = (typeof StatusType)[keyof typeof StatusType];
3186
3244
  /**
3187
3245
  * <p>Describes the instance status.</p>
3188
3246
  * @public
@@ -3205,21 +3263,6 @@ export interface InstanceStatusDetails {
3205
3263
  */
3206
3264
  Status?: StatusType;
3207
3265
  }
3208
- /**
3209
- * @public
3210
- * @enum
3211
- */
3212
- export declare const SummaryStatus: {
3213
- readonly impaired: "impaired";
3214
- readonly initializing: "initializing";
3215
- readonly insufficient_data: "insufficient-data";
3216
- readonly not_applicable: "not-applicable";
3217
- readonly ok: "ok";
3218
- };
3219
- /**
3220
- * @public
3221
- */
3222
- export type SummaryStatus = (typeof SummaryStatus)[keyof typeof SummaryStatus];
3223
3266
  /**
3224
3267
  * <p>Describes the status of an instance.</p>
3225
3268
  * @public
@@ -3279,6 +3322,12 @@ export interface InstanceStatus {
3279
3322
  * @public
3280
3323
  */
3281
3324
  SystemStatus?: InstanceStatusSummary;
3325
+ /**
3326
+ * <p>Reports impaired functionality that stems from an attached Amazon EBS volume that is
3327
+ * unreachable and unable to complete I/O operations.</p>
3328
+ * @public
3329
+ */
3330
+ AttachedEbsStatus?: EbsStatusSummary;
3282
3331
  }
3283
3332
  /**
3284
3333
  * @public
@@ -7611,8 +7660,8 @@ export interface DescribeNetworkInterfacesRequest {
7611
7660
  * </li>
7612
7661
  * <li>
7613
7662
  * <p>
7614
- * <code>requester-managed</code> - Indicates whether the network interface is being managed by an Amazon Web Services service
7615
- * (for example, Amazon Web Services Management Console, Auto Scaling, and so on).</p>
7663
+ * <code>requester-managed</code> - Indicates whether the network interface is being managed by an Amazon Web Services
7664
+ * service (for example, Amazon Web Services Management Console, Auto Scaling, and so on).</p>
7616
7665
  * </li>
7617
7666
  * <li>
7618
7667
  * <p>
@@ -9060,8 +9109,8 @@ export interface DescribeRouteTablesRequest {
9060
9109
  * </li>
9061
9110
  * <li>
9062
9111
  * <p>
9063
- * <code>route.destination-prefix-list-id</code> - The ID (prefix) of the Amazon Web Services service
9064
- * specified in a route in the table.</p>
9112
+ * <code>route.destination-prefix-list-id</code> - The ID (prefix) of the Amazon Web Services
9113
+ * service specified in a route in the table.</p>
9065
9114
  * </li>
9066
9115
  * <li>
9067
9116
  * <p>
@@ -11020,35 +11069,6 @@ export interface TargetGroupsConfig {
11020
11069
  */
11021
11070
  TargetGroups?: TargetGroup[];
11022
11071
  }
11023
- /**
11024
- * <p>Describes the Classic Load Balancers and target groups to attach to a Spot Fleet
11025
- * request.</p>
11026
- * @public
11027
- */
11028
- export interface LoadBalancersConfig {
11029
- /**
11030
- * <p>The Classic Load Balancers.</p>
11031
- * @public
11032
- */
11033
- ClassicLoadBalancersConfig?: ClassicLoadBalancersConfig;
11034
- /**
11035
- * <p>The target groups.</p>
11036
- * @public
11037
- */
11038
- TargetGroupsConfig?: TargetGroupsConfig;
11039
- }
11040
- /**
11041
- * @public
11042
- * @enum
11043
- */
11044
- export declare const OnDemandAllocationStrategy: {
11045
- readonly LOWEST_PRICE: "lowestPrice";
11046
- readonly PRIORITIZED: "prioritized";
11047
- };
11048
- /**
11049
- * @public
11050
- */
11051
- export type OnDemandAllocationStrategy = (typeof OnDemandAllocationStrategy)[keyof typeof OnDemandAllocationStrategy];
11052
11072
  /**
11053
11073
  * @internal
11054
11074
  */
@@ -2,7 +2,36 @@ import { _InstanceType, ActivityStatus, AddressTransfer, AllocationStrategy, All
2
2
  import { BlockDeviceMapping, DiskImageFormat, FleetType, InstanceInterruptionBehavior, SpotInstanceType, Subnet, TargetCapacityUnitType, VolumeType, Vpc } from "./models_1";
3
3
  import { ConnectionNotification, DnsEntry, DnsNameState, GroupIdentifier, IpAddressType, PayerResponsibility, ServiceConfiguration, ServiceConnectivityType, ServiceTypeDetail, SpotInstanceStateFault, SSEType, State, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, Volume, VpcEndpoint, VpnConnection, VpnGateway } from "./models_2";
4
4
  import { ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchResourceType, FastLaunchSnapshotConfigurationResponse, FastLaunchStateCode, FastSnapshotRestoreStateCode, Filter, MetricType, PaymentOption, PeriodType, ProductCode, StatisticType } from "./models_3";
5
- import { AttributeBooleanValue, ExcessCapacityTerminationPolicy, HttpTokensState, InstanceMetadataEndpointState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, LaunchTemplateConfig, LoadBalancersConfig, OnDemandAllocationStrategy, RIProductDescription, SpotFleetLaunchSpecification, SpotPlacement } from "./models_4";
5
+ import { AttributeBooleanValue, ClassicLoadBalancersConfig, ExcessCapacityTerminationPolicy, InstanceNetworkInterfaceSpecification, LaunchTemplateConfig, RIProductDescription, SpotFleetLaunchSpecification, SpotPlacement, TargetGroupsConfig } from "./models_4";
6
+ /**
7
+ * <p>Describes the Classic Load Balancers and target groups to attach to a Spot Fleet
8
+ * request.</p>
9
+ * @public
10
+ */
11
+ export interface LoadBalancersConfig {
12
+ /**
13
+ * <p>The Classic Load Balancers.</p>
14
+ * @public
15
+ */
16
+ ClassicLoadBalancersConfig?: ClassicLoadBalancersConfig;
17
+ /**
18
+ * <p>The target groups.</p>
19
+ * @public
20
+ */
21
+ TargetGroupsConfig?: TargetGroupsConfig;
22
+ }
23
+ /**
24
+ * @public
25
+ * @enum
26
+ */
27
+ export declare const OnDemandAllocationStrategy: {
28
+ readonly LOWEST_PRICE: "lowestPrice";
29
+ readonly PRIORITIZED: "prioritized";
30
+ };
31
+ /**
32
+ * @public
33
+ */
34
+ export type OnDemandAllocationStrategy = (typeof OnDemandAllocationStrategy)[keyof typeof OnDemandAllocationStrategy];
6
35
  /**
7
36
  * @public
8
37
  * @enum
@@ -6991,13 +7020,6 @@ export interface EnableSnapshotBlockPublicAccessRequest {
6991
7020
  * the Region. Users in the account will no longer be able to request new public
6992
7021
  * sharing. Additionally, snapshots that are already publicly shared are treated as
6993
7022
  * private and they are no longer publicly available.</p>
6994
- * <note>
6995
- * <p>If you enable block public access for snapshots in <code>block-all-sharing</code>
6996
- * mode, it does not change the permissions for snapshots that are already publicly shared.
6997
- * Instead, it prevents these snapshots from be publicly visible and publicly accessible.
6998
- * Therefore, the attributes for these snapshots still indicate that they are publicly
6999
- * shared, even though they are not publicly available.</p>
7000
- * </note>
7001
7023
  * </li>
7002
7024
  * <li>
7003
7025
  * <p>
@@ -7575,12 +7597,14 @@ export interface DataQuery {
7575
7597
  */
7576
7598
  Destination?: string;
7577
7599
  /**
7578
- * <p>The metric, <code>aggregation-latency</code>, indicating that network latency is aggregated for the query. This is the only supported metric.</p>
7600
+ * <p>The metric used for the network performance request.</p>
7579
7601
  * @public
7580
7602
  */
7581
7603
  Metric?: MetricType;
7582
7604
  /**
7583
- * <p>The metric data aggregation period, <code>p50</code>, between the specified <code>startDate</code> and <code>endDate</code>. For example, a metric of <code>five_minutes</code> is the median of all the data points gathered within those five minutes. <code>p50</code> is the only supported metric.</p>
7605
+ * <p>The metric data aggregation period, <code>p50</code>, between the specified <code>startDate</code>
7606
+ * and <code>endDate</code>. For example, a metric of <code>five_minutes</code> is the median of all
7607
+ * the data points gathered within those five minutes. <code>p50</code> is the only supported metric.</p>
7584
7608
  * @public
7585
7609
  */
7586
7610
  Statistic?: StatisticType;
@@ -7673,7 +7697,7 @@ export interface DataResponse {
7673
7697
  */
7674
7698
  Destination?: string;
7675
7699
  /**
7676
- * <p>The metric used for the network performance request. Only <code>aggregate-latency</code> is supported, which shows network latency during a specified period. </p>
7700
+ * <p>The metric used for the network performance request.</p>
7677
7701
  * @public
7678
7702
  */
7679
7703
  Metric?: MetricType;
@@ -8383,62 +8407,6 @@ export interface GetImageBlockPublicAccessStateResult {
8383
8407
  */
8384
8408
  ImageBlockPublicAccessState?: string;
8385
8409
  }
8386
- /**
8387
- * @public
8388
- */
8389
- export interface GetInstanceMetadataDefaultsRequest {
8390
- /**
8391
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8392
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8393
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8394
- * @public
8395
- */
8396
- DryRun?: boolean;
8397
- }
8398
- /**
8399
- * <p>The default instance metadata service (IMDS) settings that were set at the account
8400
- * level in the specified Amazon Web Services
8401
- Region.</p>
8402
- * @public
8403
- */
8404
- export interface InstanceMetadataDefaultsResponse {
8405
- /**
8406
- * <p>Indicates whether IMDSv2 is required.</p>
8407
- * <ul>
8408
- * <li>
8409
- * <p>
8410
- * <code>optional</code> – IMDSv2 is optional, which means that you can
8411
- * use either IMDSv2 or IMDSv1.</p>
8412
- * </li>
8413
- * <li>
8414
- * <p>
8415
- * <code>required</code> – IMDSv2 is required, which means that IMDSv1 is
8416
- * disabled, and you must use IMDSv2.</p>
8417
- * </li>
8418
- * </ul>
8419
- * @public
8420
- */
8421
- HttpTokens?: HttpTokensState;
8422
- /**
8423
- * <p>The maximum number of hops that the metadata token can travel.</p>
8424
- * @public
8425
- */
8426
- HttpPutResponseHopLimit?: number;
8427
- /**
8428
- * <p>Indicates whether the IMDS endpoint for an instance is enabled or disabled. When disabled, the instance
8429
- * metadata can't be accessed.</p>
8430
- * @public
8431
- */
8432
- HttpEndpoint?: InstanceMetadataEndpointState;
8433
- /**
8434
- * <p>Indicates whether access to instance tags from the instance metadata is enabled or
8435
- * disabled. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS">Work with
8436
- * instance tags using the instance metadata</a> in the
8437
- * <i>Amazon EC2 User Guide</i>.</p>
8438
- * @public
8439
- */
8440
- InstanceMetadataTags?: InstanceMetadataTagsState;
8441
- }
8442
8410
  /**
8443
8411
  * @internal
8444
8412
  */
@@ -3,7 +3,63 @@ import { AttributeValue, CapacityReservationPreference, CapacityReservationTarge
3
3
  import { AutoAcceptSharedAttachmentsValue, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DnsOptionsSpecification, IpAddressType, PayerResponsibility, SubnetCidrReservation, SubnetConfiguration, TrafficDirection, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorNetworkService, TrafficMirrorPortRangeRequest, TrafficMirrorRuleAction, TrafficMirrorSession, TransitGateway, TransitGatewayPrefixListReference, VerifiedAccessEndpoint, VerifiedAccessEndpointProtocol, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpnConnection, VpnEcmpSupportValue } from "./models_2";
4
4
  import { ArchitectureValues, BootModeValues, ConversionTask, Filter, FpgaImageAttribute, FpgaImageAttributeName, IpamPoolCidr, LaunchPermission, PermissionGroup } from "./models_3";
5
5
  import { AnalysisStatus, ArchitectureType, AttributeBooleanValue, CreateVolumePermission, ExcessCapacityTerminationPolicy, HttpTokensState, ImportImageLicenseConfigurationResponse, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataOptionsResponse, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceStatusEvent, LaunchTemplateConfig, LockState, ReservedInstancesConfiguration, SnapshotAttributeName, SnapshotDetail, SnapshotTaskDetail, VirtualizationType } from "./models_4";
6
- import { InstanceFamilyCreditSpecification, InstanceMetadataDefaultsResponse, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
6
+ import { InstanceFamilyCreditSpecification, SnapshotBlockPublicAccessState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, VerifiedAccessInstanceLoggingConfiguration, VolumeModification } from "./models_5";
7
+ /**
8
+ * @public
9
+ */
10
+ export interface GetInstanceMetadataDefaultsRequest {
11
+ /**
12
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
13
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
14
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
15
+ * @public
16
+ */
17
+ DryRun?: boolean;
18
+ }
19
+ /**
20
+ * <p>The default instance metadata service (IMDS) settings that were set at the account
21
+ * level in the specified Amazon Web Services
22
+ Region.</p>
23
+ * @public
24
+ */
25
+ export interface InstanceMetadataDefaultsResponse {
26
+ /**
27
+ * <p>Indicates whether IMDSv2 is required.</p>
28
+ * <ul>
29
+ * <li>
30
+ * <p>
31
+ * <code>optional</code> – IMDSv2 is optional, which means that you can
32
+ * use either IMDSv2 or IMDSv1.</p>
33
+ * </li>
34
+ * <li>
35
+ * <p>
36
+ * <code>required</code> – IMDSv2 is required, which means that IMDSv1 is
37
+ * disabled, and you must use IMDSv2.</p>
38
+ * </li>
39
+ * </ul>
40
+ * @public
41
+ */
42
+ HttpTokens?: HttpTokensState;
43
+ /**
44
+ * <p>The maximum number of hops that the metadata token can travel.</p>
45
+ * @public
46
+ */
47
+ HttpPutResponseHopLimit?: number;
48
+ /**
49
+ * <p>Indicates whether the IMDS endpoint for an instance is enabled or disabled. When disabled, the instance
50
+ * metadata can't be accessed.</p>
51
+ * @public
52
+ */
53
+ HttpEndpoint?: InstanceMetadataEndpointState;
54
+ /**
55
+ * <p>Indicates whether access to instance tags from the instance metadata is enabled or
56
+ * disabled. For more information, see <a href="https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/Using_Tags.html#work-with-tags-in-IMDS">Work with
57
+ * instance tags using the instance metadata</a> in the
58
+ * <i>Amazon EC2 User Guide</i>.</p>
59
+ * @public
60
+ */
61
+ InstanceMetadataTags?: InstanceMetadataTagsState;
62
+ }
7
63
  /**
8
64
  * @public
9
65
  */
@@ -6514,6 +6570,9 @@ export interface ModifySubnetAttributeRequest {
6514
6570
  /**
6515
6571
  * <p>Indicates whether DNS queries made to the Amazon-provided DNS Resolver in this subnet
6516
6572
  * should return synthetic IPv6 addresses for IPv4-only destinations.</p>
6573
+ * <note>
6574
+ * <p>You must first configure a NAT gateway in a public subnet (separate from the subnet containing the IPv6-only workloads). For example, the subnet containing the NAT gateway should have a <code>0.0.0.0/0</code> route pointing to the internet gateway. For more information, see <a href="https://docs.aws.amazon.com/vpc/latest/userguide/nat-gateway-nat64-dns64.html#nat-gateway-nat64-dns64-walkthrough">Configure DNS64 and NAT64</a> in the <i>Amazon VPC User Guide</i>.</p>
6575
+ * </note>
6517
6576
  * @public
6518
6577
  */
6519
6578
  EnableDns64?: AttributeBooleanValue;
@@ -6825,7 +6884,23 @@ export interface ModifyTransitGatewayOptions {
6825
6884
  /**
6826
6885
  * <p>A private Autonomous System Number (ASN) for the Amazon side of a BGP session.
6827
6886
  * The range is 64512 to 65534 for 16-bit ASNs and 4200000000 to 4294967294 for 32-bit ASNs.</p>
6828
- * <p>The modify ASN operation is not allowed on a transit gateway with active BGP sessions. You must first delete all transit gateway attachments that have BGP configured prior to modifying the ASN on the transit gateway.</p>
6887
+ * <p>The modify ASN operation is not allowed on a transit gateway if it has the following attachments:</p>
6888
+ * <ul>
6889
+ * <li>
6890
+ * <p>Dynamic VPN</p>
6891
+ * </li>
6892
+ * <li>
6893
+ * <p>Static VPN</p>
6894
+ * </li>
6895
+ * <li>
6896
+ * <p>Direct Connect Gateway</p>
6897
+ * </li>
6898
+ * <li>
6899
+ * <p>Connect</p>
6900
+ * </li>
6901
+ * </ul>
6902
+ * <p>You must first delete all transit gateway attachments configured prior to modifying the ASN on
6903
+ * the transit gateway.</p>
6829
6904
  * @public
6830
6905
  */
6831
6906
  AmazonSideAsn?: number;
@@ -8165,39 +8240,6 @@ export interface ModifyVpnConnectionOptionsRequest {
8165
8240
  */
8166
8241
  DryRun?: boolean;
8167
8242
  }
8168
- /**
8169
- * @public
8170
- */
8171
- export interface ModifyVpnConnectionOptionsResult {
8172
- /**
8173
- * <p>Information about the VPN connection.</p>
8174
- * @public
8175
- */
8176
- VpnConnection?: VpnConnection;
8177
- }
8178
- /**
8179
- * @public
8180
- */
8181
- export interface ModifyVpnTunnelCertificateRequest {
8182
- /**
8183
- * <p>The ID of the Amazon Web Services Site-to-Site VPN connection.</p>
8184
- * @public
8185
- */
8186
- VpnConnectionId: string | undefined;
8187
- /**
8188
- * <p>The external IP address of the VPN tunnel.</p>
8189
- * @public
8190
- */
8191
- VpnTunnelOutsideIpAddress: string | undefined;
8192
- /**
8193
- * <p>Checks whether you have the required permissions for the action, without actually
8194
- * making the request, and provides an error response. If you have the required
8195
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
8196
- * <code>UnauthorizedOperation</code>.</p>
8197
- * @public
8198
- */
8199
- DryRun?: boolean;
8200
- }
8201
8243
  /**
8202
8244
  * @internal
8203
8245
  */
@@ -8286,7 +8328,3 @@ export declare const ModifyVerifiedAccessTrustProviderResultFilterSensitiveLog:
8286
8328
  * @internal
8287
8329
  */
8288
8330
  export declare const ModifyVpnConnectionResultFilterSensitiveLog: (obj: ModifyVpnConnectionResult) => any;
8289
- /**
8290
- * @internal
8291
- */
8292
- export declare const ModifyVpnConnectionOptionsResultFilterSensitiveLog: (obj: ModifyVpnConnectionOptionsResult) => any;
@@ -5,6 +5,39 @@ import { ArchitectureValues, BootModeValues, Byoasn, ClientVpnConnectionStatus,
5
5
  import { HttpTokensState, InstanceAttributeName, InstanceAutoRecoveryState, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceNetworkInterfaceSpecification, InstanceState, Monitoring, NetworkInsightsAccessScopeAnalysis, NetworkInsightsAnalysis, PublicIpv4PoolRange, ScheduledInstance, SnapshotAttributeName, SpotPlacement, TpmSupportValues } from "./models_4";
6
6
  import { Purchase, RunInstancesMonitoringEnabled, SpotFleetRequestConfigData, SpotInstanceRequest } from "./models_5";
7
7
  import { CapacityReservationSpecification } from "./models_6";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface ModifyVpnConnectionOptionsResult {
12
+ /**
13
+ * <p>Information about the VPN connection.</p>
14
+ * @public
15
+ */
16
+ VpnConnection?: VpnConnection;
17
+ }
18
+ /**
19
+ * @public
20
+ */
21
+ export interface ModifyVpnTunnelCertificateRequest {
22
+ /**
23
+ * <p>The ID of the Amazon Web Services Site-to-Site VPN connection.</p>
24
+ * @public
25
+ */
26
+ VpnConnectionId: string | undefined;
27
+ /**
28
+ * <p>The external IP address of the VPN tunnel.</p>
29
+ * @public
30
+ */
31
+ VpnTunnelOutsideIpAddress: string | undefined;
32
+ /**
33
+ * <p>Checks whether you have the required permissions for the action, without actually
34
+ * making the request, and provides an error response. If you have the required
35
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
36
+ * <code>UnauthorizedOperation</code>.</p>
37
+ * @public
38
+ */
39
+ DryRun?: boolean;
40
+ }
8
41
  /**
9
42
  * @public
10
43
  */
@@ -4857,6 +4890,10 @@ export interface WithdrawByoipCidrResult {
4857
4890
  */
4858
4891
  ByoipCidr?: ByoipCidr;
4859
4892
  }
4893
+ /**
4894
+ * @internal
4895
+ */
4896
+ export declare const ModifyVpnConnectionOptionsResultFilterSensitiveLog: (obj: ModifyVpnConnectionOptionsResult) => any;
4860
4897
  /**
4861
4898
  * @internal
4862
4899
  */
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { GetInstanceMetadataDefaultsRequest } from "../models/models_5";
9
- import { GetInstanceMetadataDefaultsResult } from "../models/models_6";
8
+ import {
9
+ GetInstanceMetadataDefaultsRequest,
10
+ GetInstanceMetadataDefaultsResult,
11
+ } from "../models/models_6";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface GetInstanceMetadataDefaultsCommandInput
@@ -5,10 +5,8 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import {
9
- ModifyVpnConnectionOptionsRequest,
10
- ModifyVpnConnectionOptionsResult,
11
- } from "../models/models_6";
8
+ import { ModifyVpnConnectionOptionsRequest } from "../models/models_6";
9
+ import { ModifyVpnConnectionOptionsResult } from "../models/models_7";
12
10
  export { __MetadataBearer };
13
11
  export { $Command };
14
12
  export interface ModifyVpnConnectionOptionsCommandInput
@@ -5,8 +5,10 @@ import {
5
5
  ServiceInputTypes,
6
6
  ServiceOutputTypes,
7
7
  } from "../EC2Client";
8
- import { ModifyVpnTunnelCertificateRequest } from "../models/models_6";
9
- import { ModifyVpnTunnelCertificateResult } from "../models/models_7";
8
+ import {
9
+ ModifyVpnTunnelCertificateRequest,
10
+ ModifyVpnTunnelCertificateResult,
11
+ } from "../models/models_7";
10
12
  export { __MetadataBearer };
11
13
  export { $Command };
12
14
  export interface ModifyVpnTunnelCertificateCommandInput