@aws-sdk/client-networkmanager 3.39.0 → 3.43.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -0
- package/README.md +1 -2
- package/dist-cjs/NetworkManager.js +120 -0
- package/dist-cjs/commands/GetNetworkResourceCountsCommand.js +36 -0
- package/dist-cjs/commands/GetNetworkResourceRelationshipsCommand.js +36 -0
- package/dist-cjs/commands/GetNetworkResourcesCommand.js +36 -0
- package/dist-cjs/commands/GetNetworkRoutesCommand.js +36 -0
- package/dist-cjs/commands/GetNetworkTelemetryCommand.js +36 -0
- package/dist-cjs/commands/GetRouteAnalysisCommand.js +36 -0
- package/dist-cjs/commands/StartRouteAnalysisCommand.js +36 -0
- package/dist-cjs/commands/UpdateNetworkResourceMetadataCommand.js +36 -0
- package/dist-cjs/commands/index.js +8 -0
- package/dist-cjs/endpoints.js +98 -7
- package/dist-cjs/models/models_0.js +238 -3
- package/dist-cjs/pagination/GetNetworkResourceCountsPaginator.js +35 -0
- package/dist-cjs/pagination/GetNetworkResourceRelationshipsPaginator.js +35 -0
- package/dist-cjs/pagination/GetNetworkResourcesPaginator.js +35 -0
- package/dist-cjs/pagination/GetNetworkTelemetryPaginator.js +35 -0
- package/dist-cjs/pagination/index.js +5 -1
- package/dist-cjs/protocols/Aws_restJson1.js +1352 -15
- package/dist-cjs/runtimeConfig.browser.js +6 -3
- package/dist-cjs/runtimeConfig.js +5 -3
- package/dist-es/NetworkManager.js +120 -0
- package/dist-es/commands/GetNetworkResourceCountsCommand.js +39 -0
- package/dist-es/commands/GetNetworkResourceRelationshipsCommand.js +39 -0
- package/dist-es/commands/GetNetworkResourcesCommand.js +39 -0
- package/dist-es/commands/GetNetworkRoutesCommand.js +39 -0
- package/dist-es/commands/GetNetworkTelemetryCommand.js +39 -0
- package/dist-es/commands/GetRouteAnalysisCommand.js +39 -0
- package/dist-es/commands/StartRouteAnalysisCommand.js +39 -0
- package/dist-es/commands/UpdateNetworkResourceMetadataCommand.js +39 -0
- package/dist-es/commands/index.js +8 -0
- package/dist-es/endpoints.js +98 -7
- package/dist-es/models/models_0.js +173 -0
- package/dist-es/pagination/GetNetworkResourceCountsPaginator.js +74 -0
- package/dist-es/pagination/GetNetworkResourceRelationshipsPaginator.js +74 -0
- package/dist-es/pagination/GetNetworkResourcesPaginator.js +74 -0
- package/dist-es/pagination/GetNetworkTelemetryPaginator.js +74 -0
- package/dist-es/pagination/index.js +5 -1
- package/dist-es/protocols/Aws_restJson1.js +1576 -142
- package/dist-es/runtimeConfig.browser.js +3 -2
- package/dist-es/runtimeConfig.js +3 -3
- package/dist-types/NetworkManager.d.ts +61 -4
- package/dist-types/NetworkManagerClient.d.ts +19 -4
- package/dist-types/commands/AssociateCustomerGatewayCommand.d.ts +1 -1
- package/dist-types/commands/AssociateLinkCommand.d.ts +1 -1
- package/dist-types/commands/AssociateTransitGatewayConnectPeerCommand.d.ts +1 -1
- package/dist-types/commands/CreateConnectionCommand.d.ts +1 -1
- package/dist-types/commands/CreateDeviceCommand.d.ts +1 -1
- package/dist-types/commands/CreateGlobalNetworkCommand.d.ts +1 -1
- package/dist-types/commands/CreateLinkCommand.d.ts +1 -1
- package/dist-types/commands/CreateSiteCommand.d.ts +1 -1
- package/dist-types/commands/DeleteConnectionCommand.d.ts +1 -1
- package/dist-types/commands/DeleteDeviceCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGlobalNetworkCommand.d.ts +1 -1
- package/dist-types/commands/DeleteLinkCommand.d.ts +1 -1
- package/dist-types/commands/DeleteSiteCommand.d.ts +1 -1
- package/dist-types/commands/DeregisterTransitGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DescribeGlobalNetworksCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateCustomerGatewayCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateLinkCommand.d.ts +1 -1
- package/dist-types/commands/DisassociateTransitGatewayConnectPeerCommand.d.ts +1 -1
- package/dist-types/commands/GetConnectionsCommand.d.ts +1 -1
- package/dist-types/commands/GetCustomerGatewayAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetDevicesCommand.d.ts +1 -1
- package/dist-types/commands/GetLinkAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetLinksCommand.d.ts +1 -1
- package/dist-types/commands/GetNetworkResourceCountsCommand.d.ts +35 -0
- package/dist-types/commands/GetNetworkResourceRelationshipsCommand.d.ts +35 -0
- package/dist-types/commands/GetNetworkResourcesCommand.d.ts +36 -0
- package/dist-types/commands/GetNetworkRoutesCommand.d.ts +35 -0
- package/dist-types/commands/GetNetworkTelemetryCommand.d.ts +35 -0
- package/dist-types/commands/GetRouteAnalysisCommand.d.ts +35 -0
- package/dist-types/commands/GetSitesCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayConnectPeerAssociationsCommand.d.ts +1 -1
- package/dist-types/commands/GetTransitGatewayRegistrationsCommand.d.ts +1 -1
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +1 -1
- package/dist-types/commands/RegisterTransitGatewayCommand.d.ts +3 -3
- package/dist-types/commands/StartRouteAnalysisCommand.d.ts +36 -0
- package/dist-types/commands/TagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UntagResourceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateConnectionCommand.d.ts +1 -1
- package/dist-types/commands/UpdateDeviceCommand.d.ts +1 -1
- package/dist-types/commands/UpdateGlobalNetworkCommand.d.ts +1 -1
- package/dist-types/commands/UpdateLinkCommand.d.ts +1 -1
- package/dist-types/commands/UpdateNetworkResourceMetadataCommand.d.ts +35 -0
- package/dist-types/commands/UpdateSiteCommand.d.ts +1 -1
- package/dist-types/commands/index.d.ts +8 -0
- package/dist-types/models/models_0.d.ts +1412 -137
- package/dist-types/pagination/GetNetworkResourceCountsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetNetworkResourceRelationshipsPaginator.d.ts +4 -0
- package/dist-types/pagination/GetNetworkResourcesPaginator.d.ts +4 -0
- package/dist-types/pagination/GetNetworkTelemetryPaginator.d.ts +4 -0
- package/dist-types/pagination/index.d.ts +5 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +24 -0
- package/dist-types/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/runtimeConfig.d.ts +2 -0
- package/dist-types/runtimeConfig.native.d.ts +2 -0
- package/dist-types/ts3.4/NetworkManager.d.ts +40 -0
- package/dist-types/ts3.4/NetworkManagerClient.d.ts +14 -2
- package/dist-types/ts3.4/commands/GetNetworkResourceCountsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetNetworkResourceRelationshipsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetNetworkResourcesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetNetworkRoutesCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetNetworkTelemetryCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/GetRouteAnalysisCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/StartRouteAnalysisCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateNetworkResourceMetadataCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +8 -0
- package/dist-types/ts3.4/models/models_0.d.ts +511 -0
- package/dist-types/ts3.4/pagination/GetNetworkResourceCountsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetNetworkResourceRelationshipsPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetNetworkResourcesPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/GetNetworkTelemetryPaginator.d.ts +4 -0
- package/dist-types/ts3.4/pagination/index.d.ts +5 -1
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +24 -0
- package/dist-types/ts3.4/runtimeConfig.browser.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.d.ts +2 -0
- package/dist-types/ts3.4/runtimeConfig.native.d.ts +2 -0
- package/package.json +23 -23
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,45 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [3.43.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.42.0...v3.43.0) (2021-11-29)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @aws-sdk/client-networkmanager
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [3.42.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.41.0...v3.42.0) (2021-11-19)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @aws-sdk/client-networkmanager
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [3.41.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.40.1...v3.41.0) (2021-11-11)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Features
|
|
26
|
+
|
|
27
|
+
* **clients:** update clients as of 2021/11/11 ([#3015](https://github.com/aws/aws-sdk-js-v3/issues/3015)) ([3d82c4e](https://github.com/aws/aws-sdk-js-v3/commit/3d82c4e3c4d174533f46ce35495cf5cffabdb35a))
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
# [3.40.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.39.0...v3.40.0) (2021-11-05)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Features
|
|
37
|
+
|
|
38
|
+
* **clients:** populate variants in endpoints hashes ([#2974](https://github.com/aws/aws-sdk-js-v3/issues/2974)) ([0dd68ef](https://github.com/aws/aws-sdk-js-v3/commit/0dd68ef8b04ea0e96e43b05a9a10221e433fdf86))
|
|
39
|
+
* **clients:** update clients as of 2021/11/05 ([#2994](https://github.com/aws/aws-sdk-js-v3/issues/2994)) ([f5ecc31](https://github.com/aws/aws-sdk-js-v3/commit/f5ecc3147035a1f3d2d74cfed147999927ea8256))
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
6
45
|
# [3.39.0](https://github.com/aws/aws-sdk-js-v3/compare/v3.38.0...v3.39.0) (2021-10-29)
|
|
7
46
|
|
|
8
47
|
**Note:** Version bump only for package @aws-sdk/client-networkmanager
|
package/README.md
CHANGED
|
@@ -8,8 +8,7 @@
|
|
|
8
8
|
AWS SDK for JavaScript NetworkManager Client for Node.js, Browser and React Native.
|
|
9
9
|
|
|
10
10
|
<p>Transit Gateway Network Manager (Network Manager) enables you to create a global network, in which you can monitor your
|
|
11
|
-
|
|
12
|
-
<p>The Network Manager APIs are supported in the US West (Oregon) Region only. You must specify the <code>us-west-2</code> Region in all requests made to Network Manager.</p>
|
|
11
|
+
Amazon Web Services and on-premises networks that are built around transit gateways.</p>
|
|
13
12
|
|
|
14
13
|
## Installing
|
|
15
14
|
|
|
@@ -24,17 +24,25 @@ const GetCustomerGatewayAssociationsCommand_1 = require("./commands/GetCustomerG
|
|
|
24
24
|
const GetDevicesCommand_1 = require("./commands/GetDevicesCommand");
|
|
25
25
|
const GetLinkAssociationsCommand_1 = require("./commands/GetLinkAssociationsCommand");
|
|
26
26
|
const GetLinksCommand_1 = require("./commands/GetLinksCommand");
|
|
27
|
+
const GetNetworkResourceCountsCommand_1 = require("./commands/GetNetworkResourceCountsCommand");
|
|
28
|
+
const GetNetworkResourceRelationshipsCommand_1 = require("./commands/GetNetworkResourceRelationshipsCommand");
|
|
29
|
+
const GetNetworkResourcesCommand_1 = require("./commands/GetNetworkResourcesCommand");
|
|
30
|
+
const GetNetworkRoutesCommand_1 = require("./commands/GetNetworkRoutesCommand");
|
|
31
|
+
const GetNetworkTelemetryCommand_1 = require("./commands/GetNetworkTelemetryCommand");
|
|
32
|
+
const GetRouteAnalysisCommand_1 = require("./commands/GetRouteAnalysisCommand");
|
|
27
33
|
const GetSitesCommand_1 = require("./commands/GetSitesCommand");
|
|
28
34
|
const GetTransitGatewayConnectPeerAssociationsCommand_1 = require("./commands/GetTransitGatewayConnectPeerAssociationsCommand");
|
|
29
35
|
const GetTransitGatewayRegistrationsCommand_1 = require("./commands/GetTransitGatewayRegistrationsCommand");
|
|
30
36
|
const ListTagsForResourceCommand_1 = require("./commands/ListTagsForResourceCommand");
|
|
31
37
|
const RegisterTransitGatewayCommand_1 = require("./commands/RegisterTransitGatewayCommand");
|
|
38
|
+
const StartRouteAnalysisCommand_1 = require("./commands/StartRouteAnalysisCommand");
|
|
32
39
|
const TagResourceCommand_1 = require("./commands/TagResourceCommand");
|
|
33
40
|
const UntagResourceCommand_1 = require("./commands/UntagResourceCommand");
|
|
34
41
|
const UpdateConnectionCommand_1 = require("./commands/UpdateConnectionCommand");
|
|
35
42
|
const UpdateDeviceCommand_1 = require("./commands/UpdateDeviceCommand");
|
|
36
43
|
const UpdateGlobalNetworkCommand_1 = require("./commands/UpdateGlobalNetworkCommand");
|
|
37
44
|
const UpdateLinkCommand_1 = require("./commands/UpdateLinkCommand");
|
|
45
|
+
const UpdateNetworkResourceMetadataCommand_1 = require("./commands/UpdateNetworkResourceMetadataCommand");
|
|
38
46
|
const UpdateSiteCommand_1 = require("./commands/UpdateSiteCommand");
|
|
39
47
|
const NetworkManagerClient_1 = require("./NetworkManagerClient");
|
|
40
48
|
class NetworkManager extends NetworkManagerClient_1.NetworkManagerClient {
|
|
@@ -360,6 +368,90 @@ class NetworkManager extends NetworkManagerClient_1.NetworkManagerClient {
|
|
|
360
368
|
return this.send(command, optionsOrCb);
|
|
361
369
|
}
|
|
362
370
|
}
|
|
371
|
+
getNetworkResourceCounts(args, optionsOrCb, cb) {
|
|
372
|
+
const command = new GetNetworkResourceCountsCommand_1.GetNetworkResourceCountsCommand(args);
|
|
373
|
+
if (typeof optionsOrCb === "function") {
|
|
374
|
+
this.send(command, optionsOrCb);
|
|
375
|
+
}
|
|
376
|
+
else if (typeof cb === "function") {
|
|
377
|
+
if (typeof optionsOrCb !== "object")
|
|
378
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
379
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
380
|
+
}
|
|
381
|
+
else {
|
|
382
|
+
return this.send(command, optionsOrCb);
|
|
383
|
+
}
|
|
384
|
+
}
|
|
385
|
+
getNetworkResourceRelationships(args, optionsOrCb, cb) {
|
|
386
|
+
const command = new GetNetworkResourceRelationshipsCommand_1.GetNetworkResourceRelationshipsCommand(args);
|
|
387
|
+
if (typeof optionsOrCb === "function") {
|
|
388
|
+
this.send(command, optionsOrCb);
|
|
389
|
+
}
|
|
390
|
+
else if (typeof cb === "function") {
|
|
391
|
+
if (typeof optionsOrCb !== "object")
|
|
392
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
393
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
394
|
+
}
|
|
395
|
+
else {
|
|
396
|
+
return this.send(command, optionsOrCb);
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
getNetworkResources(args, optionsOrCb, cb) {
|
|
400
|
+
const command = new GetNetworkResourcesCommand_1.GetNetworkResourcesCommand(args);
|
|
401
|
+
if (typeof optionsOrCb === "function") {
|
|
402
|
+
this.send(command, optionsOrCb);
|
|
403
|
+
}
|
|
404
|
+
else if (typeof cb === "function") {
|
|
405
|
+
if (typeof optionsOrCb !== "object")
|
|
406
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
407
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
408
|
+
}
|
|
409
|
+
else {
|
|
410
|
+
return this.send(command, optionsOrCb);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
getNetworkRoutes(args, optionsOrCb, cb) {
|
|
414
|
+
const command = new GetNetworkRoutesCommand_1.GetNetworkRoutesCommand(args);
|
|
415
|
+
if (typeof optionsOrCb === "function") {
|
|
416
|
+
this.send(command, optionsOrCb);
|
|
417
|
+
}
|
|
418
|
+
else if (typeof cb === "function") {
|
|
419
|
+
if (typeof optionsOrCb !== "object")
|
|
420
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
421
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
422
|
+
}
|
|
423
|
+
else {
|
|
424
|
+
return this.send(command, optionsOrCb);
|
|
425
|
+
}
|
|
426
|
+
}
|
|
427
|
+
getNetworkTelemetry(args, optionsOrCb, cb) {
|
|
428
|
+
const command = new GetNetworkTelemetryCommand_1.GetNetworkTelemetryCommand(args);
|
|
429
|
+
if (typeof optionsOrCb === "function") {
|
|
430
|
+
this.send(command, optionsOrCb);
|
|
431
|
+
}
|
|
432
|
+
else if (typeof cb === "function") {
|
|
433
|
+
if (typeof optionsOrCb !== "object")
|
|
434
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
435
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
436
|
+
}
|
|
437
|
+
else {
|
|
438
|
+
return this.send(command, optionsOrCb);
|
|
439
|
+
}
|
|
440
|
+
}
|
|
441
|
+
getRouteAnalysis(args, optionsOrCb, cb) {
|
|
442
|
+
const command = new GetRouteAnalysisCommand_1.GetRouteAnalysisCommand(args);
|
|
443
|
+
if (typeof optionsOrCb === "function") {
|
|
444
|
+
this.send(command, optionsOrCb);
|
|
445
|
+
}
|
|
446
|
+
else if (typeof cb === "function") {
|
|
447
|
+
if (typeof optionsOrCb !== "object")
|
|
448
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
449
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
450
|
+
}
|
|
451
|
+
else {
|
|
452
|
+
return this.send(command, optionsOrCb);
|
|
453
|
+
}
|
|
454
|
+
}
|
|
363
455
|
getSites(args, optionsOrCb, cb) {
|
|
364
456
|
const command = new GetSitesCommand_1.GetSitesCommand(args);
|
|
365
457
|
if (typeof optionsOrCb === "function") {
|
|
@@ -430,6 +522,20 @@ class NetworkManager extends NetworkManagerClient_1.NetworkManagerClient {
|
|
|
430
522
|
return this.send(command, optionsOrCb);
|
|
431
523
|
}
|
|
432
524
|
}
|
|
525
|
+
startRouteAnalysis(args, optionsOrCb, cb) {
|
|
526
|
+
const command = new StartRouteAnalysisCommand_1.StartRouteAnalysisCommand(args);
|
|
527
|
+
if (typeof optionsOrCb === "function") {
|
|
528
|
+
this.send(command, optionsOrCb);
|
|
529
|
+
}
|
|
530
|
+
else if (typeof cb === "function") {
|
|
531
|
+
if (typeof optionsOrCb !== "object")
|
|
532
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
533
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
534
|
+
}
|
|
535
|
+
else {
|
|
536
|
+
return this.send(command, optionsOrCb);
|
|
537
|
+
}
|
|
538
|
+
}
|
|
433
539
|
tagResource(args, optionsOrCb, cb) {
|
|
434
540
|
const command = new TagResourceCommand_1.TagResourceCommand(args);
|
|
435
541
|
if (typeof optionsOrCb === "function") {
|
|
@@ -514,6 +620,20 @@ class NetworkManager extends NetworkManagerClient_1.NetworkManagerClient {
|
|
|
514
620
|
return this.send(command, optionsOrCb);
|
|
515
621
|
}
|
|
516
622
|
}
|
|
623
|
+
updateNetworkResourceMetadata(args, optionsOrCb, cb) {
|
|
624
|
+
const command = new UpdateNetworkResourceMetadataCommand_1.UpdateNetworkResourceMetadataCommand(args);
|
|
625
|
+
if (typeof optionsOrCb === "function") {
|
|
626
|
+
this.send(command, optionsOrCb);
|
|
627
|
+
}
|
|
628
|
+
else if (typeof cb === "function") {
|
|
629
|
+
if (typeof optionsOrCb !== "object")
|
|
630
|
+
throw new Error(`Expect http options but get ${typeof optionsOrCb}`);
|
|
631
|
+
this.send(command, optionsOrCb || {}, cb);
|
|
632
|
+
}
|
|
633
|
+
else {
|
|
634
|
+
return this.send(command, optionsOrCb);
|
|
635
|
+
}
|
|
636
|
+
}
|
|
517
637
|
updateSite(args, optionsOrCb, cb) {
|
|
518
638
|
const command = new UpdateSiteCommand_1.UpdateSiteCommand(args);
|
|
519
639
|
if (typeof optionsOrCb === "function") {
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetNetworkResourceCountsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetNetworkResourceCountsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "GetNetworkResourceCountsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetNetworkResourceCountsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetNetworkResourceCountsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1GetNetworkResourceCountsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetNetworkResourceCountsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetNetworkResourceCountsCommand = GetNetworkResourceCountsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetNetworkResourceRelationshipsCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetNetworkResourceRelationshipsCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "GetNetworkResourceRelationshipsCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetNetworkResourceRelationshipsRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetNetworkResourceRelationshipsResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1GetNetworkResourceRelationshipsCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetNetworkResourceRelationshipsCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetNetworkResourceRelationshipsCommand = GetNetworkResourceRelationshipsCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetNetworkResourcesCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetNetworkResourcesCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "GetNetworkResourcesCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetNetworkResourcesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetNetworkResourcesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1GetNetworkResourcesCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetNetworkResourcesCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetNetworkResourcesCommand = GetNetworkResourcesCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetNetworkRoutesCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetNetworkRoutesCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "GetNetworkRoutesCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetNetworkRoutesRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetNetworkRoutesResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1GetNetworkRoutesCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetNetworkRoutesCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetNetworkRoutesCommand = GetNetworkRoutesCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetNetworkTelemetryCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetNetworkTelemetryCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "GetNetworkTelemetryCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetNetworkTelemetryRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetNetworkTelemetryResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1GetNetworkTelemetryCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetNetworkTelemetryCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetNetworkTelemetryCommand = GetNetworkTelemetryCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.GetRouteAnalysisCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class GetRouteAnalysisCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "GetRouteAnalysisCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.GetRouteAnalysisRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.GetRouteAnalysisResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1GetRouteAnalysisCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1GetRouteAnalysisCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.GetRouteAnalysisCommand = GetRouteAnalysisCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StartRouteAnalysisCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class StartRouteAnalysisCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "StartRouteAnalysisCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.StartRouteAnalysisRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.StartRouteAnalysisResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1StartRouteAnalysisCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1StartRouteAnalysisCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.StartRouteAnalysisCommand = StartRouteAnalysisCommand;
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UpdateNetworkResourceMetadataCommand = void 0;
|
|
4
|
+
const middleware_serde_1 = require("@aws-sdk/middleware-serde");
|
|
5
|
+
const smithy_client_1 = require("@aws-sdk/smithy-client");
|
|
6
|
+
const models_0_1 = require("../models/models_0");
|
|
7
|
+
const Aws_restJson1_1 = require("../protocols/Aws_restJson1");
|
|
8
|
+
class UpdateNetworkResourceMetadataCommand extends smithy_client_1.Command {
|
|
9
|
+
constructor(input) {
|
|
10
|
+
super();
|
|
11
|
+
this.input = input;
|
|
12
|
+
}
|
|
13
|
+
resolveMiddleware(clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(middleware_serde_1.getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
const stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
const { logger } = configuration;
|
|
17
|
+
const clientName = "NetworkManagerClient";
|
|
18
|
+
const commandName = "UpdateNetworkResourceMetadataCommand";
|
|
19
|
+
const handlerExecutionContext = {
|
|
20
|
+
logger,
|
|
21
|
+
clientName,
|
|
22
|
+
commandName,
|
|
23
|
+
inputFilterSensitiveLog: models_0_1.UpdateNetworkResourceMetadataRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: models_0_1.UpdateNetworkResourceMetadataResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
const { requestHandler } = configuration;
|
|
27
|
+
return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
|
|
28
|
+
}
|
|
29
|
+
serialize(input, context) {
|
|
30
|
+
return Aws_restJson1_1.serializeAws_restJson1UpdateNetworkResourceMetadataCommand(input, context);
|
|
31
|
+
}
|
|
32
|
+
deserialize(output, context) {
|
|
33
|
+
return Aws_restJson1_1.deserializeAws_restJson1UpdateNetworkResourceMetadataCommand(output, context);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
exports.UpdateNetworkResourceMetadataCommand = UpdateNetworkResourceMetadataCommand;
|
|
@@ -24,15 +24,23 @@ tslib_1.__exportStar(require("./GetCustomerGatewayAssociationsCommand"), exports
|
|
|
24
24
|
tslib_1.__exportStar(require("./GetDevicesCommand"), exports);
|
|
25
25
|
tslib_1.__exportStar(require("./GetLinkAssociationsCommand"), exports);
|
|
26
26
|
tslib_1.__exportStar(require("./GetLinksCommand"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./GetNetworkResourceCountsCommand"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./GetNetworkResourceRelationshipsCommand"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./GetNetworkResourcesCommand"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./GetNetworkRoutesCommand"), exports);
|
|
31
|
+
tslib_1.__exportStar(require("./GetNetworkTelemetryCommand"), exports);
|
|
32
|
+
tslib_1.__exportStar(require("./GetRouteAnalysisCommand"), exports);
|
|
27
33
|
tslib_1.__exportStar(require("./GetSitesCommand"), exports);
|
|
28
34
|
tslib_1.__exportStar(require("./GetTransitGatewayConnectPeerAssociationsCommand"), exports);
|
|
29
35
|
tslib_1.__exportStar(require("./GetTransitGatewayRegistrationsCommand"), exports);
|
|
30
36
|
tslib_1.__exportStar(require("./ListTagsForResourceCommand"), exports);
|
|
31
37
|
tslib_1.__exportStar(require("./RegisterTransitGatewayCommand"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./StartRouteAnalysisCommand"), exports);
|
|
32
39
|
tslib_1.__exportStar(require("./TagResourceCommand"), exports);
|
|
33
40
|
tslib_1.__exportStar(require("./UntagResourceCommand"), exports);
|
|
34
41
|
tslib_1.__exportStar(require("./UpdateConnectionCommand"), exports);
|
|
35
42
|
tslib_1.__exportStar(require("./UpdateDeviceCommand"), exports);
|
|
36
43
|
tslib_1.__exportStar(require("./UpdateGlobalNetworkCommand"), exports);
|
|
37
44
|
tslib_1.__exportStar(require("./UpdateLinkCommand"), exports);
|
|
45
|
+
tslib_1.__exportStar(require("./UpdateNetworkResourceMetadataCommand"), exports);
|
|
38
46
|
tslib_1.__exportStar(require("./UpdateSiteCommand"), exports);
|