@aws-sdk/client-workspaces 3.47.2 → 3.51.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 +35 -0
- package/dist-cjs/WorkSpaces.js +60 -0
- package/dist-cjs/commands/CreateConnectClientAddInCommand.js +36 -0
- package/dist-cjs/commands/DeleteConnectClientAddInCommand.js +36 -0
- package/dist-cjs/commands/DescribeConnectClientAddInsCommand.js +36 -0
- package/dist-cjs/commands/UpdateConnectClientAddInCommand.js +36 -0
- package/dist-cjs/commands/index.js +4 -0
- package/dist-cjs/models/models_0.js +58 -4
- package/dist-cjs/protocols/Aws_json1_1.js +376 -3
- package/dist-es/WorkSpaces.js +60 -0
- package/dist-es/commands/CreateConnectClientAddInCommand.js +39 -0
- package/dist-es/commands/DeleteConnectClientAddInCommand.js +39 -0
- package/dist-es/commands/DescribeConnectClientAddInsCommand.js +39 -0
- package/dist-es/commands/UpdateConnectClientAddInCommand.js +39 -0
- package/dist-es/commands/index.js +4 -0
- package/dist-es/models/models_0.js +36 -0
- package/dist-es/protocols/Aws_json1_1.js +397 -0
- package/dist-types/WorkSpaces.d.ts +33 -0
- package/dist-types/WorkSpacesClient.d.ts +6 -2
- package/dist-types/commands/CreateConnectClientAddInCommand.d.ts +38 -0
- package/dist-types/commands/DeleteConnectClientAddInCommand.d.ts +36 -0
- package/dist-types/commands/DescribeConnectClientAddInsCommand.d.ts +35 -0
- package/dist-types/commands/UpdateConnectClientAddInCommand.d.ts +36 -0
- package/dist-types/commands/index.d.ts +4 -0
- package/dist-types/models/models_0.d.ts +161 -8
- package/dist-types/protocols/Aws_json1_1.d.ts +12 -0
- package/dist-types/ts3.4/WorkSpaces.d.ts +20 -0
- package/dist-types/ts3.4/WorkSpacesClient.d.ts +6 -2
- package/dist-types/ts3.4/commands/CreateConnectClientAddInCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DeleteConnectClientAddInCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/DescribeConnectClientAddInsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateConnectClientAddInCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +4 -0
- package/dist-types/ts3.4/models/models_0.d.ts +99 -6
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +12 -0
- package/package.json +39 -33
|
@@ -45,6 +45,17 @@ export var serializeAws_json1_1CopyWorkspaceImageCommand = function (input, cont
|
|
|
45
45
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
46
46
|
});
|
|
47
47
|
}); };
|
|
48
|
+
export var serializeAws_json1_1CreateConnectClientAddInCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
49
|
+
var headers, body;
|
|
50
|
+
return __generator(this, function (_a) {
|
|
51
|
+
headers = {
|
|
52
|
+
"content-type": "application/x-amz-json-1.1",
|
|
53
|
+
"x-amz-target": "WorkspacesService.CreateConnectClientAddIn",
|
|
54
|
+
};
|
|
55
|
+
body = JSON.stringify(serializeAws_json1_1CreateConnectClientAddInRequest(input, context));
|
|
56
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
57
|
+
});
|
|
58
|
+
}); };
|
|
48
59
|
export var serializeAws_json1_1CreateConnectionAliasCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
49
60
|
var headers, body;
|
|
50
61
|
return __generator(this, function (_a) {
|
|
@@ -111,6 +122,17 @@ export var serializeAws_json1_1CreateWorkspacesCommand = function (input, contex
|
|
|
111
122
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
112
123
|
});
|
|
113
124
|
}); };
|
|
125
|
+
export var serializeAws_json1_1DeleteConnectClientAddInCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
126
|
+
var headers, body;
|
|
127
|
+
return __generator(this, function (_a) {
|
|
128
|
+
headers = {
|
|
129
|
+
"content-type": "application/x-amz-json-1.1",
|
|
130
|
+
"x-amz-target": "WorkspacesService.DeleteConnectClientAddIn",
|
|
131
|
+
};
|
|
132
|
+
body = JSON.stringify(serializeAws_json1_1DeleteConnectClientAddInRequest(input, context));
|
|
133
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
134
|
+
});
|
|
135
|
+
}); };
|
|
114
136
|
export var serializeAws_json1_1DeleteConnectionAliasCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
115
137
|
var headers, body;
|
|
116
138
|
return __generator(this, function (_a) {
|
|
@@ -210,6 +232,17 @@ export var serializeAws_json1_1DescribeClientPropertiesCommand = function (input
|
|
|
210
232
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
211
233
|
});
|
|
212
234
|
}); };
|
|
235
|
+
export var serializeAws_json1_1DescribeConnectClientAddInsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
236
|
+
var headers, body;
|
|
237
|
+
return __generator(this, function (_a) {
|
|
238
|
+
headers = {
|
|
239
|
+
"content-type": "application/x-amz-json-1.1",
|
|
240
|
+
"x-amz-target": "WorkspacesService.DescribeConnectClientAddIns",
|
|
241
|
+
};
|
|
242
|
+
body = JSON.stringify(serializeAws_json1_1DescribeConnectClientAddInsRequest(input, context));
|
|
243
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
244
|
+
});
|
|
245
|
+
}); };
|
|
213
246
|
export var serializeAws_json1_1DescribeConnectionAliasesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
214
247
|
var headers, body;
|
|
215
248
|
return __generator(this, function (_a) {
|
|
@@ -551,6 +584,17 @@ export var serializeAws_json1_1TerminateWorkspacesCommand = function (input, con
|
|
|
551
584
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
552
585
|
});
|
|
553
586
|
}); };
|
|
587
|
+
export var serializeAws_json1_1UpdateConnectClientAddInCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
588
|
+
var headers, body;
|
|
589
|
+
return __generator(this, function (_a) {
|
|
590
|
+
headers = {
|
|
591
|
+
"content-type": "application/x-amz-json-1.1",
|
|
592
|
+
"x-amz-target": "WorkspacesService.UpdateConnectClientAddIn",
|
|
593
|
+
};
|
|
594
|
+
body = JSON.stringify(serializeAws_json1_1UpdateConnectClientAddInRequest(input, context));
|
|
595
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
596
|
+
});
|
|
597
|
+
}); };
|
|
554
598
|
export var serializeAws_json1_1UpdateConnectionAliasPermissionCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
555
599
|
var headers, body;
|
|
556
600
|
return __generator(this, function (_a) {
|
|
@@ -979,6 +1023,94 @@ var deserializeAws_json1_1CopyWorkspaceImageCommandError = function (output, con
|
|
|
979
1023
|
}
|
|
980
1024
|
});
|
|
981
1025
|
}); };
|
|
1026
|
+
export var deserializeAws_json1_1CreateConnectClientAddInCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1027
|
+
var data, contents, response;
|
|
1028
|
+
return __generator(this, function (_a) {
|
|
1029
|
+
switch (_a.label) {
|
|
1030
|
+
case 0:
|
|
1031
|
+
if (output.statusCode >= 300) {
|
|
1032
|
+
return [2, deserializeAws_json1_1CreateConnectClientAddInCommandError(output, context)];
|
|
1033
|
+
}
|
|
1034
|
+
return [4, parseBody(output.body, context)];
|
|
1035
|
+
case 1:
|
|
1036
|
+
data = _a.sent();
|
|
1037
|
+
contents = {};
|
|
1038
|
+
contents = deserializeAws_json1_1CreateConnectClientAddInResult(data, context);
|
|
1039
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1040
|
+
return [2, Promise.resolve(response)];
|
|
1041
|
+
}
|
|
1042
|
+
});
|
|
1043
|
+
}); };
|
|
1044
|
+
var deserializeAws_json1_1CreateConnectClientAddInCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1045
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, _f, _g, parsedBody, message;
|
|
1046
|
+
var _h;
|
|
1047
|
+
return __generator(this, function (_j) {
|
|
1048
|
+
switch (_j.label) {
|
|
1049
|
+
case 0:
|
|
1050
|
+
_a = [__assign({}, output)];
|
|
1051
|
+
_h = {};
|
|
1052
|
+
return [4, parseBody(output.body, context)];
|
|
1053
|
+
case 1:
|
|
1054
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_h.body = _j.sent(), _h)]));
|
|
1055
|
+
errorCode = "UnknownError";
|
|
1056
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1057
|
+
_b = errorCode;
|
|
1058
|
+
switch (_b) {
|
|
1059
|
+
case "AccessDeniedException": return [3, 2];
|
|
1060
|
+
case "com.amazonaws.workspaces#AccessDeniedException": return [3, 2];
|
|
1061
|
+
case "InvalidParameterValuesException": return [3, 4];
|
|
1062
|
+
case "com.amazonaws.workspaces#InvalidParameterValuesException": return [3, 4];
|
|
1063
|
+
case "ResourceAlreadyExistsException": return [3, 6];
|
|
1064
|
+
case "com.amazonaws.workspaces#ResourceAlreadyExistsException": return [3, 6];
|
|
1065
|
+
case "ResourceCreationFailedException": return [3, 8];
|
|
1066
|
+
case "com.amazonaws.workspaces#ResourceCreationFailedException": return [3, 8];
|
|
1067
|
+
case "ResourceNotFoundException": return [3, 10];
|
|
1068
|
+
case "com.amazonaws.workspaces#ResourceNotFoundException": return [3, 10];
|
|
1069
|
+
}
|
|
1070
|
+
return [3, 12];
|
|
1071
|
+
case 2:
|
|
1072
|
+
_c = [{}];
|
|
1073
|
+
return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1074
|
+
case 3:
|
|
1075
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1076
|
+
return [3, 13];
|
|
1077
|
+
case 4:
|
|
1078
|
+
_d = [{}];
|
|
1079
|
+
return [4, deserializeAws_json1_1InvalidParameterValuesExceptionResponse(parsedOutput, context)];
|
|
1080
|
+
case 5:
|
|
1081
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1082
|
+
return [3, 13];
|
|
1083
|
+
case 6:
|
|
1084
|
+
_e = [{}];
|
|
1085
|
+
return [4, deserializeAws_json1_1ResourceAlreadyExistsExceptionResponse(parsedOutput, context)];
|
|
1086
|
+
case 7:
|
|
1087
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1088
|
+
return [3, 13];
|
|
1089
|
+
case 8:
|
|
1090
|
+
_f = [{}];
|
|
1091
|
+
return [4, deserializeAws_json1_1ResourceCreationFailedExceptionResponse(parsedOutput, context)];
|
|
1092
|
+
case 9:
|
|
1093
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _f.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1094
|
+
return [3, 13];
|
|
1095
|
+
case 10:
|
|
1096
|
+
_g = [{}];
|
|
1097
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1098
|
+
case 11:
|
|
1099
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _g.concat([(_j.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1100
|
+
return [3, 13];
|
|
1101
|
+
case 12:
|
|
1102
|
+
parsedBody = parsedOutput.body;
|
|
1103
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
1104
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
1105
|
+
_j.label = 13;
|
|
1106
|
+
case 13:
|
|
1107
|
+
message = response.message || response.Message || errorCode;
|
|
1108
|
+
response.message = message;
|
|
1109
|
+
delete response.Message;
|
|
1110
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1111
|
+
}
|
|
1112
|
+
});
|
|
1113
|
+
}); };
|
|
982
1114
|
export var deserializeAws_json1_1CreateConnectionAliasCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
983
1115
|
var data, contents, response;
|
|
984
1116
|
return __generator(this, function (_a) {
|
|
@@ -1499,6 +1631,78 @@ var deserializeAws_json1_1CreateWorkspacesCommandError = function (output, conte
|
|
|
1499
1631
|
}
|
|
1500
1632
|
});
|
|
1501
1633
|
}); };
|
|
1634
|
+
export var deserializeAws_json1_1DeleteConnectClientAddInCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1635
|
+
var data, contents, response;
|
|
1636
|
+
return __generator(this, function (_a) {
|
|
1637
|
+
switch (_a.label) {
|
|
1638
|
+
case 0:
|
|
1639
|
+
if (output.statusCode >= 300) {
|
|
1640
|
+
return [2, deserializeAws_json1_1DeleteConnectClientAddInCommandError(output, context)];
|
|
1641
|
+
}
|
|
1642
|
+
return [4, parseBody(output.body, context)];
|
|
1643
|
+
case 1:
|
|
1644
|
+
data = _a.sent();
|
|
1645
|
+
contents = {};
|
|
1646
|
+
contents = deserializeAws_json1_1DeleteConnectClientAddInResult(data, context);
|
|
1647
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
1648
|
+
return [2, Promise.resolve(response)];
|
|
1649
|
+
}
|
|
1650
|
+
});
|
|
1651
|
+
}); };
|
|
1652
|
+
var deserializeAws_json1_1DeleteConnectClientAddInCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1653
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, parsedBody, message;
|
|
1654
|
+
var _f;
|
|
1655
|
+
return __generator(this, function (_g) {
|
|
1656
|
+
switch (_g.label) {
|
|
1657
|
+
case 0:
|
|
1658
|
+
_a = [__assign({}, output)];
|
|
1659
|
+
_f = {};
|
|
1660
|
+
return [4, parseBody(output.body, context)];
|
|
1661
|
+
case 1:
|
|
1662
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
1663
|
+
errorCode = "UnknownError";
|
|
1664
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
1665
|
+
_b = errorCode;
|
|
1666
|
+
switch (_b) {
|
|
1667
|
+
case "AccessDeniedException": return [3, 2];
|
|
1668
|
+
case "com.amazonaws.workspaces#AccessDeniedException": return [3, 2];
|
|
1669
|
+
case "InvalidParameterValuesException": return [3, 4];
|
|
1670
|
+
case "com.amazonaws.workspaces#InvalidParameterValuesException": return [3, 4];
|
|
1671
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
1672
|
+
case "com.amazonaws.workspaces#ResourceNotFoundException": return [3, 6];
|
|
1673
|
+
}
|
|
1674
|
+
return [3, 8];
|
|
1675
|
+
case 2:
|
|
1676
|
+
_c = [{}];
|
|
1677
|
+
return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
1678
|
+
case 3:
|
|
1679
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1680
|
+
return [3, 9];
|
|
1681
|
+
case 4:
|
|
1682
|
+
_d = [{}];
|
|
1683
|
+
return [4, deserializeAws_json1_1InvalidParameterValuesExceptionResponse(parsedOutput, context)];
|
|
1684
|
+
case 5:
|
|
1685
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1686
|
+
return [3, 9];
|
|
1687
|
+
case 6:
|
|
1688
|
+
_e = [{}];
|
|
1689
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
1690
|
+
case 7:
|
|
1691
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
1692
|
+
return [3, 9];
|
|
1693
|
+
case 8:
|
|
1694
|
+
parsedBody = parsedOutput.body;
|
|
1695
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
1696
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
1697
|
+
_g.label = 9;
|
|
1698
|
+
case 9:
|
|
1699
|
+
message = response.message || response.Message || errorCode;
|
|
1700
|
+
response.message = message;
|
|
1701
|
+
delete response.Message;
|
|
1702
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
1703
|
+
}
|
|
1704
|
+
});
|
|
1705
|
+
}); };
|
|
1502
1706
|
export var deserializeAws_json1_1DeleteConnectionAliasCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
1503
1707
|
var data, contents, response;
|
|
1504
1708
|
return __generator(this, function (_a) {
|
|
@@ -2163,6 +2367,78 @@ var deserializeAws_json1_1DescribeClientPropertiesCommandError = function (outpu
|
|
|
2163
2367
|
}
|
|
2164
2368
|
});
|
|
2165
2369
|
}); };
|
|
2370
|
+
export var deserializeAws_json1_1DescribeConnectClientAddInsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2371
|
+
var data, contents, response;
|
|
2372
|
+
return __generator(this, function (_a) {
|
|
2373
|
+
switch (_a.label) {
|
|
2374
|
+
case 0:
|
|
2375
|
+
if (output.statusCode >= 300) {
|
|
2376
|
+
return [2, deserializeAws_json1_1DescribeConnectClientAddInsCommandError(output, context)];
|
|
2377
|
+
}
|
|
2378
|
+
return [4, parseBody(output.body, context)];
|
|
2379
|
+
case 1:
|
|
2380
|
+
data = _a.sent();
|
|
2381
|
+
contents = {};
|
|
2382
|
+
contents = deserializeAws_json1_1DescribeConnectClientAddInsResult(data, context);
|
|
2383
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2384
|
+
return [2, Promise.resolve(response)];
|
|
2385
|
+
}
|
|
2386
|
+
});
|
|
2387
|
+
}); };
|
|
2388
|
+
var deserializeAws_json1_1DescribeConnectClientAddInsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2389
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, parsedBody, message;
|
|
2390
|
+
var _f;
|
|
2391
|
+
return __generator(this, function (_g) {
|
|
2392
|
+
switch (_g.label) {
|
|
2393
|
+
case 0:
|
|
2394
|
+
_a = [__assign({}, output)];
|
|
2395
|
+
_f = {};
|
|
2396
|
+
return [4, parseBody(output.body, context)];
|
|
2397
|
+
case 1:
|
|
2398
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
2399
|
+
errorCode = "UnknownError";
|
|
2400
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2401
|
+
_b = errorCode;
|
|
2402
|
+
switch (_b) {
|
|
2403
|
+
case "AccessDeniedException": return [3, 2];
|
|
2404
|
+
case "com.amazonaws.workspaces#AccessDeniedException": return [3, 2];
|
|
2405
|
+
case "InvalidParameterValuesException": return [3, 4];
|
|
2406
|
+
case "com.amazonaws.workspaces#InvalidParameterValuesException": return [3, 4];
|
|
2407
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
2408
|
+
case "com.amazonaws.workspaces#ResourceNotFoundException": return [3, 6];
|
|
2409
|
+
}
|
|
2410
|
+
return [3, 8];
|
|
2411
|
+
case 2:
|
|
2412
|
+
_c = [{}];
|
|
2413
|
+
return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
2414
|
+
case 3:
|
|
2415
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2416
|
+
return [3, 9];
|
|
2417
|
+
case 4:
|
|
2418
|
+
_d = [{}];
|
|
2419
|
+
return [4, deserializeAws_json1_1InvalidParameterValuesExceptionResponse(parsedOutput, context)];
|
|
2420
|
+
case 5:
|
|
2421
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2422
|
+
return [3, 9];
|
|
2423
|
+
case 6:
|
|
2424
|
+
_e = [{}];
|
|
2425
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
2426
|
+
case 7:
|
|
2427
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
2428
|
+
return [3, 9];
|
|
2429
|
+
case 8:
|
|
2430
|
+
parsedBody = parsedOutput.body;
|
|
2431
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
2432
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
2433
|
+
_g.label = 9;
|
|
2434
|
+
case 9:
|
|
2435
|
+
message = response.message || response.Message || errorCode;
|
|
2436
|
+
response.message = message;
|
|
2437
|
+
delete response.Message;
|
|
2438
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
2439
|
+
}
|
|
2440
|
+
});
|
|
2441
|
+
}); };
|
|
2166
2442
|
export var deserializeAws_json1_1DescribeConnectionAliasesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2167
2443
|
var data, contents, response;
|
|
2168
2444
|
return __generator(this, function (_a) {
|
|
@@ -4327,6 +4603,78 @@ var deserializeAws_json1_1TerminateWorkspacesCommandError = function (output, co
|
|
|
4327
4603
|
}
|
|
4328
4604
|
});
|
|
4329
4605
|
}); };
|
|
4606
|
+
export var deserializeAws_json1_1UpdateConnectClientAddInCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4607
|
+
var data, contents, response;
|
|
4608
|
+
return __generator(this, function (_a) {
|
|
4609
|
+
switch (_a.label) {
|
|
4610
|
+
case 0:
|
|
4611
|
+
if (output.statusCode >= 300) {
|
|
4612
|
+
return [2, deserializeAws_json1_1UpdateConnectClientAddInCommandError(output, context)];
|
|
4613
|
+
}
|
|
4614
|
+
return [4, parseBody(output.body, context)];
|
|
4615
|
+
case 1:
|
|
4616
|
+
data = _a.sent();
|
|
4617
|
+
contents = {};
|
|
4618
|
+
contents = deserializeAws_json1_1UpdateConnectClientAddInResult(data, context);
|
|
4619
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
4620
|
+
return [2, Promise.resolve(response)];
|
|
4621
|
+
}
|
|
4622
|
+
});
|
|
4623
|
+
}); };
|
|
4624
|
+
var deserializeAws_json1_1UpdateConnectClientAddInCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4625
|
+
var parsedOutput, _a, response, errorCode, _b, _c, _d, _e, parsedBody, message;
|
|
4626
|
+
var _f;
|
|
4627
|
+
return __generator(this, function (_g) {
|
|
4628
|
+
switch (_g.label) {
|
|
4629
|
+
case 0:
|
|
4630
|
+
_a = [__assign({}, output)];
|
|
4631
|
+
_f = {};
|
|
4632
|
+
return [4, parseBody(output.body, context)];
|
|
4633
|
+
case 1:
|
|
4634
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_f.body = _g.sent(), _f)]));
|
|
4635
|
+
errorCode = "UnknownError";
|
|
4636
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4637
|
+
_b = errorCode;
|
|
4638
|
+
switch (_b) {
|
|
4639
|
+
case "AccessDeniedException": return [3, 2];
|
|
4640
|
+
case "com.amazonaws.workspaces#AccessDeniedException": return [3, 2];
|
|
4641
|
+
case "InvalidParameterValuesException": return [3, 4];
|
|
4642
|
+
case "com.amazonaws.workspaces#InvalidParameterValuesException": return [3, 4];
|
|
4643
|
+
case "ResourceNotFoundException": return [3, 6];
|
|
4644
|
+
case "com.amazonaws.workspaces#ResourceNotFoundException": return [3, 6];
|
|
4645
|
+
}
|
|
4646
|
+
return [3, 8];
|
|
4647
|
+
case 2:
|
|
4648
|
+
_c = [{}];
|
|
4649
|
+
return [4, deserializeAws_json1_1AccessDeniedExceptionResponse(parsedOutput, context)];
|
|
4650
|
+
case 3:
|
|
4651
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _c.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4652
|
+
return [3, 9];
|
|
4653
|
+
case 4:
|
|
4654
|
+
_d = [{}];
|
|
4655
|
+
return [4, deserializeAws_json1_1InvalidParameterValuesExceptionResponse(parsedOutput, context)];
|
|
4656
|
+
case 5:
|
|
4657
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _d.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4658
|
+
return [3, 9];
|
|
4659
|
+
case 6:
|
|
4660
|
+
_e = [{}];
|
|
4661
|
+
return [4, deserializeAws_json1_1ResourceNotFoundExceptionResponse(parsedOutput, context)];
|
|
4662
|
+
case 7:
|
|
4663
|
+
response = __assign.apply(void 0, [__assign.apply(void 0, _e.concat([(_g.sent())])), { name: errorCode, $metadata: deserializeMetadata(output) }]);
|
|
4664
|
+
return [3, 9];
|
|
4665
|
+
case 8:
|
|
4666
|
+
parsedBody = parsedOutput.body;
|
|
4667
|
+
errorCode = parsedBody.code || parsedBody.Code || errorCode;
|
|
4668
|
+
response = __assign(__assign({}, parsedBody), { name: "" + errorCode, message: parsedBody.message || parsedBody.Message || errorCode, $fault: "client", $metadata: deserializeMetadata(output) });
|
|
4669
|
+
_g.label = 9;
|
|
4670
|
+
case 9:
|
|
4671
|
+
message = response.message || response.Message || errorCode;
|
|
4672
|
+
response.message = message;
|
|
4673
|
+
delete response.Message;
|
|
4674
|
+
return [2, Promise.reject(Object.assign(new Error(message), response))];
|
|
4675
|
+
}
|
|
4676
|
+
});
|
|
4677
|
+
}); };
|
|
4330
4678
|
export var deserializeAws_json1_1UpdateConnectionAliasPermissionCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4331
4679
|
var data, contents, response;
|
|
4332
4680
|
return __generator(this, function (_a) {
|
|
@@ -4869,6 +5217,9 @@ var serializeAws_json1_1ConnectionAliasPermission = function (input, context) {
|
|
|
4869
5217
|
var serializeAws_json1_1CopyWorkspaceImageRequest = function (input, context) {
|
|
4870
5218
|
return __assign(__assign(__assign(__assign(__assign({}, (input.Description !== undefined && input.Description !== null && { Description: input.Description })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.SourceImageId !== undefined && input.SourceImageId !== null && { SourceImageId: input.SourceImageId })), (input.SourceRegion !== undefined && input.SourceRegion !== null && { SourceRegion: input.SourceRegion })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
4871
5219
|
};
|
|
5220
|
+
var serializeAws_json1_1CreateConnectClientAddInRequest = function (input, context) {
|
|
5221
|
+
return __assign(__assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId })), (input.URL !== undefined && input.URL !== null && { URL: input.URL }));
|
|
5222
|
+
};
|
|
4872
5223
|
var serializeAws_json1_1CreateConnectionAliasRequest = function (input, context) {
|
|
4873
5224
|
return __assign(__assign({}, (input.ConnectionString !== undefined &&
|
|
4874
5225
|
input.ConnectionString !== null && { ConnectionString: input.ConnectionString })), (input.Tags !== undefined && input.Tags !== null && { Tags: serializeAws_json1_1TagList(input.Tags, context) }));
|
|
@@ -4894,6 +5245,9 @@ var serializeAws_json1_1CreateWorkspacesRequest = function (input, context) {
|
|
|
4894
5245
|
return __assign({}, (input.Workspaces !== undefined &&
|
|
4895
5246
|
input.Workspaces !== null && { Workspaces: serializeAws_json1_1WorkspaceRequestList(input.Workspaces, context) }));
|
|
4896
5247
|
};
|
|
5248
|
+
var serializeAws_json1_1DeleteConnectClientAddInRequest = function (input, context) {
|
|
5249
|
+
return __assign(__assign({}, (input.AddInId !== undefined && input.AddInId !== null && { AddInId: input.AddInId })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }));
|
|
5250
|
+
};
|
|
4897
5251
|
var serializeAws_json1_1DeleteConnectionAliasRequest = function (input, context) {
|
|
4898
5252
|
return __assign({}, (input.AliasId !== undefined && input.AliasId !== null && { AliasId: input.AliasId }));
|
|
4899
5253
|
};
|
|
@@ -4923,6 +5277,9 @@ var serializeAws_json1_1DescribeClientPropertiesRequest = function (input, conte
|
|
|
4923
5277
|
return __assign({}, (input.ResourceIds !== undefined &&
|
|
4924
5278
|
input.ResourceIds !== null && { ResourceIds: serializeAws_json1_1ResourceIdList(input.ResourceIds, context) }));
|
|
4925
5279
|
};
|
|
5280
|
+
var serializeAws_json1_1DescribeConnectClientAddInsRequest = function (input, context) {
|
|
5281
|
+
return __assign(__assign(__assign({}, (input.MaxResults !== undefined && input.MaxResults !== null && { MaxResults: input.MaxResults })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }));
|
|
5282
|
+
};
|
|
4926
5283
|
var serializeAws_json1_1DescribeConnectionAliasesRequest = function (input, context) {
|
|
4927
5284
|
return __assign(__assign(__assign(__assign({}, (input.AliasIds !== undefined &&
|
|
4928
5285
|
input.AliasIds !== null && { AliasIds: serializeAws_json1_1ConnectionAliasIdList(input.AliasIds, context) })), (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId }));
|
|
@@ -5240,6 +5597,9 @@ var serializeAws_json1_1TerminateWorkspacesRequest = function (input, context) {
|
|
|
5240
5597
|
TerminateWorkspaceRequests: serializeAws_json1_1TerminateWorkspaceRequests(input.TerminateWorkspaceRequests, context),
|
|
5241
5598
|
}));
|
|
5242
5599
|
};
|
|
5600
|
+
var serializeAws_json1_1UpdateConnectClientAddInRequest = function (input, context) {
|
|
5601
|
+
return __assign(__assign(__assign(__assign({}, (input.AddInId !== undefined && input.AddInId !== null && { AddInId: input.AddInId })), (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.ResourceId !== undefined && input.ResourceId !== null && { ResourceId: input.ResourceId })), (input.URL !== undefined && input.URL !== null && { URL: input.URL }));
|
|
5602
|
+
};
|
|
5243
5603
|
var serializeAws_json1_1UpdateConnectionAliasPermissionRequest = function (input, context) {
|
|
5244
5604
|
return __assign(__assign({}, (input.AliasId !== undefined && input.AliasId !== null && { AliasId: input.AliasId })), (input.ConnectionAliasPermission !== undefined &&
|
|
5245
5605
|
input.ConnectionAliasPermission !== null && {
|
|
@@ -5403,6 +5763,24 @@ var deserializeAws_json1_1ComputeType = function (output, context) {
|
|
|
5403
5763
|
Name: __expectString(output.Name),
|
|
5404
5764
|
};
|
|
5405
5765
|
};
|
|
5766
|
+
var deserializeAws_json1_1ConnectClientAddIn = function (output, context) {
|
|
5767
|
+
return {
|
|
5768
|
+
AddInId: __expectString(output.AddInId),
|
|
5769
|
+
Name: __expectString(output.Name),
|
|
5770
|
+
ResourceId: __expectString(output.ResourceId),
|
|
5771
|
+
URL: __expectString(output.URL),
|
|
5772
|
+
};
|
|
5773
|
+
};
|
|
5774
|
+
var deserializeAws_json1_1ConnectClientAddInList = function (output, context) {
|
|
5775
|
+
return (output || [])
|
|
5776
|
+
.filter(function (e) { return e != null; })
|
|
5777
|
+
.map(function (entry) {
|
|
5778
|
+
if (entry === null) {
|
|
5779
|
+
return null;
|
|
5780
|
+
}
|
|
5781
|
+
return deserializeAws_json1_1ConnectClientAddIn(entry, context);
|
|
5782
|
+
});
|
|
5783
|
+
};
|
|
5406
5784
|
var deserializeAws_json1_1ConnectionAlias = function (output, context) {
|
|
5407
5785
|
return {
|
|
5408
5786
|
AliasId: __expectString(output.AliasId),
|
|
@@ -5463,6 +5841,11 @@ var deserializeAws_json1_1CopyWorkspaceImageResult = function (output, context)
|
|
|
5463
5841
|
ImageId: __expectString(output.ImageId),
|
|
5464
5842
|
};
|
|
5465
5843
|
};
|
|
5844
|
+
var deserializeAws_json1_1CreateConnectClientAddInResult = function (output, context) {
|
|
5845
|
+
return {
|
|
5846
|
+
AddInId: __expectString(output.AddInId),
|
|
5847
|
+
};
|
|
5848
|
+
};
|
|
5466
5849
|
var deserializeAws_json1_1CreateConnectionAliasResult = function (output, context) {
|
|
5467
5850
|
return {
|
|
5468
5851
|
AliasId: __expectString(output.AliasId),
|
|
@@ -5518,6 +5901,9 @@ var deserializeAws_json1_1DefaultWorkspaceCreationProperties = function (output,
|
|
|
5518
5901
|
UserEnabledAsLocalAdministrator: __expectBoolean(output.UserEnabledAsLocalAdministrator),
|
|
5519
5902
|
};
|
|
5520
5903
|
};
|
|
5904
|
+
var deserializeAws_json1_1DeleteConnectClientAddInResult = function (output, context) {
|
|
5905
|
+
return {};
|
|
5906
|
+
};
|
|
5521
5907
|
var deserializeAws_json1_1DeleteConnectionAliasResult = function (output, context) {
|
|
5522
5908
|
return {};
|
|
5523
5909
|
};
|
|
@@ -5557,6 +5943,14 @@ var deserializeAws_json1_1DescribeClientPropertiesResult = function (output, con
|
|
|
5557
5943
|
: undefined,
|
|
5558
5944
|
};
|
|
5559
5945
|
};
|
|
5946
|
+
var deserializeAws_json1_1DescribeConnectClientAddInsResult = function (output, context) {
|
|
5947
|
+
return {
|
|
5948
|
+
AddIns: output.AddIns !== undefined && output.AddIns !== null
|
|
5949
|
+
? deserializeAws_json1_1ConnectClientAddInList(output.AddIns, context)
|
|
5950
|
+
: undefined,
|
|
5951
|
+
NextToken: __expectString(output.NextToken),
|
|
5952
|
+
};
|
|
5953
|
+
};
|
|
5560
5954
|
var deserializeAws_json1_1DescribeConnectionAliasesResult = function (output, context) {
|
|
5561
5955
|
return {
|
|
5562
5956
|
ConnectionAliases: output.ConnectionAliases !== undefined && output.ConnectionAliases !== null
|
|
@@ -6015,6 +6409,9 @@ var deserializeAws_json1_1UnsupportedWorkspaceConfigurationException = function
|
|
|
6015
6409
|
message: __expectString(output.message),
|
|
6016
6410
|
};
|
|
6017
6411
|
};
|
|
6412
|
+
var deserializeAws_json1_1UpdateConnectClientAddInResult = function (output, context) {
|
|
6413
|
+
return {};
|
|
6414
|
+
};
|
|
6018
6415
|
var deserializeAws_json1_1UpdateConnectionAliasPermissionResult = function (output, context) {
|
|
6019
6416
|
return {};
|
|
6020
6417
|
};
|
|
@@ -3,12 +3,14 @@ import { AssociateConnectionAliasCommandInput, AssociateConnectionAliasCommandOu
|
|
|
3
3
|
import { AssociateIpGroupsCommandInput, AssociateIpGroupsCommandOutput } from "./commands/AssociateIpGroupsCommand";
|
|
4
4
|
import { AuthorizeIpRulesCommandInput, AuthorizeIpRulesCommandOutput } from "./commands/AuthorizeIpRulesCommand";
|
|
5
5
|
import { CopyWorkspaceImageCommandInput, CopyWorkspaceImageCommandOutput } from "./commands/CopyWorkspaceImageCommand";
|
|
6
|
+
import { CreateConnectClientAddInCommandInput, CreateConnectClientAddInCommandOutput } from "./commands/CreateConnectClientAddInCommand";
|
|
6
7
|
import { CreateConnectionAliasCommandInput, CreateConnectionAliasCommandOutput } from "./commands/CreateConnectionAliasCommand";
|
|
7
8
|
import { CreateIpGroupCommandInput, CreateIpGroupCommandOutput } from "./commands/CreateIpGroupCommand";
|
|
8
9
|
import { CreateTagsCommandInput, CreateTagsCommandOutput } from "./commands/CreateTagsCommand";
|
|
9
10
|
import { CreateUpdatedWorkspaceImageCommandInput, CreateUpdatedWorkspaceImageCommandOutput } from "./commands/CreateUpdatedWorkspaceImageCommand";
|
|
10
11
|
import { CreateWorkspaceBundleCommandInput, CreateWorkspaceBundleCommandOutput } from "./commands/CreateWorkspaceBundleCommand";
|
|
11
12
|
import { CreateWorkspacesCommandInput, CreateWorkspacesCommandOutput } from "./commands/CreateWorkspacesCommand";
|
|
13
|
+
import { DeleteConnectClientAddInCommandInput, DeleteConnectClientAddInCommandOutput } from "./commands/DeleteConnectClientAddInCommand";
|
|
12
14
|
import { DeleteConnectionAliasCommandInput, DeleteConnectionAliasCommandOutput } from "./commands/DeleteConnectionAliasCommand";
|
|
13
15
|
import { DeleteIpGroupCommandInput, DeleteIpGroupCommandOutput } from "./commands/DeleteIpGroupCommand";
|
|
14
16
|
import { DeleteTagsCommandInput, DeleteTagsCommandOutput } from "./commands/DeleteTagsCommand";
|
|
@@ -18,6 +20,7 @@ import { DeregisterWorkspaceDirectoryCommandInput, DeregisterWorkspaceDirectoryC
|
|
|
18
20
|
import { DescribeAccountCommandInput, DescribeAccountCommandOutput } from "./commands/DescribeAccountCommand";
|
|
19
21
|
import { DescribeAccountModificationsCommandInput, DescribeAccountModificationsCommandOutput } from "./commands/DescribeAccountModificationsCommand";
|
|
20
22
|
import { DescribeClientPropertiesCommandInput, DescribeClientPropertiesCommandOutput } from "./commands/DescribeClientPropertiesCommand";
|
|
23
|
+
import { DescribeConnectClientAddInsCommandInput, DescribeConnectClientAddInsCommandOutput } from "./commands/DescribeConnectClientAddInsCommand";
|
|
21
24
|
import { DescribeConnectionAliasesCommandInput, DescribeConnectionAliasesCommandOutput } from "./commands/DescribeConnectionAliasesCommand";
|
|
22
25
|
import { DescribeConnectionAliasPermissionsCommandInput, DescribeConnectionAliasPermissionsCommandOutput } from "./commands/DescribeConnectionAliasPermissionsCommand";
|
|
23
26
|
import { DescribeIpGroupsCommandInput, DescribeIpGroupsCommandOutput } from "./commands/DescribeIpGroupsCommand";
|
|
@@ -49,6 +52,7 @@ import { RevokeIpRulesCommandInput, RevokeIpRulesCommandOutput } from "./command
|
|
|
49
52
|
import { StartWorkspacesCommandInput, StartWorkspacesCommandOutput } from "./commands/StartWorkspacesCommand";
|
|
50
53
|
import { StopWorkspacesCommandInput, StopWorkspacesCommandOutput } from "./commands/StopWorkspacesCommand";
|
|
51
54
|
import { TerminateWorkspacesCommandInput, TerminateWorkspacesCommandOutput } from "./commands/TerminateWorkspacesCommand";
|
|
55
|
+
import { UpdateConnectClientAddInCommandInput, UpdateConnectClientAddInCommandOutput } from "./commands/UpdateConnectClientAddInCommand";
|
|
52
56
|
import { UpdateConnectionAliasPermissionCommandInput, UpdateConnectionAliasPermissionCommandOutput } from "./commands/UpdateConnectionAliasPermissionCommand";
|
|
53
57
|
import { UpdateRulesOfIpGroupCommandInput, UpdateRulesOfIpGroupCommandOutput } from "./commands/UpdateRulesOfIpGroupCommand";
|
|
54
58
|
import { UpdateWorkspaceBundleCommandInput, UpdateWorkspaceBundleCommandOutput } from "./commands/UpdateWorkspaceBundleCommand";
|
|
@@ -106,6 +110,15 @@ export declare class WorkSpaces extends WorkSpacesClient {
|
|
|
106
110
|
copyWorkspaceImage(args: CopyWorkspaceImageCommandInput, options?: __HttpHandlerOptions): Promise<CopyWorkspaceImageCommandOutput>;
|
|
107
111
|
copyWorkspaceImage(args: CopyWorkspaceImageCommandInput, cb: (err: any, data?: CopyWorkspaceImageCommandOutput) => void): void;
|
|
108
112
|
copyWorkspaceImage(args: CopyWorkspaceImageCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CopyWorkspaceImageCommandOutput) => void): void;
|
|
113
|
+
/**
|
|
114
|
+
* <p>Creates a client-add-in for Amazon Connect within a directory. You can create only
|
|
115
|
+
* one Amazon Connect client add-in within a directory.</p>
|
|
116
|
+
*
|
|
117
|
+
* <p>This client add-in allows WorkSpaces users to seamlessly connect to Amazon Connect.</p>
|
|
118
|
+
*/
|
|
119
|
+
createConnectClientAddIn(args: CreateConnectClientAddInCommandInput, options?: __HttpHandlerOptions): Promise<CreateConnectClientAddInCommandOutput>;
|
|
120
|
+
createConnectClientAddIn(args: CreateConnectClientAddInCommandInput, cb: (err: any, data?: CreateConnectClientAddInCommandOutput) => void): void;
|
|
121
|
+
createConnectClientAddIn(args: CreateConnectClientAddInCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateConnectClientAddInCommandOutput) => void): void;
|
|
109
122
|
/**
|
|
110
123
|
* <p>Creates the specified connection alias for use with cross-Region redirection. For more information, see
|
|
111
124
|
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
|
|
@@ -179,6 +192,13 @@ export declare class WorkSpaces extends WorkSpacesClient {
|
|
|
179
192
|
createWorkspaces(args: CreateWorkspacesCommandInput, options?: __HttpHandlerOptions): Promise<CreateWorkspacesCommandOutput>;
|
|
180
193
|
createWorkspaces(args: CreateWorkspacesCommandInput, cb: (err: any, data?: CreateWorkspacesCommandOutput) => void): void;
|
|
181
194
|
createWorkspaces(args: CreateWorkspacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: CreateWorkspacesCommandOutput) => void): void;
|
|
195
|
+
/**
|
|
196
|
+
* <p>Deletes a client-add-in for Amazon Connect that is configured within a
|
|
197
|
+
* directory.</p>
|
|
198
|
+
*/
|
|
199
|
+
deleteConnectClientAddIn(args: DeleteConnectClientAddInCommandInput, options?: __HttpHandlerOptions): Promise<DeleteConnectClientAddInCommandOutput>;
|
|
200
|
+
deleteConnectClientAddIn(args: DeleteConnectClientAddInCommandInput, cb: (err: any, data?: DeleteConnectClientAddInCommandOutput) => void): void;
|
|
201
|
+
deleteConnectClientAddIn(args: DeleteConnectClientAddInCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DeleteConnectClientAddInCommandOutput) => void): void;
|
|
182
202
|
/**
|
|
183
203
|
* <p>Deletes the specified connection alias. For more information, see <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
|
|
184
204
|
* Cross-Region Redirection for Amazon WorkSpaces</a>.</p>
|
|
@@ -273,6 +293,12 @@ export declare class WorkSpaces extends WorkSpacesClient {
|
|
|
273
293
|
describeClientProperties(args: DescribeClientPropertiesCommandInput, options?: __HttpHandlerOptions): Promise<DescribeClientPropertiesCommandOutput>;
|
|
274
294
|
describeClientProperties(args: DescribeClientPropertiesCommandInput, cb: (err: any, data?: DescribeClientPropertiesCommandOutput) => void): void;
|
|
275
295
|
describeClientProperties(args: DescribeClientPropertiesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeClientPropertiesCommandOutput) => void): void;
|
|
296
|
+
/**
|
|
297
|
+
* <p>Retrieves a list of Amazon Connect client add-ins that have been created.</p>
|
|
298
|
+
*/
|
|
299
|
+
describeConnectClientAddIns(args: DescribeConnectClientAddInsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeConnectClientAddInsCommandOutput>;
|
|
300
|
+
describeConnectClientAddIns(args: DescribeConnectClientAddInsCommandInput, cb: (err: any, data?: DescribeConnectClientAddInsCommandOutput) => void): void;
|
|
301
|
+
describeConnectClientAddIns(args: DescribeConnectClientAddInsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeConnectClientAddInsCommandOutput) => void): void;
|
|
276
302
|
/**
|
|
277
303
|
* <p>Retrieves a list that describes the connection aliases used for cross-Region redirection. For more information, see
|
|
278
304
|
* <a href="https://docs.aws.amazon.com/workspaces/latest/adminguide/cross-region-redirection.html">
|
|
@@ -565,6 +591,13 @@ export declare class WorkSpaces extends WorkSpacesClient {
|
|
|
565
591
|
terminateWorkspaces(args: TerminateWorkspacesCommandInput, options?: __HttpHandlerOptions): Promise<TerminateWorkspacesCommandOutput>;
|
|
566
592
|
terminateWorkspaces(args: TerminateWorkspacesCommandInput, cb: (err: any, data?: TerminateWorkspacesCommandOutput) => void): void;
|
|
567
593
|
terminateWorkspaces(args: TerminateWorkspacesCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: TerminateWorkspacesCommandOutput) => void): void;
|
|
594
|
+
/**
|
|
595
|
+
* <p>Updates a Amazon Connect client add-in. Use this action to update the name and
|
|
596
|
+
* endpoint URL of a Amazon Connect client add-in.</p>
|
|
597
|
+
*/
|
|
598
|
+
updateConnectClientAddIn(args: UpdateConnectClientAddInCommandInput, options?: __HttpHandlerOptions): Promise<UpdateConnectClientAddInCommandOutput>;
|
|
599
|
+
updateConnectClientAddIn(args: UpdateConnectClientAddInCommandInput, cb: (err: any, data?: UpdateConnectClientAddInCommandOutput) => void): void;
|
|
600
|
+
updateConnectClientAddIn(args: UpdateConnectClientAddInCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateConnectClientAddInCommandOutput) => void): void;
|
|
568
601
|
/**
|
|
569
602
|
* <p>Shares or unshares a connection alias with one account by specifying whether that account has permission to
|
|
570
603
|
* associate the connection alias with a directory. If the association permission is granted, the connection alias
|