@aws-sdk/client-ec2 3.1154.0 → 3.1156.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 (79) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +180 -24
  3. package/dist-es/EC2.js +4 -0
  4. package/dist-es/commands/GetTransitGatewayAttachmentNatConfigurationCommand.js +4 -0
  5. package/dist-es/commands/ModifyTransitGatewayAttachmentNatConfigurationCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +21 -0
  8. package/dist-es/schemas/schemas_0.js +134 -23
  9. package/dist-types/EC2.d.ts +14 -0
  10. package/dist-types/EC2Client.d.ts +6 -3
  11. package/dist-types/commands/CreateCarrierGatewayCommand.d.ts +2 -1
  12. package/dist-types/commands/CreateTransitGatewayRouteCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteLaunchTemplateCommand.d.ts +2 -1
  14. package/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
  15. package/dist-types/commands/DeleteTransitGatewayRouteTableCommand.d.ts +5 -2
  16. package/dist-types/commands/DescribeFleetHistoryCommand.d.ts +2 -1
  17. package/dist-types/commands/DescribeInstanceStatusCommand.d.ts +5 -0
  18. package/dist-types/commands/DescribeNetworkInsightsAnalysesCommand.d.ts +48 -0
  19. package/dist-types/commands/DescribeReservedInstancesModificationsCommand.d.ts +2 -1
  20. package/dist-types/commands/DescribeReservedInstancesOfferingsCommand.d.ts +1 -2
  21. package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -0
  22. package/dist-types/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +2 -1
  23. package/dist-types/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +1 -2
  24. package/dist-types/commands/GetNetworkInsightsAccessScopeAnalysisFindingsCommand.d.ts +19 -0
  25. package/dist-types/commands/GetTransitGatewayAttachmentNatConfigurationCommand.d.ts +82 -0
  26. package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +2 -1
  27. package/dist-types/commands/GetVpnConnectionDeviceTypesCommand.d.ts +1 -1
  28. package/dist-types/commands/GetVpnTunnelReplacementStatusCommand.d.ts +1 -2
  29. package/dist-types/commands/ModifyTransitGatewayAttachmentNatConfigurationCommand.d.ts +107 -0
  30. package/dist-types/commands/ReleaseAddressCommand.d.ts +1 -1
  31. package/dist-types/commands/ReleaseHostsCommand.d.ts +1 -1
  32. package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  33. package/dist-types/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
  34. package/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
  35. package/dist-types/commands/SearchTransitGatewayRoutesCommand.d.ts +1 -1
  36. package/dist-types/commands/StartNetworkInsightsAnalysisCommand.d.ts +48 -0
  37. package/dist-types/commands/index.d.ts +2 -0
  38. package/dist-types/models/enums.d.ts +53 -0
  39. package/dist-types/models/models_0.d.ts +56 -10
  40. package/dist-types/models/models_1.d.ts +11 -24
  41. package/dist-types/models/models_2.d.ts +24 -11
  42. package/dist-types/models/models_3.d.ts +11 -37
  43. package/dist-types/models/models_4.d.ts +66 -187
  44. package/dist-types/models/models_5.d.ts +193 -35
  45. package/dist-types/models/models_6.d.ts +115 -114
  46. package/dist-types/models/models_7.d.ts +214 -133
  47. package/dist-types/models/models_8.d.ts +131 -2
  48. package/dist-types/schemas/schemas_0.d.ts +10 -0
  49. package/dist-types/ts3.4/EC2.d.ts +34 -0
  50. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  51. package/dist-types/ts3.4/commands/CreateCarrierGatewayCommand.d.ts +2 -1
  52. package/dist-types/ts3.4/commands/DeleteLaunchTemplateCommand.d.ts +2 -1
  53. package/dist-types/ts3.4/commands/DescribeFleetHistoryCommand.d.ts +2 -1
  54. package/dist-types/ts3.4/commands/DescribeReservedInstancesModificationsCommand.d.ts +2 -4
  55. package/dist-types/ts3.4/commands/DescribeReservedInstancesOfferingsCommand.d.ts +4 -2
  56. package/dist-types/ts3.4/commands/DisassociateTransitGatewayPolicyTableCommand.d.ts +2 -4
  57. package/dist-types/ts3.4/commands/DisassociateTransitGatewayRouteTableCommand.d.ts +4 -2
  58. package/dist-types/ts3.4/commands/GetTransitGatewayAttachmentNatConfigurationCommand.d.ts +42 -0
  59. package/dist-types/ts3.4/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +2 -4
  60. package/dist-types/ts3.4/commands/GetVpnConnectionDeviceTypesCommand.d.ts +1 -1
  61. package/dist-types/ts3.4/commands/GetVpnTunnelReplacementStatusCommand.d.ts +4 -2
  62. package/dist-types/ts3.4/commands/ModifyTransitGatewayAttachmentNatConfigurationCommand.d.ts +42 -0
  63. package/dist-types/ts3.4/commands/ReleaseAddressCommand.d.ts +1 -1
  64. package/dist-types/ts3.4/commands/ReleaseHostsCommand.d.ts +1 -1
  65. package/dist-types/ts3.4/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  66. package/dist-types/ts3.4/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -1
  67. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  68. package/dist-types/ts3.4/models/enums.d.ts +29 -0
  69. package/dist-types/ts3.4/models/models_0.d.ts +12 -3
  70. package/dist-types/ts3.4/models/models_1.d.ts +4 -4
  71. package/dist-types/ts3.4/models/models_2.d.ts +5 -5
  72. package/dist-types/ts3.4/models/models_3.d.ts +4 -7
  73. package/dist-types/ts3.4/models/models_4.d.ts +20 -23
  74. package/dist-types/ts3.4/models/models_5.d.ts +25 -9
  75. package/dist-types/ts3.4/models/models_6.d.ts +27 -23
  76. package/dist-types/ts3.4/models/models_7.d.ts +46 -34
  77. package/dist-types/ts3.4/models/models_8.d.ts +34 -1
  78. package/dist-types/ts3.4/schemas/schemas_0.d.ts +10 -0
  79. package/package.json +6 -6
@@ -1,10 +1,42 @@
1
- import type { AllowedImagesSettingsEnabledState, AnalysisStatus, ArchitectureType, CapacityManagerMonitoredTagKeyStatus, CapacityManagerStatus, CapacityReservationState, CapacityTenancy, ChronologicalOrder, ClientCertificateRevocationListStatusCode, ClientVpnAuthorizationPolicyShadowMode, ClientVpnAuthorizationPolicyStatus, Comparison, CurrencyCodeValues, DeviceTrustProviderType, DiskImageFormat, EkPubKeyFormat, EkPubKeyType, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FilterByDimension, GroupBy, HttpTokensEnforcedState, HttpTokensState, ImageBlockPublicAccessEnabledState, IngestionStatus, InstanceMetadataEndpointState, InstanceMetadataTagsState, IpamAddressHistoryResourceType, IpamByoipAdvertisementType, IpamByoipCidrState, IpamComplianceStatus, IpamDiscoveryFailureCode, IpamManagementState, IpamNetworkInterfaceAttachmentStatus, IpamOverlapStatus, IpamPolicyManagedBy, IpamPolicyResourceType, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPublicAddressAssociationStatus, IpamPublicAddressAwsService, IpamPublicAddressType, IpamResourceCidrIpSource, IpamResourceType, IpamRoutingPolicyRegistrationState, IpamRpkiStatus, IpamRpkiStrength, ManagedBy, ManagedResourceDefaultVisibility, Metric, MetricType, PartitionLoadFrequency, PaymentOption, PeriodType, ReservationEndDateType, ReservationState, ReservationType, RouteServerRouteInstallationStatus, RouteServerRouteStatus, SnapshotBlockPublicAccessState, SSEType, StatisticType, TargetCapacityUnitType, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, UserTrustProviderType, VirtualizationType } from "./enums";
1
+ import type { AllowedImagesSettingsEnabledState, AnalysisStatus, ArchitectureType, CapacityManagerMonitoredTagKeyStatus, CapacityManagerStatus, CapacityReservationState, CapacityTenancy, ChronologicalOrder, ClientCertificateRevocationListStatusCode, ClientVpnAuthorizationPolicyShadowMode, ClientVpnAuthorizationPolicyStatus, Comparison, CurrencyCodeValues, DeviceTrustProviderType, DiskImageFormat, EkPubKeyFormat, EkPubKeyType, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FilterByDimension, GroupBy, HttpTokensEnforcedState, HttpTokensState, ImageBlockPublicAccessEnabledState, IngestionStatus, InstanceMetadataEndpointState, InstanceMetadataTagsState, IpamAddressHistoryResourceType, IpamByoipAdvertisementType, IpamByoipCidrState, IpamComplianceStatus, IpamDiscoveryFailureCode, IpamManagementState, IpamNetworkInterfaceAttachmentStatus, IpamOverlapStatus, IpamPolicyManagedBy, IpamPolicyResourceType, IpamPrefixListResolverRuleConditionOperation, IpamPrefixListResolverRuleType, IpamPublicAddressAssociationStatus, IpamPublicAddressAwsService, IpamPublicAddressType, IpamResourceCidrIpSource, IpamResourceType, IpamRoutingPolicyRegistrationState, IpamRpkiStatus, IpamRpkiStrength, ManagedBy, ManagedResourceDefaultVisibility, Metric, MetricType, PartitionLoadFrequency, PaymentOption, PeriodType, ReservationEndDateType, ReservationState, ReservationType, RouteServerRouteInstallationStatus, RouteServerRouteStatus, SnapshotBlockPublicAccessState, SSEType, StatisticType, TargetCapacityUnitType, TransitGatewayAssociationState, TransitGatewayAttachmentNatGatewaySupportState, TransitGatewayAttachmentNatSystemRouteSupportValue, TransitGatewayAttachmentResourceType, TransitGatewayNatRuleState, TransitGatewayPropagationState, UnlimitedSupportedInstanceFamily, UserTrustProviderType, VirtualizationType } from "./enums";
2
2
  import type { AccessScopeAnalysisFinding, ActiveVpnTunnelStatus, AddressTransfer, InterruptibleCapacityAllocation, InterruptionInfo, IpamPoolAllocation, IpamRoutingPolicyRegistrationDelta, RouteServerAssociation, SubnetAssociation, Tag, TagSpecification, TargetConfigurationRequest, TransitGatewayAssociation, TransitGatewayPolicyTableAssociation, VpcCidrBlockAssociation, VpcIpv6CidrBlockAssociation } from "./models_0";
3
3
  import type { InstanceRequirementsRequest, IpamInternetRegistryAssociation, IpamResourceTag, NetworkInsightsAccessScopeContent, RequestIpamResourceTag, ResponseLaunchTemplateData } from "./models_1";
4
4
  import type { SubnetCidrReservation, TransitGatewayMeteringPolicyEntry, TransitGatewayPolicyTableEntry, TransitGatewayPrefixListReference } from "./models_2";
5
5
  import type { ExportTaskS3Location, FastLaunchLaunchTemplateSpecificationResponse, FastLaunchSnapshotConfigurationResponse, Filter, IpamPoolCidr } from "./models_3";
6
6
  import type { RegisteredInstance } from "./models_4";
7
7
  import type { RouteServerPropagation, SuccessfulSuppressionResponseObject, TransitGatewayPropagation, UnsuccessfulSuppressionResponseObject } from "./models_5";
8
+ /**
9
+ * @public
10
+ */
11
+ export interface DisassociateTransitGatewayPolicyTableResult {
12
+ /**
13
+ * <p>Returns details about the transit gateway policy table disassociation.</p>
14
+ * @public
15
+ */
16
+ Association?: TransitGatewayPolicyTableAssociation | undefined;
17
+ }
18
+ /**
19
+ * @public
20
+ */
21
+ export interface DisassociateTransitGatewayRouteTableRequest {
22
+ /**
23
+ * <p>The ID of the transit gateway route table.</p>
24
+ * @public
25
+ */
26
+ TransitGatewayRouteTableId: string | undefined;
27
+ /**
28
+ * <p>The ID of the attachment.</p>
29
+ * @public
30
+ */
31
+ TransitGatewayAttachmentId: string | undefined;
32
+ /**
33
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
34
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
35
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
36
+ * @public
37
+ */
38
+ DryRun?: boolean | undefined;
39
+ }
8
40
  /**
9
41
  * @public
10
42
  */
@@ -7140,6 +7172,88 @@ export interface GetSubnetCidrReservationsResult {
7140
7172
  */
7141
7173
  NextToken?: string | undefined;
7142
7174
  }
7175
+ /**
7176
+ * @public
7177
+ */
7178
+ export interface GetTransitGatewayAttachmentNatConfigurationRequest {
7179
+ /**
7180
+ * <p>The ID of the transit gateway attachment.</p>
7181
+ * @public
7182
+ */
7183
+ TransitGatewayAttachmentId: string | undefined;
7184
+ /**
7185
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
7186
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
7187
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
7188
+ * @public
7189
+ */
7190
+ DryRun?: boolean | undefined;
7191
+ }
7192
+ /**
7193
+ * <p>Contains information about a NAT gateway rule for a transit gateway attachment, including the rule number, the source CIDR block, the translated CIDR block, and the state of the rule.</p>
7194
+ * @public
7195
+ */
7196
+ export interface TransitGatewayNatRule {
7197
+ /**
7198
+ * <p>The rule number.</p>
7199
+ * @public
7200
+ */
7201
+ RuleNumber?: number | undefined;
7202
+ /**
7203
+ * <p>The IPv4 CIDR block of the source addresses to translate.</p>
7204
+ * @public
7205
+ */
7206
+ MatchSourceCidr?: string | undefined;
7207
+ /**
7208
+ * <p>The IPv4 CIDR block that the transit gateway translates the source addresses to.</p>
7209
+ * @public
7210
+ */
7211
+ NatCidr?: string | undefined;
7212
+ /**
7213
+ * <p>The state of the NAT gateway rule. The possible values are:</p>
7214
+ * <ul>
7215
+ * <li>
7216
+ * <p>
7217
+ * <code>pending</code> - The transit gateway is applying a change to the rule.</p>
7218
+ * </li>
7219
+ * <li>
7220
+ * <p>
7221
+ * <code>activated</code> - The rule is in effect because NAT gateway support is enabled for the attachment.</p>
7222
+ * </li>
7223
+ * <li>
7224
+ * <p>
7225
+ * <code>deactivated</code> - The rule isn't in effect because NAT gateway support is disabled for the attachment.</p>
7226
+ * </li>
7227
+ * </ul>
7228
+ * @public
7229
+ */
7230
+ State?: TransitGatewayNatRuleState | undefined;
7231
+ }
7232
+ /**
7233
+ * @public
7234
+ */
7235
+ export interface GetTransitGatewayAttachmentNatConfigurationResult {
7236
+ /**
7237
+ * <p>The ID of the transit gateway attachment.</p>
7238
+ * @public
7239
+ */
7240
+ TransitGatewayAttachmentId?: string | undefined;
7241
+ /**
7242
+ * <p>The state of NAT gateway support for the attachment.</p>
7243
+ * @public
7244
+ */
7245
+ NatGatewaySupport?: TransitGatewayAttachmentNatGatewaySupportState | undefined;
7246
+ /**
7247
+ * <p>Specifies whether the transit gateway installs routes for the NAT CIDRs in the route tables to which the attachment propagates.</p>
7248
+ * @public
7249
+ */
7250
+ NatSystemRouteSupport?: TransitGatewayAttachmentNatSystemRouteSupportValue | undefined;
7251
+ /**
7252
+ * <p>The NAT gateway rules for the attachment.</p>
7253
+ * @public
7254
+ */
7255
+ NatGatewayRules?: TransitGatewayNatRule[] | undefined;
7256
+ }
7143
7257
  /**
7144
7258
  * @public
7145
7259
  */
@@ -7995,116 +8109,3 @@ export interface GetVpnConnectionDeviceSampleConfigurationRequest {
7995
8109
  */
7996
8110
  DryRun?: boolean | undefined;
7997
8111
  }
7998
- /**
7999
- * @public
8000
- */
8001
- export interface GetVpnConnectionDeviceSampleConfigurationResult {
8002
- /**
8003
- * <p>Sample configuration file for the specified customer gateway device.</p>
8004
- * @public
8005
- */
8006
- VpnConnectionDeviceSampleConfiguration?: string | undefined;
8007
- }
8008
- /**
8009
- * @public
8010
- */
8011
- export interface GetVpnConnectionDeviceTypesRequest {
8012
- /**
8013
- * <p>The maximum number of results returned by <code>GetVpnConnectionDeviceTypes</code> in
8014
- * paginated output. When this parameter is used, <code>GetVpnConnectionDeviceTypes</code>
8015
- * only returns <code>MaxResults</code> results in a single page along with a
8016
- * <code>NextToken</code> response element. The remaining results of the initial
8017
- * request can be seen by sending another <code>GetVpnConnectionDeviceTypes</code> request
8018
- * with the returned <code>NextToken</code> value. This value can be between 200 and 1000.
8019
- * If this parameter is not used, then <code>GetVpnConnectionDeviceTypes</code> returns all
8020
- * results.</p>
8021
- * @public
8022
- */
8023
- MaxResults?: number | undefined;
8024
- /**
8025
- * <p>The <code>NextToken</code> value returned from a previous paginated
8026
- * <code>GetVpnConnectionDeviceTypes</code> request where <code>MaxResults</code> was
8027
- * used and the results exceeded the value of that parameter. Pagination continues from the
8028
- * end of the previous results that returned the <code>NextToken</code> value. This value
8029
- * is null when there are no more results to return. </p>
8030
- * @public
8031
- */
8032
- NextToken?: string | undefined;
8033
- /**
8034
- * <p>Checks whether you have the required permissions for the action, without actually
8035
- * making the request, and provides an error response. If you have the required
8036
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
8037
- * <code>UnauthorizedOperation</code>.</p>
8038
- * @public
8039
- */
8040
- DryRun?: boolean | undefined;
8041
- }
8042
- /**
8043
- * <p>List of customer gateway devices that have a sample configuration file available for
8044
- * use. You can also see the list of device types with sample configuration files available
8045
- * under <a href="https://docs.aws.amazon.com/vpn/latest/s2svpn/your-cgw.html">Your customer
8046
- * gateway device</a> in the <i>Amazon Web Services Site-to-Site VPN User Guide</i>.</p>
8047
- * @public
8048
- */
8049
- export interface VpnConnectionDeviceType {
8050
- /**
8051
- * <p>Customer gateway device identifier.</p>
8052
- * @public
8053
- */
8054
- VpnConnectionDeviceTypeId?: string | undefined;
8055
- /**
8056
- * <p>Customer gateway device vendor.</p>
8057
- * @public
8058
- */
8059
- Vendor?: string | undefined;
8060
- /**
8061
- * <p>Customer gateway device platform.</p>
8062
- * @public
8063
- */
8064
- Platform?: string | undefined;
8065
- /**
8066
- * <p>Customer gateway device software version.</p>
8067
- * @public
8068
- */
8069
- Software?: string | undefined;
8070
- }
8071
- /**
8072
- * @public
8073
- */
8074
- export interface GetVpnConnectionDeviceTypesResult {
8075
- /**
8076
- * <p>List of customer gateway devices that have a sample configuration file available for
8077
- * use.</p>
8078
- * @public
8079
- */
8080
- VpnConnectionDeviceTypes?: VpnConnectionDeviceType[] | undefined;
8081
- /**
8082
- * <p>The <code>NextToken</code> value to include in a future
8083
- * <code>GetVpnConnectionDeviceTypes</code> request. When the results of a
8084
- * <code>GetVpnConnectionDeviceTypes</code> request exceed <code>MaxResults</code>,
8085
- * this value can be used to retrieve the next page of results. This value is null when
8086
- * there are no more results to return.</p>
8087
- * @public
8088
- */
8089
- NextToken?: string | undefined;
8090
- }
8091
- /**
8092
- * @public
8093
- */
8094
- export interface GetVpnTunnelReplacementStatusRequest {
8095
- /**
8096
- * <p>The ID of the Site-to-Site VPN connection. </p>
8097
- * @public
8098
- */
8099
- VpnConnectionId: string | undefined;
8100
- /**
8101
- * <p>The external IP address of the VPN tunnel.</p>
8102
- * @public
8103
- */
8104
- VpnTunnelOutsideIpAddress: string | undefined;
8105
- /**
8106
- * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8107
- * @public
8108
- */
8109
- DryRun?: boolean | undefined;
8110
- }
@@ -1,11 +1,124 @@
1
- import type { _InstanceType, AccountVpcEncryptionControlMode, Affinity, AggregationStatusEnum, ApplianceModeSupportValue, ArchitectureValues, AutoAcceptSharedAttachmentsValue, AutoPlacement, BootModeValues, CapacityReservationAdjustmentStatus, CapacityReservationInstancePlatform, CapacityReservationPreference, ClientVpnAuthorizationPolicyShadowMode, ClientVpnAuthorizationPolicyStatus, CurrencyCodeValues, DefaultHttpTokensEnforcedState, DefaultInstanceMetadataEndpointState, DefaultInstanceMetadataTagsState, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DiskImageFormat, DnsSupportValue, EncryptionSupportOptionValue, EndDateType, ExcessCapacityTerminationPolicy, FleetExcessCapacityTerminationPolicy, FpgaImageAttributeName, HostMaintenance, HostnameType, HostRecovery, HostTenancy, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceMatchCriteria, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InternetGatewayBlockMode, InternetGatewayExclusionMode, IpAddressType, IpamMeteredAccount, IpamPolicyResourceType, IpamTier, IpScopeEnum, Ipv6SupportValue, IpVersionEnum, LockMode, LockState, ManagedResourceDefaultVisibility, MetadataDefaultHttpTokensState, ModifyAvailabilityZoneOptInStatus, NestedVirtualizationSpecification, NetworkProtocolEnum, OperationType, PayerResponsibility, PayerResponsibilityScope, PayerResponsibilityType, PermissionGroup, PlatformValues, PublicIpDnsOption, RouteServerPersistRoutesAction, SecurityGroupReferencingSupportValue, SelfServicePortal, ShutdownBehavior, SnapshotAttributeName, Status, TargetStorageTier, TpmSupportValues, TrafficDirection, TrafficMirrorFilterRuleField, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorSessionField, UnlimitedSupportedInstanceFamily, UnsuccessfulInstanceCreditSpecificationErrorCode, VerificationMethod, VerifiedAccessEndpointProtocol, VolumeState, VolumeType, VpcEncryptionControlExclusionStateInput, VpcEncryptionControlMode, VpcTenancy, VpnEcmpSupportValue, VpnTunnelBandwidth } from "./enums";
2
- import type { AccountVpcEncryptionControl, AddedPrincipal, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, ApplicationStatusCheckResponseObject, ByoipCidr, CapacityReservation, CapacityReservationAdjustmentDetails, EnaSrdSpecification, HealthCheckPathRequestObject, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpamPoolAllocation, IpamRoutingPolicyRegistrationDelta, OperatorResponse, Tag, TagSpecification, TransitGatewayClientVpnAttachment, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
1
+ import type { _InstanceType, AccountVpcEncryptionControlMode, Affinity, AggregationStatusEnum, ApplianceModeSupportValue, ArchitectureValues, AutoAcceptSharedAttachmentsValue, AutoPlacement, BootModeValues, CapacityReservationAdjustmentStatus, CapacityReservationInstancePlatform, CapacityReservationPreference, ClientVpnAuthorizationPolicyShadowMode, ClientVpnAuthorizationPolicyStatus, CurrencyCodeValues, DefaultHttpTokensEnforcedState, DefaultInstanceMetadataEndpointState, DefaultInstanceMetadataTagsState, DefaultRouteTableAssociationValue, DefaultRouteTablePropagationValue, DiskImageFormat, DnsSupportValue, EncryptionSupportOptionValue, EndDateType, ExcessCapacityTerminationPolicy, FleetExcessCapacityTerminationPolicy, FpgaImageAttributeName, HostMaintenance, HostnameType, HostRecovery, HostTenancy, HttpTokensState, ImdsSupportValues, InstanceAttributeName, InstanceAutoRecoveryState, InstanceBandwidthWeighting, InstanceMatchCriteria, InstanceMetadataEndpointState, InstanceMetadataProtocolState, InstanceMetadataTagsState, InstanceRebootMigrationState, InternetGatewayBlockMode, InternetGatewayExclusionMode, IpAddressType, IpamMeteredAccount, IpamPolicyResourceType, IpamTier, IpScopeEnum, Ipv6SupportValue, IpVersionEnum, LockMode, LockState, ManagedResourceDefaultVisibility, MetadataDefaultHttpTokensState, ModifyAvailabilityZoneOptInStatus, NestedVirtualizationSpecification, NetworkProtocolEnum, OperationType, PayerResponsibility, PayerResponsibilityScope, PayerResponsibilityType, PermissionGroup, PlatformValues, PublicIpDnsOption, RouteServerPersistRoutesAction, SecurityGroupReferencingSupportValue, SelfServicePortal, ShutdownBehavior, SnapshotAttributeName, Status, TargetStorageTier, TpmSupportValues, TrafficDirection, TrafficMirrorFilterRuleField, TrafficMirrorNetworkService, TrafficMirrorRuleAction, TrafficMirrorSessionField, TransitGatewayAttachmentNatGatewaySupportState, TransitGatewayAttachmentNatGatewaySupportValue, TransitGatewayAttachmentNatSystemRouteSupportValue, UnlimitedSupportedInstanceFamily, UnsuccessfulInstanceCreditSpecificationErrorCode, VerificationMethod, VerifiedAccessEndpointProtocol, VolumeState, VolumeType, VpcEncryptionControlExclusionStateInput, VpcEncryptionControlMode, VpcTenancy, VpnEcmpSupportValue, VpnTunnelBandwidth } from "./enums";
2
+ import type { AccountVpcEncryptionControl, AddedPrincipal, AddIpamOperatingRegion, AddIpamOrganizationalUnitExclusion, AddPrefixListEntry, AddressAttribute, ApplicationStatusCheckResponseObject, ByoipCidr, CapacityReservation, CapacityReservationAdjustmentDetails, EnaSrdSpecification, HealthCheckPathRequestObject, InstanceEventWindow, IpamPoolAllocation, IpamRoutingPolicyRegistrationDelta, OperatorResponse, Tag, TagSpecification, TransitGatewayClientVpnAttachment, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, UnsuccessfulItem, VerifiedAccessInstance, VerifiedAccessSseSpecificationResponse, VerifiedAccessTrustProvider } from "./models_0";
3
3
  import type { AttributeValue, BlockDeviceMapping, CapacityReservationTarget, ClientConnectOptions, ClientLoginBannerOptions, ClientRouteEnforcementOptions, ConnectionLogOptions, ConnectionTrackingSpecificationRequest, DevicePostureOptions, ExternalAuthorityConfiguration, FleetLaunchTemplateConfigRequest, InstanceEventWindowTimeRangeRequest, Ipam, IpamPool, IpamPrefixListResolver, IpamPrefixListResolverRuleRequest, IpamPrefixListResolverTarget, IpamResourceDiscovery, IpamScope, LaunchTemplate, LocalGatewayRoute, ManagedPrefixList, Placement, RequestIpamResourceTag, TargetCapacitySpecificationRequest, TransitGatewayConfigurationInputStructure, VpcEncryptionControl } from "./models_1";
4
4
  import type { DnsOptionsSpecification, IKEVersionsRequestListValue, PayerResponsibilityEntry, Phase1DHGroupNumbersRequestListValue, Phase1EncryptionAlgorithmsRequestListValue, Phase1IntegrityAlgorithmsRequestListValue, Phase2DHGroupNumbersRequestListValue, Phase2EncryptionAlgorithmsRequestListValue, Phase2IntegrityAlgorithmsRequestListValue, RouteServer, SubnetConfiguration, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorPortRangeRequest, TrafficMirrorSession, TransitGateway, TransitGatewayMeteringPolicy, TransitGatewayPolicyTableEntry, TransitGatewayPrefixListReference, TransitGatewayRequestPolicyRule, VerifiedAccessEndpoint, VerifiedAccessGroup, VerifiedAccessSseSpecificationRequest, VpcBlockPublicAccessExclusion, VpnConnection, VpnTunnelLogOptionsSpecification } from "./models_2";
5
5
  import type { Byoasn, CapacityBlock, CapacityBlockExtension, ConversionTask, InstanceTagNotificationAttribute, IpamPoolCidr } from "./models_3";
6
6
  import type { AttributeBooleanValue, FpgaImageAttribute, ImportImageLicenseConfigurationResponse, InstanceMetadataOptionsResponse, InstanceStatusEvent, LaunchPermission, Monitoring, PublicIpv4PoolRange, ReservedInstancesConfiguration, SnapshotDetail, SnapshotTaskDetail } from "./models_4";
7
7
  import type { CreateVolumePermission, LaunchTemplateConfig, ScheduledInstance, VerifiedAccessInstanceLoggingConfiguration, VolumeModification, VpcBlockPublicAccessOptions } from "./models_5";
8
- import type { InstanceFamilyCreditSpecification, IpamPolicyDocument, IpamResourceCidr, ManagedResourceVisibilitySettings, Purchase } from "./models_6";
8
+ import type { InstanceFamilyCreditSpecification, IpamPolicyDocument, IpamResourceCidr, ManagedResourceVisibilitySettings, Purchase, TransitGatewayNatRule } from "./models_6";
9
+ /**
10
+ * @public
11
+ */
12
+ export interface GetVpnConnectionDeviceSampleConfigurationResult {
13
+ /**
14
+ * <p>Sample configuration file for the specified customer gateway device.</p>
15
+ * @public
16
+ */
17
+ VpnConnectionDeviceSampleConfiguration?: string | undefined;
18
+ }
19
+ /**
20
+ * @public
21
+ */
22
+ export interface GetVpnConnectionDeviceTypesRequest {
23
+ /**
24
+ * <p>The maximum number of results returned by <code>GetVpnConnectionDeviceTypes</code> in
25
+ * paginated output. When this parameter is used, <code>GetVpnConnectionDeviceTypes</code>
26
+ * only returns <code>MaxResults</code> results in a single page along with a
27
+ * <code>NextToken</code> response element. The remaining results of the initial
28
+ * request can be seen by sending another <code>GetVpnConnectionDeviceTypes</code> request
29
+ * with the returned <code>NextToken</code> value. This value can be between 200 and 1000.
30
+ * If this parameter is not used, then <code>GetVpnConnectionDeviceTypes</code> returns all
31
+ * results.</p>
32
+ * @public
33
+ */
34
+ MaxResults?: number | undefined;
35
+ /**
36
+ * <p>The <code>NextToken</code> value returned from a previous paginated
37
+ * <code>GetVpnConnectionDeviceTypes</code> request where <code>MaxResults</code> was
38
+ * used and the results exceeded the value of that parameter. Pagination continues from the
39
+ * end of the previous results that returned the <code>NextToken</code> value. This value
40
+ * is null when there are no more results to return. </p>
41
+ * @public
42
+ */
43
+ NextToken?: string | undefined;
44
+ /**
45
+ * <p>Checks whether you have the required permissions for the action, without actually
46
+ * making the request, and provides an error response. If you have the required
47
+ * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
48
+ * <code>UnauthorizedOperation</code>.</p>
49
+ * @public
50
+ */
51
+ DryRun?: boolean | undefined;
52
+ }
53
+ /**
54
+ * <p>List of customer gateway devices that have a sample configuration file available for
55
+ * use. You can also see the list of device types with sample configuration files available
56
+ * under <a href="https://docs.aws.amazon.com/vpn/latest/s2svpn/your-cgw.html">Your customer
57
+ * gateway device</a> in the <i>Amazon Web Services Site-to-Site VPN User Guide</i>.</p>
58
+ * @public
59
+ */
60
+ export interface VpnConnectionDeviceType {
61
+ /**
62
+ * <p>Customer gateway device identifier.</p>
63
+ * @public
64
+ */
65
+ VpnConnectionDeviceTypeId?: string | undefined;
66
+ /**
67
+ * <p>Customer gateway device vendor.</p>
68
+ * @public
69
+ */
70
+ Vendor?: string | undefined;
71
+ /**
72
+ * <p>Customer gateway device platform.</p>
73
+ * @public
74
+ */
75
+ Platform?: string | undefined;
76
+ /**
77
+ * <p>Customer gateway device software version.</p>
78
+ * @public
79
+ */
80
+ Software?: string | undefined;
81
+ }
82
+ /**
83
+ * @public
84
+ */
85
+ export interface GetVpnConnectionDeviceTypesResult {
86
+ /**
87
+ * <p>List of customer gateway devices that have a sample configuration file available for
88
+ * use.</p>
89
+ * @public
90
+ */
91
+ VpnConnectionDeviceTypes?: VpnConnectionDeviceType[] | undefined;
92
+ /**
93
+ * <p>The <code>NextToken</code> value to include in a future
94
+ * <code>GetVpnConnectionDeviceTypes</code> request. When the results of a
95
+ * <code>GetVpnConnectionDeviceTypes</code> request exceed <code>MaxResults</code>,
96
+ * this value can be used to retrieve the next page of results. This value is null when
97
+ * there are no more results to return.</p>
98
+ * @public
99
+ */
100
+ NextToken?: string | undefined;
101
+ }
102
+ /**
103
+ * @public
104
+ */
105
+ export interface GetVpnTunnelReplacementStatusRequest {
106
+ /**
107
+ * <p>The ID of the Site-to-Site VPN connection. </p>
108
+ * @public
109
+ */
110
+ VpnConnectionId: string | undefined;
111
+ /**
112
+ * <p>The external IP address of the VPN tunnel.</p>
113
+ * @public
114
+ */
115
+ VpnTunnelOutsideIpAddress: string | undefined;
116
+ /**
117
+ * <p>Checks whether you have the required permissions for the action, without actually making the request, and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is <code>UnauthorizedOperation</code>.</p>
118
+ * @public
119
+ */
120
+ DryRun?: boolean | undefined;
121
+ }
9
122
  /**
10
123
  * <p>Details for Site-to-Site VPN tunnel endpoint maintenance events.</p>
11
124
  * @public
@@ -1816,7 +1929,7 @@ export interface ModifyClientVpnEndpointRequest {
1816
1929
  */
1817
1930
  TransitGatewayConfiguration?: TransitGatewayConfigurationInputStructure | undefined;
1818
1931
  /**
1819
- * <p>The device posture options for the Client VPN endpoint. Specifying this parameter replaces the entire device posture configuration for the endpoint. To remove all device trust providers, specify an empty list.</p>
1932
+ * <p>The device posture options for the Client VPN endpoint. Specifying this parameter replaces the entire device posture configuration for the endpoint. To disable device posture and remove all device trust providers, specify <code>false</code> for <code>Enabled</code>.</p>
1820
1933
  * @public
1821
1934
  */
1822
1935
  DevicePostureOptions?: DevicePostureOptions | undefined;
@@ -5148,6 +5261,103 @@ export interface ModifyTransitGatewayResult {
5148
5261
  */
5149
5262
  TransitGateway?: TransitGateway | undefined;
5150
5263
  }
5264
+ /**
5265
+ * <p>Describes a NAT gateway rule to apply to a transit gateway attachment. A NAT gateway rule translates source addresses in the
5266
+ * <code>MatchSourceCidr</code> range to the corresponding addresses in the <code>NatCidr</code> range.</p>
5267
+ * @public
5268
+ */
5269
+ export interface TransitGatewayNatRuleRequest {
5270
+ /**
5271
+ * <p>The rule number. Valid values are 1 to 32766. Each rule number must be unique within the request.</p>
5272
+ * @public
5273
+ */
5274
+ RuleNumber?: number | undefined;
5275
+ /**
5276
+ * <p>The IPv4 CIDR block of the source addresses to translate. The CIDR block can't overlap the multicast
5277
+ * range (<code>224.0.0.0/4</code>) or the link-local range (<code>169.254.0.0/16</code>).</p>
5278
+ * @public
5279
+ */
5280
+ MatchSourceCidr?: string | undefined;
5281
+ /**
5282
+ * <p>The IPv4 CIDR block to translate the source addresses to. The CIDR block must be in a private (RFC 1918)
5283
+ * or shared address space (RFC 6598) range, and must have the same prefix length as <code>MatchSourceCidr</code>.
5284
+ * The CIDR blocks in the rules for an attachment can't overlap each other.</p>
5285
+ * @public
5286
+ */
5287
+ NatCidr?: string | undefined;
5288
+ }
5289
+ /**
5290
+ * @public
5291
+ */
5292
+ export interface ModifyTransitGatewayAttachmentNatConfigurationRequest {
5293
+ /**
5294
+ * <p>The ID of the transit gateway attachment.</p>
5295
+ * @public
5296
+ */
5297
+ TransitGatewayAttachmentId: string | undefined;
5298
+ /**
5299
+ * <p>Specifies whether to enable or disable NAT gateway support for the attachment. To enable NAT gateway support, the attachment
5300
+ * must have at least one NAT gateway rule. You can't modify the NAT configuration while NAT gateway support is <code>enabling</code>
5301
+ * or <code>disabling</code>. If you omit this parameter, the current value doesn't change.</p>
5302
+ * @public
5303
+ */
5304
+ NatGatewaySupport?: TransitGatewayAttachmentNatGatewaySupportValue | undefined;
5305
+ /**
5306
+ * <p>Specifies whether the transit gateway installs routes for the NAT CIDRs in the route tables to which the attachment
5307
+ * propagates. For VPC attachments, the transit gateway always installs these routes. You can enable or disable this option only for
5308
+ * Amazon Web Services Direct Connect gateway attachments and Site-to-Site VPN attachments that use dynamic routing. For these
5309
+ * attachments, the default is <code>enable</code>. If you omit this parameter, the current value doesn't change.</p>
5310
+ * @public
5311
+ */
5312
+ NatSystemRouteSupport?: TransitGatewayAttachmentNatSystemRouteSupportValue | undefined;
5313
+ /**
5314
+ * <p>The NAT gateway rules for the attachment. The rules that you specify replace all existing NAT gateway rules for the attachment.
5315
+ * You can specify up to 50 rules for an attachment. If you omit this parameter, the existing rules don't change.
5316
+ * To remove all rules, use <code>ResetNatGatewayRules</code>.</p>
5317
+ * @public
5318
+ */
5319
+ NatGatewayRules?: TransitGatewayNatRuleRequest[] | undefined;
5320
+ /**
5321
+ * <p>Specifies whether to remove all NAT gateway rules from the attachment. If you omit this parameter, the transit gateway doesn't
5322
+ * remove any rules. You can't specify this parameter together with <code>NatGatewayRules</code>. Because you can't enable
5323
+ * NAT gateway support without rules, also set <code>NatGatewaySupport</code> to <code>disable</code> in the same request
5324
+ * if NAT gateway support is currently enabled.</p>
5325
+ * @public
5326
+ */
5327
+ ResetNatGatewayRules?: boolean | undefined;
5328
+ /**
5329
+ * <p>Checks whether you have the required permissions for the action, without actually making the request,
5330
+ * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
5331
+ * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
5332
+ * @public
5333
+ */
5334
+ DryRun?: boolean | undefined;
5335
+ }
5336
+ /**
5337
+ * @public
5338
+ */
5339
+ export interface ModifyTransitGatewayAttachmentNatConfigurationResult {
5340
+ /**
5341
+ * <p>The ID of the transit gateway attachment.</p>
5342
+ * @public
5343
+ */
5344
+ TransitGatewayAttachmentId?: string | undefined;
5345
+ /**
5346
+ * <p>The state of NAT gateway support for the attachment.</p>
5347
+ * @public
5348
+ */
5349
+ NatGatewaySupport?: TransitGatewayAttachmentNatGatewaySupportState | undefined;
5350
+ /**
5351
+ * <p>Specifies whether the transit gateway installs routes for the NAT CIDRs in the route tables to which the attachment propagates.</p>
5352
+ * @public
5353
+ */
5354
+ NatSystemRouteSupport?: TransitGatewayAttachmentNatSystemRouteSupportValue | undefined;
5355
+ /**
5356
+ * <p>The NAT gateway rules for the attachment.</p>
5357
+ * @public
5358
+ */
5359
+ NatGatewayRules?: TransitGatewayNatRule[] | undefined;
5360
+ }
5151
5361
  /**
5152
5362
  * @public
5153
5363
  */
@@ -8402,132 +8612,3 @@ export interface RejectVpcPeeringConnectionResult {
8402
8612
  */
8403
8613
  Return?: boolean | undefined;
8404
8614
  }
8405
- /**
8406
- * @public
8407
- */
8408
- export interface ReleaseAddressRequest {
8409
- /**
8410
- * <p>The allocation ID. This parameter is required.</p>
8411
- * @public
8412
- */
8413
- AllocationId?: string | undefined;
8414
- /**
8415
- * <p>Deprecated.</p>
8416
- * @public
8417
- */
8418
- PublicIp?: string | undefined;
8419
- /**
8420
- * <p>The set of Availability Zones, Local Zones, or Wavelength Zones from which Amazon Web Services advertises
8421
- * IP addresses.</p>
8422
- * <p>If you provide an incorrect network border group, you receive an <code>InvalidAddress.NotFound</code> error.</p>
8423
- * @public
8424
- */
8425
- NetworkBorderGroup?: string | undefined;
8426
- /**
8427
- * <p>Checks whether you have the required permissions for the action, without actually making the request,
8428
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8429
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8430
- * @public
8431
- */
8432
- DryRun?: boolean | undefined;
8433
- }
8434
- /**
8435
- * @public
8436
- */
8437
- export interface ReleaseHostsRequest {
8438
- /**
8439
- * <p>The IDs of the Dedicated Hosts to release.</p>
8440
- * @public
8441
- */
8442
- HostIds: string[] | undefined;
8443
- }
8444
- /**
8445
- * @public
8446
- */
8447
- export interface ReleaseHostsResult {
8448
- /**
8449
- * <p>The IDs of the Dedicated Hosts that were successfully released.</p>
8450
- * @public
8451
- */
8452
- Successful?: string[] | undefined;
8453
- /**
8454
- * <p>The IDs of the Dedicated Hosts that could not be released, including an error
8455
- * message.</p>
8456
- * @public
8457
- */
8458
- Unsuccessful?: UnsuccessfulItem[] | undefined;
8459
- }
8460
- /**
8461
- * @public
8462
- */
8463
- export interface ReleaseIpamPoolAllocationRequest {
8464
- /**
8465
- * <p>A check for whether you have the required permissions for the action without actually making the request
8466
- * and provides an error response. If you have the required permissions, the error response is <code>DryRunOperation</code>.
8467
- * Otherwise, it is <code>UnauthorizedOperation</code>.</p>
8468
- * @public
8469
- */
8470
- DryRun?: boolean | undefined;
8471
- /**
8472
- * <p>The ID of the IPAM pool which contains the allocation you want to release.</p>
8473
- * @public
8474
- */
8475
- IpamPoolId: string | undefined;
8476
- /**
8477
- * <p>The CIDR of the allocation you want to release.</p>
8478
- * @public
8479
- */
8480
- Cidr: string | undefined;
8481
- /**
8482
- * <p>The ID of the allocation.</p>
8483
- * @public
8484
- */
8485
- IpamPoolAllocationId: string | undefined;
8486
- }
8487
- /**
8488
- * @public
8489
- */
8490
- export interface ReleaseIpamPoolAllocationResult {
8491
- /**
8492
- * <p>Indicates if the release was successful.</p>
8493
- * @public
8494
- */
8495
- Success?: boolean | undefined;
8496
- }
8497
- /**
8498
- * @public
8499
- */
8500
- export interface ReplaceIamInstanceProfileAssociationRequest {
8501
- /**
8502
- * <p>The IAM instance profile.</p>
8503
- * @public
8504
- */
8505
- IamInstanceProfile: IamInstanceProfileSpecification | undefined;
8506
- /**
8507
- * <p>The ID of the existing IAM instance profile association.</p>
8508
- * @public
8509
- */
8510
- AssociationId: string | undefined;
8511
- }
8512
- /**
8513
- * @public
8514
- */
8515
- export interface ReplaceIamInstanceProfileAssociationResult {
8516
- /**
8517
- * <p>Information about the IAM instance profile association.</p>
8518
- * @public
8519
- */
8520
- IamInstanceProfileAssociation?: IamInstanceProfileAssociation | undefined;
8521
- }
8522
- /**
8523
- * <p>The maximum age for allowed images.</p>
8524
- * @public
8525
- */
8526
- export interface CreationDateConditionRequest {
8527
- /**
8528
- * <p>The maximum number of days that have elapsed since the image was created. For example, a
8529
- * value of <code>300</code> allows images that were created within the last 300 days.</p>
8530
- * @public
8531
- */
8532
- MaximumDaysSinceCreated?: number | undefined;
8533
- }