@aws-sdk/client-directory-service 3.183.0 → 3.185.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 +11 -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 +5 -5
@@ -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 { UpdateConditionalForwarderRequestFilterSensitiveLog, UpdateConditionalForwarderResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateConditionalForwarderCommand, serializeAws_json1_1UpdateConditionalForwarderCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateConditionalForwarderCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateConditionalForwarderCommand = (function (_super) {
7
+ __extends(UpdateConditionalForwarderCommand, _super);
8
+ function UpdateConditionalForwarderCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateConditionalForwarderCommand.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 = "UpdateConditionalForwarderCommand";
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 = "UpdateConditionalForwarderCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateConditionalForwarderRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateConditionalForwarderResultFilterSensitiveLog,
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
+ UpdateConditionalForwarderCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateConditionalForwarderCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateConditionalForwarderCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateConditionalForwarderCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateConditionalForwarderCommand;
38
+ }($Command));
39
+ export { UpdateConditionalForwarderCommand };
@@ -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 { UpdateNumberOfDomainControllersRequestFilterSensitiveLog, UpdateNumberOfDomainControllersResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateNumberOfDomainControllersCommand, serializeAws_json1_1UpdateNumberOfDomainControllersCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateNumberOfDomainControllersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateNumberOfDomainControllersCommand = (function (_super) {
7
+ __extends(UpdateNumberOfDomainControllersCommand, _super);
8
+ function UpdateNumberOfDomainControllersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateNumberOfDomainControllersCommand.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 = "UpdateNumberOfDomainControllersCommand";
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 = "UpdateNumberOfDomainControllersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateNumberOfDomainControllersRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateNumberOfDomainControllersResultFilterSensitiveLog,
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
+ UpdateNumberOfDomainControllersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateNumberOfDomainControllersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateNumberOfDomainControllersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateNumberOfDomainControllersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateNumberOfDomainControllersCommand;
38
+ }($Command));
39
+ export { UpdateNumberOfDomainControllersCommand };
@@ -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 { UpdateRadiusRequestFilterSensitiveLog, UpdateRadiusResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateRadiusCommand, serializeAws_json1_1UpdateRadiusCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateRadiusCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateRadiusCommand = (function (_super) {
7
+ __extends(UpdateRadiusCommand, _super);
8
+ function UpdateRadiusCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateRadiusCommand.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 = "UpdateRadiusCommand";
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 = "UpdateRadiusCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateRadiusRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateRadiusResultFilterSensitiveLog,
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
+ UpdateRadiusCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateRadiusCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateRadiusCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateRadiusCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateRadiusCommand;
38
+ }($Command));
39
+ export { UpdateRadiusCommand };
@@ -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 { UpdateSettingsRequestFilterSensitiveLog, UpdateSettingsResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateSettingsCommand, serializeAws_json1_1UpdateSettingsCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateSettingsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateSettingsCommand = (function (_super) {
7
+ __extends(UpdateSettingsCommand, _super);
8
+ function UpdateSettingsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateSettingsCommand.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 = "UpdateSettingsCommand";
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 = "UpdateSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateSettingsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateSettingsResultFilterSensitiveLog,
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
+ UpdateSettingsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateSettingsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateSettingsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateSettingsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateSettingsCommand;
38
+ }($Command));
39
+ export { UpdateSettingsCommand };
@@ -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 { UpdateTrustRequestFilterSensitiveLog, UpdateTrustResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1UpdateTrustCommand, serializeAws_json1_1UpdateTrustCommand, } from "../protocols/Aws_json1_1";
5
- export class UpdateTrustCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var UpdateTrustCommand = (function (_super) {
7
+ __extends(UpdateTrustCommand, _super);
8
+ function UpdateTrustCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ UpdateTrustCommand.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 = "UpdateTrustCommand";
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 = "UpdateTrustCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: UpdateTrustRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: UpdateTrustResultFilterSensitiveLog,
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
+ UpdateTrustCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1UpdateTrustCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ UpdateTrustCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1UpdateTrustCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return UpdateTrustCommand;
38
+ }($Command));
39
+ export { UpdateTrustCommand };
@@ -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 { VerifyTrustRequestFilterSensitiveLog, VerifyTrustResultFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_json1_1VerifyTrustCommand, serializeAws_json1_1VerifyTrustCommand, } from "../protocols/Aws_json1_1";
5
- export class VerifyTrustCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var VerifyTrustCommand = (function (_super) {
7
+ __extends(VerifyTrustCommand, _super);
8
+ function VerifyTrustCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ VerifyTrustCommand.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 = "VerifyTrustCommand";
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 = "VerifyTrustCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: VerifyTrustRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: VerifyTrustResultFilterSensitiveLog,
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
+ VerifyTrustCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_json1_1VerifyTrustCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ VerifyTrustCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_json1_1VerifyTrustCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return VerifyTrustCommand;
38
+ }($Command));
39
+ export { VerifyTrustCommand };
@@ -1,5 +1,6 @@
1
+ import { __assign, __awaiter, __generator } from "tslib";
1
2
  import { getRegionInfo } from "@aws-sdk/config-resolver";
2
- const regionHash = {
3
+ var regionHash = {
3
4
  "ca-central-1": {
4
5
  variants: [
5
6
  {
@@ -57,7 +58,7 @@ const regionHash = {
57
58
  ],
58
59
  },
59
60
  };
60
- const partitionHash = {
61
+ var partitionHash = {
61
62
  aws: {
62
63
  regions: [
63
64
  "af-south-1",
@@ -182,9 +183,8 @@ const partitionHash = {
182
183
  ],
183
184
  },
184
185
  };
185
- export const defaultRegionInfoProvider = async (region, options) => getRegionInfo(region, {
186
- ...options,
187
- signingService: "ds",
188
- regionHash,
189
- partitionHash,
190
- });
186
+ export var defaultRegionInfoProvider = function (region, options) { return __awaiter(void 0, void 0, void 0, function () {
187
+ return __generator(this, function (_a) {
188
+ return [2, getRegionInfo(region, __assign(__assign({}, options), { signingService: "ds", regionHash: regionHash, partitionHash: partitionHash }))];
189
+ });
190
+ }); };
@@ -1,7 +1,12 @@
1
+ import { __extends } from "tslib";
1
2
  import { ServiceException as __ServiceException, } from "@aws-sdk/smithy-client";
2
- export class DirectoryServiceServiceException extends __ServiceException {
3
- constructor(options) {
4
- super(options);
5
- Object.setPrototypeOf(this, DirectoryServiceServiceException.prototype);
3
+ var DirectoryServiceServiceException = (function (_super) {
4
+ __extends(DirectoryServiceServiceException, _super);
5
+ function DirectoryServiceServiceException(options) {
6
+ var _this = _super.call(this, options) || this;
7
+ Object.setPrototypeOf(_this, DirectoryServiceServiceException.prototype);
8
+ return _this;
6
9
  }
7
- }
10
+ return DirectoryServiceServiceException;
11
+ }(__ServiceException));
12
+ export { DirectoryServiceServiceException };