@aws-sdk/client-cloudsearch 3.181.0 → 3.183.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 (38) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/dist-es/CloudSearch.js +106 -113
  3. package/dist-es/CloudSearchClient.js +22 -28
  4. package/dist-es/commands/BuildSuggestersCommand.js +21 -28
  5. package/dist-es/commands/CreateDomainCommand.js +21 -28
  6. package/dist-es/commands/DefineAnalysisSchemeCommand.js +21 -28
  7. package/dist-es/commands/DefineExpressionCommand.js +21 -28
  8. package/dist-es/commands/DefineIndexFieldCommand.js +21 -28
  9. package/dist-es/commands/DefineSuggesterCommand.js +21 -28
  10. package/dist-es/commands/DeleteAnalysisSchemeCommand.js +21 -28
  11. package/dist-es/commands/DeleteDomainCommand.js +21 -28
  12. package/dist-es/commands/DeleteExpressionCommand.js +21 -28
  13. package/dist-es/commands/DeleteIndexFieldCommand.js +21 -28
  14. package/dist-es/commands/DeleteSuggesterCommand.js +21 -28
  15. package/dist-es/commands/DescribeAnalysisSchemesCommand.js +21 -28
  16. package/dist-es/commands/DescribeAvailabilityOptionsCommand.js +21 -28
  17. package/dist-es/commands/DescribeDomainEndpointOptionsCommand.js +21 -28
  18. package/dist-es/commands/DescribeDomainsCommand.js +21 -28
  19. package/dist-es/commands/DescribeExpressionsCommand.js +21 -28
  20. package/dist-es/commands/DescribeIndexFieldsCommand.js +21 -28
  21. package/dist-es/commands/DescribeScalingParametersCommand.js +21 -28
  22. package/dist-es/commands/DescribeServiceAccessPoliciesCommand.js +21 -28
  23. package/dist-es/commands/DescribeSuggestersCommand.js +21 -28
  24. package/dist-es/commands/IndexDocumentsCommand.js +21 -28
  25. package/dist-es/commands/ListDomainNamesCommand.js +22 -29
  26. package/dist-es/commands/UpdateAvailabilityOptionsCommand.js +21 -28
  27. package/dist-es/commands/UpdateDomainEndpointOptionsCommand.js +21 -28
  28. package/dist-es/commands/UpdateScalingParametersCommand.js +21 -28
  29. package/dist-es/commands/UpdateServiceAccessPoliciesCommand.js +21 -28
  30. package/dist-es/endpoints.js +8 -8
  31. package/dist-es/models/CloudSearchServiceException.js +5 -10
  32. package/dist-es/models/models_0.js +350 -187
  33. package/dist-es/protocols/Aws_query.js +1887 -2483
  34. package/dist-es/runtimeConfig.browser.js +26 -12
  35. package/dist-es/runtimeConfig.js +30 -12
  36. package/dist-es/runtimeConfig.native.js +8 -5
  37. package/dist-es/runtimeConfig.shared.js +8 -11
  38. package/package.json +33 -33
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeAnalysisSchemesRequestFilterSensitiveLog, DescribeAnalysisSchemesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeAnalysisSchemesCommand, serializeAws_queryDescribeAnalysisSchemesCommand, } from "../protocols/Aws_query";
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;
5
+ export class DescribeAnalysisSchemesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeAnalysisSchemesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DescribeAnalysisSchemesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeAnalysisSchemesResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryDescribeAnalysisSchemesCommand(input, context);
33
- };
34
- DescribeAnalysisSchemesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeAnalysisSchemesCommand(output, context);
36
- };
37
- return DescribeAnalysisSchemesCommand;
38
- }($Command));
39
- export { DescribeAnalysisSchemesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeAvailabilityOptionsRequestFilterSensitiveLog, DescribeAvailabilityOptionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeAvailabilityOptionsCommand, serializeAws_queryDescribeAvailabilityOptionsCommand, } from "../protocols/Aws_query";
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;
5
+ export class DescribeAvailabilityOptionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeAvailabilityOptionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DescribeAvailabilityOptionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeAvailabilityOptionsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryDescribeAvailabilityOptionsCommand(input, context);
33
- };
34
- DescribeAvailabilityOptionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeAvailabilityOptionsCommand(output, context);
36
- };
37
- return DescribeAvailabilityOptionsCommand;
38
- }($Command));
39
- export { DescribeAvailabilityOptionsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeDomainEndpointOptionsRequestFilterSensitiveLog, DescribeDomainEndpointOptionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeDomainEndpointOptionsCommand, serializeAws_queryDescribeDomainEndpointOptionsCommand, } from "../protocols/Aws_query";
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;
5
+ export class DescribeDomainEndpointOptionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeDomainEndpointOptionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DescribeDomainEndpointOptionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeDomainEndpointOptionsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryDescribeDomainEndpointOptionsCommand(input, context);
33
- };
34
- DescribeDomainEndpointOptionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeDomainEndpointOptionsCommand(output, context);
36
- };
37
- return DescribeDomainEndpointOptionsCommand;
38
- }($Command));
39
- export { DescribeDomainEndpointOptionsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeDomainsRequestFilterSensitiveLog, DescribeDomainsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeDomainsCommand, serializeAws_queryDescribeDomainsCommand, } from "../protocols/Aws_query";
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;
5
+ export class DescribeDomainsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeDomainsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DescribeDomainsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeDomainsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryDescribeDomainsCommand(input, context);
33
- };
34
- DescribeDomainsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeDomainsCommand(output, context);
36
- };
37
- return DescribeDomainsCommand;
38
- }($Command));
39
- export { DescribeDomainsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeExpressionsRequestFilterSensitiveLog, DescribeExpressionsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeExpressionsCommand, serializeAws_queryDescribeExpressionsCommand, } from "../protocols/Aws_query";
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;
5
+ export class DescribeExpressionsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeExpressionsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DescribeExpressionsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeExpressionsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryDescribeExpressionsCommand(input, context);
33
- };
34
- DescribeExpressionsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeExpressionsCommand(output, context);
36
- };
37
- return DescribeExpressionsCommand;
38
- }($Command));
39
- export { DescribeExpressionsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeIndexFieldsRequestFilterSensitiveLog, DescribeIndexFieldsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeIndexFieldsCommand, serializeAws_queryDescribeIndexFieldsCommand, } from "../protocols/Aws_query";
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;
5
+ export class DescribeIndexFieldsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeIndexFieldsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DescribeIndexFieldsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeIndexFieldsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryDescribeIndexFieldsCommand(input, context);
33
- };
34
- DescribeIndexFieldsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeIndexFieldsCommand(output, context);
36
- };
37
- return DescribeIndexFieldsCommand;
38
- }($Command));
39
- export { DescribeIndexFieldsCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeScalingParametersRequestFilterSensitiveLog, DescribeScalingParametersResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeScalingParametersCommand, serializeAws_queryDescribeScalingParametersCommand, } from "../protocols/Aws_query";
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;
5
+ export class DescribeScalingParametersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeScalingParametersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DescribeScalingParametersRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeScalingParametersResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryDescribeScalingParametersCommand(input, context);
33
- };
34
- DescribeScalingParametersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeScalingParametersCommand(output, context);
36
- };
37
- return DescribeScalingParametersCommand;
38
- }($Command));
39
- export { DescribeScalingParametersCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeServiceAccessPoliciesRequestFilterSensitiveLog, DescribeServiceAccessPoliciesResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeServiceAccessPoliciesCommand, serializeAws_queryDescribeServiceAccessPoliciesCommand, } from "../protocols/Aws_query";
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;
5
+ export class DescribeServiceAccessPoliciesCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeServiceAccessPoliciesCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DescribeServiceAccessPoliciesRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeServiceAccessPoliciesResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryDescribeServiceAccessPoliciesCommand(input, context);
33
- };
34
- DescribeServiceAccessPoliciesCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeServiceAccessPoliciesCommand(output, context);
36
- };
37
- return DescribeServiceAccessPoliciesCommand;
38
- }($Command));
39
- export { DescribeServiceAccessPoliciesCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { DescribeSuggestersRequestFilterSensitiveLog, DescribeSuggestersResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryDescribeSuggestersCommand, serializeAws_queryDescribeSuggestersCommand, } from "../protocols/Aws_query";
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;
5
+ export class DescribeSuggestersCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- DescribeSuggestersCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: DescribeSuggestersRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: DescribeSuggestersResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryDescribeSuggestersCommand(input, context);
33
- };
34
- DescribeSuggestersCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryDescribeSuggestersCommand(output, context);
36
- };
37
- return DescribeSuggestersCommand;
38
- }($Command));
39
- export { DescribeSuggestersCommand };
31
+ }
32
+ }
@@ -1,39 +1,32 @@
1
- import { __extends } from "tslib";
2
1
  import { getSerdePlugin } from "@aws-sdk/middleware-serde";
3
2
  import { Command as $Command } from "@aws-sdk/smithy-client";
4
3
  import { IndexDocumentsRequestFilterSensitiveLog, IndexDocumentsResponseFilterSensitiveLog, } from "../models/models_0";
5
4
  import { deserializeAws_queryIndexDocumentsCommand, serializeAws_queryIndexDocumentsCommand, } from "../protocols/Aws_query";
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;
5
+ export class IndexDocumentsCommand extends $Command {
6
+ constructor(input) {
7
+ super();
8
+ this.input = input;
12
9
  }
13
- IndexDocumentsCommand.prototype.resolveMiddleware = function (clientStack, configuration, options) {
10
+ resolveMiddleware(clientStack, configuration, options) {
14
11
  this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
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,
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,
23
20
  inputFilterSensitiveLog: IndexDocumentsRequestFilterSensitiveLog,
24
21
  outputFilterSensitiveLog: IndexDocumentsResponseFilterSensitiveLog,
25
22
  };
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) {
23
+ const { requestHandler } = configuration;
24
+ return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
25
+ }
26
+ serialize(input, context) {
32
27
  return serializeAws_queryIndexDocumentsCommand(input, context);
33
- };
34
- IndexDocumentsCommand.prototype.deserialize = function (output, context) {
28
+ }
29
+ deserialize(output, context) {
35
30
  return deserializeAws_queryIndexDocumentsCommand(output, context);
36
- };
37
- return IndexDocumentsCommand;
38
- }($Command));
39
- export { IndexDocumentsCommand };
31
+ }
32
+ }