@aws-sdk/client-directory-service 3.650.0 → 3.654.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/README.md +24 -0
- package/dist-cjs/index.js +124 -5
- package/dist-es/DirectoryService.js +6 -0
- package/dist-es/commands/DescribeDirectoryDataAccessCommand.js +22 -0
- package/dist-es/commands/DisableDirectoryDataAccessCommand.js +22 -0
- package/dist-es/commands/EnableDirectoryDataAccessCommand.js +22 -0
- package/dist-es/commands/index.js +3 -0
- package/dist-es/models/models_0.js +9 -0
- package/dist-es/protocols/Aws_json1_1.js +60 -3
- package/dist-types/DirectoryService.d.ts +21 -0
- package/dist-types/DirectoryServiceClient.d.ts +5 -2
- package/dist-types/commands/AcceptSharedDirectoryCommand.d.ts +11 -0
- package/dist-types/commands/AddIpRoutesCommand.d.ts +12 -1
- package/dist-types/commands/AddRegionCommand.d.ts +13 -2
- package/dist-types/commands/AddTagsToResourceCommand.d.ts +11 -0
- package/dist-types/commands/CancelSchemaExtensionCommand.d.ts +11 -0
- package/dist-types/commands/ConnectDirectoryCommand.d.ts +11 -0
- package/dist-types/commands/CreateAliasCommand.d.ts +11 -0
- package/dist-types/commands/CreateComputerCommand.d.ts +12 -1
- package/dist-types/commands/CreateConditionalForwarderCommand.d.ts +12 -1
- package/dist-types/commands/CreateDirectoryCommand.d.ts +11 -0
- package/dist-types/commands/CreateLogSubscriptionCommand.d.ts +11 -0
- package/dist-types/commands/CreateMicrosoftADCommand.d.ts +11 -0
- package/dist-types/commands/CreateSnapshotCommand.d.ts +11 -0
- package/dist-types/commands/CreateTrustCommand.d.ts +11 -0
- package/dist-types/commands/DeleteConditionalForwarderCommand.d.ts +12 -1
- package/dist-types/commands/DeleteDirectoryCommand.d.ts +11 -0
- package/dist-types/commands/DeleteLogSubscriptionCommand.d.ts +11 -0
- package/dist-types/commands/DeleteSnapshotCommand.d.ts +11 -0
- package/dist-types/commands/DeleteTrustCommand.d.ts +11 -0
- package/dist-types/commands/DeregisterCertificateCommand.d.ts +12 -1
- package/dist-types/commands/DeregisterEventTopicCommand.d.ts +11 -0
- package/dist-types/commands/DescribeCertificateCommand.d.ts +11 -0
- package/dist-types/commands/DescribeClientAuthenticationSettingsCommand.d.ts +12 -1
- package/dist-types/commands/DescribeConditionalForwardersCommand.d.ts +12 -1
- package/dist-types/commands/DescribeDirectoriesCommand.d.ts +12 -1
- package/dist-types/commands/DescribeDirectoryDataAccessCommand.d.ts +86 -0
- package/dist-types/commands/DescribeDomainControllersCommand.d.ts +12 -1
- package/dist-types/commands/DescribeEventTopicsCommand.d.ts +11 -0
- package/dist-types/commands/DescribeLDAPSSettingsCommand.d.ts +11 -0
- package/dist-types/commands/DescribeRegionsCommand.d.ts +13 -2
- package/dist-types/commands/DescribeSettingsCommand.d.ts +11 -0
- package/dist-types/commands/DescribeSharedDirectoriesCommand.d.ts +11 -0
- package/dist-types/commands/DescribeSnapshotsCommand.d.ts +11 -0
- package/dist-types/commands/DescribeTrustsCommand.d.ts +11 -0
- package/dist-types/commands/DescribeUpdateDirectoryCommand.d.ts +12 -1
- package/dist-types/commands/DisableClientAuthenticationCommand.d.ts +12 -1
- package/dist-types/commands/DisableDirectoryDataAccessCommand.d.ts +92 -0
- package/dist-types/commands/DisableLDAPSCommand.d.ts +12 -1
- package/dist-types/commands/DisableRadiusCommand.d.ts +11 -0
- package/dist-types/commands/DisableSsoCommand.d.ts +11 -0
- package/dist-types/commands/EnableClientAuthenticationCommand.d.ts +12 -1
- package/dist-types/commands/EnableDirectoryDataAccessCommand.d.ts +92 -0
- package/dist-types/commands/EnableLDAPSCommand.d.ts +12 -1
- package/dist-types/commands/EnableRadiusCommand.d.ts +11 -0
- package/dist-types/commands/EnableSsoCommand.d.ts +11 -0
- package/dist-types/commands/GetDirectoryLimitsCommand.d.ts +11 -0
- package/dist-types/commands/GetSnapshotLimitsCommand.d.ts +11 -0
- package/dist-types/commands/ListCertificatesCommand.d.ts +11 -0
- package/dist-types/commands/ListIpRoutesCommand.d.ts +11 -0
- package/dist-types/commands/ListLogSubscriptionsCommand.d.ts +11 -0
- package/dist-types/commands/ListSchemaExtensionsCommand.d.ts +11 -0
- package/dist-types/commands/ListTagsForResourceCommand.d.ts +11 -0
- package/dist-types/commands/RegisterCertificateCommand.d.ts +12 -1
- package/dist-types/commands/RegisterEventTopicCommand.d.ts +11 -0
- package/dist-types/commands/RejectSharedDirectoryCommand.d.ts +11 -0
- package/dist-types/commands/RemoveIpRoutesCommand.d.ts +12 -1
- package/dist-types/commands/RemoveRegionCommand.d.ts +13 -2
- package/dist-types/commands/RemoveTagsFromResourceCommand.d.ts +11 -0
- package/dist-types/commands/ResetUserPasswordCommand.d.ts +13 -2
- package/dist-types/commands/RestoreFromSnapshotCommand.d.ts +11 -0
- package/dist-types/commands/ShareDirectoryCommand.d.ts +12 -1
- package/dist-types/commands/StartSchemaExtensionCommand.d.ts +12 -1
- package/dist-types/commands/UnshareDirectoryCommand.d.ts +11 -0
- package/dist-types/commands/UpdateConditionalForwarderCommand.d.ts +12 -1
- package/dist-types/commands/UpdateDirectorySetupCommand.d.ts +13 -2
- package/dist-types/commands/UpdateNumberOfDomainControllersCommand.d.ts +12 -1
- package/dist-types/commands/UpdateRadiusCommand.d.ts +11 -0
- package/dist-types/commands/UpdateSettingsCommand.d.ts +12 -1
- package/dist-types/commands/UpdateTrustCommand.d.ts +11 -0
- package/dist-types/commands/VerifyTrustCommand.d.ts +11 -0
- package/dist-types/commands/index.d.ts +3 -0
- package/dist-types/models/models_0.d.ts +95 -27
- package/dist-types/protocols/Aws_json1_1.d.ts +27 -0
- package/dist-types/ts3.4/DirectoryService.d.ts +51 -0
- package/dist-types/ts3.4/DirectoryServiceClient.d.ts +18 -0
- package/dist-types/ts3.4/commands/AcceptSharedDirectoryCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/AddIpRoutesCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/AddRegionCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/AddTagsToResourceCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/CancelSchemaExtensionCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ConnectDirectoryCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/CreateAliasCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/CreateComputerCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/CreateConditionalForwarderCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/CreateDirectoryCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/CreateLogSubscriptionCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/CreateMicrosoftADCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/CreateSnapshotCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/CreateTrustCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DeleteConditionalForwarderCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DeleteDirectoryCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DeleteLogSubscriptionCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DeleteSnapshotCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DeleteTrustCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DeregisterCertificateCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DeregisterEventTopicCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeCertificateCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeClientAuthenticationSettingsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeConditionalForwardersCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeDirectoriesCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeDirectoryDataAccessCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DescribeDomainControllersCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeEventTopicsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeLDAPSSettingsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeRegionsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeSettingsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeSharedDirectoriesCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeSnapshotsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeTrustsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DescribeUpdateDirectoryCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DisableClientAuthenticationCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DisableDirectoryDataAccessCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/DisableLDAPSCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DisableRadiusCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/DisableSsoCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/EnableClientAuthenticationCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/EnableDirectoryDataAccessCommand.d.ts +51 -0
- package/dist-types/ts3.4/commands/EnableLDAPSCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/EnableRadiusCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/EnableSsoCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/GetDirectoryLimitsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/GetSnapshotLimitsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListCertificatesCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListIpRoutesCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListLogSubscriptionsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListSchemaExtensionsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ListTagsForResourceCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/RegisterCertificateCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/RegisterEventTopicCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/RejectSharedDirectoryCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/RemoveIpRoutesCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/RemoveRegionCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/RemoveTagsFromResourceCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ResetUserPasswordCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/RestoreFromSnapshotCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/ShareDirectoryCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/StartSchemaExtensionCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UnshareDirectoryCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateConditionalForwarderCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateDirectorySetupCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateNumberOfDomainControllersCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateRadiusCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateSettingsCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/UpdateTrustCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/VerifyTrustCommand.d.ts +12 -1
- package/dist-types/ts3.4/commands/index.d.ts +3 -0
- package/dist-types/ts3.4/models/models_0.d.ts +25 -0
- package/dist-types/ts3.4/protocols/Aws_json1_1.d.ts +36 -0
- package/package.json +35 -35
package/README.md
CHANGED
|
@@ -416,6 +416,14 @@ DescribeDirectories
|
|
|
416
416
|
|
|
417
417
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/directory-service/command/DescribeDirectoriesCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/DescribeDirectoriesCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/DescribeDirectoriesCommandOutput/)
|
|
418
418
|
|
|
419
|
+
</details>
|
|
420
|
+
<details>
|
|
421
|
+
<summary>
|
|
422
|
+
DescribeDirectoryDataAccess
|
|
423
|
+
</summary>
|
|
424
|
+
|
|
425
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/directory-service/command/DescribeDirectoryDataAccessCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/DescribeDirectoryDataAccessCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/DescribeDirectoryDataAccessCommandOutput/)
|
|
426
|
+
|
|
419
427
|
</details>
|
|
420
428
|
<details>
|
|
421
429
|
<summary>
|
|
@@ -496,6 +504,14 @@ DisableClientAuthentication
|
|
|
496
504
|
|
|
497
505
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/directory-service/command/DisableClientAuthenticationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/DisableClientAuthenticationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/DisableClientAuthenticationCommandOutput/)
|
|
498
506
|
|
|
507
|
+
</details>
|
|
508
|
+
<details>
|
|
509
|
+
<summary>
|
|
510
|
+
DisableDirectoryDataAccess
|
|
511
|
+
</summary>
|
|
512
|
+
|
|
513
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/directory-service/command/DisableDirectoryDataAccessCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/DisableDirectoryDataAccessCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/DisableDirectoryDataAccessCommandOutput/)
|
|
514
|
+
|
|
499
515
|
</details>
|
|
500
516
|
<details>
|
|
501
517
|
<summary>
|
|
@@ -528,6 +544,14 @@ EnableClientAuthentication
|
|
|
528
544
|
|
|
529
545
|
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/directory-service/command/EnableClientAuthenticationCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/EnableClientAuthenticationCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/EnableClientAuthenticationCommandOutput/)
|
|
530
546
|
|
|
547
|
+
</details>
|
|
548
|
+
<details>
|
|
549
|
+
<summary>
|
|
550
|
+
EnableDirectoryDataAccess
|
|
551
|
+
</summary>
|
|
552
|
+
|
|
553
|
+
[Command API Reference](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/client/directory-service/command/EnableDirectoryDataAccessCommand/) / [Input](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/EnableDirectoryDataAccessCommandInput/) / [Output](https://docs.aws.amazon.com/AWSJavaScriptSDK/v3/latest/Package/-aws-sdk-client-directory-service/Interface/EnableDirectoryDataAccessCommandOutput/)
|
|
554
|
+
|
|
531
555
|
</details>
|
|
532
556
|
<details>
|
|
533
557
|
<summary>
|
package/dist-cjs/index.js
CHANGED
|
@@ -52,6 +52,7 @@ __export(src_exports, {
|
|
|
52
52
|
CreateSnapshotCommand: () => CreateSnapshotCommand,
|
|
53
53
|
CreateTrustCommand: () => CreateTrustCommand,
|
|
54
54
|
CreateTrustRequestFilterSensitiveLog: () => CreateTrustRequestFilterSensitiveLog,
|
|
55
|
+
DataAccessStatus: () => DataAccessStatus,
|
|
55
56
|
DeleteConditionalForwarderCommand: () => DeleteConditionalForwarderCommand,
|
|
56
57
|
DeleteDirectoryCommand: () => DeleteDirectoryCommand,
|
|
57
58
|
DeleteLogSubscriptionCommand: () => DeleteLogSubscriptionCommand,
|
|
@@ -64,6 +65,7 @@ __export(src_exports, {
|
|
|
64
65
|
DescribeConditionalForwardersCommand: () => DescribeConditionalForwardersCommand,
|
|
65
66
|
DescribeDirectoriesCommand: () => DescribeDirectoriesCommand,
|
|
66
67
|
DescribeDirectoriesResultFilterSensitiveLog: () => DescribeDirectoriesResultFilterSensitiveLog,
|
|
68
|
+
DescribeDirectoryDataAccessCommand: () => DescribeDirectoryDataAccessCommand,
|
|
67
69
|
DescribeDomainControllersCommand: () => DescribeDomainControllersCommand,
|
|
68
70
|
DescribeEventTopicsCommand: () => DescribeEventTopicsCommand,
|
|
69
71
|
DescribeLDAPSSettingsCommand: () => DescribeLDAPSSettingsCommand,
|
|
@@ -91,6 +93,7 @@ __export(src_exports, {
|
|
|
91
93
|
DirectoryType: () => DirectoryType,
|
|
92
94
|
DirectoryUnavailableException: () => DirectoryUnavailableException,
|
|
93
95
|
DisableClientAuthenticationCommand: () => DisableClientAuthenticationCommand,
|
|
96
|
+
DisableDirectoryDataAccessCommand: () => DisableDirectoryDataAccessCommand,
|
|
94
97
|
DisableLDAPSCommand: () => DisableLDAPSCommand,
|
|
95
98
|
DisableRadiusCommand: () => DisableRadiusCommand,
|
|
96
99
|
DisableSsoCommand: () => DisableSsoCommand,
|
|
@@ -98,6 +101,7 @@ __export(src_exports, {
|
|
|
98
101
|
DomainControllerLimitExceededException: () => DomainControllerLimitExceededException,
|
|
99
102
|
DomainControllerStatus: () => DomainControllerStatus,
|
|
100
103
|
EnableClientAuthenticationCommand: () => EnableClientAuthenticationCommand,
|
|
104
|
+
EnableDirectoryDataAccessCommand: () => EnableDirectoryDataAccessCommand,
|
|
101
105
|
EnableLDAPSCommand: () => EnableLDAPSCommand,
|
|
102
106
|
EnableRadiusCommand: () => EnableRadiusCommand,
|
|
103
107
|
EnableRadiusRequestFilterSensitiveLog: () => EnableRadiusRequestFilterSensitiveLog,
|
|
@@ -835,6 +839,13 @@ var TrustType = {
|
|
|
835
839
|
EXTERNAL: "External",
|
|
836
840
|
FOREST: "Forest"
|
|
837
841
|
};
|
|
842
|
+
var DataAccessStatus = {
|
|
843
|
+
DISABLED: "Disabled",
|
|
844
|
+
DISABLING: "Disabling",
|
|
845
|
+
ENABLED: "Enabled",
|
|
846
|
+
ENABLING: "Enabling",
|
|
847
|
+
FAILED: "Failed"
|
|
848
|
+
};
|
|
838
849
|
var OSVersion = {
|
|
839
850
|
VERSION_2012: "SERVER_2012",
|
|
840
851
|
VERSION_2019: "SERVER_2019"
|
|
@@ -861,7 +872,8 @@ var DirectoryStage = {
|
|
|
861
872
|
INOPERABLE: "Inoperable",
|
|
862
873
|
REQUESTED: "Requested",
|
|
863
874
|
RESTOREFAILED: "RestoreFailed",
|
|
864
|
-
RESTORING: "Restoring"
|
|
875
|
+
RESTORING: "Restoring",
|
|
876
|
+
UPDATING: "Updating"
|
|
865
877
|
};
|
|
866
878
|
var DirectoryType = {
|
|
867
879
|
AD_CONNECTOR: "ADConnector",
|
|
@@ -895,7 +907,8 @@ var DomainControllerStatus = {
|
|
|
895
907
|
DELETING: "Deleting",
|
|
896
908
|
FAILED: "Failed",
|
|
897
909
|
IMPAIRED: "Impaired",
|
|
898
|
-
RESTORING: "Restoring"
|
|
910
|
+
RESTORING: "Restoring",
|
|
911
|
+
UPDATING: "Updating"
|
|
899
912
|
};
|
|
900
913
|
var TopicStatus = {
|
|
901
914
|
DELETED: "Deleted",
|
|
@@ -1476,6 +1489,12 @@ var se_DescribeDirectoriesCommand = /* @__PURE__ */ __name(async (input, context
|
|
|
1476
1489
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1477
1490
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1478
1491
|
}, "se_DescribeDirectoriesCommand");
|
|
1492
|
+
var se_DescribeDirectoryDataAccessCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1493
|
+
const headers = sharedHeaders("DescribeDirectoryDataAccess");
|
|
1494
|
+
let body;
|
|
1495
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1496
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1497
|
+
}, "se_DescribeDirectoryDataAccessCommand");
|
|
1479
1498
|
var se_DescribeDomainControllersCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1480
1499
|
const headers = sharedHeaders("DescribeDomainControllers");
|
|
1481
1500
|
let body;
|
|
@@ -1536,6 +1555,12 @@ var se_DisableClientAuthenticationCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1536
1555
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1537
1556
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1538
1557
|
}, "se_DisableClientAuthenticationCommand");
|
|
1558
|
+
var se_DisableDirectoryDataAccessCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1559
|
+
const headers = sharedHeaders("DisableDirectoryDataAccess");
|
|
1560
|
+
let body;
|
|
1561
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1562
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1563
|
+
}, "se_DisableDirectoryDataAccessCommand");
|
|
1539
1564
|
var se_DisableLDAPSCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1540
1565
|
const headers = sharedHeaders("DisableLDAPS");
|
|
1541
1566
|
let body;
|
|
@@ -1560,6 +1585,12 @@ var se_EnableClientAuthenticationCommand = /* @__PURE__ */ __name(async (input,
|
|
|
1560
1585
|
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1561
1586
|
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1562
1587
|
}, "se_EnableClientAuthenticationCommand");
|
|
1588
|
+
var se_EnableDirectoryDataAccessCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1589
|
+
const headers = sharedHeaders("EnableDirectoryDataAccess");
|
|
1590
|
+
let body;
|
|
1591
|
+
body = JSON.stringify((0, import_smithy_client._json)(input));
|
|
1592
|
+
return buildHttpRpcRequest(context, headers, "/", void 0, body);
|
|
1593
|
+
}, "se_EnableDirectoryDataAccessCommand");
|
|
1563
1594
|
var se_EnableLDAPSCommand = /* @__PURE__ */ __name(async (input, context) => {
|
|
1564
1595
|
const headers = sharedHeaders("EnableLDAPS");
|
|
1565
1596
|
let body;
|
|
@@ -2053,6 +2084,19 @@ var de_DescribeDirectoriesCommand = /* @__PURE__ */ __name(async (output, contex
|
|
|
2053
2084
|
};
|
|
2054
2085
|
return response;
|
|
2055
2086
|
}, "de_DescribeDirectoriesCommand");
|
|
2087
|
+
var de_DescribeDirectoryDataAccessCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2088
|
+
if (output.statusCode >= 300) {
|
|
2089
|
+
return de_CommandError(output, context);
|
|
2090
|
+
}
|
|
2091
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2092
|
+
let contents = {};
|
|
2093
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2094
|
+
const response = {
|
|
2095
|
+
$metadata: deserializeMetadata(output),
|
|
2096
|
+
...contents
|
|
2097
|
+
};
|
|
2098
|
+
return response;
|
|
2099
|
+
}, "de_DescribeDirectoryDataAccessCommand");
|
|
2056
2100
|
var de_DescribeDomainControllersCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2057
2101
|
if (output.statusCode >= 300) {
|
|
2058
2102
|
return de_CommandError(output, context);
|
|
@@ -2183,6 +2227,19 @@ var de_DisableClientAuthenticationCommand = /* @__PURE__ */ __name(async (output
|
|
|
2183
2227
|
};
|
|
2184
2228
|
return response;
|
|
2185
2229
|
}, "de_DisableClientAuthenticationCommand");
|
|
2230
|
+
var de_DisableDirectoryDataAccessCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2231
|
+
if (output.statusCode >= 300) {
|
|
2232
|
+
return de_CommandError(output, context);
|
|
2233
|
+
}
|
|
2234
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2235
|
+
let contents = {};
|
|
2236
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2237
|
+
const response = {
|
|
2238
|
+
$metadata: deserializeMetadata(output),
|
|
2239
|
+
...contents
|
|
2240
|
+
};
|
|
2241
|
+
return response;
|
|
2242
|
+
}, "de_DisableDirectoryDataAccessCommand");
|
|
2186
2243
|
var de_DisableLDAPSCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2187
2244
|
if (output.statusCode >= 300) {
|
|
2188
2245
|
return de_CommandError(output, context);
|
|
@@ -2235,6 +2292,19 @@ var de_EnableClientAuthenticationCommand = /* @__PURE__ */ __name(async (output,
|
|
|
2235
2292
|
};
|
|
2236
2293
|
return response;
|
|
2237
2294
|
}, "de_EnableClientAuthenticationCommand");
|
|
2295
|
+
var de_EnableDirectoryDataAccessCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2296
|
+
if (output.statusCode >= 300) {
|
|
2297
|
+
return de_CommandError(output, context);
|
|
2298
|
+
}
|
|
2299
|
+
const data = await (0, import_core2.parseJsonBody)(output.body, context);
|
|
2300
|
+
let contents = {};
|
|
2301
|
+
contents = (0, import_smithy_client._json)(data);
|
|
2302
|
+
const response = {
|
|
2303
|
+
$metadata: deserializeMetadata(output),
|
|
2304
|
+
...contents
|
|
2305
|
+
};
|
|
2306
|
+
return response;
|
|
2307
|
+
}, "de_EnableDirectoryDataAccessCommand");
|
|
2238
2308
|
var de_EnableLDAPSCommand = /* @__PURE__ */ __name(async (output, context) => {
|
|
2239
2309
|
if (output.statusCode >= 300) {
|
|
2240
2310
|
return de_CommandError(output, context);
|
|
@@ -2672,6 +2742,9 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2672
2742
|
case "InvalidClientAuthStatusException":
|
|
2673
2743
|
case "com.amazonaws.directoryservice#InvalidClientAuthStatusException":
|
|
2674
2744
|
throw await de_InvalidClientAuthStatusExceptionRes(parsedOutput, context);
|
|
2745
|
+
case "DirectoryInDesiredStateException":
|
|
2746
|
+
case "com.amazonaws.directoryservice#DirectoryInDesiredStateException":
|
|
2747
|
+
throw await de_DirectoryInDesiredStateExceptionRes(parsedOutput, context);
|
|
2675
2748
|
case "InvalidLDAPSStatusException":
|
|
2676
2749
|
case "com.amazonaws.directoryservice#InvalidLDAPSStatusException":
|
|
2677
2750
|
throw await de_InvalidLDAPSStatusExceptionRes(parsedOutput, context);
|
|
@@ -2705,9 +2778,6 @@ var de_CommandError = /* @__PURE__ */ __name(async (output, context) => {
|
|
|
2705
2778
|
case "DirectoryNotSharedException":
|
|
2706
2779
|
case "com.amazonaws.directoryservice#DirectoryNotSharedException":
|
|
2707
2780
|
throw await de_DirectoryNotSharedExceptionRes(parsedOutput, context);
|
|
2708
|
-
case "DirectoryInDesiredStateException":
|
|
2709
|
-
case "com.amazonaws.directoryservice#DirectoryInDesiredStateException":
|
|
2710
|
-
throw await de_DirectoryInDesiredStateExceptionRes(parsedOutput, context);
|
|
2711
2781
|
case "DomainControllerLimitExceededException":
|
|
2712
2782
|
case "com.amazonaws.directoryservice#DomainControllerLimitExceededException":
|
|
2713
2783
|
throw await de_DomainControllerLimitExceededExceptionRes(parsedOutput, context);
|
|
@@ -3823,6 +3893,20 @@ var _DescribeDirectoriesCommand = class _DescribeDirectoriesCommand extends impo
|
|
|
3823
3893
|
__name(_DescribeDirectoriesCommand, "DescribeDirectoriesCommand");
|
|
3824
3894
|
var DescribeDirectoriesCommand = _DescribeDirectoriesCommand;
|
|
3825
3895
|
|
|
3896
|
+
// src/commands/DescribeDirectoryDataAccessCommand.ts
|
|
3897
|
+
|
|
3898
|
+
|
|
3899
|
+
|
|
3900
|
+
var _DescribeDirectoryDataAccessCommand = class _DescribeDirectoryDataAccessCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
3901
|
+
return [
|
|
3902
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
3903
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
3904
|
+
];
|
|
3905
|
+
}).s("DirectoryService_20150416", "DescribeDirectoryDataAccess", {}).n("DirectoryServiceClient", "DescribeDirectoryDataAccessCommand").f(void 0, void 0).ser(se_DescribeDirectoryDataAccessCommand).de(de_DescribeDirectoryDataAccessCommand).build() {
|
|
3906
|
+
};
|
|
3907
|
+
__name(_DescribeDirectoryDataAccessCommand, "DescribeDirectoryDataAccessCommand");
|
|
3908
|
+
var DescribeDirectoryDataAccessCommand = _DescribeDirectoryDataAccessCommand;
|
|
3909
|
+
|
|
3826
3910
|
// src/commands/DescribeDomainControllersCommand.ts
|
|
3827
3911
|
|
|
3828
3912
|
|
|
@@ -3963,6 +4047,20 @@ var _DisableClientAuthenticationCommand = class _DisableClientAuthenticationComm
|
|
|
3963
4047
|
__name(_DisableClientAuthenticationCommand, "DisableClientAuthenticationCommand");
|
|
3964
4048
|
var DisableClientAuthenticationCommand = _DisableClientAuthenticationCommand;
|
|
3965
4049
|
|
|
4050
|
+
// src/commands/DisableDirectoryDataAccessCommand.ts
|
|
4051
|
+
|
|
4052
|
+
|
|
4053
|
+
|
|
4054
|
+
var _DisableDirectoryDataAccessCommand = class _DisableDirectoryDataAccessCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4055
|
+
return [
|
|
4056
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4057
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4058
|
+
];
|
|
4059
|
+
}).s("DirectoryService_20150416", "DisableDirectoryDataAccess", {}).n("DirectoryServiceClient", "DisableDirectoryDataAccessCommand").f(void 0, void 0).ser(se_DisableDirectoryDataAccessCommand).de(de_DisableDirectoryDataAccessCommand).build() {
|
|
4060
|
+
};
|
|
4061
|
+
__name(_DisableDirectoryDataAccessCommand, "DisableDirectoryDataAccessCommand");
|
|
4062
|
+
var DisableDirectoryDataAccessCommand = _DisableDirectoryDataAccessCommand;
|
|
4063
|
+
|
|
3966
4064
|
// src/commands/DisableLDAPSCommand.ts
|
|
3967
4065
|
|
|
3968
4066
|
|
|
@@ -4019,6 +4117,20 @@ var _EnableClientAuthenticationCommand = class _EnableClientAuthenticationComman
|
|
|
4019
4117
|
__name(_EnableClientAuthenticationCommand, "EnableClientAuthenticationCommand");
|
|
4020
4118
|
var EnableClientAuthenticationCommand = _EnableClientAuthenticationCommand;
|
|
4021
4119
|
|
|
4120
|
+
// src/commands/EnableDirectoryDataAccessCommand.ts
|
|
4121
|
+
|
|
4122
|
+
|
|
4123
|
+
|
|
4124
|
+
var _EnableDirectoryDataAccessCommand = class _EnableDirectoryDataAccessCommand extends import_smithy_client.Command.classBuilder().ep(commonParams).m(function(Command, cs, config, o) {
|
|
4125
|
+
return [
|
|
4126
|
+
(0, import_middleware_serde.getSerdePlugin)(config, this.serialize, this.deserialize),
|
|
4127
|
+
(0, import_middleware_endpoint.getEndpointPlugin)(config, Command.getEndpointParameterInstructions())
|
|
4128
|
+
];
|
|
4129
|
+
}).s("DirectoryService_20150416", "EnableDirectoryDataAccess", {}).n("DirectoryServiceClient", "EnableDirectoryDataAccessCommand").f(void 0, void 0).ser(se_EnableDirectoryDataAccessCommand).de(de_EnableDirectoryDataAccessCommand).build() {
|
|
4130
|
+
};
|
|
4131
|
+
__name(_EnableDirectoryDataAccessCommand, "EnableDirectoryDataAccessCommand");
|
|
4132
|
+
var EnableDirectoryDataAccessCommand = _EnableDirectoryDataAccessCommand;
|
|
4133
|
+
|
|
4022
4134
|
// src/commands/EnableLDAPSCommand.ts
|
|
4023
4135
|
|
|
4024
4136
|
|
|
@@ -4438,6 +4550,7 @@ var commands = {
|
|
|
4438
4550
|
DescribeClientAuthenticationSettingsCommand,
|
|
4439
4551
|
DescribeConditionalForwardersCommand,
|
|
4440
4552
|
DescribeDirectoriesCommand,
|
|
4553
|
+
DescribeDirectoryDataAccessCommand,
|
|
4441
4554
|
DescribeDomainControllersCommand,
|
|
4442
4555
|
DescribeEventTopicsCommand,
|
|
4443
4556
|
DescribeLDAPSSettingsCommand,
|
|
@@ -4448,10 +4561,12 @@ var commands = {
|
|
|
4448
4561
|
DescribeTrustsCommand,
|
|
4449
4562
|
DescribeUpdateDirectoryCommand,
|
|
4450
4563
|
DisableClientAuthenticationCommand,
|
|
4564
|
+
DisableDirectoryDataAccessCommand,
|
|
4451
4565
|
DisableLDAPSCommand,
|
|
4452
4566
|
DisableRadiusCommand,
|
|
4453
4567
|
DisableSsoCommand,
|
|
4454
4568
|
EnableClientAuthenticationCommand,
|
|
4569
|
+
EnableDirectoryDataAccessCommand,
|
|
4455
4570
|
EnableLDAPSCommand,
|
|
4456
4571
|
EnableRadiusCommand,
|
|
4457
4572
|
EnableSsoCommand,
|
|
@@ -4575,6 +4690,7 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(DirectoryServ
|
|
|
4575
4690
|
DescribeClientAuthenticationSettingsCommand,
|
|
4576
4691
|
DescribeConditionalForwardersCommand,
|
|
4577
4692
|
DescribeDirectoriesCommand,
|
|
4693
|
+
DescribeDirectoryDataAccessCommand,
|
|
4578
4694
|
DescribeDomainControllersCommand,
|
|
4579
4695
|
DescribeEventTopicsCommand,
|
|
4580
4696
|
DescribeLDAPSSettingsCommand,
|
|
@@ -4585,10 +4701,12 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(DirectoryServ
|
|
|
4585
4701
|
DescribeTrustsCommand,
|
|
4586
4702
|
DescribeUpdateDirectoryCommand,
|
|
4587
4703
|
DisableClientAuthenticationCommand,
|
|
4704
|
+
DisableDirectoryDataAccessCommand,
|
|
4588
4705
|
DisableLDAPSCommand,
|
|
4589
4706
|
DisableRadiusCommand,
|
|
4590
4707
|
DisableSsoCommand,
|
|
4591
4708
|
EnableClientAuthenticationCommand,
|
|
4709
|
+
EnableDirectoryDataAccessCommand,
|
|
4592
4710
|
EnableLDAPSCommand,
|
|
4593
4711
|
EnableRadiusCommand,
|
|
4594
4712
|
EnableSsoCommand,
|
|
@@ -4665,6 +4783,7 @@ var paginateListTagsForResource = (0, import_core.createPaginator)(DirectoryServ
|
|
|
4665
4783
|
SelectiveAuth,
|
|
4666
4784
|
TrustDirection,
|
|
4667
4785
|
TrustType,
|
|
4786
|
+
DataAccessStatus,
|
|
4668
4787
|
OSVersion,
|
|
4669
4788
|
RadiusAuthenticationProtocol,
|
|
4670
4789
|
RadiusStatus,
|
|
@@ -24,6 +24,7 @@ import { DescribeCertificateCommand, } from "./commands/DescribeCertificateComma
|
|
|
24
24
|
import { DescribeClientAuthenticationSettingsCommand, } from "./commands/DescribeClientAuthenticationSettingsCommand";
|
|
25
25
|
import { DescribeConditionalForwardersCommand, } from "./commands/DescribeConditionalForwardersCommand";
|
|
26
26
|
import { DescribeDirectoriesCommand, } from "./commands/DescribeDirectoriesCommand";
|
|
27
|
+
import { DescribeDirectoryDataAccessCommand, } from "./commands/DescribeDirectoryDataAccessCommand";
|
|
27
28
|
import { DescribeDomainControllersCommand, } from "./commands/DescribeDomainControllersCommand";
|
|
28
29
|
import { DescribeEventTopicsCommand, } from "./commands/DescribeEventTopicsCommand";
|
|
29
30
|
import { DescribeLDAPSSettingsCommand, } from "./commands/DescribeLDAPSSettingsCommand";
|
|
@@ -34,10 +35,12 @@ import { DescribeSnapshotsCommand, } from "./commands/DescribeSnapshotsCommand";
|
|
|
34
35
|
import { DescribeTrustsCommand, } from "./commands/DescribeTrustsCommand";
|
|
35
36
|
import { DescribeUpdateDirectoryCommand, } from "./commands/DescribeUpdateDirectoryCommand";
|
|
36
37
|
import { DisableClientAuthenticationCommand, } from "./commands/DisableClientAuthenticationCommand";
|
|
38
|
+
import { DisableDirectoryDataAccessCommand, } from "./commands/DisableDirectoryDataAccessCommand";
|
|
37
39
|
import { DisableLDAPSCommand, } from "./commands/DisableLDAPSCommand";
|
|
38
40
|
import { DisableRadiusCommand, } from "./commands/DisableRadiusCommand";
|
|
39
41
|
import { DisableSsoCommand } from "./commands/DisableSsoCommand";
|
|
40
42
|
import { EnableClientAuthenticationCommand, } from "./commands/EnableClientAuthenticationCommand";
|
|
43
|
+
import { EnableDirectoryDataAccessCommand, } from "./commands/EnableDirectoryDataAccessCommand";
|
|
41
44
|
import { EnableLDAPSCommand } from "./commands/EnableLDAPSCommand";
|
|
42
45
|
import { EnableRadiusCommand, } from "./commands/EnableRadiusCommand";
|
|
43
46
|
import { EnableSsoCommand } from "./commands/EnableSsoCommand";
|
|
@@ -93,6 +96,7 @@ const commands = {
|
|
|
93
96
|
DescribeClientAuthenticationSettingsCommand,
|
|
94
97
|
DescribeConditionalForwardersCommand,
|
|
95
98
|
DescribeDirectoriesCommand,
|
|
99
|
+
DescribeDirectoryDataAccessCommand,
|
|
96
100
|
DescribeDomainControllersCommand,
|
|
97
101
|
DescribeEventTopicsCommand,
|
|
98
102
|
DescribeLDAPSSettingsCommand,
|
|
@@ -103,10 +107,12 @@ const commands = {
|
|
|
103
107
|
DescribeTrustsCommand,
|
|
104
108
|
DescribeUpdateDirectoryCommand,
|
|
105
109
|
DisableClientAuthenticationCommand,
|
|
110
|
+
DisableDirectoryDataAccessCommand,
|
|
106
111
|
DisableLDAPSCommand,
|
|
107
112
|
DisableRadiusCommand,
|
|
108
113
|
DisableSsoCommand,
|
|
109
114
|
EnableClientAuthenticationCommand,
|
|
115
|
+
EnableDirectoryDataAccessCommand,
|
|
110
116
|
EnableLDAPSCommand,
|
|
111
117
|
EnableRadiusCommand,
|
|
112
118
|
EnableSsoCommand,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DescribeDirectoryDataAccessCommand, se_DescribeDirectoryDataAccessCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DescribeDirectoryDataAccessCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("DirectoryService_20150416", "DescribeDirectoryDataAccess", {})
|
|
17
|
+
.n("DirectoryServiceClient", "DescribeDirectoryDataAccessCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DescribeDirectoryDataAccessCommand)
|
|
20
|
+
.de(de_DescribeDirectoryDataAccessCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_DisableDirectoryDataAccessCommand, se_DisableDirectoryDataAccessCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class DisableDirectoryDataAccessCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("DirectoryService_20150416", "DisableDirectoryDataAccess", {})
|
|
17
|
+
.n("DirectoryServiceClient", "DisableDirectoryDataAccessCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_DisableDirectoryDataAccessCommand)
|
|
20
|
+
.de(de_DisableDirectoryDataAccessCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { getEndpointPlugin } from "@smithy/middleware-endpoint";
|
|
2
|
+
import { getSerdePlugin } from "@smithy/middleware-serde";
|
|
3
|
+
import { Command as $Command } from "@smithy/smithy-client";
|
|
4
|
+
import { commonParams } from "../endpoint/EndpointParameters";
|
|
5
|
+
import { de_EnableDirectoryDataAccessCommand, se_EnableDirectoryDataAccessCommand } from "../protocols/Aws_json1_1";
|
|
6
|
+
export { $Command };
|
|
7
|
+
export class EnableDirectoryDataAccessCommand extends $Command
|
|
8
|
+
.classBuilder()
|
|
9
|
+
.ep(commonParams)
|
|
10
|
+
.m(function (Command, cs, config, o) {
|
|
11
|
+
return [
|
|
12
|
+
getSerdePlugin(config, this.serialize, this.deserialize),
|
|
13
|
+
getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
|
|
14
|
+
];
|
|
15
|
+
})
|
|
16
|
+
.s("DirectoryService_20150416", "EnableDirectoryDataAccess", {})
|
|
17
|
+
.n("DirectoryServiceClient", "EnableDirectoryDataAccessCommand")
|
|
18
|
+
.f(void 0, void 0)
|
|
19
|
+
.ser(se_EnableDirectoryDataAccessCommand)
|
|
20
|
+
.de(de_EnableDirectoryDataAccessCommand)
|
|
21
|
+
.build() {
|
|
22
|
+
}
|
|
@@ -23,6 +23,7 @@ export * from "./DescribeCertificateCommand";
|
|
|
23
23
|
export * from "./DescribeClientAuthenticationSettingsCommand";
|
|
24
24
|
export * from "./DescribeConditionalForwardersCommand";
|
|
25
25
|
export * from "./DescribeDirectoriesCommand";
|
|
26
|
+
export * from "./DescribeDirectoryDataAccessCommand";
|
|
26
27
|
export * from "./DescribeDomainControllersCommand";
|
|
27
28
|
export * from "./DescribeEventTopicsCommand";
|
|
28
29
|
export * from "./DescribeLDAPSSettingsCommand";
|
|
@@ -33,10 +34,12 @@ export * from "./DescribeSnapshotsCommand";
|
|
|
33
34
|
export * from "./DescribeTrustsCommand";
|
|
34
35
|
export * from "./DescribeUpdateDirectoryCommand";
|
|
35
36
|
export * from "./DisableClientAuthenticationCommand";
|
|
37
|
+
export * from "./DisableDirectoryDataAccessCommand";
|
|
36
38
|
export * from "./DisableLDAPSCommand";
|
|
37
39
|
export * from "./DisableRadiusCommand";
|
|
38
40
|
export * from "./DisableSsoCommand";
|
|
39
41
|
export * from "./EnableClientAuthenticationCommand";
|
|
42
|
+
export * from "./EnableDirectoryDataAccessCommand";
|
|
40
43
|
export * from "./EnableLDAPSCommand";
|
|
41
44
|
export * from "./EnableRadiusCommand";
|
|
42
45
|
export * from "./EnableSsoCommand";
|
|
@@ -367,6 +367,13 @@ export const TrustType = {
|
|
|
367
367
|
EXTERNAL: "External",
|
|
368
368
|
FOREST: "Forest",
|
|
369
369
|
};
|
|
370
|
+
export const DataAccessStatus = {
|
|
371
|
+
DISABLED: "Disabled",
|
|
372
|
+
DISABLING: "Disabling",
|
|
373
|
+
ENABLED: "Enabled",
|
|
374
|
+
ENABLING: "Enabling",
|
|
375
|
+
FAILED: "Failed",
|
|
376
|
+
};
|
|
370
377
|
export const OSVersion = {
|
|
371
378
|
VERSION_2012: "SERVER_2012",
|
|
372
379
|
VERSION_2019: "SERVER_2019",
|
|
@@ -394,6 +401,7 @@ export const DirectoryStage = {
|
|
|
394
401
|
REQUESTED: "Requested",
|
|
395
402
|
RESTOREFAILED: "RestoreFailed",
|
|
396
403
|
RESTORING: "Restoring",
|
|
404
|
+
UPDATING: "Updating",
|
|
397
405
|
};
|
|
398
406
|
export const DirectoryType = {
|
|
399
407
|
AD_CONNECTOR: "ADConnector",
|
|
@@ -423,6 +431,7 @@ export const DomainControllerStatus = {
|
|
|
423
431
|
FAILED: "Failed",
|
|
424
432
|
IMPAIRED: "Impaired",
|
|
425
433
|
RESTORING: "Restoring",
|
|
434
|
+
UPDATING: "Updating",
|
|
426
435
|
};
|
|
427
436
|
export const TopicStatus = {
|
|
428
437
|
DELETED: "Deleted",
|
|
@@ -153,6 +153,12 @@ export const se_DescribeDirectoriesCommand = async (input, context) => {
|
|
|
153
153
|
body = JSON.stringify(_json(input));
|
|
154
154
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
155
155
|
};
|
|
156
|
+
export const se_DescribeDirectoryDataAccessCommand = async (input, context) => {
|
|
157
|
+
const headers = sharedHeaders("DescribeDirectoryDataAccess");
|
|
158
|
+
let body;
|
|
159
|
+
body = JSON.stringify(_json(input));
|
|
160
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
161
|
+
};
|
|
156
162
|
export const se_DescribeDomainControllersCommand = async (input, context) => {
|
|
157
163
|
const headers = sharedHeaders("DescribeDomainControllers");
|
|
158
164
|
let body;
|
|
@@ -213,6 +219,12 @@ export const se_DisableClientAuthenticationCommand = async (input, context) => {
|
|
|
213
219
|
body = JSON.stringify(_json(input));
|
|
214
220
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
215
221
|
};
|
|
222
|
+
export const se_DisableDirectoryDataAccessCommand = async (input, context) => {
|
|
223
|
+
const headers = sharedHeaders("DisableDirectoryDataAccess");
|
|
224
|
+
let body;
|
|
225
|
+
body = JSON.stringify(_json(input));
|
|
226
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
227
|
+
};
|
|
216
228
|
export const se_DisableLDAPSCommand = async (input, context) => {
|
|
217
229
|
const headers = sharedHeaders("DisableLDAPS");
|
|
218
230
|
let body;
|
|
@@ -237,6 +249,12 @@ export const se_EnableClientAuthenticationCommand = async (input, context) => {
|
|
|
237
249
|
body = JSON.stringify(_json(input));
|
|
238
250
|
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
239
251
|
};
|
|
252
|
+
export const se_EnableDirectoryDataAccessCommand = async (input, context) => {
|
|
253
|
+
const headers = sharedHeaders("EnableDirectoryDataAccess");
|
|
254
|
+
let body;
|
|
255
|
+
body = JSON.stringify(_json(input));
|
|
256
|
+
return buildHttpRpcRequest(context, headers, "/", undefined, body);
|
|
257
|
+
};
|
|
240
258
|
export const se_EnableLDAPSCommand = async (input, context) => {
|
|
241
259
|
const headers = sharedHeaders("EnableLDAPS");
|
|
242
260
|
let body;
|
|
@@ -730,6 +748,19 @@ export const de_DescribeDirectoriesCommand = async (output, context) => {
|
|
|
730
748
|
};
|
|
731
749
|
return response;
|
|
732
750
|
};
|
|
751
|
+
export const de_DescribeDirectoryDataAccessCommand = async (output, context) => {
|
|
752
|
+
if (output.statusCode >= 300) {
|
|
753
|
+
return de_CommandError(output, context);
|
|
754
|
+
}
|
|
755
|
+
const data = await parseBody(output.body, context);
|
|
756
|
+
let contents = {};
|
|
757
|
+
contents = _json(data);
|
|
758
|
+
const response = {
|
|
759
|
+
$metadata: deserializeMetadata(output),
|
|
760
|
+
...contents,
|
|
761
|
+
};
|
|
762
|
+
return response;
|
|
763
|
+
};
|
|
733
764
|
export const de_DescribeDomainControllersCommand = async (output, context) => {
|
|
734
765
|
if (output.statusCode >= 300) {
|
|
735
766
|
return de_CommandError(output, context);
|
|
@@ -860,6 +891,19 @@ export const de_DisableClientAuthenticationCommand = async (output, context) =>
|
|
|
860
891
|
};
|
|
861
892
|
return response;
|
|
862
893
|
};
|
|
894
|
+
export const de_DisableDirectoryDataAccessCommand = async (output, context) => {
|
|
895
|
+
if (output.statusCode >= 300) {
|
|
896
|
+
return de_CommandError(output, context);
|
|
897
|
+
}
|
|
898
|
+
const data = await parseBody(output.body, context);
|
|
899
|
+
let contents = {};
|
|
900
|
+
contents = _json(data);
|
|
901
|
+
const response = {
|
|
902
|
+
$metadata: deserializeMetadata(output),
|
|
903
|
+
...contents,
|
|
904
|
+
};
|
|
905
|
+
return response;
|
|
906
|
+
};
|
|
863
907
|
export const de_DisableLDAPSCommand = async (output, context) => {
|
|
864
908
|
if (output.statusCode >= 300) {
|
|
865
909
|
return de_CommandError(output, context);
|
|
@@ -912,6 +956,19 @@ export const de_EnableClientAuthenticationCommand = async (output, context) => {
|
|
|
912
956
|
};
|
|
913
957
|
return response;
|
|
914
958
|
};
|
|
959
|
+
export const de_EnableDirectoryDataAccessCommand = async (output, context) => {
|
|
960
|
+
if (output.statusCode >= 300) {
|
|
961
|
+
return de_CommandError(output, context);
|
|
962
|
+
}
|
|
963
|
+
const data = await parseBody(output.body, context);
|
|
964
|
+
let contents = {};
|
|
965
|
+
contents = _json(data);
|
|
966
|
+
const response = {
|
|
967
|
+
$metadata: deserializeMetadata(output),
|
|
968
|
+
...contents,
|
|
969
|
+
};
|
|
970
|
+
return response;
|
|
971
|
+
};
|
|
915
972
|
export const de_EnableLDAPSCommand = async (output, context) => {
|
|
916
973
|
if (output.statusCode >= 300) {
|
|
917
974
|
return de_CommandError(output, context);
|
|
@@ -1349,6 +1406,9 @@ const de_CommandError = async (output, context) => {
|
|
|
1349
1406
|
case "InvalidClientAuthStatusException":
|
|
1350
1407
|
case "com.amazonaws.directoryservice#InvalidClientAuthStatusException":
|
|
1351
1408
|
throw await de_InvalidClientAuthStatusExceptionRes(parsedOutput, context);
|
|
1409
|
+
case "DirectoryInDesiredStateException":
|
|
1410
|
+
case "com.amazonaws.directoryservice#DirectoryInDesiredStateException":
|
|
1411
|
+
throw await de_DirectoryInDesiredStateExceptionRes(parsedOutput, context);
|
|
1352
1412
|
case "InvalidLDAPSStatusException":
|
|
1353
1413
|
case "com.amazonaws.directoryservice#InvalidLDAPSStatusException":
|
|
1354
1414
|
throw await de_InvalidLDAPSStatusExceptionRes(parsedOutput, context);
|
|
@@ -1382,9 +1442,6 @@ const de_CommandError = async (output, context) => {
|
|
|
1382
1442
|
case "DirectoryNotSharedException":
|
|
1383
1443
|
case "com.amazonaws.directoryservice#DirectoryNotSharedException":
|
|
1384
1444
|
throw await de_DirectoryNotSharedExceptionRes(parsedOutput, context);
|
|
1385
|
-
case "DirectoryInDesiredStateException":
|
|
1386
|
-
case "com.amazonaws.directoryservice#DirectoryInDesiredStateException":
|
|
1387
|
-
throw await de_DirectoryInDesiredStateExceptionRes(parsedOutput, context);
|
|
1388
1445
|
case "DomainControllerLimitExceededException":
|
|
1389
1446
|
case "com.amazonaws.directoryservice#DomainControllerLimitExceededException":
|
|
1390
1447
|
throw await de_DomainControllerLimitExceededExceptionRes(parsedOutput, context);
|