aws-sdk-directconnect 1.0.0.rc2 → 1.0.0.rc3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,23 +1,14 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module DirectConnect
10
- module Errors
8
+ module Aws::DirectConnect
9
+ module Errors
11
10
 
12
- extend Aws::Errors::DynamicErrors
11
+ extend Aws::Errors::DynamicErrors
13
12
 
14
- # Raised when calling #load or #data on a resource class that can not be
15
- # loaded. This can happen when:
16
- #
17
- # * A resource class has identifiers, but no data attributes.
18
- # * Resource data is only available when making an API call that
19
- # enumerates all resources of that type.
20
- class ResourceNotLoadable < RuntimeError; end
21
- end
22
13
  end
23
14
  end
@@ -1,25 +1,23 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module DirectConnect
10
- class Resource
8
+ module Aws::DirectConnect
9
+ class Resource
11
10
 
12
- # @param options ({})
13
- # @option options [Client] :client
14
- def initialize(options = {})
15
- @client = options[:client] || Client.new(options)
16
- end
17
-
18
- # @return [Client]
19
- def client
20
- @client
21
- end
11
+ # @param options ({})
12
+ # @option options [Client] :client
13
+ def initialize(options = {})
14
+ @client = options[:client] || Client.new(options)
15
+ end
22
16
 
17
+ # @return [Client]
18
+ def client
19
+ @client
23
20
  end
21
+
24
22
  end
25
23
  end
@@ -1,1942 +1,2810 @@
1
1
  # WARNING ABOUT GENERATED CODE
2
2
  #
3
- # This file is generated. See the contributing for info on making contributions:
3
+ # This file is generated. See the contributing guide for more information:
4
4
  # https://github.com/aws/aws-sdk-ruby/blob/master/CONTRIBUTING.md
5
5
  #
6
6
  # WARNING ABOUT GENERATED CODE
7
7
 
8
- module Aws
9
- module DirectConnect
10
- module Types
11
-
12
- # Container for the parameters to the AllocateConnectionOnInterconnect
13
- # operation.
14
- # @note When making an API call, pass AllocateConnectionOnInterconnectRequest
15
- # data as a hash:
16
- #
17
- # {
18
- # bandwidth: "Bandwidth", # required
19
- # connection_name: "ConnectionName", # required
20
- # owner_account: "OwnerAccount", # required
21
- # interconnect_id: "InterconnectId", # required
22
- # vlan: 1, # required
23
- # }
24
- # @!attribute [rw] bandwidth
25
- # Bandwidth of the connection.
26
- #
27
- # Example: "*500Mbps*"
28
- #
29
- # Default: None
30
- #
31
- # Values: 50M, 100M, 200M, 300M, 400M, or 500M
32
- # @return [String]
33
- #
34
- # @!attribute [rw] connection_name
35
- # Name of the provisioned connection.
36
- #
37
- # Example: "*500M Connection to AWS*"
38
- #
39
- # Default: None
40
- # @return [String]
41
- #
42
- # @!attribute [rw] owner_account
43
- # Numeric account Id of the customer for whom the connection will be
44
- # provisioned.
45
- #
46
- # Example: 123443215678
47
- #
48
- # Default: None
49
- # @return [String]
50
- #
51
- # @!attribute [rw] interconnect_id
52
- # ID of the interconnect on which the connection will be provisioned.
53
- #
54
- # Example: dxcon-456abc78
55
- #
56
- # Default: None
57
- # @return [String]
58
- #
59
- # @!attribute [rw] vlan
60
- # The dedicated VLAN provisioned to the connection.
61
- #
62
- # Example: 101
63
- #
64
- # Default: None
65
- # @return [Integer]
66
- class AllocateConnectionOnInterconnectRequest < Struct.new(
67
- :bandwidth,
68
- :connection_name,
69
- :owner_account,
70
- :interconnect_id,
71
- :vlan)
72
- include Aws::Structure
73
- end
74
-
75
- # Container for the parameters to the AllocatePrivateVirtualInterface
76
- # operation.
77
- # @note When making an API call, pass AllocatePrivateVirtualInterfaceRequest
78
- # data as a hash:
79
- #
80
- # {
81
- # connection_id: "ConnectionId", # required
82
- # owner_account: "OwnerAccount", # required
83
- # new_private_virtual_interface_allocation: { # required
84
- # virtual_interface_name: "VirtualInterfaceName", # required
85
- # vlan: 1, # required
86
- # asn: 1, # required
87
- # auth_key: "BGPAuthKey",
88
- # amazon_address: "AmazonAddress",
89
- # address_family: "ipv4", # accepts ipv4, ipv6
90
- # customer_address: "CustomerAddress",
91
- # },
92
- # }
93
- # @!attribute [rw] connection_id
94
- # The connection ID on which the private virtual interface is
95
- # provisioned.
96
- #
97
- # Default: None
98
- # @return [String]
99
- #
100
- # @!attribute [rw] owner_account
101
- # The AWS account that will own the new private virtual interface.
102
- #
103
- # Default: None
104
- # @return [String]
105
- #
106
- # @!attribute [rw] new_private_virtual_interface_allocation
107
- # Detailed information for the private virtual interface to be
108
- # provisioned.
109
- #
110
- # Default: None
111
- # @return [Types::NewPrivateVirtualInterfaceAllocation]
112
- class AllocatePrivateVirtualInterfaceRequest < Struct.new(
113
- :connection_id,
114
- :owner_account,
115
- :new_private_virtual_interface_allocation)
116
- include Aws::Structure
117
- end
118
-
119
- # Container for the parameters to the AllocatePublicVirtualInterface
120
- # operation.
121
- # @note When making an API call, pass AllocatePublicVirtualInterfaceRequest
122
- # data as a hash:
123
- #
124
- # {
125
- # connection_id: "ConnectionId", # required
126
- # owner_account: "OwnerAccount", # required
127
- # new_public_virtual_interface_allocation: { # required
128
- # virtual_interface_name: "VirtualInterfaceName", # required
129
- # vlan: 1, # required
130
- # asn: 1, # required
131
- # auth_key: "BGPAuthKey",
132
- # amazon_address: "AmazonAddress",
133
- # customer_address: "CustomerAddress",
134
- # address_family: "ipv4", # accepts ipv4, ipv6
135
- # route_filter_prefixes: [
136
- # {
137
- # cidr: "CIDR",
138
- # },
139
- # ],
140
- # },
141
- # }
142
- # @!attribute [rw] connection_id
143
- # The connection ID on which the public virtual interface is
144
- # provisioned.
145
- #
146
- # Default: None
147
- # @return [String]
148
- #
149
- # @!attribute [rw] owner_account
150
- # The AWS account that will own the new public virtual interface.
151
- #
152
- # Default: None
153
- # @return [String]
154
- #
155
- # @!attribute [rw] new_public_virtual_interface_allocation
156
- # Detailed information for the public virtual interface to be
157
- # provisioned.
158
- #
159
- # Default: None
160
- # @return [Types::NewPublicVirtualInterfaceAllocation]
161
- class AllocatePublicVirtualInterfaceRequest < Struct.new(
162
- :connection_id,
163
- :owner_account,
164
- :new_public_virtual_interface_allocation)
165
- include Aws::Structure
166
- end
167
-
168
- # A structure containing information about a BGP peer.
169
- # @!attribute [rw] asn
170
- # Autonomous system (AS) number for Border Gateway Protocol (BGP)
171
- # configuration.
172
- #
173
- # Example: 65000
174
- # @return [Integer]
175
- #
176
- # @!attribute [rw] auth_key
177
- # Authentication key for BGP configuration.
178
- #
179
- # Example: asdf34example
180
- # @return [String]
181
- #
182
- # @!attribute [rw] address_family
183
- # Indicates the address family for the BGP peer.
184
- #
185
- # * **ipv4**\: IPv4 address family
186
- #
187
- # * **ipv6**\: IPv6 address family
188
- # @return [String]
189
- #
190
- # @!attribute [rw] amazon_address
191
- # IP address assigned to the Amazon interface.
192
- #
193
- # Example: 192.168.1.1/30 or 2001:db8::1/125
194
- # @return [String]
195
- #
196
- # @!attribute [rw] customer_address
197
- # IP address assigned to the customer interface.
198
- #
199
- # Example: 192.168.1.2/30 or 2001:db8::2/125
200
- # @return [String]
201
- #
202
- # @!attribute [rw] bgp_peer_state
203
- # The state of the BGP peer.
204
- #
205
- # * **Verifying**\: The BGP peering addresses or ASN require
206
- # validation before the BGP peer can be created. This state only
207
- # applies to BGP peers on a public virtual interface.
208
- #
209
- # * **Pending**\: The BGP peer has been created, and is in this state
210
- # until it is ready to be established.
211
- #
212
- # * **Available**\: The BGP peer can be established.
213
- #
214
- # * **Deleting**\: The BGP peer is in the process of being deleted.
215
- #
216
- # * **Deleted**\: The BGP peer has been deleted and cannot be
217
- # established.
218
- # @return [String]
219
- #
220
- # @!attribute [rw] bgp_status
221
- # The Up/Down state of the BGP peer.
222
- #
223
- # * **Up**\: The BGP peer is established.
224
- #
225
- # * **Down**\: The BGP peer is down.
226
- # @return [String]
227
- class BGPPeer < Struct.new(
228
- :asn,
229
- :auth_key,
230
- :address_family,
231
- :amazon_address,
232
- :customer_address,
233
- :bgp_peer_state,
234
- :bgp_status)
235
- include Aws::Structure
236
- end
237
-
238
- # Container for the parameters to the ConfirmConnection operation.
239
- # @note When making an API call, pass ConfirmConnectionRequest
240
- # data as a hash:
241
- #
242
- # {
243
- # connection_id: "ConnectionId", # required
244
- # }
245
- # @!attribute [rw] connection_id
246
- # ID of the connection.
247
- #
248
- # Example: dxcon-fg5678gh
249
- #
250
- # Default: None
251
- # @return [String]
252
- class ConfirmConnectionRequest < Struct.new(
253
- :connection_id)
254
- include Aws::Structure
255
- end
256
-
257
- # The response received when ConfirmConnection is called.
258
- # @!attribute [rw] connection_state
259
- # State of the connection.
260
- #
261
- # * **Ordering**\: The initial state of a hosted connection
262
- # provisioned on an interconnect. The connection stays in the
263
- # ordering state until the owner of the hosted connection confirms
264
- # or declines the connection order.
265
- #
266
- # * **Requested**\: The initial state of a standard connection. The
267
- # connection stays in the requested state until the Letter of
268
- # Authorization (LOA) is sent to the customer.
269
- #
270
- # * **Pending**\: The connection has been approved, and is being
271
- # initialized.
272
- #
273
- # * **Available**\: The network link is up, and the connection is
274
- # ready for use.
275
- #
276
- # * **Down**\: The network link is down.
277
- #
278
- # * **Deleting**\: The connection is in the process of being deleted.
279
- #
280
- # * **Deleted**\: The connection has been deleted.
281
- #
282
- # * **Rejected**\: A hosted connection in the 'Ordering' state will
283
- # enter the 'Rejected' state if it is deleted by the end customer.
284
- # @return [String]
285
- class ConfirmConnectionResponse < Struct.new(
286
- :connection_state)
287
- include Aws::Structure
288
- end
289
-
290
- # Container for the parameters to the ConfirmPrivateVirtualInterface
291
- # operation.
292
- # @note When making an API call, pass ConfirmPrivateVirtualInterfaceRequest
293
- # data as a hash:
294
- #
295
- # {
296
- # virtual_interface_id: "VirtualInterfaceId", # required
297
- # virtual_gateway_id: "VirtualGatewayId", # required
298
- # }
299
- # @!attribute [rw] virtual_interface_id
300
- # ID of the virtual interface.
301
- #
302
- # Example: dxvif-123dfg56
303
- #
304
- # Default: None
305
- # @return [String]
306
- #
307
- # @!attribute [rw] virtual_gateway_id
308
- # ID of the virtual private gateway that will be attached to the
309
- # virtual interface.
310
- #
311
- # A virtual private gateway can be managed via the Amazon Virtual
312
- # Private Cloud (VPC) console or the [EC2 CreateVpnGateway][1] action.
313
- #
314
- # Default: None
315
- #
316
- #
317
- #
318
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-CreateVpnGateway.html
319
- # @return [String]
320
- class ConfirmPrivateVirtualInterfaceRequest < Struct.new(
321
- :virtual_interface_id,
322
- :virtual_gateway_id)
323
- include Aws::Structure
324
- end
325
-
326
- # The response received when ConfirmPrivateVirtualInterface is called.
327
- # @!attribute [rw] virtual_interface_state
328
- # State of the virtual interface.
329
- #
330
- # * **Confirming**\: The creation of the virtual interface is pending
331
- # confirmation from the virtual interface owner. If the owner of the
332
- # virtual interface is different from the owner of the connection on
333
- # which it is provisioned, then the virtual interface will remain in
334
- # this state until it is confirmed by the virtual interface owner.
335
- #
336
- # * **Verifying**\: This state only applies to public virtual
337
- # interfaces. Each public virtual interface needs validation before
338
- # the virtual interface can be created.
339
- #
340
- # * **Pending**\: A virtual interface is in this state from the time
341
- # that it is created until the virtual interface is ready to forward
342
- # traffic.
343
- #
344
- # * **Available**\: A virtual interface that is able to forward
345
- # traffic.
346
- #
347
- # * **Down**\: A virtual interface that is BGP down.
348
- #
349
- # * **Deleting**\: A virtual interface is in this state immediately
350
- # after calling *DeleteVirtualInterface* until it can no longer
351
- # forward traffic.
352
- #
353
- # * **Deleted**\: A virtual interface that cannot forward traffic.
354
- #
355
- # * **Rejected**\: The virtual interface owner has declined creation
356
- # of the virtual interface. If a virtual interface in the
357
- # 'Confirming' state is deleted by the virtual interface owner,
358
- # the virtual interface will enter the 'Rejected' state.
359
- # @return [String]
360
- class ConfirmPrivateVirtualInterfaceResponse < Struct.new(
361
- :virtual_interface_state)
362
- include Aws::Structure
363
- end
364
-
365
- # Container for the parameters to the ConfirmPublicVirtualInterface
366
- # operation.
367
- # @note When making an API call, pass ConfirmPublicVirtualInterfaceRequest
368
- # data as a hash:
369
- #
370
- # {
371
- # virtual_interface_id: "VirtualInterfaceId", # required
372
- # }
373
- # @!attribute [rw] virtual_interface_id
374
- # ID of the virtual interface.
375
- #
376
- # Example: dxvif-123dfg56
377
- #
378
- # Default: None
379
- # @return [String]
380
- class ConfirmPublicVirtualInterfaceRequest < Struct.new(
381
- :virtual_interface_id)
382
- include Aws::Structure
383
- end
384
-
385
- # The response received when ConfirmPublicVirtualInterface is called.
386
- # @!attribute [rw] virtual_interface_state
387
- # State of the virtual interface.
388
- #
389
- # * **Confirming**\: The creation of the virtual interface is pending
390
- # confirmation from the virtual interface owner. If the owner of the
391
- # virtual interface is different from the owner of the connection on
392
- # which it is provisioned, then the virtual interface will remain in
393
- # this state until it is confirmed by the virtual interface owner.
394
- #
395
- # * **Verifying**\: This state only applies to public virtual
396
- # interfaces. Each public virtual interface needs validation before
397
- # the virtual interface can be created.
398
- #
399
- # * **Pending**\: A virtual interface is in this state from the time
400
- # that it is created until the virtual interface is ready to forward
401
- # traffic.
402
- #
403
- # * **Available**\: A virtual interface that is able to forward
404
- # traffic.
405
- #
406
- # * **Down**\: A virtual interface that is BGP down.
407
- #
408
- # * **Deleting**\: A virtual interface is in this state immediately
409
- # after calling *DeleteVirtualInterface* until it can no longer
410
- # forward traffic.
411
- #
412
- # * **Deleted**\: A virtual interface that cannot forward traffic.
413
- #
414
- # * **Rejected**\: The virtual interface owner has declined creation
415
- # of the virtual interface. If a virtual interface in the
416
- # 'Confirming' state is deleted by the virtual interface owner,
417
- # the virtual interface will enter the 'Rejected' state.
418
- # @return [String]
419
- class ConfirmPublicVirtualInterfaceResponse < Struct.new(
420
- :virtual_interface_state)
421
- include Aws::Structure
422
- end
423
-
424
- # A connection represents the physical network connection between the
425
- # AWS Direct Connect location and the customer.
426
- # @!attribute [rw] owner_account
427
- # The AWS account that will own the new connection.
428
- # @return [String]
429
- #
430
- # @!attribute [rw] connection_id
431
- # ID of the connection.
432
- #
433
- # Example: dxcon-fg5678gh
434
- #
435
- # Default: None
436
- # @return [String]
437
- #
438
- # @!attribute [rw] connection_name
439
- # The name of the connection.
440
- #
441
- # Example: "*My Connection to AWS*"
442
- #
443
- # Default: None
444
- # @return [String]
445
- #
446
- # @!attribute [rw] connection_state
447
- # State of the connection.
448
- #
449
- # * **Ordering**\: The initial state of a hosted connection
450
- # provisioned on an interconnect. The connection stays in the
451
- # ordering state until the owner of the hosted connection confirms
452
- # or declines the connection order.
453
- #
454
- # * **Requested**\: The initial state of a standard connection. The
455
- # connection stays in the requested state until the Letter of
456
- # Authorization (LOA) is sent to the customer.
457
- #
458
- # * **Pending**\: The connection has been approved, and is being
459
- # initialized.
460
- #
461
- # * **Available**\: The network link is up, and the connection is
462
- # ready for use.
463
- #
464
- # * **Down**\: The network link is down.
465
- #
466
- # * **Deleting**\: The connection is in the process of being deleted.
467
- #
468
- # * **Deleted**\: The connection has been deleted.
469
- #
470
- # * **Rejected**\: A hosted connection in the 'Ordering' state will
471
- # enter the 'Rejected' state if it is deleted by the end customer.
472
- # @return [String]
473
- #
474
- # @!attribute [rw] region
475
- # The AWS region where the connection is located.
476
- #
477
- # Example: us-east-1
478
- #
479
- # Default: None
480
- # @return [String]
481
- #
482
- # @!attribute [rw] location
483
- # Where the connection is located.
484
- #
485
- # Example: EqSV5
486
- #
487
- # Default: None
488
- # @return [String]
489
- #
490
- # @!attribute [rw] bandwidth
491
- # Bandwidth of the connection.
492
- #
493
- # Example: 1Gbps (for regular connections), or 500Mbps (for hosted
494
- # connections)
495
- #
496
- # Default: None
497
- # @return [String]
498
- #
499
- # @!attribute [rw] vlan
500
- # The VLAN ID.
501
- #
502
- # Example: 101
503
- # @return [Integer]
504
- #
505
- # @!attribute [rw] partner_name
506
- # The name of the AWS Direct Connect service provider associated with
507
- # the connection.
508
- # @return [String]
509
- #
510
- # @!attribute [rw] loa_issue_time
511
- # The time of the most recent call to DescribeConnectionLoa for this
512
- # Connection.
513
- # @return [Time]
514
- class Connection < Struct.new(
515
- :owner_account,
516
- :connection_id,
517
- :connection_name,
518
- :connection_state,
519
- :region,
520
- :location,
521
- :bandwidth,
522
- :vlan,
523
- :partner_name,
524
- :loa_issue_time)
525
- include Aws::Structure
526
- end
527
-
528
- # A structure containing a list of connections.
529
- # @!attribute [rw] connections
530
- # A list of connections.
531
- # @return [Array<Types::Connection>]
532
- class Connections < Struct.new(
533
- :connections)
534
- include Aws::Structure
535
- end
536
-
537
- # Container for the parameters to the CreateBGPPeer operation.
538
- # @note When making an API call, pass CreateBGPPeerRequest
539
- # data as a hash:
540
- #
541
- # {
542
- # virtual_interface_id: "VirtualInterfaceId",
543
- # new_bgp_peer: {
544
- # asn: 1,
545
- # auth_key: "BGPAuthKey",
546
- # address_family: "ipv4", # accepts ipv4, ipv6
547
- # amazon_address: "AmazonAddress",
548
- # customer_address: "CustomerAddress",
549
- # },
550
- # }
551
- # @!attribute [rw] virtual_interface_id
552
- # The ID of the virtual interface on which the BGP peer will be
553
- # provisioned.
554
- #
555
- # Example: dxvif-456abc78
556
- #
557
- # Default: None
558
- # @return [String]
559
- #
560
- # @!attribute [rw] new_bgp_peer
561
- # Detailed information for the BGP peer to be created.
562
- #
563
- # Default: None
564
- # @return [Types::NewBGPPeer]
565
- class CreateBGPPeerRequest < Struct.new(
566
- :virtual_interface_id,
567
- :new_bgp_peer)
568
- include Aws::Structure
569
- end
570
-
571
- # The response received when CreateBGPPeer is called.
572
- # @!attribute [rw] virtual_interface
573
- # A virtual interface (VLAN) transmits the traffic between the AWS
574
- # Direct Connect location and the customer.
575
- # @return [Types::VirtualInterface]
576
- class CreateBGPPeerResponse < Struct.new(
577
- :virtual_interface)
578
- include Aws::Structure
579
- end
580
-
581
- # Container for the parameters to the CreateConnection operation.
582
- # @note When making an API call, pass CreateConnectionRequest
583
- # data as a hash:
584
- #
585
- # {
586
- # location: "LocationCode", # required
587
- # bandwidth: "Bandwidth", # required
588
- # connection_name: "ConnectionName", # required
589
- # }
590
- # @!attribute [rw] location
591
- # Where the connection is located.
592
- #
593
- # Example: EqSV5
594
- #
595
- # Default: None
596
- # @return [String]
597
- #
598
- # @!attribute [rw] bandwidth
599
- # Bandwidth of the connection.
600
- #
601
- # Example: 1Gbps
602
- #
603
- # Default: None
604
- # @return [String]
605
- #
606
- # @!attribute [rw] connection_name
607
- # The name of the connection.
608
- #
609
- # Example: "*My Connection to AWS*"
610
- #
611
- # Default: None
612
- # @return [String]
613
- class CreateConnectionRequest < Struct.new(
614
- :location,
615
- :bandwidth,
616
- :connection_name)
617
- include Aws::Structure
618
- end
619
-
620
- # Container for the parameters to the CreateInterconnect operation.
621
- # @note When making an API call, pass CreateInterconnectRequest
622
- # data as a hash:
623
- #
624
- # {
625
- # interconnect_name: "InterconnectName", # required
626
- # bandwidth: "Bandwidth", # required
627
- # location: "LocationCode", # required
628
- # }
629
- # @!attribute [rw] interconnect_name
630
- # The name of the interconnect.
631
- #
632
- # Example: "*1G Interconnect to AWS*"
633
- #
634
- # Default: None
635
- # @return [String]
636
- #
637
- # @!attribute [rw] bandwidth
638
- # The port bandwidth
639
- #
640
- # Example: 1Gbps
641
- #
642
- # Default: None
643
- #
644
- # Available values: 1Gbps,10Gbps
645
- # @return [String]
646
- #
647
- # @!attribute [rw] location
648
- # Where the interconnect is located
649
- #
650
- # Example: EqSV5
651
- #
652
- # Default: None
653
- # @return [String]
654
- class CreateInterconnectRequest < Struct.new(
655
- :interconnect_name,
656
- :bandwidth,
657
- :location)
658
- include Aws::Structure
659
- end
660
-
661
- # Container for the parameters to the CreatePrivateVirtualInterface
662
- # operation.
663
- # @note When making an API call, pass CreatePrivateVirtualInterfaceRequest
664
- # data as a hash:
665
- #
666
- # {
667
- # connection_id: "ConnectionId", # required
668
- # new_private_virtual_interface: { # required
669
- # virtual_interface_name: "VirtualInterfaceName", # required
670
- # vlan: 1, # required
671
- # asn: 1, # required
672
- # auth_key: "BGPAuthKey",
673
- # amazon_address: "AmazonAddress",
674
- # customer_address: "CustomerAddress",
675
- # address_family: "ipv4", # accepts ipv4, ipv6
676
- # virtual_gateway_id: "VirtualGatewayId", # required
677
- # },
678
- # }
679
- # @!attribute [rw] connection_id
680
- # ID of the connection.
681
- #
682
- # Example: dxcon-fg5678gh
683
- #
684
- # Default: None
685
- # @return [String]
686
- #
687
- # @!attribute [rw] new_private_virtual_interface
688
- # Detailed information for the private virtual interface to be
689
- # created.
690
- #
691
- # Default: None
692
- # @return [Types::NewPrivateVirtualInterface]
693
- class CreatePrivateVirtualInterfaceRequest < Struct.new(
694
- :connection_id,
695
- :new_private_virtual_interface)
696
- include Aws::Structure
697
- end
698
-
699
- # Container for the parameters to the CreatePublicVirtualInterface
700
- # operation.
701
- # @note When making an API call, pass CreatePublicVirtualInterfaceRequest
702
- # data as a hash:
703
- #
704
- # {
705
- # connection_id: "ConnectionId", # required
706
- # new_public_virtual_interface: { # required
707
- # virtual_interface_name: "VirtualInterfaceName", # required
708
- # vlan: 1, # required
709
- # asn: 1, # required
710
- # auth_key: "BGPAuthKey",
711
- # amazon_address: "AmazonAddress",
712
- # customer_address: "CustomerAddress",
713
- # address_family: "ipv4", # accepts ipv4, ipv6
714
- # route_filter_prefixes: [
715
- # {
716
- # cidr: "CIDR",
717
- # },
718
- # ],
719
- # },
720
- # }
721
- # @!attribute [rw] connection_id
722
- # ID of the connection.
723
- #
724
- # Example: dxcon-fg5678gh
725
- #
726
- # Default: None
727
- # @return [String]
728
- #
729
- # @!attribute [rw] new_public_virtual_interface
730
- # Detailed information for the public virtual interface to be created.
731
- #
732
- # Default: None
733
- # @return [Types::NewPublicVirtualInterface]
734
- class CreatePublicVirtualInterfaceRequest < Struct.new(
735
- :connection_id,
736
- :new_public_virtual_interface)
737
- include Aws::Structure
738
- end
739
-
740
- # Container for the parameters to the DeleteBGPPeer operation.
741
- # @note When making an API call, pass DeleteBGPPeerRequest
742
- # data as a hash:
743
- #
744
- # {
745
- # virtual_interface_id: "VirtualInterfaceId",
746
- # asn: 1,
747
- # customer_address: "CustomerAddress",
748
- # }
749
- # @!attribute [rw] virtual_interface_id
750
- # The ID of the virtual interface from which the BGP peer will be
751
- # deleted.
752
- #
753
- # Example: dxvif-456abc78
754
- #
755
- # Default: None
756
- # @return [String]
757
- #
758
- # @!attribute [rw] asn
759
- # Autonomous system (AS) number for Border Gateway Protocol (BGP)
760
- # configuration.
761
- #
762
- # Example: 65000
763
- # @return [Integer]
764
- #
765
- # @!attribute [rw] customer_address
766
- # IP address assigned to the customer interface.
767
- #
768
- # Example: 192.168.1.2/30 or 2001:db8::2/125
769
- # @return [String]
770
- class DeleteBGPPeerRequest < Struct.new(
771
- :virtual_interface_id,
772
- :asn,
773
- :customer_address)
774
- include Aws::Structure
775
- end
776
-
777
- # The response received when DeleteBGPPeer is called.
778
- # @!attribute [rw] virtual_interface
779
- # A virtual interface (VLAN) transmits the traffic between the AWS
780
- # Direct Connect location and the customer.
781
- # @return [Types::VirtualInterface]
782
- class DeleteBGPPeerResponse < Struct.new(
783
- :virtual_interface)
784
- include Aws::Structure
785
- end
786
-
787
- # Container for the parameters to the DeleteConnection operation.
788
- # @note When making an API call, pass DeleteConnectionRequest
789
- # data as a hash:
790
- #
791
- # {
792
- # connection_id: "ConnectionId", # required
793
- # }
794
- # @!attribute [rw] connection_id
795
- # ID of the connection.
796
- #
797
- # Example: dxcon-fg5678gh
798
- #
799
- # Default: None
800
- # @return [String]
801
- class DeleteConnectionRequest < Struct.new(
802
- :connection_id)
803
- include Aws::Structure
804
- end
805
-
806
- # Container for the parameters to the DeleteInterconnect operation.
807
- # @note When making an API call, pass DeleteInterconnectRequest
808
- # data as a hash:
809
- #
810
- # {
811
- # interconnect_id: "InterconnectId", # required
812
- # }
813
- # @!attribute [rw] interconnect_id
814
- # The ID of the interconnect.
815
- #
816
- # Example: dxcon-abc123
817
- # @return [String]
818
- class DeleteInterconnectRequest < Struct.new(
819
- :interconnect_id)
820
- include Aws::Structure
821
- end
822
-
823
- # The response received when DeleteInterconnect is called.
824
- # @!attribute [rw] interconnect_state
825
- # State of the interconnect.
826
- #
827
- # * **Requested**\: The initial state of an interconnect. The
828
- # interconnect stays in the requested state until the Letter of
829
- # Authorization (LOA) is sent to the customer.
830
- #
831
- # * **Pending**&gt;\: The interconnect has been approved, and is being
832
- # initialized.
833
- #
834
- # * **Available**\: The network link is up, and the interconnect is
835
- # ready for use.
836
- #
837
- # * **Down**\: The network link is down.
838
- #
839
- # * **Deleting**\: The interconnect is in the process of being
840
- # deleted.
841
- #
842
- # * **Deleted**\: The interconnect has been deleted.
843
- # @return [String]
844
- class DeleteInterconnectResponse < Struct.new(
845
- :interconnect_state)
846
- include Aws::Structure
847
- end
848
-
849
- # Container for the parameters to the DeleteVirtualInterface operation.
850
- # @note When making an API call, pass DeleteVirtualInterfaceRequest
851
- # data as a hash:
852
- #
853
- # {
854
- # virtual_interface_id: "VirtualInterfaceId", # required
855
- # }
856
- # @!attribute [rw] virtual_interface_id
857
- # ID of the virtual interface.
858
- #
859
- # Example: dxvif-123dfg56
860
- #
861
- # Default: None
862
- # @return [String]
863
- class DeleteVirtualInterfaceRequest < Struct.new(
864
- :virtual_interface_id)
865
- include Aws::Structure
866
- end
867
-
868
- # The response received when DeleteVirtualInterface is called.
869
- # @!attribute [rw] virtual_interface_state
870
- # State of the virtual interface.
871
- #
872
- # * **Confirming**\: The creation of the virtual interface is pending
873
- # confirmation from the virtual interface owner. If the owner of the
874
- # virtual interface is different from the owner of the connection on
875
- # which it is provisioned, then the virtual interface will remain in
876
- # this state until it is confirmed by the virtual interface owner.
877
- #
878
- # * **Verifying**\: This state only applies to public virtual
879
- # interfaces. Each public virtual interface needs validation before
880
- # the virtual interface can be created.
881
- #
882
- # * **Pending**\: A virtual interface is in this state from the time
883
- # that it is created until the virtual interface is ready to forward
884
- # traffic.
885
- #
886
- # * **Available**\: A virtual interface that is able to forward
887
- # traffic.
888
- #
889
- # * **Down**\: A virtual interface that is BGP down.
890
- #
891
- # * **Deleting**\: A virtual interface is in this state immediately
892
- # after calling *DeleteVirtualInterface* until it can no longer
893
- # forward traffic.
894
- #
895
- # * **Deleted**\: A virtual interface that cannot forward traffic.
896
- #
897
- # * **Rejected**\: The virtual interface owner has declined creation
898
- # of the virtual interface. If a virtual interface in the
899
- # 'Confirming' state is deleted by the virtual interface owner,
900
- # the virtual interface will enter the 'Rejected' state.
901
- # @return [String]
902
- class DeleteVirtualInterfaceResponse < Struct.new(
903
- :virtual_interface_state)
904
- include Aws::Structure
905
- end
906
-
907
- # Container for the parameters to the DescribeConnectionLoa operation.
908
- # @note When making an API call, pass DescribeConnectionLoaRequest
909
- # data as a hash:
910
- #
911
- # {
912
- # connection_id: "ConnectionId", # required
913
- # provider_name: "ProviderName",
914
- # loa_content_type: "application/pdf", # accepts application/pdf
915
- # }
916
- # @!attribute [rw] connection_id
917
- # ID of the connection.
918
- #
919
- # Example: dxcon-fg5678gh
920
- #
921
- # Default: None
922
- # @return [String]
923
- #
924
- # @!attribute [rw] provider_name
925
- # The name of the APN partner or service provider who establishes
926
- # connectivity on your behalf. If you supply this parameter, the
927
- # LOA-CFA lists the provider name alongside your company name as the
928
- # requester of the cross connect.
929
- #
930
- # Default: None
931
- # @return [String]
932
- #
933
- # @!attribute [rw] loa_content_type
934
- # A standard media type indicating the content type of the LOA-CFA
935
- # document. Currently, the only supported value is
936
- # "application/pdf".
937
- #
938
- # Default: application/pdf
939
- # @return [String]
940
- class DescribeConnectionLoaRequest < Struct.new(
941
- :connection_id,
942
- :provider_name,
943
- :loa_content_type)
944
- include Aws::Structure
945
- end
946
-
947
- # The response received when DescribeConnectionLoa is called.
948
- # @!attribute [rw] loa
949
- # A structure containing the Letter of Authorization - Connecting
950
- # Facility Assignment (LOA-CFA) for a connection.
951
- # @return [Types::Loa]
952
- class DescribeConnectionLoaResponse < Struct.new(
953
- :loa)
954
- include Aws::Structure
955
- end
956
-
957
- # Container for the parameters to the DescribeConnectionsOnInterconnect
958
- # operation.
959
- # @note When making an API call, pass DescribeConnectionsOnInterconnectRequest
960
- # data as a hash:
961
- #
962
- # {
963
- # interconnect_id: "InterconnectId", # required
964
- # }
965
- # @!attribute [rw] interconnect_id
966
- # ID of the interconnect on which a list of connection is provisioned.
967
- #
968
- # Example: dxcon-abc123
969
- #
970
- # Default: None
971
- # @return [String]
972
- class DescribeConnectionsOnInterconnectRequest < Struct.new(
973
- :interconnect_id)
974
- include Aws::Structure
975
- end
976
-
977
- # Container for the parameters to the DescribeConnections operation.
978
- # @note When making an API call, pass DescribeConnectionsRequest
979
- # data as a hash:
980
- #
981
- # {
982
- # connection_id: "ConnectionId",
983
- # }
984
- # @!attribute [rw] connection_id
985
- # ID of the connection.
986
- #
987
- # Example: dxcon-fg5678gh
988
- #
989
- # Default: None
990
- # @return [String]
991
- class DescribeConnectionsRequest < Struct.new(
992
- :connection_id)
993
- include Aws::Structure
994
- end
995
-
996
- # Container for the parameters to the DescribeInterconnectLoa operation.
997
- # @note When making an API call, pass DescribeInterconnectLoaRequest
998
- # data as a hash:
999
- #
1000
- # {
1001
- # interconnect_id: "InterconnectId", # required
1002
- # provider_name: "ProviderName",
1003
- # loa_content_type: "application/pdf", # accepts application/pdf
1004
- # }
1005
- # @!attribute [rw] interconnect_id
1006
- # The ID of the interconnect.
1007
- #
1008
- # Example: dxcon-abc123
1009
- # @return [String]
1010
- #
1011
- # @!attribute [rw] provider_name
1012
- # The name of the service provider who establishes connectivity on
1013
- # your behalf. If you supply this parameter, the LOA-CFA lists the
1014
- # provider name alongside your company name as the requester of the
1015
- # cross connect.
1016
- #
1017
- # Default: None
1018
- # @return [String]
1019
- #
1020
- # @!attribute [rw] loa_content_type
1021
- # A standard media type indicating the content type of the LOA-CFA
1022
- # document. Currently, the only supported value is
1023
- # "application/pdf".
1024
- #
1025
- # Default: application/pdf
1026
- # @return [String]
1027
- class DescribeInterconnectLoaRequest < Struct.new(
1028
- :interconnect_id,
1029
- :provider_name,
1030
- :loa_content_type)
1031
- include Aws::Structure
1032
- end
1033
-
1034
- # The response received when DescribeInterconnectLoa is called.
1035
- # @!attribute [rw] loa
1036
- # A structure containing the Letter of Authorization - Connecting
1037
- # Facility Assignment (LOA-CFA) for a connection.
1038
- # @return [Types::Loa]
1039
- class DescribeInterconnectLoaResponse < Struct.new(
1040
- :loa)
1041
- include Aws::Structure
1042
- end
1043
-
1044
- # Container for the parameters to the DescribeInterconnects operation.
1045
- # @note When making an API call, pass DescribeInterconnectsRequest
1046
- # data as a hash:
1047
- #
1048
- # {
1049
- # interconnect_id: "InterconnectId",
1050
- # }
1051
- # @!attribute [rw] interconnect_id
1052
- # The ID of the interconnect.
1053
- #
1054
- # Example: dxcon-abc123
1055
- # @return [String]
1056
- class DescribeInterconnectsRequest < Struct.new(
1057
- :interconnect_id)
1058
- include Aws::Structure
1059
- end
1060
-
1061
- # Container for the parameters to the DescribeTags operation.
1062
- # @note When making an API call, pass DescribeTagsRequest
1063
- # data as a hash:
1064
- #
1065
- # {
1066
- # resource_arns: ["ResourceArn"], # required
1067
- # }
1068
- # @!attribute [rw] resource_arns
1069
- # The Amazon Resource Names (ARNs) of the Direct Connect resources.
1070
- # @return [Array<String>]
1071
- class DescribeTagsRequest < Struct.new(
1072
- :resource_arns)
1073
- include Aws::Structure
1074
- end
1075
-
1076
- # The response received when DescribeTags is called.
1077
- # @!attribute [rw] resource_tags
1078
- # Information about the tags.
1079
- # @return [Array<Types::ResourceTag>]
1080
- class DescribeTagsResponse < Struct.new(
1081
- :resource_tags)
1082
- include Aws::Structure
1083
- end
1084
-
1085
- # Container for the parameters to the DescribeVirtualInterfaces
1086
- # operation.
1087
- # @note When making an API call, pass DescribeVirtualInterfacesRequest
1088
- # data as a hash:
1089
- #
1090
- # {
1091
- # connection_id: "ConnectionId",
1092
- # virtual_interface_id: "VirtualInterfaceId",
1093
- # }
1094
- # @!attribute [rw] connection_id
1095
- # ID of the connection.
1096
- #
1097
- # Example: dxcon-fg5678gh
1098
- #
1099
- # Default: None
1100
- # @return [String]
1101
- #
1102
- # @!attribute [rw] virtual_interface_id
1103
- # ID of the virtual interface.
1104
- #
1105
- # Example: dxvif-123dfg56
1106
- #
1107
- # Default: None
1108
- # @return [String]
1109
- class DescribeVirtualInterfacesRequest < Struct.new(
1110
- :connection_id,
1111
- :virtual_interface_id)
1112
- include Aws::Structure
1113
- end
1114
-
1115
- # An interconnect is a connection that can host other connections.
1116
- #
1117
- # Like a standard AWS Direct Connect connection, an interconnect
1118
- # represents the physical connection between an AWS Direct Connect
1119
- # partner's network and a specific Direct Connect location. An AWS
1120
- # Direct Connect partner who owns an interconnect can provision hosted
1121
- # connections on the interconnect for their end customers, thereby
1122
- # providing the end customers with connectivity to AWS services.
1123
- #
1124
- # The resources of the interconnect, including bandwidth and VLAN
1125
- # numbers, are shared by all of the hosted connections on the
1126
- # interconnect, and the owner of the interconnect determines how these
1127
- # resources are assigned.
1128
- # @!attribute [rw] interconnect_id
1129
- # The ID of the interconnect.
1130
- #
1131
- # Example: dxcon-abc123
1132
- # @return [String]
1133
- #
1134
- # @!attribute [rw] interconnect_name
1135
- # The name of the interconnect.
1136
- #
1137
- # Example: "*1G Interconnect to AWS*"
1138
- # @return [String]
1139
- #
1140
- # @!attribute [rw] interconnect_state
1141
- # State of the interconnect.
1142
- #
1143
- # * **Requested**\: The initial state of an interconnect. The
1144
- # interconnect stays in the requested state until the Letter of
1145
- # Authorization (LOA) is sent to the customer.
1146
- #
1147
- # * **Pending**&gt;\: The interconnect has been approved, and is being
1148
- # initialized.
1149
- #
1150
- # * **Available**\: The network link is up, and the interconnect is
1151
- # ready for use.
1152
- #
1153
- # * **Down**\: The network link is down.
1154
- #
1155
- # * **Deleting**\: The interconnect is in the process of being
1156
- # deleted.
1157
- #
1158
- # * **Deleted**\: The interconnect has been deleted.
1159
- # @return [String]
1160
- #
1161
- # @!attribute [rw] region
1162
- # The AWS region where the connection is located.
1163
- #
1164
- # Example: us-east-1
1165
- #
1166
- # Default: None
1167
- # @return [String]
1168
- #
1169
- # @!attribute [rw] location
1170
- # Where the connection is located.
1171
- #
1172
- # Example: EqSV5
1173
- #
1174
- # Default: None
1175
- # @return [String]
1176
- #
1177
- # @!attribute [rw] bandwidth
1178
- # Bandwidth of the connection.
1179
- #
1180
- # Example: 1Gbps
1181
- #
1182
- # Default: None
1183
- # @return [String]
1184
- #
1185
- # @!attribute [rw] loa_issue_time
1186
- # The time of the most recent call to DescribeInterconnectLoa for this
1187
- # Interconnect.
1188
- # @return [Time]
1189
- class Interconnect < Struct.new(
1190
- :interconnect_id,
1191
- :interconnect_name,
1192
- :interconnect_state,
1193
- :region,
1194
- :location,
1195
- :bandwidth,
1196
- :loa_issue_time)
1197
- include Aws::Structure
1198
- end
1199
-
1200
- # A structure containing a list of interconnects.
1201
- # @!attribute [rw] interconnects
1202
- # A list of interconnects.
1203
- # @return [Array<Types::Interconnect>]
1204
- class Interconnects < Struct.new(
1205
- :interconnects)
1206
- include Aws::Structure
1207
- end
1208
-
1209
- # A structure containing the Letter of Authorization - Connecting
1210
- # Facility Assignment (LOA-CFA) for a connection.
1211
- # @!attribute [rw] loa_content
1212
- # The binary contents of the LOA-CFA document.
1213
- # @return [String]
1214
- #
1215
- # @!attribute [rw] loa_content_type
1216
- # A standard media type indicating the content type of the LOA-CFA
1217
- # document. Currently, the only supported value is
1218
- # "application/pdf".
1219
- #
1220
- # Default: application/pdf
1221
- # @return [String]
1222
- class Loa < Struct.new(
1223
- :loa_content,
1224
- :loa_content_type)
1225
- include Aws::Structure
1226
- end
1227
-
1228
- # An AWS Direct Connect location where connections and interconnects can
1229
- # be requested.
1230
- # @!attribute [rw] location_code
1231
- # The code used to indicate the AWS Direct Connect location.
1232
- # @return [String]
1233
- #
1234
- # @!attribute [rw] location_name
1235
- # The name of the AWS Direct Connect location. The name includes the
1236
- # colocation partner name and the physical site of the lit building.
1237
- # @return [String]
1238
- class Location < Struct.new(
1239
- :location_code,
1240
- :location_name)
1241
- include Aws::Structure
1242
- end
1243
-
1244
- # A location is a network facility where AWS Direct Connect routers are
1245
- # available to be connected. Generally, these are colocation hubs where
1246
- # many network providers have equipment, and where cross connects can be
1247
- # delivered. Locations include a name and facility code, and must be
1248
- # provided when creating a connection.
1249
- # @!attribute [rw] locations
1250
- # A list of colocation hubs where network providers have equipment.
1251
- # Most regions have multiple locations available.
1252
- # @return [Array<Types::Location>]
1253
- class Locations < Struct.new(
1254
- :locations)
1255
- include Aws::Structure
1256
- end
1257
-
1258
- # A structure containing information about a new BGP peer.
1259
- # @note When making an API call, pass NewBGPPeer
1260
- # data as a hash:
1261
- #
1262
- # {
1263
- # asn: 1,
1264
- # auth_key: "BGPAuthKey",
1265
- # address_family: "ipv4", # accepts ipv4, ipv6
1266
- # amazon_address: "AmazonAddress",
1267
- # customer_address: "CustomerAddress",
1268
- # }
1269
- # @!attribute [rw] asn
1270
- # Autonomous system (AS) number for Border Gateway Protocol (BGP)
1271
- # configuration.
1272
- #
1273
- # Example: 65000
1274
- # @return [Integer]
1275
- #
1276
- # @!attribute [rw] auth_key
1277
- # Authentication key for BGP configuration.
1278
- #
1279
- # Example: asdf34example
1280
- # @return [String]
1281
- #
1282
- # @!attribute [rw] address_family
1283
- # Indicates the address family for the BGP peer.
1284
- #
1285
- # * **ipv4**\: IPv4 address family
1286
- #
1287
- # * **ipv6**\: IPv6 address family
1288
- # @return [String]
1289
- #
1290
- # @!attribute [rw] amazon_address
1291
- # IP address assigned to the Amazon interface.
1292
- #
1293
- # Example: 192.168.1.1/30 or 2001:db8::1/125
1294
- # @return [String]
1295
- #
1296
- # @!attribute [rw] customer_address
1297
- # IP address assigned to the customer interface.
1298
- #
1299
- # Example: 192.168.1.2/30 or 2001:db8::2/125
1300
- # @return [String]
1301
- class NewBGPPeer < Struct.new(
1302
- :asn,
1303
- :auth_key,
1304
- :address_family,
1305
- :amazon_address,
1306
- :customer_address)
1307
- include Aws::Structure
1308
- end
1309
-
1310
- # A structure containing information about a new private virtual
1311
- # interface.
1312
- # @note When making an API call, pass NewPrivateVirtualInterface
1313
- # data as a hash:
1314
- #
1315
- # {
1316
- # virtual_interface_name: "VirtualInterfaceName", # required
1317
- # vlan: 1, # required
1318
- # asn: 1, # required
1319
- # auth_key: "BGPAuthKey",
1320
- # amazon_address: "AmazonAddress",
1321
- # customer_address: "CustomerAddress",
1322
- # address_family: "ipv4", # accepts ipv4, ipv6
1323
- # virtual_gateway_id: "VirtualGatewayId", # required
1324
- # }
1325
- # @!attribute [rw] virtual_interface_name
1326
- # The name of the virtual interface assigned by the customer.
1327
- #
1328
- # Example: "My VPC"
1329
- # @return [String]
1330
- #
1331
- # @!attribute [rw] vlan
1332
- # The VLAN ID.
1333
- #
1334
- # Example: 101
1335
- # @return [Integer]
1336
- #
1337
- # @!attribute [rw] asn
1338
- # Autonomous system (AS) number for Border Gateway Protocol (BGP)
1339
- # configuration.
1340
- #
1341
- # Example: 65000
1342
- # @return [Integer]
1343
- #
1344
- # @!attribute [rw] auth_key
1345
- # Authentication key for BGP configuration.
1346
- #
1347
- # Example: asdf34example
1348
- # @return [String]
1349
- #
1350
- # @!attribute [rw] amazon_address
1351
- # IP address assigned to the Amazon interface.
1352
- #
1353
- # Example: 192.168.1.1/30 or 2001:db8::1/125
1354
- # @return [String]
1355
- #
1356
- # @!attribute [rw] customer_address
1357
- # IP address assigned to the customer interface.
1358
- #
1359
- # Example: 192.168.1.2/30 or 2001:db8::2/125
1360
- # @return [String]
1361
- #
1362
- # @!attribute [rw] address_family
1363
- # Indicates the address family for the BGP peer.
1364
- #
1365
- # * **ipv4**\: IPv4 address family
1366
- #
1367
- # * **ipv6**\: IPv6 address family
1368
- # @return [String]
1369
- #
1370
- # @!attribute [rw] virtual_gateway_id
1371
- # The ID of the virtual private gateway to a VPC. This only applies to
1372
- # private virtual interfaces.
1373
- #
1374
- # Example: vgw-123er56
1375
- # @return [String]
1376
- class NewPrivateVirtualInterface < Struct.new(
1377
- :virtual_interface_name,
1378
- :vlan,
1379
- :asn,
1380
- :auth_key,
1381
- :amazon_address,
1382
- :customer_address,
1383
- :address_family,
1384
- :virtual_gateway_id)
1385
- include Aws::Structure
1386
- end
1387
-
1388
- # A structure containing information about a private virtual interface
1389
- # that will be provisioned on a connection.
1390
- # @note When making an API call, pass NewPrivateVirtualInterfaceAllocation
1391
- # data as a hash:
1392
- #
1393
- # {
1394
- # virtual_interface_name: "VirtualInterfaceName", # required
1395
- # vlan: 1, # required
1396
- # asn: 1, # required
1397
- # auth_key: "BGPAuthKey",
1398
- # amazon_address: "AmazonAddress",
1399
- # address_family: "ipv4", # accepts ipv4, ipv6
1400
- # customer_address: "CustomerAddress",
1401
- # }
1402
- # @!attribute [rw] virtual_interface_name
1403
- # The name of the virtual interface assigned by the customer.
1404
- #
1405
- # Example: "My VPC"
1406
- # @return [String]
1407
- #
1408
- # @!attribute [rw] vlan
1409
- # The VLAN ID.
1410
- #
1411
- # Example: 101
1412
- # @return [Integer]
1413
- #
1414
- # @!attribute [rw] asn
1415
- # Autonomous system (AS) number for Border Gateway Protocol (BGP)
1416
- # configuration.
1417
- #
1418
- # Example: 65000
1419
- # @return [Integer]
1420
- #
1421
- # @!attribute [rw] auth_key
1422
- # Authentication key for BGP configuration.
1423
- #
1424
- # Example: asdf34example
1425
- # @return [String]
1426
- #
1427
- # @!attribute [rw] amazon_address
1428
- # IP address assigned to the Amazon interface.
1429
- #
1430
- # Example: 192.168.1.1/30 or 2001:db8::1/125
1431
- # @return [String]
1432
- #
1433
- # @!attribute [rw] address_family
1434
- # Indicates the address family for the BGP peer.
1435
- #
1436
- # * **ipv4**\: IPv4 address family
1437
- #
1438
- # * **ipv6**\: IPv6 address family
1439
- # @return [String]
1440
- #
1441
- # @!attribute [rw] customer_address
1442
- # IP address assigned to the customer interface.
1443
- #
1444
- # Example: 192.168.1.2/30 or 2001:db8::2/125
1445
- # @return [String]
1446
- class NewPrivateVirtualInterfaceAllocation < Struct.new(
1447
- :virtual_interface_name,
1448
- :vlan,
1449
- :asn,
1450
- :auth_key,
1451
- :amazon_address,
1452
- :address_family,
1453
- :customer_address)
1454
- include Aws::Structure
1455
- end
1456
-
1457
- # A structure containing information about a new public virtual
1458
- # interface.
1459
- # @note When making an API call, pass NewPublicVirtualInterface
1460
- # data as a hash:
1461
- #
1462
- # {
1463
- # virtual_interface_name: "VirtualInterfaceName", # required
1464
- # vlan: 1, # required
1465
- # asn: 1, # required
1466
- # auth_key: "BGPAuthKey",
1467
- # amazon_address: "AmazonAddress",
1468
- # customer_address: "CustomerAddress",
1469
- # address_family: "ipv4", # accepts ipv4, ipv6
1470
- # route_filter_prefixes: [
1471
- # {
1472
- # cidr: "CIDR",
1473
- # },
1474
- # ],
1475
- # }
1476
- # @!attribute [rw] virtual_interface_name
1477
- # The name of the virtual interface assigned by the customer.
1478
- #
1479
- # Example: "My VPC"
1480
- # @return [String]
1481
- #
1482
- # @!attribute [rw] vlan
1483
- # The VLAN ID.
1484
- #
1485
- # Example: 101
1486
- # @return [Integer]
1487
- #
1488
- # @!attribute [rw] asn
1489
- # Autonomous system (AS) number for Border Gateway Protocol (BGP)
1490
- # configuration.
1491
- #
1492
- # Example: 65000
1493
- # @return [Integer]
1494
- #
1495
- # @!attribute [rw] auth_key
1496
- # Authentication key for BGP configuration.
1497
- #
1498
- # Example: asdf34example
1499
- # @return [String]
1500
- #
1501
- # @!attribute [rw] amazon_address
1502
- # IP address assigned to the Amazon interface.
1503
- #
1504
- # Example: 192.168.1.1/30 or 2001:db8::1/125
1505
- # @return [String]
1506
- #
1507
- # @!attribute [rw] customer_address
1508
- # IP address assigned to the customer interface.
1509
- #
1510
- # Example: 192.168.1.2/30 or 2001:db8::2/125
1511
- # @return [String]
1512
- #
1513
- # @!attribute [rw] address_family
1514
- # Indicates the address family for the BGP peer.
1515
- #
1516
- # * **ipv4**\: IPv4 address family
1517
- #
1518
- # * **ipv6**\: IPv6 address family
1519
- # @return [String]
1520
- #
1521
- # @!attribute [rw] route_filter_prefixes
1522
- # A list of routes to be advertised to the AWS network in this region
1523
- # (public virtual interface).
1524
- # @return [Array<Types::RouteFilterPrefix>]
1525
- class NewPublicVirtualInterface < Struct.new(
1526
- :virtual_interface_name,
1527
- :vlan,
1528
- :asn,
1529
- :auth_key,
1530
- :amazon_address,
1531
- :customer_address,
1532
- :address_family,
1533
- :route_filter_prefixes)
1534
- include Aws::Structure
1535
- end
1536
-
1537
- # A structure containing information about a public virtual interface
1538
- # that will be provisioned on a connection.
1539
- # @note When making an API call, pass NewPublicVirtualInterfaceAllocation
1540
- # data as a hash:
1541
- #
1542
- # {
1543
- # virtual_interface_name: "VirtualInterfaceName", # required
1544
- # vlan: 1, # required
1545
- # asn: 1, # required
1546
- # auth_key: "BGPAuthKey",
1547
- # amazon_address: "AmazonAddress",
1548
- # customer_address: "CustomerAddress",
1549
- # address_family: "ipv4", # accepts ipv4, ipv6
1550
- # route_filter_prefixes: [
1551
- # {
1552
- # cidr: "CIDR",
1553
- # },
1554
- # ],
1555
- # }
1556
- # @!attribute [rw] virtual_interface_name
1557
- # The name of the virtual interface assigned by the customer.
1558
- #
1559
- # Example: "My VPC"
1560
- # @return [String]
1561
- #
1562
- # @!attribute [rw] vlan
1563
- # The VLAN ID.
1564
- #
1565
- # Example: 101
1566
- # @return [Integer]
1567
- #
1568
- # @!attribute [rw] asn
1569
- # Autonomous system (AS) number for Border Gateway Protocol (BGP)
1570
- # configuration.
1571
- #
1572
- # Example: 65000
1573
- # @return [Integer]
1574
- #
1575
- # @!attribute [rw] auth_key
1576
- # Authentication key for BGP configuration.
1577
- #
1578
- # Example: asdf34example
1579
- # @return [String]
1580
- #
1581
- # @!attribute [rw] amazon_address
1582
- # IP address assigned to the Amazon interface.
1583
- #
1584
- # Example: 192.168.1.1/30 or 2001:db8::1/125
1585
- # @return [String]
1586
- #
1587
- # @!attribute [rw] customer_address
1588
- # IP address assigned to the customer interface.
1589
- #
1590
- # Example: 192.168.1.2/30 or 2001:db8::2/125
1591
- # @return [String]
1592
- #
1593
- # @!attribute [rw] address_family
1594
- # Indicates the address family for the BGP peer.
1595
- #
1596
- # * **ipv4**\: IPv4 address family
1597
- #
1598
- # * **ipv6**\: IPv6 address family
1599
- # @return [String]
1600
- #
1601
- # @!attribute [rw] route_filter_prefixes
1602
- # A list of routes to be advertised to the AWS network in this region
1603
- # (public virtual interface).
1604
- # @return [Array<Types::RouteFilterPrefix>]
1605
- class NewPublicVirtualInterfaceAllocation < Struct.new(
1606
- :virtual_interface_name,
1607
- :vlan,
1608
- :asn,
1609
- :auth_key,
1610
- :amazon_address,
1611
- :customer_address,
1612
- :address_family,
1613
- :route_filter_prefixes)
1614
- include Aws::Structure
1615
- end
1616
-
1617
- # The tags associated with a Direct Connect resource.
1618
- # @!attribute [rw] resource_arn
1619
- # The Amazon Resource Name (ARN) of the Direct Connect resource.
1620
- # @return [String]
1621
- #
1622
- # @!attribute [rw] tags
1623
- # The tags.
1624
- # @return [Array<Types::Tag>]
1625
- class ResourceTag < Struct.new(
1626
- :resource_arn,
1627
- :tags)
1628
- include Aws::Structure
1629
- end
1630
-
1631
- # A route filter prefix that the customer can advertise through Border
1632
- # Gateway Protocol (BGP) over a public virtual interface.
1633
- # @note When making an API call, pass RouteFilterPrefix
1634
- # data as a hash:
1635
- #
1636
- # {
1637
- # cidr: "CIDR",
1638
- # }
1639
- # @!attribute [rw] cidr
1640
- # CIDR notation for the advertised route. Multiple routes are
1641
- # separated by commas.
1642
- #
1643
- # IPv6 CIDRs must be at least a /64 or shorter
1644
- #
1645
- # Example: 10.10.10.0/24,10.10.11.0/24,2001:db8::/64
1646
- # @return [String]
1647
- class RouteFilterPrefix < Struct.new(
1648
- :cidr)
1649
- include Aws::Structure
1650
- end
1651
-
1652
- # Information about a tag.
1653
- # @note When making an API call, pass Tag
1654
- # data as a hash:
1655
- #
1656
- # {
1657
- # key: "TagKey", # required
1658
- # value: "TagValue",
1659
- # }
1660
- # @!attribute [rw] key
1661
- # The key of the tag.
1662
- # @return [String]
1663
- #
1664
- # @!attribute [rw] value
1665
- # The value of the tag.
1666
- # @return [String]
1667
- class Tag < Struct.new(
1668
- :key,
1669
- :value)
1670
- include Aws::Structure
1671
- end
1672
-
1673
- # Container for the parameters to the TagResource operation.
1674
- # @note When making an API call, pass TagResourceRequest
1675
- # data as a hash:
1676
- #
1677
- # {
1678
- # resource_arn: "ResourceArn", # required
1679
- # tags: [ # required
1680
- # {
1681
- # key: "TagKey", # required
1682
- # value: "TagValue",
1683
- # },
1684
- # ],
1685
- # }
1686
- # @!attribute [rw] resource_arn
1687
- # The Amazon Resource Name (ARN) of the Direct Connect resource.
1688
- #
1689
- # Example:
1690
- # arn:aws:directconnect:us-east-1:123456789012:dxcon/dxcon-fg5678gh
1691
- # @return [String]
1692
- #
1693
- # @!attribute [rw] tags
1694
- # The list of tags to add.
1695
- # @return [Array<Types::Tag>]
1696
- class TagResourceRequest < Struct.new(
1697
- :resource_arn,
1698
- :tags)
1699
- include Aws::Structure
1700
- end
1701
-
1702
- # The response received when TagResource is called.
1703
- class TagResourceResponse < Aws::EmptyStructure; end
1704
-
1705
- # Container for the parameters to the UntagResource operation.
1706
- # @note When making an API call, pass UntagResourceRequest
1707
- # data as a hash:
1708
- #
1709
- # {
1710
- # resource_arn: "ResourceArn", # required
1711
- # tag_keys: ["TagKey"], # required
1712
- # }
1713
- # @!attribute [rw] resource_arn
1714
- # The Amazon Resource Name (ARN) of the Direct Connect resource.
1715
- # @return [String]
1716
- #
1717
- # @!attribute [rw] tag_keys
1718
- # The list of tag keys to remove.
1719
- # @return [Array<String>]
1720
- class UntagResourceRequest < Struct.new(
1721
- :resource_arn,
1722
- :tag_keys)
1723
- include Aws::Structure
1724
- end
1725
-
1726
- # The response received when UntagResource is called.
1727
- class UntagResourceResponse < Aws::EmptyStructure; end
1728
-
1729
- # You can create one or more AWS Direct Connect private virtual
1730
- # interfaces linking to your virtual private gateway.
1731
- #
1732
- # Virtual private gateways can be managed using the Amazon Virtual
1733
- # Private Cloud (Amazon VPC) console or the [Amazon EC2 CreateVpnGateway
1734
- # action][1].
1735
- #
1736
- #
1737
- #
1738
- # [1]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-CreateVpnGateway.html
1739
- # @!attribute [rw] virtual_gateway_id
1740
- # The ID of the virtual private gateway to a VPC. This only applies to
1741
- # private virtual interfaces.
1742
- #
1743
- # Example: vgw-123er56
1744
- # @return [String]
1745
- #
1746
- # @!attribute [rw] virtual_gateway_state
1747
- # State of the virtual private gateway.
1748
- #
1749
- # * **Pending**\: This is the initial state after calling
1750
- # *CreateVpnGateway*.
1751
- #
1752
- # * **Available**\: Ready for use by a private virtual interface.
1753
- #
1754
- # * **Deleting**\: This is the initial state after calling
1755
- # *DeleteVpnGateway*.
1756
- #
1757
- # * **Deleted**\: In this state, a private virtual interface is unable
1758
- # to send traffic over this gateway.
1759
- # @return [String]
1760
- class VirtualGateway < Struct.new(
1761
- :virtual_gateway_id,
1762
- :virtual_gateway_state)
1763
- include Aws::Structure
1764
- end
1765
-
1766
- # A structure containing a list of virtual private gateways.
1767
- # @!attribute [rw] virtual_gateways
1768
- # A list of virtual private gateways.
1769
- # @return [Array<Types::VirtualGateway>]
1770
- class VirtualGateways < Struct.new(
1771
- :virtual_gateways)
1772
- include Aws::Structure
1773
- end
1774
-
1775
- # A virtual interface (VLAN) transmits the traffic between the AWS
1776
- # Direct Connect location and the customer.
1777
- # @!attribute [rw] owner_account
1778
- # The AWS account that will own the new virtual interface.
1779
- # @return [String]
1780
- #
1781
- # @!attribute [rw] virtual_interface_id
1782
- # ID of the virtual interface.
1783
- #
1784
- # Example: dxvif-123dfg56
1785
- #
1786
- # Default: None
1787
- # @return [String]
1788
- #
1789
- # @!attribute [rw] location
1790
- # Where the connection is located.
1791
- #
1792
- # Example: EqSV5
1793
- #
1794
- # Default: None
1795
- # @return [String]
1796
- #
1797
- # @!attribute [rw] connection_id
1798
- # ID of the connection.
1799
- #
1800
- # Example: dxcon-fg5678gh
1801
- #
1802
- # Default: None
1803
- # @return [String]
1804
- #
1805
- # @!attribute [rw] virtual_interface_type
1806
- # The type of virtual interface.
1807
- #
1808
- # Example: private (Amazon VPC) or public (Amazon S3, Amazon DynamoDB,
1809
- # and so on.)
1810
- # @return [String]
1811
- #
1812
- # @!attribute [rw] virtual_interface_name
1813
- # The name of the virtual interface assigned by the customer.
1814
- #
1815
- # Example: "My VPC"
1816
- # @return [String]
1817
- #
1818
- # @!attribute [rw] vlan
1819
- # The VLAN ID.
1820
- #
1821
- # Example: 101
1822
- # @return [Integer]
1823
- #
1824
- # @!attribute [rw] asn
1825
- # Autonomous system (AS) number for Border Gateway Protocol (BGP)
1826
- # configuration.
1827
- #
1828
- # Example: 65000
1829
- # @return [Integer]
1830
- #
1831
- # @!attribute [rw] auth_key
1832
- # Authentication key for BGP configuration.
1833
- #
1834
- # Example: asdf34example
1835
- # @return [String]
1836
- #
1837
- # @!attribute [rw] amazon_address
1838
- # IP address assigned to the Amazon interface.
1839
- #
1840
- # Example: 192.168.1.1/30 or 2001:db8::1/125
1841
- # @return [String]
1842
- #
1843
- # @!attribute [rw] customer_address
1844
- # IP address assigned to the customer interface.
1845
- #
1846
- # Example: 192.168.1.2/30 or 2001:db8::2/125
1847
- # @return [String]
1848
- #
1849
- # @!attribute [rw] address_family
1850
- # Indicates the address family for the BGP peer.
1851
- #
1852
- # * **ipv4**\: IPv4 address family
1853
- #
1854
- # * **ipv6**\: IPv6 address family
1855
- # @return [String]
1856
- #
1857
- # @!attribute [rw] virtual_interface_state
1858
- # State of the virtual interface.
1859
- #
1860
- # * **Confirming**\: The creation of the virtual interface is pending
1861
- # confirmation from the virtual interface owner. If the owner of the
1862
- # virtual interface is different from the owner of the connection on
1863
- # which it is provisioned, then the virtual interface will remain in
1864
- # this state until it is confirmed by the virtual interface owner.
1865
- #
1866
- # * **Verifying**\: This state only applies to public virtual
1867
- # interfaces. Each public virtual interface needs validation before
1868
- # the virtual interface can be created.
1869
- #
1870
- # * **Pending**\: A virtual interface is in this state from the time
1871
- # that it is created until the virtual interface is ready to forward
1872
- # traffic.
1873
- #
1874
- # * **Available**\: A virtual interface that is able to forward
1875
- # traffic.
1876
- #
1877
- # * **Down**\: A virtual interface that is BGP down.
1878
- #
1879
- # * **Deleting**\: A virtual interface is in this state immediately
1880
- # after calling *DeleteVirtualInterface* until it can no longer
1881
- # forward traffic.
1882
- #
1883
- # * **Deleted**\: A virtual interface that cannot forward traffic.
1884
- #
1885
- # * **Rejected**\: The virtual interface owner has declined creation
1886
- # of the virtual interface. If a virtual interface in the
1887
- # 'Confirming' state is deleted by the virtual interface owner,
1888
- # the virtual interface will enter the 'Rejected' state.
1889
- # @return [String]
1890
- #
1891
- # @!attribute [rw] customer_router_config
1892
- # Information for generating the customer router configuration.
1893
- # @return [String]
1894
- #
1895
- # @!attribute [rw] virtual_gateway_id
1896
- # The ID of the virtual private gateway to a VPC. This only applies to
1897
- # private virtual interfaces.
1898
- #
1899
- # Example: vgw-123er56
1900
- # @return [String]
1901
- #
1902
- # @!attribute [rw] route_filter_prefixes
1903
- # A list of routes to be advertised to the AWS network in this region
1904
- # (public virtual interface).
1905
- # @return [Array<Types::RouteFilterPrefix>]
1906
- #
1907
- # @!attribute [rw] bgp_peers
1908
- # A list of the BGP peers configured on this virtual interface.
1909
- # @return [Array<Types::BGPPeer>]
1910
- class VirtualInterface < Struct.new(
1911
- :owner_account,
1912
- :virtual_interface_id,
1913
- :location,
1914
- :connection_id,
1915
- :virtual_interface_type,
1916
- :virtual_interface_name,
1917
- :vlan,
1918
- :asn,
1919
- :auth_key,
1920
- :amazon_address,
1921
- :customer_address,
1922
- :address_family,
1923
- :virtual_interface_state,
1924
- :customer_router_config,
1925
- :virtual_gateway_id,
1926
- :route_filter_prefixes,
1927
- :bgp_peers)
1928
- include Aws::Structure
1929
- end
1930
-
1931
- # A structure containing a list of virtual interfaces.
1932
- # @!attribute [rw] virtual_interfaces
1933
- # A list of virtual interfaces.
1934
- # @return [Array<Types::VirtualInterface>]
1935
- class VirtualInterfaces < Struct.new(
1936
- :virtual_interfaces)
1937
- include Aws::Structure
1938
- end
8
+ module Aws::DirectConnect
9
+ module Types
1939
10
 
11
+ # Container for the parameters to the AllocateConnectionOnInterconnect
12
+ # operation.
13
+ #
14
+ # @note When making an API call, you may pass AllocateConnectionOnInterconnectRequest
15
+ # data as a hash:
16
+ #
17
+ # {
18
+ # bandwidth: "Bandwidth", # required
19
+ # connection_name: "ConnectionName", # required
20
+ # owner_account: "OwnerAccount", # required
21
+ # interconnect_id: "InterconnectId", # required
22
+ # vlan: 1, # required
23
+ # }
24
+ #
25
+ # @!attribute [rw] bandwidth
26
+ # Bandwidth of the connection.
27
+ #
28
+ # Example: "*500Mbps*"
29
+ #
30
+ # Default: None
31
+ #
32
+ # Values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500Mbps
33
+ # @return [String]
34
+ #
35
+ # @!attribute [rw] connection_name
36
+ # Name of the provisioned connection.
37
+ #
38
+ # Example: "*500M Connection to AWS*"
39
+ #
40
+ # Default: None
41
+ # @return [String]
42
+ #
43
+ # @!attribute [rw] owner_account
44
+ # Numeric account Id of the customer for whom the connection will be
45
+ # provisioned.
46
+ #
47
+ # Example: 123443215678
48
+ #
49
+ # Default: None
50
+ # @return [String]
51
+ #
52
+ # @!attribute [rw] interconnect_id
53
+ # ID of the interconnect on which the connection will be provisioned.
54
+ #
55
+ # Example: dxcon-456abc78
56
+ #
57
+ # Default: None
58
+ # @return [String]
59
+ #
60
+ # @!attribute [rw] vlan
61
+ # The dedicated VLAN provisioned to the connection.
62
+ #
63
+ # Example: 101
64
+ #
65
+ # Default: None
66
+ # @return [Integer]
67
+ #
68
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateConnectionOnInterconnectRequest AWS API Documentation
69
+ #
70
+ class AllocateConnectionOnInterconnectRequest < Struct.new(
71
+ :bandwidth,
72
+ :connection_name,
73
+ :owner_account,
74
+ :interconnect_id,
75
+ :vlan)
76
+ include Aws::Structure
1940
77
  end
78
+
79
+ # Container for the parameters to theHostedConnection operation.
80
+ #
81
+ # @note When making an API call, you may pass AllocateHostedConnectionRequest
82
+ # data as a hash:
83
+ #
84
+ # {
85
+ # connection_id: "ConnectionId", # required
86
+ # owner_account: "OwnerAccount", # required
87
+ # bandwidth: "Bandwidth", # required
88
+ # connection_name: "ConnectionName", # required
89
+ # vlan: 1, # required
90
+ # }
91
+ #
92
+ # @!attribute [rw] connection_id
93
+ # The ID of the interconnect or LAG on which the connection will be
94
+ # provisioned.
95
+ #
96
+ # Example: dxcon-456abc78 or dxlag-abc123
97
+ #
98
+ # Default: None
99
+ # @return [String]
100
+ #
101
+ # @!attribute [rw] owner_account
102
+ # The numeric account ID of the customer for whom the connection will
103
+ # be provisioned.
104
+ #
105
+ # Example: 123443215678
106
+ #
107
+ # Default: None
108
+ # @return [String]
109
+ #
110
+ # @!attribute [rw] bandwidth
111
+ # The bandwidth of the connection.
112
+ #
113
+ # Example: `500Mbps`
114
+ #
115
+ # Default: None
116
+ #
117
+ # Values: 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, or 500Mbps
118
+ # @return [String]
119
+ #
120
+ # @!attribute [rw] connection_name
121
+ # The name of the provisioned connection.
122
+ #
123
+ # Example: "`500M Connection to AWS`"
124
+ #
125
+ # Default: None
126
+ # @return [String]
127
+ #
128
+ # @!attribute [rw] vlan
129
+ # The dedicated VLAN provisioned to the hosted connection.
130
+ #
131
+ # Example: 101
132
+ #
133
+ # Default: None
134
+ # @return [Integer]
135
+ #
136
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocateHostedConnectionRequest AWS API Documentation
137
+ #
138
+ class AllocateHostedConnectionRequest < Struct.new(
139
+ :connection_id,
140
+ :owner_account,
141
+ :bandwidth,
142
+ :connection_name,
143
+ :vlan)
144
+ include Aws::Structure
145
+ end
146
+
147
+ # Container for the parameters to the AllocatePrivateVirtualInterface
148
+ # operation.
149
+ #
150
+ # @note When making an API call, you may pass AllocatePrivateVirtualInterfaceRequest
151
+ # data as a hash:
152
+ #
153
+ # {
154
+ # connection_id: "ConnectionId", # required
155
+ # owner_account: "OwnerAccount", # required
156
+ # new_private_virtual_interface_allocation: { # required
157
+ # virtual_interface_name: "VirtualInterfaceName", # required
158
+ # vlan: 1, # required
159
+ # asn: 1, # required
160
+ # auth_key: "BGPAuthKey",
161
+ # amazon_address: "AmazonAddress",
162
+ # address_family: "ipv4", # accepts ipv4, ipv6
163
+ # customer_address: "CustomerAddress",
164
+ # },
165
+ # }
166
+ #
167
+ # @!attribute [rw] connection_id
168
+ # The connection ID on which the private virtual interface is
169
+ # provisioned.
170
+ #
171
+ # Default: None
172
+ # @return [String]
173
+ #
174
+ # @!attribute [rw] owner_account
175
+ # The AWS account that will own the new private virtual interface.
176
+ #
177
+ # Default: None
178
+ # @return [String]
179
+ #
180
+ # @!attribute [rw] new_private_virtual_interface_allocation
181
+ # Detailed information for the private virtual interface to be
182
+ # provisioned.
183
+ #
184
+ # Default: None
185
+ # @return [Types::NewPrivateVirtualInterfaceAllocation]
186
+ #
187
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePrivateVirtualInterfaceRequest AWS API Documentation
188
+ #
189
+ class AllocatePrivateVirtualInterfaceRequest < Struct.new(
190
+ :connection_id,
191
+ :owner_account,
192
+ :new_private_virtual_interface_allocation)
193
+ include Aws::Structure
194
+ end
195
+
196
+ # Container for the parameters to the AllocatePublicVirtualInterface
197
+ # operation.
198
+ #
199
+ # @note When making an API call, you may pass AllocatePublicVirtualInterfaceRequest
200
+ # data as a hash:
201
+ #
202
+ # {
203
+ # connection_id: "ConnectionId", # required
204
+ # owner_account: "OwnerAccount", # required
205
+ # new_public_virtual_interface_allocation: { # required
206
+ # virtual_interface_name: "VirtualInterfaceName", # required
207
+ # vlan: 1, # required
208
+ # asn: 1, # required
209
+ # auth_key: "BGPAuthKey",
210
+ # amazon_address: "AmazonAddress",
211
+ # customer_address: "CustomerAddress",
212
+ # address_family: "ipv4", # accepts ipv4, ipv6
213
+ # route_filter_prefixes: [
214
+ # {
215
+ # cidr: "CIDR",
216
+ # },
217
+ # ],
218
+ # },
219
+ # }
220
+ #
221
+ # @!attribute [rw] connection_id
222
+ # The connection ID on which the public virtual interface is
223
+ # provisioned.
224
+ #
225
+ # Default: None
226
+ # @return [String]
227
+ #
228
+ # @!attribute [rw] owner_account
229
+ # The AWS account that will own the new public virtual interface.
230
+ #
231
+ # Default: None
232
+ # @return [String]
233
+ #
234
+ # @!attribute [rw] new_public_virtual_interface_allocation
235
+ # Detailed information for the public virtual interface to be
236
+ # provisioned.
237
+ #
238
+ # Default: None
239
+ # @return [Types::NewPublicVirtualInterfaceAllocation]
240
+ #
241
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AllocatePublicVirtualInterfaceRequest AWS API Documentation
242
+ #
243
+ class AllocatePublicVirtualInterfaceRequest < Struct.new(
244
+ :connection_id,
245
+ :owner_account,
246
+ :new_public_virtual_interface_allocation)
247
+ include Aws::Structure
248
+ end
249
+
250
+ # Container for the parameters to the AssociateConnectionWithLag
251
+ # operation.
252
+ #
253
+ # @note When making an API call, you may pass AssociateConnectionWithLagRequest
254
+ # data as a hash:
255
+ #
256
+ # {
257
+ # connection_id: "ConnectionId", # required
258
+ # lag_id: "LagId", # required
259
+ # }
260
+ #
261
+ # @!attribute [rw] connection_id
262
+ # The ID of the connection.
263
+ #
264
+ # Example: dxcon-abc123
265
+ #
266
+ # Default: None
267
+ # @return [String]
268
+ #
269
+ # @!attribute [rw] lag_id
270
+ # The ID of the LAG with which to associate the connection.
271
+ #
272
+ # Example: dxlag-abc123
273
+ #
274
+ # Default: None
275
+ # @return [String]
276
+ #
277
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateConnectionWithLagRequest AWS API Documentation
278
+ #
279
+ class AssociateConnectionWithLagRequest < Struct.new(
280
+ :connection_id,
281
+ :lag_id)
282
+ include Aws::Structure
283
+ end
284
+
285
+ # Container for the parameters to the AssociateHostedConnection
286
+ # operation.
287
+ #
288
+ # @note When making an API call, you may pass AssociateHostedConnectionRequest
289
+ # data as a hash:
290
+ #
291
+ # {
292
+ # connection_id: "ConnectionId", # required
293
+ # parent_connection_id: "ConnectionId", # required
294
+ # }
295
+ #
296
+ # @!attribute [rw] connection_id
297
+ # The ID of the hosted connection.
298
+ #
299
+ # Example: dxcon-abc123
300
+ #
301
+ # Default: None
302
+ # @return [String]
303
+ #
304
+ # @!attribute [rw] parent_connection_id
305
+ # The ID of the interconnect or the LAG.
306
+ #
307
+ # Example: dxcon-abc123 or dxlag-abc123
308
+ #
309
+ # Default: None
310
+ # @return [String]
311
+ #
312
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateHostedConnectionRequest AWS API Documentation
313
+ #
314
+ class AssociateHostedConnectionRequest < Struct.new(
315
+ :connection_id,
316
+ :parent_connection_id)
317
+ include Aws::Structure
318
+ end
319
+
320
+ # Container for the parameters to the AssociateVirtualInterface
321
+ # operation.
322
+ #
323
+ # @note When making an API call, you may pass AssociateVirtualInterfaceRequest
324
+ # data as a hash:
325
+ #
326
+ # {
327
+ # virtual_interface_id: "VirtualInterfaceId", # required
328
+ # connection_id: "ConnectionId", # required
329
+ # }
330
+ #
331
+ # @!attribute [rw] virtual_interface_id
332
+ # The ID of the virtual interface.
333
+ #
334
+ # Example: dxvif-123dfg56
335
+ #
336
+ # Default: None
337
+ # @return [String]
338
+ #
339
+ # @!attribute [rw] connection_id
340
+ # The ID of the LAG or connection with which to associate the virtual
341
+ # interface.
342
+ #
343
+ # Example: dxlag-abc123 or dxcon-abc123
344
+ #
345
+ # Default: None
346
+ # @return [String]
347
+ #
348
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/AssociateVirtualInterfaceRequest AWS API Documentation
349
+ #
350
+ class AssociateVirtualInterfaceRequest < Struct.new(
351
+ :virtual_interface_id,
352
+ :connection_id)
353
+ include Aws::Structure
354
+ end
355
+
356
+ # A structure containing information about a BGP peer.
357
+ #
358
+ # @!attribute [rw] asn
359
+ # The autonomous system (AS) number for Border Gateway Protocol (BGP)
360
+ # configuration.
361
+ #
362
+ # Example: 65000
363
+ # @return [Integer]
364
+ #
365
+ # @!attribute [rw] auth_key
366
+ # The authentication key for BGP configuration.
367
+ #
368
+ # Example: asdf34example
369
+ # @return [String]
370
+ #
371
+ # @!attribute [rw] address_family
372
+ # Indicates the address family for the BGP peer.
373
+ #
374
+ # * **ipv4**\: IPv4 address family
375
+ #
376
+ # * **ipv6**\: IPv6 address family
377
+ # @return [String]
378
+ #
379
+ # @!attribute [rw] amazon_address
380
+ # IP address assigned to the Amazon interface.
381
+ #
382
+ # Example: 192.168.1.1/30 or 2001:db8::1/125
383
+ # @return [String]
384
+ #
385
+ # @!attribute [rw] customer_address
386
+ # IP address assigned to the customer interface.
387
+ #
388
+ # Example: 192.168.1.2/30 or 2001:db8::2/125
389
+ # @return [String]
390
+ #
391
+ # @!attribute [rw] bgp_peer_state
392
+ # The state of the BGP peer.
393
+ #
394
+ # * **Verifying**\: The BGP peering addresses or ASN require
395
+ # validation before the BGP peer can be created. This state only
396
+ # applies to BGP peers on a public virtual interface.
397
+ #
398
+ # * **Pending**\: The BGP peer has been created, and is in this state
399
+ # until it is ready to be established.
400
+ #
401
+ # * **Available**\: The BGP peer can be established.
402
+ #
403
+ # * **Deleting**\: The BGP peer is in the process of being deleted.
404
+ #
405
+ # * **Deleted**\: The BGP peer has been deleted and cannot be
406
+ # established.
407
+ # @return [String]
408
+ #
409
+ # @!attribute [rw] bgp_status
410
+ # The Up/Down state of the BGP peer.
411
+ #
412
+ # * **Up**\: The BGP peer is established.
413
+ #
414
+ # * **Down**\: The BGP peer is down.
415
+ # @return [String]
416
+ #
417
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/BGPPeer AWS API Documentation
418
+ #
419
+ class BGPPeer < Struct.new(
420
+ :asn,
421
+ :auth_key,
422
+ :address_family,
423
+ :amazon_address,
424
+ :customer_address,
425
+ :bgp_peer_state,
426
+ :bgp_status)
427
+ include Aws::Structure
428
+ end
429
+
430
+ # Container for the parameters to the ConfirmConnection operation.
431
+ #
432
+ # @note When making an API call, you may pass ConfirmConnectionRequest
433
+ # data as a hash:
434
+ #
435
+ # {
436
+ # connection_id: "ConnectionId", # required
437
+ # }
438
+ #
439
+ # @!attribute [rw] connection_id
440
+ # The ID of the connection. This field is also used as the ID type for
441
+ # operations that use multiple connection types (LAG, interconnect,
442
+ # and/or connection).
443
+ #
444
+ # Example: dxcon-fg5678gh
445
+ #
446
+ # Default: None
447
+ # @return [String]
448
+ #
449
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmConnectionRequest AWS API Documentation
450
+ #
451
+ class ConfirmConnectionRequest < Struct.new(
452
+ :connection_id)
453
+ include Aws::Structure
454
+ end
455
+
456
+ # The response received when ConfirmConnection is called.
457
+ #
458
+ # @!attribute [rw] connection_state
459
+ # State of the connection.
460
+ #
461
+ # * **Ordering**\: The initial state of a hosted connection
462
+ # provisioned on an interconnect. The connection stays in the
463
+ # ordering state until the owner of the hosted connection confirms
464
+ # or declines the connection order.
465
+ #
466
+ # * **Requested**\: The initial state of a standard connection. The
467
+ # connection stays in the requested state until the Letter of
468
+ # Authorization (LOA) is sent to the customer.
469
+ #
470
+ # * **Pending**\: The connection has been approved, and is being
471
+ # initialized.
472
+ #
473
+ # * **Available**\: The network link is up, and the connection is
474
+ # ready for use.
475
+ #
476
+ # * **Down**\: The network link is down.
477
+ #
478
+ # * **Deleting**\: The connection is in the process of being deleted.
479
+ #
480
+ # * **Deleted**\: The connection has been deleted.
481
+ #
482
+ # * **Rejected**\: A hosted connection in the 'Ordering' state will
483
+ # enter the 'Rejected' state if it is deleted by the end customer.
484
+ # @return [String]
485
+ #
486
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmConnectionResponse AWS API Documentation
487
+ #
488
+ class ConfirmConnectionResponse < Struct.new(
489
+ :connection_state)
490
+ include Aws::Structure
491
+ end
492
+
493
+ # Container for the parameters to the ConfirmPrivateVirtualInterface
494
+ # operation.
495
+ #
496
+ # @note When making an API call, you may pass ConfirmPrivateVirtualInterfaceRequest
497
+ # data as a hash:
498
+ #
499
+ # {
500
+ # virtual_interface_id: "VirtualInterfaceId", # required
501
+ # virtual_gateway_id: "VirtualGatewayId", # required
502
+ # }
503
+ #
504
+ # @!attribute [rw] virtual_interface_id
505
+ # The ID of the virtual interface.
506
+ #
507
+ # Example: dxvif-123dfg56
508
+ #
509
+ # Default: None
510
+ # @return [String]
511
+ #
512
+ # @!attribute [rw] virtual_gateway_id
513
+ # ID of the virtual private gateway that will be attached to the
514
+ # virtual interface.
515
+ #
516
+ # A virtual private gateway can be managed via the Amazon Virtual
517
+ # Private Cloud (VPC) console or the [EC2 CreateVpnGateway][1] action.
518
+ #
519
+ # Default: None
520
+ #
521
+ #
522
+ #
523
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-CreateVpnGateway.html
524
+ # @return [String]
525
+ #
526
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPrivateVirtualInterfaceRequest AWS API Documentation
527
+ #
528
+ class ConfirmPrivateVirtualInterfaceRequest < Struct.new(
529
+ :virtual_interface_id,
530
+ :virtual_gateway_id)
531
+ include Aws::Structure
532
+ end
533
+
534
+ # The response received when ConfirmPrivateVirtualInterface is called.
535
+ #
536
+ # @!attribute [rw] virtual_interface_state
537
+ # State of the virtual interface.
538
+ #
539
+ # * **Confirming**\: The creation of the virtual interface is pending
540
+ # confirmation from the virtual interface owner. If the owner of the
541
+ # virtual interface is different from the owner of the connection on
542
+ # which it is provisioned, then the virtual interface will remain in
543
+ # this state until it is confirmed by the virtual interface owner.
544
+ #
545
+ # * **Verifying**\: This state only applies to public virtual
546
+ # interfaces. Each public virtual interface needs validation before
547
+ # the virtual interface can be created.
548
+ #
549
+ # * **Pending**\: A virtual interface is in this state from the time
550
+ # that it is created until the virtual interface is ready to forward
551
+ # traffic.
552
+ #
553
+ # * **Available**\: A virtual interface that is able to forward
554
+ # traffic.
555
+ #
556
+ # * **Down**\: A virtual interface that is BGP down.
557
+ #
558
+ # * **Deleting**\: A virtual interface is in this state immediately
559
+ # after calling DeleteVirtualInterface until it can no longer
560
+ # forward traffic.
561
+ #
562
+ # * **Deleted**\: A virtual interface that cannot forward traffic.
563
+ #
564
+ # * **Rejected**\: The virtual interface owner has declined creation
565
+ # of the virtual interface. If a virtual interface in the
566
+ # 'Confirming' state is deleted by the virtual interface owner,
567
+ # the virtual interface will enter the 'Rejected' state.
568
+ # @return [String]
569
+ #
570
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPrivateVirtualInterfaceResponse AWS API Documentation
571
+ #
572
+ class ConfirmPrivateVirtualInterfaceResponse < Struct.new(
573
+ :virtual_interface_state)
574
+ include Aws::Structure
575
+ end
576
+
577
+ # Container for the parameters to the ConfirmPublicVirtualInterface
578
+ # operation.
579
+ #
580
+ # @note When making an API call, you may pass ConfirmPublicVirtualInterfaceRequest
581
+ # data as a hash:
582
+ #
583
+ # {
584
+ # virtual_interface_id: "VirtualInterfaceId", # required
585
+ # }
586
+ #
587
+ # @!attribute [rw] virtual_interface_id
588
+ # The ID of the virtual interface.
589
+ #
590
+ # Example: dxvif-123dfg56
591
+ #
592
+ # Default: None
593
+ # @return [String]
594
+ #
595
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPublicVirtualInterfaceRequest AWS API Documentation
596
+ #
597
+ class ConfirmPublicVirtualInterfaceRequest < Struct.new(
598
+ :virtual_interface_id)
599
+ include Aws::Structure
600
+ end
601
+
602
+ # The response received when ConfirmPublicVirtualInterface is called.
603
+ #
604
+ # @!attribute [rw] virtual_interface_state
605
+ # State of the virtual interface.
606
+ #
607
+ # * **Confirming**\: The creation of the virtual interface is pending
608
+ # confirmation from the virtual interface owner. If the owner of the
609
+ # virtual interface is different from the owner of the connection on
610
+ # which it is provisioned, then the virtual interface will remain in
611
+ # this state until it is confirmed by the virtual interface owner.
612
+ #
613
+ # * **Verifying**\: This state only applies to public virtual
614
+ # interfaces. Each public virtual interface needs validation before
615
+ # the virtual interface can be created.
616
+ #
617
+ # * **Pending**\: A virtual interface is in this state from the time
618
+ # that it is created until the virtual interface is ready to forward
619
+ # traffic.
620
+ #
621
+ # * **Available**\: A virtual interface that is able to forward
622
+ # traffic.
623
+ #
624
+ # * **Down**\: A virtual interface that is BGP down.
625
+ #
626
+ # * **Deleting**\: A virtual interface is in this state immediately
627
+ # after calling DeleteVirtualInterface until it can no longer
628
+ # forward traffic.
629
+ #
630
+ # * **Deleted**\: A virtual interface that cannot forward traffic.
631
+ #
632
+ # * **Rejected**\: The virtual interface owner has declined creation
633
+ # of the virtual interface. If a virtual interface in the
634
+ # 'Confirming' state is deleted by the virtual interface owner,
635
+ # the virtual interface will enter the 'Rejected' state.
636
+ # @return [String]
637
+ #
638
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ConfirmPublicVirtualInterfaceResponse AWS API Documentation
639
+ #
640
+ class ConfirmPublicVirtualInterfaceResponse < Struct.new(
641
+ :virtual_interface_state)
642
+ include Aws::Structure
643
+ end
644
+
645
+ # A connection represents the physical network connection between the
646
+ # AWS Direct Connect location and the customer.
647
+ #
648
+ # @!attribute [rw] owner_account
649
+ # The AWS account that will own the new connection.
650
+ # @return [String]
651
+ #
652
+ # @!attribute [rw] connection_id
653
+ # The ID of the connection. This field is also used as the ID type for
654
+ # operations that use multiple connection types (LAG, interconnect,
655
+ # and/or connection).
656
+ #
657
+ # Example: dxcon-fg5678gh
658
+ #
659
+ # Default: None
660
+ # @return [String]
661
+ #
662
+ # @!attribute [rw] connection_name
663
+ # The name of the connection.
664
+ #
665
+ # Example: "*My Connection to AWS*"
666
+ #
667
+ # Default: None
668
+ # @return [String]
669
+ #
670
+ # @!attribute [rw] connection_state
671
+ # State of the connection.
672
+ #
673
+ # * **Ordering**\: The initial state of a hosted connection
674
+ # provisioned on an interconnect. The connection stays in the
675
+ # ordering state until the owner of the hosted connection confirms
676
+ # or declines the connection order.
677
+ #
678
+ # * **Requested**\: The initial state of a standard connection. The
679
+ # connection stays in the requested state until the Letter of
680
+ # Authorization (LOA) is sent to the customer.
681
+ #
682
+ # * **Pending**\: The connection has been approved, and is being
683
+ # initialized.
684
+ #
685
+ # * **Available**\: The network link is up, and the connection is
686
+ # ready for use.
687
+ #
688
+ # * **Down**\: The network link is down.
689
+ #
690
+ # * **Deleting**\: The connection is in the process of being deleted.
691
+ #
692
+ # * **Deleted**\: The connection has been deleted.
693
+ #
694
+ # * **Rejected**\: A hosted connection in the 'Ordering' state will
695
+ # enter the 'Rejected' state if it is deleted by the end customer.
696
+ # @return [String]
697
+ #
698
+ # @!attribute [rw] region
699
+ # The AWS region where the connection is located.
700
+ #
701
+ # Example: us-east-1
702
+ #
703
+ # Default: None
704
+ # @return [String]
705
+ #
706
+ # @!attribute [rw] location
707
+ # Where the connection is located.
708
+ #
709
+ # Example: EqSV5
710
+ #
711
+ # Default: None
712
+ # @return [String]
713
+ #
714
+ # @!attribute [rw] bandwidth
715
+ # Bandwidth of the connection.
716
+ #
717
+ # Example: 1Gbps (for regular connections), or 500Mbps (for hosted
718
+ # connections)
719
+ #
720
+ # Default: None
721
+ # @return [String]
722
+ #
723
+ # @!attribute [rw] vlan
724
+ # The VLAN ID.
725
+ #
726
+ # Example: 101
727
+ # @return [Integer]
728
+ #
729
+ # @!attribute [rw] partner_name
730
+ # The name of the AWS Direct Connect service provider associated with
731
+ # the connection.
732
+ # @return [String]
733
+ #
734
+ # @!attribute [rw] loa_issue_time
735
+ # The time of the most recent call to DescribeLoa for this connection.
736
+ # @return [Time]
737
+ #
738
+ # @!attribute [rw] lag_id
739
+ # The ID of the LAG.
740
+ #
741
+ # Example: dxlag-fg5678gh
742
+ # @return [String]
743
+ #
744
+ # @!attribute [rw] aws_device
745
+ # The Direct Connection endpoint which the physical connection
746
+ # terminates on.
747
+ # @return [String]
748
+ #
749
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Connection AWS API Documentation
750
+ #
751
+ class Connection < Struct.new(
752
+ :owner_account,
753
+ :connection_id,
754
+ :connection_name,
755
+ :connection_state,
756
+ :region,
757
+ :location,
758
+ :bandwidth,
759
+ :vlan,
760
+ :partner_name,
761
+ :loa_issue_time,
762
+ :lag_id,
763
+ :aws_device)
764
+ include Aws::Structure
765
+ end
766
+
767
+ # A structure containing a list of connections.
768
+ #
769
+ # @!attribute [rw] connections
770
+ # A list of connections.
771
+ # @return [Array<Types::Connection>]
772
+ #
773
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Connections AWS API Documentation
774
+ #
775
+ class Connections < Struct.new(
776
+ :connections)
777
+ include Aws::Structure
778
+ end
779
+
780
+ # Container for the parameters to the CreateBGPPeer operation.
781
+ #
782
+ # @note When making an API call, you may pass CreateBGPPeerRequest
783
+ # data as a hash:
784
+ #
785
+ # {
786
+ # virtual_interface_id: "VirtualInterfaceId",
787
+ # new_bgp_peer: {
788
+ # asn: 1,
789
+ # auth_key: "BGPAuthKey",
790
+ # address_family: "ipv4", # accepts ipv4, ipv6
791
+ # amazon_address: "AmazonAddress",
792
+ # customer_address: "CustomerAddress",
793
+ # },
794
+ # }
795
+ #
796
+ # @!attribute [rw] virtual_interface_id
797
+ # The ID of the virtual interface on which the BGP peer will be
798
+ # provisioned.
799
+ #
800
+ # Example: dxvif-456abc78
801
+ #
802
+ # Default: None
803
+ # @return [String]
804
+ #
805
+ # @!attribute [rw] new_bgp_peer
806
+ # Detailed information for the BGP peer to be created.
807
+ #
808
+ # Default: None
809
+ # @return [Types::NewBGPPeer]
810
+ #
811
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateBGPPeerRequest AWS API Documentation
812
+ #
813
+ class CreateBGPPeerRequest < Struct.new(
814
+ :virtual_interface_id,
815
+ :new_bgp_peer)
816
+ include Aws::Structure
817
+ end
818
+
819
+ # The response received when CreateBGPPeer is called.
820
+ #
821
+ # @!attribute [rw] virtual_interface
822
+ # A virtual interface (VLAN) transmits the traffic between the AWS
823
+ # Direct Connect location and the customer.
824
+ # @return [Types::VirtualInterface]
825
+ #
826
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateBGPPeerResponse AWS API Documentation
827
+ #
828
+ class CreateBGPPeerResponse < Struct.new(
829
+ :virtual_interface)
830
+ include Aws::Structure
831
+ end
832
+
833
+ # Container for the parameters to the CreateConnection operation.
834
+ #
835
+ # @note When making an API call, you may pass CreateConnectionRequest
836
+ # data as a hash:
837
+ #
838
+ # {
839
+ # location: "LocationCode", # required
840
+ # bandwidth: "Bandwidth", # required
841
+ # connection_name: "ConnectionName", # required
842
+ # lag_id: "LagId",
843
+ # }
844
+ #
845
+ # @!attribute [rw] location
846
+ # Where the connection is located.
847
+ #
848
+ # Example: EqSV5
849
+ #
850
+ # Default: None
851
+ # @return [String]
852
+ #
853
+ # @!attribute [rw] bandwidth
854
+ # Bandwidth of the connection.
855
+ #
856
+ # Example: 1Gbps
857
+ #
858
+ # Default: None
859
+ # @return [String]
860
+ #
861
+ # @!attribute [rw] connection_name
862
+ # The name of the connection.
863
+ #
864
+ # Example: "*My Connection to AWS*"
865
+ #
866
+ # Default: None
867
+ # @return [String]
868
+ #
869
+ # @!attribute [rw] lag_id
870
+ # The ID of the LAG.
871
+ #
872
+ # Example: dxlag-fg5678gh
873
+ # @return [String]
874
+ #
875
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateConnectionRequest AWS API Documentation
876
+ #
877
+ class CreateConnectionRequest < Struct.new(
878
+ :location,
879
+ :bandwidth,
880
+ :connection_name,
881
+ :lag_id)
882
+ include Aws::Structure
883
+ end
884
+
885
+ # Container for the parameters to the CreateInterconnect operation.
886
+ #
887
+ # @note When making an API call, you may pass CreateInterconnectRequest
888
+ # data as a hash:
889
+ #
890
+ # {
891
+ # interconnect_name: "InterconnectName", # required
892
+ # bandwidth: "Bandwidth", # required
893
+ # location: "LocationCode", # required
894
+ # lag_id: "LagId",
895
+ # }
896
+ #
897
+ # @!attribute [rw] interconnect_name
898
+ # The name of the interconnect.
899
+ #
900
+ # Example: "*1G Interconnect to AWS*"
901
+ #
902
+ # Default: None
903
+ # @return [String]
904
+ #
905
+ # @!attribute [rw] bandwidth
906
+ # The port bandwidth
907
+ #
908
+ # Example: 1Gbps
909
+ #
910
+ # Default: None
911
+ #
912
+ # Available values: 1Gbps,10Gbps
913
+ # @return [String]
914
+ #
915
+ # @!attribute [rw] location
916
+ # Where the interconnect is located
917
+ #
918
+ # Example: EqSV5
919
+ #
920
+ # Default: None
921
+ # @return [String]
922
+ #
923
+ # @!attribute [rw] lag_id
924
+ # The ID of the LAG.
925
+ #
926
+ # Example: dxlag-fg5678gh
927
+ # @return [String]
928
+ #
929
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateInterconnectRequest AWS API Documentation
930
+ #
931
+ class CreateInterconnectRequest < Struct.new(
932
+ :interconnect_name,
933
+ :bandwidth,
934
+ :location,
935
+ :lag_id)
936
+ include Aws::Structure
937
+ end
938
+
939
+ # Container for the parameters to the CreateLag operation.
940
+ #
941
+ # @note When making an API call, you may pass CreateLagRequest
942
+ # data as a hash:
943
+ #
944
+ # {
945
+ # number_of_connections: 1, # required
946
+ # location: "LocationCode", # required
947
+ # connections_bandwidth: "Bandwidth", # required
948
+ # lag_name: "LagName", # required
949
+ # connection_id: "ConnectionId",
950
+ # }
951
+ #
952
+ # @!attribute [rw] number_of_connections
953
+ # The number of physical connections initially provisioned and bundled
954
+ # by the LAG.
955
+ #
956
+ # Default: None
957
+ # @return [Integer]
958
+ #
959
+ # @!attribute [rw] location
960
+ # The AWS Direct Connect location in which the LAG should be
961
+ # allocated.
962
+ #
963
+ # Example: EqSV5
964
+ #
965
+ # Default: None
966
+ # @return [String]
967
+ #
968
+ # @!attribute [rw] connections_bandwidth
969
+ # The bandwidth of the individual physical connections bundled by the
970
+ # LAG.
971
+ #
972
+ # Default: None
973
+ #
974
+ # Available values: 1Gbps, 10Gbps
975
+ # @return [String]
976
+ #
977
+ # @!attribute [rw] lag_name
978
+ # The name of the LAG.
979
+ #
980
+ # Example: "`3x10G LAG to AWS`"
981
+ #
982
+ # Default: None
983
+ # @return [String]
984
+ #
985
+ # @!attribute [rw] connection_id
986
+ # The ID of an existing connection to migrate to the LAG.
987
+ #
988
+ # Default: None
989
+ # @return [String]
990
+ #
991
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreateLagRequest AWS API Documentation
992
+ #
993
+ class CreateLagRequest < Struct.new(
994
+ :number_of_connections,
995
+ :location,
996
+ :connections_bandwidth,
997
+ :lag_name,
998
+ :connection_id)
999
+ include Aws::Structure
1000
+ end
1001
+
1002
+ # Container for the parameters to the CreatePrivateVirtualInterface
1003
+ # operation.
1004
+ #
1005
+ # @note When making an API call, you may pass CreatePrivateVirtualInterfaceRequest
1006
+ # data as a hash:
1007
+ #
1008
+ # {
1009
+ # connection_id: "ConnectionId", # required
1010
+ # new_private_virtual_interface: { # required
1011
+ # virtual_interface_name: "VirtualInterfaceName", # required
1012
+ # vlan: 1, # required
1013
+ # asn: 1, # required
1014
+ # auth_key: "BGPAuthKey",
1015
+ # amazon_address: "AmazonAddress",
1016
+ # customer_address: "CustomerAddress",
1017
+ # address_family: "ipv4", # accepts ipv4, ipv6
1018
+ # virtual_gateway_id: "VirtualGatewayId", # required
1019
+ # },
1020
+ # }
1021
+ #
1022
+ # @!attribute [rw] connection_id
1023
+ # The ID of the connection. This field is also used as the ID type for
1024
+ # operations that use multiple connection types (LAG, interconnect,
1025
+ # and/or connection).
1026
+ #
1027
+ # Example: dxcon-fg5678gh
1028
+ #
1029
+ # Default: None
1030
+ # @return [String]
1031
+ #
1032
+ # @!attribute [rw] new_private_virtual_interface
1033
+ # Detailed information for the private virtual interface to be
1034
+ # created.
1035
+ #
1036
+ # Default: None
1037
+ # @return [Types::NewPrivateVirtualInterface]
1038
+ #
1039
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePrivateVirtualInterfaceRequest AWS API Documentation
1040
+ #
1041
+ class CreatePrivateVirtualInterfaceRequest < Struct.new(
1042
+ :connection_id,
1043
+ :new_private_virtual_interface)
1044
+ include Aws::Structure
1045
+ end
1046
+
1047
+ # Container for the parameters to the CreatePublicVirtualInterface
1048
+ # operation.
1049
+ #
1050
+ # @note When making an API call, you may pass CreatePublicVirtualInterfaceRequest
1051
+ # data as a hash:
1052
+ #
1053
+ # {
1054
+ # connection_id: "ConnectionId", # required
1055
+ # new_public_virtual_interface: { # required
1056
+ # virtual_interface_name: "VirtualInterfaceName", # required
1057
+ # vlan: 1, # required
1058
+ # asn: 1, # required
1059
+ # auth_key: "BGPAuthKey",
1060
+ # amazon_address: "AmazonAddress",
1061
+ # customer_address: "CustomerAddress",
1062
+ # address_family: "ipv4", # accepts ipv4, ipv6
1063
+ # route_filter_prefixes: [
1064
+ # {
1065
+ # cidr: "CIDR",
1066
+ # },
1067
+ # ],
1068
+ # },
1069
+ # }
1070
+ #
1071
+ # @!attribute [rw] connection_id
1072
+ # The ID of the connection. This field is also used as the ID type for
1073
+ # operations that use multiple connection types (LAG, interconnect,
1074
+ # and/or connection).
1075
+ #
1076
+ # Example: dxcon-fg5678gh
1077
+ #
1078
+ # Default: None
1079
+ # @return [String]
1080
+ #
1081
+ # @!attribute [rw] new_public_virtual_interface
1082
+ # Detailed information for the public virtual interface to be created.
1083
+ #
1084
+ # Default: None
1085
+ # @return [Types::NewPublicVirtualInterface]
1086
+ #
1087
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/CreatePublicVirtualInterfaceRequest AWS API Documentation
1088
+ #
1089
+ class CreatePublicVirtualInterfaceRequest < Struct.new(
1090
+ :connection_id,
1091
+ :new_public_virtual_interface)
1092
+ include Aws::Structure
1093
+ end
1094
+
1095
+ # Container for the parameters to the DeleteBGPPeer operation.
1096
+ #
1097
+ # @note When making an API call, you may pass DeleteBGPPeerRequest
1098
+ # data as a hash:
1099
+ #
1100
+ # {
1101
+ # virtual_interface_id: "VirtualInterfaceId",
1102
+ # asn: 1,
1103
+ # customer_address: "CustomerAddress",
1104
+ # }
1105
+ #
1106
+ # @!attribute [rw] virtual_interface_id
1107
+ # The ID of the virtual interface from which the BGP peer will be
1108
+ # deleted.
1109
+ #
1110
+ # Example: dxvif-456abc78
1111
+ #
1112
+ # Default: None
1113
+ # @return [String]
1114
+ #
1115
+ # @!attribute [rw] asn
1116
+ # The autonomous system (AS) number for Border Gateway Protocol (BGP)
1117
+ # configuration.
1118
+ #
1119
+ # Example: 65000
1120
+ # @return [Integer]
1121
+ #
1122
+ # @!attribute [rw] customer_address
1123
+ # IP address assigned to the customer interface.
1124
+ #
1125
+ # Example: 192.168.1.2/30 or 2001:db8::2/125
1126
+ # @return [String]
1127
+ #
1128
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteBGPPeerRequest AWS API Documentation
1129
+ #
1130
+ class DeleteBGPPeerRequest < Struct.new(
1131
+ :virtual_interface_id,
1132
+ :asn,
1133
+ :customer_address)
1134
+ include Aws::Structure
1135
+ end
1136
+
1137
+ # The response received when DeleteBGPPeer is called.
1138
+ #
1139
+ # @!attribute [rw] virtual_interface
1140
+ # A virtual interface (VLAN) transmits the traffic between the AWS
1141
+ # Direct Connect location and the customer.
1142
+ # @return [Types::VirtualInterface]
1143
+ #
1144
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteBGPPeerResponse AWS API Documentation
1145
+ #
1146
+ class DeleteBGPPeerResponse < Struct.new(
1147
+ :virtual_interface)
1148
+ include Aws::Structure
1149
+ end
1150
+
1151
+ # Container for the parameters to the DeleteConnection operation.
1152
+ #
1153
+ # @note When making an API call, you may pass DeleteConnectionRequest
1154
+ # data as a hash:
1155
+ #
1156
+ # {
1157
+ # connection_id: "ConnectionId", # required
1158
+ # }
1159
+ #
1160
+ # @!attribute [rw] connection_id
1161
+ # The ID of the connection. This field is also used as the ID type for
1162
+ # operations that use multiple connection types (LAG, interconnect,
1163
+ # and/or connection).
1164
+ #
1165
+ # Example: dxcon-fg5678gh
1166
+ #
1167
+ # Default: None
1168
+ # @return [String]
1169
+ #
1170
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteConnectionRequest AWS API Documentation
1171
+ #
1172
+ class DeleteConnectionRequest < Struct.new(
1173
+ :connection_id)
1174
+ include Aws::Structure
1175
+ end
1176
+
1177
+ # Container for the parameters to the DeleteInterconnect operation.
1178
+ #
1179
+ # @note When making an API call, you may pass DeleteInterconnectRequest
1180
+ # data as a hash:
1181
+ #
1182
+ # {
1183
+ # interconnect_id: "InterconnectId", # required
1184
+ # }
1185
+ #
1186
+ # @!attribute [rw] interconnect_id
1187
+ # The ID of the interconnect.
1188
+ #
1189
+ # Example: dxcon-abc123
1190
+ # @return [String]
1191
+ #
1192
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteInterconnectRequest AWS API Documentation
1193
+ #
1194
+ class DeleteInterconnectRequest < Struct.new(
1195
+ :interconnect_id)
1196
+ include Aws::Structure
1197
+ end
1198
+
1199
+ # The response received when DeleteInterconnect is called.
1200
+ #
1201
+ # @!attribute [rw] interconnect_state
1202
+ # State of the interconnect.
1203
+ #
1204
+ # * **Requested**\: The initial state of an interconnect. The
1205
+ # interconnect stays in the requested state until the Letter of
1206
+ # Authorization (LOA) is sent to the customer.
1207
+ #
1208
+ # * **Pending**\: The interconnect has been approved, and is being
1209
+ # initialized.
1210
+ #
1211
+ # * **Available**\: The network link is up, and the interconnect is
1212
+ # ready for use.
1213
+ #
1214
+ # * **Down**\: The network link is down.
1215
+ #
1216
+ # * **Deleting**\: The interconnect is in the process of being
1217
+ # deleted.
1218
+ #
1219
+ # * **Deleted**\: The interconnect has been deleted.
1220
+ # @return [String]
1221
+ #
1222
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteInterconnectResponse AWS API Documentation
1223
+ #
1224
+ class DeleteInterconnectResponse < Struct.new(
1225
+ :interconnect_state)
1226
+ include Aws::Structure
1227
+ end
1228
+
1229
+ # Container for the parameters to the DeleteLag operation.
1230
+ #
1231
+ # @note When making an API call, you may pass DeleteLagRequest
1232
+ # data as a hash:
1233
+ #
1234
+ # {
1235
+ # lag_id: "LagId", # required
1236
+ # }
1237
+ #
1238
+ # @!attribute [rw] lag_id
1239
+ # The ID of the LAG to delete.
1240
+ #
1241
+ # Example: dxlag-abc123
1242
+ #
1243
+ # Default: None
1244
+ # @return [String]
1245
+ #
1246
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteLagRequest AWS API Documentation
1247
+ #
1248
+ class DeleteLagRequest < Struct.new(
1249
+ :lag_id)
1250
+ include Aws::Structure
1251
+ end
1252
+
1253
+ # Container for the parameters to the DeleteVirtualInterface operation.
1254
+ #
1255
+ # @note When making an API call, you may pass DeleteVirtualInterfaceRequest
1256
+ # data as a hash:
1257
+ #
1258
+ # {
1259
+ # virtual_interface_id: "VirtualInterfaceId", # required
1260
+ # }
1261
+ #
1262
+ # @!attribute [rw] virtual_interface_id
1263
+ # The ID of the virtual interface.
1264
+ #
1265
+ # Example: dxvif-123dfg56
1266
+ #
1267
+ # Default: None
1268
+ # @return [String]
1269
+ #
1270
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteVirtualInterfaceRequest AWS API Documentation
1271
+ #
1272
+ class DeleteVirtualInterfaceRequest < Struct.new(
1273
+ :virtual_interface_id)
1274
+ include Aws::Structure
1275
+ end
1276
+
1277
+ # The response received when DeleteVirtualInterface is called.
1278
+ #
1279
+ # @!attribute [rw] virtual_interface_state
1280
+ # State of the virtual interface.
1281
+ #
1282
+ # * **Confirming**\: The creation of the virtual interface is pending
1283
+ # confirmation from the virtual interface owner. If the owner of the
1284
+ # virtual interface is different from the owner of the connection on
1285
+ # which it is provisioned, then the virtual interface will remain in
1286
+ # this state until it is confirmed by the virtual interface owner.
1287
+ #
1288
+ # * **Verifying**\: This state only applies to public virtual
1289
+ # interfaces. Each public virtual interface needs validation before
1290
+ # the virtual interface can be created.
1291
+ #
1292
+ # * **Pending**\: A virtual interface is in this state from the time
1293
+ # that it is created until the virtual interface is ready to forward
1294
+ # traffic.
1295
+ #
1296
+ # * **Available**\: A virtual interface that is able to forward
1297
+ # traffic.
1298
+ #
1299
+ # * **Down**\: A virtual interface that is BGP down.
1300
+ #
1301
+ # * **Deleting**\: A virtual interface is in this state immediately
1302
+ # after calling DeleteVirtualInterface until it can no longer
1303
+ # forward traffic.
1304
+ #
1305
+ # * **Deleted**\: A virtual interface that cannot forward traffic.
1306
+ #
1307
+ # * **Rejected**\: The virtual interface owner has declined creation
1308
+ # of the virtual interface. If a virtual interface in the
1309
+ # 'Confirming' state is deleted by the virtual interface owner,
1310
+ # the virtual interface will enter the 'Rejected' state.
1311
+ # @return [String]
1312
+ #
1313
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DeleteVirtualInterfaceResponse AWS API Documentation
1314
+ #
1315
+ class DeleteVirtualInterfaceResponse < Struct.new(
1316
+ :virtual_interface_state)
1317
+ include Aws::Structure
1318
+ end
1319
+
1320
+ # Container for the parameters to the DescribeConnectionLoa operation.
1321
+ #
1322
+ # @note When making an API call, you may pass DescribeConnectionLoaRequest
1323
+ # data as a hash:
1324
+ #
1325
+ # {
1326
+ # connection_id: "ConnectionId", # required
1327
+ # provider_name: "ProviderName",
1328
+ # loa_content_type: "application/pdf", # accepts application/pdf
1329
+ # }
1330
+ #
1331
+ # @!attribute [rw] connection_id
1332
+ # The ID of the connection. This field is also used as the ID type for
1333
+ # operations that use multiple connection types (LAG, interconnect,
1334
+ # and/or connection).
1335
+ #
1336
+ # Example: dxcon-fg5678gh
1337
+ #
1338
+ # Default: None
1339
+ # @return [String]
1340
+ #
1341
+ # @!attribute [rw] provider_name
1342
+ # The name of the APN partner or service provider who establishes
1343
+ # connectivity on your behalf. If you supply this parameter, the
1344
+ # LOA-CFA lists the provider name alongside your company name as the
1345
+ # requester of the cross connect.
1346
+ #
1347
+ # Default: None
1348
+ # @return [String]
1349
+ #
1350
+ # @!attribute [rw] loa_content_type
1351
+ # A standard media type indicating the content type of the LOA-CFA
1352
+ # document. Currently, the only supported value is
1353
+ # "application/pdf".
1354
+ #
1355
+ # Default: application/pdf
1356
+ # @return [String]
1357
+ #
1358
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionLoaRequest AWS API Documentation
1359
+ #
1360
+ class DescribeConnectionLoaRequest < Struct.new(
1361
+ :connection_id,
1362
+ :provider_name,
1363
+ :loa_content_type)
1364
+ include Aws::Structure
1365
+ end
1366
+
1367
+ # The response received when DescribeConnectionLoa is called.
1368
+ #
1369
+ # @!attribute [rw] loa
1370
+ # A structure containing the Letter of Authorization - Connecting
1371
+ # Facility Assignment (LOA-CFA) for a connection.
1372
+ # @return [Types::Loa]
1373
+ #
1374
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionLoaResponse AWS API Documentation
1375
+ #
1376
+ class DescribeConnectionLoaResponse < Struct.new(
1377
+ :loa)
1378
+ include Aws::Structure
1379
+ end
1380
+
1381
+ # Container for the parameters to the DescribeConnectionsOnInterconnect
1382
+ # operation.
1383
+ #
1384
+ # @note When making an API call, you may pass DescribeConnectionsOnInterconnectRequest
1385
+ # data as a hash:
1386
+ #
1387
+ # {
1388
+ # interconnect_id: "InterconnectId", # required
1389
+ # }
1390
+ #
1391
+ # @!attribute [rw] interconnect_id
1392
+ # ID of the interconnect on which a list of connection is provisioned.
1393
+ #
1394
+ # Example: dxcon-abc123
1395
+ #
1396
+ # Default: None
1397
+ # @return [String]
1398
+ #
1399
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsOnInterconnectRequest AWS API Documentation
1400
+ #
1401
+ class DescribeConnectionsOnInterconnectRequest < Struct.new(
1402
+ :interconnect_id)
1403
+ include Aws::Structure
1404
+ end
1405
+
1406
+ # Container for the parameters to the DescribeConnections operation.
1407
+ #
1408
+ # @note When making an API call, you may pass DescribeConnectionsRequest
1409
+ # data as a hash:
1410
+ #
1411
+ # {
1412
+ # connection_id: "ConnectionId",
1413
+ # }
1414
+ #
1415
+ # @!attribute [rw] connection_id
1416
+ # The ID of the connection. This field is also used as the ID type for
1417
+ # operations that use multiple connection types (LAG, interconnect,
1418
+ # and/or connection).
1419
+ #
1420
+ # Example: dxcon-fg5678gh
1421
+ #
1422
+ # Default: None
1423
+ # @return [String]
1424
+ #
1425
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeConnectionsRequest AWS API Documentation
1426
+ #
1427
+ class DescribeConnectionsRequest < Struct.new(
1428
+ :connection_id)
1429
+ include Aws::Structure
1430
+ end
1431
+
1432
+ # Container for the parameters to the DescribeHostedConnections
1433
+ # operation.
1434
+ #
1435
+ # @note When making an API call, you may pass DescribeHostedConnectionsRequest
1436
+ # data as a hash:
1437
+ #
1438
+ # {
1439
+ # connection_id: "ConnectionId", # required
1440
+ # }
1441
+ #
1442
+ # @!attribute [rw] connection_id
1443
+ # The ID of the interconnect or LAG on which the hosted connections
1444
+ # are provisioned.
1445
+ #
1446
+ # Example: dxcon-abc123 or dxlag-abc123
1447
+ #
1448
+ # Default: None
1449
+ # @return [String]
1450
+ #
1451
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeHostedConnectionsRequest AWS API Documentation
1452
+ #
1453
+ class DescribeHostedConnectionsRequest < Struct.new(
1454
+ :connection_id)
1455
+ include Aws::Structure
1456
+ end
1457
+
1458
+ # Container for the parameters to the DescribeInterconnectLoa operation.
1459
+ #
1460
+ # @note When making an API call, you may pass DescribeInterconnectLoaRequest
1461
+ # data as a hash:
1462
+ #
1463
+ # {
1464
+ # interconnect_id: "InterconnectId", # required
1465
+ # provider_name: "ProviderName",
1466
+ # loa_content_type: "application/pdf", # accepts application/pdf
1467
+ # }
1468
+ #
1469
+ # @!attribute [rw] interconnect_id
1470
+ # The ID of the interconnect.
1471
+ #
1472
+ # Example: dxcon-abc123
1473
+ # @return [String]
1474
+ #
1475
+ # @!attribute [rw] provider_name
1476
+ # The name of the service provider who establishes connectivity on
1477
+ # your behalf. If you supply this parameter, the LOA-CFA lists the
1478
+ # provider name alongside your company name as the requester of the
1479
+ # cross connect.
1480
+ #
1481
+ # Default: None
1482
+ # @return [String]
1483
+ #
1484
+ # @!attribute [rw] loa_content_type
1485
+ # A standard media type indicating the content type of the LOA-CFA
1486
+ # document. Currently, the only supported value is
1487
+ # "application/pdf".
1488
+ #
1489
+ # Default: application/pdf
1490
+ # @return [String]
1491
+ #
1492
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectLoaRequest AWS API Documentation
1493
+ #
1494
+ class DescribeInterconnectLoaRequest < Struct.new(
1495
+ :interconnect_id,
1496
+ :provider_name,
1497
+ :loa_content_type)
1498
+ include Aws::Structure
1499
+ end
1500
+
1501
+ # The response received when DescribeInterconnectLoa is called.
1502
+ #
1503
+ # @!attribute [rw] loa
1504
+ # A structure containing the Letter of Authorization - Connecting
1505
+ # Facility Assignment (LOA-CFA) for a connection.
1506
+ # @return [Types::Loa]
1507
+ #
1508
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectLoaResponse AWS API Documentation
1509
+ #
1510
+ class DescribeInterconnectLoaResponse < Struct.new(
1511
+ :loa)
1512
+ include Aws::Structure
1513
+ end
1514
+
1515
+ # Container for the parameters to the DescribeInterconnects operation.
1516
+ #
1517
+ # @note When making an API call, you may pass DescribeInterconnectsRequest
1518
+ # data as a hash:
1519
+ #
1520
+ # {
1521
+ # interconnect_id: "InterconnectId",
1522
+ # }
1523
+ #
1524
+ # @!attribute [rw] interconnect_id
1525
+ # The ID of the interconnect.
1526
+ #
1527
+ # Example: dxcon-abc123
1528
+ # @return [String]
1529
+ #
1530
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeInterconnectsRequest AWS API Documentation
1531
+ #
1532
+ class DescribeInterconnectsRequest < Struct.new(
1533
+ :interconnect_id)
1534
+ include Aws::Structure
1535
+ end
1536
+
1537
+ # Container for the parameters to the DescribeLags operation.
1538
+ #
1539
+ # @note When making an API call, you may pass DescribeLagsRequest
1540
+ # data as a hash:
1541
+ #
1542
+ # {
1543
+ # lag_id: "LagId",
1544
+ # }
1545
+ #
1546
+ # @!attribute [rw] lag_id
1547
+ # The ID of the LAG.
1548
+ #
1549
+ # Example: dxlag-abc123
1550
+ #
1551
+ # Default: None
1552
+ # @return [String]
1553
+ #
1554
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLagsRequest AWS API Documentation
1555
+ #
1556
+ class DescribeLagsRequest < Struct.new(
1557
+ :lag_id)
1558
+ include Aws::Structure
1559
+ end
1560
+
1561
+ # Container for the parameters to the DescribeLoa operation.
1562
+ #
1563
+ # @note When making an API call, you may pass DescribeLoaRequest
1564
+ # data as a hash:
1565
+ #
1566
+ # {
1567
+ # connection_id: "ConnectionId", # required
1568
+ # provider_name: "ProviderName",
1569
+ # loa_content_type: "application/pdf", # accepts application/pdf
1570
+ # }
1571
+ #
1572
+ # @!attribute [rw] connection_id
1573
+ # The ID of a connection, LAG, or interconnect for which to get the
1574
+ # LOA-CFA information.
1575
+ #
1576
+ # Example: dxcon-abc123 or dxlag-abc123
1577
+ #
1578
+ # Default: None
1579
+ # @return [String]
1580
+ #
1581
+ # @!attribute [rw] provider_name
1582
+ # The name of the service provider who establishes connectivity on
1583
+ # your behalf. If you supply this parameter, the LOA-CFA lists the
1584
+ # provider name alongside your company name as the requester of the
1585
+ # cross connect.
1586
+ #
1587
+ # Default: None
1588
+ # @return [String]
1589
+ #
1590
+ # @!attribute [rw] loa_content_type
1591
+ # A standard media type indicating the content type of the LOA-CFA
1592
+ # document. Currently, the only supported value is
1593
+ # "application/pdf".
1594
+ #
1595
+ # Default: application/pdf
1596
+ # @return [String]
1597
+ #
1598
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeLoaRequest AWS API Documentation
1599
+ #
1600
+ class DescribeLoaRequest < Struct.new(
1601
+ :connection_id,
1602
+ :provider_name,
1603
+ :loa_content_type)
1604
+ include Aws::Structure
1605
+ end
1606
+
1607
+ # Container for the parameters to the DescribeTags operation.
1608
+ #
1609
+ # @note When making an API call, you may pass DescribeTagsRequest
1610
+ # data as a hash:
1611
+ #
1612
+ # {
1613
+ # resource_arns: ["ResourceArn"], # required
1614
+ # }
1615
+ #
1616
+ # @!attribute [rw] resource_arns
1617
+ # The Amazon Resource Names (ARNs) of the Direct Connect resources.
1618
+ # @return [Array<String>]
1619
+ #
1620
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeTagsRequest AWS API Documentation
1621
+ #
1622
+ class DescribeTagsRequest < Struct.new(
1623
+ :resource_arns)
1624
+ include Aws::Structure
1625
+ end
1626
+
1627
+ # The response received when DescribeTags is called.
1628
+ #
1629
+ # @!attribute [rw] resource_tags
1630
+ # Information about the tags.
1631
+ # @return [Array<Types::ResourceTag>]
1632
+ #
1633
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeTagsResponse AWS API Documentation
1634
+ #
1635
+ class DescribeTagsResponse < Struct.new(
1636
+ :resource_tags)
1637
+ include Aws::Structure
1638
+ end
1639
+
1640
+ # Container for the parameters to the DescribeVirtualInterfaces
1641
+ # operation.
1642
+ #
1643
+ # @note When making an API call, you may pass DescribeVirtualInterfacesRequest
1644
+ # data as a hash:
1645
+ #
1646
+ # {
1647
+ # connection_id: "ConnectionId",
1648
+ # virtual_interface_id: "VirtualInterfaceId",
1649
+ # }
1650
+ #
1651
+ # @!attribute [rw] connection_id
1652
+ # The ID of the connection. This field is also used as the ID type for
1653
+ # operations that use multiple connection types (LAG, interconnect,
1654
+ # and/or connection).
1655
+ #
1656
+ # Example: dxcon-fg5678gh
1657
+ #
1658
+ # Default: None
1659
+ # @return [String]
1660
+ #
1661
+ # @!attribute [rw] virtual_interface_id
1662
+ # The ID of the virtual interface.
1663
+ #
1664
+ # Example: dxvif-123dfg56
1665
+ #
1666
+ # Default: None
1667
+ # @return [String]
1668
+ #
1669
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DescribeVirtualInterfacesRequest AWS API Documentation
1670
+ #
1671
+ class DescribeVirtualInterfacesRequest < Struct.new(
1672
+ :connection_id,
1673
+ :virtual_interface_id)
1674
+ include Aws::Structure
1675
+ end
1676
+
1677
+ # Container for the parameters to the DisassociateConnectionFromLag
1678
+ # operation.
1679
+ #
1680
+ # @note When making an API call, you may pass DisassociateConnectionFromLagRequest
1681
+ # data as a hash:
1682
+ #
1683
+ # {
1684
+ # connection_id: "ConnectionId", # required
1685
+ # lag_id: "LagId", # required
1686
+ # }
1687
+ #
1688
+ # @!attribute [rw] connection_id
1689
+ # The ID of the connection to disassociate from the LAG.
1690
+ #
1691
+ # Example: dxcon-abc123
1692
+ #
1693
+ # Default: None
1694
+ # @return [String]
1695
+ #
1696
+ # @!attribute [rw] lag_id
1697
+ # The ID of the LAG.
1698
+ #
1699
+ # Example: dxlag-abc123
1700
+ #
1701
+ # Default: None
1702
+ # @return [String]
1703
+ #
1704
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/DisassociateConnectionFromLagRequest AWS API Documentation
1705
+ #
1706
+ class DisassociateConnectionFromLagRequest < Struct.new(
1707
+ :connection_id,
1708
+ :lag_id)
1709
+ include Aws::Structure
1710
+ end
1711
+
1712
+ # An interconnect is a connection that can host other connections.
1713
+ #
1714
+ # Like a standard AWS Direct Connect connection, an interconnect
1715
+ # represents the physical connection between an AWS Direct Connect
1716
+ # partner's network and a specific Direct Connect location. An AWS
1717
+ # Direct Connect partner who owns an interconnect can provision hosted
1718
+ # connections on the interconnect for their end customers, thereby
1719
+ # providing the end customers with connectivity to AWS services.
1720
+ #
1721
+ # The resources of the interconnect, including bandwidth and VLAN
1722
+ # numbers, are shared by all of the hosted connections on the
1723
+ # interconnect, and the owner of the interconnect determines how these
1724
+ # resources are assigned.
1725
+ #
1726
+ # @!attribute [rw] interconnect_id
1727
+ # The ID of the interconnect.
1728
+ #
1729
+ # Example: dxcon-abc123
1730
+ # @return [String]
1731
+ #
1732
+ # @!attribute [rw] interconnect_name
1733
+ # The name of the interconnect.
1734
+ #
1735
+ # Example: "*1G Interconnect to AWS*"
1736
+ # @return [String]
1737
+ #
1738
+ # @!attribute [rw] interconnect_state
1739
+ # State of the interconnect.
1740
+ #
1741
+ # * **Requested**\: The initial state of an interconnect. The
1742
+ # interconnect stays in the requested state until the Letter of
1743
+ # Authorization (LOA) is sent to the customer.
1744
+ #
1745
+ # * **Pending**\: The interconnect has been approved, and is being
1746
+ # initialized.
1747
+ #
1748
+ # * **Available**\: The network link is up, and the interconnect is
1749
+ # ready for use.
1750
+ #
1751
+ # * **Down**\: The network link is down.
1752
+ #
1753
+ # * **Deleting**\: The interconnect is in the process of being
1754
+ # deleted.
1755
+ #
1756
+ # * **Deleted**\: The interconnect has been deleted.
1757
+ # @return [String]
1758
+ #
1759
+ # @!attribute [rw] region
1760
+ # The AWS region where the connection is located.
1761
+ #
1762
+ # Example: us-east-1
1763
+ #
1764
+ # Default: None
1765
+ # @return [String]
1766
+ #
1767
+ # @!attribute [rw] location
1768
+ # Where the connection is located.
1769
+ #
1770
+ # Example: EqSV5
1771
+ #
1772
+ # Default: None
1773
+ # @return [String]
1774
+ #
1775
+ # @!attribute [rw] bandwidth
1776
+ # Bandwidth of the connection.
1777
+ #
1778
+ # Example: 1Gbps
1779
+ #
1780
+ # Default: None
1781
+ # @return [String]
1782
+ #
1783
+ # @!attribute [rw] loa_issue_time
1784
+ # The time of the most recent call to DescribeInterconnectLoa for this
1785
+ # Interconnect.
1786
+ # @return [Time]
1787
+ #
1788
+ # @!attribute [rw] lag_id
1789
+ # The ID of the LAG.
1790
+ #
1791
+ # Example: dxlag-fg5678gh
1792
+ # @return [String]
1793
+ #
1794
+ # @!attribute [rw] aws_device
1795
+ # The Direct Connection endpoint which the physical connection
1796
+ # terminates on.
1797
+ # @return [String]
1798
+ #
1799
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Interconnect AWS API Documentation
1800
+ #
1801
+ class Interconnect < Struct.new(
1802
+ :interconnect_id,
1803
+ :interconnect_name,
1804
+ :interconnect_state,
1805
+ :region,
1806
+ :location,
1807
+ :bandwidth,
1808
+ :loa_issue_time,
1809
+ :lag_id,
1810
+ :aws_device)
1811
+ include Aws::Structure
1812
+ end
1813
+
1814
+ # A structure containing a list of interconnects.
1815
+ #
1816
+ # @!attribute [rw] interconnects
1817
+ # A list of interconnects.
1818
+ # @return [Array<Types::Interconnect>]
1819
+ #
1820
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Interconnects AWS API Documentation
1821
+ #
1822
+ class Interconnects < Struct.new(
1823
+ :interconnects)
1824
+ include Aws::Structure
1825
+ end
1826
+
1827
+ # Describes a link aggregation group (LAG). A LAG is a connection that
1828
+ # uses the Link Aggregation Control Protocol (LACP) to logically
1829
+ # aggregate a bundle of physical connections. Like an interconnect, it
1830
+ # can host other connections. All connections in a LAG must terminate on
1831
+ # the same physical AWS Direct Connect endpoint, and must be the same
1832
+ # bandwidth.
1833
+ #
1834
+ # @!attribute [rw] connections_bandwidth
1835
+ # The individual bandwidth of the physical connections bundled by the
1836
+ # LAG.
1837
+ #
1838
+ # Available values: 1Gbps, 10Gbps
1839
+ # @return [String]
1840
+ #
1841
+ # @!attribute [rw] number_of_connections
1842
+ # The number of physical connections bundled by the LAG, up to a
1843
+ # maximum of 10.
1844
+ # @return [Integer]
1845
+ #
1846
+ # @!attribute [rw] lag_id
1847
+ # The ID of the LAG.
1848
+ #
1849
+ # Example: dxlag-fg5678gh
1850
+ # @return [String]
1851
+ #
1852
+ # @!attribute [rw] owner_account
1853
+ # The owner of the LAG.
1854
+ # @return [String]
1855
+ #
1856
+ # @!attribute [rw] lag_name
1857
+ # The name of the LAG.
1858
+ # @return [String]
1859
+ #
1860
+ # @!attribute [rw] lag_state
1861
+ # The state of the LAG.
1862
+ #
1863
+ # * **Requested**\: The initial state of a LAG. The LAG stays in the
1864
+ # requested state until the Letter of Authorization (LOA) is
1865
+ # available.
1866
+ #
1867
+ # * **Pending**\: The LAG has been approved, and is being initialized.
1868
+ #
1869
+ # * **Available**\: The network link is established, and the LAG is
1870
+ # ready for use.
1871
+ #
1872
+ # * **Down**\: The network link is down.
1873
+ #
1874
+ # * **Deleting**\: The LAG is in the process of being deleted.
1875
+ #
1876
+ # * **Deleted**\: The LAG has been deleted.
1877
+ # @return [String]
1878
+ #
1879
+ # @!attribute [rw] location
1880
+ # Where the connection is located.
1881
+ #
1882
+ # Example: EqSV5
1883
+ #
1884
+ # Default: None
1885
+ # @return [String]
1886
+ #
1887
+ # @!attribute [rw] region
1888
+ # The AWS region where the connection is located.
1889
+ #
1890
+ # Example: us-east-1
1891
+ #
1892
+ # Default: None
1893
+ # @return [String]
1894
+ #
1895
+ # @!attribute [rw] minimum_links
1896
+ # The minimum number of physical connections that must be operational
1897
+ # for the LAG itself to be operational. If the number of operational
1898
+ # connections drops below this setting, the LAG state changes to
1899
+ # `down`. This value can help to ensure that a LAG is not overutilized
1900
+ # if a significant number of its bundled connections go down.
1901
+ # @return [Integer]
1902
+ #
1903
+ # @!attribute [rw] aws_device
1904
+ # The AWS Direct Connection endpoint that hosts the LAG.
1905
+ # @return [String]
1906
+ #
1907
+ # @!attribute [rw] connections
1908
+ # A list of connections bundled by this LAG.
1909
+ # @return [Array<Types::Connection>]
1910
+ #
1911
+ # @!attribute [rw] allows_hosted_connections
1912
+ # Indicates whether the LAG can host other connections.
1913
+ #
1914
+ # <note markdown="1"> This is intended for use by AWS Direct Connect partners only.
1915
+ #
1916
+ # </note>
1917
+ # @return [Boolean]
1918
+ #
1919
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Lag AWS API Documentation
1920
+ #
1921
+ class Lag < Struct.new(
1922
+ :connections_bandwidth,
1923
+ :number_of_connections,
1924
+ :lag_id,
1925
+ :owner_account,
1926
+ :lag_name,
1927
+ :lag_state,
1928
+ :location,
1929
+ :region,
1930
+ :minimum_links,
1931
+ :aws_device,
1932
+ :connections,
1933
+ :allows_hosted_connections)
1934
+ include Aws::Structure
1935
+ end
1936
+
1937
+ # A structure containing a list of LAGs.
1938
+ #
1939
+ # @!attribute [rw] lags
1940
+ # A list of LAGs.
1941
+ # @return [Array<Types::Lag>]
1942
+ #
1943
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Lags AWS API Documentation
1944
+ #
1945
+ class Lags < Struct.new(
1946
+ :lags)
1947
+ include Aws::Structure
1948
+ end
1949
+
1950
+ # A structure containing the Letter of Authorization - Connecting
1951
+ # Facility Assignment (LOA-CFA) for a connection.
1952
+ #
1953
+ # @!attribute [rw] loa_content
1954
+ # The binary contents of the LOA-CFA document.
1955
+ # @return [String]
1956
+ #
1957
+ # @!attribute [rw] loa_content_type
1958
+ # A standard media type indicating the content type of the LOA-CFA
1959
+ # document. Currently, the only supported value is
1960
+ # "application/pdf".
1961
+ #
1962
+ # Default: application/pdf
1963
+ # @return [String]
1964
+ #
1965
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Loa AWS API Documentation
1966
+ #
1967
+ class Loa < Struct.new(
1968
+ :loa_content,
1969
+ :loa_content_type)
1970
+ include Aws::Structure
1971
+ end
1972
+
1973
+ # An AWS Direct Connect location where connections and interconnects can
1974
+ # be requested.
1975
+ #
1976
+ # @!attribute [rw] location_code
1977
+ # The code used to indicate the AWS Direct Connect location.
1978
+ # @return [String]
1979
+ #
1980
+ # @!attribute [rw] location_name
1981
+ # The name of the AWS Direct Connect location. The name includes the
1982
+ # colocation partner name and the physical site of the lit building.
1983
+ # @return [String]
1984
+ #
1985
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Location AWS API Documentation
1986
+ #
1987
+ class Location < Struct.new(
1988
+ :location_code,
1989
+ :location_name)
1990
+ include Aws::Structure
1991
+ end
1992
+
1993
+ # A location is a network facility where AWS Direct Connect routers are
1994
+ # available to be connected. Generally, these are colocation hubs where
1995
+ # many network providers have equipment, and where cross connects can be
1996
+ # delivered. Locations include a name and facility code, and must be
1997
+ # provided when creating a connection.
1998
+ #
1999
+ # @!attribute [rw] locations
2000
+ # A list of colocation hubs where network providers have equipment.
2001
+ # Most regions have multiple locations available.
2002
+ # @return [Array<Types::Location>]
2003
+ #
2004
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Locations AWS API Documentation
2005
+ #
2006
+ class Locations < Struct.new(
2007
+ :locations)
2008
+ include Aws::Structure
2009
+ end
2010
+
2011
+ # A structure containing information about a new BGP peer.
2012
+ #
2013
+ # @note When making an API call, you may pass NewBGPPeer
2014
+ # data as a hash:
2015
+ #
2016
+ # {
2017
+ # asn: 1,
2018
+ # auth_key: "BGPAuthKey",
2019
+ # address_family: "ipv4", # accepts ipv4, ipv6
2020
+ # amazon_address: "AmazonAddress",
2021
+ # customer_address: "CustomerAddress",
2022
+ # }
2023
+ #
2024
+ # @!attribute [rw] asn
2025
+ # The autonomous system (AS) number for Border Gateway Protocol (BGP)
2026
+ # configuration.
2027
+ #
2028
+ # Example: 65000
2029
+ # @return [Integer]
2030
+ #
2031
+ # @!attribute [rw] auth_key
2032
+ # The authentication key for BGP configuration.
2033
+ #
2034
+ # Example: asdf34example
2035
+ # @return [String]
2036
+ #
2037
+ # @!attribute [rw] address_family
2038
+ # Indicates the address family for the BGP peer.
2039
+ #
2040
+ # * **ipv4**\: IPv4 address family
2041
+ #
2042
+ # * **ipv6**\: IPv6 address family
2043
+ # @return [String]
2044
+ #
2045
+ # @!attribute [rw] amazon_address
2046
+ # IP address assigned to the Amazon interface.
2047
+ #
2048
+ # Example: 192.168.1.1/30 or 2001:db8::1/125
2049
+ # @return [String]
2050
+ #
2051
+ # @!attribute [rw] customer_address
2052
+ # IP address assigned to the customer interface.
2053
+ #
2054
+ # Example: 192.168.1.2/30 or 2001:db8::2/125
2055
+ # @return [String]
2056
+ #
2057
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewBGPPeer AWS API Documentation
2058
+ #
2059
+ class NewBGPPeer < Struct.new(
2060
+ :asn,
2061
+ :auth_key,
2062
+ :address_family,
2063
+ :amazon_address,
2064
+ :customer_address)
2065
+ include Aws::Structure
2066
+ end
2067
+
2068
+ # A structure containing information about a new private virtual
2069
+ # interface.
2070
+ #
2071
+ # @note When making an API call, you may pass NewPrivateVirtualInterface
2072
+ # data as a hash:
2073
+ #
2074
+ # {
2075
+ # virtual_interface_name: "VirtualInterfaceName", # required
2076
+ # vlan: 1, # required
2077
+ # asn: 1, # required
2078
+ # auth_key: "BGPAuthKey",
2079
+ # amazon_address: "AmazonAddress",
2080
+ # customer_address: "CustomerAddress",
2081
+ # address_family: "ipv4", # accepts ipv4, ipv6
2082
+ # virtual_gateway_id: "VirtualGatewayId", # required
2083
+ # }
2084
+ #
2085
+ # @!attribute [rw] virtual_interface_name
2086
+ # The name of the virtual interface assigned by the customer.
2087
+ #
2088
+ # Example: "My VPC"
2089
+ # @return [String]
2090
+ #
2091
+ # @!attribute [rw] vlan
2092
+ # The VLAN ID.
2093
+ #
2094
+ # Example: 101
2095
+ # @return [Integer]
2096
+ #
2097
+ # @!attribute [rw] asn
2098
+ # The autonomous system (AS) number for Border Gateway Protocol (BGP)
2099
+ # configuration.
2100
+ #
2101
+ # Example: 65000
2102
+ # @return [Integer]
2103
+ #
2104
+ # @!attribute [rw] auth_key
2105
+ # The authentication key for BGP configuration.
2106
+ #
2107
+ # Example: asdf34example
2108
+ # @return [String]
2109
+ #
2110
+ # @!attribute [rw] amazon_address
2111
+ # IP address assigned to the Amazon interface.
2112
+ #
2113
+ # Example: 192.168.1.1/30 or 2001:db8::1/125
2114
+ # @return [String]
2115
+ #
2116
+ # @!attribute [rw] customer_address
2117
+ # IP address assigned to the customer interface.
2118
+ #
2119
+ # Example: 192.168.1.2/30 or 2001:db8::2/125
2120
+ # @return [String]
2121
+ #
2122
+ # @!attribute [rw] address_family
2123
+ # Indicates the address family for the BGP peer.
2124
+ #
2125
+ # * **ipv4**\: IPv4 address family
2126
+ #
2127
+ # * **ipv6**\: IPv6 address family
2128
+ # @return [String]
2129
+ #
2130
+ # @!attribute [rw] virtual_gateway_id
2131
+ # The ID of the virtual private gateway to a VPC. This only applies to
2132
+ # private virtual interfaces.
2133
+ #
2134
+ # Example: vgw-123er56
2135
+ # @return [String]
2136
+ #
2137
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPrivateVirtualInterface AWS API Documentation
2138
+ #
2139
+ class NewPrivateVirtualInterface < Struct.new(
2140
+ :virtual_interface_name,
2141
+ :vlan,
2142
+ :asn,
2143
+ :auth_key,
2144
+ :amazon_address,
2145
+ :customer_address,
2146
+ :address_family,
2147
+ :virtual_gateway_id)
2148
+ include Aws::Structure
2149
+ end
2150
+
2151
+ # A structure containing information about a private virtual interface
2152
+ # that will be provisioned on a connection.
2153
+ #
2154
+ # @note When making an API call, you may pass NewPrivateVirtualInterfaceAllocation
2155
+ # data as a hash:
2156
+ #
2157
+ # {
2158
+ # virtual_interface_name: "VirtualInterfaceName", # required
2159
+ # vlan: 1, # required
2160
+ # asn: 1, # required
2161
+ # auth_key: "BGPAuthKey",
2162
+ # amazon_address: "AmazonAddress",
2163
+ # address_family: "ipv4", # accepts ipv4, ipv6
2164
+ # customer_address: "CustomerAddress",
2165
+ # }
2166
+ #
2167
+ # @!attribute [rw] virtual_interface_name
2168
+ # The name of the virtual interface assigned by the customer.
2169
+ #
2170
+ # Example: "My VPC"
2171
+ # @return [String]
2172
+ #
2173
+ # @!attribute [rw] vlan
2174
+ # The VLAN ID.
2175
+ #
2176
+ # Example: 101
2177
+ # @return [Integer]
2178
+ #
2179
+ # @!attribute [rw] asn
2180
+ # The autonomous system (AS) number for Border Gateway Protocol (BGP)
2181
+ # configuration.
2182
+ #
2183
+ # Example: 65000
2184
+ # @return [Integer]
2185
+ #
2186
+ # @!attribute [rw] auth_key
2187
+ # The authentication key for BGP configuration.
2188
+ #
2189
+ # Example: asdf34example
2190
+ # @return [String]
2191
+ #
2192
+ # @!attribute [rw] amazon_address
2193
+ # IP address assigned to the Amazon interface.
2194
+ #
2195
+ # Example: 192.168.1.1/30 or 2001:db8::1/125
2196
+ # @return [String]
2197
+ #
2198
+ # @!attribute [rw] address_family
2199
+ # Indicates the address family for the BGP peer.
2200
+ #
2201
+ # * **ipv4**\: IPv4 address family
2202
+ #
2203
+ # * **ipv6**\: IPv6 address family
2204
+ # @return [String]
2205
+ #
2206
+ # @!attribute [rw] customer_address
2207
+ # IP address assigned to the customer interface.
2208
+ #
2209
+ # Example: 192.168.1.2/30 or 2001:db8::2/125
2210
+ # @return [String]
2211
+ #
2212
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPrivateVirtualInterfaceAllocation AWS API Documentation
2213
+ #
2214
+ class NewPrivateVirtualInterfaceAllocation < Struct.new(
2215
+ :virtual_interface_name,
2216
+ :vlan,
2217
+ :asn,
2218
+ :auth_key,
2219
+ :amazon_address,
2220
+ :address_family,
2221
+ :customer_address)
2222
+ include Aws::Structure
2223
+ end
2224
+
2225
+ # A structure containing information about a new public virtual
2226
+ # interface.
2227
+ #
2228
+ # @note When making an API call, you may pass NewPublicVirtualInterface
2229
+ # data as a hash:
2230
+ #
2231
+ # {
2232
+ # virtual_interface_name: "VirtualInterfaceName", # required
2233
+ # vlan: 1, # required
2234
+ # asn: 1, # required
2235
+ # auth_key: "BGPAuthKey",
2236
+ # amazon_address: "AmazonAddress",
2237
+ # customer_address: "CustomerAddress",
2238
+ # address_family: "ipv4", # accepts ipv4, ipv6
2239
+ # route_filter_prefixes: [
2240
+ # {
2241
+ # cidr: "CIDR",
2242
+ # },
2243
+ # ],
2244
+ # }
2245
+ #
2246
+ # @!attribute [rw] virtual_interface_name
2247
+ # The name of the virtual interface assigned by the customer.
2248
+ #
2249
+ # Example: "My VPC"
2250
+ # @return [String]
2251
+ #
2252
+ # @!attribute [rw] vlan
2253
+ # The VLAN ID.
2254
+ #
2255
+ # Example: 101
2256
+ # @return [Integer]
2257
+ #
2258
+ # @!attribute [rw] asn
2259
+ # The autonomous system (AS) number for Border Gateway Protocol (BGP)
2260
+ # configuration.
2261
+ #
2262
+ # Example: 65000
2263
+ # @return [Integer]
2264
+ #
2265
+ # @!attribute [rw] auth_key
2266
+ # The authentication key for BGP configuration.
2267
+ #
2268
+ # Example: asdf34example
2269
+ # @return [String]
2270
+ #
2271
+ # @!attribute [rw] amazon_address
2272
+ # IP address assigned to the Amazon interface.
2273
+ #
2274
+ # Example: 192.168.1.1/30 or 2001:db8::1/125
2275
+ # @return [String]
2276
+ #
2277
+ # @!attribute [rw] customer_address
2278
+ # IP address assigned to the customer interface.
2279
+ #
2280
+ # Example: 192.168.1.2/30 or 2001:db8::2/125
2281
+ # @return [String]
2282
+ #
2283
+ # @!attribute [rw] address_family
2284
+ # Indicates the address family for the BGP peer.
2285
+ #
2286
+ # * **ipv4**\: IPv4 address family
2287
+ #
2288
+ # * **ipv6**\: IPv6 address family
2289
+ # @return [String]
2290
+ #
2291
+ # @!attribute [rw] route_filter_prefixes
2292
+ # A list of routes to be advertised to the AWS network in this region
2293
+ # (public virtual interface).
2294
+ # @return [Array<Types::RouteFilterPrefix>]
2295
+ #
2296
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPublicVirtualInterface AWS API Documentation
2297
+ #
2298
+ class NewPublicVirtualInterface < Struct.new(
2299
+ :virtual_interface_name,
2300
+ :vlan,
2301
+ :asn,
2302
+ :auth_key,
2303
+ :amazon_address,
2304
+ :customer_address,
2305
+ :address_family,
2306
+ :route_filter_prefixes)
2307
+ include Aws::Structure
2308
+ end
2309
+
2310
+ # A structure containing information about a public virtual interface
2311
+ # that will be provisioned on a connection.
2312
+ #
2313
+ # @note When making an API call, you may pass NewPublicVirtualInterfaceAllocation
2314
+ # data as a hash:
2315
+ #
2316
+ # {
2317
+ # virtual_interface_name: "VirtualInterfaceName", # required
2318
+ # vlan: 1, # required
2319
+ # asn: 1, # required
2320
+ # auth_key: "BGPAuthKey",
2321
+ # amazon_address: "AmazonAddress",
2322
+ # customer_address: "CustomerAddress",
2323
+ # address_family: "ipv4", # accepts ipv4, ipv6
2324
+ # route_filter_prefixes: [
2325
+ # {
2326
+ # cidr: "CIDR",
2327
+ # },
2328
+ # ],
2329
+ # }
2330
+ #
2331
+ # @!attribute [rw] virtual_interface_name
2332
+ # The name of the virtual interface assigned by the customer.
2333
+ #
2334
+ # Example: "My VPC"
2335
+ # @return [String]
2336
+ #
2337
+ # @!attribute [rw] vlan
2338
+ # The VLAN ID.
2339
+ #
2340
+ # Example: 101
2341
+ # @return [Integer]
2342
+ #
2343
+ # @!attribute [rw] asn
2344
+ # The autonomous system (AS) number for Border Gateway Protocol (BGP)
2345
+ # configuration.
2346
+ #
2347
+ # Example: 65000
2348
+ # @return [Integer]
2349
+ #
2350
+ # @!attribute [rw] auth_key
2351
+ # The authentication key for BGP configuration.
2352
+ #
2353
+ # Example: asdf34example
2354
+ # @return [String]
2355
+ #
2356
+ # @!attribute [rw] amazon_address
2357
+ # IP address assigned to the Amazon interface.
2358
+ #
2359
+ # Example: 192.168.1.1/30 or 2001:db8::1/125
2360
+ # @return [String]
2361
+ #
2362
+ # @!attribute [rw] customer_address
2363
+ # IP address assigned to the customer interface.
2364
+ #
2365
+ # Example: 192.168.1.2/30 or 2001:db8::2/125
2366
+ # @return [String]
2367
+ #
2368
+ # @!attribute [rw] address_family
2369
+ # Indicates the address family for the BGP peer.
2370
+ #
2371
+ # * **ipv4**\: IPv4 address family
2372
+ #
2373
+ # * **ipv6**\: IPv6 address family
2374
+ # @return [String]
2375
+ #
2376
+ # @!attribute [rw] route_filter_prefixes
2377
+ # A list of routes to be advertised to the AWS network in this region
2378
+ # (public virtual interface).
2379
+ # @return [Array<Types::RouteFilterPrefix>]
2380
+ #
2381
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/NewPublicVirtualInterfaceAllocation AWS API Documentation
2382
+ #
2383
+ class NewPublicVirtualInterfaceAllocation < Struct.new(
2384
+ :virtual_interface_name,
2385
+ :vlan,
2386
+ :asn,
2387
+ :auth_key,
2388
+ :amazon_address,
2389
+ :customer_address,
2390
+ :address_family,
2391
+ :route_filter_prefixes)
2392
+ include Aws::Structure
2393
+ end
2394
+
2395
+ # The tags associated with a Direct Connect resource.
2396
+ #
2397
+ # @!attribute [rw] resource_arn
2398
+ # The Amazon Resource Name (ARN) of the Direct Connect resource.
2399
+ # @return [String]
2400
+ #
2401
+ # @!attribute [rw] tags
2402
+ # The tags.
2403
+ # @return [Array<Types::Tag>]
2404
+ #
2405
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/ResourceTag AWS API Documentation
2406
+ #
2407
+ class ResourceTag < Struct.new(
2408
+ :resource_arn,
2409
+ :tags)
2410
+ include Aws::Structure
2411
+ end
2412
+
2413
+ # A route filter prefix that the customer can advertise through Border
2414
+ # Gateway Protocol (BGP) over a public virtual interface.
2415
+ #
2416
+ # @note When making an API call, you may pass RouteFilterPrefix
2417
+ # data as a hash:
2418
+ #
2419
+ # {
2420
+ # cidr: "CIDR",
2421
+ # }
2422
+ #
2423
+ # @!attribute [rw] cidr
2424
+ # CIDR notation for the advertised route. Multiple routes are
2425
+ # separated by commas.
2426
+ #
2427
+ # IPv6 CIDRs must be at least a /64 or shorter
2428
+ #
2429
+ # Example: 10.10.10.0/24,10.10.11.0/24,2001:db8::/64
2430
+ # @return [String]
2431
+ #
2432
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/RouteFilterPrefix AWS API Documentation
2433
+ #
2434
+ class RouteFilterPrefix < Struct.new(
2435
+ :cidr)
2436
+ include Aws::Structure
2437
+ end
2438
+
2439
+ # Information about a tag.
2440
+ #
2441
+ # @note When making an API call, you may pass Tag
2442
+ # data as a hash:
2443
+ #
2444
+ # {
2445
+ # key: "TagKey", # required
2446
+ # value: "TagValue",
2447
+ # }
2448
+ #
2449
+ # @!attribute [rw] key
2450
+ # The key of the tag.
2451
+ # @return [String]
2452
+ #
2453
+ # @!attribute [rw] value
2454
+ # The value of the tag.
2455
+ # @return [String]
2456
+ #
2457
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/Tag AWS API Documentation
2458
+ #
2459
+ class Tag < Struct.new(
2460
+ :key,
2461
+ :value)
2462
+ include Aws::Structure
2463
+ end
2464
+
2465
+ # Container for the parameters to the TagResource operation.
2466
+ #
2467
+ # @note When making an API call, you may pass TagResourceRequest
2468
+ # data as a hash:
2469
+ #
2470
+ # {
2471
+ # resource_arn: "ResourceArn", # required
2472
+ # tags: [ # required
2473
+ # {
2474
+ # key: "TagKey", # required
2475
+ # value: "TagValue",
2476
+ # },
2477
+ # ],
2478
+ # }
2479
+ #
2480
+ # @!attribute [rw] resource_arn
2481
+ # The Amazon Resource Name (ARN) of the Direct Connect resource.
2482
+ #
2483
+ # Example:
2484
+ # arn:aws:directconnect:us-east-1:123456789012:dxcon/dxcon-fg5678gh
2485
+ # @return [String]
2486
+ #
2487
+ # @!attribute [rw] tags
2488
+ # The list of tags to add.
2489
+ # @return [Array<Types::Tag>]
2490
+ #
2491
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TagResourceRequest AWS API Documentation
2492
+ #
2493
+ class TagResourceRequest < Struct.new(
2494
+ :resource_arn,
2495
+ :tags)
2496
+ include Aws::Structure
2497
+ end
2498
+
2499
+ # The response received when TagResource is called.
2500
+ #
2501
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/TagResourceResponse AWS API Documentation
2502
+ #
2503
+ class TagResourceResponse < Aws::EmptyStructure; end
2504
+
2505
+ # Container for the parameters to the UntagResource operation.
2506
+ #
2507
+ # @note When making an API call, you may pass UntagResourceRequest
2508
+ # data as a hash:
2509
+ #
2510
+ # {
2511
+ # resource_arn: "ResourceArn", # required
2512
+ # tag_keys: ["TagKey"], # required
2513
+ # }
2514
+ #
2515
+ # @!attribute [rw] resource_arn
2516
+ # The Amazon Resource Name (ARN) of the Direct Connect resource.
2517
+ # @return [String]
2518
+ #
2519
+ # @!attribute [rw] tag_keys
2520
+ # The list of tag keys to remove.
2521
+ # @return [Array<String>]
2522
+ #
2523
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UntagResourceRequest AWS API Documentation
2524
+ #
2525
+ class UntagResourceRequest < Struct.new(
2526
+ :resource_arn,
2527
+ :tag_keys)
2528
+ include Aws::Structure
2529
+ end
2530
+
2531
+ # The response received when UntagResource is called.
2532
+ #
2533
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UntagResourceResponse AWS API Documentation
2534
+ #
2535
+ class UntagResourceResponse < Aws::EmptyStructure; end
2536
+
2537
+ # Container for the parameters to the UpdateLag operation.
2538
+ #
2539
+ # @note When making an API call, you may pass UpdateLagRequest
2540
+ # data as a hash:
2541
+ #
2542
+ # {
2543
+ # lag_id: "LagId", # required
2544
+ # lag_name: "LagName",
2545
+ # minimum_links: 1,
2546
+ # }
2547
+ #
2548
+ # @!attribute [rw] lag_id
2549
+ # The ID of the LAG to update.
2550
+ #
2551
+ # Example: dxlag-abc123
2552
+ #
2553
+ # Default: None
2554
+ # @return [String]
2555
+ #
2556
+ # @!attribute [rw] lag_name
2557
+ # The name for the LAG.
2558
+ #
2559
+ # Example: "`3x10G LAG to AWS`"
2560
+ #
2561
+ # Default: None
2562
+ # @return [String]
2563
+ #
2564
+ # @!attribute [rw] minimum_links
2565
+ # The minimum number of physical connections that must be operational
2566
+ # for the LAG itself to be operational.
2567
+ #
2568
+ # Default: None
2569
+ # @return [Integer]
2570
+ #
2571
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/UpdateLagRequest AWS API Documentation
2572
+ #
2573
+ class UpdateLagRequest < Struct.new(
2574
+ :lag_id,
2575
+ :lag_name,
2576
+ :minimum_links)
2577
+ include Aws::Structure
2578
+ end
2579
+
2580
+ # You can create one or more AWS Direct Connect private virtual
2581
+ # interfaces linking to your virtual private gateway.
2582
+ #
2583
+ # Virtual private gateways can be managed using the Amazon Virtual
2584
+ # Private Cloud (Amazon VPC) console or the [Amazon EC2 CreateVpnGateway
2585
+ # action][1].
2586
+ #
2587
+ #
2588
+ #
2589
+ # [1]: http://docs.aws.amazon.com/AWSEC2/latest/APIReference/ApiReference-query-CreateVpnGateway.html
2590
+ #
2591
+ # @!attribute [rw] virtual_gateway_id
2592
+ # The ID of the virtual private gateway to a VPC. This only applies to
2593
+ # private virtual interfaces.
2594
+ #
2595
+ # Example: vgw-123er56
2596
+ # @return [String]
2597
+ #
2598
+ # @!attribute [rw] virtual_gateway_state
2599
+ # State of the virtual private gateway.
2600
+ #
2601
+ # * **Pending**\: This is the initial state after calling
2602
+ # *CreateVpnGateway*.
2603
+ #
2604
+ # * **Available**\: Ready for use by a private virtual interface.
2605
+ #
2606
+ # * **Deleting**\: This is the initial state after calling
2607
+ # *DeleteVpnGateway*.
2608
+ #
2609
+ # * **Deleted**\: In this state, a private virtual interface is unable
2610
+ # to send traffic over this gateway.
2611
+ # @return [String]
2612
+ #
2613
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/VirtualGateway AWS API Documentation
2614
+ #
2615
+ class VirtualGateway < Struct.new(
2616
+ :virtual_gateway_id,
2617
+ :virtual_gateway_state)
2618
+ include Aws::Structure
2619
+ end
2620
+
2621
+ # A structure containing a list of virtual private gateways.
2622
+ #
2623
+ # @!attribute [rw] virtual_gateways
2624
+ # A list of virtual private gateways.
2625
+ # @return [Array<Types::VirtualGateway>]
2626
+ #
2627
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/VirtualGateways AWS API Documentation
2628
+ #
2629
+ class VirtualGateways < Struct.new(
2630
+ :virtual_gateways)
2631
+ include Aws::Structure
2632
+ end
2633
+
2634
+ # A virtual interface (VLAN) transmits the traffic between the AWS
2635
+ # Direct Connect location and the customer.
2636
+ #
2637
+ # @!attribute [rw] owner_account
2638
+ # The AWS account that will own the new virtual interface.
2639
+ # @return [String]
2640
+ #
2641
+ # @!attribute [rw] virtual_interface_id
2642
+ # The ID of the virtual interface.
2643
+ #
2644
+ # Example: dxvif-123dfg56
2645
+ #
2646
+ # Default: None
2647
+ # @return [String]
2648
+ #
2649
+ # @!attribute [rw] location
2650
+ # Where the connection is located.
2651
+ #
2652
+ # Example: EqSV5
2653
+ #
2654
+ # Default: None
2655
+ # @return [String]
2656
+ #
2657
+ # @!attribute [rw] connection_id
2658
+ # The ID of the connection. This field is also used as the ID type for
2659
+ # operations that use multiple connection types (LAG, interconnect,
2660
+ # and/or connection).
2661
+ #
2662
+ # Example: dxcon-fg5678gh
2663
+ #
2664
+ # Default: None
2665
+ # @return [String]
2666
+ #
2667
+ # @!attribute [rw] virtual_interface_type
2668
+ # The type of virtual interface.
2669
+ #
2670
+ # Example: private (Amazon VPC) or public (Amazon S3, Amazon DynamoDB,
2671
+ # and so on.)
2672
+ # @return [String]
2673
+ #
2674
+ # @!attribute [rw] virtual_interface_name
2675
+ # The name of the virtual interface assigned by the customer.
2676
+ #
2677
+ # Example: "My VPC"
2678
+ # @return [String]
2679
+ #
2680
+ # @!attribute [rw] vlan
2681
+ # The VLAN ID.
2682
+ #
2683
+ # Example: 101
2684
+ # @return [Integer]
2685
+ #
2686
+ # @!attribute [rw] asn
2687
+ # The autonomous system (AS) number for Border Gateway Protocol (BGP)
2688
+ # configuration.
2689
+ #
2690
+ # Example: 65000
2691
+ # @return [Integer]
2692
+ #
2693
+ # @!attribute [rw] auth_key
2694
+ # The authentication key for BGP configuration.
2695
+ #
2696
+ # Example: asdf34example
2697
+ # @return [String]
2698
+ #
2699
+ # @!attribute [rw] amazon_address
2700
+ # IP address assigned to the Amazon interface.
2701
+ #
2702
+ # Example: 192.168.1.1/30 or 2001:db8::1/125
2703
+ # @return [String]
2704
+ #
2705
+ # @!attribute [rw] customer_address
2706
+ # IP address assigned to the customer interface.
2707
+ #
2708
+ # Example: 192.168.1.2/30 or 2001:db8::2/125
2709
+ # @return [String]
2710
+ #
2711
+ # @!attribute [rw] address_family
2712
+ # Indicates the address family for the BGP peer.
2713
+ #
2714
+ # * **ipv4**\: IPv4 address family
2715
+ #
2716
+ # * **ipv6**\: IPv6 address family
2717
+ # @return [String]
2718
+ #
2719
+ # @!attribute [rw] virtual_interface_state
2720
+ # State of the virtual interface.
2721
+ #
2722
+ # * **Confirming**\: The creation of the virtual interface is pending
2723
+ # confirmation from the virtual interface owner. If the owner of the
2724
+ # virtual interface is different from the owner of the connection on
2725
+ # which it is provisioned, then the virtual interface will remain in
2726
+ # this state until it is confirmed by the virtual interface owner.
2727
+ #
2728
+ # * **Verifying**\: This state only applies to public virtual
2729
+ # interfaces. Each public virtual interface needs validation before
2730
+ # the virtual interface can be created.
2731
+ #
2732
+ # * **Pending**\: A virtual interface is in this state from the time
2733
+ # that it is created until the virtual interface is ready to forward
2734
+ # traffic.
2735
+ #
2736
+ # * **Available**\: A virtual interface that is able to forward
2737
+ # traffic.
2738
+ #
2739
+ # * **Down**\: A virtual interface that is BGP down.
2740
+ #
2741
+ # * **Deleting**\: A virtual interface is in this state immediately
2742
+ # after calling DeleteVirtualInterface until it can no longer
2743
+ # forward traffic.
2744
+ #
2745
+ # * **Deleted**\: A virtual interface that cannot forward traffic.
2746
+ #
2747
+ # * **Rejected**\: The virtual interface owner has declined creation
2748
+ # of the virtual interface. If a virtual interface in the
2749
+ # 'Confirming' state is deleted by the virtual interface owner,
2750
+ # the virtual interface will enter the 'Rejected' state.
2751
+ # @return [String]
2752
+ #
2753
+ # @!attribute [rw] customer_router_config
2754
+ # Information for generating the customer router configuration.
2755
+ # @return [String]
2756
+ #
2757
+ # @!attribute [rw] virtual_gateway_id
2758
+ # The ID of the virtual private gateway to a VPC. This only applies to
2759
+ # private virtual interfaces.
2760
+ #
2761
+ # Example: vgw-123er56
2762
+ # @return [String]
2763
+ #
2764
+ # @!attribute [rw] route_filter_prefixes
2765
+ # A list of routes to be advertised to the AWS network in this region
2766
+ # (public virtual interface).
2767
+ # @return [Array<Types::RouteFilterPrefix>]
2768
+ #
2769
+ # @!attribute [rw] bgp_peers
2770
+ # A list of the BGP peers configured on this virtual interface.
2771
+ # @return [Array<Types::BGPPeer>]
2772
+ #
2773
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/VirtualInterface AWS API Documentation
2774
+ #
2775
+ class VirtualInterface < Struct.new(
2776
+ :owner_account,
2777
+ :virtual_interface_id,
2778
+ :location,
2779
+ :connection_id,
2780
+ :virtual_interface_type,
2781
+ :virtual_interface_name,
2782
+ :vlan,
2783
+ :asn,
2784
+ :auth_key,
2785
+ :amazon_address,
2786
+ :customer_address,
2787
+ :address_family,
2788
+ :virtual_interface_state,
2789
+ :customer_router_config,
2790
+ :virtual_gateway_id,
2791
+ :route_filter_prefixes,
2792
+ :bgp_peers)
2793
+ include Aws::Structure
2794
+ end
2795
+
2796
+ # A structure containing a list of virtual interfaces.
2797
+ #
2798
+ # @!attribute [rw] virtual_interfaces
2799
+ # A list of virtual interfaces.
2800
+ # @return [Array<Types::VirtualInterface>]
2801
+ #
2802
+ # @see http://docs.aws.amazon.com/goto/WebAPI/directconnect-2012-10-25/VirtualInterfaces AWS API Documentation
2803
+ #
2804
+ class VirtualInterfaces < Struct.new(
2805
+ :virtual_interfaces)
2806
+ include Aws::Structure
2807
+ end
2808
+
1941
2809
  end
1942
2810
  end