@aws-sdk/client-cloudsearch 3.478.0 → 3.484.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 (109) hide show
  1. package/dist-cjs/commands/BuildSuggestersCommand.js +18 -41
  2. package/dist-cjs/commands/CreateDomainCommand.js +18 -41
  3. package/dist-cjs/commands/DefineAnalysisSchemeCommand.js +18 -41
  4. package/dist-cjs/commands/DefineExpressionCommand.js +18 -41
  5. package/dist-cjs/commands/DefineIndexFieldCommand.js +18 -41
  6. package/dist-cjs/commands/DefineSuggesterCommand.js +18 -41
  7. package/dist-cjs/commands/DeleteAnalysisSchemeCommand.js +18 -41
  8. package/dist-cjs/commands/DeleteDomainCommand.js +18 -41
  9. package/dist-cjs/commands/DeleteExpressionCommand.js +18 -41
  10. package/dist-cjs/commands/DeleteIndexFieldCommand.js +18 -41
  11. package/dist-cjs/commands/DeleteSuggesterCommand.js +18 -41
  12. package/dist-cjs/commands/DescribeAnalysisSchemesCommand.js +18 -41
  13. package/dist-cjs/commands/DescribeAvailabilityOptionsCommand.js +18 -41
  14. package/dist-cjs/commands/DescribeDomainEndpointOptionsCommand.js +18 -41
  15. package/dist-cjs/commands/DescribeDomainsCommand.js +18 -41
  16. package/dist-cjs/commands/DescribeExpressionsCommand.js +18 -41
  17. package/dist-cjs/commands/DescribeIndexFieldsCommand.js +18 -41
  18. package/dist-cjs/commands/DescribeScalingParametersCommand.js +18 -41
  19. package/dist-cjs/commands/DescribeServiceAccessPoliciesCommand.js +18 -41
  20. package/dist-cjs/commands/DescribeSuggestersCommand.js +18 -41
  21. package/dist-cjs/commands/IndexDocumentsCommand.js +18 -41
  22. package/dist-cjs/commands/ListDomainNamesCommand.js +18 -41
  23. package/dist-cjs/commands/UpdateAvailabilityOptionsCommand.js +18 -41
  24. package/dist-cjs/commands/UpdateDomainEndpointOptionsCommand.js +18 -41
  25. package/dist-cjs/commands/UpdateScalingParametersCommand.js +18 -41
  26. package/dist-cjs/commands/UpdateServiceAccessPoliciesCommand.js +18 -41
  27. package/dist-cjs/endpoint/EndpointParameters.js +7 -1
  28. package/dist-es/commands/BuildSuggestersCommand.js +18 -41
  29. package/dist-es/commands/CreateDomainCommand.js +18 -41
  30. package/dist-es/commands/DefineAnalysisSchemeCommand.js +18 -41
  31. package/dist-es/commands/DefineExpressionCommand.js +18 -41
  32. package/dist-es/commands/DefineIndexFieldCommand.js +18 -41
  33. package/dist-es/commands/DefineSuggesterCommand.js +18 -41
  34. package/dist-es/commands/DeleteAnalysisSchemeCommand.js +18 -41
  35. package/dist-es/commands/DeleteDomainCommand.js +18 -41
  36. package/dist-es/commands/DeleteExpressionCommand.js +18 -41
  37. package/dist-es/commands/DeleteIndexFieldCommand.js +18 -41
  38. package/dist-es/commands/DeleteSuggesterCommand.js +18 -41
  39. package/dist-es/commands/DescribeAnalysisSchemesCommand.js +18 -41
  40. package/dist-es/commands/DescribeAvailabilityOptionsCommand.js +18 -41
  41. package/dist-es/commands/DescribeDomainEndpointOptionsCommand.js +18 -41
  42. package/dist-es/commands/DescribeDomainsCommand.js +18 -41
  43. package/dist-es/commands/DescribeExpressionsCommand.js +18 -41
  44. package/dist-es/commands/DescribeIndexFieldsCommand.js +18 -41
  45. package/dist-es/commands/DescribeScalingParametersCommand.js +18 -41
  46. package/dist-es/commands/DescribeServiceAccessPoliciesCommand.js +18 -41
  47. package/dist-es/commands/DescribeSuggestersCommand.js +18 -41
  48. package/dist-es/commands/IndexDocumentsCommand.js +18 -41
  49. package/dist-es/commands/ListDomainNamesCommand.js +18 -41
  50. package/dist-es/commands/UpdateAvailabilityOptionsCommand.js +18 -41
  51. package/dist-es/commands/UpdateDomainEndpointOptionsCommand.js +18 -41
  52. package/dist-es/commands/UpdateScalingParametersCommand.js +18 -41
  53. package/dist-es/commands/UpdateServiceAccessPoliciesCommand.js +18 -41
  54. package/dist-es/endpoint/EndpointParameters.js +6 -0
  55. package/dist-types/commands/BuildSuggestersCommand.d.ts +6 -21
  56. package/dist-types/commands/CreateDomainCommand.d.ts +6 -21
  57. package/dist-types/commands/DefineAnalysisSchemeCommand.d.ts +6 -21
  58. package/dist-types/commands/DefineExpressionCommand.d.ts +6 -21
  59. package/dist-types/commands/DefineIndexFieldCommand.d.ts +6 -21
  60. package/dist-types/commands/DefineSuggesterCommand.d.ts +6 -21
  61. package/dist-types/commands/DeleteAnalysisSchemeCommand.d.ts +6 -21
  62. package/dist-types/commands/DeleteDomainCommand.d.ts +6 -21
  63. package/dist-types/commands/DeleteExpressionCommand.d.ts +6 -21
  64. package/dist-types/commands/DeleteIndexFieldCommand.d.ts +6 -21
  65. package/dist-types/commands/DeleteSuggesterCommand.d.ts +6 -21
  66. package/dist-types/commands/DescribeAnalysisSchemesCommand.d.ts +6 -21
  67. package/dist-types/commands/DescribeAvailabilityOptionsCommand.d.ts +6 -21
  68. package/dist-types/commands/DescribeDomainEndpointOptionsCommand.d.ts +6 -21
  69. package/dist-types/commands/DescribeDomainsCommand.d.ts +6 -21
  70. package/dist-types/commands/DescribeExpressionsCommand.d.ts +6 -21
  71. package/dist-types/commands/DescribeIndexFieldsCommand.d.ts +6 -21
  72. package/dist-types/commands/DescribeScalingParametersCommand.d.ts +6 -21
  73. package/dist-types/commands/DescribeServiceAccessPoliciesCommand.d.ts +6 -21
  74. package/dist-types/commands/DescribeSuggestersCommand.d.ts +6 -21
  75. package/dist-types/commands/IndexDocumentsCommand.d.ts +6 -21
  76. package/dist-types/commands/ListDomainNamesCommand.d.ts +6 -21
  77. package/dist-types/commands/UpdateAvailabilityOptionsCommand.d.ts +6 -21
  78. package/dist-types/commands/UpdateDomainEndpointOptionsCommand.d.ts +6 -21
  79. package/dist-types/commands/UpdateScalingParametersCommand.d.ts +6 -21
  80. package/dist-types/commands/UpdateServiceAccessPoliciesCommand.d.ts +6 -21
  81. package/dist-types/endpoint/EndpointParameters.d.ts +18 -0
  82. package/dist-types/ts3.4/commands/BuildSuggestersCommand.d.ts +14 -23
  83. package/dist-types/ts3.4/commands/CreateDomainCommand.d.ts +14 -23
  84. package/dist-types/ts3.4/commands/DefineAnalysisSchemeCommand.d.ts +12 -24
  85. package/dist-types/ts3.4/commands/DefineExpressionCommand.d.ts +14 -23
  86. package/dist-types/ts3.4/commands/DefineIndexFieldCommand.d.ts +14 -23
  87. package/dist-types/ts3.4/commands/DefineSuggesterCommand.d.ts +14 -23
  88. package/dist-types/ts3.4/commands/DeleteAnalysisSchemeCommand.d.ts +12 -24
  89. package/dist-types/ts3.4/commands/DeleteDomainCommand.d.ts +14 -23
  90. package/dist-types/ts3.4/commands/DeleteExpressionCommand.d.ts +14 -23
  91. package/dist-types/ts3.4/commands/DeleteIndexFieldCommand.d.ts +14 -23
  92. package/dist-types/ts3.4/commands/DeleteSuggesterCommand.d.ts +14 -23
  93. package/dist-types/ts3.4/commands/DescribeAnalysisSchemesCommand.d.ts +12 -24
  94. package/dist-types/ts3.4/commands/DescribeAvailabilityOptionsCommand.d.ts +12 -24
  95. package/dist-types/ts3.4/commands/DescribeDomainEndpointOptionsCommand.d.ts +12 -24
  96. package/dist-types/ts3.4/commands/DescribeDomainsCommand.d.ts +14 -23
  97. package/dist-types/ts3.4/commands/DescribeExpressionsCommand.d.ts +14 -23
  98. package/dist-types/ts3.4/commands/DescribeIndexFieldsCommand.d.ts +14 -23
  99. package/dist-types/ts3.4/commands/DescribeScalingParametersCommand.d.ts +12 -24
  100. package/dist-types/ts3.4/commands/DescribeServiceAccessPoliciesCommand.d.ts +12 -24
  101. package/dist-types/ts3.4/commands/DescribeSuggestersCommand.d.ts +14 -23
  102. package/dist-types/ts3.4/commands/IndexDocumentsCommand.d.ts +14 -23
  103. package/dist-types/ts3.4/commands/ListDomainNamesCommand.d.ts +14 -23
  104. package/dist-types/ts3.4/commands/UpdateAvailabilityOptionsCommand.d.ts +12 -24
  105. package/dist-types/ts3.4/commands/UpdateDomainEndpointOptionsCommand.d.ts +12 -24
  106. package/dist-types/ts3.4/commands/UpdateScalingParametersCommand.d.ts +12 -24
  107. package/dist-types/ts3.4/commands/UpdateServiceAccessPoliciesCommand.d.ts +12 -24
  108. package/dist-types/ts3.4/endpoint/EndpointParameters.d.ts +18 -0
  109. package/package.json +10 -10
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_DescribeSuggestersCommand, se_DescribeSuggestersCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class DescribeSuggestersCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, DescribeSuggestersCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudSearchClient";
26
- const commandName = "DescribeSuggestersCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "A9SearchCloudConfigService2013",
35
- operation: "DescribeSuggesters",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_DescribeSuggestersCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_DescribeSuggestersCommand(output, context);
46
- }
7
+ export class DescribeSuggestersCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("A9SearchCloudConfigService2013", "DescribeSuggesters", {})
19
+ .n("CloudSearchClient", "DescribeSuggestersCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_DescribeSuggestersCommand)
22
+ .de(de_DescribeSuggestersCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_IndexDocumentsCommand, se_IndexDocumentsCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class IndexDocumentsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, IndexDocumentsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudSearchClient";
26
- const commandName = "IndexDocumentsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "A9SearchCloudConfigService2013",
35
- operation: "IndexDocuments",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_IndexDocumentsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_IndexDocumentsCommand(output, context);
46
- }
7
+ export class IndexDocumentsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("A9SearchCloudConfigService2013", "IndexDocuments", {})
19
+ .n("CloudSearchClient", "IndexDocumentsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_IndexDocumentsCommand)
22
+ .de(de_IndexDocumentsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_ListDomainNamesCommand, se_ListDomainNamesCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class ListDomainNamesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, ListDomainNamesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudSearchClient";
26
- const commandName = "ListDomainNamesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "A9SearchCloudConfigService2013",
35
- operation: "ListDomainNames",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_ListDomainNamesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_ListDomainNamesCommand(output, context);
46
- }
7
+ export class ListDomainNamesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("A9SearchCloudConfigService2013", "ListDomainNames", {})
19
+ .n("CloudSearchClient", "ListDomainNamesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_ListDomainNamesCommand)
22
+ .de(de_ListDomainNamesCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateAvailabilityOptionsCommand, se_UpdateAvailabilityOptionsCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class UpdateAvailabilityOptionsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateAvailabilityOptionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudSearchClient";
26
- const commandName = "UpdateAvailabilityOptionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "A9SearchCloudConfigService2013",
35
- operation: "UpdateAvailabilityOptions",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateAvailabilityOptionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateAvailabilityOptionsCommand(output, context);
46
- }
7
+ export class UpdateAvailabilityOptionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("A9SearchCloudConfigService2013", "UpdateAvailabilityOptions", {})
19
+ .n("CloudSearchClient", "UpdateAvailabilityOptionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateAvailabilityOptionsCommand)
22
+ .de(de_UpdateAvailabilityOptionsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateDomainEndpointOptionsCommand, se_UpdateDomainEndpointOptionsCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class UpdateDomainEndpointOptionsCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateDomainEndpointOptionsCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudSearchClient";
26
- const commandName = "UpdateDomainEndpointOptionsCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "A9SearchCloudConfigService2013",
35
- operation: "UpdateDomainEndpointOptions",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateDomainEndpointOptionsCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateDomainEndpointOptionsCommand(output, context);
46
- }
7
+ export class UpdateDomainEndpointOptionsCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("A9SearchCloudConfigService2013", "UpdateDomainEndpointOptions", {})
19
+ .n("CloudSearchClient", "UpdateDomainEndpointOptionsCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateDomainEndpointOptionsCommand)
22
+ .de(de_UpdateDomainEndpointOptionsCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateScalingParametersCommand, se_UpdateScalingParametersCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class UpdateScalingParametersCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateScalingParametersCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudSearchClient";
26
- const commandName = "UpdateScalingParametersCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "A9SearchCloudConfigService2013",
35
- operation: "UpdateScalingParameters",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateScalingParametersCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateScalingParametersCommand(output, context);
46
- }
7
+ export class UpdateScalingParametersCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("A9SearchCloudConfigService2013", "UpdateScalingParameters", {})
19
+ .n("CloudSearchClient", "UpdateScalingParametersCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateScalingParametersCommand)
22
+ .de(de_UpdateScalingParametersCommand)
23
+ .build() {
47
24
  }
@@ -1,47 +1,24 @@
1
1
  import { getEndpointPlugin } from "@smithy/middleware-endpoint";
2
2
  import { getSerdePlugin } from "@smithy/middleware-serde";
3
3
  import { Command as $Command } from "@smithy/smithy-client";
4
- import { SMITHY_CONTEXT_KEY, } from "@smithy/types";
4
+ import { commonParams } from "../endpoint/EndpointParameters";
5
5
  import { de_UpdateServiceAccessPoliciesCommand, se_UpdateServiceAccessPoliciesCommand } from "../protocols/Aws_query";
6
6
  export { $Command };
7
- export class UpdateServiceAccessPoliciesCommand extends $Command {
8
- static getEndpointParameterInstructions() {
9
- return {
10
- UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
- Endpoint: { type: "builtInParams", name: "endpoint" },
12
- Region: { type: "builtInParams", name: "region" },
13
- UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
- };
15
- }
16
- constructor(input) {
17
- super();
18
- this.input = input;
19
- }
20
- resolveMiddleware(clientStack, configuration, options) {
21
- this.middlewareStack.use(getSerdePlugin(configuration, this.serialize, this.deserialize));
22
- this.middlewareStack.use(getEndpointPlugin(configuration, UpdateServiceAccessPoliciesCommand.getEndpointParameterInstructions()));
23
- const stack = clientStack.concat(this.middlewareStack);
24
- const { logger } = configuration;
25
- const clientName = "CloudSearchClient";
26
- const commandName = "UpdateServiceAccessPoliciesCommand";
27
- const handlerExecutionContext = {
28
- logger,
29
- clientName,
30
- commandName,
31
- inputFilterSensitiveLog: (_) => _,
32
- outputFilterSensitiveLog: (_) => _,
33
- [SMITHY_CONTEXT_KEY]: {
34
- service: "A9SearchCloudConfigService2013",
35
- operation: "UpdateServiceAccessPolicies",
36
- },
37
- };
38
- const { requestHandler } = configuration;
39
- return stack.resolve((request) => requestHandler.handle(request.request, options || {}), handlerExecutionContext);
40
- }
41
- serialize(input, context) {
42
- return se_UpdateServiceAccessPoliciesCommand(input, context);
43
- }
44
- deserialize(output, context) {
45
- return de_UpdateServiceAccessPoliciesCommand(output, context);
46
- }
7
+ export class UpdateServiceAccessPoliciesCommand extends $Command
8
+ .classBuilder()
9
+ .ep({
10
+ ...commonParams,
11
+ })
12
+ .m(function (Command, cs, config, o) {
13
+ return [
14
+ getSerdePlugin(config, this.serialize, this.deserialize),
15
+ getEndpointPlugin(config, Command.getEndpointParameterInstructions()),
16
+ ];
17
+ })
18
+ .s("A9SearchCloudConfigService2013", "UpdateServiceAccessPolicies", {})
19
+ .n("CloudSearchClient", "UpdateServiceAccessPoliciesCommand")
20
+ .f(void 0, void 0)
21
+ .ser(se_UpdateServiceAccessPoliciesCommand)
22
+ .de(de_UpdateServiceAccessPoliciesCommand)
23
+ .build() {
47
24
  }
@@ -6,3 +6,9 @@ export const resolveClientEndpointParameters = (options) => {
6
6
  defaultSigningName: "cloudsearch",
7
7
  };
8
8
  };
9
+ export const commonParams = {
10
+ UseFIPS: { type: "builtInParams", name: "useFipsEndpoint" },
11
+ Endpoint: { type: "builtInParams", name: "endpoint" },
12
+ Region: { type: "builtInParams", name: "region" },
13
+ UseDualStack: { type: "builtInParams", name: "useDualstackEndpoint" },
14
+ };
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
5
4
  import { BuildSuggestersRequest, BuildSuggestersResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface BuildSuggestersCommandInput extends BuildSuggestersRequest {
21
20
  */
22
21
  export interface BuildSuggestersCommandOutput extends BuildSuggestersResponse, __MetadataBearer {
23
22
  }
23
+ declare const BuildSuggestersCommand_base: {
24
+ new (input: BuildSuggestersCommandInput): import("@smithy/smithy-client").CommandImpl<BuildSuggestersCommandInput, BuildSuggestersCommandOutput, CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Indexes the search suggestions. For more information, see <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/getting-suggestions.html#configuring-suggesters">Configuring Suggesters</a> in the <i>Amazon CloudSearch Developer Guide</i>.</p>
@@ -66,23 +69,5 @@ export interface BuildSuggestersCommandOutput extends BuildSuggestersResponse, _
66
69
  * <p>Base exception class for all service exceptions from CloudSearch service.</p>
67
70
  *
68
71
  */
69
- export declare class BuildSuggestersCommand extends $Command<BuildSuggestersCommandInput, BuildSuggestersCommandOutput, CloudSearchClientResolvedConfig> {
70
- readonly input: BuildSuggestersCommandInput;
71
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
72
- /**
73
- * @public
74
- */
75
- constructor(input: BuildSuggestersCommandInput);
76
- /**
77
- * @internal
78
- */
79
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<BuildSuggestersCommandInput, BuildSuggestersCommandOutput>;
80
- /**
81
- * @internal
82
- */
83
- private serialize;
84
- /**
85
- * @internal
86
- */
87
- private deserialize;
72
+ export declare class BuildSuggestersCommand extends BuildSuggestersCommand_base {
88
73
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
5
4
  import { CreateDomainRequest, CreateDomainResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface CreateDomainCommandInput extends CreateDomainRequest {
21
20
  */
22
21
  export interface CreateDomainCommandOutput extends CreateDomainResponse, __MetadataBearer {
23
22
  }
23
+ declare const CreateDomainCommand_base: {
24
+ new (input: CreateDomainCommandInput): import("@smithy/smithy-client").CommandImpl<CreateDomainCommandInput, CreateDomainCommandOutput, CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Creates a new search domain. For more information,
@@ -89,23 +92,5 @@ export interface CreateDomainCommandOutput extends CreateDomainResponse, __Metad
89
92
  * <p>Base exception class for all service exceptions from CloudSearch service.</p>
90
93
  *
91
94
  */
92
- export declare class CreateDomainCommand extends $Command<CreateDomainCommandInput, CreateDomainCommandOutput, CloudSearchClientResolvedConfig> {
93
- readonly input: CreateDomainCommandInput;
94
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
95
- /**
96
- * @public
97
- */
98
- constructor(input: CreateDomainCommandInput);
99
- /**
100
- * @internal
101
- */
102
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<CreateDomainCommandInput, CreateDomainCommandOutput>;
103
- /**
104
- * @internal
105
- */
106
- private serialize;
107
- /**
108
- * @internal
109
- */
110
- private deserialize;
95
+ export declare class CreateDomainCommand extends CreateDomainCommand_base {
111
96
  }
@@ -1,6 +1,5 @@
1
- import { EndpointParameterInstructions } from "@smithy/middleware-endpoint";
2
1
  import { Command as $Command } from "@smithy/smithy-client";
3
- import { Handler, HttpHandlerOptions as __HttpHandlerOptions, MetadataBearer as __MetadataBearer, MiddlewareStack } from "@smithy/types";
2
+ import { MetadataBearer as __MetadataBearer } from "@smithy/types";
4
3
  import { CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes } from "../CloudSearchClient";
5
4
  import { DefineAnalysisSchemeRequest, DefineAnalysisSchemeResponse } from "../models/models_0";
6
5
  /**
@@ -21,6 +20,10 @@ export interface DefineAnalysisSchemeCommandInput extends DefineAnalysisSchemeRe
21
20
  */
22
21
  export interface DefineAnalysisSchemeCommandOutput extends DefineAnalysisSchemeResponse, __MetadataBearer {
23
22
  }
23
+ declare const DefineAnalysisSchemeCommand_base: {
24
+ new (input: DefineAnalysisSchemeCommandInput): import("@smithy/smithy-client").CommandImpl<DefineAnalysisSchemeCommandInput, DefineAnalysisSchemeCommandOutput, CloudSearchClientResolvedConfig, ServiceInputTypes, ServiceOutputTypes>;
25
+ getEndpointParameterInstructions(): import("@smithy/middleware-endpoint").EndpointParameterInstructions;
26
+ };
24
27
  /**
25
28
  * @public
26
29
  * <p>Configures an analysis scheme that can be applied to a <code>text</code> or <code>text-array</code> field to define language-specific text processing options. For more information, see <a href="http://docs.aws.amazon.com/cloudsearch/latest/developerguide/configuring-analysis-schemes.html" target="_blank">Configuring Analysis Schemes</a> in the <i>Amazon CloudSearch Developer Guide</i>.</p>
@@ -100,23 +103,5 @@ export interface DefineAnalysisSchemeCommandOutput extends DefineAnalysisSchemeR
100
103
  * <p>Base exception class for all service exceptions from CloudSearch service.</p>
101
104
  *
102
105
  */
103
- export declare class DefineAnalysisSchemeCommand extends $Command<DefineAnalysisSchemeCommandInput, DefineAnalysisSchemeCommandOutput, CloudSearchClientResolvedConfig> {
104
- readonly input: DefineAnalysisSchemeCommandInput;
105
- static getEndpointParameterInstructions(): EndpointParameterInstructions;
106
- /**
107
- * @public
108
- */
109
- constructor(input: DefineAnalysisSchemeCommandInput);
110
- /**
111
- * @internal
112
- */
113
- resolveMiddleware(clientStack: MiddlewareStack<ServiceInputTypes, ServiceOutputTypes>, configuration: CloudSearchClientResolvedConfig, options?: __HttpHandlerOptions): Handler<DefineAnalysisSchemeCommandInput, DefineAnalysisSchemeCommandOutput>;
114
- /**
115
- * @internal
116
- */
117
- private serialize;
118
- /**
119
- * @internal
120
- */
121
- private deserialize;
106
+ export declare class DefineAnalysisSchemeCommand extends DefineAnalysisSchemeCommand_base {
122
107
  }