@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
@@ -30,6 +30,13 @@ export interface DescribeVirtualGatewaysCommandOutput extends VirtualGateways, _
30
30
  * @see {@link DescribeVirtualGatewaysCommandOutput} for command's `response` shape.
31
31
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
32
32
  *
33
+ * @throws {@link DirectConnectClientException} (client fault)
34
+ * <p>One or more parameters are not valid.</p>
35
+ *
36
+ * @throws {@link DirectConnectServerException} (server fault)
37
+ * <p>A server-side error occurred.</p>
38
+ *
39
+ *
33
40
  */
34
41
  export declare class DescribeVirtualGatewaysCommand extends $Command<DescribeVirtualGatewaysCommandInput, DescribeVirtualGatewaysCommandOutput, DirectConnectClientResolvedConfig> {
35
42
  readonly input: DescribeVirtualGatewaysCommandInput;
@@ -33,6 +33,13 @@ export interface DescribeVirtualInterfacesCommandOutput extends VirtualInterface
33
33
  * @see {@link DescribeVirtualInterfacesCommandOutput} for command's `response` shape.
34
34
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
35
35
  *
36
+ * @throws {@link DirectConnectClientException} (client fault)
37
+ * <p>One or more parameters are not valid.</p>
38
+ *
39
+ * @throws {@link DirectConnectServerException} (server fault)
40
+ * <p>A server-side error occurred.</p>
41
+ *
42
+ *
36
43
  */
37
44
  export declare class DescribeVirtualInterfacesCommand extends $Command<DescribeVirtualInterfacesCommandInput, DescribeVirtualInterfacesCommandOutput, DirectConnectClientResolvedConfig> {
38
45
  readonly input: DescribeVirtualInterfacesCommandInput;
@@ -38,6 +38,13 @@ export interface DisassociateConnectionFromLagCommandOutput extends Connection,
38
38
  * @see {@link DisassociateConnectionFromLagCommandOutput} 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 DisassociateConnectionFromLagCommand extends $Command<DisassociateConnectionFromLagCommandInput, DisassociateConnectionFromLagCommandOutput, DirectConnectClientResolvedConfig> {
43
50
  readonly input: DisassociateConnectionFromLagCommandInput;
@@ -29,6 +29,13 @@ export interface DisassociateMacSecKeyCommandOutput extends DisassociateMacSecKe
29
29
  * @see {@link DisassociateMacSecKeyCommandOutput} 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 DisassociateMacSecKeyCommand extends $Command<DisassociateMacSecKeyCommandInput, DisassociateMacSecKeyCommandOutput, DirectConnectClientResolvedConfig> {
34
41
  readonly input: DisassociateMacSecKeyCommandInput;
@@ -29,6 +29,13 @@ export interface ListVirtualInterfaceTestHistoryCommandOutput extends ListVirtua
29
29
  * @see {@link ListVirtualInterfaceTestHistoryCommandOutput} 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 ListVirtualInterfaceTestHistoryCommand extends $Command<ListVirtualInterfaceTestHistoryCommandInput, ListVirtualInterfaceTestHistoryCommandOutput, DirectConnectClientResolvedConfig> {
34
41
  readonly input: ListVirtualInterfaceTestHistoryCommandInput;
@@ -32,6 +32,13 @@ export interface StartBgpFailoverTestCommandOutput extends StartBgpFailoverTestR
32
32
  * @see {@link StartBgpFailoverTestCommandOutput} 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 StartBgpFailoverTestCommand extends $Command<StartBgpFailoverTestCommandInput, StartBgpFailoverTestCommandOutput, DirectConnectClientResolvedConfig> {
37
44
  readonly input: StartBgpFailoverTestCommandInput;
@@ -29,6 +29,13 @@ export interface StopBgpFailoverTestCommandOutput extends StopBgpFailoverTestRes
29
29
  * @see {@link StopBgpFailoverTestCommandOutput} 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 StopBgpFailoverTestCommand extends $Command<StopBgpFailoverTestCommandInput, StopBgpFailoverTestCommandOutput, DirectConnectClientResolvedConfig> {
34
41
  readonly input: StopBgpFailoverTestCommandInput;
@@ -30,6 +30,19 @@ export interface TagResourceCommandOutput extends TagResourceResponse, __Metadat
30
30
  * @see {@link TagResourceCommandOutput} for command's `response` shape.
31
31
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
32
32
  *
33
+ * @throws {@link DirectConnectClientException} (client fault)
34
+ * <p>One or more parameters are not valid.</p>
35
+ *
36
+ * @throws {@link DirectConnectServerException} (server fault)
37
+ * <p>A server-side error occurred.</p>
38
+ *
39
+ * @throws {@link DuplicateTagKeysException} (client fault)
40
+ * <p>A tag key was specified more than once.</p>
41
+ *
42
+ * @throws {@link TooManyTagsException} (client fault)
43
+ * <p>You have reached the limit on the number of tags that can be assigned.</p>
44
+ *
45
+ *
33
46
  */
34
47
  export declare class TagResourceCommand extends $Command<TagResourceCommandInput, TagResourceCommandOutput, DirectConnectClientResolvedConfig> {
35
48
  readonly input: TagResourceCommandInput;
@@ -29,6 +29,13 @@ export interface UntagResourceCommandOutput extends UntagResourceResponse, __Met
29
29
  * @see {@link UntagResourceCommandOutput} 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 UntagResourceCommand extends $Command<UntagResourceCommandInput, UntagResourceCommandOutput, DirectConnectClientResolvedConfig> {
34
41
  readonly input: UntagResourceCommandInput;
@@ -38,6 +38,13 @@ export interface UpdateConnectionCommandOutput extends Connection, __MetadataBea
38
38
  * @see {@link UpdateConnectionCommandOutput} 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 UpdateConnectionCommand extends $Command<UpdateConnectionCommandInput, UpdateConnectionCommandOutput, DirectConnectClientResolvedConfig> {
43
50
  readonly input: UpdateConnectionCommandInput;
@@ -30,6 +30,13 @@ export interface UpdateDirectConnectGatewayAssociationCommandOutput extends Upda
30
30
  * @see {@link UpdateDirectConnectGatewayAssociationCommandOutput} for command's `response` shape.
31
31
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
32
32
  *
33
+ * @throws {@link DirectConnectClientException} (client fault)
34
+ * <p>One or more parameters are not valid.</p>
35
+ *
36
+ * @throws {@link DirectConnectServerException} (server fault)
37
+ * <p>A server-side error occurred.</p>
38
+ *
39
+ *
33
40
  */
34
41
  export declare class UpdateDirectConnectGatewayAssociationCommand extends $Command<UpdateDirectConnectGatewayAssociationCommandInput, UpdateDirectConnectGatewayAssociationCommandOutput, DirectConnectClientResolvedConfig> {
35
42
  readonly input: UpdateDirectConnectGatewayAssociationCommandInput;
@@ -29,6 +29,13 @@ export interface UpdateDirectConnectGatewayCommandOutput extends UpdateDirectCon
29
29
  * @see {@link UpdateDirectConnectGatewayCommandOutput} 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 UpdateDirectConnectGatewayCommand extends $Command<UpdateDirectConnectGatewayCommandInput, UpdateDirectConnectGatewayCommandOutput, DirectConnectClientResolvedConfig> {
34
41
  readonly input: UpdateDirectConnectGatewayCommandInput;
@@ -51,6 +51,13 @@ export interface UpdateLagCommandOutput extends Lag, __MetadataBearer {
51
51
  * @see {@link UpdateLagCommandOutput} for command's `response` shape.
52
52
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
53
53
  *
54
+ * @throws {@link DirectConnectClientException} (client fault)
55
+ * <p>One or more parameters are not valid.</p>
56
+ *
57
+ * @throws {@link DirectConnectServerException} (server fault)
58
+ * <p>A server-side error occurred.</p>
59
+ *
60
+ *
54
61
  */
55
62
  export declare class UpdateLagCommand extends $Command<UpdateLagCommandInput, UpdateLagCommandOutput, DirectConnectClientResolvedConfig> {
56
63
  readonly input: UpdateLagCommandInput;
@@ -35,6 +35,13 @@ export interface UpdateVirtualInterfaceAttributesCommandOutput extends VirtualIn
35
35
  * @see {@link UpdateVirtualInterfaceAttributesCommandOutput} for command's `response` shape.
36
36
  * @see {@link DirectConnectClientResolvedConfig | config} for DirectConnectClient's `config` shape.
37
37
  *
38
+ * @throws {@link DirectConnectClientException} (client fault)
39
+ * <p>One or more parameters are not valid.</p>
40
+ *
41
+ * @throws {@link DirectConnectServerException} (server fault)
42
+ * <p>A server-side error occurred.</p>
43
+ *
44
+ *
38
45
  */
39
46
  export declare class UpdateVirtualInterfaceAttributesCommand extends $Command<UpdateVirtualInterfaceAttributesCommandInput, UpdateVirtualInterfaceAttributesCommandOutput, DirectConnectClientResolvedConfig> {
40
47
  readonly input: UpdateVirtualInterfaceAttributesCommandInput;
@@ -54,7 +54,13 @@ export interface AssociatedGateway {
54
54
  */
55
55
  region?: string;
56
56
  }
57
- export declare type DirectConnectGatewayAssociationState = "associated" | "associating" | "disassociated" | "disassociating" | "updating";
57
+ export declare enum DirectConnectGatewayAssociationState {
58
+ associated = "associated",
59
+ associating = "associating",
60
+ disassociated = "disassociated",
61
+ disassociating = "disassociating",
62
+ updating = "updating"
63
+ }
58
64
  /**
59
65
  * <p>Information about an association between a Direct Connect gateway and a virtual private gateway or transit gateway.</p>
60
66
  */
@@ -86,6 +92,11 @@ export interface DirectConnectGatewayAssociation {
86
92
  * <p>
87
93
  * <code>disassociated</code>: The virtual private gateway or transit gateway is disassociated from the Direct Connect gateway. Traffic flow between the Direct Connect gateway and virtual private gateway or transit gateway is stopped.</p>
88
94
  * </li>
95
+ * <li>
96
+ * <p>
97
+ * <code>updating</code>: The CIDR blocks for the virtual private gateway or transit gateway are currently being updated. This could
98
+ * be new CIDR blocks added or current CIDR blocks removed.</p>
99
+ * </li>
89
100
  * </ul>
90
101
  */
91
102
  associationState?: DirectConnectGatewayAssociationState | string;
@@ -191,7 +202,17 @@ export interface AllocateConnectionOnInterconnectRequest {
191
202
  */
192
203
  vlan: number | undefined;
193
204
  }
194
- export declare type ConnectionState = "available" | "deleted" | "deleting" | "down" | "ordering" | "pending" | "rejected" | "requested" | "unknown";
205
+ export declare enum ConnectionState {
206
+ available = "available",
207
+ deleted = "deleted",
208
+ deleting = "deleting",
209
+ down = "down",
210
+ ordering = "ordering",
211
+ pending = "pending",
212
+ rejected = "rejected",
213
+ requested = "requested",
214
+ unknown = "unknown"
215
+ }
195
216
  export declare enum HasLogicalRedundancy {
196
217
  No = "no",
197
218
  Unknown = "unknown",
@@ -585,7 +606,17 @@ export interface BGPPeer {
585
606
  */
586
607
  awsLogicalDeviceId?: string;
587
608
  }
588
- export declare type VirtualInterfaceState = "available" | "confirming" | "deleted" | "deleting" | "down" | "pending" | "rejected" | "unknown" | "verifying";
609
+ export declare enum VirtualInterfaceState {
610
+ available = "available",
611
+ confirming = "confirming",
612
+ deleted = "deleted",
613
+ deleting = "deleting",
614
+ down = "down",
615
+ pending = "pending",
616
+ rejected = "rejected",
617
+ unknown = "unknown",
618
+ verifying = "verifying"
619
+ }
589
620
  /**
590
621
  * <p>Information about a virtual interface.</p>
591
622
  */
@@ -645,7 +676,7 @@ export interface VirtualInterface {
645
676
  addressFamily?: AddressFamily | string;
646
677
  /**
647
678
  * <p>The state of the virtual interface. The following are the possible values:</p>
648
- * <ul>
679
+ * <ul>
649
680
  * <li>
650
681
  * <p>
651
682
  * <code>confirming</code>: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.</p>
@@ -1005,7 +1036,7 @@ export interface ConfirmPrivateVirtualInterfaceRequest {
1005
1036
  export interface ConfirmPrivateVirtualInterfaceResponse {
1006
1037
  /**
1007
1038
  * <p>The state of the virtual interface. The following are the possible values:</p>
1008
- * <ul>
1039
+ * <ul>
1009
1040
  * <li>
1010
1041
  * <p>
1011
1042
  * <code>confirming</code>: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.</p>
@@ -1055,7 +1086,7 @@ export interface ConfirmPublicVirtualInterfaceRequest {
1055
1086
  export interface ConfirmPublicVirtualInterfaceResponse {
1056
1087
  /**
1057
1088
  * <p>The state of the virtual interface. The following are the possible values:</p>
1058
- * <ul>
1089
+ * <ul>
1059
1090
  * <li>
1060
1091
  * <p>
1061
1092
  * <code>confirming</code>: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.</p>
@@ -1109,7 +1140,7 @@ export interface ConfirmTransitVirtualInterfaceRequest {
1109
1140
  export interface ConfirmTransitVirtualInterfaceResponse {
1110
1141
  /**
1111
1142
  * <p>The state of the virtual interface. The following are the possible values:</p>
1112
- * <ul>
1143
+ * <ul>
1113
1144
  * <li>
1114
1145
  * <p>
1115
1146
  * <code>confirming</code>: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.</p>
@@ -1240,7 +1271,12 @@ export interface CreateDirectConnectGatewayRequest {
1240
1271
  */
1241
1272
  amazonSideAsn?: number;
1242
1273
  }
1243
- export declare type DirectConnectGatewayState = "available" | "deleted" | "deleting" | "pending";
1274
+ export declare enum DirectConnectGatewayState {
1275
+ available = "available",
1276
+ deleted = "deleted",
1277
+ deleting = "deleting",
1278
+ pending = "pending"
1279
+ }
1244
1280
  /**
1245
1281
  * <p>Information about a Direct Connect gateway, which enables you to connect virtual interfaces and virtual private gateway or transit gateways.</p>
1246
1282
  */
@@ -1263,7 +1299,7 @@ export interface DirectConnectGateway {
1263
1299
  ownerAccount?: string;
1264
1300
  /**
1265
1301
  * <p>The state of the Direct Connect gateway. The following are the possible values:</p>
1266
- * <ul>
1302
+ * <ul>
1267
1303
  * <li>
1268
1304
  * <p>
1269
1305
  * <code>pending</code>: The initial state after calling <a>CreateDirectConnectGateway</a>.</p>
@@ -1342,7 +1378,11 @@ export interface CreateDirectConnectGatewayAssociationProposalRequest {
1342
1378
  */
1343
1379
  removeAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefix[];
1344
1380
  }
1345
- export declare type DirectConnectGatewayAssociationProposalState = "accepted" | "deleted" | "requested";
1381
+ export declare enum DirectConnectGatewayAssociationProposalState {
1382
+ accepted = "accepted",
1383
+ deleted = "deleted",
1384
+ requested = "requested"
1385
+ }
1346
1386
  /**
1347
1387
  * <p>Information about the proposal request to attach a virtual private gateway to a Direct Connect gateway. </p>
1348
1388
  */
@@ -1422,7 +1462,15 @@ export interface CreateInterconnectRequest {
1422
1462
  */
1423
1463
  providerName?: string;
1424
1464
  }
1425
- export declare type InterconnectState = "available" | "deleted" | "deleting" | "down" | "pending" | "requested" | "unknown";
1465
+ export declare enum InterconnectState {
1466
+ available = "available",
1467
+ deleted = "deleted",
1468
+ deleting = "deleting",
1469
+ down = "down",
1470
+ pending = "pending",
1471
+ requested = "requested",
1472
+ unknown = "unknown"
1473
+ }
1426
1474
  /**
1427
1475
  * <p>Information about an interconnect.</p>
1428
1476
  */
@@ -1565,7 +1613,15 @@ export interface CreateLagRequest {
1565
1613
  */
1566
1614
  requestMACSec?: boolean;
1567
1615
  }
1568
- export declare type LagState = "available" | "deleted" | "deleting" | "down" | "pending" | "requested" | "unknown";
1616
+ export declare enum LagState {
1617
+ available = "available",
1618
+ deleted = "deleted",
1619
+ deleting = "deleting",
1620
+ down = "down",
1621
+ pending = "pending",
1622
+ requested = "requested",
1623
+ unknown = "unknown"
1624
+ }
1569
1625
  /**
1570
1626
  * <p>Information about a link aggregation group (LAG).</p>
1571
1627
  */
@@ -1593,7 +1649,7 @@ export interface Lag {
1593
1649
  lagName?: string;
1594
1650
  /**
1595
1651
  * <p>The state of the LAG. The following are the possible values:</p>
1596
- * <ul>
1652
+ * <ul>
1597
1653
  * <li>
1598
1654
  * <p>
1599
1655
  * <code>requested</code>: The initial state of a LAG. The LAG stays in the
@@ -2005,7 +2061,7 @@ export interface DeleteVirtualInterfaceRequest {
2005
2061
  export interface DeleteVirtualInterfaceResponse {
2006
2062
  /**
2007
2063
  * <p>The state of the virtual interface. The following are the possible values:</p>
2008
- * <ul>
2064
+ * <ul>
2009
2065
  * <li>
2010
2066
  * <p>
2011
2067
  * <code>confirming</code>: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner.</p>
@@ -2137,7 +2193,7 @@ export interface DescribeDirectConnectGatewayAssociationProposalsRequest {
2137
2193
  /**
2138
2194
  * <p>The maximum number of results to return with a single call.
2139
2195
  * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
2140
- * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2196
+ * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2141
2197
  * returned.</p>
2142
2198
  */
2143
2199
  maxResults?: number;
@@ -2172,7 +2228,7 @@ export interface DescribeDirectConnectGatewayAssociationsRequest {
2172
2228
  /**
2173
2229
  * <p>The maximum number of results to return with a single call.
2174
2230
  * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
2175
- * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2231
+ * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2176
2232
  * returned.</p>
2177
2233
  */
2178
2234
  maxResults?: number;
@@ -2207,7 +2263,7 @@ export interface DescribeDirectConnectGatewayAttachmentsRequest {
2207
2263
  /**
2208
2264
  * <p>The maximum number of results to return with a single call.
2209
2265
  * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
2210
- * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2266
+ * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2211
2267
  * returned.</p>
2212
2268
  */
2213
2269
  maxResults?: number;
@@ -2216,8 +2272,16 @@ export interface DescribeDirectConnectGatewayAttachmentsRequest {
2216
2272
  */
2217
2273
  nextToken?: string;
2218
2274
  }
2219
- export declare type DirectConnectGatewayAttachmentState = "attached" | "attaching" | "detached" | "detaching";
2220
- export declare type DirectConnectGatewayAttachmentType = "PrivateVirtualInterface" | "TransitVirtualInterface";
2275
+ export declare enum DirectConnectGatewayAttachmentState {
2276
+ attached = "attached",
2277
+ attaching = "attaching",
2278
+ detached = "detached",
2279
+ detaching = "detaching"
2280
+ }
2281
+ export declare enum DirectConnectGatewayAttachmentType {
2282
+ PrivateVirtualInterface = "PrivateVirtualInterface",
2283
+ TransitVirtualInterface = "TransitVirtualInterface"
2284
+ }
2221
2285
  /**
2222
2286
  * <p>Information about an attachment between a Direct Connect gateway and a virtual interface.</p>
2223
2287
  */
@@ -2287,7 +2351,7 @@ export interface DescribeDirectConnectGatewaysRequest {
2287
2351
  /**
2288
2352
  * <p>The maximum number of results to return with a single call.
2289
2353
  * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
2290
- * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2354
+ * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2291
2355
  * returned.</p>
2292
2356
  */
2293
2357
  maxResults?: number;
@@ -2596,7 +2660,7 @@ export interface ListVirtualInterfaceTestHistoryRequest {
2596
2660
  /**
2597
2661
  * <p>The maximum number of results to return with a single call.
2598
2662
  * To retrieve the remaining results, make another call with the returned <code>nextToken</code> value.</p>
2599
- * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2663
+ * <p>If <code>MaxResults</code> is given a value larger than 100, only 100 results are
2600
2664
  * returned.</p>
2601
2665
  */
2602
2666
  maxResults?: number;
@@ -2663,7 +2727,7 @@ export interface StartBgpFailoverTestRequest {
2663
2727
  bgpPeers?: string[];
2664
2728
  /**
2665
2729
  * <p>The time in minutes that the virtual interface failover test will last.</p>
2666
- * <p>Maximum value: 180 minutes (3 hours).</p>
2730
+ * <p>Maximum value: 4,320 minutes (72 hours).</p>
2667
2731
  * <p>Default: 180 minutes (3 hours).</p>
2668
2732
  */
2669
2733
  testDurationInMinutes?: number;
@@ -19,12 +19,13 @@ export interface AssociatedGateway {
19
19
  ownerAccount?: string;
20
20
  region?: string;
21
21
  }
22
- export declare type DirectConnectGatewayAssociationState =
23
- | "associated"
24
- | "associating"
25
- | "disassociated"
26
- | "disassociating"
27
- | "updating";
22
+ export declare enum DirectConnectGatewayAssociationState {
23
+ associated = "associated",
24
+ associating = "associating",
25
+ disassociated = "disassociated",
26
+ disassociating = "disassociating",
27
+ updating = "updating",
28
+ }
28
29
  export interface DirectConnectGatewayAssociation {
29
30
  directConnectGatewayId?: string;
30
31
  directConnectGatewayOwnerAccount?: string;
@@ -69,16 +70,17 @@ export interface AllocateConnectionOnInterconnectRequest {
69
70
  interconnectId: string | undefined;
70
71
  vlan: number | undefined;
71
72
  }
72
- export declare type ConnectionState =
73
- | "available"
74
- | "deleted"
75
- | "deleting"
76
- | "down"
77
- | "ordering"
78
- | "pending"
79
- | "rejected"
80
- | "requested"
81
- | "unknown";
73
+ export declare enum ConnectionState {
74
+ available = "available",
75
+ deleted = "deleted",
76
+ deleting = "deleting",
77
+ down = "down",
78
+ ordering = "ordering",
79
+ pending = "pending",
80
+ rejected = "rejected",
81
+ requested = "requested",
82
+ unknown = "unknown",
83
+ }
82
84
  export declare enum HasLogicalRedundancy {
83
85
  No = "no",
84
86
  Unknown = "unknown",
@@ -182,16 +184,17 @@ export interface BGPPeer {
182
184
  awsDeviceV2?: string;
183
185
  awsLogicalDeviceId?: string;
184
186
  }
185
- export declare type VirtualInterfaceState =
186
- | "available"
187
- | "confirming"
188
- | "deleted"
189
- | "deleting"
190
- | "down"
191
- | "pending"
192
- | "rejected"
193
- | "unknown"
194
- | "verifying";
187
+ export declare enum VirtualInterfaceState {
188
+ available = "available",
189
+ confirming = "confirming",
190
+ deleted = "deleted",
191
+ deleting = "deleting",
192
+ down = "down",
193
+ pending = "pending",
194
+ rejected = "rejected",
195
+ unknown = "unknown",
196
+ verifying = "verifying",
197
+ }
195
198
  export interface VirtualInterface {
196
199
  ownerAccount?: string;
197
200
  virtualInterfaceId?: string;
@@ -344,11 +347,12 @@ export interface CreateDirectConnectGatewayRequest {
344
347
  directConnectGatewayName: string | undefined;
345
348
  amazonSideAsn?: number;
346
349
  }
347
- export declare type DirectConnectGatewayState =
348
- | "available"
349
- | "deleted"
350
- | "deleting"
351
- | "pending";
350
+ export declare enum DirectConnectGatewayState {
351
+ available = "available",
352
+ deleted = "deleted",
353
+ deleting = "deleting",
354
+ pending = "pending",
355
+ }
352
356
  export interface DirectConnectGateway {
353
357
  directConnectGatewayId?: string;
354
358
  directConnectGatewayName?: string;
@@ -376,10 +380,11 @@ export interface CreateDirectConnectGatewayAssociationProposalRequest {
376
380
  addAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefix[];
377
381
  removeAllowedPrefixesToDirectConnectGateway?: RouteFilterPrefix[];
378
382
  }
379
- export declare type DirectConnectGatewayAssociationProposalState =
380
- | "accepted"
381
- | "deleted"
382
- | "requested";
383
+ export declare enum DirectConnectGatewayAssociationProposalState {
384
+ accepted = "accepted",
385
+ deleted = "deleted",
386
+ requested = "requested",
387
+ }
383
388
  export interface DirectConnectGatewayAssociationProposal {
384
389
  proposalId?: string;
385
390
  directConnectGatewayId?: string;
@@ -400,14 +405,15 @@ export interface CreateInterconnectRequest {
400
405
  tags?: Tag[];
401
406
  providerName?: string;
402
407
  }
403
- export declare type InterconnectState =
404
- | "available"
405
- | "deleted"
406
- | "deleting"
407
- | "down"
408
- | "pending"
409
- | "requested"
410
- | "unknown";
408
+ export declare enum InterconnectState {
409
+ available = "available",
410
+ deleted = "deleted",
411
+ deleting = "deleting",
412
+ down = "down",
413
+ pending = "pending",
414
+ requested = "requested",
415
+ unknown = "unknown",
416
+ }
411
417
  export interface Interconnect {
412
418
  interconnectId?: string;
413
419
  interconnectName?: string;
@@ -436,14 +442,15 @@ export interface CreateLagRequest {
436
442
  providerName?: string;
437
443
  requestMACSec?: boolean;
438
444
  }
439
- export declare type LagState =
440
- | "available"
441
- | "deleted"
442
- | "deleting"
443
- | "down"
444
- | "pending"
445
- | "requested"
446
- | "unknown";
445
+ export declare enum LagState {
446
+ available = "available",
447
+ deleted = "deleted",
448
+ deleting = "deleting",
449
+ down = "down",
450
+ pending = "pending",
451
+ requested = "requested",
452
+ unknown = "unknown",
453
+ }
447
454
  export interface Lag {
448
455
  connectionsBandwidth?: string;
449
456
  numberOfConnections?: number;
@@ -626,14 +633,16 @@ export interface DescribeDirectConnectGatewayAttachmentsRequest {
626
633
  maxResults?: number;
627
634
  nextToken?: string;
628
635
  }
629
- export declare type DirectConnectGatewayAttachmentState =
630
- | "attached"
631
- | "attaching"
632
- | "detached"
633
- | "detaching";
634
- export declare type DirectConnectGatewayAttachmentType =
635
- | "PrivateVirtualInterface"
636
- | "TransitVirtualInterface";
636
+ export declare enum DirectConnectGatewayAttachmentState {
637
+ attached = "attached",
638
+ attaching = "attaching",
639
+ detached = "detached",
640
+ detaching = "detaching",
641
+ }
642
+ export declare enum DirectConnectGatewayAttachmentType {
643
+ PrivateVirtualInterface = "PrivateVirtualInterface",
644
+ TransitVirtualInterface = "TransitVirtualInterface",
645
+ }
637
646
  export interface DirectConnectGatewayAttachment {
638
647
  directConnectGatewayId?: string;
639
648
  virtualInterfaceId?: string;