@aws-sdk/client-cloudsearch 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 (39) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/dist-cjs/protocols/Aws_query.js +2 -2
  3. package/dist-es/CloudSearch.js +113 -106
  4. package/dist-es/CloudSearchClient.js +28 -22
  5. package/dist-es/commands/BuildSuggestersCommand.js +28 -21
  6. package/dist-es/commands/CreateDomainCommand.js +28 -21
  7. package/dist-es/commands/DefineAnalysisSchemeCommand.js +28 -21
  8. package/dist-es/commands/DefineExpressionCommand.js +28 -21
  9. package/dist-es/commands/DefineIndexFieldCommand.js +28 -21
  10. package/dist-es/commands/DefineSuggesterCommand.js +28 -21
  11. package/dist-es/commands/DeleteAnalysisSchemeCommand.js +28 -21
  12. package/dist-es/commands/DeleteDomainCommand.js +28 -21
  13. package/dist-es/commands/DeleteExpressionCommand.js +28 -21
  14. package/dist-es/commands/DeleteIndexFieldCommand.js +28 -21
  15. package/dist-es/commands/DeleteSuggesterCommand.js +28 -21
  16. package/dist-es/commands/DescribeAnalysisSchemesCommand.js +28 -21
  17. package/dist-es/commands/DescribeAvailabilityOptionsCommand.js +28 -21
  18. package/dist-es/commands/DescribeDomainEndpointOptionsCommand.js +28 -21
  19. package/dist-es/commands/DescribeDomainsCommand.js +28 -21
  20. package/dist-es/commands/DescribeExpressionsCommand.js +28 -21
  21. package/dist-es/commands/DescribeIndexFieldsCommand.js +28 -21
  22. package/dist-es/commands/DescribeScalingParametersCommand.js +28 -21
  23. package/dist-es/commands/DescribeServiceAccessPoliciesCommand.js +28 -21
  24. package/dist-es/commands/DescribeSuggestersCommand.js +28 -21
  25. package/dist-es/commands/IndexDocumentsCommand.js +28 -21
  26. package/dist-es/commands/ListDomainNamesCommand.js +29 -22
  27. package/dist-es/commands/UpdateAvailabilityOptionsCommand.js +28 -21
  28. package/dist-es/commands/UpdateDomainEndpointOptionsCommand.js +28 -21
  29. package/dist-es/commands/UpdateScalingParametersCommand.js +28 -21
  30. package/dist-es/commands/UpdateServiceAccessPoliciesCommand.js +28 -21
  31. package/dist-es/endpoints.js +8 -8
  32. package/dist-es/models/CloudSearchServiceException.js +10 -5
  33. package/dist-es/models/models_0.js +187 -350
  34. package/dist-es/protocols/Aws_query.js +2483 -1887
  35. package/dist-es/runtimeConfig.browser.js +12 -26
  36. package/dist-es/runtimeConfig.js +12 -30
  37. package/dist-es/runtimeConfig.native.js +5 -8
  38. package/dist-es/runtimeConfig.shared.js +11 -8
  39. 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 { CreateDomainRequestFilterSensitiveLog, CreateDomainResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryCreateDomainCommand, serializeAws_queryCreateDomainCommand } from "../protocols/Aws_query";
5
- export class CreateDomainCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var CreateDomainCommand = (function (_super) {
7
+ __extends(CreateDomainCommand, _super);
8
+ function CreateDomainCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ CreateDomainCommand.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 = "CloudSearchClient";
15
- const commandName = "CreateDomainCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudSearchClient";
18
+ var commandName = "CreateDomainCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: CreateDomainRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: CreateDomainResponseFilterSensitiveLog,
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
+ CreateDomainCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryCreateDomainCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ CreateDomainCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryCreateDomainCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return CreateDomainCommand;
38
+ }($Command));
39
+ export { CreateDomainCommand };
@@ -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 { DefineAnalysisSchemeRequestFilterSensitiveLog, DefineAnalysisSchemeResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDefineAnalysisSchemeCommand, serializeAws_queryDefineAnalysisSchemeCommand, } from "../protocols/Aws_query";
5
- export class DefineAnalysisSchemeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DefineAnalysisSchemeCommand = (function (_super) {
7
+ __extends(DefineAnalysisSchemeCommand, _super);
8
+ function DefineAnalysisSchemeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DefineAnalysisSchemeCommand.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 = "CloudSearchClient";
15
- const commandName = "DefineAnalysisSchemeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudSearchClient";
18
+ var commandName = "DefineAnalysisSchemeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DefineAnalysisSchemeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DefineAnalysisSchemeResponseFilterSensitiveLog,
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
+ DefineAnalysisSchemeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDefineAnalysisSchemeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DefineAnalysisSchemeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDefineAnalysisSchemeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DefineAnalysisSchemeCommand;
38
+ }($Command));
39
+ export { DefineAnalysisSchemeCommand };
@@ -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 { DefineExpressionRequestFilterSensitiveLog, DefineExpressionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDefineExpressionCommand, serializeAws_queryDefineExpressionCommand, } from "../protocols/Aws_query";
5
- export class DefineExpressionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DefineExpressionCommand = (function (_super) {
7
+ __extends(DefineExpressionCommand, _super);
8
+ function DefineExpressionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DefineExpressionCommand.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 = "CloudSearchClient";
15
- const commandName = "DefineExpressionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudSearchClient";
18
+ var commandName = "DefineExpressionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DefineExpressionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DefineExpressionResponseFilterSensitiveLog,
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
+ DefineExpressionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDefineExpressionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DefineExpressionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDefineExpressionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DefineExpressionCommand;
38
+ }($Command));
39
+ export { DefineExpressionCommand };
@@ -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 { DefineIndexFieldRequestFilterSensitiveLog, DefineIndexFieldResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDefineIndexFieldCommand, serializeAws_queryDefineIndexFieldCommand, } from "../protocols/Aws_query";
5
- export class DefineIndexFieldCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DefineIndexFieldCommand = (function (_super) {
7
+ __extends(DefineIndexFieldCommand, _super);
8
+ function DefineIndexFieldCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DefineIndexFieldCommand.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 = "CloudSearchClient";
15
- const commandName = "DefineIndexFieldCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudSearchClient";
18
+ var commandName = "DefineIndexFieldCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DefineIndexFieldRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DefineIndexFieldResponseFilterSensitiveLog,
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
+ DefineIndexFieldCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDefineIndexFieldCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DefineIndexFieldCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDefineIndexFieldCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DefineIndexFieldCommand;
38
+ }($Command));
39
+ export { DefineIndexFieldCommand };
@@ -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 { DefineSuggesterRequestFilterSensitiveLog, DefineSuggesterResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDefineSuggesterCommand, serializeAws_queryDefineSuggesterCommand, } from "../protocols/Aws_query";
5
- export class DefineSuggesterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DefineSuggesterCommand = (function (_super) {
7
+ __extends(DefineSuggesterCommand, _super);
8
+ function DefineSuggesterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DefineSuggesterCommand.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 = "CloudSearchClient";
15
- const commandName = "DefineSuggesterCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudSearchClient";
18
+ var commandName = "DefineSuggesterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DefineSuggesterRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DefineSuggesterResponseFilterSensitiveLog,
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
+ DefineSuggesterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDefineSuggesterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DefineSuggesterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDefineSuggesterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DefineSuggesterCommand;
38
+ }($Command));
39
+ export { DefineSuggesterCommand };
@@ -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 { DeleteAnalysisSchemeRequestFilterSensitiveLog, DeleteAnalysisSchemeResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDeleteAnalysisSchemeCommand, serializeAws_queryDeleteAnalysisSchemeCommand, } from "../protocols/Aws_query";
5
- export class DeleteAnalysisSchemeCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteAnalysisSchemeCommand = (function (_super) {
7
+ __extends(DeleteAnalysisSchemeCommand, _super);
8
+ function DeleteAnalysisSchemeCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteAnalysisSchemeCommand.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 = "CloudSearchClient";
15
- const commandName = "DeleteAnalysisSchemeCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudSearchClient";
18
+ var commandName = "DeleteAnalysisSchemeCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteAnalysisSchemeRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteAnalysisSchemeResponseFilterSensitiveLog,
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
+ DeleteAnalysisSchemeCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDeleteAnalysisSchemeCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteAnalysisSchemeCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDeleteAnalysisSchemeCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteAnalysisSchemeCommand;
38
+ }($Command));
39
+ export { DeleteAnalysisSchemeCommand };
@@ -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 { DeleteDomainRequestFilterSensitiveLog, DeleteDomainResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDeleteDomainCommand, serializeAws_queryDeleteDomainCommand } from "../protocols/Aws_query";
5
- export class DeleteDomainCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteDomainCommand = (function (_super) {
7
+ __extends(DeleteDomainCommand, _super);
8
+ function DeleteDomainCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteDomainCommand.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 = "CloudSearchClient";
15
- const commandName = "DeleteDomainCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudSearchClient";
18
+ var commandName = "DeleteDomainCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteDomainRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteDomainResponseFilterSensitiveLog,
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
+ DeleteDomainCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDeleteDomainCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteDomainCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDeleteDomainCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteDomainCommand;
38
+ }($Command));
39
+ export { DeleteDomainCommand };
@@ -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 { DeleteExpressionRequestFilterSensitiveLog, DeleteExpressionResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDeleteExpressionCommand, serializeAws_queryDeleteExpressionCommand, } from "../protocols/Aws_query";
5
- export class DeleteExpressionCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteExpressionCommand = (function (_super) {
7
+ __extends(DeleteExpressionCommand, _super);
8
+ function DeleteExpressionCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteExpressionCommand.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 = "CloudSearchClient";
15
- const commandName = "DeleteExpressionCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudSearchClient";
18
+ var commandName = "DeleteExpressionCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteExpressionRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteExpressionResponseFilterSensitiveLog,
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
+ DeleteExpressionCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDeleteExpressionCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteExpressionCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDeleteExpressionCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteExpressionCommand;
38
+ }($Command));
39
+ export { DeleteExpressionCommand };
@@ -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 { DeleteIndexFieldRequestFilterSensitiveLog, DeleteIndexFieldResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDeleteIndexFieldCommand, serializeAws_queryDeleteIndexFieldCommand, } from "../protocols/Aws_query";
5
- export class DeleteIndexFieldCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteIndexFieldCommand = (function (_super) {
7
+ __extends(DeleteIndexFieldCommand, _super);
8
+ function DeleteIndexFieldCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteIndexFieldCommand.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 = "CloudSearchClient";
15
- const commandName = "DeleteIndexFieldCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudSearchClient";
18
+ var commandName = "DeleteIndexFieldCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteIndexFieldRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteIndexFieldResponseFilterSensitiveLog,
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
+ DeleteIndexFieldCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDeleteIndexFieldCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteIndexFieldCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDeleteIndexFieldCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteIndexFieldCommand;
38
+ }($Command));
39
+ export { DeleteIndexFieldCommand };
@@ -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 { DeleteSuggesterRequestFilterSensitiveLog, DeleteSuggesterResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDeleteSuggesterCommand, serializeAws_queryDeleteSuggesterCommand, } from "../protocols/Aws_query";
5
- export class DeleteSuggesterCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DeleteSuggesterCommand = (function (_super) {
7
+ __extends(DeleteSuggesterCommand, _super);
8
+ function DeleteSuggesterCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DeleteSuggesterCommand.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 = "CloudSearchClient";
15
- const commandName = "DeleteSuggesterCommand";
16
- const handlerExecutionContext = {
17
- logger,
18
- clientName,
19
- commandName,
15
+ var stack = clientStack.concat(this.middlewareStack);
16
+ var logger = configuration.logger;
17
+ var clientName = "CloudSearchClient";
18
+ var commandName = "DeleteSuggesterCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DeleteSuggesterRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DeleteSuggesterResponseFilterSensitiveLog,
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
+ DeleteSuggesterCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDeleteSuggesterCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DeleteSuggesterCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDeleteSuggesterCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DeleteSuggesterCommand;
38
+ }($Command));
39
+ export { DeleteSuggesterCommand };