@aws-sdk/client-directory-service 3.181.0 → 3.183.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.
Files changed (78) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/DirectoryService.js +262 -269
  3. package/dist-es/DirectoryServiceClient.js +22 -28
  4. package/dist-es/commands/AcceptSharedDirectoryCommand.js +21 -28
  5. package/dist-es/commands/AddIpRoutesCommand.js +21 -28
  6. package/dist-es/commands/AddRegionCommand.js +21 -28
  7. package/dist-es/commands/AddTagsToResourceCommand.js +21 -28
  8. package/dist-es/commands/CancelSchemaExtensionCommand.js +21 -28
  9. package/dist-es/commands/ConnectDirectoryCommand.js +21 -28
  10. package/dist-es/commands/CreateAliasCommand.js +21 -28
  11. package/dist-es/commands/CreateComputerCommand.js +21 -28
  12. package/dist-es/commands/CreateConditionalForwarderCommand.js +21 -28
  13. package/dist-es/commands/CreateDirectoryCommand.js +21 -28
  14. package/dist-es/commands/CreateLogSubscriptionCommand.js +21 -28
  15. package/dist-es/commands/CreateMicrosoftADCommand.js +21 -28
  16. package/dist-es/commands/CreateSnapshotCommand.js +21 -28
  17. package/dist-es/commands/CreateTrustCommand.js +21 -28
  18. package/dist-es/commands/DeleteConditionalForwarderCommand.js +21 -28
  19. package/dist-es/commands/DeleteDirectoryCommand.js +21 -28
  20. package/dist-es/commands/DeleteLogSubscriptionCommand.js +21 -28
  21. package/dist-es/commands/DeleteSnapshotCommand.js +21 -28
  22. package/dist-es/commands/DeleteTrustCommand.js +21 -28
  23. package/dist-es/commands/DeregisterCertificateCommand.js +21 -28
  24. package/dist-es/commands/DeregisterEventTopicCommand.js +21 -28
  25. package/dist-es/commands/DescribeCertificateCommand.js +21 -28
  26. package/dist-es/commands/DescribeClientAuthenticationSettingsCommand.js +21 -28
  27. package/dist-es/commands/DescribeConditionalForwardersCommand.js +21 -28
  28. package/dist-es/commands/DescribeDirectoriesCommand.js +21 -28
  29. package/dist-es/commands/DescribeDomainControllersCommand.js +21 -28
  30. package/dist-es/commands/DescribeEventTopicsCommand.js +21 -28
  31. package/dist-es/commands/DescribeLDAPSSettingsCommand.js +21 -28
  32. package/dist-es/commands/DescribeRegionsCommand.js +21 -28
  33. package/dist-es/commands/DescribeSettingsCommand.js +21 -28
  34. package/dist-es/commands/DescribeSharedDirectoriesCommand.js +21 -28
  35. package/dist-es/commands/DescribeSnapshotsCommand.js +21 -28
  36. package/dist-es/commands/DescribeTrustsCommand.js +21 -28
  37. package/dist-es/commands/DisableClientAuthenticationCommand.js +21 -28
  38. package/dist-es/commands/DisableLDAPSCommand.js +21 -28
  39. package/dist-es/commands/DisableRadiusCommand.js +21 -28
  40. package/dist-es/commands/DisableSsoCommand.js +21 -28
  41. package/dist-es/commands/EnableClientAuthenticationCommand.js +21 -28
  42. package/dist-es/commands/EnableLDAPSCommand.js +21 -28
  43. package/dist-es/commands/EnableRadiusCommand.js +21 -28
  44. package/dist-es/commands/EnableSsoCommand.js +21 -28
  45. package/dist-es/commands/GetDirectoryLimitsCommand.js +21 -28
  46. package/dist-es/commands/GetSnapshotLimitsCommand.js +21 -28
  47. package/dist-es/commands/ListCertificatesCommand.js +21 -28
  48. package/dist-es/commands/ListIpRoutesCommand.js +21 -28
  49. package/dist-es/commands/ListLogSubscriptionsCommand.js +21 -28
  50. package/dist-es/commands/ListSchemaExtensionsCommand.js +21 -28
  51. package/dist-es/commands/ListTagsForResourceCommand.js +21 -28
  52. package/dist-es/commands/RegisterCertificateCommand.js +21 -28
  53. package/dist-es/commands/RegisterEventTopicCommand.js +21 -28
  54. package/dist-es/commands/RejectSharedDirectoryCommand.js +21 -28
  55. package/dist-es/commands/RemoveIpRoutesCommand.js +21 -28
  56. package/dist-es/commands/RemoveRegionCommand.js +21 -28
  57. package/dist-es/commands/RemoveTagsFromResourceCommand.js +21 -28
  58. package/dist-es/commands/ResetUserPasswordCommand.js +21 -28
  59. package/dist-es/commands/RestoreFromSnapshotCommand.js +21 -28
  60. package/dist-es/commands/ShareDirectoryCommand.js +21 -28
  61. package/dist-es/commands/StartSchemaExtensionCommand.js +21 -28
  62. package/dist-es/commands/UnshareDirectoryCommand.js +21 -28
  63. package/dist-es/commands/UpdateConditionalForwarderCommand.js +21 -28
  64. package/dist-es/commands/UpdateNumberOfDomainControllersCommand.js +21 -28
  65. package/dist-es/commands/UpdateRadiusCommand.js +21 -28
  66. package/dist-es/commands/UpdateSettingsCommand.js +21 -28
  67. package/dist-es/commands/UpdateTrustCommand.js +21 -28
  68. package/dist-es/commands/VerifyTrustCommand.js +21 -28
  69. package/dist-es/endpoints.js +8 -8
  70. package/dist-es/models/DirectoryServiceServiceException.js +5 -10
  71. package/dist-es/models/models_0.js +1019 -674
  72. package/dist-es/pagination/DescribeDomainControllersPaginator.js +25 -68
  73. package/dist-es/protocols/Aws_json1_1.js +4706 -6047
  74. package/dist-es/runtimeConfig.browser.js +26 -12
  75. package/dist-es/runtimeConfig.js +30 -12
  76. package/dist-es/runtimeConfig.native.js +8 -5
  77. package/dist-es/runtimeConfig.shared.js +8 -11
  78. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeSettingsRequestFilterSensitiveLog, DescribeSettingsResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeSettingsCommand, serializeAws_json1_1DescribeSettingsCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeSettingsCommand = (function (_super) {
7
- __extends(DescribeSettingsCommand, _super);
8
- function DescribeSettingsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeSettingsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeSettingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DirectoryServiceClient";
18
- var commandName = "DescribeSettingsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DirectoryServiceClient";
15
+ const commandName = "DescribeSettingsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeSettingsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeSettingsResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeSettingsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeSettingsCommand(input, context);
33
- };
34
- DescribeSettingsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeSettingsCommand(output, context);
36
- };
37
- return DescribeSettingsCommand;
38
- }($Command));
39
- export { DescribeSettingsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeSharedDirectoriesRequestFilterSensitiveLog, DescribeSharedDirectoriesResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeSharedDirectoriesCommand, serializeAws_json1_1DescribeSharedDirectoriesCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeSharedDirectoriesCommand = (function (_super) {
7
- __extends(DescribeSharedDirectoriesCommand, _super);
8
- function DescribeSharedDirectoriesCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeSharedDirectoriesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeSharedDirectoriesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DirectoryServiceClient";
18
- var commandName = "DescribeSharedDirectoriesCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DirectoryServiceClient";
15
+ const commandName = "DescribeSharedDirectoriesCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeSharedDirectoriesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeSharedDirectoriesResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeSharedDirectoriesCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeSharedDirectoriesCommand(input, context);
33
- };
34
- DescribeSharedDirectoriesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeSharedDirectoriesCommand(output, context);
36
- };
37
- return DescribeSharedDirectoriesCommand;
38
- }($Command));
39
- export { DescribeSharedDirectoriesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeSnapshotsRequestFilterSensitiveLog, DescribeSnapshotsResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeSnapshotsCommand, serializeAws_json1_1DescribeSnapshotsCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeSnapshotsCommand = (function (_super) {
7
- __extends(DescribeSnapshotsCommand, _super);
8
- function DescribeSnapshotsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeSnapshotsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeSnapshotsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DirectoryServiceClient";
18
- var commandName = "DescribeSnapshotsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DirectoryServiceClient";
15
+ const commandName = "DescribeSnapshotsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeSnapshotsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeSnapshotsResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeSnapshotsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeSnapshotsCommand(input, context);
33
- };
34
- DescribeSnapshotsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeSnapshotsCommand(output, context);
36
- };
37
- return DescribeSnapshotsCommand;
38
- }($Command));
39
- export { DescribeSnapshotsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeTrustsRequestFilterSensitiveLog, DescribeTrustsResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DescribeTrustsCommand, serializeAws_json1_1DescribeTrustsCommand, } from "../protocols/Aws_json1_1";
6
- var DescribeTrustsCommand = (function (_super) {
7
- __extends(DescribeTrustsCommand, _super);
8
- function DescribeTrustsCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DescribeTrustsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeTrustsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DirectoryServiceClient";
18
- var commandName = "DescribeTrustsCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DirectoryServiceClient";
15
+ const commandName = "DescribeTrustsCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DescribeTrustsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeTrustsResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DescribeTrustsCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DescribeTrustsCommand(input, context);
33
- };
34
- DescribeTrustsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DescribeTrustsCommand(output, context);
36
- };
37
- return DescribeTrustsCommand;
38
- }($Command));
39
- export { DescribeTrustsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DisableClientAuthenticationRequestFilterSensitiveLog, DisableClientAuthenticationResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DisableClientAuthenticationCommand, serializeAws_json1_1DisableClientAuthenticationCommand, } from "../protocols/Aws_json1_1";
6
- var DisableClientAuthenticationCommand = (function (_super) {
7
- __extends(DisableClientAuthenticationCommand, _super);
8
- function DisableClientAuthenticationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisableClientAuthenticationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisableClientAuthenticationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DirectoryServiceClient";
18
- var commandName = "DisableClientAuthenticationCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DirectoryServiceClient";
15
+ const commandName = "DisableClientAuthenticationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisableClientAuthenticationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisableClientAuthenticationResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisableClientAuthenticationCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DisableClientAuthenticationCommand(input, context);
33
- };
34
- DisableClientAuthenticationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DisableClientAuthenticationCommand(output, context);
36
- };
37
- return DisableClientAuthenticationCommand;
38
- }($Command));
39
- export { DisableClientAuthenticationCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DisableLDAPSRequestFilterSensitiveLog, DisableLDAPSResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DisableLDAPSCommand, serializeAws_json1_1DisableLDAPSCommand, } from "../protocols/Aws_json1_1";
6
- var DisableLDAPSCommand = (function (_super) {
7
- __extends(DisableLDAPSCommand, _super);
8
- function DisableLDAPSCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisableLDAPSCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisableLDAPSCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DirectoryServiceClient";
18
- var commandName = "DisableLDAPSCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DirectoryServiceClient";
15
+ const commandName = "DisableLDAPSCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisableLDAPSRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisableLDAPSResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisableLDAPSCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DisableLDAPSCommand(input, context);
33
- };
34
- DisableLDAPSCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DisableLDAPSCommand(output, context);
36
- };
37
- return DisableLDAPSCommand;
38
- }($Command));
39
- export { DisableLDAPSCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DisableRadiusRequestFilterSensitiveLog, DisableRadiusResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DisableRadiusCommand, serializeAws_json1_1DisableRadiusCommand, } from "../protocols/Aws_json1_1";
6
- var DisableRadiusCommand = (function (_super) {
7
- __extends(DisableRadiusCommand, _super);
8
- function DisableRadiusCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisableRadiusCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisableRadiusCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DirectoryServiceClient";
18
- var commandName = "DisableRadiusCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DirectoryServiceClient";
15
+ const commandName = "DisableRadiusCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisableRadiusRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisableRadiusResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisableRadiusCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DisableRadiusCommand(input, context);
33
- };
34
- DisableRadiusCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DisableRadiusCommand(output, context);
36
- };
37
- return DisableRadiusCommand;
38
- }($Command));
39
- export { DisableRadiusCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DisableSsoRequestFilterSensitiveLog, DisableSsoResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1DisableSsoCommand, serializeAws_json1_1DisableSsoCommand, } from "../protocols/Aws_json1_1";
6
- var DisableSsoCommand = (function (_super) {
7
- __extends(DisableSsoCommand, _super);
8
- function DisableSsoCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class DisableSsoCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DisableSsoCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DirectoryServiceClient";
18
- var commandName = "DisableSsoCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DirectoryServiceClient";
15
+ const commandName = "DisableSsoCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: DisableSsoRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DisableSsoResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- DisableSsoCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1DisableSsoCommand(input, context);
33
- };
34
- DisableSsoCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1DisableSsoCommand(output, context);
36
- };
37
- return DisableSsoCommand;
38
- }($Command));
39
- export { DisableSsoCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { EnableClientAuthenticationRequestFilterSensitiveLog, EnableClientAuthenticationResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1EnableClientAuthenticationCommand, serializeAws_json1_1EnableClientAuthenticationCommand, } from "../protocols/Aws_json1_1";
6
- var EnableClientAuthenticationCommand = (function (_super) {
7
- __extends(EnableClientAuthenticationCommand, _super);
8
- function EnableClientAuthenticationCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class EnableClientAuthenticationCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- EnableClientAuthenticationCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DirectoryServiceClient";
18
- var commandName = "EnableClientAuthenticationCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DirectoryServiceClient";
15
+ const commandName = "EnableClientAuthenticationCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: EnableClientAuthenticationRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: EnableClientAuthenticationResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- EnableClientAuthenticationCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1EnableClientAuthenticationCommand(input, context);
33
- };
34
- EnableClientAuthenticationCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1EnableClientAuthenticationCommand(output, context);
36
- };
37
- return EnableClientAuthenticationCommand;
38
- }($Command));
39
- export { EnableClientAuthenticationCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { EnableLDAPSRequestFilterSensitiveLog, EnableLDAPSResultFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_json1_1EnableLDAPSCommand, serializeAws_json1_1EnableLDAPSCommand, } from "../protocols/Aws_json1_1";
6
- var EnableLDAPSCommand = (function (_super) {
7
- __extends(EnableLDAPSCommand, _super);
8
- function EnableLDAPSCommand(input) {
9
- var _this = _super.call(this) || this;
10
- _this.input = input;
11
- return _this;
5
+ export class EnableLDAPSCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- EnableLDAPSCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
15
- var stack = clientStack.concat(this.middlewareStack);
16
- var logger = configuration.logger;
17
- var clientName = "DirectoryServiceClient";
18
- var commandName = "EnableLDAPSCommand";
19
- var handlerExecutionContext = {
20
- logger: logger,
21
- clientName: clientName,
22
- commandName: commandName,
12
+ const stack = clientStack.concat(this.middlewareStack);
13
+ const { logger } = configuration;
14
+ const clientName = "DirectoryServiceClient";
15
+ const commandName = "EnableLDAPSCommand";
16
+ const handlerExecutionContext = {
17
+ logger,
18
+ clientName,
19
+ commandName,
23
20
  inputFilterSensitiveLog: EnableLDAPSRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: EnableLDAPSResultFilterSensitiveLog,
25
22
  };
26
- var requestHandler = configuration.requestHandler;
27
- return stack.resolve(function (request) {
28
- return requestHandler.handle(request.request, options || {});
29
- }, handlerExecutionContext);
30
- };
31
- EnableLDAPSCommand.prototype.serialize = function (input, context) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_json1_1EnableLDAPSCommand(input, context);
33
- };
34
- EnableLDAPSCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_json1_1EnableLDAPSCommand(output, context);
36
- };
37
- return EnableLDAPSCommand;
38
- }($Command));
39
- export { EnableLDAPSCommand };
31
+ }
32
+ }