@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
@@ -58,6 +58,8 @@ declare const UpdateDirectConnectGatewayAttachmentCommand_base: {
58
58
  * // AttachmentPolicyRuleNumber: Number("int"),
59
59
  * // SegmentName: "STRING_VALUE",
60
60
  * // NetworkFunctionGroupName: "STRING_VALUE",
61
+ * // NatGatewaySupport: "ENABLED" || "ENABLING" || "DISABLED" || "DISABLING" || "PENDING_ATTACHMENT_ACCEPTANCE",
62
+ * // NatSystemRouteSupport: true || false,
61
63
  * // Tags: [ // TagList
62
64
  * // { // Tag
63
65
  * // Key: "STRING_VALUE",
@@ -88,7 +90,7 @@ declare const UpdateDirectConnectGatewayAttachmentCommand_base: {
88
90
  * // UpdatedAt: new Date("TIMESTAMP"),
89
91
  * // LastModificationErrors: [ // AttachmentErrorList
90
92
  * // { // AttachmentError
91
- * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF" || "VPN_EXISTING_ASSOCIATIONS" || "VPC_UNSUPPORTED_FEATURES",
93
+ * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF" || "VPN_EXISTING_ASSOCIATIONS" || "VPN_STATIC_ROUTES_NAT_UNSUPPORTED" || "VPC_UNSUPPORTED_FEATURES" || "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS" || "CREATION_FAILED" || "UPDATE_FAILED" || "DELETION_FAILED",
92
94
  * // Message: "STRING_VALUE",
93
95
  * // ResourceArn: "STRING_VALUE",
94
96
  * // RequestId: "STRING_VALUE",
@@ -67,6 +67,8 @@ declare const UpdateVpcAttachmentCommand_base: {
67
67
  * // AttachmentPolicyRuleNumber: Number("int"),
68
68
  * // SegmentName: "STRING_VALUE",
69
69
  * // NetworkFunctionGroupName: "STRING_VALUE",
70
+ * // NatGatewaySupport: "ENABLED" || "ENABLING" || "DISABLED" || "DISABLING" || "PENDING_ATTACHMENT_ACCEPTANCE",
71
+ * // NatSystemRouteSupport: true || false,
70
72
  * // Tags: [ // TagList
71
73
  * // { // Tag
72
74
  * // Key: "STRING_VALUE",
@@ -97,7 +99,7 @@ declare const UpdateVpcAttachmentCommand_base: {
97
99
  * // UpdatedAt: new Date("TIMESTAMP"),
98
100
  * // LastModificationErrors: [ // AttachmentErrorList
99
101
  * // { // AttachmentError
100
- * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF" || "VPN_EXISTING_ASSOCIATIONS" || "VPC_UNSUPPORTED_FEATURES",
102
+ * // Code: "VPC_NOT_FOUND" || "SUBNET_NOT_FOUND" || "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE" || "SUBNET_NO_FREE_ADDRESSES" || "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE" || "SUBNET_NO_IPV6_CIDRS" || "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE" || "VPN_CONNECTION_NOT_FOUND" || "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED" || "DIRECT_CONNECT_GATEWAY_NOT_FOUND" || "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS" || "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF" || "VPN_EXISTING_ASSOCIATIONS" || "VPN_STATIC_ROUTES_NAT_UNSUPPORTED" || "VPC_UNSUPPORTED_FEATURES" || "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS" || "CREATION_FAILED" || "UPDATE_FAILED" || "DELETION_FAILED",
101
103
  * // Message: "STRING_VALUE",
102
104
  * // ResourceArn: "STRING_VALUE",
103
105
  * // RequestId: "STRING_VALUE",
@@ -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";
@@ -18,24 +18,45 @@ export type AttachmentType = (typeof AttachmentType)[keyof typeof AttachmentType
18
18
  * @enum
19
19
  */
20
20
  export declare const AttachmentErrorCode: {
21
+ readonly CREATION_FAILED: "CREATION_FAILED";
22
+ readonly DELETION_FAILED: "DELETION_FAILED";
21
23
  readonly DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS: "DIRECT_CONNECT_GATEWAY_EXISTING_ATTACHMENTS";
22
24
  readonly DIRECT_CONNECT_GATEWAY_NOT_FOUND: "DIRECT_CONNECT_GATEWAY_NOT_FOUND";
23
25
  readonly DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF: "DIRECT_CONNECT_GATEWAY_NO_PRIVATE_VIF";
26
+ readonly DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS: "DIRECT_CONNECT_GATEWAY_TOPOLOGY_RESTRICTIONS";
24
27
  readonly MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED: "MAXIMUM_NO_ENCAP_LIMIT_EXCEEDED";
28
+ readonly SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE: "SECURITY_GROUP_REFERENCING_UNSUPPORTED_AVAILABILITY_ZONE";
25
29
  readonly SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE: "SUBNET_DUPLICATED_IN_AVAILABILITY_ZONE";
26
30
  readonly SUBNET_NOT_FOUND: "SUBNET_NOT_FOUND";
27
31
  readonly SUBNET_NO_FREE_ADDRESSES: "SUBNET_NO_FREE_ADDRESSES";
28
32
  readonly SUBNET_NO_IPV6_CIDRS: "SUBNET_NO_IPV6_CIDRS";
29
33
  readonly SUBNET_UNSUPPORTED_AVAILABILITY_ZONE: "SUBNET_UNSUPPORTED_AVAILABILITY_ZONE";
34
+ readonly UPDATE_FAILED: "UPDATE_FAILED";
30
35
  readonly VPC_NOT_FOUND: "VPC_NOT_FOUND";
31
36
  readonly VPC_UNSUPPORTED_FEATURES: "VPC_UNSUPPORTED_FEATURES";
32
37
  readonly VPN_CONNECTION_NOT_FOUND: "VPN_CONNECTION_NOT_FOUND";
33
38
  readonly VPN_EXISTING_ASSOCIATIONS: "VPN_EXISTING_ASSOCIATIONS";
39
+ readonly VPN_STATIC_ROUTES_NAT_UNSUPPORTED: "VPN_STATIC_ROUTES_NAT_UNSUPPORTED";
34
40
  };
35
41
  /**
36
42
  * @public
37
43
  */
38
44
  export type AttachmentErrorCode = (typeof AttachmentErrorCode)[keyof typeof AttachmentErrorCode];
45
+ /**
46
+ * @public
47
+ * @enum
48
+ */
49
+ export declare const NatGatewaySupportState: {
50
+ readonly DISABLED: "DISABLED";
51
+ readonly DISABLING: "DISABLING";
52
+ readonly ENABLED: "ENABLED";
53
+ readonly ENABLING: "ENABLING";
54
+ readonly PENDING_ATTACHMENT_ACCEPTANCE: "PENDING_ATTACHMENT_ACCEPTANCE";
55
+ };
56
+ /**
57
+ * @public
58
+ */
59
+ export type NatGatewaySupportState = (typeof NatGatewaySupportState)[keyof typeof NatGatewaySupportState];
39
60
  /**
40
61
  * @public
41
62
  * @enum
@@ -125,6 +146,25 @@ export declare const TransitGatewayConnectPeerAssociationState: {
125
146
  * @public
126
147
  */
127
148
  export type TransitGatewayConnectPeerAssociationState = (typeof TransitGatewayConnectPeerAssociationState)[keyof typeof TransitGatewayConnectPeerAssociationState];
149
+ /**
150
+ * @public
151
+ * @enum
152
+ */
153
+ export declare const NatRuleState: {
154
+ readonly ACTIVATED: "ACTIVATED";
155
+ readonly ACTIVATING: "ACTIVATING";
156
+ readonly CREATING: "CREATING";
157
+ readonly DEACTIVATED: "DEACTIVATED";
158
+ readonly DEACTIVATING: "DEACTIVATING";
159
+ readonly DELETING: "DELETING";
160
+ readonly FAILED: "FAILED";
161
+ readonly MODIFYING: "MODIFYING";
162
+ readonly PENDING_ATTACHMENT_ACCEPTANCE: "PENDING_ATTACHMENT_ACCEPTANCE";
163
+ };
164
+ /**
165
+ * @public
166
+ */
167
+ export type NatRuleState = (typeof NatRuleState)[keyof typeof NatRuleState];
128
168
  /**
129
169
  * @public
130
170
  * @enum
@@ -247,6 +287,8 @@ export type ConnectionType = (typeof ConnectionType)[keyof typeof ConnectionType
247
287
  * @enum
248
288
  */
249
289
  export declare const ConnectPeerErrorCode: {
290
+ readonly CREATION_FAILED: "CREATION_FAILED";
291
+ readonly DELETION_FAILED: "DELETION_FAILED";
250
292
  readonly EDGE_LOCATION_NO_FREE_IPS: "EDGE_LOCATION_NO_FREE_IPS";
251
293
  readonly EDGE_LOCATION_PEER_DUPLICATE: "EDGE_LOCATION_PEER_DUPLICATE";
252
294
  readonly INVALID_INSIDE_CIDR_BLOCK: "INVALID_INSIDE_CIDR_BLOCK";
@@ -334,6 +376,18 @@ export declare const CoreNetworkPolicyAlias: {
334
376
  * @public
335
377
  */
336
378
  export type CoreNetworkPolicyAlias = (typeof CoreNetworkPolicyAlias)[keyof typeof CoreNetworkPolicyAlias];
379
+ /**
380
+ * @public
381
+ * @enum
382
+ */
383
+ export declare const NatGatewaySupportValue: {
384
+ readonly DISABLE: "DISABLE";
385
+ readonly ENABLE: "ENABLE";
386
+ };
387
+ /**
388
+ * @public
389
+ */
390
+ export type NatGatewaySupportValue = (typeof NatGatewaySupportValue)[keyof typeof NatGatewaySupportValue];
337
391
  /**
338
392
  * @public
339
393
  * @enum
@@ -395,10 +449,13 @@ export type SiteState = (typeof SiteState)[keyof typeof SiteState];
395
449
  * @enum
396
450
  */
397
451
  export declare const PeeringErrorCode: {
452
+ readonly CREATION_FAILED: "CREATION_FAILED";
453
+ readonly DELETION_FAILED: "DELETION_FAILED";
398
454
  readonly EDGE_LOCATION_PEER_DUPLICATE: "EDGE_LOCATION_PEER_DUPLICATE";
399
455
  readonly INTERNAL_ERROR: "INTERNAL_ERROR";
400
456
  readonly INVALID_TRANSIT_GATEWAY_STATE: "INVALID_TRANSIT_GATEWAY_STATE";
401
457
  readonly MISSING_REQUIRED_PERMISSIONS: "MISSING_PERMISSIONS";
458
+ readonly TRANSIT_GATEWAY_ENCRYPTION_NOT_SUPPORTED: "TRANSIT_GATEWAY_ENCRYPTION_NOT_SUPPORTED";
402
459
  readonly TRANSIT_GATEWAY_NOT_FOUND: "TRANSIT_GATEWAY_NOT_FOUND";
403
460
  readonly TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED: "TRANSIT_GATEWAY_PEERS_LIMIT_EXCEEDED";
404
461
  };
@@ -465,6 +522,7 @@ export type RouteState = (typeof RouteState)[keyof typeof RouteState];
465
522
  export declare const RouteType: {
466
523
  readonly PROPAGATED: "PROPAGATED";
467
524
  readonly STATIC: "STATIC";
525
+ readonly SYSTEM: "SYSTEM";
468
526
  };
469
527
  /**
470
528
  * @public