@aws-sdk/client-direct-connect 3.289.0 → 3.291.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 (71) hide show
  1. package/dist-cjs/endpoint/ruleset.js +3 -3
  2. package/dist-cjs/models/models_0.js +80 -3
  3. package/dist-es/endpoint/ruleset.js +3 -3
  4. package/dist-es/models/models_0.js +77 -0
  5. package/dist-types/DirectConnect.d.ts +17 -10
  6. package/dist-types/commands/AcceptDirectConnectGatewayAssociationProposalCommand.d.ts +7 -0
  7. package/dist-types/commands/AllocateConnectionOnInterconnectCommand.d.ts +7 -0
  8. package/dist-types/commands/AllocateHostedConnectionCommand.d.ts +13 -0
  9. package/dist-types/commands/AllocatePrivateVirtualInterfaceCommand.d.ts +13 -0
  10. package/dist-types/commands/AllocatePublicVirtualInterfaceCommand.d.ts +13 -0
  11. package/dist-types/commands/AllocateTransitVirtualInterfaceCommand.d.ts +13 -0
  12. package/dist-types/commands/AssociateConnectionWithLagCommand.d.ts +7 -0
  13. package/dist-types/commands/AssociateHostedConnectionCommand.d.ts +7 -0
  14. package/dist-types/commands/AssociateMacSecKeyCommand.d.ts +7 -0
  15. package/dist-types/commands/AssociateVirtualInterfaceCommand.d.ts +7 -0
  16. package/dist-types/commands/ConfirmConnectionCommand.d.ts +7 -0
  17. package/dist-types/commands/ConfirmCustomerAgreementCommand.d.ts +7 -0
  18. package/dist-types/commands/ConfirmPrivateVirtualInterfaceCommand.d.ts +7 -0
  19. package/dist-types/commands/ConfirmPublicVirtualInterfaceCommand.d.ts +7 -0
  20. package/dist-types/commands/ConfirmTransitVirtualInterfaceCommand.d.ts +7 -1
  21. package/dist-types/commands/CreateBGPPeerCommand.d.ts +17 -1
  22. package/dist-types/commands/CreateConnectionCommand.d.ts +13 -1
  23. package/dist-types/commands/CreateDirectConnectGatewayAssociationCommand.d.ts +7 -0
  24. package/dist-types/commands/CreateDirectConnectGatewayAssociationProposalCommand.d.ts +7 -0
  25. package/dist-types/commands/CreateDirectConnectGatewayCommand.d.ts +7 -0
  26. package/dist-types/commands/CreateInterconnectCommand.d.ts +13 -0
  27. package/dist-types/commands/CreateLagCommand.d.ts +14 -1
  28. package/dist-types/commands/CreatePrivateVirtualInterfaceCommand.d.ts +13 -0
  29. package/dist-types/commands/CreatePublicVirtualInterfaceCommand.d.ts +13 -0
  30. package/dist-types/commands/CreateTransitVirtualInterfaceCommand.d.ts +19 -6
  31. package/dist-types/commands/DeleteBGPPeerCommand.d.ts +7 -0
  32. package/dist-types/commands/DeleteConnectionCommand.d.ts +7 -0
  33. package/dist-types/commands/DeleteDirectConnectGatewayAssociationCommand.d.ts +7 -0
  34. package/dist-types/commands/DeleteDirectConnectGatewayAssociationProposalCommand.d.ts +7 -0
  35. package/dist-types/commands/DeleteDirectConnectGatewayCommand.d.ts +7 -0
  36. package/dist-types/commands/DeleteInterconnectCommand.d.ts +7 -0
  37. package/dist-types/commands/DeleteLagCommand.d.ts +7 -0
  38. package/dist-types/commands/DeleteVirtualInterfaceCommand.d.ts +7 -0
  39. package/dist-types/commands/DescribeConnectionLoaCommand.d.ts +7 -0
  40. package/dist-types/commands/DescribeConnectionsCommand.d.ts +7 -0
  41. package/dist-types/commands/DescribeConnectionsOnInterconnectCommand.d.ts +7 -0
  42. package/dist-types/commands/DescribeCustomerMetadataCommand.d.ts +7 -0
  43. package/dist-types/commands/DescribeDirectConnectGatewayAssociationProposalsCommand.d.ts +7 -0
  44. package/dist-types/commands/DescribeDirectConnectGatewayAssociationsCommand.d.ts +7 -0
  45. package/dist-types/commands/DescribeDirectConnectGatewayAttachmentsCommand.d.ts +7 -0
  46. package/dist-types/commands/DescribeDirectConnectGatewaysCommand.d.ts +7 -0
  47. package/dist-types/commands/DescribeHostedConnectionsCommand.d.ts +7 -0
  48. package/dist-types/commands/DescribeInterconnectLoaCommand.d.ts +7 -0
  49. package/dist-types/commands/DescribeInterconnectsCommand.d.ts +7 -0
  50. package/dist-types/commands/DescribeLagsCommand.d.ts +7 -0
  51. package/dist-types/commands/DescribeLoaCommand.d.ts +7 -0
  52. package/dist-types/commands/DescribeLocationsCommand.d.ts +7 -0
  53. package/dist-types/commands/DescribeRouterConfigurationCommand.d.ts +7 -0
  54. package/dist-types/commands/DescribeTagsCommand.d.ts +7 -0
  55. package/dist-types/commands/DescribeVirtualGatewaysCommand.d.ts +7 -0
  56. package/dist-types/commands/DescribeVirtualInterfacesCommand.d.ts +7 -0
  57. package/dist-types/commands/DisassociateConnectionFromLagCommand.d.ts +7 -0
  58. package/dist-types/commands/DisassociateMacSecKeyCommand.d.ts +7 -0
  59. package/dist-types/commands/ListVirtualInterfaceTestHistoryCommand.d.ts +7 -0
  60. package/dist-types/commands/StartBgpFailoverTestCommand.d.ts +7 -0
  61. package/dist-types/commands/StopBgpFailoverTestCommand.d.ts +7 -0
  62. package/dist-types/commands/TagResourceCommand.d.ts +13 -0
  63. package/dist-types/commands/UntagResourceCommand.d.ts +7 -0
  64. package/dist-types/commands/UpdateConnectionCommand.d.ts +7 -0
  65. package/dist-types/commands/UpdateDirectConnectGatewayAssociationCommand.d.ts +7 -0
  66. package/dist-types/commands/UpdateDirectConnectGatewayCommand.d.ts +7 -0
  67. package/dist-types/commands/UpdateLagCommand.d.ts +7 -0
  68. package/dist-types/commands/UpdateVirtualInterfaceAttributesCommand.d.ts +7 -0
  69. package/dist-types/models/models_0.d.ts +86 -22
  70. package/dist-types/ts3.4/models/models_0.d.ts +68 -59
  71. package/package.json +29 -29
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.ruleSet = void 0;
4
- const p = "required", q = "fn", r = "argv", s = "ref";
5
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
6
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://directconnect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://directconnect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://directconnect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://directconnect.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
4
+ const s = "required", t = "fn", u = "argv", v = "ref";
5
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [v]: "Region" }, n = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsFIPS"] }] }, o = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsDualStack"] }] }, p = [j], q = [k], r = [m];
6
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [n, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://directconnect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://directconnect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://directconnect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ conditions: [{ [t]: f, [u]: [m, "us-gov-east-1"] }], endpoint: { url: "https://directconnect.us-gov-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "us-gov-west-1"] }], endpoint: { url: "https://directconnect.us-gov-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://directconnect.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
7
7
  exports.ruleSet = _data;
@@ -1,14 +1,22 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CreateBGPPeerResponseFilterSensitiveLog = exports.CreateBGPPeerRequestFilterSensitiveLog = exports.NewBGPPeerFilterSensitiveLog = exports.ConnectionsFilterSensitiveLog = exports.ConfirmTransitVirtualInterfaceResponseFilterSensitiveLog = exports.ConfirmTransitVirtualInterfaceRequestFilterSensitiveLog = exports.ConfirmPublicVirtualInterfaceResponseFilterSensitiveLog = exports.ConfirmPublicVirtualInterfaceRequestFilterSensitiveLog = exports.ConfirmPrivateVirtualInterfaceResponseFilterSensitiveLog = exports.ConfirmPrivateVirtualInterfaceRequestFilterSensitiveLog = exports.ConfirmCustomerAgreementResponseFilterSensitiveLog = exports.ConfirmCustomerAgreementRequestFilterSensitiveLog = exports.ConfirmConnectionResponseFilterSensitiveLog = exports.ConfirmConnectionRequestFilterSensitiveLog = exports.AssociateVirtualInterfaceRequestFilterSensitiveLog = exports.AssociateMacSecKeyResponseFilterSensitiveLog = exports.AssociateMacSecKeyRequestFilterSensitiveLog = exports.AssociateHostedConnectionRequestFilterSensitiveLog = exports.AssociateConnectionWithLagRequestFilterSensitiveLog = exports.AllocateTransitVirtualInterfaceResultFilterSensitiveLog = exports.AllocateTransitVirtualInterfaceRequestFilterSensitiveLog = exports.NewTransitVirtualInterfaceAllocationFilterSensitiveLog = exports.AllocatePublicVirtualInterfaceRequestFilterSensitiveLog = exports.NewPublicVirtualInterfaceAllocationFilterSensitiveLog = exports.VirtualInterfaceFilterSensitiveLog = exports.BGPPeerFilterSensitiveLog = exports.AllocatePrivateVirtualInterfaceRequestFilterSensitiveLog = exports.NewPrivateVirtualInterfaceAllocationFilterSensitiveLog = exports.AllocateHostedConnectionRequestFilterSensitiveLog = exports.ConnectionFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.MacSecKeyFilterSensitiveLog = exports.AllocateConnectionOnInterconnectRequestFilterSensitiveLog = exports.CustomerAgreementFilterSensitiveLog = exports.AcceptDirectConnectGatewayAssociationProposalResultFilterSensitiveLog = exports.DirectConnectGatewayAssociationFilterSensitiveLog = exports.AssociatedGatewayFilterSensitiveLog = exports.AcceptDirectConnectGatewayAssociationProposalRequestFilterSensitiveLog = exports.RouteFilterPrefixFilterSensitiveLog = exports.NniPartnerType = exports.LoaContentType = exports.BGPStatus = exports.BGPPeerState = exports.TooManyTagsException = exports.DuplicateTagKeysException = exports.HasLogicalRedundancy = exports.AddressFamily = exports.DirectConnectServerException = exports.DirectConnectClientException = exports.GatewayType = void 0;
4
- exports.DescribeHostedConnectionsRequestFilterSensitiveLog = exports.DescribeDirectConnectGatewaysResultFilterSensitiveLog = exports.DescribeDirectConnectGatewaysRequestFilterSensitiveLog = exports.DescribeDirectConnectGatewayAttachmentsResultFilterSensitiveLog = exports.DirectConnectGatewayAttachmentFilterSensitiveLog = exports.DescribeDirectConnectGatewayAttachmentsRequestFilterSensitiveLog = exports.DescribeDirectConnectGatewayAssociationsResultFilterSensitiveLog = exports.DescribeDirectConnectGatewayAssociationsRequestFilterSensitiveLog = exports.DescribeDirectConnectGatewayAssociationProposalsResultFilterSensitiveLog = exports.DescribeDirectConnectGatewayAssociationProposalsRequestFilterSensitiveLog = exports.DescribeCustomerMetadataResponseFilterSensitiveLog = exports.DescribeConnectionsOnInterconnectRequestFilterSensitiveLog = exports.DescribeConnectionsRequestFilterSensitiveLog = exports.DescribeConnectionLoaResponseFilterSensitiveLog = exports.LoaFilterSensitiveLog = exports.DescribeConnectionLoaRequestFilterSensitiveLog = exports.DeleteVirtualInterfaceResponseFilterSensitiveLog = exports.DeleteVirtualInterfaceRequestFilterSensitiveLog = exports.DeleteLagRequestFilterSensitiveLog = exports.DeleteInterconnectResponseFilterSensitiveLog = exports.DeleteInterconnectRequestFilterSensitiveLog = exports.DeleteDirectConnectGatewayAssociationProposalResultFilterSensitiveLog = exports.DeleteDirectConnectGatewayAssociationProposalRequestFilterSensitiveLog = exports.DeleteDirectConnectGatewayAssociationResultFilterSensitiveLog = exports.DeleteDirectConnectGatewayAssociationRequestFilterSensitiveLog = exports.DeleteDirectConnectGatewayResultFilterSensitiveLog = exports.DeleteDirectConnectGatewayRequestFilterSensitiveLog = exports.DeleteConnectionRequestFilterSensitiveLog = exports.DeleteBGPPeerResponseFilterSensitiveLog = exports.DeleteBGPPeerRequestFilterSensitiveLog = exports.CreateTransitVirtualInterfaceResultFilterSensitiveLog = exports.CreateTransitVirtualInterfaceRequestFilterSensitiveLog = exports.NewTransitVirtualInterfaceFilterSensitiveLog = exports.CreatePublicVirtualInterfaceRequestFilterSensitiveLog = exports.NewPublicVirtualInterfaceFilterSensitiveLog = exports.CreatePrivateVirtualInterfaceRequestFilterSensitiveLog = exports.NewPrivateVirtualInterfaceFilterSensitiveLog = exports.LagFilterSensitiveLog = exports.CreateLagRequestFilterSensitiveLog = exports.InterconnectFilterSensitiveLog = exports.CreateInterconnectRequestFilterSensitiveLog = exports.CreateDirectConnectGatewayAssociationProposalResultFilterSensitiveLog = exports.DirectConnectGatewayAssociationProposalFilterSensitiveLog = exports.CreateDirectConnectGatewayAssociationProposalRequestFilterSensitiveLog = exports.CreateDirectConnectGatewayAssociationResultFilterSensitiveLog = exports.CreateDirectConnectGatewayAssociationRequestFilterSensitiveLog = exports.CreateDirectConnectGatewayResultFilterSensitiveLog = exports.DirectConnectGatewayFilterSensitiveLog = exports.CreateDirectConnectGatewayRequestFilterSensitiveLog = exports.CreateConnectionRequestFilterSensitiveLog = void 0;
5
- exports.UpdateVirtualInterfaceAttributesRequestFilterSensitiveLog = exports.UpdateLagRequestFilterSensitiveLog = exports.UpdateDirectConnectGatewayAssociationResultFilterSensitiveLog = exports.UpdateDirectConnectGatewayAssociationRequestFilterSensitiveLog = exports.UpdateDirectConnectGatewayResponseFilterSensitiveLog = exports.UpdateDirectConnectGatewayRequestFilterSensitiveLog = exports.UpdateConnectionRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StopBgpFailoverTestResponseFilterSensitiveLog = exports.StopBgpFailoverTestRequestFilterSensitiveLog = exports.StartBgpFailoverTestResponseFilterSensitiveLog = exports.StartBgpFailoverTestRequestFilterSensitiveLog = exports.ListVirtualInterfaceTestHistoryResponseFilterSensitiveLog = exports.VirtualInterfaceTestHistoryFilterSensitiveLog = exports.ListVirtualInterfaceTestHistoryRequestFilterSensitiveLog = exports.DisassociateMacSecKeyResponseFilterSensitiveLog = exports.DisassociateMacSecKeyRequestFilterSensitiveLog = exports.DisassociateConnectionFromLagRequestFilterSensitiveLog = exports.VirtualInterfacesFilterSensitiveLog = exports.DescribeVirtualInterfacesRequestFilterSensitiveLog = exports.VirtualGatewaysFilterSensitiveLog = exports.VirtualGatewayFilterSensitiveLog = exports.DescribeTagsResponseFilterSensitiveLog = exports.ResourceTagFilterSensitiveLog = exports.DescribeTagsRequestFilterSensitiveLog = exports.DescribeRouterConfigurationResponseFilterSensitiveLog = exports.RouterTypeFilterSensitiveLog = exports.DescribeRouterConfigurationRequestFilterSensitiveLog = exports.LocationsFilterSensitiveLog = exports.LocationFilterSensitiveLog = exports.DescribeLoaRequestFilterSensitiveLog = exports.LagsFilterSensitiveLog = exports.DescribeLagsRequestFilterSensitiveLog = exports.InterconnectsFilterSensitiveLog = exports.DescribeInterconnectsRequestFilterSensitiveLog = exports.DescribeInterconnectLoaResponseFilterSensitiveLog = exports.DescribeInterconnectLoaRequestFilterSensitiveLog = void 0;
3
+ exports.ConfirmPrivateVirtualInterfaceRequestFilterSensitiveLog = exports.ConfirmCustomerAgreementResponseFilterSensitiveLog = exports.ConfirmCustomerAgreementRequestFilterSensitiveLog = exports.ConfirmConnectionResponseFilterSensitiveLog = exports.ConfirmConnectionRequestFilterSensitiveLog = exports.AssociateVirtualInterfaceRequestFilterSensitiveLog = exports.AssociateMacSecKeyResponseFilterSensitiveLog = exports.AssociateMacSecKeyRequestFilterSensitiveLog = exports.AssociateHostedConnectionRequestFilterSensitiveLog = exports.AssociateConnectionWithLagRequestFilterSensitiveLog = exports.AllocateTransitVirtualInterfaceResultFilterSensitiveLog = exports.AllocateTransitVirtualInterfaceRequestFilterSensitiveLog = exports.NewTransitVirtualInterfaceAllocationFilterSensitiveLog = exports.AllocatePublicVirtualInterfaceRequestFilterSensitiveLog = exports.NewPublicVirtualInterfaceAllocationFilterSensitiveLog = exports.VirtualInterfaceFilterSensitiveLog = exports.BGPPeerFilterSensitiveLog = exports.AllocatePrivateVirtualInterfaceRequestFilterSensitiveLog = exports.NewPrivateVirtualInterfaceAllocationFilterSensitiveLog = exports.AllocateHostedConnectionRequestFilterSensitiveLog = exports.ConnectionFilterSensitiveLog = exports.TagFilterSensitiveLog = exports.MacSecKeyFilterSensitiveLog = exports.AllocateConnectionOnInterconnectRequestFilterSensitiveLog = exports.CustomerAgreementFilterSensitiveLog = exports.AcceptDirectConnectGatewayAssociationProposalResultFilterSensitiveLog = exports.DirectConnectGatewayAssociationFilterSensitiveLog = exports.AssociatedGatewayFilterSensitiveLog = exports.AcceptDirectConnectGatewayAssociationProposalRequestFilterSensitiveLog = exports.RouteFilterPrefixFilterSensitiveLog = exports.DirectConnectGatewayAttachmentType = exports.DirectConnectGatewayAttachmentState = exports.NniPartnerType = exports.LoaContentType = exports.LagState = exports.InterconnectState = exports.DirectConnectGatewayAssociationProposalState = exports.DirectConnectGatewayState = exports.VirtualInterfaceState = exports.BGPStatus = exports.BGPPeerState = exports.TooManyTagsException = exports.DuplicateTagKeysException = exports.HasLogicalRedundancy = exports.ConnectionState = exports.AddressFamily = exports.DirectConnectServerException = exports.DirectConnectClientException = exports.DirectConnectGatewayAssociationState = exports.GatewayType = void 0;
4
+ exports.DescribeDirectConnectGatewayAssociationProposalsRequestFilterSensitiveLog = exports.DescribeCustomerMetadataResponseFilterSensitiveLog = exports.DescribeConnectionsOnInterconnectRequestFilterSensitiveLog = exports.DescribeConnectionsRequestFilterSensitiveLog = exports.DescribeConnectionLoaResponseFilterSensitiveLog = exports.LoaFilterSensitiveLog = exports.DescribeConnectionLoaRequestFilterSensitiveLog = exports.DeleteVirtualInterfaceResponseFilterSensitiveLog = exports.DeleteVirtualInterfaceRequestFilterSensitiveLog = exports.DeleteLagRequestFilterSensitiveLog = exports.DeleteInterconnectResponseFilterSensitiveLog = exports.DeleteInterconnectRequestFilterSensitiveLog = exports.DeleteDirectConnectGatewayAssociationProposalResultFilterSensitiveLog = exports.DeleteDirectConnectGatewayAssociationProposalRequestFilterSensitiveLog = exports.DeleteDirectConnectGatewayAssociationResultFilterSensitiveLog = exports.DeleteDirectConnectGatewayAssociationRequestFilterSensitiveLog = exports.DeleteDirectConnectGatewayResultFilterSensitiveLog = exports.DeleteDirectConnectGatewayRequestFilterSensitiveLog = exports.DeleteConnectionRequestFilterSensitiveLog = exports.DeleteBGPPeerResponseFilterSensitiveLog = exports.DeleteBGPPeerRequestFilterSensitiveLog = exports.CreateTransitVirtualInterfaceResultFilterSensitiveLog = exports.CreateTransitVirtualInterfaceRequestFilterSensitiveLog = exports.NewTransitVirtualInterfaceFilterSensitiveLog = exports.CreatePublicVirtualInterfaceRequestFilterSensitiveLog = exports.NewPublicVirtualInterfaceFilterSensitiveLog = exports.CreatePrivateVirtualInterfaceRequestFilterSensitiveLog = exports.NewPrivateVirtualInterfaceFilterSensitiveLog = exports.LagFilterSensitiveLog = exports.CreateLagRequestFilterSensitiveLog = exports.InterconnectFilterSensitiveLog = exports.CreateInterconnectRequestFilterSensitiveLog = exports.CreateDirectConnectGatewayAssociationProposalResultFilterSensitiveLog = exports.DirectConnectGatewayAssociationProposalFilterSensitiveLog = exports.CreateDirectConnectGatewayAssociationProposalRequestFilterSensitiveLog = exports.CreateDirectConnectGatewayAssociationResultFilterSensitiveLog = exports.CreateDirectConnectGatewayAssociationRequestFilterSensitiveLog = exports.CreateDirectConnectGatewayResultFilterSensitiveLog = exports.DirectConnectGatewayFilterSensitiveLog = exports.CreateDirectConnectGatewayRequestFilterSensitiveLog = exports.CreateConnectionRequestFilterSensitiveLog = exports.CreateBGPPeerResponseFilterSensitiveLog = exports.CreateBGPPeerRequestFilterSensitiveLog = exports.NewBGPPeerFilterSensitiveLog = exports.ConnectionsFilterSensitiveLog = exports.ConfirmTransitVirtualInterfaceResponseFilterSensitiveLog = exports.ConfirmTransitVirtualInterfaceRequestFilterSensitiveLog = exports.ConfirmPublicVirtualInterfaceResponseFilterSensitiveLog = exports.ConfirmPublicVirtualInterfaceRequestFilterSensitiveLog = exports.ConfirmPrivateVirtualInterfaceResponseFilterSensitiveLog = void 0;
5
+ exports.UpdateVirtualInterfaceAttributesRequestFilterSensitiveLog = exports.UpdateLagRequestFilterSensitiveLog = exports.UpdateDirectConnectGatewayAssociationResultFilterSensitiveLog = exports.UpdateDirectConnectGatewayAssociationRequestFilterSensitiveLog = exports.UpdateDirectConnectGatewayResponseFilterSensitiveLog = exports.UpdateDirectConnectGatewayRequestFilterSensitiveLog = exports.UpdateConnectionRequestFilterSensitiveLog = exports.UntagResourceResponseFilterSensitiveLog = exports.UntagResourceRequestFilterSensitiveLog = exports.TagResourceResponseFilterSensitiveLog = exports.TagResourceRequestFilterSensitiveLog = exports.StopBgpFailoverTestResponseFilterSensitiveLog = exports.StopBgpFailoverTestRequestFilterSensitiveLog = exports.StartBgpFailoverTestResponseFilterSensitiveLog = exports.StartBgpFailoverTestRequestFilterSensitiveLog = exports.ListVirtualInterfaceTestHistoryResponseFilterSensitiveLog = exports.VirtualInterfaceTestHistoryFilterSensitiveLog = exports.ListVirtualInterfaceTestHistoryRequestFilterSensitiveLog = exports.DisassociateMacSecKeyResponseFilterSensitiveLog = exports.DisassociateMacSecKeyRequestFilterSensitiveLog = exports.DisassociateConnectionFromLagRequestFilterSensitiveLog = exports.VirtualInterfacesFilterSensitiveLog = exports.DescribeVirtualInterfacesRequestFilterSensitiveLog = exports.VirtualGatewaysFilterSensitiveLog = exports.VirtualGatewayFilterSensitiveLog = exports.DescribeTagsResponseFilterSensitiveLog = exports.ResourceTagFilterSensitiveLog = exports.DescribeTagsRequestFilterSensitiveLog = exports.DescribeRouterConfigurationResponseFilterSensitiveLog = exports.RouterTypeFilterSensitiveLog = exports.DescribeRouterConfigurationRequestFilterSensitiveLog = exports.LocationsFilterSensitiveLog = exports.LocationFilterSensitiveLog = exports.DescribeLoaRequestFilterSensitiveLog = exports.LagsFilterSensitiveLog = exports.DescribeLagsRequestFilterSensitiveLog = exports.InterconnectsFilterSensitiveLog = exports.DescribeInterconnectsRequestFilterSensitiveLog = exports.DescribeInterconnectLoaResponseFilterSensitiveLog = exports.DescribeInterconnectLoaRequestFilterSensitiveLog = exports.DescribeHostedConnectionsRequestFilterSensitiveLog = exports.DescribeDirectConnectGatewaysResultFilterSensitiveLog = exports.DescribeDirectConnectGatewaysRequestFilterSensitiveLog = exports.DescribeDirectConnectGatewayAttachmentsResultFilterSensitiveLog = exports.DirectConnectGatewayAttachmentFilterSensitiveLog = exports.DescribeDirectConnectGatewayAttachmentsRequestFilterSensitiveLog = exports.DescribeDirectConnectGatewayAssociationsResultFilterSensitiveLog = exports.DescribeDirectConnectGatewayAssociationsRequestFilterSensitiveLog = exports.DescribeDirectConnectGatewayAssociationProposalsResultFilterSensitiveLog = void 0;
6
6
  const DirectConnectServiceException_1 = require("./DirectConnectServiceException");
7
7
  var GatewayType;
8
8
  (function (GatewayType) {
9
9
  GatewayType["TransitGateway"] = "transitGateway";
10
10
  GatewayType["VirtualPrivateGateway"] = "virtualPrivateGateway";
11
11
  })(GatewayType = exports.GatewayType || (exports.GatewayType = {}));
12
+ var DirectConnectGatewayAssociationState;
13
+ (function (DirectConnectGatewayAssociationState) {
14
+ DirectConnectGatewayAssociationState["associated"] = "associated";
15
+ DirectConnectGatewayAssociationState["associating"] = "associating";
16
+ DirectConnectGatewayAssociationState["disassociated"] = "disassociated";
17
+ DirectConnectGatewayAssociationState["disassociating"] = "disassociating";
18
+ DirectConnectGatewayAssociationState["updating"] = "updating";
19
+ })(DirectConnectGatewayAssociationState = exports.DirectConnectGatewayAssociationState || (exports.DirectConnectGatewayAssociationState = {}));
12
20
  class DirectConnectClientException extends DirectConnectServiceException_1.DirectConnectServiceException {
13
21
  constructor(opts) {
14
22
  super({
@@ -40,6 +48,18 @@ var AddressFamily;
40
48
  AddressFamily["IPv4"] = "ipv4";
41
49
  AddressFamily["IPv6"] = "ipv6";
42
50
  })(AddressFamily = exports.AddressFamily || (exports.AddressFamily = {}));
51
+ var ConnectionState;
52
+ (function (ConnectionState) {
53
+ ConnectionState["available"] = "available";
54
+ ConnectionState["deleted"] = "deleted";
55
+ ConnectionState["deleting"] = "deleting";
56
+ ConnectionState["down"] = "down";
57
+ ConnectionState["ordering"] = "ordering";
58
+ ConnectionState["pending"] = "pending";
59
+ ConnectionState["rejected"] = "rejected";
60
+ ConnectionState["requested"] = "requested";
61
+ ConnectionState["unknown"] = "unknown";
62
+ })(ConnectionState = exports.ConnectionState || (exports.ConnectionState = {}));
43
63
  var HasLogicalRedundancy;
44
64
  (function (HasLogicalRedundancy) {
45
65
  HasLogicalRedundancy["No"] = "no";
@@ -86,6 +106,51 @@ var BGPStatus;
86
106
  BGPStatus["Unknown"] = "unknown";
87
107
  BGPStatus["Up"] = "up";
88
108
  })(BGPStatus = exports.BGPStatus || (exports.BGPStatus = {}));
109
+ var VirtualInterfaceState;
110
+ (function (VirtualInterfaceState) {
111
+ VirtualInterfaceState["available"] = "available";
112
+ VirtualInterfaceState["confirming"] = "confirming";
113
+ VirtualInterfaceState["deleted"] = "deleted";
114
+ VirtualInterfaceState["deleting"] = "deleting";
115
+ VirtualInterfaceState["down"] = "down";
116
+ VirtualInterfaceState["pending"] = "pending";
117
+ VirtualInterfaceState["rejected"] = "rejected";
118
+ VirtualInterfaceState["unknown"] = "unknown";
119
+ VirtualInterfaceState["verifying"] = "verifying";
120
+ })(VirtualInterfaceState = exports.VirtualInterfaceState || (exports.VirtualInterfaceState = {}));
121
+ var DirectConnectGatewayState;
122
+ (function (DirectConnectGatewayState) {
123
+ DirectConnectGatewayState["available"] = "available";
124
+ DirectConnectGatewayState["deleted"] = "deleted";
125
+ DirectConnectGatewayState["deleting"] = "deleting";
126
+ DirectConnectGatewayState["pending"] = "pending";
127
+ })(DirectConnectGatewayState = exports.DirectConnectGatewayState || (exports.DirectConnectGatewayState = {}));
128
+ var DirectConnectGatewayAssociationProposalState;
129
+ (function (DirectConnectGatewayAssociationProposalState) {
130
+ DirectConnectGatewayAssociationProposalState["accepted"] = "accepted";
131
+ DirectConnectGatewayAssociationProposalState["deleted"] = "deleted";
132
+ DirectConnectGatewayAssociationProposalState["requested"] = "requested";
133
+ })(DirectConnectGatewayAssociationProposalState = exports.DirectConnectGatewayAssociationProposalState || (exports.DirectConnectGatewayAssociationProposalState = {}));
134
+ var InterconnectState;
135
+ (function (InterconnectState) {
136
+ InterconnectState["available"] = "available";
137
+ InterconnectState["deleted"] = "deleted";
138
+ InterconnectState["deleting"] = "deleting";
139
+ InterconnectState["down"] = "down";
140
+ InterconnectState["pending"] = "pending";
141
+ InterconnectState["requested"] = "requested";
142
+ InterconnectState["unknown"] = "unknown";
143
+ })(InterconnectState = exports.InterconnectState || (exports.InterconnectState = {}));
144
+ var LagState;
145
+ (function (LagState) {
146
+ LagState["available"] = "available";
147
+ LagState["deleted"] = "deleted";
148
+ LagState["deleting"] = "deleting";
149
+ LagState["down"] = "down";
150
+ LagState["pending"] = "pending";
151
+ LagState["requested"] = "requested";
152
+ LagState["unknown"] = "unknown";
153
+ })(LagState = exports.LagState || (exports.LagState = {}));
89
154
  var LoaContentType;
90
155
  (function (LoaContentType) {
91
156
  LoaContentType["PDF"] = "application/pdf";
@@ -96,6 +161,18 @@ var NniPartnerType;
96
161
  NniPartnerType["V1"] = "v1";
97
162
  NniPartnerType["V2"] = "v2";
98
163
  })(NniPartnerType = exports.NniPartnerType || (exports.NniPartnerType = {}));
164
+ var DirectConnectGatewayAttachmentState;
165
+ (function (DirectConnectGatewayAttachmentState) {
166
+ DirectConnectGatewayAttachmentState["attached"] = "attached";
167
+ DirectConnectGatewayAttachmentState["attaching"] = "attaching";
168
+ DirectConnectGatewayAttachmentState["detached"] = "detached";
169
+ DirectConnectGatewayAttachmentState["detaching"] = "detaching";
170
+ })(DirectConnectGatewayAttachmentState = exports.DirectConnectGatewayAttachmentState || (exports.DirectConnectGatewayAttachmentState = {}));
171
+ var DirectConnectGatewayAttachmentType;
172
+ (function (DirectConnectGatewayAttachmentType) {
173
+ DirectConnectGatewayAttachmentType["PrivateVirtualInterface"] = "PrivateVirtualInterface";
174
+ DirectConnectGatewayAttachmentType["TransitVirtualInterface"] = "TransitVirtualInterface";
175
+ })(DirectConnectGatewayAttachmentType = exports.DirectConnectGatewayAttachmentType || (exports.DirectConnectGatewayAttachmentType = {}));
99
176
  const RouteFilterPrefixFilterSensitiveLog = (obj) => ({
100
177
  ...obj,
101
178
  });
@@ -1,4 +1,4 @@
1
- const p = "required", q = "fn", r = "argv", s = "ref";
2
- const a = "PartitionResult", b = "tree", c = "error", d = "endpoint", e = { [p]: false, "type": "String" }, f = { [p]: true, "default": false, "type": "Boolean" }, g = { [s]: "Endpoint" }, h = { [q]: "booleanEquals", [r]: [{ [s]: "UseFIPS" }, true] }, i = { [q]: "booleanEquals", [r]: [{ [s]: "UseDualStack" }, true] }, j = {}, k = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsFIPS"] }] }, l = { [q]: "booleanEquals", [r]: [true, { [q]: "getAttr", [r]: [{ [s]: a }, "supportsDualStack"] }] }, m = [g], n = [h], o = [i];
3
- const _data = { version: "1.0", parameters: { Region: e, UseDualStack: f, UseFIPS: f, Endpoint: e }, rules: [{ conditions: [{ [q]: "aws.partition", [r]: [{ [s]: "Region" }], assign: a }], type: b, rules: [{ conditions: [{ [q]: "isSet", [r]: m }, { [q]: "parseURL", [r]: m, assign: "url" }], type: b, rules: [{ conditions: n, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: o, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: g, properties: j, headers: j }, type: d }] }] }, { conditions: [h, i], type: b, rules: [{ conditions: [k, l], type: b, rules: [{ endpoint: { url: "https://directconnect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: n, type: b, rules: [{ conditions: [k], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://directconnect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: o, type: b, rules: [{ conditions: [l], type: b, rules: [{ endpoint: { url: "https://directconnect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: j, headers: j }, type: d }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { endpoint: { url: "https://directconnect.{Region}.{PartitionResult#dnsSuffix}", properties: j, headers: j }, type: d }] }] };
1
+ const s = "required", t = "fn", u = "argv", v = "ref";
2
+ const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [s]: false, "type": "String" }, h = { [s]: true, "default": false, "type": "Boolean" }, i = { [v]: "Endpoint" }, j = { [t]: "booleanEquals", [u]: [{ [v]: "UseFIPS" }, true] }, k = { [t]: "booleanEquals", [u]: [{ [v]: "UseDualStack" }, true] }, l = {}, m = { [v]: "Region" }, n = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsFIPS"] }] }, o = { [t]: "booleanEquals", [u]: [true, { [t]: "getAttr", [u]: [{ [v]: e }, "supportsDualStack"] }] }, p = [j], q = [k], r = [m];
3
+ const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, rules: [{ conditions: [{ [t]: a, [u]: [i] }], type: b, rules: [{ conditions: p, error: "Invalid Configuration: FIPS and custom endpoint are not supported", type: c }, { type: b, rules: [{ conditions: q, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", type: c }, { endpoint: { url: i, properties: l, headers: l }, type: d }] }] }, { type: b, rules: [{ conditions: [{ [t]: a, [u]: r }], type: b, rules: [{ conditions: [{ [t]: "aws.partition", [u]: r, assign: e }], type: b, rules: [{ conditions: [j, k], type: b, rules: [{ conditions: [n, o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://directconnect-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS and DualStack are enabled, but this partition does not support one or both", type: c }] }, { conditions: p, type: b, rules: [{ conditions: [n], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://directconnect-fips.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "FIPS is enabled but this partition does not support FIPS", type: c }] }, { conditions: q, type: b, rules: [{ conditions: [o], type: b, rules: [{ type: b, rules: [{ endpoint: { url: "https://directconnect.{Region}.{PartitionResult#dualStackDnsSuffix}", properties: l, headers: l }, type: d }] }] }, { error: "DualStack is enabled but this partition does not support DualStack", type: c }] }, { type: b, rules: [{ conditions: [{ [t]: f, [u]: [m, "us-gov-east-1"] }], endpoint: { url: "https://directconnect.us-gov-east-1.amazonaws.com", properties: l, headers: l }, type: d }, { conditions: [{ [t]: f, [u]: [m, "us-gov-west-1"] }], endpoint: { url: "https://directconnect.us-gov-west-1.amazonaws.com", properties: l, headers: l }, type: d }, { endpoint: { url: "https://directconnect.{Region}.{PartitionResult#dnsSuffix}", properties: l, headers: l }, type: d }] }] }] }, { error: "Invalid Configuration: Missing Region", type: c }] }] };
4
4
  export const ruleSet = _data;
@@ -4,6 +4,14 @@ export var GatewayType;
4
4
  GatewayType["TransitGateway"] = "transitGateway";
5
5
  GatewayType["VirtualPrivateGateway"] = "virtualPrivateGateway";
6
6
  })(GatewayType || (GatewayType = {}));
7
+ export var DirectConnectGatewayAssociationState;
8
+ (function (DirectConnectGatewayAssociationState) {
9
+ DirectConnectGatewayAssociationState["associated"] = "associated";
10
+ DirectConnectGatewayAssociationState["associating"] = "associating";
11
+ DirectConnectGatewayAssociationState["disassociated"] = "disassociated";
12
+ DirectConnectGatewayAssociationState["disassociating"] = "disassociating";
13
+ DirectConnectGatewayAssociationState["updating"] = "updating";
14
+ })(DirectConnectGatewayAssociationState || (DirectConnectGatewayAssociationState = {}));
7
15
  export class DirectConnectClientException extends __BaseException {
8
16
  constructor(opts) {
9
17
  super({
@@ -33,6 +41,18 @@ export var AddressFamily;
33
41
  AddressFamily["IPv4"] = "ipv4";
34
42
  AddressFamily["IPv6"] = "ipv6";
35
43
  })(AddressFamily || (AddressFamily = {}));
44
+ export var ConnectionState;
45
+ (function (ConnectionState) {
46
+ ConnectionState["available"] = "available";
47
+ ConnectionState["deleted"] = "deleted";
48
+ ConnectionState["deleting"] = "deleting";
49
+ ConnectionState["down"] = "down";
50
+ ConnectionState["ordering"] = "ordering";
51
+ ConnectionState["pending"] = "pending";
52
+ ConnectionState["rejected"] = "rejected";
53
+ ConnectionState["requested"] = "requested";
54
+ ConnectionState["unknown"] = "unknown";
55
+ })(ConnectionState || (ConnectionState = {}));
36
56
  export var HasLogicalRedundancy;
37
57
  (function (HasLogicalRedundancy) {
38
58
  HasLogicalRedundancy["No"] = "no";
@@ -77,6 +97,51 @@ export var BGPStatus;
77
97
  BGPStatus["Unknown"] = "unknown";
78
98
  BGPStatus["Up"] = "up";
79
99
  })(BGPStatus || (BGPStatus = {}));
100
+ export var VirtualInterfaceState;
101
+ (function (VirtualInterfaceState) {
102
+ VirtualInterfaceState["available"] = "available";
103
+ VirtualInterfaceState["confirming"] = "confirming";
104
+ VirtualInterfaceState["deleted"] = "deleted";
105
+ VirtualInterfaceState["deleting"] = "deleting";
106
+ VirtualInterfaceState["down"] = "down";
107
+ VirtualInterfaceState["pending"] = "pending";
108
+ VirtualInterfaceState["rejected"] = "rejected";
109
+ VirtualInterfaceState["unknown"] = "unknown";
110
+ VirtualInterfaceState["verifying"] = "verifying";
111
+ })(VirtualInterfaceState || (VirtualInterfaceState = {}));
112
+ export var DirectConnectGatewayState;
113
+ (function (DirectConnectGatewayState) {
114
+ DirectConnectGatewayState["available"] = "available";
115
+ DirectConnectGatewayState["deleted"] = "deleted";
116
+ DirectConnectGatewayState["deleting"] = "deleting";
117
+ DirectConnectGatewayState["pending"] = "pending";
118
+ })(DirectConnectGatewayState || (DirectConnectGatewayState = {}));
119
+ export var DirectConnectGatewayAssociationProposalState;
120
+ (function (DirectConnectGatewayAssociationProposalState) {
121
+ DirectConnectGatewayAssociationProposalState["accepted"] = "accepted";
122
+ DirectConnectGatewayAssociationProposalState["deleted"] = "deleted";
123
+ DirectConnectGatewayAssociationProposalState["requested"] = "requested";
124
+ })(DirectConnectGatewayAssociationProposalState || (DirectConnectGatewayAssociationProposalState = {}));
125
+ export var InterconnectState;
126
+ (function (InterconnectState) {
127
+ InterconnectState["available"] = "available";
128
+ InterconnectState["deleted"] = "deleted";
129
+ InterconnectState["deleting"] = "deleting";
130
+ InterconnectState["down"] = "down";
131
+ InterconnectState["pending"] = "pending";
132
+ InterconnectState["requested"] = "requested";
133
+ InterconnectState["unknown"] = "unknown";
134
+ })(InterconnectState || (InterconnectState = {}));
135
+ export var LagState;
136
+ (function (LagState) {
137
+ LagState["available"] = "available";
138
+ LagState["deleted"] = "deleted";
139
+ LagState["deleting"] = "deleting";
140
+ LagState["down"] = "down";
141
+ LagState["pending"] = "pending";
142
+ LagState["requested"] = "requested";
143
+ LagState["unknown"] = "unknown";
144
+ })(LagState || (LagState = {}));
80
145
  export var LoaContentType;
81
146
  (function (LoaContentType) {
82
147
  LoaContentType["PDF"] = "application/pdf";
@@ -87,6 +152,18 @@ export var NniPartnerType;
87
152
  NniPartnerType["V1"] = "v1";
88
153
  NniPartnerType["V2"] = "v2";
89
154
  })(NniPartnerType || (NniPartnerType = {}));
155
+ export var DirectConnectGatewayAttachmentState;
156
+ (function (DirectConnectGatewayAttachmentState) {
157
+ DirectConnectGatewayAttachmentState["attached"] = "attached";
158
+ DirectConnectGatewayAttachmentState["attaching"] = "attaching";
159
+ DirectConnectGatewayAttachmentState["detached"] = "detached";
160
+ DirectConnectGatewayAttachmentState["detaching"] = "detaching";
161
+ })(DirectConnectGatewayAttachmentState || (DirectConnectGatewayAttachmentState = {}));
162
+ export var DirectConnectGatewayAttachmentType;
163
+ (function (DirectConnectGatewayAttachmentType) {
164
+ DirectConnectGatewayAttachmentType["PrivateVirtualInterface"] = "PrivateVirtualInterface";
165
+ DirectConnectGatewayAttachmentType["TransitVirtualInterface"] = "TransitVirtualInterface";
166
+ })(DirectConnectGatewayAttachmentType || (DirectConnectGatewayAttachmentType = {}));
90
167
  export const RouteFilterPrefixFilterSensitiveLog = (obj) => ({
91
168
  ...obj,
92
169
  });
@@ -219,7 +219,6 @@ export declare class DirectConnect extends DirectConnectClient {
219
219
  confirmPublicVirtualInterface(args: ConfirmPublicVirtualInterfaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConfirmPublicVirtualInterfaceCommandOutput) => void): void;
220
220
  /**
221
221
  * <p>Accepts ownership of a transit virtual interface created by another Amazon Web Services account.</p>
222
- *
223
222
  * <p> After the owner of the transit virtual interface makes this call, the specified transit virtual interface is created and made available to handle traffic.</p>
224
223
  */
225
224
  confirmTransitVirtualInterface(args: ConfirmTransitVirtualInterfaceCommandInput, options?: __HttpHandlerOptions): Promise<ConfirmTransitVirtualInterfaceCommandOutput>;
@@ -227,11 +226,20 @@ export declare class DirectConnect extends DirectConnectClient {
227
226
  confirmTransitVirtualInterface(args: ConfirmTransitVirtualInterfaceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ConfirmTransitVirtualInterfaceCommandOutput) => void): void;
228
227
  /**
229
228
  * <p>Creates a BGP peer on the specified virtual interface.</p>
230
- * <p>You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to access Amazon Web Services resources that also use that address family.</p>
229
+ * <p>You must create a BGP peer for the corresponding address family (IPv4/IPv6) in order to
230
+ * access Amazon Web Services resources that also use that address family.</p>
231
231
  * <p>If logical redundancy is not supported by the connection, interconnect, or LAG, the BGP peer cannot
232
232
  * be in the same address family as an existing BGP peer on the virtual interface.</p>
233
233
  * <p>When creating a IPv6 BGP peer, omit the Amazon address and customer address. IPv6 addresses are automatically assigned from
234
234
  * the Amazon pool of IPv6 addresses; you cannot specify custom IPv6 addresses.</p>
235
+ * <important>
236
+ * <p>If you let Amazon Web Services auto-assign IPv4 addresses, a /30 CIDR will be allocated
237
+ * from 169.254.0.0/16. Amazon Web Services does not recommend this option if you intend to use
238
+ * the customer router peer IP address as the source and destination for traffic. Instead you
239
+ * should use RFC 1918 or other addressing, and specify the address yourself. For more
240
+ * information about RFC 1918 see <a href="https://datatracker.ietf.org/doc/html/rfc1918">
241
+ * Address Allocation for Private Internets</a>.</p>
242
+ * </important>
235
243
  * <p>For a public virtual interface, the Autonomous System Number (ASN) must be private or already on the allow list for the virtual interface.</p>
236
244
  */
237
245
  createBGPPeer(args: CreateBGPPeerCommandInput, options?: __HttpHandlerOptions): Promise<CreateBGPPeerCommandOutput>;
@@ -239,7 +247,6 @@ export declare class DirectConnect extends DirectConnectClient {
239
247
  createBGPPeer(args: CreateBGPPeerCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateBGPPeerCommandOutput) => void): void;
240
248
  /**
241
249
  * <p>Creates a connection between a customer network and a specific Direct Connect location.</p>
242
- *
243
250
  * <p>A connection links your internal network to an Direct Connect location over a standard Ethernet fiber-optic
244
251
  * cable. One end of the cable is connected to your router, the other to an Direct Connect router.</p>
245
252
  * <p>To find the locations for your Region, use <a>DescribeLocations</a>.</p>
@@ -303,7 +310,7 @@ export declare class DirectConnect extends DirectConnectClient {
303
310
  * A LAG is a logical interface that uses the Link Aggregation Control Protocol
304
311
  * (LACP) to aggregate multiple interfaces, enabling you to treat them as a single
305
312
  * interface.</p>
306
- * <p>All connections in a LAG must use the same bandwidth (either 1Gbps or 10Gbps) and must terminate at the same Direct Connect endpoint.</p>
313
+ * <p>All connections in a LAG must use the same bandwidth (either 1Gbps or 10Gbps) and must terminate at the same Direct Connect endpoint.</p>
307
314
  * <p>You can have up to 10 dedicated connections per LAG. Regardless of this limit, if you
308
315
  * request more connections for the LAG than Direct Connect can allocate on a single endpoint, no LAG is
309
316
  * created.</p>
@@ -350,12 +357,12 @@ export declare class DirectConnect extends DirectConnectClient {
350
357
  * <important>
351
358
  * <p>If you associate your transit gateway with one or more Direct Connect gateways, the Autonomous System Number (ASN) used by the transit gateway and the Direct Connect gateway must be different. For example, if you use the default ASN 64512 for both your the transit gateway and Direct Connect gateway, the association request fails.</p>
352
359
  * </important>
353
- * <p>Setting the MTU of a virtual interface to 8500 (jumbo frames) can cause an update to
354
- * the underlying physical connection if it wasn't updated to support jumbo frames. Updating
355
- * the connection disrupts network connectivity for all virtual interfaces associated with
356
- * the connection for up to 30 seconds. To check whether your connection supports jumbo
357
- * frames, call <a>DescribeConnections</a>. To check whether your virtual
358
- * interface supports jumbo frames, call <a>DescribeVirtualInterfaces</a>.</p>
360
+ * <p>A jumbo MTU value must be either 1500 or 8500. No other values will be accepted. Setting
361
+ * the MTU of a virtual interface to 8500 (jumbo frames) can cause an update to the underlying
362
+ * physical connection if it wasn't updated to support jumbo frames. Updating the connection
363
+ * disrupts network connectivity for all virtual interfaces associated with the connection for up
364
+ * to 30 seconds. To check whether your connection supports jumbo frames, call <a>DescribeConnections</a>. To check whether your virtual interface supports jumbo
365
+ * frames, call <a>DescribeVirtualInterfaces</a>.</p>
359
366
  */
360
367
  createTransitVirtualInterface(args: CreateTransitVirtualInterfaceCommandInput, options?: __HttpHandlerOptions): Promise<CreateTransitVirtualInterfaceCommandOutput>;
361
368
  createTransitVirtualInterface(args: CreateTransitVirtualInterfaceCommandInput, cb: (err: any, data?: CreateTransitVirtualInterfaceCommandOutput) => void): void;
@@ -29,6 +29,13 @@ export interface AcceptDirectConnectGatewayAssociationProposalCommandOutput exte
29
29
  * @see {@link AcceptDirectConnectGatewayAssociationProposalCommandOutput} for command's `response` shape.
30
30
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
31
31
  *
32
+ * @throws {@link DirectConnectClientException} (client fault)
33
+ * <p>One or more parameters are not valid.</p>
34
+ *
35
+ * @throws {@link DirectConnectServerException} (server fault)
36
+ * <p>A server-side error occurred.</p>
37
+ *
38
+ *
32
39
  */
33
40
  export declare class AcceptDirectConnectGatewayAssociationProposalCommand extends $Command<AcceptDirectConnectGatewayAssociationProposalCommandInput, AcceptDirectConnectGatewayAssociationProposalCommandOutput, DirectConnectClientResolvedConfig> {
34
41
  readonly input: AcceptDirectConnectGatewayAssociationProposalCommandInput;
@@ -36,6 +36,13 @@ export interface AllocateConnectionOnInterconnectCommandOutput extends Connectio
36
36
  * @see {@link AllocateConnectionOnInterconnectCommandOutput} for command's `response` shape.
37
37
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
38
38
  *
39
+ * @throws {@link DirectConnectClientException} (client fault)
40
+ * <p>One or more parameters are not valid.</p>
41
+ *
42
+ * @throws {@link DirectConnectServerException} (server fault)
43
+ * <p>A server-side error occurred.</p>
44
+ *
45
+ *
39
46
  */
40
47
  export declare class AllocateConnectionOnInterconnectCommand extends $Command<AllocateConnectionOnInterconnectCommandInput, AllocateConnectionOnInterconnectCommandOutput, DirectConnectClientResolvedConfig> {
41
48
  readonly input: AllocateConnectionOnInterconnectCommandInput;
@@ -34,6 +34,19 @@ export interface AllocateHostedConnectionCommandOutput extends Connection, __Met
34
34
  * @see {@link AllocateHostedConnectionCommandOutput} for command's `response` shape.
35
35
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
36
36
  *
37
+ * @throws {@link DirectConnectClientException} (client fault)
38
+ * <p>One or more parameters are not valid.</p>
39
+ *
40
+ * @throws {@link DirectConnectServerException} (server fault)
41
+ * <p>A server-side error occurred.</p>
42
+ *
43
+ * @throws {@link DuplicateTagKeysException} (client fault)
44
+ * <p>A tag key was specified more than once.</p>
45
+ *
46
+ * @throws {@link TooManyTagsException} (client fault)
47
+ * <p>You have reached the limit on the number of tags that can be assigned.</p>
48
+ *
49
+ *
37
50
  */
38
51
  export declare class AllocateHostedConnectionCommand extends $Command<AllocateHostedConnectionCommandInput, AllocateHostedConnectionCommandOutput, DirectConnectClientResolvedConfig> {
39
52
  readonly input: AllocateHostedConnectionCommandInput;
@@ -31,6 +31,19 @@ export interface AllocatePrivateVirtualInterfaceCommandOutput extends VirtualInt
31
31
  * @see {@link AllocatePrivateVirtualInterfaceCommandOutput} for command's `response` shape.
32
32
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
33
33
  *
34
+ * @throws {@link DirectConnectClientException} (client fault)
35
+ * <p>One or more parameters are not valid.</p>
36
+ *
37
+ * @throws {@link DirectConnectServerException} (server fault)
38
+ * <p>A server-side error occurred.</p>
39
+ *
40
+ * @throws {@link DuplicateTagKeysException} (client fault)
41
+ * <p>A tag key was specified more than once.</p>
42
+ *
43
+ * @throws {@link TooManyTagsException} (client fault)
44
+ * <p>You have reached the limit on the number of tags that can be assigned.</p>
45
+ *
46
+ *
34
47
  */
35
48
  export declare class AllocatePrivateVirtualInterfaceCommand extends $Command<AllocatePrivateVirtualInterfaceCommandInput, AllocatePrivateVirtualInterfaceCommandOutput, DirectConnectClientResolvedConfig> {
36
49
  readonly input: AllocatePrivateVirtualInterfaceCommandInput;
@@ -34,6 +34,19 @@ export interface AllocatePublicVirtualInterfaceCommandOutput extends VirtualInte
34
34
  * @see {@link AllocatePublicVirtualInterfaceCommandOutput} for command's `response` shape.
35
35
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
36
36
  *
37
+ * @throws {@link DirectConnectClientException} (client fault)
38
+ * <p>One or more parameters are not valid.</p>
39
+ *
40
+ * @throws {@link DirectConnectServerException} (server fault)
41
+ * <p>A server-side error occurred.</p>
42
+ *
43
+ * @throws {@link DuplicateTagKeysException} (client fault)
44
+ * <p>A tag key was specified more than once.</p>
45
+ *
46
+ * @throws {@link TooManyTagsException} (client fault)
47
+ * <p>You have reached the limit on the number of tags that can be assigned.</p>
48
+ *
49
+ *
37
50
  */
38
51
  export declare class AllocatePublicVirtualInterfaceCommand extends $Command<AllocatePublicVirtualInterfaceCommandInput, AllocatePublicVirtualInterfaceCommandOutput, DirectConnectClientResolvedConfig> {
39
52
  readonly input: AllocatePublicVirtualInterfaceCommandInput;
@@ -31,6 +31,19 @@ export interface AllocateTransitVirtualInterfaceCommandOutput extends AllocateTr
31
31
  * @see {@link AllocateTransitVirtualInterfaceCommandOutput} for command's `response` shape.
32
32
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
33
33
  *
34
+ * @throws {@link DirectConnectClientException} (client fault)
35
+ * <p>One or more parameters are not valid.</p>
36
+ *
37
+ * @throws {@link DirectConnectServerException} (server fault)
38
+ * <p>A server-side error occurred.</p>
39
+ *
40
+ * @throws {@link DuplicateTagKeysException} (client fault)
41
+ * <p>A tag key was specified more than once.</p>
42
+ *
43
+ * @throws {@link TooManyTagsException} (client fault)
44
+ * <p>You have reached the limit on the number of tags that can be assigned.</p>
45
+ *
46
+ *
34
47
  */
35
48
  export declare class AllocateTransitVirtualInterfaceCommand extends $Command<AllocateTransitVirtualInterfaceCommandInput, AllocateTransitVirtualInterfaceCommandOutput, DirectConnectClientResolvedConfig> {
36
49
  readonly input: AllocateTransitVirtualInterfaceCommandInput;
@@ -42,6 +42,13 @@ export interface AssociateConnectionWithLagCommandOutput extends Connection, __M
42
42
  * @see {@link AssociateConnectionWithLagCommandOutput} for command's `response` shape.
43
43
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
44
44
  *
45
+ * @throws {@link DirectConnectClientException} (client fault)
46
+ * <p>One or more parameters are not valid.</p>
47
+ *
48
+ * @throws {@link DirectConnectServerException} (server fault)
49
+ * <p>A server-side error occurred.</p>
50
+ *
51
+ *
45
52
  */
46
53
  export declare class AssociateConnectionWithLagCommand extends $Command<AssociateConnectionWithLagCommandInput, AssociateConnectionWithLagCommandOutput, DirectConnectClientResolvedConfig> {
47
54
  readonly input: AssociateConnectionWithLagCommandInput;
@@ -36,6 +36,13 @@ export interface AssociateHostedConnectionCommandOutput extends Connection, __Me
36
36
  * @see {@link AssociateHostedConnectionCommandOutput} for command's `response` shape.
37
37
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
38
38
  *
39
+ * @throws {@link DirectConnectClientException} (client fault)
40
+ * <p>One or more parameters are not valid.</p>
41
+ *
42
+ * @throws {@link DirectConnectServerException} (server fault)
43
+ * <p>A server-side error occurred.</p>
44
+ *
45
+ *
39
46
  */
40
47
  export declare class AssociateHostedConnectionCommand extends $Command<AssociateHostedConnectionCommandInput, AssociateHostedConnectionCommandOutput, DirectConnectClientResolvedConfig> {
41
48
  readonly input: AssociateHostedConnectionCommandInput;
@@ -31,6 +31,13 @@ export interface AssociateMacSecKeyCommandOutput extends AssociateMacSecKeyRespo
31
31
  * @see {@link AssociateMacSecKeyCommandOutput} for command's `response` shape.
32
32
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
33
33
  *
34
+ * @throws {@link DirectConnectClientException} (client fault)
35
+ * <p>One or more parameters are not valid.</p>
36
+ *
37
+ * @throws {@link DirectConnectServerException} (server fault)
38
+ * <p>A server-side error occurred.</p>
39
+ *
40
+ *
34
41
  */
35
42
  export declare class AssociateMacSecKeyCommand extends $Command<AssociateMacSecKeyCommandInput, AssociateMacSecKeyCommandOutput, DirectConnectClientResolvedConfig> {
36
43
  readonly input: AssociateMacSecKeyCommandInput;
@@ -38,6 +38,13 @@ export interface AssociateVirtualInterfaceCommandOutput extends VirtualInterface
38
38
  * @see {@link AssociateVirtualInterfaceCommandOutput} for command's `response` shape.
39
39
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
40
40
  *
41
+ * @throws {@link DirectConnectClientException} (client fault)
42
+ * <p>One or more parameters are not valid.</p>
43
+ *
44
+ * @throws {@link DirectConnectServerException} (server fault)
45
+ * <p>A server-side error occurred.</p>
46
+ *
47
+ *
41
48
  */
42
49
  export declare class AssociateVirtualInterfaceCommand extends $Command<AssociateVirtualInterfaceCommandInput, AssociateVirtualInterfaceCommandOutput, DirectConnectClientResolvedConfig> {
43
50
  readonly input: AssociateVirtualInterfaceCommandInput;
@@ -31,6 +31,13 @@ export interface ConfirmConnectionCommandOutput extends ConfirmConnectionRespons
31
31
  * @see {@link ConfirmConnectionCommandOutput} for command's `response` shape.
32
32
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
33
33
  *
34
+ * @throws {@link DirectConnectClientException} (client fault)
35
+ * <p>One or more parameters are not valid.</p>
36
+ *
37
+ * @throws {@link DirectConnectServerException} (server fault)
38
+ * <p>A server-side error occurred.</p>
39
+ *
40
+ *
34
41
  */
35
42
  export declare class ConfirmConnectionCommand extends $Command<ConfirmConnectionCommandInput, ConfirmConnectionCommandOutput, DirectConnectClientResolvedConfig> {
36
43
  readonly input: ConfirmConnectionCommandInput;
@@ -31,6 +31,13 @@ export interface ConfirmCustomerAgreementCommandOutput extends ConfirmCustomerAg
31
31
  * @see {@link ConfirmCustomerAgreementCommandOutput} for command's `response` shape.
32
32
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
33
33
  *
34
+ * @throws {@link DirectConnectClientException} (client fault)
35
+ * <p>One or more parameters are not valid.</p>
36
+ *
37
+ * @throws {@link DirectConnectServerException} (server fault)
38
+ * <p>A server-side error occurred.</p>
39
+ *
40
+ *
34
41
  */
35
42
  export declare class ConfirmCustomerAgreementCommand extends $Command<ConfirmCustomerAgreementCommandInput, ConfirmCustomerAgreementCommandOutput, DirectConnectClientResolvedConfig> {
36
43
  readonly input: ConfirmCustomerAgreementCommandInput;
@@ -32,6 +32,13 @@ export interface ConfirmPrivateVirtualInterfaceCommandOutput extends ConfirmPriv
32
32
  * @see {@link ConfirmPrivateVirtualInterfaceCommandOutput} for command's `response` shape.
33
33
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
34
34
  *
35
+ * @throws {@link DirectConnectClientException} (client fault)
36
+ * <p>One or more parameters are not valid.</p>
37
+ *
38
+ * @throws {@link DirectConnectServerException} (server fault)
39
+ * <p>A server-side error occurred.</p>
40
+ *
41
+ *
35
42
  */
36
43
  export declare class ConfirmPrivateVirtualInterfaceCommand extends $Command<ConfirmPrivateVirtualInterfaceCommandInput, ConfirmPrivateVirtualInterfaceCommandOutput, DirectConnectClientResolvedConfig> {
37
44
  readonly input: ConfirmPrivateVirtualInterfaceCommandInput;
@@ -31,6 +31,13 @@ export interface ConfirmPublicVirtualInterfaceCommandOutput extends ConfirmPubli
31
31
  * @see {@link ConfirmPublicVirtualInterfaceCommandOutput} for command's `response` shape.
32
32
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
33
33
  *
34
+ * @throws {@link DirectConnectClientException} (client fault)
35
+ * <p>One or more parameters are not valid.</p>
36
+ *
37
+ * @throws {@link DirectConnectServerException} (server fault)
38
+ * <p>A server-side error occurred.</p>
39
+ *
40
+ *
34
41
  */
35
42
  export declare class ConfirmPublicVirtualInterfaceCommand extends $Command<ConfirmPublicVirtualInterfaceCommandInput, ConfirmPublicVirtualInterfaceCommandOutput, DirectConnectClientResolvedConfig> {
36
43
  readonly input: ConfirmPublicVirtualInterfaceCommandInput;