@aws-sdk/client-directory-service 3.112.0 → 3.118.1
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 +27 -0
- package/dist-cjs/DirectoryService.js +30 -0
- package/dist-cjs/commands/DescribeSettingsCommand.js +36 -0
- package/dist-cjs/commands/UpdateSettingsCommand.js +36 -0
- package/dist-cjs/commands/index.js +2 -0
- package/dist-cjs/models/models_0.js +78 -3
- package/dist-cjs/protocols/Aws_json1_1.js +247 -3
- package/dist-es/DirectoryService.js +30 -0
- package/dist-es/commands/DescribeSettingsCommand.js +39 -0
- package/dist-es/commands/UpdateSettingsCommand.js +39 -0
- package/dist-es/commands/index.js +2 -0
- package/dist-es/models/models_0.js +61 -0
- package/dist-es/protocols/Aws_json1_1.js +277 -2
- package/dist-types/DirectoryService.d.ts +14 -0
- package/dist-types/DirectoryServiceClient.d.ts +4 -2
- package/dist-types/commands/DescribeSettingsCommand.d.ts +35 -0
- package/dist-types/commands/UpdateSettingsCommand.d.ts +35 -0
- package/dist-types/commands/index.d.ts +2 -0
- package/dist-types/models/models_0.d.ts +195 -1
- package/dist-types/protocols/Aws_json1_1.d.ts +6 -0
- package/dist-types/ts3.4/DirectoryService.d.ts +10 -0
- package/dist-types/ts3.4/DirectoryServiceClient.d.ts +4 -2
- package/dist-types/ts3.4/commands/DescribeSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/UpdateSettingsCommand.d.ts +17 -0
- package/dist-types/ts3.4/commands/index.d.ts +2 -0
- package/dist-types/ts3.4/models/models_0.d.ts +111 -1
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +6 -0
- package/package.json +6 -6
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { __assign, __awaiter, __generator } from "tslib";
|
|
1
|
+
import { __assign, __awaiter, __generator, __read } from "tslib";
|
|
2
2
|
import { HttpRequest as __HttpRequest } from "@aws-sdk/protocol-http";
|
|
3
3
|
import { decorateServiceException as __decorateServiceException, expectBoolean as __expectBoolean, expectInt32 as __expectInt32, expectNonNull as __expectNonNull, expectNumber as __expectNumber, expectString as __expectString, parseEpochTimestamp as __parseEpochTimestamp, } from "@aws-sdk/smithy-client";
|
|
4
4
|
import { DirectoryServiceServiceException as __BaseException } from "../models/DirectoryServiceServiceException";
|
|
5
|
-
import { AccessDeniedException, AuthenticationFailedException, CertificateAlreadyExistsException, CertificateDoesNotExistException, CertificateInUseException, CertificateLimitExceededException, ClientException, DirectoryAlreadyInRegionException, DirectoryAlreadySharedException, DirectoryDoesNotExistException, DirectoryLimitExceededException, DirectoryNotSharedException, DirectoryUnavailableException, DomainControllerLimitExceededException, EntityAlreadyExistsException, EntityDoesNotExistException, InsufficientPermissionsException, InvalidCertificateException, InvalidClientAuthStatusException, InvalidLDAPSStatusException, InvalidNextTokenException, InvalidParameterException, InvalidPasswordException, InvalidTargetException, IpRouteLimitExceededException, NoAvailableCertificateException, OrganizationsException, RegionLimitExceededException, ServiceException, ShareLimitExceededException, SnapshotLimitExceededException, TagLimitExceededException, UnsupportedOperationException, UserDoesNotExistException, } from "../models/models_0";
|
|
5
|
+
import { AccessDeniedException, AuthenticationFailedException, CertificateAlreadyExistsException, CertificateDoesNotExistException, CertificateInUseException, CertificateLimitExceededException, ClientException, DirectoryAlreadyInRegionException, DirectoryAlreadySharedException, DirectoryDoesNotExistException, DirectoryLimitExceededException, DirectoryNotSharedException, DirectoryUnavailableException, DomainControllerLimitExceededException, EntityAlreadyExistsException, EntityDoesNotExistException, IncompatibleSettingsException, InsufficientPermissionsException, InvalidCertificateException, InvalidClientAuthStatusException, InvalidLDAPSStatusException, InvalidNextTokenException, InvalidParameterException, InvalidPasswordException, InvalidTargetException, IpRouteLimitExceededException, NoAvailableCertificateException, OrganizationsException, RegionLimitExceededException, ServiceException, ShareLimitExceededException, SnapshotLimitExceededException, TagLimitExceededException, UnsupportedOperationException, UnsupportedSettingsException, UserDoesNotExistException, } from "../models/models_0";
|
|
6
6
|
export var serializeAws_json1_1AcceptSharedDirectoryCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
7
7
|
var headers, body;
|
|
8
8
|
return __generator(this, function (_a) {
|
|
@@ -322,6 +322,17 @@ export var serializeAws_json1_1DescribeRegionsCommand = function (input, context
|
|
|
322
322
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
323
323
|
});
|
|
324
324
|
}); };
|
|
325
|
+
export var serializeAws_json1_1DescribeSettingsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
326
|
+
var headers, body;
|
|
327
|
+
return __generator(this, function (_a) {
|
|
328
|
+
headers = {
|
|
329
|
+
"content-type": "application/x-amz-json-1.1",
|
|
330
|
+
"x-amz-target": "DirectoryService_20150416.DescribeSettings",
|
|
331
|
+
};
|
|
332
|
+
body = JSON.stringify(serializeAws_json1_1DescribeSettingsRequest(input, context));
|
|
333
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
334
|
+
});
|
|
335
|
+
}); };
|
|
325
336
|
export var serializeAws_json1_1DescribeSharedDirectoriesCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
326
337
|
var headers, body;
|
|
327
338
|
return __generator(this, function (_a) {
|
|
@@ -674,6 +685,17 @@ export var serializeAws_json1_1UpdateRadiusCommand = function (input, context) {
|
|
|
674
685
|
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
675
686
|
});
|
|
676
687
|
}); };
|
|
688
|
+
export var serializeAws_json1_1UpdateSettingsCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
689
|
+
var headers, body;
|
|
690
|
+
return __generator(this, function (_a) {
|
|
691
|
+
headers = {
|
|
692
|
+
"content-type": "application/x-amz-json-1.1",
|
|
693
|
+
"x-amz-target": "DirectoryService_20150416.UpdateSettings",
|
|
694
|
+
};
|
|
695
|
+
body = JSON.stringify(serializeAws_json1_1UpdateSettingsRequest(input, context));
|
|
696
|
+
return [2, buildHttpRpcRequest(context, headers, "/", undefined, body)];
|
|
697
|
+
});
|
|
698
|
+
}); };
|
|
677
699
|
export var serializeAws_json1_1UpdateTrustCommand = function (input, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
678
700
|
var headers, body;
|
|
679
701
|
return __generator(this, function (_a) {
|
|
@@ -2670,6 +2692,76 @@ var deserializeAws_json1_1DescribeRegionsCommandError = function (output, contex
|
|
|
2670
2692
|
}
|
|
2671
2693
|
});
|
|
2672
2694
|
}); };
|
|
2695
|
+
export var deserializeAws_json1_1DescribeSettingsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2696
|
+
var data, contents, response;
|
|
2697
|
+
return __generator(this, function (_a) {
|
|
2698
|
+
switch (_a.label) {
|
|
2699
|
+
case 0:
|
|
2700
|
+
if (output.statusCode >= 300) {
|
|
2701
|
+
return [2, deserializeAws_json1_1DescribeSettingsCommandError(output, context)];
|
|
2702
|
+
}
|
|
2703
|
+
return [4, parseBody(output.body, context)];
|
|
2704
|
+
case 1:
|
|
2705
|
+
data = _a.sent();
|
|
2706
|
+
contents = {};
|
|
2707
|
+
contents = deserializeAws_json1_1DescribeSettingsResult(data, context);
|
|
2708
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
2709
|
+
return [2, Promise.resolve(response)];
|
|
2710
|
+
}
|
|
2711
|
+
});
|
|
2712
|
+
}); };
|
|
2713
|
+
var deserializeAws_json1_1DescribeSettingsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2714
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
2715
|
+
var _c;
|
|
2716
|
+
return __generator(this, function (_d) {
|
|
2717
|
+
switch (_d.label) {
|
|
2718
|
+
case 0:
|
|
2719
|
+
_a = [__assign({}, output)];
|
|
2720
|
+
_c = {};
|
|
2721
|
+
return [4, parseBody(output.body, context)];
|
|
2722
|
+
case 1:
|
|
2723
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
2724
|
+
errorCode = "UnknownError";
|
|
2725
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
2726
|
+
_b = errorCode;
|
|
2727
|
+
switch (_b) {
|
|
2728
|
+
case "ClientException": return [3, 2];
|
|
2729
|
+
case "com.amazonaws.directoryservice#ClientException": return [3, 2];
|
|
2730
|
+
case "DirectoryDoesNotExistException": return [3, 4];
|
|
2731
|
+
case "com.amazonaws.directoryservice#DirectoryDoesNotExistException": return [3, 4];
|
|
2732
|
+
case "InvalidNextTokenException": return [3, 6];
|
|
2733
|
+
case "com.amazonaws.directoryservice#InvalidNextTokenException": return [3, 6];
|
|
2734
|
+
case "InvalidParameterException": return [3, 8];
|
|
2735
|
+
case "com.amazonaws.directoryservice#InvalidParameterException": return [3, 8];
|
|
2736
|
+
case "ServiceException": return [3, 10];
|
|
2737
|
+
case "com.amazonaws.directoryservice#ServiceException": return [3, 10];
|
|
2738
|
+
case "UnsupportedOperationException": return [3, 12];
|
|
2739
|
+
case "com.amazonaws.directoryservice#UnsupportedOperationException": return [3, 12];
|
|
2740
|
+
}
|
|
2741
|
+
return [3, 14];
|
|
2742
|
+
case 2: return [4, deserializeAws_json1_1ClientExceptionResponse(parsedOutput, context)];
|
|
2743
|
+
case 3: throw _d.sent();
|
|
2744
|
+
case 4: return [4, deserializeAws_json1_1DirectoryDoesNotExistExceptionResponse(parsedOutput, context)];
|
|
2745
|
+
case 5: throw _d.sent();
|
|
2746
|
+
case 6: return [4, deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context)];
|
|
2747
|
+
case 7: throw _d.sent();
|
|
2748
|
+
case 8: return [4, deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
2749
|
+
case 9: throw _d.sent();
|
|
2750
|
+
case 10: return [4, deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)];
|
|
2751
|
+
case 11: throw _d.sent();
|
|
2752
|
+
case 12: return [4, deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)];
|
|
2753
|
+
case 13: throw _d.sent();
|
|
2754
|
+
case 14:
|
|
2755
|
+
parsedBody = parsedOutput.body;
|
|
2756
|
+
response = new __BaseException({
|
|
2757
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
2758
|
+
$fault: "client",
|
|
2759
|
+
$metadata: deserializeMetadata(output),
|
|
2760
|
+
});
|
|
2761
|
+
throw __decorateServiceException(response, parsedBody);
|
|
2762
|
+
}
|
|
2763
|
+
});
|
|
2764
|
+
}); };
|
|
2673
2765
|
export var deserializeAws_json1_1DescribeSharedDirectoriesCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
2674
2766
|
var data, contents, response;
|
|
2675
2767
|
return __generator(this, function (_a) {
|
|
@@ -4842,6 +4934,84 @@ var deserializeAws_json1_1UpdateRadiusCommandError = function (output, context)
|
|
|
4842
4934
|
}
|
|
4843
4935
|
});
|
|
4844
4936
|
}); };
|
|
4937
|
+
export var deserializeAws_json1_1UpdateSettingsCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4938
|
+
var data, contents, response;
|
|
4939
|
+
return __generator(this, function (_a) {
|
|
4940
|
+
switch (_a.label) {
|
|
4941
|
+
case 0:
|
|
4942
|
+
if (output.statusCode >= 300) {
|
|
4943
|
+
return [2, deserializeAws_json1_1UpdateSettingsCommandError(output, context)];
|
|
4944
|
+
}
|
|
4945
|
+
return [4, parseBody(output.body, context)];
|
|
4946
|
+
case 1:
|
|
4947
|
+
data = _a.sent();
|
|
4948
|
+
contents = {};
|
|
4949
|
+
contents = deserializeAws_json1_1UpdateSettingsResult(data, context);
|
|
4950
|
+
response = __assign({ $metadata: deserializeMetadata(output) }, contents);
|
|
4951
|
+
return [2, Promise.resolve(response)];
|
|
4952
|
+
}
|
|
4953
|
+
});
|
|
4954
|
+
}); };
|
|
4955
|
+
var deserializeAws_json1_1UpdateSettingsCommandError = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4956
|
+
var parsedOutput, _a, response, errorCode, _b, parsedBody;
|
|
4957
|
+
var _c;
|
|
4958
|
+
return __generator(this, function (_d) {
|
|
4959
|
+
switch (_d.label) {
|
|
4960
|
+
case 0:
|
|
4961
|
+
_a = [__assign({}, output)];
|
|
4962
|
+
_c = {};
|
|
4963
|
+
return [4, parseBody(output.body, context)];
|
|
4964
|
+
case 1:
|
|
4965
|
+
parsedOutput = __assign.apply(void 0, _a.concat([(_c.body = _d.sent(), _c)]));
|
|
4966
|
+
errorCode = "UnknownError";
|
|
4967
|
+
errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
|
|
4968
|
+
_b = errorCode;
|
|
4969
|
+
switch (_b) {
|
|
4970
|
+
case "ClientException": return [3, 2];
|
|
4971
|
+
case "com.amazonaws.directoryservice#ClientException": return [3, 2];
|
|
4972
|
+
case "DirectoryDoesNotExistException": return [3, 4];
|
|
4973
|
+
case "com.amazonaws.directoryservice#DirectoryDoesNotExistException": return [3, 4];
|
|
4974
|
+
case "DirectoryUnavailableException": return [3, 6];
|
|
4975
|
+
case "com.amazonaws.directoryservice#DirectoryUnavailableException": return [3, 6];
|
|
4976
|
+
case "IncompatibleSettingsException": return [3, 8];
|
|
4977
|
+
case "com.amazonaws.directoryservice#IncompatibleSettingsException": return [3, 8];
|
|
4978
|
+
case "InvalidParameterException": return [3, 10];
|
|
4979
|
+
case "com.amazonaws.directoryservice#InvalidParameterException": return [3, 10];
|
|
4980
|
+
case "ServiceException": return [3, 12];
|
|
4981
|
+
case "com.amazonaws.directoryservice#ServiceException": return [3, 12];
|
|
4982
|
+
case "UnsupportedOperationException": return [3, 14];
|
|
4983
|
+
case "com.amazonaws.directoryservice#UnsupportedOperationException": return [3, 14];
|
|
4984
|
+
case "UnsupportedSettingsException": return [3, 16];
|
|
4985
|
+
case "com.amazonaws.directoryservice#UnsupportedSettingsException": return [3, 16];
|
|
4986
|
+
}
|
|
4987
|
+
return [3, 18];
|
|
4988
|
+
case 2: return [4, deserializeAws_json1_1ClientExceptionResponse(parsedOutput, context)];
|
|
4989
|
+
case 3: throw _d.sent();
|
|
4990
|
+
case 4: return [4, deserializeAws_json1_1DirectoryDoesNotExistExceptionResponse(parsedOutput, context)];
|
|
4991
|
+
case 5: throw _d.sent();
|
|
4992
|
+
case 6: return [4, deserializeAws_json1_1DirectoryUnavailableExceptionResponse(parsedOutput, context)];
|
|
4993
|
+
case 7: throw _d.sent();
|
|
4994
|
+
case 8: return [4, deserializeAws_json1_1IncompatibleSettingsExceptionResponse(parsedOutput, context)];
|
|
4995
|
+
case 9: throw _d.sent();
|
|
4996
|
+
case 10: return [4, deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context)];
|
|
4997
|
+
case 11: throw _d.sent();
|
|
4998
|
+
case 12: return [4, deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context)];
|
|
4999
|
+
case 13: throw _d.sent();
|
|
5000
|
+
case 14: return [4, deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context)];
|
|
5001
|
+
case 15: throw _d.sent();
|
|
5002
|
+
case 16: return [4, deserializeAws_json1_1UnsupportedSettingsExceptionResponse(parsedOutput, context)];
|
|
5003
|
+
case 17: throw _d.sent();
|
|
5004
|
+
case 18:
|
|
5005
|
+
parsedBody = parsedOutput.body;
|
|
5006
|
+
response = new __BaseException({
|
|
5007
|
+
name: parsedBody.code || parsedBody.Code || errorCode,
|
|
5008
|
+
$fault: "client",
|
|
5009
|
+
$metadata: deserializeMetadata(output),
|
|
5010
|
+
});
|
|
5011
|
+
throw __decorateServiceException(response, parsedBody);
|
|
5012
|
+
}
|
|
5013
|
+
});
|
|
5014
|
+
}); };
|
|
4845
5015
|
export var deserializeAws_json1_1UpdateTrustCommand = function (output, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
4846
5016
|
var data, contents, response;
|
|
4847
5017
|
return __generator(this, function (_a) {
|
|
@@ -5114,6 +5284,15 @@ var deserializeAws_json1_1EntityDoesNotExistExceptionResponse = function (parsed
|
|
|
5114
5284
|
return [2, __decorateServiceException(exception, body)];
|
|
5115
5285
|
});
|
|
5116
5286
|
}); };
|
|
5287
|
+
var deserializeAws_json1_1IncompatibleSettingsExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5288
|
+
var body, deserialized, exception;
|
|
5289
|
+
return __generator(this, function (_a) {
|
|
5290
|
+
body = parsedOutput.body;
|
|
5291
|
+
deserialized = deserializeAws_json1_1IncompatibleSettingsException(body, context);
|
|
5292
|
+
exception = new IncompatibleSettingsException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
5293
|
+
return [2, __decorateServiceException(exception, body)];
|
|
5294
|
+
});
|
|
5295
|
+
}); };
|
|
5117
5296
|
var deserializeAws_json1_1InsufficientPermissionsExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5118
5297
|
var body, deserialized, exception;
|
|
5119
5298
|
return __generator(this, function (_a) {
|
|
@@ -5267,6 +5446,15 @@ var deserializeAws_json1_1UnsupportedOperationExceptionResponse = function (pars
|
|
|
5267
5446
|
return [2, __decorateServiceException(exception, body)];
|
|
5268
5447
|
});
|
|
5269
5448
|
}); };
|
|
5449
|
+
var deserializeAws_json1_1UnsupportedSettingsExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5450
|
+
var body, deserialized, exception;
|
|
5451
|
+
return __generator(this, function (_a) {
|
|
5452
|
+
body = parsedOutput.body;
|
|
5453
|
+
deserialized = deserializeAws_json1_1UnsupportedSettingsException(body, context);
|
|
5454
|
+
exception = new UnsupportedSettingsException(__assign({ $metadata: deserializeMetadata(parsedOutput) }, deserialized));
|
|
5455
|
+
return [2, __decorateServiceException(exception, body)];
|
|
5456
|
+
});
|
|
5457
|
+
}); };
|
|
5270
5458
|
var deserializeAws_json1_1UserDoesNotExistExceptionResponse = function (parsedOutput, context) { return __awaiter(void 0, void 0, void 0, function () {
|
|
5271
5459
|
var body, deserialized, exception;
|
|
5272
5460
|
return __generator(this, function (_a) {
|
|
@@ -5432,6 +5620,9 @@ var serializeAws_json1_1DescribeLDAPSSettingsRequest = function (input, context)
|
|
|
5432
5620
|
var serializeAws_json1_1DescribeRegionsRequest = function (input, context) {
|
|
5433
5621
|
return __assign(__assign(__assign({}, (input.DirectoryId !== undefined && input.DirectoryId !== null && { DirectoryId: input.DirectoryId })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName }));
|
|
5434
5622
|
};
|
|
5623
|
+
var serializeAws_json1_1DescribeSettingsRequest = function (input, context) {
|
|
5624
|
+
return __assign(__assign(__assign({}, (input.DirectoryId !== undefined && input.DirectoryId !== null && { DirectoryId: input.DirectoryId })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.Status !== undefined && input.Status !== null && { Status: input.Status }));
|
|
5625
|
+
};
|
|
5435
5626
|
var serializeAws_json1_1DescribeSharedDirectoriesRequest = function (input, context) {
|
|
5436
5627
|
return __assign(__assign(__assign(__assign({}, (input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit })), (input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken })), (input.OwnerDirectoryId !== undefined &&
|
|
5437
5628
|
input.OwnerDirectoryId !== null && { OwnerDirectoryId: input.OwnerDirectoryId })), (input.SharedDirectoryIds !== undefined &&
|
|
@@ -5607,6 +5798,19 @@ var serializeAws_json1_1Servers = function (input, context) {
|
|
|
5607
5798
|
return entry;
|
|
5608
5799
|
});
|
|
5609
5800
|
};
|
|
5801
|
+
var serializeAws_json1_1Setting = function (input, context) {
|
|
5802
|
+
return __assign(__assign({}, (input.Name !== undefined && input.Name !== null && { Name: input.Name })), (input.Value !== undefined && input.Value !== null && { Value: input.Value }));
|
|
5803
|
+
};
|
|
5804
|
+
var serializeAws_json1_1Settings = function (input, context) {
|
|
5805
|
+
return input
|
|
5806
|
+
.filter(function (e) { return e != null; })
|
|
5807
|
+
.map(function (entry) {
|
|
5808
|
+
if (entry === null) {
|
|
5809
|
+
return null;
|
|
5810
|
+
}
|
|
5811
|
+
return serializeAws_json1_1Setting(entry, context);
|
|
5812
|
+
});
|
|
5813
|
+
};
|
|
5610
5814
|
var serializeAws_json1_1ShareDirectoryRequest = function (input, context) {
|
|
5611
5815
|
return __assign(__assign(__assign(__assign({}, (input.DirectoryId !== undefined && input.DirectoryId !== null && { DirectoryId: input.DirectoryId })), (input.ShareMethod !== undefined && input.ShareMethod !== null && { ShareMethod: input.ShareMethod })), (input.ShareNotes !== undefined && input.ShareNotes !== null && { ShareNotes: input.ShareNotes })), (input.ShareTarget !== undefined &&
|
|
5612
5816
|
input.ShareTarget !== null && { ShareTarget: serializeAws_json1_1ShareTarget(input.ShareTarget, context) }));
|
|
@@ -5706,6 +5910,10 @@ var serializeAws_json1_1UpdateRadiusRequest = function (input, context) {
|
|
|
5706
5910
|
RadiusSettings: serializeAws_json1_1RadiusSettings(input.RadiusSettings, context),
|
|
5707
5911
|
}));
|
|
5708
5912
|
};
|
|
5913
|
+
var serializeAws_json1_1UpdateSettingsRequest = function (input, context) {
|
|
5914
|
+
return __assign(__assign({}, (input.DirectoryId !== undefined && input.DirectoryId !== null && { DirectoryId: input.DirectoryId })), (input.Settings !== undefined &&
|
|
5915
|
+
input.Settings !== null && { Settings: serializeAws_json1_1Settings(input.Settings, context) }));
|
|
5916
|
+
};
|
|
5709
5917
|
var serializeAws_json1_1UpdateTrustRequest = function (input, context) {
|
|
5710
5918
|
return __assign(__assign({}, (input.SelectiveAuth !== undefined && input.SelectiveAuth !== null && { SelectiveAuth: input.SelectiveAuth })), (input.TrustId !== undefined && input.TrustId !== null && { TrustId: input.TrustId }));
|
|
5711
5919
|
};
|
|
@@ -6038,6 +6246,15 @@ var deserializeAws_json1_1DescribeRegionsResult = function (output, context) {
|
|
|
6038
6246
|
: undefined,
|
|
6039
6247
|
};
|
|
6040
6248
|
};
|
|
6249
|
+
var deserializeAws_json1_1DescribeSettingsResult = function (output, context) {
|
|
6250
|
+
return {
|
|
6251
|
+
DirectoryId: __expectString(output.DirectoryId),
|
|
6252
|
+
NextToken: __expectString(output.NextToken),
|
|
6253
|
+
SettingEntries: output.SettingEntries !== undefined && output.SettingEntries !== null
|
|
6254
|
+
? deserializeAws_json1_1SettingEntries(output.SettingEntries, context)
|
|
6255
|
+
: undefined,
|
|
6256
|
+
};
|
|
6257
|
+
};
|
|
6041
6258
|
var deserializeAws_json1_1DescribeSharedDirectoriesResult = function (output, context) {
|
|
6042
6259
|
return {
|
|
6043
6260
|
NextToken: __expectString(output.NextToken),
|
|
@@ -6074,6 +6291,16 @@ var deserializeAws_json1_1DirectoryAlreadySharedException = function (output, co
|
|
|
6074
6291
|
RequestId: __expectString(output.RequestId),
|
|
6075
6292
|
};
|
|
6076
6293
|
};
|
|
6294
|
+
var deserializeAws_json1_1DirectoryConfigurationSettingRequestDetailedStatus = function (output, context) {
|
|
6295
|
+
return Object.entries(output).reduce(function (acc, _a) {
|
|
6296
|
+
var _b;
|
|
6297
|
+
var _c = __read(_a, 2), key = _c[0], value = _c[1];
|
|
6298
|
+
if (value === null) {
|
|
6299
|
+
return acc;
|
|
6300
|
+
}
|
|
6301
|
+
return __assign(__assign({}, acc), (_b = {}, _b[key] = __expectString(value), _b));
|
|
6302
|
+
}, {});
|
|
6303
|
+
};
|
|
6077
6304
|
var deserializeAws_json1_1DirectoryConnectSettingsDescription = function (output, context) {
|
|
6078
6305
|
return {
|
|
6079
6306
|
AvailabilityZones: output.AvailabilityZones !== undefined && output.AvailabilityZones !== null
|
|
@@ -6321,6 +6548,12 @@ var deserializeAws_json1_1GetSnapshotLimitsResult = function (output, context) {
|
|
|
6321
6548
|
: undefined,
|
|
6322
6549
|
};
|
|
6323
6550
|
};
|
|
6551
|
+
var deserializeAws_json1_1IncompatibleSettingsException = function (output, context) {
|
|
6552
|
+
return {
|
|
6553
|
+
Message: __expectString(output.Message),
|
|
6554
|
+
RequestId: __expectString(output.RequestId),
|
|
6555
|
+
};
|
|
6556
|
+
};
|
|
6324
6557
|
var deserializeAws_json1_1InsufficientPermissionsException = function (output, context) {
|
|
6325
6558
|
return {
|
|
6326
6559
|
Message: __expectString(output.Message),
|
|
@@ -6646,6 +6879,37 @@ var deserializeAws_json1_1ServiceException = function (output, context) {
|
|
|
6646
6879
|
RequestId: __expectString(output.RequestId),
|
|
6647
6880
|
};
|
|
6648
6881
|
};
|
|
6882
|
+
var deserializeAws_json1_1SettingEntries = function (output, context) {
|
|
6883
|
+
var retVal = (output || [])
|
|
6884
|
+
.filter(function (e) { return e != null; })
|
|
6885
|
+
.map(function (entry) {
|
|
6886
|
+
if (entry === null) {
|
|
6887
|
+
return null;
|
|
6888
|
+
}
|
|
6889
|
+
return deserializeAws_json1_1SettingEntry(entry, context);
|
|
6890
|
+
});
|
|
6891
|
+
return retVal;
|
|
6892
|
+
};
|
|
6893
|
+
var deserializeAws_json1_1SettingEntry = function (output, context) {
|
|
6894
|
+
return {
|
|
6895
|
+
AllowedValues: __expectString(output.AllowedValues),
|
|
6896
|
+
AppliedValue: __expectString(output.AppliedValue),
|
|
6897
|
+
LastRequestedDateTime: output.LastRequestedDateTime !== undefined && output.LastRequestedDateTime !== null
|
|
6898
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastRequestedDateTime)))
|
|
6899
|
+
: undefined,
|
|
6900
|
+
LastUpdatedDateTime: output.LastUpdatedDateTime !== undefined && output.LastUpdatedDateTime !== null
|
|
6901
|
+
? __expectNonNull(__parseEpochTimestamp(__expectNumber(output.LastUpdatedDateTime)))
|
|
6902
|
+
: undefined,
|
|
6903
|
+
Name: __expectString(output.Name),
|
|
6904
|
+
RequestDetailedStatus: output.RequestDetailedStatus !== undefined && output.RequestDetailedStatus !== null
|
|
6905
|
+
? deserializeAws_json1_1DirectoryConfigurationSettingRequestDetailedStatus(output.RequestDetailedStatus, context)
|
|
6906
|
+
: undefined,
|
|
6907
|
+
RequestStatus: __expectString(output.RequestStatus),
|
|
6908
|
+
RequestStatusMessage: __expectString(output.RequestStatusMessage),
|
|
6909
|
+
RequestedValue: __expectString(output.RequestedValue),
|
|
6910
|
+
Type: __expectString(output.Type),
|
|
6911
|
+
};
|
|
6912
|
+
};
|
|
6649
6913
|
var deserializeAws_json1_1SharedDirectories = function (output, context) {
|
|
6650
6914
|
var retVal = (output || [])
|
|
6651
6915
|
.filter(function (e) { return e != null; })
|
|
@@ -6803,6 +7067,12 @@ var deserializeAws_json1_1UnsupportedOperationException = function (output, cont
|
|
|
6803
7067
|
RequestId: __expectString(output.RequestId),
|
|
6804
7068
|
};
|
|
6805
7069
|
};
|
|
7070
|
+
var deserializeAws_json1_1UnsupportedSettingsException = function (output, context) {
|
|
7071
|
+
return {
|
|
7072
|
+
Message: __expectString(output.Message),
|
|
7073
|
+
RequestId: __expectString(output.RequestId),
|
|
7074
|
+
};
|
|
7075
|
+
};
|
|
6806
7076
|
var deserializeAws_json1_1UpdateConditionalForwarderResult = function (output, context) {
|
|
6807
7077
|
return {};
|
|
6808
7078
|
};
|
|
@@ -6812,6 +7082,11 @@ var deserializeAws_json1_1UpdateNumberOfDomainControllersResult = function (outp
|
|
|
6812
7082
|
var deserializeAws_json1_1UpdateRadiusResult = function (output, context) {
|
|
6813
7083
|
return {};
|
|
6814
7084
|
};
|
|
7085
|
+
var deserializeAws_json1_1UpdateSettingsResult = function (output, context) {
|
|
7086
|
+
return {
|
|
7087
|
+
DirectoryId: __expectString(output.DirectoryId),
|
|
7088
|
+
};
|
|
7089
|
+
};
|
|
6815
7090
|
var deserializeAws_json1_1UpdateTrustResult = function (output, context) {
|
|
6816
7091
|
return {
|
|
6817
7092
|
RequestId: __expectString(output.RequestId),
|
|
@@ -28,6 +28,7 @@ import { DescribeDomainControllersCommandInput, DescribeDomainControllersCommand
|
|
|
28
28
|
import { DescribeEventTopicsCommandInput, DescribeEventTopicsCommandOutput } from "./commands/DescribeEventTopicsCommand";
|
|
29
29
|
import { DescribeLDAPSSettingsCommandInput, DescribeLDAPSSettingsCommandOutput } from "./commands/DescribeLDAPSSettingsCommand";
|
|
30
30
|
import { DescribeRegionsCommandInput, DescribeRegionsCommandOutput } from "./commands/DescribeRegionsCommand";
|
|
31
|
+
import { DescribeSettingsCommandInput, DescribeSettingsCommandOutput } from "./commands/DescribeSettingsCommand";
|
|
31
32
|
import { DescribeSharedDirectoriesCommandInput, DescribeSharedDirectoriesCommandOutput } from "./commands/DescribeSharedDirectoriesCommand";
|
|
32
33
|
import { DescribeSnapshotsCommandInput, DescribeSnapshotsCommandOutput } from "./commands/DescribeSnapshotsCommand";
|
|
33
34
|
import { DescribeTrustsCommandInput, DescribeTrustsCommandOutput } from "./commands/DescribeTrustsCommand";
|
|
@@ -60,6 +61,7 @@ import { UnshareDirectoryCommandInput, UnshareDirectoryCommandOutput } from "./c
|
|
|
60
61
|
import { UpdateConditionalForwarderCommandInput, UpdateConditionalForwarderCommandOutput } from "./commands/UpdateConditionalForwarderCommand";
|
|
61
62
|
import { UpdateNumberOfDomainControllersCommandInput, UpdateNumberOfDomainControllersCommandOutput } from "./commands/UpdateNumberOfDomainControllersCommand";
|
|
62
63
|
import { UpdateRadiusCommandInput, UpdateRadiusCommandOutput } from "./commands/UpdateRadiusCommand";
|
|
64
|
+
import { UpdateSettingsCommandInput, UpdateSettingsCommandOutput } from "./commands/UpdateSettingsCommand";
|
|
63
65
|
import { UpdateTrustCommandInput, UpdateTrustCommandOutput } from "./commands/UpdateTrustCommand";
|
|
64
66
|
import { VerifyTrustCommandInput, VerifyTrustCommandOutput } from "./commands/VerifyTrustCommand";
|
|
65
67
|
import { DirectoryServiceClient } from "./DirectoryServiceClient";
|
|
@@ -319,6 +321,12 @@ export declare class DirectoryService extends DirectoryServiceClient {
|
|
|
319
321
|
describeRegions(args: DescribeRegionsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeRegionsCommandOutput>;
|
|
320
322
|
describeRegions(args: DescribeRegionsCommandInput, cb: (err: any, data?: DescribeRegionsCommandOutput) => void): void;
|
|
321
323
|
describeRegions(args: DescribeRegionsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeRegionsCommandOutput) => void): void;
|
|
324
|
+
/**
|
|
325
|
+
* <p>Retrieves information about the configurable settings for the specified directory.</p>
|
|
326
|
+
*/
|
|
327
|
+
describeSettings(args: DescribeSettingsCommandInput, options?: __HttpHandlerOptions): Promise<DescribeSettingsCommandOutput>;
|
|
328
|
+
describeSettings(args: DescribeSettingsCommandInput, cb: (err: any, data?: DescribeSettingsCommandOutput) => void): void;
|
|
329
|
+
describeSettings(args: DescribeSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: DescribeSettingsCommandOutput) => void): void;
|
|
322
330
|
/**
|
|
323
331
|
* <p>Returns the shared directories in your account. </p>
|
|
324
332
|
*/
|
|
@@ -569,6 +577,12 @@ export declare class DirectoryService extends DirectoryServiceClient {
|
|
|
569
577
|
updateRadius(args: UpdateRadiusCommandInput, options?: __HttpHandlerOptions): Promise<UpdateRadiusCommandOutput>;
|
|
570
578
|
updateRadius(args: UpdateRadiusCommandInput, cb: (err: any, data?: UpdateRadiusCommandOutput) => void): void;
|
|
571
579
|
updateRadius(args: UpdateRadiusCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateRadiusCommandOutput) => void): void;
|
|
580
|
+
/**
|
|
581
|
+
* <p>Updates the configurable settings for the specified directory.</p>
|
|
582
|
+
*/
|
|
583
|
+
updateSettings(args: UpdateSettingsCommandInput, options?: __HttpHandlerOptions): Promise<UpdateSettingsCommandOutput>;
|
|
584
|
+
updateSettings(args: UpdateSettingsCommandInput, cb: (err: any, data?: UpdateSettingsCommandOutput) => void): void;
|
|
585
|
+
updateSettings(args: UpdateSettingsCommandInput, options: __HttpHandlerOptions, cb: (err: any, data?: UpdateSettingsCommandOutput) => void): void;
|
|
572
586
|
/**
|
|
573
587
|
* <p>Updates the trust that has been set up between your Managed Microsoft AD directory and an
|
|
574
588
|
* self-managed Active Directory.</p>
|
|
@@ -35,6 +35,7 @@ import { DescribeDomainControllersCommandInput, DescribeDomainControllersCommand
|
|
|
35
35
|
import { DescribeEventTopicsCommandInput, DescribeEventTopicsCommandOutput } from "./commands/DescribeEventTopicsCommand";
|
|
36
36
|
import { DescribeLDAPSSettingsCommandInput, DescribeLDAPSSettingsCommandOutput } from "./commands/DescribeLDAPSSettingsCommand";
|
|
37
37
|
import { DescribeRegionsCommandInput, DescribeRegionsCommandOutput } from "./commands/DescribeRegionsCommand";
|
|
38
|
+
import { DescribeSettingsCommandInput, DescribeSettingsCommandOutput } from "./commands/DescribeSettingsCommand";
|
|
38
39
|
import { DescribeSharedDirectoriesCommandInput, DescribeSharedDirectoriesCommandOutput } from "./commands/DescribeSharedDirectoriesCommand";
|
|
39
40
|
import { DescribeSnapshotsCommandInput, DescribeSnapshotsCommandOutput } from "./commands/DescribeSnapshotsCommand";
|
|
40
41
|
import { DescribeTrustsCommandInput, DescribeTrustsCommandOutput } from "./commands/DescribeTrustsCommand";
|
|
@@ -67,10 +68,11 @@ import { UnshareDirectoryCommandInput, UnshareDirectoryCommandOutput } from "./c
|
|
|
67
68
|
import { UpdateConditionalForwarderCommandInput, UpdateConditionalForwarderCommandOutput } from "./commands/UpdateConditionalForwarderCommand";
|
|
68
69
|
import { UpdateNumberOfDomainControllersCommandInput, UpdateNumberOfDomainControllersCommandOutput } from "./commands/UpdateNumberOfDomainControllersCommand";
|
|
69
70
|
import { UpdateRadiusCommandInput, UpdateRadiusCommandOutput } from "./commands/UpdateRadiusCommand";
|
|
71
|
+
import { UpdateSettingsCommandInput, UpdateSettingsCommandOutput } from "./commands/UpdateSettingsCommand";
|
|
70
72
|
import { UpdateTrustCommandInput, UpdateTrustCommandOutput } from "./commands/UpdateTrustCommand";
|
|
71
73
|
import { VerifyTrustCommandInput, VerifyTrustCommandOutput } from "./commands/VerifyTrustCommand";
|
|
72
|
-
export declare type ServiceInputTypes = AcceptSharedDirectoryCommandInput | AddIpRoutesCommandInput | AddRegionCommandInput | AddTagsToResourceCommandInput | CancelSchemaExtensionCommandInput | ConnectDirectoryCommandInput | CreateAliasCommandInput | CreateComputerCommandInput | CreateConditionalForwarderCommandInput | CreateDirectoryCommandInput | CreateLogSubscriptionCommandInput | CreateMicrosoftADCommandInput | CreateSnapshotCommandInput | CreateTrustCommandInput | DeleteConditionalForwarderCommandInput | DeleteDirectoryCommandInput | DeleteLogSubscriptionCommandInput | DeleteSnapshotCommandInput | DeleteTrustCommandInput | DeregisterCertificateCommandInput | DeregisterEventTopicCommandInput | DescribeCertificateCommandInput | DescribeClientAuthenticationSettingsCommandInput | DescribeConditionalForwardersCommandInput | DescribeDirectoriesCommandInput | DescribeDomainControllersCommandInput | DescribeEventTopicsCommandInput | DescribeLDAPSSettingsCommandInput | DescribeRegionsCommandInput | DescribeSharedDirectoriesCommandInput | DescribeSnapshotsCommandInput | DescribeTrustsCommandInput | DisableClientAuthenticationCommandInput | DisableLDAPSCommandInput | DisableRadiusCommandInput | DisableSsoCommandInput | EnableClientAuthenticationCommandInput | EnableLDAPSCommandInput | EnableRadiusCommandInput | EnableSsoCommandInput | GetDirectoryLimitsCommandInput | GetSnapshotLimitsCommandInput | ListCertificatesCommandInput | ListIpRoutesCommandInput | ListLogSubscriptionsCommandInput | ListSchemaExtensionsCommandInput | ListTagsForResourceCommandInput | RegisterCertificateCommandInput | RegisterEventTopicCommandInput | RejectSharedDirectoryCommandInput | RemoveIpRoutesCommandInput | RemoveRegionCommandInput | RemoveTagsFromResourceCommandInput | ResetUserPasswordCommandInput | RestoreFromSnapshotCommandInput | ShareDirectoryCommandInput | StartSchemaExtensionCommandInput | UnshareDirectoryCommandInput | UpdateConditionalForwarderCommandInput | UpdateNumberOfDomainControllersCommandInput | UpdateRadiusCommandInput | UpdateTrustCommandInput | VerifyTrustCommandInput;
|
|
73
|
-
export declare type ServiceOutputTypes = AcceptSharedDirectoryCommandOutput | AddIpRoutesCommandOutput | AddRegionCommandOutput | AddTagsToResourceCommandOutput | CancelSchemaExtensionCommandOutput | ConnectDirectoryCommandOutput | CreateAliasCommandOutput | CreateComputerCommandOutput | CreateConditionalForwarderCommandOutput | CreateDirectoryCommandOutput | CreateLogSubscriptionCommandOutput | CreateMicrosoftADCommandOutput | CreateSnapshotCommandOutput | CreateTrustCommandOutput | DeleteConditionalForwarderCommandOutput | DeleteDirectoryCommandOutput | DeleteLogSubscriptionCommandOutput | DeleteSnapshotCommandOutput | DeleteTrustCommandOutput | DeregisterCertificateCommandOutput | DeregisterEventTopicCommandOutput | DescribeCertificateCommandOutput | DescribeClientAuthenticationSettingsCommandOutput | DescribeConditionalForwardersCommandOutput | DescribeDirectoriesCommandOutput | DescribeDomainControllersCommandOutput | DescribeEventTopicsCommandOutput | DescribeLDAPSSettingsCommandOutput | DescribeRegionsCommandOutput | DescribeSharedDirectoriesCommandOutput | DescribeSnapshotsCommandOutput | DescribeTrustsCommandOutput | DisableClientAuthenticationCommandOutput | DisableLDAPSCommandOutput | DisableRadiusCommandOutput | DisableSsoCommandOutput | EnableClientAuthenticationCommandOutput | EnableLDAPSCommandOutput | EnableRadiusCommandOutput | EnableSsoCommandOutput | GetDirectoryLimitsCommandOutput | GetSnapshotLimitsCommandOutput | ListCertificatesCommandOutput | ListIpRoutesCommandOutput | ListLogSubscriptionsCommandOutput | ListSchemaExtensionsCommandOutput | ListTagsForResourceCommandOutput | RegisterCertificateCommandOutput | RegisterEventTopicCommandOutput | RejectSharedDirectoryCommandOutput | RemoveIpRoutesCommandOutput | RemoveRegionCommandOutput | RemoveTagsFromResourceCommandOutput | ResetUserPasswordCommandOutput | RestoreFromSnapshotCommandOutput | ShareDirectoryCommandOutput | StartSchemaExtensionCommandOutput | UnshareDirectoryCommandOutput | UpdateConditionalForwarderCommandOutput | UpdateNumberOfDomainControllersCommandOutput | UpdateRadiusCommandOutput | UpdateTrustCommandOutput | VerifyTrustCommandOutput;
|
|
74
|
+
export declare type ServiceInputTypes = AcceptSharedDirectoryCommandInput | AddIpRoutesCommandInput | AddRegionCommandInput | AddTagsToResourceCommandInput | CancelSchemaExtensionCommandInput | ConnectDirectoryCommandInput | CreateAliasCommandInput | CreateComputerCommandInput | CreateConditionalForwarderCommandInput | CreateDirectoryCommandInput | CreateLogSubscriptionCommandInput | CreateMicrosoftADCommandInput | CreateSnapshotCommandInput | CreateTrustCommandInput | DeleteConditionalForwarderCommandInput | DeleteDirectoryCommandInput | DeleteLogSubscriptionCommandInput | DeleteSnapshotCommandInput | DeleteTrustCommandInput | DeregisterCertificateCommandInput | DeregisterEventTopicCommandInput | DescribeCertificateCommandInput | DescribeClientAuthenticationSettingsCommandInput | DescribeConditionalForwardersCommandInput | DescribeDirectoriesCommandInput | DescribeDomainControllersCommandInput | DescribeEventTopicsCommandInput | DescribeLDAPSSettingsCommandInput | DescribeRegionsCommandInput | DescribeSettingsCommandInput | DescribeSharedDirectoriesCommandInput | DescribeSnapshotsCommandInput | DescribeTrustsCommandInput | DisableClientAuthenticationCommandInput | DisableLDAPSCommandInput | DisableRadiusCommandInput | DisableSsoCommandInput | EnableClientAuthenticationCommandInput | EnableLDAPSCommandInput | EnableRadiusCommandInput | EnableSsoCommandInput | GetDirectoryLimitsCommandInput | GetSnapshotLimitsCommandInput | ListCertificatesCommandInput | ListIpRoutesCommandInput | ListLogSubscriptionsCommandInput | ListSchemaExtensionsCommandInput | ListTagsForResourceCommandInput | RegisterCertificateCommandInput | RegisterEventTopicCommandInput | RejectSharedDirectoryCommandInput | RemoveIpRoutesCommandInput | RemoveRegionCommandInput | RemoveTagsFromResourceCommandInput | ResetUserPasswordCommandInput | RestoreFromSnapshotCommandInput | ShareDirectoryCommandInput | StartSchemaExtensionCommandInput | UnshareDirectoryCommandInput | UpdateConditionalForwarderCommandInput | UpdateNumberOfDomainControllersCommandInput | UpdateRadiusCommandInput | UpdateSettingsCommandInput | UpdateTrustCommandInput | VerifyTrustCommandInput;
|
|
75
|
+
export declare type ServiceOutputTypes = AcceptSharedDirectoryCommandOutput | AddIpRoutesCommandOutput | AddRegionCommandOutput | AddTagsToResourceCommandOutput | CancelSchemaExtensionCommandOutput | ConnectDirectoryCommandOutput | CreateAliasCommandOutput | CreateComputerCommandOutput | CreateConditionalForwarderCommandOutput | CreateDirectoryCommandOutput | CreateLogSubscriptionCommandOutput | CreateMicrosoftADCommandOutput | CreateSnapshotCommandOutput | CreateTrustCommandOutput | DeleteConditionalForwarderCommandOutput | DeleteDirectoryCommandOutput | DeleteLogSubscriptionCommandOutput | DeleteSnapshotCommandOutput | DeleteTrustCommandOutput | DeregisterCertificateCommandOutput | DeregisterEventTopicCommandOutput | DescribeCertificateCommandOutput | DescribeClientAuthenticationSettingsCommandOutput | DescribeConditionalForwardersCommandOutput | DescribeDirectoriesCommandOutput | DescribeDomainControllersCommandOutput | DescribeEventTopicsCommandOutput | DescribeLDAPSSettingsCommandOutput | DescribeRegionsCommandOutput | DescribeSettingsCommandOutput | DescribeSharedDirectoriesCommandOutput | DescribeSnapshotsCommandOutput | DescribeTrustsCommandOutput | DisableClientAuthenticationCommandOutput | DisableLDAPSCommandOutput | DisableRadiusCommandOutput | DisableSsoCommandOutput | EnableClientAuthenticationCommandOutput | EnableLDAPSCommandOutput | EnableRadiusCommandOutput | EnableSsoCommandOutput | GetDirectoryLimitsCommandOutput | GetSnapshotLimitsCommandOutput | ListCertificatesCommandOutput | ListIpRoutesCommandOutput | ListLogSubscriptionsCommandOutput | ListSchemaExtensionsCommandOutput | ListTagsForResourceCommandOutput | RegisterCertificateCommandOutput | RegisterEventTopicCommandOutput | RejectSharedDirectoryCommandOutput | RemoveIpRoutesCommandOutput | RemoveRegionCommandOutput | RemoveTagsFromResourceCommandOutput | ResetUserPasswordCommandOutput | RestoreFromSnapshotCommandOutput | ShareDirectoryCommandOutput | StartSchemaExtensionCommandOutput | UnshareDirectoryCommandOutput | UpdateConditionalForwarderCommandOutput | UpdateNumberOfDomainControllersCommandOutput | UpdateRadiusCommandOutput | UpdateSettingsCommandOutput | UpdateTrustCommandOutput | VerifyTrustCommandOutput;
|
|
74
76
|
export interface ClientDefaults extends Partial<__SmithyResolvedConfiguration<__HttpHandlerOptions>> {
|
|
75
77
|
/**
|
|
76
78
|
* The HTTP handler to use. Fetch in browser and Https in Nodejs.
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { DirectoryServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectoryServiceClient";
|
|
4
|
+
import { DescribeSettingsRequest, DescribeSettingsResult } from "../models/models_0";
|
|
5
|
+
export interface DescribeSettingsCommandInput extends DescribeSettingsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface DescribeSettingsCommandOutput extends DescribeSettingsResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Retrieves information about the configurable settings for the specified directory.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { DirectoryServiceClient, DescribeSettingsCommand } from "@aws-sdk/client-directory-service"; // ES Modules import
|
|
15
|
+
* // const { DirectoryServiceClient, DescribeSettingsCommand } = require("@aws-sdk/client-directory-service"); // CommonJS import
|
|
16
|
+
* const client = new DirectoryServiceClient(config);
|
|
17
|
+
* const command = new DescribeSettingsCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link DescribeSettingsCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link DescribeSettingsCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link DirectoryServiceClientResolvedConfig | config} for DirectoryServiceClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class DescribeSettingsCommand extends $Command<DescribeSettingsCommandInput, DescribeSettingsCommandOutput, DirectoryServiceClientResolvedConfig> {
|
|
27
|
+
readonly input: DescribeSettingsCommandInput;
|
|
28
|
+
constructor(input: DescribeSettingsCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DescribeSettingsCommandInput, DescribeSettingsCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
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 { DirectoryServiceClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../DirectoryServiceClient";
|
|
4
|
+
import { UpdateSettingsRequest, UpdateSettingsResult } from "../models/models_0";
|
|
5
|
+
export interface UpdateSettingsCommandInput extends UpdateSettingsRequest {
|
|
6
|
+
}
|
|
7
|
+
export interface UpdateSettingsCommandOutput extends UpdateSettingsResult, __MetadataBearer {
|
|
8
|
+
}
|
|
9
|
+
/**
|
|
10
|
+
* <p>Updates the configurable settings for the specified directory.</p>
|
|
11
|
+
* @example
|
|
12
|
+
* Use a bare-bones client and the command you need to make an API call.
|
|
13
|
+
* ```javascript
|
|
14
|
+
* import { DirectoryServiceClient, UpdateSettingsCommand } from "@aws-sdk/client-directory-service"; // ES Modules import
|
|
15
|
+
* // const { DirectoryServiceClient, UpdateSettingsCommand } = require("@aws-sdk/client-directory-service"); // CommonJS import
|
|
16
|
+
* const client = new DirectoryServiceClient(config);
|
|
17
|
+
* const command = new UpdateSettingsCommand(input);
|
|
18
|
+
* const response = await client.send(command);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* @see {@link UpdateSettingsCommandInput} for command's `input` shape.
|
|
22
|
+
* @see {@link UpdateSettingsCommandOutput} for command's `response` shape.
|
|
23
|
+
* @see {@link DirectoryServiceClientResolvedConfig | config} for DirectoryServiceClient's `config` shape.
|
|
24
|
+
*
|
|
25
|
+
*/
|
|
26
|
+
export declare class UpdateSettingsCommand extends $Command<UpdateSettingsCommandInput, UpdateSettingsCommandOutput, DirectoryServiceClientResolvedConfig> {
|
|
27
|
+
readonly input: UpdateSettingsCommandInput;
|
|
28
|
+
constructor(input: UpdateSettingsCommandInput);
|
|
29
|
+
/**
|
|
30
|
+
* @internal
|
|
31
|
+
*/
|
|
32
|
+
resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: DirectoryServiceClientResolvedConfig, options?: __HttpHandlerOptions): Handler<UpdateSettingsCommandInput, UpdateSettingsCommandOutput>;
|
|
33
|
+
private serialize;
|
|
34
|
+
private deserialize;
|
|
35
|
+
}
|
|
@@ -27,6 +27,7 @@ export * from "./DescribeDomainControllersCommand";
|
|
|
27
27
|
export * from "./DescribeEventTopicsCommand";
|
|
28
28
|
export * from "./DescribeLDAPSSettingsCommand";
|
|
29
29
|
export * from "./DescribeRegionsCommand";
|
|
30
|
+
export * from "./DescribeSettingsCommand";
|
|
30
31
|
export * from "./DescribeSharedDirectoriesCommand";
|
|
31
32
|
export * from "./DescribeSnapshotsCommand";
|
|
32
33
|
export * from "./DescribeTrustsCommand";
|
|
@@ -59,5 +60,6 @@ export * from "./UnshareDirectoryCommand";
|
|
|
59
60
|
export * from "./UpdateConditionalForwarderCommand";
|
|
60
61
|
export * from "./UpdateNumberOfDomainControllersCommand";
|
|
61
62
|
export * from "./UpdateRadiusCommand";
|
|
63
|
+
export * from "./UpdateSettingsCommand";
|
|
62
64
|
export * from "./UpdateTrustCommand";
|
|
63
65
|
export * from "./VerifyTrustCommand";
|