@aws-sdk/client-ec2 3.1155.0 → 3.1157.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 (49) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +125 -3
  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 +81 -2
  9. package/dist-types/EC2.d.ts +14 -0
  10. package/dist-types/EC2Client.d.ts +4 -2
  11. package/dist-types/commands/CreateTransitGatewayRouteCommand.d.ts +1 -1
  12. package/dist-types/commands/DeleteTransitGatewayRouteCommand.d.ts +1 -1
  13. package/dist-types/commands/DeleteTransitGatewayRouteTableCommand.d.ts +5 -2
  14. package/dist-types/commands/DescribeTransitGatewayAttachmentsCommand.d.ts +1 -0
  15. package/dist-types/commands/GetTransitGatewayAttachmentNatConfigurationCommand.d.ts +82 -0
  16. package/dist-types/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +2 -1
  17. package/dist-types/commands/GetVpnConnectionDeviceTypesCommand.d.ts +1 -2
  18. package/dist-types/commands/ModifyTransitGatewayAttachmentNatConfigurationCommand.d.ts +107 -0
  19. package/dist-types/commands/ReleaseAddressCommand.d.ts +1 -1
  20. package/dist-types/commands/ReleaseHostsCommand.d.ts +1 -1
  21. package/dist-types/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  22. package/dist-types/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +1 -2
  23. package/dist-types/commands/ReplaceTransitGatewayRouteCommand.d.ts +1 -1
  24. package/dist-types/commands/SearchTransitGatewayRoutesCommand.d.ts +1 -1
  25. package/dist-types/commands/index.d.ts +2 -0
  26. package/dist-types/models/enums.d.ts +53 -0
  27. package/dist-types/models/models_5.d.ts +6 -1
  28. package/dist-types/models/models_6.d.ts +83 -74
  29. package/dist-types/models/models_7.d.ts +173 -110
  30. package/dist-types/models/models_8.d.ts +108 -1
  31. package/dist-types/schemas/schemas_0.d.ts +8 -0
  32. package/dist-types/ts3.4/EC2.d.ts +34 -0
  33. package/dist-types/ts3.4/EC2Client.d.ts +12 -0
  34. package/dist-types/ts3.4/commands/GetTransitGatewayAttachmentNatConfigurationCommand.d.ts +42 -0
  35. package/dist-types/ts3.4/commands/GetVpnConnectionDeviceSampleConfigurationCommand.d.ts +2 -4
  36. package/dist-types/ts3.4/commands/GetVpnConnectionDeviceTypesCommand.d.ts +4 -2
  37. package/dist-types/ts3.4/commands/ModifyTransitGatewayAttachmentNatConfigurationCommand.d.ts +42 -0
  38. package/dist-types/ts3.4/commands/ReleaseAddressCommand.d.ts +1 -1
  39. package/dist-types/ts3.4/commands/ReleaseHostsCommand.d.ts +1 -1
  40. package/dist-types/ts3.4/commands/ReleaseIpamPoolAllocationCommand.d.ts +1 -1
  41. package/dist-types/ts3.4/commands/ReplaceIamInstanceProfileAssociationCommand.d.ts +4 -2
  42. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  43. package/dist-types/ts3.4/models/enums.d.ts +29 -0
  44. package/dist-types/ts3.4/models/models_5.d.ts +2 -0
  45. package/dist-types/ts3.4/models/models_6.d.ts +19 -14
  46. package/dist-types/ts3.4/models/models_7.d.ts +37 -28
  47. package/dist-types/ts3.4/models/models_8.d.ts +27 -0
  48. package/dist-types/ts3.4/schemas/schemas_0.d.ts +8 -0
  49. package/package.json +7 -7
@@ -52,7 +52,7 @@ declare const DeleteTransitGatewayRouteCommand_base: {
52
52
  * // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
53
53
  * // },
54
54
  * // ],
55
- * // Type: "static" || "propagated",
55
+ * // Type: "static" || "propagated" || "system",
56
56
  * // State: "pending" || "active" || "blackhole" || "deleting" || "deleted",
57
57
  * // },
58
58
  * // };
@@ -24,8 +24,11 @@ declare const DeleteTransitGatewayRouteTableCommand_base: {
24
24
  getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
25
  };
26
26
  /**
27
- * <p>Deletes the specified transit gateway route table. If there are any route tables associated with
28
- * the transit gateway route table, you must first run <a>DisassociateRouteTable</a> before you can delete the transit gateway route table. This removes any route tables associated with the transit gateway route table.</p>
27
+ * <p>Deletes the specified transit gateway route table. Before you can delete a transit gateway route table, you
28
+ * must disassociate all attachments from it by using <a>DisassociateTransitGatewayRouteTable</a> and wait for the disassociations to
29
+ * complete. You can't delete a transit gateway route table that is the default association route table
30
+ * or default propagation route table for the transit gateway. To change the default route tables, use
31
+ * <a>ModifyTransitGateway</a>.</p>
29
32
  * @example
30
33
  * Use a bare-bones client and the command you need to make an API call.
31
34
  * ```javascript
@@ -74,6 +74,7 @@ declare const DescribeTransitGatewayAttachmentsCommand_base: {
74
74
  * // Value: "STRING_VALUE",
75
75
  * // },
76
76
  * // ],
77
+ * // NatGatewaySupport: "enabled" || "disabled" || "enabling" || "disabling",
77
78
  * // },
78
79
  * // ],
79
80
  * // NextToken: "STRING_VALUE",
@@ -0,0 +1,82 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { GetTransitGatewayAttachmentNatConfigurationRequest, GetTransitGatewayAttachmentNatConfigurationResult } from "../models/models_6";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link GetTransitGatewayAttachmentNatConfigurationCommand}.
11
+ */
12
+ export interface GetTransitGatewayAttachmentNatConfigurationCommandInput extends GetTransitGatewayAttachmentNatConfigurationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link GetTransitGatewayAttachmentNatConfigurationCommand}.
18
+ */
19
+ export interface GetTransitGatewayAttachmentNatConfigurationCommandOutput extends GetTransitGatewayAttachmentNatConfigurationResult, __MetadataBearer {
20
+ }
21
+ declare const GetTransitGatewayAttachmentNatConfigurationCommand_base: {
22
+ new (input: GetTransitGatewayAttachmentNatConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetTransitGatewayAttachmentNatConfigurationCommandInput, GetTransitGatewayAttachmentNatConfigurationCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: GetTransitGatewayAttachmentNatConfigurationCommandInput): import("@smithy/core/client").CommandImpl<GetTransitGatewayAttachmentNatConfigurationCommandInput, GetTransitGatewayAttachmentNatConfigurationCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Describes the NAT configuration for the specified transit gateway attachment. Only the owner of the transit gateway can describe the NAT configuration.</p>
28
+ * @example
29
+ * Use a bare-bones client and the command you need to make an API call.
30
+ * ```javascript
31
+ * import { EC2Client, GetTransitGatewayAttachmentNatConfigurationCommand } from "@aws-sdk/client-ec2"; // ES Modules import
32
+ * // const { EC2Client, GetTransitGatewayAttachmentNatConfigurationCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
33
+ * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
34
+ * const config = {}; // type is EC2ClientConfig
35
+ * const client = new EC2Client(config);
36
+ * const input = { // GetTransitGatewayAttachmentNatConfigurationRequest
37
+ * TransitGatewayAttachmentId: "STRING_VALUE", // required
38
+ * DryRun: true || false,
39
+ * };
40
+ * const command = new GetTransitGatewayAttachmentNatConfigurationCommand(input);
41
+ * const response = await client.send(command);
42
+ * // { // GetTransitGatewayAttachmentNatConfigurationResult
43
+ * // TransitGatewayAttachmentId: "STRING_VALUE",
44
+ * // NatGatewaySupport: "enabled" || "disabled" || "enabling" || "disabling",
45
+ * // NatSystemRouteSupport: "enable" || "disable",
46
+ * // NatGatewayRules: [ // TransitGatewayNatRuleList
47
+ * // { // TransitGatewayNatRule
48
+ * // RuleNumber: Number("int"),
49
+ * // MatchSourceCidr: "STRING_VALUE",
50
+ * // NatCidr: "STRING_VALUE",
51
+ * // State: "pending" || "activated" || "deactivated" || "deleting",
52
+ * // },
53
+ * // ],
54
+ * // };
55
+ *
56
+ * ```
57
+ *
58
+ * @param GetTransitGatewayAttachmentNatConfigurationCommandInput - {@link GetTransitGatewayAttachmentNatConfigurationCommandInput}
59
+ * @returns {@link GetTransitGatewayAttachmentNatConfigurationCommandOutput}
60
+ * @see {@link GetTransitGatewayAttachmentNatConfigurationCommandInput} for command's `input` shape.
61
+ * @see {@link GetTransitGatewayAttachmentNatConfigurationCommandOutput} for command's `response` shape.
62
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
63
+ *
64
+ * @throws {@link EC2ServiceException}
65
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
66
+ *
67
+ *
68
+ * @public
69
+ */
70
+ export declare class GetTransitGatewayAttachmentNatConfigurationCommand extends GetTransitGatewayAttachmentNatConfigurationCommand_base {
71
+ /** @internal type navigation helper, not in runtime. */
72
+ protected static __types: {
73
+ api: {
74
+ input: GetTransitGatewayAttachmentNatConfigurationRequest;
75
+ output: GetTransitGatewayAttachmentNatConfigurationResult;
76
+ };
77
+ sdk: {
78
+ input: GetTransitGatewayAttachmentNatConfigurationCommandInput;
79
+ output: GetTransitGatewayAttachmentNatConfigurationCommandOutput;
80
+ };
81
+ };
82
+ }
@@ -1,5 +1,6 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetVpnConnectionDeviceSampleConfigurationRequest, GetVpnConnectionDeviceSampleConfigurationResult } from "../models/models_6";
2
+ import type { GetVpnConnectionDeviceSampleConfigurationRequest } from "../models/models_6";
3
+ import type { GetVpnConnectionDeviceSampleConfigurationResult } from "../models/models_7";
3
4
  /**
4
5
  * @public
5
6
  */
@@ -1,6 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { GetVpnConnectionDeviceTypesRequest } from "../models/models_6";
3
- import type { GetVpnConnectionDeviceTypesResult } from "../models/models_7";
2
+ import type { GetVpnConnectionDeviceTypesRequest, GetVpnConnectionDeviceTypesResult } from "../models/models_7";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -0,0 +1,107 @@
1
+ import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import type { ModifyTransitGatewayAttachmentNatConfigurationRequest, ModifyTransitGatewayAttachmentNatConfigurationResult } from "../models/models_7";
3
+ /**
4
+ * @public
5
+ */
6
+ export type { __MetadataBearer };
7
+ /**
8
+ * @public
9
+ *
10
+ * The input for {@link ModifyTransitGatewayAttachmentNatConfigurationCommand}.
11
+ */
12
+ export interface ModifyTransitGatewayAttachmentNatConfigurationCommandInput extends ModifyTransitGatewayAttachmentNatConfigurationRequest {
13
+ }
14
+ /**
15
+ * @public
16
+ *
17
+ * The output of {@link ModifyTransitGatewayAttachmentNatConfigurationCommand}.
18
+ */
19
+ export interface ModifyTransitGatewayAttachmentNatConfigurationCommandOutput extends ModifyTransitGatewayAttachmentNatConfigurationResult, __MetadataBearer {
20
+ }
21
+ declare const ModifyTransitGatewayAttachmentNatConfigurationCommand_base: {
22
+ new (input: ModifyTransitGatewayAttachmentNatConfigurationCommandInput): import("@smithy/core/client").CommandImpl<ModifyTransitGatewayAttachmentNatConfigurationCommandInput, ModifyTransitGatewayAttachmentNatConfigurationCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
23
+ new (input: ModifyTransitGatewayAttachmentNatConfigurationCommandInput): import("@smithy/core/client").CommandImpl<ModifyTransitGatewayAttachmentNatConfigurationCommandInput, ModifyTransitGatewayAttachmentNatConfigurationCommandOutput, import("..").EC2ClientResolvedConfig, import("..").ServiceInputTypes, import("..").ServiceOutputTypes>;
24
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
25
+ };
26
+ /**
27
+ * <p>Modifies the NAT configuration for the specified transit gateway attachment. Use this operation to do the following:</p>
28
+ * <ul>
29
+ * <li>
30
+ * <p>Enable or disable NAT gateway support for the attachment.</p>
31
+ * </li>
32
+ * <li>
33
+ * <p>Specify whether the transit gateway installs routes for the NAT CIDRs.</p>
34
+ * </li>
35
+ * <li>
36
+ * <p>Replace the NAT gateway rules for the attachment.</p>
37
+ * </li>
38
+ * </ul>
39
+ * <p>Only the owner of the transit gateway can modify the NAT configuration.</p>
40
+ * <p>With NAT gateway support enabled, the transit gateway translates addresses in each rule's <code>MatchSourceCidr</code> range
41
+ * to the corresponding addresses in its <code>NatCidr</code> range.</p>
42
+ * <p>The transit gateway applies changes asynchronously. To check the result, use <code>GetTransitGatewayAttachmentNatConfiguration</code>.</p>
43
+ * @example
44
+ * Use a bare-bones client and the command you need to make an API call.
45
+ * ```javascript
46
+ * import { EC2Client, ModifyTransitGatewayAttachmentNatConfigurationCommand } from "@aws-sdk/client-ec2"; // ES Modules import
47
+ * // const { EC2Client, ModifyTransitGatewayAttachmentNatConfigurationCommand } = require("@aws-sdk/client-ec2"); // CommonJS import
48
+ * // import type { EC2ClientConfig } from "@aws-sdk/client-ec2";
49
+ * const config = {}; // type is EC2ClientConfig
50
+ * const client = new EC2Client(config);
51
+ * const input = { // ModifyTransitGatewayAttachmentNatConfigurationRequest
52
+ * TransitGatewayAttachmentId: "STRING_VALUE", // required
53
+ * NatGatewaySupport: "enable" || "disable",
54
+ * NatSystemRouteSupport: "enable" || "disable",
55
+ * NatGatewayRules: [ // TransitGatewayNatRuleRequestList
56
+ * { // TransitGatewayNatRuleRequest
57
+ * RuleNumber: Number("int"),
58
+ * MatchSourceCidr: "STRING_VALUE",
59
+ * NatCidr: "STRING_VALUE",
60
+ * },
61
+ * ],
62
+ * ResetNatGatewayRules: true || false,
63
+ * DryRun: true || false,
64
+ * };
65
+ * const command = new ModifyTransitGatewayAttachmentNatConfigurationCommand(input);
66
+ * const response = await client.send(command);
67
+ * // { // ModifyTransitGatewayAttachmentNatConfigurationResult
68
+ * // TransitGatewayAttachmentId: "STRING_VALUE",
69
+ * // NatGatewaySupport: "enabled" || "disabled" || "enabling" || "disabling",
70
+ * // NatSystemRouteSupport: "enable" || "disable",
71
+ * // NatGatewayRules: [ // TransitGatewayNatRuleList
72
+ * // { // TransitGatewayNatRule
73
+ * // RuleNumber: Number("int"),
74
+ * // MatchSourceCidr: "STRING_VALUE",
75
+ * // NatCidr: "STRING_VALUE",
76
+ * // State: "pending" || "activated" || "deactivated" || "deleting",
77
+ * // },
78
+ * // ],
79
+ * // };
80
+ *
81
+ * ```
82
+ *
83
+ * @param ModifyTransitGatewayAttachmentNatConfigurationCommandInput - {@link ModifyTransitGatewayAttachmentNatConfigurationCommandInput}
84
+ * @returns {@link ModifyTransitGatewayAttachmentNatConfigurationCommandOutput}
85
+ * @see {@link ModifyTransitGatewayAttachmentNatConfigurationCommandInput} for command's `input` shape.
86
+ * @see {@link ModifyTransitGatewayAttachmentNatConfigurationCommandOutput} for command's `response` shape.
87
+ * @see {@link EC2ClientResolvedConfig | config} for EC2Client's `config` shape.
88
+ *
89
+ * @throws {@link EC2ServiceException}
90
+ * <p>Base exception class for all service exceptions from EC2 service.</p>
91
+ *
92
+ *
93
+ * @public
94
+ */
95
+ export declare class ModifyTransitGatewayAttachmentNatConfigurationCommand extends ModifyTransitGatewayAttachmentNatConfigurationCommand_base {
96
+ /** @internal type navigation helper, not in runtime. */
97
+ protected static __types: {
98
+ api: {
99
+ input: ModifyTransitGatewayAttachmentNatConfigurationRequest;
100
+ output: ModifyTransitGatewayAttachmentNatConfigurationResult;
101
+ };
102
+ sdk: {
103
+ input: ModifyTransitGatewayAttachmentNatConfigurationCommandInput;
104
+ output: ModifyTransitGatewayAttachmentNatConfigurationCommandOutput;
105
+ };
106
+ };
107
+ }
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ReleaseAddressRequest } from "../models/models_7";
2
+ import type { ReleaseAddressRequest } from "../models/models_8";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ReleaseHostsRequest, ReleaseHostsResult } from "../models/models_7";
2
+ import type { ReleaseHostsRequest, ReleaseHostsResult } from "../models/models_8";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,5 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ReleaseIpamPoolAllocationRequest, ReleaseIpamPoolAllocationResult } from "../models/models_7";
2
+ import type { ReleaseIpamPoolAllocationRequest, ReleaseIpamPoolAllocationResult } from "../models/models_8";
3
3
  /**
4
4
  * @public
5
5
  */
@@ -1,6 +1,5 @@
1
1
  import type { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
- import type { ReplaceIamInstanceProfileAssociationRequest } from "../models/models_7";
3
- import type { ReplaceIamInstanceProfileAssociationResult } from "../models/models_8";
2
+ import type { ReplaceIamInstanceProfileAssociationRequest, ReplaceIamInstanceProfileAssociationResult } from "../models/models_8";
4
3
  /**
5
4
  * @public
6
5
  */
@@ -54,7 +54,7 @@ declare const ReplaceTransitGatewayRouteCommand_base: {
54
54
  * // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
55
55
  * // },
56
56
  * // ],
57
- * // Type: "static" || "propagated",
57
+ * // Type: "static" || "propagated" || "system",
58
58
  * // State: "pending" || "active" || "blackhole" || "deleting" || "deleted",
59
59
  * // },
60
60
  * // };
@@ -62,7 +62,7 @@ declare const SearchTransitGatewayRoutesCommand_base: {
62
62
  * // ResourceType: "vpc" || "vpn" || "vpn-concentrator" || "direct-connect-gateway" || "connect" || "peering" || "tgw-peering" || "network-function" || "client-vpn",
63
63
  * // },
64
64
  * // ],
65
- * // Type: "static" || "propagated",
65
+ * // Type: "static" || "propagated" || "system",
66
66
  * // State: "pending" || "active" || "blackhole" || "deleting" || "deleted",
67
67
  * // },
68
68
  * // ],
@@ -613,6 +613,7 @@ export * from "./GetSerialConsoleAccessStatusCommand";
613
613
  export * from "./GetSnapshotBlockPublicAccessStateCommand";
614
614
  export * from "./GetSpotPlacementScoresCommand";
615
615
  export * from "./GetSubnetCidrReservationsCommand";
616
+ export * from "./GetTransitGatewayAttachmentNatConfigurationCommand";
616
617
  export * from "./GetTransitGatewayAttachmentPropagationsCommand";
617
618
  export * from "./GetTransitGatewayMeteringPolicyEntriesCommand";
618
619
  export * from "./GetTransitGatewayMulticastDomainAssociationsCommand";
@@ -693,6 +694,7 @@ export * from "./ModifySubnetAttributeCommand";
693
694
  export * from "./ModifyTrafficMirrorFilterNetworkServicesCommand";
694
695
  export * from "./ModifyTrafficMirrorFilterRuleCommand";
695
696
  export * from "./ModifyTrafficMirrorSessionCommand";
697
+ export * from "./ModifyTransitGatewayAttachmentNatConfigurationCommand";
696
698
  export * from "./ModifyTransitGatewayCommand";
697
699
  export * from "./ModifyTransitGatewayMeteringPolicyCommand";
698
700
  export * from "./ModifyTransitGatewayPolicyTableEntryCommand";
@@ -5205,6 +5205,7 @@ export type TransitGatewayRouteState = (typeof TransitGatewayRouteState)[keyof t
5205
5205
  export declare const TransitGatewayRouteType: {
5206
5206
  readonly propagated: "propagated";
5207
5207
  readonly static: "static";
5208
+ readonly system: "system";
5208
5209
  };
5209
5210
  /**
5210
5211
  * @public
@@ -7155,6 +7156,20 @@ export declare const SpotInstanceState: {
7155
7156
  * @public
7156
7157
  */
7157
7158
  export type SpotInstanceState = (typeof SpotInstanceState)[keyof typeof SpotInstanceState];
7159
+ /**
7160
+ * @public
7161
+ * @enum
7162
+ */
7163
+ export declare const TransitGatewayAttachmentNatGatewaySupportState: {
7164
+ readonly disabled: "disabled";
7165
+ readonly disabling: "disabling";
7166
+ readonly enabled: "enabled";
7167
+ readonly enabling: "enabling";
7168
+ };
7169
+ /**
7170
+ * @public
7171
+ */
7172
+ export type TransitGatewayAttachmentNatGatewaySupportState = (typeof TransitGatewayAttachmentNatGatewaySupportState)[keyof typeof TransitGatewayAttachmentNatGatewaySupportState];
7158
7173
  /**
7159
7174
  * @public
7160
7175
  * @enum
@@ -7928,6 +7943,32 @@ export declare const RouteServerRouteStatus: {
7928
7943
  * @public
7929
7944
  */
7930
7945
  export type RouteServerRouteStatus = (typeof RouteServerRouteStatus)[keyof typeof RouteServerRouteStatus];
7946
+ /**
7947
+ * @public
7948
+ * @enum
7949
+ */
7950
+ export declare const TransitGatewayNatRuleState: {
7951
+ readonly activated: "activated";
7952
+ readonly deactivated: "deactivated";
7953
+ readonly deleting: "deleting";
7954
+ readonly pending: "pending";
7955
+ };
7956
+ /**
7957
+ * @public
7958
+ */
7959
+ export type TransitGatewayNatRuleState = (typeof TransitGatewayNatRuleState)[keyof typeof TransitGatewayNatRuleState];
7960
+ /**
7961
+ * @public
7962
+ * @enum
7963
+ */
7964
+ export declare const TransitGatewayAttachmentNatSystemRouteSupportValue: {
7965
+ readonly disable: "disable";
7966
+ readonly enable: "enable";
7967
+ };
7968
+ /**
7969
+ * @public
7970
+ */
7971
+ export type TransitGatewayAttachmentNatSystemRouteSupportValue = (typeof TransitGatewayAttachmentNatSystemRouteSupportValue)[keyof typeof TransitGatewayAttachmentNatSystemRouteSupportValue];
7931
7972
  /**
7932
7973
  * @public
7933
7974
  * @enum
@@ -8106,6 +8147,18 @@ export declare const EncryptionSupportOptionValue: {
8106
8147
  * @public
8107
8148
  */
8108
8149
  export type EncryptionSupportOptionValue = (typeof EncryptionSupportOptionValue)[keyof typeof EncryptionSupportOptionValue];
8150
+ /**
8151
+ * @public
8152
+ * @enum
8153
+ */
8154
+ export declare const TransitGatewayAttachmentNatGatewaySupportValue: {
8155
+ readonly disable: "disable";
8156
+ readonly enable: "enable";
8157
+ };
8158
+ /**
8159
+ * @public
8160
+ */
8161
+ export type TransitGatewayAttachmentNatGatewaySupportValue = (typeof TransitGatewayAttachmentNatGatewaySupportValue)[keyof typeof TransitGatewayAttachmentNatGatewaySupportValue];
8109
8162
  /**
8110
8163
  * @public
8111
8164
  * @enum
@@ -1,4 +1,4 @@
1
- import type { _InstanceType, ActivityStatus, AllocationStrategy, AllowedImagesSettingsDisabledState, AttachmentStatus, BatchState, CapacityManagerStatus, CurrencyCodeValues, DnsNameState, EventType, ExcessCapacityTerminationPolicy, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FleetType, ImageBlockPublicAccessDisabledState, InitializationType, InstanceInterruptionBehavior, InternetGatewayBlockMode, IpAddressType, ManagedBy, MetricType, OfferingClassType, OfferingTypeValues, OnDemandAllocationStrategy, PayerResponsibility, PermissionGroup, ReplacementStrategy, ResourceType, RIProductDescription, RouteServerPropagationState, Scope, SecondaryInterfaceStatus, SecondaryInterfaceType, SecondaryNetworkType, SecurityGroupVpcAssociationState, ServiceConnectivityType, ServiceLinkVirtualInterfaceConfigurationState, SnapshotAttributeName, SnapshotBlockPublicAccessState, SnapshotState, SpotInstanceState, SpotInstanceType, State, StatisticType, StorageTier, TargetCapacityUnitType, Tenancy, TieringOperationStatus, TransitGatewayAssociationState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPropagationState, VerifiedAccessLogDeliveryStatusCode, VolumeAttributeName, VolumeModificationState, VolumeStatusInfoStatus, VolumeStatusName, VolumeType, VpcAttributeName, VpcBlockPublicAccessExclusionsAllowed, VpcBlockPublicAccessState } from "./enums";
1
+ import type { _InstanceType, ActivityStatus, AllocationStrategy, AllowedImagesSettingsDisabledState, AttachmentStatus, BatchState, CapacityManagerStatus, CurrencyCodeValues, DnsNameState, EventType, ExcessCapacityTerminationPolicy, FastLaunchResourceType, FastLaunchStateCode, FastSnapshotRestoreStateCode, FleetType, ImageBlockPublicAccessDisabledState, InitializationType, InstanceInterruptionBehavior, InternetGatewayBlockMode, IpAddressType, ManagedBy, MetricType, OfferingClassType, OfferingTypeValues, OnDemandAllocationStrategy, PayerResponsibility, PermissionGroup, ReplacementStrategy, ResourceType, RIProductDescription, RouteServerPropagationState, Scope, SecondaryInterfaceStatus, SecondaryInterfaceType, SecondaryNetworkType, SecurityGroupVpcAssociationState, ServiceConnectivityType, ServiceLinkVirtualInterfaceConfigurationState, SnapshotAttributeName, SnapshotBlockPublicAccessState, SnapshotState, SpotInstanceState, SpotInstanceType, State, StatisticType, StorageTier, TargetCapacityUnitType, Tenancy, TieringOperationStatus, TransitGatewayAssociationState, TransitGatewayAttachmentNatGatewaySupportState, TransitGatewayAttachmentResourceType, TransitGatewayAttachmentState, TransitGatewayPropagationState, VerifiedAccessLogDeliveryStatusCode, VolumeAttributeName, VolumeModificationState, VolumeStatusInfoStatus, VolumeStatusName, VolumeType, VpcAttributeName, VpcBlockPublicAccessExclusionsAllowed, VpcBlockPublicAccessState } from "./enums";
2
2
  import type { ActiveInstance, AddressTransfer, AllowedPrincipal, AsnAssociation, AssociationStatus, CustomTagKeyValueRequestPair, IamInstanceProfileAssociation, IamInstanceProfileSpecification, InstanceEventWindow, IpamResourceDiscoveryAssociation, IpPermission, NatGatewayAddress, OperatorResponse, RouteServerAssociation, SecurityGroupRule, SubnetIpv6CidrBlockAssociation, SuccessfulAssociationResponseObject, Tag, TagSpecification, TransitGatewayMulticastDomainAssociations, TransitGatewayPeeringAttachment, TransitGatewayVpcAttachment, TrunkInterfaceAssociation, UnsuccessfulAssociationResponseObject, UserIdGroupPair, VerifiedAccessInstance, VerifiedAccessTrustProvider, Volume, VpcPeeringConnection } from "./models_0";
3
3
  import type { BlockDeviceMapping, ConnectionTrackingSpecificationRequest, EnaSrdSpecificationRequest, FleetLaunchTemplateSpecification, InstanceIpv6Address, InstanceRequirements, Ipv4PrefixSpecificationRequest, Ipv6PrefixSpecificationRequest, PrivateIpAddressSpecification, Subnet, Vpc, VpcEncryptionControl } from "./models_1";
4
4
  import type { ConnectionNotification, DnsEntry, GroupIdentifier, PayerResponsibilityEntry, RouteServer, RouteServerEndpoint, RouteServerPeer, RouteTable, SecondaryNetwork, SecondarySubnet, ServiceConfiguration, ServiceTypeDetail, Snapshot, SpotDatafeedSubscription, SpotInstanceStateFault, TrafficMirrorFilter, TrafficMirrorFilterRule, TrafficMirrorSession, TrafficMirrorTarget, TransitGateway, TransitGatewayConnect, TransitGatewayConnectPeer, TransitGatewayMeteringPolicy, TransitGatewayMulticastDomain, TransitGatewayPolicyTable, TransitGatewayRouteTable, TransitGatewayRouteTableAnnouncement, VerifiedAccessEndpoint, VerifiedAccessGroup, VpcBlockPublicAccessExclusion, VpcEndpoint, VpnConcentrator, VpnConnection, VpnGateway } from "./models_2";
@@ -5182,6 +5182,11 @@ export interface TransitGatewayAttachment {
5182
5182
  * @public
5183
5183
  */
5184
5184
  Tags?: Tag[] | undefined;
5185
+ /**
5186
+ * <p>The state of NAT gateway support for the attachment. Only the owner of the transit gateway receives this parameter.</p>
5187
+ * @public
5188
+ */
5189
+ NatGatewaySupport?: TransitGatewayAttachmentNatGatewaySupportState | undefined;
5185
5190
  }
5186
5191
  /**
5187
5192
  * @public
@@ -1,4 +1,4 @@
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";
@@ -7172,6 +7172,88 @@ export interface GetSubnetCidrReservationsResult {
7172
7172
  */
7173
7173
  NextToken?: string | undefined;
7174
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
+ }
7175
7257
  /**
7176
7258
  * @public
7177
7259
  */
@@ -8027,76 +8109,3 @@ export interface GetVpnConnectionDeviceSampleConfigurationRequest {
8027
8109
  */
8028
8110
  DryRun?: boolean | undefined;
8029
8111
  }
8030
- /**
8031
- * @public
8032
- */
8033
- export interface GetVpnConnectionDeviceSampleConfigurationResult {
8034
- /**
8035
- * <p>Sample configuration file for the specified customer gateway device.</p>
8036
- * @public
8037
- */
8038
- VpnConnectionDeviceSampleConfiguration?: string | undefined;
8039
- }
8040
- /**
8041
- * @public
8042
- */
8043
- export interface GetVpnConnectionDeviceTypesRequest {
8044
- /**
8045
- * <p>The maximum number of results returned by <code>GetVpnConnectionDeviceTypes</code> in
8046
- * paginated output. When this parameter is used, <code>GetVpnConnectionDeviceTypes</code>
8047
- * only returns <code>MaxResults</code> results in a single page along with a
8048
- * <code>NextToken</code> response element. The remaining results of the initial
8049
- * request can be seen by sending another <code>GetVpnConnectionDeviceTypes</code> request
8050
- * with the returned <code>NextToken</code> value. This value can be between 200 and 1000.
8051
- * If this parameter is not used, then <code>GetVpnConnectionDeviceTypes</code> returns all
8052
- * results.</p>
8053
- * @public
8054
- */
8055
- MaxResults?: number | undefined;
8056
- /**
8057
- * <p>The <code>NextToken</code> value returned from a previous paginated
8058
- * <code>GetVpnConnectionDeviceTypes</code> request where <code>MaxResults</code> was
8059
- * used and the results exceeded the value of that parameter. Pagination continues from the
8060
- * end of the previous results that returned the <code>NextToken</code> value. This value
8061
- * is null when there are no more results to return. </p>
8062
- * @public
8063
- */
8064
- NextToken?: string | undefined;
8065
- /**
8066
- * <p>Checks whether you have the required permissions for the action, without actually
8067
- * making the request, and provides an error response. If you have the required
8068
- * permissions, the error response is <code>DryRunOperation</code>. Otherwise, it is
8069
- * <code>UnauthorizedOperation</code>.</p>
8070
- * @public
8071
- */
8072
- DryRun?: boolean | undefined;
8073
- }
8074
- /**
8075
- * <p>List of customer gateway devices that have a sample configuration file available for
8076
- * use. You can also see the list of device types with sample configuration files available
8077
- * under <a href="https://docs.aws.amazon.com/vpn/latest/s2svpn/your-cgw.html">Your customer
8078
- * gateway device</a> in the <i>Amazon Web Services Site-to-Site VPN User Guide</i>.</p>
8079
- * @public
8080
- */
8081
- export interface VpnConnectionDeviceType {
8082
- /**
8083
- * <p>Customer gateway device identifier.</p>
8084
- * @public
8085
- */
8086
- VpnConnectionDeviceTypeId?: string | undefined;
8087
- /**
8088
- * <p>Customer gateway device vendor.</p>
8089
- * @public
8090
- */
8091
- Vendor?: string | undefined;
8092
- /**
8093
- * <p>Customer gateway device platform.</p>
8094
- * @public
8095
- */
8096
- Platform?: string | undefined;
8097
- /**
8098
- * <p>Customer gateway device software version.</p>
8099
- * @public
8100
- */
8101
- Software?: string | undefined;
8102
- }