@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 { DescribeAnalysisSchemesRequestFilterSensitiveLog, DescribeAnalysisSchemesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDescribeAnalysisSchemesCommand, serializeAws_queryDescribeAnalysisSchemesCommand, } from "../protocols/Aws_query";
5
- export class DescribeAnalysisSchemesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeAnalysisSchemesCommand = (function (_super) {
7
+ __extends(DescribeAnalysisSchemesCommand, _super);
8
+ function DescribeAnalysisSchemesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeAnalysisSchemesCommand.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 = "DescribeAnalysisSchemesCommand";
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 = "DescribeAnalysisSchemesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeAnalysisSchemesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeAnalysisSchemesResponseFilterSensitiveLog,
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
+ DescribeAnalysisSchemesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDescribeAnalysisSchemesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeAnalysisSchemesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDescribeAnalysisSchemesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeAnalysisSchemesCommand;
38
+ }($Command));
39
+ export { DescribeAnalysisSchemesCommand };
@@ -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 { DescribeAvailabilityOptionsRequestFilterSensitiveLog, DescribeAvailabilityOptionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDescribeAvailabilityOptionsCommand, serializeAws_queryDescribeAvailabilityOptionsCommand, } from "../protocols/Aws_query";
5
- export class DescribeAvailabilityOptionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeAvailabilityOptionsCommand = (function (_super) {
7
+ __extends(DescribeAvailabilityOptionsCommand, _super);
8
+ function DescribeAvailabilityOptionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeAvailabilityOptionsCommand.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 = "DescribeAvailabilityOptionsCommand";
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 = "DescribeAvailabilityOptionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeAvailabilityOptionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeAvailabilityOptionsResponseFilterSensitiveLog,
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
+ DescribeAvailabilityOptionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDescribeAvailabilityOptionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeAvailabilityOptionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDescribeAvailabilityOptionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeAvailabilityOptionsCommand;
38
+ }($Command));
39
+ export { DescribeAvailabilityOptionsCommand };
@@ -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 { DescribeDomainEndpointOptionsRequestFilterSensitiveLog, DescribeDomainEndpointOptionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDescribeDomainEndpointOptionsCommand, serializeAws_queryDescribeDomainEndpointOptionsCommand, } from "../protocols/Aws_query";
5
- export class DescribeDomainEndpointOptionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeDomainEndpointOptionsCommand = (function (_super) {
7
+ __extends(DescribeDomainEndpointOptionsCommand, _super);
8
+ function DescribeDomainEndpointOptionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeDomainEndpointOptionsCommand.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 = "DescribeDomainEndpointOptionsCommand";
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 = "DescribeDomainEndpointOptionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeDomainEndpointOptionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeDomainEndpointOptionsResponseFilterSensitiveLog,
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
+ DescribeDomainEndpointOptionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDescribeDomainEndpointOptionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeDomainEndpointOptionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDescribeDomainEndpointOptionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeDomainEndpointOptionsCommand;
38
+ }($Command));
39
+ export { DescribeDomainEndpointOptionsCommand };
@@ -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 { DescribeDomainsRequestFilterSensitiveLog, DescribeDomainsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDescribeDomainsCommand, serializeAws_queryDescribeDomainsCommand, } from "../protocols/Aws_query";
5
- export class DescribeDomainsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeDomainsCommand = (function (_super) {
7
+ __extends(DescribeDomainsCommand, _super);
8
+ function DescribeDomainsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeDomainsCommand.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 = "DescribeDomainsCommand";
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 = "DescribeDomainsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeDomainsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeDomainsResponseFilterSensitiveLog,
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
+ DescribeDomainsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDescribeDomainsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeDomainsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDescribeDomainsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeDomainsCommand;
38
+ }($Command));
39
+ export { DescribeDomainsCommand };
@@ -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 { DescribeExpressionsRequestFilterSensitiveLog, DescribeExpressionsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDescribeExpressionsCommand, serializeAws_queryDescribeExpressionsCommand, } from "../protocols/Aws_query";
5
- export class DescribeExpressionsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeExpressionsCommand = (function (_super) {
7
+ __extends(DescribeExpressionsCommand, _super);
8
+ function DescribeExpressionsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeExpressionsCommand.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 = "DescribeExpressionsCommand";
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 = "DescribeExpressionsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeExpressionsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeExpressionsResponseFilterSensitiveLog,
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
+ DescribeExpressionsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDescribeExpressionsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeExpressionsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDescribeExpressionsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeExpressionsCommand;
38
+ }($Command));
39
+ export { DescribeExpressionsCommand };
@@ -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 { DescribeIndexFieldsRequestFilterSensitiveLog, DescribeIndexFieldsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDescribeIndexFieldsCommand, serializeAws_queryDescribeIndexFieldsCommand, } from "../protocols/Aws_query";
5
- export class DescribeIndexFieldsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeIndexFieldsCommand = (function (_super) {
7
+ __extends(DescribeIndexFieldsCommand, _super);
8
+ function DescribeIndexFieldsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeIndexFieldsCommand.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 = "DescribeIndexFieldsCommand";
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 = "DescribeIndexFieldsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeIndexFieldsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeIndexFieldsResponseFilterSensitiveLog,
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
+ DescribeIndexFieldsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDescribeIndexFieldsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeIndexFieldsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDescribeIndexFieldsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeIndexFieldsCommand;
38
+ }($Command));
39
+ export { DescribeIndexFieldsCommand };
@@ -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 { DescribeScalingParametersRequestFilterSensitiveLog, DescribeScalingParametersResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDescribeScalingParametersCommand, serializeAws_queryDescribeScalingParametersCommand, } from "../protocols/Aws_query";
5
- export class DescribeScalingParametersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeScalingParametersCommand = (function (_super) {
7
+ __extends(DescribeScalingParametersCommand, _super);
8
+ function DescribeScalingParametersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeScalingParametersCommand.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 = "DescribeScalingParametersCommand";
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 = "DescribeScalingParametersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeScalingParametersRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeScalingParametersResponseFilterSensitiveLog,
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
+ DescribeScalingParametersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDescribeScalingParametersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeScalingParametersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDescribeScalingParametersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeScalingParametersCommand;
38
+ }($Command));
39
+ export { DescribeScalingParametersCommand };
@@ -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 { DescribeServiceAccessPoliciesRequestFilterSensitiveLog, DescribeServiceAccessPoliciesResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDescribeServiceAccessPoliciesCommand, serializeAws_queryDescribeServiceAccessPoliciesCommand, } from "../protocols/Aws_query";
5
- export class DescribeServiceAccessPoliciesCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeServiceAccessPoliciesCommand = (function (_super) {
7
+ __extends(DescribeServiceAccessPoliciesCommand, _super);
8
+ function DescribeServiceAccessPoliciesCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeServiceAccessPoliciesCommand.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 = "DescribeServiceAccessPoliciesCommand";
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 = "DescribeServiceAccessPoliciesCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeServiceAccessPoliciesRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeServiceAccessPoliciesResponseFilterSensitiveLog,
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
+ DescribeServiceAccessPoliciesCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDescribeServiceAccessPoliciesCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeServiceAccessPoliciesCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDescribeServiceAccessPoliciesCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeServiceAccessPoliciesCommand;
38
+ }($Command));
39
+ export { DescribeServiceAccessPoliciesCommand };
@@ -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 { DescribeSuggestersRequestFilterSensitiveLog, DescribeSuggestersResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryDescribeSuggestersCommand, serializeAws_queryDescribeSuggestersCommand, } from "../protocols/Aws_query";
5
- export class DescribeSuggestersCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var DescribeSuggestersCommand = (function (_super) {
7
+ __extends(DescribeSuggestersCommand, _super);
8
+ function DescribeSuggestersCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ DescribeSuggestersCommand.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 = "DescribeSuggestersCommand";
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 = "DescribeSuggestersCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: DescribeSuggestersRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: DescribeSuggestersResponseFilterSensitiveLog,
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
+ DescribeSuggestersCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryDescribeSuggestersCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ DescribeSuggestersCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryDescribeSuggestersCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return DescribeSuggestersCommand;
38
+ }($Command));
39
+ export { DescribeSuggestersCommand };
@@ -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 { IndexDocumentsRequestFilterSensitiveLog, IndexDocumentsResponseFilterSensitiveLog, } from "../models/models_0";
4
5
  import { deserializeAws_queryIndexDocumentsCommand, serializeAws_queryIndexDocumentsCommand, } from "../protocols/Aws_query";
5
- export class IndexDocumentsCommand extends $Command {
6
- constructor(input) {
7
- super();
8
- this.input = input;
6
+ var IndexDocumentsCommand = (function (_super) {
7
+ __extends(IndexDocumentsCommand, _super);
8
+ function IndexDocumentsCommand(input) {
9
+ var _this = _super.call(this) || this;
10
+ _this.input = input;
11
+ return _this;
9
12
  }
10
- resolveMiddleware(clientStack, configuration, options) {
13
+ IndexDocumentsCommand.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 = "IndexDocumentsCommand";
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 = "IndexDocumentsCommand";
19
+ var handlerExecutionContext = {
20
+ logger: logger,
21
+ clientName: clientName,
22
+ commandName: commandName,
20
23
  inputFilterSensitiveLog: IndexDocumentsRequestFilterSensitiveLog,
21
24
  outputFilterSensitiveLog: IndexDocumentsResponseFilterSensitiveLog,
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
+ IndexDocumentsCommand.prototype.serialize = function (input, context) {
27
32
  return serializeAws_queryIndexDocumentsCommand(input, context);
28
- }
29
- deserialize(output, context) {
33
+ };
34
+ IndexDocumentsCommand.prototype.deserialize = function (output, context) {
30
35
  return deserializeAws_queryIndexDocumentsCommand(output, context);
31
- }
32
- }
36
+ };
37
+ return IndexDocumentsCommand;
38
+ }($Command));
39
+ export { IndexDocumentsCommand };