@aws-sdk/client-networkmanager 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.
- package/README.md +14 -0
- package/dist-cjs/index.js +156 -21
- package/dist-es/NetworkManager.js +8 -0
- package/dist-es/commands/ListAttachmentNatConfigurationsCommand.js +4 -0
- package/dist-es/commands/UpdateAttachmentNatConfigurationCommand.js +4 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/enums.js +34 -0
- package/dist-es/pagination/GetNetworkRoutesPaginator.js +4 -0
- package/dist-es/pagination/ListAttachmentNatConfigurationsPaginator.js +4 -0
- package/dist-es/pagination/index.js +2 -0
- package/dist-es/schemas/schemas_0.js +91 -20
- package/dist-types/NetworkManager.d.ts +29 -0
- package/dist-types/NetworkManagerClient.d.ts +6 -3
- package/dist-types/commands/AcceptAttachmentCommand.d.ts +3 -1
- package/dist-types/commands/CreateConnectAttachmentCommand.d.ts +11 -1
- package/dist-types/commands/CreateConnectPeerCommand.d.ts +1 -1
- package/dist-types/commands/CreateDirectConnectGatewayAttachmentCommand.d.ts +12 -1
- package/dist-types/commands/CreateSiteToSiteVpnAttachmentCommand.d.ts +12 -1
- package/dist-types/commands/CreateTransitGatewayPeeringCommand.d.ts +1 -1
- package/dist-types/commands/CreateTransitGatewayRouteTableAttachmentCommand.d.ts +3 -1
- package/dist-types/commands/CreateVpcAttachmentCommand.d.ts +11 -1
- package/dist-types/commands/DeleteAttachmentCommand.d.ts +3 -1
- package/dist-types/commands/DeleteConnectPeerCommand.d.ts +1 -1
- package/dist-types/commands/DeletePeeringCommand.d.ts +1 -1
- package/dist-types/commands/GetConnectAttachmentCommand.d.ts +3 -1
- package/dist-types/commands/GetConnectPeerCommand.d.ts +1 -1
- package/dist-types/commands/GetDirectConnectGatewayAttachmentCommand.d.ts +3 -1
- package/dist-types/commands/GetNetworkRoutesCommand.d.ts +10 -2
- package/dist-types/commands/GetSiteToSiteVpnAttachmentCommand.d.ts +3 -1
- package/dist-types/commands/GetTransitGatewayPeeringCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayRouteTableAttachmentCommand.d.ts +3 -1
- package/dist-types/commands/GetVpcAttachmentCommand.d.ts +3 -1
- package/dist-types/commands/ListAttachmentNatConfigurationsCommand.d.ts +109 -0
- package/dist-types/commands/ListAttachmentsCommand.d.ts +3 -1
- package/dist-types/commands/ListCoreNetworkRoutingInformationCommand.d.ts +10 -4
- package/dist-types/commands/ListPeeringsCommand.d.ts +1 -1
- package/dist-types/commands/RejectAttachmentCommand.d.ts +3 -1
- package/dist-types/commands/UpdateAttachmentNatConfigurationCommand.d.ts +114 -0
- package/dist-types/commands/UpdateDirectConnectGatewayAttachmentCommand.d.ts +3 -1
- package/dist-types/commands/UpdateVpcAttachmentCommand.d.ts +3 -1
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/enums.d.ts +58 -0
- package/dist-types/models/models_0.d.ts +371 -7
- package/dist-types/pagination/GetNetworkRoutesPaginator.d.ts +7 -0
- package/dist-types/pagination/ListAttachmentNatConfigurationsPaginator.d.ts +7 -0
- package/dist-types/pagination/index.d.ts +2 -0
- package/dist-types/schemas/schemas_0.d.ts +9 -0
- package/dist-types/ts3.4/NetworkManager.d.ts +49 -0
- package/dist-types/ts3.4/NetworkManagerClient.d.ts +12 -0
- package/dist-types/ts3.4/commands/ListAttachmentNatConfigurationsCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/UpdateAttachmentNatConfigurationCommand.d.ts +42 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/enums.d.ts +39 -0
- package/dist-types/ts3.4/models/models_0.d.ts +64 -0
- package/dist-types/ts3.4/pagination/GetNetworkRoutesPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/ListAttachmentNatConfigurationsPaginator.d.ts +11 -0
- package/dist-types/ts3.4/pagination/index.d.ts +2 -0
- package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AutomaticJsonStringConversion as __AutomaticJsonStringConversion } from "@smithy/core/serde";
|
|
2
|
-
import type { AttachmentErrorCode, AttachmentState, AttachmentType, ChangeAction, ChangeSetState, ChangeStatus, ChangeType, ConnectionState, ConnectionStatus, ConnectionType, ConnectPeerAssociationState, ConnectPeerErrorCode, ConnectPeerState, CoreNetworkPolicyAlias, CoreNetworkState, CustomerGatewayAssociationState, DeviceState, GlobalNetworkState, LinkAssociationState, LinkState, PeeringErrorCode, PeeringState, PeeringType, RouteAnalysisCompletionReasonCode, RouteAnalysisCompletionResultCode, RouteAnalysisStatus, RouteState, RouteTableType, RouteType, RoutingPolicyDirection, SegmentActionServiceInsertion, SendViaMode, SiteState, TransitGatewayConnectPeerAssociationState, TransitGatewayRegistrationState, TunnelProtocol } from "./enums";
|
|
2
|
+
import type { AttachmentErrorCode, AttachmentState, AttachmentType, ChangeAction, ChangeSetState, ChangeStatus, ChangeType, ConnectionState, ConnectionStatus, ConnectionType, ConnectPeerAssociationState, ConnectPeerErrorCode, ConnectPeerState, CoreNetworkPolicyAlias, CoreNetworkState, CustomerGatewayAssociationState, DeviceState, GlobalNetworkState, LinkAssociationState, LinkState, NatGatewaySupportState, NatGatewaySupportValue, NatRuleState, PeeringErrorCode, PeeringState, PeeringType, RouteAnalysisCompletionReasonCode, RouteAnalysisCompletionResultCode, RouteAnalysisStatus, RouteState, RouteTableType, RouteType, RoutingPolicyDirection, SegmentActionServiceInsertion, SendViaMode, SiteState, TransitGatewayConnectPeerAssociationState, TransitGatewayRegistrationState, TunnelProtocol } from "./enums";
|
|
3
3
|
/**
|
|
4
4
|
* @public
|
|
5
5
|
*/
|
|
@@ -161,6 +161,16 @@ export interface Attachment {
|
|
|
161
161
|
* @public
|
|
162
162
|
*/
|
|
163
163
|
NetworkFunctionGroupName?: string | undefined;
|
|
164
|
+
/**
|
|
165
|
+
* <p>The state of NAT gateway support on the attachment. This is returned only to the core network owner for attachment types that support NAT.</p>
|
|
166
|
+
* @public
|
|
167
|
+
*/
|
|
168
|
+
NatGatewaySupport?: NatGatewaySupportState | undefined;
|
|
169
|
+
/**
|
|
170
|
+
* <p>Indicates whether the core network installs system routes for the NAT CIDR blocks of the attachment's NAT rules. This is returned only to the core network owner for attachment types that support NAT.</p>
|
|
171
|
+
* @public
|
|
172
|
+
*/
|
|
173
|
+
NatSystemRouteSupport?: boolean | undefined;
|
|
164
174
|
/**
|
|
165
175
|
* <p>The tags associated with the attachment.</p>
|
|
166
176
|
* @public
|
|
@@ -488,6 +498,96 @@ export interface AssociateTransitGatewayConnectPeerResponse {
|
|
|
488
498
|
*/
|
|
489
499
|
TransitGatewayConnectPeerAssociation?: TransitGatewayConnectPeerAssociation | undefined;
|
|
490
500
|
}
|
|
501
|
+
/**
|
|
502
|
+
* <p>Describes a NAT rule of an attachment.</p>
|
|
503
|
+
* @public
|
|
504
|
+
*/
|
|
505
|
+
export interface NatRule {
|
|
506
|
+
/**
|
|
507
|
+
* <p>The rule number. Rule numbers identify the rules of an attachment and don't set the order in which rules are evaluated.</p>
|
|
508
|
+
* @public
|
|
509
|
+
*/
|
|
510
|
+
RuleNumber?: number | undefined;
|
|
511
|
+
/**
|
|
512
|
+
* <p>The source CIDR block that the rule matches for traffic from the attachment.</p>
|
|
513
|
+
* @public
|
|
514
|
+
*/
|
|
515
|
+
MatchSourceCidr?: string | undefined;
|
|
516
|
+
/**
|
|
517
|
+
* <p>The CIDR block that matching source addresses are translated to.</p>
|
|
518
|
+
* @public
|
|
519
|
+
*/
|
|
520
|
+
NatCidr?: string | undefined;
|
|
521
|
+
/**
|
|
522
|
+
* <p>The state of the NAT rule. The possible values are the following:</p>
|
|
523
|
+
* <ul>
|
|
524
|
+
* <li>
|
|
525
|
+
* <p>
|
|
526
|
+
* <code>CREATING</code>: The rule is being created.</p>
|
|
527
|
+
* </li>
|
|
528
|
+
* <li>
|
|
529
|
+
* <p>
|
|
530
|
+
* <code>MODIFYING</code>: The rule is being modified.</p>
|
|
531
|
+
* </li>
|
|
532
|
+
* <li>
|
|
533
|
+
* <p>
|
|
534
|
+
* <code>DELETING</code>: The rule is being deleted.</p>
|
|
535
|
+
* </li>
|
|
536
|
+
* <li>
|
|
537
|
+
* <p>
|
|
538
|
+
* <code>ACTIVATING</code>: NAT gateway support is being enabled, and the rule is being applied.</p>
|
|
539
|
+
* </li>
|
|
540
|
+
* <li>
|
|
541
|
+
* <p>
|
|
542
|
+
* <code>ACTIVATED</code>: NAT gateway support is enabled, and the rule is applied.</p>
|
|
543
|
+
* </li>
|
|
544
|
+
* <li>
|
|
545
|
+
* <p>
|
|
546
|
+
* <code>DEACTIVATING</code>: NAT gateway support is being disabled, and the rule is being removed from use.</p>
|
|
547
|
+
* </li>
|
|
548
|
+
* <li>
|
|
549
|
+
* <p>
|
|
550
|
+
* <code>DEACTIVATED</code>: NAT gateway support is disabled, and the rule isn't applied.</p>
|
|
551
|
+
* </li>
|
|
552
|
+
* <li>
|
|
553
|
+
* <p>
|
|
554
|
+
* <code>FAILED</code>: The attachment failed to be created, and the rule isn't applied.</p>
|
|
555
|
+
* </li>
|
|
556
|
+
* <li>
|
|
557
|
+
* <p>
|
|
558
|
+
* <code>PENDING_ATTACHMENT_ACCEPTANCE</code>: The attachment is pending acceptance. The rule is applied after the attachment is accepted.</p>
|
|
559
|
+
* </li>
|
|
560
|
+
* </ul>
|
|
561
|
+
* @public
|
|
562
|
+
*/
|
|
563
|
+
State?: NatRuleState | undefined;
|
|
564
|
+
}
|
|
565
|
+
/**
|
|
566
|
+
* <p>Describes the NAT configuration of a core network attachment.</p>
|
|
567
|
+
* @public
|
|
568
|
+
*/
|
|
569
|
+
export interface AttachmentNatConfiguration {
|
|
570
|
+
/**
|
|
571
|
+
* <p>The ID of the attachment.</p>
|
|
572
|
+
* @public
|
|
573
|
+
*/
|
|
574
|
+
AttachmentId?: string | undefined;
|
|
575
|
+
/**
|
|
576
|
+
* <p>The state of NAT gateway support on the attachment.</p>
|
|
577
|
+
* @public
|
|
578
|
+
*/
|
|
579
|
+
NatGatewaySupport?: NatGatewaySupportState | undefined;
|
|
580
|
+
/**
|
|
581
|
+
* <p>Indicates whether the core network installs system routes for the NAT CIDR blocks of the attachment's NAT rules.</p>
|
|
582
|
+
* @public
|
|
583
|
+
*/
|
|
584
|
+
NatSystemRouteSupport?: boolean | undefined;
|
|
585
|
+
/**
|
|
586
|
+
* <p>The NAT rules of the attachment.</p>
|
|
587
|
+
* @public
|
|
588
|
+
*/
|
|
589
|
+
NatGatewayRules?: NatRule[] | undefined;
|
|
590
|
+
}
|
|
491
591
|
/**
|
|
492
592
|
* <p>Summary information about routing policy associations for an attachment.</p>
|
|
493
593
|
* @public
|
|
@@ -1162,7 +1262,7 @@ export interface CoreNetworkChangeValues {
|
|
|
1162
1262
|
*/
|
|
1163
1263
|
SecurityGroupReferencingSupport?: boolean | undefined;
|
|
1164
1264
|
/**
|
|
1165
|
-
* <p>The routing policy direction (inbound/outbound) in
|
|
1265
|
+
* <p>The routing policy direction (inbound/outbound) in the core network change values.</p>
|
|
1166
1266
|
* @public
|
|
1167
1267
|
*/
|
|
1168
1268
|
RoutingPolicyDirection?: RoutingPolicyDirection | undefined;
|
|
@@ -1264,7 +1364,7 @@ export interface CoreNetworkChangeEventValues {
|
|
|
1264
1364
|
*/
|
|
1265
1365
|
Cidr?: string | undefined;
|
|
1266
1366
|
/**
|
|
1267
|
-
* <p>The names of the routing policies and other association details in
|
|
1367
|
+
* <p>The names of the routing policies and other association details in a core network change event.</p>
|
|
1268
1368
|
* @public
|
|
1269
1369
|
*/
|
|
1270
1370
|
RoutingPolicyAssociationDetails?: RoutingPolicyAssociationDetail[] | undefined;
|
|
@@ -1563,6 +1663,27 @@ export interface CoreNetworkSummary {
|
|
|
1563
1663
|
*/
|
|
1564
1664
|
Tags?: Tag[] | undefined;
|
|
1565
1665
|
}
|
|
1666
|
+
/**
|
|
1667
|
+
* <p>Describes a NAT rule to configure on an attachment. Source addresses in the source CIDR block of traffic from the attachment are translated to the same host addresses in the NAT CIDR block. Traffic to an address in the NAT CIDR block is translated back to the matching address in the source CIDR block.</p>
|
|
1668
|
+
* @public
|
|
1669
|
+
*/
|
|
1670
|
+
export interface NatRuleRequest {
|
|
1671
|
+
/**
|
|
1672
|
+
* <p>The rule number, from 1 to 32766. Each rule number must be unique for the attachment.</p>
|
|
1673
|
+
* @public
|
|
1674
|
+
*/
|
|
1675
|
+
RuleNumber: number | undefined;
|
|
1676
|
+
/**
|
|
1677
|
+
* <p>The IPv4 CIDR block to match against the source address of traffic from the attachment. The CIDR block can't overlap with the multicast range (224.0.0.0/4).</p>
|
|
1678
|
+
* @public
|
|
1679
|
+
*/
|
|
1680
|
+
MatchSourceCidr: string | undefined;
|
|
1681
|
+
/**
|
|
1682
|
+
* <p>The IPv4 CIDR block to translate matching source addresses to. The prefix length must be the same as the prefix length of <code>MatchSourceCidr</code>. The CIDR block must be within a private (RFC 1918) or shared address space (RFC 6598) range. The CIDR blocks of the NAT rules of an attachment can't overlap with each other.</p>
|
|
1683
|
+
* @public
|
|
1684
|
+
*/
|
|
1685
|
+
NatCidr: string | undefined;
|
|
1686
|
+
}
|
|
1566
1687
|
/**
|
|
1567
1688
|
* @public
|
|
1568
1689
|
*/
|
|
@@ -1587,6 +1708,16 @@ export interface CreateConnectAttachmentRequest {
|
|
|
1587
1708
|
* @public
|
|
1588
1709
|
*/
|
|
1589
1710
|
RoutingPolicyLabel?: string | undefined;
|
|
1711
|
+
/**
|
|
1712
|
+
* <p>Specifies whether to enable NAT gateway support on the Connect attachment. NAT is supported only on Connect attachments that use the GRE tunnel protocol. Tunnel-less Connect attachments aren't supported. To enable NAT gateway support, you must also specify at least one NAT rule. If you don't specify a value, NAT gateway support is disabled. Only the core network owner can configure NAT on an attachment.</p>
|
|
1713
|
+
* @public
|
|
1714
|
+
*/
|
|
1715
|
+
NatGatewaySupport?: NatGatewaySupportValue | undefined;
|
|
1716
|
+
/**
|
|
1717
|
+
* <p>The NAT rules for the Connect attachment, up to 50 rules.</p>
|
|
1718
|
+
* @public
|
|
1719
|
+
*/
|
|
1720
|
+
NatGatewayRules?: NatRuleRequest[] | undefined;
|
|
1590
1721
|
/**
|
|
1591
1722
|
* <p>Options for creating an attachment.</p>
|
|
1592
1723
|
* @public
|
|
@@ -1994,6 +2125,21 @@ export interface CreateDirectConnectGatewayAttachmentRequest {
|
|
|
1994
2125
|
* @public
|
|
1995
2126
|
*/
|
|
1996
2127
|
EdgeLocations: string[] | undefined;
|
|
2128
|
+
/**
|
|
2129
|
+
* <p>Specifies whether to enable NAT gateway support on the Direct Connect gateway attachment. To enable NAT gateway support, you must also specify at least one NAT rule. If you don't specify a value, NAT gateway support is disabled. Only the core network owner can configure NAT on an attachment.</p>
|
|
2130
|
+
* @public
|
|
2131
|
+
*/
|
|
2132
|
+
NatGatewaySupport?: NatGatewaySupportValue | undefined;
|
|
2133
|
+
/**
|
|
2134
|
+
* <p>Specifies whether the core network installs system routes for the NAT CIDR blocks of the attachment's NAT rules. System routes have a route type of <code>SYSTEM</code>. NAT is applied to traffic whether or not this option is enabled. The default is <code>true</code>.</p>
|
|
2135
|
+
* @public
|
|
2136
|
+
*/
|
|
2137
|
+
NatSystemRouteSupport?: boolean | undefined;
|
|
2138
|
+
/**
|
|
2139
|
+
* <p>The NAT rules for the Direct Connect gateway attachment, up to 50 rules.</p>
|
|
2140
|
+
* @public
|
|
2141
|
+
*/
|
|
2142
|
+
NatGatewayRules?: NatRuleRequest[] | undefined;
|
|
1997
2143
|
/**
|
|
1998
2144
|
* <p>The key value tags to apply to the Direct Connect gateway attachment during creation.</p>
|
|
1999
2145
|
* @public
|
|
@@ -2322,6 +2468,21 @@ export interface CreateSiteToSiteVpnAttachmentRequest {
|
|
|
2322
2468
|
* @public
|
|
2323
2469
|
*/
|
|
2324
2470
|
RoutingPolicyLabel?: string | undefined;
|
|
2471
|
+
/**
|
|
2472
|
+
* <p>Specifies whether to enable NAT gateway support on the Site-to-Site VPN attachment. To enable NAT gateway support, you must also specify at least one NAT rule. If you don't specify a value, NAT gateway support is disabled. Only the core network owner can configure NAT on an attachment.</p>
|
|
2473
|
+
* @public
|
|
2474
|
+
*/
|
|
2475
|
+
NatGatewaySupport?: NatGatewaySupportValue | undefined;
|
|
2476
|
+
/**
|
|
2477
|
+
* <p>Specifies whether the core network installs system routes for the NAT CIDR blocks of the attachment's NAT rules. System routes have a route type of <code>SYSTEM</code>. NAT is applied to traffic whether or not this option is enabled. The default is <code>true</code> for VPN connections that use BGP and <code>false</code> for VPN connections that use static routing. If the VPN connection uses static routing, you must specify <code>false</code> or omit this parameter.</p>
|
|
2478
|
+
* @public
|
|
2479
|
+
*/
|
|
2480
|
+
NatSystemRouteSupport?: boolean | undefined;
|
|
2481
|
+
/**
|
|
2482
|
+
* <p>The NAT rules for the Site-to-Site VPN attachment, up to 50 rules.</p>
|
|
2483
|
+
* @public
|
|
2484
|
+
*/
|
|
2485
|
+
NatGatewayRules?: NatRuleRequest[] | undefined;
|
|
2325
2486
|
/**
|
|
2326
2487
|
* <p>The tags associated with the request.</p>
|
|
2327
2488
|
* @public
|
|
@@ -2483,7 +2644,7 @@ export interface Peering {
|
|
|
2483
2644
|
*/
|
|
2484
2645
|
CreatedAt?: Date | undefined;
|
|
2485
2646
|
/**
|
|
2486
|
-
* <p>Describes the error associated with the
|
|
2647
|
+
* <p>Describes the error associated with the peering request.</p>
|
|
2487
2648
|
* @public
|
|
2488
2649
|
*/
|
|
2489
2650
|
LastModificationErrors?: PeeringError[] | undefined;
|
|
@@ -2635,6 +2796,16 @@ export interface CreateVpcAttachmentRequest {
|
|
|
2635
2796
|
* @public
|
|
2636
2797
|
*/
|
|
2637
2798
|
RoutingPolicyLabel?: string | undefined;
|
|
2799
|
+
/**
|
|
2800
|
+
* <p>Specifies whether to enable NAT gateway support on the VPC attachment. To enable NAT gateway support, you must also specify at least one NAT rule. If you don't specify a value, NAT gateway support is disabled. Only the core network owner can configure NAT on an attachment.</p>
|
|
2801
|
+
* @public
|
|
2802
|
+
*/
|
|
2803
|
+
NatGatewaySupport?: NatGatewaySupportValue | undefined;
|
|
2804
|
+
/**
|
|
2805
|
+
* <p>The NAT rules for the VPC attachment, up to 50 rules.</p>
|
|
2806
|
+
* @public
|
|
2807
|
+
*/
|
|
2808
|
+
NatGatewayRules?: NatRuleRequest[] | undefined;
|
|
2638
2809
|
/**
|
|
2639
2810
|
* <p>The key-value tags associated with the request.</p>
|
|
2640
2811
|
* @public
|
|
@@ -4343,6 +4514,16 @@ export interface GetNetworkRoutesRequest {
|
|
|
4343
4514
|
* @public
|
|
4344
4515
|
*/
|
|
4345
4516
|
DestinationFilters?: Record<string, string[]> | undefined;
|
|
4517
|
+
/**
|
|
4518
|
+
* <p>The maximum number of results to return.</p>
|
|
4519
|
+
* @public
|
|
4520
|
+
*/
|
|
4521
|
+
MaxResults?: number | undefined;
|
|
4522
|
+
/**
|
|
4523
|
+
* <p>The token for the next page of results.</p>
|
|
4524
|
+
* @public
|
|
4525
|
+
*/
|
|
4526
|
+
NextToken?: string | undefined;
|
|
4346
4527
|
}
|
|
4347
4528
|
/**
|
|
4348
4529
|
* <p>Describes the destination of a network route.</p>
|
|
@@ -4411,7 +4592,7 @@ export interface NetworkRoute {
|
|
|
4411
4592
|
*/
|
|
4412
4593
|
State?: RouteState | undefined;
|
|
4413
4594
|
/**
|
|
4414
|
-
* <p>The route type. The possible values are <code>
|
|
4595
|
+
* <p>The route type. The possible values are <code>PROPAGATED</code>, <code>STATIC</code>, and <code>SYSTEM</code>. A <code>SYSTEM</code> route is installed by the core network for the NAT CIDR block of an attachment's NAT rule.</p>
|
|
4415
4596
|
* @public
|
|
4416
4597
|
*/
|
|
4417
4598
|
Type?: RouteType | undefined;
|
|
@@ -4430,6 +4611,11 @@ export interface GetNetworkRoutesResponse {
|
|
|
4430
4611
|
* @public
|
|
4431
4612
|
*/
|
|
4432
4613
|
CoreNetworkSegmentEdge?: CoreNetworkSegmentEdgeIdentifier | undefined;
|
|
4614
|
+
/**
|
|
4615
|
+
* <p>Describes the network function group route table that the routes are from. This field is present only when you specify <code>CoreNetworkNetworkFunctionGroup</code> in <code>RouteTableIdentifier</code>.</p>
|
|
4616
|
+
* @public
|
|
4617
|
+
*/
|
|
4618
|
+
CoreNetworkNetworkFunctionGroup?: CoreNetworkNetworkFunctionGroupIdentifier | undefined;
|
|
4433
4619
|
/**
|
|
4434
4620
|
* <p>The route table type.</p>
|
|
4435
4621
|
* @public
|
|
@@ -4445,6 +4631,11 @@ export interface GetNetworkRoutesResponse {
|
|
|
4445
4631
|
* @public
|
|
4446
4632
|
*/
|
|
4447
4633
|
NetworkRoutes?: NetworkRoute[] | undefined;
|
|
4634
|
+
/**
|
|
4635
|
+
* <p>The token for the next page of results.</p>
|
|
4636
|
+
* @public
|
|
4637
|
+
*/
|
|
4638
|
+
NextToken?: string | undefined;
|
|
4448
4639
|
}
|
|
4449
4640
|
/**
|
|
4450
4641
|
* @public
|
|
@@ -5041,6 +5232,77 @@ export interface GetVpcAttachmentResponse {
|
|
|
5041
5232
|
*/
|
|
5042
5233
|
VpcAttachment?: VpcAttachment | undefined;
|
|
5043
5234
|
}
|
|
5235
|
+
/**
|
|
5236
|
+
* @public
|
|
5237
|
+
*/
|
|
5238
|
+
export interface ListAttachmentNatConfigurationsRequest {
|
|
5239
|
+
/**
|
|
5240
|
+
* <p>The ID of a core network. Returns the NAT configurations of attachments in the core network that support NAT.</p>
|
|
5241
|
+
* @public
|
|
5242
|
+
*/
|
|
5243
|
+
CoreNetworkId?: string | undefined;
|
|
5244
|
+
/**
|
|
5245
|
+
* <p>The ID of an attachment. Returns the NAT configuration of the specified attachment. If you specify both an attachment ID and a core network ID, the attachment ID is used.</p>
|
|
5246
|
+
* @public
|
|
5247
|
+
*/
|
|
5248
|
+
AttachmentId?: string | undefined;
|
|
5249
|
+
/**
|
|
5250
|
+
* <p>The filters to apply to the results. Values for the same filter are joined with OR, and different filters are joined with AND. You can specify up to 10 filter values in total. The following filters are supported:</p>
|
|
5251
|
+
* <ul>
|
|
5252
|
+
* <li>
|
|
5253
|
+
* <p>
|
|
5254
|
+
* <code>nat-gateway-support</code>: The state of NAT gateway support on the attachment, for example <code>ENABLED</code>.</p>
|
|
5255
|
+
* </li>
|
|
5256
|
+
* <li>
|
|
5257
|
+
* <p>
|
|
5258
|
+
* <code>nat-system-route-support</code>: Whether system routes are installed for the attachment, <code>true</code> or <code>false</code>.</p>
|
|
5259
|
+
* </li>
|
|
5260
|
+
* <li>
|
|
5261
|
+
* <p>
|
|
5262
|
+
* <code>rule-number</code>: The rule number of a NAT rule.</p>
|
|
5263
|
+
* </li>
|
|
5264
|
+
* <li>
|
|
5265
|
+
* <p>
|
|
5266
|
+
* <code>match-source-cidr</code>: The source CIDR block of a NAT rule. The value must exactly match the CIDR block of the rule.</p>
|
|
5267
|
+
* </li>
|
|
5268
|
+
* <li>
|
|
5269
|
+
* <p>
|
|
5270
|
+
* <code>nat-cidr</code>: The NAT CIDR block of a NAT rule. The value must exactly match the CIDR block of the rule.</p>
|
|
5271
|
+
* </li>
|
|
5272
|
+
* <li>
|
|
5273
|
+
* <p>
|
|
5274
|
+
* <code>nat-rule-state</code>: The state of a NAT rule, for example <code>ACTIVATED</code>.</p>
|
|
5275
|
+
* </li>
|
|
5276
|
+
* </ul>
|
|
5277
|
+
* @public
|
|
5278
|
+
*/
|
|
5279
|
+
Filters?: Record<string, string[]> | undefined;
|
|
5280
|
+
/**
|
|
5281
|
+
* <p>The maximum number of results to return.</p>
|
|
5282
|
+
* @public
|
|
5283
|
+
*/
|
|
5284
|
+
MaxResults?: number | undefined;
|
|
5285
|
+
/**
|
|
5286
|
+
* <p>The token for the next page of results.</p>
|
|
5287
|
+
* @public
|
|
5288
|
+
*/
|
|
5289
|
+
NextToken?: string | undefined;
|
|
5290
|
+
}
|
|
5291
|
+
/**
|
|
5292
|
+
* @public
|
|
5293
|
+
*/
|
|
5294
|
+
export interface ListAttachmentNatConfigurationsResponse {
|
|
5295
|
+
/**
|
|
5296
|
+
* <p>The NAT configurations of the attachments.</p>
|
|
5297
|
+
* @public
|
|
5298
|
+
*/
|
|
5299
|
+
AttachmentNatConfigurations: AttachmentNatConfiguration[] | undefined;
|
|
5300
|
+
/**
|
|
5301
|
+
* <p>The token for the next page of results.</p>
|
|
5302
|
+
* @public
|
|
5303
|
+
*/
|
|
5304
|
+
NextToken?: string | undefined;
|
|
5305
|
+
}
|
|
5044
5306
|
/**
|
|
5045
5307
|
* @public
|
|
5046
5308
|
*/
|
|
@@ -5237,7 +5499,7 @@ export interface ListCoreNetworkPrefixListAssociationsRequest {
|
|
|
5237
5499
|
*/
|
|
5238
5500
|
export interface PrefixListAssociation {
|
|
5239
5501
|
/**
|
|
5240
|
-
* <p>The core network
|
|
5502
|
+
* <p>The ID of the core network in the association.</p>
|
|
5241
5503
|
* @public
|
|
5242
5504
|
*/
|
|
5243
5505
|
CoreNetworkId?: string | undefined;
|
|
@@ -5287,10 +5549,57 @@ export interface ListCoreNetworkRoutingInformationRequest {
|
|
|
5287
5549
|
*/
|
|
5288
5550
|
EdgeLocation: string | undefined;
|
|
5289
5551
|
/**
|
|
5290
|
-
* <p>Filters to apply based on next hop information
|
|
5552
|
+
* <p>Filters to apply based on next hop information. Each filter value must exactly match the corresponding next hop value. Values for the same filter are joined with OR, and different filters are joined with AND. The following filters are supported:</p>
|
|
5553
|
+
* <ul>
|
|
5554
|
+
* <li>
|
|
5555
|
+
* <p>
|
|
5556
|
+
* <code>core-network-attachment-id</code>: The ID of the core network attachment for the next hop, for example <code>attachment-0123456789abcdef0</code>.</p>
|
|
5557
|
+
* </li>
|
|
5558
|
+
* <li>
|
|
5559
|
+
* <p>
|
|
5560
|
+
* <code>segment-name</code>: The name of the segment for the next hop.</p>
|
|
5561
|
+
* </li>
|
|
5562
|
+
* <li>
|
|
5563
|
+
* <p>
|
|
5564
|
+
* <code>edge-location</code>: The edge location for the next hop, for example <code>us-east-1</code>.</p>
|
|
5565
|
+
* </li>
|
|
5566
|
+
* <li>
|
|
5567
|
+
* <p>
|
|
5568
|
+
* <code>resource-id</code>: The ID of the resource for the next hop.</p>
|
|
5569
|
+
* </li>
|
|
5570
|
+
* <li>
|
|
5571
|
+
* <p>
|
|
5572
|
+
* <code>resource-type</code>: The type of resource for the next hop. The possible values are <code>vpc</code>, <code>vpn</code>, <code>connect-peer</code>, <code>direct-connect-gateway</code>, <code>transit-gateway-route-table</code>, <code>attachment</code>, and <code>blackhole</code>.</p>
|
|
5573
|
+
* </li>
|
|
5574
|
+
* <li>
|
|
5575
|
+
* <p>
|
|
5576
|
+
* <code>ip-address</code>: The IP address of the next hop. For a Site-to-Site VPN next hop, this is the outside IP address of the AWS side of the VPN tunnel. For a Connect peer next hop, this is the core network BGP address of the Connect peer. The value must be a single IPv4 or IPv6 address.</p>
|
|
5577
|
+
* </li>
|
|
5578
|
+
* </ul>
|
|
5579
|
+
* <p>You can specify up to 10 filter values in total across <code>NextHopFilters</code> and the other match parameters in the request. Each filter value can be up to 256 characters.</p>
|
|
5291
5580
|
* @public
|
|
5292
5581
|
*/
|
|
5293
5582
|
NextHopFilters?: Record<string, string[]> | undefined;
|
|
5583
|
+
/**
|
|
5584
|
+
* <p>Exact prefix values to match when filtering routing information.</p>
|
|
5585
|
+
* @public
|
|
5586
|
+
*/
|
|
5587
|
+
ExactPrefixMatches?: string[] | undefined;
|
|
5588
|
+
/**
|
|
5589
|
+
* <p>Filters routing information based on the longest prefix that matches each provided IP address.</p>
|
|
5590
|
+
* @public
|
|
5591
|
+
*/
|
|
5592
|
+
LongestPrefixMatches?: string[] | undefined;
|
|
5593
|
+
/**
|
|
5594
|
+
* <p>Prefix values to filter routing information whose prefix is a subnet of the prefixes provided.</p>
|
|
5595
|
+
* @public
|
|
5596
|
+
*/
|
|
5597
|
+
SubnetOfMatches?: string[] | undefined;
|
|
5598
|
+
/**
|
|
5599
|
+
* <p>Prefix values to filter routing information whose prefix is a supernet of the prefixes provided.</p>
|
|
5600
|
+
* @public
|
|
5601
|
+
*/
|
|
5602
|
+
SupernetOfMatches?: string[] | undefined;
|
|
5294
5603
|
/**
|
|
5295
5604
|
* <p>Local preference values to match when filtering routing information.</p>
|
|
5296
5605
|
* @public
|
|
@@ -5820,6 +6129,61 @@ export interface UntagResourceRequest {
|
|
|
5820
6129
|
*/
|
|
5821
6130
|
export interface UntagResourceResponse {
|
|
5822
6131
|
}
|
|
6132
|
+
/**
|
|
6133
|
+
* @public
|
|
6134
|
+
*/
|
|
6135
|
+
export interface UpdateAttachmentNatConfigurationRequest {
|
|
6136
|
+
/**
|
|
6137
|
+
* <p>The ID of the attachment to update the NAT configuration for.</p>
|
|
6138
|
+
* @public
|
|
6139
|
+
*/
|
|
6140
|
+
AttachmentId: string | undefined;
|
|
6141
|
+
/**
|
|
6142
|
+
* <p>Specifies whether to enable or disable NAT gateway support on the attachment. When you disable NAT gateway support, the attachment keeps its NAT rules but doesn't apply them. To enable NAT gateway support, the attachment must have at least one NAT rule, either specified in this request or already configured on the attachment. If you omit this parameter, NAT gateway support is unchanged.</p>
|
|
6143
|
+
* @public
|
|
6144
|
+
*/
|
|
6145
|
+
NatGatewaySupport?: NatGatewaySupportValue | undefined;
|
|
6146
|
+
/**
|
|
6147
|
+
* <p>Specifies whether the core network installs system routes for the NAT CIDR blocks of the attachment's NAT rules. System routes have a route type of <code>SYSTEM</code>. NAT is applied to traffic whether or not this option is enabled. If you omit this parameter, the current value is unchanged.</p>
|
|
6148
|
+
* @public
|
|
6149
|
+
*/
|
|
6150
|
+
NatSystemRouteSupport?: boolean | undefined;
|
|
6151
|
+
/**
|
|
6152
|
+
* <p>The complete set of NAT rules for the attachment, up to 50 rules. The rules that you specify replace the existing rules of the attachment, matched by rule number. Existing rules that aren't included in the request are deleted. To delete all NAT rules, specify an empty list. You can delete all NAT rules only when NAT gateway support is disabled, or when you disable it in the same request. If you omit this parameter, the existing rules are unchanged.</p>
|
|
6153
|
+
* @public
|
|
6154
|
+
*/
|
|
6155
|
+
NatGatewayRules?: NatRuleRequest[] | undefined;
|
|
6156
|
+
/**
|
|
6157
|
+
* <p>The client token associated with the request.</p>
|
|
6158
|
+
* @public
|
|
6159
|
+
*/
|
|
6160
|
+
ClientToken?: string | undefined;
|
|
6161
|
+
}
|
|
6162
|
+
/**
|
|
6163
|
+
* @public
|
|
6164
|
+
*/
|
|
6165
|
+
export interface UpdateAttachmentNatConfigurationResponse {
|
|
6166
|
+
/**
|
|
6167
|
+
* <p>The ID of the attachment.</p>
|
|
6168
|
+
* @public
|
|
6169
|
+
*/
|
|
6170
|
+
AttachmentId?: string | undefined;
|
|
6171
|
+
/**
|
|
6172
|
+
* <p>The state of NAT gateway support on the attachment. The transitional states <code>ENABLING</code> and <code>DISABLING</code> change to <code>ENABLED</code> or <code>DISABLED</code> after the update is applied. The state is <code>PENDING_ATTACHMENT_ACCEPTANCE</code> when NAT gateway support is enabled on an attachment that is pending acceptance.</p>
|
|
6173
|
+
* @public
|
|
6174
|
+
*/
|
|
6175
|
+
NatGatewaySupport?: NatGatewaySupportState | undefined;
|
|
6176
|
+
/**
|
|
6177
|
+
* <p>Indicates whether the core network installs system routes for the NAT CIDR blocks of the attachment's NAT rules.</p>
|
|
6178
|
+
* @public
|
|
6179
|
+
*/
|
|
6180
|
+
NatSystemRouteSupport?: boolean | undefined;
|
|
6181
|
+
/**
|
|
6182
|
+
* <p>The NAT rules of the attachment, including rules that are being deleted.</p>
|
|
6183
|
+
* @public
|
|
6184
|
+
*/
|
|
6185
|
+
NatGatewayRules?: NatRule[] | undefined;
|
|
6186
|
+
}
|
|
5823
6187
|
/**
|
|
5824
6188
|
* @public
|
|
5825
6189
|
*/
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { GetNetworkRoutesCommandInput, GetNetworkRoutesCommandOutput } from "../commands/GetNetworkRoutesCommand";
|
|
3
|
+
import type { NetworkManagerPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateGetNetworkRoutes: (config: NetworkManagerPaginationConfiguration, input: GetNetworkRoutesCommandInput, ...rest: any[]) => Paginator<GetNetworkRoutesCommandOutput>;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type { Paginator } from "@smithy/types";
|
|
2
|
+
import { ListAttachmentNatConfigurationsCommandInput, ListAttachmentNatConfigurationsCommandOutput } from "../commands/ListAttachmentNatConfigurationsCommand";
|
|
3
|
+
import type { NetworkManagerPaginationConfiguration } from "./Interfaces";
|
|
4
|
+
/**
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
export declare const paginateListAttachmentNatConfigurations: (config: NetworkManagerPaginationConfiguration, input: ListAttachmentNatConfigurationsCommandInput, ...rest: any[]) => Paginator<ListAttachmentNatConfigurationsCommandOutput>;
|
|
@@ -11,10 +11,12 @@ export * from "./GetLinksPaginator";
|
|
|
11
11
|
export * from "./GetNetworkResourceCountsPaginator";
|
|
12
12
|
export * from "./GetNetworkResourceRelationshipsPaginator";
|
|
13
13
|
export * from "./GetNetworkResourcesPaginator";
|
|
14
|
+
export * from "./GetNetworkRoutesPaginator";
|
|
14
15
|
export * from "./GetNetworkTelemetryPaginator";
|
|
15
16
|
export * from "./GetSitesPaginator";
|
|
16
17
|
export * from "./GetTransitGatewayConnectPeerAssociationsPaginator";
|
|
17
18
|
export * from "./GetTransitGatewayRegistrationsPaginator";
|
|
19
|
+
export * from "./ListAttachmentNatConfigurationsPaginator";
|
|
18
20
|
export * from "./ListAttachmentRoutingPolicyAssociationsPaginator";
|
|
19
21
|
export * from "./ListAttachmentsPaginator";
|
|
20
22
|
export * from "./ListConnectPeersPaginator";
|
|
@@ -28,6 +28,7 @@ export declare var AssociateTransitGatewayConnectPeerRequest$: StaticStructureSc
|
|
|
28
28
|
export declare var AssociateTransitGatewayConnectPeerResponse$: StaticStructureSchema;
|
|
29
29
|
export declare var Attachment$: StaticStructureSchema;
|
|
30
30
|
export declare var AttachmentError$: StaticStructureSchema;
|
|
31
|
+
export declare var AttachmentNatConfiguration$: StaticStructureSchema;
|
|
31
32
|
export declare var AttachmentRoutingPolicyAssociationSummary$: StaticStructureSchema;
|
|
32
33
|
export declare var AWSLocation$: StaticStructureSchema;
|
|
33
34
|
export declare var Bandwidth$: StaticStructureSchema;
|
|
@@ -184,6 +185,8 @@ export declare var GetVpcAttachmentResponse$: StaticStructureSchema;
|
|
|
184
185
|
export declare var GlobalNetwork$: StaticStructureSchema;
|
|
185
186
|
export declare var Link$: StaticStructureSchema;
|
|
186
187
|
export declare var LinkAssociation$: StaticStructureSchema;
|
|
188
|
+
export declare var ListAttachmentNatConfigurationsRequest$: StaticStructureSchema;
|
|
189
|
+
export declare var ListAttachmentNatConfigurationsResponse$: StaticStructureSchema;
|
|
187
190
|
export declare var ListAttachmentRoutingPolicyAssociationsRequest$: StaticStructureSchema;
|
|
188
191
|
export declare var ListAttachmentRoutingPolicyAssociationsResponse$: StaticStructureSchema;
|
|
189
192
|
export declare var ListAttachmentsRequest$: StaticStructureSchema;
|
|
@@ -205,6 +208,8 @@ export declare var ListPeeringsResponse$: StaticStructureSchema;
|
|
|
205
208
|
export declare var ListTagsForResourceRequest$: StaticStructureSchema;
|
|
206
209
|
export declare var ListTagsForResourceResponse$: StaticStructureSchema;
|
|
207
210
|
export declare var Location$: StaticStructureSchema;
|
|
211
|
+
export declare var NatRule$: StaticStructureSchema;
|
|
212
|
+
export declare var NatRuleRequest$: StaticStructureSchema;
|
|
208
213
|
export declare var NetworkFunctionGroup$: StaticStructureSchema;
|
|
209
214
|
export declare var NetworkResource$: StaticStructureSchema;
|
|
210
215
|
export declare var NetworkResourceCount$: StaticStructureSchema;
|
|
@@ -261,6 +266,8 @@ export declare var TransitGatewayRegistrationStateReason$: StaticStructureSchema
|
|
|
261
266
|
export declare var TransitGatewayRouteTableAttachment$: StaticStructureSchema;
|
|
262
267
|
export declare var UntagResourceRequest$: StaticStructureSchema;
|
|
263
268
|
export declare var UntagResourceResponse$: StaticStructureSchema;
|
|
269
|
+
export declare var UpdateAttachmentNatConfigurationRequest$: StaticStructureSchema;
|
|
270
|
+
export declare var UpdateAttachmentNatConfigurationResponse$: StaticStructureSchema;
|
|
264
271
|
export declare var UpdateConnectionRequest$: StaticStructureSchema;
|
|
265
272
|
export declare var UpdateConnectionResponse$: StaticStructureSchema;
|
|
266
273
|
export declare var UpdateCoreNetworkRequest$: StaticStructureSchema;
|
|
@@ -349,6 +356,7 @@ export declare var GetTransitGatewayPeering$: StaticOperationSchema;
|
|
|
349
356
|
export declare var GetTransitGatewayRegistrations$: StaticOperationSchema;
|
|
350
357
|
export declare var GetTransitGatewayRouteTableAttachment$: StaticOperationSchema;
|
|
351
358
|
export declare var GetVpcAttachment$: StaticOperationSchema;
|
|
359
|
+
export declare var ListAttachmentNatConfigurations$: StaticOperationSchema;
|
|
352
360
|
export declare var ListAttachmentRoutingPolicyAssociations$: StaticOperationSchema;
|
|
353
361
|
export declare var ListAttachments$: StaticOperationSchema;
|
|
354
362
|
export declare var ListConnectPeers$: StaticOperationSchema;
|
|
@@ -370,6 +378,7 @@ export declare var StartOrganizationServiceAccessUpdate$: StaticOperationSchema;
|
|
|
370
378
|
export declare var StartRouteAnalysis$: StaticOperationSchema;
|
|
371
379
|
export declare var TagResource$: StaticOperationSchema;
|
|
372
380
|
export declare var UntagResource$: StaticOperationSchema;
|
|
381
|
+
export declare var UpdateAttachmentNatConfiguration$: StaticOperationSchema;
|
|
373
382
|
export declare var UpdateConnection$: StaticOperationSchema;
|
|
374
383
|
export declare var UpdateCoreNetwork$: StaticOperationSchema;
|
|
375
384
|
export declare var UpdateDevice$: StaticOperationSchema;
|