@aws-sdk/client-networkmanager 3.1155.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 (59) hide show
  1. package/README.md +14 -0
  2. package/dist-cjs/index.js +156 -21
  3. package/dist-es/NetworkManager.js +8 -0
  4. package/dist-es/commands/ListAttachmentNatConfigurationsCommand.js +4 -0
  5. package/dist-es/commands/UpdateAttachmentNatConfigurationCommand.js +4 -0
  6. package/dist-es/commands/index.js +2 -0
  7. package/dist-es/models/enums.js +34 -0
  8. package/dist-es/pagination/GetNetworkRoutesPaginator.js +4 -0
  9. package/dist-es/pagination/ListAttachmentNatConfigurationsPaginator.js +4 -0
  10. package/dist-es/pagination/index.js +2 -0
  11. package/dist-es/schemas/schemas_0.js +91 -20
  12. package/dist-types/NetworkManager.d.ts +29 -0
  13. package/dist-types/NetworkManagerClient.d.ts +4 -2
  14. package/dist-types/commands/AcceptAttachmentCommand.d.ts +3 -1
  15. package/dist-types/commands/CreateConnectAttachmentCommand.d.ts +11 -1
  16. package/dist-types/commands/CreateConnectPeerCommand.d.ts +1 -1
  17. package/dist-types/commands/CreateDirectConnectGatewayAttachmentCommand.d.ts +12 -1
  18. package/dist-types/commands/CreateSiteToSiteVpnAttachmentCommand.d.ts +12 -1
  19. package/dist-types/commands/CreateTransitGatewayPeeringCommand.d.ts +1 -1
  20. package/dist-types/commands/CreateTransitGatewayRouteTableAttachmentCommand.d.ts +3 -1
  21. package/dist-types/commands/CreateVpcAttachmentCommand.d.ts +11 -1
  22. package/dist-types/commands/DeleteAttachmentCommand.d.ts +3 -1
  23. package/dist-types/commands/DeleteConnectPeerCommand.d.ts +1 -1
  24. package/dist-types/commands/DeletePeeringCommand.d.ts +1 -1
  25. package/dist-types/commands/GetConnectAttachmentCommand.d.ts +3 -1
  26. package/dist-types/commands/GetConnectPeerCommand.d.ts +1 -1
  27. package/dist-types/commands/GetDirectConnectGatewayAttachmentCommand.d.ts +3 -1
  28. package/dist-types/commands/GetNetworkRoutesCommand.d.ts +10 -2
  29. package/dist-types/commands/GetSiteToSiteVpnAttachmentCommand.d.ts +3 -1
  30. package/dist-types/commands/GetTransitGatewayPeeringCommand.d.ts +1 -1
  31. package/dist-types/commands/GetTransitGatewayRouteTableAttachmentCommand.d.ts +3 -1
  32. package/dist-types/commands/GetVpcAttachmentCommand.d.ts +3 -1
  33. package/dist-types/commands/ListAttachmentNatConfigurationsCommand.d.ts +109 -0
  34. package/dist-types/commands/ListAttachmentsCommand.d.ts +3 -1
  35. package/dist-types/commands/ListCoreNetworkRoutingInformationCommand.d.ts +10 -4
  36. package/dist-types/commands/ListPeeringsCommand.d.ts +1 -1
  37. package/dist-types/commands/RejectAttachmentCommand.d.ts +3 -1
  38. package/dist-types/commands/UpdateAttachmentNatConfigurationCommand.d.ts +114 -0
  39. package/dist-types/commands/UpdateDirectConnectGatewayAttachmentCommand.d.ts +3 -1
  40. package/dist-types/commands/UpdateVpcAttachmentCommand.d.ts +3 -1
  41. package/dist-types/commands/index.d.ts +2 -0
  42. package/dist-types/models/enums.d.ts +58 -0
  43. package/dist-types/models/models_0.d.ts +371 -7
  44. package/dist-types/pagination/GetNetworkRoutesPaginator.d.ts +7 -0
  45. package/dist-types/pagination/ListAttachmentNatConfigurationsPaginator.d.ts +7 -0
  46. package/dist-types/pagination/index.d.ts +2 -0
  47. package/dist-types/schemas/schemas_0.d.ts +9 -0
  48. package/dist-types/ts3.4/NetworkManager.d.ts +49 -0
  49. package/dist-types/ts3.4/NetworkManagerClient.d.ts +12 -0
  50. package/dist-types/ts3.4/commands/ListAttachmentNatConfigurationsCommand.d.ts +42 -0
  51. package/dist-types/ts3.4/commands/UpdateAttachmentNatConfigurationCommand.d.ts +42 -0
  52. package/dist-types/ts3.4/commands/index.d.ts +2 -0
  53. package/dist-types/ts3.4/models/enums.d.ts +39 -0
  54. package/dist-types/ts3.4/models/models_0.d.ts +64 -0
  55. package/dist-types/ts3.4/pagination/GetNetworkRoutesPaginator.d.ts +11 -0
  56. package/dist-types/ts3.4/pagination/ListAttachmentNatConfigurationsPaginator.d.ts +11 -0
  57. package/dist-types/ts3.4/pagination/index.d.ts +2 -0
  58. package/dist-types/ts3.4/schemas/schemas_0.d.ts +9 -0
  59. package/package.json +1 -1
@@ -243,6 +243,10 @@ import {
243
243
  GetVpcAttachmentCommandInput,
244
244
  GetVpcAttachmentCommandOutput,
245
245
  } from "./commands/GetVpcAttachmentCommand";
246
+ import {
247
+ ListAttachmentNatConfigurationsCommandInput,
248
+ ListAttachmentNatConfigurationsCommandOutput,
249
+ } from "./commands/ListAttachmentNatConfigurationsCommand";
246
250
  import {
247
251
  ListAttachmentRoutingPolicyAssociationsCommandInput,
248
252
  ListAttachmentRoutingPolicyAssociationsCommandOutput,
@@ -324,6 +328,10 @@ import {
324
328
  UntagResourceCommandInput,
325
329
  UntagResourceCommandOutput,
326
330
  } from "./commands/UntagResourceCommand";
331
+ import {
332
+ UpdateAttachmentNatConfigurationCommandInput,
333
+ UpdateAttachmentNatConfigurationCommandOutput,
334
+ } from "./commands/UpdateAttachmentNatConfigurationCommand";
327
335
  import {
328
336
  UpdateConnectionCommandInput,
329
337
  UpdateConnectionCommandOutput,
@@ -1200,6 +1208,20 @@ export interface NetworkManager {
1200
1208
  options: NetworkManagerRequestOptions,
1201
1209
  cb: (err: any, data?: GetVpcAttachmentCommandOutput) => void,
1202
1210
  ): void;
1211
+ listAttachmentNatConfigurations(): Promise<ListAttachmentNatConfigurationsCommandOutput>;
1212
+ listAttachmentNatConfigurations(
1213
+ args: ListAttachmentNatConfigurationsCommandInput,
1214
+ options?: NetworkManagerRequestOptions,
1215
+ ): Promise<ListAttachmentNatConfigurationsCommandOutput>;
1216
+ listAttachmentNatConfigurations(
1217
+ args: ListAttachmentNatConfigurationsCommandInput,
1218
+ cb: (err: any, data?: ListAttachmentNatConfigurationsCommandOutput) => void,
1219
+ ): void;
1220
+ listAttachmentNatConfigurations(
1221
+ args: ListAttachmentNatConfigurationsCommandInput,
1222
+ options: NetworkManagerRequestOptions,
1223
+ cb: (err: any, data?: ListAttachmentNatConfigurationsCommandOutput) => void,
1224
+ ): void;
1203
1225
  listAttachmentRoutingPolicyAssociations(
1204
1226
  args: ListAttachmentRoutingPolicyAssociationsCommandInput,
1205
1227
  options?: NetworkManagerRequestOptions,
@@ -1478,6 +1500,19 @@ export interface NetworkManager {
1478
1500
  options: NetworkManagerRequestOptions,
1479
1501
  cb: (err: any, data?: UntagResourceCommandOutput) => void,
1480
1502
  ): void;
1503
+ updateAttachmentNatConfiguration(
1504
+ args: UpdateAttachmentNatConfigurationCommandInput,
1505
+ options?: NetworkManagerRequestOptions,
1506
+ ): Promise<UpdateAttachmentNatConfigurationCommandOutput>;
1507
+ updateAttachmentNatConfiguration(
1508
+ args: UpdateAttachmentNatConfigurationCommandInput,
1509
+ cb: (err: any, data?: UpdateAttachmentNatConfigurationCommandOutput) => void,
1510
+ ): void;
1511
+ updateAttachmentNatConfiguration(
1512
+ args: UpdateAttachmentNatConfigurationCommandInput,
1513
+ options: NetworkManagerRequestOptions,
1514
+ cb: (err: any, data?: UpdateAttachmentNatConfigurationCommandOutput) => void,
1515
+ ): void;
1481
1516
  updateConnection(
1482
1517
  args: UpdateConnectionCommandInput,
1483
1518
  options?: NetworkManagerRequestOptions,
@@ -1679,6 +1714,13 @@ export interface NetworkManager {
1679
1714
  Exclude<keyof PaginationConfiguration, "client">
1680
1715
  >,
1681
1716
  ): Paginator<GetNetworkResourcesCommandOutput>;
1717
+ paginateGetNetworkRoutes(
1718
+ args: GetNetworkRoutesCommandInput,
1719
+ paginationConfig?: Pick<
1720
+ PaginationConfiguration,
1721
+ Exclude<keyof PaginationConfiguration, "client">
1722
+ >,
1723
+ ): Paginator<GetNetworkRoutesCommandOutput>;
1682
1724
  paginateGetNetworkTelemetry(
1683
1725
  args: GetNetworkTelemetryCommandInput,
1684
1726
  paginationConfig?: Pick<
@@ -1707,6 +1749,13 @@ export interface NetworkManager {
1707
1749
  Exclude<keyof PaginationConfiguration, "client">
1708
1750
  >,
1709
1751
  ): Paginator<GetTransitGatewayRegistrationsCommandOutput>;
1752
+ paginateListAttachmentNatConfigurations(
1753
+ args?: ListAttachmentNatConfigurationsCommandInput,
1754
+ paginationConfig?: Pick<
1755
+ PaginationConfiguration,
1756
+ Exclude<keyof PaginationConfiguration, "client">
1757
+ >,
1758
+ ): Paginator<ListAttachmentNatConfigurationsCommandOutput>;
1710
1759
  paginateListAttachmentRoutingPolicyAssociations(
1711
1760
  args: ListAttachmentRoutingPolicyAssociationsCommandInput,
1712
1761
  paginationConfig?: Pick<
@@ -272,6 +272,10 @@ import {
272
272
  GetVpcAttachmentCommandInput,
273
273
  GetVpcAttachmentCommandOutput,
274
274
  } from "./commands/GetVpcAttachmentCommand";
275
+ import {
276
+ ListAttachmentNatConfigurationsCommandInput,
277
+ ListAttachmentNatConfigurationsCommandOutput,
278
+ } from "./commands/ListAttachmentNatConfigurationsCommand";
275
279
  import {
276
280
  ListAttachmentRoutingPolicyAssociationsCommandInput,
277
281
  ListAttachmentRoutingPolicyAssociationsCommandOutput,
@@ -353,6 +357,10 @@ import {
353
357
  UntagResourceCommandInput,
354
358
  UntagResourceCommandOutput,
355
359
  } from "./commands/UntagResourceCommand";
360
+ import {
361
+ UpdateAttachmentNatConfigurationCommandInput,
362
+ UpdateAttachmentNatConfigurationCommandOutput,
363
+ } from "./commands/UpdateAttachmentNatConfigurationCommand";
356
364
  import {
357
365
  UpdateConnectionCommandInput,
358
366
  UpdateConnectionCommandOutput,
@@ -456,6 +464,7 @@ export type ServiceInputTypes =
456
464
  | GetTransitGatewayRegistrationsCommandInput
457
465
  | GetTransitGatewayRouteTableAttachmentCommandInput
458
466
  | GetVpcAttachmentCommandInput
467
+ | ListAttachmentNatConfigurationsCommandInput
459
468
  | ListAttachmentRoutingPolicyAssociationsCommandInput
460
469
  | ListAttachmentsCommandInput
461
470
  | ListConnectPeersCommandInput
@@ -477,6 +486,7 @@ export type ServiceInputTypes =
477
486
  | StartRouteAnalysisCommandInput
478
487
  | TagResourceCommandInput
479
488
  | UntagResourceCommandInput
489
+ | UpdateAttachmentNatConfigurationCommandInput
480
490
  | UpdateConnectionCommandInput
481
491
  | UpdateCoreNetworkCommandInput
482
492
  | UpdateDeviceCommandInput
@@ -552,6 +562,7 @@ export type ServiceOutputTypes =
552
562
  | GetTransitGatewayRegistrationsCommandOutput
553
563
  | GetTransitGatewayRouteTableAttachmentCommandOutput
554
564
  | GetVpcAttachmentCommandOutput
565
+ | ListAttachmentNatConfigurationsCommandOutput
555
566
  | ListAttachmentRoutingPolicyAssociationsCommandOutput
556
567
  | ListAttachmentsCommandOutput
557
568
  | ListConnectPeersCommandOutput
@@ -573,6 +584,7 @@ export type ServiceOutputTypes =
573
584
  | StartRouteAnalysisCommandOutput
574
585
  | TagResourceCommandOutput
575
586
  | UntagResourceCommandOutput
587
+ | UpdateAttachmentNatConfigurationCommandOutput
576
588
  | UpdateConnectionCommandOutput
577
589
  | UpdateCoreNetworkCommandOutput
578
590
  | UpdateDeviceCommandOutput
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ ListAttachmentNatConfigurationsRequest,
4
+ ListAttachmentNatConfigurationsResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface ListAttachmentNatConfigurationsCommandInput extends ListAttachmentNatConfigurationsRequest {}
8
+ export interface ListAttachmentNatConfigurationsCommandOutput
9
+ extends ListAttachmentNatConfigurationsResponse, __MetadataBearer {}
10
+ declare const ListAttachmentNatConfigurationsCommand_base: {
11
+ new (
12
+ input: ListAttachmentNatConfigurationsCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ ListAttachmentNatConfigurationsCommandInput,
15
+ ListAttachmentNatConfigurationsCommandOutput,
16
+ import("..").NetworkManagerClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ ...[input]: [] | [ListAttachmentNatConfigurationsCommandInput]
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ ListAttachmentNatConfigurationsCommandInput,
24
+ ListAttachmentNatConfigurationsCommandOutput,
25
+ import("..").NetworkManagerClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class ListAttachmentNatConfigurationsCommand extends ListAttachmentNatConfigurationsCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: ListAttachmentNatConfigurationsRequest;
35
+ output: ListAttachmentNatConfigurationsResponse;
36
+ };
37
+ sdk: {
38
+ input: ListAttachmentNatConfigurationsCommandInput;
39
+ output: ListAttachmentNatConfigurationsCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -0,0 +1,42 @@
1
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
2
+ import {
3
+ UpdateAttachmentNatConfigurationRequest,
4
+ UpdateAttachmentNatConfigurationResponse,
5
+ } from "../models/models_0";
6
+ export { __MetadataBearer };
7
+ export interface UpdateAttachmentNatConfigurationCommandInput extends UpdateAttachmentNatConfigurationRequest {}
8
+ export interface UpdateAttachmentNatConfigurationCommandOutput
9
+ extends UpdateAttachmentNatConfigurationResponse, __MetadataBearer {}
10
+ declare const UpdateAttachmentNatConfigurationCommand_base: {
11
+ new (
12
+ input: UpdateAttachmentNatConfigurationCommandInput,
13
+ ): import("@smithy/core/client").CommandImpl<
14
+ UpdateAttachmentNatConfigurationCommandInput,
15
+ UpdateAttachmentNatConfigurationCommandOutput,
16
+ import("..").NetworkManagerClientResolvedConfig,
17
+ import("..").ServiceInputTypes,
18
+ import("..").ServiceOutputTypes
19
+ >;
20
+ new (
21
+ input: UpdateAttachmentNatConfigurationCommandInput,
22
+ ): import("@smithy/core/client").CommandImpl<
23
+ UpdateAttachmentNatConfigurationCommandInput,
24
+ UpdateAttachmentNatConfigurationCommandOutput,
25
+ import("..").NetworkManagerClientResolvedConfig,
26
+ import("..").ServiceInputTypes,
27
+ import("..").ServiceOutputTypes
28
+ >;
29
+ getEndpointParameterInstructions(): import("@smithy/types").EndpointParameterInstructions;
30
+ };
31
+ export declare class UpdateAttachmentNatConfigurationCommand extends UpdateAttachmentNatConfigurationCommand_base {
32
+ protected static __types: {
33
+ api: {
34
+ input: UpdateAttachmentNatConfigurationRequest;
35
+ output: UpdateAttachmentNatConfigurationResponse;
36
+ };
37
+ sdk: {
38
+ input: UpdateAttachmentNatConfigurationCommandInput;
39
+ output: UpdateAttachmentNatConfigurationCommandOutput;
40
+ };
41
+ };
42
+ }
@@ -63,6 +63,7 @@ export * from "./GetTransitGatewayPeeringCommand";
63
63
  export * from "./GetTransitGatewayRegistrationsCommand";
64
64
  export * from "./GetTransitGatewayRouteTableAttachmentCommand";
65
65
  export * from "./GetVpcAttachmentCommand";
66
+ export * from "./ListAttachmentNatConfigurationsCommand";
66
67
  export * from "./ListAttachmentRoutingPolicyAssociationsCommand";
67
68
  export * from "./ListAttachmentsCommand";
68
69
  export * from "./ListConnectPeersCommand";
@@ -84,6 +85,7 @@ export * from "./StartOrganizationServiceAccessUpdateCommand";
84
85
  export * from "./StartRouteAnalysisCommand";
85
86
  export * from "./TagResourceCommand";
86
87
  export * from "./UntagResourceCommand";
88
+ export * from "./UpdateAttachmentNatConfigurationCommand";
87
89
  export * from "./UpdateConnectionCommand";
88
90
  export * from "./UpdateCoreNetworkCommand";
89
91
  export * from "./UpdateDeviceCommand";
@@ -7,21 +7,36 @@ export declare const AttachmentType: {
7
7
  };
8
8
  export type AttachmentType = (typeof AttachmentType)[keyof typeof AttachmentType];
9
9
  export declare const AttachmentErrorCode: {
10
+ readonly CREATION_FAILED: "CREATION_FAILED";
11
+ readonly DELETION_FAILED: "DELETION_FAILED";
10
12
  readonly DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS: "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS";
11
13
  readonly DIRECT_CONNECT_GATEWAY_NOT_FOUND: "DIRECT_CONNECT_GATEWAY_NOT_FOUND";
12
14
  readonly DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF: "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF";
15
+ readonly DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS: "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS";
13
16
  readonly MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED: "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED";
17
+ readonly SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE: "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE";
14
18
  readonly SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE: "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE";
15
19
  readonly SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND";
16
20
  readonly SUBNET_NO_FREE_ADDRESSES: "SUBNET_NO_FREE_ADDRESSES";
17
21
  readonly SUBNET_NO_IPV6_CIDRS: "SUBNET_NO_IPV6_CIDRS";
18
22
  readonly SUBNET_UNSUPPORTED_AVAILABILITY_ZONE: "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE";
23
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
19
24
  readonly VPC_NOT_FOUND: "VPC_NOT_FOUND";
20
25
  readonly VPC_UNSUPPORTED_FEATURES: "VPC_UNSUPPORTED_FEATURES";
21
26
  readonly VPN_CONNECTION_NOT_FOUND: "VPN_CONNECTION_NOT_FOUND";
22
27
  readonly VPN_EXISTING_ASSOCIATIONS: "VPN_EXISTING_ASSOCIATIONS";
28
+ readonly VPN_STATIC_ROUTES_NAT_UNSUPPORTED: "VPN_STATIC_ROUTES_NAT_UNSUPPORTED";
23
29
  };
24
30
  export type AttachmentErrorCode = (typeof AttachmentErrorCode)[keyof typeof AttachmentErrorCode];
31
+ export declare const NatGatewaySupportState: {
32
+ readonly DISABLED: "DISABLED";
33
+ readonly DISABLING: "DISABLING";
34
+ readonly ENABLED: "ENABLED";
35
+ readonly ENABLING: "ENABLING";
36
+ readonly PENDING_ATTACHMENT_ACCEPTANCE: "PENDING_ATTACHMENT_ACCEPTANCE";
37
+ };
38
+ export type NatGatewaySupportState =
39
+ (typeof NatGatewaySupportState)[keyof typeof NatGatewaySupportState];
25
40
  export declare const AttachmentState: {
26
41
  readonly AVAILABLE: "AVAILABLE";
27
42
  readonly CREATING: "CREATING";
@@ -73,6 +88,18 @@ export declare const TransitGatewayConnectPeerAssociationState: {
73
88
  };
74
89
  export type TransitGatewayConnectPeerAssociationState =
75
90
  (typeof TransitGatewayConnectPeerAssociationState)[keyof typeof TransitGatewayConnectPeerAssociationState];
91
+ export declare const NatRuleState: {
92
+ readonly ACTIVATED: "ACTIVATED";
93
+ readonly ACTIVATING: "ACTIVATING";
94
+ readonly CREATING: "CREATING";
95
+ readonly DEACTIVATED: "DEACTIVATED";
96
+ readonly DEACTIVATING: "DEACTIVATING";
97
+ readonly DELETING: "DELETING";
98
+ readonly FAILED: "FAILED";
99
+ readonly MODIFYING: "MODIFYING";
100
+ readonly PENDING_ATTACHMENT_ACCEPTANCE: "PENDING_ATTACHMENT_ACCEPTANCE";
101
+ };
102
+ export type NatRuleState = (typeof NatRuleState)[keyof typeof NatRuleState];
76
103
  export declare const ChangeAction: {
77
104
  readonly ADD: "ADD";
78
105
  readonly MODIFY: "MODIFY";
@@ -135,6 +162,8 @@ export declare const ConnectionType: {
135
162
  };
136
163
  export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType];
137
164
  export declare const ConnectPeerErrorCode: {
165
+ readonly CREATION_FAILED: "CREATION_FAILED";
166
+ readonly DELETION_FAILED: "DELETION_FAILED";
138
167
  readonly EDGE_LOCATION_NO_FREE_IPS: "EDGE_LOCATION_NO_FREE_IPS";
139
168
  readonly EDGE_LOCATION_PEER_DUPLICATE: "EDGE_LOCATION_PEER_DUPLICATE";
140
169
  readonly INVALID_INSIDE_CIDR_BLOCK: "INVALID_INSIDE_CIDR_BLOCK";
@@ -180,6 +209,12 @@ export declare const CoreNetworkPolicyAlias: {
180
209
  };
181
210
  export type CoreNetworkPolicyAlias =
182
211
  (typeof CoreNetworkPolicyAlias)[keyof typeof CoreNetworkPolicyAlias];
212
+ export declare const NatGatewaySupportValue: {
213
+ readonly DISABLE: "DISABLE";
214
+ readonly ENABLE: "ENABLE";
215
+ };
216
+ export type NatGatewaySupportValue =
217
+ (typeof NatGatewaySupportValue)[keyof typeof NatGatewaySupportValue];
183
218
  export declare const DeviceState: {
184
219
  readonly available: "AVAILABLE";
185
220
  readonly deleting: "DELETING";
@@ -209,10 +244,13 @@ export declare const SiteState: {
209
244
  };
210
245
  export type SiteState = (typeof SiteState)[keyof typeof SiteState];
211
246
  export declare const PeeringErrorCode: {
247
+ readonly CREATION_FAILED: "CREATION_FAILED";
248
+ readonly DELETION_FAILED: "DELETION_FAILED";
212
249
  readonly EDGE_LOCATION_PEER_DUPLICATE: "EDGE_LOCATION_PEER_DUPLICATE";
213
250
  readonly INTERNAL_ERROR: "INTERNAL_ERROR";
214
251
  readonly INVALID_TRANSIT_GATEWAY_STATE: "INVALID_TRANSIT_GATEWAY_STATE";
215
252
  readonly MISSING_REQUIRED_PERMISSIONS: "MISSING_PERMISSIONS";
253
+ readonly TRANSIT_GATEWAY_ENCRYPTION_NOT_SUPPORTED: "TRANSIT_GATEWAY_ENCRYPTION_NOT_SUPPORTED";
216
254
  readonly TRANSIT_GATEWAY_NOT_FOUND: "TRANSIT_GATEWAY_NOT_FOUND";
217
255
  readonly TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED: "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED";
218
256
  };
@@ -245,6 +283,7 @@ export type RouteState = (typeof RouteState)[keyof typeof RouteState];
245
283
  export declare const RouteType: {
246
284
  readonly PROPAGATED: "PROPAGATED";
247
285
  readonly STATIC: "STATIC";
286
+ readonly SYSTEM: "SYSTEM";
248
287
  };
249
288
  export type RouteType = (typeof RouteType)[keyof typeof RouteType];
250
289
  export declare const RouteTableType: {
@@ -20,6 +20,9 @@ import {
20
20
  GlobalNetworkState,
21
21
  LinkAssociationState,
22
22
  LinkState,
23
+ NatGatewaySupportState,
24
+ NatGatewaySupportValue,
25
+ NatRuleState,
23
26
  PeeringErrorCode,
24
27
  PeeringState,
25
28
  PeeringType,
@@ -73,6 +76,8 @@ export interface Attachment {
73
76
  AttachmentPolicyRuleNumber?: number | undefined;
74
77
  SegmentName?: string | undefined;
75
78
  NetworkFunctionGroupName?: string | undefined;
79
+ NatGatewaySupport?: NatGatewaySupportState | undefined;
80
+ NatSystemRouteSupport?: boolean | undefined;
76
81
  Tags?: Tag[] | undefined;
77
82
  ProposedSegmentChange?: ProposedSegmentChange | undefined;
78
83
  ProposedNetworkFunctionGroupChange?: ProposedNetworkFunctionGroupChange | undefined;
@@ -153,6 +158,18 @@ export interface TransitGatewayConnectPeerAssociation {
153
158
  export interface AssociateTransitGatewayConnectPeerResponse {
154
159
  TransitGatewayConnectPeerAssociation?: TransitGatewayConnectPeerAssociation | undefined;
155
160
  }
161
+ export interface NatRule {
162
+ RuleNumber?: number | undefined;
163
+ MatchSourceCidr?: string | undefined;
164
+ NatCidr?: string | undefined;
165
+ State?: NatRuleState | undefined;
166
+ }
167
+ export interface AttachmentNatConfiguration {
168
+ AttachmentId?: string | undefined;
169
+ NatGatewaySupport?: NatGatewaySupportState | undefined;
170
+ NatSystemRouteSupport?: boolean | undefined;
171
+ NatGatewayRules?: NatRule[] | undefined;
172
+ }
156
173
  export interface AttachmentRoutingPolicyAssociationSummary {
157
174
  AttachmentId?: string | undefined;
158
175
  PendingRoutingPolicies?: string[] | undefined;
@@ -395,11 +412,18 @@ export interface CoreNetworkSummary {
395
412
  Description?: string | undefined;
396
413
  Tags?: Tag[] | undefined;
397
414
  }
415
+ export interface NatRuleRequest {
416
+ RuleNumber: number | undefined;
417
+ MatchSourceCidr: string | undefined;
418
+ NatCidr: string | undefined;
419
+ }
398
420
  export interface CreateConnectAttachmentRequest {
399
421
  CoreNetworkId: string | undefined;
400
422
  EdgeLocation: string | undefined;
401
423
  TransportAttachmentId: string | undefined;
402
424
  RoutingPolicyLabel?: string | undefined;
425
+ NatGatewaySupport?: NatGatewaySupportValue | undefined;
426
+ NatGatewayRules?: NatRuleRequest[] | undefined;
403
427
  Options: ConnectAttachmentOptions | undefined;
404
428
  Tags?: Tag[] | undefined;
405
429
  ClientToken?: string | undefined;
@@ -494,6 +518,9 @@ export interface CreateDirectConnectGatewayAttachmentRequest {
494
518
  DirectConnectGatewayArn: string | undefined;
495
519
  RoutingPolicyLabel?: string | undefined;
496
520
  EdgeLocations: string[] | undefined;
521
+ NatGatewaySupport?: NatGatewaySupportValue | undefined;
522
+ NatSystemRouteSupport?: boolean | undefined;
523
+ NatGatewayRules?: NatRuleRequest[] | undefined;
497
524
  Tags?: Tag[] | undefined;
498
525
  ClientToken?: string | undefined;
499
526
  }
@@ -567,6 +594,9 @@ export interface CreateSiteToSiteVpnAttachmentRequest {
567
594
  CoreNetworkId: string | undefined;
568
595
  VpnConnectionArn: string | undefined;
569
596
  RoutingPolicyLabel?: string | undefined;
597
+ NatGatewaySupport?: NatGatewaySupportValue | undefined;
598
+ NatSystemRouteSupport?: boolean | undefined;
599
+ NatGatewayRules?: NatRuleRequest[] | undefined;
570
600
  Tags?: Tag[] | undefined;
571
601
  ClientToken?: string | undefined;
572
602
  }
@@ -641,6 +671,8 @@ export interface CreateVpcAttachmentRequest {
641
671
  SubnetArns: string[] | undefined;
642
672
  Options?: VpcOptions | undefined;
643
673
  RoutingPolicyLabel?: string | undefined;
674
+ NatGatewaySupport?: NatGatewaySupportValue | undefined;
675
+ NatGatewayRules?: NatRuleRequest[] | undefined;
644
676
  Tags?: Tag[] | undefined;
645
677
  ClientToken?: string | undefined;
646
678
  }
@@ -983,6 +1015,8 @@ export interface GetNetworkRoutesRequest {
983
1015
  States?: RouteState[] | undefined;
984
1016
  Types?: RouteType[] | undefined;
985
1017
  DestinationFilters?: Record<string, string[]> | undefined;
1018
+ MaxResults?: number | undefined;
1019
+ NextToken?: string | undefined;
986
1020
  }
987
1021
  export interface NetworkRouteDestination {
988
1022
  CoreNetworkAttachmentId?: string | undefined;
@@ -1003,9 +1037,11 @@ export interface NetworkRoute {
1003
1037
  export interface GetNetworkRoutesResponse {
1004
1038
  RouteTableArn?: string | undefined;
1005
1039
  CoreNetworkSegmentEdge?: CoreNetworkSegmentEdgeIdentifier | undefined;
1040
+ CoreNetworkNetworkFunctionGroup?: CoreNetworkNetworkFunctionGroupIdentifier | undefined;
1006
1041
  RouteTableType?: RouteTableType | undefined;
1007
1042
  RouteTableTimestamp?: Date | undefined;
1008
1043
  NetworkRoutes?: NetworkRoute[] | undefined;
1044
+ NextToken?: string | undefined;
1009
1045
  }
1010
1046
  export interface GetNetworkTelemetryRequest {
1011
1047
  GlobalNetworkId: string | undefined;
@@ -1140,6 +1176,17 @@ export interface GetVpcAttachmentRequest {
1140
1176
  export interface GetVpcAttachmentResponse {
1141
1177
  VpcAttachment?: VpcAttachment | undefined;
1142
1178
  }
1179
+ export interface ListAttachmentNatConfigurationsRequest {
1180
+ CoreNetworkId?: string | undefined;
1181
+ AttachmentId?: string | undefined;
1182
+ Filters?: Record<string, string[]> | undefined;
1183
+ MaxResults?: number | undefined;
1184
+ NextToken?: string | undefined;
1185
+ }
1186
+ export interface ListAttachmentNatConfigurationsResponse {
1187
+ AttachmentNatConfigurations: AttachmentNatConfiguration[] | undefined;
1188
+ NextToken?: string | undefined;
1189
+ }
1143
1190
  export interface ListAttachmentRoutingPolicyAssociationsRequest {
1144
1191
  CoreNetworkId: string | undefined;
1145
1192
  AttachmentId?: string | undefined;
@@ -1201,6 +1248,10 @@ export interface ListCoreNetworkRoutingInformationRequest {
1201
1248
  SegmentName: string | undefined;
1202
1249
  EdgeLocation: string | undefined;
1203
1250
  NextHopFilters?: Record<string, string[]> | undefined;
1251
+ ExactPrefixMatches?: string[] | undefined;
1252
+ LongestPrefixMatches?: string[] | undefined;
1253
+ SubnetOfMatches?: string[] | undefined;
1254
+ SupernetOfMatches?: string[] | undefined;
1204
1255
  LocalPreferenceMatches?: string[] | undefined;
1205
1256
  ExactAsPathMatches?: string[] | undefined;
1206
1257
  MedMatches?: string[] | undefined;
@@ -1337,6 +1388,19 @@ export interface UntagResourceRequest {
1337
1388
  TagKeys: string[] | undefined;
1338
1389
  }
1339
1390
  export interface UntagResourceResponse {}
1391
+ export interface UpdateAttachmentNatConfigurationRequest {
1392
+ AttachmentId: string | undefined;
1393
+ NatGatewaySupport?: NatGatewaySupportValue | undefined;
1394
+ NatSystemRouteSupport?: boolean | undefined;
1395
+ NatGatewayRules?: NatRuleRequest[] | undefined;
1396
+ ClientToken?: string | undefined;
1397
+ }
1398
+ export interface UpdateAttachmentNatConfigurationResponse {
1399
+ AttachmentId?: string | undefined;
1400
+ NatGatewaySupport?: NatGatewaySupportState | undefined;
1401
+ NatSystemRouteSupport?: boolean | undefined;
1402
+ NatGatewayRules?: NatRule[] | undefined;
1403
+ }
1340
1404
  export interface UpdateConnectionRequest {
1341
1405
  GlobalNetworkId: string | undefined;
1342
1406
  ConnectionId: string | undefined;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ GetNetworkRoutesCommandInput,
4
+ GetNetworkRoutesCommandOutput,
5
+ } from "../commands/GetNetworkRoutesCommand";
6
+ import { NetworkManagerPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateGetNetworkRoutes: (
8
+ config: NetworkManagerPaginationConfiguration,
9
+ input: GetNetworkRoutesCommandInput,
10
+ ...rest: any[]
11
+ ) => Paginator<GetNetworkRoutesCommandOutput>;
@@ -0,0 +1,11 @@
1
+ import { Paginator } from "@smithy/types";
2
+ import {
3
+ ListAttachmentNatConfigurationsCommandInput,
4
+ ListAttachmentNatConfigurationsCommandOutput,
5
+ } from "../commands/ListAttachmentNatConfigurationsCommand";
6
+ import { NetworkManagerPaginationConfiguration } from "./Interfaces";
7
+ export declare const paginateListAttachmentNatConfigurations: (
8
+ config: NetworkManagerPaginationConfiguration,
9
+ input: ListAttachmentNatConfigurationsCommandInput,
10
+ ...rest: any[]
11
+ ) => 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";
@@ -23,6 +23,7 @@ export declare var AssociateTransitGatewayConnectPeerRequest$: StaticStructureSc
23
23
  export declare var AssociateTransitGatewayConnectPeerResponse$: StaticStructureSchema;
24
24
  export declare var Attachment$: StaticStructureSchema;
25
25
  export declare var AttachmentError$: StaticStructureSchema;
26
+ export declare var AttachmentNatConfiguration$: StaticStructureSchema;
26
27
  export declare var AttachmentRoutingPolicyAssociationSummary$: StaticStructureSchema;
27
28
  export declare var AWSLocation$: StaticStructureSchema;
28
29
  export declare var Bandwidth$: StaticStructureSchema;
@@ -179,6 +180,8 @@ export declare var GetVpcAttachmentResponse$: StaticStructureSchema;
179
180
  export declare var GlobalNetwork$: StaticStructureSchema;
180
181
  export declare var Link$: StaticStructureSchema;
181
182
  export declare var LinkAssociation$: StaticStructureSchema;
183
+ export declare var ListAttachmentNatConfigurationsRequest$: StaticStructureSchema;
184
+ export declare var ListAttachmentNatConfigurationsResponse$: StaticStructureSchema;
182
185
  export declare var ListAttachmentRoutingPolicyAssociationsRequest$: StaticStructureSchema;
183
186
  export declare var ListAttachmentRoutingPolicyAssociationsResponse$: StaticStructureSchema;
184
187
  export declare var ListAttachmentsRequest$: StaticStructureSchema;
@@ -200,6 +203,8 @@ export declare var ListPeeringsResponse$: StaticStructureSchema;
200
203
  export declare var ListTagsForResourceRequest$: StaticStructureSchema;
201
204
  export declare var ListTagsForResourceResponse$: StaticStructureSchema;
202
205
  export declare var Location$: StaticStructureSchema;
206
+ export declare var NatRule$: StaticStructureSchema;
207
+ export declare var NatRuleRequest$: StaticStructureSchema;
203
208
  export declare var NetworkFunctionGroup$: StaticStructureSchema;
204
209
  export declare var NetworkResource$: StaticStructureSchema;
205
210
  export declare var NetworkResourceCount$: StaticStructureSchema;
@@ -256,6 +261,8 @@ export declare var TransitGatewayRegistrationStateReason$: StaticStructureSchema
256
261
  export declare var TransitGatewayRouteTableAttachment$: StaticStructureSchema;
257
262
  export declare var UntagResourceRequest$: StaticStructureSchema;
258
263
  export declare var UntagResourceResponse$: StaticStructureSchema;
264
+ export declare var UpdateAttachmentNatConfigurationRequest$: StaticStructureSchema;
265
+ export declare var UpdateAttachmentNatConfigurationResponse$: StaticStructureSchema;
259
266
  export declare var UpdateConnectionRequest$: StaticStructureSchema;
260
267
  export declare var UpdateConnectionResponse$: StaticStructureSchema;
261
268
  export declare var UpdateCoreNetworkRequest$: StaticStructureSchema;
@@ -344,6 +351,7 @@ export declare var GetTransitGatewayPeering$: StaticOperationSchema;
344
351
  export declare var GetTransitGatewayRegistrations$: StaticOperationSchema;
345
352
  export declare var GetTransitGatewayRouteTableAttachment$: StaticOperationSchema;
346
353
  export declare var GetVpcAttachment$: StaticOperationSchema;
354
+ export declare var ListAttachmentNatConfigurations$: StaticOperationSchema;
347
355
  export declare var ListAttachmentRoutingPolicyAssociations$: StaticOperationSchema;
348
356
  export declare var ListAttachments$: StaticOperationSchema;
349
357
  export declare var ListConnectPeers$: StaticOperationSchema;
@@ -365,6 +373,7 @@ export declare var StartOrganizationServiceAccessUpdate$: StaticOperationSchema;
365
373
  export declare var StartRouteAnalysis$: StaticOperationSchema;
366
374
  export declare var TagResource$: StaticOperationSchema;
367
375
  export declare var UntagResource$: StaticOperationSchema;
376
+ export declare var UpdateAttachmentNatConfiguration$: StaticOperationSchema;
368
377
  export declare var UpdateConnection$: StaticOperationSchema;
369
378
  export declare var UpdateCoreNetwork$: StaticOperationSchema;
370
379
  export declare var UpdateDevice$: StaticOperationSchema;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws-sdk/client-networkmanager",
3
- "version": "3.1155.0",
3
+ "version": "3.1156.0",
4
4
  "description": "AWS SDK for JavaScript Networkmanager Client for Node.js, Browser and React Native",
5
5
  "homepage": "https://github.com/aws/aws-sdk-js-v3/tree/main/clients/client-networkmanager",
6
6
  "license": "Apache-2.0",