AWS Network Manager
API Reference
API Version 2019-07-05
AWS Network Manager: API Reference
Copyright © Amazon Web Services, Inc. and/or its affiliates. All rights reserved.
Amazon's trademarks and trade dress may not be used in connection with any product or service that is not Amazon's, in any manner that is likely to cause confusion among customers, or in any manner that disparages or discredits Amazon. All other trademarks not owned by Amazon are the property of their respective owners, who may or may not be affiliated with, connected to, or sponsored by Amazon.
Table of Contents
Welcome ... 1
Actions ... 2
AcceptAttachment ... 4
Request Syntax ... 4
URI Request Parameters ... 4
Request Body ... 4
Response Syntax ... 4
Response Elements ... 5
Errors ... 5
See Also ... 6
AssociateConnectPeer ... 7
Request Syntax ... 7
URI Request Parameters ... 7
Request Body ... 7
Response Syntax ... 8
Response Elements ... 8
Errors ... 8
See Also ... 9
AssociateCustomerGateway ... 10
Request Syntax ... 10
URI Request Parameters ... 10
Request Body ... 10
Response Syntax ... 11
Response Elements ... 11
Errors ... 11
See Also ... 12
AssociateLink ... 13
Request Syntax ... 13
URI Request Parameters ... 13
Request Body ... 13
Response Syntax ... 14
Response Elements ... 14
Errors ... 14
See Also ... 15
AssociateTransitGatewayConnectPeer ... 16
Request Syntax ... 16
URI Request Parameters ... 16
Request Body ... 16
Response Syntax ... 17
Response Elements ... 17
Errors ... 17
See Also ... 18
CreateConnectAttachment ... 19
Request Syntax ... 19
URI Request Parameters ... 19
Request Body ... 19
Response Syntax ... 20
Response Elements ... 21
Errors ... 21
See Also ... 22
CreateConnection ... 23
Request Syntax ... 23
URI Request Parameters ... 23
Request Body ... 23
Response Syntax ... 24
Response Elements ... 25
Errors ... 25
See Also ... 26
CreateConnectPeer ... 27
Request Syntax ... 27
URI Request Parameters ... 27
Request Body ... 27
Response Syntax ... 28
Response Elements ... 29
Errors ... 29
See Also ... 30
CreateCoreNetwork ... 31
Request Syntax ... 31
URI Request Parameters ... 31
Request Body ... 31
Response Syntax ... 32
Response Elements ... 33
Errors ... 33
See Also ... 33
CreateDevice ... 35
Request Syntax ... 35
URI Request Parameters ... 35
Request Body ... 35
Response Syntax ... 37
Response Elements ... 38
Errors ... 38
See Also ... 39
CreateGlobalNetwork ... 40
Request Syntax ... 40
URI Request Parameters ... 40
Request Body ... 40
Response Syntax ... 40
Response Elements ... 41
Errors ... 41
See Also ... 42
CreateLink ... 43
Request Syntax ... 43
URI Request Parameters ... 43
Request Body ... 43
Response Syntax ... 44
Response Elements ... 45
Errors ... 45
See Also ... 46
CreateSite ... 47
Request Syntax ... 47
URI Request Parameters ... 47
Request Body ... 47
Response Syntax ... 48
Response Elements ... 48
Errors ... 49
See Also ... 49
CreateSiteToSiteVpnAttachment ... 51
Request Syntax ... 51
URI Request Parameters ... 51
Request Body ... 51
Response Syntax ... 52
Response Elements ... 52
Errors ... 53
See Also ... 53
CreateVpcAttachment ... 55
Request Syntax ... 55
URI Request Parameters ... 55
Request Body ... 55
Response Syntax ... 56
Response Elements ... 57
Errors ... 57
See Also ... 58
DeleteAttachment ... 59
Request Syntax ... 59
URI Request Parameters ... 59
Request Body ... 59
Response Syntax ... 59
Response Elements ... 60
Errors ... 60
See Also ... 61
DeleteConnection ... 62
Request Syntax ... 62
URI Request Parameters ... 62
Request Body ... 62
Response Syntax ... 62
Response Elements ... 63
Errors ... 63
See Also ... 63
DeleteConnectPeer ... 65
Request Syntax ... 65
URI Request Parameters ... 65
Request Body ... 65
Response Syntax ... 65
Response Elements ... 66
Errors ... 66
See Also ... 66
DeleteCoreNetwork ... 68
Request Syntax ... 68
URI Request Parameters ... 68
Request Body ... 68
Response Syntax ... 68
Response Elements ... 69
Errors ... 69
See Also ... 69
DeleteCoreNetworkPolicyVersion ... 71
Request Syntax ... 71
URI Request Parameters ... 71
Request Body ... 71
Response Syntax ... 71
Response Elements ... 72
Errors ... 72
See Also ... 72
DeleteDevice ... 74
Request Syntax ... 74
URI Request Parameters ... 74
Request Body ... 74
Response Syntax ... 74
Response Elements ... 75
Errors ... 75
See Also ... 76
DeleteGlobalNetwork ... 77
Request Syntax ... 77
URI Request Parameters ... 77
Request Body ... 77
Response Syntax ... 77
Response Elements ... 77
Errors ... 78
See Also ... 78
DeleteLink ... 80
Request Syntax ... 80
URI Request Parameters ... 80
Request Body ... 80
Response Syntax ... 80
Response Elements ... 81
Errors ... 81
See Also ... 82
DeleteResourcePolicy ... 83
Request Syntax ... 83
URI Request Parameters ... 83
Request Body ... 83
Response Syntax ... 83
Response Elements ... 83
Errors ... 83
See Also ... 84
DeleteSite ... 85
Request Syntax ... 85
URI Request Parameters ... 85
Request Body ... 85
Response Syntax ... 85
Response Elements ... 86
Errors ... 86
See Also ... 86
DeregisterTransitGateway ... 88
Request Syntax ... 88
URI Request Parameters ... 88
Request Body ... 88
Response Syntax ... 88
Response Elements ... 89
Errors ... 89
See Also ... 89
DescribeGlobalNetworks ... 91
Request Syntax ... 91
URI Request Parameters ... 91
Request Body ... 91
Response Syntax ... 91
Response Elements ... 92
Errors ... 92
See Also ... 93
DisassociateConnectPeer ... 94
Request Syntax ... 94
URI Request Parameters ... 94
Request Body ... 94
Response Syntax ... 94
Response Elements ... 94
Errors ... 95
See Also ... 95
DisassociateCustomerGateway ... 97
Request Syntax ... 97
URI Request Parameters ... 97
Request Body ... 97
Response Syntax ... 97
Response Elements ... 97
Errors ... 98
See Also ... 98
DisassociateLink ... 100
Request Syntax ... 100
URI Request Parameters ... 100
Request Body ... 100
Response Syntax ... 100
Response Elements ... 101
Errors ... 101
See Also ... 101
DisassociateTransitGatewayConnectPeer ... 103
Request Syntax ... 103
URI Request Parameters ... 103
Request Body ... 103
Response Syntax ... 103
Response Elements ... 103
Errors ... 104
See Also ... 104
ExecuteCoreNetworkChangeSet ... 106
Request Syntax ... 106
URI Request Parameters ... 106
Request Body ... 106
Response Syntax ... 106
Response Elements ... 106
Errors ... 106
See Also ... 107
GetConnectAttachment ... 108
Request Syntax ... 108
URI Request Parameters ... 108
Request Body ... 108
Response Syntax ... 108
Response Elements ... 109
Errors ... 109
See Also ... 109
GetConnections ... 111
Request Syntax ... 111
URI Request Parameters ... 111
Request Body ... 111
Response Syntax ... 112
Response Elements ... 112
Errors ... 112
See Also ... 113
GetConnectPeer ... 114
Request Syntax ... 114
URI Request Parameters ... 114
Request Body ... 114
Response Syntax ... 114
Response Elements ... 115
Errors ... 115
See Also ... 115
GetConnectPeerAssociations ... 117
Request Syntax ... 117
URI Request Parameters ... 117
Request Body ... 117
Response Syntax ... 117
Response Elements ... 118
Errors ... 118
See Also ... 119
GetCoreNetwork ... 120
Request Syntax ... 120
URI Request Parameters ... 120
Request Body ... 120
Response Syntax ... 120
Response Elements ... 121
Errors ... 121
See Also ... 121
GetCoreNetworkChangeSet ... 123
Request Syntax ... 123
URI Request Parameters ... 123
Request Body ... 123
Response Syntax ... 123
Response Elements ... 124
Errors ... 124
See Also ... 125
GetCoreNetworkPolicy ... 126
Request Syntax ... 126
URI Request Parameters ... 126
Request Body ... 126
Response Syntax ... 126
Response Elements ... 127
Errors ... 127
See Also ... 127
GetCustomerGatewayAssociations ... 129
Request Syntax ... 129
URI Request Parameters ... 129
Request Body ... 129
Response Syntax ... 129
Response Elements ... 130
Errors ... 130
See Also ... 131
GetDevices ... 132
Request Syntax ... 132
URI Request Parameters ... 132
Request Body ... 132
Response Syntax ... 132
Response Elements ... 133
Errors ... 133
See Also ... 134
GetLinkAssociations ... 135
Request Syntax ... 135
URI Request Parameters ... 135
Request Body ... 135
Response Syntax ... 136
Response Elements ... 136
Errors ... 136
See Also ... 137
GetLinks ... 138
Request Syntax ... 138
URI Request Parameters ... 138
Request Body ... 139
Response Syntax ... 139
Response Elements ... 139
Errors ... 140
See Also ... 140
GetNetworkResourceCounts ... 141
Request Syntax ... 141
URI Request Parameters ... 141
Request Body ... 142
Response Syntax ... 142
Response Elements ... 142
Errors ... 142
See Also ... 143
GetNetworkResourceRelationships ... 144
Request Syntax ... 144
URI Request Parameters ... 144
Request Body ... 145
Response Syntax ... 145
Response Elements ... 146
Errors ... 146
See Also ... 147
GetNetworkResources ... 148
Request Syntax ... 148
URI Request Parameters ... 148
Request Body ... 149
Response Syntax ... 149
Response Elements ... 150
Errors ... 150
See Also ... 151
GetNetworkRoutes ... 152
Request Syntax ... 152
URI Request Parameters ... 152
Request Body ... 152
Response Syntax ... 154
Response Elements ... 155
Errors ... 155
See Also ... 156
GetNetworkTelemetry ... 157
Request Syntax ... 157
URI Request Parameters ... 157
Request Body ... 158
Response Syntax ... 158
Response Elements ... 159
Errors ... 159
See Also ... 160
GetResourcePolicy ... 161
Request Syntax ... 161
URI Request Parameters ... 161
Request Body ... 161
Response Syntax ... 161
Response Elements ... 161
Errors ... 161
See Also ... 162
GetRouteAnalysis ... 163
Request Syntax ... 163
URI Request Parameters ... 163
Request Body ... 163
Response Syntax ... 163
Response Elements ... 164
Errors ... 165
See Also ... 165
GetSites ... 166
Request Syntax ... 166
URI Request Parameters ... 166
Request Body ... 166
Response Syntax ... 166
Response Elements ... 167
Errors ... 167
See Also ... 168
GetSiteToSiteVpnAttachment ... 169
Request Syntax ... 169
URI Request Parameters ... 169
Request Body ... 169
Response Syntax ... 169
Response Elements ... 170
Errors ... 170
See Also ... 170
GetTransitGatewayConnectPeerAssociations ... 172
Request Syntax ... 172
URI Request Parameters ... 172
Request Body ... 172
Response Syntax ... 172
Response Elements ... 173
Errors ... 173
See Also ... 174
GetTransitGatewayRegistrations ... 175
Request Syntax ... 175
URI Request Parameters ... 175
Request Body ... 175
Response Syntax ... 175
Response Elements ... 176
Errors ... 176
See Also ... 177
GetVpcAttachment ... 178
Request Syntax ... 178
URI Request Parameters ... 178
Request Body ... 178
Response Syntax ... 178
Response Elements ... 179
Errors ... 179
See Also ... 179
ListAttachments ... 181
Request Syntax ... 181
URI Request Parameters ... 181
Request Body ... 181
Response Syntax ... 182
Response Elements ... 182
Errors ... 183
See Also ... 183
ListConnectPeers ... 184
Request Syntax ... 184
URI Request Parameters ... 184
Request Body ... 184
Response Syntax ... 184
Response Elements ... 185
Errors ... 185
See Also ... 186
ListCoreNetworkPolicyVersions ... 187
Request Syntax ... 187
URI Request Parameters ... 187
Request Body ... 187
Response Syntax ... 187
Response Elements ... 188
Errors ... 188
See Also ... 188
ListCoreNetworks ... 190
Request Syntax ... 190
URI Request Parameters ... 190
Request Body ... 190
Response Syntax ... 190
Response Elements ... 191
Errors ... 191
See Also ... 191
ListTagsForResource ... 193
Request Syntax ... 193
URI Request Parameters ... 193
Request Body ... 193
Response Syntax ... 193
Response Elements ... 193
Errors ... 194
See Also ... 194
PutCoreNetworkPolicy ... 195
Request Syntax ... 195
URI Request Parameters ... 195
Request Body ... 195
Response Syntax ... 196
Response Elements ... 196
Errors ... 196
See Also ... 197
PutResourcePolicy ... 198
Request Syntax ... 198
URI Request Parameters ... 198
Request Body ... 198
Response Syntax ... 198
Response Elements ... 198
Errors ... 199
See Also ... 199
RegisterTransitGateway ... 200
Request Syntax ... 200
URI Request Parameters ... 200
Request Body ... 200
Response Syntax ... 200
Response Elements ... 201
Errors ... 201
See Also ... 201
RejectAttachment ... 203
Request Syntax ... 203
URI Request Parameters ... 203
Request Body ... 203
Response Syntax ... 203
Response Elements ... 204
Errors ... 204
See Also ... 205
RestoreCoreNetworkPolicyVersion ... 206
Request Syntax ... 206
URI Request Parameters ... 206
Request Body ... 206
Response Syntax ... 206
Response Elements ... 207
Errors ... 207
See Also ... 207
StartRouteAnalysis ... 209
Request Syntax ... 209
URI Request Parameters ... 209
Request Body ... 209
Response Syntax ... 210
Response Elements ... 211
Errors ... 211
See Also ... 212
TagResource ... 213
Request Syntax ... 213
URI Request Parameters ... 213
Request Body ... 213
Response Syntax ... 213
Response Elements ... 213
Errors ... 214
See Also ... 214
UntagResource ... 216
Request Syntax ... 216
URI Request Parameters ... 216
Request Body ... 216
Response Syntax ... 216
Response Elements ... 216
Errors ... 216
See Also ... 217
UpdateConnection ... 218
Request Syntax ... 218
URI Request Parameters ... 218
Request Body ... 218
Response Syntax ... 219
Response Elements ... 219
Errors ... 220
See Also ... 220
UpdateCoreNetwork ... 221
Request Syntax ... 221
URI Request Parameters ... 221
Request Body ... 221
Response Syntax ... 221
Response Elements ... 222
Errors ... 222
See Also ... 223
UpdateDevice ... 224
Request Syntax ... 224
URI Request Parameters ... 224
Request Body ... 224
Response Syntax ... 226
Response Elements ... 227
Errors ... 227
See Also ... 227
UpdateGlobalNetwork ... 229
Request Syntax ... 229
URI Request Parameters ... 229
Request Body ... 229
Response Syntax ... 229
Response Elements ... 230
Errors ... 230
See Also ... 231
UpdateLink ... 232
Request Syntax ... 232
URI Request Parameters ... 232
Request Body ... 232
Response Syntax ... 233
Response Elements ... 234
Errors ... 234
See Also ... 235
UpdateNetworkResourceMetadata ... 236
Request Syntax ... 236
URI Request Parameters ... 236
Request Body ... 236
Response Syntax ... 237
Response Elements ... 237
Errors ... 237
See Also ... 238
UpdateSite ... 239
Request Syntax ... 239
URI Request Parameters ... 239
Request Body ... 239
Response Syntax ... 240
Response Elements ... 240
Errors ... 240
See Also ... 241
UpdateVpcAttachment ... 242
Request Syntax ... 242
URI Request Parameters ... 242
Request Body ... 242
Response Syntax ... 243
Response Elements ... 243
Errors ... 244
See Also ... 244
Data Types ... 246
Attachment ... 248
Contents ... 248
See Also ... 250
AWSLocation ... 251
Contents ... 251
See Also ... 251
Bandwidth ... 252
Contents ... 252
See Also ... 252
BgpOptions ... 253
Contents ... 253
See Also ... 253
ConnectAttachment ... 254
Contents ... 254
See Also ... 254
ConnectAttachmentOptions ... 255
Contents ... 255
See Also ... 255
Connection ... 256
Contents ... 256
See Also ... 258
ConnectionHealth ... 259
Contents ... 259
See Also ... 259
ConnectPeer ... 260
Contents ... 260
See Also ... 261
ConnectPeerAssociation ... 262
Contents ... 262
See Also ... 263
ConnectPeerBgpConfiguration ... 264
Contents ... 264
See Also ... 264
ConnectPeerConfiguration ... 265
Contents ... 265
See Also ... 265
ConnectPeerSummary ... 267
Contents ... 267
See Also ... 268
CoreNetwork ... 269
Contents ... 269
See Also ... 270
CoreNetworkChange ... 271
Contents ... 271
See Also ... 271
CoreNetworkChangeValues ... 273
Contents ... 273
See Also ... 274
CoreNetworkEdge ... 275
Contents ... 275
See Also ... 275
CoreNetworkPolicy ... 276
Contents ... 276
See Also ... 277
CoreNetworkPolicyError ... 278
Contents ... 278
See Also ... 278
CoreNetworkPolicyVersion ... 279
Contents ... 279
See Also ... 280
CoreNetworkSegment ... 281
Contents ... 281
See Also ... 281
CoreNetworkSegmentEdgeIdentifier ... 282
Contents ... 282
See Also ... 282
CoreNetworkSummary ... 283
Contents ... 283
See Also ... 284
CustomerGatewayAssociation ... 285
Contents ... 285
See Also ... 286
Device ... 287
Contents ... 287
See Also ... 289
GlobalNetwork ... 290
Contents ... 290
See Also ... 291
Link ... 292
Contents ... 292
See Also ... 293
LinkAssociation ... 295
Contents ... 295
See Also ... 295
Location ... 297
Contents ... 297
See Also ... 297
NetworkResource ... 298
Contents ... 298
See Also ... 300
NetworkResourceCount ... 301
Contents ... 301
See Also ... 301
NetworkResourceSummary ... 302
Contents ... 302
See Also ... 303
NetworkRoute ... 304
Contents ... 304
See Also ... 304
NetworkRouteDestination ... 306
Contents ... 306
See Also ... 307
NetworkTelemetry ... 308
Contents ... 308
See Also ... 309
PathComponent ... 310
Contents ... 310
See Also ... 310
ProposedSegmentChange ... 311
Contents ... 311
See Also ... 311
Relationship ... 312
Contents ... 312
See Also ... 312
RouteAnalysis ... 313
Contents ... 313
See Also ... 314
RouteAnalysisCompletion ... 315
Contents ... 315
See Also ... 316
RouteAnalysisEndpointOptions ... 317
Contents ... 317
See Also ... 317
RouteAnalysisEndpointOptionsSpecification ... 318
Contents ... 318
See Also ... 318
RouteAnalysisPath ... 319
Contents ... 319
See Also ... 319
RouteTableIdentifier ... 320
Contents ... 320
See Also ... 320
Site ... 321
Contents ... 321
See Also ... 322
SiteToSiteVpnAttachment ... 323
Contents ... 323
See Also ... 323
Tag ... 324
Contents ... 324
See Also ... 324
TransitGatewayConnectPeerAssociation ... 325
Contents ... 325
See Also ... 326
TransitGatewayRegistration ... 327
Contents ... 327
See Also ... 327
TransitGatewayRegistrationStateReason ... 328
Contents ... 328
See Also ... 328
ValidationExceptionField ... 329
Contents ... 329
See Also ... 329
VpcAttachment ... 330
Contents ... 330
See Also ... 330
VpcOptions ... 331
Contents ... 331
See Also ... 331
Common Parameters ... 332
Common Errors ... 334
Welcome
Amazon Web Services enables you to centrally manage your AWS Cloud WAN core network and your Transit Gateway network across AWS accounts, Regions, and on-premises locations.
This document was last published on March 6, 2022.
Actions
The following actions are supported:
• AcceptAttachment (p. 4)
• AssociateConnectPeer (p. 7)
• AssociateCustomerGateway (p. 10)
• AssociateLink (p. 13)
• AssociateTransitGatewayConnectPeer (p. 16)
• CreateConnectAttachment (p. 19)
• CreateConnection (p. 23)
• CreateConnectPeer (p. 27)
• CreateCoreNetwork (p. 31)
• CreateDevice (p. 35)
• CreateGlobalNetwork (p. 40)
• CreateLink (p. 43)
• CreateSite (p. 47)
• CreateSiteToSiteVpnAttachment (p. 51)
• CreateVpcAttachment (p. 55)
• DeleteAttachment (p. 59)
• DeleteConnection (p. 62)
• DeleteConnectPeer (p. 65)
• DeleteCoreNetwork (p. 68)
• DeleteCoreNetworkPolicyVersion (p. 71)
• DeleteDevice (p. 74)
• DeleteGlobalNetwork (p. 77)
• DeleteLink (p. 80)
• DeleteResourcePolicy (p. 83)
• DeleteSite (p. 85)
• DeregisterTransitGateway (p. 88)
• DescribeGlobalNetworks (p. 91)
• DisassociateConnectPeer (p. 94)
• DisassociateCustomerGateway (p. 97)
• DisassociateLink (p. 100)
• DisassociateTransitGatewayConnectPeer (p. 103)
• ExecuteCoreNetworkChangeSet (p. 106)
• GetConnectAttachment (p. 108)
• GetConnections (p. 111)
• GetConnectPeer (p. 114)
• GetConnectPeerAssociations (p. 117)
• GetCoreNetwork (p. 120)
• GetCoreNetworkChangeSet (p. 123)
• GetCoreNetworkPolicy (p. 126)
• GetCustomerGatewayAssociations (p. 129)
• GetDevices (p. 132)
• GetLinkAssociations (p. 135)
• GetLinks (p. 138)
• GetNetworkResourceCounts (p. 141)
• GetNetworkResourceRelationships (p. 144)
• GetNetworkResources (p. 148)
• GetNetworkRoutes (p. 152)
• GetNetworkTelemetry (p. 157)
• GetResourcePolicy (p. 161)
• GetRouteAnalysis (p. 163)
• GetSites (p. 166)
• GetSiteToSiteVpnAttachment (p. 169)
• GetTransitGatewayConnectPeerAssociations (p. 172)
• GetTransitGatewayRegistrations (p. 175)
• GetVpcAttachment (p. 178)
• ListAttachments (p. 181)
• ListConnectPeers (p. 184)
• ListCoreNetworkPolicyVersions (p. 187)
• ListCoreNetworks (p. 190)
• ListTagsForResource (p. 193)
• PutCoreNetworkPolicy (p. 195)
• PutResourcePolicy (p. 198)
• RegisterTransitGateway (p. 200)
• RejectAttachment (p. 203)
• RestoreCoreNetworkPolicyVersion (p. 206)
• StartRouteAnalysis (p. 209)
• TagResource (p. 213)
• UntagResource (p. 216)
• UpdateConnection (p. 218)
• UpdateCoreNetwork (p. 221)
• UpdateDevice (p. 224)
• UpdateGlobalNetwork (p. 229)
• UpdateLink (p. 232)
• UpdateNetworkResourceMetadata (p. 236)
• UpdateSite (p. 239)
• UpdateVpcAttachment (p. 242)
AcceptAttachment
AcceptAttachment
Accepts a core network attachment request.
Once the attachment request is accepted by a core network owner, the attachment is created and connected to a core network.
Request Syntax
POST /attachments/attachmentId/accept HTTP/1.1
URI Request Parameters
The request uses the following URI parameters.
attachmentId (p. 4)
The ID of the attachment.
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: ^attachment-([0-9a-f]{8,17})$
Required: Yes
Request Body
The request does not have a request body.
Response Syntax
HTTP/1.1 200
Content-type: application/json { "Attachment": {
"AttachmentId": "string",
"AttachmentPolicyRuleNumber": number, "AttachmentType": "string",
"CoreNetworkArn": "string", "CoreNetworkId": "string", "CreatedAt": number, "EdgeLocation": "string", "OwnerAccountId": "string", "ProposedSegmentChange": {
"AttachmentPolicyRuleNumber": number, "SegmentName": "string",
"Tags": [ {
"Key": "string", "Value": "string"
} ] },
"ResourceArn": "string", "SegmentName": "string",
Response Elements
"State": "string", "Tags": [
{
"Key": "string", "Value": "string"
} ],
"UpdatedAt": number }
}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
Attachment (p. 4)
The response to the attachment request.
Type: Attachment (p. 248) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 334).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 403 ConflictException
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
HTTP Status Code: 409 InternalServerException
The request has failed due to an internal error.
HTTP Status Code: 500 ResourceNotFoundException
The specified resource could not be found.
HTTP Status Code: 404 ThrottlingException
The request was denied due to request throttling.
HTTP Status Code: 429 ValidationException
The input fails to satisfy the constraints.
HTTP Status Code: 400
See Also
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
AssociateConnectPeer
AssociateConnectPeer
Associates a core network Connect peer with a device and optionally, with a link.
If you specify a link, it must be associated with the specified device. You can only associate core network Connect peers that have been created on a core network Connect attachment on a core network.
Request Syntax
POST /global-networks/globalNetworkId/connect-peer-associations HTTP/1.1 Content-type: application/json
{
"ConnectPeerId": "string", "DeviceId": "string", "LinkId": "string"
}
URI Request Parameters
The request uses the following URI parameters.
globalNetworkId (p. 7)
The ID of your global network.
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: Yes
Request Body
The request accepts the following data in JSON format.
ConnectPeerId (p. 7)
The ID of the Connect peer.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: ^connect-peer-([0-9a-f]{8,17})$
Required: Yes DeviceId (p. 7)
The ID of the device.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Response Syntax
Required: Yes LinkId (p. 7)
The ID of the link.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json { "ConnectPeerAssociation": { "ConnectPeerId": "string", "DeviceId": "string", "GlobalNetworkId": "string", "LinkId": "string",
"State": "string"
}}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
ConnectPeerAssociation (p. 8)
The response to the Connect peer request.
Type: ConnectPeerAssociation (p. 262) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 334).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 403 ConflictException
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
HTTP Status Code: 409
See Also
InternalServerException
The request has failed due to an internal error.
HTTP Status Code: 500 ResourceNotFoundException
The specified resource could not be found.
HTTP Status Code: 404 ServiceQuotaExceededException
A service limit was exceeded.
HTTP Status Code: 402 ThrottlingException
The request was denied due to request throttling.
HTTP Status Code: 429 ValidationException
The input fails to satisfy the constraints.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
AssociateCustomerGateway
AssociateCustomerGateway
Associates a customer gateway with a device and optionally, with a link. If you specify a link, it must be associated with the specified device.
You can only associate customer gateways that are connected to a VPN attachment on a transit gateway or core network registered in your global network. When you register a transit gateway or core network, customer gateways that are connected to the transit gateway are automatically included in the global network. To list customer gateways that are connected to a transit gateway, use the DescribeVpnConnections EC2 API and filter by transit-gateway-id.
You cannot associate a customer gateway with more than one device and link.
Request Syntax
POST /global-networks/globalNetworkId/customer-gateway-associations HTTP/1.1 Content-type: application/json
{
"CustomerGatewayArn": "string", "DeviceId": "string",
"LinkId": "string"
}
URI Request Parameters
The request uses the following URI parameters.
globalNetworkId (p. 10)
The ID of the global network.
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: Yes
Request Body
The request accepts the following data in JSON format.
CustomerGatewayArn (p. 10)
The Amazon Resource Name (ARN) of the customer gateway.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 500.
Pattern: [\s\S]*
Required: Yes DeviceId (p. 10)
The ID of the device.
Response Syntax
Type: String
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: Yes LinkId (p. 10)
The ID of the link.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json { "CustomerGatewayAssociation": { "CustomerGatewayArn": "string", "DeviceId": "string",
"GlobalNetworkId": "string", "LinkId": "string",
"State": "string"
}}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
CustomerGatewayAssociation (p. 11)
The customer gateway association.
Type: CustomerGatewayAssociation (p. 285) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 334).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 403
See Also
ConflictException
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
HTTP Status Code: 409 InternalServerException
The request has failed due to an internal error.
HTTP Status Code: 500 ResourceNotFoundException
The specified resource could not be found.
HTTP Status Code: 404 ServiceQuotaExceededException
A service limit was exceeded.
HTTP Status Code: 402 ThrottlingException
The request was denied due to request throttling.
HTTP Status Code: 429 ValidationException
The input fails to satisfy the constraints.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
AssociateLink
AssociateLink
Associates a link to a device. A device can be associated to multiple links and a link can be associated to multiple devices. The device and link must be in the same global network and the same site.
Request Syntax
POST /global-networks/globalNetworkId/link-associations HTTP/1.1 Content-type: application/json
{ "DeviceId": "string", "LinkId": "string"
}
URI Request Parameters
The request uses the following URI parameters.
globalNetworkId (p. 13)
The ID of the global network.
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: Yes
Request Body
The request accepts the following data in JSON format.
DeviceId (p. 13)
The ID of the device.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: Yes LinkId (p. 13)
The ID of the link.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: Yes
Response Syntax
Response Syntax
HTTP/1.1 200
Content-type: application/json { "LinkAssociation": { "DeviceId": "string", "GlobalNetworkId": "string", "LinkAssociationState": "string", "LinkId": "string"
} }
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
LinkAssociation (p. 14) The link association.
Type: LinkAssociation (p. 295) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 334).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 403 ConflictException
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
HTTP Status Code: 409 InternalServerException
The request has failed due to an internal error.
HTTP Status Code: 500 ResourceNotFoundException
The specified resource could not be found.
HTTP Status Code: 404 ServiceQuotaExceededException
A service limit was exceeded.
HTTP Status Code: 402
See Also
ThrottlingException
The request was denied due to request throttling.
HTTP Status Code: 429 ValidationException
The input fails to satisfy the constraints.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
AssociateTransitGatewayConnectPeer
AssociateTransitGatewayConnectPeer
Associates a transit gateway Connect peer with a device, and optionally, with a link. If you specify a link, it must be associated with the specified device.
You can only associate transit gateway Connect peers that have been created on a transit gateway that's registered in your global network.
You cannot associate a transit gateway Connect peer with more than one device and link.
Request Syntax
POST /global-networks/globalNetworkId/transit-gateway-connect-peer-associations HTTP/1.1 Content-type: application/json
{ "DeviceId": "string", "LinkId": "string",
"TransitGatewayConnectPeerArn": "string"
}
URI Request Parameters
The request uses the following URI parameters.
globalNetworkId (p. 16)
The ID of the global network.
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: Yes
Request Body
The request accepts the following data in JSON format.
DeviceId (p. 16)
The ID of the device.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: Yes LinkId (p. 16)
The ID of the link.
Type: String
Response Syntax
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: No
TransitGatewayConnectPeerArn (p. 16)
The Amazon Resource Name (ARN) of the Connect peer.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 500.
Pattern: [\s\S]*
Required: Yes
Response Syntax
HTTP/1.1 200
Content-type: application/json
{ "TransitGatewayConnectPeerAssociation": { "DeviceId": "string",
"GlobalNetworkId": "string", "LinkId": "string",
"State": "string",
"TransitGatewayConnectPeerArn": "string"
}}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
TransitGatewayConnectPeerAssociation (p. 17) The transit gateway Connect peer association.
Type: TransitGatewayConnectPeerAssociation (p. 325) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 334).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 403 ConflictException
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
See Also
HTTP Status Code: 409 InternalServerException
The request has failed due to an internal error.
HTTP Status Code: 500 ResourceNotFoundException
The specified resource could not be found.
HTTP Status Code: 404 ServiceQuotaExceededException
A service limit was exceeded.
HTTP Status Code: 402 ThrottlingException
The request was denied due to request throttling.
HTTP Status Code: 429 ValidationException
The input fails to satisfy the constraints.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
CreateConnectAttachment
CreateConnectAttachment
Creates a core network Connect attachment from a specified core network attachment.
A core network Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a core network and an appliance. A core network Connect attachment uses an existing VPC attachment as the underlying transport mechanism.
Request Syntax
POST /connect-attachments HTTP/1.1 Content-type: application/json { "ClientToken": "string", "CoreNetworkId": "string", "EdgeLocation": "string", "Options": {
"Protocol": "string"
},
"Tags": [ {
"Key": "string", "Value": "string"
} ],
"TransportAttachmentId": "string"
}
URI Request Parameters
The request does not use any URI parameters.
Request Body
The request accepts the following data in JSON format.
ClientToken (p. 19)
The client token associated with the request.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 256.
Pattern: [\s\S]*
Required: No CoreNetworkId (p. 19)
The ID of a core network where you want to create the attachment.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: ^core-network-([0-9a-f]{8,17})$
Response Syntax
Required: Yes EdgeLocation (p. 19)
The Region where the edge is located.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 63.
Pattern: [\s\S]*
Required: Yes Options (p. 19)
Options for creating an attachment.
Type: ConnectAttachmentOptions (p. 255) object Required: Yes
Tags (p. 19)
The list of key-value tags associated with the request.
Type: Array of Tag (p. 324) objects Required: No
TransportAttachmentId (p. 19)
The ID of the attachment between the two connections.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: ^attachment-([0-9a-f]{8,17})$
Required: Yes
Response Syntax
HTTP/1.1 200
Content-type: application/json { "ConnectAttachment": { "Attachment": {
"AttachmentId": "string",
"AttachmentPolicyRuleNumber": number, "AttachmentType": "string",
"CoreNetworkArn": "string", "CoreNetworkId": "string", "CreatedAt": number, "EdgeLocation": "string", "OwnerAccountId": "string", "ProposedSegmentChange": {
"AttachmentPolicyRuleNumber": number, "SegmentName": "string",
"Tags": [ {
"Key": "string",
Response Elements
"Value": "string"
} ] },
"ResourceArn": "string", "SegmentName": "string", "State": "string", "Tags": [
{
"Key": "string", "Value": "string"
} ],
"UpdatedAt": number },
"Options": {
"Protocol": "string"
},
"TransportAttachmentId": "string"
}}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
ConnectAttachment (p. 20)
The response to a Connect attachment request.
Type: ConnectAttachment (p. 254) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 334).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 403 ConflictException
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
HTTP Status Code: 409 InternalServerException
The request has failed due to an internal error.
HTTP Status Code: 500 ResourceNotFoundException
The specified resource could not be found.
HTTP Status Code: 404
See Also
ThrottlingException
The request was denied due to request throttling.
HTTP Status Code: 429 ValidationException
The input fails to satisfy the constraints.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
CreateConnection
CreateConnection
Creates a connection between two devices. The devices can be a physical or virtual appliance that connects to a third-party appliance in a VPC, or a physical appliance that connects to another physical appliance in an on-premises network.
Request Syntax
POST /global-networks/globalNetworkId/connections HTTP/1.1 Content-type: application/json
{ "ConnectedDeviceId": "string", "ConnectedLinkId": "string", "Description": "string", "DeviceId": "string", "LinkId": "string", "Tags": [
{
"Key": "string", "Value": "string"
} ]}
URI Request Parameters
The request uses the following URI parameters.
globalNetworkId (p. 23)
The ID of the global network.
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: Yes
Request Body
The request accepts the following data in JSON format.
ConnectedDeviceId (p. 23)
The ID of the second device in the connection.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: Yes ConnectedLinkId (p. 23)
The ID of the link for the second device.
Response Syntax
Type: String
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: No Description (p. 23)
A description of the connection.
Length Constraints: Maximum length of 256 characters.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 256.
Pattern: [\s\S]*
Required: No DeviceId (p. 23)
The ID of the first device in the connection.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: Yes LinkId (p. 23)
The ID of the link for the first device.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: No Tags (p. 23)
The tags to apply to the resource during creation.
Type: Array of Tag (p. 324) objects Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json {
"Connection": {
"ConnectedDeviceId": "string",
Response Elements
"ConnectedLinkId": "string", "ConnectionArn": "string", "ConnectionId": "string", "CreatedAt": number, "Description": "string", "DeviceId": "string", "GlobalNetworkId": "string", "LinkId": "string",
"State": "string", "Tags": [
{
"Key": "string", "Value": "string"
} ] } }
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
Connection (p. 24)
Information about the connection.
Type: Connection (p. 256) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 334).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 403 ConflictException
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
HTTP Status Code: 409 InternalServerException
The request has failed due to an internal error.
HTTP Status Code: 500 ServiceQuotaExceededException
A service limit was exceeded.
HTTP Status Code: 402 ThrottlingException
The request was denied due to request throttling.
See Also
HTTP Status Code: 429 ValidationException
The input fails to satisfy the constraints.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
CreateConnectPeer
CreateConnectPeer
Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance. The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).
Request Syntax
POST /connect-peers HTTP/1.1 Content-type: application/json { "BgpOptions": {
"PeerAsn": number },
"ClientToken": "string",
"ConnectAttachmentId": "string", "CoreNetworkAddress": "string", "InsideCidrBlocks": [ "string" ], "PeerAddress": "string",
"Tags": [ {
"Key": "string", "Value": "string"
} ] }
URI Request Parameters
The request does not use any URI parameters.
Request Body
The request accepts the following data in JSON format.
BgpOptions (p. 27)
The Connect peer BGP options.
Type: BgpOptions (p. 253) object Required: No
ClientToken (p. 27)
The client token associated with the request.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 256.
Pattern: [\s\S]*
Required: No
ConnectAttachmentId (p. 27)
The ID of the connection attachment.
Response Syntax
Type: String
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: ^attachment-([0-9a-f]{8,17})$
Required: Yes
CoreNetworkAddress (p. 27)
A Connect peer core network address.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 50.
Pattern: [\s\S]*
Required: No InsideCidrBlocks (p. 27)
The inside IP addresses used for BGP peering.
Type: Array of strings
Length Constraints: Minimum length of 0. Maximum length of 256.
Pattern: [\s\S]*
Required: Yes PeerAddress (p. 27)
The Connect peer address.
Type: String
Length Constraints: Minimum length of 1. Maximum length of 50.
Pattern: [\s\S]*
Required: Yes Tags (p. 27)
The tags associated with the peer request.
Type: Array of Tag (p. 324) objects Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json { "ConnectPeer": {
"Configuration": { "BgpConfigurations": [ {
"CoreNetworkAddress": "string", "CoreNetworkAsn": number,
Response Elements
"PeerAddress": "string", "PeerAsn": number }
],
"CoreNetworkAddress": "string", "InsideCidrBlocks": [ "string" ], "PeerAddress": "string",
"Protocol": "string"
},
"ConnectAttachmentId": "string", "ConnectPeerId": "string", "CoreNetworkId": "string", "CreatedAt": number, "EdgeLocation": "string", "State": "string",
"Tags": [ {
"Key": "string", "Value": "string"
} ] }}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
ConnectPeer (p. 28)
The response to the request.
Type: ConnectPeer (p. 260) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 334).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 403 ConflictException
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
HTTP Status Code: 409 InternalServerException
The request has failed due to an internal error.
HTTP Status Code: 500 ResourceNotFoundException
The specified resource could not be found.
See Also
HTTP Status Code: 404 ThrottlingException
The request was denied due to request throttling.
HTTP Status Code: 429 ValidationException
The input fails to satisfy the constraints.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
CreateCoreNetwork
CreateCoreNetwork
Creates a core network as part of your global network, and optionally, with a core network policy.
Request Syntax
POST /core-networks HTTP/1.1 Content-type: application/json { "ClientToken": "string", "Description": "string", "GlobalNetworkId": "string", "PolicyDocument": "string", "Tags": [
{
"Key": "string", "Value": "string"
} ]}
URI Request Parameters
The request does not use any URI parameters.
Request Body
The request accepts the following data in JSON format.
ClientToken (p. 31)
The client token associated with a core network request.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 256.
Pattern: [\s\S]*
Required: No Description (p. 31)
The description of a core network.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 256.
Pattern: [\s\S]*
Required: No GlobalNetworkId (p. 31)
The ID of the global network that a core network will be a part of.
Response Syntax
Type: String
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: Yes PolicyDocument (p. 31)
The policy document for creating a core network.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 10000000.
Pattern: [\s\S]*
Required: No Tags (p. 31)
Key-value tags associated with a core network request.
Type: Array of Tag (p. 324) objects Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json { "CoreNetwork": {
"CoreNetworkArn": "string", "CoreNetworkId": "string", "CreatedAt": number, "Description": "string", "Edges": [
{
"Asn": number,
"EdgeLocation": "string", "InsideCidrBlocks": [ "string" ] }
],
"GlobalNetworkId": "string", "Segments": [
{
"EdgeLocations": [ "string" ], "Name": "string",
"SharedSegments": [ "string" ] }
],
"State": "string", "Tags": [
{
"Key": "string", "Value": "string"
} ] }}
Response Elements
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
CoreNetwork (p. 32)
Returns details about a core network.
Type: CoreNetwork (p. 269) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 334).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 403 ConflictException
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
HTTP Status Code: 409 CoreNetworkPolicyException
Describes a core network policy exception.
HTTP Status Code: 400 InternalServerException
The request has failed due to an internal error.
HTTP Status Code: 500 ServiceQuotaExceededException
A service limit was exceeded.
HTTP Status Code: 402 ThrottlingException
The request was denied due to request throttling.
HTTP Status Code: 429 ValidationException
The input fails to satisfy the constraints.
HTTP Status Code: 400
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
See Also
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3
CreateDevice
CreateDevice
Creates a new device in a global network. If you specify both a site ID and a location, the location of the site is used for visualization in the Network Manager console.
Request Syntax
POST /global-networks/globalNetworkId/devices HTTP/1.1 Content-type: application/json
{ "AWSLocation": {
"SubnetArn": "string", "Zone": "string"
},
"Description": "string", "Location": {
"Address": "string", "Latitude": "string", "Longitude": "string"
},
"Model": "string", "SerialNumber": "string", "SiteId": "string", "Tags": [
{
"Key": "string", "Value": "string"
} ],
"Type": "string", "Vendor": "string"
}
URI Request Parameters
The request uses the following URI parameters.
globalNetworkId (p. 35)
The ID of the global network.
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: Yes
Request Body
The request accepts the following data in JSON format.
AWSLocation (p. 35)
The AWS location of the device, if applicable. For an on-premises device, you can omit this parameter.
Type: AWSLocation (p. 251) object
Request Body
Required: No Description (p. 35)
A description of the device.
Constraints: Maximum length of 256 characters.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 256.
Pattern: [\s\S]*
Required: No Location (p. 35)
The location of the device.
Type: Location (p. 297) object Required: No
Model (p. 35)
The model of the device.
Constraints: Maximum length of 128 characters.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 256.
Pattern: [\s\S]*
Required: No SerialNumber (p. 35)
The serial number of the device.
Constraints: Maximum length of 128 characters.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 256.
Pattern: [\s\S]*
Required: No SiteId (p. 35)
The ID of the site.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 50.
Pattern: [\s\S]*
Required: No Tags (p. 35)
The tags to apply to the resource during creation.
Response Syntax
Type: Array of Tag (p. 324) objects Required: No
Type (p. 35)
The type of the device.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 256.
Pattern: [\s\S]*
Required: No Vendor (p. 35)
The vendor of the device.
Constraints: Maximum length of 128 characters.
Type: String
Length Constraints: Minimum length of 0. Maximum length of 256.
Pattern: [\s\S]*
Required: No
Response Syntax
HTTP/1.1 200
Content-type: application/json { "Device": {
"AWSLocation": {
"SubnetArn": "string", "Zone": "string"
},
"CreatedAt": number, "Description": "string", "DeviceArn": "string", "DeviceId": "string", "GlobalNetworkId": "string", "Location": {
"Address": "string", "Latitude": "string", "Longitude": "string"
},
"Model": "string",
"SerialNumber": "string", "SiteId": "string", "State": "string", "Tags": [
{
"Key": "string", "Value": "string"
} ],
"Type": "string",
Response Elements
"Vendor": "string"
}}
Response Elements
If the action is successful, the service sends back an HTTP 200 response.
The following data is returned in JSON format by the service.
Device (p. 37)
Information about the device.
Type: Device (p. 287) object
Errors
For information about the errors that are common to all actions, see Common Errors (p. 334).
AccessDeniedException
You do not have sufficient access to perform this action.
HTTP Status Code: 403 ConflictException
There was a conflict processing the request. Updating or deleting the resource can cause an inconsistent state.
HTTP Status Code: 409 InternalServerException
The request has failed due to an internal error.
HTTP Status Code: 500 ResourceNotFoundException
The specified resource could not be found.
HTTP Status Code: 404 ServiceQuotaExceededException
A service limit was exceeded.
HTTP Status Code: 402 ThrottlingException
The request was denied due to request throttling.
HTTP Status Code: 429 ValidationException
The input fails to satisfy the constraints.
HTTP Status Code: 400
See Also
See Also
For more information about using this API in one of the language-specific AWS SDKs, see the following:
• AWS Command Line Interface
• AWS SDK for .NET
• AWS SDK for C++
• AWS SDK for Go
• AWS SDK for Java V2
• AWS SDK for JavaScript
• AWS SDK for PHP V3
• AWS SDK for Python
• AWS SDK for Ruby V3