@aws-sdk/client-networkmanager 3.282.0 → 3.288.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/dist-cjs/endpoint/ruleset.js +3 -3
- package/dist-cjs/pagination/DescribeGlobalNetworksPaginator.js +1 -8
- package/dist-cjs/pagination/GetConnectPeerAssociationsPaginator.js +1 -8
- package/dist-cjs/pagination/GetConnectionsPaginator.js +1 -8
- package/dist-cjs/pagination/GetCoreNetworkChangeEventsPaginator.js +1 -8
- package/dist-cjs/pagination/GetCoreNetworkChangeSetPaginator.js +1 -8
- package/dist-cjs/pagination/GetCustomerGatewayAssociationsPaginator.js +1 -8
- package/dist-cjs/pagination/GetDevicesPaginator.js +1 -8
- package/dist-cjs/pagination/GetLinkAssociationsPaginator.js +1 -8
- package/dist-cjs/pagination/GetLinksPaginator.js +1 -8
- package/dist-cjs/pagination/GetNetworkResourceCountsPaginator.js +1 -8
- package/dist-cjs/pagination/GetNetworkResourceRelationshipsPaginator.js +1 -8
- package/dist-cjs/pagination/GetNetworkResourcesPaginator.js +1 -8
- package/dist-cjs/pagination/GetNetworkTelemetryPaginator.js +1 -8
- package/dist-cjs/pagination/GetSitesPaginator.js +1 -8
- package/dist-cjs/pagination/GetTransitGatewayConnectPeerAssociationsPaginator.js +1 -8
- package/dist-cjs/pagination/GetTransitGatewayRegistrationsPaginator.js +1 -8
- package/dist-cjs/pagination/ListAttachmentsPaginator.js +1 -8
- package/dist-cjs/pagination/ListConnectPeersPaginator.js +1 -8
- package/dist-cjs/pagination/ListCoreNetworkPolicyVersionsPaginator.js +1 -8
- package/dist-cjs/pagination/ListCoreNetworksPaginator.js +1 -8
- package/dist-cjs/pagination/ListPeeringsPaginator.js +1 -8
- package/dist-es/endpoint/ruleset.js +3 -3
- package/dist-es/pagination/DescribeGlobalNetworksPaginator.js +1 -8
- package/dist-es/pagination/GetConnectPeerAssociationsPaginator.js +1 -8
- package/dist-es/pagination/GetConnectionsPaginator.js +1 -8
- package/dist-es/pagination/GetCoreNetworkChangeEventsPaginator.js +1 -8
- package/dist-es/pagination/GetCoreNetworkChangeSetPaginator.js +1 -8
- package/dist-es/pagination/GetCustomerGatewayAssociationsPaginator.js +1 -8
- package/dist-es/pagination/GetDevicesPaginator.js +1 -8
- package/dist-es/pagination/GetLinkAssociationsPaginator.js +1 -8
- package/dist-es/pagination/GetLinksPaginator.js +1 -8
- package/dist-es/pagination/GetNetworkResourceCountsPaginator.js +1 -8
- package/dist-es/pagination/GetNetworkResourceRelationshipsPaginator.js +1 -8
- package/dist-es/pagination/GetNetworkResourcesPaginator.js +1 -8
- package/dist-es/pagination/GetNetworkTelemetryPaginator.js +1 -8
- package/dist-es/pagination/GetSitesPaginator.js +1 -8
- package/dist-es/pagination/GetTransitGatewayConnectPeerAssociationsPaginator.js +1 -8
- package/dist-es/pagination/GetTransitGatewayRegistrationsPaginator.js +1 -8
- package/dist-es/pagination/ListAttachmentsPaginator.js +1 -8
- package/dist-es/pagination/ListConnectPeersPaginator.js +1 -8
- package/dist-es/pagination/ListCoreNetworkPolicyVersionsPaginator.js +1 -8
- package/dist-es/pagination/ListCoreNetworksPaginator.js +1 -8
- package/dist-es/pagination/ListPeeringsPaginator.js +1 -8
- package/dist-types/NetworkManager.d.ts +10 -8
- package/dist-types/commands/AssociateCustomerGatewayCommand.d.ts +2 -2
- package/dist-types/commands/AssociateTransitGatewayConnectPeerCommand.d.ts +2 -2
- package/dist-types/commands/GetLinksCommand.d.ts +1 -1
- package/dist-types/commands/RegisterTransitGatewayCommand.d.ts +5 -3
- package/dist-types/models/models_0.d.ts +103 -113
- package/dist-types/pagination/Interfaces.d.ts +1 -2
- package/dist-types/ts3.4/pagination/Interfaces.d.ts +1 -2
- package/package.json +9 -9
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
const
|
|
2
|
-
const a = "
|
|
3
|
-
const _data = { version: "1.0", parameters: { Region:
|
|
1
|
+
const B = "required", C = "type", D = "rules", E = "conditions", F = "fn", G = "argv", H = "ref", I = "url", J = "properties", K = "headers", L = "authSchemes", M = "signingName", N = "signingRegion";
|
|
2
|
+
const a = "isSet", b = "tree", c = "error", d = "endpoint", e = "PartitionResult", f = "stringEquals", g = { [B]: false, [C]: "String" }, h = { [B]: true, "default": false, [C]: "Boolean" }, i = { [H]: "Endpoint" }, j = {}, k = { [H]: "Region" }, l = { [F]: "getAttr", [G]: [{ [H]: e }, "name"] }, m = { [E]: [{ [F]: "booleanEquals", [G]: [{ [H]: "UseFIPS" }, true] }, { [F]: "booleanEquals", [G]: [{ [H]: "UseDualStack" }, true] }], [C]: b, [D]: [{ [E]: [{ [F]: "booleanEquals", [G]: [true, { [F]: "getAttr", [G]: [{ [H]: e }, "supportsFIPS"] }] }, { [F]: "booleanEquals", [G]: [true, { [F]: "getAttr", [G]: [{ [H]: e }, "supportsDualStack"] }] }], [C]: b, [D]: [{ [d]: { [I]: "https://networkmanager-fips.{Region}.api.aws", [J]: {}, [K]: {} }, [C]: d }] }, { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [C]: c }] }, n = { [c]: "FIPS and DualStack are enabled, but this partition does not support one or both", [C]: c }, o = { [E]: [{ [F]: "booleanEquals", [G]: [{ [H]: "UseFIPS" }, true] }], [C]: b, [D]: [{ [E]: [{ [F]: "booleanEquals", [G]: [true, { [F]: "getAttr", [G]: [{ [H]: e }, "supportsFIPS"] }] }], [C]: b, [D]: [{ [d]: { [I]: "https://networkmanager-fips.{Region}.amazonaws.com", [J]: {}, [K]: {} }, [C]: d }] }, { [c]: "FIPS is enabled but this partition does not support FIPS", [C]: c }] }, p = { [c]: "FIPS is enabled but this partition does not support FIPS", [C]: c }, q = { [E]: [{ [F]: "booleanEquals", [G]: [{ [H]: "UseDualStack" }, true] }], [C]: b, [D]: [{ [E]: [{ [F]: "booleanEquals", [G]: [true, { [F]: "getAttr", [G]: [{ [H]: e }, "supportsDualStack"] }] }], [C]: b, [D]: [{ [d]: { [I]: "https://networkmanager.{Region}.api.aws", [J]: {}, [K]: {} }, [C]: d }] }, { [c]: "DualStack is enabled but this partition does not support DualStack", [C]: c }] }, r = { [c]: "DualStack is enabled but this partition does not support DualStack", [C]: c }, s = { [I]: "https://networkmanager.us-west-2.amazonaws.com", [J]: { [L]: [{ "name": "sigv4", [M]: "networkmanager", [N]: "us-west-2" }] }, [K]: {} }, t = { [I]: "https://networkmanager.us-gov-west-1.amazonaws.com", [J]: { [L]: [{ "name": "sigv4", [M]: "networkmanager", [N]: "us-gov-west-1" }] }, [K]: {} }, u = [{ [F]: "booleanEquals", [G]: [{ [H]: "UseFIPS" }, true] }], v = [{ [F]: "booleanEquals", [G]: [{ [H]: "UseDualStack" }, true] }], w = [k], x = [{ [F]: "booleanEquals", [G]: [{ [H]: "UseFIPS" }, true] }, { [F]: "booleanEquals", [G]: [{ [H]: "UseDualStack" }, true] }], y = [{ [F]: "booleanEquals", [G]: [true, { [F]: "getAttr", [G]: [{ [H]: e }, "supportsFIPS"] }] }, { [F]: "booleanEquals", [G]: [true, { [F]: "getAttr", [G]: [{ [H]: e }, "supportsDualStack"] }] }], z = [{ [F]: "booleanEquals", [G]: [true, { [F]: "getAttr", [G]: [{ [H]: e }, "supportsFIPS"] }] }], A = [{ [F]: "booleanEquals", [G]: [true, { [F]: "getAttr", [G]: [{ [H]: e }, "supportsDualStack"] }] }];
|
|
3
|
+
const _data = { version: "1.0", parameters: { Region: g, UseDualStack: h, UseFIPS: h, Endpoint: g }, [D]: [{ [E]: [{ [F]: a, [G]: [i] }], [C]: b, [D]: [{ [E]: u, error: "Invalid Configuration: FIPS and custom endpoint are not supported", [C]: c }, { [C]: b, [D]: [{ [E]: v, error: "Invalid Configuration: Dualstack and custom endpoint are not supported", [C]: c }, { endpoint: { [I]: i, [J]: j, [K]: j }, [C]: d }] }] }, { [C]: b, [D]: [{ [E]: [{ [F]: a, [G]: w }], [C]: b, [D]: [{ [E]: [{ [F]: "aws.partition", [G]: w, assign: e }], [C]: b, [D]: [{ [E]: [{ [F]: f, [G]: [l, "aws"] }], [C]: b, [D]: [m, o, q, { endpoint: s, [C]: d }] }, { [E]: [{ [F]: f, [G]: [l, "aws-us-gov"] }], [C]: b, [D]: [m, o, q, { endpoint: t, [C]: d }] }, { [E]: x, [C]: b, [D]: [{ [E]: y, [C]: b, [D]: [{ [C]: b, [D]: [{ endpoint: { [I]: "https://networkmanager-fips.{Region}.{PartitionResult#dualStackDnsSuffix}", [J]: j, [K]: j }, [C]: d }] }] }, n] }, { [E]: u, [C]: b, [D]: [{ [E]: z, [C]: b, [D]: [{ [C]: b, [D]: [{ endpoint: { [I]: "https://networkmanager-fips.{Region}.{PartitionResult#dnsSuffix}", [J]: j, [K]: j }, [C]: d }] }] }, p] }, { [E]: v, [C]: b, [D]: [{ [E]: A, [C]: b, [D]: [{ [C]: b, [D]: [{ endpoint: { [I]: "https://networkmanager.{Region}.{PartitionResult#dualStackDnsSuffix}", [J]: j, [K]: j }, [C]: d }] }] }, r] }, { [C]: b, [D]: [{ [E]: [{ [F]: f, [G]: [k, "aws-global"] }], endpoint: s, [C]: d }, { [E]: [{ [F]: f, [G]: [k, "aws-us-gov-global"] }], endpoint: t, [C]: d }, { endpoint: { [I]: "https://networkmanager.{Region}.{PartitionResult#dnsSuffix}", [J]: j, [K]: j }, [C]: d }] }] }] }, { error: "Invalid Configuration: Missing Region", [C]: c }] }] };
|
|
4
4
|
export const ruleSet = _data;
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { DescribeGlobalNetworksCommand, } from "../commands/DescribeGlobalNetworksCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new DescribeGlobalNetworksCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.describeGlobalNetworks(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateDescribeGlobalNetworks(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateDescribeGlobalNetworks(config, input, ...addition
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetConnectPeerAssociationsCommand, } from "../commands/GetConnectPeerAssociationsCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetConnectPeerAssociationsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getConnectPeerAssociations(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetConnectPeerAssociations(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetConnectPeerAssociations(config, input, ...addi
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetConnectionsCommand, } from "../commands/GetConnectionsCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetConnectionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getConnections(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetConnections(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetConnections(config, input, ...additionalArgume
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetCoreNetworkChangeEventsCommand, } from "../commands/GetCoreNetworkChangeEventsCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetCoreNetworkChangeEventsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getCoreNetworkChangeEvents(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetCoreNetworkChangeEvents(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetCoreNetworkChangeEvents(config, input, ...addi
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetCoreNetworkChangeSetCommand, } from "../commands/GetCoreNetworkChangeSetCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetCoreNetworkChangeSetCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getCoreNetworkChangeSet(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetCoreNetworkChangeSet(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetCoreNetworkChangeSet(config, input, ...additio
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetCustomerGatewayAssociationsCommand, } from "../commands/GetCustomerGatewayAssociationsCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetCustomerGatewayAssociationsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getCustomerGatewayAssociations(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetCustomerGatewayAssociations(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetCustomerGatewayAssociations(config, input, ...
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetDevicesCommand } from "../commands/GetDevicesCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetDevicesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getDevices(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetDevices(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetDevices(config, input, ...additionalArguments)
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetLinkAssociationsCommand, } from "../commands/GetLinkAssociationsCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetLinkAssociationsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getLinkAssociations(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetLinkAssociations(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetLinkAssociations(config, input, ...additionalA
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetLinksCommand } from "../commands/GetLinksCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetLinksCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getLinks(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetLinks(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetLinks(config, input, ...additionalArguments) {
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetNetworkResourceCountsCommand, } from "../commands/GetNetworkResourceCountsCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetNetworkResourceCountsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getNetworkResourceCounts(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetNetworkResourceCounts(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetNetworkResourceCounts(config, input, ...additi
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetNetworkResourceRelationshipsCommand, } from "../commands/GetNetworkResourceRelationshipsCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetNetworkResourceRelationshipsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getNetworkResourceRelationships(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetNetworkResourceRelationships(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetNetworkResourceRelationships(config, input, ..
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetNetworkResourcesCommand, } from "../commands/GetNetworkResourcesCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetNetworkResourcesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getNetworkResources(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetNetworkResources(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetNetworkResources(config, input, ...additionalA
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetNetworkTelemetryCommand, } from "../commands/GetNetworkTelemetryCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetNetworkTelemetryCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getNetworkTelemetry(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetNetworkTelemetry(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetNetworkTelemetry(config, input, ...additionalA
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetSitesCommand } from "../commands/GetSitesCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetSitesCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getSites(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetSites(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetSites(config, input, ...additionalArguments) {
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetTransitGatewayConnectPeerAssociationsCommand, } from "../commands/GetTransitGatewayConnectPeerAssociationsCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetTransitGatewayConnectPeerAssociationsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getTransitGatewayConnectPeerAssociations(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetTransitGatewayConnectPeerAssociations(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetTransitGatewayConnectPeerAssociations(config,
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { GetTransitGatewayRegistrationsCommand, } from "../commands/GetTransitGatewayRegistrationsCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new GetTransitGatewayRegistrationsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.getTransitGatewayRegistrations(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateGetTransitGatewayRegistrations(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateGetTransitGatewayRegistrations(config, input, ...
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListAttachmentsCommand, } from "../commands/ListAttachmentsCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListAttachmentsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listAttachments(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListAttachments(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListAttachments(config, input, ...additionalArgum
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListConnectPeersCommand, } from "../commands/ListConnectPeersCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListConnectPeersCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listConnectPeers(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListConnectPeers(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListConnectPeers(config, input, ...additionalArgu
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListCoreNetworkPolicyVersionsCommand, } from "../commands/ListCoreNetworkPolicyVersionsCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListCoreNetworkPolicyVersionsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listCoreNetworkPolicyVersions(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListCoreNetworkPolicyVersions(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListCoreNetworkPolicyVersions(config, input, ...a
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListCoreNetworksCommand, } from "../commands/ListCoreNetworksCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListCoreNetworksCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listCoreNetworks(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListCoreNetworks(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListCoreNetworks(config, input, ...additionalArgu
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -1,12 +1,8 @@
|
|
|
1
1
|
import { ListPeeringsCommand, } from "../commands/ListPeeringsCommand";
|
|
2
|
-
import { NetworkManager } from "../NetworkManager";
|
|
3
2
|
import { NetworkManagerClient } from "../NetworkManagerClient";
|
|
4
3
|
const makePagedClientRequest = async (client, input, ...args) => {
|
|
5
4
|
return await client.send(new ListPeeringsCommand(input), ...args);
|
|
6
5
|
};
|
|
7
|
-
const makePagedRequest = async (client, input, ...args) => {
|
|
8
|
-
return await client.listPeerings(input, ...args);
|
|
9
|
-
};
|
|
10
6
|
export async function* paginateListPeerings(config, input, ...additionalArguments) {
|
|
11
7
|
let token = config.startingToken || undefined;
|
|
12
8
|
let hasNext = true;
|
|
@@ -14,10 +10,7 @@ export async function* paginateListPeerings(config, input, ...additionalArgument
|
|
|
14
10
|
while (hasNext) {
|
|
15
11
|
input.NextToken = token;
|
|
16
12
|
input["MaxResults"] = config.pageSize;
|
|
17
|
-
if (config.client instanceof
|
|
18
|
-
page = await makePagedRequest(config.client, input, ...additionalArguments);
|
|
19
|
-
}
|
|
20
|
-
else if (config.client instanceof NetworkManagerClient) {
|
|
13
|
+
if (config.client instanceof NetworkManagerClient) {
|
|
21
14
|
page = await makePagedClientRequest(config.client, input, ...additionalArguments);
|
|
22
15
|
}
|
|
23
16
|
else {
|
|
@@ -109,13 +109,13 @@ export declare class NetworkManager extends NetworkManagerClient {
|
|
|
109
109
|
/**
|
|
110
110
|
* <p>Associates a customer gateway with a device and optionally, with a link. If you
|
|
111
111
|
* specify a link, it must be associated with the specified device. </p>
|
|
112
|
-
*
|
|
112
|
+
* <p>You can only associate customer gateways that are connected to a VPN attachment on a
|
|
113
113
|
* transit gateway or core network registered in your global network. When you register a
|
|
114
114
|
* transit gateway or core network, customer gateways that are connected to the transit
|
|
115
115
|
* gateway are automatically included in the global network. To list customer gateways
|
|
116
116
|
* that are connected to a transit gateway, use the <a href="https://docs.aws.amazon.com/AWSEC2/latest/APIReference/API_DescribeVpnConnections.html">DescribeVpnConnections</a> EC2 API and filter by
|
|
117
117
|
* <code>transit-gateway-id</code>.</p>
|
|
118
|
-
*
|
|
118
|
+
* <p>You cannot associate a customer gateway with more than one device and link. </p>
|
|
119
119
|
*/
|
|
120
120
|
associateCustomerGateway(args: AssociateCustomerGatewayCommandInput, options?: __HttpHandlerOptions): Promise<AssociateCustomerGatewayCommandOutput>;
|
|
121
121
|
associateCustomerGateway(args: AssociateCustomerGatewayCommandInput, cb: (err: any, data?: AssociateCustomerGatewayCommandOutput) => void): void;
|
|
@@ -129,9 +129,9 @@ export declare class NetworkManager extends NetworkManagerClient {
|
|
|
129
129
|
/**
|
|
130
130
|
* <p>Associates a transit gateway Connect peer with a device, and optionally, with a link. If you
|
|
131
131
|
* specify a link, it must be associated with the specified device. </p>
|
|
132
|
-
*
|
|
132
|
+
* <p>You can only associate transit gateway Connect peers that have been created on a
|
|
133
133
|
* transit gateway that's registered in your global network.</p>
|
|
134
|
-
*
|
|
134
|
+
* <p>You cannot associate a transit gateway Connect peer with more than one device and link. </p>
|
|
135
135
|
*/
|
|
136
136
|
associateTransitGatewayConnectPeer(args: AssociateTransitGatewayConnectPeerCommandInput, options?: __HttpHandlerOptions): Promise<AssociateTransitGatewayConnectPeerCommandOutput>;
|
|
137
137
|
associateTransitGatewayConnectPeer(args: AssociateTransitGatewayConnectPeerCommandInput, cb: (err: any, data?: AssociateTransitGatewayConnectPeerCommandOutput) => void): void;
|
|
@@ -399,7 +399,7 @@ export declare class NetworkManager extends NetworkManagerClient {
|
|
|
399
399
|
getLinkAssociations(args: GetLinkAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetLinkAssociationsCommandOutput) => void): void;
|
|
400
400
|
/**
|
|
401
401
|
* <p>Gets information about one or more links in a specified global network.</p>
|
|
402
|
-
*
|
|
402
|
+
* <p>If you specify the site ID, you cannot specify the type or provider in the same request. You can specify the type and provider in the same request.</p>
|
|
403
403
|
*/
|
|
404
404
|
getLinks(args: GetLinksCommandInput, options?: __HttpHandlerOptions): Promise<GetLinksCommandOutput>;
|
|
405
405
|
getLinks(args: GetLinksCommandInput, cb: (err: any, data?: GetLinksCommandOutput) => void): void;
|
|
@@ -545,9 +545,11 @@ export declare class NetworkManager extends NetworkManagerClient {
|
|
|
545
545
|
putResourcePolicy(args: PutResourcePolicyCommandInput, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
546
546
|
putResourcePolicy(args: PutResourcePolicyCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: PutResourcePolicyCommandOutput) => void): void;
|
|
547
547
|
/**
|
|
548
|
-
* <p>Registers a transit gateway in your global network.
|
|
549
|
-
*
|
|
550
|
-
*
|
|
548
|
+
* <p>Registers a transit gateway in your global network. Not all Regions support transit
|
|
549
|
+
* gateways for global networks. For a list of the supported Regions, see <a href="https://docs.aws.amazon.com/network-manager/latest/tgwnm/what-are-global-networks.html#nm-available-regions">Region Availability</a> in the <i>Amazon Web Services Transit Gateways for Global
|
|
550
|
+
* Networks User Guide</i>. The transit gateway can be in any of the supported
|
|
551
|
+
* Amazon Web Services Regions, but it must be owned by the same Amazon Web Services account that owns the global
|
|
552
|
+
* network. You cannot register a transit gateway in more than one global network.</p>
|
|
551
553
|
*/
|
|
552
554
|
registerTransitGateway(args: RegisterTransitGatewayCommandInput, options?: __HttpHandlerOptions): Promise<RegisterTransitGatewayCommandOutput>;
|
|
553
555
|
registerTransitGateway(args: RegisterTransitGatewayCommandInput, cb: (err: any, data?: RegisterTransitGatewayCommandOutput) => void): void;
|