aws-sdk-networkmanager 1.8.0 → 1.9.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -13,13 +13,21 @@ module Aws::NetworkManager
13
13
 
14
14
  include Seahorse::Model
15
15
 
16
+ AWSLocation = Shapes::StructureShape.new(name: 'AWSLocation')
16
17
  AccessDeniedException = Shapes::StructureShape.new(name: 'AccessDeniedException')
17
18
  AssociateCustomerGatewayRequest = Shapes::StructureShape.new(name: 'AssociateCustomerGatewayRequest')
18
19
  AssociateCustomerGatewayResponse = Shapes::StructureShape.new(name: 'AssociateCustomerGatewayResponse')
19
20
  AssociateLinkRequest = Shapes::StructureShape.new(name: 'AssociateLinkRequest')
20
21
  AssociateLinkResponse = Shapes::StructureShape.new(name: 'AssociateLinkResponse')
22
+ AssociateTransitGatewayConnectPeerRequest = Shapes::StructureShape.new(name: 'AssociateTransitGatewayConnectPeerRequest')
23
+ AssociateTransitGatewayConnectPeerResponse = Shapes::StructureShape.new(name: 'AssociateTransitGatewayConnectPeerResponse')
21
24
  Bandwidth = Shapes::StructureShape.new(name: 'Bandwidth')
22
25
  ConflictException = Shapes::StructureShape.new(name: 'ConflictException')
26
+ Connection = Shapes::StructureShape.new(name: 'Connection')
27
+ ConnectionList = Shapes::ListShape.new(name: 'ConnectionList')
28
+ ConnectionState = Shapes::StringShape.new(name: 'ConnectionState')
29
+ CreateConnectionRequest = Shapes::StructureShape.new(name: 'CreateConnectionRequest')
30
+ CreateConnectionResponse = Shapes::StructureShape.new(name: 'CreateConnectionResponse')
23
31
  CreateDeviceRequest = Shapes::StructureShape.new(name: 'CreateDeviceRequest')
24
32
  CreateDeviceResponse = Shapes::StructureShape.new(name: 'CreateDeviceResponse')
25
33
  CreateGlobalNetworkRequest = Shapes::StructureShape.new(name: 'CreateGlobalNetworkRequest')
@@ -32,6 +40,8 @@ module Aws::NetworkManager
32
40
  CustomerGatewayAssociationList = Shapes::ListShape.new(name: 'CustomerGatewayAssociationList')
33
41
  CustomerGatewayAssociationState = Shapes::StringShape.new(name: 'CustomerGatewayAssociationState')
34
42
  DateTime = Shapes::TimestampShape.new(name: 'DateTime')
43
+ DeleteConnectionRequest = Shapes::StructureShape.new(name: 'DeleteConnectionRequest')
44
+ DeleteConnectionResponse = Shapes::StructureShape.new(name: 'DeleteConnectionResponse')
35
45
  DeleteDeviceRequest = Shapes::StructureShape.new(name: 'DeleteDeviceRequest')
36
46
  DeleteDeviceResponse = Shapes::StructureShape.new(name: 'DeleteDeviceResponse')
37
47
  DeleteGlobalNetworkRequest = Shapes::StructureShape.new(name: 'DeleteGlobalNetworkRequest')
@@ -51,6 +61,10 @@ module Aws::NetworkManager
51
61
  DisassociateCustomerGatewayResponse = Shapes::StructureShape.new(name: 'DisassociateCustomerGatewayResponse')
52
62
  DisassociateLinkRequest = Shapes::StructureShape.new(name: 'DisassociateLinkRequest')
53
63
  DisassociateLinkResponse = Shapes::StructureShape.new(name: 'DisassociateLinkResponse')
64
+ DisassociateTransitGatewayConnectPeerRequest = Shapes::StructureShape.new(name: 'DisassociateTransitGatewayConnectPeerRequest')
65
+ DisassociateTransitGatewayConnectPeerResponse = Shapes::StructureShape.new(name: 'DisassociateTransitGatewayConnectPeerResponse')
66
+ GetConnectionsRequest = Shapes::StructureShape.new(name: 'GetConnectionsRequest')
67
+ GetConnectionsResponse = Shapes::StructureShape.new(name: 'GetConnectionsResponse')
54
68
  GetCustomerGatewayAssociationsRequest = Shapes::StructureShape.new(name: 'GetCustomerGatewayAssociationsRequest')
55
69
  GetCustomerGatewayAssociationsResponse = Shapes::StructureShape.new(name: 'GetCustomerGatewayAssociationsResponse')
56
70
  GetDevicesRequest = Shapes::StructureShape.new(name: 'GetDevicesRequest')
@@ -61,6 +75,8 @@ module Aws::NetworkManager
61
75
  GetLinksResponse = Shapes::StructureShape.new(name: 'GetLinksResponse')
62
76
  GetSitesRequest = Shapes::StructureShape.new(name: 'GetSitesRequest')
63
77
  GetSitesResponse = Shapes::StructureShape.new(name: 'GetSitesResponse')
78
+ GetTransitGatewayConnectPeerAssociationsRequest = Shapes::StructureShape.new(name: 'GetTransitGatewayConnectPeerAssociationsRequest')
79
+ GetTransitGatewayConnectPeerAssociationsResponse = Shapes::StructureShape.new(name: 'GetTransitGatewayConnectPeerAssociationsResponse')
64
80
  GetTransitGatewayRegistrationsRequest = Shapes::StructureShape.new(name: 'GetTransitGatewayRegistrationsRequest')
65
81
  GetTransitGatewayRegistrationsResponse = Shapes::StructureShape.new(name: 'GetTransitGatewayRegistrationsResponse')
66
82
  GlobalNetwork = Shapes::StructureShape.new(name: 'GlobalNetwork')
@@ -97,12 +113,17 @@ module Aws::NetworkManager
97
113
  TagResourceResponse = Shapes::StructureShape.new(name: 'TagResourceResponse')
98
114
  TagValue = Shapes::StringShape.new(name: 'TagValue')
99
115
  ThrottlingException = Shapes::StructureShape.new(name: 'ThrottlingException')
116
+ TransitGatewayConnectPeerAssociation = Shapes::StructureShape.new(name: 'TransitGatewayConnectPeerAssociation')
117
+ TransitGatewayConnectPeerAssociationList = Shapes::ListShape.new(name: 'TransitGatewayConnectPeerAssociationList')
118
+ TransitGatewayConnectPeerAssociationState = Shapes::StringShape.new(name: 'TransitGatewayConnectPeerAssociationState')
100
119
  TransitGatewayRegistration = Shapes::StructureShape.new(name: 'TransitGatewayRegistration')
101
120
  TransitGatewayRegistrationList = Shapes::ListShape.new(name: 'TransitGatewayRegistrationList')
102
121
  TransitGatewayRegistrationState = Shapes::StringShape.new(name: 'TransitGatewayRegistrationState')
103
122
  TransitGatewayRegistrationStateReason = Shapes::StructureShape.new(name: 'TransitGatewayRegistrationStateReason')
104
123
  UntagResourceRequest = Shapes::StructureShape.new(name: 'UntagResourceRequest')
105
124
  UntagResourceResponse = Shapes::StructureShape.new(name: 'UntagResourceResponse')
125
+ UpdateConnectionRequest = Shapes::StructureShape.new(name: 'UpdateConnectionRequest')
126
+ UpdateConnectionResponse = Shapes::StructureShape.new(name: 'UpdateConnectionResponse')
106
127
  UpdateDeviceRequest = Shapes::StructureShape.new(name: 'UpdateDeviceRequest')
107
128
  UpdateDeviceResponse = Shapes::StructureShape.new(name: 'UpdateDeviceResponse')
108
129
  UpdateGlobalNetworkRequest = Shapes::StructureShape.new(name: 'UpdateGlobalNetworkRequest')
@@ -116,6 +137,10 @@ module Aws::NetworkManager
116
137
  ValidationExceptionFieldList = Shapes::ListShape.new(name: 'ValidationExceptionFieldList')
117
138
  ValidationExceptionReason = Shapes::StringShape.new(name: 'ValidationExceptionReason')
118
139
 
140
+ AWSLocation.add_member(:zone, Shapes::ShapeRef.new(shape: String, location_name: "Zone"))
141
+ AWSLocation.add_member(:subnet_arn, Shapes::ShapeRef.new(shape: String, location_name: "SubnetArn"))
142
+ AWSLocation.struct_class = Types::AWSLocation
143
+
119
144
  AccessDeniedException.add_member(:message, Shapes::ShapeRef.new(shape: String, required: true, location_name: "Message"))
120
145
  AccessDeniedException.struct_class = Types::AccessDeniedException
121
146
 
@@ -136,6 +161,15 @@ module Aws::NetworkManager
136
161
  AssociateLinkResponse.add_member(:link_association, Shapes::ShapeRef.new(shape: LinkAssociation, location_name: "LinkAssociation"))
137
162
  AssociateLinkResponse.struct_class = Types::AssociateLinkResponse
138
163
 
164
+ AssociateTransitGatewayConnectPeerRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
165
+ AssociateTransitGatewayConnectPeerRequest.add_member(:transit_gateway_connect_peer_arn, Shapes::ShapeRef.new(shape: String, required: true, location_name: "TransitGatewayConnectPeerArn"))
166
+ AssociateTransitGatewayConnectPeerRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DeviceId"))
167
+ AssociateTransitGatewayConnectPeerRequest.add_member(:link_id, Shapes::ShapeRef.new(shape: String, location_name: "LinkId"))
168
+ AssociateTransitGatewayConnectPeerRequest.struct_class = Types::AssociateTransitGatewayConnectPeerRequest
169
+
170
+ AssociateTransitGatewayConnectPeerResponse.add_member(:transit_gateway_connect_peer_association, Shapes::ShapeRef.new(shape: TransitGatewayConnectPeerAssociation, location_name: "TransitGatewayConnectPeerAssociation"))
171
+ AssociateTransitGatewayConnectPeerResponse.struct_class = Types::AssociateTransitGatewayConnectPeerResponse
172
+
139
173
  Bandwidth.add_member(:upload_speed, Shapes::ShapeRef.new(shape: Integer, location_name: "UploadSpeed"))
140
174
  Bandwidth.add_member(:download_speed, Shapes::ShapeRef.new(shape: Integer, location_name: "DownloadSpeed"))
141
175
  Bandwidth.struct_class = Types::Bandwidth
@@ -145,7 +179,35 @@ module Aws::NetworkManager
145
179
  ConflictException.add_member(:resource_type, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ResourceType"))
146
180
  ConflictException.struct_class = Types::ConflictException
147
181
 
182
+ Connection.add_member(:connection_id, Shapes::ShapeRef.new(shape: String, location_name: "ConnectionId"))
183
+ Connection.add_member(:connection_arn, Shapes::ShapeRef.new(shape: String, location_name: "ConnectionArn"))
184
+ Connection.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, location_name: "GlobalNetworkId"))
185
+ Connection.add_member(:device_id, Shapes::ShapeRef.new(shape: String, location_name: "DeviceId"))
186
+ Connection.add_member(:connected_device_id, Shapes::ShapeRef.new(shape: String, location_name: "ConnectedDeviceId"))
187
+ Connection.add_member(:link_id, Shapes::ShapeRef.new(shape: String, location_name: "LinkId"))
188
+ Connection.add_member(:connected_link_id, Shapes::ShapeRef.new(shape: String, location_name: "ConnectedLinkId"))
189
+ Connection.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
190
+ Connection.add_member(:created_at, Shapes::ShapeRef.new(shape: DateTime, location_name: "CreatedAt"))
191
+ Connection.add_member(:state, Shapes::ShapeRef.new(shape: ConnectionState, location_name: "State"))
192
+ Connection.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
193
+ Connection.struct_class = Types::Connection
194
+
195
+ ConnectionList.member = Shapes::ShapeRef.new(shape: Connection)
196
+
197
+ CreateConnectionRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
198
+ CreateConnectionRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "DeviceId"))
199
+ CreateConnectionRequest.add_member(:connected_device_id, Shapes::ShapeRef.new(shape: String, required: true, location_name: "ConnectedDeviceId"))
200
+ CreateConnectionRequest.add_member(:link_id, Shapes::ShapeRef.new(shape: String, location_name: "LinkId"))
201
+ CreateConnectionRequest.add_member(:connected_link_id, Shapes::ShapeRef.new(shape: String, location_name: "ConnectedLinkId"))
202
+ CreateConnectionRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
203
+ CreateConnectionRequest.add_member(:tags, Shapes::ShapeRef.new(shape: TagList, location_name: "Tags"))
204
+ CreateConnectionRequest.struct_class = Types::CreateConnectionRequest
205
+
206
+ CreateConnectionResponse.add_member(:connection, Shapes::ShapeRef.new(shape: Connection, location_name: "Connection"))
207
+ CreateConnectionResponse.struct_class = Types::CreateConnectionResponse
208
+
148
209
  CreateDeviceRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
210
+ CreateDeviceRequest.add_member(:aws_location, Shapes::ShapeRef.new(shape: AWSLocation, location_name: "AWSLocation"))
149
211
  CreateDeviceRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
150
212
  CreateDeviceRequest.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
151
213
  CreateDeviceRequest.add_member(:vendor, Shapes::ShapeRef.new(shape: String, location_name: "Vendor"))
@@ -196,6 +258,13 @@ module Aws::NetworkManager
196
258
 
197
259
  CustomerGatewayAssociationList.member = Shapes::ShapeRef.new(shape: CustomerGatewayAssociation)
198
260
 
261
+ DeleteConnectionRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
262
+ DeleteConnectionRequest.add_member(:connection_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "connectionId"))
263
+ DeleteConnectionRequest.struct_class = Types::DeleteConnectionRequest
264
+
265
+ DeleteConnectionResponse.add_member(:connection, Shapes::ShapeRef.new(shape: Connection, location_name: "Connection"))
266
+ DeleteConnectionResponse.struct_class = Types::DeleteConnectionResponse
267
+
199
268
  DeleteDeviceRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
200
269
  DeleteDeviceRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "deviceId"))
201
270
  DeleteDeviceRequest.struct_class = Types::DeleteDeviceRequest
@@ -242,6 +311,7 @@ module Aws::NetworkManager
242
311
  Device.add_member(:device_id, Shapes::ShapeRef.new(shape: String, location_name: "DeviceId"))
243
312
  Device.add_member(:device_arn, Shapes::ShapeRef.new(shape: String, location_name: "DeviceArn"))
244
313
  Device.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, location_name: "GlobalNetworkId"))
314
+ Device.add_member(:aws_location, Shapes::ShapeRef.new(shape: AWSLocation, location_name: "AWSLocation"))
245
315
  Device.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
246
316
  Device.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
247
317
  Device.add_member(:vendor, Shapes::ShapeRef.new(shape: String, location_name: "Vendor"))
@@ -271,6 +341,24 @@ module Aws::NetworkManager
271
341
  DisassociateLinkResponse.add_member(:link_association, Shapes::ShapeRef.new(shape: LinkAssociation, location_name: "LinkAssociation"))
272
342
  DisassociateLinkResponse.struct_class = Types::DisassociateLinkResponse
273
343
 
344
+ DisassociateTransitGatewayConnectPeerRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
345
+ DisassociateTransitGatewayConnectPeerRequest.add_member(:transit_gateway_connect_peer_arn, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "transitGatewayConnectPeerArn"))
346
+ DisassociateTransitGatewayConnectPeerRequest.struct_class = Types::DisassociateTransitGatewayConnectPeerRequest
347
+
348
+ DisassociateTransitGatewayConnectPeerResponse.add_member(:transit_gateway_connect_peer_association, Shapes::ShapeRef.new(shape: TransitGatewayConnectPeerAssociation, location_name: "TransitGatewayConnectPeerAssociation"))
349
+ DisassociateTransitGatewayConnectPeerResponse.struct_class = Types::DisassociateTransitGatewayConnectPeerResponse
350
+
351
+ GetConnectionsRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
352
+ GetConnectionsRequest.add_member(:connection_ids, Shapes::ShapeRef.new(shape: StringList, location: "querystring", location_name: "connectionIds"))
353
+ GetConnectionsRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "deviceId"))
354
+ GetConnectionsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
355
+ GetConnectionsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
356
+ GetConnectionsRequest.struct_class = Types::GetConnectionsRequest
357
+
358
+ GetConnectionsResponse.add_member(:connections, Shapes::ShapeRef.new(shape: ConnectionList, location_name: "Connections"))
359
+ GetConnectionsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
360
+ GetConnectionsResponse.struct_class = Types::GetConnectionsResponse
361
+
274
362
  GetCustomerGatewayAssociationsRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
275
363
  GetCustomerGatewayAssociationsRequest.add_member(:customer_gateway_arns, Shapes::ShapeRef.new(shape: StringList, location: "querystring", location_name: "customerGatewayArns"))
276
364
  GetCustomerGatewayAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -326,6 +414,16 @@ module Aws::NetworkManager
326
414
  GetSitesResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
327
415
  GetSitesResponse.struct_class = Types::GetSitesResponse
328
416
 
417
+ GetTransitGatewayConnectPeerAssociationsRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
418
+ GetTransitGatewayConnectPeerAssociationsRequest.add_member(:transit_gateway_connect_peer_arns, Shapes::ShapeRef.new(shape: StringList, location: "querystring", location_name: "transitGatewayConnectPeerArns"))
419
+ GetTransitGatewayConnectPeerAssociationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
420
+ GetTransitGatewayConnectPeerAssociationsRequest.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location: "querystring", location_name: "nextToken"))
421
+ GetTransitGatewayConnectPeerAssociationsRequest.struct_class = Types::GetTransitGatewayConnectPeerAssociationsRequest
422
+
423
+ GetTransitGatewayConnectPeerAssociationsResponse.add_member(:transit_gateway_connect_peer_associations, Shapes::ShapeRef.new(shape: TransitGatewayConnectPeerAssociationList, location_name: "TransitGatewayConnectPeerAssociations"))
424
+ GetTransitGatewayConnectPeerAssociationsResponse.add_member(:next_token, Shapes::ShapeRef.new(shape: String, location_name: "NextToken"))
425
+ GetTransitGatewayConnectPeerAssociationsResponse.struct_class = Types::GetTransitGatewayConnectPeerAssociationsResponse
426
+
329
427
  GetTransitGatewayRegistrationsRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
330
428
  GetTransitGatewayRegistrationsRequest.add_member(:transit_gateway_arns, Shapes::ShapeRef.new(shape: StringList, location: "querystring", location_name: "transitGatewayArns"))
331
429
  GetTransitGatewayRegistrationsRequest.add_member(:max_results, Shapes::ShapeRef.new(shape: MaxResults, location: "querystring", location_name: "maxResults"))
@@ -435,6 +533,15 @@ module Aws::NetworkManager
435
533
  ThrottlingException.add_member(:retry_after_seconds, Shapes::ShapeRef.new(shape: RetryAfterSeconds, location: "header", location_name: "Retry-After"))
436
534
  ThrottlingException.struct_class = Types::ThrottlingException
437
535
 
536
+ TransitGatewayConnectPeerAssociation.add_member(:transit_gateway_connect_peer_arn, Shapes::ShapeRef.new(shape: String, location_name: "TransitGatewayConnectPeerArn"))
537
+ TransitGatewayConnectPeerAssociation.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, location_name: "GlobalNetworkId"))
538
+ TransitGatewayConnectPeerAssociation.add_member(:device_id, Shapes::ShapeRef.new(shape: String, location_name: "DeviceId"))
539
+ TransitGatewayConnectPeerAssociation.add_member(:link_id, Shapes::ShapeRef.new(shape: String, location_name: "LinkId"))
540
+ TransitGatewayConnectPeerAssociation.add_member(:state, Shapes::ShapeRef.new(shape: TransitGatewayConnectPeerAssociationState, location_name: "State"))
541
+ TransitGatewayConnectPeerAssociation.struct_class = Types::TransitGatewayConnectPeerAssociation
542
+
543
+ TransitGatewayConnectPeerAssociationList.member = Shapes::ShapeRef.new(shape: TransitGatewayConnectPeerAssociation)
544
+
438
545
  TransitGatewayRegistration.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, location_name: "GlobalNetworkId"))
439
546
  TransitGatewayRegistration.add_member(:transit_gateway_arn, Shapes::ShapeRef.new(shape: String, location_name: "TransitGatewayArn"))
440
547
  TransitGatewayRegistration.add_member(:state, Shapes::ShapeRef.new(shape: TransitGatewayRegistrationStateReason, location_name: "State"))
@@ -452,8 +559,19 @@ module Aws::NetworkManager
452
559
 
453
560
  UntagResourceResponse.struct_class = Types::UntagResourceResponse
454
561
 
562
+ UpdateConnectionRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
563
+ UpdateConnectionRequest.add_member(:connection_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "connectionId"))
564
+ UpdateConnectionRequest.add_member(:link_id, Shapes::ShapeRef.new(shape: String, location_name: "LinkId"))
565
+ UpdateConnectionRequest.add_member(:connected_link_id, Shapes::ShapeRef.new(shape: String, location_name: "ConnectedLinkId"))
566
+ UpdateConnectionRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
567
+ UpdateConnectionRequest.struct_class = Types::UpdateConnectionRequest
568
+
569
+ UpdateConnectionResponse.add_member(:connection, Shapes::ShapeRef.new(shape: Connection, location_name: "Connection"))
570
+ UpdateConnectionResponse.struct_class = Types::UpdateConnectionResponse
571
+
455
572
  UpdateDeviceRequest.add_member(:global_network_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "globalNetworkId"))
456
573
  UpdateDeviceRequest.add_member(:device_id, Shapes::ShapeRef.new(shape: String, required: true, location: "uri", location_name: "deviceId"))
574
+ UpdateDeviceRequest.add_member(:aws_location, Shapes::ShapeRef.new(shape: AWSLocation, location_name: "AWSLocation"))
457
575
  UpdateDeviceRequest.add_member(:description, Shapes::ShapeRef.new(shape: String, location_name: "Description"))
458
576
  UpdateDeviceRequest.add_member(:type, Shapes::ShapeRef.new(shape: String, location_name: "Type"))
459
577
  UpdateDeviceRequest.add_member(:vendor, Shapes::ShapeRef.new(shape: String, location_name: "Vendor"))
@@ -553,6 +671,35 @@ module Aws::NetworkManager
553
671
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
554
672
  end)
555
673
 
674
+ api.add_operation(:associate_transit_gateway_connect_peer, Seahorse::Model::Operation.new.tap do |o|
675
+ o.name = "AssociateTransitGatewayConnectPeer"
676
+ o.http_method = "POST"
677
+ o.http_request_uri = "/global-networks/{globalNetworkId}/transit-gateway-connect-peer-associations"
678
+ o.input = Shapes::ShapeRef.new(shape: AssociateTransitGatewayConnectPeerRequest)
679
+ o.output = Shapes::ShapeRef.new(shape: AssociateTransitGatewayConnectPeerResponse)
680
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
681
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
682
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
683
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
684
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
685
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
686
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
687
+ end)
688
+
689
+ api.add_operation(:create_connection, Seahorse::Model::Operation.new.tap do |o|
690
+ o.name = "CreateConnection"
691
+ o.http_method = "POST"
692
+ o.http_request_uri = "/global-networks/{globalNetworkId}/connections"
693
+ o.input = Shapes::ShapeRef.new(shape: CreateConnectionRequest)
694
+ o.output = Shapes::ShapeRef.new(shape: CreateConnectionResponse)
695
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
696
+ o.errors << Shapes::ShapeRef.new(shape: ServiceQuotaExceededException)
697
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
698
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
699
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
700
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
701
+ end)
702
+
556
703
  api.add_operation(:create_device, Seahorse::Model::Operation.new.tap do |o|
557
704
  o.name = "CreateDevice"
558
705
  o.http_method = "POST"
@@ -612,6 +759,20 @@ module Aws::NetworkManager
612
759
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
613
760
  end)
614
761
 
762
+ api.add_operation(:delete_connection, Seahorse::Model::Operation.new.tap do |o|
763
+ o.name = "DeleteConnection"
764
+ o.http_method = "DELETE"
765
+ o.http_request_uri = "/global-networks/{globalNetworkId}/connections/{connectionId}"
766
+ o.input = Shapes::ShapeRef.new(shape: DeleteConnectionRequest)
767
+ o.output = Shapes::ShapeRef.new(shape: DeleteConnectionResponse)
768
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
769
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
770
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
771
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
772
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
773
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
774
+ end)
775
+
615
776
  api.add_operation(:delete_device, Seahorse::Model::Operation.new.tap do |o|
616
777
  o.name = "DeleteDevice"
617
778
  o.http_method = "DELETE"
@@ -729,6 +890,39 @@ module Aws::NetworkManager
729
890
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
730
891
  end)
731
892
 
893
+ api.add_operation(:disassociate_transit_gateway_connect_peer, Seahorse::Model::Operation.new.tap do |o|
894
+ o.name = "DisassociateTransitGatewayConnectPeer"
895
+ o.http_method = "DELETE"
896
+ o.http_request_uri = "/global-networks/{globalNetworkId}/transit-gateway-connect-peer-associations/{transitGatewayConnectPeerArn}"
897
+ o.input = Shapes::ShapeRef.new(shape: DisassociateTransitGatewayConnectPeerRequest)
898
+ o.output = Shapes::ShapeRef.new(shape: DisassociateTransitGatewayConnectPeerResponse)
899
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
900
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
901
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
902
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
903
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
904
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
905
+ end)
906
+
907
+ api.add_operation(:get_connections, Seahorse::Model::Operation.new.tap do |o|
908
+ o.name = "GetConnections"
909
+ o.http_method = "GET"
910
+ o.http_request_uri = "/global-networks/{globalNetworkId}/connections"
911
+ o.input = Shapes::ShapeRef.new(shape: GetConnectionsRequest)
912
+ o.output = Shapes::ShapeRef.new(shape: GetConnectionsResponse)
913
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
914
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
915
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
916
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
917
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
918
+ o[:pager] = Aws::Pager.new(
919
+ limit_key: "max_results",
920
+ tokens: {
921
+ "next_token" => "next_token"
922
+ }
923
+ )
924
+ end)
925
+
732
926
  api.add_operation(:get_customer_gateway_associations, Seahorse::Model::Operation.new.tap do |o|
733
927
  o.name = "GetCustomerGatewayAssociations"
734
928
  o.http_method = "GET"
@@ -825,6 +1019,26 @@ module Aws::NetworkManager
825
1019
  )
826
1020
  end)
827
1021
 
1022
+ api.add_operation(:get_transit_gateway_connect_peer_associations, Seahorse::Model::Operation.new.tap do |o|
1023
+ o.name = "GetTransitGatewayConnectPeerAssociations"
1024
+ o.http_method = "GET"
1025
+ o.http_request_uri = "/global-networks/{globalNetworkId}/transit-gateway-connect-peer-associations"
1026
+ o.input = Shapes::ShapeRef.new(shape: GetTransitGatewayConnectPeerAssociationsRequest)
1027
+ o.output = Shapes::ShapeRef.new(shape: GetTransitGatewayConnectPeerAssociationsResponse)
1028
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1029
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1030
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1031
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1032
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1033
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1034
+ o[:pager] = Aws::Pager.new(
1035
+ limit_key: "max_results",
1036
+ tokens: {
1037
+ "next_token" => "next_token"
1038
+ }
1039
+ )
1040
+ end)
1041
+
828
1042
  api.add_operation(:get_transit_gateway_registrations, Seahorse::Model::Operation.new.tap do |o|
829
1043
  o.name = "GetTransitGatewayRegistrations"
830
1044
  o.http_method = "GET"
@@ -900,6 +1114,20 @@ module Aws::NetworkManager
900
1114
  o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
901
1115
  end)
902
1116
 
1117
+ api.add_operation(:update_connection, Seahorse::Model::Operation.new.tap do |o|
1118
+ o.name = "UpdateConnection"
1119
+ o.http_method = "PATCH"
1120
+ o.http_request_uri = "/global-networks/{globalNetworkId}/connections/{connectionId}"
1121
+ o.input = Shapes::ShapeRef.new(shape: UpdateConnectionRequest)
1122
+ o.output = Shapes::ShapeRef.new(shape: UpdateConnectionResponse)
1123
+ o.errors << Shapes::ShapeRef.new(shape: ValidationException)
1124
+ o.errors << Shapes::ShapeRef.new(shape: AccessDeniedException)
1125
+ o.errors << Shapes::ShapeRef.new(shape: ResourceNotFoundException)
1126
+ o.errors << Shapes::ShapeRef.new(shape: ConflictException)
1127
+ o.errors << Shapes::ShapeRef.new(shape: ThrottlingException)
1128
+ o.errors << Shapes::ShapeRef.new(shape: InternalServerException)
1129
+ end)
1130
+
903
1131
  api.add_operation(:update_device, Seahorse::Model::Operation.new.tap do |o|
904
1132
  o.name = "UpdateDevice"
905
1133
  o.http_method = "PATCH"
@@ -10,6 +10,35 @@
10
10
  module Aws::NetworkManager
11
11
  module Types
12
12
 
13
+ # Specifies a location in AWS.
14
+ #
15
+ # @note When making an API call, you may pass AWSLocation
16
+ # data as a hash:
17
+ #
18
+ # {
19
+ # zone: "String",
20
+ # subnet_arn: "String",
21
+ # }
22
+ #
23
+ # @!attribute [rw] zone
24
+ # The Zone the device is located in. This can be the ID of an
25
+ # Availability Zone, Local Zone, Wavelength Zone, or an Outpost.
26
+ # @return [String]
27
+ #
28
+ # @!attribute [rw] subnet_arn
29
+ # The Amazon Resource Name (ARN) of the subnet the device is located
30
+ # in.
31
+ # @return [String]
32
+ #
33
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AWSLocation AWS API Documentation
34
+ #
35
+ class AWSLocation < Struct.new(
36
+ :zone,
37
+ :subnet_arn)
38
+ SENSITIVE = []
39
+ include Aws::Structure
40
+ end
41
+
13
42
  # You do not have sufficient access to perform this action.
14
43
  #
15
44
  # @!attribute [rw] message
@@ -120,6 +149,55 @@ module Aws::NetworkManager
120
149
  include Aws::Structure
121
150
  end
122
151
 
152
+ # @note When making an API call, you may pass AssociateTransitGatewayConnectPeerRequest
153
+ # data as a hash:
154
+ #
155
+ # {
156
+ # global_network_id: "String", # required
157
+ # transit_gateway_connect_peer_arn: "String", # required
158
+ # device_id: "String", # required
159
+ # link_id: "String",
160
+ # }
161
+ #
162
+ # @!attribute [rw] global_network_id
163
+ # The ID of the global network.
164
+ # @return [String]
165
+ #
166
+ # @!attribute [rw] transit_gateway_connect_peer_arn
167
+ # The Amazon Resource Name (ARN) of the Connect peer.
168
+ # @return [String]
169
+ #
170
+ # @!attribute [rw] device_id
171
+ # The ID of the device.
172
+ # @return [String]
173
+ #
174
+ # @!attribute [rw] link_id
175
+ # The ID of the link.
176
+ # @return [String]
177
+ #
178
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateTransitGatewayConnectPeerRequest AWS API Documentation
179
+ #
180
+ class AssociateTransitGatewayConnectPeerRequest < Struct.new(
181
+ :global_network_id,
182
+ :transit_gateway_connect_peer_arn,
183
+ :device_id,
184
+ :link_id)
185
+ SENSITIVE = []
186
+ include Aws::Structure
187
+ end
188
+
189
+ # @!attribute [rw] transit_gateway_connect_peer_association
190
+ # The transit gateway Connect peer association.
191
+ # @return [Types::TransitGatewayConnectPeerAssociation]
192
+ #
193
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/AssociateTransitGatewayConnectPeerResponse AWS API Documentation
194
+ #
195
+ class AssociateTransitGatewayConnectPeerResponse < Struct.new(
196
+ :transit_gateway_connect_peer_association)
197
+ SENSITIVE = []
198
+ include Aws::Structure
199
+ end
200
+
123
201
  # Describes bandwidth information.
124
202
  #
125
203
  # @note When making an API call, you may pass Bandwidth
@@ -171,11 +249,153 @@ module Aws::NetworkManager
171
249
  include Aws::Structure
172
250
  end
173
251
 
252
+ # Describes a connection.
253
+ #
254
+ # @!attribute [rw] connection_id
255
+ # The ID of the connection.
256
+ # @return [String]
257
+ #
258
+ # @!attribute [rw] connection_arn
259
+ # The Amazon Resource Name (ARN) of the connection.
260
+ # @return [String]
261
+ #
262
+ # @!attribute [rw] global_network_id
263
+ # The ID of the global network.
264
+ # @return [String]
265
+ #
266
+ # @!attribute [rw] device_id
267
+ # The ID of the first device in the connection.
268
+ # @return [String]
269
+ #
270
+ # @!attribute [rw] connected_device_id
271
+ # The ID of the second device in the connection.
272
+ # @return [String]
273
+ #
274
+ # @!attribute [rw] link_id
275
+ # The ID of the link for the first device in the connection.
276
+ # @return [String]
277
+ #
278
+ # @!attribute [rw] connected_link_id
279
+ # The ID of the link for the second device in the connection.
280
+ # @return [String]
281
+ #
282
+ # @!attribute [rw] description
283
+ # The description of the connection.
284
+ # @return [String]
285
+ #
286
+ # @!attribute [rw] created_at
287
+ # The date and time that the connection was created.
288
+ # @return [Time]
289
+ #
290
+ # @!attribute [rw] state
291
+ # The state of the connection.
292
+ # @return [String]
293
+ #
294
+ # @!attribute [rw] tags
295
+ # The tags for the connection.
296
+ # @return [Array<Types::Tag>]
297
+ #
298
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/Connection AWS API Documentation
299
+ #
300
+ class Connection < Struct.new(
301
+ :connection_id,
302
+ :connection_arn,
303
+ :global_network_id,
304
+ :device_id,
305
+ :connected_device_id,
306
+ :link_id,
307
+ :connected_link_id,
308
+ :description,
309
+ :created_at,
310
+ :state,
311
+ :tags)
312
+ SENSITIVE = []
313
+ include Aws::Structure
314
+ end
315
+
316
+ # @note When making an API call, you may pass CreateConnectionRequest
317
+ # data as a hash:
318
+ #
319
+ # {
320
+ # global_network_id: "String", # required
321
+ # device_id: "String", # required
322
+ # connected_device_id: "String", # required
323
+ # link_id: "String",
324
+ # connected_link_id: "String",
325
+ # description: "String",
326
+ # tags: [
327
+ # {
328
+ # key: "TagKey",
329
+ # value: "TagValue",
330
+ # },
331
+ # ],
332
+ # }
333
+ #
334
+ # @!attribute [rw] global_network_id
335
+ # The ID of the global network.
336
+ # @return [String]
337
+ #
338
+ # @!attribute [rw] device_id
339
+ # The ID of the first device in the connection.
340
+ # @return [String]
341
+ #
342
+ # @!attribute [rw] connected_device_id
343
+ # The ID of the second device in the connection.
344
+ # @return [String]
345
+ #
346
+ # @!attribute [rw] link_id
347
+ # The ID of the link for the first device.
348
+ # @return [String]
349
+ #
350
+ # @!attribute [rw] connected_link_id
351
+ # The ID of the link for the second device.
352
+ # @return [String]
353
+ #
354
+ # @!attribute [rw] description
355
+ # A description of the connection.
356
+ #
357
+ # Length Constraints: Maximum length of 256 characters.
358
+ # @return [String]
359
+ #
360
+ # @!attribute [rw] tags
361
+ # The tags to apply to the resource during creation.
362
+ # @return [Array<Types::Tag>]
363
+ #
364
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateConnectionRequest AWS API Documentation
365
+ #
366
+ class CreateConnectionRequest < Struct.new(
367
+ :global_network_id,
368
+ :device_id,
369
+ :connected_device_id,
370
+ :link_id,
371
+ :connected_link_id,
372
+ :description,
373
+ :tags)
374
+ SENSITIVE = []
375
+ include Aws::Structure
376
+ end
377
+
378
+ # @!attribute [rw] connection
379
+ # Information about the connection.
380
+ # @return [Types::Connection]
381
+ #
382
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/CreateConnectionResponse AWS API Documentation
383
+ #
384
+ class CreateConnectionResponse < Struct.new(
385
+ :connection)
386
+ SENSITIVE = []
387
+ include Aws::Structure
388
+ end
389
+
174
390
  # @note When making an API call, you may pass CreateDeviceRequest
175
391
  # data as a hash:
176
392
  #
177
393
  # {
178
394
  # global_network_id: "String", # required
395
+ # aws_location: {
396
+ # zone: "String",
397
+ # subnet_arn: "String",
398
+ # },
179
399
  # description: "String",
180
400
  # type: "String",
181
401
  # vendor: "String",
@@ -199,6 +419,10 @@ module Aws::NetworkManager
199
419
  # The ID of the global network.
200
420
  # @return [String]
201
421
  #
422
+ # @!attribute [rw] aws_location
423
+ # The AWS location of the device.
424
+ # @return [Types::AWSLocation]
425
+ #
202
426
  # @!attribute [rw] description
203
427
  # A description of the device.
204
428
  #
@@ -243,6 +467,7 @@ module Aws::NetworkManager
243
467
  #
244
468
  class CreateDeviceRequest < Struct.new(
245
469
  :global_network_id,
470
+ :aws_location,
246
471
  :description,
247
472
  :type,
248
473
  :vendor,
@@ -251,7 +476,7 @@ module Aws::NetworkManager
251
476
  :location,
252
477
  :site_id,
253
478
  :tags)
254
- SENSITIVE = []
479
+ SENSITIVE = [:location]
255
480
  include Aws::Structure
256
481
  end
257
482
 
@@ -448,7 +673,7 @@ module Aws::NetworkManager
448
673
  :description,
449
674
  :location,
450
675
  :tags)
451
- SENSITIVE = []
676
+ SENSITIVE = [:location]
452
677
  include Aws::Structure
453
678
  end
454
679
 
@@ -499,6 +724,43 @@ module Aws::NetworkManager
499
724
  include Aws::Structure
500
725
  end
501
726
 
727
+ # @note When making an API call, you may pass DeleteConnectionRequest
728
+ # data as a hash:
729
+ #
730
+ # {
731
+ # global_network_id: "String", # required
732
+ # connection_id: "String", # required
733
+ # }
734
+ #
735
+ # @!attribute [rw] global_network_id
736
+ # The ID of the global network.
737
+ # @return [String]
738
+ #
739
+ # @!attribute [rw] connection_id
740
+ # The ID of the connection.
741
+ # @return [String]
742
+ #
743
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteConnectionRequest AWS API Documentation
744
+ #
745
+ class DeleteConnectionRequest < Struct.new(
746
+ :global_network_id,
747
+ :connection_id)
748
+ SENSITIVE = []
749
+ include Aws::Structure
750
+ end
751
+
752
+ # @!attribute [rw] connection
753
+ # Information about the connection.
754
+ # @return [Types::Connection]
755
+ #
756
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DeleteConnectionResponse AWS API Documentation
757
+ #
758
+ class DeleteConnectionResponse < Struct.new(
759
+ :connection)
760
+ SENSITIVE = []
761
+ include Aws::Structure
762
+ end
763
+
502
764
  # @note When making an API call, you may pass DeleteDeviceRequest
503
765
  # data as a hash:
504
766
  #
@@ -740,6 +1002,10 @@ module Aws::NetworkManager
740
1002
  # The ID of the global network.
741
1003
  # @return [String]
742
1004
  #
1005
+ # @!attribute [rw] aws_location
1006
+ # The AWS location of the device.
1007
+ # @return [Types::AWSLocation]
1008
+ #
743
1009
  # @!attribute [rw] description
744
1010
  # The description of the device.
745
1011
  # @return [String]
@@ -786,6 +1052,7 @@ module Aws::NetworkManager
786
1052
  :device_id,
787
1053
  :device_arn,
788
1054
  :global_network_id,
1055
+ :aws_location,
789
1056
  :description,
790
1057
  :type,
791
1058
  :vendor,
@@ -796,7 +1063,7 @@ module Aws::NetworkManager
796
1063
  :created_at,
797
1064
  :state,
798
1065
  :tags)
799
- SENSITIVE = []
1066
+ SENSITIVE = [:location]
800
1067
  include Aws::Structure
801
1068
  end
802
1069
 
@@ -885,6 +1152,103 @@ module Aws::NetworkManager
885
1152
  include Aws::Structure
886
1153
  end
887
1154
 
1155
+ # @note When making an API call, you may pass DisassociateTransitGatewayConnectPeerRequest
1156
+ # data as a hash:
1157
+ #
1158
+ # {
1159
+ # global_network_id: "String", # required
1160
+ # transit_gateway_connect_peer_arn: "String", # required
1161
+ # }
1162
+ #
1163
+ # @!attribute [rw] global_network_id
1164
+ # The ID of the global network.
1165
+ # @return [String]
1166
+ #
1167
+ # @!attribute [rw] transit_gateway_connect_peer_arn
1168
+ # The Amazon Resource Name (ARN) of the transit gateway Connect peer.
1169
+ # @return [String]
1170
+ #
1171
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateTransitGatewayConnectPeerRequest AWS API Documentation
1172
+ #
1173
+ class DisassociateTransitGatewayConnectPeerRequest < Struct.new(
1174
+ :global_network_id,
1175
+ :transit_gateway_connect_peer_arn)
1176
+ SENSITIVE = []
1177
+ include Aws::Structure
1178
+ end
1179
+
1180
+ # @!attribute [rw] transit_gateway_connect_peer_association
1181
+ # The transit gateway Connect peer association.
1182
+ # @return [Types::TransitGatewayConnectPeerAssociation]
1183
+ #
1184
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/DisassociateTransitGatewayConnectPeerResponse AWS API Documentation
1185
+ #
1186
+ class DisassociateTransitGatewayConnectPeerResponse < Struct.new(
1187
+ :transit_gateway_connect_peer_association)
1188
+ SENSITIVE = []
1189
+ include Aws::Structure
1190
+ end
1191
+
1192
+ # @note When making an API call, you may pass GetConnectionsRequest
1193
+ # data as a hash:
1194
+ #
1195
+ # {
1196
+ # global_network_id: "String", # required
1197
+ # connection_ids: ["String"],
1198
+ # device_id: "String",
1199
+ # max_results: 1,
1200
+ # next_token: "String",
1201
+ # }
1202
+ #
1203
+ # @!attribute [rw] global_network_id
1204
+ # The ID of the global network.
1205
+ # @return [String]
1206
+ #
1207
+ # @!attribute [rw] connection_ids
1208
+ # One or more connection IDs.
1209
+ # @return [Array<String>]
1210
+ #
1211
+ # @!attribute [rw] device_id
1212
+ # The ID of the device.
1213
+ # @return [String]
1214
+ #
1215
+ # @!attribute [rw] max_results
1216
+ # The maximum number of results to return.
1217
+ # @return [Integer]
1218
+ #
1219
+ # @!attribute [rw] next_token
1220
+ # The token for the next page of results.
1221
+ # @return [String]
1222
+ #
1223
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnectionsRequest AWS API Documentation
1224
+ #
1225
+ class GetConnectionsRequest < Struct.new(
1226
+ :global_network_id,
1227
+ :connection_ids,
1228
+ :device_id,
1229
+ :max_results,
1230
+ :next_token)
1231
+ SENSITIVE = []
1232
+ include Aws::Structure
1233
+ end
1234
+
1235
+ # @!attribute [rw] connections
1236
+ # Information about the connections.
1237
+ # @return [Array<Types::Connection>]
1238
+ #
1239
+ # @!attribute [rw] next_token
1240
+ # The token to use for the next page of results.
1241
+ # @return [String]
1242
+ #
1243
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetConnectionsResponse AWS API Documentation
1244
+ #
1245
+ class GetConnectionsResponse < Struct.new(
1246
+ :connections,
1247
+ :next_token)
1248
+ SENSITIVE = []
1249
+ include Aws::Structure
1250
+ end
1251
+
888
1252
  # @note When making an API call, you may pass GetCustomerGatewayAssociationsRequest
889
1253
  # data as a hash:
890
1254
  #
@@ -1191,6 +1555,61 @@ module Aws::NetworkManager
1191
1555
  include Aws::Structure
1192
1556
  end
1193
1557
 
1558
+ # @note When making an API call, you may pass GetTransitGatewayConnectPeerAssociationsRequest
1559
+ # data as a hash:
1560
+ #
1561
+ # {
1562
+ # global_network_id: "String", # required
1563
+ # transit_gateway_connect_peer_arns: ["String"],
1564
+ # max_results: 1,
1565
+ # next_token: "String",
1566
+ # }
1567
+ #
1568
+ # @!attribute [rw] global_network_id
1569
+ # The ID of the global network.
1570
+ # @return [String]
1571
+ #
1572
+ # @!attribute [rw] transit_gateway_connect_peer_arns
1573
+ # One or more transit gateway Connect peer Amazon Resource Names
1574
+ # (ARNs).
1575
+ # @return [Array<String>]
1576
+ #
1577
+ # @!attribute [rw] max_results
1578
+ # The maximum number of results to return.
1579
+ # @return [Integer]
1580
+ #
1581
+ # @!attribute [rw] next_token
1582
+ # The token for the next page of results.
1583
+ # @return [String]
1584
+ #
1585
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayConnectPeerAssociationsRequest AWS API Documentation
1586
+ #
1587
+ class GetTransitGatewayConnectPeerAssociationsRequest < Struct.new(
1588
+ :global_network_id,
1589
+ :transit_gateway_connect_peer_arns,
1590
+ :max_results,
1591
+ :next_token)
1592
+ SENSITIVE = []
1593
+ include Aws::Structure
1594
+ end
1595
+
1596
+ # @!attribute [rw] transit_gateway_connect_peer_associations
1597
+ # Information about the transit gateway Connect peer associations.
1598
+ # @return [Array<Types::TransitGatewayConnectPeerAssociation>]
1599
+ #
1600
+ # @!attribute [rw] next_token
1601
+ # The token to use for the next page of results.
1602
+ # @return [String]
1603
+ #
1604
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/GetTransitGatewayConnectPeerAssociationsResponse AWS API Documentation
1605
+ #
1606
+ class GetTransitGatewayConnectPeerAssociationsResponse < Struct.new(
1607
+ :transit_gateway_connect_peer_associations,
1608
+ :next_token)
1609
+ SENSITIVE = []
1610
+ include Aws::Structure
1611
+ end
1612
+
1194
1613
  # @note When making an API call, you may pass GetTransitGatewayRegistrationsRequest
1195
1614
  # data as a hash:
1196
1615
  #
@@ -1604,7 +2023,7 @@ module Aws::NetworkManager
1604
2023
  :created_at,
1605
2024
  :state,
1606
2025
  :tags)
1607
- SENSITIVE = []
2026
+ SENSITIVE = [:location]
1608
2027
  include Aws::Structure
1609
2028
  end
1610
2029
 
@@ -1691,6 +2110,40 @@ module Aws::NetworkManager
1691
2110
  include Aws::Structure
1692
2111
  end
1693
2112
 
2113
+ # Describes a transit gateway Connect peer association.
2114
+ #
2115
+ # @!attribute [rw] transit_gateway_connect_peer_arn
2116
+ # The Amazon Resource Name (ARN) of the transit gateway Connect peer.
2117
+ # @return [String]
2118
+ #
2119
+ # @!attribute [rw] global_network_id
2120
+ # The ID of the global network.
2121
+ # @return [String]
2122
+ #
2123
+ # @!attribute [rw] device_id
2124
+ # The ID of the device.
2125
+ # @return [String]
2126
+ #
2127
+ # @!attribute [rw] link_id
2128
+ # The ID of the link.
2129
+ # @return [String]
2130
+ #
2131
+ # @!attribute [rw] state
2132
+ # The state of the association.
2133
+ # @return [String]
2134
+ #
2135
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/TransitGatewayConnectPeerAssociation AWS API Documentation
2136
+ #
2137
+ class TransitGatewayConnectPeerAssociation < Struct.new(
2138
+ :transit_gateway_connect_peer_arn,
2139
+ :global_network_id,
2140
+ :device_id,
2141
+ :link_id,
2142
+ :state)
2143
+ SENSITIVE = []
2144
+ include Aws::Structure
2145
+ end
2146
+
1694
2147
  # Describes the registration of a transit gateway to a global network.
1695
2148
  #
1696
2149
  # @!attribute [rw] global_network_id
@@ -1763,12 +2216,73 @@ module Aws::NetworkManager
1763
2216
  #
1764
2217
  class UntagResourceResponse < Aws::EmptyStructure; end
1765
2218
 
2219
+ # @note When making an API call, you may pass UpdateConnectionRequest
2220
+ # data as a hash:
2221
+ #
2222
+ # {
2223
+ # global_network_id: "String", # required
2224
+ # connection_id: "String", # required
2225
+ # link_id: "String",
2226
+ # connected_link_id: "String",
2227
+ # description: "String",
2228
+ # }
2229
+ #
2230
+ # @!attribute [rw] global_network_id
2231
+ # The ID of the global network.
2232
+ # @return [String]
2233
+ #
2234
+ # @!attribute [rw] connection_id
2235
+ # The ID of the connection.
2236
+ # @return [String]
2237
+ #
2238
+ # @!attribute [rw] link_id
2239
+ # The ID of the link for the first device in the connection.
2240
+ # @return [String]
2241
+ #
2242
+ # @!attribute [rw] connected_link_id
2243
+ # The ID of the link for the second device in the connection.
2244
+ # @return [String]
2245
+ #
2246
+ # @!attribute [rw] description
2247
+ # A description of the connection.
2248
+ #
2249
+ # Length Constraints: Maximum length of 256 characters.
2250
+ # @return [String]
2251
+ #
2252
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateConnectionRequest AWS API Documentation
2253
+ #
2254
+ class UpdateConnectionRequest < Struct.new(
2255
+ :global_network_id,
2256
+ :connection_id,
2257
+ :link_id,
2258
+ :connected_link_id,
2259
+ :description)
2260
+ SENSITIVE = []
2261
+ include Aws::Structure
2262
+ end
2263
+
2264
+ # @!attribute [rw] connection
2265
+ # Information about the connection.
2266
+ # @return [Types::Connection]
2267
+ #
2268
+ # @see http://docs.aws.amazon.com/goto/WebAPI/networkmanager-2019-07-05/UpdateConnectionResponse AWS API Documentation
2269
+ #
2270
+ class UpdateConnectionResponse < Struct.new(
2271
+ :connection)
2272
+ SENSITIVE = []
2273
+ include Aws::Structure
2274
+ end
2275
+
1766
2276
  # @note When making an API call, you may pass UpdateDeviceRequest
1767
2277
  # data as a hash:
1768
2278
  #
1769
2279
  # {
1770
2280
  # global_network_id: "String", # required
1771
2281
  # device_id: "String", # required
2282
+ # aws_location: {
2283
+ # zone: "String",
2284
+ # subnet_arn: "String",
2285
+ # },
1772
2286
  # description: "String",
1773
2287
  # type: "String",
1774
2288
  # vendor: "String",
@@ -1790,6 +2304,10 @@ module Aws::NetworkManager
1790
2304
  # The ID of the device.
1791
2305
  # @return [String]
1792
2306
  #
2307
+ # @!attribute [rw] aws_location
2308
+ # The AWS location of the device.
2309
+ # @return [Types::AWSLocation]
2310
+ #
1793
2311
  # @!attribute [rw] description
1794
2312
  # A description of the device.
1795
2313
  #
@@ -1831,6 +2349,7 @@ module Aws::NetworkManager
1831
2349
  class UpdateDeviceRequest < Struct.new(
1832
2350
  :global_network_id,
1833
2351
  :device_id,
2352
+ :aws_location,
1834
2353
  :description,
1835
2354
  :type,
1836
2355
  :vendor,
@@ -1838,7 +2357,7 @@ module Aws::NetworkManager
1838
2357
  :serial_number,
1839
2358
  :location,
1840
2359
  :site_id)
1841
- SENSITIVE = []
2360
+ SENSITIVE = [:location]
1842
2361
  include Aws::Structure
1843
2362
  end
1844
2363
 
@@ -2008,7 +2527,7 @@ module Aws::NetworkManager
2008
2527
  :site_id,
2009
2528
  :description,
2010
2529
  :location)
2011
- SENSITIVE = []
2530
+ SENSITIVE = [:location]
2012
2531
  include Aws::Structure
2013
2532
  end
2014
2533