@aws-sdk/client-networkmanager 3.95.0 → 3.98.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 +11 -0
- package/README.md +1 -2
- package/dist-cjs/NetworkManager.js +30 -0
- package/dist-cjs/commands/ListOrganizationServiceAccessStatusCommand.js +36 -0
- package/dist-cjs/commands/StartOrganizationServiceAccessUpdateCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +41 -5
- package/dist-cjs/protocols/Aws_restJson1.js +162 -3
- package/dist-es/NetworkManager.js +30 -0
- package/dist-es/commands/ListOrganizationServiceAccessStatusCommand.js +39 -0
- package/dist-es/commands/StartOrganizationServiceAccessUpdateCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +24 -0
- package/dist-es/protocols/Aws_restJson1.js +205 -0
- package/dist-types/NetworkManager.d.ts +15 -8
- package/dist-types/NetworkManagerClient.d.ts +5 -4
- package/dist-types/commands/AssociateCustomerGatewayCommand.d.ts +2 -2
- package/dist-types/commands/CreateConnectPeerCommand.d.ts +1 -1
- package/dist-types/commands/CreateSiteToSiteVpnAttachmentCommand.d.ts +1 -1
- package/dist-types/commands/DeleteGlobalNetworkCommand.d.ts +1 -1
- package/dist-types/commands/GetCoreNetworkCommand.d.ts +1 -1
- package/dist-types/commands/ListOrganizationServiceAccessStatusCommand.d.ts +18 -0
- package/dist-types/commands/StartOrganizationServiceAccessUpdateCommand.d.ts +18 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +61 -1
- package/dist-types/protocols/Aws_restJson1.d.ts +6 -0
- package/dist-types/ts3.4/NetworkManager.d.ts +8 -0
- package/dist-types/ts3.4/NetworkManagerClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/ListOrganizationServiceAccessStatusCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/StartOrganizationServiceAccessUpdateCommand.d.ts +16 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +48 -0
- package/dist-types/ts3.4/protocols/Aws_restJson1.d.ts +6 -0
- package/package.json +1 -1
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { __extends } from "tslib";
|
|
2
|
+
import { getSerdePlugin } from "@aws-sdk/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
4
|
+
import { StartOrganizationServiceAccessUpdateRequest, StartOrganizationServiceAccessUpdateResponse, } from "../models/models_0";
|
|
5
|
+
import { deserializeAws_restJson1StartOrganizationServiceAccessUpdateCommand, serializeAws_restJson1StartOrganizationServiceAccessUpdateCommand, } from "../protocols/Aws_restJson1";
|
|
6
|
+
var StartOrganizationServiceAccessUpdateCommand = (function (_super) {
|
|
7
|
+
__extends(StartOrganizationServiceAccessUpdateCommand, _super);
|
|
8
|
+
function StartOrganizationServiceAccessUpdateCommand(input) {
|
|
9
|
+
var _this = _super.call(this) || this;
|
|
10
|
+
_this.input = input;
|
|
11
|
+
return _this;
|
|
12
|
+
}
|
|
13
|
+
StartOrganizationServiceAccessUpdateCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
|
|
14
|
+
this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
|
|
15
|
+
var stack = clientStack.concat(this.middlewareStack);
|
|
16
|
+
var logger = configuration.logger;
|
|
17
|
+
var clientName = "NetworkManagerClient";
|
|
18
|
+
var commandName = "StartOrganizationServiceAccessUpdateCommand";
|
|
19
|
+
var handlerExecutionContext = {
|
|
20
|
+
logger: logger,
|
|
21
|
+
clientName: clientName,
|
|
22
|
+
commandName: commandName,
|
|
23
|
+
inputFilterSensitiveLog: StartOrganizationServiceAccessUpdateRequest.filterSensitiveLog,
|
|
24
|
+
outputFilterSensitiveLog: StartOrganizationServiceAccessUpdateResponse.filterSensitiveLog,
|
|
25
|
+
};
|
|
26
|
+
var requestHandler = configuration.requestHandler;
|
|
27
|
+
return stack.resolve(function (request) {
|
|
28
|
+
return requestHandler.handle(request.request, options || {});
|
|
29
|
+
}, handlerExecutionContext);
|
|
30
|
+
};
|
|
31
|
+
StartOrganizationServiceAccessUpdateCommand.prototype.serialize = function (input, context) {
|
|
32
|
+
return serializeAws_restJson1StartOrganizationServiceAccessUpdateCommand(input, context);
|
|
33
|
+
};
|
|
34
|
+
StartOrganizationServiceAccessUpdateCommand.prototype.deserialize = function (output, context) {
|
|
35
|
+
return deserializeAws_restJson1StartOrganizationServiceAccessUpdateCommand(output, context);
|
|
36
|
+
};
|
|
37
|
+
return StartOrganizationServiceAccessUpdateCommand;
|
|
38
|
+
}($Command));
|
|
39
|
+
export { StartOrganizationServiceAccessUpdateCommand };
|
|
@@ -57,12 +57,14 @@ export * from "./ListAttachmentsCommand";
|
|
|
57
57
|
export * from "./ListConnectPeersCommand";
|
|
58
58
|
export * from "./ListCoreNetworkPolicyVersionsCommand";
|
|
59
59
|
export * from "./ListCoreNetworksCommand";
|
|
60
|
+
export * from "./ListOrganizationServiceAccessStatusCommand";
|
|
60
61
|
export * from "./ListTagsForResourceCommand";
|
|
61
62
|
export * from "./PutCoreNetworkPolicyCommand";
|
|
62
63
|
export * from "./PutResourcePolicyCommand";
|
|
63
64
|
export * from "./RegisterTransitGatewayCommand";
|
|
64
65
|
export * from "./RejectAttachmentCommand";
|
|
65
66
|
export * from "./RestoreCoreNetworkPolicyVersionCommand";
|
|
67
|
+
export * from "./StartOrganizationServiceAccessUpdateCommand";
|
|
66
68
|
export * from "./StartRouteAnalysisCommand";
|
|
67
69
|
export * from "./TagResourceCommand";
|
|
68
70
|
export * from "./UntagResourceCommand";
|
|
@@ -137,6 +137,10 @@ var ValidationException = (function (_super) {
|
|
|
137
137
|
return ValidationException;
|
|
138
138
|
}(__BaseException));
|
|
139
139
|
export { ValidationException };
|
|
140
|
+
export var AccountStatus;
|
|
141
|
+
(function (AccountStatus) {
|
|
142
|
+
AccountStatus.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
143
|
+
})(AccountStatus || (AccountStatus = {}));
|
|
140
144
|
export var AssociateConnectPeerRequest;
|
|
141
145
|
(function (AssociateConnectPeerRequest) {
|
|
142
146
|
AssociateConnectPeerRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -991,6 +995,18 @@ export var ListCoreNetworksResponse;
|
|
|
991
995
|
(function (ListCoreNetworksResponse) {
|
|
992
996
|
ListCoreNetworksResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
993
997
|
})(ListCoreNetworksResponse || (ListCoreNetworksResponse = {}));
|
|
998
|
+
export var ListOrganizationServiceAccessStatusRequest;
|
|
999
|
+
(function (ListOrganizationServiceAccessStatusRequest) {
|
|
1000
|
+
ListOrganizationServiceAccessStatusRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1001
|
+
})(ListOrganizationServiceAccessStatusRequest || (ListOrganizationServiceAccessStatusRequest = {}));
|
|
1002
|
+
export var OrganizationStatus;
|
|
1003
|
+
(function (OrganizationStatus) {
|
|
1004
|
+
OrganizationStatus.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1005
|
+
})(OrganizationStatus || (OrganizationStatus = {}));
|
|
1006
|
+
export var ListOrganizationServiceAccessStatusResponse;
|
|
1007
|
+
(function (ListOrganizationServiceAccessStatusResponse) {
|
|
1008
|
+
ListOrganizationServiceAccessStatusResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1009
|
+
})(ListOrganizationServiceAccessStatusResponse || (ListOrganizationServiceAccessStatusResponse = {}));
|
|
994
1010
|
export var ListTagsForResourceRequest;
|
|
995
1011
|
(function (ListTagsForResourceRequest) {
|
|
996
1012
|
ListTagsForResourceRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -1039,6 +1055,14 @@ export var RestoreCoreNetworkPolicyVersionResponse;
|
|
|
1039
1055
|
(function (RestoreCoreNetworkPolicyVersionResponse) {
|
|
1040
1056
|
RestoreCoreNetworkPolicyVersionResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1041
1057
|
})(RestoreCoreNetworkPolicyVersionResponse || (RestoreCoreNetworkPolicyVersionResponse = {}));
|
|
1058
|
+
export var StartOrganizationServiceAccessUpdateRequest;
|
|
1059
|
+
(function (StartOrganizationServiceAccessUpdateRequest) {
|
|
1060
|
+
StartOrganizationServiceAccessUpdateRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1061
|
+
})(StartOrganizationServiceAccessUpdateRequest || (StartOrganizationServiceAccessUpdateRequest = {}));
|
|
1062
|
+
export var StartOrganizationServiceAccessUpdateResponse;
|
|
1063
|
+
(function (StartOrganizationServiceAccessUpdateResponse) {
|
|
1064
|
+
StartOrganizationServiceAccessUpdateResponse.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
1065
|
+
})(StartOrganizationServiceAccessUpdateResponse || (StartOrganizationServiceAccessUpdateResponse = {}));
|
|
1042
1066
|
export var RouteAnalysisEndpointOptionsSpecification;
|
|
1043
1067
|
(function (RouteAnalysisEndpointOptionsSpecification) {
|
|
1044
1068
|
RouteAnalysisEndpointOptionsSpecification.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
|
|
@@ -2047,6 +2047,29 @@ export var serializeAws_restJson1ListCoreNetworksCommand = function (input, cont
|
|
|
2047
2047
|
}
|
|
2048
2048
|
});
|
|
2049
2049
|
}); };
|
|
2050
|
+
export var serializeAws_restJson1ListOrganizationServiceAccessStatusCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2051
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, query, body;
|
|
2052
|
+
return __generator(this, function (_c) {
|
|
2053
|
+
switch (_c.label) {
|
|
2054
|
+
case 0: return [4, context.endpoint()];
|
|
2055
|
+
case 1:
|
|
2056
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2057
|
+
headers = {};
|
|
2058
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/organizations/service-access";
|
|
2059
|
+
query = __assign(__assign({}, (input.MaxResults !== undefined && { maxResults: input.MaxResults.toString() })), (input.NextToken !== undefined && { nextToken: input.NextToken }));
|
|
2060
|
+
return [2, new __HttpRequest({
|
|
2061
|
+
protocol: protocol,
|
|
2062
|
+
hostname: hostname,
|
|
2063
|
+
port: port,
|
|
2064
|
+
method: "GET",
|
|
2065
|
+
headers: headers,
|
|
2066
|
+
path: resolvedPath,
|
|
2067
|
+
query: query,
|
|
2068
|
+
body: body,
|
|
2069
|
+
})];
|
|
2070
|
+
}
|
|
2071
|
+
});
|
|
2072
|
+
}); };
|
|
2050
2073
|
export var serializeAws_restJson1ListTagsForResourceCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2051
2074
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
2052
2075
|
return __generator(this, function (_c) {
|
|
@@ -2260,6 +2283,30 @@ export var serializeAws_restJson1RestoreCoreNetworkPolicyVersionCommand = functi
|
|
|
2260
2283
|
}
|
|
2261
2284
|
});
|
|
2262
2285
|
}); };
|
|
2286
|
+
export var serializeAws_restJson1StartOrganizationServiceAccessUpdateCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2287
|
+
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, body;
|
|
2288
|
+
return __generator(this, function (_c) {
|
|
2289
|
+
switch (_c.label) {
|
|
2290
|
+
case 0: return [4, context.endpoint()];
|
|
2291
|
+
case 1:
|
|
2292
|
+
_a = _c.sent(), hostname = _a.hostname, _b = _a.protocol, protocol = _b === void 0 ? "https" : _b, port = _a.port, basePath = _a.path;
|
|
2293
|
+
headers = {
|
|
2294
|
+
"content-type": "application/json",
|
|
2295
|
+
};
|
|
2296
|
+
resolvedPath = "".concat((basePath === null || basePath === void 0 ? void 0 : basePath.endsWith("/")) ? basePath.slice(0, -1) : basePath || "") + "/organizations/service-access";
|
|
2297
|
+
body = JSON.stringify(__assign({}, (input.Action !== undefined && input.Action !== null && { Action: input.Action })));
|
|
2298
|
+
return [2, new __HttpRequest({
|
|
2299
|
+
protocol: protocol,
|
|
2300
|
+
hostname: hostname,
|
|
2301
|
+
port: port,
|
|
2302
|
+
method: "POST",
|
|
2303
|
+
headers: headers,
|
|
2304
|
+
path: resolvedPath,
|
|
2305
|
+
body: body,
|
|
2306
|
+
})];
|
|
2307
|
+
}
|
|
2308
|
+
});
|
|
2309
|
+
}); };
|
|
2263
2310
|
export var serializeAws_restJson1StartRouteAnalysisCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2264
2311
|
var _a, hostname, _b, protocol, port, basePath, headers, resolvedPath, labelValue, body;
|
|
2265
2312
|
return __generator(this, function (_c) {
|
|
@@ -7185,6 +7232,61 @@ var deserializeAws_restJson1ListCoreNetworksCommandError = function (output, con
|
|
|
7185
7232
|
}
|
|
7186
7233
|
});
|
|
7187
7234
|
}); };
|
|
7235
|
+
export var deserializeAws_restJson1ListOrganizationServiceAccessStatusCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7236
|
+
var contents, data, _a, _b;
|
|
7237
|
+
return __generator(this, function (_c) {
|
|
7238
|
+
switch (_c.label) {
|
|
7239
|
+
case 0:
|
|
7240
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7241
|
+
return [2, deserializeAws_restJson1ListOrganizationServiceAccessStatusCommandError(output, context)];
|
|
7242
|
+
}
|
|
7243
|
+
contents = {
|
|
7244
|
+
$metadata: deserializeMetadata(output),
|
|
7245
|
+
NextToken: undefined,
|
|
7246
|
+
OrganizationStatus: undefined,
|
|
7247
|
+
};
|
|
7248
|
+
_a = __expectNonNull;
|
|
7249
|
+
_b = __expectObject;
|
|
7250
|
+
return [4, parseBody(output.body, context)];
|
|
7251
|
+
case 1:
|
|
7252
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
7253
|
+
if (data.NextToken !== undefined && data.NextToken !== null) {
|
|
7254
|
+
contents.NextToken = __expectString(data.NextToken);
|
|
7255
|
+
}
|
|
7256
|
+
if (data.OrganizationStatus !== undefined && data.OrganizationStatus !== null) {
|
|
7257
|
+
contents.OrganizationStatus = deserializeAws_restJson1OrganizationStatus(data.OrganizationStatus, context);
|
|
7258
|
+
}
|
|
7259
|
+
return [2, Promise.resolve(contents)];
|
|
7260
|
+
}
|
|
7261
|
+
});
|
|
7262
|
+
}); };
|
|
7263
|
+
var deserializeAws_restJson1ListOrganizationServiceAccessStatusCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7264
|
+
var parsedOutput, _a, response, errorCode, parsedBody;
|
|
7265
|
+
var _b;
|
|
7266
|
+
return __generator(this, function (_c) {
|
|
7267
|
+
switch (_c.label) {
|
|
7268
|
+
case 0:
|
|
7269
|
+
_a = [__assign({}, output)];
|
|
7270
|
+
_b = {};
|
|
7271
|
+
return [4, parseBody(output.body, context)];
|
|
7272
|
+
case 1:
|
|
7273
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_b.body = _c.sent(), _b)]));
|
|
7274
|
+
errorCode = "UnknownError";
|
|
7275
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7276
|
+
switch (errorCode) {
|
|
7277
|
+
default:
|
|
7278
|
+
parsedBody = parsedOutput.body;
|
|
7279
|
+
response = new __BaseException({
|
|
7280
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
7281
|
+
$fault: "client",
|
|
7282
|
+
$metadata: deserializeMetadata(output),
|
|
7283
|
+
});
|
|
7284
|
+
throw __decorateServiceException(response, parsedBody);
|
|
7285
|
+
}
|
|
7286
|
+
return [2];
|
|
7287
|
+
}
|
|
7288
|
+
});
|
|
7289
|
+
}); };
|
|
7188
7290
|
export var deserializeAws_restJson1ListTagsForResourceCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7189
7291
|
var contents, data, _a, _b;
|
|
7190
7292
|
return __generator(this, function (_c) {
|
|
@@ -7635,6 +7737,82 @@ var deserializeAws_restJson1RestoreCoreNetworkPolicyVersionCommandError = functi
|
|
|
7635
7737
|
}
|
|
7636
7738
|
});
|
|
7637
7739
|
}); };
|
|
7740
|
+
export var deserializeAws_restJson1StartOrganizationServiceAccessUpdateCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7741
|
+
var contents, data, _a, _b;
|
|
7742
|
+
return __generator(this, function (_c) {
|
|
7743
|
+
switch (_c.label) {
|
|
7744
|
+
case 0:
|
|
7745
|
+
if (output.statusCode !== 200 && output.statusCode >= 300) {
|
|
7746
|
+
return [2, deserializeAws_restJson1StartOrganizationServiceAccessUpdateCommandError(output, context)];
|
|
7747
|
+
}
|
|
7748
|
+
contents = {
|
|
7749
|
+
$metadata: deserializeMetadata(output),
|
|
7750
|
+
OrganizationStatus: undefined,
|
|
7751
|
+
};
|
|
7752
|
+
_a = __expectNonNull;
|
|
7753
|
+
_b = __expectObject;
|
|
7754
|
+
return [4, parseBody(output.body, context)];
|
|
7755
|
+
case 1:
|
|
7756
|
+
data = _a.apply(void 0, [_b.apply(void 0, [_c.sent()]), "body"]);
|
|
7757
|
+
if (data.OrganizationStatus !== undefined && data.OrganizationStatus !== null) {
|
|
7758
|
+
contents.OrganizationStatus = deserializeAws_restJson1OrganizationStatus(data.OrganizationStatus, context);
|
|
7759
|
+
}
|
|
7760
|
+
return [2, Promise.resolve(contents)];
|
|
7761
|
+
}
|
|
7762
|
+
});
|
|
7763
|
+
}); };
|
|
7764
|
+
var deserializeAws_restJson1StartOrganizationServiceAccessUpdateCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7765
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
7766
|
+
var _c;
|
|
7767
|
+
return __generator(this, function (_d) {
|
|
7768
|
+
switch (_d.label) {
|
|
7769
|
+
case 0:
|
|
7770
|
+
_a = [__assign({}, output)];
|
|
7771
|
+
_c = {};
|
|
7772
|
+
return [4, parseBody(output.body, context)];
|
|
7773
|
+
case 1:
|
|
7774
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
7775
|
+
errorCode = "UnknownError";
|
|
7776
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
7777
|
+
_b = errorCode;
|
|
7778
|
+
switch (_b) {
|
|
7779
|
+
case "AccessDeniedException": return [3, 2];
|
|
7780
|
+
case "com.amazonaws.networkmanager#AccessDeniedException": return [3, 2];
|
|
7781
|
+
case "ConflictException": return [3, 4];
|
|
7782
|
+
case "com.amazonaws.networkmanager#ConflictException": return [3, 4];
|
|
7783
|
+
case "InternalServerException": return [3, 6];
|
|
7784
|
+
case "com.amazonaws.networkmanager#InternalServerException": return [3, 6];
|
|
7785
|
+
case "ServiceQuotaExceededException": return [3, 8];
|
|
7786
|
+
case "com.amazonaws.networkmanager#ServiceQuotaExceededException": return [3, 8];
|
|
7787
|
+
case "ThrottlingException": return [3, 10];
|
|
7788
|
+
case "com.amazonaws.networkmanager#ThrottlingException": return [3, 10];
|
|
7789
|
+
case "ValidationException": return [3, 12];
|
|
7790
|
+
case "com.amazonaws.networkmanager#ValidationException": return [3, 12];
|
|
7791
|
+
}
|
|
7792
|
+
return [3, 14];
|
|
7793
|
+
case 2: return [4, deserializeAws_restJson1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
7794
|
+
case 3: throw _d.sent();
|
|
7795
|
+
case 4: return [4, deserializeAws_restJson1ConflictExceptionResponse(parsedOutput, context)];
|
|
7796
|
+
case 5: throw _d.sent();
|
|
7797
|
+
case 6: return [4, deserializeAws_restJson1InternalServerExceptionResponse(parsedOutput, context)];
|
|
7798
|
+
case 7: throw _d.sent();
|
|
7799
|
+
case 8: return [4, deserializeAws_restJson1ServiceQuotaExceededExceptionResponse(parsedOutput, context)];
|
|
7800
|
+
case 9: throw _d.sent();
|
|
7801
|
+
case 10: return [4, deserializeAws_restJson1ThrottlingExceptionResponse(parsedOutput, context)];
|
|
7802
|
+
case 11: throw _d.sent();
|
|
7803
|
+
case 12: return [4, deserializeAws_restJson1ValidationExceptionResponse(parsedOutput, context)];
|
|
7804
|
+
case 13: throw _d.sent();
|
|
7805
|
+
case 14:
|
|
7806
|
+
parsedBody = parsedOutput.body;
|
|
7807
|
+
response = new __BaseException({
|
|
7808
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
7809
|
+
$fault: "client",
|
|
7810
|
+
$metadata: deserializeMetadata(output),
|
|
7811
|
+
});
|
|
7812
|
+
throw __decorateServiceException(response, parsedBody);
|
|
7813
|
+
}
|
|
7814
|
+
});
|
|
7815
|
+
}); };
|
|
7638
7816
|
export var deserializeAws_restJson1StartRouteAnalysisCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7639
7817
|
var contents, data, _a, _b;
|
|
7640
7818
|
return __generator(this, function (_c) {
|
|
@@ -8724,6 +8902,23 @@ var serializeAws_restJson1TagList = function (input, context) {
|
|
|
8724
8902
|
var serializeAws_restJson1VpcOptions = function (input, context) {
|
|
8725
8903
|
return __assign({}, (input.Ipv6Support !== undefined && input.Ipv6Support !== null && { Ipv6Support: input.Ipv6Support }));
|
|
8726
8904
|
};
|
|
8905
|
+
var deserializeAws_restJson1AccountStatus = function (output, context) {
|
|
8906
|
+
return {
|
|
8907
|
+
AccountId: __expectString(output.AccountId),
|
|
8908
|
+
SLRDeploymentStatus: __expectString(output.SLRDeploymentStatus),
|
|
8909
|
+
};
|
|
8910
|
+
};
|
|
8911
|
+
var deserializeAws_restJson1AccountStatusList = function (output, context) {
|
|
8912
|
+
var retVal = (output || [])
|
|
8913
|
+
.filter(function (e) { return e != null; })
|
|
8914
|
+
.map(function (entry) {
|
|
8915
|
+
if (entry === null) {
|
|
8916
|
+
return null;
|
|
8917
|
+
}
|
|
8918
|
+
return deserializeAws_restJson1AccountStatus(entry, context);
|
|
8919
|
+
});
|
|
8920
|
+
return retVal;
|
|
8921
|
+
};
|
|
8727
8922
|
var deserializeAws_restJson1Attachment = function (output, context) {
|
|
8728
8923
|
return {
|
|
8729
8924
|
AttachmentId: __expectString(output.AttachmentId),
|
|
@@ -9428,6 +9623,16 @@ var deserializeAws_restJson1NetworkTelemetryList = function (output, context) {
|
|
|
9428
9623
|
});
|
|
9429
9624
|
return retVal;
|
|
9430
9625
|
};
|
|
9626
|
+
var deserializeAws_restJson1OrganizationStatus = function (output, context) {
|
|
9627
|
+
return {
|
|
9628
|
+
AccountStatusList: output.AccountStatusList !== undefined && output.AccountStatusList !== null
|
|
9629
|
+
? deserializeAws_restJson1AccountStatusList(output.AccountStatusList, context)
|
|
9630
|
+
: undefined,
|
|
9631
|
+
OrganizationAwsServiceAccessStatus: __expectString(output.OrganizationAwsServiceAccessStatus),
|
|
9632
|
+
OrganizationId: __expectString(output.OrganizationId),
|
|
9633
|
+
SLRDeploymentStatus: __expectString(output.SLRDeploymentStatus),
|
|
9634
|
+
};
|
|
9635
|
+
};
|
|
9431
9636
|
var deserializeAws_restJson1PathComponent = function (output, context) {
|
|
9432
9637
|
return {
|
|
9433
9638
|
DestinationCidrBlock: __expectString(output.DestinationCidrBlock),
|
|
@@ -58,12 +58,14 @@ import { ListAttachmentsCommandInput, ListAttachmentsCommandOutput } from "./com
|
|
|
58
58
|
import { ListConnectPeersCommandInput, ListConnectPeersCommandOutput } from "./commands/ListConnectPeersCommand";
|
|
59
59
|
import { ListCoreNetworkPolicyVersionsCommandInput, ListCoreNetworkPolicyVersionsCommandOutput } from "./commands/ListCoreNetworkPolicyVersionsCommand";
|
|
60
60
|
import { ListCoreNetworksCommandInput, ListCoreNetworksCommandOutput } from "./commands/ListCoreNetworksCommand";
|
|
61
|
+
import { ListOrganizationServiceAccessStatusCommandInput, ListOrganizationServiceAccessStatusCommandOutput } from "./commands/ListOrganizationServiceAccessStatusCommand";
|
|
61
62
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
62
63
|
import { PutCoreNetworkPolicyCommandInput, PutCoreNetworkPolicyCommandOutput } from "./commands/PutCoreNetworkPolicyCommand";
|
|
63
64
|
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
64
65
|
import { RegisterTransitGatewayCommandInput, RegisterTransitGatewayCommandOutput } from "./commands/RegisterTransitGatewayCommand";
|
|
65
66
|
import { RejectAttachmentCommandInput, RejectAttachmentCommandOutput } from "./commands/RejectAttachmentCommand";
|
|
66
67
|
import { RestoreCoreNetworkPolicyVersionCommandInput, RestoreCoreNetworkPolicyVersionCommandOutput } from "./commands/RestoreCoreNetworkPolicyVersionCommand";
|
|
68
|
+
import { StartOrganizationServiceAccessUpdateCommandInput, StartOrganizationServiceAccessUpdateCommandOutput } from "./commands/StartOrganizationServiceAccessUpdateCommand";
|
|
67
69
|
import { StartRouteAnalysisCommandInput, StartRouteAnalysisCommandOutput } from "./commands/StartRouteAnalysisCommand";
|
|
68
70
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
69
71
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -77,8 +79,7 @@ import { UpdateSiteCommandInput, UpdateSiteCommandOutput } from "./commands/Upda
|
|
|
77
79
|
import { UpdateVpcAttachmentCommandInput, UpdateVpcAttachmentCommandOutput } from "./commands/UpdateVpcAttachmentCommand";
|
|
78
80
|
import { NetworkManagerClient } from "./NetworkManagerClient";
|
|
79
81
|
/**
|
|
80
|
-
* <p>
|
|
81
|
-
* Amazon Web Services and on-premises networks that are built around transit gateways.</p>
|
|
82
|
+
* <p>Amazon Web Services enables you to centrally manage your Amazon Web Services Cloud WAN core network and your Transit Gateway network across Amazon Web Services accounts, Regions, and on-premises locations.</p>
|
|
82
83
|
*/
|
|
83
84
|
export declare class NetworkManager extends NetworkManagerClient {
|
|
84
85
|
/**
|
|
@@ -102,8 +103,8 @@ export declare class NetworkManager extends NetworkManagerClient {
|
|
|
102
103
|
* <p>Associates a customer gateway with a device and optionally, with a link. If you
|
|
103
104
|
* specify a link, it must be associated with the specified device. </p>
|
|
104
105
|
* <p>You can only associate customer gateways that are connected to a VPN attachment on a
|
|
105
|
-
* transit gateway
|
|
106
|
-
*
|
|
106
|
+
* transit gateway or core network registered in your global network. When you register a
|
|
107
|
+
* transit gateway or core network, customer gateways that are connected to the transit
|
|
107
108
|
* gateway are automatically included in the global network. To list customer gateways
|
|
108
109
|
* 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
|
|
109
110
|
* <code>transit-gateway-id</code>.</p>
|
|
@@ -144,7 +145,7 @@ export declare class NetworkManager extends NetworkManagerClient {
|
|
|
144
145
|
createConnection(args: CreateConnectionCommandInput, cb: (err: any, data?: CreateConnectionCommandOutput) => void): void;
|
|
145
146
|
createConnection(args: CreateConnectionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectionCommandOutput) => void): void;
|
|
146
147
|
/**
|
|
147
|
-
* <p>Creates a core network
|
|
148
|
+
* <p>Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance.
|
|
148
149
|
* The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).</p>
|
|
149
150
|
*/
|
|
150
151
|
createConnectPeer(args: CreateConnectPeerCommandInput, options?: __HttpHandlerOptions): Promise<CreateConnectPeerCommandOutput>;
|
|
@@ -182,7 +183,7 @@ export declare class NetworkManager extends NetworkManagerClient {
|
|
|
182
183
|
createSite(args: CreateSiteCommandInput, cb: (err: any, data?: CreateSiteCommandOutput) => void): void;
|
|
183
184
|
createSite(args: CreateSiteCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateSiteCommandOutput) => void): void;
|
|
184
185
|
/**
|
|
185
|
-
* <p>Creates
|
|
186
|
+
* <p>Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.</p>
|
|
186
187
|
*/
|
|
187
188
|
createSiteToSiteVpnAttachment(args: CreateSiteToSiteVpnAttachmentCommandInput, options?: __HttpHandlerOptions): Promise<CreateSiteToSiteVpnAttachmentCommandOutput>;
|
|
188
189
|
createSiteToSiteVpnAttachment(args: CreateSiteToSiteVpnAttachmentCommandInput, cb: (err: any, data?: CreateSiteToSiteVpnAttachmentCommandOutput) => void): void;
|
|
@@ -232,7 +233,7 @@ export declare class NetworkManager extends NetworkManagerClient {
|
|
|
232
233
|
deleteDevice(args: DeleteDeviceCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteDeviceCommandOutput) => void): void;
|
|
233
234
|
/**
|
|
234
235
|
* <p>Deletes an existing global network. You must first delete all global network objects
|
|
235
|
-
* (devices, links, and sites)
|
|
236
|
+
* (devices, links, and sites), deregister all transit gateways, and delete any core networks.</p>
|
|
236
237
|
*/
|
|
237
238
|
deleteGlobalNetwork(args: DeleteGlobalNetworkCommandInput, options?: __HttpHandlerOptions): Promise<DeleteGlobalNetworkCommandOutput>;
|
|
238
239
|
deleteGlobalNetwork(args: DeleteGlobalNetworkCommandInput, cb: (err: any, data?: DeleteGlobalNetworkCommandOutput) => void): void;
|
|
@@ -328,7 +329,7 @@ export declare class NetworkManager extends NetworkManagerClient {
|
|
|
328
329
|
getConnectPeerAssociations(args: GetConnectPeerAssociationsCommandInput, cb: (err: any, data?: GetConnectPeerAssociationsCommandOutput) => void): void;
|
|
329
330
|
getConnectPeerAssociations(args: GetConnectPeerAssociationsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: GetConnectPeerAssociationsCommandOutput) => void): void;
|
|
330
331
|
/**
|
|
331
|
-
* <p>Returns information about
|
|
332
|
+
* <p>Returns information about the LIVE policy for a core network.</p>
|
|
332
333
|
*/
|
|
333
334
|
getCoreNetwork(args: GetCoreNetworkCommandInput, options?: __HttpHandlerOptions): Promise<GetCoreNetworkCommandOutput>;
|
|
334
335
|
getCoreNetwork(args: GetCoreNetworkCommandInput, cb: (err: any, data?: GetCoreNetworkCommandOutput) => void): void;
|
|
@@ -470,6 +471,9 @@ export declare class NetworkManager extends NetworkManagerClient {
|
|
|
470
471
|
listCoreNetworks(args: ListCoreNetworksCommandInput, options?: __HttpHandlerOptions): Promise<ListCoreNetworksCommandOutput>;
|
|
471
472
|
listCoreNetworks(args: ListCoreNetworksCommandInput, cb: (err: any, data?: ListCoreNetworksCommandOutput) => void): void;
|
|
472
473
|
listCoreNetworks(args: ListCoreNetworksCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListCoreNetworksCommandOutput) => void): void;
|
|
474
|
+
listOrganizationServiceAccessStatus(args: ListOrganizationServiceAccessStatusCommandInput, options?: __HttpHandlerOptions): Promise<ListOrganizationServiceAccessStatusCommandOutput>;
|
|
475
|
+
listOrganizationServiceAccessStatus(args: ListOrganizationServiceAccessStatusCommandInput, cb: (err: any, data?: ListOrganizationServiceAccessStatusCommandOutput) => void): void;
|
|
476
|
+
listOrganizationServiceAccessStatus(args: ListOrganizationServiceAccessStatusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: ListOrganizationServiceAccessStatusCommandOutput) => void): void;
|
|
473
477
|
/**
|
|
474
478
|
* <p>Lists the tags for a specified resource.</p>
|
|
475
479
|
*/
|
|
@@ -508,6 +512,9 @@ export declare class NetworkManager extends NetworkManagerClient {
|
|
|
508
512
|
restoreCoreNetworkPolicyVersion(args: RestoreCoreNetworkPolicyVersionCommandInput, options?: __HttpHandlerOptions): Promise<RestoreCoreNetworkPolicyVersionCommandOutput>;
|
|
509
513
|
restoreCoreNetworkPolicyVersion(args: RestoreCoreNetworkPolicyVersionCommandInput, cb: (err: any, data?: RestoreCoreNetworkPolicyVersionCommandOutput) => void): void;
|
|
510
514
|
restoreCoreNetworkPolicyVersion(args: RestoreCoreNetworkPolicyVersionCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: RestoreCoreNetworkPolicyVersionCommandOutput) => void): void;
|
|
515
|
+
startOrganizationServiceAccessUpdate(args: StartOrganizationServiceAccessUpdateCommandInput, options?: __HttpHandlerOptions): Promise<StartOrganizationServiceAccessUpdateCommandOutput>;
|
|
516
|
+
startOrganizationServiceAccessUpdate(args: StartOrganizationServiceAccessUpdateCommandInput, cb: (err: any, data?: StartOrganizationServiceAccessUpdateCommandOutput) => void): void;
|
|
517
|
+
startOrganizationServiceAccessUpdate(args: StartOrganizationServiceAccessUpdateCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: StartOrganizationServiceAccessUpdateCommandOutput) => void): void;
|
|
511
518
|
/**
|
|
512
519
|
* <p>Starts analyzing the routing path between the specified source and destination. For more information,
|
|
513
520
|
* see <a href="https://docs.aws.amazon.com/vpc/latest/tgw/route-analyzer.html">Route Analyzer</a>.</p>
|
|
@@ -65,12 +65,14 @@ import { ListAttachmentsCommandInput, ListAttachmentsCommandOutput } from "./com
|
|
|
65
65
|
import { ListConnectPeersCommandInput, ListConnectPeersCommandOutput } from "./commands/ListConnectPeersCommand";
|
|
66
66
|
import { ListCoreNetworkPolicyVersionsCommandInput, ListCoreNetworkPolicyVersionsCommandOutput } from "./commands/ListCoreNetworkPolicyVersionsCommand";
|
|
67
67
|
import { ListCoreNetworksCommandInput, ListCoreNetworksCommandOutput } from "./commands/ListCoreNetworksCommand";
|
|
68
|
+
import { ListOrganizationServiceAccessStatusCommandInput, ListOrganizationServiceAccessStatusCommandOutput } from "./commands/ListOrganizationServiceAccessStatusCommand";
|
|
68
69
|
import { ListTagsForResourceCommandInput, ListTagsForResourceCommandOutput } from "./commands/ListTagsForResourceCommand";
|
|
69
70
|
import { PutCoreNetworkPolicyCommandInput, PutCoreNetworkPolicyCommandOutput } from "./commands/PutCoreNetworkPolicyCommand";
|
|
70
71
|
import { PutResourcePolicyCommandInput, PutResourcePolicyCommandOutput } from "./commands/PutResourcePolicyCommand";
|
|
71
72
|
import { RegisterTransitGatewayCommandInput, RegisterTransitGatewayCommandOutput } from "./commands/RegisterTransitGatewayCommand";
|
|
72
73
|
import { RejectAttachmentCommandInput, RejectAttachmentCommandOutput } from "./commands/RejectAttachmentCommand";
|
|
73
74
|
import { RestoreCoreNetworkPolicyVersionCommandInput, RestoreCoreNetworkPolicyVersionCommandOutput } from "./commands/RestoreCoreNetworkPolicyVersionCommand";
|
|
75
|
+
import { StartOrganizationServiceAccessUpdateCommandInput, StartOrganizationServiceAccessUpdateCommandOutput } from "./commands/StartOrganizationServiceAccessUpdateCommand";
|
|
74
76
|
import { StartRouteAnalysisCommandInput, StartRouteAnalysisCommandOutput } from "./commands/StartRouteAnalysisCommand";
|
|
75
77
|
import { TagResourceCommandInput, TagResourceCommandOutput } from "./commands/TagResourceCommand";
|
|
76
78
|
import { UntagResourceCommandInput, UntagResourceCommandOutput } from "./commands/UntagResourceCommand";
|
|
@@ -82,8 +84,8 @@ import { UpdateLinkCommandInput, UpdateLinkCommandOutput } from "./commands/Upda
|
|
|
82
84
|
import { UpdateNetworkResourceMetadataCommandInput, UpdateNetworkResourceMetadataCommandOutput } from "./commands/UpdateNetworkResourceMetadataCommand";
|
|
83
85
|
import { UpdateSiteCommandInput, UpdateSiteCommandOutput } from "./commands/UpdateSiteCommand";
|
|
84
86
|
import { UpdateVpcAttachmentCommandInput, UpdateVpcAttachmentCommandOutput } from "./commands/UpdateVpcAttachmentCommand";
|
|
85
|
-
export declare type ServiceInputTypes = AcceptAttachmentCommandInput | AssociateConnectPeerCommandInput | AssociateCustomerGatewayCommandInput | AssociateLinkCommandInput | AssociateTransitGatewayConnectPeerCommandInput | CreateConnectAttachmentCommandInput | CreateConnectPeerCommandInput | CreateConnectionCommandInput | CreateCoreNetworkCommandInput | CreateDeviceCommandInput | CreateGlobalNetworkCommandInput | CreateLinkCommandInput | CreateSiteCommandInput | CreateSiteToSiteVpnAttachmentCommandInput | CreateVpcAttachmentCommandInput | DeleteAttachmentCommandInput | DeleteConnectPeerCommandInput | DeleteConnectionCommandInput | DeleteCoreNetworkCommandInput | DeleteCoreNetworkPolicyVersionCommandInput | DeleteDeviceCommandInput | DeleteGlobalNetworkCommandInput | DeleteLinkCommandInput | DeleteResourcePolicyCommandInput | DeleteSiteCommandInput | DeregisterTransitGatewayCommandInput | DescribeGlobalNetworksCommandInput | DisassociateConnectPeerCommandInput | DisassociateCustomerGatewayCommandInput | DisassociateLinkCommandInput | DisassociateTransitGatewayConnectPeerCommandInput | ExecuteCoreNetworkChangeSetCommandInput | GetConnectAttachmentCommandInput | GetConnectPeerAssociationsCommandInput | GetConnectPeerCommandInput | GetConnectionsCommandInput | GetCoreNetworkChangeSetCommandInput | GetCoreNetworkCommandInput | GetCoreNetworkPolicyCommandInput | GetCustomerGatewayAssociationsCommandInput | GetDevicesCommandInput | GetLinkAssociationsCommandInput | GetLinksCommandInput | GetNetworkResourceCountsCommandInput | GetNetworkResourceRelationshipsCommandInput | GetNetworkResourcesCommandInput | GetNetworkRoutesCommandInput | GetNetworkTelemetryCommandInput | GetResourcePolicyCommandInput | GetRouteAnalysisCommandInput | GetSiteToSiteVpnAttachmentCommandInput | GetSitesCommandInput | GetTransitGatewayConnectPeerAssociationsCommandInput | GetTransitGatewayRegistrationsCommandInput | GetVpcAttachmentCommandInput | ListAttachmentsCommandInput | ListConnectPeersCommandInput | ListCoreNetworkPolicyVersionsCommandInput | ListCoreNetworksCommandInput | ListTagsForResourceCommandInput | PutCoreNetworkPolicyCommandInput | PutResourcePolicyCommandInput | RegisterTransitGatewayCommandInput | RejectAttachmentCommandInput | RestoreCoreNetworkPolicyVersionCommandInput | StartRouteAnalysisCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateConnectionCommandInput | UpdateCoreNetworkCommandInput | UpdateDeviceCommandInput | UpdateGlobalNetworkCommandInput | UpdateLinkCommandInput | UpdateNetworkResourceMetadataCommandInput | UpdateSiteCommandInput | UpdateVpcAttachmentCommandInput;
|
|
86
|
-
export declare type ServiceOutputTypes = AcceptAttachmentCommandOutput | AssociateConnectPeerCommandOutput | AssociateCustomerGatewayCommandOutput | AssociateLinkCommandOutput | AssociateTransitGatewayConnectPeerCommandOutput | CreateConnectAttachmentCommandOutput | CreateConnectPeerCommandOutput | CreateConnectionCommandOutput | CreateCoreNetworkCommandOutput | CreateDeviceCommandOutput | CreateGlobalNetworkCommandOutput | CreateLinkCommandOutput | CreateSiteCommandOutput | CreateSiteToSiteVpnAttachmentCommandOutput | CreateVpcAttachmentCommandOutput | DeleteAttachmentCommandOutput | DeleteConnectPeerCommandOutput | DeleteConnectionCommandOutput | DeleteCoreNetworkCommandOutput | DeleteCoreNetworkPolicyVersionCommandOutput | DeleteDeviceCommandOutput | DeleteGlobalNetworkCommandOutput | DeleteLinkCommandOutput | DeleteResourcePolicyCommandOutput | DeleteSiteCommandOutput | DeregisterTransitGatewayCommandOutput | DescribeGlobalNetworksCommandOutput | DisassociateConnectPeerCommandOutput | DisassociateCustomerGatewayCommandOutput | DisassociateLinkCommandOutput | DisassociateTransitGatewayConnectPeerCommandOutput | ExecuteCoreNetworkChangeSetCommandOutput | GetConnectAttachmentCommandOutput | GetConnectPeerAssociationsCommandOutput | GetConnectPeerCommandOutput | GetConnectionsCommandOutput | GetCoreNetworkChangeSetCommandOutput | GetCoreNetworkCommandOutput | GetCoreNetworkPolicyCommandOutput | GetCustomerGatewayAssociationsCommandOutput | GetDevicesCommandOutput | GetLinkAssociationsCommandOutput | GetLinksCommandOutput | GetNetworkResourceCountsCommandOutput | GetNetworkResourceRelationshipsCommandOutput | GetNetworkResourcesCommandOutput | GetNetworkRoutesCommandOutput | GetNetworkTelemetryCommandOutput | GetResourcePolicyCommandOutput | GetRouteAnalysisCommandOutput | GetSiteToSiteVpnAttachmentCommandOutput | GetSitesCommandOutput | GetTransitGatewayConnectPeerAssociationsCommandOutput | GetTransitGatewayRegistrationsCommandOutput | GetVpcAttachmentCommandOutput | ListAttachmentsCommandOutput | ListConnectPeersCommandOutput | ListCoreNetworkPolicyVersionsCommandOutput | ListCoreNetworksCommandOutput | ListTagsForResourceCommandOutput | PutCoreNetworkPolicyCommandOutput | PutResourcePolicyCommandOutput | RegisterTransitGatewayCommandOutput | RejectAttachmentCommandOutput | RestoreCoreNetworkPolicyVersionCommandOutput | StartRouteAnalysisCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateConnectionCommandOutput | UpdateCoreNetworkCommandOutput | UpdateDeviceCommandOutput | UpdateGlobalNetworkCommandOutput | UpdateLinkCommandOutput | UpdateNetworkResourceMetadataCommandOutput | UpdateSiteCommandOutput | UpdateVpcAttachmentCommandOutput;
|
|
87
|
+
export declare type ServiceInputTypes = AcceptAttachmentCommandInput | AssociateConnectPeerCommandInput | AssociateCustomerGatewayCommandInput | AssociateLinkCommandInput | AssociateTransitGatewayConnectPeerCommandInput | CreateConnectAttachmentCommandInput | CreateConnectPeerCommandInput | CreateConnectionCommandInput | CreateCoreNetworkCommandInput | CreateDeviceCommandInput | CreateGlobalNetworkCommandInput | CreateLinkCommandInput | CreateSiteCommandInput | CreateSiteToSiteVpnAttachmentCommandInput | CreateVpcAttachmentCommandInput | DeleteAttachmentCommandInput | DeleteConnectPeerCommandInput | DeleteConnectionCommandInput | DeleteCoreNetworkCommandInput | DeleteCoreNetworkPolicyVersionCommandInput | DeleteDeviceCommandInput | DeleteGlobalNetworkCommandInput | DeleteLinkCommandInput | DeleteResourcePolicyCommandInput | DeleteSiteCommandInput | DeregisterTransitGatewayCommandInput | DescribeGlobalNetworksCommandInput | DisassociateConnectPeerCommandInput | DisassociateCustomerGatewayCommandInput | DisassociateLinkCommandInput | DisassociateTransitGatewayConnectPeerCommandInput | ExecuteCoreNetworkChangeSetCommandInput | GetConnectAttachmentCommandInput | GetConnectPeerAssociationsCommandInput | GetConnectPeerCommandInput | GetConnectionsCommandInput | GetCoreNetworkChangeSetCommandInput | GetCoreNetworkCommandInput | GetCoreNetworkPolicyCommandInput | GetCustomerGatewayAssociationsCommandInput | GetDevicesCommandInput | GetLinkAssociationsCommandInput | GetLinksCommandInput | GetNetworkResourceCountsCommandInput | GetNetworkResourceRelationshipsCommandInput | GetNetworkResourcesCommandInput | GetNetworkRoutesCommandInput | GetNetworkTelemetryCommandInput | GetResourcePolicyCommandInput | GetRouteAnalysisCommandInput | GetSiteToSiteVpnAttachmentCommandInput | GetSitesCommandInput | GetTransitGatewayConnectPeerAssociationsCommandInput | GetTransitGatewayRegistrationsCommandInput | GetVpcAttachmentCommandInput | ListAttachmentsCommandInput | ListConnectPeersCommandInput | ListCoreNetworkPolicyVersionsCommandInput | ListCoreNetworksCommandInput | ListOrganizationServiceAccessStatusCommandInput | ListTagsForResourceCommandInput | PutCoreNetworkPolicyCommandInput | PutResourcePolicyCommandInput | RegisterTransitGatewayCommandInput | RejectAttachmentCommandInput | RestoreCoreNetworkPolicyVersionCommandInput | StartOrganizationServiceAccessUpdateCommandInput | StartRouteAnalysisCommandInput | TagResourceCommandInput | UntagResourceCommandInput | UpdateConnectionCommandInput | UpdateCoreNetworkCommandInput | UpdateDeviceCommandInput | UpdateGlobalNetworkCommandInput | UpdateLinkCommandInput | UpdateNetworkResourceMetadataCommandInput | UpdateSiteCommandInput | UpdateVpcAttachmentCommandInput;
|
|
88
|
+
export declare type ServiceOutputTypes = AcceptAttachmentCommandOutput | AssociateConnectPeerCommandOutput | AssociateCustomerGatewayCommandOutput | AssociateLinkCommandOutput | AssociateTransitGatewayConnectPeerCommandOutput | CreateConnectAttachmentCommandOutput | CreateConnectPeerCommandOutput | CreateConnectionCommandOutput | CreateCoreNetworkCommandOutput | CreateDeviceCommandOutput | CreateGlobalNetworkCommandOutput | CreateLinkCommandOutput | CreateSiteCommandOutput | CreateSiteToSiteVpnAttachmentCommandOutput | CreateVpcAttachmentCommandOutput | DeleteAttachmentCommandOutput | DeleteConnectPeerCommandOutput | DeleteConnectionCommandOutput | DeleteCoreNetworkCommandOutput | DeleteCoreNetworkPolicyVersionCommandOutput | DeleteDeviceCommandOutput | DeleteGlobalNetworkCommandOutput | DeleteLinkCommandOutput | DeleteResourcePolicyCommandOutput | DeleteSiteCommandOutput | DeregisterTransitGatewayCommandOutput | DescribeGlobalNetworksCommandOutput | DisassociateConnectPeerCommandOutput | DisassociateCustomerGatewayCommandOutput | DisassociateLinkCommandOutput | DisassociateTransitGatewayConnectPeerCommandOutput | ExecuteCoreNetworkChangeSetCommandOutput | GetConnectAttachmentCommandOutput | GetConnectPeerAssociationsCommandOutput | GetConnectPeerCommandOutput | GetConnectionsCommandOutput | GetCoreNetworkChangeSetCommandOutput | GetCoreNetworkCommandOutput | GetCoreNetworkPolicyCommandOutput | GetCustomerGatewayAssociationsCommandOutput | GetDevicesCommandOutput | GetLinkAssociationsCommandOutput | GetLinksCommandOutput | GetNetworkResourceCountsCommandOutput | GetNetworkResourceRelationshipsCommandOutput | GetNetworkResourcesCommandOutput | GetNetworkRoutesCommandOutput | GetNetworkTelemetryCommandOutput | GetResourcePolicyCommandOutput | GetRouteAnalysisCommandOutput | GetSiteToSiteVpnAttachmentCommandOutput | GetSitesCommandOutput | GetTransitGatewayConnectPeerAssociationsCommandOutput | GetTransitGatewayRegistrationsCommandOutput | GetVpcAttachmentCommandOutput | ListAttachmentsCommandOutput | ListConnectPeersCommandOutput | ListCoreNetworkPolicyVersionsCommandOutput | ListCoreNetworksCommandOutput | ListOrganizationServiceAccessStatusCommandOutput | ListTagsForResourceCommandOutput | PutCoreNetworkPolicyCommandOutput | PutResourcePolicyCommandOutput | RegisterTransitGatewayCommandOutput | RejectAttachmentCommandOutput | RestoreCoreNetworkPolicyVersionCommandOutput | StartOrganizationServiceAccessUpdateCommandOutput | StartRouteAnalysisCommandOutput | TagResourceCommandOutput | UntagResourceCommandOutput | UpdateConnectionCommandOutput | UpdateCoreNetworkCommandOutput | UpdateDeviceCommandOutput | UpdateGlobalNetworkCommandOutput | UpdateLinkCommandOutput | UpdateNetworkResourceMetadataCommandOutput | UpdateSiteCommandOutput | UpdateVpcAttachmentCommandOutput;
|
|
87
89
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
88
90
|
/**
|
|
89
91
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -202,8 +204,7 @@ declare type NetworkManagerClientResolvedConfigType = __SmithyResolvedConfigurat
|
|
|
202
204
|
export interface NetworkManagerClientResolvedConfig extends NetworkManagerClientResolvedConfigType {
|
|
203
205
|
}
|
|
204
206
|
/**
|
|
205
|
-
* <p>
|
|
206
|
-
* Amazon Web Services and on-premises networks that are built around transit gateways.</p>
|
|
207
|
+
* <p>Amazon Web Services enables you to centrally manage your Amazon Web Services Cloud WAN core network and your Transit Gateway network across Amazon Web Services accounts, Regions, and on-premises locations.</p>
|
|
207
208
|
*/
|
|
208
209
|
export declare class NetworkManagerClient extends __Client<__HttpHandlerOptions, ServiceInputTypes, ServiceOutputTypes, NetworkManagerClientResolvedConfig> {
|
|
209
210
|
/**
|
|
@@ -10,8 +10,8 @@ export interface AssociateCustomerGatewayCommandOutput extends AssociateCustomer
|
|
|
10
10
|
* <p>Associates a customer gateway with a device and optionally, with a link. If you
|
|
11
11
|
* specify a link, it must be associated with the specified device. </p>
|
|
12
12
|
* <p>You can only associate customer gateways that are connected to a VPN attachment on a
|
|
13
|
-
* transit gateway
|
|
14
|
-
*
|
|
13
|
+
* transit gateway or core network registered in your global network. When you register a
|
|
14
|
+
* transit gateway or core network, customer gateways that are connected to the transit
|
|
15
15
|
* gateway are automatically included in the global network. To list customer gateways
|
|
16
16
|
* 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
|
|
17
17
|
* <code>transit-gateway-id</code>.</p>
|
|
@@ -7,7 +7,7 @@ export interface CreateConnectPeerCommandInput extends CreateConnectPeerRequest
|
|
|
7
7
|
export interface CreateConnectPeerCommandOutput extends CreateConnectPeerResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Creates a core network
|
|
10
|
+
* <p>Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance.
|
|
11
11
|
* The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
@@ -7,7 +7,7 @@ export interface CreateSiteToSiteVpnAttachmentCommandInput extends CreateSiteToS
|
|
|
7
7
|
export interface CreateSiteToSiteVpnAttachmentCommandOutput extends CreateSiteToSiteVpnAttachmentResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Creates
|
|
10
|
+
* <p>Creates an Amazon Web Services site-to-site VPN attachment on an edge location of a core network.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -8,7 +8,7 @@ export interface DeleteGlobalNetworkCommandOutput extends DeleteGlobalNetworkRes
|
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* <p>Deletes an existing global network. You must first delete all global network objects
|
|
11
|
-
* (devices, links, and sites)
|
|
11
|
+
* (devices, links, and sites), deregister all transit gateways, and delete any core networks.</p>
|
|
12
12
|
* @example
|
|
13
13
|
* Use a bare-bones client and the command you need to make an API call.
|
|
14
14
|
* ```javascript
|
|
@@ -7,7 +7,7 @@ export interface GetCoreNetworkCommandInput extends GetCoreNetworkRequest {
|
|
|
7
7
|
export interface GetCoreNetworkCommandOutput extends GetCoreNetworkResponse, __MetadataBearer {
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
|
-
* <p>Returns information about
|
|
10
|
+
* <p>Returns information about the LIVE policy for a core network.</p>
|
|
11
11
|
* @example
|
|
12
12
|
* Use a bare-bones client and the command you need to make an API call.
|
|
13
13
|
* ```javascript
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { ListOrganizationServiceAccessStatusRequest, ListOrganizationServiceAccessStatusResponse } from "../models/models_0";
|
|
4
|
+
import { NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkManagerClient";
|
|
5
|
+
export interface ListOrganizationServiceAccessStatusCommandInput extends ListOrganizationServiceAccessStatusRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface ListOrganizationServiceAccessStatusCommandOutput extends ListOrganizationServiceAccessStatusResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
export declare class ListOrganizationServiceAccessStatusCommand extends $Command<ListOrganizationServiceAccessStatusCommandInput, ListOrganizationServiceAccessStatusCommandOutput, NetworkManagerClientResolvedConfig> {
|
|
10
|
+
readonly input: ListOrganizationServiceAccessStatusCommandInput;
|
|
11
|
+
constructor(input: ListOrganizationServiceAccessStatusCommandInput);
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<ListOrganizationServiceAccessStatusCommandInput, ListOrganizationServiceAccessStatusCommandOutput>;
|
|
16
|
+
private serialize;
|
|
17
|
+
private deserialize;
|
|
18
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Command as $Command } from "@aws-sdk/smithy-client";
|
|
2
|
+
import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@aws-sdk/types";
|
|
3
|
+
import { StartOrganizationServiceAccessUpdateRequest, StartOrganizationServiceAccessUpdateResponse } from "../models/models_0";
|
|
4
|
+
import { NetworkManagerClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../NetworkManagerClient";
|
|
5
|
+
export interface StartOrganizationServiceAccessUpdateCommandInput extends StartOrganizationServiceAccessUpdateRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface StartOrganizationServiceAccessUpdateCommandOutput extends StartOrganizationServiceAccessUpdateResponse, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
export declare class StartOrganizationServiceAccessUpdateCommand extends $Command<StartOrganizationServiceAccessUpdateCommandInput, StartOrganizationServiceAccessUpdateCommandOutput, NetworkManagerClientResolvedConfig> {
|
|
10
|
+
readonly input: StartOrganizationServiceAccessUpdateCommandInput;
|
|
11
|
+
constructor(input: StartOrganizationServiceAccessUpdateCommandInput);
|
|
12
|
+
/**
|
|
13
|
+
* @internal
|
|
14
|
+
*/
|
|
15
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: NetworkManagerClientResolvedConfig, options?: __HttpHandlerOptions): Handler<StartOrganizationServiceAccessUpdateCommandInput, StartOrganizationServiceAccessUpdateCommandOutput>;
|
|
16
|
+
private serialize;
|
|
17
|
+
private deserialize;
|
|
18
|
+
}
|
|
@@ -57,12 +57,14 @@ export * from "./ListAttachmentsCommand";
|
|
|
57
57
|
export * from "./ListConnectPeersCommand";
|
|
58
58
|
export * from "./ListCoreNetworkPolicyVersionsCommand";
|
|
59
59
|
export * from "./ListCoreNetworksCommand";
|
|
60
|
+
export * from "./ListOrganizationServiceAccessStatusCommand";
|
|
60
61
|
export * from "./ListTagsForResourceCommand";
|
|
61
62
|
export * from "./PutCoreNetworkPolicyCommand";
|
|
62
63
|
export * from "./PutResourcePolicyCommand";
|
|
63
64
|
export * from "./RegisterTransitGatewayCommand";
|
|
64
65
|
export * from "./RejectAttachmentCommand";
|
|
65
66
|
export * from "./RestoreCoreNetworkPolicyVersionCommand";
|
|
67
|
+
export * from "./StartOrganizationServiceAccessUpdateCommand";
|
|
66
68
|
export * from "./StartRouteAnalysisCommand";
|
|
67
69
|
export * from "./TagResourceCommand";
|
|
68
70
|
export * from "./UntagResourceCommand";
|