@aws-sdk/client-directory-service 3.112.0 → 3.114.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.
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.serializeAws_json1_1RejectSharedDirectoryCommand = exports.serializeAws_json1_1RegisterEventTopicCommand = exports.serializeAws_json1_1RegisterCertificateCommand = exports.serializeAws_json1_1ListTagsForResourceCommand = exports.serializeAws_json1_1ListSchemaExtensionsCommand = exports.serializeAws_json1_1ListLogSubscriptionsCommand = exports.serializeAws_json1_1ListIpRoutesCommand = exports.serializeAws_json1_1ListCertificatesCommand = exports.serializeAws_json1_1GetSnapshotLimitsCommand = exports.serializeAws_json1_1GetDirectoryLimitsCommand = exports.serializeAws_json1_1EnableSsoCommand = exports.serializeAws_json1_1EnableRadiusCommand = exports.serializeAws_json1_1EnableLDAPSCommand = exports.serializeAws_json1_1EnableClientAuthenticationCommand = exports.serializeAws_json1_1DisableSsoCommand = exports.serializeAws_json1_1DisableRadiusCommand = exports.serializeAws_json1_1DisableLDAPSCommand = exports.serializeAws_json1_1DisableClientAuthenticationCommand = exports.serializeAws_json1_1DescribeTrustsCommand = exports.serializeAws_json1_1DescribeSnapshotsCommand = exports.serializeAws_json1_1DescribeSharedDirectoriesCommand = exports.serializeAws_json1_1DescribeRegionsCommand = exports.serializeAws_json1_1DescribeLDAPSSettingsCommand = exports.serializeAws_json1_1DescribeEventTopicsCommand = exports.serializeAws_json1_1DescribeDomainControllersCommand = exports.serializeAws_json1_1DescribeDirectoriesCommand = exports.serializeAws_json1_1DescribeConditionalForwardersCommand = exports.serializeAws_json1_1DescribeClientAuthenticationSettingsCommand = exports.serializeAws_json1_1DescribeCertificateCommand = exports.serializeAws_json1_1DeregisterEventTopicCommand = exports.serializeAws_json1_1DeregisterCertificateCommand = exports.serializeAws_json1_1DeleteTrustCommand = exports.serializeAws_json1_1DeleteSnapshotCommand = exports.serializeAws_json1_1DeleteLogSubscriptionCommand = exports.serializeAws_json1_1DeleteDirectoryCommand = exports.serializeAws_json1_1DeleteConditionalForwarderCommand = exports.serializeAws_json1_1CreateTrustCommand = exports.serializeAws_json1_1CreateSnapshotCommand = exports.serializeAws_json1_1CreateMicrosoftADCommand = exports.serializeAws_json1_1CreateLogSubscriptionCommand = exports.serializeAws_json1_1CreateDirectoryCommand = exports.serializeAws_json1_1CreateConditionalForwarderCommand = exports.serializeAws_json1_1CreateComputerCommand = exports.serializeAws_json1_1CreateAliasCommand = exports.serializeAws_json1_1ConnectDirectoryCommand = exports.serializeAws_json1_1CancelSchemaExtensionCommand = exports.serializeAws_json1_1AddTagsToResourceCommand = exports.serializeAws_json1_1AddRegionCommand = exports.serializeAws_json1_1AddIpRoutesCommand = exports.serializeAws_json1_1AcceptSharedDirectoryCommand = void 0;
4
- exports.deserializeAws_json1_1EnableClientAuthenticationCommand = exports.deserializeAws_json1_1DisableSsoCommand = exports.deserializeAws_json1_1DisableRadiusCommand = exports.deserializeAws_json1_1DisableLDAPSCommand = exports.deserializeAws_json1_1DisableClientAuthenticationCommand = exports.deserializeAws_json1_1DescribeTrustsCommand = exports.deserializeAws_json1_1DescribeSnapshotsCommand = exports.deserializeAws_json1_1DescribeSharedDirectoriesCommand = exports.deserializeAws_json1_1DescribeRegionsCommand = exports.deserializeAws_json1_1DescribeLDAPSSettingsCommand = exports.deserializeAws_json1_1DescribeEventTopicsCommand = exports.deserializeAws_json1_1DescribeDomainControllersCommand = exports.deserializeAws_json1_1DescribeDirectoriesCommand = exports.deserializeAws_json1_1DescribeConditionalForwardersCommand = exports.deserializeAws_json1_1DescribeClientAuthenticationSettingsCommand = exports.deserializeAws_json1_1DescribeCertificateCommand = exports.deserializeAws_json1_1DeregisterEventTopicCommand = exports.deserializeAws_json1_1DeregisterCertificateCommand = exports.deserializeAws_json1_1DeleteTrustCommand = exports.deserializeAws_json1_1DeleteSnapshotCommand = exports.deserializeAws_json1_1DeleteLogSubscriptionCommand = exports.deserializeAws_json1_1DeleteDirectoryCommand = exports.deserializeAws_json1_1DeleteConditionalForwarderCommand = exports.deserializeAws_json1_1CreateTrustCommand = exports.deserializeAws_json1_1CreateSnapshotCommand = exports.deserializeAws_json1_1CreateMicrosoftADCommand = exports.deserializeAws_json1_1CreateLogSubscriptionCommand = exports.deserializeAws_json1_1CreateDirectoryCommand = exports.deserializeAws_json1_1CreateConditionalForwarderCommand = exports.deserializeAws_json1_1CreateComputerCommand = exports.deserializeAws_json1_1CreateAliasCommand = exports.deserializeAws_json1_1ConnectDirectoryCommand = exports.deserializeAws_json1_1CancelSchemaExtensionCommand = exports.deserializeAws_json1_1AddTagsToResourceCommand = exports.deserializeAws_json1_1AddRegionCommand = exports.deserializeAws_json1_1AddIpRoutesCommand = exports.deserializeAws_json1_1AcceptSharedDirectoryCommand = exports.serializeAws_json1_1VerifyTrustCommand = exports.serializeAws_json1_1UpdateTrustCommand = exports.serializeAws_json1_1UpdateRadiusCommand = exports.serializeAws_json1_1UpdateNumberOfDomainControllersCommand = exports.serializeAws_json1_1UpdateConditionalForwarderCommand = exports.serializeAws_json1_1UnshareDirectoryCommand = exports.serializeAws_json1_1StartSchemaExtensionCommand = exports.serializeAws_json1_1ShareDirectoryCommand = exports.serializeAws_json1_1RestoreFromSnapshotCommand = exports.serializeAws_json1_1ResetUserPasswordCommand = exports.serializeAws_json1_1RemoveTagsFromResourceCommand = exports.serializeAws_json1_1RemoveRegionCommand = exports.serializeAws_json1_1RemoveIpRoutesCommand = void 0;
5
- exports.deserializeAws_json1_1VerifyTrustCommand = exports.deserializeAws_json1_1UpdateTrustCommand = exports.deserializeAws_json1_1UpdateRadiusCommand = exports.deserializeAws_json1_1UpdateNumberOfDomainControllersCommand = exports.deserializeAws_json1_1UpdateConditionalForwarderCommand = exports.deserializeAws_json1_1UnshareDirectoryCommand = exports.deserializeAws_json1_1StartSchemaExtensionCommand = exports.deserializeAws_json1_1ShareDirectoryCommand = exports.deserializeAws_json1_1RestoreFromSnapshotCommand = exports.deserializeAws_json1_1ResetUserPasswordCommand = exports.deserializeAws_json1_1RemoveTagsFromResourceCommand = exports.deserializeAws_json1_1RemoveRegionCommand = exports.deserializeAws_json1_1RemoveIpRoutesCommand = exports.deserializeAws_json1_1RejectSharedDirectoryCommand = exports.deserializeAws_json1_1RegisterEventTopicCommand = exports.deserializeAws_json1_1RegisterCertificateCommand = exports.deserializeAws_json1_1ListTagsForResourceCommand = exports.deserializeAws_json1_1ListSchemaExtensionsCommand = exports.deserializeAws_json1_1ListLogSubscriptionsCommand = exports.deserializeAws_json1_1ListIpRoutesCommand = exports.deserializeAws_json1_1ListCertificatesCommand = exports.deserializeAws_json1_1GetSnapshotLimitsCommand = exports.deserializeAws_json1_1GetDirectoryLimitsCommand = exports.deserializeAws_json1_1EnableSsoCommand = exports.deserializeAws_json1_1EnableRadiusCommand = exports.deserializeAws_json1_1EnableLDAPSCommand = void 0;
3
+ exports.serializeAws_json1_1RegisterEventTopicCommand = exports.serializeAws_json1_1RegisterCertificateCommand = exports.serializeAws_json1_1ListTagsForResourceCommand = exports.serializeAws_json1_1ListSchemaExtensionsCommand = exports.serializeAws_json1_1ListLogSubscriptionsCommand = exports.serializeAws_json1_1ListIpRoutesCommand = exports.serializeAws_json1_1ListCertificatesCommand = exports.serializeAws_json1_1GetSnapshotLimitsCommand = exports.serializeAws_json1_1GetDirectoryLimitsCommand = exports.serializeAws_json1_1EnableSsoCommand = exports.serializeAws_json1_1EnableRadiusCommand = exports.serializeAws_json1_1EnableLDAPSCommand = exports.serializeAws_json1_1EnableClientAuthenticationCommand = exports.serializeAws_json1_1DisableSsoCommand = exports.serializeAws_json1_1DisableRadiusCommand = exports.serializeAws_json1_1DisableLDAPSCommand = exports.serializeAws_json1_1DisableClientAuthenticationCommand = exports.serializeAws_json1_1DescribeTrustsCommand = exports.serializeAws_json1_1DescribeSnapshotsCommand = exports.serializeAws_json1_1DescribeSharedDirectoriesCommand = exports.serializeAws_json1_1DescribeSettingsCommand = exports.serializeAws_json1_1DescribeRegionsCommand = exports.serializeAws_json1_1DescribeLDAPSSettingsCommand = exports.serializeAws_json1_1DescribeEventTopicsCommand = exports.serializeAws_json1_1DescribeDomainControllersCommand = exports.serializeAws_json1_1DescribeDirectoriesCommand = exports.serializeAws_json1_1DescribeConditionalForwardersCommand = exports.serializeAws_json1_1DescribeClientAuthenticationSettingsCommand = exports.serializeAws_json1_1DescribeCertificateCommand = exports.serializeAws_json1_1DeregisterEventTopicCommand = exports.serializeAws_json1_1DeregisterCertificateCommand = exports.serializeAws_json1_1DeleteTrustCommand = exports.serializeAws_json1_1DeleteSnapshotCommand = exports.serializeAws_json1_1DeleteLogSubscriptionCommand = exports.serializeAws_json1_1DeleteDirectoryCommand = exports.serializeAws_json1_1DeleteConditionalForwarderCommand = exports.serializeAws_json1_1CreateTrustCommand = exports.serializeAws_json1_1CreateSnapshotCommand = exports.serializeAws_json1_1CreateMicrosoftADCommand = exports.serializeAws_json1_1CreateLogSubscriptionCommand = exports.serializeAws_json1_1CreateDirectoryCommand = exports.serializeAws_json1_1CreateConditionalForwarderCommand = exports.serializeAws_json1_1CreateComputerCommand = exports.serializeAws_json1_1CreateAliasCommand = exports.serializeAws_json1_1ConnectDirectoryCommand = exports.serializeAws_json1_1CancelSchemaExtensionCommand = exports.serializeAws_json1_1AddTagsToResourceCommand = exports.serializeAws_json1_1AddRegionCommand = exports.serializeAws_json1_1AddIpRoutesCommand = exports.serializeAws_json1_1AcceptSharedDirectoryCommand = void 0;
4
+ exports.deserializeAws_json1_1DisableLDAPSCommand = exports.deserializeAws_json1_1DisableClientAuthenticationCommand = exports.deserializeAws_json1_1DescribeTrustsCommand = exports.deserializeAws_json1_1DescribeSnapshotsCommand = exports.deserializeAws_json1_1DescribeSharedDirectoriesCommand = exports.deserializeAws_json1_1DescribeSettingsCommand = exports.deserializeAws_json1_1DescribeRegionsCommand = exports.deserializeAws_json1_1DescribeLDAPSSettingsCommand = exports.deserializeAws_json1_1DescribeEventTopicsCommand = exports.deserializeAws_json1_1DescribeDomainControllersCommand = exports.deserializeAws_json1_1DescribeDirectoriesCommand = exports.deserializeAws_json1_1DescribeConditionalForwardersCommand = exports.deserializeAws_json1_1DescribeClientAuthenticationSettingsCommand = exports.deserializeAws_json1_1DescribeCertificateCommand = exports.deserializeAws_json1_1DeregisterEventTopicCommand = exports.deserializeAws_json1_1DeregisterCertificateCommand = exports.deserializeAws_json1_1DeleteTrustCommand = exports.deserializeAws_json1_1DeleteSnapshotCommand = exports.deserializeAws_json1_1DeleteLogSubscriptionCommand = exports.deserializeAws_json1_1DeleteDirectoryCommand = exports.deserializeAws_json1_1DeleteConditionalForwarderCommand = exports.deserializeAws_json1_1CreateTrustCommand = exports.deserializeAws_json1_1CreateSnapshotCommand = exports.deserializeAws_json1_1CreateMicrosoftADCommand = exports.deserializeAws_json1_1CreateLogSubscriptionCommand = exports.deserializeAws_json1_1CreateDirectoryCommand = exports.deserializeAws_json1_1CreateConditionalForwarderCommand = exports.deserializeAws_json1_1CreateComputerCommand = exports.deserializeAws_json1_1CreateAliasCommand = exports.deserializeAws_json1_1ConnectDirectoryCommand = exports.deserializeAws_json1_1CancelSchemaExtensionCommand = exports.deserializeAws_json1_1AddTagsToResourceCommand = exports.deserializeAws_json1_1AddRegionCommand = exports.deserializeAws_json1_1AddIpRoutesCommand = exports.deserializeAws_json1_1AcceptSharedDirectoryCommand = exports.serializeAws_json1_1VerifyTrustCommand = exports.serializeAws_json1_1UpdateTrustCommand = exports.serializeAws_json1_1UpdateSettingsCommand = exports.serializeAws_json1_1UpdateRadiusCommand = exports.serializeAws_json1_1UpdateNumberOfDomainControllersCommand = exports.serializeAws_json1_1UpdateConditionalForwarderCommand = exports.serializeAws_json1_1UnshareDirectoryCommand = exports.serializeAws_json1_1StartSchemaExtensionCommand = exports.serializeAws_json1_1ShareDirectoryCommand = exports.serializeAws_json1_1RestoreFromSnapshotCommand = exports.serializeAws_json1_1ResetUserPasswordCommand = exports.serializeAws_json1_1RemoveTagsFromResourceCommand = exports.serializeAws_json1_1RemoveRegionCommand = exports.serializeAws_json1_1RemoveIpRoutesCommand = exports.serializeAws_json1_1RejectSharedDirectoryCommand = void 0;
5
+ exports.deserializeAws_json1_1VerifyTrustCommand = exports.deserializeAws_json1_1UpdateTrustCommand = exports.deserializeAws_json1_1UpdateSettingsCommand = exports.deserializeAws_json1_1UpdateRadiusCommand = exports.deserializeAws_json1_1UpdateNumberOfDomainControllersCommand = exports.deserializeAws_json1_1UpdateConditionalForwarderCommand = exports.deserializeAws_json1_1UnshareDirectoryCommand = exports.deserializeAws_json1_1StartSchemaExtensionCommand = exports.deserializeAws_json1_1ShareDirectoryCommand = exports.deserializeAws_json1_1RestoreFromSnapshotCommand = exports.deserializeAws_json1_1ResetUserPasswordCommand = exports.deserializeAws_json1_1RemoveTagsFromResourceCommand = exports.deserializeAws_json1_1RemoveRegionCommand = exports.deserializeAws_json1_1RemoveIpRoutesCommand = exports.deserializeAws_json1_1RejectSharedDirectoryCommand = exports.deserializeAws_json1_1RegisterEventTopicCommand = exports.deserializeAws_json1_1RegisterCertificateCommand = exports.deserializeAws_json1_1ListTagsForResourceCommand = exports.deserializeAws_json1_1ListSchemaExtensionsCommand = exports.deserializeAws_json1_1ListLogSubscriptionsCommand = exports.deserializeAws_json1_1ListIpRoutesCommand = exports.deserializeAws_json1_1ListCertificatesCommand = exports.deserializeAws_json1_1GetSnapshotLimitsCommand = exports.deserializeAws_json1_1GetDirectoryLimitsCommand = exports.deserializeAws_json1_1EnableSsoCommand = exports.deserializeAws_json1_1EnableRadiusCommand = exports.deserializeAws_json1_1EnableLDAPSCommand = exports.deserializeAws_json1_1EnableClientAuthenticationCommand = exports.deserializeAws_json1_1DisableSsoCommand = exports.deserializeAws_json1_1DisableRadiusCommand = void 0;
6
6
  const protocol_http_1 = require("@aws-sdk/protocol-http");
7
7
  const smithy_client_1 = require("@aws-sdk/smithy-client");
8
8
  const DirectoryServiceServiceException_1 = require("../models/DirectoryServiceServiceException");
@@ -297,6 +297,16 @@ const serializeAws_json1_1DescribeRegionsCommand = async (input, context) => {
297
297
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
298
298
  };
299
299
  exports.serializeAws_json1_1DescribeRegionsCommand = serializeAws_json1_1DescribeRegionsCommand;
300
+ const serializeAws_json1_1DescribeSettingsCommand = async (input, context) => {
301
+ const headers = {
302
+ "content-type": "application/x-amz-json-1.1",
303
+ "x-amz-target": "DirectoryService_20150416.DescribeSettings",
304
+ };
305
+ let body;
306
+ body = JSON.stringify(serializeAws_json1_1DescribeSettingsRequest(input, context));
307
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
308
+ };
309
+ exports.serializeAws_json1_1DescribeSettingsCommand = serializeAws_json1_1DescribeSettingsCommand;
300
310
  const serializeAws_json1_1DescribeSharedDirectoriesCommand = async (input, context) => {
301
311
  const headers = {
302
312
  "content-type": "application/x-amz-json-1.1",
@@ -617,6 +627,16 @@ const serializeAws_json1_1UpdateRadiusCommand = async (input, context) => {
617
627
  return buildHttpRpcRequest(context, headers, "/", undefined, body);
618
628
  };
619
629
  exports.serializeAws_json1_1UpdateRadiusCommand = serializeAws_json1_1UpdateRadiusCommand;
630
+ const serializeAws_json1_1UpdateSettingsCommand = async (input, context) => {
631
+ const headers = {
632
+ "content-type": "application/x-amz-json-1.1",
633
+ "x-amz-target": "DirectoryService_20150416.UpdateSettings",
634
+ };
635
+ let body;
636
+ body = JSON.stringify(serializeAws_json1_1UpdateSettingsRequest(input, context));
637
+ return buildHttpRpcRequest(context, headers, "/", undefined, body);
638
+ };
639
+ exports.serializeAws_json1_1UpdateSettingsCommand = serializeAws_json1_1UpdateSettingsCommand;
620
640
  const serializeAws_json1_1UpdateTrustCommand = async (input, context) => {
621
641
  const headers = {
622
642
  "content-type": "application/x-amz-json-1.1",
@@ -2074,6 +2094,57 @@ const deserializeAws_json1_1DescribeRegionsCommandError = async (output, context
2074
2094
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2075
2095
  }
2076
2096
  };
2097
+ const deserializeAws_json1_1DescribeSettingsCommand = async (output, context) => {
2098
+ if (output.statusCode >= 300) {
2099
+ return deserializeAws_json1_1DescribeSettingsCommandError(output, context);
2100
+ }
2101
+ const data = await parseBody(output.body, context);
2102
+ let contents = {};
2103
+ contents = deserializeAws_json1_1DescribeSettingsResult(data, context);
2104
+ const response = {
2105
+ $metadata: deserializeMetadata(output),
2106
+ ...contents,
2107
+ };
2108
+ return Promise.resolve(response);
2109
+ };
2110
+ exports.deserializeAws_json1_1DescribeSettingsCommand = deserializeAws_json1_1DescribeSettingsCommand;
2111
+ const deserializeAws_json1_1DescribeSettingsCommandError = async (output, context) => {
2112
+ const parsedOutput = {
2113
+ ...output,
2114
+ body: await parseBody(output.body, context),
2115
+ };
2116
+ let response;
2117
+ let errorCode = "UnknownError";
2118
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
2119
+ switch (errorCode) {
2120
+ case "ClientException":
2121
+ case "com.amazonaws.directoryservice#ClientException":
2122
+ throw await deserializeAws_json1_1ClientExceptionResponse(parsedOutput, context);
2123
+ case "DirectoryDoesNotExistException":
2124
+ case "com.amazonaws.directoryservice#DirectoryDoesNotExistException":
2125
+ throw await deserializeAws_json1_1DirectoryDoesNotExistExceptionResponse(parsedOutput, context);
2126
+ case "InvalidNextTokenException":
2127
+ case "com.amazonaws.directoryservice#InvalidNextTokenException":
2128
+ throw await deserializeAws_json1_1InvalidNextTokenExceptionResponse(parsedOutput, context);
2129
+ case "InvalidParameterException":
2130
+ case "com.amazonaws.directoryservice#InvalidParameterException":
2131
+ throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
2132
+ case "ServiceException":
2133
+ case "com.amazonaws.directoryservice#ServiceException":
2134
+ throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
2135
+ case "UnsupportedOperationException":
2136
+ case "com.amazonaws.directoryservice#UnsupportedOperationException":
2137
+ throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
2138
+ default:
2139
+ const parsedBody = parsedOutput.body;
2140
+ response = new DirectoryServiceServiceException_1.DirectoryServiceServiceException({
2141
+ name: parsedBody.code || parsedBody.Code || errorCode,
2142
+ $fault: "client",
2143
+ $metadata: deserializeMetadata(output),
2144
+ });
2145
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
2146
+ }
2147
+ };
2077
2148
  const deserializeAws_json1_1DescribeSharedDirectoriesCommand = async (output, context) => {
2078
2149
  if (output.statusCode >= 300) {
2079
2150
  return deserializeAws_json1_1DescribeSharedDirectoriesCommandError(output, context);
@@ -3655,6 +3726,63 @@ const deserializeAws_json1_1UpdateRadiusCommandError = async (output, context) =
3655
3726
  throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3656
3727
  }
3657
3728
  };
3729
+ const deserializeAws_json1_1UpdateSettingsCommand = async (output, context) => {
3730
+ if (output.statusCode >= 300) {
3731
+ return deserializeAws_json1_1UpdateSettingsCommandError(output, context);
3732
+ }
3733
+ const data = await parseBody(output.body, context);
3734
+ let contents = {};
3735
+ contents = deserializeAws_json1_1UpdateSettingsResult(data, context);
3736
+ const response = {
3737
+ $metadata: deserializeMetadata(output),
3738
+ ...contents,
3739
+ };
3740
+ return Promise.resolve(response);
3741
+ };
3742
+ exports.deserializeAws_json1_1UpdateSettingsCommand = deserializeAws_json1_1UpdateSettingsCommand;
3743
+ const deserializeAws_json1_1UpdateSettingsCommandError = async (output, context) => {
3744
+ const parsedOutput = {
3745
+ ...output,
3746
+ body: await parseBody(output.body, context),
3747
+ };
3748
+ let response;
3749
+ let errorCode = "UnknownError";
3750
+ errorCode = loadRestJsonErrorCode(output, parsedOutput.body);
3751
+ switch (errorCode) {
3752
+ case "ClientException":
3753
+ case "com.amazonaws.directoryservice#ClientException":
3754
+ throw await deserializeAws_json1_1ClientExceptionResponse(parsedOutput, context);
3755
+ case "DirectoryDoesNotExistException":
3756
+ case "com.amazonaws.directoryservice#DirectoryDoesNotExistException":
3757
+ throw await deserializeAws_json1_1DirectoryDoesNotExistExceptionResponse(parsedOutput, context);
3758
+ case "DirectoryUnavailableException":
3759
+ case "com.amazonaws.directoryservice#DirectoryUnavailableException":
3760
+ throw await deserializeAws_json1_1DirectoryUnavailableExceptionResponse(parsedOutput, context);
3761
+ case "IncompatibleSettingsException":
3762
+ case "com.amazonaws.directoryservice#IncompatibleSettingsException":
3763
+ throw await deserializeAws_json1_1IncompatibleSettingsExceptionResponse(parsedOutput, context);
3764
+ case "InvalidParameterException":
3765
+ case "com.amazonaws.directoryservice#InvalidParameterException":
3766
+ throw await deserializeAws_json1_1InvalidParameterExceptionResponse(parsedOutput, context);
3767
+ case "ServiceException":
3768
+ case "com.amazonaws.directoryservice#ServiceException":
3769
+ throw await deserializeAws_json1_1ServiceExceptionResponse(parsedOutput, context);
3770
+ case "UnsupportedOperationException":
3771
+ case "com.amazonaws.directoryservice#UnsupportedOperationException":
3772
+ throw await deserializeAws_json1_1UnsupportedOperationExceptionResponse(parsedOutput, context);
3773
+ case "UnsupportedSettingsException":
3774
+ case "com.amazonaws.directoryservice#UnsupportedSettingsException":
3775
+ throw await deserializeAws_json1_1UnsupportedSettingsExceptionResponse(parsedOutput, context);
3776
+ default:
3777
+ const parsedBody = parsedOutput.body;
3778
+ response = new DirectoryServiceServiceException_1.DirectoryServiceServiceException({
3779
+ name: parsedBody.code || parsedBody.Code || errorCode,
3780
+ $fault: "client",
3781
+ $metadata: deserializeMetadata(output),
3782
+ });
3783
+ throw (0, smithy_client_1.decorateServiceException)(response, parsedBody);
3784
+ }
3785
+ };
3658
3786
  const deserializeAws_json1_1UpdateTrustCommand = async (output, context) => {
3659
3787
  if (output.statusCode >= 300) {
3660
3788
  return deserializeAws_json1_1UpdateTrustCommandError(output, context);
@@ -3892,6 +4020,15 @@ const deserializeAws_json1_1EntityDoesNotExistExceptionResponse = async (parsedO
3892
4020
  });
3893
4021
  return (0, smithy_client_1.decorateServiceException)(exception, body);
3894
4022
  };
4023
+ const deserializeAws_json1_1IncompatibleSettingsExceptionResponse = async (parsedOutput, context) => {
4024
+ const body = parsedOutput.body;
4025
+ const deserialized = deserializeAws_json1_1IncompatibleSettingsException(body, context);
4026
+ const exception = new models_0_1.IncompatibleSettingsException({
4027
+ $metadata: deserializeMetadata(parsedOutput),
4028
+ ...deserialized,
4029
+ });
4030
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4031
+ };
3895
4032
  const deserializeAws_json1_1InsufficientPermissionsExceptionResponse = async (parsedOutput, context) => {
3896
4033
  const body = parsedOutput.body;
3897
4034
  const deserialized = deserializeAws_json1_1InsufficientPermissionsException(body, context);
@@ -4045,6 +4182,15 @@ const deserializeAws_json1_1UnsupportedOperationExceptionResponse = async (parse
4045
4182
  });
4046
4183
  return (0, smithy_client_1.decorateServiceException)(exception, body);
4047
4184
  };
4185
+ const deserializeAws_json1_1UnsupportedSettingsExceptionResponse = async (parsedOutput, context) => {
4186
+ const body = parsedOutput.body;
4187
+ const deserialized = deserializeAws_json1_1UnsupportedSettingsException(body, context);
4188
+ const exception = new models_0_1.UnsupportedSettingsException({
4189
+ $metadata: deserializeMetadata(parsedOutput),
4190
+ ...deserialized,
4191
+ });
4192
+ return (0, smithy_client_1.decorateServiceException)(exception, body);
4193
+ };
4048
4194
  const deserializeAws_json1_1UserDoesNotExistExceptionResponse = async (parsedOutput, context) => {
4049
4195
  const body = parsedOutput.body;
4050
4196
  const deserialized = deserializeAws_json1_1UserDoesNotExistException(body, context);
@@ -4332,6 +4478,13 @@ const serializeAws_json1_1DescribeRegionsRequest = (input, context) => {
4332
4478
  ...(input.RegionName !== undefined && input.RegionName !== null && { RegionName: input.RegionName }),
4333
4479
  };
4334
4480
  };
4481
+ const serializeAws_json1_1DescribeSettingsRequest = (input, context) => {
4482
+ return {
4483
+ ...(input.DirectoryId !== undefined && input.DirectoryId !== null && { DirectoryId: input.DirectoryId }),
4484
+ ...(input.NextToken !== undefined && input.NextToken !== null && { NextToken: input.NextToken }),
4485
+ ...(input.Status !== undefined && input.Status !== null && { Status: input.Status }),
4486
+ };
4487
+ };
4335
4488
  const serializeAws_json1_1DescribeSharedDirectoriesRequest = (input, context) => {
4336
4489
  return {
4337
4490
  ...(input.Limit !== undefined && input.Limit !== null && { Limit: input.Limit }),
@@ -4613,6 +4766,22 @@ const serializeAws_json1_1Servers = (input, context) => {
4613
4766
  return entry;
4614
4767
  });
4615
4768
  };
4769
+ const serializeAws_json1_1Setting = (input, context) => {
4770
+ return {
4771
+ ...(input.Name !== undefined && input.Name !== null && { Name: input.Name }),
4772
+ ...(input.Value !== undefined && input.Value !== null && { Value: input.Value }),
4773
+ };
4774
+ };
4775
+ const serializeAws_json1_1Settings = (input, context) => {
4776
+ return input
4777
+ .filter((e) => e != null)
4778
+ .map((entry) => {
4779
+ if (entry === null) {
4780
+ return null;
4781
+ }
4782
+ return serializeAws_json1_1Setting(entry, context);
4783
+ });
4784
+ };
4616
4785
  const serializeAws_json1_1ShareDirectoryRequest = (input, context) => {
4617
4786
  return {
4618
4787
  ...(input.DirectoryId !== undefined && input.DirectoryId !== null && { DirectoryId: input.DirectoryId }),
@@ -4744,6 +4913,13 @@ const serializeAws_json1_1UpdateRadiusRequest = (input, context) => {
4744
4913
  }),
4745
4914
  };
4746
4915
  };
4916
+ const serializeAws_json1_1UpdateSettingsRequest = (input, context) => {
4917
+ return {
4918
+ ...(input.DirectoryId !== undefined && input.DirectoryId !== null && { DirectoryId: input.DirectoryId }),
4919
+ ...(input.Settings !== undefined &&
4920
+ input.Settings !== null && { Settings: serializeAws_json1_1Settings(input.Settings, context) }),
4921
+ };
4922
+ };
4747
4923
  const serializeAws_json1_1UpdateTrustRequest = (input, context) => {
4748
4924
  return {
4749
4925
  ...(input.SelectiveAuth !== undefined && input.SelectiveAuth !== null && { SelectiveAuth: input.SelectiveAuth }),
@@ -5081,6 +5257,15 @@ const deserializeAws_json1_1DescribeRegionsResult = (output, context) => {
5081
5257
  : undefined,
5082
5258
  };
5083
5259
  };
5260
+ const deserializeAws_json1_1DescribeSettingsResult = (output, context) => {
5261
+ return {
5262
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
5263
+ NextToken: (0, smithy_client_1.expectString)(output.NextToken),
5264
+ SettingEntries: output.SettingEntries !== undefined && output.SettingEntries !== null
5265
+ ? deserializeAws_json1_1SettingEntries(output.SettingEntries, context)
5266
+ : undefined,
5267
+ };
5268
+ };
5084
5269
  const deserializeAws_json1_1DescribeSharedDirectoriesResult = (output, context) => {
5085
5270
  return {
5086
5271
  NextToken: (0, smithy_client_1.expectString)(output.NextToken),
@@ -5117,6 +5302,17 @@ const deserializeAws_json1_1DirectoryAlreadySharedException = (output, context)
5117
5302
  RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5118
5303
  };
5119
5304
  };
5305
+ const deserializeAws_json1_1DirectoryConfigurationSettingRequestDetailedStatus = (output, context) => {
5306
+ return Object.entries(output).reduce((acc, [key, value]) => {
5307
+ if (value === null) {
5308
+ return acc;
5309
+ }
5310
+ return {
5311
+ ...acc,
5312
+ [key]: (0, smithy_client_1.expectString)(value),
5313
+ };
5314
+ }, {});
5315
+ };
5120
5316
  const deserializeAws_json1_1DirectoryConnectSettingsDescription = (output, context) => {
5121
5317
  return {
5122
5318
  AvailabilityZones: output.AvailabilityZones !== undefined && output.AvailabilityZones !== null
@@ -5364,6 +5560,12 @@ const deserializeAws_json1_1GetSnapshotLimitsResult = (output, context) => {
5364
5560
  : undefined,
5365
5561
  };
5366
5562
  };
5563
+ const deserializeAws_json1_1IncompatibleSettingsException = (output, context) => {
5564
+ return {
5565
+ Message: (0, smithy_client_1.expectString)(output.Message),
5566
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5567
+ };
5568
+ };
5367
5569
  const deserializeAws_json1_1InsufficientPermissionsException = (output, context) => {
5368
5570
  return {
5369
5571
  Message: (0, smithy_client_1.expectString)(output.Message),
@@ -5689,6 +5891,37 @@ const deserializeAws_json1_1ServiceException = (output, context) => {
5689
5891
  RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5690
5892
  };
5691
5893
  };
5894
+ const deserializeAws_json1_1SettingEntries = (output, context) => {
5895
+ const retVal = (output || [])
5896
+ .filter((e) => e != null)
5897
+ .map((entry) => {
5898
+ if (entry === null) {
5899
+ return null;
5900
+ }
5901
+ return deserializeAws_json1_1SettingEntry(entry, context);
5902
+ });
5903
+ return retVal;
5904
+ };
5905
+ const deserializeAws_json1_1SettingEntry = (output, context) => {
5906
+ return {
5907
+ AllowedValues: (0, smithy_client_1.expectString)(output.AllowedValues),
5908
+ AppliedValue: (0, smithy_client_1.expectString)(output.AppliedValue),
5909
+ LastRequestedDateTime: output.LastRequestedDateTime !== undefined && output.LastRequestedDateTime !== null
5910
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastRequestedDateTime)))
5911
+ : undefined,
5912
+ LastUpdatedDateTime: output.LastUpdatedDateTime !== undefined && output.LastUpdatedDateTime !== null
5913
+ ? (0, smithy_client_1.expectNonNull)((0, smithy_client_1.parseEpochTimestamp)((0, smithy_client_1.expectNumber)(output.LastUpdatedDateTime)))
5914
+ : undefined,
5915
+ Name: (0, smithy_client_1.expectString)(output.Name),
5916
+ RequestDetailedStatus: output.RequestDetailedStatus !== undefined && output.RequestDetailedStatus !== null
5917
+ ? deserializeAws_json1_1DirectoryConfigurationSettingRequestDetailedStatus(output.RequestDetailedStatus, context)
5918
+ : undefined,
5919
+ RequestStatus: (0, smithy_client_1.expectString)(output.RequestStatus),
5920
+ RequestStatusMessage: (0, smithy_client_1.expectString)(output.RequestStatusMessage),
5921
+ RequestedValue: (0, smithy_client_1.expectString)(output.RequestedValue),
5922
+ Type: (0, smithy_client_1.expectString)(output.Type),
5923
+ };
5924
+ };
5692
5925
  const deserializeAws_json1_1SharedDirectories = (output, context) => {
5693
5926
  const retVal = (output || [])
5694
5927
  .filter((e) => e != null)
@@ -5846,6 +6079,12 @@ const deserializeAws_json1_1UnsupportedOperationException = (output, context) =>
5846
6079
  RequestId: (0, smithy_client_1.expectString)(output.RequestId),
5847
6080
  };
5848
6081
  };
6082
+ const deserializeAws_json1_1UnsupportedSettingsException = (output, context) => {
6083
+ return {
6084
+ Message: (0, smithy_client_1.expectString)(output.Message),
6085
+ RequestId: (0, smithy_client_1.expectString)(output.RequestId),
6086
+ };
6087
+ };
5849
6088
  const deserializeAws_json1_1UpdateConditionalForwarderResult = (output, context) => {
5850
6089
  return {};
5851
6090
  };
@@ -5855,6 +6094,11 @@ const deserializeAws_json1_1UpdateNumberOfDomainControllersResult = (output, con
5855
6094
  const deserializeAws_json1_1UpdateRadiusResult = (output, context) => {
5856
6095
  return {};
5857
6096
  };
6097
+ const deserializeAws_json1_1UpdateSettingsResult = (output, context) => {
6098
+ return {
6099
+ DirectoryId: (0, smithy_client_1.expectString)(output.DirectoryId),
6100
+ };
6101
+ };
5858
6102
  const deserializeAws_json1_1UpdateTrustResult = (output, context) => {
5859
6103
  return {
5860
6104
  RequestId: (0, smithy_client_1.expectString)(output.RequestId),
@@ -28,6 +28,7 @@ import { DescribeDomainControllersCommand, } from "./commands/DescribeDomainCont
28
28
  import { DescribeEventTopicsCommand, } from "./commands/DescribeEventTopicsCommand";
29
29
  import { DescribeLDAPSSettingsCommand, } from "./commands/DescribeLDAPSSettingsCommand";
30
30
  import { DescribeRegionsCommand, } from "./commands/DescribeRegionsCommand";
31
+ import { DescribeSettingsCommand, } from "./commands/DescribeSettingsCommand";
31
32
  import { DescribeSharedDirectoriesCommand, } from "./commands/DescribeSharedDirectoriesCommand";
32
33
  import { DescribeSnapshotsCommand, } from "./commands/DescribeSnapshotsCommand";
33
34
  import { DescribeTrustsCommand, } from "./commands/DescribeTrustsCommand";
@@ -60,6 +61,7 @@ import { UnshareDirectoryCommand, } from "./commands/UnshareDirectoryCommand";
60
61
  import { UpdateConditionalForwarderCommand, } from "./commands/UpdateConditionalForwarderCommand";
61
62
  import { UpdateNumberOfDomainControllersCommand, } from "./commands/UpdateNumberOfDomainControllersCommand";
62
63
  import { UpdateRadiusCommand, } from "./commands/UpdateRadiusCommand";
64
+ import { UpdateSettingsCommand, } from "./commands/UpdateSettingsCommand";
63
65
  import { UpdateTrustCommand } from "./commands/UpdateTrustCommand";
64
66
  import { VerifyTrustCommand } from "./commands/VerifyTrustCommand";
65
67
  import { DirectoryServiceClient } from "./DirectoryServiceClient";
@@ -474,6 +476,20 @@ var DirectoryService = (function (_super) {
474
476
  return this.send(command, optionsOrCb);
475
477
  }
476
478
  };
479
+ DirectoryService.prototype.describeSettings = function (args, optionsOrCb, cb) {
480
+ var command = new DescribeSettingsCommand(args);
481
+ if (typeof optionsOrCb === "function") {
482
+ this.send(command, optionsOrCb);
483
+ }
484
+ else if (typeof cb === "function") {
485
+ if (typeof optionsOrCb !== "object")
486
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
487
+ this.send(command, optionsOrCb || {}, cb);
488
+ }
489
+ else {
490
+ return this.send(command, optionsOrCb);
491
+ }
492
+ };
477
493
  DirectoryService.prototype.describeSharedDirectories = function (args, optionsOrCb, cb) {
478
494
  var command = new DescribeSharedDirectoriesCommand(args);
479
495
  if (typeof optionsOrCb === "function") {
@@ -922,6 +938,20 @@ var DirectoryService = (function (_super) {
922
938
  return this.send(command, optionsOrCb);
923
939
  }
924
940
  };
941
+ DirectoryService.prototype.updateSettings = function (args, optionsOrCb, cb) {
942
+ var command = new UpdateSettingsCommand(args);
943
+ if (typeof optionsOrCb === "function") {
944
+ this.send(command, optionsOrCb);
945
+ }
946
+ else if (typeof cb === "function") {
947
+ if (typeof optionsOrCb !== "object")
948
+ throw new Error("Expect http options but get ".concat(typeof optionsOrCb));
949
+ this.send(command, optionsOrCb || {}, cb);
950
+ }
951
+ else {
952
+ return this.send(command, optionsOrCb);
953
+ }
954
+ };
925
955
  DirectoryService.prototype.updateTrust = function (args, optionsOrCb, cb) {
926
956
  var command = new UpdateTrustCommand(args);
927
957
  if (typeof optionsOrCb === "function") {
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { DescribeSettingsRequest, DescribeSettingsResult } from "../models/models_0";
5
+ 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;
12
+ }
13
+ DescribeSettingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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,
23
+ inputFilterSensitiveLog: DescribeSettingsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: DescribeSettingsResult.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_json1_1DescribeSettingsCommand(input, context);
33
+ };
34
+ DescribeSettingsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1DescribeSettingsCommand(output, context);
36
+ };
37
+ return DescribeSettingsCommand;
38
+ }($Command));
39
+ export { DescribeSettingsCommand };
@@ -0,0 +1,39 @@
1
+ import { __extends } from "tslib";
2
+ import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
+ import { Command as $Command } from "@aws-sdk/smithy-client";
4
+ import { UpdateSettingsRequest, UpdateSettingsResult } from "../models/models_0";
5
+ import { deserializeAws_json1_1UpdateSettingsCommand, serializeAws_json1_1UpdateSettingsCommand, } from "../protocols/Aws_json1_1";
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;
12
+ }
13
+ UpdateSettingsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
14
+ 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 = "UpdateSettingsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
23
+ inputFilterSensitiveLog: UpdateSettingsRequest.filterSensitiveLog,
24
+ outputFilterSensitiveLog: UpdateSettingsResult.filterSensitiveLog,
25
+ };
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) {
32
+ return serializeAws_json1_1UpdateSettingsCommand(input, context);
33
+ };
34
+ UpdateSettingsCommand.prototype.deserialize = function (output, context) {
35
+ return deserializeAws_json1_1UpdateSettingsCommand(output, context);
36
+ };
37
+ return UpdateSettingsCommand;
38
+ }($Command));
39
+ export { UpdateSettingsCommand };
@@ -27,6 +27,7 @@ export * from "./DescribeDomainControllersCommand";
27
27
  export * from "./DescribeEventTopicsCommand";
28
28
  export * from "./DescribeLDAPSSettingsCommand";
29
29
  export * from "./DescribeRegionsCommand";
30
+ export * from "./DescribeSettingsCommand";
30
31
  export * from "./DescribeSharedDirectoriesCommand";
31
32
  export * from "./DescribeSnapshotsCommand";
32
33
  export * from "./DescribeTrustsCommand";
@@ -59,5 +60,6 @@ export * from "./UnshareDirectoryCommand";
59
60
  export * from "./UpdateConditionalForwarderCommand";
60
61
  export * from "./UpdateNumberOfDomainControllersCommand";
61
62
  export * from "./UpdateRadiusCommand";
63
+ export * from "./UpdateSettingsCommand";
62
64
  export * from "./UpdateTrustCommand";
63
65
  export * from "./VerifyTrustCommand";
@@ -378,6 +378,7 @@ export var ClientAuthenticationStatus;
378
378
  export var ClientAuthenticationType;
379
379
  (function (ClientAuthenticationType) {
380
380
  ClientAuthenticationType["SMART_CARD"] = "SmartCard";
381
+ ClientAuthenticationType["SMART_CARD_OR_PASSWORD"] = "SmartCardOrPassword";
381
382
  })(ClientAuthenticationType || (ClientAuthenticationType = {}));
382
383
  export var ClientAuthenticationSettingInfo;
383
384
  (function (ClientAuthenticationSettingInfo) {
@@ -784,6 +785,26 @@ export var DescribeRegionsResult;
784
785
  (function (DescribeRegionsResult) {
785
786
  DescribeRegionsResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
786
787
  })(DescribeRegionsResult || (DescribeRegionsResult = {}));
788
+ export var DirectoryConfigurationStatus;
789
+ (function (DirectoryConfigurationStatus) {
790
+ DirectoryConfigurationStatus["DEFAULT"] = "Default";
791
+ DirectoryConfigurationStatus["FAILED"] = "Failed";
792
+ DirectoryConfigurationStatus["REQUESTED"] = "Requested";
793
+ DirectoryConfigurationStatus["UPDATED"] = "Updated";
794
+ DirectoryConfigurationStatus["UPDATING"] = "Updating";
795
+ })(DirectoryConfigurationStatus || (DirectoryConfigurationStatus = {}));
796
+ export var DescribeSettingsRequest;
797
+ (function (DescribeSettingsRequest) {
798
+ DescribeSettingsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
799
+ })(DescribeSettingsRequest || (DescribeSettingsRequest = {}));
800
+ export var SettingEntry;
801
+ (function (SettingEntry) {
802
+ SettingEntry.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
803
+ })(SettingEntry || (SettingEntry = {}));
804
+ export var DescribeSettingsResult;
805
+ (function (DescribeSettingsResult) {
806
+ DescribeSettingsResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
807
+ })(DescribeSettingsResult || (DescribeSettingsResult = {}));
787
808
  export var DescribeSharedDirectoriesRequest;
788
809
  (function (DescribeSharedDirectoriesRequest) {
789
810
  DescribeSharedDirectoriesRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
@@ -1282,6 +1303,46 @@ export var UpdateRadiusResult;
1282
1303
  (function (UpdateRadiusResult) {
1283
1304
  UpdateRadiusResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1284
1305
  })(UpdateRadiusResult || (UpdateRadiusResult = {}));
1306
+ var IncompatibleSettingsException = (function (_super) {
1307
+ __extends(IncompatibleSettingsException, _super);
1308
+ function IncompatibleSettingsException(opts) {
1309
+ var _this = _super.call(this, __assign({ name: "IncompatibleSettingsException", $fault: "client" }, opts)) || this;
1310
+ _this.name = "IncompatibleSettingsException";
1311
+ _this.$fault = "client";
1312
+ Object.setPrototypeOf(_this, IncompatibleSettingsException.prototype);
1313
+ _this.Message = opts.Message;
1314
+ _this.RequestId = opts.RequestId;
1315
+ return _this;
1316
+ }
1317
+ return IncompatibleSettingsException;
1318
+ }(__BaseException));
1319
+ export { IncompatibleSettingsException };
1320
+ var UnsupportedSettingsException = (function (_super) {
1321
+ __extends(UnsupportedSettingsException, _super);
1322
+ function UnsupportedSettingsException(opts) {
1323
+ var _this = _super.call(this, __assign({ name: "UnsupportedSettingsException", $fault: "client" }, opts)) || this;
1324
+ _this.name = "UnsupportedSettingsException";
1325
+ _this.$fault = "client";
1326
+ Object.setPrototypeOf(_this, UnsupportedSettingsException.prototype);
1327
+ _this.Message = opts.Message;
1328
+ _this.RequestId = opts.RequestId;
1329
+ return _this;
1330
+ }
1331
+ return UnsupportedSettingsException;
1332
+ }(__BaseException));
1333
+ export { UnsupportedSettingsException };
1334
+ export var Setting;
1335
+ (function (Setting) {
1336
+ Setting.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1337
+ })(Setting || (Setting = {}));
1338
+ export var UpdateSettingsRequest;
1339
+ (function (UpdateSettingsRequest) {
1340
+ UpdateSettingsRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1341
+ })(UpdateSettingsRequest || (UpdateSettingsRequest = {}));
1342
+ export var UpdateSettingsResult;
1343
+ (function (UpdateSettingsResult) {
1344
+ UpdateSettingsResult.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };
1345
+ })(UpdateSettingsResult || (UpdateSettingsResult = {}));
1285
1346
  export var UpdateTrustRequest;
1286
1347
  (function (UpdateTrustRequest) {
1287
1348
  UpdateTrustRequest.filterSensitiveLog = function (obj) { return (__assign({}, obj)); };