@aws-sdk/client-directory-service 3.183.0 → 3.186.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 (79) hide show
  1. package/CHANGELOG.md +19 -0
  2. package/dist-cjs/protocols/Aws_json1_1.js +2 -2
  3. package/dist-es/DirectoryService.js +269 -262
  4. package/dist-es/DirectoryServiceClient.js +28 -22
  5. package/dist-es/commands/AcceptSharedDirectoryCommand.js +28 -21
  6. package/dist-es/commands/AddIpRoutesCommand.js +28 -21
  7. package/dist-es/commands/AddRegionCommand.js +28 -21
  8. package/dist-es/commands/AddTagsToResourceCommand.js +28 -21
  9. package/dist-es/commands/CancelSchemaExtensionCommand.js +28 -21
  10. package/dist-es/commands/ConnectDirectoryCommand.js +28 -21
  11. package/dist-es/commands/CreateAliasCommand.js +28 -21
  12. package/dist-es/commands/CreateComputerCommand.js +28 -21
  13. package/dist-es/commands/CreateConditionalForwarderCommand.js +28 -21
  14. package/dist-es/commands/CreateDirectoryCommand.js +28 -21
  15. package/dist-es/commands/CreateLogSubscriptionCommand.js +28 -21
  16. package/dist-es/commands/CreateMicrosoftADCommand.js +28 -21
  17. package/dist-es/commands/CreateSnapshotCommand.js +28 -21
  18. package/dist-es/commands/CreateTrustCommand.js +28 -21
  19. package/dist-es/commands/DeleteConditionalForwarderCommand.js +28 -21
  20. package/dist-es/commands/DeleteDirectoryCommand.js +28 -21
  21. package/dist-es/commands/DeleteLogSubscriptionCommand.js +28 -21
  22. package/dist-es/commands/DeleteSnapshotCommand.js +28 -21
  23. package/dist-es/commands/DeleteTrustCommand.js +28 -21
  24. package/dist-es/commands/DeregisterCertificateCommand.js +28 -21
  25. package/dist-es/commands/DeregisterEventTopicCommand.js +28 -21
  26. package/dist-es/commands/DescribeCertificateCommand.js +28 -21
  27. package/dist-es/commands/DescribeClientAuthenticationSettingsCommand.js +28 -21
  28. package/dist-es/commands/DescribeConditionalForwardersCommand.js +28 -21
  29. package/dist-es/commands/DescribeDirectoriesCommand.js +28 -21
  30. package/dist-es/commands/DescribeDomainControllersCommand.js +28 -21
  31. package/dist-es/commands/DescribeEventTopicsCommand.js +28 -21
  32. package/dist-es/commands/DescribeLDAPSSettingsCommand.js +28 -21
  33. package/dist-es/commands/DescribeRegionsCommand.js +28 -21
  34. package/dist-es/commands/DescribeSettingsCommand.js +28 -21
  35. package/dist-es/commands/DescribeSharedDirectoriesCommand.js +28 -21
  36. package/dist-es/commands/DescribeSnapshotsCommand.js +28 -21
  37. package/dist-es/commands/DescribeTrustsCommand.js +28 -21
  38. package/dist-es/commands/DisableClientAuthenticationCommand.js +28 -21
  39. package/dist-es/commands/DisableLDAPSCommand.js +28 -21
  40. package/dist-es/commands/DisableRadiusCommand.js +28 -21
  41. package/dist-es/commands/DisableSsoCommand.js +28 -21
  42. package/dist-es/commands/EnableClientAuthenticationCommand.js +28 -21
  43. package/dist-es/commands/EnableLDAPSCommand.js +28 -21
  44. package/dist-es/commands/EnableRadiusCommand.js +28 -21
  45. package/dist-es/commands/EnableSsoCommand.js +28 -21
  46. package/dist-es/commands/GetDirectoryLimitsCommand.js +28 -21
  47. package/dist-es/commands/GetSnapshotLimitsCommand.js +28 -21
  48. package/dist-es/commands/ListCertificatesCommand.js +28 -21
  49. package/dist-es/commands/ListIpRoutesCommand.js +28 -21
  50. package/dist-es/commands/ListLogSubscriptionsCommand.js +28 -21
  51. package/dist-es/commands/ListSchemaExtensionsCommand.js +28 -21
  52. package/dist-es/commands/ListTagsForResourceCommand.js +28 -21
  53. package/dist-es/commands/RegisterCertificateCommand.js +28 -21
  54. package/dist-es/commands/RegisterEventTopicCommand.js +28 -21
  55. package/dist-es/commands/RejectSharedDirectoryCommand.js +28 -21
  56. package/dist-es/commands/RemoveIpRoutesCommand.js +28 -21
  57. package/dist-es/commands/RemoveRegionCommand.js +28 -21
  58. package/dist-es/commands/RemoveTagsFromResourceCommand.js +28 -21
  59. package/dist-es/commands/ResetUserPasswordCommand.js +28 -21
  60. package/dist-es/commands/RestoreFromSnapshotCommand.js +28 -21
  61. package/dist-es/commands/ShareDirectoryCommand.js +28 -21
  62. package/dist-es/commands/StartSchemaExtensionCommand.js +28 -21
  63. package/dist-es/commands/UnshareDirectoryCommand.js +28 -21
  64. package/dist-es/commands/UpdateConditionalForwarderCommand.js +28 -21
  65. package/dist-es/commands/UpdateNumberOfDomainControllersCommand.js +28 -21
  66. package/dist-es/commands/UpdateRadiusCommand.js +28 -21
  67. package/dist-es/commands/UpdateSettingsCommand.js +28 -21
  68. package/dist-es/commands/UpdateTrustCommand.js +28 -21
  69. package/dist-es/commands/VerifyTrustCommand.js +28 -21
  70. package/dist-es/endpoints.js +8 -8
  71. package/dist-es/models/DirectoryServiceServiceException.js +10 -5
  72. package/dist-es/models/models_0.js +674 -1019
  73. package/dist-es/pagination/DescribeDomainControllersPaginator.js +68 -25
  74. package/dist-es/protocols/Aws_json1_1.js +6047 -4706
  75. package/dist-es/runtimeConfig.browser.js +12 -26
  76. package/dist-es/runtimeConfig.js +12 -30
  77. package/dist-es/runtimeConfig.native.js +5 -8
  78. package/dist-es/runtimeConfig.shared.js +11 -8
  79. package/package.json +33 -33
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateDirectoryRequestFilterSensitiveLog, CreateDirectoryResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateDirectoryCommand, serializeAws_json1_1CreateDirectoryCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateDirectoryCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDirectoryCommand = (function (_super) {
7
+ __extends(CreateDirectoryCommand, _super);
8
+ function CreateDirectoryCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDirectoryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DirectoryServiceClient";
15
- const commandName = "CreateDirectoryCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectoryServiceClient";
18
+ var commandName = "CreateDirectoryCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDirectoryRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateDirectoryResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateDirectoryCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateDirectoryCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDirectoryCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateDirectoryCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDirectoryCommand;
38
+ }($Command));
39
+ export { CreateDirectoryCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateLogSubscriptionRequestFilterSensitiveLog, CreateLogSubscriptionResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateLogSubscriptionCommand, serializeAws_json1_1CreateLogSubscriptionCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateLogSubscriptionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateLogSubscriptionCommand = (function (_super) {
7
+ __extends(CreateLogSubscriptionCommand, _super);
8
+ function CreateLogSubscriptionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateLogSubscriptionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DirectoryServiceClient";
15
- const commandName = "CreateLogSubscriptionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectoryServiceClient";
18
+ var commandName = "CreateLogSubscriptionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateLogSubscriptionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateLogSubscriptionResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateLogSubscriptionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateLogSubscriptionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateLogSubscriptionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateLogSubscriptionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateLogSubscriptionCommand;
38
+ }($Command));
39
+ export { CreateLogSubscriptionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateMicrosoftADRequestFilterSensitiveLog, CreateMicrosoftADResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateMicrosoftADCommand, serializeAws_json1_1CreateMicrosoftADCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateMicrosoftADCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateMicrosoftADCommand = (function (_super) {
7
+ __extends(CreateMicrosoftADCommand, _super);
8
+ function CreateMicrosoftADCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateMicrosoftADCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DirectoryServiceClient";
15
- const commandName = "CreateMicrosoftADCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectoryServiceClient";
18
+ var commandName = "CreateMicrosoftADCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateMicrosoftADRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateMicrosoftADResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateMicrosoftADCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateMicrosoftADCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateMicrosoftADCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateMicrosoftADCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateMicrosoftADCommand;
38
+ }($Command));
39
+ export { CreateMicrosoftADCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateSnapshotRequestFilterSensitiveLog, CreateSnapshotResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateSnapshotCommand, serializeAws_json1_1CreateSnapshotCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateSnapshotCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateSnapshotCommand = (function (_super) {
7
+ __extends(CreateSnapshotCommand, _super);
8
+ function CreateSnapshotCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateSnapshotCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DirectoryServiceClient";
15
- const commandName = "CreateSnapshotCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectoryServiceClient";
18
+ var commandName = "CreateSnapshotCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateSnapshotRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateSnapshotResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateSnapshotCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateSnapshotCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateSnapshotCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateSnapshotCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateSnapshotCommand;
38
+ }($Command));
39
+ export { CreateSnapshotCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { CreateTrustRequestFilterSensitiveLog, CreateTrustResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1CreateTrustCommand, serializeAws_json1_1CreateTrustCommand, } from "../protocols/Aws_json1_1";
5
- export class CreateTrustCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateTrustCommand = (function (_super) {
7
+ __extends(CreateTrustCommand, _super);
8
+ function CreateTrustCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateTrustCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DirectoryServiceClient";
15
- const commandName = "CreateTrustCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectoryServiceClient";
18
+ var commandName = "CreateTrustCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateTrustRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateTrustResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ CreateTrustCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1CreateTrustCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateTrustCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1CreateTrustCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateTrustCommand;
38
+ }($Command));
39
+ export { CreateTrustCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteConditionalForwarderRequestFilterSensitiveLog, DeleteConditionalForwarderResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteConditionalForwarderCommand, serializeAws_json1_1DeleteConditionalForwarderCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteConditionalForwarderCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteConditionalForwarderCommand = (function (_super) {
7
+ __extends(DeleteConditionalForwarderCommand, _super);
8
+ function DeleteConditionalForwarderCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteConditionalForwarderCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DirectoryServiceClient";
15
- const commandName = "DeleteConditionalForwarderCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectoryServiceClient";
18
+ var commandName = "DeleteConditionalForwarderCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteConditionalForwarderRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteConditionalForwarderResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteConditionalForwarderCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteConditionalForwarderCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteConditionalForwarderCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteConditionalForwarderCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteConditionalForwarderCommand;
38
+ }($Command));
39
+ export { DeleteConditionalForwarderCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteDirectoryRequestFilterSensitiveLog, DeleteDirectoryResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteDirectoryCommand, serializeAws_json1_1DeleteDirectoryCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteDirectoryCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteDirectoryCommand = (function (_super) {
7
+ __extends(DeleteDirectoryCommand, _super);
8
+ function DeleteDirectoryCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteDirectoryCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DirectoryServiceClient";
15
- const commandName = "DeleteDirectoryCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectoryServiceClient";
18
+ var commandName = "DeleteDirectoryCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteDirectoryRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteDirectoryResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteDirectoryCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteDirectoryCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteDirectoryCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteDirectoryCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteDirectoryCommand;
38
+ }($Command));
39
+ export { DeleteDirectoryCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteLogSubscriptionRequestFilterSensitiveLog, DeleteLogSubscriptionResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteLogSubscriptionCommand, serializeAws_json1_1DeleteLogSubscriptionCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteLogSubscriptionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteLogSubscriptionCommand = (function (_super) {
7
+ __extends(DeleteLogSubscriptionCommand, _super);
8
+ function DeleteLogSubscriptionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteLogSubscriptionCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DirectoryServiceClient";
15
- const commandName = "DeleteLogSubscriptionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectoryServiceClient";
18
+ var commandName = "DeleteLogSubscriptionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteLogSubscriptionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteLogSubscriptionResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteLogSubscriptionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteLogSubscriptionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteLogSubscriptionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteLogSubscriptionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteLogSubscriptionCommand;
38
+ }($Command));
39
+ export { DeleteLogSubscriptionCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteSnapshotRequestFilterSensitiveLog, DeleteSnapshotResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteSnapshotCommand, serializeAws_json1_1DeleteSnapshotCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteSnapshotCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteSnapshotCommand = (function (_super) {
7
+ __extends(DeleteSnapshotCommand, _super);
8
+ function DeleteSnapshotCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteSnapshotCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DirectoryServiceClient";
15
- const commandName = "DeleteSnapshotCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectoryServiceClient";
18
+ var commandName = "DeleteSnapshotCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteSnapshotRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteSnapshotResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteSnapshotCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteSnapshotCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteSnapshotCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteSnapshotCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteSnapshotCommand;
38
+ }($Command));
39
+ export { DeleteSnapshotCommand };
@@ -1,32 +1,39 @@
1
+ import { __extends } from "tslib";
1
2
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
2
3
  import { Command as $Command } from "@aws-sdk/smithy-client";
3
4
  import { DeleteTrustRequestFilterSensitiveLog, DeleteTrustResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1DeleteTrustCommand, serializeAws_json1_1DeleteTrustCommand, } from "../protocols/Aws_json1_1";
5
- export class DeleteTrustCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteTrustCommand = (function (_super) {
7
+ __extends(DeleteTrustCommand, _super);
8
+ function DeleteTrustCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteTrustCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
11
14
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
12
- const stack = clientStack.concat(this.middlewareStack);
13
- const { logger } = configuration;
14
- const clientName = "DirectoryServiceClient";
15
- const commandName = "DeleteTrustCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "DirectoryServiceClient";
18
+ var commandName = "DeleteTrustCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteTrustRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteTrustResultFilterSensitiveLog,
22
25
  };
23
- const { requestHandler } = configuration;
24
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
- }
26
- serialize(input, context) {
26
+ var requestHandler = configuration.requestHandler;
27
+ return stack.resolve(function (request) {
28
+ return requestHandler.handle(request.request, options || {});
29
+ }, handlerExecutionContext);
30
+ };
31
+ DeleteTrustCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1DeleteTrustCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteTrustCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1DeleteTrustCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteTrustCommand;
38
+ }($Command));
39
+ export { DeleteTrustCommand };